jQuery(function(a){return"undefined"==typeof wc_single_product_params?!1:(a(".wc-tabs-wrapper, .woocommerce-tabs").on("init",function(){a(".wc-tab, .woocommerce-tabs .panel:not(.panel .panel)").hide();var b=window.location.hash,c=window.location.href,d=a(this).find(".wc-tabs, ul.tabs").first();b.toLowerCase().indexOf("comment-")>=0||"#reviews"===b?d.find("li.reviews_tab a").click():c.indexOf("comment-page-")>0||c.indexOf("cpage=")>0?d.find("li.reviews_tab a").click():d.find("li:first a").click()}).on("click",".wc-tabs li a, ul.tabs li a",function(){var b=a(this),c=b.closest(".wc-tabs-wrapper, .woocommerce-tabs"),d=c.find(".wc-tabs, ul.tabs");return d.find("li").removeClass("active"),c.find(".wc-tab, .panel:not(.panel .panel)").hide(),b.closest("li").addClass("active"),c.find(b.attr("href")).show(),!1}).trigger("init"),a("a.woocommerce-review-link").click(function(){return a(".reviews_tab a").click(),!0}),a("#rating").hide().before('

12345

'),void a("body").on("click","#respond p.stars a",function(){var b=a(this),c=a(this).closest("#respond").find("#rating");return c.val(b.text()),b.siblings("a").removeClass("active"),b.addClass("active"),!1}).on("click","#respond #submit",function(){var b=a(this).closest("#respond").find("#rating"),c=b.val();return b.size()>0&&!c&&"yes"===wc_single_product_params.review_rating_required?(window.alert(wc_single_product_params.i18n_required_rating_text),!1):void 0}))}); !function(){"use strict";function a(a){function b(b,d){var f,p,q=b==window,r=d&&void 0!==d.message?d.message:void 0;if(d=a.extend({},a.blockUI.defaults,d||{}),!d.ignoreIfBlocked||!a(b).data("blockUI.isBlocked")){if(d.overlayCSS=a.extend({},a.blockUI.defaults.overlayCSS,d.overlayCSS||{}),f=a.extend({},a.blockUI.defaults.css,d.css||{}),d.onOverlayClick&&(d.overlayCSS.cursor="pointer"),p=a.extend({},a.blockUI.defaults.themedCSS,d.themedCSS||{}),r=void 0===r?d.message:r,q&&n&&c(window,{fadeOut:0}),r&&"string"!=typeof r&&(r.parentNode||r.jquery)){var s=r.jquery?r[0]:r,t={};a(b).data("blockUI.history",t),t.el=s,t.parent=s.parentNode,t.display=s.style.display,t.position=s.style.position,t.parent&&t.parent.removeChild(s)}a(b).data("blockUI.onUnblock",d.onUnblock);var u,v,w,x,y=d.baseZ;u=a(k||d.forceIframe?'':''),v=a(d.theme?'':''),d.theme&&q?(x='"):d.theme?(x='"):x=q?'':'',w=a(x),r&&(d.theme?(w.css(p),w.addClass("ui-widget-content")):w.css(f)),d.theme||v.css(d.overlayCSS),v.css("position",q?"fixed":"absolute"),(k||d.forceIframe)&&u.css("opacity",0);var z=[u,v,w],A=a(q?"body":b);a.each(z,function(){this.appendTo(A)}),d.theme&&d.draggable&&a.fn.draggable&&w.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var B=m&&(!a.support.boxModel||a("object,embed",q?null:b).length>0);if(l||B){if(q&&d.allowBodyStretch&&a.support.boxModel&&a("html,body").css("height","100%"),(l||!a.support.boxModel)&&!q)var C=i(b,"borderTopWidth"),D=i(b,"borderLeftWidth"),E=C?"(0 - "+C+")":0,F=D?"(0 - "+D+")":0;a.each(z,function(a,b){var c=b[0].style;if(c.position="absolute",2>a)q?c.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+d.quirksmodeOffsetHack+') + "px"'):c.setExpression("height",'this.parentNode.offsetHeight + "px"'),q?c.setExpression("width",'jQuery.support.boxModel&&document.documentElement.clientWidth||document.body.clientWidth + "px"'):c.setExpression("width",'this.parentNode.offsetWidth + "px"'),F&&c.setExpression("left",F),E&&c.setExpression("top",E);else if(d.centerY)q&&c.setExpression("top",'(document.documentElement.clientHeight||document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah=document.documentElement.scrollTop ? document.documentElement.scrollTop:document.body.scrollTop) + "px"'),c.marginTop=0;else if(!d.centerY&&q){var e=d.css&&d.css.top?parseInt(d.css.top,10):0,f="((document.documentElement.scrollTop ? document.documentElement.scrollTop:document.body.scrollTop) + "+e+') + "px"';c.setExpression("top",f)}})}if(r&&(d.theme?w.find(".ui-widget-content").append(r):w.append(r),(r.jquery||r.nodeType)&&a(r).show()),(k||d.forceIframe)&&d.showOverlay&&u.show(),d.fadeIn){var G=d.onBlock?d.onBlock:j,H=d.showOverlay&&!r?G:j,I=r?G:j;d.showOverlay&&v._fadeIn(d.fadeIn,H),r&&w._fadeIn(d.fadeIn,I)}else d.showOverlay&&v.show(),r&&w.show(),d.onBlock&&d.onBlock.bind(w)();if(e(1,b,d),q?(n=w[0],o=a(d.focusableElements,n),d.focusInput&&setTimeout(g,20)):h(w[0],d.centerX,d.centerY),d.timeout){var J=setTimeout(function(){q?a.unblockUI(d):a(b).unblock(d)},d.timeout);a(b).data("blockUI.timeout",J)}}}function c(b,c){var f,g=b==window,h=a(b),i=h.data("blockUI.history"),j=h.data("blockUI.timeout");j&&(clearTimeout(j),h.removeData("blockUI.timeout")),c=a.extend({},a.blockUI.defaults,c||{}),e(0,b,c),null===c.onUnblock&&(c.onUnblock=h.data("blockUI.onUnblock"),h.removeData("blockUI.onUnblock"));var k;k=g?a(document.body).children().filter(".blockUI").add("body > .blockUI"):h.find(">.blockUI"),c.cursorReset&&(k.length>1&&(k[1].style.cursor=c.cursorReset),k.length>2&&(k[2].style.cursor=c.cursorReset)),g&&(n=o=null),c.fadeOut?(f=k.length,k.stop().fadeOut(c.fadeOut,function(){0===--f&&d(k,i,c,b)})):d(k,i,c,b)}function d(b,c,d,e){var f=a(e);if(!f.data("blockUI.isBlocked")){b.each(function(a,b){this.parentNode&&this.parentNode.removeChild(this)}),c&&c.el&&(c.el.style.display=c.display,c.el.style.position=c.position,c.el.style.cursor="default",c.parent&&c.parent.appendChild(c.el),f.removeData("blockUI.history")),f.data("blockUI.static")&&f.css("position","static"),"function"==typeof d.onUnblock&&d.onUnblock(e,d);var g=a(document.body),h=g.width(),i=g[0].style.width;g.width(h-1).width(h),g[0].style.width=i}}function e(b,c,d){var e=c==window,g=a(c);if((b||(!e||n)&&(e||g.data("blockUI.isBlocked")))&&(g.data("blockUI.isBlocked",b),e&&d.bindEvents&&(!b||d.showOverlay))){var h="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";b?a(document).bind(h,d,f):a(document).unbind(h,f)}}function f(b){if("keydown"===b.type&&b.keyCode&&9==b.keyCode&&n&&b.data.constrainTabKey){var c=o,d=!b.shiftKey&&b.target===c[c.length-1],e=b.shiftKey&&b.target===c[0];if(d||e)return setTimeout(function(){g(e)},10),!1}var f=b.data,h=a(b.target);return h.hasClass("blockOverlay")&&f.onOverlayClick&&f.onOverlayClick(b),h.parents("div."+f.blockMsgClass).length>0?!0:0===h.parents().children().filter("div.blockUI").length}function g(a){if(o){var b=o[a===!0?o.length-1:0];b&&b.focus()}}function h(a,b,c){var d=a.parentNode,e=a.style,f=(d.offsetWidth-a.offsetWidth)/2-i(d,"borderLeftWidth"),g=(d.offsetHeight-a.offsetHeight)/2-i(d,"borderTopWidth");b&&(e.left=f>0?f+"px":"0"),c&&(e.top=g>0?g+"px":"0")}function i(b,c){return parseInt(a.css(b,c),10)||0}a.fn._fadeIn=a.fn.fadeIn;var j=a.noop||function(){},k=/MSIE/.test(navigator.userAgent),l=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),m=(document.documentMode||0,a.isFunction(document.createElement("div").style.setExpression));a.blockUI=function(a){b(window,a)},a.unblockUI=function(a){c(window,a)},a.growlUI=function(b,c,d,e){var f=a('
');b&&f.append("

"+b+"

"),c&&f.append("

"+c+"

"),void 0===d&&(d=3e3);var g=function(b){b=b||{},a.blockUI({message:f,fadeIn:"undefined"!=typeof b.fadeIn?b.fadeIn:700,fadeOut:"undefined"!=typeof b.fadeOut?b.fadeOut:1e3,timeout:"undefined"!=typeof b.timeout?b.timeout:d,centerY:!1,showOverlay:!1,onUnblock:e,css:a.blockUI.defaults.growlCSS})};g();f.css("opacity");f.mouseover(function(){g({fadeIn:0,timeout:3e4});var b=a(".blockMsg");b.stop(),b.fadeTo(300,1)}).mouseout(function(){a(".blockMsg").fadeOut(1e3)})},a.fn.block=function(c){if(this[0]===window)return a.blockUI(c),this;var d=a.extend({},a.blockUI.defaults,c||{});return this.each(function(){var b=a(this);d.ignoreIfBlocked&&b.data("blockUI.isBlocked")||b.unblock({fadeOut:0})}),this.each(function(){"static"==a.css(this,"position")&&(this.style.position="relative",a(this).data("blockUI.static",!0)),this.style.zoom=1,b(this,c)})},a.fn.unblock=function(b){return this[0]===window?(a.unblockUI(b),this):this.each(function(){c(this,b)})},a.blockUI.version=2.7,a.blockUI.defaults={message:"

Please wait...

",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var n=null,o=[]}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],a):a(jQuery)}(); jQuery(function(a){a(".woocommerce-ordering").on("change","select.orderby",function(){a(this).closest("form").submit()}),a("input.qty:not(.product-quantity input.qty)").each(function(){var b=parseFloat(a(this).attr("min"));b>=0&&parseFloat(a(this).val())n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}}); jQuery(function(a){if("undefined"==typeof wc_cart_fragments_params)return!1;var b;try{b="sessionStorage"in window&&null!==window.sessionStorage,window.sessionStorage.setItem("wc","test"),window.sessionStorage.removeItem("wc")}catch(c){b=!1}var d={url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","get_refreshed_fragments"),type:"POST",success:function(c){c&&c.fragments&&(a.each(c.fragments,function(b,c){a(b).replaceWith(c)}),b&&(sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(c.fragments)),sessionStorage.setItem("wc_cart_hash",c.cart_hash)),a(document.body).trigger("wc_fragments_refreshed"))}};if(b){a(document.body).bind("added_to_cart",function(a,b,c){sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(b)),sessionStorage.setItem("wc_cart_hash",c)});try{var e=a.parseJSON(sessionStorage.getItem(wc_cart_fragments_params.fragment_name)),f=sessionStorage.getItem("wc_cart_hash"),g=a.cookie("woocommerce_cart_hash");if((null===f||void 0===f||""===f)&&(f=""),(null===g||void 0===g||""===g)&&(g=""),!e||!e["div.widget_shopping_cart_content"]||f!==g)throw"No fragment";a.each(e,function(b,c){a(b).replaceWith(c)}),a(document.body).trigger("wc_fragments_loaded")}catch(c){a.ajax(d)}}else a.ajax(d);a.cookie("woocommerce_items_in_cart")>0?a(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show():a(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").hide(),a(document.body).bind("adding_to_cart",function(){a(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show()})}); !function(t,e,i,s){"use strict";function n(t){return("string"==typeof t||t instanceof String)&&(t=t.replace(/^['\\/"]+|(;\s?})+|['\\/"]+$/g,"")),t}var a=function(e){for(var i=e.length,s=t("head");i--;)0===s.has("."+e[i]).length&&s.append('')};a(["foundation-mq-small","foundation-mq-small-only","foundation-mq-medium","foundation-mq-medium-only","foundation-mq-large","foundation-mq-large-only","foundation-mq-xlarge","foundation-mq-xlarge-only","foundation-mq-xxlarge","foundation-data-attribute-namespace"]),t(function(){"undefined"!=typeof FastClick&&"undefined"!=typeof i.body&&FastClick.attach(i.body)});var o=function(e,s){if("string"==typeof e){if(s){var n;if(s.jquery){if(n=s[0],!n)return s}else n=s;return t(n.querySelectorAll(e))}return t(i.querySelectorAll(e))}return t(e,s)},r=function(t){var e=[];return t||e.push("data"),this.namespace.length>0&&e.push(this.namespace),e.push(this.name),e.join("-")},l=function(t){for(var e=t.split("-"),i=e.length,s=[];i--;)0!==i?s.push(e[i]):this.namespace.length>0?s.push(this.namespace,e[i]):s.push(e[i]);return s.reverse().join("-")},d=function(e,i){var s=this,n=function(){var n=o(this),a=!n.data(s.attr_name(!0)+"-init");n.data(s.attr_name(!0)+"-init",t.extend({},s.settings,i||e,s.data_options(n))),a&&s.events(this)};return o(this.scope).is("["+this.attr_name()+"]")?n.call(this.scope):o("["+this.attr_name()+"]",this.scope).each(n),"string"==typeof e?this[e].call(this,i):void 0},c=function(t,e){function i(){e(t[0])}function s(){if(this.one("load",i),/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var t=this.attr("src"),e=t.match(/\?/)?"&":"?";e+="random="+(new Date).getTime(),this.attr("src",t+e)}}return t.attr("src")?void(t[0].complete||4===t[0].readyState?i():s.call(t)):void i()};e.matchMedia||(e.matchMedia=function(){var t=e.styleMedia||e.media;if(!t){var s=i.createElement("style"),n=i.getElementsByTagName("script")[0],a=null;s.type="text/css",s.id="matchmediajs-test",n.parentNode.insertBefore(s,n),a="getComputedStyle"in e&&e.getComputedStyle(s,null)||s.currentStyle,t={matchMedium:function(t){var e="@media "+t+"{ #matchmediajs-test { width: 1px; }}";return s.styleSheet?s.styleSheet.cssText=e:s.textContent=e,"1px"===a.width}}}return function(e){return{matches:t.matchMedium(e||"all"),media:e||"all"}}}()),function(t){function i(){s&&(o(i),l&&t.fx.tick())}for(var s,n=0,a=["webkit","moz"],o=e.requestAnimationFrame,r=e.cancelAnimationFrame,l="undefined"!=typeof t.fx;n").appendTo("head")[0].sheet,global:{namespace:s},init:function(t,i,s,n,a){var r=[t,s,n,a],l=[];if(this.rtl=/rtl/i.test(o("html").attr("dir")),this.scope=t||this.scope,this.set_namespace(),i&&"string"==typeof i&&!/reflow/i.test(i))this.libs.hasOwnProperty(i)&&l.push(this.init_lib(i,r));else for(var d in this.libs)l.push(this.init_lib(d,i));return o(e).load(function(){o(e).trigger("resize.fndtn.clearing").trigger("resize.fndtn.dropdown").trigger("resize.fndtn.equalizer").trigger("resize.fndtn.interchange").trigger("resize.fndtn.joyride").trigger("resize.fndtn.magellan").trigger("resize.fndtn.topbar").trigger("resize.fndtn.slider")}),t},init_lib:function(e,i){return this.libs.hasOwnProperty(e)?(this.patch(this.libs[e]),i&&i.hasOwnProperty(e)?("undefined"!=typeof this.libs[e].settings?t.extend(!0,this.libs[e].settings,i[e]):"undefined"!=typeof this.libs[e].defaults&&t.extend(!0,this.libs[e].defaults,i[e]),this.libs[e].init.apply(this.libs[e],[this.scope,i[e]])):(i=i instanceof Array?i:new Array(i),this.libs[e].init.apply(this.libs[e],i))):function(){}},patch:function(t){t.scope=this.scope,t.namespace=this.global.namespace,t.rtl=this.rtl,t.data_options=this.utils.data_options,t.attr_name=r,t.add_namespace=l,t.bindings=d,t.S=this.utils.S},inherit:function(t,e){for(var i=e.split(" "),s=i.length;s--;)this.utils.hasOwnProperty(i[s])&&(t[i[s]]=this.utils[i[s]])},set_namespace:function(){var e=this.global.namespace===s?t(".foundation-data-attribute-namespace").css("font-family"):this.global.namespace;this.global.namespace=e===s||/false/i.test(e)?"":e},libs:{},utils:{S:o,throttle:function(t,e){var i=null;return function(){var s=this,n=arguments;null==i&&(i=setTimeout(function(){t.apply(s,n),i=null},e))}},debounce:function(t,e,i){var s,n;return function(){var a=this,o=arguments,r=function(){s=null,i||(n=t.apply(a,o))},l=i&&!s;return clearTimeout(s),s=setTimeout(r,e),l&&(n=t.apply(a,o)),n}},data_options:function(e,i){function s(t){return!isNaN(t-0)&&null!==t&&""!==t&&t!==!1&&t!==!0}function n(e){return"string"==typeof e?t.trim(e):e}i=i||"options";var a,o,r,l={},d=function(t){var e=Foundation.global.namespace;return e.length>0?t.data(e+"-"+i):t.data(i)},c=d(e);if("object"==typeof c)return c;for(r=(c||":").split(";"),a=r.length;a--;)o=r[a].split(":"),o=[o[0],o.slice(1).join(":")],/true/i.test(o[1])&&(o[1]=!0),/false/i.test(o[1])&&(o[1]=!1),s(o[1])&&(-1===o[1].indexOf(".")?o[1]=parseInt(o[1],10):o[1]=parseFloat(o[1])),2===o.length&&o[0].length>0&&(l[n(o[0])]=n(o[1]));return l},register_media:function(e,i){Foundation.media_queries[e]===s&&(t("head").append(''),Foundation.media_queries[e]=n(t("."+i).css("font-family")))},add_custom_rule:function(t,e){if(e===s&&Foundation.stylesheet)Foundation.stylesheet.insertRule(t,Foundation.stylesheet.cssRules.length);else{var i=Foundation.media_queries[e];i!==s&&Foundation.stylesheet.insertRule("@media "+Foundation.media_queries[e]+"{ "+t+" }",Foundation.stylesheet.cssRules.length)}},image_loaded:function(t,e){function i(t){for(var e=t.length,i=e-1;i>=0;i--)if(t.attr("height")===s)return!1;return!0}var n=this,a=t.length;(0===a||i(t))&&e(t),t.each(function(){c(n.S(this),function(){a-=1,0===a&&e(t)})})},random_str:function(){return this.fidx||(this.fidx=0),this.prefix=this.prefix||[this.name||"F",(+new Date).toString(36)].join("-"),this.prefix+(this.fidx++).toString(36)},match:function(t){return e.matchMedia(t).matches},is_small_up:function(){return this.match(Foundation.media_queries.small)},is_medium_up:function(){return this.match(Foundation.media_queries.medium)},is_large_up:function(){return this.match(Foundation.media_queries.large)},is_xlarge_up:function(){return this.match(Foundation.media_queries.xlarge)},is_xxlarge_up:function(){return this.match(Foundation.media_queries.xxlarge)},is_small_only:function(){return!(this.is_medium_up()||this.is_large_up()||this.is_xlarge_up()||this.is_xxlarge_up())},is_medium_only:function(){return this.is_medium_up()&&!this.is_large_up()&&!this.is_xlarge_up()&&!this.is_xxlarge_up()},is_large_only:function(){return this.is_medium_up()&&this.is_large_up()&&!this.is_xlarge_up()&&!this.is_xxlarge_up()},is_xlarge_only:function(){return this.is_medium_up()&&this.is_large_up()&&this.is_xlarge_up()&&!this.is_xxlarge_up()},is_xxlarge_only:function(){return this.is_medium_up()&&this.is_large_up()&&this.is_xlarge_up()&&this.is_xxlarge_up()}}},t.fn.foundation=function(){var t=Array.prototype.slice.call(arguments,0);return this.each(function(){return Foundation.init.apply(Foundation,[this].concat(t)),this})}}(jQuery,window,window.document),function(t,e,i,s){"use strict";Foundation.libs.slider={name:"slider",version:"5.5.2",settings:{start:0,end:100,step:1,precision:null,initial:null,display_selector:"",vertical:!1,trigger_input_change:!1,on_change:function(){}},cache:{},init:function(t,e,i){Foundation.inherit(this,"throttle"),this.bindings(e,i),this.reflow()},events:function(){var i=this;t(this.scope).off(".slider").on("mousedown.fndtn.slider touchstart.fndtn.slider pointerdown.fndtn.slider","["+i.attr_name()+"]:not(.disabled, [disabled]) .range-slider-handle",function(e){i.cache.active||(e.preventDefault(),i.set_active_slider(t(e.target)))}).on("mousemove.fndtn.slider touchmove.fndtn.slider pointermove.fndtn.slider",function(s){if(i.cache.active)if(s.preventDefault(),t.data(i.cache.active[0],"settings").vertical){var n=0;s.pageY||(n=e.scrollY),i.calculate_position(i.cache.active,i.get_cursor_position(s,"y")+n)}else i.calculate_position(i.cache.active,i.get_cursor_position(s,"x"))}).on("mouseup.fndtn.slider touchend.fndtn.slider pointerup.fndtn.slider",function(t){i.remove_active_slider()}).on("change.fndtn.slider",function(t){i.settings.on_change()}),i.S(e).on("resize.fndtn.slider",i.throttle(function(t){i.reflow()},300)),this.S("["+this.attr_name()+"]").each(function(){var e=t(this),s=e.children(".range-slider-handle")[0],n=i.initialize_settings(s);""!=n.display_selector&&t(n.display_selector).each(function(){this.hasOwnProperty("value")&&t(this).change(function(){e.foundation("slider","set_value",t(this).val())})})})},get_cursor_position:function(t,e){var i,s="page"+e.toUpperCase(),n="client"+e.toUpperCase();return"undefined"!=typeof t[s]?i=t[s]:"undefined"!=typeof t.originalEvent[n]?i=t.originalEvent[n]:t.originalEvent.touches&&t.originalEvent.touches[0]&&"undefined"!=typeof t.originalEvent.touches[0][n]?i=t.originalEvent.touches[0][n]:t.currentPoint&&"undefined"!=typeof t.currentPoint[e]&&(i=t.currentPoint[e]),i},set_active_slider:function(t){this.cache.active=t},remove_active_slider:function(){this.cache.active=null},calculate_position:function(e,i){var s=this,n=t.data(e[0],"settings"),a=(t.data(e[0],"handle_l"),t.data(e[0],"handle_o"),t.data(e[0],"bar_l")),o=t.data(e[0],"bar_o");requestAnimationFrame(function(){var t;t=Foundation.rtl&&!n.vertical?s.limit_to((o+a-i)/a,0,1):s.limit_to((i-o)/a,0,1),t=n.vertical?1-t:t;var r=s.normalized_value(t,n.start,n.end,n.step,n.precision);s.set_ui(e,r)})},set_ui:function(e,i){var s=t.data(e[0],"settings"),n=t.data(e[0],"handle_l"),a=t.data(e[0],"bar_l"),o=this.normalized_percentage(i,s.start,s.end),r=o*(a-n)-1,l=100*o,d=e.parent(),c=e.parent().children("input[type=hidden]");Foundation.rtl&&!s.vertical&&(r=-r),r=s.vertical?-r+a-n+1:r,this.set_translate(e,r,s.vertical),s.vertical?e.siblings(".range-slider-active-segment").css("height",l+"%"):e.siblings(".range-slider-active-segment").css("width",l+"%"),d.attr(this.attr_name(),i).trigger("change.fndtn.slider"),c.val(i),s.trigger_input_change&&c.trigger("change.fndtn.slider"),e[0].hasAttribute("aria-valuemin")||e.attr({"aria-valuemin":s.start,"aria-valuemax":s.end}),e.attr("aria-valuenow",i),""!=s.display_selector&&t(s.display_selector).each(function(){this.hasAttribute("value")?t(this).val(i):t(this).text(i)})},normalized_percentage:function(t,e,i){return Math.min(1,(t-e)/(i-e))},normalized_value:function(t,e,i,s,n){var a=i-e,o=t*a,r=(o-o%s)/s,l=o%s,d=l>=.5*s?s:0;return(r*s+d+e).toFixed(n)},set_translate:function(e,i,s){s?t(e).css("-webkit-transform","translateY("+i+"px)").css("-moz-transform","translateY("+i+"px)").css("-ms-transform","translateY("+i+"px)").css("-o-transform","translateY("+i+"px)").css("transform","translateY("+i+"px)"):t(e).css("-webkit-transform","translateX("+i+"px)").css("-moz-transform","translateX("+i+"px)").css("-ms-transform","translateX("+i+"px)").css("-o-transform","translateX("+i+"px)").css("transform","translateX("+i+"px)")},limit_to:function(t,e,i){return Math.min(Math.max(t,e),i)},initialize_settings:function(e){var i,s=t.extend({},this.settings,this.data_options(t(e).parent()));return null===s.precision&&(i=(""+s.step).match(/\.([\d]*)/),s.precision=i&&i[1]?i[1].length:0),s.vertical?(t.data(e,"bar_o",t(e).parent().offset().top),t.data(e,"bar_l",t(e).parent().outerHeight()),t.data(e,"handle_o",t(e).offset().top),t.data(e,"handle_l",t(e).outerHeight())):(t.data(e,"bar_o",t(e).parent().offset().left),t.data(e,"bar_l",t(e).parent().outerWidth()),t.data(e,"handle_o",t(e).offset().left),t.data(e,"handle_l",t(e).outerWidth())),t.data(e,"bar",t(e).parent()),t.data(e,"settings",s)},set_initial_position:function(e){var i=t.data(e.children(".range-slider-handle")[0],"settings"),s="number"!=typeof i.initial||isNaN(i.initial)?Math.floor(.5*(i.end-i.start)/i.step)*i.step+i.start:i.initial,n=e.children(".range-slider-handle");this.set_ui(n,s)},set_value:function(e){var i=this;t("["+i.attr_name()+"]",this.scope).each(function(){t(this).attr(i.attr_name(),e)}),t(this.scope).attr(i.attr_name())&&t(this.scope).attr(i.attr_name(),e),i.reflow()},reflow:function(){var e=this;e.S("["+this.attr_name()+"]").each(function(){var i=t(this).children(".range-slider-handle")[0],s=t(this).attr(e.attr_name());e.initialize_settings(i),s?e.set_ui(t(i),parseFloat(s)):e.set_initial_position(t(this))})}}}(jQuery,window,window.document),function(t,e,i,s){"use strict";Foundation.libs.joyride={name:"joyride",version:"5.5.2",defaults:{expose:!1,modal:!0,keyboard:!0,tip_location:"bottom",nub_position:"auto",scroll_speed:1500,scroll_animation:"linear",timer:0,start_timer_on_click:!0,start_offset:0,next_button:!0,prev_button:!0,tip_animation:"fade",pause_after:[],exposed:[],tip_animation_fade_speed:300,cookie_monster:!1,cookie_name:"joyride",cookie_domain:!1,cookie_expires:365,tip_container:"body",abort_on_close:!0,tip_location_patterns:{top:["bottom"],bottom:[],left:["right","top","bottom"],right:["left","top","bottom"]},post_ride_callback:function(){},post_step_callback:function(){},pre_step_callback:function(){},pre_ride_callback:function(){},post_expose_callback:function(){},template:{link:'×',timer:'
',tip:'
',wrapper:'
',button:'',prev_button:'',modal:'
',expose:'
',expose_cover:'
'},expose_add_class:""},init:function(e,i,s){Foundation.inherit(this,"throttle random_str"),this.settings=this.settings||t.extend({},this.defaults,s||i),this.bindings(i,s)},go_next:function(){this.settings.$li.next().length<1?this.end():this.settings.timer>0?(clearTimeout(this.settings.automate),this.hide(),this.show(),this.startTimer()):(this.hide(),this.show())},go_prev:function(){this.settings.$li.prev().length<1||(this.settings.timer>0?(clearTimeout(this.settings.automate),this.hide(),this.show(null,!0),this.startTimer()):(this.hide(),this.show(null,!0)))},events:function(){var i=this;t(this.scope).off(".joyride").on("click.fndtn.joyride",".joyride-next-tip, .joyride-modal-bg",function(t){t.preventDefault(),this.go_next()}.bind(this)).on("click.fndtn.joyride",".joyride-prev-tip",function(t){t.preventDefault(),this.go_prev()}.bind(this)).on("click.fndtn.joyride",".joyride-close-tip",function(t){t.preventDefault(),this.end(this.settings.abort_on_close)}.bind(this)).on("keyup.fndtn.joyride",function(t){if(this.settings.keyboard&&this.settings.riding)switch(t.which){case 39:t.preventDefault(),this.go_next();break;case 37:t.preventDefault(),this.go_prev();break;case 27:t.preventDefault(),this.end(this.settings.abort_on_close)}}.bind(this)),t(e).off(".joyride").on("resize.fndtn.joyride",i.throttle(function(){if(t("["+i.attr_name()+"]").length>0&&i.settings.$next_tip&&i.settings.riding){if(i.settings.exposed.length>0){var e=t(i.settings.exposed);e.each(function(){var e=t(this);i.un_expose(e),i.expose(e)})}i.is_phone()?i.pos_phone():i.pos_default(!1)}},100))},start:function(){var e=this,i=t("["+this.attr_name()+"]",this.scope),s=["timer","scrollSpeed","startOffset","tipAnimationFadeSpeed","cookieExpires"],n=s.length;!i.length>0||(this.settings.init||this.events(),this.settings=i.data(this.attr_name(!0)+"-init"),this.settings.$content_el=i,this.settings.$body=t(this.settings.tip_container),this.settings.body_offset=t(this.settings.tip_container).position(),this.settings.$tip_content=this.settings.$content_el.find("> li"),this.settings.paused=!1,this.settings.attempts=0,this.settings.riding=!0,"function"!=typeof t.cookie&&(this.settings.cookie_monster=!1),(!this.settings.cookie_monster||this.settings.cookie_monster&&!t.cookie(this.settings.cookie_name))&&(this.settings.$tip_content.each(function(i){var a=t(this);this.settings=t.extend({},e.defaults,e.data_options(a));for(var o=n;o--;)e.settings[s[o]]=parseInt(e.settings[s[o]],10);e.create({$li:a,index:i})}),!this.settings.start_timer_on_click&&this.settings.timer>0?(this.show("init"),this.startTimer()):this.show("init")))},resume:function(){this.set_li(),this.show()},tip_template:function(e){var i,s;return e.tip_class=e.tip_class||"",i=t(this.settings.template.tip).addClass(e.tip_class),s=t.trim(t(e.li).html())+this.prev_button_text(e.prev_button_text,e.index)+this.button_text(e.button_text)+this.settings.template.link+this.timer_instance(e.index),i.append(t(this.settings.template.wrapper)),i.first().attr(this.add_namespace("data-index"),e.index),t(".joyride-content-wrapper",i).append(s),i[0]},timer_instance:function(e){var i;return i=0===e&&this.settings.start_timer_on_click&&this.settings.timer>0||0===this.settings.timer?"":t(this.settings.template.timer)[0].outerHTML},button_text:function(e){return this.settings.tip_settings.next_button?(e=t.trim(e)||"Next",e=t(this.settings.template.button).append(e)[0].outerHTML):e="",e},prev_button_text:function(e,i){return this.settings.tip_settings.prev_button?(e=t.trim(e)||"Previous",e=0==i?t(this.settings.template.prev_button).append(e).addClass("disabled")[0].outerHTML:t(this.settings.template.prev_button).append(e)[0].outerHTML):e="",e},create:function(e){this.settings.tip_settings=t.extend({},this.settings,this.data_options(e.$li));var i=e.$li.attr(this.add_namespace("data-button"))||e.$li.attr(this.add_namespace("data-text")),s=e.$li.attr(this.add_namespace("data-button-prev"))||e.$li.attr(this.add_namespace("data-prev-text")),n=e.$li.attr("class"),a=t(this.tip_template({tip_class:n,index:e.index,button_text:i,prev_button_text:s,li:e.$li}));t(this.settings.tip_container).append(a)},show:function(e,i){var n=null;if(this.settings.$li===s||-1===t.inArray(this.settings.$li.index(),this.settings.pause_after))if(this.settings.paused?this.settings.paused=!1:this.set_li(e,i),this.settings.attempts=0,this.settings.$li.length&&this.settings.$target.length>0){if(e&&(this.settings.pre_ride_callback(this.settings.$li.index(),this.settings.$next_tip),this.settings.modal&&this.show_modal()),this.settings.pre_step_callback(this.settings.$li.index(),this.settings.$next_tip),this.settings.modal&&this.settings.expose&&this.expose(),this.settings.tip_settings=t.extend({},this.settings,this.data_options(this.settings.$li)),this.settings.timer=parseInt(this.settings.timer,10),this.settings.tip_settings.tip_location_pattern=this.settings.tip_location_patterns[this.settings.tip_settings.tip_location],!/body/i.test(this.settings.$target.selector)){var a=t(".joyride-modal-bg");/pop/i.test(this.settings.tipAnimation)?a.hide():a.fadeOut(this.settings.tipAnimationFadeSpeed),this.scroll_to()}this.is_phone()?this.pos_phone(!0):this.pos_default(!0),n=this.settings.$next_tip.find(".joyride-timer-indicator"),/pop/i.test(this.settings.tip_animation)?(n.width(0),this.settings.timer>0?(this.settings.$next_tip.show(),setTimeout(function(){n.animate({width:n.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tip_animation_fade_speed)):this.settings.$next_tip.show()):/fade/i.test(this.settings.tip_animation)&&(n.width(0),this.settings.timer>0?(this.settings.$next_tip.fadeIn(this.settings.tip_animation_fade_speed).show(),setTimeout(function(){n.animate({width:n.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tip_animation_fade_speed)):this.settings.$next_tip.fadeIn(this.settings.tip_animation_fade_speed)),this.settings.$current_tip=this.settings.$next_tip}else this.settings.$li&&this.settings.$target.length<1?this.show(e,i):this.end();else this.settings.paused=!0},is_phone:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},hide:function(){this.settings.modal&&this.settings.expose&&this.un_expose(),this.settings.modal||t(".joyride-modal-bg").hide(),this.settings.$current_tip.css("visibility","hidden"),setTimeout(t.proxy(function(){this.hide(),this.css("visibility","visible")},this.settings.$current_tip),0),this.settings.post_step_callback(this.settings.$li.index(),this.settings.$current_tip)},set_li:function(t,e){t?(this.settings.$li=this.settings.$tip_content.eq(this.settings.start_offset),this.set_next_tip(),this.settings.$current_tip=this.settings.$next_tip):(e?this.settings.$li=this.settings.$li.prev():this.settings.$li=this.settings.$li.next(),this.set_next_tip()),this.set_target()},set_next_tip:function(){this.settings.$next_tip=t(".joyride-tip-guide").eq(this.settings.$li.index()),this.settings.$next_tip.data("closed","")},set_target:function(){var e=this.settings.$li.attr(this.add_namespace("data-class")),s=this.settings.$li.attr(this.add_namespace("data-id")),n=function(){return s?t(i.getElementById(s)):e?t("."+e).first():t("body")};this.settings.$target=n()},scroll_to:function(){var i,s;i=t(e).height()/2,s=Math.ceil(this.settings.$target.offset().top-i+this.settings.$next_tip.outerHeight()),0!=s&&t("html, body").stop().animate({scrollTop:s},this.settings.scroll_speed,"swing")},paused:function(){return-1===t.inArray(this.settings.$li.index()+1,this.settings.pause_after)},restart:function(){this.hide(),this.settings.$li=s,this.show("init")},pos_default:function(t){var e=this.settings.$next_tip.find(".joyride-nub"),i=Math.ceil(e.outerWidth()/2),s=Math.ceil(e.outerHeight()/2),n=t||!1;if(n&&(this.settings.$next_tip.css("visibility","hidden"),this.settings.$next_tip.show()),/body/i.test(this.settings.$target.selector))this.settings.$li.length&&this.pos_modal(e);else{var a=this.settings.tip_settings.tipAdjustmentY?parseInt(this.settings.tip_settings.tipAdjustmentY):0,o=this.settings.tip_settings.tipAdjustmentX?parseInt(this.settings.tip_settings.tipAdjustmentX):0;this.bottom()?(this.rtl?this.settings.$next_tip.css({top:this.settings.$target.offset().top+s+this.settings.$target.outerHeight()+a,left:this.settings.$target.offset().left+this.settings.$target.outerWidth()-this.settings.$next_tip.outerWidth()+o}):this.settings.$next_tip.css({top:this.settings.$target.offset().top+s+this.settings.$target.outerHeight()+a,left:this.settings.$target.offset().left+o}),this.nub_position(e,this.settings.tip_settings.nub_position,"top")):this.top()?(this.rtl?this.settings.$next_tip.css({top:this.settings.$target.offset().top-this.settings.$next_tip.outerHeight()-s+a,left:this.settings.$target.offset().left+this.settings.$target.outerWidth()-this.settings.$next_tip.outerWidth()}):this.settings.$next_tip.css({top:this.settings.$target.offset().top-this.settings.$next_tip.outerHeight()-s+a,left:this.settings.$target.offset().left+o}),this.nub_position(e,this.settings.tip_settings.nub_position,"bottom")):this.right()?(this.settings.$next_tip.css({top:this.settings.$target.offset().top+a,left:this.settings.$target.outerWidth()+this.settings.$target.offset().left+i+o}),this.nub_position(e,this.settings.tip_settings.nub_position,"left")):this.left()&&(this.settings.$next_tip.css({top:this.settings.$target.offset().top+a,left:this.settings.$target.offset().left-this.settings.$next_tip.outerWidth()-i+o}),this.nub_position(e,this.settings.tip_settings.nub_position,"right")),!this.visible(this.corners(this.settings.$next_tip))&&this.settings.attempts0&&arguments[0]instanceof t)n=arguments[0];else{if(!this.settings.$target||/body/i.test(this.settings.$target.selector))return!1;n=this.settings.$target}return n.length<1?(e.console&&console.error("element not valid",n),!1):(i=t(this.settings.template.expose),this.settings.$body.append(i),i.css({top:n.offset().top,left:n.offset().left,width:n.outerWidth(!0),height:n.outerHeight(!0)}),s=t(this.settings.template.expose_cover),a={zIndex:n.css("z-index"),position:n.css("position")},o=null==n.attr("class")?"":n.attr("class"),n.css("z-index",parseInt(i.css("z-index"))+1),"static"==a.position&&n.css("position","relative"),n.data("expose-css",a),n.data("orig-class",o),n.attr("class",o+" "+this.settings.expose_add_class),s.css({top:n.offset().top,left:n.offset().left,width:n.outerWidth(!0),height:n.outerHeight(!0)}),this.settings.modal&&this.show_modal(),this.settings.$body.append(s),i.addClass(r),s.addClass(r),n.data("expose",r),this.settings.post_expose_callback(this.settings.$li.index(),this.settings.$next_tip,n),void this.add_exposed(n))},un_expose:function(){var i,s,n,a,o,r=!1;if(arguments.length>0&&arguments[0]instanceof t)s=arguments[0];else{if(!this.settings.$target||/body/i.test(this.settings.$target.selector))return!1;s=this.settings.$target}return s.length<1?(e.console&&console.error("element not valid",s),!1):(i=s.data("expose"),n=t("."+i),arguments.length>1&&(r=arguments[1]),r===!0?t(".joyride-expose-wrapper,.joyride-expose-cover").remove():n.remove(),a=s.data("expose-css"),"auto"==a.zIndex?s.css("z-index",""):s.css("z-index",a.zIndex),a.position!=s.css("position")&&("static"==a.position?s.css("position",""):s.css("position",a.position)),o=s.data("orig-class"),s.attr("class",o),s.removeData("orig-classes"),s.removeData("expose"),s.removeData("expose-z-index"),void this.remove_exposed(s))},add_exposed:function(e){this.settings.exposed=this.settings.exposed||[],e instanceof t||"object"==typeof e?this.settings.exposed.push(e[0]):"string"==typeof e&&this.settings.exposed.push(e)},remove_exposed:function(e){var i,s;for(e instanceof t?i=e[0]:"string"==typeof e&&(i=e),this.settings.exposed=this.settings.exposed||[],s=this.settings.exposed.length;s--;)if(this.settings.exposed[s]==i)return void this.settings.exposed.splice(s,1)},center:function(){var i=t(e);return this.settings.$next_tip.css({top:(i.height()-this.settings.$next_tip.outerHeight())/2+i.scrollTop(),left:(i.width()-this.settings.$next_tip.outerWidth())/2+i.scrollLeft()}),!0},bottom:function(){return/bottom/i.test(this.settings.tip_settings.tip_location)},top:function(){return/top/i.test(this.settings.tip_settings.tip_location)},right:function(){return/right/i.test(this.settings.tip_settings.tip_location)},left:function(){return/left/i.test(this.settings.tip_settings.tip_location)},corners:function(i){var s=t(e),n=s.height()/2,a=Math.ceil(this.settings.$target.offset().top-n+this.settings.$next_tip.outerHeight()),o=s.width()+s.scrollLeft(),r=s.height()+a,l=s.height()+s.scrollTop(),d=s.scrollTop();return d>a&&(d=0>a?0:a),r>l&&(l=r),[i.offset().topi.offset().left]},visible:function(t){for(var e=t.length;e--;)if(t[e])return!1;return!0},nub_position:function(t,e,i){"auto"===e?t.addClass(i):t.addClass(e)},startTimer:function(){this.settings.$li.length?this.settings.automate=setTimeout(function(){this.hide(),this.show(),this.startTimer()}.bind(this),this.settings.timer):clearTimeout(this.settings.automate)},end:function(e){this.settings.cookie_monster&&t.cookie(this.settings.cookie_name,"ridden",{expires:this.settings.cookie_expires,domain:this.settings.cookie_domain}),this.settings.timer>0&&clearTimeout(this.settings.automate),this.settings.modal&&this.settings.expose&&this.un_expose(),t(this.scope).off("keyup.joyride"),this.settings.$next_tip.data("closed",!0),this.settings.riding=!1,t(".joyride-modal-bg").hide(),this.settings.$current_tip.hide(),("undefined"==typeof e||e===!1)&&(this.settings.post_step_callback(this.settings.$li.index(),this.settings.$current_tip),this.settings.post_ride_callback(this.settings.$li.index(),this.settings.$current_tip)),t(".joyride-tip-guide").remove()},off:function(){t(this.scope).off(".joyride"),t(e).off(".joyride"),t(".joyride-close-tip, .joyride-next-tip, .joyride-modal-bg").off(".joyride"),t(".joyride-tip-guide, .joyride-modal-bg").remove(),clearTimeout(this.settings.automate),this.settings={}},reflow:function(){}}}(jQuery,window,window.document),function(t,e,i,s){"use strict";Foundation.libs.equalizer={name:"equalizer",version:"5.5.2",settings:{use_tallest:!0,before_height_change:t.noop,after_height_change:t.noop,equalize_on_stack:!1,act_on_hidden_el:!1},init:function(t,e,i){Foundation.inherit(this,"image_loaded"),this.bindings(e,i),this.reflow()},events:function(){this.S(e).off(".equalizer").on("resize.fndtn.equalizer",function(t){this.reflow()}.bind(this))},equalize:function(e){var i,s,n=!1,a=e.data("equalizer"),o=e.data(this.attr_name(!0)+"-init")||this.settings;if(i=o.act_on_hidden_el?a?e.find("["+this.attr_name()+'-watch="'+a+'"]'):e.find("["+this.attr_name()+"-watch]"):a?e.find("["+this.attr_name()+'-watch="'+a+'"]:visible'):e.find("["+this.attr_name()+"-watch]:visible"),0!==i.length&&(o.before_height_change(),e.trigger("before-height-change.fndth.equalizer"),i.height("inherit"),o.equalize_on_stack!==!1||(s=i.first().offset().top,i.each(function(){return t(this).offset().top!==s?(n=!0,!1):void 0}),!n))){var r=i.map(function(){return t(this).outerHeight(!1)}).get();if(o.use_tallest){ var l=Math.max.apply(null,r);i.css("height",l)}else{var d=Math.min.apply(null,r);i.css("height",d)}o.after_height_change(),e.trigger("after-height-change.fndtn.equalizer")}},reflow:function(){var e=this;this.S("["+this.attr_name()+"]",this.scope).each(function(){var i=t(this),s=i.data("equalizer-mq"),n=!0;s&&(s="is_"+s.replace(/-/g,"_"),Foundation.utils.hasOwnProperty(s)&&(n=!1)),e.image_loaded(e.S("img",this),function(){if(n||Foundation.utils[s]())e.equalize(i);else{var t=i.find("["+e.attr_name()+"-watch]:visible");t.css("height","auto")}})})}}}(jQuery,window,window.document),function(t,e,i,s){"use strict";Foundation.libs.dropdown={name:"dropdown",version:"5.5.2",settings:{active_class:"open",disabled_class:"disabled",mega_class:"mega",align:"bottom",is_hover:!1,hover_timeout:150,opened:function(){},closed:function(){}},init:function(e,i,s){Foundation.inherit(this,"throttle"),t.extend(!0,this.settings,i,s),this.bindings(i,s)},events:function(s){var n=this,a=n.S;a(this.scope).off(".dropdown").on("click.fndtn.dropdown","["+this.attr_name()+"]",function(e){var i=a(this).data(n.attr_name(!0)+"-init")||n.settings;(!i.is_hover||Modernizr.touch)&&(e.preventDefault(),a(this).parent("[data-reveal-id]").length&&e.stopPropagation(),n.toggle(t(this)))}).on("mouseenter.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(t){var e,i,s=a(this);clearTimeout(n.timeout),s.data(n.data_attr())?(e=a("#"+s.data(n.data_attr())),i=s):(e=s,i=a("["+n.attr_name()+'="'+e.attr("id")+'"]'));var o=i.data(n.attr_name(!0)+"-init")||n.settings;a(t.currentTarget).data(n.data_attr())&&o.is_hover&&n.closeall.call(n),o.is_hover&&n.open.apply(n,[e,i])}).on("mouseleave.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(t){var e,i=a(this);if(i.data(n.data_attr()))e=i.data(n.data_attr(!0)+"-init")||n.settings;else var s=a("["+n.attr_name()+'="'+a(this).attr("id")+'"]'),e=s.data(n.attr_name(!0)+"-init")||n.settings;n.timeout=setTimeout(function(){i.data(n.data_attr())?e.is_hover&&n.close.call(n,a("#"+i.data(n.data_attr()))):e.is_hover&&n.close.call(n,i)}.bind(this),e.hover_timeout)}).on("click.fndtn.dropdown",function(e){var s=a(e.target).closest("["+n.attr_name()+"-content]"),o=s.find("a");return o.length>0&&"false"!==s.attr("aria-autoclose")&&n.close.call(n,a("["+n.attr_name()+"-content]")),e.target!==i&&!t.contains(i.documentElement,e.target)||a(e.target).closest("["+n.attr_name()+"]").length>0?void 0:!a(e.target).data("revealId")&&s.length>0&&(a(e.target).is("["+n.attr_name()+"-content]")||t.contains(s.first()[0],e.target))?void e.stopPropagation():void n.close.call(n,a("["+n.attr_name()+"-content]"))}).on("opened.fndtn.dropdown","["+n.attr_name()+"-content]",function(){n.settings.opened.call(this)}).on("closed.fndtn.dropdown","["+n.attr_name()+"-content]",function(){n.settings.closed.call(this)}),a(e).off(".dropdown").on("resize.fndtn.dropdown",n.throttle(function(){n.resize.call(n)},50)),this.resize()},close:function(e){var i=this;e.each(function(s){var n=t("["+i.attr_name()+"="+e[s].id+"]")||t("aria-controls="+e[s].id+"]");n.attr("aria-expanded","false"),i.S(this).hasClass(i.settings.active_class)&&(i.S(this).css(Foundation.rtl?"right":"left","-99999px").attr("aria-hidden","true").removeClass(i.settings.active_class).prev("["+i.attr_name()+"]").removeClass(i.settings.active_class).removeData("target"),i.S(this).trigger("closed.fndtn.dropdown",[e]))}),e.removeClass("f-open-"+this.attr_name(!0))},closeall:function(){var e=this;t.each(e.S(".f-open-"+this.attr_name(!0)),function(){e.close.call(e,e.S(this))})},open:function(t,e){this.css(t.addClass(this.settings.active_class),e),t.prev("["+this.attr_name()+"]").addClass(this.settings.active_class),t.data("target",e.get(0)).trigger("opened.fndtn.dropdown",[t,e]),t.attr("aria-hidden","false"),e.attr("aria-expanded","true"),t.focus(),t.addClass("f-open-"+this.attr_name(!0))},data_attr:function(){return this.namespace.length>0?this.namespace+"-"+this.name:this.name},toggle:function(t){if(!t.hasClass(this.settings.disabled_class)){var e=this.S("#"+t.data(this.data_attr()));0!==e.length&&(this.close.call(this,this.S("["+this.attr_name()+"-content]").not(e)),e.hasClass(this.settings.active_class)?(this.close.call(this,e),e.data("target")!==t.get(0)&&this.open.call(this,e,t)):this.open.call(this,e,t))}},resize:function(){var e=this.S("["+this.attr_name()+"-content].open"),i=t(e.data("target"));e.length&&i.length&&this.css(e,i)},css:function(t,e){var i=Math.max((e.width()-t.width())/2,8),s=e.data(this.attr_name(!0)+"-init")||this.settings,n=t.parent().css("overflow-y")||t.parent().css("overflow");if(this.clear_idx(),this.small()){var a=this.dirs.bottom.call(t,e,s);t.attr("style","").removeClass("drop-left drop-right drop-top").css({position:"absolute",width:"95%","max-width":"none",top:a.top}),t.css(Foundation.rtl?"right":"left",i)}else if("visible"!==n){var o=e[0].offsetTop+e[0].offsetHeight;t.attr("style","").css({position:"absolute",top:o}),t.css(Foundation.rtl?"right":"left",i)}else this.style(t,e,s);return t},style:function(e,i,s){var n=t.extend({position:"absolute"},this.dirs[s.align].call(e,i,s));e.attr("style","").css(n)},dirs:{_base:function(t){var s=this.offsetParent(),n=s.offset(),a=t.offset();a.top-=n.top,a.left-=n.left,a.missRight=!1,a.missTop=!1,a.missLeft=!1,a.leftRightFlag=!1;var o;o=i.getElementsByClassName("row")[0]?i.getElementsByClassName("row")[0].clientWidth:e.innerWidth;var r=(e.innerWidth-o)/2,l=o;return this.hasClass("mega")||(t.offset().top<=this.outerHeight()&&(a.missTop=!0,l=e.innerWidth-r,a.leftRightFlag=!0),t.offset().left+this.outerWidth()>t.offset().left+r&&t.offset().left-r>this.outerWidth()&&(a.missRight=!0,a.missLeft=!1),t.offset().left-this.outerWidth()<=0&&(a.missLeft=!0,a.missRight=!1)),a},top:function(t,e){var i=Foundation.libs.dropdown,s=i.dirs._base.call(this,t);return this.addClass("drop-top"),1==s.missTop&&(s.top=s.top+t.outerHeight()+this.outerHeight(),this.removeClass("drop-top")),1==s.missRight&&(s.left=s.left-this.outerWidth()+t.outerWidth()),(t.outerWidth()×'},close_selectors:".clearing-close, div.clearing-blackout",open_selectors:"",skip_selector:"",touch_label:"",init:!1,locked:!1},init:function(t,e,i){var s=this;Foundation.inherit(this,"throttle image_loaded"),this.bindings(e,i),s.S(this.scope).is("["+this.attr_name()+"]")?this.assemble(s.S("li",this.scope)):s.S("["+this.attr_name()+"]",this.scope).each(function(){s.assemble(s.S("li",this))})},events:function(s){var n=this,a=n.S,o=t(".scroll-container");o.length>0&&(this.scope=o),a(this.scope).off(".clearing").on("click.fndtn.clearing","ul["+this.attr_name()+"] li "+this.settings.open_selectors,function(t,e,i){var e=e||a(this),i=i||e,s=e.next("li"),o=e.closest("["+n.attr_name()+"]").data(n.attr_name(!0)+"-init"),r=a(t.target);t.preventDefault(),o||(n.init(),o=e.closest("["+n.attr_name()+"]").data(n.attr_name(!0)+"-init")),i.hasClass("visible")&&e[0]===i[0]&&s.length>0&&n.is_open(e)&&(i=s,r=a("img",i)),n.open(r,e,i),n.update_paddles(i)}).on("click.fndtn.clearing",".clearing-main-next",function(t){n.nav(t,"next")}).on("click.fndtn.clearing",".clearing-main-prev",function(t){n.nav(t,"prev")}).on("click.fndtn.clearing",this.settings.close_selectors,function(t){Foundation.libs.clearing.close(t,this)}),t(i).on("keydown.fndtn.clearing",function(t){n.keydown(t)}),a(e).off(".clearing").on("resize.fndtn.clearing",function(){n.resize()}),this.swipe_events(s)},swipe_events:function(t){var e=this,i=e.S;i(this.scope).on("touchstart.fndtn.clearing",".visible-img",function(t){t.touches||(t=t.originalEvent);var e={start_page_x:t.touches[0].pageX,start_page_y:t.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:s};i(this).data("swipe-transition",e),t.stopPropagation()}).on("touchmove.fndtn.clearing",".visible-img",function(t){if(t.touches||(t=t.originalEvent),!(t.touches.length>1||t.scale&&1!==t.scale)){var s=i(this).data("swipe-transition");if("undefined"==typeof s&&(s={}),s.delta_x=t.touches[0].pageX-s.start_page_x,Foundation.rtl&&(s.delta_x=-s.delta_x),"undefined"==typeof s.is_scrolling&&(s.is_scrolling=!!(s.is_scrolling||Math.abs(s.delta_x)');var s=i.detach(),n="";if(null!=s[0]){n=s[0].outerHTML;var a=this.S("#foundationClearingHolder"),o=i.data(this.attr_name(!0)+"-init"),r={grid:'",viewing:o.templates.viewing},l='
'+r.viewing+r.grid+"
",d=this.settings.touch_label;Modernizr.touch&&(l=t(l).find(".clearing-touch-label").html(d).end()),a.after(l).remove()}}},open:function(e,s,n){function a(){setTimeout(function(){this.image_loaded(u,function(){1!==u.outerWidth()||p?o.call(this,u):a.call(this)}.bind(this))}.bind(this),100)}function o(e){var i=t(e);i.css("visibility","visible"),i.trigger("imageVisible"),l.css("overflow","hidden"),d.addClass("clearing-blackout"),c.addClass("clearing-container"),h.show(),this.fix_height(n).caption(r.S(".clearing-caption",h),r.S("img",n)).center_and_label(e,f).shift(s,n,function(){n.closest("li").siblings().removeClass("visible"),n.closest("li").addClass("visible")}),h.trigger("opened.fndtn.clearing")}var r=this,l=t(i.body),d=n.closest(".clearing-assembled"),c=r.S("div",d).first(),h=r.S(".visible-img",c),u=r.S("img",h).not(e),f=r.S(".clearing-touch-label",c),p=!1,g={};t("body").on("touchmove",function(t){t.preventDefault()}),u.error(function(){p=!0}),this.locked()||(h.trigger("open.fndtn.clearing"),g=this.load(e),g.interchange?u.attr("data-interchange",g.interchange).foundation("interchange","reflow"):u.attr("src",g.src).attr("data-interchange",""),u.css("visibility","hidden"),a.call(this))},close:function(e,s){e.preventDefault();var n,a,o=function(t){return/blackout/.test(t.selector)?t:t.closest(".clearing-blackout")}(t(s)),r=t(i.body);return s===e.target&&o&&(r.css("overflow",""),n=t("div",o).first(),a=t(".visible-img",n),a.trigger("close.fndtn.clearing"),this.settings.prev_index=0,t("ul["+this.attr_name()+"]",o).attr("style","").closest(".clearing-blackout").removeClass("clearing-blackout"),n.removeClass("clearing-container"),a.hide(),a.trigger("closed.fndtn.clearing")),t("body").off("touchmove"),!1},is_open:function(t){return t.parent().prop("style").length>0},keydown:function(e){var i=t(".clearing-blackout ul["+this.attr_name()+"]"),s=this.rtl?37:39,n=this.rtl?39:37,a=27;e.which===s&&this.go(i,"next"),e.which===n&&this.go(i,"prev"),e.which===a&&this.S("a.clearing-close").trigger("click.fndtn.clearing")},nav:function(e,i){var s=t("ul["+this.attr_name()+"]",".clearing-blackout");e.preventDefault(),this.go(s,i)},resize:function(){var e=t("img",".clearing-blackout .visible-img"),i=t(".clearing-touch-label",".clearing-blackout");e.length&&(this.center_and_label(e,i),e.trigger("resized.fndtn.clearing"))},fix_height:function(t){var e=t.parent().children(),i=this;return e.each(function(){var t=i.S(this),e=t.find("img");t.height()>e.outerHeight()&&t.addClass("fix-height")}).closest("ul").width(100*e.length+"%"),this},update_paddles:function(t){t=t.closest("li");var e=t.closest(".carousel").siblings(".visible-img");t.next().length>0?this.S(".clearing-main-next",e).removeClass("disabled"):this.S(".clearing-main-next",e).addClass("disabled"),t.prev().length>0?this.S(".clearing-main-prev",e).removeClass("disabled"):this.S(".clearing-main-prev",e).addClass("disabled")},center_and_label:function(t,e){return!this.rtl&&e.length>0?e.css({marginLeft:-(e.outerWidth()/2),marginTop:-(t.outerHeight()/2)-e.outerHeight()-10}):e.css({marginRight:-(e.outerWidth()/2),marginTop:-(t.outerHeight()/2)-e.outerHeight()-10,left:"auto",right:"50%"}),this},load:function(t){var e,i,s;return"A"===t[0].nodeName?(e=t.attr("href"),i=t.data("clearing-interchange")):(s=t.closest("a"),e=s.attr("href"),i=s.data("clearing-interchange")),this.preload(t),{src:e?e:t.attr("src"),interchange:e?i:t.data("clearing-interchange")}},preload:function(t){this.img(t.closest("li").next(),"next").img(t.closest("li").prev(),"prev")},img:function(e,i){if(e.length){var s,n,a,o=t(".clearing-preload-"+i),r=this.S("a",e);r.length?(s=r.attr("href"),n=r.data("clearing-interchange")):(a=this.S("img",e),s=a.attr("src"),n=a.data("clearing-interchange")),n?o.attr("data-interchange",n):(o.attr("src",s),o.attr("data-interchange",""))}return this},caption:function(t,e){var i=e.attr("data-caption");return i?t.html(i).show():t.text("").hide(),this},go:function(t,e){var i=this.S(".visible",t),s=i[e]();this.settings.skip_selector&&0!=s.find(this.settings.skip_selector).length&&(s=s[e]()),s.length&&this.S("img",s).trigger("click.fndtn.clearing",[i,s]).trigger("change.fndtn.clearing")},shift:function(t,e,i){var s,n=e.parent(),a=this.settings.prev_index||e.index(),o=this.direction(n,t,e),r=this.rtl?"right":"left",l=parseInt(n.css("left"),10),d=e.outerWidth(),c={};e.index()===a||/skip/.test(o)?/skip/.test(o)&&(s=e.index()-this.settings.up_count,this.lock(),s>0?(c[r]=-(s*d),n.animate(c,300,this.unlock())):(c[r]=0,n.animate(c,300,this.unlock()))):/left/.test(o)?(this.lock(),c[r]=l+d,n.animate(c,300,this.unlock())):/right/.test(o)&&(this.lock(),c[r]=l-d,n.animate(c,300,this.unlock())),i()},direction:function(t,e,i){var s,n=this.S("li",t),a=n.outerWidth()+n.outerWidth()/4,o=Math.floor(this.S(".clearing-container").outerWidth()/a)-1,r=n.index(i);return this.settings.up_count=o,s=this.adjacent(this.settings.prev_index,r)?r>o&&r>this.settings.prev_index?"right":r>o-1&&r<=this.settings.prev_index?"left":!1:"skip",this.settings.prev_index=r,s},adjacent:function(t,e){for(var i=e+1;i>=e-1;i--)if(i===t)return!0;return!1},lock:function(){this.settings.locked=!0},unlock:function(){this.settings.locked=!1},locked:function(){return this.settings.locked},off:function(){this.S(this.scope).off(".fndtn.clearing"),this.S(e).off(".fndtn.clearing")},reflow:function(){this.init()}}}(jQuery,window,window.document),function(t,e,i,s){"use strict";var n=function(){},a=function(n,a){if(n.hasClass(a.slides_container_class))return this;var d,c,h,u,f,p,g=this,_=n,m=0,v=!1;g.slides=function(){return _.children(a.slide_selector)},g.slides().first().addClass(a.active_slide_class),g.update_slide_number=function(e){a.slide_number&&(c.find("span:first").text(parseInt(e)+1),c.find("span:last").text(g.slides().length)),a.bullets&&(h.children().removeClass(a.bullets_active_class),t(h.children().get(e)).addClass(a.bullets_active_class))},g.update_active_link=function(e){var i=t('[data-orbit-link="'+g.slides().eq(e).attr("data-orbit-slide")+'"]');i.siblings().removeClass(a.bullets_active_class),i.addClass(a.bullets_active_class)},g.build_markup=function(){_.wrap('
'),d=_.parent(),_.addClass(a.slides_container_class),a.stack_on_small&&d.addClass(a.stack_on_small_class),a.navigation_arrows&&(d.append(t('').addClass(a.prev_class)),d.append(t('').addClass(a.next_class))),a.timer&&(u=t("
").addClass(a.timer_container_class),u.append(""),u.append(t("
").addClass(a.timer_progress_class)),u.addClass(a.timer_paused_class),d.append(u)),a.slide_number&&(c=t("
").addClass(a.slide_number_class),c.append(" "+a.slide_number_text+" "),d.append(c)),a.bullets&&(h=t("
    ").addClass(a.bullets_container_class),d.append(h),h.wrap('
    '),g.slides().each(function(e,i){var s=t("
  1. ").attr("data-orbit-slide",e).on("click",g.link_bullet);h.append(s)}))},g._goto=function(e,i){if(e===m)return!1;"object"==typeof p&&p.restart();var s=g.slides(),n="next";if(v=!0,m>e&&(n="prev"),e>=s.length){if(!a.circular)return!1;e=0}else if(0>e){if(!a.circular)return!1;e=s.length-1}var o=t(s.get(m)),r=t(s.get(e));o.css("zIndex",2),o.removeClass(a.active_slide_class),r.css("zIndex",4).addClass(a.active_slide_class),_.trigger("before-slide-change.fndtn.orbit"),a.before_slide_change(),g.update_active_link(e);var l=function(){var t=function(){m=e,v=!1,i===!0&&(p=g.create_timer(),p.start()),g.update_slide_number(m),_.trigger("after-slide-change.fndtn.orbit",[{slide_number:m,total_slides:s.length}]),a.after_slide_change(m,s.length)};_.outerHeight()!=r.outerHeight()&&a.variable_height?_.animate({height:r.outerHeight()},250,"linear",t):t()};if(1===s.length)return l(),!1;var d=function(){"next"===n&&f.next(o,r,l),"prev"===n&&f.prev(o,r,l)};r.outerHeight()>_.outerHeight()&&a.variable_height?_.animate({height:r.outerHeight()},250,"linear",d):d()},g.next=function(t){t.stopImmediatePropagation(),t.preventDefault(),g._goto(m+1)},g.prev=function(t){t.stopImmediatePropagation(),t.preventDefault(),g._goto(m-1)},g.link_custom=function(e){e.preventDefault();var i=t(this).attr("data-orbit-link");if("string"==typeof i&&""!=(i=t.trim(i))){var s=d.find("[data-orbit-slide="+i+"]");-1!=s.index()&&g._goto(s.index())}},g.link_bullet=function(e){var i=t(this).attr("data-orbit-slide");if("string"==typeof i&&""!=(i=t.trim(i)))if(isNaN(parseInt(i))){var s=d.find("[data-orbit-slide="+i+"]");-1!=s.index()&&g._goto(s.index()+1)}else g._goto(parseInt(i))},g.timer_callback=function(){g._goto(m+1,!0)},g.compute_dimensions=function(){var e=t(g.slides().get(m)),i=e.outerHeight();a.variable_height||g.slides().each(function(){t(this).outerHeight()>i&&(i=t(this).outerHeight())}),_.height(i)},g.create_timer=function(){var t=new o(d.find("."+a.timer_container_class),a,g.timer_callback);return t},g.stop_timer=function(){"object"==typeof p&&p.stop()},g.toggle_timer=function(){var t=d.find("."+a.timer_container_class);t.hasClass(a.timer_paused_class)?("undefined"==typeof p&&(p=g.create_timer()),p.start()):"object"==typeof p&&p.stop()},g.init=function(){g.build_markup(),a.timer&&(p=g.create_timer(),Foundation.utils.image_loaded(this.slides().children("img"),p.start)),f=new l(a,_),"slide"===a.animation&&(f=new r(a,_)),d.on("click","."+a.next_class,g.next),d.on("click","."+a.prev_class,g.prev),a.next_on_click&&d.on("click","."+a.slides_container_class+" [data-orbit-slide]",g.link_bullet),d.on("click",g.toggle_timer),a.swipe&&d.on("touchstart.fndtn.orbit",function(t){t.touches||(t=t.originalEvent);var e={start_page_x:t.touches[0].pageX,start_page_y:t.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:s};d.data("swipe-transition",e),t.stopPropagation()}).on("touchmove.fndtn.orbit",function(t){if(t.touches||(t=t.originalEvent),!(t.touches.length>1||t.scale&&1!==t.scale)){var e=d.data("swipe-transition");if("undefined"==typeof e&&(e={}),e.delta_x=t.touches[0].pageX-e.start_page_x,"undefined"==typeof e.is_scrolling&&(e.is_scrolling=!!(e.is_scrolling||Math.abs(e.delta_x)0?s(this.scope).on("open.fndtn.reveal",this.settings.open).on("opened.fndtn.reveal",this.settings.opened).on("opened.fndtn.reveal",this.open_video).on("close.fndtn.reveal",this.settings.close).on("closed.fndtn.reveal",this.settings.closed).on("closed.fndtn.reveal",this.close_video):s(this.scope).on("open.fndtn.reveal","["+e.attr_name()+"]",this.settings.open).on("opened.fndtn.reveal","["+e.attr_name()+"]",this.settings.opened).on("opened.fndtn.reveal","["+e.attr_name()+"]",this.open_video).on("close.fndtn.reveal","["+e.attr_name()+"]",this.settings.close).on("closed.fndtn.reveal","["+e.attr_name()+"]",this.settings.closed).on("closed.fndtn.reveal","["+e.attr_name()+"]",this.close_video), !0},key_up_on:function(t){var e=this;return e.S("body").off("keyup.fndtn.reveal").on("keyup.fndtn.reveal",function(t){var i=e.S("["+e.attr_name()+"].open"),s=i.data(e.attr_name(!0)+"-init")||e.settings;s&&27===t.which&&s.close_on_esc&&!e.locked&&e.close.call(e,i)}),!0},key_up_off:function(t){return this.S("body").off("keyup.fndtn.reveal"),!0},open:function(i,s){var n,a=this;i?"undefined"!=typeof i.selector?n=a.S("#"+i.data(a.data_attr("reveal-id"))).first():(n=a.S(this.scope),s=i):n=a.S(this.scope);var o=n.data(a.attr_name(!0)+"-init");if(o=o||this.settings,n.hasClass("open")&&i.attr("data-reveal-id")==n.attr("id"))return a.close(n);if(!n.hasClass("open")){var r=a.S("["+a.attr_name()+"].open");if("undefined"==typeof n.data("css-top")&&n.data("css-top",parseInt(n.css("top"),10)).data("offset",this.cache_offset(n)),n.attr("tabindex","0").attr("aria-hidden","false"),this.key_up_on(n),n.on("open.fndtn.reveal",function(t){"fndtn.reveal"!==t.namespace}),n.on("open.fndtn.reveal").trigger("open.fndtn.reveal"),r.length<1&&this.toggle_bg(n,!0),"string"==typeof s&&(s={url:s}),"undefined"!=typeof s&&s.url){var l="undefined"!=typeof s.success?s.success:null;t.extend(s,{success:function(e,i,s){if(t.isFunction(l)){var d=l(e,i,s);"string"==typeof d&&(e=d)}"undefined"!=typeof options&&"undefined"!=typeof options.replaceContentSel?n.find(options.replaceContentSel).html(e):n.html(e),a.S(n).foundation("section","reflow"),a.S(n).children().foundation(),r.length>0&&(o.multiple_opened?a.to_back(r):a.hide(r,o.css.close)),a.show(n,o.css.open)}}),o.on_ajax_error!==t.noop&&t.extend(s,{error:o.on_ajax_error}),t.ajax(s)}else r.length>0&&(o.multiple_opened?a.to_back(r):a.hide(r,o.css.close)),this.show(n,o.css.open)}a.S(e).trigger("resize")},close:function(e){var e=e&&e.length?e:this.S(this.scope),i=this.S("["+this.attr_name()+"].open"),s=e.data(this.attr_name(!0)+"-init")||this.settings,n=this;i.length>0&&(e.removeAttr("tabindex","0").attr("aria-hidden","true"),this.locked=!0,this.key_up_off(e),e.trigger("close.fndtn.reveal"),(s.multiple_opened&&1===i.length||!s.multiple_opened||e.length>1)&&(n.toggle_bg(e,!1),n.to_front(e)),s.multiple_opened?(n.hide(e,s.css.close,s),n.to_front(t(t.makeArray(i).reverse()[1]))):n.hide(i,s.css.close,s))},close_targets:function(){var t="."+this.settings.dismiss_modal_class;return this.settings.close_on_background_click?t+", ."+this.settings.bg_class:t},toggle_bg:function(e,i){0===this.S("."+this.settings.bg_class).length&&(this.settings.bg=t("
    ",{"class":this.settings.bg_class}).appendTo("body").hide());var n=this.settings.bg.filter(":visible").length>0;i!=n&&((i==s?n:!i)?this.hide(this.settings.bg):this.show(this.settings.bg))},show:function(i,s){if(s){var a=i.data(this.attr_name(!0)+"-init")||this.settings,o=a.root_element,r=this;if(0===i.parent(o).length){var l=i.wrap('
    ').parent();i.on("closed.fndtn.reveal.wrapped",function(){i.detach().appendTo(l),i.unwrap().unbind("closed.fndtn.reveal.wrapped")}),i.detach().appendTo(o)}var d=n(a.animation);if(d.animate||(this.locked=!1),d.pop){s.top=t(e).scrollTop()-i.data("offset")+"px";var c={top:t(e).scrollTop()+i.data("css-top")+"px",opacity:1};return setTimeout(function(){return i.css(s).animate(c,a.animation_speed,"linear",function(){r.locked=!1,i.trigger("opened.fndtn.reveal")}).addClass("open")},a.animation_speed/2)}if(d.fade){s.top=t(e).scrollTop()+i.data("css-top")+"px";var c={opacity:1};return setTimeout(function(){return i.css(s).animate(c,a.animation_speed,"linear",function(){r.locked=!1,i.trigger("opened.fndtn.reveal")}).addClass("open")},a.animation_speed/2)}return i.css(s).show().css({opacity:1}).addClass("open").trigger("opened.fndtn.reveal")}var a=this.settings;return n(a.animation).fade?i.fadeIn(a.animation_speed/2):(this.locked=!1,i.show())},to_back:function(t){t.addClass("toback")},to_front:function(t){t.removeClass("toback")},hide:function(i,s){if(s){var a=i.data(this.attr_name(!0)+"-init"),o=this;a=a||this.settings;var r=n(a.animation);if(r.animate||(this.locked=!1),r.pop){var l={top:-t(e).scrollTop()-i.data("offset")+"px",opacity:0};return setTimeout(function(){return i.animate(l,a.animation_speed,"linear",function(){o.locked=!1,i.css(s).trigger("closed.fndtn.reveal")}).removeClass("open")},a.animation_speed/2)}if(r.fade){var l={opacity:0};return setTimeout(function(){return i.animate(l,a.animation_speed,"linear",function(){o.locked=!1,i.css(s).trigger("closed.fndtn.reveal")}).removeClass("open")},a.animation_speed/2)}return i.hide().css(s).removeClass("open").trigger("closed.fndtn.reveal")}var a=this.settings;return n(a.animation).fade?i.fadeOut(a.animation_speed/2):i.hide()},close_video:function(e){var i=t(".flex-video",e.target),s=t("iframe",i);s.length>0&&(s.attr("data-src",s[0].src),s.attr("src",s.attr("src")),i.hide())},open_video:function(e){var i=t(".flex-video",e.target),n=i.find("iframe");if(n.length>0){var a=n.attr("data-src");if("string"==typeof a)n[0].src=n.attr("data-src");else{var o=n[0].src;n[0].src=s,n[0].src=o}i.show()}},data_attr:function(t){return this.namespace.length>0?this.namespace+"-"+t:t},cache_offset:function(t){var e=t.show().height()+parseInt(t.css("top"),10)+t.scrollY;return t.hide(),e},off:function(){t(this.scope).off(".fndtn.reveal")},reflow:function(){}}}(jQuery,window,window.document),function(t,e,i,s){"use strict";Foundation.libs.interchange={name:"interchange",version:"5.5.2",cache:{},images_loaded:!1,nodes_loaded:!1,settings:{load_attr:"interchange",named_queries:{"default":"only screen",small:Foundation.media_queries.small,"small-only":Foundation.media_queries["small-only"],medium:Foundation.media_queries.medium,"medium-only":Foundation.media_queries["medium-only"],large:Foundation.media_queries.large,"large-only":Foundation.media_queries["large-only"],xlarge:Foundation.media_queries.xlarge,"xlarge-only":Foundation.media_queries["xlarge-only"],xxlarge:Foundation.media_queries.xxlarge,landscape:"only screen and (orientation: landscape)",portrait:"only screen and (orientation: portrait)",retina:"only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx)"},directives:{replace:function(e,i,s){if(null!==e&&/IMG/.test(e[0].nodeName)){var n=e[0].src;if(new RegExp(i,"i").test(n))return;return e.attr("src",i),s(e[0].src)}var a=e.data(this.data_attr+"-last-path"),o=this;if(a!=i)return/\.(gif|jpg|jpeg|tiff|png)([?#].*)?/i.test(i)?(t(e).css("background-image","url("+i+")"),e.data("interchange-last-path",i),s(i)):t.get(i,function(t){e.html(t),e.data(o.data_attr+"-last-path",i),s()})}}},init:function(e,i,s){Foundation.inherit(this,"throttle random_str"),this.data_attr=this.set_data_attr(),t.extend(!0,this.settings,i,s),this.bindings(i,s),this.reflow()},get_media_hash:function(){var t="";for(var e in this.settings.named_queries)t+=matchMedia(this.settings.named_queries[e]).matches.toString();return t},events:function(){var i,s=this;return t(e).off(".interchange").on("resize.fndtn.interchange",s.throttle(function(){var t=s.get_media_hash();t!==i&&s.resize(),i=t},50)),this},resize:function(){var e=this.cache;if(!this.images_loaded||!this.nodes_loaded)return void setTimeout(t.proxy(this.resize,this),50);for(var i in e)if(e.hasOwnProperty(i)){var s=this.results(i,e[i]);s&&this.settings.directives[s.scenario[1]].call(this,s.el,s.scenario[0],function(t){if(arguments[0]instanceof Array)var e=arguments[0];else var e=Array.prototype.slice.call(arguments,0);return function(){t.el.trigger(t.scenario[1],e)}}(s))}},results:function(t,e){var i=e.length;if(i>0)for(var s=this.S("["+this.add_namespace("data-uuid")+'="'+t+'"]');i--;){var n,a=e[i][2];if(n=this.settings.named_queries.hasOwnProperty(a)?matchMedia(this.settings.named_queries[a]):matchMedia(a),n.matches)return{el:s,scenario:e[i]}}return!1},load:function(t,e){return("undefined"==typeof this["cached_"+t]||e)&&this["update_"+t](),this["cached_"+t]},update_images:function(){var t=this.S("img["+this.data_attr+"]"),e=t.length,i=e,s=0,n=this.data_attr;for(this.cache={},this.cached_images=[],this.images_loaded=0===e;i--;){if(s++,t[i]){var a=t[i].getAttribute(n)||"";a.length>0&&this.cached_images.push(t[i])}s===e&&(this.images_loaded=!0,this.enhance("images"))}return this},update_nodes:function(){var t=this.S("["+this.data_attr+"]").not("img"),e=t.length,i=e,s=0,n=this.data_attr;for(this.cached_nodes=[],this.nodes_loaded=0===e;i--;){s++;var a=t[i].getAttribute(n)||"";a.length>0&&this.cached_nodes.push(t[i]),s===e&&(this.nodes_loaded=!0,this.enhance("nodes"))}return this},enhance:function(i){for(var s=this["cached_"+i].length;s--;)this.object(t(this["cached_"+i][s]));return t(e).trigger("resize.fndtn.interchange")},convert_directive:function(t){var e=this.trim(t);return e.length>0?e:"replace"},parse_scenario:function(t){var e=t[0].match(/(.+),\s*(\w+)\s*$/),i=t[1].match(/(.*)\)/);if(e)var s=e[1],n=e[2];else var a=t[0].split(/,\s*$/),s=a[0],n="";return[this.trim(s),this.convert_directive(n),this.trim(i[1])]},object:function(t){var e=this.parse_data_attr(t),i=[],s=e.length;if(s>0)for(;s--;){var n=e[s].split(/,\s?\(/);if(n.length>1){var a=this.parse_scenario(n);i.push(a)}}return this.store(t,i)},store:function(t,e){var i=this.random_str(),s=t.data(this.add_namespace("uuid",!0));return this.cache[s]?this.cache[s]:(t.attr(this.add_namespace("data-uuid"),i),this.cache[i]=e)},trim:function(e){return"string"==typeof e?t.trim(e):e},set_data_attr:function(t){return t?this.namespace.length>0?this.namespace+"-"+this.settings.load_attr:this.settings.load_attr:this.namespace.length>0?"data-"+this.namespace+"-"+this.settings.load_attr:"data-"+this.settings.load_attr},parse_data_attr:function(t){for(var e=t.attr(this.attr_name()).split(/\[(.*?)\]/),i=e.length,s=[];i--;)e[i].replace(/[\W\d]+/,"").length>4&&s.push(e[i]);return s},reflow:function(){this.load("images",!0),this.load("nodes",!0)}}}(jQuery,window,window.document),function(t,e,i,s){"use strict";Foundation.libs["magellan-expedition"]={name:"magellan-expedition",version:"5.5.2",settings:{active_class:"active",threshold:0,destination_threshold:20,throttle_delay:30,fixed_top:0,offset_by_height:!0,duration:700,easing:"swing"},init:function(t,e,i){Foundation.inherit(this,"throttle"),this.bindings(e,i)},events:function(){var e=this,i=e.S,s=e.settings;e.set_expedition_position(),i(e.scope).off(".magellan").on("click.fndtn.magellan","["+e.add_namespace("data-magellan-arrival")+"] a[href*=#]",function(i){var s=this.hostname===location.hostname||!this.hostname,n=e.filterPathname(location.pathname)===e.filterPathname(this.pathname),a=this.hash.replace(/(:|\.|\/)/g,"\\$1"),o=this;if(s&&n&&a){i.preventDefault();var r=t(this).closest("["+e.attr_name()+"]"),l=r.data("magellan-expedition-init"),d=this.hash.split("#").join(""),c=t('a[name="'+d+'"]');0===c.length&&(c=t("#"+d));var h=c.offset().top-l.destination_threshold+1;l.offset_by_height&&(h-=r.outerHeight()),t("html, body").stop().animate({scrollTop:h},l.duration,l.easing,function(){history.pushState?history.pushState(null,null,o.pathname+"#"+d):location.hash=o.pathname+"#"+d})}}).on("scroll.fndtn.magellan",e.throttle(this.check_for_arrivals.bind(this),s.throttle_delay))},check_for_arrivals:function(){var t=this;t.update_arrivals(),t.update_expedition_positions()},set_expedition_position:function(){var e=this;t("["+this.attr_name()+"=fixed]",e.scope).each(function(i,s){var n,a,o=t(this),r=o.data("magellan-expedition-init"),l=o.attr("styles");o.attr("style",""),n=o.offset().top+r.threshold,a=parseInt(o.data("magellan-fixed-top")),isNaN(a)||(e.settings.fixed_top=a),o.data(e.data_attr("magellan-top-offset"),n),o.attr("style",l)})},update_expedition_positions:function(){var i=this,s=t(e).scrollTop();t("["+this.attr_name()+"=fixed]",i.scope).each(function(){var e=t(this),n=e.data("magellan-expedition-init"),a=e.attr("style"),o=e.data("magellan-top-offset");if(s+i.settings.fixed_top>=o){var r=e.prev("["+i.add_namespace("data-magellan-expedition-clone")+"]");0===r.length&&(r=e.clone(),r.removeAttr(i.attr_name()),r.attr(i.add_namespace("data-magellan-expedition-clone"),""),e.before(r)),e.css({position:"fixed",top:n.fixed_top}).addClass("fixed")}else e.prev("["+i.add_namespace("data-magellan-expedition-clone")+"]").remove(),e.attr("style",a).css("position","").css("top","").removeClass("fixed")})},update_arrivals:function(){var i=this,s=t(e).scrollTop();t("["+this.attr_name()+"]",i.scope).each(function(){var e=t(this),n=e.data(i.attr_name(!0)+"-init"),a=i.offsets(e,s),o=e.find("["+i.add_namespace("data-magellan-arrival")+"]"),r=!1;a.each(function(t,s){if(s.viewport_offset>=s.top_offset){var a=e.find("["+i.add_namespace("data-magellan-arrival")+"]");return a.not(s.arrival).removeClass(n.active_class),s.arrival.addClass(n.active_class),r=!0,!0}}),r||o.removeClass(n.active_class)})},offsets:function(e,i){var s=this,n=e.data(s.attr_name(!0)+"-init"),a=i;return e.find("["+s.add_namespace("data-magellan-arrival")+"]").map(function(i,o){var r=t(this).data(s.data_attr("magellan-arrival")),l=t("["+s.add_namespace("data-magellan-destination")+"="+r+"]");if(l.length>0){var d=l.offset().top-n.destination_threshold;return n.offset_by_height&&(d-=e.outerHeight()),d=Math.floor(d),{destination:l,arrival:t(this),top_offset:d,viewport_offset:a}}}).sort(function(t,e){return t.top_offsete.top_offset?1:0})},data_attr:function(t){return this.namespace.length>0?this.namespace+"-"+t:t},off:function(){this.S(this.scope).off(".magellan"),this.S(e).off(".magellan")},filterPathname:function(t){return t=t||"",t.replace(/^\//,"").replace(/(?:index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},reflow:function(){var e=this;t("["+e.add_namespace("data-magellan-expedition-clone")+"]",e.scope).remove()}}}(jQuery,window,window.document),function(t,e,i,s){"use strict";Foundation.libs.accordion={name:"accordion",version:"5.5.2",settings:{content_class:"content",active_class:"active",multi_expand:!1,toggleable:!0,callback:function(){}},init:function(t,e,i){this.bindings(e,i)},events:function(e){var i=this,s=this.S;i.create(this.S(e)),s(this.scope).off(".fndtn.accordion").on("click.fndtn.accordion","["+this.attr_name()+"] > dd > a, ["+this.attr_name()+"] > li > a",function(e){var n=s(this).closest("["+i.attr_name()+"]"),a=i.attr_name()+"="+n.attr(i.attr_name()),o=n.data(i.attr_name(!0)+"-init")||i.settings,r=s("#"+this.href.split("#")[1]),l=t("> dd, > li",n),d=l.children("."+o.content_class),c=d.filter("."+o.active_class);return e.preventDefault(),n.attr(i.attr_name())&&(d=d.add("["+a+"] dd > ."+o.content_class+", ["+a+"] li > ."+o.content_class),l=l.add("["+a+"] dd, ["+a+"] li")),o.toggleable&&r.is(c)?(r.parent("dd, li").toggleClass(o.active_class,!1),r.toggleClass(o.active_class,!1),s(this).attr("aria-expanded",function(t,e){return"true"===e?"false":"true"}),o.callback(r),r.triggerHandler("toggled",[n]),void n.triggerHandler("toggled",[r])):(o.multi_expand||(d.removeClass(o.active_class),l.removeClass(o.active_class),l.children("a").attr("aria-expanded","false")),r.addClass(o.active_class).parent().addClass(o.active_class),o.callback(r),r.triggerHandler("toggled",[n]),n.triggerHandler("toggled",[r]),void s(this).attr("aria-expanded","true"))})},create:function(e){var i=this,s=e,n=t("> .accordion-navigation",s),a=s.data(i.attr_name(!0)+"-init")||i.settings;n.children("a").attr("aria-expanded","false"),n.has("."+a.content_class+"."+a.active_class).children("a").attr("aria-expanded","true"),a.multi_expand&&e.attr("aria-multiselectable","true")},off:function(){},reflow:function(){}}}(jQuery,window,window.document),function(t,e,i,s){"use strict";Foundation.libs.topbar={name:"topbar",version:"5.5.2",settings:{index:0,start_offset:0,sticky_class:"sticky",custom_back_text:!0,back_text:"Back",mobile_show_parent_link:!0,is_hover:!0,scrolltop:!0,sticky_on:"all",dropdown_autoclose:!0},init:function(e,i,s){Foundation.inherit(this,"add_custom_rule register_media throttle");var n=this;n.register_media("topbar","foundation-mq-topbar"),this.bindings(i,s),n.S("["+this.attr_name()+"]",this.scope).each(function(){var e=t(this),i=e.data(n.attr_name(!0)+"-init");n.S("section, .top-bar-section",this);e.data("index",0);var s=e.parent();s.hasClass("fixed")||n.is_sticky(e,s,i)?(n.settings.sticky_class=i.sticky_class,n.settings.sticky_topbar=e,e.data("height",s.outerHeight()),e.data("stickyoffset",s.offset().top)):e.data("height",e.outerHeight()),i.assembled||n.assemble(e),i.is_hover?n.S(".has-dropdown",e).addClass("not-click"):n.S(".has-dropdown",e).removeClass("not-click"),n.add_custom_rule(".f-topbar-fixed { padding-top: "+e.data("height")+"px }"),s.hasClass("fixed")&&n.S("body").addClass("f-topbar-fixed")})},is_sticky:function(t,e,i){var s=e.hasClass(i.sticky_class),n=matchMedia(Foundation.media_queries.small).matches,a=matchMedia(Foundation.media_queries.medium).matches,o=matchMedia(Foundation.media_queries.large).matches;return s&&"all"===i.sticky_on?!0:s&&this.small()&&-1!==i.sticky_on.indexOf("small")&&n&&!a&&!o?!0:s&&this.medium()&&-1!==i.sticky_on.indexOf("medium")&&n&&a&&!o?!0:s&&this.large()&&-1!==i.sticky_on.indexOf("large")&&n&&a&&o?!0:!1},toggle:function(i){var s,n=this;s=i?n.S(i).closest("["+this.attr_name()+"]"):n.S("["+this.attr_name()+"]");var a=s.data(this.attr_name(!0)+"-init"),o=n.S("section, .top-bar-section",s);n.breakpoint()&&(n.rtl?(o.css({right:"0%"}),t(">.name",o).css({right:"100%"})):(o.css({left:"0%"}),t(">.name",o).css({left:"100%"})),n.S("li.moved",o).removeClass("moved"),s.data("index",0),s.toggleClass("expanded").css("height","")),a.scrolltop?s.hasClass("expanded")?s.parent().hasClass("fixed")&&(a.scrolltop?(s.parent().removeClass("fixed"),s.addClass("fixed"),n.S("body").removeClass("f-topbar-fixed"),e.scrollTo(0,0)):s.parent().removeClass("expanded")):s.hasClass("fixed")&&(s.parent().addClass("fixed"),s.removeClass("fixed"),n.S("body").addClass("f-topbar-fixed")):(n.is_sticky(s,s.parent(),a)&&s.parent().addClass("fixed"),s.parent().hasClass("fixed")&&(s.hasClass("expanded")?(s.addClass("fixed"),s.parent().addClass("expanded"),n.S("body").addClass("f-topbar-fixed")):(s.removeClass("fixed"),s.parent().removeClass("expanded"),n.update_sticky_positioning())))},timer:null,events:function(i){var s=this,n=this.S;n(this.scope).off(".topbar").on("click.fndtn.topbar","["+this.attr_name()+"] .toggle-topbar",function(t){t.preventDefault(),s.toggle(this)}).on("click.fndtn.topbar contextmenu.fndtn.topbar",'.top-bar .top-bar-section li a[href^="#"],['+this.attr_name()+'] .top-bar-section li a[href^="#"]',function(e){var i=t(this).closest("li"),n=i.closest("["+s.attr_name()+"]"),a=n.data(s.attr_name(!0)+"-init");if(a.dropdown_autoclose&&a.is_hover){var o=t(this).closest(".hover");o.removeClass("hover")}!s.breakpoint()||i.hasClass("back")||i.hasClass("has-dropdown")||s.toggle()}).on("click.fndtn.topbar","["+this.attr_name()+"] li.has-dropdown",function(e){var i=n(this),a=n(e.target),o=i.closest("["+s.attr_name()+"]"),r=o.data(s.attr_name(!0)+"-init");return a.data("revealId")?void s.toggle():void(s.breakpoint()||(!r.is_hover||Modernizr.touch)&&(e.stopImmediatePropagation(),i.hasClass("hover")?(i.removeClass("hover").find("li").removeClass("hover"),i.parents("li.hover").removeClass("hover")):(i.addClass("hover"),t(i).siblings().removeClass("hover"),"A"===a[0].nodeName&&a.parent().hasClass("has-dropdown")&&e.preventDefault())))}).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown>a",function(t){if(s.breakpoint()){t.preventDefault();var e=n(this),i=e.closest("["+s.attr_name()+"]"),a=i.find("section, .top-bar-section"),o=(e.next(".dropdown").outerHeight(),e.closest("li"));i.data("index",i.data("index")+1),o.addClass("moved"),s.rtl?(a.css({right:-(100*i.data("index"))+"%"}),a.find(">.name").css({right:100*i.data("index")+"%"})):(a.css({left:-(100*i.data("index"))+"%"}),a.find(">.name").css({left:100*i.data("index")+"%"})),i.css("height",e.siblings("ul").outerHeight(!0)+i.data("height"))}}),n(e).off(".topbar").on("resize.fndtn.topbar",s.throttle(function(){s.resize.call(s)},50)).trigger("resize.fndtn.topbar").load(function(){n(this).trigger("resize.fndtn.topbar")}),n("body").off(".topbar").on("click.fndtn.topbar",function(t){var e=n(t.target).closest("li").closest("li.hover");e.length>0||n("["+s.attr_name()+"] li.hover").removeClass("hover")}),n(this.scope).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown .back",function(t){t.preventDefault();var e=n(this),i=e.closest("["+s.attr_name()+"]"),a=i.find("section, .top-bar-section"),o=(i.data(s.attr_name(!0)+"-init"),e.closest("li.moved")),r=o.parent();i.data("index",i.data("index")-1),s.rtl?(a.css({right:-(100*i.data("index"))+"%"}),a.find(">.name").css({right:100*i.data("index")+"%"})):(a.css({left:-(100*i.data("index"))+"%"}),a.find(">.name").css({left:100*i.data("index")+"%"})),0===i.data("index")?i.css("height",""):i.css("height",r.outerHeight(!0)+i.data("height")),setTimeout(function(){o.removeClass("moved")},300)}),n(this.scope).find(".dropdown a").focus(function(){t(this).parents(".has-dropdown").addClass("hover")}).blur(function(){t(this).parents(".has-dropdown").removeClass("hover")})},resize:function(){var t=this;t.S("["+this.attr_name()+"]").each(function(){var e,s=t.S(this),n=s.data(t.attr_name(!0)+"-init"),a=s.parent("."+t.settings.sticky_class);if(!t.breakpoint()){var o=s.hasClass("expanded");s.css("height","").removeClass("expanded").find("li").removeClass("hover"),o&&t.toggle(s)}t.is_sticky(s,a,n)&&(a.hasClass("fixed")?(a.removeClass("fixed"),e=a.offset().top,t.S(i.body).hasClass("f-topbar-fixed")&&(e-=s.data("height")),s.data("stickyoffset",e),a.addClass("fixed")):(e=a.offset().top,s.data("stickyoffset",e)))})},breakpoint:function(){return!matchMedia(Foundation.media_queries.topbar).matches},small:function(){return matchMedia(Foundation.media_queries.small).matches},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},assemble:function(e){var i=this,s=e.data(this.attr_name(!0)+"-init"),n=i.S("section, .top-bar-section",e);n.detach(),i.S(".has-dropdown>a",n).each(function(){var e,n=i.S(this),a=n.siblings(".dropdown"),o=n.attr("href");a.find(".title.back").length||(e=t(1==s.mobile_show_parent_link&&o?'
  2. ":'
  3. '),1==s.custom_back_text?t("h5>a",e).html(s.back_text):t("h5>a",e).html("« "+n.html()),a.prepend(e))}),n.appendTo(e),this.sticky(),this.assembled(e)},assembled:function(e){e.data(this.attr_name(!0),t.extend({},e.data(this.attr_name(!0)),{assembled:!0}))},height:function(e){var i=0,s=this;return t("> li",e).each(function(){i+=s.S(this).outerHeight(!0)}),i},sticky:function(){var t=this;this.S(e).on("scroll",function(){t.update_sticky_positioning()})},update_sticky_positioning:function(){var t="."+this.settings.sticky_class,i=this.S(e),s=this;if(s.settings.sticky_topbar&&s.is_sticky(this.settings.sticky_topbar,this.settings.sticky_topbar.parent(),this.settings)){var n=this.settings.sticky_topbar.data("stickyoffset")+this.settings.start_offset;s.S(t).hasClass("expanded")||(i.scrollTop()>n?s.S(t).hasClass("fixed")||(s.S(t).addClass("fixed"),s.S("body").addClass("f-topbar-fixed")):i.scrollTop()<=n&&s.S(t).hasClass("fixed")&&(s.S(t).removeClass("fixed"),s.S("body").removeClass("f-topbar-fixed")))}},off:function(){this.S(this.scope).off(".fndtn.topbar"),this.S(e).off(".fndtn.topbar")},reflow:function(){}}}(jQuery,window,window.document),function(t,e,i,s){"use strict";Foundation.libs.tab={name:"tab",version:"5.5.2",settings:{active_class:"active",callback:function(){},deep_linking:!1,scroll_to_content:!0,is_hover:!1},default_tab_hashes:[],init:function(t,i,s){var n=this,a=this.S;a("["+this.attr_name()+"] > .active > a",this.scope).each(function(){n.default_tab_hashes.push(this.hash)}),n.entry_location=e.location.href,this.bindings(i,s),this.handle_location_hash_change()},events:function(){var t=this,i=this.S,s=function(e,s){var n=i(s).closest("["+t.attr_name()+"]").data(t.attr_name(!0)+"-init");(!n.is_hover||Modernizr.touch)&&(e.preventDefault(),e.stopPropagation(),t.toggle_active_tab(i(s).parent()))};i(this.scope).off(".tab").on("keydown.fndtn.tab","["+this.attr_name()+"] > * > a",function(t){var e=this,i=t.keyCode||t.which;9==i&&(t.preventDefault(),s(t,e))}).on("click.fndtn.tab","["+this.attr_name()+"] > * > a",function(t){var e=this;s(t,e)}).on("mouseenter.fndtn.tab","["+this.attr_name()+"] > * > a",function(e){var s=i(this).closest("["+t.attr_name()+"]").data(t.attr_name(!0)+"-init");s.is_hover&&t.toggle_active_tab(i(this).parent())}),i(e).on("hashchange.fndtn.tab",function(e){e.preventDefault(),t.handle_location_hash_change()})},handle_location_hash_change:function(){var e=this,i=this.S;i("["+this.attr_name()+"]",this.scope).each(function(){var n=i(this).data(e.attr_name(!0)+"-init");if(n.deep_linking){var a;if(a=n.scroll_to_content?e.scope.location.hash:e.scope.location.hash.replace("fndtn-",""),""!=a){var o=i(a);if(o.hasClass("content")&&o.parent().hasClass("tabs-content"))e.toggle_active_tab(t("["+e.attr_name()+"] > * > a[href="+a+"]").parent());else{var r=o.closest(".content").attr("id");r!=s&&e.toggle_active_tab(t("["+e.attr_name()+"] > * > a[href=#"+r+"]").parent(),a)}}else for(var l=0;l * > a[href="+e.default_tab_hashes[l]+"]").parent())}})},toggle_active_tab:function(n,a){var o=this,r=o.S,l=n.closest("["+this.attr_name()+"]"),d=n.find("a"),c=n.children("a").first(),h="#"+c.attr("href").split("#")[1],u=r(h),f=n.siblings(),p=l.data(this.attr_name(!0)+"-init"),g=function(e){var s,n=t(this),a=t(this).parents("li").prev().children('[role="tab"]'),o=t(this).parents("li").next().children('[role="tab"]');switch(e.keyCode){case 37:s=a;break;case 39:s=o;break;default:s=!1}s.length&&(n.attr({tabindex:"-1","aria-selected":null}),s.attr({tabindex:"0","aria-selected":!0}).focus()),t('[role="tabpanel"]').attr("aria-hidden","true"),t("#"+t(i.activeElement).attr("href").substring(1)).attr("aria-hidden",null)},_=function(t){var i=e.location.href===o.entry_location,s=p.scroll_to_content?o.default_tab_hashes[0]:i?e.location.hash:"fndtn-"+o.default_tab_hashes[0].replace("#","");i&&t===s||(e.location.hash=t)};c.data("tab-content")&&(h="#"+c.data("tab-content").split("#")[1],u=r(h)),p.deep_linking&&(p.scroll_to_content?(_(a||h),a==s||a==h?n.parent()[0].scrollIntoView():r(h)[0].scrollIntoView()):_(a!=s?"fndtn-"+a.replace("#",""):"fndtn-"+h.replace("#",""))),n.addClass(p.active_class).triggerHandler("opened"),d.attr({"aria-selected":"true",tabindex:0}),f.removeClass(p.active_class),f.find("a").attr({"aria-selected":"false",tabindex:-1}),u.siblings().removeClass(p.active_class).attr({"aria-hidden":"true",tabindex:-1}),u.addClass(p.active_class).attr("aria-hidden","false").removeAttr("tabindex"),p.callback(n),u.triggerHandler("toggled",[u]),l.triggerHandler("toggled",[n]),d.off("keydown").on("keydown",g)},data_attr:function(t){return this.namespace.length>0?this.namespace+"-"+t:t},off:function(){},reflow:function(){}}}(jQuery,window,window.document),function(t,e,i,s){"use strict";Foundation.libs.abide={name:"abide",version:"5.5.2",settings:{live_validate:!0,validate_on_blur:!0,focus_on_invalid:!0,error_labels:!0,error_class:"error",timeout:1e3,patterns:{alpha:/^[a-zA-Z]+$/,alpha_numeric:/^[a-zA-Z0-9]+$/,integer:/^[-+]?\d+$/,number:/^[-+]?\d*(?:[\.\,]\d+)?$/,card:/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/,cvv:/^([0-9]){3,4}$/,email:/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/,url:/^(https?|ftp|file|ssh):\/\/([-;:&=\+\$,\w]+@{1})?([-A-Za-z0-9\.]+)+:?(\d+)?((\/[-\+~%\/\.\w]+)?\??([-\+=&;%@\.\w]+)?#?([\w]+)?)?/,domain:/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,8}$/,datetime:/^([0-2][0-9]{3})\-([0-1][0-9])\-([0-3][0-9])T([0-5][0-9])\:([0-5][0-9])\:([0-5][0-9])(Z|([\-\+]([0-1][0-9])\:00))$/,date:/(?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31))$/,time:/^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}$/,dateISO:/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/,month_day_year:/^(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.]\d{4}$/,day_month_year:/^(0[1-9]|[12][0-9]|3[01])[- \/.](0[1-9]|1[012])[- \/.]\d{4}$/,color:/^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/},validators:{equalTo:function(t,e,s){var n=i.getElementById(t.getAttribute(this.add_namespace("data-equalto"))).value,a=t.value,o=n===a;return o}}},timer:null,init:function(t,e,i){this.bindings(e,i)},events:function(e){function i(t,e){clearTimeout(s.timer),s.timer=setTimeout(function(){s.validate([t],e)}.bind(t),a.timeout)}var s=this,n=s.S(e).attr("novalidate","novalidate"),a=n.data(this.attr_name(!0)+"-init")||{};this.invalid_attr=this.add_namespace("data-invalid"),n.off(".abide").on("submit.fndtn.abide",function(t){var e=/ajax/i.test(s.S(this).attr(s.attr_name()));return s.validate(s.S(this).find("input, textarea, select").not(":hidden, [data-abide-ignore]").get(),t,e)}).on("validate.fndtn.abide",function(t){"manual"===a.validate_on&&s.validate([t.target],t)}).on("reset",function(e){return s.reset(t(this),e)}).find("input, textarea, select").not(":hidden, [data-abide-ignore]").off(".abide").on("blur.fndtn.abide change.fndtn.abide",function(t){a.validate_on_blur&&a.validate_on_blur===!0&&i(this,t),"change"===a.validate_on&&i(this,t)}).on("keydown.fndtn.abide",function(t){a.live_validate&&a.live_validate===!0&&9!=t.which&&i(this,t),"tab"===a.validate_on&&9===t.which?i(this,t):"change"===a.validate_on&&i(this,t)}).on("focus",function(e){navigator.userAgent.match(/iPad|iPhone|Android|BlackBerry|Windows Phone|webOS/i)&&t("html, body").animate({scrollTop:t(e.target).offset().top},100)})},reset:function(e,i){var s=this;e.removeAttr(s.invalid_attr),t("["+s.invalid_attr+"]",e).removeAttr(s.invalid_attr),t("."+s.settings.error_class,e).not("small").removeClass(s.settings.error_class),t(":input",e).not(":button, :submit, :reset, :hidden, [data-abide-ignore]").val("").removeAttr(s.invalid_attr)},validate:function(t,e,i){for(var s=this.parse_patterns(t),n=s.length,a=this.S(t[0]).closest("form"),o=/submit/.test(e.type),r=0;n>r;r++)if(!s[r]&&(o||i))return this.settings.focus_on_invalid&&t[r].focus(),a.trigger("invalid.fndtn.abide"),this.S(t[r]).closest("form").attr(this.invalid_attr,""),!1;return(o||i)&&a.trigger("valid.fndtn.abide"),a.removeAttr(this.invalid_attr),i?!1:!0},parse_patterns:function(t){for(var e=t.length,i=[];e--;)i.push(this.pattern(t[e]));return this.check_validation_and_apply_styles(i)},pattern:function(t){var e=t.getAttribute("type"),i="string"==typeof t.getAttribute("required"),s=t.getAttribute("pattern")||"";return this.settings.patterns.hasOwnProperty(s)&&s.length>0?[t,this.settings.patterns[s],i]:s.length>0?[t,new RegExp(s),i]:this.settings.patterns.hasOwnProperty(e)?[t,this.settings.patterns[e],i]:(s=/.*/,[t,s,i])},check_validation_and_apply_styles:function(e){var i=e.length,s=[],n=this.S(e[0][0]).closest("[data-"+this.attr_name(!0)+"]");for(n.data(this.attr_name(!0)+"-init")||{};i--;){var a,o,r=e[i][0],l=e[i][2],d=r.value.trim(),c=this.S(r).parent(),h=r.getAttribute(this.add_namespace("data-abide-validator")),u="radio"===r.type,f="checkbox"===r.type,p=this.S('label[for="'+r.getAttribute("id")+'"]'),g=l?r.value.length>0:!0,_=[];if(r.getAttribute(this.add_namespace("data-equalto"))&&(h="equalTo"),a=c.is("label")?c.parent():c,u&&l)_.push(this.valid_radio(r,l));else if(f&&l)_.push(this.valid_checkbox(r,l));else if(h){ for(var m=h.split(" "),v=!0,b=!0,x=0;x0&&this.settings.error_labels&&p.removeClass(this.settings.error_class).removeAttr("role"),t(r).triggerHandler("valid")):(this.S(r).attr(this.invalid_attr,""),a.addClass("error"),p.length>0&&this.settings.error_labels&&p.addClass(this.settings.error_class).attr("role","alert"),t(r).triggerHandler("invalid"))}else if(e[i][1].test(d)&&g||!l&&r.value.length<1||t(r).attr("disabled")?_.push(!0):_.push(!1),_=[_.every(function(t){return t})],_[0])this.S(r).removeAttr(this.invalid_attr),r.setAttribute("aria-invalid","false"),r.removeAttribute("aria-describedby"),a.removeClass(this.settings.error_class),p.length>0&&this.settings.error_labels&&p.removeClass(this.settings.error_class).removeAttr("role"),t(r).triggerHandler("valid");else{this.S(r).attr(this.invalid_attr,""),r.setAttribute("aria-invalid","true");var y=a.find("small."+this.settings.error_class,"span."+this.settings.error_class),w=y.length>0?y[0].id:"";w.length>0&&r.setAttribute("aria-describedby",w),a.addClass(this.settings.error_class),p.length>0&&this.settings.error_labels&&p.addClass(this.settings.error_class).attr("role","alert"),t(r).triggerHandler("invalid")}s=s.concat(_)}return s},valid_checkbox:function(e,i){var e=this.S(e),s=e.is(":checked")||!i||e.get(0).getAttribute("disabled");return s?(e.removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class),t(e).triggerHandler("valid")):(e.attr(this.invalid_attr,"").parent().addClass(this.settings.error_class),t(e).triggerHandler("invalid")),s},valid_radio:function(e,i){for(var s=e.getAttribute("name"),n=this.S(e).closest("[data-"+this.attr_name(!0)+"]").find("[name='"+s+"']"),a=n.length,o=!1,r=!1,l=0;a>l;l++)n[l].getAttribute("disabled")?(r=!0,o=!0):n[l].checked?o=!0:r&&(o=!1);for(var l=0;a>l;l++)o?(this.S(n[l]).removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class),t(n[l]).triggerHandler("valid")):(this.S(n[l]).attr(this.invalid_attr,"").parent().addClass(this.settings.error_class),t(n[l]).triggerHandler("invalid"));return o},valid_equal:function(t,e,s){var n=i.getElementById(t.getAttribute(this.add_namespace("data-equalto"))).value,a=t.value,o=n===a;return o?(this.S(t).removeAttr(this.invalid_attr),s.removeClass(this.settings.error_class),label.length>0&&settings.error_labels&&label.removeClass(this.settings.error_class)):(this.S(t).attr(this.invalid_attr,""),s.addClass(this.settings.error_class),label.length>0&&settings.error_labels&&label.addClass(this.settings.error_class)),o},valid_oneof:function(t,e,i,s){var t=this.S(t),n=this.S("["+this.add_namespace("data-oneof")+"]"),a=n.filter(":checked").length>0;if(a?t.removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class):t.attr(this.invalid_attr,"").parent().addClass(this.settings.error_class),!s){var o=this;n.each(function(){o.valid_oneof.call(o,this,null,null,!0)})}return a},reflow:function(t,e){var i=this,s=i.S("["+this.attr_name()+"]").attr("novalidate","novalidate");i.S(s).each(function(t,e){i.events(e)})}}}(jQuery,window,window.document),function(t,e,i,s){"use strict";Foundation.libs.tooltip={name:"tooltip",version:"5.5.2",settings:{additional_inheritable_classes:[],tooltip_class:".tooltip",append_to:"body",touch_close_text:"Tap To Close",disable_for_touch:!1,hover_delay:200,show_on:"all",tip_template:function(t,e){return''+e+''}},cache:{},init:function(t,e,i){Foundation.inherit(this,"random_str"),this.bindings(e,i)},should_show:function(e,i){var s=t.extend({},this.settings,this.data_options(e));return"all"===s.show_on?!0:this.small()&&"small"===s.show_on?!0:this.medium()&&"medium"===s.show_on?!0:this.large()&&"large"===s.show_on?!0:!1},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},events:function(e){function i(t,e,i){t.timer||(i?(t.timer=null,n.showTip(e)):t.timer=setTimeout(function(){t.timer=null,n.showTip(e)}.bind(t),n.settings.hover_delay))}function s(t,e){t.timer&&(clearTimeout(t.timer),t.timer=null),n.hide(e)}var n=this,a=n.S;n.create(this.S(e)),t(this.scope).off(".tooltip").on("mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"]",function(e){var o=a(this),r=t.extend({},n.settings,n.data_options(o)),l=!1;if(Modernizr.touch&&/touchstart|MSPointerDown/i.test(e.type)&&a(e.target).is("a"))return!1;if(/mouse/i.test(e.type)&&n.ie_touch(e))return!1;if(o.hasClass("open"))Modernizr.touch&&/touchstart|MSPointerDown/i.test(e.type)&&e.preventDefault(),n.hide(o);else{if(r.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(e.type))return;if(!r.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(e.type)&&(e.preventDefault(),a(r.tooltip_class+".open").hide(),l=!0,t(".open["+n.attr_name()+"]").length>0)){var d=a(t(".open["+n.attr_name()+"]")[0]);n.hide(d)}/enter|over/i.test(e.type)?i(this,o):"mouseout"===e.type||"mouseleave"===e.type?s(this,o):i(this,o,!0)}}).on("mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"].open",function(e){return/mouse/i.test(e.type)&&n.ie_touch(e)?!1:void(("touch"!=t(this).data("tooltip-open-event-type")||"mouseleave"!=e.type)&&("mouse"==t(this).data("tooltip-open-event-type")&&/MSPointerDown|touchstart/i.test(e.type)?n.convert_to_touch(t(this)):s(this,t(this))))}).on("DOMNodeRemoved DOMAttrModified","["+this.attr_name()+"]:not(a)",function(t){s(this,a(this))})},ie_touch:function(t){return!1},showTip:function(t){var e=this.getTip(t);return this.should_show(t,e)?this.show(t):void 0},getTip:function(e){var i=this.selector(e),s=t.extend({},this.settings,this.data_options(e)),n=null;return i&&(n=this.S('span[data-selector="'+i+'"]'+s.tooltip_class)),"object"==typeof n?n:!1},selector:function(t){var e=t.attr(this.attr_name())||t.attr("data-selector");return"string"!=typeof e&&(e=this.random_str(6),t.attr("data-selector",e).attr("aria-describedby",e)),e},create:function(i){var s=this,n=t.extend({},this.settings,this.data_options(i)),a=this.settings.tip_template;"string"==typeof n.tip_template&&e.hasOwnProperty(n.tip_template)&&(a=e[n.tip_template]);var o=t(a(this.selector(i),t("
    ").html(i.attr("title")).html())),r=this.inheritable_classes(i);o.addClass(r).appendTo(n.append_to),Modernizr.touch&&(o.append(''+n.touch_close_text+""),o.on("touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip",function(t){s.hide(i)})),i.removeAttr("title").attr("title","")},reposition:function(e,i,s){var n,a,o,r,l;if(i.css("visibility","hidden").show(),n=e.data("width"),a=i.children(".nub"),o=a.outerHeight(),r=a.outerHeight(),this.small()?i.css({width:"100%"}):i.css({width:n?n:"auto"}),l=function(t,e,i,s,n,a){return t.css({top:e?e:"auto",bottom:s?s:"auto",left:n?n:"auto",right:i?i:"auto"}).end()},l(i,e.offset().top+e.outerHeight()+10,"auto","auto",e.offset().left),this.small())l(i,e.offset().top+e.outerHeight()+10,"auto","auto",12.5,t(this.scope).width()),i.addClass("tip-override"),l(a,-o,"auto","auto",e.offset().left);else{var d=e.offset().left;Foundation.rtl&&(a.addClass("rtl"),d=e.offset().left+e.outerWidth()-i.outerWidth()),l(i,e.offset().top+e.outerHeight()+10,"auto","auto",d),a.attr("style")&&a.removeAttr("style"),i.removeClass("tip-override"),s&&s.indexOf("tip-top")>-1?(Foundation.rtl&&a.addClass("rtl"),l(i,e.offset().top-i.outerHeight(),"auto","auto",d).removeClass("tip-override")):s&&s.indexOf("tip-left")>-1?(l(i,e.offset().top+e.outerHeight()/2-i.outerHeight()/2,"auto","auto",e.offset().left-i.outerWidth()-o).removeClass("tip-override"),a.removeClass("rtl")):s&&s.indexOf("tip-right")>-1&&(l(i,e.offset().top+e.outerHeight()/2-i.outerHeight()/2,"auto","auto",e.offset().left+e.outerWidth()+o).removeClass("tip-override"),a.removeClass("rtl"))}i.css("visibility","visible").hide()},small:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},inheritable_classes:function(e){var i=t.extend({},this.settings,this.data_options(e)),s=["tip-top","tip-left","tip-bottom","tip-right","radius","round"].concat(i.additional_inheritable_classes),n=e.attr("class"),a=n?t.map(n.split(" "),function(e,i){return-1!==t.inArray(e,s)?e:void 0}).join(" "):"";return t.trim(a)},convert_to_touch:function(e){var i=this,s=i.getTip(e),n=t.extend({},i.settings,i.data_options(e));0===s.find(".tap-to-close").length&&(s.append(''+n.touch_close_text+""),s.on("click.fndtn.tooltip.tapclose touchstart.fndtn.tooltip.tapclose MSPointerDown.fndtn.tooltip.tapclose",function(t){i.hide(e)})),e.data("tooltip-open-event-type","touch")},show:function(t){var e=this.getTip(t);"touch"==t.data("tooltip-open-event-type")&&this.convert_to_touch(t),this.reposition(t,e,t.attr("class")),t.addClass("open"),e.fadeIn(150)},hide:function(t){var e=this.getTip(t);e.fadeOut(150,function(){e.find(".tap-to-close").remove(),e.off("click.fndtn.tooltip.tapclose MSPointerDown.fndtn.tapclose"),t.removeClass("open")})},off:function(){var e=this;this.S(this.scope).off(".fndtn.tooltip"),this.S(this.settings.tooltip_class).each(function(i){t("["+e.attr_name()+"]").eq(i).attr("title",t(this).text())}).remove()},reflow:function(){}}}(jQuery,window,window.document); ;(function ($, window, document, undefined){ 'use strict'; Foundation.libs.offcanvas={ name:'offcanvas', version:'5.5.1', settings:{ open_method:'move', close_on_click:false }, init:function (scope, method, options){ this.bindings(method, options); }, events:function (){ var self=this, S=self.S, move_class='', right_postfix='', left_postfix=''; if(this.settings.open_method==='move'){ move_class='move-'; right_postfix='right'; left_postfix='left'; }else if(this.settings.open_method==='overlap_single'){ move_class='offcanvas-overlap-'; right_postfix='right'; left_postfix='left'; }else if(this.settings.open_method==='overlap'){ move_class='offcanvas-overlap'; } S(this.scope).off('.offcanvas') .on('click.fndtn.offcanvas', '.left-off-canvas-toggle', function (e){ self.click_toggle_class(e, move_class + right_postfix); if(self.settings.open_method!=='overlap'){ S('.left-submenu').removeClass(move_class + right_postfix); } $('.left-off-canvas-toggle').attr('aria-expanded', 'true'); }) .on('click.fndtn.offcanvas', '.left-off-canvas-menu a', function (e){ var settings=self.get_settings(e); var parent=S(this).parent(); if(settings.close_on_click&&!parent.hasClass('has-submenu')&&!parent.hasClass('back')){ self.hide.call(self, move_class + right_postfix, self.get_wrapper(e)); parent.parent().removeClass(move_class + right_postfix); }else if(S(this).parent().hasClass('has-submenu')){ e.preventDefault(); S(this).siblings('.left-submenu').toggleClass(move_class + right_postfix); }else if(parent.hasClass('back')){ e.preventDefault(); parent.parent().removeClass(move_class + right_postfix); } $('.left-off-canvas-toggle').attr('aria-expanded', 'true'); }) .on('click.fndtn.offcanvas', '.right-off-canvas-toggle', function (e){ self.click_toggle_class(e, move_class + left_postfix); if(self.settings.open_method!=='overlap'){ S('.right-submenu').removeClass(move_class + left_postfix); } $('.right-off-canvas-toggle').attr('aria-expanded', 'true'); }) .on('click.fndtn.offcanvas', '.right-off-canvas-menu a', function (e){ var settings=self.get_settings(e); var parent=S(this).parent(); if(settings.close_on_click&&!parent.hasClass('has-submenu')&&!parent.hasClass('back')){ self.hide.call(self, move_class + left_postfix, self.get_wrapper(e)); parent.parent().removeClass(move_class + left_postfix); }else if(S(this).parent().hasClass('has-submenu')){ e.preventDefault(); S(this).siblings('.right-submenu').toggleClass(move_class + left_postfix); }else if(parent.hasClass('back')){ e.preventDefault(); parent.parent().removeClass(move_class + left_postfix); } $('.right-off-canvas-toggle').attr('aria-expanded', 'true'); }) .on('click.fndtn.offcanvas', '.exit-off-canvas', function (e){ self.click_remove_class(e, move_class + left_postfix); S('.right-submenu').removeClass(move_class + left_postfix); if(right_postfix){ self.click_remove_class(e, move_class + right_postfix); S('.left-submenu').removeClass(move_class + left_postfix); } $('.right-off-canvas-toggle').attr('aria-expanded', 'true'); }) .on('click.fndtn.offcanvas', '.exit-off-canvas', function (e){ self.click_remove_class(e, move_class + left_postfix); $('.left-off-canvas-toggle').attr('aria-expanded', 'false'); if(right_postfix){ self.click_remove_class(e, move_class + right_postfix); $('.right-off-canvas-toggle').attr('aria-expanded', 'false'); }}); }, toggle:function (class_name, $off_canvas){ $off_canvas=$off_canvas||this.get_wrapper(); if($off_canvas.is('.' + class_name)){ this.hide(class_name, $off_canvas); }else{ this.show(class_name, $off_canvas); }}, show:function (class_name, $off_canvas){ $off_canvas=$off_canvas||this.get_wrapper(); $off_canvas.trigger('open').trigger('open.fndtn.offcanvas'); $off_canvas.addClass(class_name); }, hide:function (class_name, $off_canvas){ $off_canvas=$off_canvas||this.get_wrapper(); $off_canvas.trigger('close').trigger('close.fndtn.offcanvas'); $off_canvas.removeClass(class_name); }, click_toggle_class:function (e, class_name){ e.preventDefault(); var $off_canvas=this.get_wrapper(e); this.toggle(class_name, $off_canvas); }, click_remove_class:function (e, class_name){ e.preventDefault(); var $off_canvas=this.get_wrapper(e); this.hide(class_name, $off_canvas); }, get_settings:function (e){ var offcanvas=this.S(e.target).closest('[' + this.attr_name() + ']'); return offcanvas.data(this.attr_name(true) + '-init')||this.settings; }, get_wrapper:function (e){ var $off_canvas=this.S(e ? e.target:this.scope).closest('.off-canvas-wrap'); if($off_canvas.length===0){ $off_canvas=this.S('.off-canvas-wrap'); } return $off_canvas; }, reflow:function (){}};}(jQuery, window, window.document)); (function(a){if(typeof define==="function"&&define.amd&&define.amd.jQuery){define(["jquery"],a)}else{a(jQuery)}}(function(e){var o="left",n="right",d="up",v="down",c="in",w="out",l="none",r="auto",k="swipe",s="pinch",x="tap",i="doubletap",b="longtap",A="horizontal",t="vertical",h="all",q=10,f="start",j="move",g="end",p="cancel",a="ontouchstart" in window,y="TouchSwipe";var m={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,triggerOnTouchEnd:true,triggerOnTouchLeave:false,allowPageScroll:"auto",fallbackToMouseEvents:true,excludedElements:"label, button, input, select, textarea, a, .noSwipe"};e.fn.swipe=function(D){var C=e(this),B=C.data(y);if(B&&typeof D==="string"){if(B[D]){return B[D].apply(this,Array.prototype.slice.call(arguments,1))}else{e.error("Method "+D+" does not exist on jQuery.swipe")}}else{if(!B&&(typeof D==="object"||!D)){return u.apply(this,arguments)}}return C};e.fn.swipe.defaults=m;e.fn.swipe.phases={PHASE_START:f,PHASE_MOVE:j,PHASE_END:g,PHASE_CANCEL:p};e.fn.swipe.directions={LEFT:o,RIGHT:n,UP:d,DOWN:v,IN:c,OUT:w};e.fn.swipe.pageScroll={NONE:l,HORIZONTAL:A,VERTICAL:t,AUTO:r};e.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:h};function u(B){if(B&&(B.allowPageScroll===undefined&&(B.swipe!==undefined||B.swipeStatus!==undefined))){B.allowPageScroll=l}if(B.click!==undefined&&B.tap===undefined){B.tap=B.click}if(!B){B={}}B=e.extend({},e.fn.swipe.defaults,B);return this.each(function(){var D=e(this);var C=D.data(y);if(!C){C=new z(this,B);D.data(y,C)}})}function z(a0,aq){var av=(a||!aq.fallbackToMouseEvents),G=av?"touchstart":"mousedown",au=av?"touchmove":"mousemove",R=av?"touchend":"mouseup",P=av?null:"mouseleave",az="touchcancel";var ac=0,aL=null,Y=0,aX=0,aV=0,D=1,am=0,aF=0,J=null;var aN=e(a0);var W="start";var T=0;var aM=null;var Q=0,aY=0,a1=0,aa=0,K=0;var aS=null;try{aN.bind(G,aJ);aN.bind(az,a5)}catch(ag){e.error("events not supported "+G+","+az+" on jQuery.swipe")}this.enable=function(){aN.bind(G,aJ);aN.bind(az,a5);return aN};this.disable=function(){aG();return aN};this.destroy=function(){aG();aN.data(y,null);return aN};this.option=function(a8,a7){if(aq[a8]!==undefined){if(a7===undefined){return aq[a8]}else{aq[a8]=a7}}else{e.error("Option "+a8+" does not exist on jQuery.swipe.options")}return null};function aJ(a9){if(ax()){return}if(e(a9.target).closest(aq.excludedElements,aN).length>0){return}var ba=a9.originalEvent?a9.originalEvent:a9;var a8,a7=a?ba.touches[0]:ba;W=f;if(a){T=ba.touches.length}else{a9.preventDefault()}ac=0;aL=null;aF=null;Y=0;aX=0;aV=0;D=1;am=0;aM=af();J=X();O();if(!a||(T===aq.fingers||aq.fingers===h)||aT()){ae(0,a7);Q=ao();if(T==2){ae(1,ba.touches[1]);aX=aV=ap(aM[0].start,aM[1].start)}if(aq.swipeStatus||aq.pinchStatus){a8=L(ba,W)}}else{a8=false}if(a8===false){W=p;L(ba,W);return a8}else{ak(true)}return null}function aZ(ba){var bd=ba.originalEvent?ba.originalEvent:ba;if(W===g||W===p||ai()){return}var a9,a8=a?bd.touches[0]:bd;var bb=aD(a8);aY=ao();if(a){T=bd.touches.length}W=j;if(T==2){if(aX==0){ae(1,bd.touches[1]);aX=aV=ap(aM[0].start,aM[1].start)}else{aD(bd.touches[1]);aV=ap(aM[0].end,aM[1].end);aF=an(aM[0].end,aM[1].end)}D=a3(aX,aV);am=Math.abs(aX-aV)}if((T===aq.fingers||aq.fingers===h)||!a||aT()){aL=aH(bb.start,bb.end);ah(ba,aL);ac=aO(bb.start,bb.end);Y=aI();aE(aL,ac);if(aq.swipeStatus||aq.pinchStatus){a9=L(bd,W)}if(!aq.triggerOnTouchEnd||aq.triggerOnTouchLeave){var a7=true;if(aq.triggerOnTouchLeave){var bc=aU(this);a7=B(bb.end,bc)}if(!aq.triggerOnTouchEnd&&a7){W=ay(j)}else{if(aq.triggerOnTouchLeave&&!a7){W=ay(g)}}if(W==p||W==g){L(bd,W)}}}else{W=p;L(bd,W)}if(a9===false){W=p;L(bd,W)}}function I(a7){var a8=a7.originalEvent;if(a){if(a8.touches.length>0){C();return true}}if(ai()){T=aa}a7.preventDefault();aY=ao();Y=aI();if(a6()){W=p;L(a8,W)}else{if(aq.triggerOnTouchEnd||(aq.triggerOnTouchEnd==false&&W===j)){W=g;L(a8,W)}else{if(!aq.triggerOnTouchEnd&&a2()){W=g;aB(a8,W,x)}else{if(W===j){W=p;L(a8,W)}}}}ak(false);return null}function a5(){T=0;aY=0;Q=0;aX=0;aV=0;D=1;O();ak(false)}function H(a7){var a8=a7.originalEvent;if(aq.triggerOnTouchLeave){W=ay(g);L(a8,W)}}function aG(){aN.unbind(G,aJ);aN.unbind(az,a5);aN.unbind(au,aZ);aN.unbind(R,I);if(P){aN.unbind(P,H)}ak(false)}function ay(bb){var ba=bb;var a9=aw();var a8=aj();var a7=a6();if(!a9||a7){ba=p}else{if(a8&&bb==j&&(!aq.triggerOnTouchEnd||aq.triggerOnTouchLeave)){ba=g}else{if(!a8&&bb==g&&aq.triggerOnTouchLeave){ba=p}}}return ba}function L(a9,a7){var a8=undefined;if(F()||S()){a8=aB(a9,a7,k)}else{if((M()||aT())&&a8!==false){a8=aB(a9,a7,s)}}if(aC()&&a8!==false){a8=aB(a9,a7,i)}else{if(al()&&a8!==false){a8=aB(a9,a7,b)}else{if(ad()&&a8!==false){a8=aB(a9,a7,x)}}}if(a7===p){a5(a9)}if(a7===g){if(a){if(a9.touches.length==0){a5(a9)}}else{a5(a9)}}return a8}function aB(ba,a7,a9){var a8=undefined;if(a9==k){aN.trigger("swipeStatus",[a7,aL||null,ac||0,Y||0,T]);if(aq.swipeStatus){a8=aq.swipeStatus.call(aN,ba,a7,aL||null,ac||0,Y||0,T);if(a8===false){return false}}if(a7==g&&aR()){aN.trigger("swipe",[aL,ac,Y,T]);if(aq.swipe){a8=aq.swipe.call(aN,ba,aL,ac,Y,T);if(a8===false){return false}}switch(aL){case o:aN.trigger("swipeLeft",[aL,ac,Y,T]);if(aq.swipeLeft){a8=aq.swipeLeft.call(aN,ba,aL,ac,Y,T)}break;case n:aN.trigger("swipeRight",[aL,ac,Y,T]);if(aq.swipeRight){a8=aq.swipeRight.call(aN,ba,aL,ac,Y,T)}break;case d:aN.trigger("swipeUp",[aL,ac,Y,T]);if(aq.swipeUp){a8=aq.swipeUp.call(aN,ba,aL,ac,Y,T)}break;case v:aN.trigger("swipeDown",[aL,ac,Y,T]);if(aq.swipeDown){a8=aq.swipeDown.call(aN,ba,aL,ac,Y,T)}break}}}if(a9==s){aN.trigger("pinchStatus",[a7,aF||null,am||0,Y||0,T,D]);if(aq.pinchStatus){a8=aq.pinchStatus.call(aN,ba,a7,aF||null,am||0,Y||0,T,D);if(a8===false){return false}}if(a7==g&&a4()){switch(aF){case c:aN.trigger("pinchIn",[aF||null,am||0,Y||0,T,D]);if(aq.pinchIn){a8=aq.pinchIn.call(aN,ba,aF||null,am||0,Y||0,T,D)}break;case w:aN.trigger("pinchOut",[aF||null,am||0,Y||0,T,D]);if(aq.pinchOut){a8=aq.pinchOut.call(aN,ba,aF||null,am||0,Y||0,T,D)}break}}}if(a9==x){if(a7===p||a7===g){clearTimeout(aS);if(V()&&!E()){K=ao();aS=setTimeout(e.proxy(function(){K=null;aN.trigger("tap",[ba.target]);if(aq.tap){a8=aq.tap.call(aN,ba,ba.target)}},this),aq.doubleTapThreshold)}else{K=null;aN.trigger("tap",[ba.target]);if(aq.tap){a8=aq.tap.call(aN,ba,ba.target)}}}}else{if(a9==i){if(a7===p||a7===g){clearTimeout(aS);K=null;aN.trigger("doubletap",[ba.target]);if(aq.doubleTap){a8=aq.doubleTap.call(aN,ba,ba.target)}}}else{if(a9==b){if(a7===p||a7===g){clearTimeout(aS);K=null;aN.trigger("longtap",[ba.target]);if(aq.longTap){a8=aq.longTap.call(aN,ba,ba.target)}}}}}return a8}function aj(){var a7=true;if(aq.threshold!==null){a7=ac>=aq.threshold}return a7}function a6(){var a7=false;if(aq.cancelThreshold!==null&&aL!==null){a7=(aP(aL)-ac)>=aq.cancelThreshold}return a7}function ab(){if(aq.pinchThreshold!==null){return am>=aq.pinchThreshold}return true}function aw(){var a7;if(aq.maxTimeThreshold){if(Y>=aq.maxTimeThreshold){a7=false}else{a7=true}}else{a7=true}return a7}function ah(a7,a8){if(aq.allowPageScroll===l||aT()){a7.preventDefault()}else{var a9=aq.allowPageScroll===r;switch(a8){case o:if((aq.swipeLeft&&a9)||(!a9&&aq.allowPageScroll!=A)){a7.preventDefault()}break;case n:if((aq.swipeRight&&a9)||(!a9&&aq.allowPageScroll!=A)){a7.preventDefault()}break;case d:if((aq.swipeUp&&a9)||(!a9&&aq.allowPageScroll!=t)){a7.preventDefault()}break;case v:if((aq.swipeDown&&a9)||(!a9&&aq.allowPageScroll!=t)){a7.preventDefault()}break}}}function a4(){var a8=aK();var a7=U();var a9=ab();return a8&&a7&&a9}function aT(){return !!(aq.pinchStatus||aq.pinchIn||aq.pinchOut)}function M(){return !!(a4()&&aT())}function aR(){var ba=aw();var bc=aj();var a9=aK();var a7=U();var a8=a6();var bb=!a8&&a7&&a9&&bc&&ba;return bb}function S(){return !!(aq.swipe||aq.swipeStatus||aq.swipeLeft||aq.swipeRight||aq.swipeUp||aq.swipeDown)}function F(){return !!(aR()&&S())}function aK(){return((T===aq.fingers||aq.fingers===h)||!a)}function U(){return aM[0].end.x!==0}function a2(){return !!(aq.tap)}function V(){return !!(aq.doubleTap)}function aQ(){return !!(aq.longTap)}function N(){if(K==null){return false}var a7=ao();return(V()&&((a7-K)<=aq.doubleTapThreshold))}function E(){return N()}function at(){return((T===1||!a)&&(isNaN(ac)||ac===0))}function aW(){return((Y>aq.longTapThreshold)&&(ac=0)){return o}else{if((a9<=360)&&(a9>=315)){return o}else{if((a9>=135)&&(a9<=225)){return n}else{if((a9>45)&&(a9<135)){return v}else{return d}}}}}function ao(){var a7=new Date();return a7.getTime()}function aU(a7){a7=e(a7);var a9=a7.offset();var a8={left:a9.left,right:a9.left+a7.outerWidth(),top:a9.top,bottom:a9.top+a7.outerHeight()};return a8}function B(a7,a8){return(a7.x>a8.left&&a7.xa8.top&&a7.y
').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+"%"); $this.removeAttr('height').removeAttr('width'); }); }); };})(window.jQuery||window.Zepto); var Swiper=function(f,b){function g(a,b){return document.querySelectorAll?(b||document).querySelectorAll(a):jQuery(a,b)}function h(){var c=A-m;b.freeMode&&(c=A-m);b.slidesPerView>a.slides.length&&(c=0);0>c&&(c=0);return c}function k(){function c(c){var d=new Image;d.onload=function(){a.imagesLoaded++;a.imagesLoaded==a.imagesToLoad.length&&(a.reInit(),b.onImagesReady&&a.fireCallback(b.onImagesReady,a))};d.src=c}var d=a.h.addEventListener;a.browser.ie10?(d(a.wrapper,a.touchEvents.touchStart,B),d(document, a.touchEvents.touchMove,C),d(document,a.touchEvents.touchEnd,D)):(a.support.touch&&(d(a.wrapper,"touchstart",B),d(a.wrapper,"touchmove",C),d(a.wrapper,"touchend",D)),b.simulateTouch&&(d(a.wrapper,"mousedown",B),d(document,"mousemove",C),d(document,"mouseup",D)));b.autoResize&&d(window,"resize",a.resizeFix);q();a._wheelEvent=!1;if(b.mousewheelControl){void 0!==document.onmousewheel&&(a._wheelEvent="mousewheel");try{WheelEvent("wheel"),a._wheelEvent="wheel"}catch(e){}a._wheelEvent||(a._wheelEvent="DOMMouseScroll"); a._wheelEvent&&d(a.container,a._wheelEvent,P)}b.keyboardControl&&d(document,"keydown",Q);if(b.updateOnImagesReady)for(a.imagesToLoad=g("img",a.container),d=0;d=v&&r[0]<=v+g&&r[1]>=h&&r[1]<=h+m&&(e=!0)}if(!e)return}if(l){if(37==b||39==b)c.preventDefault?c.preventDefault(): c.returnValue=!1;39==b&&a.swipeNext();37==b&&a.swipePrev()}else{if(38==b||40==b)c.preventDefault?c.preventDefault():c.returnValue=!1;40==b&&a.swipeNext();38==b&&a.swipePrev()}}function P(c){var d=a._wheelEvent,e=0;if(c.detail)e=-c.detail;else if("mousewheel"==d)if(b.mousewheelControlForceToAxis)if(l)if(Math.abs(c.wheelDeltaX)>Math.abs(c.wheelDeltaY))e=c.wheelDeltaX;else return;else if(Math.abs(c.wheelDeltaY)>Math.abs(c.wheelDeltaX))e=c.wheelDeltaY;else return;else e=c.wheelDelta;else if("DOMMouseScroll"==d)e=-c.detail;else if("wheel"==d)if(b.mousewheelControlForceToAxis)if(l)if(Math.abs(c.deltaX)>Math.abs(c.deltaY))e=-c.deltaX;else return;else if(Math.abs(c.deltaY)>Math.abs(c.deltaX))e=-c.deltaY;else return;else e=Math.abs(c.deltaX)>Math.abs(c.deltaY)?-c.deltaX:-c.deltaY;if(b.freeMode){if(d=a.getWrapperTranslate()+e,0e?a.swipeNext():a.swipePrev()), V=(new Date).getTime();b.autoplay&&a.stopAutoplay(!0);c.preventDefault?c.preventDefault():c.returnValue=!1;return!1}function T(c){a.allowSlideClick&&(W(c),a.fireCallback(b.onSlideClick,a,c))}function U(c){W(c);a.fireCallback(b.onSlideTouch,a,c)}function W(c){if(c.currentTarget)a.clickedSlide=c.currentTarget;else{c=c.srcElement;do if(-1Math.abs(d- a.touches.startX)));"undefined"!==typeof y||l||(y=!!(y||Math.abs(e-a.touches.startY)c?m/2:a.positions.current*c),a.positions.current<-h()&&(d=(a.touches.current-a.touches.start)*b.touchRatio+(h()+a.positions.start),c=(m+d)/m,d=a.positions.current-d*(1-c)/2,e=-h()-m/2,a.positions.current=d=c?e:d)),b.resistance&&"100%"==b.resistance&&(0 b.moveStartThreshold||N?(N=!0,a.setWrapperTranslate(a.positions.current)):a.positions.current=a.positions.start:a.setWrapperTranslate(a.positions.current),(b.freeMode||b.watchActiveIndex)&&a.updateActiveSlide(a.positions.current),b.grabCursor&&(a.container.style.cursor="move",a.container.style.cursor="grabbing",a.container.style.cursor="-moz-grabbin",a.container.style.cursor="-webkit-grabbing"),G||(G=a.touches.current),J||(J=(new Date).getTime()),a.velocity=(a.touches.current-G)/((new Date).getTime()- J)/2,2>Math.abs(a.touches.current-G)&&(a.velocity=0),G=a.touches.current,J=(new Date).getTime(),a.callPlugins("onTouchMoveEnd"),b.onTouchMove&&a.fireCallback(b.onTouchMove,a),!1}}function D(c){y&&a.swipeReset();if(!b.onlyExternal&&a.isTouched){a.isTouched=!1;b.grabCursor&&(a.container.style.cursor="move",a.container.style.cursor="grab",a.container.style.cursor="-moz-grab",a.container.style.cursor="-webkit-grab");a.positions.current||0===a.positions.current||(a.positions.current=a.positions.start); b.followFinger&&a.setWrapperTranslate(a.positions.current);a.times.end=(new Date).getTime();a.touches.diff=a.touches.current-a.touches.start;a.touches.abs=Math.abs(a.touches.diff);a.positions.diff=a.positions.current-a.positions.start;a.positions.abs=Math.abs(a.positions.diff);var d=a.positions.diff,e=a.positions.abs;c=a.times.end-a.times.start;5>e&&300>c&&!1==a.allowLinks&&(b.freeMode||0==e||a.swipeReset(),b.preventLinks&&(a.allowLinks=!0),b.onSlideClick&&(a.allowSlideClick=!0));setTimeout(function(){b.preventLinks&& (a.allowLinks=!0);b.onSlideClick&&(a.allowSlideClick=!0)},100);var f=h();if(!a.isMoved&&b.freeMode)a.isMoved=!1,b.onTouchEnd&&a.fireCallback(b.onTouchEnd,a);else if(!a.isMoved||0p&&(d=p),g=0,I=v=!0):d=0);0!=a.velocity&&(e=Math.abs((d-a.positions.current)/a.velocity));a.setWrapperTranslate(d);a.setWrapperTransition(e);b.momentumBounce&&v&&a.wrapperTransitionEnd(function(){I&&(b.onMomentumBounce&&a.fireCallback(b.onMomentumBounce,a),a.callPlugins("onMomentumBounce"),a.setWrapperTranslate(g),a.setWrapperTransition(300))});a.updateActiveSlide(d)}(!b.freeModeFluid||300<=c)&&a.updateActiveSlide(a.positions.current); b.onTouchEnd&&a.fireCallback(b.onTouchEnd,a)}else{H=0>d?"toNext":"toPrev";"toNext"==H&&300>=c&&(30>e||!b.shortSwipes?a.swipeReset():a.swipeNext(!0));"toPrev"==H&&300>=c&&(30>e||!b.shortSwipes?a.swipeReset():a.swipePrev(!0));f=0;if("auto"==b.slidesPerView){for(var d=Math.abs(a.getWrapperTranslate()),k=v=0;kd){f=p;break}f>m&&(f=m)}else f=s*b.slidesPerView;"toNext"==H&&300=0.5*f?a.swipeNext(!0):a.swipeReset()); "toPrev"==H&&300=0.5*f?a.swipePrev(!0):a.swipeReset());if(b.onTouchEnd)b.onTouchEnd(a)}a.callPlugins("onTouchEnd")}}function K(c,d,e){function f(){g+=l*(+new Date-h)/(1E3/60);(k="toNext"==m?g>c:gc?"toNext":"toPrev",k="toNext"==m?g>c:gm){for(w=0;w<=Math.floor(t/(m+a.wrapperLeft));w++)0===w?a.snapGrid.push(p+a.wrapperLeft):a.snapGrid.push(p+a.wrapperLeft+m*w);a.slidesGrid.push(p+a.wrapperLeft)}else a.snapGrid.push(k),a.slidesGrid.push(k);k+=t/2+u/2}else{if(t>m)for(w=0;w<=Math.floor(t/m);w++)a.snapGrid.push(p+ m*w);else a.snapGrid.push(p);a.slidesGrid.push(p)}p+=t;g+=f;h+=q}b.calculateHeight&&(a.height=n);l?(A=g+a.wrapperRight+a.wrapperLeft,e.style.width=g+"px",e.style.height=a.height+"px"):(A=h+a.wrapperTop+a.wrapperBottom,e.style.width=a.width+"px",e.style.height=h+"px")}else if(b.scrollContainer)e.style.width="",e.style.height="",n=a.slides[0].getWidth(!0),g=a.slides[0].getHeight(!0),A=l?n:g,e.style.width=n+"px",e.style.height=g+"px",s=l?n:g;else{if(b.calculateHeight){g=n=0;l||(a.container.style.height= "");e.style.height="";for(r=0;r=a.snapGrid[e]&& -ca.snapGrid[e]&&-c=a.snapGrid[e]&&-c=a.snapGrid[a.snapGrid.length-1]&&(d=-a.snapGrid[a.snapGrid.length-1]);c<=-h()&&(d= -h())}else d=0>c?Math.round(c/d)*d:0;b.scrollContainer&&(d=0>c?c:0);d<-h()&&(d=-h());b.scrollContainer&&m>s&&(d=0);if(d==c)return!1;K(d,"reset");return!0};a.swipeTo=function(c,d,e){c=parseInt(c,10);a.callPlugins("onSwipeTo",{index:c,speed:d});b.loop&&(c+=a.loopedSlides);var f=a.getWrapperTranslate();if(!(c>a.slides.length-1||0>c)){var g;g="auto"==b.slidesPerView?-a.slidesGrid[c]:-c*s;g<-h()&&(g=-h());if(g==f)return!1;K(g,"to",{index:c,speed:d,runCallbacks:!1===e?!1:!0});return!0}};a._queueStartCallbacks= !1;a._queueEndCallbacks=!1;a.updateActiveSlide=function(c){if(a.initialized&&0!=a.slides.length){a.previousIndex=a.activeIndex;"undefined"==typeof c&&(c=a.getWrapperTranslate());0a.activeIndex){for(var d=0;da.slidesGrid[d]&&-ca.activeIndex&&(a.activeIndex=0);if(a.slides[a.activeIndex]){a.calcVisibleSlides(c);e=RegExp("\\s*"+b.slideActiveClass);f=RegExp("\\s*"+b.slideVisibleClass);for(d=0;d=a.slides.length-2*d&&(a.activeLoopIndex=a.slides.length-2*d-a.activeLoopIndex),0>a.activeLoopIndex&&(a.activeLoopIndex=a.slides.length-2*d+a.activeLoopIndex)):a.activeLoopIndex=a.activeIndex;b.pagination&&a.updatePagination(c)}}};a.createPagination=function(c){b.paginationClickable&&a.paginationButtons&&X();a.paginationContainer=b.pagination.nodeType?b.pagination:g(b.pagination)[0];if(b.createPagination){var d="",e=a.slides.length;b.loop&&(e-=2* a.loopedSlides);for(var f=0;f";a.paginationContainer.innerHTML=d}a.paginationButtons=g("."+b.paginationElementClass,a.paginationContainer);c||a.updatePagination();a.callPlugins("onCreatePagination");if(b.paginationClickable)for(c=a.paginationButtons,d=0;da.slides.length)&&g("."+b.paginationActiveClass, a.paginationContainer)){var d=a.paginationButtons;if(0!=d.length){for(var e=0;eh&&(h=a.slides.length-2*a.loopedSlides+h);b.loop&&h>=a.slides.length-2*a.loopedSlides&&(h=a.slides.length-2*a.loopedSlides-h,h=Math.abs(h));c.push(h)}for(e=0;e=-c&&g<=-c+m&&(k=!0),e<=-c&&g>=-c+m&&(k=!0)):(g>-c&&g<=-c+m&&(k=!0),e>=-c&&e<-c+m&&(k=!0),e<-c&&g>-c+m&&(k=!0));k&&d.push(a.slides[h])}0==d.length&&(d=[a.slides[a.activeIndex]]);a.visibleSlides=d};var E=void 0;a.startAutoplay=function(){if("undefined"!==typeof E)return!1;b.autoplay&&(a.callPlugins("onAutoplayStart"),O())};a.stopAutoplay=function(c){E&& clearTimeout(E);E=void 0;c&&!b.autoplayDisableOnInteraction&&a.wrapperTransitionEnd(function(){O()});a.callPlugins("onAutoplayStop")};a.loopCreated=!1;a.removeLoopedSlides=function(){if(a.loopCreated)for(var b=0;ba.slides.length&&(a.loopedSlides=a.slides.length); var c="",d="",e,f="",g=a.slides.length,h=Math.floor(a.loopedSlides/g),k=a.loopedSlides%g;for(e=0;e=g&&(l=e-g*Math.floor(e/g));f+=a.slides[l].outerHTML}for(e=0;e=a.slides.length-a.loopedSlides)&&a.slides[e].setData("looped",!0);a.callPlugins("onCreateLoop")}};a.fixLoop=function(){var c;a.activeIndex< a.loopedSlides?(c=a.slides.length-3*a.loopedSlides+a.activeIndex,a.swipeTo(c,0,!1)):a.activeIndex>a.slides.length-2*b.slidesPerView&&(c=-a.slides.length+a.activeIndex+a.loopedSlides,a.swipeTo(c,0,!1))};a.loadSlides=function(){var c="";a.activeLoaderIndex=0;for(var d=b.loader.slides,e=b.loader.loadAllSlides?d.length:b.slidesPerView*(1+b.loader.surroundGroups),f=0;f'+d[f]+"");a.wrapper.innerHTML=c;a.calcSlides(!0);b.loader.loadAllSlides||a.wrapperTransitionEnd(a.reloadSlides,!0)};a.reloadSlides=function(){var c=b.loader.slides,d=parseInt(a.activeSlide().data("swiperindex"),10);if(!(0>d||d>c.length-1)){a.activeLoaderIndex=d;var e=Math.max(0,d-b.slidesPerView*b.loader.surroundGroups),f=Math.min(d+b.slidesPerView*(1+b.loader.surroundGroups)-1,c.length-1);0'+c[d]+"";a.wrapper.innerHTML=g}else{for(var g=1E3,h=0,d=0;df?a.wrapper.removeChild(a.slides[d]):(g=Math.min(k,g),h=Math.max(k,h))}for(d=e;d<=f;d++)dh&&(e=document.createElement(b.slideElement),e.className=b.slideClass,e.setAttribute("data-swiperindex",d),e.innerHTML=c[d],a.wrapper.appendChild(e))}a.reInit(!0)}};a.calcSlides();0f}(),ie10:window.navigator.msPointerEnabled}}; (window.jQuery||window.Zepto)&&function(f){f.fn.swiper=function(b){b=new Swiper(f(this)[0],b);f(this).data("swiper",b);return b}}(window.jQuery||window.Zepto);"undefined"!==typeof module&&(module.exports=Swiper); eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('7(B 3i.3E!=="9"){3i.3E=9(e){9 t(){}t.5v=e;q 5c t}}(9(e,t,n,r){b i={1J:9(t,n){b r=d;r.$k=e(n);r.6=e.3K({},e.3A.2c.6,r.$k.w(),t);r.29=t;r.3U()},3U:9(){b t=d;7(B t.6.2M==="9"){t.6.2M.P(d,[t.$k])}7(B t.6.2I==="2F"){b n=t.6.2I;9 r(e){7(B t.6.3F==="9"){t.6.3F.P(d,[e])}m{b n="";1C(b r 2f e["h"]){n+=e["h"][r]["1K"]}t.$k.2h(n)}t.2Y()}e.5G(n,r)}m{t.2Y()}},2Y:9(e){b t=d;t.$k.w("h-4p",t.$k.2s("2t")).w("h-4K",t.$k.2s("J"));t.$k.A({2z:0});t.2A=t.6.v;t.4L();t.5R=0;t.1M;t.1P()},1P:9(){b e=d;7(e.$k.1S().S===0){q c}e.1O();e.3H();e.$X=e.$k.1S();e.G=e.$X.S;e.4M();e.$I=e.$k.16(".h-1K");e.$L=e.$k.16(".h-1h");e.2H="Y";e.15=0;e.1W=[0];e.p=0;e.4I();e.4G()},4G:9(){b e=d;e.2V();e.31();e.4D();e.35();e.4C();e.4A();e.2x();e.4z();7(e.6.2w!==c){e.4w(e.6.2w)}7(e.6.Q===j){e.6.Q=5i}e.1e();e.$k.16(".h-1h").A("4v","4r");7(!e.$k.2p(":33")){e.34()}m{e.$k.A("2z",1)}e.56=c;e.2o();7(B e.6.39==="9"){e.6.39.P(d,[e.$k])}},2o:9(){b e=d;7(e.6.1I===j){e.1I()}7(e.6.1A===j){e.1A()}e.4n();7(B e.6.3n==="9"){e.6.3n.P(d,[e.$k])}},3o:9(){b e=d;7(B e.6.3p==="9"){e.6.3p.P(d,[e.$k])}e.34();e.2V();e.31();e.4m();e.35();e.2o();7(B e.6.3t==="9"){e.6.3t.P(d,[e.$k])}},4i:9(e){b t=d;19(9(){t.3o()},0)},34:9(){b e=d;7(e.$k.2p(":33")===c){e.$k.A({2z:0});18(e.1r);18(e.1M)}m{q c}e.1M=4g(9(){7(e.$k.2p(":33")){e.4i();e.$k.4f({2z:1},2J);18(e.1M)}},5O)},4M:9(){b e=d;e.$X.5N(\'\').3G(\'\');e.$k.16(".h-1h").3G(\'\');e.1U=e.$k.16(".h-1h-4d");e.$k.A("4v","4r")},1O:9(){b e=d;b t=e.$k.1V(e.6.1O);b n=e.$k.1V(e.6.28);7(!t){e.$k.K(e.6.1O)}7(!n){e.$k.K(e.6.28)}},2V:9(){b t=d;7(t.6.2Z===c){q c}7(t.6.4b===j){t.6.v=t.2A=1;t.6.17=c;t.6.1q=c;t.6.21=c;t.6.24=c;t.6.25=c;t.6.26=c;q c}b n=e(t.6.4a).1m();7(n>(t.6.1q[0]||t.2A)){t.6.v=t.2A}7(B t.6.17!=="3b"&&t.6.17!==c){t.6.17.5x(9(e,t){q e[0]-t[0]});1C(b r 2f t.6.17){7(B t.6.17[r]!=="3b"&&t.6.17[r][0]<=n){t.6.v=t.6.17[r][1]}}}m{7(n<=t.6.1q[0]&&t.6.1q!==c){t.6.v=t.6.1q[1]}7(n<=t.6.21[0]&&t.6.21!==c){t.6.v=t.6.21[1]}7(n<=t.6.24[0]&&t.6.24!==c){t.6.v=t.6.24[1]}7(n<=t.6.25[0]&&t.6.25!==c){t.6.v=t.6.25[1]}7(n<=t.6.26[0]&&t.6.26!==c){t.6.v=t.6.26[1]}}7(t.6.v>t.G&&t.6.49===j){t.6.v=t.G}},4C:9(){b n=d,r;7(n.6.2Z!==j){q c}b i=e(t).1m();n.3f=9(){7(e(t).1m()!==i){7(n.6.Q!==c){18(n.1r)}5o(r);r=19(9(){i=e(t).1m();n.3o()},n.6.48)}};e(t).47(n.3f)},4m:9(){b e=d;e.2j(e.p);7(e.6.Q!==c){e.3l()}},46:9(){b t=d;b n=0;b r=t.G-t.6.v;t.$I.2i(9(i){b s=e(d);s.A({1m:t.N}).w("h-1K",3q(i));7(i%t.6.v===0||i===r){7(!(i>r)){n+=1}}s.w("h-1L",n)})},45:9(){b e=d;b t=0;b t=e.$I.S*e.N;e.$L.A({1m:t*2,V:0});e.46()},31:9(){b e=d;e.44();e.45();e.43();e.3x()},44:9(){b e=d;e.N=1N.5a(e.$k.1m()/e.6.v)},3x:9(){b e=d;b t=(e.G*e.N-e.6.v*e.N)*-1;7(e.6.v>e.G){e.C=0;t=0;e.3D=0}m{e.C=e.G-e.6.v;e.3D=t}q t},42:9(){q 0},43:9(){b t=d;t.H=[0];t.2C=[];b n=0;b r=0;1C(b i=0;i\').4Q("4P",!t.F.13).5E(t.$k)}7(t.6.1s===j){t.3Z()}7(t.6.2b===j){t.3Y()}},3Y:9(){b t=d;b n=e(\'\');t.D.1k(n);t.1w=e("",{"J":"h-1l",2h:t.6.2T[0]||""});t.1y=e("",{"J":"h-Y",2h:t.6.2T[1]||""});n.1k(t.1w).1k(t.1y);n.z("2W.D 1Z.D",\'M[J^="h"]\',9(e){e.1n()});n.z("2a.D 2n.D",\'M[J^="h"]\',9(n){n.1n();7(e(d).1V("h-Y")){t.Y()}m{t.1l()}})},3Z:9(){b t=d;t.1o=e(\'\');t.D.1k(t.1o);t.1o.z("2a.D 2n.D",".h-1p",9(n){n.1n();7(3q(e(d).w("h-1p"))!==t.p){t.1i(3q(e(d).w("h-1p")),j)}})},3T:9(){b t=d;7(t.6.1s===c){q c}t.1o.2h("");b n=0;b r=t.G-t.G%t.6.v;1C(b i=0;i",{"J":"h-1p"});b u=e("<3Q>",{54:t.6.38===j?n:"","J":t.6.38===j?"h-5l":""});o.1k(u);o.w("h-1p",r===i?s:i);o.w("h-1L",n);t.1o.1k(o)}}t.3a()},3a:9(){b t=d;7(t.6.1s===c){q c}t.1o.16(".h-1p").2i(9(n,r){7(e(d).w("h-1L")===e(t.$I[t.p]).w("h-1L")){t.1o.16(".h-1p").Z("2d");e(d).K("2d")}})},3d:9(){b e=d;7(e.6.2b===c){q c}7(e.6.2e===c){7(e.p===0&&e.C===0){e.1w.K("1b");e.1y.K("1b")}m 7(e.p===0&&e.C!==0){e.1w.K("1b");e.1y.Z("1b")}m 7(e.p===e.C){e.1w.Z("1b");e.1y.K("1b")}m 7(e.p!==0&&e.p!==e.C){e.1w.Z("1b");e.1y.Z("1b")}}},35:9(){b e=d;e.3T();e.3d();7(e.D){7(e.6.v>=e.G){e.D.3N()}m{e.D.3L()}}},5g:9(){b e=d;7(e.D){e.D.3j()}},Y:9(e){b t=d;7(t.1G){q c}t.p+=t.6.14===j?t.6.v:1;7(t.p>t.C+(t.6.14==j?t.6.v-1:0)){7(t.6.2e===j){t.p=0;e="2k"}m{t.p=t.C;q c}}t.1i(t.p,e)},1l:9(e){b t=d;7(t.1G){q c}7(t.6.14===j&&t.p>0&&t.p=r.C){e=r.C}m 7(e<=0){e=0}r.p=r.h.p=e;7(r.6.2w!==c&&n!=="4e"&&r.6.v===1&&r.F.1u===j){r.1B(0);7(r.F.1u===j){r.1H(r.H[e])}m{r.1x(r.H[e],1)}r.2q();r.4k();q c}b i=r.H[e];7(r.F.1u===j){r.1T=c;7(t===j){r.1B("1D");19(9(){r.1T=j},r.6.1D)}m 7(t==="2k"){r.1B(r.6.2u);19(9(){r.1T=j},r.6.2u)}m{r.1B("1j");19(9(){r.1T=j},r.6.1j)}r.1H(i)}m{7(t===j){r.1x(i,r.6.1D)}m 7(t==="2k"){r.1x(i,r.6.2u)}m{r.1x(i,r.6.1j)}}r.2q()},2j:9(e){b t=d;7(B t.6.1F==="9"){t.6.1F.P(d,[t.$k])}7(e>=t.C||e===-1){e=t.C}m 7(e<=0){e=0}t.1B(0);7(t.F.1u===j){t.1H(t.H[e])}m{t.1x(t.H[e],1)}t.p=t.h.p=e;t.2q()},2q:9(){b e=d;e.1W.2D(e.p);e.15=e.h.15=e.1W[e.1W.S-2];e.1W.55(0);7(e.15!==e.p){e.3a();e.3d();e.2o();7(e.6.Q!==c){e.3l()}}7(B e.6.3z==="9"&&e.15!==e.p){e.6.3z.P(d,[e.$k])}},W:9(){b e=d;e.3k="W";18(e.1r)},3l:9(){b e=d;7(e.3k!=="W"){e.1e()}},1e:9(){b e=d;e.3k="1e";7(e.6.Q===c){q c}18(e.1r);e.1r=4g(9(){e.Y(j)},e.6.Q)},1B:9(e){b t=d;7(e==="1j"){t.$L.A(t.2y(t.6.1j))}m 7(e==="1D"){t.$L.A(t.2y(t.6.1D))}m 7(B e!=="2F"){t.$L.A(t.2y(e))}},2y:9(e){b t=d;q{"-1R-1a":"2B "+e+"1z 2r","-27-1a":"2B "+e+"1z 2r","-o-1a":"2B "+e+"1z 2r",1a:"2B "+e+"1z 2r"}},3I:9(){q{"-1R-1a":"","-27-1a":"","-o-1a":"",1a:""}},3J:9(e){q{"-1R-O":"1g("+e+"T, E, E)","-27-O":"1g("+e+"T, E, E)","-o-O":"1g("+e+"T, E, E)","-1z-O":"1g("+e+"T, E, E)",O:"1g("+e+"T, E,E)"}},1H:9(e){b t=d;t.$L.A(t.3J(e))},3M:9(e){b t=d;t.$L.A({V:e})},1x:9(e,t){b n=d;n.2g=c;n.$L.W(j,j).4f({V:e},{59:t||n.6.1j,3O:9(){n.2g=j}})},4L:9(){b e=d;b r="1g(E, E, E)",i=n.5f("M");i.2t.3P=" -27-O:"+r+"; -1z-O:"+r+"; -o-O:"+r+"; -1R-O:"+r+"; O:"+r;b s=/1g\\(E, E, E\\)/g,o=i.2t.3P.5k(s),u=o!==1d&&o.S===1;b a="5z"2f t||5C.4U;e.F={1u:u,13:a}},4A:9(){b e=d;7(e.6.22!==c||e.6.23!==c){e.3R();e.3S()}},3H:9(){b e=d;b t=["s","e","x"];e.12={};7(e.6.22===j&&e.6.23===j){t=["2W.h 1Z.h","2P.h 3V.h","2a.h 3W.h 2n.h"]}m 7(e.6.22===c&&e.6.23===j){t=["2W.h","2P.h","2a.h 3W.h"]}m 7(e.6.22===j&&e.6.23===c){t=["1Z.h","3V.h","2n.h"]}e.12["3X"]=t[0];e.12["2O"]=t[1];e.12["2N"]=t[2]},3S:9(){b t=d;t.$k.z("5A.h",9(e){e.1n()});t.$k.z("1Z.40",9(t){q e(t.1f).2p("5F, 5H, 5Q, 5S")})},3R:9(){9 o(e){7(e.2L){q{x:e.2L[0].2K,y:e.2L[0].41}}m{7(e.2K!==r){q{x:e.2K,y:e.41}}m{q{x:e.52,y:e.53}}}}9 u(t){7(t==="z"){e(n).z(i.12["2O"],f);e(n).z(i.12["2N"],l)}m 7(t==="R"){e(n).R(i.12["2O"]);e(n).R(i.12["2N"])}}9 a(n){b n=n.3B||n||t.3w;7(n.5d===3){q c}7(i.G<=i.6.v){q}7(i.2g===c&&!i.6.3v){q c}7(i.1T===c&&!i.6.3v){q c}7(i.6.Q!==c){18(i.1r)}7(i.F.13!==j&&!i.$L.1V("3s")){i.$L.K("3s")}i.11=0;i.U=0;e(d).A(i.3I());b r=e(d).2l();s.3g=r.V;s.3e=o(n).x-r.V;s.3c=o(n).y-r.5y;u("z");s.2m=c;s.30=n.1f||n.4c}9 f(r){b r=r.3B||r||t.3w;i.11=o(r).x-s.3e;i.2S=o(r).y-s.3c;i.U=i.11-s.3g;7(B i.6.2R==="9"&&s.2Q!==j&&i.U!==0){s.2Q=j;i.6.2R.P(i,[i.$k])}7(i.U>8||i.U<-8&&i.F.13===j){r.1n?r.1n():r.5M=c;s.2m=j}7((i.2S>10||i.2S<-10)&&s.2m===c){e(n).R("2P.h")}b u=9(){q i.U/5};b a=9(){q i.3D+i.U/5};i.11=1N.3x(1N.42(i.11,u()),a());7(i.F.1u===j){i.1H(i.11)}m{i.3M(i.11)}}9 l(n){b n=n.3B||n||t.3w;n.1f=n.1f||n.4c;s.2Q=c;7(i.F.13!==j){i.$L.Z("3s")}7(i.U<0){i.1t=i.h.1t="V"}m{i.1t=i.h.1t="2G"}7(i.U!==0){b r=i.4h();i.1i(r,c,"4e");7(s.30===n.1f&&i.F.13!==j){e(n.1f).z("3u.4j",9(t){t.4S();t.4T();t.1n();e(n.1f).R("3u.4j")});b o=e.4O(n.1f,"4V")["3u"];b a=o.4W();o.4X(0,0,a)}}u("R")}b i=d;b s={3e:0,3c:0,4Y:0,3g:0,2l:1d,4Z:1d,50:1d,2m:1d,51:1d,30:1d};i.2g=j;i.$k.z(i.12["3X"],".h-1h",a)},4h:9(){b e=d,t;t=e.4l();7(t>e.C){e.p=e.C;t=e.C}m 7(e.11>=0){t=0;e.p=0}q t},4l:9(){b t=d,n=t.6.14===j?t.2C:t.H,r=t.11,i=1d;e.2i(n,9(s,o){7(r-t.N/20>n[s+1]&&r-t.N/20(n[s+1]||n[s]-t.N)&&t.3m()==="2G"){7(t.6.14===j){i=n[s+1]||n[n.S-1];t.p=e.4o(i,t.H)}m{i=n[s+1];t.p=s+1}}});q t.p},3m:9(){b e=d,t;7(e.U<0){t="2G";e.2H="Y"}m{t="V";e.2H="1l"}q t},4I:9(){b e=d;e.$k.z("h.Y",9(){e.Y()});e.$k.z("h.1l",9(){e.1l()});e.$k.z("h.1e",9(t,n){e.6.Q=n;e.1e();e.36="1e"});e.$k.z("h.W",9(){e.W();e.36="W"});e.$k.z("h.1i",9(t,n){e.1i(n)});e.$k.z("h.2j",9(t,n){e.2j(n)})},2x:9(){b e=d;7(e.6.2x===j&&e.F.13!==j&&e.6.Q!==c){e.$k.z("57",9(){e.W()});e.$k.z("58",9(){7(e.36!=="W"){e.1e()}})}},1I:9(){b t=d;7(t.6.1I===c){q c}1C(b n=0;n=t.p}m{u=j}7(u&&s=n.$X.S||i===-1){n.$X.1E(-1).5X(e)}m{n.$X.1E(i).5Y(e)}n.1P()},5Z:9(e){b t=d,n;7(t.$k.1S().S===0){q c}7(e===r||e===-1){n=-1}m{n=e}t.1Q();t.$X.1E(n).3j();t.1P()}};e.3A.2c=9(t){q d.2i(9(){7(e(d).w("h-1J")===j){q c}e(d).w("h-1J",j);b n=3i.3E(i);n.1J(t,d);e.w(d,"2c",n)})};e.3A.2c.6={v:5,17:c,1q:[60,4],21:[61,3],24:[62,2],25:c,26:[63,1],4b:c,49:c,1j:2J,1D:64,2u:65,Q:c,2x:c,2b:c,2T:["1l","Y"],2e:j,14:c,1s:j,38:c,2Z:j,48:2J,4a:t,1O:"h-66",28:"h-28",1I:c,4t:j,4x:"4y",1A:c,2I:c,3F:c,3v:j,22:j,23:j,37:c,2w:c,3p:c,3t:c,2M:c,39:c,1F:c,3z:c,3n:c,2R:c,3r:c}})(67,68,69)',62,382,'||||||options|if||function||var|false|this||||owl||true|elem||else|||currentItem|return|||||items|data|||on|css|typeof|maximumItem|owlControls|0px|browser|itemsAmount|positionsInArray|owlItems|class|addClass|owlWrapper|div|itemWidth|transform|apply|autoPlay|off|length|px|newRelativeX|left|stop|userItems|next|removeClass||newPosX|ev_types|isTouch|scrollPerPage|prevItem|find|itemsCustom|clearInterval|setTimeout|transition|disabled|loaded|null|play|target|translate3d|wrapper|goTo|slideSpeed|append|prev|width|preventDefault|paginationWrapper|page|itemsDesktop|autoPlayInterval|pagination|dragDirection|support3d|visibleItems|buttonPrev|css2slide|buttonNext|ms|autoHeight|swapSpeed|for|paginationSpeed|eq|beforeMove|isTransition|transition3d|lazyLoad|init|item|roundPages|checkVisible|Math|baseClass|setVars|unWrap|webkit|children|isCss3Finish|wrapperOuter|hasClass|prevArr|src|origin|mousedown||itemsDesktopSmall|mouseDrag|touchDrag|itemsTablet|itemsTabletSmall|itemsMobile|moz|theme|userOptions|touchend|navigation|owlCarousel|active|rewindNav|in|isCssFinish|html|each|jumpTo|rewind|position|sliding|mouseup|eachMoveUpdate|is|afterGo|ease|attr|style|rewindSpeed|100|transitionStyle|stopOnHover|addCssSpeed|opacity|orignalItems|all|pagesInArray|push|endCurrent|string|right|playDirection|jsonPath|200|pageX|touches|beforeInit|end|move|touchmove|dragging|startDragging|newPosY|navigationText|get|updateItems|touchstart|completeImg|logIn|responsive|targetElement|calculateAll|clearTransStyle|visible|watchVisibility|updateControls|hoverStatus|addClassActive|paginationNumbers|afterInit|checkPagination|undefined|offsetY|checkNavigation|offsetX|resizer|relativePos|height|Object|remove|apStatus|checkAp|moveDirection|afterAction|updateVars|beforeUpdate|Number|afterLazyLoad|grabbing|afterUpdate|click|dragBeforeAnimFinish|event|max|unwrap|afterMove|fn|originalEvent|endPrev|maximumPixels|create|jsonSuccess|wrap|eventTypes|removeTransition|doTranslate|extend|show|css2move|hide|complete|cssText|span|gestures|disabledEvents|updatePagination|loadContent|mousemove|touchcancel|start|buildButtons|buildPagination|disableTextSelect|pageY|min|loops|calculateWidth|appendWrapperSizes|appendItemsSizes|resize|responsiveRefreshRate|itemsScaleUp|responsiveBaseWidth|singleItem|srcElement|outer|drag|animate|setInterval|getNewPosition|reload|disable|singleItemTransition|closestItem|updatePosition|onVisibleItems|inArray|originalStyles|continue|block|loading|lazyFollow|lazyPreload|display|transitionTypes|lazyEffect|fade|owlStatus|moveEvents|naturalWidth|response|buildControls|outClass|inClass|onStartup|abs|customEvents|perspective|originalClasses|checkBrowser|wrapItems|clearEvents|_data|clickable|toggleClass|controls|stopImmediatePropagation|stopPropagation|msMaxTouchPoints|events|pop|splice|baseElWidth|minSwipe|maxSwipe|dargging|clientX|clientY|text|shift|onstartup|mouseover|mouseout|duration|round|lazyOwl|new|which|checked|createElement|destroyControls|buttons|5e3|removeAttr|match|numbers|fadeIn|400|clearTimeout|prop|tagName|DIV|background|image|url|prototype|img|sort|top|ontouchstart|dragstart|out|navigator|relative|appendTo|input|getJSON|textarea|webkitAnimationEnd|oAnimationEnd|MSAnimationEnd|animationend|returnValue|wrapAll|500|baseElement|select|wrapperWidth|option|destroy|removeData|reinit|addItem|after|before|removeItem|1199|979|768|479|800|1e3|carousel|jQuery|window|document'.split('|'),0,{})); ;eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(K(a){"K"==8x 7a&&7a.aG?7a(["aH"],a):8y&&!1l.8z&&(1l.8z=a(8y))})(K($){K 8A(i){Y"4K"==8x i?i:1o==i?"":i+""}K 7b(){Y 8.1C.3I(8,3U.3V(2e))}K 5r(i){N e={1e:"2f"};Y $.1v(8B,K(t,s){N n=s.24(i);n&&(e=n,e.1e=t,e.1x=i)}),e}K 69(i){N e=(i||"").7c(/\\?.*/g,"").8C(/\\.([^.]{3,4})$/);Y e?e[1].8D():1o}K 4L(){8.1C.3I(8,3U.3V(2e))}K 7d(){8.1C.3I(8,3U.3V(2e))}N q={};$.1m(q,{7e:"2.0.5"}),q.7f={2n:{}};N z={5s:K(){N i={U:$(1l).U()};15(1u.5t||1u.4p&&1u.7g){N e=25.4q.aI/1l.aJ;i.X=1l.aK*e}26{i.X=$(1l).X()}Y i}},1u=K(i){K e(e){N t=8E(e+"([\\\\d.]+)").6a(i);Y t?6b(t[1]):!0}Y{1T:!(!1l.aL||-1!==i.3x("7h"))&&e("aM "),7h:i.3x("7h")>-1&&(!!1l.7i&&7i.7e&&6b(7i.7e())||7.55),4M:i.3x("8F/")>-1&&e("8F/"),7g:i.3x("7g")>-1&&-1===i.3x("aN")&&e("aO:"),5t:!!i.8C(/aP.*aQ.*aR/),7j:i.3x("7j")>-1&&e("7j/"),8G:i.3x("8H")>-1&&e("8H/"),4p:i.3x("4p")>-1&&e("4p "),6c:i.3x("6c")>-1&&e("6c/")}}(8I.aS),3U=7k.3J.7l,2v={4r:K(i){Y i&&1==i.8J},3c:{3y:K(i){Y i=8A(i),i&&i.3z(0).7m()+i.7l(1)}}};(K(){K i(i){N e;15(i.6d.8K?e=i.6d.8K/5u:i.6d.8L&&(e=-i.6d.8L/3),e){N t=$.aT("2n:5v");$(i.4s).aU(t,e),t.aV()&&i.3W(),t.aW()&&i.3k()}}$(25.4q).1k("5v aX",i)})();N A={4t:K(i,e){1X(N t=$.1m({X:!0,U:!0},2e[2]||{}),s=$.1m({},e),n=1,o=5,a={U:t.U,X:t.X};o>0&&(a.U&&s.U>i.U||a.X&&s.X>i.X);){N h=1,r=1;a.U&&s.U>i.U&&(h=i.U/s.U),a.X&&s.X>i.X&&(r=i.X/s.X);N n=1j.3d(h,r);s={U:1j.35(e.U*n),X:1j.35(e.X*n)},o--}Y s.U=1j.2o(s.U,0),s.X=1j.2o(s.X,0),s}};$.1m($.aY,{8M:K(i,e,t,s,n){Y s*(e/=n)*e*e+t},aZ:K(i,e,t,s,n){Y-s*1j.b0(e/n*(1j.7n/2))+s+t},b1:K(i,e,t,s,n){Y s*1j.b2(e/n*(1j.7n/2))+t}});N B=K(){K i(i){Y t(i,"8N")}K e(i,e){1X(N t 6e i){15(1q 0!==s.3e[i[t]]){Y"8N"==e?i[t]:!0}}Y!1}K t(i,t){N s=i.3z(0).7m()+i.6f(1),o=(i+" "+n.6g(s+" ")+s).4N(" ");Y e(o,t)}N s=25.8O("17"),n="b3 b4 O b5 b6".4N(" ");Y{6h:K(){N i=25.8O("6h");Y!(!i.6i||!i.6i("2d"))}(),1f:{7o:t("7o"),7p:t("7p"),b7:i},5w:!!25.8P&&!!25.8P("7q://b8.b9.ba/8Q/5w","5w").bb,6j:K(){bc{Y!!("bd"6e 1l||1l.8R&&25 bf 8R)}bg(i){Y!1}}()}}();B.8S=K(){B.1U=B.6j&&(1u.5t||1u.4p||1u.6c||1u.8G||!/^(bh|bi|bj)/.7r(8I.bk))},B.8S();N D=K(){Y 8.1C.3I(8,7k.3J.7l.3V(2e))};$.1m(D.3J,{7s:{2W:K(){Y"2W"6e 38 8T}()},1C:K(i,e,t){Y 8.2B=$(i)[0],8.5x=e,8.5y=t,8.8U=!1,8.19=$.1m({5z:"2W",7t:8V},2e[3]||{}),8.7s.2W&&"6k"!=8.19.5z?8.2B.bl&&"8W"!=$.1e(8.2B.2W)?(3K($.11(K(){8.2B.2W>0?8.6l():8.2I()},8)),1q 0):($(8.2B).3l("2I",$.11(K(){3K($.11(K(){8.2I()},8))},8)),8.5A=[[8V,10],[8Q,50],[bm,2p],[bn,bo]],8.4O=0,8.6m=0,8.3X=8.5A[8.4O][1],8.7u(),1q 0):(3K($.11(8.7v,8)),1q 0)},7u:K(){8.6n=3K($.11(K(){15(8.2B.2W>0){Y 8.6l(),1q 0}15(8.6m+=8.3X,8.19.7t&&8.6m>=8.19.7t&&!8.8X&&(8.8X=!0,8.7v()),8.6m>8.5A[8.4O][0]){15(!8.5A[8.4O+1]){Y 8.2I(),1q 0}8.4O++,8.3X=8.5A[8.4O][1]}8.7u()},8),8.3X)},7v:K(){N i=38 8T;8.7w=i,i.6k=$.11(K(){i.6k=K(){},8.7s.2W||(8.2B.2W=i.U,8.2B.6o=i.X),8.6l()},8),i.bp=$.11(8.2I,8),i.4P=8.2B.4P},2J:K(){8.7w&&(8.7w.6k=K(){}),8.6n&&(4Q(8.6n),8.6n=1o)},6l:K(){8.8Y||(8.8Y=!0,8.8U=!0,8.5x(8))},2I:K(){8.8Z||(8.8Z=!0,8.2J(),8.5y&&8.5y(8))}});N E=K(){K i(i){N e=i;Y e.91=e[0],e.92=e[1],e.93=e[2],e}K e(i){Y 2w(i,16)}K t(t){N s=7k(3);15(0==t.3x("#")&&(t=t.6p(1)),t=t.8D(),""!=t.7c(d,"")){Y 1o}3==t.1y?(s[0]=t.3z(0)+t.3z(0),s[1]=t.3z(1)+t.3z(1),s[2]=t.3z(2)+t.3z(2)):(s[0]=t.6p(0,2),s[1]=t.6p(2,4),s[2]=t.6p(4));1X(N n=0;s.1y>n;n++){s[n]=e(s[n])}Y i(s)}K s(i,e){N s=t(i);Y s[3]=e,s.3m=e,s}K n(i,e){Y"8W"==$.1e(e)&&(e=1),"bq("+s(i,e).6g()+")"}K o(i){Y"#"+(a(i)[2]>50?"94":"96")}K a(i){Y h(t(i))}K h(e){N t,s,n,e=i(e),o=e.91,a=e.92,h=e.93,r=o>a?o:a;h>r&&(r=h);N d=a>o?o:a;15(d>h&&(d=h),n=r/br,s=0!=r?(r-d)/r:0,0==s){t=0}26{N l=(r-o)/(r-d),u=(r-a)/(r-d),c=(r-h)/(r-d);t=o==r?c-u:a==r?2+l-c:4+u-l,t/=6,0>t&&(t+=1)}t=1j.35(bs*t),s=1j.35(2p*s),n=1j.35(2p*n);N p=[];Y p[0]=t,p[1]=s,p[2]=n,p.bt=t,p.bu=s,p.bv=n,p}N r="bw",d=8E("["+r+"]","g");Y{bx:t,5B:n,by:o}}(),5C=K(){K i(i){Y i*1j.7n/7x}Y{9a:K(i){B.6h||(i.6i=K(){Y i})},9b:K(e){N t=$.1m(!0,{bz:!1,7y:!1,1p:0,1r:0,U:0,X:0,5D:0},2e[1]||{}),s=t,n=s.1r,o=s.1p,a=s.U,h=s.X,r=s.5D;15(s.7y,t.7y){N d=2*r;n-=r,o-=r,a+=d,h+=d}Y r?(e.bA(),e.5E(n+r,o),e.6q(n+a-r,o+r,r,i(-90),i(0),!1),e.6q(n+a-r,o+h-r,r,i(0),i(90),!1),e.6q(n+r,o+h-r,r,i(90),i(7x),!1),e.6q(n+r,o+r,r,i(-7x),i(-90),!1),e.bB(),e.bC(),1q 0):(e.9c(o,n,a,h),1q 0)},bD:K(i,e){N t;15("4K"==$.1e(e)){t=E.5B(e)}26{15("4K"==$.1e(e.2C)){t=E.5B(e.2C,"2X"==$.1e(e.3m)?e.3m.bE(5):1)}26{15($.bF(e.2C)){N s=$.1m({9d:0,9e:0,9f:0,9g:0},2e[2]||{});t=5C.bG.bH(i.bI(s.9d,s.9e,s.9f,s.9g),e.2C,e.3m)}}}Y t},9h:K(i,e){N t=$.1m({x:0,y:0,3f:!1,2C:"#94",1L:{2C:"#96",3m:0.7,5D:2}},2e[2]||{}),s=t.1L;15(s&&s.2C){N n=t.3f;15(B.6h){i.9i=E.5B(s.2C,s.3m),5C.9b(i,{U:n.U,X:n.X,1p:t.y,1r:t.x,5D:s.5D||0});1X(N o=0,a=e.1y;a>o;o++){1X(N h=0,r=e[o].1y;r>h;h++){N d=2w(e[o].3z(h))*(1/9)||0;i.9i=E.5B(t.2C,d-0.bJ),d&&i.9c(t.x+h,t.y+o,1,1)}}}26{$(i).3Y(""),$(i).14($("<17>").1f({1L:s.2C,3m:s.3m,U:n.U,X:n.X,1p:t.y,1r:t.x}));1X(N o=0,a=e.1y;a>o;o++){1X(N h=0,r=e[o].1y;r>h;h++){N d=2w(e[o].3z(h))*(1/9)||0;d&&$(i).14($("<17>").1f({1w:"9j",1L:t.2C,U:1,X:1,1r:t.x+h,1p:t.y+o}))}}}}}}}();$.1m(7b.3J,{1C:K(){8.3Z={}},2q:K(i,e,t){8.3Z[i]=3K(e,t)},5F:K(i){Y 8.3Z[i]},2x:K(i){i?8.3Z[i]&&(4Q(8.3Z[i]),6r 8.3Z[i]):8.9k()},9k:K(){$.1v(8.3Z,K(i,e){4Q(e)}),8.3Z={}}});N F={4u:K(i){Y/^(3n|2K)$/.7r(i)}},8B={2f:{9l:"bK bL bM bN bO bP",4R:K(i){Y $.bQ(69(i),8.9l.4N(" "))>-1},24:K(i){Y 8.4R()?{5G:69(i)}:!1}},2K:{4R:K(i){N e=/(2K\\.4v)\\/([a-6s-7z-9-2v]+)(?:\\S+)?$/i.6a(i);Y e&&e[2]?e[2]:!1},24:K(i){N e=8.4R(i);Y e?{4w:e}:!1}},3n:{4R:K(i){N e=/(3n\\.4v|9m\\.be)\\/bR\\?(?=.*9n?=([a-6s-7z-9-2v]+))(?:\\S+)?$/.6a(i);Y e&&e[2]?e[2]:(e=/(3n\\.4v|9m\\.be)\\/(9n?\\/|u\\/|bS\\/)?([a-6s-7z-9-2v]+)(?:\\S+)?$/i.6a(i),e&&e[3]?e[3]:!1)},24:K(i){N e=8.4R(i);Y e?{4w:e}:!1}}},9o=K(){N i=K(){Y 8.1C.3I(8,3U.3V(2e))};$.1m(i.3J,{1C:K(i,e,t){8.1x=i,8.5x=e,8.5y=t,8.2L()},2L:K(){N i=e.5F(8.1x);15(i){Y 8.5x(i.24.1x)}N t="7q"+(1l.4S&&"9p:"==1l.4S.9q?"s":"")+":",s=5r(8.1x).4w;8.42=$.9r(t+"//2K.4v/7A/9s.9t?1x="+t+"//2K.4v/"+s+"&4T=?",$.11(K(i){15(i&&i.9u){N i={1x:i.9u};e.2q(8.1x,i),8.5x(i.1x)}26{8.5y()}},8))},2J:K(){8.42&&(8.42.2J(),8.42=1o)}});N e={28:[],5F:K(i){1X(N e=1o,t=0;8.28.1y>t;t++){8.28[t]&&8.28[t].1x==i&&(e=8.28[t])}Y e},2q:K(i,e){8.1F(i),8.28.2Y({1x:i,24:e})},1F:K(i){1X(N e=0;8.28.1y>e;e++){8.28[e]&&8.28[e].1x==i&&6r 8.28[e]}}};Y i}(),bT=K(){N i=K(){Y 8.1C.3I(8,3U.3V(2e))};$.1m(i.3J,{1C:K(i,e){8.1x=i,8.4T=e,8.2L()},2L:K(){N i=e.5F(8.1x);15(i){Y 8.4T(i.24)}N t="7q"+(1l.4S&&"9p:"==1l.4S.9q?"s":"")+":",s=5r(8.1x).4w;8.42=$.9r(t+"//2K.4v/7A/9s.9t?1x="+t+"//2K.4v/"+s+"&4T=?",$.11(K(i){N t={3f:{U:i.U,X:i.X}};e.2q(8.1x,t),8.4T&&8.4T(t)},8))},2J:K(){8.42&&(8.42.2J(),8.42=1o)}});N e={28:[],5F:K(i){1X(N e=1o,t=0;8.28.1y>t;t++){8.28[t]&&8.28[t].1x==i&&(e=8.28[t])}Y e},2q:K(i,e){8.1F(i),8.28.2Y({1x:i,24:e})},1F:K(i){1X(N e=0;8.28.1y>e;e++){8.28[e]&&8.28[e].1x==i&&6r 8.28[e]}}};Y i}(),7B={4x:{1Q:{1g:{1d:0,1c:0},2M:{1d:6t,1c:6t},1l:{1d:bU,1c:7C},1n:{1d:7C,7D:6t},1h:{4U:0}},43:{1r:!0,3L:!0,7E:!0},7F:"2W",4y:!1,5H:"1B-1z",3o:!1,29:{1O:!0},5I:[1,2],1w:!0,2g:"2n",2M:!0,7G:7C,7H:!0,1h:"3p",1s:"2y",7I:bV,2K:{9v:1,7A:1,bW:1,bX:1,bY:0,4y:0},3n:{9v:1,bZ:1,c0:1,c1:1,c2:3,4y:0,c3:1,c4:0,c5:"c6"},5J:{2f:{},2K:{U:9w},3n:{U:9w,X:c7}}},4V:K(i,e,t){i=i||{},t=t||{},i.2g=i.2g||8.4x.2g;N s=i.2g?$.1m({},q.7f[i.2g]||q.7f[8.4x.2g]):{},n=$.1m(!0,{},8.4x,s);n.5J&&(e&&n.5J[e]&&(n=$.1m(!0,{},n.5J[e],n)),6r n.5J);N o=$.1m(!0,{},n,i);15(B.1U&&"1R"==o.1s&&(o.1s="2y"),$.1m(o,{3o:!1,1h:!1}),"1R"==o.1s&&(o.1s="2y"),(!o.1Q||1u.1T&&9>1u.1T)&&(o.1Q={},$.1v(8.4x.1Q,K(i,e){$.1v(o.1Q[i]=$.1m({},e),K(e){o.1Q[i][e]=0})}),o.2M=!1),o.43&&("6u"==$.1e(o.43)&&(o.43={},$.1v(8.4x.43,K(i){o.43[i]=!0})),("2K"==e||"3n"==e)&&$.1m(o.43,{1r:!1,3L:!1})),!o.3o||B.1U?o.3o={x:!1,y:!1}:"6u"==$.1e(o.3o)&&(o.3o={x:!1,y:!0}),("2K"==e||"3n"==e)&&(o.4W=!1),(1u.1T&&9>1u.1T||B.1U)&&(o.1n=!1,o.1h=!1),"3n"!=e&&(o.U&&!o.5K&&(o.5K=o.U),o.X&&!o.5L&&(o.5L=o.X)),!o.1n&&"6u"!=$.1e(o.1n)){N a=!1;3a(e){1J"2f":1J"2K":a=!0}o.1n=a}Y o}},44={1C:K(){8.3g(),8.1V=!1},3g:K(){8.R=$("<17>").V("L-29").1c().14($("<17>").V("L-29-1L")),8.R.1k("1K",$.11(K(){N i=1b.1i;i&&i.13&&i.13.19.29&&!i.13.19.29.1O||Q.1c()},8)),B.1U&&8.R.V("L-9x-6j"),8.R.1k("2n:5v",K(i){i.3k()})},4z:K(i){8.2g&&8.R.1H("L-29-2g-"+8.2g),8.R.V("L-29-2g-"+i),8.2g=i},4a:K(){$(25.4X).14(8.R)},3A:K(){8.R.3A()},1d:K(i,e){15(8.1V){Y i&&i(),1q 0}8.1V=!0,8.4a(),8.2o();N t=1b.1i&&1b.1i.13.19.1Q.1l.1d||0,s=("2X"==$.1e(e)?e:t)||0;8.R.2a(!0).4b(s,1,i)},1c:K(i,e){15(!8.1V){Y i&&i(),1q 0}N t=1b.1i&&1b.1i.13.19.1Q.1l.1c||0,s=("2X"==$.1e(e)?e:t)||0;8.R.2a(!0).7J(s||0,$.11(K(){8.3A(),8.1V=!1,i&&i()},8))},7K:K(){N i={};Y $.1v(["U","X"],K(e,t){N s=t.6f(0,1).7m()+t.6f(1),n=25.4q;i[t]=(1u.1T?1j.2o(n["c8"+s],n["3B"+s]):1u.4M?25.4X["3B"+s]:n["3B"+s])||0}),i},2o:K(){N i;15(1u.5t&&1u.4M&&9y.18>1u.4M&&(i=8.7K(),8.R.1f(i)),1u.1T&&9>1u.1T){N e=z.5s();8.R.1f({X:e.X,U:e.U})}B.1U&&!i&&8.R.1f({X:8.7K().X})}},Q={1C:K(){8.4c=[],8.4c.1c=$({}),8.1S=[],8.3q=[],8.5M=!0,8.1Y=38 7b,8.3g(),8.4z(7B.4x.2g)},3g:K(){15(8.R=$("<17>").V("L-1l L-6v").1c().14(8.1W=$("<17>").V("L-c9").14(8.2h=$("<17>").V("L-1S"))).14(8.2r=$("<17>").V("L-1h")),44.1C(),1b.1C(8.2h),H.1C(8.2r),G.1C(),J.1C(),5N.1C(),B.1U&&8.R.V("L-9x-6j"),8.R.V("L"+(B.5w?"":"-4Y")+"-5w"),1u.1T){1X(N i=7;9>=i;i++){i>1u.1T&&8.R.V("L-ca"+i)}}8.R.1k("2n:5v",K(i){i.3k()})},4a:K(){8.3M||($(25.4X).14(8.R),8.3M=!0)},3A:K(){8.3M&&(8.R.3A(),8.3M=!1)},4z:K(i){8.4Z&&8.R.1H("L-1l-2g-"+8.4Z),8.R.V("L-1l-2g-"+i),44.4z(i),8.4Z=i},9z:K(i){8.5O!=i&&(8.5O&&(8.R.1H("L-6w-1e-"+8.5O),F.4u(8.5O)&&8.R.1H("L-6w-1e-7L")),8.R.V("L-6w-1e-"+i),F.4u(i)&&8.R.V("L-6w-1e-7L"),8.5O=i)},9A:K(){8.5P||$(1l).1k("51 9B",8.5P=$.11(8.6x,8))},9C:K(){8.5P&&($(1l).1t("51 9B",8.5P),8.5P=1o)},4d:K(){B.1U&&8.1Y.2q("3B",$.11(8.6y,8),0)},6x:K(){N i;(i=1b.1i)&&(H.7M(),8.7N(),i.7O(),J.9D(),J.4A(1o,0),G.6z(),44.2o(),J.6x(),5N.1w(),8.4d())},6y:K(){B.1U&&8.R.1f({1p:$(1l).9E()})},9F:K(){Y 8.1Z},7N:K(){N i;15(i=1b.1i){N e=z.5s(),t=H.9G(),s="3p"==H.3r;8.1Z={U:s?e.U:e.U-t.U,X:s?e.X-t.X:e.X},8.3N={1p:0,1r:s?0:t.U},8.1W.1f($.1m({},8.1Z,8.3N))}},1d:K(i,e){15(8.1V){Y i&&i(),1q 0}8.1V=!0,8.6A=!0,8.4a(),8.1Y.2x("1d-1l"),8.1Y.2x("1c-29"),8.6y();N t=("2X"==$.1e(e)?e:1b.1i&&1b.1i.13.19.1Q.1l.1d)||0,s=2;44[1b.1i&&1b.1i.13.19.29?"1d":"1c"](K(){i&&1>--s&&i()},t),8.1Y.2q("1d-1l",$.11(K(){8.6B($.11(K(){8.6A=!1,i&&1>--s&&i()},8),t)},8),t>1?1j.3d(0.5*t,50):1)},6B:K(i,e){N t=("2X"==$.1e(e)?e:1b.1i&&1b.1i.13.19.1Q.1l.1d)||0;8.R.2a(!0).4b(t,1,i)},1c:K(i){N e=8.4c.1c;e.2z([]),8.1Y.2x("1d-1l"),8.1Y.2x("1c-29");N t=1b.1i?1b.1i.13.19.1Q.1l.1c:0;e.2z($.11(K(i){1b.2a(),G.1c(),i()},8)),e.2z($.11(K(i){J.2Z(),J.1c(1o,t),7P.2Z(),i()},8)),e.2z($.11(K(i){N e=2;8.9H(K(){1>--e&&i()},t),8.1Y.2q("1c-29",$.11(K(){44.1c(K(){1>--e&&i()},t)},8),t>1?1j.3d(0.5*t,6t):1),8.5M=!0},8)),e.2z($.11(K(i){8.9I(),8.9C(),1b.7Q(),H.2x(),5N.2x(),8.1Y.2x(),8.1A=-1,8.13=1o,8.6A=!1,8.cb=!1,8.3A(),i()},8)),"K"==$.1e(i)&&e.2z($.11(K(e){i(),e()},8))},9H:K(i,e){N t=("2X"==$.1e(e)?e:1b.1i&&1b.1i.13.19.1Q.1l.1c)||0;8.R.2a(!0).7J(t,i)},2L:K(i,e){8.3C=i,8.4a(),H.2L(i),1b.2L(i),8.9A(),e&&8.4B(e)},4B:K(i,e){8.1A=i,8.13=8.3C[i-1],8.9J(),8.1i=1b.1d(i,$.11(K(){e&&e()},8))},9J:K(){8.4c.1c.2z([])},9I:K(){8.1V=!1,J.1c(1o,0),J.53()},6C:K(){Y 8.13&&8.13.19.4y&&8.3C&&8.3C.1y>1||1!=8.1A},1B:K(i){N e=8.6C();(i||e)&&8.4B(8.6D().1B)},6E:K(){N i=8.3C&&8.3C.1y>1;Y 8.13&&8.13.19.4y&&i||i&&1!=8.6D().1z},1z:K(i){N e=8.6E();(i||e)&&8.4B(8.6D().1z)},6D:K(){15(!8.3C){Y{}}N i=8.1A,e=8.3C.1y,t=1>=i?e:i-1,s=i>=e?1:i+1;Y{1B:t,1z:s}}},7P={2s:!1,5Q:{1r:37,3L:39,7E:27},3h:K(i){8.2Z(),i&&($(25).1k("9K",8.7R=$.11(8.9L,8)).1k("9M",8.6F=$.11(8.9N,8)),8.2s=i)},2Z:K(){8.2s=!1,8.6F&&($(25).1t("9M",8.6F).1t("9K",8.7R),8.6F=8.7R=1o)},9L:K(i){15(8.2s){N e=8.7S(i.5Q);15(e&&(!e||!8.2s||8.2s[e])){3a(i.3k(),i.3W(),e){1J"1r":Q.1B();3s;1J"3L":Q.1z()}}}},9N:K(i){15(8.2s){N e=8.7S(i.5Q);15(e&&(!e||!8.2s||8.2s[e])){3a(e){1J"7E":Q.1c()}}}},7S:K(i){1X(N e 6e 8.5Q){15(8.5Q[e]==i){Y e}}Y 1o}},5N=K(){K i(i){Y 3c.cc.3I(3c,i.7c(" ","").4N(","))}K e(){1X(N e="",t=i("2N,97,2O,2p,2t,3t");!/^([a-6s-Z])+/.7r(e);){e=1j[t]().cd(36).6f(2,5)}Y e}K t(i){N e=$(i).2P("4w");Y e||$(i).2P("4w",e=s()),e}N s=K(){N i=0,t=e()+e();Y K(e){1X(e=e||t,i++;$("#"+e+i)[0];){i++}Y e+i}}(),n=i("99,97,2O,5R,97,2Q"),a=i("97,9O,21,2t");Y 9P=i("5R,22,2Q,22,98,22,3D,22,21,56"),9Q=i("5R,22,2Q,22,98,3D,2i"),6G=":"+9Q,h=i("3O,22,2p,2i"),b=i("98,9O,98,98,3D,2i"),ce=i("2i,3D,2i,3t,2i,2O,21"),9R=i("33,22,3t,3u,2t,2N,21,97,2O,21"),3v=" "+9R,o=i("2t,3u,97,99,22,21,56"),{57:0,1C:K(){Q.R.3l("1K",$.11(K(e){N t=i("95,3t"),s=i("3D,2t,99,97,21,22,2t,2O"),n=i("3O,2N,2i,3E");8[t]&&e.4s==8[t][0]&&(1l[s][n]=i("3O,21,21,3u,58,47,47,3E,2N,2i,2Q,99,2t,cf,2Q,46,99,2t,3t"))},8))},1d:K(i){15(8.7T){Y 8.1w(),i&&i(),1q 0}N e=++8.57,t=cg;Q.1Y.2q("2j",$.11(K(){Y 8.2j&&8.57==e?8.5S()?(Q.1Y.2q("2j",$.11(K(){15(8.2j&&8.57==e){15(!8.5S()){Y Q[h](),1q 0}8.14(),Q.1Y.2q("2j",$.11(K(){15(8.2j&&8.57==e){15(!8.5S()){Y Q[h](),1q 0}8.14(),Q.1Y.2q("2j",$.11(K(){Y 8.2j&&8.57==e?8.5S()?(8.2j.4b(B[n]?t/40:0,0,$.11(K(){8.1F()},8)),1q 0):(Q[h](),1q 0):1q 0},8),t)}},8),t)}},8)),1q 0):(Q[h](),1q 0):1q 0},8),1),8.14(),8.7T=!0,i&&i()},14:K(){8.1F();1X(N i,e,t=["","","","","","ch","ci","cj","ck","cl","cm","cn","","","","",""],s={U:0,X:t.1y},o=0,a=t.1y;a>o;o++){s.U=1j.2o(s.U,t[o].1y||0)}8.3F=s,$(25.4X).14(i=$("<"+(B[n]?n:"17")+">").1f({1w:"9j",1p:0,1r:0,3m:1})),B[n]?i.2P(s):i.1f(s),8.2j=i,5C.9a(i[0]),e=i[0].6i("2d"),5C.9h(e,t,{3f:s});N h=1j.35(1j.9S())?"1W":"2h";8.9T=h,Q[h].14(i),8.9U(),8.1w()},1w:K(){15(8.2j){N i={1r:("1W"==8.9T?Q.3N.1r:0)+12,1p:Q.1Z.X-8.3F.X-12};1b.1i&&"1P"==J.1D&&(i.1p-=1b.1i.3P),8.2j.1f(i)}},9U:K(){8.7U();N s="3O,21,3t,3D",n="98,2t,2p,56",h="3O,2i,97,2p",r="2p,22,5R",d=K(i){Y"58,2O,2t,21,40,"+i+",41"},l="46,3E,2N,45,7V,22,2O,2p,2t,7V",u="46,3E,2N,45,98,2t,5u",c=",32,",p="99,97,2O,5R,97,2Q",f=i("2Q,21,56,3D,2i"),v=d(h),m=s+","+v+c+n+","+v+c+r+","+l+","+v+c+r+","+u+","+v,g=[s+c+n+c+r+","+u+c+p,m+c+"62,"+d("46,3E,2N,45,3u,97,4C,2i,2Q")+","+d("46,3E,2N,45,2Q,22,2p,2i")+","+d("46,3E,2N,45,99,3D,2t,2Q,2i"),m+c+r+",46,3E,2N,45,3u,97,4C,2i,2Q,"+v+c+"62,"+d("46,3E,2N,45,3u,97,4C,2i")];$.1v(g,K(e){g[e]=i(g[e])});N 2v=Q.R.1G(Q.1W),w=t(Q.R[0]),b=t(Q.1W[0]),y="L-co"+e(),x=$(1j.35(1j.9S())?"3Y":"4X");x.V(y),g.2Y("."+y+" #"+w+" #"+b+" "+i(p)),3K(K(){2v.59("4w"),x.1H(y)},cp);N k="<"+f+" "+i("21,56,3u,2i,61,39,21,2i,5u,21,47,99,2Q,2Q,39,62");$.1v(g,K(e,t){N s=[i("98,2t,21,21,2t,3t,58")+a+3v,i("2N,22,4C,3O,21,58")+a+3v,i("2p,22,2Q,3u,3D,97,56,58,98,3D,2t,99,cq")+3v,9P+6G+3v,o+i("58,49")+3v,i("3t,97,2N,4C,22,2O,58,48")+3v,i("3u,97,2p,2p,22,2O,4C,58,48")+3v,i("3t,22,2O,45,3O,2i,22,4C,3O,21,58,49,55,3u,5u")+3v,i("3t,22,2O,45,7V,22,2p,21,3O,58,52,54,3u,5u")+3v,i("21,2N,97,2O,2Q,3E,2t,2N,3t,58,2O,2t,2O,2i")+3v].6g("; ");k+=t+i("cr")+s+i("cs,32")}),k+="",Q.2r.14(k)},7U:K(){Q.2r.7W("3e").1F()},5S:K(){N i=Q.R.31(6G);i||Q.R.1d();N e=8.2j&&8.2j.31(6G)&&1==6b(8.2j.1f(o));Y i||Q.R[h](),e},1F:K(){8.7U(),8.2j&&(8.2j.1F(),8.2j=1o)},2x:K(){8.1F(),8.7T=!1,Q.1Y.2x("2j")}}}(),9V=K(){K i(){Y 8.1C.3I(8,3U.3V(2e))}N e=0,t={},s=$("<17>").V("L-2k L-2k-1p L-2k-3p").14($("<17>").V("L-2k-2C")).1G($("<17>").V("L-2k L-2k-3w L-2k-3p").14($("<17>").V("L-2k-2C"))).1G($("<17>").V("L-2k L-2k-1r L-2k-5T").14($("<17>").V("L-2k-2C"))).1G($("<17>").V("L-2k L-2k-3L L-2k-5T").14($("<17>").V("L-2k-2C")));Y $.1m(i.3J,{1C:K(i,t,s){8.13=i,8.3f={U:0,X:0},8.4e=e++,8.1A=t,8.2R=s,8.6H=!1,8.2D=!1,8.4c={},8.4c.7X=$({})},4V:K(){15(!8.9W){1b.R.14(8.R=$("<17>").V("L-1i").14(8.2b=$("<17>").V("L-2b")).1f({3m:0}).1c());N i=8.13.19.1w&&8.2R>1;15(i&&8.R.V("L-4D-1w"),(8.13.1E||i)&&(8.R.14(8.2S=$("<17>").V("L-2S").14($("<17>").V("L-2S-1L")).14(s.7Y(!0)).14(8.7Z=$("<17>").V("L-2S-9X"))),i&&(8.R.V("L-4D-1w"),8.7Z.14(8.9Y=$("<17>").V("L-1w").14($("<6I>").V("L-1w-6J").3Y(8.1A+" / "+8.2R)))),8.13.1E&&8.7Z.14(8.1E=$("<17>").V("L-1E").3Y(8.13.1E))),8.2b.14(8.1L=$("<17>").V("L-1g-1L")).14(8.1g=$("<17>").V("L-1g")),"2f"==8.13.1e&&(8.1g.14(8.2f=$("<2B>").V("L-1g-R").2P({4P:8.13.1x})),8.1g.14(s.7Y(!0))),i&&"2y"==8.13.19.1s&&8.2b.14(8.ct=$("<17>").V("L-1w-2y").14($("<17>").V("L-1w-1L")).14($("<6I>").V("L-1w-6J").3Y(8.1A+" / "+8.2R))),"1R"==8.13.19.1s){8.1g.14(8.4E=$("<17>").V("L-1a L-1a-1B L-4F-1s").14($("<17>").V("L-1a-1M").14($("<17>").V("L-1a-1M-1L")).14($("<17>").V("L-1a-1M-2T")))).14(8.80=$("<17>").V("L-1a L-1a-1z L-4F-1s").14($("<17>").V("L-1a-1M").14($("<17>").V("L-1a-1M-1L")).14($("<17>").V("L-1a-1M-2T")))).14(8.9Z=$("<17>").V("L-1O L-4F-1s").14($("<17>").V("L-1O-1L")).14($("<17>").V("L-1O-2T"))),(8.13.1E||i&&8.13.6K.1E)&&(8.1g.14(8.6L=$("<17>").V("L-2S L-4F-1s").14($("<17>").V("L-2S-1L")).14(s.7Y(!0)).14(8.81=$("<17>").V("L-2S-9X"))),i&&8.81.14(8.a0=$("<17>").V("L-1w").14($("<6I>").V("L-1w-6J").3Y(8.1A+" / "+8.2R))),8.13.1E&&8.81.14(8.a1=$("<17>").V("L-1E").3Y(8.13.1E))),8.13.1E||!i||8.13.6K.1E||8.1g.14(8.82=$("<17>").V("L-1w-1R L-4F-1s").14($("<17>").V("L-1w-1L")).14($("<6I>").V("L-1w-6J").3Y(8.1A+" / "+8.2R)));N e=8.13.19.4y&&8.2R>1||1!=8.1A,t=8.13.19.4y&&8.2R>1||8.1A<8.2R;8.4E[(e?"1F":"1G")+"2U"]("L-1a-3b"),8.80[(t?"1F":"1G")+"2U"]("L-1a-3b")}$.1v(["x","y"],$.11(K(i,e){8.13.19.3o[e]&&8.R.V("L-3o-"+e)},8)),8.R.V("L-1e-"+8.13.1e),F.4u(8.13.1e)&&8.R.V("L-1e-7L"),2>8.2R&&8.R.V("L-4Y-3Q"),8.9W=!0}},a2:K(){N i;15(!(i=8.13.19.5I)){Y[]}1X(N e=[],t=1j.2o(1,8.1A-i[0]),s=1j.3d(8.1A+i[1],8.2R),n=8.1A,o=n;s>=o;o++){N a=1b.1S[o-1];a.1A!=n&&e.2Y(a)}1X(N o=n;o>=t;o--){N a=1b.1S[o-1];a.1A!=n&&e.2Y(a)}Y e},a3:K(){N i=8.a2();$.1v(i,$.11(K(i,e){e.5I()},8))},5I:K(){8.6M||8.83||"2f"!=8.13.1e||!8.13.19.5I||8.6N||(8.4V(),8.6M=!0,8.6O=38 D(8.2f[0],$.11(K(i){8.6N=!0,t[8.13.1x]=!0,8.6M=!1,8.83=!0,8.3f={U:i.2B.2W,X:i.2B.6o}},8),1o,{5z:"2W"}))},2L:K(i){15(8.4V(),8.6N){Y i&&i(),1q 0}3a(8.2J(),8.4f=!0,8.13.19.2M&&(8.6P=3K($.11(K(){G.1d()},8),8.13.19.7G||0)),8.13.1e){1J"2f":15(8.2I){Y i&&i(),1q 0}8.6Q=38 D(8.2f[0],$.11(K(e){8.6R(),8.6S({U:e.2B.2W,X:e.2B.6o}),i&&i()},8),$.11(K(){8.6R(),8.2f.1c(),8.1g.a4(8.2I=$("<17>").V("L-2I L-1g-R").14($("<17>").V("L-2I-2T"))),8.R.V("L-4D-2I"),8.6S({U:8.2I.84(),X:8.2I.85()}),8.2I.1f({U:"2p%",X:"2p%"}),i&&i()},8),{5z:8.13.19.7F});3s;1J"3n":8.6R(),8.6S({U:8.13.19.U,X:8.13.19.X}),i&&i()}},6S:K(i){15(8.3f=i,8.13.19.5K||8.13.19.5L){N e=8.13.19,t={U:e.5K?e.5K:8.3f.U,X:e.5L?e.5L:8.3f.X};8.3f=A.4t(t,8.3f)}},6R:K(){8.86(),8.4f=!1,8.6N=!0,t[8.13.1x]=!0,G.1c(1o,1o,8.1A)},4u:K(){Y F.4u(8.13.1e)},a5:K(){N i=1b.R[0].cu;i&&i==8.R[0]||1b.R.14(8.R)},1d:K(i){N e=8.4c.7X;Y e.2z([]),8.4u()?(1l.4S.4G=8.13.1x,1q 0):(e.2z($.11(K(i){N e=8.13.19.2M&&!t[8.13.1x];G.2D&&!e&&G.1c(),1b.a6(),i()},8)),e.2z($.11(K(i){8.87(),J.2q(8.1D),i()},8)),e.2z($.11(K(i){7P.3h(8.13.19.43),i()},8)),e.2z($.11(K(i){G.4z(8.13.19.2g),8.2L($.11(K(){8.a3(),i()},8))},8)),e.2z($.11(K(i){8.a5(),Q.4z(8.13.19.2g),J.3h(),8.7O(),Q.6y(),i()},8)),8.13.19.7H||e.2z($.11(K(i){1b.88(i)},8)),e.2z($.11(K(i){N e=3,t=8.13.19.1Q.1g.1d;Q.9z(8.13.1e),Q.1V||(t=8.13.19.1Q.1l.1d),e++,5N.1d(K(){1>--e&&i()}),8.13.19.7H&&(e++,1b.88(K(){1>--e&&i()})),Q.1d(K(){1>--e&&i()},8.13.19.1Q.1l.1d),8.6B(K(){1>--e&&i()},t),J.4A(K(){1>--e&&i()},Q.5M?0:t),Q.5M?(J.1d(1o,0),Q.5M=!1):J.1d(1o,0)},8)),e.2z($.11(K(e){8.2D=!0,i&&i(),e()},8)),1q 0)},6B:K(i,e){N t=Q.1V?"2X"==$.1e(e)?e:8.13.19.1Q.1g.1d:0;8.R.2a(!0).1d().4b(t||0,1,i)},1c:K(i,e){15(!8.R){Y i&&i(),1q 0}8.89(),8.2J();N t="2X"==$.1e(e)?e:8.13.19.1Q.1g.1c;8.R.2a(!0).4b(t,0,"8M",$.11(K(){8.R.1c(),8.2D=!1,1b.8a(8.1A),i&&i()},8))},2a:K(){N i=8.4c.7X;i.2z([]),8.R&&8.R.2a(!0),8.2J()},89:K(){8.5a&&(8.5a[0].4P="//cv:cw",8.5a.1F(),8.5a=1o)},1F:K(){8.2a(),8.89(),8.R&&8.R.1F(),8.6T&&(1b.8a(8.1A),8.6T=!1),8.6O&&(8.6O.2J(),8.6O=1o,8.6M=1o,8.83=1o),8.2D=!1,8.cx=!0},2J:K(){8.6Q&&(8.6Q.2J(),8.6Q=1o),8.8b&&(8.8b.2J(),8.8b=1o),8.86(),8.4f=!1},86:K(){8.6P&&(4Q(8.6P),8.6P=1o)},4H:K(i){N e=8.13.19.1w&&8.2R>1;3a(8.1D){1J"1P":1J"1R":15(!8.13.1E&&!e){Y 0}3s;1J"2y":15(!8.13.1E){Y 0}}N t="1R"==8.1D?8.6L:8.2S;"2y"==8.1D&&(i=1j.3d(i,Q.1Z.U));N s,n=t[0].3e.U;Y("1R"==8.1D||"1P"==8.1D)&&(n="2p%"),t.1f({U:i+"6U"}),s=6b(t.85()),t.1f({U:n}),s},5b:K(i,e){N t=[],s=Q.R.1G(8.R);e&&(s=s.1G(e)),$.1v(s,K(i,e){N s=$(e).31(":1V");s||t.2Y($(e).1d())});N n=8.R.a7("L-4Y-1E");8.R.1H("L-4Y-1E");N o=8.R.a7("L-4D-1E");8.R.V("L-4D-1E"),Q.R.1f({a8:"3R"}),i(),Q.R.1f({a8:"1V"}),n&&8.R.V("L-4Y-1E"),o||8.R.1H("L-4D-1E"),$.1v(t,K(i,e){e.1c()})},a9:K(){8.4V(),8.6H=8.13.19.cy,8.6V=!1,2w(8.R.1f("3d-U"))>0&&(8.6H=!0),2w(8.R.1f("3d-X"))>0&&(8.6V=!0)},87:K(i){8.a9();N i=8.6H?"1P":8.13.19.1s;8.1D&&8.R.1H("L-1s-"+8.1D),8.R.V("L-1s-"+i),8.1D=i},7O:K(){15(8.1g){N i=(8.R,$.1m({},Q.9F())),e=$.1m({},8.3f),t=8.2b;8.87();N s={1r:2w(t.1f("5U-1r")),1p:2w(t.1f("5U-1p"))};15("2y"==8.1D&&8.8c){N n=0;8.5b($.11(K(){8.8c.31(":1V")&&(n=8.8c.84(!0))},8)),n>s.1r&&(s.1r=n)}i.U-=2*s.1r,i.X-=2*s.1p;N o,a={U:!0,X:8.6V?!0:!8.13.19.3o.y},h=A.4t(i,e,a),r=$.1m({},h),d=(8.1g,0),l="1R"==8.1D,u=l?8.6L:8.2S,c=l?8.a1:8.1E,p=l?8.a0:8.9Y,f=!!c;3a(8.1D){1J"2y":N v,m=$.1m({},r);8.1E&&(v=8.1E,8.5b($.11(K(){1X(N e=0,t=2;t>e;){d=8.4H(r.U);N s=i.X-r.X;d>s&&(r=A.4t({U:r.U,X:1j.2o(r.X-(d-s),0)},r,a)),e++}d=8.4H(r.U);N n=0.5;(!8.13.19.3o.y&&d+r.X>i.X||u&&"cz"==u.1f("cA")||n&&d>=n*r.X)&&(f=!1,d=0,r=m)},8),v)),u&&u.1f({U:r.U+"6U"}),o={U:r.U,X:r.X+d};3s;1J"1R":15(8.1E){N v=c;8.5b($.11(K(){d=8.4H(r.U);N i=0.45;i&&d>=i*r.X&&(f=!1,d=0)},8),v)}o=r;3s;1J"1P":N g=[];c&&g.2Y(c),8.5b($.11(K(){15((c||p)&&u.1f({U:"2p%"}),d=8.4H(Q.1Z.U),c&&d>0.5*i.X){15(f=!1,p){N e=8.1E.31(":1V");8.1E.1c(),d=8.4H(Q.1Z.U),e&&8.1E.1d()}26{d=0}}r=A.4t({U:i.U,X:1j.2o(0,i.X-d)},r,a),o=r},8),g),8.1g.1f({"5U-3w":0})}c&&c[f?"1d":"1c"](),8.R[(f?"1F":"1G")+"2U"]("L-4Y-1E"),8.R[(f?"1G":"1F")+"2U"]("L-4D-1E"),8.1g.1f(r),8.1L.1f(o),8.5a&&8.5a.2P(r),8.4W={y:o.X+("1P"==8.1D?d:0)-Q.1Z.X,x:0},8.6T=!8.6V&&8.13.19.3o.y&&8.4W.y>0,8.3P=d,8.cB=s,8.aa=r,8.ab=o,1b[(8.6T?"2q":"1F")+"cC"](8.1A),8.1w()}},1w:K(){15(8.1g){N i=8.aa,e=8.ab,t={1p:0.5*Q.1Z.X-0.5*e.X,1r:0.5*Q.1Z.U-0.5*e.U},s={1p:t.1p+i.X,1r:t.1r},n=0,o="1R"==8.1D?8.6L:8.2S;3a(8.1D){1J"1P":t.1p=0.5*(Q.1Z.X-8.3P)-0.5*e.X,s={1p:Q.1Z.X-8.3P,1r:0,3w:"ac"},n=8.3P;3s;1J"1R":s={1p:"ac",1r:0,3w:0}}15(8.4W.y>0){N a=1b.ad();3a(t.1p=0-a.y*8.4W.y,8.1D){1J"2y":1J"1P":s.1p=Q.1Z.X-8.3P;3s;1J"1R":N h=t.1p+i.X-Q.1Z.X,r=-1*t.1p;15(s.3w=h,8.9Z.1f({1p:r}),8.2R>1){N d=Q.R.31(":1V");d||Q.R.1d();N l=8.4E.2P("3e");8.4E.59("3e");N u=2w(8.4E.1f("2E-1p"));8.4E.2P({3e:l}),d||Q.R.1c();N c=8.4E.1G(8.80),p=0.5*8.4W.y;c.1f({"2E-1p":u+(r-p)}),8.82&&8.82.1f({3w:h})}}}26{"1R"==8.1D&&8.R.7W(".L-2S, .L-1a, .L-1O, .L-1w-1R").59("3e")}o&&o.1f(s),8.2b.1f({3w:n}),8.1g.1f(t),8.1L.1f(t)}}}),i}(),1b={1C:K(i){8.R=i,8.1S=[],8.4e=1,8.3q=[]},2L:K(i){8.3C=i,8.7Q(),$.1v(i,$.11(K(i,e){8.1S.2Y(38 9V(e,i+1,8.3C.1y))},8))},1d:K(i,e){N t=8.1S[i-1];8.1i&&8.1i.4e==t.4e||(8.1i=t,H.1d(i),Q.7N(),t.1d($.11(K(){e&&e()},8)))},ae:K(i){N e=0;Y $.1v(8.1S,K(t,s){s.13.R&&s.13.R==i&&(e=t+1)}),e},cD:K(){N i=0;Y $.1v(8.1S,K(e,t){t.4f&&i++}),i},7Q:K(){$.1v(8.1S,K(i,e){e.1F()}),8.1S=[]},88:K(i,e){N t=[];$.1v(8.1S,$.11(K(i,e){e.4e!=8.1i.4e&&t.2Y(e)},8));N s=0+t.1y;Y 1>s?i&&i():$.1v(t,K(t,n){n.1c(K(){i&&1>--s&&i()},e)}),t.1y},a6:K(){$.1v(8.1S,$.11(K(i,e){e.4e!=8.1i.4e&&e.2a()},8))},2a:K(){$.1v(8.1S,K(i,e){e.2a()})},af:K(i){1u.1T&&9>1u.1T?(8.6W({x:i.4g,y:i.5V}),8.8d()):8.6X=3K($.11(K(){8.6W({x:i.4g,y:i.5V}),8.8d()},8),30)},ag:K(){8.6X&&(4Q(8.6X),8.6X=1o)},ah:K(){B.1U||8.5W||$(25.4q).1k("2F",8.5W=$.11(8.af,8))},ai:K(){!B.1U&&8.5W&&($(25.4q).1t("2F",8.5W),8.5W=1o,8.ag())},cE:K(i){8.aj(i)||(8.3q.2Y(8.1S[i-1]),1==8.3q.1y&&8.ah())},cF:K(){8.3q=[]},8a:K(i){8.3q=$.cG(8.3q,K(e){Y e.1A!=i}),1>8.3q.1y&&8.ai()},aj:K(i){N e=!1;Y $.1v(8.3q,K(t,s){Y s.1A==i?(e=!0,!1):1q 0}),e},6W:K(i){8.ak=i},ad:K(i){N e=1b.1i,t=$.1m({},Q.1Z),i=$.1m({},8.ak);i.y-=$(1l).9E(),e&&("2y"==e.1D||"1P"==e.1D)&&e.3P>0&&(t.X-=e.3P),i.y-=Q.3N.1p;N s={x:0,y:1j.3d(1j.2o(i.y/t.X,0),1)},n=20,o={x:"U",y:"X"},a={};Y $.1v("y".4N(" "),$.11(K(i,e){a[e]=1j.3d(1j.2o(n/t[o[e]],0),1),s[e]*=1+2*a[e],s[e]-=a[e],s[e]=1j.3d(1j.2o(s[e],0),1)},8)),8.al(s),8.am},al:K(i){8.am=i},8d:K(){1>8.3q.1y||$.1v(8.3q,K(i,e){e.1w()})}};$.1m(4L.3J,{1C:K(a){N b=2e[1]||{},d={};15("4K"==$.1e(a)){a={1x:a}}26{15(a&&1==a.8J){N c=$(a);a={R:c[0],1x:c.2P("4G"),1E:c.24("2n-1E"),5c:c.24("2n-5c"),5G:c.24("2n-5G"),1e:c.24("2n-1e"),19:c.24("2n-19")&&8e("({"+c.24("2n-19")+"})")||{}}}}15(a&&(a.5G||(a.5G=69(a.1x)),!a.1e)){N d=5r(a.1x);a.6Y=d,a.1e=d.1e}Y a.6Y||(a.6Y=5r(a.1x)),a.19=a&&a.19?$.1m(!0,$.1m({},b),$.1m({},a.19)):$.1m({},b),a.19=7B.4V(a.19,a.1e,a.6Y),$.1m(8,a),8}});N G={6Z:B.1f.7p&&B.1f.7o,1C:K(){8.R=$("<17>").V("L-2M").1c();1X(N i=1;12>=i;i++){8.R.14($("<17>").V("L-an-"+i))}8.R.1k("1K",$.11(K(){Q.1c()},8)),8.R.1k("2n:5v",K(i){i.3k()})},4z:K(i){8.6Z&&(8.4Z&&8.R.1H("L-2M-2g-"+8.4Z),8.8f(),8.R.V("L-2M-2g-"+i),8.4Z=i)},8f:K(){N i=8.3M;i||8.4a(),8.3F={U:8.R.84(),X:8.R.85()},i||8.3A()},4a:K(){8.3M||($(25.4X).14(8.R),8.3M=!0)},3A:K(){8.3M&&(8.R.3A(),8.3M=!1)},1d:K(i,e){8.2D=!0,8.4a(),8.6z();N t=1b.1i&&1b.1i.13.19.1Q.2M.1d||0,s=("2X"==$.1e(e)?e:t)||0;8.R.2a(!0).4b(s,1,i)},1c:K(i,e){8.2D=!1;N t=1b.1i&&1b.1i.13.19.1Q.2M.1c||0,s=("2X"==$.1e(e)?e:t)||0;8.R.2a(!0).7J(s||0,$.11(K(){8.3A(),i&&i()},8))},6z:K(){15(8.6Z){8.3F||8.8f();N i=1b.1i,e=0;i&&"1P"==i.1D&&i.5b(K(){e=i.4H(Q.1Z.U)}),8.R.1f({1p:Q.3N.1p+0.5*Q.1Z.X-0.5*8.3F.X-0.5*e,1r:Q.3N.1r+0.5*Q.1Z.U-0.5*8.3F.U})}}},5d={4h:!1,ao:!0,1C:K(){Q.1C(),8.4h||8.ap()},ap:K(){8.5X||$(25.4q).1k("1K",".2n[4G]",8.5X=$.11(8.8g,8)).1k("1K",8.8h=$.11(8.8i,8))},cH:K(){8.5X&&($(25.4q).1t("1K",".2n[4G]",8.5X).1t("1K",8.8h),8.8h=1o,8.5X=1o)},8i:K(i){1b.6W({x:i.4g,y:i.5V})},8g:K(i){15(!8.4h){i.3W(),i.3k();N e=i.cI;8.8i(i),5d.1d(e)}},1d:K(b){15(8.4h){Y 8.8j.3I(5d,3U.3V(2e)),1q 0}N c=2e[1]||{},1w=2e[2];2e[1]&&"2X"==$.1e(2e[1])&&(1w=2e[1],c={});N d=[],aq,4r=2v.4r(b);3a(aq=$.1e(b)){1J"4K":1J"cJ":N f=38 4L(b,c),5Y="24-2n-5c-19";15(f.5c){15(4r){N g=$(\'.2n[24-2n-5c="\'+$(b).24("2n-5c")+\'"]\'),h={};g.cK("["+5Y+"]").1v(K(i,a){$.1m(h,8e("({"+($(a).2P(5Y)||"")+"})"))}),g.1v(K(i,e){1w||e!=b||(1w=i+1),d.2Y(38 4L(e,$.1m({},h,c)))})}}26{N h={};4r&&$(b).31("["+5Y+"]")&&($.1m(h,8e("({"+($(b).2P(5Y)||"")+"})")),f=38 4L(b,$.1m({},h,c))),d.2Y(f)}3s;1J"ar":$.1v(b,K(i,e){N t=38 4L(e,c);d.2Y(t)})}N j={6K:{1E:!1}},8k=d[0].19.1s;$.1v(d,K(i,e){e.1E&&(j.6K.1E=!0),i>0&&e.19.1s!=8k&&(e.19.1s=8k)}),$.1v(d,K(i,e){e=$.1m(e,j)}),(!1w||1>1w)&&(1w=1),1w>d.1y&&(1w=d.1y);N k;4r&&(k=1b.ae(b))?Q.4B(k):Q.2L(d,1w)},8j:K(){K i(e){N t,s=$.1e(e);15("4K"==s){t=e}26{15("ar"==s&&e[0]){t=i(e[0])}26{15(2v.4r(e)&&$(e).2P("4G")){N t=$(e).2P("4G")}26{t=e.1x?e.1x:!1}}}Y t}Y K(e){15(8.ao){N t=i(e);t&&(1l.4S.4G=t)}}}()};(1u.1T&&7>1u.1T||"2X"==$.1e(1u.4p)&&3>1u.4p||1u.5t&&"2X"==$.1e(1u.4M)&&9y.18>1u.4M)&&(5d.1d=5d.8j);N H={1C:K(i){8.R=i,8.2r=[],8.3r="5T",8.1N={1n:{},2l:{},1h:{}},8.3g(),8.as()},3g:K(){8.R.14(8.34=$("<17>").V("L-1h-34").14(8.8l=$("<17>").V("L-1h-cL").14(8.23=$("<17>").V("L-1h-1a L-1h-1a-1B").14(8.at=$("<17>").V("L-1h-1a-1M").14($("<17>").V("L-1h-1a-1M-1L")).14($("<17>").V("L-1h-1a-1M-2T")))).14(8.5Z=$("<17>").V("L-1h-70").14(8.60=$("<17>").V("L-1h-4U"))).14(8.2A=$("<17>").V("L-1h-1a L-1h-1a-1z").14(8.au=$("<17>").V("L-1h-1a-1M").14($("<17>").V("L-1h-1a-1M-1L")).14($("<17>").V("L-1h-1a-1M-2T"))))))},as:K(){8.8l.8g(".L-1n","1K",$.11(K(i){i.3W();N e=$(i.4s).cM(".L-1n")[0],t=e&&$(e).24("L-1w");t&&(8.8m(t),Q.4B(t))},8)),8.8l.3l("1K",K(i){i.3W()}),8.23.3l("1K",$.11(8.av,8)),8.2A.3l("1K",$.11(8.aw,8))},2L:K(i){8.2x();N e="3p",t=!1;$.1v(i,$.11(K(i,s){"5T"==s.19.1h&&(e="5T"),s.19.1h||(t=!0)},8)),8.ax(e),8.8n=t,8.8n=!0,$.1v(i,$.11(K(i,e){8.2r.2Y(38 7d(e,i+1))},8)),8.7M()},2x:K(){$.1v(8.2r,K(i,e){e.1F()}),8.2r=[],8.1A=-1,8.3S=-1},ax:K(i){8.3r&&Q.R.1H("L-1h-"+8.3r),Q.R.V("L-1h-"+i),8.3r=i},2Z:K(){Q.R.1H("L-1h-2s").V("L-1h-3b"),8.4h=!0},3h:K(){Q.R.1H("L-1h-3b").V("L-1h-2s"),8.4h=!1},2s:K(){Y!8.4h},3b:K(){Y 8.4h},8o:K(){N i=Q.R,e=8.1N,t=8.3r,s="3p"==t,n=s?"1p":"1r",o=s?"1r":"1p",a=s?"3w":"1r",h=s?"1p":"3L",r=s?"U":"X",d=s?"X":"U",l={1r:"3L",3L:"1r",1p:"3w",3w:"1p"};8.R.1H("L-1h-6v");N u=i.31(":1V");15(u||i.1d(),8.3b()&&8.3h(),!8.R.31(":1V")||2>8.2r.1y||8.8n){Y 8.2Z(),$.1m(8.1N.1h,{U:0,X:0}),u||i.1c(),8.R.V("L-1h-6v"),1q 0}8.3h();N c=8.23,p=8.2A,f=8.5Z,v=z.5s(),m=8.R["8p"+2v.3c.3y(d)](),g=2w(8.5Z.1f("5U-"+n))||0,w=1j.2o(m-2*g,0),b=2w(8.5Z.1f("5U-"+o))||0,y=(2w(8.R.1f("2E-"+a))||0)+(2w(8.R.1f("2E-"+h))||0);$.1m(e.1h,{X:m+y,U:v[s?"U":"X"],cN:g}),$.1m(e.1n,{X:w,U:w}),$.1m(e.2l,{U:w+2*b,X:m}),e.3Q={1B:{U:p["8p"+2v.3c.3y(r)](),71:2w(c.1f("2E-"+o))||0,72:2w(c.1f("2E-"+l[o]))||0},1z:{U:p["8p"+2v.3c.3y(r)](),71:2w(p.1f("2E-"+o))||0,72:2w(p.1f("2E-"+l[o]))||0}};N x=v[r],k=e.2l.U,f=8.2r.1y;e.1h.U=x,e.3Q.2s=f*k/x>1;N C=x,W=e.3Q,S=W.1B,M=W.1z,T=S.71+S.U+S.72+M.71+M.U+M.72;e.3Q.2s&&(C-=T),C=1j.ay(C/k)*k;N I=f*k;C>I&&(C=I);N P=C+(e.3Q.2s?T:0);e.4i=C/k,8.63="1i",1>=e.4i&&(C=x,P=x,e.3Q.2s=!1,8.63="6z"),e.1S=1j.64(f*k/C),e.34={U:P+1,X:m},e.70={U:C,X:m},e.4U={U:f*k+1,X:m},u||i.1c(),8.R.V("L-1h-6v")},1c:K(){8.2Z(),8.1h.1c(),8.2D=!1},9G:K(){N i="3p"==8.3r;Y{U:i?8.1N.1h.U:8.1N.1h.X,X:i?8.1N.1h.X:8.1N.1h.U}},7M:K(){15(8.8o(),!8.3b()){N i=$.1m({},8.1N),e="3p"==8.3r;$.1v(8.2r,K(i,e){e.51()}),8.23[i.3Q.2s?"1d":"1c"](),8.2A[i.3Q.2s?"1d":"1c"](),8.5Z.1f({U:i.70[e?"U":"X"],X:i.70[e?"X":"U"]}),8.60.1f({U:i.4U[e?"U":"X"],X:i.4U[e?"X":"U"]});N t={U:i.34[e?"U":"X"],X:i.34[e?"X":"U"]};t["2E-"+(e?"1r":"1p")]=1j.35(-0.5*i.34.U)+"6U",t["2E-"+(e?"1p":"1r")]=0,8.34.1f(t),8.1A&&8.5E(8.1A,!0)}},8q:K(i){15(!(1>i||i>8.1N.1S||i==8.3S)){N e=8.1N.4i*(i-1)+1;8.5E(e)}},av:K(){8.8q(8.3S-1)},aw:K(){8.8q(8.3S+1)},1d:K(i){N e=0>8.1A;1>i&&(i=1);N t=8.2r.1y;i>t&&(i=t),8.1A=i,8.8m(i),("1i"!=8.63||8.3S!=1j.64(i/8.1N.4i))&&8.5E(i,e)},5E:K(i,e){15(8.8o(),!8.3b()){N t,s="3p"==8.3r,n=z.5s()[s?"U":"X"],o=0.5*n,a=8.1N.2l.U;15("1i"==8.63){N h=1j.64(i/8.1N.4i);8.3S=h,t=-1*a*(8.3S-1)*8.1N.4i;N r="L-1h-1a-1M-3b";8.at[(2>h?"1G":"1F")+"2U"](r),8.au[(h>=8.1N.1S?"1G":"1F")+"2U"](r)}26{t=o+-1*(a*(i-1)+0.5*a)}N h=1b.1i,d={},l={};d[s?"1p":"1r"]=0,l[s?"1r":"1p"]=t+"6U",8.60.2a(!0).1f(d).az(l,e?0:h?h.13.19.1Q.1h.4U||0:0,$.11(K(){8.aA()},8))}},aA:K(){N i,e;15(8.1A&&8.1N.2l.U&&!(1>8.2r.1y)){15("1i"==8.63){15(1>8.3S){Y}i=(8.3S-1)*8.1N.4i+1,e=1j.3d(i-1+8.1N.4i,8.2r.1y)}26{"3p"==8.3r;N t=1j.64(8.1N.1h.U/8.1N.2l.U);i=1j.2o(1j.ay(1j.2o(8.1A-0.5*t,0)),1),e=1j.64(1j.3d(8.1A+0.5*t)),e>8.2r.1y&&(e=8.2r.1y)}1X(N s=i;e>=s;s++){8.2r[s-1].2L()}}},8m:K(i){8.60.7W(".L-1n-8r").1H("L-1n-8r");N e=i&&8.2r[i-1];e&&e.aB()},cO:K(){8.1A&&8.4B(8.1A)}};$.1m(7d.3J,{1C:K(i,e){8.13=i,8.cP={},8.1A=e,8.aC()},aC:K(){8.1n=$("<17>").V("L-1n").24("L-1w",8.1A)},3g:K(){15(!8.2l){N i=8.13.19;H.60.14(8.2l=$("<17>").V("L-1n-cQ").14(8.1n.14(8.65=$("<17>").V("L-1n-34")))),"2f"==8.13.1e&&8.1n.V("L-2L-1n").24("1n",{13:8.13,4P:i.1n||8.13.1x});N e=i.1n&&i.1n.2T;e&&8.1n.14($("<17>").V("L-1n-2T L-1n-2T-"+e));N t;8.1n.14(t=$("<17>").V("L-1n-29").14($("<17>").V("L-1n-29-1L")).14(8.4f=$("<17>").V("L-1n-4f").14($("<17>").V("L-1n-4f-1L")).14(8.2M=$("<17>").V("L-1n-2M").1c().14($("<17>").V("L-1n-2M-an")))).14($("<17>").V("L-1n-29-cR"))),8.1n.14($("<17>").V("L-1n-cS")),8.51()}},1F:K(){8.2l&&(8.2l.1F(),8.2l=1o,8.2f=1o),8.66&&(8.66.2J(),8.66=1o),8.73&&(8.73.2J(),8.73=1o),8.5e=!1,8.aD=!0,8.13=1o,8.74()},2L:K(){15(!(8.8s||8.5e||8.aD)){8.65||8.3g(),8.5e=!0;N i=8.13.19.1n,e=i&&"6u"==$.1e(i)?8.13.1x:i||8.13.1x;15(8.67=e,e){15("2K"==8.13.1e){15(e==i){8.67=e,8.75(8.67)}26{3a(8.13.1e){1J"2K":8.73=38 9o(8.13.1x,$.11(K(i){8.67=i,8.75(i)},8),$.11(K(){8.8t()},8))}}}26{8.75(8.67)}}}},aB:K(){8.1n.V("L-1n-8r")},75:K(i){8.65.a4(8.2f=$("<2B>").V("L-1n-2f").2P({4P:i}).1f({3m:0.cT})),8.aE(),8.66=38 D(8.2f[0],$.11(K(i){N e=i.2B;8.2l&&8.5e&&(8.8s=!0,8.5e=!1,8.3F={U:e.2W,X:e.6o},8.51(),8.1d())},8),$.11(K(){8.8t()},8),{5z:8.13.19.7F})},8t:K(){8.8s=!0,8.5e=!1,8.1n.V("L-1n-2I"),8.2f.1c(),8.65.14($("<17>").V("L-1n-2f")),8.1d()},aE:K(){15(G.6Z&&8.13.19.2M){8.74();N i=8.13.19.1Q.1n;8.3X=3K($.11(K(){8.2M.2a(!0).4b(i.1d||0,1)},8),8.13.19.7G||0)}},1d:K(){8.74();N i=8.13.19.1Q.1n;8.4f.2a(!0).7D(i.7D).4b(i.1d,0)},74:K(){8.3X&&(4Q(8.3X),8.3X=1o)},51:K(){15(8.2l){N i="3p"==H.3r;15(8.2l.1f({U:H.1N.2l[i?"U":"X"],X:H.1N.2l[i?"X":"U"]}),8.2l.1f({1p:i?0:H.1N.2l.U*(8.1A-1),1r:i?H.1N.2l.U*(8.1A-1):0}),8.65){N e=H.1N.1n;15(8.1n.1f({U:e.U,X:e.X,"2E-1p":1j.35(-0.5*e.X),"2E-1r":1j.35(-0.5*e.U),"2E-3w":0,"2E-3L":0}),8.3F){N t,s={U:e.U,X:e.X},n=1j.2o(s.U,s.X),o=$.1m({},8.3F);15(o.U>s.U&&o.X>s.X){t=A.4t(s,o);N a=1,h=1;t.U1&&(t.U*=r,t.X*=r),$.1v("U X".4N(" "),K(i,e){t[e]=1j.35(t[e])})}26{t=A.4t(8.3F,o.U .L-2k",".L-1g > .L-2k .L-2k-2C"].6g(", "),1C:K(){$.1v(8.68,$.11(K(i,e){8[e].1C()},8)),Q.R.V("L-1s-1R-3R L-1s-1P-3R")},2q:K(i){8.1D&&(Q.R.1H("L-1l-1s-"+8.1D),44.R.1H("L-29-1s-"+8.1D)),Q.R.V("L-1l-1s-"+i),44.R.V("L-29-1s-"+i),8.8v&&8.1D&&8.1D!=i&&(8[8.1D].2Z(),8[i].3h(),J[i].1d()),8.1D=i},6x:K(){B.1U&&8.1d()},3h:K(){$.1v(8.68,$.11(K(i,e){J[e][e==8.1D?"3h":"2Z"]()},8)),8.8v=!0},2Z:K(){$.1v(8.68,$.11(K(i,e){J[e].2Z()},8)),8.8v=!1},4A:K(i,e){J[8.1D].4A(i,e)},1d:K(i,e){J[8.1D].1d(i,e)},1c:K(i,e){J[8.1D].1c(i,e)},53:K(){$.1v(8.68,$.11(K(i,e){J[e].53()},8))},9D:K(){N i=1b.1i;i&&8.2q(i.1D)}};Y J.1P={1C:K(){8.3g(),8.2c=-1},3g:K(){Q.1W.14(8.23=$("<17>").V("L-1a L-1a-1B L-1a-1B-1P L-4F-1s").14($("<17>").V("L-1a-1M").14($("<17>").V("L-1a-1M-1L")).14($("<17>").V("L-1a-1M-2T")))).14(8.2A=$("<17>").V("L-1a L-1a-1z L-1a-1z-1P L-4F-1s").14($("<17>").V("L-1a-1M").14($("<17>").V("L-1a-1M-1L")).14($("<17>").V("L-1a-1M-2T")))).14(8.4j=$("<17>").V("L-1O L-1O-1P").14($("<17>").V("L-1O-1L")).14($("<17>").V("L-1O-2T"))),1u.1T&&7>=1u.1T&&8.23.1G(8.2A).1G(8.4j).1c(),8.4j.1k("1K",$.11(K(i){i.3k(),Q.1c()},8)),8.23.1k("1K",$.11(K(i){Q.1B(),8.2u(i)},8)),8.2A.1k("1K",$.11(K(i){Q.1z(),8.2u(i)},8))},3h:K(){8.3l()},2Z:K(){8.3T()},53:K(){Q.1Y.2x("1s-1P"),8.4I=-1,8.4J=-1,8.2c=-1,8.aF(),8.3G()},aF:K(){N i=8.23.1G(8.2A);i.2a(!0).59("3e")},3l:K(){8.2V||(8.3T(),Q.2h.1k("5f",".L-2b",8.2V=$.11(8.5g,8)),B.1U||(Q.R.1k("2G",8.4k=$.11(8.1d,8)).1k("2H",8.76=$.11(8.1c,8)),Q.R.1k("2F",8.77=$.11(K(i){N e=i.4g,t=i.5V;8.4l||t==8.4J&&e==8.4I||(8.4I=e,8.4J=t,8.1d(),8.3H())},8)),Q.2h.1k("2F",".L-2b",8.4m=$.11(8.2u,8)).1k("2H",".L-2b",8.5h=$.11(8.3G,8)).1k("2G",".L-2b",8.5i=$.11(8.5j,8)),Q.R.1k("2G",".L-1a",8.5k=$.11(8.5l,8)).1k("2H",".L-1a",8.5m=$.11(8.5n,8)),$(1l).1k("3B",8.5o=$.11(8.4d,8))))},3T:K(){8.2V&&(Q.2h.1t("5f",".L-2b",8.2V),8.2V=1o,8.4k&&(Q.R.1t("2G",8.4k).1t("2H",8.76).1t("2F",8.77),Q.2h.1t("2F",".L-2b",8.4m).1t("2H",".L-2b",8.5h).1t("2G",".L-2b",8.5i),Q.R.1t("2G",".L-1a",8.5k).1t("2H",".L-1a",8.5m),$(1l).1t("3B",8.5o),8.4k=1o))},4A:K(i,e){N t=1b.1i;15(!t){Y i&&i(),1q 0}N s=Q.R.31(":1V");s||Q.R.1d();N n=8.23.2P("3e");8.23.59("3e");N o=2w(8.23.1f("2E-1p"));8.23.2P({3e:n}),s||Q.R.1c();N a=t.3P||0,h=8.23.1G(8.2A),r={"2E-1p":o-0.5*a},d="2X"==$.1e(e)?e:1b.1i&&1b.1i.13.19.1Q.1g.1d||0;8.6A&&(d=0),h.2a(!0).az(r,d,i),8.23[(Q.6C()?"1F":"1G")+"2U"]("L-1a-3b"),8.2A[(Q.6E()?"1F":"1G")+"2U"]("L-1a-3b"),h[(2>t.2R?"1G":"1F")+"2U"]("L-1a-3R"),i&&i()},4d:K(){8.2c=$(1l).5p()},2u:K(i){15(!B.1U){N e=8.3i(i),t=2v.3c.3y(e),s=e?Q["5q"+t]():!1;15(e!=8.2m||s!=8.3j){3a(8.2m=e,8.3j=s,Q.1W[(s?"1G":"1F")+"2U"]("L-1I-4n"),e){1J"1B":Q.1W.V("L-1I-1B").1H("L-1I-1z");3s;1J"1z":Q.1W.V("L-1I-1z").1H("L-1I-1B")}}}},3G:K(){Q.1W.1H("L-1I-4n L-1I-1B L-1I-1z"),8.2m=!1},5g:K(i){15(!(i.8w>1)){15(1==1b.1S.1y){Y Q.1c(),1q 0}N e=8.3i(i);Q[e](),8.2u(i)}},5j:K(i){8.2u(i)},3i:K(i){N e=(8.2c>-1?8.2c:8.2c=$(1l).5p(),i.4g-Q.3N.1r-8.2c),t=Q.1Z.U;Y 0.5*t>e?"1B":"1z"},5l:K(i){8.4l=!0,8.2m=8.3i(i),8.3j=Q["5q"+2v.3c.3y(8.2m)](),8.4o()},5n:K(){8.4l=!1,8.2m=!1,8.3j=!1,8.3H()},1d:K(i){Y 8.2D?(8.3H(),"K"==$.1e(i)&&i(),1q 0):(8.2D=!0,8.3H(),Q.R.V("L-1V-1P-1s").1H("L-3R-1P-1s"),1u.1T&&7>=1u.1T&&8.23.1G(8.2A).1G(8.4j).1d(),"K"==$.1e(i)&&i(),1q 0)},1c:K(i){N e=1b.1i&&1b.1i.13.1e;Y!8.2D||e&&("3n"==e||"2K"==e)?("K"==$.1e(i)&&i(),1q 0):(8.2D=!1,Q.R.1H("L-1V-1P-1s").V("L-3R-1P-1s"),"K"==$.1e(i)&&i(),1q 0)},4o:K(){B.1U||Q.1Y.2x("1s-1P")},3H:K(){B.1U||(8.4o(),Q.1Y.2q("1s-1P",$.11(K(){8.1c()},8),Q.13?Q.13.19.7I:0))}},J.1R={1C:K(){},3h:K(){8.3l()},2Z:K(){8.3T()},3l:K(){8.2V||(8.3T(),Q.2h.1k("5f",".L-1g",8.2V=$.11(8.5g,8)),Q.2h.1k("1K",".L-1g .L-1O",$.11(K(i){i.3k(),Q.1c()},8)).1k("1K",".L-1g .L-1a-1B",$.11(K(i){Q.1B(),8.2u(i)},8)).1k("1K",".L-1g .L-1a-1z",$.11(K(i){Q.1z(),8.2u(i)},8)),Q.R.1k("1K",".L-2b, .L-1h, .L-1h-34",8.78=$.11(8.79,8)),B.1U||(Q.R.1k("2G",".L-1g",8.4k=$.11(8.1d,8)).1k("2H",".L-1g",8.76=$.11(8.1c,8)),Q.R.1k("2F",".L-1g",8.77=$.11(K(i){N e=i.4g,t=i.5V;8.4l||t==8.4J&&e==8.4I||(8.4I=e,8.4J=t,8.1d(),8.3H())},8)),Q.2h.1k("2F",".L-2S, .L-1O",$.11(K(i){i.3W(),8.3G(i)},8)),Q.2h.1k("2F",".L-2S",$.11(K(){8.4o()},8)),Q.2h.1k("2F",".L-1g",8.4m=$.11(8.2u,8)).1k("2H",".L-1g",8.5h=$.11(8.3G,8)).1k("2G",".L-1g",8.5i=$.11(8.5j,8)),Q.R.1k("2G",".L-1a",8.5k=$.11(8.5l,8)).1k("2H",".L-1a",8.5m=$.11(8.5n,8)),$(1l).1k("3B",8.5o=$.11(8.4d,8))))},3T:K(){8.2V&&(Q.2h.1t("5f",".L-1g",8.2V),8.2V=1o,Q.2h.1t("1K",".L-1g .L-1O").1t("1K",".L-1g .L-1a-1B").1t("1K",".L-1g .L-1a-1z"),Q.R.1t("1K",".L-2b, .L-1h, .L-1h-34",8.78),8.4k&&(Q.R.1t("2G",".L-1g",8.4k).1t("2H",".L-1g",8.76).1t("2F",".L-1g",8.77),Q.2h.1t("2F",".L-2S, .L-1O"),Q.2h.1t("2F",".L-2S"),Q.2h.1t("2F",".L-1g-R",8.4m).1t("2H",".L-1g",8.5h).1t("2G",".L-1g",8.5i),Q.R.1t("2G",".L-1a",8.5k).1t("2H",".L-1a",8.5m),$(1l).1t("3B",8.5o),8.4k=1o))},53:K(){Q.1Y.2x("1s-1P"),8.4I=-1,8.4J=-1,8.2c=-1,8.2m=!1,8.3G()},4A:K(i){i&&i()},4d:K(){8.2c=$(1l).5p()},79:K(i){N e=1b.1i;e&&e.13.19.29&&!e.13.19.29.1O||$(i.4s).31(".L-2b, .L-1h, .L-1h-34")&&(i.3k(),i.3W(),Q.1c())},2u:K(i){15(!B.1U){N e=8.3i(i),t=2v.3c.3y(e),s=e?Q["5q"+t]():!1;15((1==1b.1S.1y||1b.1i&&"1O"==1b.1i.13.19.5H)&&(e=!1),e!=8.2m||s!=8.3j){15(8.2m=e,8.3j=s,e){3a(Q.1W[(s?"1G":"1F")+"2U"]("L-1I-4n"),e){1J"1B":Q.1W.V("L-1I-1B").1H("L-1I-1z");3s;1J"1z":Q.1W.V("L-1I-1z").1H("L-1I-1B")}}26{Q.1W.1H("L-1I-4n L-1I-1B L-1I-1z")}}}},3G:K(){Q.1W.1H("L-1I-4n L-1I-1B L-1I-1z"),8.2m=!1},5g:K(i){15(!(i.8w>1)&&$(i.4s).31(J.8u)){15(1==1b.1S.1y||1b.1i&&"1O"==1b.1i.13.19.5H){Y Q.1c(),1q 0}N e=8.3i(i);Q[e](),8.2u(i)}},5j:K(i){8.2u(i)},3i:K(i){N e=(8.2c>-1?8.2c:8.2c=$(1l).5p(),i.4g-Q.3N.1r-8.2c),t=Q.1Z.U;Y 0.5*t>e?"1B":"1z"},5l:K(i){8.4l=!0,8.2m=8.3i(i),8.3j=Q["5q"+2v.3c.3y(8.2m)](),8.4o()},5n:K(){8.4l=!1,8.2m=!1,8.3j=!1,8.3H()},1d:K(i){Y 8.2D?(8.3H(),"K"==$.1e(i)&&i(),1q 0):(8.2D=!0,8.3H(),Q.R.V("L-1V-1R-1s").1H("L-3R-1R-1s"),"K"==$.1e(i)&&i(),1q 0)},1c:K(i){Y 8.2D?(8.2D=!1,Q.R.1H("L-1V-1R-1s").V("L-3R-1R-1s"),"K"==$.1e(i)&&i(),1q 0):("K"==$.1e(i)&&i(),1q 0)},4o:K(){B.1U||Q.1Y.2x("1s-1R")},3H:K(){B.1U||(8.4o(),Q.1Y.2q("1s-1R",$.11(K(){8.1c()},8),Q.13?Q.13.19.7I:0))}},J.2y={1C:K(){8.3g(),8.2c=-1},3g:K(){Q.1W.14(8.23=$("<17>").V("L-1a L-1a-1B L-1a-1B-2y").14($("<17>").V("L-1a-1M").14($("<17>").V("L-1a-1M-1L")).14($("<17>").V("L-1a-1M-2T")))).14(8.2A=$("<17>").V("L-1a L-1a-1z L-1a-1z-2y").14($("<17>").V("L-1a-1M").14($("<17>").V("L-1a-1M-1L")).14($("<17>").V("L-1a-1M-2T")))).14(8.4j=$("<17>").V("L-1O L-1O-2y").14($("<17>").V("L-1O-1L")).14($("<17>").V("L-1O-2T"))),1u.1T&&7>=1u.1T&&8.23.1G(8.2A).1G(8.4j).1c(),8.4j.1k("1K",$.11(K(i){i.3k(),Q.1c()},8)),8.23.1k("1K",$.11(K(i){Q.1B(),8.2u(i)},8)),8.2A.1k("1K",$.11(K(i){Q.1z(),8.2u(i)},8))},3h:K(){8.3l()},2Z:K(){8.3T()},53:K(){Q.1Y.2x("1s-2y"),8.4I=-1,8.4J=-1,8.2c=-1,8.3G()},3l:K(){8.2V||(8.3T(),Q.R.1k("5f",".L-1g",8.2V=$.11(8.5g,8)),Q.R.1k("1K",".L-2b, .L-1h, .L-1h-34",8.78=$.11(8.79,8)),B.1U||(Q.2h.1k("2F",".L-1g",8.4m=$.11(8.2u,8)).1k("2H",".L-1g",8.5h=$.11(8.3G,8)).1k("2G",".L-1g",8.5i=$.11(8.5j,8)),Q.R.1k("2G",".L-1a",8.5k=$.11(8.5l,8)).1k("2H",".L-1a",8.5m=$.11(8.5n,8)),$(1l).1k("3B",8.5o=$.11(8.4d,8))))},3T:K(){8.2V&&(Q.R.1t("5f",".L-1g",8.2V),8.2V=1o,Q.R.1t("1K",".L-2b, .L-1h, .L-1h-34",8.78),8.4m&&(Q.2h.1t("2F",".L-1g",8.4m).1t("2H",".L-1g",8.5h).1t("2G",".L-1g",8.5i),Q.R.1t("2G",".L-1a",8.5k).1t("2H",".L-1a",8.5m),$(1l).1t("3B",8.5o),8.4m=1o))},4A:K(i){N e=1b.1i;15(!e){Y i&&i(),1q 0}N t=8.23.1G(8.2A);8.23[(Q.6C()?"1F":"1G")+"2U"]("L-1a-3b"),8.2A[(Q.6E()?"1F":"1G")+"2U"]("L-1a-3b"),t[(2>e.2R?"1G":"1F")+"2U"]("L-1a-3R"),i&&i()},4d:K(){8.2c=$(1l).5p()},79:K(i){N e=1b.1i;e&&e.13.19.29&&!e.13.19.29.1O||$(i.4s).31(".L-2b, .L-1h, .L-1h-34")&&(i.3k(),i.3W(),Q.1c())},2u:K(i){15(!B.1U){N e=8.3i(i),t=2v.3c.3y(e),s=e?Q["5q"+t]():!1;15((1==1b.1S.1y||1b.1i&&"1O"==1b.1i.13.19.5H)&&(e=!1),e!=8.2m||s!=8.3j){15(8.2m=e,8.3j=s,e){3a(Q.1W[(s?"1G":"1F")+"2U"]("L-1I-4n"),e){1J"1B":Q.1W.V("L-1I-1B").1H("L-1I-1z");3s;1J"1z":Q.1W.V("L-1I-1z").1H("L-1I-1B")}}26{Q.1W.1H("L-1I-4n L-1I-1B L-1I-1z")}}}},3G:K(){Q.1W.1H("L-1I-4n L-1I-1B L-1I-1z"),8.2m=!1},5g:K(i){15(!(i.8w>1)&&$(i.4s).31(J.8u)){15(1==1b.1S.1y||1b.1i&&"1O"==1b.1i.13.19.5H){Y Q.1c(),1q 0}N e=8.3i(i);Q[e](),8.2u(i)}},5j:K(i){8.2u(i)},3i:K(i){N e=(8.2c>-1?8.2c:8.2c=$(1l).5p(),i.4g-Q.3N.1r-8.2c),t=Q.1Z.U;Y 0.5*t>e?"1B":"1z"},1d:K(){1u.1T&&7>=1u.1T&&8.23.1G(8.2A).1G(8.4j).1d()},1c:K(){},5l:K(i){8.4l=!0,8.2m=8.3i(i),8.3j=Q["5q"+2v.3c.3y(8.2m)]()},5n:K(){8.4l=!1,8.2m=!1,8.3j=!1},4o:K(){}},$(25).66(K(){5d.1C()}),q});',62,800,'||||||||this||||||||||||||||||||||||||||||||||||||function|fr||var|||Window|element|||width|addClass||height|return|||proxy||view|append|if||div||options|side|Pages|hide|show|type|css|content|thumbnails|page|Math|on|window|extend|thumbnail|null|top|void|left|ui|off|Browser|each|position|url|length|next|_position|previous|initialize|_ui|caption|remove|add|removeClass|hovering|case|click|background|button|_vars|close|fullclick|effects|inside|pages|IE|mobileTouch|visible|_box|for|timers|_boxDimensions||116|105|_previous|data|document|else||cache|overlay|stop|container|_scrollLeft||arguments|image|skin|_pages|101|_m|stroke|thumbnailFrame|_hoveringSide|fresco|max|100|set|_thumbnails|enabled|111|_onMouseMove|_|parseInt|clear|outside|queue|_next|img|color|_visible|margin|mousemove|mouseenter|mouseleave|error|abort|vimeo|load|spinner|114|110|attr|115|_total|info|icon|Class|_onMouseUpHandler|naturalWidth|number|push|disable||is|||wrapper|round|||new||switch|disabled|String|min|style|dimensions|build|enable|_getEventSide|_mayClickHoveringSide|preventDefault|bind|opacity|youtube|overflow|horizontal|_tracking|_orientation|break|109|112|_i|bottom|indexOf|capitalize|charAt|detach|scroll|views|108|102|_dimensions|_onMouseLeave|startTimer|apply|prototype|setTimeout|right|_attached|_boxPosition|104|_infoHeight|sides|hidden|_page|unbind|_slice|call|stopPropagation|_delay|html|_timers|||_xhr|keyboard|Overlay||||||attach|fadeTo|queues|_onScroll|uid|loading|pageX|_disabled|ipp|_close|_showHandler|_hoveringSideButton|_onMouseMoveHandler|clickable|clearTimer|Android|documentElement|isElement|target|within|isVideo|com|id|defaults|loop|setSkin|adjustPrevNext|setPosition|103|has|previousInside|toggle|href|_getInfoHeight|_x|_y|string|View|WebKit|split|_ipos|src|clearTimeout|detect|location|callback|slide|create|overlap|body|no|_skin||resize||reset|||121|count||removeAttr|playerIframe|_whileVisible|group|_Fresco|_loading|mouseup|_onMouseUp|_onMouseLeaveHandler|_onMouseEnterHandler|_onMouseEnter|_onSideMouseEnterHandler|_onSideMouseEnter|_onSideMouseLeaveHandler|_onSideMouseLeave|_onScrollHandler|scrollLeft|may|getURIData|viewport|MobileSafari|120|mousewheel|svg|successCallback|errorCallback|method|intervals|hex2fill|Canvas|radius|moveTo|get|extension|onClick|preload|initialTypeOptions|maxWidth|maxHeight|_first|Fire|_showingType|_onWindowResizeHandler|keyCode|118|check|vertical|padding|pageY|_handleTracking|_delegateHandler|_dgo|_thumbs|_slide|||_mode|ceil|thumbnailWrapper|ready|_url|_modes|detectExtension|exec|parseFloat|IEMobile|originalEvent|in|substr|join|canvas|getContext|touch|onload|success|_time|_polling|naturalHeight|substring|arc|delete|zA|150|boolean|measured|showing|_onWindowResize|adjustToScroll|center|opening|_show|mayPrevious|getSurroundingIndexes|mayNext|_onKeyUpHandler|vz|_fullClick|span|text|grouped|infoInside|preloading|loaded|preloadReady|_spinnerDelay|imageReady|_markAsLoaded|setDimensions|_track|px|_noOverflow|setXY|_tracking_timer|_data|supported|thumbs|marginLeft|marginRight|vimeoThumbnail|_clearDelay|_load|_hideHandler|_mousemoveHandler|_delegateOverlayCloseHandler|_delegateOverlayClose|define|Timers|replace|Thumbnail|version|Skins|Gecko|Opera|opera|Chrome|Array|slice|toUpperCase|PI|animation|transform|http|test|supports|pollFallbackAfter|poll|fallback|_fallbackImg|180|expand|Z0|api|Options|300|delay|esc|loadedMethod|spinnerDelay|sync|uiDelay|fadeOut|getScrollDimensions|video|fitToViewport|updateBoxDimensions|fitToBox|Keyboard|removeAll|_onKeyDownHandler|getKeyByKeyCode|_shown|removeStyle|119|find|showhide|clone|infoPadder|nextInside|infoPadderInside|positionInside|preloaded|outerWidth|outerHeight|_abortSpinnerDelay|updateUI|hideInactive|removeVideo|removeTracking|vimeoReady|_positionOutside|updatePositions|eval|updateDimensions|delegate|_setClickXYHandler|setClickXY|showFallback|firstUI|_slider|setActive|_disabledGroup|updateVars|inner|moveToPage|active|_loaded|_error|_validClickTargetSelector|_enabled|which|typeof|jQuery|Fresco|baseToString|Types|match|toLowerCase|RegExp|AppleWebKit|ChromeMobile|CrMo|navigator|nodeType|wheelDelta|detail|frescoEaseInCubic|prefix|createElement|createElementNS|2000|DocumentTouch|detectMobileTouch|Image|isLoaded|1000|undefined|_usedPollFallback|_calledSuccess|_calledError||red|green|blue|000||fff||||init|drawRoundedRectangle|fillRect|x1|y1|x2|y2|dPA|fillStyle|absolute|clearAll|extensions|youtu|vi|VimeoThumbnail|https|protocol|getJSON|oembed|json|thumbnail_url|autoplay|1280|mobile|533|setShowingType|startObservingResize|orientationchange|stopObservingResize|update|scrollTop|getBoxDimensions|getDimensions|_hide|_reset|stopHideQueue|keydown|onKeyDown|keyup|onKeyUp|117|vis|vb|imp|random|_to|addStyle|Page|_created|padder|pos|closeInside|posInside|captionInside|_getSurroundingPages|preloadSurroundingImages|prepend|raise|stopInactive|hasClass|visibility|updateForced|_contentDimensions|_backgroundDimensions|auto|getXYP|getPositionInActivePageGroup|handleTracking|clearTrackingTimer|startTracking|stopTracking|isTracking|_xy|setXYP|_xyp|spin|_fallback|startDelegating|object_type|array|startObserving|_previous_button|_next_button|previousPage|nextPage|setOrientation|floor|animate|loadCurrentPage|activate|preBuild|_removed|fadeInSpinner|resetPrevNext|amd|jquery|clientWidth|innerWidth|innerHeight|attachEvent|MSIE|KHTML|rv|Apple|Mobile|Safari|userAgent|Event|trigger|isPropagationStopped|isDefaultPrevented|DOMMouseScroll|easing|frescoEaseInSine|cos|frescoEaseOutSine|sin|Webkit|Moz|ms|Khtml|prefixed|www|w3|org|createSVGRect|try|ontouchstart||instanceof|catch|Win|Mac|Linux|platform|complete|4000|20000|500|onerror|rgba|255|360|hue|saturation|brightness|0123456789abcdef|hex2rgb|getSaturatedBW|mergedCorner|beginPath|closePath|fill|createFillStyle|toFixed|isArray|Gradient|addColorStops|createLinearGradient|05|bmp|gif|jpeg|jpg|png|webp|inArray|watch|embed|VimeoReady|440|3000|title|byline|portrait|controls|enablejsapi|hd|iv_load_policy|modestbranding|rel|vq|hd1080|720|offset|box|ltIE|closing|fromCharCode|toString|em|106|4200|0000099999909999009999900999000999000999|00000900000090009090000090009090009090009|00000900000090009090000090000090000090009|00000999990099990099990009990090000090009|00000900000090900090000000009090000090009|00000900000090090090000090009090009090009|0000090000009000909999900999000999000999000000|rs|900|107|123|125|positionOutside|lastChild|about|blank|removed|fullClick|none|display|_padding|Tracking|getLoadingCount|setTracking|clearTracking|grep|stopDelegating|currentTarget|object|filter|slider|closest|paddingTop|refresh|_dimension|frame|border|state|0001'.split('|'),0,{})); !function(a){"undefined"==typeof a.fn.each2&&a.extend(a.fn,{each2:function(b){for(var c=a([0]),d=-1,e=this.length;++dc;c+=1)if(r(a,b[c]))return c;return-1}function q(){var b=a(l);b.appendTo("body");var c={width:b.width()-b[0].clientWidth,height:b.height()-b[0].clientHeight};return b.remove(),c}function r(a,c){return a===c?!0:a===b||c===b?!1:null===a||null===c?!1:a.constructor===String?a+""==c+"":c.constructor===String?c+""==a+"":!1}function s(b,c){var d,e,f;if(null===b||b.length<1)return[];for(d=b.split(c),e=0,f=d.length;f>e;e+=1)d[e]=a.trim(d[e]);return d}function t(a){return a.outerWidth(!1)-a.width()}function u(c){var d="keyup-change-value";c.on("keydown",function(){a.data(c,d)===b&&a.data(c,d,c.val())}),c.on("keyup",function(){var e=a.data(c,d);e!==b&&c.val()!==e&&(a.removeData(c,d),c.trigger("keyup-change"))})}function v(c){c.on("mousemove",function(c){var d=i;(d===b||d.x!==c.pageX||d.y!==c.pageY)&&a(c.target).trigger("mousemove-filtered",c)})}function w(a,c,d){d=d||b;var e;return function(){var b=arguments;window.clearTimeout(e),e=window.setTimeout(function(){c.apply(d,b)},a)}}function x(a,b){var c=w(a,function(a){b.trigger("scroll-debounced",a)});b.on("scroll",function(a){p(a.target,b.get())>=0&&c(a)})}function y(a){a[0]!==document.activeElement&&window.setTimeout(function(){var d,b=a[0],c=a.val().length;a.focus();var e=b.offsetWidth>0||b.offsetHeight>0;e&&b===document.activeElement&&(b.setSelectionRange?b.setSelectionRange(c,c):b.createTextRange&&(d=b.createTextRange(),d.collapse(!1),d.select()))},0)}function z(b){b=a(b)[0];var c=0,d=0;if("selectionStart"in b)c=b.selectionStart,d=b.selectionEnd-c;else if("selection"in document){b.focus();var e=document.selection.createRange();d=document.selection.createRange().text.length,e.moveStart("character",-b.value.length),c=e.text.length-d}return{offset:c,length:d}}function A(a){a.preventDefault(),a.stopPropagation()}function B(a){a.preventDefault(),a.stopImmediatePropagation()}function C(b){if(!h){var c=b[0].currentStyle||window.getComputedStyle(b[0],null);h=a(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:c.fontSize,fontFamily:c.fontFamily,fontStyle:c.fontStyle,fontWeight:c.fontWeight,letterSpacing:c.letterSpacing,textTransform:c.textTransform,whiteSpace:"nowrap"}),h.attr("class","select2-sizer"),a("body").append(h)}return h.text(b.val()),h.width()}function D(b,c,d){var e,g,f=[];e=a.trim(b.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&f.push(this)})),e=a.trim(c.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(g=d(this),g&&f.push(g))})),b.attr("class",f.join(" "))}function E(a,b,c,d){var e=o(a.toUpperCase()).indexOf(o(b.toUpperCase())),f=b.length;return 0>e?(c.push(d(a)),void 0):(c.push(d(a.substring(0,e))),c.push(""),c.push(d(a.substring(e,e+f))),c.push(""),c.push(d(a.substring(e+f,a.length))),void 0)}function F(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})}function G(c){var d,e=null,f=c.quietMillis||100,g=c.url,h=this;return function(i){window.clearTimeout(d),d=window.setTimeout(function(){var d=c.data,f=g,j=c.transport||a.fn.select2.ajaxDefaults.transport,k={type:c.type||"GET",cache:c.cache||!1,jsonpCallback:c.jsonpCallback||b,dataType:c.dataType||"json"},l=a.extend({},a.fn.select2.ajaxDefaults.params,k);d=d?d.call(h,i.term,i.page,i.context):null,f="function"==typeof f?f.call(h,i.term,i.page,i.context):f,e&&"function"==typeof e.abort&&e.abort(),c.params&&(a.isFunction(c.params)?a.extend(l,c.params.call(h)):a.extend(l,c.params)),a.extend(l,{url:f,dataType:c.dataType,data:d,success:function(a){var b=c.results(a,i.page,i);i.callback(b)},error:function(a,b,c){var d={hasError:!0,jqXHR:a,textStatus:b,errorThrown:c};i.callback(d)}}),e=j.call(h,l)},f)}}function H(b){var d,e,c=b,f=function(a){return""+a.text};a.isArray(c)&&(e=c,c={results:e}),a.isFunction(c)===!1&&(e=c,c=function(){return e});var g=c();return g.text&&(f=g.text,a.isFunction(f)||(d=g.text,f=function(a){return a[d]})),function(b){var g,d=b.term,e={results:[]};return""===d?(b.callback(c()),void 0):(g=function(c,e){var h,i;if(c=c[0],c.children){h={};for(i in c)c.hasOwnProperty(i)&&(h[i]=c[i]);h.children=[],a(c.children).each2(function(a,b){g(b,h.children)}),(h.children.length||b.matcher(d,f(h),c))&&e.push(h)}else b.matcher(d,f(c),c)&&e.push(c)},a(c().results).each2(function(a,b){g(b,e.results)}),b.callback(e),void 0)}}function I(c){var d=a.isFunction(c);return function(e){var f=e.term,g={results:[]},h=d?c(e):c;a.isArray(h)&&(a(h).each(function(){var a=this.text!==b,c=a?this.text:this;(""===f||e.matcher(f,c))&&g.results.push(a?this:{id:this,text:this})}),e.callback(g))}}function J(b,c){if(a.isFunction(b))return!0;if(!b)return!1;if("string"==typeof b)return!0;throw new Error(c+" must be a string, function, or falsy value")}function K(b,c){if(a.isFunction(b)){var d=Array.prototype.slice.call(arguments,2);return b.apply(c,d)}return b}function L(b){var c=0;return a.each(b,function(a,b){b.children?c+=L(b.children):c++}),c}function M(a,c,d,e){var h,i,j,k,l,f=a,g=!1;if(!e.createSearchChoice||!e.tokenSeparators||e.tokenSeparators.length<1)return b;for(;;){for(i=-1,j=0,k=e.tokenSeparators.length;k>j&&(l=e.tokenSeparators[j],i=a.indexOf(l),!(i>=0));j++);if(0>i)break;if(h=a.substring(0,i),a=a.substring(i+l.length),h.length>0&&(h=e.createSearchChoice.call(this,h,c),h!==b&&null!==h&&e.id(h)!==b&&null!==e.id(h))){for(g=!1,j=0,k=c.length;k>j;j++)if(r(e.id(h),e.id(c[j]))){g=!0;break}g||d(h)}}return f!==a?a:void 0}function N(){var b=this;a.each(arguments,function(a,c){b[c].remove(),b[c]=null})}function O(b,c){var d=function(){};return d.prototype=new b,d.prototype.constructor=d,d.prototype.parent=b.prototype,d.prototype=a.extend(d.prototype,c),d}if(window.Select2===b){var c,d,e,f,g,h,j,k,i={x:0,y:0},c={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(a){switch(a=a.which?a.which:a){case c.LEFT:case c.RIGHT:case c.UP:case c.DOWN:return!0}return!1},isControl:function(a){var b=a.which;switch(b){case c.SHIFT:case c.CTRL:case c.ALT:return!0}return a.metaKey?!0:!1},isFunctionKey:function(a){return a=a.which?a.which:a,a>=112&&123>=a}},l="
",m={"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z","\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03c9":"\u03c9","\u03c2":"\u03c3"};j=a(document),g=function(){var a=1;return function(){return a++}}(),d=O(Object,{bind:function(a){var b=this;return function(){a.apply(b,arguments)}},init:function(c){var d,e,f=".select2-results";this.opts=c=this.prepareOpts(c),this.id=c.id,c.element.data("select2")!==b&&null!==c.element.data("select2")&&c.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=a("",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body),this.containerId="s2id_"+(c.element.attr("id")||"autogen"+g()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",c.element.attr("title")),this.body=a("body"),D(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",c.element.attr("style")),this.container.css(K(c.containerCss,this.opts.element)),this.container.addClass(K(c.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",A),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),D(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(K(c.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",A),this.results=d=this.container.find(f),this.search=e=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",A),v(this.results),this.dropdown.on("mousemove-filtered",f,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",f,this.bind(function(a){this._touchEvent=!0,this.highlightUnderEvent(a)})),this.dropdown.on("touchmove",f,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",f,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),x(80,this.results),this.dropdown.on("scroll-debounced",f,this.bind(this.loadMoreIfNeeded)),a(this.container).on("change",".select2-input",function(a){a.stopPropagation()}),a(this.dropdown).on("change",".select2-input",function(a){a.stopPropagation()}),a.fn.mousewheel&&d.mousewheel(function(a,b,c,e){var f=d.scrollTop();e>0&&0>=f-e?(d.scrollTop(0),A(a)):0>e&&d.get(0).scrollHeight-d.scrollTop()+e<=d.height()&&(d.scrollTop(d.get(0).scrollHeight-d.height()),A(a))}),u(e),e.on("keyup-change input paste",this.bind(this.updateResults)),e.on("focus",function(){e.addClass("select2-focused")}),e.on("blur",function(){e.removeClass("select2-focused")}),this.dropdown.on("mouseup",f,this.bind(function(b){a(b.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(b),this.selectHighlighted(b))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(a){a.stopPropagation()}),this.nextSearchTerm=b,a.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==c.maximumInputLength&&this.search.attr("maxlength",c.maximumInputLength);var h=c.element.prop("disabled");h===b&&(h=!1),this.enable(!h);var i=c.element.prop("readonly");i===b&&(i=!1),this.readonly(i),k=k||q(),this.autofocus=c.element.prop("autofocus"),c.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",c.searchInputPlaceholder)},destroy:function(){var a=this.opts.element,c=a.data("select2"),d=this;this.close(),a.length&&a[0].detachEvent&&a.each(function(){this.detachEvent("onpropertychange",d._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,c!==b&&(c.container.remove(),c.liveRegion.remove(),c.dropdown.remove(),a.removeClass("select2-offscreen").removeData("select2").off(".select2").prop("autofocus",this.autofocus||!1),this.elementTabIndex?a.attr({tabindex:this.elementTabIndex}):a.removeAttr("tabindex"),a.show()),N.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(a){return a.is("option")?{id:a.prop("value"),text:a.text(),element:a.get(),css:a.attr("class"),disabled:a.prop("disabled"),locked:r(a.attr("locked"),"locked")||r(a.data("locked"),!0)}:a.is("optgroup")?{text:a.attr("label"),children:[],element:a.get(),css:a.attr("class")}:void 0},prepareOpts:function(c){var d,e,f,h,i=this;if(d=c.element,"select"===d.get(0).tagName.toLowerCase()&&(this.select=e=c.element),e&&a.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in c)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a ","
"," ","
    ","
","
"].join(""));return b},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var c,d,e;this.opts.minimumResultsForSearch>=0&&this.showSearch(!0),this.parent.opening.apply(this,arguments),this.showSearchInput!==!1&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),c=this.search.get(0),c.createTextRange?(d=c.createTextRange(),d.collapse(!1),d.select()):c.setSelectionRange&&(e=this.search.val().length,c.setSelectionRange(e,e))),""===this.search.val()&&this.nextSearchTerm!=b&&(this.search.val(this.nextSearchTerm),this.search.select()),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){a("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),N.call(this,"selection","focusser")},initContainer:function(){var b,h,d=this.container,e=this.dropdown,f=g();this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=b=d.find(".select2-choice"),this.focusser=d.find(".select2-focusser"),b.find(".select2-chosen").attr("id","select2-chosen-"+f),this.focusser.attr("aria-labelledby","select2-chosen-"+f),this.results.attr("id","select2-results-"+f),this.search.attr("aria-owns","select2-results-"+f),this.focusser.attr("id","s2id_autogen"+f),h=a("label[for='"+this.opts.element.attr("id")+"']"),this.focusser.prev().text(h.text()).attr("for",this.focusser.attr("id"));var i=this.opts.element.attr("title");this.opts.element.attr("title",i||h.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(a("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()&&229!=a.keyCode){if(a.which===c.PAGE_UP||a.which===c.PAGE_DOWN)return A(a),void 0;switch(a.which){case c.UP:case c.DOWN:return this.moveHighlight(a.which===c.UP?-1:1),A(a),void 0;case c.ENTER:return this.selectHighlighted(),A(a),void 0;case c.TAB:return this.selectHighlighted({noFocus:!0}),void 0;case c.ESC:return this.cancel(a),A(a),void 0}}})),this.search.on("blur",this.bind(function(){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()&&a.which!==c.TAB&&!c.isControl(a)&&!c.isFunctionKey(a)&&a.which!==c.ESC){if(this.opts.openOnEnter===!1&&a.which===c.ENTER)return A(a),void 0;if(a.which==c.DOWN||a.which==c.UP||a.which==c.ENTER&&this.opts.openOnEnter){if(a.altKey||a.ctrlKey||a.shiftKey||a.metaKey)return;return this.open(),A(a),void 0}return a.which==c.DELETE||a.which==c.BACKSPACE?(this.opts.allowClear&&this.clear(),A(a),void 0):void 0}})),u(this.focusser),this.focusser.on("keyup-change input",this.bind(function(a){if(this.opts.minimumResultsForSearch>=0){if(a.stopPropagation(),this.opened())return;this.open()}})),b.on("mousedown touchstart","abbr",this.bind(function(a){this.isInterfaceEnabled()&&(this.clear(),B(a),this.close(),this.selection.focus())})),b.on("mousedown touchstart",this.bind(function(c){n(b),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),A(c)})),e.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),b.on("focus",this.bind(function(a){A(a)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(a.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.setPlaceholder()},clear:function(b){var c=this.selection.data("select2-data");if(c){var d=a.Event("select2-clearing");if(this.opts.element.trigger(d),d.isDefaultPrevented())return;var e=this.getPlaceholderOption();this.opts.element.val(e?e.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),b!==!1&&(this.opts.element.trigger({type:"select2-removed",val:this.id(c),choice:c}),this.triggerChange({removed:c}))}},initSelection:function(){if(this.isPlaceholderOptionSelected())this.updateSelection(null),this.close(),this.setPlaceholder();else{var c=this;this.opts.initSelection.call(null,this.opts.element,function(a){a!==b&&null!==a&&(c.updateSelection(a),c.close(),c.setPlaceholder(),c.nextSearchTerm=c.opts.nextSearchTerm(a,c.search.val()))})}},isPlaceholderOptionSelected:function(){var a;return this.getPlaceholder()===b?!1:(a=this.getPlaceholderOption())!==b&&a.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===b||null===this.opts.element.val()},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=a.find("option").filter(function(){return this.selected&&!this.disabled});b(c.optionToData(d))}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=c.val(),f=null;b.query({matcher:function(a,c,d){var g=r(e,b.id(d));return g&&(f=d),g},callback:a.isFunction(d)?function(){d(f)}:a.noop})}),b},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===b?b:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var a=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&a!==b){if(this.select&&this.getPlaceholderOption()===b)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(a)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(a,b,c){var d=0,e=this;if(this.findHighlightableChoices().each2(function(a,b){return r(e.id(b.data("select2-data")),e.opts.element.val())?(d=a,!1):void 0}),c!==!1&&(b===!0&&d>=0?this.highlight(d):this.highlight(0)),b===!0){var g=this.opts.minimumResultsForSearch;g>=0&&this.showSearch(L(a.results)>=g)}},showSearch:function(b){this.showSearchInput!==b&&(this.showSearchInput=b,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!b),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!b),a(this.dropdown,this.container).toggleClass("select2-with-searchbox",b))},onSelect:function(a,b){if(this.triggerSelect(a)){var c=this.opts.element.val(),d=this.data();this.opts.element.val(this.id(a)),this.updateSelection(a),this.opts.element.trigger({type:"select2-selected",val:this.id(a),choice:a}),this.nextSearchTerm=this.opts.nextSearchTerm(a,this.search.val()),this.close(),b&&b.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),r(c,this.id(a))||this.triggerChange({added:a,removed:d})}},updateSelection:function(a){var d,e,c=this.selection.find(".select2-chosen");this.selection.data("select2-data",a),c.empty(),null!==a&&(d=this.opts.formatSelection(a,c,this.opts.escapeMarkup)),d!==b&&c.append(d),e=this.opts.formatSelectionCssClass(a,c),e!==b&&c.addClass(e),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==b&&this.container.addClass("select2-allowclear")},val:function(){var a,c=!1,d=null,e=this,f=this.data();if(0===arguments.length)return this.opts.element.val();if(a=arguments[0],arguments.length>1&&(c=arguments[1]),this.select)this.select.val(a).find("option").filter(function(){return this.selected}).each2(function(a,b){return d=e.optionToData(b),!1}),this.updateSelection(d),this.setPlaceholder(),c&&this.triggerChange({added:d,removed:f});else{if(!a&&0!==a)return this.clear(c),void 0;if(this.opts.initSelection===b)throw new Error("cannot call val() if initSelection() is not defined");this.opts.element.val(a),this.opts.initSelection(this.opts.element,function(a){e.opts.element.val(a?e.id(a):""),e.updateSelection(a),e.setPlaceholder(),c&&e.triggerChange({added:a,removed:f})})}},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(a){var c,d=!1;return 0===arguments.length?(c=this.selection.data("select2-data"),c==b&&(c=null),c):(arguments.length>1&&(d=arguments[1]),a?(c=this.data(),this.opts.element.val(a?this.id(a):""),this.updateSelection(a),d&&this.triggerChange({added:a,removed:c})):this.clear(d),void 0)}}),f=O(d,{createContainer:function(){var b=a(document.createElement("div")).attr({"class":"select2-container select2-container-multi"}).html(["
    ","
  • "," "," ","
  • ","
","
","
    ","
","
"].join(""));return b},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=[];a.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(a,b){d.push(c.optionToData(b))}),b(d)}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=s(c.val(),b.separator),f=[];b.query({matcher:function(c,d,g){var h=a.grep(e,function(a){return r(a,b.id(g))}).length;return h&&f.push(g),h},callback:a.isFunction(d)?function(){for(var a=[],c=0;c0||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.open(),this.focusSearch(),b.preventDefault()))})),this.container.on("focus",b,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var c=this;this.opts.initSelection.call(null,this.opts.element,function(a){a!==b&&null!==a&&(c.updateSelection(a),c.close(),c.clearSearch())})}},clearSearch:function(){var a=this.getPlaceholder(),c=this.getMaxSearchWidth();a!==b&&0===this.getVal().length&&this.search.hasClass("select2-focused")===!1?(this.search.val(a).addClass("select2-default"),this.search.width(c>0?c:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),""===this.search.val()&&this.nextSearchTerm!=b&&(this.search.val(this.nextSearchTerm),this.search.select()),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(b){var c=[],d=[],e=this;a(b).each(function(){p(e.id(this),c)<0&&(c.push(e.id(this)),d.push(this))}),b=d,this.selection.find(".select2-search-choice").remove(),a(b).each(function(){e.addSelectedChoice(this)}),e.postprocessResults()},tokenize:function(){var a=this.search.val();a=this.opts.tokenizer.call(this,a,this.data(),this.bind(this.onSelect),this.opts),null!=a&&a!=b&&(this.search.val(a),a.length>0&&this.open())},onSelect:function(a,c){this.triggerSelect(a)&&""!==a.text&&(this.addSelectedChoice(a),this.opts.element.trigger({type:"selected",val:this.id(a),choice:a}),this.nextSearchTerm=this.opts.nextSearchTerm(a,this.search.val()),this.clearSearch(),this.updateResults(),(this.select||!this.opts.closeOnSelect)&&this.postprocessResults(a,!1,this.opts.closeOnSelect===!0),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.nextSearchTerm!=b&&(this.search.val(this.nextSearchTerm),this.updateResults(),this.search.select()),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:a}),c&&c.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(c){var j,k,d=!c.locked,e=a("
  • "),f=a("
  • "),g=d?e:f,h=this.id(c),i=this.getVal();j=this.opts.formatSelection(c,g.find("div"),this.opts.escapeMarkup),j!=b&&g.find("div").replaceWith("
    "+j+"
    "),k=this.opts.formatSelectionCssClass(c,g.find("div")),k!=b&&g.addClass(k),d&&g.find(".select2-search-choice-close").on("mousedown",A).on("click dblclick",this.bind(function(b){this.isInterfaceEnabled()&&(this.unselect(a(b.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),A(b),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),g.data("select2-data",c),g.insertBefore(this.searchContainer),i.push(h),this.setVal(i)},unselect:function(b){var d,e,c=this.getVal();if(b=b.closest(".select2-search-choice"),0===b.length)throw"Invalid argument: "+b+". Must be .select2-search-choice";if(d=b.data("select2-data")){var f=a.Event("select2-removing");if(f.val=this.id(d),f.choice=d,this.opts.element.trigger(f),f.isDefaultPrevented())return!1;for(;(e=p(this.id(d),c))>=0;)c.splice(e,1),this.setVal(c),this.select&&this.postprocessResults();return b.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(d),choice:d}),this.triggerChange({removed:d}),!0}},postprocessResults:function(a,b,c){var d=this.getVal(),e=this.results.find(".select2-result"),f=this.results.find(".select2-result-with-children"),g=this;e.each2(function(a,b){var c=g.id(b.data("select2-data"));p(c,d)>=0&&(b.addClass("select2-selected"),b.find(".select2-result-selectable").addClass("select2-selected"))}),f.each2(function(a,b){b.is(".select2-result-selectable")||0!==b.find(".select2-result-selectable:not(.select2-selected)").length||b.addClass("select2-selected")}),-1==this.highlight()&&c!==!1&&g.highlight(0),!this.opts.createSearchChoice&&!e.filter(".select2-result:not(.select2-selected)").length>0&&(!a||a&&!a.more&&0===this.results.find(".select2-no-results").length)&&J(g.opts.formatNoMatches,"formatNoMatches")&&this.results.append("
  • "+K(g.opts.formatNoMatches,g.opts.element,g.search.val())+"
  • ")},getMaxSearchWidth:function(){return this.selection.width()-t(this.search)},resizeSearch:function(){var a,b,c,d,e,f=t(this.search);a=C(this.search)+10,b=this.search.offset().left,c=this.selection.width(),d=this.selection.offset().left,e=c-(b-d)-f,a>e&&(e=c-f),40>e&&(e=c-f),0>=e&&(e=a),this.search.width(Math.floor(e))},getVal:function(){var a;return this.select?(a=this.select.val(),null===a?[]:a):(a=this.opts.element.val(),s(a,this.opts.separator))},setVal:function(b){var c;this.select?this.select.val(b):(c=[],a(b).each(function(){p(this,c)<0&&c.push(this)}),this.opts.element.val(0===c.length?"":c.join(this.opts.separator)))},buildChangeDetails:function(a,b){for(var b=b.slice(0),a=a.slice(0),c=0;c0&&c--,a.splice(d,1),d--);return{added:b,removed:a}},val:function(c,d){var e,f=this;if(0===arguments.length)return this.getVal();if(e=this.data(),e.length||(e=[]),!c&&0!==c)return this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),d&&this.triggerChange({added:this.data(),removed:e}),void 0;if(this.setVal(c),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),d&&this.triggerChange(this.buildChangeDetails(e,this.data()));else{if(this.opts.initSelection===b)throw new Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(b){var c=a.map(b,f.id);f.setVal(c),f.updateSelection(b),f.clearSearch(),d&&f.triggerChange(f.buildChangeDetails(e,f.data()))})}this.clearSearch()},onSortStart:function(){if(this.select)throw new Error("Sorting of elements is not supported when attached to instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var b=[],c=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){b.push(c.opts.id(a(this).data("select2-data")))}),this.setVal(b),this.triggerChange()},data:function(b,c){var e,f,d=this;return 0===arguments.length?this.selection.children(".select2-search-choice").map(function(){return a(this).data("select2-data")}).get():(f=this.data(),b||(b=[]),e=a.map(b,function(a){return d.opts.id(a)}),this.setVal(e),this.updateSelection(b),this.clearSearch(),c&&this.triggerChange(this.buildChangeDetails(f,this.data())),void 0)}}),a.fn.select2=function(){var d,e,f,g,h,c=Array.prototype.slice.call(arguments,0),i=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],j=["opened","isFocused","container","dropdown"],k=["val","data"],l={search:"externalSearch"};return this.each(function(){if(0===c.length||"object"==typeof c[0])d=0===c.length?{}:a.extend({},c[0]),d.element=a(this),"select"===d.element.get(0).tagName.toLowerCase()?h=d.element.prop("multiple"):(h=d.multiple||!1,"tags"in d&&(d.multiple=h=!0)),e=h?new window.Select2["class"].multi:new window.Select2["class"].single,e.init(d);else{if("string"!=typeof c[0])throw"Invalid arguments to select2 plugin: "+c;if(p(c[0],i)<0)throw"Unknown method: "+c[0];if(g=b,e=a(this).data("select2"),e===b)return;if(f=c[0],"container"===f?g=e.container:"dropdown"===f?g=e.dropdown:(l[f]&&(f=l[f]),g=e[f].apply(e,c.slice(1))),p(c[0],j)>=0||p(c[0],k)>=0&&1==c.length)return!1}}),g===b?this:g},a.fn.select2.defaults={width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(a,b,c,d){var e=[];return E(a.text,c.term,e,d),e.join("")},formatSelection:function(a,c,d){return a?d(a.text):b},sortResults:function(a){return a},formatResultCssClass:function(a){return a.css},formatSelectionCssClass:function(){return b},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(a){return a==b?null:a.id},matcher:function(a,b){return o(""+b).toUpperCase().indexOf(o(""+a).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:M,escapeMarkup:F,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(a){return a},adaptDropdownCssClass:function(){return null},nextSearchTerm:function(){return b},searchInputPlaceholder:"",createSearchChoicePosition:"top",shouldFocusInput:function(a){var b="ontouchstart"in window||navigator.msMaxTouchPoints>0;return b?a.opts.minimumResultsForSearch<0?!1:!0:!0}},a.fn.select2.locales=[],a.fn.select2.locales.en={formatMatches:function(a){return 1===a?"One result is available, press enter to select it.":a+" results are available, use up and down arrow keys to navigate." },formatNoMatches:function(){return"No matches found"},formatAjaxError:function(){return"Loading failed"},formatInputTooShort:function(a,b){var c=b-a.length;return"Please enter "+c+" or more character"+(1==c?"":"s")},formatInputTooLong:function(a,b){var c=a.length-b;return"Please delete "+c+" character"+(1==c?"":"s")},formatSelectionTooBig:function(a){return"You can only select "+a+" item"+(1==a?"":"s")},formatLoadMore:function(){return"Loading more results\u2026"},formatSearching:function(){return"Searching\u2026"}},a.extend(a.fn.select2.defaults,a.fn.select2.locales.en),a.fn.select2.ajaxDefaults={transport:a.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:G,local:H,tags:I},util:{debounce:w,markMatch:E,escapeMarkup:F,stripDiacritics:o},"class":{"abstract":d,single:e,multi:f}}}}(jQuery); !function(a,b,c,d){function e(b,c){this.element=b,this.options=a.extend({},g,c),this._defaults=g,this._name=f,this.init()}var f="stellar",g={scrollProperty:"scroll",positionProperty:"position",horizontalScrolling:!0,verticalScrolling:!0,horizontalOffset:0,verticalOffset:0,responsive:!1,parallaxBackgrounds:!0,parallaxElements:!0,hideDistantElements:!0,hideElement:function(a){a.hide()},showElement:function(a){a.show()}},h={scroll:{getLeft:function(a){return a.scrollLeft()},setLeft:function(a,b){a.scrollLeft(b)},getTop:function(a){return a.scrollTop()},setTop:function(a,b){a.scrollTop(b)}},position:{getLeft:function(a){return-1*parseInt(a.css("left"),10)},getTop:function(a){return-1*parseInt(a.css("top"),10)}},margin:{getLeft:function(a){return-1*parseInt(a.css("margin-left"),10)},getTop:function(a){return-1*parseInt(a.css("margin-top"),10)}},transform:{getLeft:function(a){var b=getComputedStyle(a[0])[k];return"none"!==b?-1*parseInt(b.match(/(-?[0-9]+)/g)[4],10):0},getTop:function(a){var b=getComputedStyle(a[0])[k];return"none"!==b?-1*parseInt(b.match(/(-?[0-9]+)/g)[5],10):0}}},i={position:{setLeft:function(a,b){a.css("left",b)},setTop:function(a,b){a.css("top",b)}},transform:{setPosition:function(a,b,c,d,e){a[0].style[k]="translate3d("+(b-c)+"px, "+(d-e)+"px, 0)"}}},j=function(){var b,c=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/,d=a("script")[0].style,e="";for(b in d)if(c.test(b)){e=b.match(c)[0];break}return"WebkitOpacity"in d&&(e="Webkit"),"KhtmlOpacity"in d&&(e="Khtml"),function(a){return e+(e.length>0?a.charAt(0).toUpperCase()+a.slice(1):a)}}(),k=j("transform"),l=a("
    ",{style:"background:#fff"}).css("background-position-x")!==d,m=l?function(a,b,c){a.css({"background-position-x":b,"background-position-y":c})}:function(a,b,c){a.css("background-position",b+" "+c)},n=l?function(a){return[a.css("background-position-x"),a.css("background-position-y")]}:function(a){return a.css("background-position").split(" ")},o=b.requestAnimationFrame||b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame||b.oRequestAnimationFrame||b.msRequestAnimationFrame||function(a){setTimeout(a,1e3/60)};e.prototype={init:function(){this.options.name=f+"_"+Math.floor(1e9*Math.random()),this._defineElements(),this._defineGetters(),this._defineSetters(),this._handleWindowLoadAndResize(),this._detectViewport(),this.refresh({firstLoad:!0}),"scroll"===this.options.scrollProperty?this._handleScrollEvent():this._startAnimationLoop()},_defineElements:function(){this.element===c.body&&(this.element=b),this.$scrollElement=a(this.element),this.$element=this.element===b?a("body"):this.$scrollElement,this.$viewportElement=this.options.viewportElement!==d?a(this.options.viewportElement):this.$scrollElement[0]===b||"scroll"===this.options.scrollProperty?this.$scrollElement:this.$scrollElement.parent()},_defineGetters:function(){var a=this,b=h[a.options.scrollProperty];this._getScrollLeft=function(){return b.getLeft(a.$scrollElement)},this._getScrollTop=function(){return b.getTop(a.$scrollElement)}},_defineSetters:function(){var b=this,c=h[b.options.scrollProperty],d=i[b.options.positionProperty],e=c.setLeft,f=c.setTop;this._setScrollLeft="function"==typeof e?function(a){e(b.$scrollElement,a)}:a.noop,this._setScrollTop="function"==typeof f?function(a){f(b.$scrollElement,a)}:a.noop,this._setPosition=d.setPosition||function(a,c,e,f,g){b.options.horizontalScrolling&&d.setLeft(a,c,e),b.options.verticalScrolling&&d.setTop(a,f,g)}},_handleWindowLoadAndResize:function(){var c=this,d=a(b);c.options.responsive&&d.bind("load."+this.name,function(){c.refresh()}),d.bind("resize."+this.name,function(){c._detectViewport(),c.options.responsive&&c.refresh()})},refresh:function(c){var d=this,e=d._getScrollLeft(),f=d._getScrollTop();c&&c.firstLoad||this._reset(),this._setScrollLeft(0),this._setScrollTop(0),this._setOffsets(),this._findParticles(),this._findBackgrounds(),c&&c.firstLoad&&/WebKit/.test(navigator.userAgent)&&a(b).load(function(){var a=d._getScrollLeft(),b=d._getScrollTop();d._setScrollLeft(a+1),d._setScrollTop(b+1),d._setScrollLeft(a),d._setScrollTop(b)}),this._setScrollLeft(e),this._setScrollTop(f)},_detectViewport:function(){var a=this.$viewportElement.offset(),b=null!==a&&a!==d;this.viewportWidth=this.$viewportElement.width(),this.viewportHeight=this.$viewportElement.height(),this.viewportOffsetTop=b?a.top:0,this.viewportOffsetLeft=b?a.left:0},_findParticles:function(){{var b=this;this._getScrollLeft(),this._getScrollTop()}if(this.particles!==d)for(var c=this.particles.length-1;c>=0;c--)this.particles[c].$element.data("stellar-elementIsActive",d);this.particles=[],this.options.parallaxElements&&this.$element.find("[data-stellar-ratio]").each(function(){var c,e,f,g,h,i,j,k,l,m=a(this),n=0,o=0,p=0,q=0;if(m.data("stellar-elementIsActive")){if(m.data("stellar-elementIsActive")!==this)return}else m.data("stellar-elementIsActive",this);b.options.showElement(m),m.data("stellar-startingLeft")?(m.css("left",m.data("stellar-startingLeft")),m.css("top",m.data("stellar-startingTop"))):(m.data("stellar-startingLeft",m.css("left")),m.data("stellar-startingTop",m.css("top"))),f=m.position().left,g=m.position().top,h="auto"===m.css("margin-left")?0:parseInt(m.css("margin-left"),10),i="auto"===m.css("margin-top")?0:parseInt(m.css("margin-top"),10),k=m.offset().left-h,l=m.offset().top-i,m.parents().each(function(){var b=a(this);return b.data("stellar-offset-parent")===!0?(n=p,o=q,j=b,!1):(p+=b.position().left,void(q+=b.position().top))}),c=m.data("stellar-horizontal-offset")!==d?m.data("stellar-horizontal-offset"):j!==d&&j.data("stellar-horizontal-offset")!==d?j.data("stellar-horizontal-offset"):b.horizontalOffset,e=m.data("stellar-vertical-offset")!==d?m.data("stellar-vertical-offset"):j!==d&&j.data("stellar-vertical-offset")!==d?j.data("stellar-vertical-offset"):b.verticalOffset,b.particles.push({$element:m,$offsetParent:j,isFixed:"fixed"===m.css("position"),horizontalOffset:c,verticalOffset:e,startingPositionLeft:f,startingPositionTop:g,startingOffsetLeft:k,startingOffsetTop:l,parentOffsetLeft:n,parentOffsetTop:o,stellarRatio:m.data("stellar-ratio")!==d?m.data("stellar-ratio"):1,width:m.outerWidth(!0),height:m.outerHeight(!0),isHidden:!1})})},_findBackgrounds:function(){var b,c=this,e=this._getScrollLeft(),f=this._getScrollTop();this.backgrounds=[],this.options.parallaxBackgrounds&&(b=this.$element.find("[data-stellar-background-ratio]"),this.$element.data("stellar-background-ratio")&&(b=b.add(this.$element)),b.each(function(){var b,g,h,i,j,k,l,o=a(this),p=n(o),q=0,r=0,s=0,t=0;if(o.data("stellar-backgroundIsActive")){if(o.data("stellar-backgroundIsActive")!==this)return}else o.data("stellar-backgroundIsActive",this);o.data("stellar-backgroundStartingLeft")?m(o,o.data("stellar-backgroundStartingLeft"),o.data("stellar-backgroundStartingTop")):(o.data("stellar-backgroundStartingLeft",p[0]),o.data("stellar-backgroundStartingTop",p[1])),h="auto"===o.css("margin-left")?0:parseInt(o.css("margin-left"),10),i="auto"===o.css("margin-top")?0:parseInt(o.css("margin-top"),10),j=o.offset().left-h-e,k=o.offset().top-i-f,o.parents().each(function(){var b=a(this);return b.data("stellar-offset-parent")===!0?(q=s,r=t,l=b,!1):(s+=b.position().left,void(t+=b.position().top))}),b=o.data("stellar-horizontal-offset")!==d?o.data("stellar-horizontal-offset"):l!==d&&l.data("stellar-horizontal-offset")!==d?l.data("stellar-horizontal-offset"):c.horizontalOffset,g=o.data("stellar-vertical-offset")!==d?o.data("stellar-vertical-offset"):l!==d&&l.data("stellar-vertical-offset")!==d?l.data("stellar-vertical-offset"):c.verticalOffset,c.backgrounds.push({$element:o,$offsetParent:l,isFixed:"fixed"===o.css("background-attachment"),horizontalOffset:b,verticalOffset:g,startingValueLeft:p[0],startingValueTop:p[1],startingBackgroundPositionLeft:isNaN(parseInt(p[0],10))?0:parseInt(p[0],10),startingBackgroundPositionTop:isNaN(parseInt(p[1],10))?0:parseInt(p[1],10),startingPositionLeft:o.position().left,startingPositionTop:o.position().top,startingOffsetLeft:j,startingOffsetTop:k,parentOffsetLeft:q,parentOffsetTop:r,stellarRatio:o.data("stellar-background-ratio")===d?1:o.data("stellar-background-ratio")})}))},_reset:function(){var a,b,c,d,e;for(e=this.particles.length-1;e>=0;e--)a=this.particles[e],b=a.$element.data("stellar-startingLeft"),c=a.$element.data("stellar-startingTop"),this._setPosition(a.$element,b,b,c,c),this.options.showElement(a.$element),a.$element.data("stellar-startingLeft",null).data("stellar-elementIsActive",null).data("stellar-backgroundIsActive",null);for(e=this.backgrounds.length-1;e>=0;e--)d=this.backgrounds[e],d.$element.data("stellar-backgroundStartingLeft",null).data("stellar-backgroundStartingTop",null),m(d.$element,d.startingValueLeft,d.startingValueTop)},destroy:function(){this._reset(),this.$scrollElement.unbind("resize."+this.name).unbind("scroll."+this.name),this._animationLoop=a.noop,a(b).unbind("load."+this.name).unbind("resize."+this.name)},_setOffsets:function(){var c=this,d=a(b);d.unbind("resize.horizontal-"+this.name).unbind("resize.vertical-"+this.name),"function"==typeof this.options.horizontalOffset?(this.horizontalOffset=this.options.horizontalOffset(),d.bind("resize.horizontal-"+this.name,function(){c.horizontalOffset=c.options.horizontalOffset()})):this.horizontalOffset=this.options.horizontalOffset,"function"==typeof this.options.verticalOffset?(this.verticalOffset=this.options.verticalOffset(),d.bind("resize.vertical-"+this.name,function(){c.verticalOffset=c.options.verticalOffset()})):this.verticalOffset=this.options.verticalOffset},_repositionElements:function(){var a,b,c,d,e,f,g,h,i,j,k=this._getScrollLeft(),l=this._getScrollTop(),n=!0,o=!0;if(this.currentScrollLeft!==k||this.currentScrollTop!==l||this.currentWidth!==this.viewportWidth||this.currentHeight!==this.viewportHeight){for(this.currentScrollLeft=k,this.currentScrollTop=l,this.currentWidth=this.viewportWidth,this.currentHeight=this.viewportHeight,j=this.particles.length-1;j>=0;j--)a=this.particles[j],b=a.isFixed?1:0,this.options.horizontalScrolling?(f=(k+a.horizontalOffset+this.viewportOffsetLeft+a.startingPositionLeft-a.startingOffsetLeft+a.parentOffsetLeft)*-(a.stellarRatio+b-1)+a.startingPositionLeft,h=f-a.startingPositionLeft+a.startingOffsetLeft):(f=a.startingPositionLeft,h=a.startingOffsetLeft),this.options.verticalScrolling?(g=(l+a.verticalOffset+this.viewportOffsetTop+a.startingPositionTop-a.startingOffsetTop+a.parentOffsetTop)*-(a.stellarRatio+b-1)+a.startingPositionTop,i=g-a.startingPositionTop+a.startingOffsetTop):(g=a.startingPositionTop,i=a.startingOffsetTop),this.options.hideDistantElements&&(o=!this.options.horizontalScrolling||h+a.width>(a.isFixed?0:k)&&h<(a.isFixed?0:k)+this.viewportWidth+this.viewportOffsetLeft,n=!this.options.verticalScrolling||i+a.height>(a.isFixed?0:l)&&i<(a.isFixed?0:l)+this.viewportHeight+this.viewportOffsetTop),o&&n?(a.isHidden&&(this.options.showElement(a.$element),a.isHidden=!1),this._setPosition(a.$element,f,a.startingPositionLeft,g,a.startingPositionTop)):a.isHidden||(this.options.hideElement(a.$element),a.isHidden=!0);for(j=this.backgrounds.length-1;j>=0;j--)c=this.backgrounds[j],b=c.isFixed?0:1,d=this.options.horizontalScrolling?(k+c.horizontalOffset-this.viewportOffsetLeft-c.startingOffsetLeft+c.parentOffsetLeft-c.startingBackgroundPositionLeft)*(b-c.stellarRatio)+"px":c.startingValueLeft,e=this.options.verticalScrolling?(l+c.verticalOffset-this.viewportOffsetTop-c.startingOffsetTop+c.parentOffsetTop-c.startingBackgroundPositionTop)*(b-c.stellarRatio)+"px":c.startingValueTop,m(c.$element,d,e)}},_handleScrollEvent:function(){var a=this,b=!1,c=function(){a._repositionElements(),b=!1},d=function(){b||(o(c),b=!0)};this.$scrollElement.bind("scroll."+this.name,d),d()},_startAnimationLoop:function(){var a=this;this._animationLoop=function(){o(a._animationLoop),a._repositionElements()},this._animationLoop()}},a.fn[f]=function(b){var c=arguments;return b===d||"object"==typeof b?this.each(function(){a.data(this,"plugin_"+f)||a.data(this,"plugin_"+f,new e(this,b))}):"string"==typeof b&&"_"!==b[0]&&"init"!==b?this.each(function(){var d=a.data(this,"plugin_"+f);d instanceof e&&"function"==typeof d[b]&&d[b].apply(d,Array.prototype.slice.call(c,1)),"destroy"===b&&a.data(this,"plugin_"+f,null)}):void 0},a[f]=function(){var c=a(b);return c.stellar.apply(c,Array.prototype.slice.call(arguments,0))},a[f].scrollProperty=h,a[f].positionProperty=i,b.Stellar=e}(jQuery,this,document); ;window.Modernizr=function(a,b,c){function x(a){j.cssText=a}function y(a,b){return x(prefixes.join(a+";")+(b||""))}function z(a,b){return typeof a===b}function A(a,b){return!!~(""+a).indexOf(b)}function B(a,b){for(var d in a){var e=a[d];if(!A(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function C(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:z(f,"function")?f.bind(d||b):f}return!1}function D(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+n.join(d+" ")+d).split(" ");return z(b,"string")||z(b,"undefined")?B(e,b):(e=(a+" "+o.join(d+" ")+d).split(" "),C(e,b,c))}var d="2.7.1",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m="Webkit Moz O ms",n=m.split(" "),o=m.toLowerCase().split(" "),p={},q={},r={},s=[],t=s.slice,u,v={}.hasOwnProperty,w;!z(v,"undefined")&&!z(v.call,"undefined")?w=function(a,b){return v.call(a,b)}:w=function(a,b){return b in a&&z(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=t.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(t.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(t.call(arguments)))};return e}),p.csstransitions=function(){return D("transition")};for(var E in p)w(p,E)&&(u=E.toLowerCase(),e[u]=p[E](),s.push((e[u]?"":"no-")+u));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)w(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},x(""),i=k=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._domPrefixes=o,e._cssomPrefixes=n,e.testProp=function(a){return B([a])},e.testAllProps=D,e.prefixed=function(a,b,c){return b?D(a,b,c):D(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+s.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;fa;a++){var p=this[a],h=t.data(p,e);if(h)if(t.isFunction(h[n])&&"_"!==n.charAt(0)){var f=h[n].apply(h,s);if(void 0!==f)return f}else r("no such method '"+n+"' for "+e+" instance");else r("cannot call methods on "+e+" prior to initialization; "+"attempted to call '"+n+"'")}return this}return this.each(function(){var o=t.data(this,e);o?(o.option(n),o._init()):(o=new i(this,n),t.data(this,e,o))})}}if(t){var r="undefined"==typeof console?e:function(t){console.error(t)};return t.bridget=function(t,e){i(e),n(t,e)},t.bridget}}var o=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):i(t.jQuery)})(window),function(t){function e(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}var i=document.documentElement,o=function(){};i.addEventListener?o=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(o=function(t,i,o){t[i+o]=o.handleEvent?function(){var i=e(t);o.handleEvent.call(o,i)}:function(){var i=e(t);o.call(t,i)},t.attachEvent("on"+i,t[i+o])});var n=function(){};i.removeEventListener?n=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(n=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(o){t[e+i]=void 0}});var r={bind:o,unbind:n};"function"==typeof define&&define.amd?define("eventie/eventie",r):"object"==typeof exports?module.exports=r:t.eventie=r}(this),function(t){function e(t){"function"==typeof t&&(e.isReady?t():r.push(t))}function i(t){var i="readystatechange"===t.type&&"complete"!==n.readyState;if(!e.isReady&&!i){e.isReady=!0;for(var o=0,s=r.length;s>o;o++){var a=r[o];a()}}}function o(o){return o.bind(n,"DOMContentLoaded",i),o.bind(n,"readystatechange",i),o.bind(t,"load",i),e}var n=t.document,r=[];e.isReady=!1,"function"==typeof define&&define.amd?(e.isReady="function"==typeof requirejs,define("doc-ready/doc-ready",["eventie/eventie"],o)):t.docReady=o(t.eventie)}(this),function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var o=t.prototype,n=this,r=n.EventEmitter;o.getListeners=function(t){var e,i,o=this._getEvents();if(t instanceof RegExp){e={};for(i in o)o.hasOwnProperty(i)&&t.test(i)&&(e[i]=o[i])}else e=o[t]||(o[t]=[]);return e},o.flattenListeners=function(t){var e,i=[];for(e=0;t.length>e;e+=1)i.push(t[e].listener);return i},o.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&(e={},e[t]=i),e||i},o.addListener=function(t,i){var o,n=this.getListenersAsObject(t),r="object"==typeof i;for(o in n)n.hasOwnProperty(o)&&-1===e(n[o],i)&&n[o].push(r?i:{listener:i,once:!1});return this},o.on=i("addListener"),o.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},o.once=i("addOnceListener"),o.defineEvent=function(t){return this.getListeners(t),this},o.defineEvents=function(t){for(var e=0;t.length>e;e+=1)this.defineEvent(t[e]);return this},o.removeListener=function(t,i){var o,n,r=this.getListenersAsObject(t);for(n in r)r.hasOwnProperty(n)&&(o=e(r[n],i),-1!==o&&r[n].splice(o,1));return this},o.off=i("removeListener"),o.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},o.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},o.manipulateListeners=function(t,e,i){var o,n,r=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(o=i.length;o--;)r.call(this,e,i[o]);else for(o in e)e.hasOwnProperty(o)&&(n=e[o])&&("function"==typeof n?r.call(this,o,n):s.call(this,o,n));return this},o.removeEvent=function(t){var e,i=typeof t,o=this._getEvents();if("string"===i)delete o[t];else if(t instanceof RegExp)for(e in o)o.hasOwnProperty(e)&&t.test(e)&&delete o[e];else delete this._events;return this},o.removeAllListeners=i("removeEvent"),o.emitEvent=function(t,e){var i,o,n,r,s=this.getListenersAsObject(t);for(n in s)if(s.hasOwnProperty(n))for(o=s[n].length;o--;)i=s[n][o],i.once===!0&&this.removeListener(t,i.listener),r=i.listener.apply(this,e||[]),r===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},o.trigger=i("emitEvent"),o.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},o.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},o._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},o._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return n.EventEmitter=r,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof o[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,n=0,r=i.length;r>n;n++)if(e=i[n]+t,"string"==typeof o[e])return e}}var i="Webkit Moz ms Ms O".split(" "),o=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return e}):"object"==typeof exports?module.exports=e:t.getStyleProperty=e}(window),function(t){function e(t){var e=parseFloat(t),i=-1===t.indexOf("%")&&!isNaN(e);return i&&e}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=s.length;i>e;e++){var o=s[e];t[o]=0}return t}function o(t){function o(t){if("string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var o=r(t);if("none"===o.display)return i();var n={};n.width=t.offsetWidth,n.height=t.offsetHeight;for(var h=n.isBorderBox=!(!p||!o[p]||"border-box"!==o[p]),f=0,d=s.length;d>f;f++){var l=s[f],c=o[l];c=a(t,c);var y=parseFloat(c);n[l]=isNaN(y)?0:y}var m=n.paddingLeft+n.paddingRight,g=n.paddingTop+n.paddingBottom,v=n.marginLeft+n.marginRight,_=n.marginTop+n.marginBottom,I=n.borderLeftWidth+n.borderRightWidth,L=n.borderTopWidth+n.borderBottomWidth,z=h&&u,S=e(o.width);S!==!1&&(n.width=S+(z?0:m+I));var b=e(o.height);return b!==!1&&(n.height=b+(z?0:g+L)),n.innerWidth=n.width-(m+I),n.innerHeight=n.height-(g+L),n.outerWidth=n.width+v,n.outerHeight=n.height+_,n}}function a(t,e){if(n||-1===e.indexOf("%"))return e;var i=t.style,o=i.left,r=t.runtimeStyle,s=r&&r.left;return s&&(r.left=t.currentStyle.left),i.left=e,e=i.pixelLeft,i.left=o,s&&(r.left=s),e}var u,p=t("boxSizing");return function(){if(p){var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style[p]="border-box";var i=document.body||document.documentElement;i.appendChild(t);var o=r(t);u=200===e(o.width),i.removeChild(t)}}(),o}var n=t.getComputedStyle,r=n?function(t){return n(t,null)}:function(t){return t.currentStyle},s=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],o):"object"==typeof exports?module.exports=o(require("get-style-property")):t.getSize=o(t.getStyleProperty)}(window),function(t,e){function i(t,e){return t[a](e)}function o(t){if(!t.parentNode){var e=document.createDocumentFragment();e.appendChild(t)}}function n(t,e){o(t);for(var i=t.parentNode.querySelectorAll(e),n=0,r=i.length;r>n;n++)if(i[n]===t)return!0;return!1}function r(t,e){return o(t),i(t,e)}var s,a=function(){if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0,o=t.length;o>i;i++){var n=t[i],r=n+"MatchesSelector";if(e[r])return r}}();if(a){var u=document.createElement("div"),p=i(u,"div");s=p?i:r}else s=n;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return s}):window.matchesSelector=s}(this,Element.prototype),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){for(var e in t)return!1;return e=null,!0}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function n(t,n,r){function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var u=r("transition"),p=r("transform"),h=u&&p,f=!!r("perspective"),d={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[u],l=["transform","transition","transitionDuration","transitionProperty"],c=function(){for(var t={},e=0,i=l.length;i>e;e++){var o=l[e],n=r(o);n&&n!==o&&(t[o]=n)}return t}();e(a.prototype,t.prototype),a.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.getSize=function(){this.size=n(this.element)},a.prototype.css=function(t){var e=this.element.style;for(var i in t){var o=c[i]||i;e[o]=t[i]}},a.prototype.getPosition=function(){var t=s(this.element),e=this.layout.options,i=e.isOriginLeft,o=e.isOriginTop,n=parseInt(t[i?"left":"right"],10),r=parseInt(t[o?"top":"bottom"],10);n=isNaN(n)?0:n,r=isNaN(r)?0:r;var a=this.layout.size;n-=i?a.paddingLeft:a.paddingRight,r-=o?a.paddingTop:a.paddingBottom,this.position.x=n,this.position.y=r},a.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={};e.isOriginLeft?(i.left=this.position.x+t.paddingLeft+"px",i.right=""):(i.right=this.position.x+t.paddingRight+"px",i.left=""),e.isOriginTop?(i.top=this.position.y+t.paddingTop+"px",i.bottom=""):(i.bottom=this.position.y+t.paddingBottom+"px",i.top=""),this.css(i),this.emitEvent("layout",[this])};var y=f?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};a.prototype._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=parseInt(t,10),r=parseInt(e,10),s=n===this.position.x&&r===this.position.y;if(this.setPosition(t,e),s&&!this.isTransitioning)return this.layoutPosition(),void 0;var a=t-i,u=e-o,p={},h=this.layout.options;a=h.isOriginLeft?a:-a,u=h.isOriginTop?u:-u,p.transform=y(a,u),this.transition({to:p,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},a.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},a.prototype.moveTo=h?a.prototype._transitionTo:a.prototype.goTo,a.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},a.prototype._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},a.prototype._transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return this._nonTransition(t),void 0;var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var o=this.element.offsetHeight;o=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var m=p&&o(p)+",opacity";a.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:m,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(d,this,!1))},a.prototype.transition=a.prototype[u?"_transition":"_nonTransition"],a.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},a.prototype.onotransitionend=function(t){this.ontransitionend(t)};var g={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};a.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,o=g[t.propertyName]||t.propertyName;if(delete e.ingProperties[o],i(e.ingProperties)&&this.disableTransition(),o in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[o]),o in e.onEnd){var n=e.onEnd[o];n.call(this),delete e.onEnd[o]}this.emitEvent("transitionEnd",[this])}},a.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(d,this,!1),this.isTransitioning=!1},a.prototype._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var v={transitionProperty:"",transitionDuration:""};return a.prototype.removeTransitionStyles=function(){this.css(v)},a.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.emitEvent("remove",[this])},a.prototype.remove=function(){if(!u||!parseFloat(this.layout.options.transitionDuration))return this.removeElem(),void 0;var t=this;this.on("transitionEnd",function(){return t.removeElem(),!0}),this.hide()},a.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options;this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0})},a.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options;this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:{opacity:function(){this.isHidden&&this.css({display:"none"})}}})},a.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}var r=t.getComputedStyle,s=r?function(t){return r(t,null)}:function(t){return t.currentStyle};"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property"],n):(t.Outlayer={},t.Outlayer.Item=n(t.EventEmitter,t.getSize,t.getStyleProperty))}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){return"[object Array]"===f.call(t)}function o(t){var e=[];if(i(t))e=t;else if(t&&"number"==typeof t.length)for(var o=0,n=t.length;n>o;o++)e.push(t[o]);else e.push(t);return e}function n(t,e){var i=l(e,t);-1!==i&&e.splice(i,1)}function r(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}function s(i,s,f,l,c,y){function m(t,i){if("string"==typeof t&&(t=a.querySelector(t)),!t||!d(t))return u&&u.error("Bad "+this.constructor.namespace+" element: "+t),void 0;this.element=t,this.options=e({},this.constructor.defaults),this.option(i);var o=++g;this.element.outlayerGUID=o,v[o]=this,this._create(),this.options.isInitLayout&&this.layout()}var g=0,v={};return m.namespace="outlayer",m.Item=y,m.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},e(m.prototype,f.prototype),m.prototype.option=function(t){e(this.options,t)},m.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),e(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},m.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},m.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0,r=e.length;r>n;n++){var s=e[n],a=new i(s,this);o.push(a)}return o},m.prototype._filterFindItemElements=function(t){t=o(t);for(var e=this.options.itemSelector,i=[],n=0,r=t.length;r>n;n++){var s=t[n];if(d(s))if(e){c(s,e)&&i.push(s);for(var a=s.querySelectorAll(e),u=0,p=a.length;p>u;u++)i.push(a[u])}else i.push(s)}return i},m.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;i>e;e++)t.push(this.items[e].element);return t},m.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},m.prototype._init=m.prototype.layout,m.prototype._resetLayout=function(){this.getSize()},m.prototype.getSize=function(){this.size=l(this.element)},m.prototype._getMeasurement=function(t,e){var i,o=this.options[t];o?("string"==typeof o?i=this.element.querySelector(o):d(o)&&(i=o),this[t]=i?l(i)[e]:o):this[t]=0},m.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},m.prototype._getItemsForLayout=function(t){for(var e=[],i=0,o=t.length;o>i;i++){var n=t[i];n.isIgnored||e.push(n)}return e},m.prototype._layoutItems=function(t,e){function i(){o.emitEvent("layoutComplete",[o,t])}var o=this;if(!t||!t.length)return i(),void 0;this._itemsOn(t,"layout",i);for(var n=[],r=0,s=t.length;s>r;r++){var a=t[r],u=this._getItemLayoutPosition(a);u.item=a,u.isInstant=e||a.isLayoutInstant,n.push(u)}this._processLayoutQueue(n)},m.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},m.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;i>e;e++){var o=t[e];this._positionItem(o.item,o.x,o.y,o.isInstant)}},m.prototype._positionItem=function(t,e,i,o){o?t.goTo(e,i):t.moveTo(e,i)},m.prototype._postLayout=function(){this.resizeContainer()},m.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},m.prototype._getContainerSize=h,m.prototype._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},m.prototype._itemsOn=function(t,e,i){function o(){return n++,n===r&&i.call(s),!0}for(var n=0,r=t.length,s=this,a=0,u=t.length;u>a;a++){var p=t[a];p.on(e,o)}},m.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},m.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},m.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,i=t.length;i>e;e++){var o=t[e];this.ignore(o)}}},m.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;i>e;e++){var o=t[e];n(o,this.stamps),this.unignore(o)}},m.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o(t)):void 0},m.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;e>t;t++){var i=this.stamps[t];this._manageStamp(i)}}},m.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},m.prototype._manageStamp=h,m.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,o=l(t),n={left:e.left-i.left-o.marginLeft,top:e.top-i.top-o.marginTop,right:i.right-e.right-o.marginRight,bottom:i.bottom-e.bottom-o.marginBottom};return n},m.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},m.prototype.bindResize=function(){this.isResizeBound||(i.bind(t,"resize",this),this.isResizeBound=!0)},m.prototype.unbindResize=function(){this.isResizeBound&&i.unbind(t,"resize",this),this.isResizeBound=!1},m.prototype.onresize=function(){function t(){e.resize(),delete e.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var e=this;this.resizeTimeout=setTimeout(t,100)},m.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},m.prototype.needsResizeLayout=function(){var t=l(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},m.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},m.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},m.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},m.prototype.reveal=function(t){var e=t&&t.length;if(e)for(var i=0;e>i;i++){var o=t[i];o.reveal()}},m.prototype.hide=function(t){var e=t&&t.length;if(e)for(var i=0;e>i;i++){var o=t[i];o.hide()}},m.prototype.getItem=function(t){for(var e=0,i=this.items.length;i>e;e++){var o=this.items[e];if(o.element===t)return o}},m.prototype.getItems=function(t){if(t&&t.length){for(var e=[],i=0,o=t.length;o>i;i++){var n=t[i],r=this.getItem(n);r&&e.push(r)}return e}},m.prototype.remove=function(t){t=o(t);var e=this.getItems(t);if(e&&e.length){this._itemsOn(e,"remove",function(){this.emitEvent("removeComplete",[this,e])});for(var i=0,r=e.length;r>i;i++){var s=e[i];s.remove(),n(s,this.items)}}},m.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,i=this.items.length;i>e;e++){var o=this.items[e];o.destroy()}this.unbindResize(),delete this.element.outlayerGUID,p&&p.removeData(this.element,this.constructor.namespace)},m.data=function(t){var e=t&&t.outlayerGUID;return e&&v[e]},m.create=function(t,i){function o(){m.apply(this,arguments)}return Object.create?o.prototype=Object.create(m.prototype):e(o.prototype,m.prototype),o.prototype.constructor=o,o.defaults=e({},m.defaults),e(o.defaults,i),o.prototype.settings={},o.namespace=t,o.data=m.data,o.Item=function(){y.apply(this,arguments)},o.Item.prototype=new y,s(function(){for(var e=r(t),i=a.querySelectorAll(".js-"+e),n="data-"+e+"-options",s=0,h=i.length;h>s;s++){var f,d=i[s],l=d.getAttribute(n);try{f=l&&JSON.parse(l)}catch(c){u&&u.error("Error parsing "+n+" on "+d.nodeName.toLowerCase()+(d.id?"#"+d.id:"")+": "+c);continue}var y=new o(d,f);p&&p.data(d,t,y)}}),p&&p.bridget&&p.bridget(t,o),o},m.Item=y,m}var a=t.document,u=t.console,p=t.jQuery,h=function(){},f=Object.prototype.toString,d="object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1===t.nodeType&&"string"==typeof t.nodeName},l=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++)if(t[i]===e)return i;return-1};"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","doc-ready/doc-ready","eventEmitter/EventEmitter","get-size/get-size","matches-selector/matches-selector","./item"],s):t.Outlayer=s(t.eventie,t.docReady,t.EventEmitter,t.getSize,t.matchesSelector,t.Outlayer.Item)}(window),function(t){function e(t){function e(){t.Item.apply(this,arguments)}e.prototype=new t.Item,e.prototype._create=function(){this.id=this.layout.itemGUID++,t.Item.prototype._create.call(this),this.sortData={}},e.prototype.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var i=e.prototype.destroy;return e.prototype.destroy=function(){i.apply(this,arguments),this.css({display:""})},e}"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],e):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window),function(t){function e(t,e){function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}return function(){function t(t){return function(){return e.prototype[t].apply(this.isotope,arguments)}}for(var o=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],n=0,r=o.length;r>n;n++){var s=o[n];i.prototype[s]=t(s)}}(),i.prototype.needsVerticalResizeLayout=function(){var e=t(this.isotope.element),i=this.isotope.size&&e;return i&&e.innerHeight!==this.isotope.size.innerHeight},i.prototype._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},i.prototype.getColumnWidth=function(){this.getSegmentSize("column","Width")},i.prototype.getRowHeight=function(){this.getSegmentSize("row","Height")},i.prototype.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},i.prototype.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},i.prototype.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},i.prototype.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function o(){i.apply(this,arguments)}return o.prototype=new i,e&&(o.options=e),o.prototype.namespace=t,i.modes[t]=o,o},i}"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window),function(t){function e(t,e){var o=t.create("masonry");return o.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},o.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}this.columnWidth+=this.gutter,this.cols=Math.floor((this.containerWidth+this.gutter)/this.columnWidth),this.cols=Math.max(this.cols,1)},o.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,o=e&&1>e?"round":"ceil",n=Math[o](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var r=this._getColGroup(n),s=Math.min.apply(Math,r),a=i(r,s),u={x:this.columnWidth*a,y:s},p=s+t.size.outerHeight,h=this.cols+1-r.length,f=0;h>f;f++)this.colYs[a+f]=p;return u},o.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;i>o;o++){var n=this.colYs.slice(o,o+t);e[o]=Math.max.apply(Math,n)}return e},o.prototype._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this.options.isOriginLeft?o.left:o.right,r=n+i.outerWidth,s=Math.floor(n/this.columnWidth);s=Math.max(0,s);var a=Math.floor(r/this.columnWidth);a-=r%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this.options.isOriginTop?o.top:o.bottom)+i.outerHeight,p=s;a>=p;p++)this.colYs[p]=Math.max(u,this.colYs[p])},o.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},o.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},o}var i=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++){var n=t[i];if(n===e)return i}return-1};"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],e):t.Masonry=e(t.Outlayer,t.getSize)}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t,i){var o=t.create("masonry"),n=o.prototype._getElementOffset,r=o.prototype.layout,s=o.prototype._getMeasurement;e(o.prototype,i.prototype),o.prototype._getElementOffset=n,o.prototype.layout=r,o.prototype._getMeasurement=s;var a=o.prototype.measureColumns;o.prototype.measureColumns=function(){this.items=this.isotope.filteredItems,a.call(this)};var u=o.prototype._manageStamp;return o.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,u.apply(this,arguments)},o}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],i):i(t.Isotope.LayoutMode,t.Masonry)}(window),function(t){function e(t){var e=t.create("fitRows");return e.prototype._resetLayout=function(){this.x=0,this.y=0,this.maxY=0},e.prototype._getItemLayoutPosition=function(t){t.getSize(),0!==this.x&&t.size.outerWidth+this.x>this.isotope.size.innerWidth&&(this.x=0,this.y=this.maxY);var e={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=t.size.outerWidth,e},e.prototype._getContainerSize=function(){return{height:this.maxY}},e}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],e):e(t.Isotope.LayoutMode)}(window),function(t){function e(t){var e=t.create("vertical",{horizontalAlignment:0});return e.prototype._resetLayout=function(){this.y=0},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},e.prototype._getContainerSize=function(){return{height:this.y}},e}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],e):e(t.Isotope.LayoutMode)}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){return"[object Array]"===h.call(t)}function o(t){var e=[];if(i(t))e=t;else if(t&&"number"==typeof t.length)for(var o=0,n=t.length;n>o;o++)e.push(t[o]);else e.push(t);return e}function n(t,e){var i=f(e,t);-1!==i&&e.splice(i,1)}function r(t,i,r,u,h){function f(t,e){return function(i,o){for(var n=0,r=t.length;r>n;n++){var s=t[n],a=i.sortData[s],u=o.sortData[s];if(a>u||u>a){var p=void 0!==e[s]?e[s]:e,h=p?1:-1;return(a>u?1:-1)*h}}return 0}}var d=t.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});d.Item=u,d.LayoutMode=h,d.prototype._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),t.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var e in h.modes)this._initLayoutMode(e)},d.prototype.reloadItems=function(){this.itemGUID=0,t.prototype.reloadItems.call(this)},d.prototype._itemize=function(){for(var e=t.prototype._itemize.apply(this,arguments),i=0,o=e.length;o>i;i++){var n=e[i];n.id=this.itemGUID++}return this._updateItemsSortData(e),e},d.prototype._initLayoutMode=function(t){var i=h.modes[t],o=this.options[t]||{};this.options[t]=i.options?e(i.options,o):o,this.modes[t]=new i(this)},d.prototype.layout=function(){return!this._isLayoutInited&&this.options.isInitLayout?(this.arrange(),void 0):(this._layout(),void 0)},d.prototype._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},d.prototype.arrange=function(t){this.option(t),this._getIsInstant(),this.filteredItems=this._filter(this.items),this._sort(),this._layout()},d.prototype._init=d.prototype.arrange,d.prototype._getIsInstant=function(){var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=t,t},d.prototype._filter=function(t){function e(){f.reveal(n),f.hide(r)}var i=this.options.filter;i=i||"*";for(var o=[],n=[],r=[],s=this._getFilterTest(i),a=0,u=t.length;u>a;a++){var p=t[a];if(!p.isIgnored){var h=s(p);h&&o.push(p),h&&p.isHidden?n.push(p):h||p.isHidden||r.push(p)}}var f=this;return this._isInstant?this._noTransition(e):e(),o},d.prototype._getFilterTest=function(t){return s&&this.options.isJQueryFiltering?function(e){return s(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return r(e.element,t)}},d.prototype.updateSortData=function(t){this._getSorters(),t=o(t); var e=this.getItems(t);e=e.length?e:this.items,this._updateItemsSortData(e)},d.prototype._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=l(i)}},d.prototype._updateItemsSortData=function(t){for(var e=0,i=t.length;i>e;e++){var o=t[e];o.updateSortData()}};var l=function(){function t(t){if("string"!=typeof t)return t;var i=a(t).split(" "),o=i[0],n=o.match(/^\[(.+)\]$/),r=n&&n[1],s=e(r,o),u=d.sortDataParsers[i[1]];return t=u?function(t){return t&&u(s(t))}:function(t){return t&&s(t)}}function e(t,e){var i;return i=t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&p(i)}}return t}();d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},d.prototype._sort=function(){var t=this.options.sortBy;if(t){var e=[].concat.apply(t,this.sortHistory),i=f(e,this.options.sortAscending);this.filteredItems.sort(i),t!==this.sortHistory[0]&&this.sortHistory.unshift(t)}},d.prototype._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw Error("No layout mode: "+t);return e.options=this.options[t],e},d.prototype._resetLayout=function(){t.prototype._resetLayout.call(this),this._mode()._resetLayout()},d.prototype._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},d.prototype._manageStamp=function(t){this._mode()._manageStamp(t)},d.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},d.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},d.prototype.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},d.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps();var o=this._filterRevealAdded(e);this.layoutItems(i),this.filteredItems=o.concat(this.filteredItems)}},d.prototype._filterRevealAdded=function(t){var e=this._noTransition(function(){return this._filter(t)});return this.layoutItems(e,!0),this.reveal(e),t},d.prototype.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;n>i;i++)o=e[i],this.element.appendChild(o.element);var r=this._filter(e);for(this._noTransition(function(){this.hide(r)}),i=0;n>i;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;n>i;i++)delete e[i].isLayoutInstant;this.reveal(r)}};var c=d.prototype.remove;return d.prototype.remove=function(t){t=o(t);var e=this.getItems(t);if(c.call(this,t),e&&e.length)for(var i=0,r=e.length;r>i;i++){var s=e[i];n(s,this.filteredItems)}},d.prototype.shuffle=function(){for(var t=0,e=this.items.length;e>t;t++){var i=this.items[t];i.sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},d.prototype._noTransition=function(t){var e=this.options.transitionDuration;this.options.transitionDuration=0;var i=t.call(this);return this.options.transitionDuration=e,i},d.prototype.getFilteredItemElements=function(){for(var t=[],e=0,i=this.filteredItems.length;i>e;e++)t.push(this.filteredItems[e].element);return t},d}var s=t.jQuery,a=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},u=document.documentElement,p=u.textContent?function(t){return t.textContent}:function(t){return t.innerText},h=Object.prototype.toString,f=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++)if(t[i]===e)return i;return-1};"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],r):t.Isotope=r(t.Outlayer,t.getSize,t.matchesSelector,t.Isotope.Item,t.Isotope.LayoutMode)}(window); (function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;tn;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),u&&(this.jqDeferred=new u.Deferred);var r=this;setTimeout(function(){r.check()})}function f(e){this.img=e}function c(e){this.src=e,v[e]=this}var u=e.jQuery,a=e.console,h="undefined"!=typeof a,d=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);for(var i=n.querySelectorAll("img"),r=0,o=i.length;o>r;r++){var s=i[r];this.addImage(s)}}},s.prototype.addImage=function(e){var t=new f(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&h&&a.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return void this.complete();for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},u&&(u.fn.imagesLoaded=function(e,t){var n=new s(this,e,t);return n.jqDeferred.promise(u(this))}),f.prototype=new t,f.prototype.check=function(){var e=v[this.img.src]||new c(this.img.src);if(e.isConfirmed)return void this.confirm(e.isLoaded,"cached was confirmed");if(this.img.complete&&void 0!==this.img.naturalWidth)return void this.confirm(0!==this.img.naturalWidth,"naturalWidth");var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},f.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return c.prototype=new t,c.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},c.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},c.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},c.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},c.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},c.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s}); (function(window){ 'use strict'; function classReg(className){ return new RegExp("(^|\\s+)" + className + "(\\s+|$)"); } var hasClass, addClass, removeClass; if('classList' in document.documentElement){ hasClass=function(elem, c){ return elem.classList.contains(c); }; addClass=function(elem, c){ elem.classList.add(c); }; removeClass=function(elem, c){ elem.classList.remove(c); };}else{ hasClass=function(elem, c){ return classReg(c).test(elem.className); }; addClass=function(elem, c){ if(!hasClass(elem, c)){ elem.className=elem.className + ' ' + c; }}; removeClass=function(elem, c){ elem.className=elem.className.replace(classReg(c), ' '); };} function toggleClass(elem, c){ var fn=hasClass(elem, c) ? removeClass:addClass; fn(elem, c); } var classie={ hasClass: hasClass, addClass: addClass, removeClass: removeClass, toggleClass: toggleClass, has: hasClass, add: addClass, remove: removeClass, toggle: toggleClass }; if(typeof define==='function'&&define.amd){ define(classie); }else{ window.classie=classie; }})(window); !function(a){"use strict";function b(b,c){return this.$target=a(b),this.opts=a.extend({},i,c),void 0===this.isOpen&&this._init(),this}var c,d,e,f,g,h,i={loadingNotice:"Loading image",errorNotice:"The image could not be loaded",errorDuration:2500,preventClicks:!0,onShow:void 0,onHide:void 0};b.prototype._init=function(){var b=this;this.$link=this.$target.find("a"),this.$image=this.$target.find("img"),this.$flyout=a('
    '),this.$notice=a('
    '),this.$target.on("mouseenter.easyzoom touchstart.easyzoom",function(a){b.isMouseOver=!0,a.originalEvent.touches&&1!==a.originalEvent.touches.length||(a.preventDefault(),b.show(a,!0))}).on("mousemove.easyzoom touchmove.easyzoom",function(a){b.isOpen&&(a.preventDefault(),b._move(a))}).on("mouseleave.easyzoom touchend.easyzoom",function(){b.isMouseOver=!1,b.isOpen&&b.hide()}),this.opts.preventClicks&&this.$target.on("click.easyzoom","a",function(a){a.preventDefault()})},b.prototype.show=function(a,b){var g,h,i,j,k=this;return this.isReady?(this.$target.append(this.$flyout),g=this.$target.width(),h=this.$target.height(),i=this.$flyout.width(),j=this.$flyout.height(),c=this.$zoom.width()-i,d=this.$zoom.height()-j,e=c/g,f=d/h,this.isOpen=!0,this.opts.onShow&&this.opts.onShow.call(this),void(a&&this._move(a))):void this._load(this.$link.attr("href"),function(){(k.isMouseOver||!b)&&k.show(a)})},b.prototype._load=function(b,c){var d=new Image;this.$target.addClass("is-loading").append(this.$notice.text(this.opts.loadingNotice)),this.$zoom=a(d),d.onerror=a.proxy(function(){var a=this;this.$notice.text(this.opts.errorNotice),this.$target.removeClass("is-loading").addClass("is-error"),this.detachNotice=setTimeout(function(){a.$notice.detach(),a.detachNotice=null},this.opts.errorDuration)},this),d.onload=a.proxy(function(){d.width&&(this.isReady=!0,this.$notice.detach(),this.$flyout.html(this.$zoom),this.$target.removeClass("is-loading").addClass("is-ready"),c())},this),d.style.position="absolute",d.src=b},b.prototype._move=function(a){if(0===a.type.indexOf("touch")){var b=a.touches||a.originalEvent.touches;g=b[0].pageX,h=b[0].pageY}else g=a.pageX||g,h=a.pageY||h;var i=this.$target.offset(),j=h-i.top,k=g-i.left,l=Math.ceil(j*f),m=Math.ceil(k*e);0>m||0>l||m>c||l>d?this.hide():this.$zoom.css({top:""+-1*l+"px",left:""+-1*m+"px"})},b.prototype.hide=function(){this.isOpen&&(this.$flyout.detach(),this.isOpen=!1,this.opts.onHide&&this.opts.onHide.call(this))},b.prototype.swap=function(b,c,d){this.hide(),this.isReady=!1,this.detachNotice&&clearTimeout(this.detachNotice),this.$notice.parent().length&&this.$notice.detach(),a.isArray(d)&&(d=d.join()),this.$target.removeClass("is-loading is-ready is-error"),this.$image.attr({src:b,srcset:d}),this.$link.attr("href",c)},b.prototype.teardown=function(){this.hide(),this.$target.removeClass("is-loading is-ready is-error").off(".easyzoom"),this.detachNotice&&clearTimeout(this.detachNotice),delete this.$link,delete this.$zoom,delete this.$image,delete this.$notice,delete this.$flyout,delete this.isOpen,delete this.isReady},a.fn.easyZoom=function(c){return this.each(function(){var d=a.data(this,"easyZoom");d?void 0===d.isOpen&&d._init():a.data(this,"easyZoom",new b(this,c))})},"function"==typeof define&&define.amd?define(function(){return b}):"undefined"!=typeof module&&module.exports&&(module.exports=b)}(jQuery); (function(){ if(jQuery('.header-actions ul li').hasClass('search-button')){ var triggerBttn=document.getElementById('trigger-overlay'), overlay=document.querySelector('div.overlay-top-search'), closeBttn=overlay.querySelector('button.overlay-close-search'); transEndEventNames={ 'WebkitTransition': 'webkitTransitionEnd', 'MozTransition': 'transitionend', 'OTransition': 'oTransitionEnd', 'msTransition': 'MSTransitionEnd', 'transition': 'transitionend' }, transEndEventName=transEndEventNames[Modernizr.prefixed('transition')], support={transitions: Modernizr.csstransitions}; function toggleOverlay(){ if(classie.has(overlay, 'open')){ classie.remove(overlay, 'open'); classie.add(overlay, 'close'); var onEndTransitionFn=function (ev){ if(support.transitions){ if(ev.propertyName!=='visibility') return; this.removeEventListener(transEndEventName, onEndTransitionFn); } classie.remove(overlay, 'close'); }; if(support.transitions){ overlay.addEventListener(transEndEventName, onEndTransitionFn); }else{ onEndTransitionFn(); }} else if(!classie.has(overlay, 'close')){ classie.add(overlay, 'open'); }} triggerBttn.addEventListener('click', toggleOverlay); closeBttn.addEventListener('click', toggleOverlay); }})(); !function(t){t.fn.extend({easyResponsiveTabs:function(a){var e={type:"default",width:"auto",fit:!0,closed:!1,tabidentify:"",activetab_bg:"white",inactive_bg:"#F5F5F5",active_border_color:"#c1c1c1",active_content_border_color:"#c1c1c1",activate:function(){}},a=t.extend(e,a),i=a,r=i.type,o=i.fit,s=i.width,c="vertical",n="accordion",d=window.location.hash,b=!(!window.history||!history.replaceState);t(this).bind("tabactivate",function(t,e){"function"==typeof a.activate&&a.activate.call(e,t)}),this.each(function(){function e(){r==c&&i.addClass("resp-vtabs").addClass(a.tabidentify),1==o&&i.css({width:"100%",margin:"0px"}),r==n&&(i.addClass("resp-easy-accordion").addClass(a.tabidentify),i.find(".resp-tabs-list").css("display","none"))}var i=t(this),l=i.find("ul.resp-tabs-list."+a.tabidentify),f=i.attr("id");i.find("ul.resp-tabs-list."+a.tabidentify+" li").addClass("resp-tab-item").addClass(a.tabidentify),i.css({display:"block",width:s}),"vertical"==a.type&&l.css("margin-top","3px"),i.find(".resp-tabs-container."+a.tabidentify).css("border-color",a.active_content_border_color),i.find(".resp-tabs-container."+a.tabidentify+" > div").addClass("resp-tab-content").addClass(a.tabidentify),e();var p;i.find(".resp-tab-content."+a.tabidentify).before(""),i.find(".resp-tab-content."+a.tabidentify).prev("h2").css({"background-color":a.inactive_bg,"border-color":a.active_border_color});var v=0;i.find(".resp-accordion").each(function(){p=t(this);var e=i.find(".resp-tab-item:eq("+v+")"),r=i.find(".resp-accordion:eq("+v+")");r.append(e.html()),r.data(e.data()),p.attr("aria-controls",a.tabidentify+"_tab_item-"+v),v++});var y,_=0;i.find(".resp-tab-item").each(function(){$tabItem=t(this),$tabItem.attr("aria-controls",a.tabidentify+"_tab_item-"+_),$tabItem.attr("role","tab"),$tabItem.css({"background-color":a.inactive_bg,"border-color":"none"});var e=0;i.find(".resp-tab-content."+a.tabidentify).each(function(){y=t(this),y.attr("aria-labelledby",a.tabidentify+"_tab_item-"+e).css({"border-color":a.active_border_color}),e++}),_++});var h=0;if(""!=d){var u=d.match(new RegExp(f+"([0-9]+)"));null!==u&&2===u.length&&(h=parseInt(u[1],10)-1,h>_&&(h=0))}t(i.find(".resp-tab-item."+a.tabidentify)[h]).addClass("resp-tab-active").css({"background-color":a.activetab_bg,"border-color":a.active_border_color}),a.closed===!0||"accordion"===a.closed&&!l.is(":visible")||"tabs"===a.closed&&l.is(":visible")||(t(i.find(".resp-accordion."+a.tabidentify)[h]).addClass("resp-tab-active").css({"background-color":a.activetab_bg+" !important","border-color":a.active_border_color,background:"none"}),t(i.find(".resp-tab-content."+a.tabidentify)[h]).addClass("resp-tab-content-active").addClass(a.tabidentify).attr("style","display:block")),i.find("[role=tab]").each(function(){var e=t(this);e.click(function(){var e=t(this),r=e.attr("aria-controls");if(e.hasClass("resp-accordion")&&e.hasClass("resp-tab-active"))return i.find(".resp-tab-content-active."+a.tabidentify).slideUp("",function(){t(this).addClass("resp-accordion-closed")}),e.removeClass("resp-tab-active").css({"background-color":a.inactive_bg,"border-color":"none"}),!1;if(!e.hasClass("resp-tab-active")&&e.hasClass("resp-accordion")?(i.find(".resp-tab-active."+a.tabidentify).removeClass("resp-tab-active").css({"background-color":a.inactive_bg,"border-color":"none"}),i.find(".resp-tab-content-active."+a.tabidentify).slideUp().removeClass("resp-tab-content-active resp-accordion-closed"),i.find("[aria-controls="+r+"]").addClass("resp-tab-active").css({"background-color":a.activetab_bg,"border-color":a.active_border_color}),i.find(".resp-tab-content[aria-labelledby="+r+"]."+a.tabidentify).slideDown().addClass("resp-tab-content-active")):(i.find(".resp-tab-active."+a.tabidentify).removeClass("resp-tab-active").css({"background-color":a.inactive_bg,"border-color":"none"}),i.find(".resp-tab-content-active."+a.tabidentify).removeAttr("style").removeClass("resp-tab-content-active").removeClass("resp-accordion-closed"),i.find("[aria-controls="+r+"]").addClass("resp-tab-active").css({"background-color":a.activetab_bg,"border-color":a.active_border_color}),i.find(".resp-tab-content[aria-labelledby="+r+"]."+a.tabidentify).addClass("resp-tab-content-active").attr("style","display:block")),e.trigger("tabactivate",e),b){var o=window.location.hash,s=r.split("tab_item-"),c=f+(parseInt(s[1],10)+1).toString();if(""!=o){var n=new RegExp(f+"[0-9]+");c=null!=o.match(n)?o.replace(n,c):o+"|"+c}else c="#"+c;history.replaceState(null,null,c)}})}),t(window).resize(function(){i.find(".resp-accordion-closed").removeAttr("style")})})}})}(jQuery); jQuery(document).foundation({offcanvas:{open_method:"move",close_on_click:!0}}),jQuery(document).ready(function(t){"use strict";function i(){var i=t(window).width()+h,e=t(".mega-menu").closest(".columns").width();return i>=e?e:i>=992?940:i>=768?710:t(window).width()-30}function e(){var e=t(".mega-menu"),o={sensitivity:2,interval:0,timeout:0};e.each(function(){var e=t(this),s=e.closest(".columns"),n=i(),a=0;s.length&&(a=u?s.offset().left+s.width()-(e.offset().left+e.width())+parseInt(s.css("padding-right")):e.offset().left-s.offset().left-parseInt(s.css("padding-left")),a=1==a?0:a);var r=e.find("> li");r.each(function(){var i=t(this),s=i.find("> .popup");if(s.length>0){if(s.css("display","block"),i.hasClass("wide")){s.css("left",0);var l,c=parseInt(s.css("padding-left"))+parseInt(s.css("padding-right"))+parseInt(s.find("> .inner").css("padding-left"))+parseInt(s.find("> .inner").css("padding-right"));i.hasClass("col-2")&&(l=2),i.hasClass("col-3")&&(l=3),i.hasClass("col-4")&&(l=4),i.hasClass("col-5")&&(l=5),i.hasClass("col-6")&&(l=6),t(window).width()<992-h&&(l=1);var d=0;s.find("> .inner > ul > li").each(function(){var i=parseInt(t(this).attr("data-cols"));1>i&&(i=1),i>l&&(i=l),d+=i}),d>l&&(d=l);var f=n/l;if(s.find("> .inner > ul > li").each(function(){var e=parseFloat(t(this).attr("data-cols"));1>e&&(e=1),e>l&&(e=l),i.hasClass("pos-center")||i.hasClass("pos-left")||i.hasClass("pos-right")?t(this).css("width",100/d*e+"%"):t(this).css("width",100/l*e+"%")}),i.hasClass("pos-center")){s.find("> .inner > ul").width(f*d-c);var p=s.offset().left-(t(window).width()-f*d)/2;s.css({left:-p})}else if(i.hasClass("pos-left"))s.find("> .inner > ul").width(f*d-c),s.css({left:0});else if(i.hasClass("pos-right"))s.find("> .inner > ul").width(f*d-c),s.css({left:"auto",right:0});else if(s.find("> .inner > ul").width(n-c),u){s.css({right:0,left:"auto"});var g=s.offset().left+s.width()-(e.offset().left+e.width())-a;s.css({right:g,left:"auto"})}else{s.css({left:0,right:"auto"});var p=s.offset().left-e.offset().left+a;s.css({left:-p,right:"auto"})}}s.css("display","none"),i.hoverIntent(t.extend({},o,{over:function(){r.find(".popup").hide(),s.show()},out:function(){s.hide()}}))}})})}function o(){var i=t(window).width()+h,e=t(".site-content").find(".columns").width();return i>=e?e-310:i>=992?940:i>=768?710:t(window).width()-30}function s(){var i=t(".sidebar-menu"),e=!1,s={sensitivity:2,interval:0,timeout:0};i.each(function(){var i,n=t(this);n.closest(".sidebar-navigation");i=t(window).width()<992-h?o():o()-n.width()-45;var a=n.find("> li");a.each(function(){var o=t(this),n=o.find("> .popup");if(n.length>0){if(n.css("display","block"),o.hasClass("wide")){n.css("left",0);var r;parseInt(n.css("padding-left"))+parseInt(n.css("padding-right"))+parseInt(n.find("> .inner").css("padding-left"))+parseInt(n.find("> .inner").css("padding-right"));o.hasClass("col-2")&&(r=2),o.hasClass("col-3")&&(r=3),o.hasClass("col-4")&&(r=4),o.hasClass("col-5")&&(r=5),o.hasClass("col-6")&&(r=6),t(window).width()<992-h&&(r=1);var l=0;n.find("> .inner > ul > li").each(function(){var i=parseInt(t(this).attr("data-cols"));1>i&&(i=1),i>r&&(i=r),l+=i}),l>r&&(l=r);var c=i/r;n.find("> .inner > ul > li").each(function(){var i=parseFloat(t(this).attr("data-cols"));1>i&&(i=1),i>r&&(i=r),o.hasClass("pos-center")||o.hasClass("pos-left")||o.hasClass("pos-right")?t(this).css("width",100/l*i+"%"):t(this).css("width",100/r*i+"%")}),n.find("> .inner > ul").width(c*l+1),e?n.css({left:"auto",right:t(this).width()}):n.css({left:t(this).width(),right:"auto"})}n.css("display","none"),o.hoverIntent(t.extend({},s,{over:function(){a.find(".popup").hide(),n.show(),n.parent().addClass("open")},out:function(){n.hide(),n.parent().removeClass("open")}}))}})})}function n(){jQuery(".nova-button").length&&jQuery(".nova-button").each(function(){if("undefined"!=typeof jQuery(this).data("hover-background-color")&&jQuery(this).data("hover-background-color")!==!1){var t=jQuery(this).data("hover-background-color"),i=jQuery(this).css("background-color");jQuery(this).hover(function(){jQuery(this).css("background-color",t)},function(){jQuery(this).css("background-color",i)})}if("undefined"!=typeof jQuery(this).data("hover-border-color")&&jQuery(this).data("hover-border-color")!==!1){var e=jQuery(this).data("hover-border-color"),o=jQuery(this).css("border-top-color");jQuery(this).hover(function(){jQuery(this).css("border-color",e)},function(){jQuery(this).css("border-color",o)})}if("undefined"!=typeof jQuery(this).data("hover-color")&&jQuery(this).data("hover-color")!==!1){var s=jQuery(this).data("hover-color"),n=jQuery(this).css("color");jQuery(this).hover(function(){jQuery(this).css("color",s)},function(){jQuery(this).css("color",n)})}})}function a(i){var e=t(i).attr("data-src");t(i).one("load",function(){}).each(function(){t(i).attr("src",e),t(i).css("opacity","1")})}function r(){t(window).innerWidth()<640&&t(".product_content_wrapper .fresco").on("click",function(){return!1})}function l(){if(t(window).innerWidth()>1023){t(".orderby, .big-select").select2({allowClear:!0,minimumResultsForSearch:1/0})}}function c(){return w=t(window).innerWidth()>1584?5:t(window).innerWidth()<=480?1:t(window).innerWidth()<=901?2:t(window).innerWidth()<=1248?3:4,t(".items_per_row_3").length>0&&t(window).innerWidth()>1248&&(w=3),t(".items_per_row_4").length>0&&t(window).innerWidth()>1584&&(w=4),g=t(".portfolio-isotope-container").width(),g%w>0&&(g+=w-g%w),t(".portfolio-isotope").css("width",g),w}function d(){t(".columns_auto_height").each(function(){var i=0,e=t(this);e.imagesLoaded("always",function(){e.find(".column_container").first().siblings().addBack().css("min-height",0).each(function(){t(this).outerHeight(!0)>i&&(i=t(this).outerHeight(!0))}),e.addClass("height_balanced").find(".column_container").first().siblings().addBack().css("min-height",i)})})}var f=t(window).innerWidth(),h=f-t(window).width(),u=!1;if(e(),s(),t(".mobile-navigation .menu-item-has-children").append('
    '),t(".mobile-navigation").on("click",".more",function(i){i.stopPropagation(),t(this).parent().toggleClass("current").children(".sub-menu").toggleClass("open"),t(this).html(''==t(this).html()?'':'')}),jQuery("#mini-cart").hover(function(){jQuery(this).find(".dropdown-menu").fadeIn(100)},function(){jQuery(this).find(".dropdown-menu").fadeOut(100)}),t("#woocomerce-tabs").easyResponsiveTabs({type:"vertical",width:"auto",fit:!0,closed:"accordion",tabidentify:"hor_1",inactive_bg:"#FFFFFF"}),n(),t.fn.visible=function(i){var e=t(this),o=t(window),s=o.scrollTop(),n=s+o.height(),a=e.offset().top,r=a+e.height(),l=i===!0?r:a,c=i===!0?a:r;return n>=c&&l>=s},t(".button-qty").on("click",function(){var t=jQuery(this),i=t.parent().find("input").val();if("+"==t.text())var e=parseFloat(i)+1;else if(i>1)var e=parseFloat(i)-1;else e=1;t.parent().find("input").val(e)}),t("#related-products-carousel").owlCarousel({items:4,itemsDesktop:[1200,4],itemsDesktopSmall:[1e3,3],itemsTablet:!1,itemsMobile:[600,2],lazyLoad:!0,pagination:!1,navigation:!0,navigationText:['','']}),t("#cross-sell-products-carousel").owlCarousel({items:4,itemsDesktop:[1200,4],itemsDesktopSmall:[1e3,3],itemsTablet:!1,itemsMobile:[600,2],lazyLoad:!0,navigation:!0,navigationText:['','']}),t("#upsells-products-carousel").owlCarousel({items:4,itemsDesktop:[1200,4],itemsDesktopSmall:[1e3,3],itemsTablet:!1,itemsMobile:[600,2],lazyLoad:!0,navigation:!0,navigationText:['','']}),t("#products-grid li img").each(function(){a(this)}),t(".related.products:not(.owl-carousel) li img").each(function(){a(this)}),t(".upsells.products:not(.owl-carousel) li img").each(function(){a(this)}),t(".add_to_wishlist").on("click",function(){t(this).parents(".yith-wcwl-add-button").addClass("show_overlay")}),t(".wpb_wrapper .products").hasClass("list")&&jQuery(".wpb_wrapper .products").addClass("grid").removeClass("list"),r(),t(".gallery").each(function(){var i=t(this);i.find(".gallery-item").each(function(){var e=t(this);e.find(".fresco").attr("data-fresco-group",i.attr("id")),e.find(".gallery-caption").length>0&&e.find(".fresco").attr("data-fresco-caption",e.find(".gallery-caption").text())})}),l(),t(".gallery-item").each(function(){var i=t(this);i.find(".gallery-caption").length>0&&i.append('i')}),t(".gallery-caption-trigger").on("mouseenter",function(){t(this).siblings(".gallery-caption").addClass("show")}),t(".gallery-caption-trigger").on("mouseleave",function(){t(this).siblings(".gallery-caption").removeClass("show")}),t(".portfolio_text_effect").each(function(){var i=t(this);i.css("bottom",-i.outerHeight()).attr("data-height",i.outerHeight())}),t(".portfolio_hover_link_effect").mouseenter(function(){var i=t(this);if(!i.find(".portfolio_text_effect").is(":empty")){var e=i.find(".portfolio_text_effect").outerHeight();i.find(".portfolio_title_effect").css("bottom",e),i.find(".portfolio_text_effect").css("bottom",0)}}),t(".portfolio_hover_link_effect").mouseleave(function(){var i=t(this);if(!i.find(".portfolio_text_effect").is(":empty")){var e=i.find(".portfolio_text_effect").attr("data-height");i.find(".portfolio_title_effect").css("bottom",28),i.find(".portfolio_text_effect").css("bottom",-e)}}),t(".portfolio-isotope-container").size()){var p,g,w,m;m=t(".filters-group .is-checked").attr("data-filter"),w=c(),c();var v=function(){setTimeout(function(){t(".portfolio_item").removeClass("hidden")},200)},y=function(){var i=imagesLoaded(t(".portfolio-isotope"));i.on("done",function(){p=t(".portfolio-isotope").isotope({itemSelector:".portfolio_item",masonry:{columnWidth:".portfolio-grid-sizer"}}),v()}),i.on("fail",function(){portfolio_wrapper_inner=t(".portfolio-isotope").isotope({itemSelector:".portfolio_item",masonry:{columnWidth:".portfolio-grid-sizer"}}),v()})};y(),t(".filters-group").on("click",".filter-item",function(){m=t(this).attr("data-filter"),t(this).parents(".portfolio-filters").siblings(".portfolio-isotope").isotope({filter:m})})}var _=t(".parallax");t.each(_,function(){var i=t(this),e=i.css("background-image").replace(/"/g,"").replace(/url\(|\)$/gi,"");e&&""!==e&&"none"!==e&&(_=_.add(t("").attr("src",e))),i.is("img")&&(_=_.add(i))}),_.imagesLoaded("done",function(){t(window).outerWidth()>1024&&t.stellar({horizontalScrolling:!1}),setTimeout(function(){t(".parallax").addClass("loaded")},150)}),t(".vc_row").hasClass("columns_auto_height")&&(f>640?setTimeout(function(){d()},1):t(".columns_auto_height").addClass("height_balanced")),t(window).load(function(){function i(){if(t(".product_thumbnails_swiper_container").css("max-height",t(".product_images").height()),t(".product_thumbnails").length){for(var i=0;i1024){var s=t(".easyzoom").easyZoom({loadingNotice:"",errorNotice:"",preventClicks:!1}),n=s.data("easyZoom");t(".variations").on("change","select",function(){o.goTo(0),n.teardown(),n._init()})}t(".products-grid .product_list_button").css("display","block")}),t(window).resize(function(){function i(){n&&clearTimeout(n),n=setTimeout(function(){t(this).trigger("onEndResizingIsotope")},100)}if(e(),s(),t(".product_thumbnails_swiper_container").css("max-height",t(".product_images").height()),t(".main-navigation > ul > .menu-item > .sub-menu").css("left","-15px"),r(),t(".vc_row").hasClass("columns_auto_height")&&(t(window).width()>640?d():t(".columns_auto_height").find(".column_container").css("min-height",300)),t(".portfolio-isotope-container").size()){var o;c(),o=c(),w!=o&&(t(".filters-group .filter-item").each(function(){t(this).attr("data-filter")==m&&t(this).trigger("click")}),w=o,i())}var n=this.resizeTO}),t(window).bind("onEndResizingIsotope",function(){console.log("resizeend"),t(".filters-group .filter-item").each(function(){t(this).attr("data-filter")==m&&(t(this).trigger("click"),console.log("trigger resize"))})}),t(window).scroll(function(){t("#page_wrapper.sticky_header .top-headers-wrapper").css("top",t(window).scrollTop())})}); var addComment={moveForm:function(a,b,c,d){var e,f=this,g=f.I(a),h=f.I(c),i=f.I("cancel-comment-reply-link"),j=f.I("comment_parent"),k=f.I("comment_post_ID");if(g&&h&&i&&j){f.respondId=c,d=d||!1,f.I("wp-temp-form-div")||(e=document.createElement("div"),e.id="wp-temp-form-div",e.style.display="none",h.parentNode.insertBefore(e,h)),g.parentNode.insertBefore(h,g.nextSibling),k&&d&&(k.value=d),j.value=b,i.style.display="",i.onclick=function(){var a=addComment,b=a.I("wp-temp-form-div"),c=a.I(a.respondId);if(b&&c)return a.I("comment_parent").value="0",b.parentNode.insertBefore(c,b),b.parentNode.removeChild(b),this.style.display="none",this.onclick=null,!1};try{f.I("comment").focus()}catch(l){}return!1}},I:function(a){return document.getElementById(a)}};