!function(t){var e={};function i(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(o,n,function(e){return t[e]}.bind(null,n));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i(i.s=0)}({0:function(t,e,i){i("lh2I"),t.exports=i("IlIi")},"1PcO":function(t,e){!function(t,e,i){var o,n,r,s,a,l,c,d,u,h,p,f,g,m,v,y,b,w,x,T,$,C,k,S,E,A,I,D,O,P,L,z,M,j={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,(function(t,i){e[t]=i})),e},createIframe:function(){var i=e.createElement("iframe"),o=t(this).data("cbox-iframe-attrs");return"object"==typeof o&&t.each(o,(function(t,e){i[t]=e})),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},N="colorbox",q=t("<a/>"),_="div",H=0,W={};function F(i,o,n){var r=e.createElement(i);return o&&(r.id="cbox"+o),n&&(r.style.cssText=n),t(r)}function R(){return i.innerHeight?i.innerHeight:t(i).height()}function B(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var o;return void 0===this.cache[e]&&(void 0!==(o=t(this.el).attr("data-cbox-"+e))?this.cache[e]=o:void 0!==i[e]?this.cache[e]=i[e]:void 0!==j[e]&&(this.cache[e]=j[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function U(t){var e=u.length,i=(A+t)%e;return i<0?e+i:i}function V(t,e){return Math.round((/%/.test(t)?("x"===e?h.width():R())/100:1)*parseInt(t,10))}function G(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function Y(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function X(t){"contains"in n[0]&&!n[0].contains(t.target)&&t.target!==o[0]&&(t.stopPropagation(),n.focus())}function Q(t){Q.str!==t&&(n.add(o).removeClass(Q.str).addClass(t),Q.str=t)}function Z(i){t(e).trigger(i),q.triggerHandler(i)}var K=function(){var t,e,i="cboxSlideshow_",o="click.cbox";function r(){clearTimeout(e)}function s(){($.get("loop")||u[A+1])&&(r(),e=setTimeout(z.next,$.get("slideshowSpeed")))}function a(){y.html($.get("slideshowStop")).unbind(o).one(o,l),q.bind("cbox_complete",s).bind("cbox_load",r),n.removeClass(i+"off").addClass(i+"on")}function l(){r(),q.unbind("cbox_complete",s).unbind("cbox_load",r),y.html($.get("slideshowStart")).unbind(o).one(o,(function(){z.next(),a()})),n.removeClass(i+"on").addClass(i+"off")}function c(){t=!1,y.hide(),r(),q.unbind("cbox_complete",s).unbind("cbox_load",r),n.removeClass(i+"off "+i+"on")}return function(){t?$.get("slideshow")||(q.unbind("cbox_cleanup",c),c()):$.get("slideshow")&&u[1]&&(t=!0,q.one("cbox_cleanup",c),$.get("slideshowAuto")?a():l(),y.show())}}();function J(r){var h,v;if(!P){if(h=t(r).data(N),$=new B(r,h),v=$.get("rel"),A=0,v&&!1!==v&&"nofollow"!==v?(u=t(".cboxElement").filter((function(){return new B(this,t.data(this,N)).get("rel")===v})),-1===(A=u.index($.el))&&(u=u.add($.el),A=u.length-1)):u=t($.el),!D){D=O=!0,Q($.get("className")),n.css({visibility:"hidden",display:"block",opacity:""}),p=F(_,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),s.css({width:"",height:""}).append(p),C=a.height()+d.height()+s.outerHeight(!0)-s.height(),k=l.width()+c.width()+s.outerWidth(!0)-s.width(),S=p.outerHeight(!0),E=p.outerWidth(!0);var y=V($.get("initialWidth"),"x"),b=V($.get("initialHeight"),"y"),w=$.get("maxWidth"),M=$.get("maxHeight");$.w=Math.max((!1!==w?Math.min(y,V(w,"x")):y)-E-k,0),$.h=Math.max((!1!==M?Math.min(b,V(M,"y")):b)-S-C,0),p.css({width:"",height:$.h}),z.position(),Z("cbox_open"),$.get("onOpen"),T.add(m).hide(),n.focus(),$.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",X,!0),q.one("cbox_closed",(function(){e.removeEventListener("focus",X,!0)}))),$.get("returnFocus")&&q.one("cbox_closed",(function(){t($.el).focus()}))}var j=parseFloat($.get("opacity"));o.css({opacity:j==j?j:"",cursor:$.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),$.get("closeButton")?x.html($.get("close")).appendTo(s):x.appendTo("<div/>"),function(){var e,o,n,r=z.prep,s=++H;O=!0,I=!1,Z("cbox_purge"),Z("cbox_load"),$.get("onLoad"),$.h=$.get("height")?V($.get("height"),"y")-S-C:$.get("innerHeight")&&V($.get("innerHeight"),"y"),$.w=$.get("width")?V($.get("width"),"x")-E-k:$.get("innerWidth")&&V($.get("innerWidth"),"x"),$.mw=$.w,$.mh=$.h,$.get("maxWidth")&&($.mw=V($.get("maxWidth"),"x")-E-k,$.mw=$.w&&$.w<$.mw?$.w:$.mw);$.get("maxHeight")&&($.mh=V($.get("maxHeight"),"y")-S-C,$.mh=$.h&&$.h<$.mh?$.h:$.mh);if(e=$.get("href"),L=setTimeout((function(){g.show()}),100),$.get("inline")){var a=t(e).eq(0);n=t("<div>").hide().insertBefore(a),q.one("cbox_purge",(function(){n.replaceWith(a)})),r(a)}else $.get("iframe")?r(" "):$.get("html")?r($.get("html")):G($,e)?(e=Y($,e),I=$.get("createImg"),t(I).addClass("cboxPhoto").bind("error.cbox",(function(){r(F(_,"Error").html($.get("imgError")))})).one("load",(function(){s===H&&setTimeout((function(){var e;$.get("retinaImage")&&i.devicePixelRatio>1&&(I.height=I.height/i.devicePixelRatio,I.width=I.width/i.devicePixelRatio),$.get("scalePhotos")&&(o=function(){I.height-=I.height*e,I.width-=I.width*e},$.mw&&I.width>$.mw&&(e=(I.width-$.mw)/I.width,o()),$.mh&&I.height>$.mh&&(e=(I.height-$.mh)/I.height,o())),$.h&&(I.style.marginTop=Math.max($.mh-I.height,0)/2+"px"),u[1]&&($.get("loop")||u[A+1])&&(I.style.cursor="pointer",t(I).bind("click.cbox",(function(){z.next()}))),I.style.width=I.width+"px",I.style.height=I.height+"px",r(I)}),1)})),I.src=e):e&&f.load(e,$.get("data"),(function(e,i){s===H&&r("error"===i?F(_,"Error").html($.get("xhrError")):t(this).contents())}))}()}}function tt(){n||(M=!1,h=t(i),n=F(_).attr({id:N,class:!1===t.support.opacity?"cboxIE":"",role:"dialog",tabindex:"-1"}).hide(),o=F(_,"Overlay").hide(),g=t([F(_,"LoadingOverlay")[0],F(_,"LoadingGraphic")[0]]),r=F(_,"Wrapper"),s=F(_,"Content").append(m=F(_,"Title"),v=F(_,"Current"),w=t('<button type="button"/>').attr({id:"cboxPrevious"}),b=t('<button type="button"/>').attr({id:"cboxNext"}),y=t('<button type="button"/>').attr({id:"cboxSlideshow"}),g),x=t('<button type="button"/>').attr({id:"cboxClose"}),r.append(F(_).append(F(_,"TopLeft"),a=F(_,"TopCenter"),F(_,"TopRight")),F(_,!1,"clear:left").append(l=F(_,"MiddleLeft"),s,c=F(_,"MiddleRight")),F(_,!1,"clear:left").append(F(_,"BottomLeft"),d=F(_,"BottomCenter"),F(_,"BottomRight"))).find("div div").css({float:"left"}),f=F(_,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),T=b.add(w).add(v).add(y)),e.body&&!n.parent().length&&t(e.body).append(o,n.append(r,f))}function et(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),J(this))}return!!n&&(M||(M=!0,b.click((function(){z.next()})),w.click((function(){z.prev()})),x.click((function(){z.close()})),o.click((function(){$.get("overlayClose")&&z.close()})),t(e).bind("keydown.cbox",(function(t){var e=t.keyCode;D&&$.get("escKey")&&27===e&&(t.preventDefault(),z.close()),D&&$.get("arrowKey")&&u[1]&&!t.altKey&&(37===e?(t.preventDefault(),w.click()):39===e&&(t.preventDefault(),b.click()))})),t.isFunction(t.fn.on)?t(e).on("click.cbox",".cboxElement",i):t(".cboxElement").live("click.cbox",i)),!0)}t[N]||(t(tt),(z=t.fn[N]=t[N]=function(e,i){var o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>"),e.open=!0),o[0]?(tt(),et()&&(i&&(e.onComplete=i),o.each((function(){var i=t.data(this,N)||{};t.data(this,N,t.extend(i,e))})).addClass("cboxElement"),new B(o[0],e).get("open")&&J(o[0])),o):o}).position=function(e,i){var o,u,p,f=0,g=0,m=n.offset();function v(){a[0].style.width=d[0].style.width=s[0].style.width=parseInt(n[0].style.width,10)-k+"px",s[0].style.height=l[0].style.height=c[0].style.height=parseInt(n[0].style.height,10)-C+"px"}if(h.unbind("resize.cbox"),n.css({top:-9e4,left:-9e4}),u=h.scrollTop(),p=h.scrollLeft(),$.get("fixed")?(m.top-=u,m.left-=p,n.css({position:"fixed"})):(f=u,g=p,n.css({position:"absolute"})),!1!==$.get("right")?g+=Math.max(h.width()-$.w-E-k-V($.get("right"),"x"),0):!1!==$.get("left")?g+=V($.get("left"),"x"):g+=Math.round(Math.max(h.width()-$.w-E-k,0)/2),!1!==$.get("bottom")?f+=Math.max(R()-$.h-S-C-V($.get("bottom"),"y"),0):!1!==$.get("top")?f+=V($.get("top"),"y"):f+=Math.round(Math.max(R()-$.h-S-C,0)/2),n.css({top:m.top,left:m.left,visibility:"visible"}),r[0].style.width=r[0].style.height="9999px",o={width:$.w+E+k,height:$.h+S+C,top:f,left:g},e){var y=0;t.each(o,(function(t){o[t]===W[t]||(y=e)})),e=y}W=o,e||n.css(o),n.dequeue().animate(o,{duration:e||0,complete:function(){v(),O=!1,r[0].style.width=$.w+E+k+"px",r[0].style.height=$.h+S+C+"px",$.get("reposition")&&setTimeout((function(){h.bind("resize.cbox",z.position)}),1),t.isFunction(i)&&i()},step:v})},z.resize=function(t){var e;D&&((t=t||{}).width&&($.w=V(t.width,"x")-E-k),t.innerWidth&&($.w=V(t.innerWidth,"x")),p.css({width:$.w}),t.height&&($.h=V(t.height,"y")-S-C),t.innerHeight&&($.h=V(t.innerHeight,"y")),t.innerHeight||t.height||(e=p.scrollTop(),p.css({height:"auto"}),$.h=p.height()),p.css({height:$.h}),e&&p.scrollTop(e),z.position("none"===$.get("transition")?0:$.get("speed")))},z.prep=function(i){if(D){var o,r="none"===$.get("transition")?0:$.get("speed");p.remove(),(p=F(_,"LoadedContent").append(i)).hide().appendTo(f.show()).css({width:($.w=$.w||p.width(),$.w=$.mw&&$.mw<$.w?$.mw:$.w,$.w),overflow:$.get("scrolling")?"auto":"hidden"}).css({height:($.h=$.h||p.height(),$.h=$.mh&&$.mh<$.h?$.mh:$.h,$.h)}).prependTo(s),f.hide(),t(I).css({float:"none"}),Q($.get("className")),o=function(){var i,o,s=u.length;function a(){!1===t.support.opacity&&n[0].style.removeAttribute("filter")}D&&(o=function(){clearTimeout(L),g.hide(),Z("cbox_complete"),$.get("onComplete")},m.html($.get("title")).show(),p.show(),s>1?("string"==typeof $.get("current")&&v.html($.get("current").replace("{current}",A+1).replace("{total}",s)).show(),b[$.get("loop")||A<s-1?"show":"hide"]().html($.get("next")),w[$.get("loop")||A?"show":"hide"]().html($.get("previous")),K(),$.get("preloading")&&t.each([U(-1),U(1)],(function(){var i=u[this],o=new B(i,t.data(i,N)),n=o.get("href");n&&G(o,n)&&(n=Y(o,n),e.createElement("img").src=n)}))):T.hide(),$.get("iframe")?(i=$.get("createIframe"),$.get("scrolling")||(i.scrolling="no"),t(i).attr({src:$.get("href"),class:"cboxIframe"}).one("load",o).appendTo(p),q.one("cbox_purge",(function(){i.src="//about:blank"})),$.get("fastIframe")&&t(i).trigger("load")):o(),"fade"===$.get("transition")?n.fadeTo(r,1,a):a())},"fade"===$.get("transition")?n.fadeTo(r,0,(function(){z.position(0,o)})):z.position(r,o)}},z.next=function(){!O&&u[1]&&($.get("loop")||u[A+1])&&(A=U(1),J(u[A]))},z.prev=function(){!O&&u[1]&&($.get("loop")||A)&&(A=U(-1),J(u[A]))},z.close=function(){D&&!P&&(P=!0,D=!1,Z("cbox_cleanup"),$.get("onCleanup"),h.unbind(".cbox"),o.fadeTo($.get("fadeOut")||0,0),n.stop().fadeTo($.get("fadeOut")||0,0,(function(){n.hide(),o.hide(),Z("cbox_purge"),p.remove(),setTimeout((function(){P=!1,Z("cbox_closed"),$.get("onClosed")}),1)})))},z.remove=function(){n&&(n.stop(),t[N].close(),n.stop(!1,!0).remove(),o.remove(),P=!1,n=null,t(".cboxElement").removeData(N).removeClass("cboxElement"),t(e).unbind("click.cbox").unbind("keydown.cbox"))},z.element=function(){return t($.el)},z.settings=j)}(jQuery,document,window)},"1dIw":function(t,e,i){var o,n;o=[i("EVdn")],void 0===(n=function(t){return function(t){!function(){"use strict";var e={scale:1,zoom:!0,actualSize:!0,enableZoomAfter:300,useLeftForZoom:function(){var t=!1,e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return e&&parseInt(e[2],10)<54&&(t=!0),t}()},i=function(i){return this.core=t(i).data("lightGallery"),this.core.s=t.extend({},e,this.core.s),this.core.s.zoom&&this.core.doCss()&&(this.init(),this.zoomabletimeout=!1,this.pageX=t(window).width()/2,this.pageY=t(window).height()/2+t(window).scrollTop()),this};i.prototype.init=function(){var e=this,i='<button type="button" aria-label="Zoom in" id="lg-zoom-in" class="lg-icon"></button><button type="button" aria-label="Zoom out" id="lg-zoom-out" class="lg-icon"></button>';e.core.s.actualSize&&(i+='<button type="button" aria-label="Actual size" id="lg-actual-size" class="lg-icon"></button>'),e.core.s.useLeftForZoom?e.core.$outer.addClass("lg-use-left-for-zoom"):e.core.$outer.addClass("lg-use-transition-for-zoom"),this.core.$outer.find(".lg-toolbar").append(i),e.core.$el.on("onSlideItemLoad.lg.tm.zoom",(function(i,o,n){var r=e.core.s.enableZoomAfter+n;t("body").hasClass("lg-from-hash")&&n?r=0:t("body").removeClass("lg-from-hash"),e.zoomabletimeout=setTimeout((function(){e.core.$slide.eq(o).addClass("lg-zoomable")}),r+30)}));var o=1,n=function(i){var o=e.core.$outer.find(".lg-current .lg-image"),n=(t(window).width()-o.prop("offsetWidth"))/2,r=(t(window).height()-o.prop("offsetHeight"))/2+t(window).scrollTop(),s=(i-1)*(e.pageX-n),a=(i-1)*(e.pageY-r);o.css("transform","scale3d("+i+", "+i+", 1)").attr("data-scale",i),e.core.s.useLeftForZoom?o.parent().css({left:-s+"px",top:-a+"px"}).attr("data-x",s).attr("data-y",a):o.parent().css("transform","translate3d(-"+s+"px, -"+a+"px, 0)").attr("data-x",s).attr("data-y",a)},r=function(){o>1?e.core.$outer.addClass("lg-zoomed"):e.resetZoom(),o<1&&(o=1),n(o)},s=function(i,n,s,a){var l,c=n.prop("offsetWidth");l=e.core.s.dynamic?e.core.s.dynamicEl[s].width||n[0].naturalWidth||c:e.core.$items.eq(s).attr("data-width")||n[0].naturalWidth||c,e.core.$outer.hasClass("lg-zoomed")?o=1:l>c&&(o=l/c||2),a?(e.pageX=t(window).width()/2,e.pageY=t(window).height()/2+t(window).scrollTop()):(e.pageX=i.pageX||i.originalEvent.targetTouches[0].pageX,e.pageY=i.pageY||i.originalEvent.targetTouches[0].pageY),r(),setTimeout((function(){e.core.$outer.removeClass("lg-grabbing").addClass("lg-grab")}),10)},a=!1;e.core.$el.on("onAferAppendSlide.lg.tm.zoom",(function(t,i){var o=e.core.$slide.eq(i).find(".lg-image");o.on("dblclick",(function(t){s(t,o,i)})),o.on("touchstart",(function(t){a?(clearTimeout(a),a=null,s(t,o,i)):a=setTimeout((function(){a=null}),300),t.preventDefault()}))})),t(window).on("resize.lg.zoom scroll.lg.zoom orientationchange.lg.zoom",(function(){e.pageX=t(window).width()/2,e.pageY=t(window).height()/2+t(window).scrollTop(),n(o)})),t("#lg-zoom-out").on("click.lg",(function(){e.core.$outer.find(".lg-current .lg-image").length&&(o-=e.core.s.scale,r())})),t("#lg-zoom-in").on("click.lg",(function(){e.core.$outer.find(".lg-current .lg-image").length&&(o+=e.core.s.scale,r())})),t("#lg-actual-size").on("click.lg",(function(t){s(t,e.core.$slide.eq(e.core.index).find(".lg-image"),e.core.index,!0)})),e.core.$el.on("onBeforeSlide.lg.tm",(function(){o=1,e.resetZoom()})),e.zoomDrag(),e.zoomSwipe()},i.prototype.getCurrentTransform=function(t){if(!t)return 0;var e=window.getComputedStyle(t,null),i=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("-moz-transform")||e.getPropertyValue("-ms-transform")||e.getPropertyValue("-o-transform")||e.getPropertyValue("transform")||"none";return"none"!==i?i.split("(")[1].split(")")[0].split(","):0},i.prototype.getCurrentRotation=function(t){if(!t)return 0;var e=this.getCurrentTransform(t);return e?Math.round(Math.atan2(e[1],e[0])*(180/Math.PI)):0},i.prototype.getModifier=function(t,e,i){var o=t;t=Math.abs(t);var n=this.getCurrentTransform(i);if(!n)return 1;var r=1;if("X"===e){var s=Math.sign(parseFloat(n[0]));0===t||180===t?r=1:90===t&&(r=-90===o&&1===s||90===o&&-1===s?-1:1),r*=s}else{var a=Math.sign(parseFloat(n[3]));if(0===t||180===t)r=1;else if(90===t){var l=parseFloat(n[1]),c=parseFloat(n[2]);r=Math.sign(l*c*o*a)}r*=a}return r},i.prototype.getImageSize=function(t,e,i){return 90===e&&(i="x"===i?"y":"x"),t.prop({y:"offsetHeight",x:"offsetWidth"}[i])},i.prototype.getDragCords=function(t,e){return 90===e?{x:t.pageY,y:t.pageX}:{x:t.pageX,y:t.pageY}},i.prototype.getSwipeCords=function(t,e){var i=t.originalEvent.targetTouches[0].pageX,o=t.originalEvent.targetTouches[0].pageY;return 90===e?{x:o,y:i}:{x:i,y:o}},i.prototype.getPossibleDragCords=function(t,e){var i=(this.core.$outer.find(".lg").height()-this.getImageSize(t,e,"y"))/2,o=Math.abs(this.getImageSize(t,e,"y")*Math.abs(t.attr("data-scale"))-this.core.$outer.find(".lg").height()+i),n=(this.core.$outer.find(".lg").width()-this.getImageSize(t,e,"x"))/2,r=Math.abs(this.getImageSize(t,e,"x")*Math.abs(t.attr("data-scale"))-this.core.$outer.find(".lg").width()+n);return 90===e?{minY:n,maxY:r,minX:i,maxX:o}:{minY:i,maxY:o,minX:n,maxX:r}},i.prototype.getDragAllowedAxises=function(t,e){var i=this.getImageSize(t,e,"y")*t.attr("data-scale")>this.core.$outer.find(".lg").height(),o=this.getImageSize(t,e,"x")*t.attr("data-scale")>this.core.$outer.find(".lg").width();return 90===e?{allowX:i,allowY:o}:{allowX:o,allowY:i}},i.prototype.resetZoom=function(){this.core.$outer.removeClass("lg-zoomed"),this.core.$slide.find(".lg-img-wrap").removeAttr("style data-x data-y"),this.core.$slide.find(".lg-image").removeAttr("style data-scale"),this.pageX=t(window).width()/2,this.pageY=t(window).height()/2+t(window).scrollTop()},i.prototype.zoomSwipe=function(){var t,e=this,i={},o={},n=!1,r=!1,s=!1,a=0;e.core.$slide.on("touchstart.lg",(function(o){if(e.core.$outer.hasClass("lg-zoomed")){var n=e.core.$slide.eq(e.core.index).find(".lg-object");t=e.core.$slide.eq(e.core.index).find(".lg-img-rotate")[0],a=e.getCurrentRotation(t);var l=e.getDragAllowedAxises(n,Math.abs(a));s=l.allowY,((r=l.allowX)||s)&&(o.preventDefault(),i=e.getSwipeCords(o,Math.abs(a)))}})),e.core.$slide.on("touchmove.lg",(function(l){if(e.core.$outer.hasClass("lg-zoomed")){var c,d,u=e.core.$slide.eq(e.core.index).find(".lg-img-wrap");l.preventDefault(),n=!0,o=e.getSwipeCords(l,Math.abs(a)),e.core.$outer.addClass("lg-zoom-dragging"),d=s?-Math.abs(u.attr("data-y"))+(o.y-i.y)*e.getModifier(a,"Y",t):-Math.abs(u.attr("data-y")),c=r?-Math.abs(u.attr("data-x"))+(o.x-i.x)*e.getModifier(a,"X",t):-Math.abs(u.attr("data-x")),(Math.abs(o.x-i.x)>15||Math.abs(o.y-i.y)>15)&&(e.core.s.useLeftForZoom?u.css({left:c+"px",top:d+"px"}):u.css("transform","translate3d("+c+"px, "+d+"px, 0)"))}})),e.core.$slide.on("touchend.lg",(function(){e.core.$outer.hasClass("lg-zoomed")&&n&&(n=!1,e.core.$outer.removeClass("lg-zoom-dragging"),e.touchendZoom(i,o,r,s,a))}))},i.prototype.zoomDrag=function(){var e,i=this,o={},n={},r=!1,s=!1,a=!1,l=!1,c=0;i.core.$slide.on("mousedown.lg.zoom",(function(n){e=i.core.$slide.eq(i.core.index).find(".lg-img-rotate")[0],c=i.getCurrentRotation(e);var s=i.core.$slide.eq(i.core.index).find(".lg-object"),d=i.getDragAllowedAxises(s,Math.abs(c));l=d.allowY,a=d.allowX,i.core.$outer.hasClass("lg-zoomed")&&t(n.target).hasClass("lg-object")&&(a||l)&&(n.preventDefault(),o=i.getDragCords(n,Math.abs(c)),r=!0,i.core.$outer.scrollLeft+=1,i.core.$outer.scrollLeft-=1,i.core.$outer.removeClass("lg-grab").addClass("lg-grabbing"))})),t(window).on("mousemove.lg.zoom",(function(t){if(r){var d,u,h=i.core.$slide.eq(i.core.index).find(".lg-img-wrap");s=!0,n=i.getDragCords(t,Math.abs(c)),i.core.$outer.addClass("lg-zoom-dragging"),u=l?-Math.abs(h.attr("data-y"))+(n.y-o.y)*i.getModifier(c,"Y",e):-Math.abs(h.attr("data-y")),d=a?-Math.abs(h.attr("data-x"))+(n.x-o.x)*i.getModifier(c,"X",e):-Math.abs(h.attr("data-x")),i.core.s.useLeftForZoom?h.css({left:d+"px",top:u+"px"}):h.css("transform","translate3d("+d+"px, "+u+"px, 0)")}})),t(window).on("mouseup.lg.zoom",(function(t){r&&(r=!1,i.core.$outer.removeClass("lg-zoom-dragging"),!s||o.x===n.x&&o.y===n.y||(n=i.getDragCords(t,Math.abs(c)),i.touchendZoom(o,n,a,l,c)),s=!1),i.core.$outer.removeClass("lg-grabbing").addClass("lg-grab")}))},i.prototype.touchendZoom=function(t,e,i,o,n){var r=this,s=r.core.$slide.eq(r.core.index).find(".lg-img-wrap"),a=r.core.$slide.eq(r.core.index).find(".lg-object"),l=r.core.$slide.eq(r.core.index).find(".lg-img-rotate")[0],c=-Math.abs(s.attr("data-x"))+(e.x-t.x)*r.getModifier(n,"X",l),d=-Math.abs(s.attr("data-y"))+(e.y-t.y)*r.getModifier(n,"Y",l),u=r.getPossibleDragCords(a,Math.abs(n));(Math.abs(e.x-t.x)>15||Math.abs(e.y-t.y)>15)&&(o&&(d<=-u.maxY?d=-u.maxY:d>=-u.minY&&(d=-u.minY)),i&&(c<=-u.maxX?c=-u.maxX:c>=-u.minX&&(c=-u.minX)),o?s.attr("data-y",Math.abs(d)):d=-Math.abs(s.attr("data-y")),i?s.attr("data-x",Math.abs(c)):c=-Math.abs(s.attr("data-x")),r.core.s.useLeftForZoom?s.css({left:c+"px",top:d+"px"}):s.css("transform","translate3d("+c+"px, "+d+"px, 0)"))},i.prototype.destroy=function(){var e=this;e.core.$el.off(".lg.zoom"),t(window).off(".lg.zoom"),e.core.$slide.off(".lg.zoom"),e.core.$el.off(".lg.tm.zoom"),e.resetZoom(),clearTimeout(e.zoomabletimeout),e.zoomabletimeout=!1},t.fn.lightGallery.modules.zoom=i}()}(t)}.apply(e,o))||(t.exports=n)},"1uyb":function(t,e,i){var o,n,r;!function(s){"use strict";n=[i("EVdn")],void 0===(r="function"==typeof(o=function(t){var e=t.scrollTo=function(e,i,o){return t(window).scrollTo(e,i,o)};function i(e){return!e.nodeName||-1!==t.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"])}function o(t){return"function"==typeof t}function n(e){return o(e)||t.isPlainObject(e)?e:{top:e,left:e}}return e.defaults={axis:"xy",duration:0,limit:!0},t.fn.scrollTo=function(r,s,a){"object"==typeof s&&(a=s,s=0),"function"==typeof a&&(a={onAfter:a}),"max"===r&&(r=9e9),a=t.extend({},e.defaults,a),s=s||a.duration;var l=a.queue&&a.axis.length>1;return l&&(s/=2),a.offset=n(a.offset),a.over=n(a.over),this.each((function(){if(null!==r){var c,d=i(this),u=d?this.contentWindow||window:this,h=t(u),p=r,f={};switch(typeof p){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(p)){p=n(p);break}p=d?t(p):t(p,u);case"object":if(0===p.length)return;(p.is||p.style)&&(c=(p=t(p)).offset())}var g=o(a.offset)&&a.offset(u,p)||a.offset;t.each(a.axis.split(""),(function(t,i){var o="x"===i?"Left":"Top",n=o.toLowerCase(),r="scroll"+o,s=h[r](),v=e.max(u,i);if(c)f[r]=c[n]+(d?0:s-h.offset()[n]),a.margin&&(f[r]-=parseInt(p.css("margin"+o),10)||0,f[r]-=parseInt(p.css("border"+o+"Width"),10)||0),f[r]+=g[n]||0,a.over[n]&&(f[r]+=p["x"===i?"width":"height"]()*a.over[n]);else{var y=p[n];f[r]=y.slice&&"%"===y.slice(-1)?parseFloat(y)/100*v:y}a.limit&&/^\d+$/.test(f[r])&&(f[r]=f[r]<=0?0:Math.min(f[r],v)),!t&&a.axis.length>1&&(s===f[r]?f={}:l&&(m(a.onAfterFirst),f={}))})),m(a.onAfter)}function m(e){var i=t.extend({},a,{queue:!0,duration:s,complete:e&&function(){e.call(u,p,a)}});h.animate(f,i)}}))},e.max=function(e,o){var n="x"===o?"Width":"Height",r="scroll"+n;if(!i(e))return e[r]-t(e)[n.toLowerCase()]();var s="client"+n,a=e.ownerDocument||e.document,l=a.documentElement,c=a.body;return Math.max(l[r],c[r])-Math.min(l[s],c[s])},t.Tween.propHooks.scrollLeft=t.Tween.propHooks.scrollTop={get:function(e){return t(e.elem)[e.prop]()},set:function(e){var i=this.get(e);if(e.options.interrupt&&e._last&&e._last!==i)return t(e.elem).stop();var o=Math.round(e.now);i!==o&&(t(e.elem)[e.prop](o),e._last=this.get(e))}},e})?o.apply(e,n):o)||(t.exports=r)}()},"5UdZ":function(t,e,i){var o=i("EVdn");i("Yu3H")("isotope",i("Px4X"),o);i("vX6Q");o((function(){var t="",e=o(".grid").isotope({itemSelector:".grid-item",layoutMode:"fitRows",sortBy:"recente",getSortData:{marca:".marca",valor:".valor parseFloat",recente:".recente",ano:".ano parseInt"}});e.imagesLoaded().progress((function(){e.isotope("layout")}));var i=[];function n(){var t=o("#data-search").val(),i=new RegExp(t,"gi");e.isotope({filter:function(){var t,e=o(this).find(".modelo").text();return(e=(t=e)?"string"==typeof t?t.replace(/\n/g," ").replace(/[éÉěĚèÈêÊëË]/g,"e").replace(/[šŠ]/g,"s").replace(/[čČçÇ]/g,"c").replace(/[řŘ]/g,"r").replace(/[žŽ]/g,"z").replace(/[ýÝ]/g,"y").replace(/[áÁâÂàÀäÄãÃ]/g,"a").replace(/[íÍîÎïÏìÌ]/g,"i").replace(/[ťŤ]/g,"t").replace(/[ďĎ]/g,"d").replace(/[ňŇ]/g,"n").replace(/[óÓòÒöÖõÕôÔ]/g,"o").replace(/[úÚůŮüÜùÙûÛ]/g,"u"):t:"").match(i)}}),a()}function r(){var t=parseInt(o("#data-valde").val().replace(".","")),i=parseInt(o("#data-valate").val().replace(".",""));e.isotope({filter:function(){var e=parseInt(o(this).find(".valor").text().replace(",00","").replace(".",""));return t>0&&i>0&&t<=i?e>=t&&e<=i:t>0?e>=t:i>0?e<=i:e}}),a()}function s(){var t=parseInt(o("#data-anode").val()),i=parseInt(o("#data-anoate").val());e.isotope({filter:function(){var e=parseInt(o(this).find(".ano").text())+9e8;return t>0&&i>0&&t<=i?e>=t&&e<=i:t>0?e>=t:i>0?e<=i:e}}),a()}function a(){var t=e.isotope("getFilteredItemElements");o("#encontrados").text(t.length)}o("#limpar-filtros, #limpar-marcas").click((function(){i=[],o(".filter-by-button-group select").each((function(){o(this).prop("selectedIndex",0)})),o("#data-search").val(""),e.isotope({filter:"*",sortBy:"recente"}),a()})),o(".sort-by-button-group").on("click","button",(function(){var t=o(this).attr("data-sort-value");"asc"==o(this).attr("data-sort-order")?(o(this).attr("data-sort-order","desc"),e.isotope({sortBy:t,sortAscending:!1})):(o(this).attr("data-sort-order","asc"),e.isotope({sortBy:t,sortAscending:!0})),o(".sort-by-button-group button").removeClass("btn-selecionado"),o(this).toggleClass("btn-selecionado")})),o(".change-marca a").on("click",(function(){var t=o(this).attr("data-id");return o("#marca").val(t).change(),!1})),o(".filter-by-button-group").on("change","select",(function(){var n,r=o(this).find(":selected"),s=r.attr("data-filter-value"),l=r.attr("data-filter");for(n in i[l]=s,console.log(l),t="",i)i[n]&&(t+="."+i[n]);console.log(t),t||(t="*"),e.isotope({filter:t}),a()})),o("#data-search").on("input",(function(){n()})),o("#data-valde").on("input",(function(){r()})),o("#data-valate").on("input",(function(){r()})),o("#data-anode").on("input",(function(){s()})),o("#data-anoate").on("input",(function(){s()})),o(document).ready((function(){n(),o(".marca-select").on("click",(function(){var t=o(this).data("marca");o("#marca").val(t).change()})),o("#galeria-filtro").slick({slidesToShow:10,slidesToScroll:1,centerMode:!0,responsive:[{breakpoint:1200,settings:{slidesToShow:10}},{breakpoint:1170,settings:{slidesToShow:5}},{breakpoint:769,settings:{slidesToShow:5}},{breakpoint:320,settings:{slidesToShow:5}}]});var t=o("#estoque").offset().top;o("html, body").animate({scrollTop:t},2e3)})),o(".bt-mais-filtros").click((function(){$botao=o(this),$boxordenar=o(".box-ordenar"),$boxordenar.slideToggle(500,(function(){$botao.text((function(){return $boxordenar.is(":visible")?"- filtros":"+ filtros"}))}))})),o(".ver-filtros-mobile").click((function(){$bt=o(this),$sidebar=o(".sidebar"),$sidebar.slideToggle(500,(function(){$bt.text((function(){return $sidebar.is(":visible")?"Fechar":"Filtros"}))}))})),o(document).ready((function(){var t=window.location.href.split("?")[1];console.log(t),t&&(console.log("Entrando"),o("#select_estoque").val(t).trigger("change"))}))}))},"64OR":function(t,e,i){var o,n,r;window,n=[i("JT+M")],void 0===(r="function"==typeof(o=function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e})?o.apply(e,n):o)||(t.exports=r)},"8uAK":function(t,e,i){var o;window.matchMedia||(window.matchMedia=function(){"use strict";var t=window.styleMedia||window.media;if(!t){var e,i=document.createElement("style"),o=document.getElementsByTagName("script")[0];i.type="text/css",i.id="matchmediajs-test",o.parentNode.insertBefore(i,o),e="getComputedStyle"in window&&window.getComputedStyle(i,null)||i.currentStyle,t={matchMedium:function(t){var o="@media "+t+"{ #matchmediajs-test { width: 1px; } }";return i.styleSheet?i.styleSheet.cssText=o:i.textContent=o,"1px"===e.width}}}return function(e){return{matches:t.matchMedium(e||"all"),media:e||"all"}}}()),function(n,r,s){"use strict";function a(r){"object"==typeof t.exports?t.exports=r:void 0!==(o=function(){return r}.call(e,i,e,t))&&(t.exports=o),"object"==typeof n&&(n.picturefill=r)}function l(t){for(var e,i,o,n,r,s=t||{},a=0,l=(e=s.elements||c.getAllElements()).length;l>a;a++)if(o=(i=e[a]).parentNode,n=void 0,r=void 0,"IMG"===i.nodeName.toUpperCase()&&(i[c.ns]||(i[c.ns]={}),s.reevaluate||!i[c.ns].evaluated)){if(o&&"PICTURE"===o.nodeName.toUpperCase()){if(c.removeVideoShim(o),!1===(n=c.getMatch(i,o)))continue}else n=void 0;(o&&"PICTURE"===o.nodeName.toUpperCase()||!c.sizesSupported&&i.srcset&&d.test(i.srcset))&&c.dodgeSrcset(i),n?(r=c.processSourceSet(n),c.applyBestCandidate(r,i)):(r=c.processSourceSet(i),(void 0===i.srcset||i[c.ns].srcset)&&c.applyBestCandidate(r,i)),i[c.ns].evaluated=!0}}if(n.HTMLPictureElement)a((function(){}));else{r.createElement("picture");var c=n.picturefill||{},d=/\s+\+?\d+(e\d+)?w/;c.ns="picturefill",c.srcsetSupported="srcset"in s,c.sizesSupported="sizes"in s,c.curSrcSupported="currentSrc"in s,c.trim=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},c.makeUrl=function(){var t=r.createElement("a");return function(e){return t.href=e,t.href}}(),c.restrictsMixedContent=function(){return"https:"===n.location.protocol},c.matchesMedia=function(t){return n.matchMedia&&n.matchMedia(t).matches},c.getDpr=function(){return n.devicePixelRatio||1},c.getWidthFromLength=function(t){var e;if(!t||t.indexOf("%")>-1!=0||!(parseFloat(t)>0||t.indexOf("calc(")>-1))return!1;t=t.replace("vw","%"),c.lengthEl||(c.lengthEl=r.createElement("div"),c.lengthEl.style.cssText="border:0;display:block;font-size:1em;left:0;margin:0;padding:0;position:absolute;visibility:hidden",c.lengthEl.className="helper-from-picturefill-js"),c.lengthEl.style.width="0px";try{c.lengthEl.style.width=t}catch(t){}return r.body.appendChild(c.lengthEl),0>=(e=c.lengthEl.offsetWidth)&&(e=!1),r.body.removeChild(c.lengthEl),e},c.detectTypeSupport=function(t,e){var i=new n.Image;return i.onerror=function(){c.types[t]=!1,l()},i.onload=function(){c.types[t]=1===i.width,l()},i.src=e,"pending"},c.types=c.types||{},c.initTypeDetects=function(){c.types["image/jpeg"]=!0,c.types["image/gif"]=!0,c.types["image/png"]=!0,c.types["image/svg+xml"]=r.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),c.types["image/webp"]=c.detectTypeSupport("image/webp","data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=")},c.verifyTypeSupport=function(t){var e=t.getAttribute("type");if(null===e||""===e)return!0;var i=c.types[e];return"string"==typeof i&&"pending"!==i?(c.types[e]=c.detectTypeSupport(e,i),"pending"):"function"==typeof i?(i(),"pending"):i},c.parseSize=function(t){var e=/(\([^)]+\))?\s*(.+)/g.exec(t);return{media:e&&e[1],length:e&&e[2]}},c.findWidthFromSourceSize=function(t){for(var e,i=c.trim(t).split(/\s*,\s*/),o=0,s=i.length;s>o;o++){var a=i[o],l=c.parseSize(a),d=l.length,u=l.media;if(d&&(!u||c.matchesMedia(u))&&(e=c.getWidthFromLength(d)))break}return e||Math.max(n.innerWidth||0,r.documentElement.clientWidth)},c.parseSrcset=function(t){for(var e=[];""!==t;){var i,o=(t=t.replace(/^\s+/g,"")).search(/\s/g),n=null;if(-1!==o){if((","===(i=t.slice(0,o)).slice(-1)||""===i)&&(i=i.replace(/,+$/,""),n=""),t=t.slice(o+1),null===n){var r=t.indexOf(",");-1!==r?(n=t.slice(0,r),t=t.slice(r+1)):(n=t,t="")}}else i=t,t="";(i||n)&&e.push({url:i,descriptor:n})}return e},c.parseDescriptor=function(t,e){var i,o=e||"100vw",n=t&&t.replace(/(^\s+|\s+$)/g,""),r=c.findWidthFromSourceSize(o);if(n)for(var s=n.split(" "),a=s.length-1;a>=0;a--){var l=s[a],d=l&&l.slice(l.length-1);if("h"!==d&&"w"!==d||c.sizesSupported){if("x"===d){var u=l&&parseFloat(l,10);i=u&&!isNaN(u)?u:1}}else i=parseFloat(parseInt(l,10)/r)}return i||1},c.getCandidatesFromSourceSet=function(t,e){for(var i=c.parseSrcset(t),o=[],n=0,r=i.length;r>n;n++){var s=i[n];o.push({url:s.url,resolution:c.parseDescriptor(s.descriptor,e)})}return o},c.dodgeSrcset=function(t){t.srcset&&(t[c.ns].srcset=t.srcset,t.srcset="",t.setAttribute("data-pfsrcset",t[c.ns].srcset))},c.processSourceSet=function(t){var e=t.getAttribute("srcset"),i=t.getAttribute("sizes"),o=[];return"IMG"===t.nodeName.toUpperCase()&&t[c.ns]&&t[c.ns].srcset&&(e=t[c.ns].srcset),e&&(o=c.getCandidatesFromSourceSet(e,i)),o},c.backfaceVisibilityFix=function(t){var e=t.style||{},i="webkitBackfaceVisibility"in e,o=e.zoom;i&&(e.zoom=".999",i=t.offsetWidth,e.zoom=o)},c.setIntrinsicSize=function(){var t={},e=function(t,e,i){e&&t.setAttribute("width",parseInt(e/i,10))};return function(i,o){var s;i[c.ns]&&!n.pfStopIntrinsicSize&&(void 0===i[c.ns].dims&&(i[c.ns].dims=i.getAttribute("width")||i.getAttribute("height")),i[c.ns].dims||(o.url in t?e(i,t[o.url],o.resolution):((s=r.createElement("img")).onload=function(){if(t[o.url]=s.width,!t[o.url])try{r.body.appendChild(s),t[o.url]=s.width||s.offsetWidth,r.body.removeChild(s)}catch(t){}i.src===o.url&&e(i,t[o.url],o.resolution),i=null,s.onload=null,s=null},s.src=o.url)))}}(),c.applyBestCandidate=function(t,e){var i,o,n;t.sort(c.ascendingSort),n=t[(o=t.length)-1];for(var r=0;o>r;r++)if((i=t[r]).resolution>=c.getDpr()){n=i;break}n&&(n.url=c.makeUrl(n.url),e.src!==n.url&&(c.restrictsMixedContent()&&"http:"===n.url.substr(0,"http:".length).toLowerCase()?void 0!==window.console&&console.warn("Blocked mixed content image "+n.url):(e.src=n.url,c.curSrcSupported||(e.currentSrc=e.src),c.backfaceVisibilityFix(e))),c.setIntrinsicSize(e,n))},c.ascendingSort=function(t,e){return t.resolution-e.resolution},c.removeVideoShim=function(t){var e=t.getElementsByTagName("video");if(e.length){for(var i=e[0],o=i.getElementsByTagName("source");o.length;)t.insertBefore(o[0],i);i.parentNode.removeChild(i)}},c.getAllElements=function(){for(var t=[],e=r.getElementsByTagName("img"),i=0,o=e.length;o>i;i++){var n=e[i];("PICTURE"===n.parentNode.nodeName.toUpperCase()||null!==n.getAttribute("srcset")||n[c.ns]&&null!==n[c.ns].srcset)&&t.push(n)}return t},c.getMatch=function(t,e){for(var i,o=e.childNodes,n=0,r=o.length;r>n;n++){var s=o[n];if(1===s.nodeType){if(s===t)return i;if("SOURCE"===s.nodeName.toUpperCase()){null!==s.getAttribute("src")&&void 0!==typeof console&&console.warn("The `src` attribute is invalid on `picture` `source` element; instead, use `srcset`.");var a=s.getAttribute("media");if(s.getAttribute("srcset")&&(!a||c.matchesMedia(a))){var l=c.verifyTypeSupport(s);if(!0===l){i=s;break}if("pending"===l)return!1}}}}return i},function(){function t(){clearTimeout(e),e=setTimeout(o,60)}c.initTypeDetects(),l();var e,i=setInterval((function(){return l(),/^loaded|^i|^c/.test(r.readyState)?void clearInterval(i):void 0}),250),o=function(){l({reevaluate:!0})};n.addEventListener?n.addEventListener("resize",t,!1):n.attachEvent&&n.attachEvent("onresize",t)}(),l._=c,a(l)}}(window,window.document,new window.Image)},"8yQe":function(t,e,i){var o,n;o=[i("EVdn")],void 0===(n=function(t){return function(t){!function(){"use strict";var e={videoMaxWidth:"855px",autoplayFirstVideo:!0,youtubePlayerParams:!1,vimeoPlayerParams:!1,dailymotionPlayerParams:!1,vkPlayerParams:!1,videojs:!1,videojsOptions:{}},i=function(i){return this.core=t(i).data("lightGallery"),this.$el=t(i),this.core.s=t.extend({},e,this.core.s),this.videoLoaded=!1,this.init(),this};function o(t,e,i,o){var n=this;if(n.core.$slide.eq(e).find(".lg-video").append(n.loadVideo(i,"lg-object",!0,e,o)),o)if(n.core.s.videojs)try{videojs(n.core.$slide.eq(e).find(".lg-html5").get(0),n.core.s.videojsOptions,(function(){!n.videoLoaded&&n.core.s.autoplayFirstVideo&&this.play()}))}catch(t){console.error("lightGallery:- Make sure you have included videojs")}else!n.videoLoaded&&n.core.s.autoplayFirstVideo&&n.core.$slide.eq(e).find(".lg-html5").get(0).play()}function n(t,e){var i=this.core.$slide.eq(e).find(".lg-video-cont");i.hasClass("lg-has-iframe")||(i.css("max-width",this.core.s.videoMaxWidth),this.videoLoaded=!0)}function r(e,i,o){var n,r=this.core.$slide.eq(i),s=r.find(".lg-youtube").get(0),a=r.find(".lg-vimeo").get(0),l=r.find(".lg-dailymotion").get(0),c=r.find(".lg-vk").get(0),d=r.find(".lg-html5").get(0);if(s)s.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");else if(a)try{new Vimeo.Player(a).pause().catch((function(t){console.error("Unable to pause the video:",t.name)}))}catch(t){console.warn("lightGallery:- Make sure you have included https://github.com/vimeo/player.js")}else if(l)l.contentWindow.postMessage("pause","*");else if(d)if(this.core.s.videojs)try{videojs(d).pause()}catch(t){console.error("lightGallery:- Make sure you have included videojs")}else d.pause();c&&t(c).attr("src",t(c).attr("src").replace("&autoplay","&noplay")),n=this.core.s.dynamic?this.core.s.dynamicEl[o].src:this.core.$items.eq(o).attr("href")||this.core.$items.eq(o).attr("data-src");var u=this.core.isVideo(n,o)||{};(u.youtube||u.vimeo||u.dailymotion||u.vk)&&this.core.$outer.addClass("lg-hide-download")}i.prototype.init=function(){var e=this;e.core.$el.on("hasVideo.lg.tm",o.bind(this)),e.core.$el.on("onAferAppendSlide.lg.tm",n.bind(this)),e.core.doCss()&&e.core.$items.length>1&&(e.core.s.enableSwipe||e.core.s.enableDrag)?e.core.$el.on("onSlideClick.lg.tm",(function(){var t=e.core.$slide.eq(e.core.index);e.loadVideoOnclick(t)})):e.core.$slide.on("click.lg",(function(){e.loadVideoOnclick(t(this))})),e.core.$el.on("onBeforeSlide.lg.tm",r.bind(this)),e.core.$el.on("onAfterSlide.lg.tm",(function(t,i){e.core.$slide.eq(i).removeClass("lg-video-playing")})),e.core.s.autoplayFirstVideo&&e.core.$el.on("onAferAppendSlide.lg.tm",(function(t,i){if(!e.core.lGalleryOn){var o=e.core.$slide.eq(i);setTimeout((function(){e.loadVideoOnclick(o)}),100)}}))},i.prototype.loadVideo=function(e,i,o,n,r){var s,a="",l=1,c="",d=this.core.isVideo(e,n)||{};if(s=(s=this.core.s.dynamic?this.core.s.dynamicEl[this.core.index].title:this.core.$items.eq(this.core.index).attr("title")||this.core.$items.eq(this.core.index).find("img").first().attr("alt"))?'title="'+s+'"':"",o&&(l=this.videoLoaded?0:this.core.s.autoplayFirstVideo?1:0),d.youtube)c="?wmode=opaque&autoplay="+l+"&enablejsapi=1",this.core.s.youtubePlayerParams&&(c=c+"&"+t.param(this.core.s.youtubePlayerParams)),a='<iframe allow="autoplay" class="lg-video-object lg-youtube '+i+'" '+s+' width="560" height="315" src="//www.youtube.com/embed/'+d.youtube[1]+c+'" frameborder="0" allowfullscreen></iframe>';else if(d.vimeo)c="?autoplay="+l,this.core.s.vimeoPlayerParams&&(c=c+"&"+t.param(this.core.s.vimeoPlayerParams)),a='<iframe allow="autoplay" class="lg-video-object lg-vimeo '+i+'" '+s+' width="560" height="315"  src="//player.vimeo.com/video/'+d.vimeo[1]+c+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';else if(d.dailymotion)c="?wmode=opaque&autoplay="+l+"&api=postMessage",this.core.s.dailymotionPlayerParams&&(c=c+"&"+t.param(this.core.s.dailymotionPlayerParams)),a='<iframe allow="autoplay" class="lg-video-object lg-dailymotion '+i+'" '+s+' width="560" height="315" src="//www.dailymotion.com/embed/video/'+d.dailymotion[1]+c+'" frameborder="0" allowfullscreen></iframe>';else if(d.html5){var u=r.substring(0,1);"."!==u&&"#"!==u||(r=t(r).html()),a=r}else d.vk&&(c="&autoplay="+l,this.core.s.vkPlayerParams&&(c=c+"&"+t.param(this.core.s.vkPlayerParams)),a='<iframe allow="autoplay" class="lg-video-object lg-vk '+i+'" '+s+' width="560" height="315" src="//vk.com/video_ext.php?'+d.vk[1]+c+'" frameborder="0" allowfullscreen></iframe>');return a},i.prototype.loadVideoOnclick=function(t){var e=this;if(t.find(".lg-object").hasClass("lg-has-poster")&&t.find(".lg-object").is(":visible"))if(t.hasClass("lg-has-video")){var i=t.find(".lg-youtube").get(0),o=t.find(".lg-vimeo").get(0),n=t.find(".lg-dailymotion").get(0),r=t.find(".lg-html5").get(0);if(i)i.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");else if(o)try{new Vimeo.Player(o).play().catch((function(t){console.error("error playing the video:",t.name)}))}catch(t){console.warn("lightGallery:- Make sure you have included https://github.com/vimeo/player.js")}else if(n)n.contentWindow.postMessage("play","*");else if(r)if(e.core.s.videojs)try{videojs(r).play()}catch(t){console.error("lightGallery:- Make sure you have included videojs")}else r.play();t.addClass("lg-video-playing")}else{t.addClass("lg-video-playing lg-has-video");var s=function(i,o){if(t.find(".lg-video").append(e.loadVideo(i,"",!1,e.core.index,o)),o)if(e.core.s.videojs)try{videojs(e.core.$slide.eq(e.core.index).find(".lg-html5").get(0),e.core.s.videojsOptions,(function(){this.play()}))}catch(t){console.error("lightGallery:- Make sure you have included videojs")}else e.core.$slide.eq(e.core.index).find(".lg-html5").get(0).play()};e.core.s.dynamic?s(e.core.s.dynamicEl[e.core.index].src,e.core.s.dynamicEl[e.core.index].html):s(e.core.$items.eq(e.core.index).attr("href")||e.core.$items.eq(e.core.index).attr("data-src"),e.core.$items.eq(e.core.index).attr("data-html"));var a=t.find(".lg-object");t.find(".lg-video").append(a),t.find(".lg-video-object").hasClass("lg-html5")||(t.removeClass("lg-complete"),t.find(".lg-video-object").on("load.lg error.lg",(function(){t.addClass("lg-complete")})))}},i.prototype.destroy=function(){this.videoLoaded=!1},t.fn.lightGallery.modules.video=i}()}(t)}.apply(e,o))||(t.exports=n)},AJEs:function(t,e){$((function(){$.extend($.validator.messages,{required:"Este campo &eacute; requerido.",remote:"Por favor, corrija este campo.",email:"Por favor, forne&ccedil;a um endere&ccedil;o de email v&aacute;lido.",url:"Por favor, forne&ccedil;a uma URL v&aacute;lida.",date:"Por favor, forne&ccedil;a uma data v&aacute;lida.",dateISO:"Por favor, forne&ccedil;a uma data v&aacute;lida (ISO).",number:"Por favor, forne&ccedil;a um n&uacute;mero v&aacute;lido.",digits:"Por favor, forne&ccedil;a somente d&iacute;gitos.",creditcard:"Por favor, forne&ccedil;a um cart&atilde;o de cr&eacute;dito v&aacute;lido.",equalTo:"Por favor, forne&ccedil;a o mesmo valor novamente.",maxlength:$.validator.format("Por favor, forne&ccedil;a n&atilde;o mais que {0} caracteres."),minlength:$.validator.format("Por favor, forne&ccedil;a ao menos {0} caracteres."),rangelength:$.validator.format("Por favor, forne&ccedil;a um valor entre {0} e {1} caracteres de comprimento."),range:$.validator.format("Por favor, forne&ccedil;a um valor entre {0} e {1}."),max:$.validator.format("Por favor, forne&ccedil;a um valor menor ou igual a {0}."),min:$.validator.format("Por favor, forne&ccedil;a um valor maior ou igual a {0}."),step:$.validator.format("Por favor, forne&ccedil;a um valor m&acute;tiplo de {0}."),maxWords:$.validator.format("Por favor, forne&ccedil;a com {0} palavras ou menos."),minWords:$.validator.format("Por favor, forne&ccedil;a pelo menos {0} palavras."),rangeWords:$.validator.format("Por favor, forne&ccedil;a entre {0} e {1} palavras."),accept:"Por favor, forne&ccedil;a um tipo v&aacute;lido.",alphanumeric:"Por favor, forne&ccedil;a somente com letras, n&uacute;meros e sublinhados.",bankaccountNL:"Por favor, forne&ccedil;a com um n&uacute;mero de conta banc&aacute;ria v&aacute;lida.",bankorgiroaccountNL:"Por favor, forne&ccedil;a um banco v&aacute;lido ou n&uacute;mero de conta.",bic:"Por favor, forne&ccedil;a um c&oacute;digo BIC v&aacute;lido.",cifES:"Por favor, forne&ccedil;a um c&oacute;digo CIF v&aacute;lido.",creditcardtypes:"Por favor, forne&ccedil;a um n&uacute;mero de cart&atilde;o de cr&eacute;dito v&aacute;lido.",currency:"Por favor, forne&ccedil;a uma moeda v&aacute;lida.",dateFA:"Por favor, forne&ccedil;a uma data correta.",dateITA:"Por favor, forne&ccedil;a uma data correta.",dateNL:"Por favor, forne&ccedil;a uma data correta.",extension:"Por favor, forne&ccedil;a um valor com uma extens&atilde;o v&aacute;lida.",giroaccountNL:"Por favor, forne&ccedil;a um n&uacute;mero de conta corrente v&aacute;lido.",iban:"Por favor, forne&ccedil;a um c&oacute;digo IBAN v&aacute;lido.",integer:"Por favor, forne&ccedil;a um n&uacute;mero n&atilde;o decimal.",ipv4:"Por favor, forne&ccedil;a um IPv4 v&aacute;lido.",ipv6:"Por favor, forne&ccedil;a um IPv6 v&aacute;lido.",lettersonly:"Por favor, forne&ccedil;a apenas com letras.",letterswithbasicpunc:"Por favor, forne&ccedil;a apenas letras ou pontua&ccedil;ões.",mobileNL:"Por favor, fornece&ccedil;a um n&uacute;mero v&aacute;lido de telefone.",mobileUK:"Por favor, fornece&ccedil;a um n&uacute;mero v&aacute;lido de telefone.",nieES:"Por favor, forne&ccedil;a um NIE v&aacute;lido.",nifES:"Por favor, forne&ccedil;a um NIF v&aacute;lido.",nowhitespace:"Por favor, n&atilde;o utilize espa&ccedil;os em branco.",pattern:"O formato fornenecido &eacute; inv&aacute;lido.",phoneNL:"Por favor, fornece&ccedil;a um n&uacute;mero de telefone v&aacute;lido.",phoneUK:"Por favor, fornece&ccedil;a um n&uacute;mero de telefone v&aacute;lido.",phoneUS:"Por favor, fornece&ccedil;a um n&uacute;mero de telefone v&aacute;lido.",phonesUK:"Por favor, fornece&ccedil;a um n&uacute;mero de telefone v&aacute;lido.",postalCodeCA:"Por favor, fornece&ccedil;a um n&uacute;mero de c&oacute;digo postal v&aacute;lido.",postalcodeIT:"Por favor, fornece&ccedil;a um n&uacute;mero de c&oacute;digo postal v&aacute;lido.",postalcodeNL:"Por favor, fornece&ccedil;a um n&uacute;mero de c&oacute;digo postal v&aacute;lido.",postcodeUK:"Por favor, fornece&ccedil;a um n&uacute;mero de c&oacute;digo postal v&aacute;lido.",postalcodeBR:"Por favor, forne&ccedil;a um CEP v&aacute;lido.",require_from_group:$.validator.format("Por favor, forne&ccedil;a pelo menos {0} destes campos."),skip_or_fill_minimum:$.validator.format("Por favor, optar entre ignorar esses campos ou preencher pelo menos {0} deles."),stateUS:"Por favor, forne&ccedil;a um estado v&aacute;lido.",strippedminlength:$.validator.format("Por favor, forne&ccedil;a pelo menos {0} caracteres."),time:"Por favor, forne&ccedil;a um hor&aacute;rio v&aacute;lido, no intervado de 00:00 e 23:59.",time12h:"Por favor, forne&ccedil;a um hor&aacute;rio v&aacute;lido, no intervado de 01:00 e 12:59 am/pm.",url2:"Por favor, fornece&ccedil;a uma URL v&aacute;lida.",vinUS:"O n&uacute;mero de identifica&ccedil;&atilde;o de ve&iacute;culo informada (VIN) &eacute; inv&aacute;lido.",zipcodeUS:"Por favor, fornece&ccedil;a um c&oacute;digo postal americano v&aacute;lido.",ziprange:"O c&oacute;digo postal deve estar entre 902xx-xxxx e 905xx-xxxx",cpfBR:"Por favor, forne&ccedil;a um CPF v&aacute;lido."}),$(".validate-form").validate()}))},BL0A:function(t,e){$(document).ready((function(){var t=window.location.protocol,e=window.location.port?":"+window.location.port:"",i=t+"//"+window.location.hostname+e,o=$("#id_album").val(),n=location.search.slice(1).split("&"),r={};n.forEach((function(t){var e=t.split("="),i=e[0],o=e[1];r[i]=o})),console.log("endereco",i),"busca-video"!==r.tipo_busca?$('a[href="#fotos"]').tab("show"):$('a[href="#videos"]').tab("show"),$("#lightgallery").lightGallery({thumbnail:!0,selector:".item",share:!0,galleryId:1}),$("#galeriavideo").lightGallery({selector:".video",loadYoutubeThumbnail:!0,youtubeThumbSize:"default",loadVimeoThumbnail:!0,vimeoThumbSize:"thumbnail_medium",galleryId:2}),$("#ordena").change((function(){$("#galeria_foto").click()})),$("#ordena_album").change((function(){var t=$("#ordena_album option:selected"),e="limit="+$("#limit").val(),o="&order="+t.val(),n=i+("/albuns/paginacao?acao=listar_albuns&tabela=albuns&"+e+o);window.location.href=n})),$("#limpar_filtros_albuns").click((function(){window.location.href=i+"/albuns"})),$("#limpar_filtros_fotos").click((function(){console.log(i),window.location.href=i+"/galeria/"+o+"/?tipo_busca=busca-foto&id_album="+o})),$("#limpar_filtros_videos").click((function(){console.log(i),window.location.href=i+"/galeria/"+o+"/paginacao?tipo_busca=busca-video&limit_foto=30&limit_video=30&acao=listar_fotos&tabela=fotos&id_album="+o}))}))},CUlp:function(t,e,i){var o,n;"undefined"!=typeof window&&window,void 0===(n="function"==typeof(o=function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return-1==o.indexOf(e)&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return-1!=o&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var r=i[n];o&&o[r]&&(this.off(t,r),delete o[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})?o.call(e,i,e,t):o)||(t.exports=n)},DVp9:function(t,e){function i(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}$((function(){var t;$("#galeria-grande").slick((i(t={slidesToShow:1,slidesToScroll:1,arrows:!1,fade:!0,asNavFor:"#galeria-pequena",infinite:!1},"arrows",!0),i(t,"dots",!1),t)),$("#galeria-pequena").slick({slidesToShow:5,slidesToScroll:1,asNavFor:"#galeria-grande",infinite:!1}),$("#produto-detalhes #galeria .thumb").hover((function(){$("#produto-detalhes #imagem-ampliada").attr("src",$(this).attr("data-image"))}))}))},EVdn:function(t,e,i){var o;!function(e,i){"use strict";"object"==typeof t.exports?t.exports=e.document?i(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return i(t)}:i(e)}("undefined"!=typeof window?window:this,(function(i,n){"use strict";var r=[],s=Object.getPrototypeOf,a=r.slice,l=r.flat?function(t){return r.flat.call(t)}:function(t){return r.concat.apply([],t)},c=r.push,d=r.indexOf,u={},h=u.toString,p=u.hasOwnProperty,f=p.toString,g=f.call(Object),m={},v=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},y=function(t){return null!=t&&t===t.window},b=i.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function x(t,e,i){var o,n,r=(i=i||b).createElement("script");if(r.text=t,e)for(o in w)(n=e[o]||e.getAttribute&&e.getAttribute(o))&&r.setAttribute(o,n);i.head.appendChild(r).parentNode.removeChild(r)}function T(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?u[h.call(t)]||"object":typeof t}var $=function(t,e){return new $.fn.init(t,e)};function C(t){var e=!!t&&"length"in t&&t.length,i=T(t);return!v(t)&&!y(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}$.fn=$.prototype={jquery:"3.6.0",constructor:$,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=$.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return $.each(this,t)},map:function(t){return this.pushStack($.map(this,(function(e,i){return t.call(e,i,e)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack($.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack($.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:r.sort,splice:r.splice},$.extend=$.fn.extend=function(){var t,e,i,o,n,r,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||v(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)o=t[e],"__proto__"!==e&&s!==o&&(c&&o&&($.isPlainObject(o)||(n=Array.isArray(o)))?(i=s[e],r=n&&!Array.isArray(i)?[]:n||$.isPlainObject(i)?i:{},n=!1,s[e]=$.extend(c,r,o)):void 0!==o&&(s[e]=o));return s},$.extend({expando:"jQuery"+("3.6.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;return!(!t||"[object Object]"!==h.call(t))&&(!(e=s(t))||"function"==typeof(i=p.call(e,"constructor")&&e.constructor)&&f.call(i)===g)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,i){x(t,{nonce:e&&e.nonce},i)},each:function(t,e){var i,o=0;if(C(t))for(i=t.length;o<i&&!1!==e.call(t[o],o,t[o]);o++);else for(o in t)if(!1===e.call(t[o],o,t[o]))break;return t},makeArray:function(t,e){var i=e||[];return null!=t&&(C(Object(t))?$.merge(i,"string"==typeof t?[t]:t):c.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:d.call(e,t,i)},merge:function(t,e){for(var i=+e.length,o=0,n=t.length;o<i;o++)t[n++]=e[o];return t.length=n,t},grep:function(t,e,i){for(var o=[],n=0,r=t.length,s=!i;n<r;n++)!e(t[n],n)!==s&&o.push(t[n]);return o},map:function(t,e,i){var o,n,r=0,s=[];if(C(t))for(o=t.length;r<o;r++)null!=(n=e(t[r],r,i))&&s.push(n);else for(r in t)null!=(n=e(t[r],r,i))&&s.push(n);return l(s)},guid:1,support:m}),"function"==typeof Symbol&&($.fn[Symbol.iterator]=r[Symbol.iterator]),$.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){u["[object "+e+"]"]=e.toLowerCase()}));var k=function(t){var e,i,o,n,r,s,a,l,c,d,u,h,p,f,g,m,v,y,b,w="sizzle"+1*new Date,x=t.document,T=0,$=0,C=lt(),k=lt(),S=lt(),E=lt(),A=function(t,e){return t===e&&(u=!0),0},I={}.hasOwnProperty,D=[],O=D.pop,P=D.push,L=D.push,z=D.slice,M=function(t,e){for(var i=0,o=t.length;i<o;i++)if(t[i]===e)return i;return-1},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",q="(?:\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",_="\\["+N+"*("+q+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+q+"))|)"+N+"*\\]",H=":("+q+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+_+")*)|.*)\\)|)",W=new RegExp(N+"+","g"),F=new RegExp("^"+N+"+|((?:^|[^\\\\])(?:\\\\.)*)"+N+"+$","g"),R=new RegExp("^"+N+"*,"+N+"*"),B=new RegExp("^"+N+"*([>+~]|"+N+")"+N+"*"),U=new RegExp(N+"|>"),V=new RegExp(H),G=new RegExp("^"+q+"$"),Y={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q+"|[*])"),ATTR:new RegExp("^"+_),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\([^\\r\\n\\f])","g"),it=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},ot=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,nt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){h()},st=wt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{L.apply(D=z.call(x.childNodes),x.childNodes),D[x.childNodes.length].nodeType}catch(t){L={apply:D.length?function(t,e){P.apply(t,z.call(e))}:function(t,e){for(var i=t.length,o=0;t[i++]=e[o++];);t.length=i-1}}}function at(t,e,o,n){var r,a,c,d,u,f,v,y=e&&e.ownerDocument,x=e?e.nodeType:9;if(o=o||[],"string"!=typeof t||!t||1!==x&&9!==x&&11!==x)return o;if(!n&&(h(e),e=e||p,g)){if(11!==x&&(u=J.exec(t)))if(r=u[1]){if(9===x){if(!(c=e.getElementById(r)))return o;if(c.id===r)return o.push(c),o}else if(y&&(c=y.getElementById(r))&&b(e,c)&&c.id===r)return o.push(c),o}else{if(u[2])return L.apply(o,e.getElementsByTagName(t)),o;if((r=u[3])&&i.getElementsByClassName&&e.getElementsByClassName)return L.apply(o,e.getElementsByClassName(r)),o}if(i.qsa&&!E[t+" "]&&(!m||!m.test(t))&&(1!==x||"object"!==e.nodeName.toLowerCase())){if(v=t,y=e,1===x&&(U.test(t)||B.test(t))){for((y=tt.test(t)&&vt(e.parentNode)||e)===e&&i.scope||((d=e.getAttribute("id"))?d=d.replace(ot,nt):e.setAttribute("id",d=w)),a=(f=s(t)).length;a--;)f[a]=(d?"#"+d:":scope")+" "+bt(f[a]);v=f.join(",")}try{return L.apply(o,y.querySelectorAll(v)),o}catch(e){E(t,!0)}finally{d===w&&e.removeAttribute("id")}}}return l(t.replace(F,"$1"),e,o,n)}function lt(){var t=[];return function e(i,n){return t.push(i+" ")>o.cacheLength&&delete e[t.shift()],e[i+" "]=n}}function ct(t){return t[w]=!0,t}function dt(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ut(t,e){for(var i=t.split("|"),n=i.length;n--;)o.attrHandle[i[n]]=e}function ht(t,e){var i=e&&t,o=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(o)return o;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function pt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ft(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function gt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&st(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function mt(t){return ct((function(e){return e=+e,ct((function(i,o){for(var n,r=t([],i.length,e),s=r.length;s--;)i[n=r[s]]&&(i[n]=!(o[n]=i[n]))}))}))}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in i=at.support={},r=at.isXML=function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!X.test(e||i&&i.nodeName||"HTML")},h=at.setDocument=function(t){var e,n,s=t?t.ownerDocument||t:x;return s!=p&&9===s.nodeType&&s.documentElement?(f=(p=s).documentElement,g=!r(p),x!=p&&(n=p.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",rt,!1):n.attachEvent&&n.attachEvent("onunload",rt)),i.scope=dt((function(t){return f.appendChild(t).appendChild(p.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),i.attributes=dt((function(t){return t.className="i",!t.getAttribute("className")})),i.getElementsByTagName=dt((function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length})),i.getElementsByClassName=K.test(p.getElementsByClassName),i.getById=dt((function(t){return f.appendChild(t).id=w,!p.getElementsByName||!p.getElementsByName(w).length})),i.getById?(o.filter.ID=function(t){var e=t.replace(et,it);return function(t){return t.getAttribute("id")===e}},o.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var i=e.getElementById(t);return i?[i]:[]}}):(o.filter.ID=function(t){var e=t.replace(et,it);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},o.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var i,o,n,r=e.getElementById(t);if(r){if((i=r.getAttributeNode("id"))&&i.value===t)return[r];for(n=e.getElementsByName(t),o=0;r=n[o++];)if((i=r.getAttributeNode("id"))&&i.value===t)return[r]}return[]}}),o.find.TAG=i.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):i.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,o=[],n=0,r=e.getElementsByTagName(t);if("*"===t){for(;i=r[n++];)1===i.nodeType&&o.push(i);return o}return r},o.find.CLASS=i.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},v=[],m=[],(i.qsa=K.test(p.querySelectorAll))&&(dt((function(t){var e;f.appendChild(t).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+N+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+N+"*(?:value|"+j+")"),t.querySelectorAll("[id~="+w+"-]").length||m.push("~="),(e=p.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||m.push("\\["+N+"*name"+N+"*="+N+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+w+"+*").length||m.push(".#.+[+~]"),t.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),dt((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+N+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),f.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")}))),(i.matchesSelector=K.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&dt((function(t){i.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),v.push("!=",H)})),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),e=K.test(f.compareDocumentPosition),b=e||K.test(f.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,o=e&&e.parentNode;return t===o||!(!o||1!==o.nodeType||!(i.contains?i.contains(o):t.compareDocumentPosition&&16&t.compareDocumentPosition(o)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},A=e?function(t,e){if(t===e)return u=!0,0;var o=!t.compareDocumentPosition-!e.compareDocumentPosition;return o||(1&(o=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!i.sortDetached&&e.compareDocumentPosition(t)===o?t==p||t.ownerDocument==x&&b(x,t)?-1:e==p||e.ownerDocument==x&&b(x,e)?1:d?M(d,t)-M(d,e):0:4&o?-1:1)}:function(t,e){if(t===e)return u=!0,0;var i,o=0,n=t.parentNode,r=e.parentNode,s=[t],a=[e];if(!n||!r)return t==p?-1:e==p?1:n?-1:r?1:d?M(d,t)-M(d,e):0;if(n===r)return ht(t,e);for(i=t;i=i.parentNode;)s.unshift(i);for(i=e;i=i.parentNode;)a.unshift(i);for(;s[o]===a[o];)o++;return o?ht(s[o],a[o]):s[o]==x?-1:a[o]==x?1:0},p):p},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(h(t),i.matchesSelector&&g&&!E[e+" "]&&(!v||!v.test(e))&&(!m||!m.test(e)))try{var o=y.call(t,e);if(o||i.disconnectedMatch||t.document&&11!==t.document.nodeType)return o}catch(t){E(e,!0)}return at(e,p,null,[t]).length>0},at.contains=function(t,e){return(t.ownerDocument||t)!=p&&h(t),b(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=p&&h(t);var n=o.attrHandle[e.toLowerCase()],r=n&&I.call(o.attrHandle,e.toLowerCase())?n(t,e,!g):void 0;return void 0!==r?r:i.attributes||!g?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},at.escape=function(t){return(t+"").replace(ot,nt)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,o=[],n=0,r=0;if(u=!i.detectDuplicates,d=!i.sortStable&&t.slice(0),t.sort(A),u){for(;e=t[r++];)e===t[r]&&(n=o.push(r));for(;n--;)t.splice(o[n],1)}return d=null,t},n=at.getText=function(t){var e,i="",o=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=n(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[o++];)i+=n(e);return i},(o=at.selectors={cacheLength:50,createPseudo:ct,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,it),t[3]=(t[3]||t[4]||t[5]||"").replace(et,it),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||at.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&at.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return Y.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&V.test(i)&&(e=s(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,it).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=C[t+" "];return e||(e=new RegExp("(^|"+N+")"+t+"("+N+"|$)"))&&C(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,i){return function(o){var n=at.attr(o,t);return null==n?"!="===e:!e||(n+="","="===e?n===i:"!="===e?n!==i:"^="===e?i&&0===n.indexOf(i):"*="===e?i&&n.indexOf(i)>-1:"$="===e?i&&n.slice(-i.length)===i:"~="===e?(" "+n.replace(W," ")+" ").indexOf(i)>-1:"|="===e&&(n===i||n.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,o,n){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===o&&0===n?function(t){return!!t.parentNode}:function(e,i,l){var c,d,u,h,p,f,g=r!==s?"nextSibling":"previousSibling",m=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(m){if(r){for(;g;){for(h=e;h=h[g];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;f=g="only"===t&&!f&&"nextSibling"}return!0}if(f=[s?m.firstChild:m.lastChild],s&&y){for(b=(p=(c=(d=(u=(h=m)[w]||(h[w]={}))[h.uniqueID]||(u[h.uniqueID]={}))[t]||[])[0]===T&&c[1])&&c[2],h=p&&m.childNodes[p];h=++p&&h&&h[g]||(b=p=0)||f.pop();)if(1===h.nodeType&&++b&&h===e){d[t]=[T,p,b];break}}else if(y&&(b=p=(c=(d=(u=(h=e)[w]||(h[w]={}))[h.uniqueID]||(u[h.uniqueID]={}))[t]||[])[0]===T&&c[1]),!1===b)for(;(h=++p&&h&&h[g]||(b=p=0)||f.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++b||(y&&((d=(u=h[w]||(h[w]={}))[h.uniqueID]||(u[h.uniqueID]={}))[t]=[T,b]),h!==e)););return(b-=n)===o||b%o==0&&b/o>=0}}},PSEUDO:function(t,e){var i,n=o.pseudos[t]||o.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return n[w]?n(e):n.length>1?(i=[t,t,"",e],o.setFilters.hasOwnProperty(t.toLowerCase())?ct((function(t,i){for(var o,r=n(t,e),s=r.length;s--;)t[o=M(t,r[s])]=!(i[o]=r[s])})):function(t){return n(t,0,i)}):n}},pseudos:{not:ct((function(t){var e=[],i=[],o=a(t.replace(F,"$1"));return o[w]?ct((function(t,e,i,n){for(var r,s=o(t,null,n,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))})):function(t,n,r){return e[0]=t,o(e,null,r,i),e[0]=null,!i.pop()}})),has:ct((function(t){return function(e){return at(t,e).length>0}})),contains:ct((function(t){return t=t.replace(et,it),function(e){return(e.textContent||n(e)).indexOf(t)>-1}})),lang:ct((function(t){return G.test(t||"")||at.error("unsupported lang: "+t),t=t.replace(et,it).toLowerCase(),function(e){var i;do{if(i=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===f},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:gt(!1),disabled:gt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!o.pseudos.empty(t)},header:function(t){return Z.test(t.nodeName)},input:function(t){return Q.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:mt((function(){return[0]})),last:mt((function(t,e){return[e-1]})),eq:mt((function(t,e,i){return[i<0?i+e:i]})),even:mt((function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t})),odd:mt((function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t})),lt:mt((function(t,e,i){for(var o=i<0?i+e:i>e?e:i;--o>=0;)t.push(o);return t})),gt:mt((function(t,e,i){for(var o=i<0?i+e:i;++o<e;)t.push(o);return t}))}}).pseudos.nth=o.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[e]=pt(e);for(e in{submit:!0,reset:!0})o.pseudos[e]=ft(e);function yt(){}function bt(t){for(var e=0,i=t.length,o="";e<i;e++)o+=t[e].value;return o}function wt(t,e,i){var o=e.dir,n=e.next,r=n||o,s=i&&"parentNode"===r,a=$++;return e.first?function(e,i,n){for(;e=e[o];)if(1===e.nodeType||s)return t(e,i,n);return!1}:function(e,i,l){var c,d,u,h=[T,a];if(l){for(;e=e[o];)if((1===e.nodeType||s)&&t(e,i,l))return!0}else for(;e=e[o];)if(1===e.nodeType||s)if(d=(u=e[w]||(e[w]={}))[e.uniqueID]||(u[e.uniqueID]={}),n&&n===e.nodeName.toLowerCase())e=e[o]||e;else{if((c=d[r])&&c[0]===T&&c[1]===a)return h[2]=c[2];if(d[r]=h,h[2]=t(e,i,l))return!0}return!1}}function xt(t){return t.length>1?function(e,i,o){for(var n=t.length;n--;)if(!t[n](e,i,o))return!1;return!0}:t[0]}function Tt(t,e,i,o,n){for(var r,s=[],a=0,l=t.length,c=null!=e;a<l;a++)(r=t[a])&&(i&&!i(r,o,n)||(s.push(r),c&&e.push(a)));return s}function $t(t,e,i,o,n,r){return o&&!o[w]&&(o=$t(o)),n&&!n[w]&&(n=$t(n,r)),ct((function(r,s,a,l){var c,d,u,h=[],p=[],f=s.length,g=r||function(t,e,i){for(var o=0,n=e.length;o<n;o++)at(t,e[o],i);return i}(e||"*",a.nodeType?[a]:a,[]),m=!t||!r&&e?g:Tt(g,h,t,a,l),v=i?n||(r?t:f||o)?[]:s:m;if(i&&i(m,v,a,l),o)for(c=Tt(v,p),o(c,[],a,l),d=c.length;d--;)(u=c[d])&&(v[p[d]]=!(m[p[d]]=u));if(r){if(n||t){if(n){for(c=[],d=v.length;d--;)(u=v[d])&&c.push(m[d]=u);n(null,v=[],c,l)}for(d=v.length;d--;)(u=v[d])&&(c=n?M(r,u):h[d])>-1&&(r[c]=!(s[c]=u))}}else v=Tt(v===s?v.splice(f,v.length):v),n?n(null,s,v,l):L.apply(s,v)}))}function Ct(t){for(var e,i,n,r=t.length,s=o.relative[t[0].type],a=s||o.relative[" "],l=s?1:0,d=wt((function(t){return t===e}),a,!0),u=wt((function(t){return M(e,t)>-1}),a,!0),h=[function(t,i,o){var n=!s&&(o||i!==c)||((e=i).nodeType?d(t,i,o):u(t,i,o));return e=null,n}];l<r;l++)if(i=o.relative[t[l].type])h=[wt(xt(h),i)];else{if((i=o.filter[t[l].type].apply(null,t[l].matches))[w]){for(n=++l;n<r&&!o.relative[t[n].type];n++);return $t(l>1&&xt(h),l>1&&bt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(F,"$1"),i,l<n&&Ct(t.slice(l,n)),n<r&&Ct(t=t.slice(n)),n<r&&bt(t))}h.push(i)}return xt(h)}return yt.prototype=o.filters=o.pseudos,o.setFilters=new yt,s=at.tokenize=function(t,e){var i,n,r,s,a,l,c,d=k[t+" "];if(d)return e?0:d.slice(0);for(a=t,l=[],c=o.preFilter;a;){for(s in i&&!(n=R.exec(a))||(n&&(a=a.slice(n[0].length)||a),l.push(r=[])),i=!1,(n=B.exec(a))&&(i=n.shift(),r.push({value:i,type:n[0].replace(F," ")}),a=a.slice(i.length)),o.filter)!(n=Y[s].exec(a))||c[s]&&!(n=c[s](n))||(i=n.shift(),r.push({value:i,type:s,matches:n}),a=a.slice(i.length));if(!i)break}return e?a.length:a?at.error(t):k(t,l).slice(0)},a=at.compile=function(t,e){var i,n=[],r=[],a=S[t+" "];if(!a){for(e||(e=s(t)),i=e.length;i--;)(a=Ct(e[i]))[w]?n.push(a):r.push(a);(a=S(t,function(t,e){var i=e.length>0,n=t.length>0,r=function(r,s,a,l,d){var u,f,m,v=0,y="0",b=r&&[],w=[],x=c,$=r||n&&o.find.TAG("*",d),C=T+=null==x?1:Math.random()||.1,k=$.length;for(d&&(c=s==p||s||d);y!==k&&null!=(u=$[y]);y++){if(n&&u){for(f=0,s||u.ownerDocument==p||(h(u),a=!g);m=t[f++];)if(m(u,s||p,a)){l.push(u);break}d&&(T=C)}i&&((u=!m&&u)&&v--,r&&b.push(u))}if(v+=y,i&&y!==v){for(f=0;m=e[f++];)m(b,w,s,a);if(r){if(v>0)for(;y--;)b[y]||w[y]||(w[y]=O.call(l));w=Tt(w)}L.apply(l,w),d&&!r&&w.length>0&&v+e.length>1&&at.uniqueSort(l)}return d&&(T=C,c=x),b};return i?ct(r):r}(r,n))).selector=t}return a},l=at.select=function(t,e,i,n){var r,l,c,d,u,h="function"==typeof t&&t,p=!n&&s(t=h.selector||t);if(i=i||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===e.nodeType&&g&&o.relative[l[1].type]){if(!(e=(o.find.ID(c.matches[0].replace(et,it),e)||[])[0]))return i;h&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(r=Y.needsContext.test(t)?0:l.length;r--&&(c=l[r],!o.relative[d=c.type]);)if((u=o.find[d])&&(n=u(c.matches[0].replace(et,it),tt.test(l[0].type)&&vt(e.parentNode)||e))){if(l.splice(r,1),!(t=n.length&&bt(l)))return L.apply(i,n),i;break}}return(h||a(t,p))(n,e,!g,i,!e||tt.test(t)&&vt(e.parentNode)||e),i},i.sortStable=w.split("").sort(A).join("")===w,i.detectDuplicates=!!u,h(),i.sortDetached=dt((function(t){return 1&t.compareDocumentPosition(p.createElement("fieldset"))})),dt((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||ut("type|href|height|width",(function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),i.attributes&&dt((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||ut("value",(function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),dt((function(t){return null==t.getAttribute("disabled")}))||ut(j,(function(t,e,i){var o;if(!i)return!0===t[e]?e.toLowerCase():(o=t.getAttributeNode(e))&&o.specified?o.value:null})),at}(i);$.find=k,$.expr=k.selectors,$.expr[":"]=$.expr.pseudos,$.uniqueSort=$.unique=k.uniqueSort,$.text=k.getText,$.isXMLDoc=k.isXML,$.contains=k.contains,$.escapeSelector=k.escape;var S=function(t,e,i){for(var o=[],n=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(n&&$(t).is(i))break;o.push(t)}return o},E=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},A=$.expr.match.needsContext;function I(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(t,e,i){return v(e)?$.grep(t,(function(t,o){return!!e.call(t,o,t)!==i})):e.nodeType?$.grep(t,(function(t){return t===e!==i})):"string"!=typeof e?$.grep(t,(function(t){return d.call(e,t)>-1!==i})):$.filter(e,t,i)}$.filter=function(t,e,i){var o=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===o.nodeType?$.find.matchesSelector(o,t)?[o]:[]:$.find.matches(t,$.grep(e,(function(t){return 1===t.nodeType})))},$.fn.extend({find:function(t){var e,i,o=this.length,n=this;if("string"!=typeof t)return this.pushStack($(t).filter((function(){for(e=0;e<o;e++)if($.contains(n[e],this))return!0})));for(i=this.pushStack([]),e=0;e<o;e++)$.find(t,n[e],i);return o>1?$.uniqueSort(i):i},filter:function(t){return this.pushStack(O(this,t||[],!1))},not:function(t){return this.pushStack(O(this,t||[],!0))},is:function(t){return!!O(this,"string"==typeof t&&A.test(t)?$(t):t||[],!1).length}});var P,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;($.fn.init=function(t,e,i){var o,n;if(!t)return this;if(i=i||P,"string"==typeof t){if(!(o="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:L.exec(t))||!o[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(o[1]){if(e=e instanceof $?e[0]:e,$.merge(this,$.parseHTML(o[1],e&&e.nodeType?e.ownerDocument||e:b,!0)),D.test(o[1])&&$.isPlainObject(e))for(o in e)v(this[o])?this[o](e[o]):this.attr(o,e[o]);return this}return(n=b.getElementById(o[2]))&&(this[0]=n,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==i.ready?i.ready(t):t($):$.makeArray(t,this)}).prototype=$.fn,P=$(b);var z=/^(?:parents|prev(?:Until|All))/,M={children:!0,contents:!0,next:!0,prev:!0};function j(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}$.fn.extend({has:function(t){var e=$(t,this),i=e.length;return this.filter((function(){for(var t=0;t<i;t++)if($.contains(this,e[t]))return!0}))},closest:function(t,e){var i,o=0,n=this.length,r=[],s="string"!=typeof t&&$(t);if(!A.test(t))for(;o<n;o++)for(i=this[o];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(s?s.index(i)>-1:1===i.nodeType&&$.find.matchesSelector(i,t))){r.push(i);break}return this.pushStack(r.length>1?$.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?d.call($(t),this[0]):d.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack($.uniqueSort($.merge(this.get(),$(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),$.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return S(t,"parentNode")},parentsUntil:function(t,e,i){return S(t,"parentNode",i)},next:function(t){return j(t,"nextSibling")},prev:function(t){return j(t,"previousSibling")},nextAll:function(t){return S(t,"nextSibling")},prevAll:function(t){return S(t,"previousSibling")},nextUntil:function(t,e,i){return S(t,"nextSibling",i)},prevUntil:function(t,e,i){return S(t,"previousSibling",i)},siblings:function(t){return E((t.parentNode||{}).firstChild,t)},children:function(t){return E(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(I(t,"template")&&(t=t.content||t),$.merge([],t.childNodes))}},(function(t,e){$.fn[t]=function(i,o){var n=$.map(this,e,i);return"Until"!==t.slice(-5)&&(o=i),o&&"string"==typeof o&&(n=$.filter(o,n)),this.length>1&&(M[t]||$.uniqueSort(n),z.test(t)&&n.reverse()),this.pushStack(n)}}));var N=/[^\x20\t\r\n\f]+/g;function q(t){return t}function _(t){throw t}function H(t,e,i,o){var n;try{t&&v(n=t.promise)?n.call(t).done(e).fail(i):t&&v(n=t.then)?n.call(t,e,i):e.apply(void 0,[t].slice(o))}catch(t){i.apply(void 0,[t])}}$.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return $.each(t.match(N)||[],(function(t,i){e[i]=!0})),e}(t):$.extend({},t);var e,i,o,n,r=[],s=[],a=-1,l=function(){for(n=n||t.once,o=e=!0;s.length;a=-1)for(i=s.shift();++a<r.length;)!1===r[a].apply(i[0],i[1])&&t.stopOnFalse&&(a=r.length,i=!1);t.memory||(i=!1),e=!1,n&&(r=i?[]:"")},c={add:function(){return r&&(i&&!e&&(a=r.length-1,s.push(i)),function e(i){$.each(i,(function(i,o){v(o)?t.unique&&c.has(o)||r.push(o):o&&o.length&&"string"!==T(o)&&e(o)}))}(arguments),i&&!e&&l()),this},remove:function(){return $.each(arguments,(function(t,e){for(var i;(i=$.inArray(e,r,i))>-1;)r.splice(i,1),i<=a&&a--})),this},has:function(t){return t?$.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return n=s=[],r=i="",this},disabled:function(){return!r},lock:function(){return n=s=[],i||e||(r=i=""),this},locked:function(){return!!n},fireWith:function(t,i){return n||(i=[t,(i=i||[]).slice?i.slice():i],s.push(i),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!o}};return c},$.extend({Deferred:function(t){var e=[["notify","progress",$.Callbacks("memory"),$.Callbacks("memory"),2],["resolve","done",$.Callbacks("once memory"),$.Callbacks("once memory"),0,"resolved"],["reject","fail",$.Callbacks("once memory"),$.Callbacks("once memory"),1,"rejected"]],o="pending",n={state:function(){return o},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return n.then(null,t)},pipe:function(){var t=arguments;return $.Deferred((function(i){$.each(e,(function(e,o){var n=v(t[o[4]])&&t[o[4]];r[o[1]]((function(){var t=n&&n.apply(this,arguments);t&&v(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[o[0]+"With"](this,n?[t]:arguments)}))})),t=null})).promise()},then:function(t,o,n){var r=0;function s(t,e,o,n){return function(){var a=this,l=arguments,c=function(){var i,c;if(!(t<r)){if((i=o.apply(a,l))===e.promise())throw new TypeError("Thenable self-resolution");c=i&&("object"==typeof i||"function"==typeof i)&&i.then,v(c)?n?c.call(i,s(r,e,q,n),s(r,e,_,n)):(r++,c.call(i,s(r,e,q,n),s(r,e,_,n),s(r,e,q,e.notifyWith))):(o!==q&&(a=void 0,l=[i]),(n||e.resolveWith)(a,l))}},d=n?c:function(){try{c()}catch(i){$.Deferred.exceptionHook&&$.Deferred.exceptionHook(i,d.stackTrace),t+1>=r&&(o!==_&&(a=void 0,l=[i]),e.rejectWith(a,l))}};t?d():($.Deferred.getStackHook&&(d.stackTrace=$.Deferred.getStackHook()),i.setTimeout(d))}}return $.Deferred((function(i){e[0][3].add(s(0,i,v(n)?n:q,i.notifyWith)),e[1][3].add(s(0,i,v(t)?t:q)),e[2][3].add(s(0,i,v(o)?o:_))})).promise()},promise:function(t){return null!=t?$.extend(t,n):n}},r={};return $.each(e,(function(t,i){var s=i[2],a=i[5];n[i[1]]=s.add,a&&s.add((function(){o=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(i[3].fire),r[i[0]]=function(){return r[i[0]+"With"](this===r?void 0:this,arguments),this},r[i[0]+"With"]=s.fireWith})),n.promise(r),t&&t.call(r,r),r},when:function(t){var e=arguments.length,i=e,o=Array(i),n=a.call(arguments),r=$.Deferred(),s=function(t){return function(i){o[t]=this,n[t]=arguments.length>1?a.call(arguments):i,--e||r.resolveWith(o,n)}};if(e<=1&&(H(t,r.done(s(i)).resolve,r.reject,!e),"pending"===r.state()||v(n[i]&&n[i].then)))return r.then();for(;i--;)H(n[i],s(i),r.reject);return r.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;$.Deferred.exceptionHook=function(t,e){i.console&&i.console.warn&&t&&W.test(t.name)&&i.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},$.readyException=function(t){i.setTimeout((function(){throw t}))};var F=$.Deferred();function R(){b.removeEventListener("DOMContentLoaded",R),i.removeEventListener("load",R),$.ready()}$.fn.ready=function(t){return F.then(t).catch((function(t){$.readyException(t)})),this},$.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--$.readyWait:$.isReady)||($.isReady=!0,!0!==t&&--$.readyWait>0||F.resolveWith(b,[$]))}}),$.ready.then=F.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?i.setTimeout($.ready):(b.addEventListener("DOMContentLoaded",R),i.addEventListener("load",R));var B=function(t,e,i,o,n,r,s){var a=0,l=t.length,c=null==i;if("object"===T(i))for(a in n=!0,i)B(t,e,a,i[a],!0,r,s);else if(void 0!==o&&(n=!0,v(o)||(s=!0),c&&(s?(e.call(t,o),e=null):(c=e,e=function(t,e,i){return c.call($(t),i)})),e))for(;a<l;a++)e(t[a],i,s?o:o.call(t[a],a,e(t[a],i)));return n?t:c?e.call(t):l?e(t[0],i):r},U=/^-ms-/,V=/-([a-z])/g;function G(t,e){return e.toUpperCase()}function Y(t){return t.replace(U,"ms-").replace(V,G)}var X=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Q(){this.expando=$.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(t){var e=t[this.expando];return e||(e={},X(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var o,n=this.cache(t);if("string"==typeof e)n[Y(e)]=i;else for(o in e)n[Y(o)]=e[o];return n},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][Y(e)]},access:function(t,e,i){return void 0===e||e&&"string"==typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,o=t[this.expando];if(void 0!==o){if(void 0!==e){i=(e=Array.isArray(e)?e.map(Y):(e=Y(e))in o?[e]:e.match(N)||[]).length;for(;i--;)delete o[e[i]]}(void 0===e||$.isEmptyObject(o))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!$.isEmptyObject(e)}};var Z=new Q,K=new Q,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,tt=/[A-Z]/g;function et(t,e,i){var o;if(void 0===i&&1===t.nodeType)if(o="data-"+e.replace(tt,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(o))){try{i=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:J.test(t)?JSON.parse(t):t)}(i)}catch(t){}K.set(t,e,i)}else i=void 0;return i}$.extend({hasData:function(t){return K.hasData(t)||Z.hasData(t)},data:function(t,e,i){return K.access(t,e,i)},removeData:function(t,e){K.remove(t,e)},_data:function(t,e,i){return Z.access(t,e,i)},_removeData:function(t,e){Z.remove(t,e)}}),$.fn.extend({data:function(t,e){var i,o,n,r=this[0],s=r&&r.attributes;if(void 0===t){if(this.length&&(n=K.get(r),1===r.nodeType&&!Z.get(r,"hasDataAttrs"))){for(i=s.length;i--;)s[i]&&0===(o=s[i].name).indexOf("data-")&&(o=Y(o.slice(5)),et(r,o,n[o]));Z.set(r,"hasDataAttrs",!0)}return n}return"object"==typeof t?this.each((function(){K.set(this,t)})):B(this,(function(e){var i;if(r&&void 0===e)return void 0!==(i=K.get(r,t))||void 0!==(i=et(r,t))?i:void 0;this.each((function(){K.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){K.remove(this,t)}))}}),$.extend({queue:function(t,e,i){var o;if(t)return e=(e||"fx")+"queue",o=Z.get(t,e),i&&(!o||Array.isArray(i)?o=Z.access(t,e,$.makeArray(i)):o.push(i)),o||[]},dequeue:function(t,e){e=e||"fx";var i=$.queue(t,e),o=i.length,n=i.shift(),r=$._queueHooks(t,e);"inprogress"===n&&(n=i.shift(),o--),n&&("fx"===e&&i.unshift("inprogress"),delete r.stop,n.call(t,(function(){$.dequeue(t,e)}),r)),!o&&r&&r.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return Z.get(t,i)||Z.access(t,i,{empty:$.Callbacks("once memory").add((function(){Z.remove(t,[e+"queue",i])}))})}}),$.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?$.queue(this[0],t):void 0===e?this:this.each((function(){var i=$.queue(this,t,e);$._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&$.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){$.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,o=1,n=$.Deferred(),r=this,s=this.length,a=function(){--o||n.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(i=Z.get(r[s],t+"queueHooks"))&&i.empty&&(o++,i.empty.add(a));return a(),n.promise(e)}});var it=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ot=new RegExp("^(?:([+-])=|)("+it+")([a-z%]*)$","i"),nt=["Top","Right","Bottom","Left"],rt=b.documentElement,st=function(t){return $.contains(t.ownerDocument,t)},at={composed:!0};rt.getRootNode&&(st=function(t){return $.contains(t.ownerDocument,t)||t.getRootNode(at)===t.ownerDocument});var lt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&st(t)&&"none"===$.css(t,"display")};function ct(t,e,i,o){var n,r,s=20,a=o?function(){return o.cur()}:function(){return $.css(t,e,"")},l=a(),c=i&&i[3]||($.cssNumber[e]?"":"px"),d=t.nodeType&&($.cssNumber[e]||"px"!==c&&+l)&&ot.exec($.css(t,e));if(d&&d[3]!==c){for(l/=2,c=c||d[3],d=+l||1;s--;)$.style(t,e,d+c),(1-r)*(1-(r=a()/l||.5))<=0&&(s=0),d/=r;d*=2,$.style(t,e,d+c),i=i||[]}return i&&(d=+d||+l||0,n=i[1]?d+(i[1]+1)*i[2]:+i[2],o&&(o.unit=c,o.start=d,o.end=n)),n}var dt={};function ut(t){var e,i=t.ownerDocument,o=t.nodeName,n=dt[o];return n||(e=i.body.appendChild(i.createElement(o)),n=$.css(e,"display"),e.parentNode.removeChild(e),"none"===n&&(n="block"),dt[o]=n,n)}function ht(t,e){for(var i,o,n=[],r=0,s=t.length;r<s;r++)(o=t[r]).style&&(i=o.style.display,e?("none"===i&&(n[r]=Z.get(o,"display")||null,n[r]||(o.style.display="")),""===o.style.display&&lt(o)&&(n[r]=ut(o))):"none"!==i&&(n[r]="none",Z.set(o,"display",i)));for(r=0;r<s;r++)null!=n[r]&&(t[r].style.display=n[r]);return t}$.fn.extend({show:function(){return ht(this,!0)},hide:function(){return ht(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){lt(this)?$(this).show():$(this).hide()}))}});var pt,ft,gt=/^(?:checkbox|radio)$/i,mt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,vt=/^$|^module$|\/(?:java|ecma)script/i;pt=b.createDocumentFragment().appendChild(b.createElement("div")),(ft=b.createElement("input")).setAttribute("type","radio"),ft.setAttribute("checked","checked"),ft.setAttribute("name","t"),pt.appendChild(ft),m.checkClone=pt.cloneNode(!0).cloneNode(!0).lastChild.checked,pt.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!pt.cloneNode(!0).lastChild.defaultValue,pt.innerHTML="<option></option>",m.option=!!pt.lastChild;var yt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function bt(t,e){var i;return i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&I(t,e)?$.merge([t],i):i}function wt(t,e){for(var i=0,o=t.length;i<o;i++)Z.set(t[i],"globalEval",!e||Z.get(e[i],"globalEval"))}yt.tbody=yt.tfoot=yt.colgroup=yt.caption=yt.thead,yt.th=yt.td,m.option||(yt.optgroup=yt.option=[1,"<select multiple='multiple'>","</select>"]);var xt=/<|&#?\w+;/;function Tt(t,e,i,o,n){for(var r,s,a,l,c,d,u=e.createDocumentFragment(),h=[],p=0,f=t.length;p<f;p++)if((r=t[p])||0===r)if("object"===T(r))$.merge(h,r.nodeType?[r]:r);else if(xt.test(r)){for(s=s||u.appendChild(e.createElement("div")),a=(mt.exec(r)||["",""])[1].toLowerCase(),l=yt[a]||yt._default,s.innerHTML=l[1]+$.htmlPrefilter(r)+l[2],d=l[0];d--;)s=s.lastChild;$.merge(h,s.childNodes),(s=u.firstChild).textContent=""}else h.push(e.createTextNode(r));for(u.textContent="",p=0;r=h[p++];)if(o&&$.inArray(r,o)>-1)n&&n.push(r);else if(c=st(r),s=bt(u.appendChild(r),"script"),c&&wt(s),i)for(d=0;r=s[d++];)vt.test(r.type||"")&&i.push(r);return u}var $t=/^([^.]*)(?:\.(.+)|)/;function Ct(){return!0}function kt(){return!1}function St(t,e){return t===function(){try{return b.activeElement}catch(t){}}()==("focus"===e)}function Et(t,e,i,o,n,r){var s,a;if("object"==typeof e){for(a in"string"!=typeof i&&(o=o||i,i=void 0),e)Et(t,a,i,o,e[a],r);return t}if(null==o&&null==n?(n=i,o=i=void 0):null==n&&("string"==typeof i?(n=o,o=void 0):(n=o,o=i,i=void 0)),!1===n)n=kt;else if(!n)return t;return 1===r&&(s=n,(n=function(t){return $().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=$.guid++)),t.each((function(){$.event.add(this,e,n,o,i)}))}function At(t,e,i){i?(Z.set(t,e,!1),$.event.add(t,e,{namespace:!1,handler:function(t){var o,n,r=Z.get(this,e);if(1&t.isTrigger&&this[e]){if(r.length)($.event.special[e]||{}).delegateType&&t.stopPropagation();else if(r=a.call(arguments),Z.set(this,e,r),o=i(this,e),this[e](),r!==(n=Z.get(this,e))||o?Z.set(this,e,!1):n={},r!==n)return t.stopImmediatePropagation(),t.preventDefault(),n&&n.value}else r.length&&(Z.set(this,e,{value:$.event.trigger($.extend(r[0],$.Event.prototype),r.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Z.get(t,e)&&$.event.add(t,e,Ct)}$.event={global:{},add:function(t,e,i,o,n){var r,s,a,l,c,d,u,h,p,f,g,m=Z.get(t);if(X(t))for(i.handler&&(i=(r=i).handler,n=r.selector),n&&$.find.matchesSelector(rt,n),i.guid||(i.guid=$.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(e){return void 0!==$&&$.event.triggered!==e.type?$.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(N)||[""]).length;c--;)p=g=(a=$t.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p&&(u=$.event.special[p]||{},p=(n?u.delegateType:u.bindType)||p,u=$.event.special[p]||{},d=$.extend({type:p,origType:g,data:o,handler:i,guid:i.guid,selector:n,needsContext:n&&$.expr.match.needsContext.test(n),namespace:f.join(".")},r),(h=l[p])||((h=l[p]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(t,o,f,s)||t.addEventListener&&t.addEventListener(p,s)),u.add&&(u.add.call(t,d),d.handler.guid||(d.handler.guid=i.guid)),n?h.splice(h.delegateCount++,0,d):h.push(d),$.event.global[p]=!0)},remove:function(t,e,i,o,n){var r,s,a,l,c,d,u,h,p,f,g,m=Z.hasData(t)&&Z.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(N)||[""]).length;c--;)if(p=g=(a=$t.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(u=$.event.special[p]||{},h=l[p=(o?u.delegateType:u.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=h.length;r--;)d=h[r],!n&&g!==d.origType||i&&i.guid!==d.guid||a&&!a.test(d.namespace)||o&&o!==d.selector&&("**"!==o||!d.selector)||(h.splice(r,1),d.selector&&h.delegateCount--,u.remove&&u.remove.call(t,d));s&&!h.length&&(u.teardown&&!1!==u.teardown.call(t,f,m.handle)||$.removeEvent(t,p,m.handle),delete l[p])}else for(p in l)$.event.remove(t,p+e[c],i,o,!0);$.isEmptyObject(l)&&Z.remove(t,"handle events")}},dispatch:function(t){var e,i,o,n,r,s,a=new Array(arguments.length),l=$.event.fix(t),c=(Z.get(this,"events")||Object.create(null))[l.type]||[],d=$.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,l)){for(s=$.event.handlers.call(this,l,c),e=0;(n=s[e++])&&!l.isPropagationStopped();)for(l.currentTarget=n.elem,i=0;(r=n.handlers[i++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(o=(($.event.special[r.origType]||{}).handle||r.handler).apply(n.elem,a))&&!1===(l.result=o)&&(l.preventDefault(),l.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,l),l.result}},handlers:function(t,e){var i,o,n,r,s,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(r=[],s={},i=0;i<l;i++)void 0===s[n=(o=e[i]).selector+" "]&&(s[n]=o.needsContext?$(n,this).index(c)>-1:$.find(n,this,null,[c]).length),s[n]&&r.push(o);r.length&&a.push({elem:c,handlers:r})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty($.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[$.expando]?t:new $.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return gt.test(e.type)&&e.click&&I(e,"input")&&At(e,"click",Ct),!1},trigger:function(t){var e=this||t;return gt.test(e.type)&&e.click&&I(e,"input")&&At(e,"click"),!0},_default:function(t){var e=t.target;return gt.test(e.type)&&e.click&&I(e,"input")&&Z.get(e,"click")||I(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},$.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},$.Event=function(t,e){if(!(this instanceof $.Event))return new $.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Ct:kt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&$.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[$.expando]=!0},$.Event.prototype={constructor:$.Event,isDefaultPrevented:kt,isPropagationStopped:kt,isImmediatePropagationStopped:kt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Ct,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Ct,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Ct,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},$.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},$.event.addProp),$.each({focus:"focusin",blur:"focusout"},(function(t,e){$.event.special[t]={setup:function(){return At(this,t,St),!1},trigger:function(){return At(this,t),!0},_default:function(){return!0},delegateType:e}})),$.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){$.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,o=this,n=t.relatedTarget,r=t.handleObj;return n&&(n===o||$.contains(o,n))||(t.type=r.origType,i=r.handler.apply(this,arguments),t.type=e),i}}})),$.fn.extend({on:function(t,e,i,o){return Et(this,t,e,i,o)},one:function(t,e,i,o){return Et(this,t,e,i,o,1)},off:function(t,e,i){var o,n;if(t&&t.preventDefault&&t.handleObj)return o=t.handleObj,$(t.delegateTarget).off(o.namespace?o.origType+"."+o.namespace:o.origType,o.selector,o.handler),this;if("object"==typeof t){for(n in t)this.off(n,e,t[n]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=kt),this.each((function(){$.event.remove(this,t,i,e)}))}});var It=/<script|<style|<link/i,Dt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Pt(t,e){return I(t,"table")&&I(11!==e.nodeType?e:e.firstChild,"tr")&&$(t).children("tbody")[0]||t}function Lt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function zt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Mt(t,e){var i,o,n,r,s,a;if(1===e.nodeType){if(Z.hasData(t)&&(a=Z.get(t).events))for(n in Z.remove(e,"handle events"),a)for(i=0,o=a[n].length;i<o;i++)$.event.add(e,n,a[n][i]);K.hasData(t)&&(r=K.access(t),s=$.extend({},r),K.set(e,s))}}function jt(t,e){var i=e.nodeName.toLowerCase();"input"===i&&gt.test(t.type)?e.checked=t.checked:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}function Nt(t,e,i,o){e=l(e);var n,r,s,a,c,d,u=0,h=t.length,p=h-1,f=e[0],g=v(f);if(g||h>1&&"string"==typeof f&&!m.checkClone&&Dt.test(f))return t.each((function(n){var r=t.eq(n);g&&(e[0]=f.call(this,n,r.html())),Nt(r,e,i,o)}));if(h&&(r=(n=Tt(e,t[0].ownerDocument,!1,t,o)).firstChild,1===n.childNodes.length&&(n=r),r||o)){for(a=(s=$.map(bt(n,"script"),Lt)).length;u<h;u++)c=n,u!==p&&(c=$.clone(c,!0,!0),a&&$.merge(s,bt(c,"script"))),i.call(t[u],c,u);if(a)for(d=s[s.length-1].ownerDocument,$.map(s,zt),u=0;u<a;u++)c=s[u],vt.test(c.type||"")&&!Z.access(c,"globalEval")&&$.contains(d,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?$._evalUrl&&!c.noModule&&$._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},d):x(c.textContent.replace(Ot,""),c,d))}return t}function qt(t,e,i){for(var o,n=e?$.filter(e,t):t,r=0;null!=(o=n[r]);r++)i||1!==o.nodeType||$.cleanData(bt(o)),o.parentNode&&(i&&st(o)&&wt(bt(o,"script")),o.parentNode.removeChild(o));return t}$.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var o,n,r,s,a=t.cloneNode(!0),l=st(t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||$.isXMLDoc(t)))for(s=bt(a),o=0,n=(r=bt(t)).length;o<n;o++)jt(r[o],s[o]);if(e)if(i)for(r=r||bt(t),s=s||bt(a),o=0,n=r.length;o<n;o++)Mt(r[o],s[o]);else Mt(t,a);return(s=bt(a,"script")).length>0&&wt(s,!l&&bt(t,"script")),a},cleanData:function(t){for(var e,i,o,n=$.event.special,r=0;void 0!==(i=t[r]);r++)if(X(i)){if(e=i[Z.expando]){if(e.events)for(o in e.events)n[o]?$.event.remove(i,o):$.removeEvent(i,o,e.handle);i[Z.expando]=void 0}i[K.expando]&&(i[K.expando]=void 0)}}}),$.fn.extend({detach:function(t){return qt(this,t,!0)},remove:function(t){return qt(this,t)},text:function(t){return B(this,(function(t){return void 0===t?$.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Nt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pt(this,t).appendChild(t)}))},prepend:function(){return Nt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Pt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Nt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Nt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&($.cleanData(bt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return $.clone(this,t,e)}))},html:function(t){return B(this,(function(t){var e=this[0]||{},i=0,o=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!It.test(t)&&!yt[(mt.exec(t)||["",""])[1].toLowerCase()]){t=$.htmlPrefilter(t);try{for(;i<o;i++)1===(e=this[i]||{}).nodeType&&($.cleanData(bt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Nt(this,arguments,(function(e){var i=this.parentNode;$.inArray(this,t)<0&&($.cleanData(bt(this)),i&&i.replaceChild(e,this))}),t)}}),$.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){$.fn[t]=function(t){for(var i,o=[],n=$(t),r=n.length-1,s=0;s<=r;s++)i=s===r?this:this.clone(!0),$(n[s])[e](i),c.apply(o,i.get());return this.pushStack(o)}}));var _t=new RegExp("^("+it+")(?!px)[a-z%]+$","i"),Ht=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=i),e.getComputedStyle(t)},Wt=function(t,e,i){var o,n,r={};for(n in e)r[n]=t.style[n],t.style[n]=e[n];for(n in o=i.call(t),e)t.style[n]=r[n];return o},Ft=new RegExp(nt.join("|"),"i");function Rt(t,e,i){var o,n,r,s,a=t.style;return(i=i||Ht(t))&&(""!==(s=i.getPropertyValue(e)||i[e])||st(t)||(s=$.style(t,e)),!m.pixelBoxStyles()&&_t.test(s)&&Ft.test(e)&&(o=a.width,n=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=i.width,a.width=o,a.minWidth=n,a.maxWidth=r)),void 0!==s?s+"":s}function Bt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(d){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",rt.appendChild(c).appendChild(d);var t=i.getComputedStyle(d);o="1%"!==t.top,l=12===e(t.marginLeft),d.style.right="60%",s=36===e(t.right),n=36===e(t.width),d.style.position="absolute",r=12===e(d.offsetWidth/3),rt.removeChild(c),d=null}}function e(t){return Math.round(parseFloat(t))}var o,n,r,s,a,l,c=b.createElement("div"),d=b.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===d.style.backgroundClip,$.extend(m,{boxSizingReliable:function(){return t(),n},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),o},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),r},reliableTrDimensions:function(){var t,e,o,n;return null==a&&(t=b.createElement("table"),e=b.createElement("tr"),o=b.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="border:1px solid",e.style.height="1px",o.style.height="9px",o.style.display="block",rt.appendChild(t).appendChild(e).appendChild(o),n=i.getComputedStyle(e),a=parseInt(n.height,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10)===e.offsetHeight,rt.removeChild(t)),a}}))}();var Ut=["Webkit","Moz","ms"],Vt=b.createElement("div").style,Gt={};function Yt(t){var e=$.cssProps[t]||Gt[t];return e||(t in Vt?t:Gt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),i=Ut.length;i--;)if((t=Ut[i]+e)in Vt)return t}(t)||t)}var Xt=/^(none|table(?!-c[ea]).+)/,Qt=/^--/,Zt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:"0",fontWeight:"400"};function Jt(t,e,i){var o=ot.exec(e);return o?Math.max(0,o[2]-(i||0))+(o[3]||"px"):e}function te(t,e,i,o,n,r){var s="width"===e?1:0,a=0,l=0;if(i===(o?"border":"content"))return 0;for(;s<4;s+=2)"margin"===i&&(l+=$.css(t,i+nt[s],!0,n)),o?("content"===i&&(l-=$.css(t,"padding"+nt[s],!0,n)),"margin"!==i&&(l-=$.css(t,"border"+nt[s]+"Width",!0,n))):(l+=$.css(t,"padding"+nt[s],!0,n),"padding"!==i?l+=$.css(t,"border"+nt[s]+"Width",!0,n):a+=$.css(t,"border"+nt[s]+"Width",!0,n));return!o&&r>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))||0),l}function ee(t,e,i){var o=Ht(t),n=(!m.boxSizingReliable()||i)&&"border-box"===$.css(t,"boxSizing",!1,o),r=n,s=Rt(t,e,o),a="offset"+e[0].toUpperCase()+e.slice(1);if(_t.test(s)){if(!i)return s;s="auto"}return(!m.boxSizingReliable()&&n||!m.reliableTrDimensions()&&I(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===$.css(t,"display",!1,o))&&t.getClientRects().length&&(n="border-box"===$.css(t,"boxSizing",!1,o),(r=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+te(t,e,i||(n?"border":"content"),r,o,s)+"px"}function ie(t,e,i,o,n){return new ie.prototype.init(t,e,i,o,n)}$.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Rt(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,i,o){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var n,r,s,a=Y(e),l=Qt.test(e),c=t.style;if(l||(e=Yt(a)),s=$.cssHooks[e]||$.cssHooks[a],void 0===i)return s&&"get"in s&&void 0!==(n=s.get(t,!1,o))?n:c[e];"string"===(r=typeof i)&&(n=ot.exec(i))&&n[1]&&(i=ct(t,e,n),r="number"),null!=i&&i==i&&("number"!==r||l||(i+=n&&n[3]||($.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==i||0!==e.indexOf("background")||(c[e]="inherit"),s&&"set"in s&&void 0===(i=s.set(t,i,o))||(l?c.setProperty(e,i):c[e]=i))}},css:function(t,e,i,o){var n,r,s,a=Y(e);return Qt.test(e)||(e=Yt(a)),(s=$.cssHooks[e]||$.cssHooks[a])&&"get"in s&&(n=s.get(t,!0,i)),void 0===n&&(n=Rt(t,e,o)),"normal"===n&&e in Kt&&(n=Kt[e]),""===i||i?(r=parseFloat(n),!0===i||isFinite(r)?r||0:n):n}}),$.each(["height","width"],(function(t,e){$.cssHooks[e]={get:function(t,i,o){if(i)return!Xt.test($.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ee(t,e,o):Wt(t,Zt,(function(){return ee(t,e,o)}))},set:function(t,i,o){var n,r=Ht(t),s=!m.scrollboxSize()&&"absolute"===r.position,a=(s||o)&&"border-box"===$.css(t,"boxSizing",!1,r),l=o?te(t,e,o,a,r):0;return a&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(r[e])-te(t,e,"border",!1,r)-.5)),l&&(n=ot.exec(i))&&"px"!==(n[3]||"px")&&(t.style[e]=i,i=$.css(t,e)),Jt(0,i,l)}}})),$.cssHooks.marginLeft=Bt(m.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Rt(t,"marginLeft"))||t.getBoundingClientRect().left-Wt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),$.each({margin:"",padding:"",border:"Width"},(function(t,e){$.cssHooks[t+e]={expand:function(i){for(var o=0,n={},r="string"==typeof i?i.split(" "):[i];o<4;o++)n[t+nt[o]+e]=r[o]||r[o-2]||r[0];return n}},"margin"!==t&&($.cssHooks[t+e].set=Jt)})),$.fn.extend({css:function(t,e){return B(this,(function(t,e,i){var o,n,r={},s=0;if(Array.isArray(e)){for(o=Ht(t),n=e.length;s<n;s++)r[e[s]]=$.css(t,e[s],!1,o);return r}return void 0!==i?$.style(t,e,i):$.css(t,e)}),t,e,arguments.length>1)}}),$.Tween=ie,ie.prototype={constructor:ie,init:function(t,e,i,o,n,r){this.elem=t,this.prop=i,this.easing=n||$.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=o,this.unit=r||($.cssNumber[i]?"":"px")},cur:function(){var t=ie.propHooks[this.prop];return t&&t.get?t.get(this):ie.propHooks._default.get(this)},run:function(t){var e,i=ie.propHooks[this.prop];return this.options.duration?this.pos=e=$.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):ie.propHooks._default.set(this),this}},ie.prototype.init.prototype=ie.prototype,ie.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=$.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){$.fx.step[t.prop]?$.fx.step[t.prop](t):1!==t.elem.nodeType||!$.cssHooks[t.prop]&&null==t.elem.style[Yt(t.prop)]?t.elem[t.prop]=t.now:$.style(t.elem,t.prop,t.now+t.unit)}}},ie.propHooks.scrollTop=ie.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},$.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},$.fx=ie.prototype.init,$.fx.step={};var oe,ne,re=/^(?:toggle|show|hide)$/,se=/queueHooks$/;function ae(){ne&&(!1===b.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(ae):i.setTimeout(ae,$.fx.interval),$.fx.tick())}function le(){return i.setTimeout((function(){oe=void 0})),oe=Date.now()}function ce(t,e){var i,o=0,n={height:t};for(e=e?1:0;o<4;o+=2-e)n["margin"+(i=nt[o])]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}function de(t,e,i){for(var o,n=(ue.tweeners[e]||[]).concat(ue.tweeners["*"]),r=0,s=n.length;r<s;r++)if(o=n[r].call(i,e,t))return o}function ue(t,e,i){var o,n,r=0,s=ue.prefilters.length,a=$.Deferred().always((function(){delete l.elem})),l=function(){if(n)return!1;for(var e=oe||le(),i=Math.max(0,c.startTime+c.duration-e),o=1-(i/c.duration||0),r=0,s=c.tweens.length;r<s;r++)c.tweens[r].run(o);return a.notifyWith(t,[c,o,i]),o<1&&s?i:(s||a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:$.extend({},e),opts:$.extend(!0,{specialEasing:{},easing:$.easing._default},i),originalProperties:e,originalOptions:i,startTime:oe||le(),duration:i.duration,tweens:[],createTween:function(e,i){var o=$.Tween(t,c.opts,e,i,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(o),o},stop:function(e){var i=0,o=e?c.tweens.length:0;if(n)return this;for(n=!0;i<o;i++)c.tweens[i].run(1);return e?(a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c,e])):a.rejectWith(t,[c,e]),this}}),d=c.props;for(!function(t,e){var i,o,n,r,s;for(i in t)if(n=e[o=Y(i)],r=t[i],Array.isArray(r)&&(n=r[1],r=t[i]=r[0]),i!==o&&(t[o]=r,delete t[i]),(s=$.cssHooks[o])&&"expand"in s)for(i in r=s.expand(r),delete t[o],r)i in t||(t[i]=r[i],e[i]=n);else e[o]=n}(d,c.opts.specialEasing);r<s;r++)if(o=ue.prefilters[r].call(c,t,d,c.opts))return v(o.stop)&&($._queueHooks(c.elem,c.opts.queue).stop=o.stop.bind(o)),o;return $.map(d,de,c),v(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),$.fx.timer($.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}$.Animation=$.extend(ue,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return ct(i.elem,t,ot.exec(e),i),i}]},tweener:function(t,e){v(t)?(e=t,t=["*"]):t=t.match(N);for(var i,o=0,n=t.length;o<n;o++)i=t[o],ue.tweeners[i]=ue.tweeners[i]||[],ue.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var o,n,r,s,a,l,c,d,u="width"in e||"height"in e,h=this,p={},f=t.style,g=t.nodeType&&lt(t),m=Z.get(t,"fxshow");for(o in i.queue||(null==(s=$._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always((function(){h.always((function(){s.unqueued--,$.queue(t,"fx").length||s.empty.fire()}))}))),e)if(n=e[o],re.test(n)){if(delete e[o],r=r||"toggle"===n,n===(g?"hide":"show")){if("show"!==n||!m||void 0===m[o])continue;g=!0}p[o]=m&&m[o]||$.style(t,o)}if((l=!$.isEmptyObject(e))||!$.isEmptyObject(p))for(o in u&&1===t.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=m&&m.display)&&(c=Z.get(t,"display")),"none"===(d=$.css(t,"display"))&&(c?d=c:(ht([t],!0),c=t.style.display||c,d=$.css(t,"display"),ht([t]))),("inline"===d||"inline-block"===d&&null!=c)&&"none"===$.css(t,"float")&&(l||(h.done((function(){f.display=c})),null==c&&(d=f.display,c="none"===d?"":d)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",h.always((function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]}))),l=!1,p)l||(m?"hidden"in m&&(g=m.hidden):m=Z.access(t,"fxshow",{display:c}),r&&(m.hidden=!g),g&&ht([t],!0),h.done((function(){for(o in g||ht([t]),Z.remove(t,"fxshow"),p)$.style(t,o,p[o])}))),l=de(g?m[o]:0,o,h),o in m||(m[o]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?ue.prefilters.unshift(t):ue.prefilters.push(t)}}),$.speed=function(t,e,i){var o=t&&"object"==typeof t?$.extend({},t):{complete:i||!i&&e||v(t)&&t,duration:t,easing:i&&e||e&&!v(e)&&e};return $.fx.off?o.duration=0:"number"!=typeof o.duration&&(o.duration in $.fx.speeds?o.duration=$.fx.speeds[o.duration]:o.duration=$.fx.speeds._default),null!=o.queue&&!0!==o.queue||(o.queue="fx"),o.old=o.complete,o.complete=function(){v(o.old)&&o.old.call(this),o.queue&&$.dequeue(this,o.queue)},o},$.fn.extend({fadeTo:function(t,e,i,o){return this.filter(lt).css("opacity",0).show().end().animate({opacity:e},t,i,o)},animate:function(t,e,i,o){var n=$.isEmptyObject(t),r=$.speed(e,i,o),s=function(){var e=ue(this,$.extend({},t),r);(n||Z.get(this,"finish"))&&e.stop(!0)};return s.finish=s,n||!1===r.queue?this.each(s):this.queue(r.queue,s)},stop:function(t,e,i){var o=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,n=null!=t&&t+"queueHooks",r=$.timers,s=Z.get(this);if(n)s[n]&&s[n].stop&&o(s[n]);else for(n in s)s[n]&&s[n].stop&&se.test(n)&&o(s[n]);for(n=r.length;n--;)r[n].elem!==this||null!=t&&r[n].queue!==t||(r[n].anim.stop(i),e=!1,r.splice(n,1));!e&&i||$.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,i=Z.get(this),o=i[t+"queue"],n=i[t+"queueHooks"],r=$.timers,s=o?o.length:0;for(i.finish=!0,$.queue(this,t,[]),n&&n.stop&&n.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<s;e++)o[e]&&o[e].finish&&o[e].finish.call(this);delete i.finish}))}}),$.each(["toggle","show","hide"],(function(t,e){var i=$.fn[e];$.fn[e]=function(t,o,n){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(ce(e,!0),t,o,n)}})),$.each({slideDown:ce("show"),slideUp:ce("hide"),slideToggle:ce("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){$.fn[t]=function(t,i,o){return this.animate(e,t,i,o)}})),$.timers=[],$.fx.tick=function(){var t,e=0,i=$.timers;for(oe=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||$.fx.stop(),oe=void 0},$.fx.timer=function(t){$.timers.push(t),$.fx.start()},$.fx.interval=13,$.fx.start=function(){ne||(ne=!0,ae())},$.fx.stop=function(){ne=null},$.fx.speeds={slow:600,fast:200,_default:400},$.fn.delay=function(t,e){return t=$.fx&&$.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,o){var n=i.setTimeout(e,t);o.stop=function(){i.clearTimeout(n)}}))},function(){var t=b.createElement("input"),e=b.createElement("select").appendChild(b.createElement("option"));t.type="checkbox",m.checkOn=""!==t.value,m.optSelected=e.selected,(t=b.createElement("input")).value="t",t.type="radio",m.radioValue="t"===t.value}();var he,pe=$.expr.attrHandle;$.fn.extend({attr:function(t,e){return B(this,$.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){$.removeAttr(this,t)}))}}),$.extend({attr:function(t,e,i){var o,n,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?$.prop(t,e,i):(1===r&&$.isXMLDoc(t)||(n=$.attrHooks[e.toLowerCase()]||($.expr.match.bool.test(e)?he:void 0)),void 0!==i?null===i?void $.removeAttr(t,e):n&&"set"in n&&void 0!==(o=n.set(t,i,e))?o:(t.setAttribute(e,i+""),i):n&&"get"in n&&null!==(o=n.get(t,e))?o:null==(o=$.find.attr(t,e))?void 0:o)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&I(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,o=0,n=e&&e.match(N);if(n&&1===t.nodeType)for(;i=n[o++];)t.removeAttribute(i)}}),he={set:function(t,e,i){return!1===e?$.removeAttr(t,i):t.setAttribute(i,i),i}},$.each($.expr.match.bool.source.match(/\w+/g),(function(t,e){var i=pe[e]||$.find.attr;pe[e]=function(t,e,o){var n,r,s=e.toLowerCase();return o||(r=pe[s],pe[s]=n,n=null!=i(t,e,o)?s:null,pe[s]=r),n}}));var fe=/^(?:input|select|textarea|button)$/i,ge=/^(?:a|area)$/i;function me(t){return(t.match(N)||[]).join(" ")}function ve(t){return t.getAttribute&&t.getAttribute("class")||""}function ye(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(N)||[]}$.fn.extend({prop:function(t,e){return B(this,$.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[$.propFix[t]||t]}))}}),$.extend({prop:function(t,e,i){var o,n,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&$.isXMLDoc(t)||(e=$.propFix[e]||e,n=$.propHooks[e]),void 0!==i?n&&"set"in n&&void 0!==(o=n.set(t,i,e))?o:t[e]=i:n&&"get"in n&&null!==(o=n.get(t,e))?o:t[e]},propHooks:{tabIndex:{get:function(t){var e=$.find.attr(t,"tabindex");return e?parseInt(e,10):fe.test(t.nodeName)||ge.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||($.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),$.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){$.propFix[this.toLowerCase()]=this})),$.fn.extend({addClass:function(t){var e,i,o,n,r,s,a,l=0;if(v(t))return this.each((function(e){$(this).addClass(t.call(this,e,ve(this)))}));if((e=ye(t)).length)for(;i=this[l++];)if(n=ve(i),o=1===i.nodeType&&" "+me(n)+" "){for(s=0;r=e[s++];)o.indexOf(" "+r+" ")<0&&(o+=r+" ");n!==(a=me(o))&&i.setAttribute("class",a)}return this},removeClass:function(t){var e,i,o,n,r,s,a,l=0;if(v(t))return this.each((function(e){$(this).removeClass(t.call(this,e,ve(this)))}));if(!arguments.length)return this.attr("class","");if((e=ye(t)).length)for(;i=this[l++];)if(n=ve(i),o=1===i.nodeType&&" "+me(n)+" "){for(s=0;r=e[s++];)for(;o.indexOf(" "+r+" ")>-1;)o=o.replace(" "+r+" "," ");n!==(a=me(o))&&i.setAttribute("class",a)}return this},toggleClass:function(t,e){var i=typeof t,o="string"===i||Array.isArray(t);return"boolean"==typeof e&&o?e?this.addClass(t):this.removeClass(t):v(t)?this.each((function(i){$(this).toggleClass(t.call(this,i,ve(this),e),e)})):this.each((function(){var e,n,r,s;if(o)for(n=0,r=$(this),s=ye(t);e=s[n++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else void 0!==t&&"boolean"!==i||((e=ve(this))&&Z.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Z.get(this,"__className__")||""))}))},hasClass:function(t){var e,i,o=0;for(e=" "+t+" ";i=this[o++];)if(1===i.nodeType&&(" "+me(ve(i))+" ").indexOf(e)>-1)return!0;return!1}});var be=/\r/g;$.fn.extend({val:function(t){var e,i,o,n=this[0];return arguments.length?(o=v(t),this.each((function(i){var n;1===this.nodeType&&(null==(n=o?t.call(this,i,$(this).val()):t)?n="":"number"==typeof n?n+="":Array.isArray(n)&&(n=$.map(n,(function(t){return null==t?"":t+""}))),(e=$.valHooks[this.type]||$.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,n,"value")||(this.value=n))}))):n?(e=$.valHooks[n.type]||$.valHooks[n.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(n,"value"))?i:"string"==typeof(i=n.value)?i.replace(be,""):null==i?"":i:void 0}}),$.extend({valHooks:{option:{get:function(t){var e=$.find.attr(t,"value");return null!=e?e:me($.text(t))}},select:{get:function(t){var e,i,o,n=t.options,r=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?r+1:n.length;for(o=r<0?l:s?r:0;o<l;o++)if(((i=n[o]).selected||o===r)&&!i.disabled&&(!i.parentNode.disabled||!I(i.parentNode,"optgroup"))){if(e=$(i).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var i,o,n=t.options,r=$.makeArray(e),s=n.length;s--;)((o=n[s]).selected=$.inArray($.valHooks.option.get(o),r)>-1)&&(i=!0);return i||(t.selectedIndex=-1),r}}}}),$.each(["radio","checkbox"],(function(){$.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=$.inArray($(t).val(),e)>-1}},m.checkOn||($.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),m.focusin="onfocusin"in i;var we=/^(?:focusinfocus|focusoutblur)$/,xe=function(t){t.stopPropagation()};$.extend($.event,{trigger:function(t,e,o,n){var r,s,a,l,c,d,u,h,f=[o||b],g=p.call(t,"type")?t.type:t,m=p.call(t,"namespace")?t.namespace.split("."):[];if(s=h=a=o=o||b,3!==o.nodeType&&8!==o.nodeType&&!we.test(g+$.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(t=t[$.expando]?t:new $.Event(g,"object"==typeof t&&t)).isTrigger=n?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=o),e=null==e?[t]:$.makeArray(e,[t]),u=$.event.special[g]||{},n||!u.trigger||!1!==u.trigger.apply(o,e))){if(!n&&!u.noBubble&&!y(o)){for(l=u.delegateType||g,we.test(l+g)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(o.ownerDocument||b)&&f.push(a.defaultView||a.parentWindow||i)}for(r=0;(s=f[r++])&&!t.isPropagationStopped();)h=s,t.type=r>1?l:u.bindType||g,(d=(Z.get(s,"events")||Object.create(null))[t.type]&&Z.get(s,"handle"))&&d.apply(s,e),(d=c&&s[c])&&d.apply&&X(s)&&(t.result=d.apply(s,e),!1===t.result&&t.preventDefault());return t.type=g,n||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(f.pop(),e)||!X(o)||c&&v(o[g])&&!y(o)&&((a=o[c])&&(o[c]=null),$.event.triggered=g,t.isPropagationStopped()&&h.addEventListener(g,xe),o[g](),t.isPropagationStopped()&&h.removeEventListener(g,xe),$.event.triggered=void 0,a&&(o[c]=a)),t.result}},simulate:function(t,e,i){var o=$.extend(new $.Event,i,{type:t,isSimulated:!0});$.event.trigger(o,null,e)}}),$.fn.extend({trigger:function(t,e){return this.each((function(){$.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var i=this[0];if(i)return $.event.trigger(t,e,i,!0)}}),m.focusin||$.each({focus:"focusin",blur:"focusout"},(function(t,e){var i=function(t){$.event.simulate(e,t.target,$.event.fix(t))};$.event.special[e]={setup:function(){var o=this.ownerDocument||this.document||this,n=Z.access(o,e);n||o.addEventListener(t,i,!0),Z.access(o,e,(n||0)+1)},teardown:function(){var o=this.ownerDocument||this.document||this,n=Z.access(o,e)-1;n?Z.access(o,e,n):(o.removeEventListener(t,i,!0),Z.remove(o,e))}}}));var Te=i.location,$e={guid:Date.now()},Ce=/\?/;$.parseXML=function(t){var e,o;if(!t||"string"!=typeof t)return null;try{e=(new i.DOMParser).parseFromString(t,"text/xml")}catch(t){}return o=e&&e.getElementsByTagName("parsererror")[0],e&&!o||$.error("Invalid XML: "+(o?$.map(o.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var ke=/\[\]$/,Se=/\r?\n/g,Ee=/^(?:submit|button|image|reset|file)$/i,Ae=/^(?:input|select|textarea|keygen)/i;function Ie(t,e,i,o){var n;if(Array.isArray(e))$.each(e,(function(e,n){i||ke.test(t)?o(t,n):Ie(t+"["+("object"==typeof n&&null!=n?e:"")+"]",n,i,o)}));else if(i||"object"!==T(e))o(t,e);else for(n in e)Ie(t+"["+n+"]",e[n],i,o)}$.param=function(t,e){var i,o=[],n=function(t,e){var i=v(e)?e():e;o[o.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!$.isPlainObject(t))$.each(t,(function(){n(this.name,this.value)}));else for(i in t)Ie(i,t[i],e,n);return o.join("&")},$.fn.extend({serialize:function(){return $.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=$.prop(this,"elements");return t?$.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!$(this).is(":disabled")&&Ae.test(this.nodeName)&&!Ee.test(t)&&(this.checked||!gt.test(t))})).map((function(t,e){var i=$(this).val();return null==i?null:Array.isArray(i)?$.map(i,(function(t){return{name:e.name,value:t.replace(Se,"\r\n")}})):{name:e.name,value:i.replace(Se,"\r\n")}})).get()}});var De=/%20/g,Oe=/#.*$/,Pe=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)$/gm,ze=/^(?:GET|HEAD)$/,Me=/^\/\//,je={},Ne={},qe="*/".concat("*"),_e=b.createElement("a");function He(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var o,n=0,r=e.toLowerCase().match(N)||[];if(v(i))for(;o=r[n++];)"+"===o[0]?(o=o.slice(1)||"*",(t[o]=t[o]||[]).unshift(i)):(t[o]=t[o]||[]).push(i)}}function We(t,e,i,o){var n={},r=t===Ne;function s(a){var l;return n[a]=!0,$.each(t[a]||[],(function(t,a){var c=a(e,i,o);return"string"!=typeof c||r||n[c]?r?!(l=c):void 0:(e.dataTypes.unshift(c),s(c),!1)})),l}return s(e.dataTypes[0])||!n["*"]&&s("*")}function Fe(t,e){var i,o,n=$.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((n[i]?t:o||(o={}))[i]=e[i]);return o&&$.extend(!0,t,o),t}_e.href=Te.href,$.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Te.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Te.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":$.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Fe(Fe(t,$.ajaxSettings),e):Fe($.ajaxSettings,t)},ajaxPrefilter:He(je),ajaxTransport:He(Ne),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var o,n,r,s,a,l,c,d,u,h,p=$.ajaxSetup({},e),f=p.context||p,g=p.context&&(f.nodeType||f.jquery)?$(f):$.event,m=$.Deferred(),v=$.Callbacks("once memory"),y=p.statusCode||{},w={},x={},T="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=Le.exec(r);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?r:null},setRequestHeader:function(t,e){return null==c&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)C.always(t[C.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||T;return o&&o.abort(e),k(0,e),this}};if(m.promise(C),p.url=((t||p.url||Te.href)+"").replace(Me,Te.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(N)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=_e.protocol+"//"+_e.host!=l.protocol+"//"+l.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=$.param(p.data,p.traditional)),We(je,p,e,C),c)return C;for(u in(d=$.event&&p.global)&&0==$.active++&&$.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!ze.test(p.type),n=p.url.replace(Oe,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(De,"+")):(h=p.url.slice(n.length),p.data&&(p.processData||"string"==typeof p.data)&&(n+=(Ce.test(n)?"&":"?")+p.data,delete p.data),!1===p.cache&&(n=n.replace(Pe,"$1"),h=(Ce.test(n)?"&":"?")+"_="+$e.guid+++h),p.url=n+h),p.ifModified&&($.lastModified[n]&&C.setRequestHeader("If-Modified-Since",$.lastModified[n]),$.etag[n]&&C.setRequestHeader("If-None-Match",$.etag[n])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+qe+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(u,p.headers[u]);if(p.beforeSend&&(!1===p.beforeSend.call(f,C,p)||c))return C.abort();if(T="abort",v.add(p.complete),C.done(p.success),C.fail(p.error),o=We(Ne,p,e,C)){if(C.readyState=1,d&&g.trigger("ajaxSend",[C,p]),c)return C;p.async&&p.timeout>0&&(a=i.setTimeout((function(){C.abort("timeout")}),p.timeout));try{c=!1,o.send(w,k)}catch(t){if(c)throw t;k(-1,t)}}else k(-1,"No Transport");function k(t,e,s,l){var u,h,b,w,x,T=e;c||(c=!0,a&&i.clearTimeout(a),o=void 0,r=l||"",C.readyState=t>0?4:0,u=t>=200&&t<300||304===t,s&&(w=function(t,e,i){for(var o,n,r,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===o&&(o=t.mimeType||e.getResponseHeader("Content-Type"));if(o)for(n in a)if(a[n]&&a[n].test(o)){l.unshift(n);break}if(l[0]in i)r=l[0];else{for(n in i){if(!l[0]||t.converters[n+" "+l[0]]){r=n;break}s||(s=n)}r=r||s}if(r)return r!==l[0]&&l.unshift(r),i[r]}(p,C,s)),!u&&$.inArray("script",p.dataTypes)>-1&&$.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),w=function(t,e,i,o){var n,r,s,a,l,c={},d=t.dataTypes.slice();if(d[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(r=d.shift();r;)if(t.responseFields[r]&&(i[t.responseFields[r]]=e),!l&&o&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=d.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=c[l+" "+r]||c["* "+r]))for(n in c)if((a=n.split(" "))[1]===r&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[n]:!0!==c[n]&&(r=a[0],d.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(p,w,C,u),u?(p.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&($.lastModified[n]=x),(x=C.getResponseHeader("etag"))&&($.etag[n]=x)),204===t||"HEAD"===p.type?T="nocontent":304===t?T="notmodified":(T=w.state,h=w.data,u=!(b=w.error))):(b=T,!t&&T||(T="error",t<0&&(t=0))),C.status=t,C.statusText=(e||T)+"",u?m.resolveWith(f,[h,T,C]):m.rejectWith(f,[C,T,b]),C.statusCode(y),y=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[C,p,u?h:b]),v.fireWith(f,[C,T]),d&&(g.trigger("ajaxComplete",[C,p]),--$.active||$.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,i){return $.get(t,e,i,"json")},getScript:function(t,e){return $.get(t,void 0,e,"script")}}),$.each(["get","post"],(function(t,e){$[e]=function(t,i,o,n){return v(i)&&(n=n||o,o=i,i=void 0),$.ajax($.extend({url:t,type:e,dataType:n,data:i,success:o},$.isPlainObject(t)&&t))}})),$.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),$._evalUrl=function(t,e,i){return $.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){$.globalEval(t,e,i)}})},$.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(t)&&(t=t.call(this[0])),e=$(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return v(t)?this.each((function(e){$(this).wrapInner(t.call(this,e))})):this.each((function(){var e=$(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v(t);return this.each((function(i){$(this).wrapAll(e?t.call(this,i):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){$(this).replaceWith(this.childNodes)})),this}}),$.expr.pseudos.hidden=function(t){return!$.expr.pseudos.visible(t)},$.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},$.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(t){}};var Re={0:200,1223:204},Be=$.ajaxSettings.xhr();m.cors=!!Be&&"withCredentials"in Be,m.ajax=Be=!!Be,$.ajaxTransport((function(t){var e,o;if(m.cors||Be&&!t.crossDomain)return{send:function(n,r){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)a.setRequestHeader(s,n[s]);e=function(t){return function(){e&&(e=o=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(Re[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),o=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=o:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout((function(){e&&o()}))},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),$.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),$.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return $.globalEval(t),t}}}),$.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),$.ajaxTransport("script",(function(t){var e,i;if(t.crossDomain||t.scriptAttrs)return{send:function(o,n){e=$("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&n("error"===t.type?404:200,t.type)}),b.head.appendChild(e[0])},abort:function(){i&&i()}}}));var Ue,Ve=[],Ge=/(=)\?(?=&|$)|\?\?/;$.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ve.pop()||$.expando+"_"+$e.guid++;return this[t]=!0,t}}),$.ajaxPrefilter("json jsonp",(function(t,e,o){var n,r,s,a=!1!==t.jsonp&&(Ge.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ge.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=v(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ge,"$1"+n):!1!==t.jsonp&&(t.url+=(Ce.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return s||$.error(n+" was not called"),s[0]},t.dataTypes[0]="json",r=i[n],i[n]=function(){s=arguments},o.always((function(){void 0===r?$(i).removeProp(n):i[n]=r,t[n]&&(t.jsonpCallback=e.jsonpCallback,Ve.push(n)),s&&v(r)&&r(s[0]),s=r=void 0})),"script"})),m.createHTMLDocument=((Ue=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ue.childNodes.length),$.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(m.createHTMLDocument?((o=(e=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,e.head.appendChild(o)):e=b),r=!i&&[],(n=D.exec(t))?[e.createElement(n[1])]:(n=Tt([t],e,r),r&&r.length&&$(r).remove(),$.merge([],n.childNodes)));var o,n,r},$.fn.load=function(t,e,i){var o,n,r,s=this,a=t.indexOf(" ");return a>-1&&(o=me(t.slice(a)),t=t.slice(0,a)),v(e)?(i=e,e=void 0):e&&"object"==typeof e&&(n="POST"),s.length>0&&$.ajax({url:t,type:n||"GET",dataType:"html",data:e}).done((function(t){r=arguments,s.html(o?$("<div>").append($.parseHTML(t)).find(o):t)})).always(i&&function(t,e){s.each((function(){i.apply(this,r||[t.responseText,e,t])}))}),this},$.expr.pseudos.animated=function(t){return $.grep($.timers,(function(e){return t===e.elem})).length},$.offset={setOffset:function(t,e,i){var o,n,r,s,a,l,c=$.css(t,"position"),d=$(t),u={};"static"===c&&(t.style.position="relative"),a=d.offset(),r=$.css(t,"top"),l=$.css(t,"left"),("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1?(s=(o=d.position()).top,n=o.left):(s=parseFloat(r)||0,n=parseFloat(l)||0),v(e)&&(e=e.call(t,i,$.extend({},a))),null!=e.top&&(u.top=e.top-a.top+s),null!=e.left&&(u.left=e.left-a.left+n),"using"in e?e.using.call(t,u):d.css(u)}},$.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){$.offset.setOffset(this,t,e)}));var e,i,o=this[0];return o?o.getClientRects().length?(e=o.getBoundingClientRect(),i=o.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,o=this[0],n={top:0,left:0};if("fixed"===$.css(o,"position"))e=o.getBoundingClientRect();else{for(e=this.offset(),i=o.ownerDocument,t=o.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===$.css(t,"position");)t=t.parentNode;t&&t!==o&&1===t.nodeType&&((n=$(t).offset()).top+=$.css(t,"borderTopWidth",!0),n.left+=$.css(t,"borderLeftWidth",!0))}return{top:e.top-n.top-$.css(o,"marginTop",!0),left:e.left-n.left-$.css(o,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===$.css(t,"position");)t=t.offsetParent;return t||rt}))}}),$.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var i="pageYOffset"===e;$.fn[t]=function(o){return B(this,(function(t,o,n){var r;if(y(t)?r=t:9===t.nodeType&&(r=t.defaultView),void 0===n)return r?r[e]:t[o];r?r.scrollTo(i?r.pageXOffset:n,i?n:r.pageYOffset):t[o]=n}),t,o,arguments.length)}})),$.each(["top","left"],(function(t,e){$.cssHooks[e]=Bt(m.pixelPosition,(function(t,i){if(i)return i=Rt(t,e),_t.test(i)?$(t).position()[e]+"px":i}))})),$.each({Height:"height",Width:"width"},(function(t,e){$.each({padding:"inner"+t,content:e,"":"outer"+t},(function(i,o){$.fn[o]=function(n,r){var s=arguments.length&&(i||"boolean"!=typeof n),a=i||(!0===n||!0===r?"margin":"border");return B(this,(function(e,i,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===n?$.css(e,i,a):$.style(e,i,n,a)}),e,s?n:void 0,s)}}))})),$.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){$.fn[e]=function(t){return this.on(e,t)}})),$.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,o){return this.on(e,t,i,o)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),$.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){$.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}));var Ye=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;$.proxy=function(t,e){var i,o,n;if("string"==typeof e&&(i=t[e],e=t,t=i),v(t))return o=a.call(arguments,2),(n=function(){return t.apply(e||this,o.concat(a.call(arguments)))}).guid=t.guid=t.guid||$.guid++,n},$.holdReady=function(t){t?$.readyWait++:$.ready(!0)},$.isArray=Array.isArray,$.parseJSON=JSON.parse,$.nodeName=I,$.isFunction=v,$.isWindow=y,$.camelCase=Y,$.type=T,$.now=Date.now,$.isNumeric=function(t){var e=$.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},$.trim=function(t){return null==t?"":(t+"").replace(Ye,"")},void 0===(o=function(){return $}.apply(e,[]))||(t.exports=o);var Xe=i.jQuery,Qe=i.$;return $.noConflict=function(t){return i.$===$&&(i.$=Qe),t&&i.jQuery===$&&(i.jQuery=Xe),$},void 0===n&&(i.jQuery=i.$=$),$}))},HijD:function(t,e,i){window.$=window.jQuery=i("EVdn"),i("VSY+")},Hy43:function(t,e,i){var o,n;!function(r,s){"use strict";o=[i("CUlp"),i("QK1G"),i("YVj6"),i("KK1e")],void 0===(n=function(t,e,i,o){return function(t,e,i,o,n){var r=t.console,s=t.jQuery,a=function(){},l=0,c={};function d(t,e){var i=o.getQueryElement(t);if(i){this.element=i,s&&(this.$element=s(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++l;this.element.outlayerGUID=n,c[n]=this,this._create(),this._getOption("initLayout")&&this.layout()}else r&&r.error("Bad element for "+this.constructor.namespace+": "+(i||t))}d.namespace="outlayer",d.Item=n,d.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var u=d.prototype;function h(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}o.extend(u,e.prototype),u.option=function(t){o.extend(this.options,t)},u._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},d.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},u._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},u.reloadItems=function(){this.items=this._itemize(this.element.children)},u._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var r=new i(e[n],this);o.push(r)}return o},u._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},u.getItemElements=function(){return this.items.map((function(t){return t.element}))},u.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},u._init=u.layout,u._resetLayout=function(){this.getSize()},u.getSize=function(){this.size=i(this.element)},u._getMeasurement=function(t,e){var o,n=this.options[t];n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},u.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},u._getItemsForLayout=function(t){return t.filter((function(t){return!t.isIgnored}))},u._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach((function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)}),this),this._processLayoutQueue(i)}},u._getItemLayoutPosition=function(){return{x:0,y:0}},u._processLayoutQueue=function(t){this.updateStagger(),t.forEach((function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)}),this)},u.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];if(!i.length)return 0;return(i=parseFloat(i))*(p[o]||1)}(t),this.stagger;this.stagger=0},u._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},u._postLayout=function(){this.resizeContainer()},u.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},u._getContainerSize=a,u._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"}},u._emitCompleteOnItems=function(t,e){var i=this;function o(){i.dispatchEvent(t+"Complete",null,[e])}var n=e.length;if(e&&n){var r=0;e.forEach((function(e){e.once(t,s)}))}else o();function s(){++r==n&&o()}},u.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),s)if(this.$element=this.$element||s(this.element),e){var n=s.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},u.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},u.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},u.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},u.unstamp=function(t){(t=this._find(t))&&t.forEach((function(t){o.removeFrom(this.stamps,t),this.unignore(t)}),this)},u._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},u._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},u._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)}},u._manageStamp=a,u._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t);return{left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom}},u.handleEvent=o.handleEvent,u.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},u.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},u.onresize=function(){this.resize()},o.debounceMethod(d,"onresize",100),u.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},u.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},u.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},u.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},u.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)}},u.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach((function(t,i){t.stagger(i*e),t.reveal()}))}},u.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach((function(t,i){t.stagger(i*e),t.hide()}))}},u.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},u.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},u.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},u.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach((function(t){var i=this.getItem(t);i&&e.push(i)}),this),e},u.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach((function(t){t.remove(),o.removeFrom(this.items,t)}),this)},u.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach((function(t){t.destroy()})),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,s&&s.removeData(this.element,this.constructor.namespace)},d.data=function(t){var e=(t=o.getQueryElement(t))&&t.outlayerGUID;return e&&c[e]},d.create=function(t,e){var i=h(d);return i.defaults=o.extend({},d.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},d.compatOptions),i.namespace=t,i.data=d.data,i.Item=h(n),o.htmlInit(i,t),s&&s.bridget&&s.bridget(t,i),i};var p={ms:1,s:1e3};return d.Item=n,d}(r,t,e,i,o)}.apply(e,o))||(t.exports=n)}(window)},IMsS:function(t,e){$((function(){$(".box-whatsapp-conversao a:first").removeClass("hidden"),$(".box-whats-modal a:first").removeClass("hidden");var t=$("#inputConversao").val();$("#inputConversao").on("change",(function(){t=$("#inputConversao").val(),$("#inputConversao").get(0).focus()})),$(".question").on("click",(function(){t+=$(this).text(),$("#inputConversao").val(t),$("#inputConversao").get(0).focus()})),$(".box-whats-modal").on("click",(function(){var t=$(this).children().attr("href").substring($(this).children().attr("href").indexOf("/"),$(this).children().attr("href").indexOf("Instagram. ")+11);console.log(t);var e=t+$("#inputConversao").val();$(this).children().attr("href",e)})),$(".btn-email").on("click",(function(){$("#mensagem").val($("#inputConversao").val()),""===$("#mensagem").val()&&alert("Preencha o campo mensagem para concluir o envio!")}))}))},IlIi:function(t,e){},"JT+M":function(t,e,i){var o,n,r;window,n=[i("QK1G"),i("Hy43")],void 0===(r="function"==typeof(o=function(t,e){"use strict";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)}var o=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach((function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}})),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.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]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i})?o.apply(e,n):o)||(t.exports=r)},JgFA:function(t,e){!function(t,e){"use strict";var i=t.jQuery||t.Zepto,o=0,n=!1;function r(e,o,r,s,a){var l=0,c=-1,d=-1,u=!1;function h(){var n,l,h,g;u=t.devicePixelRatio>1,r=p(r),o.delay>=0&&setTimeout((function(){f(!0)}),o.delay),(o.delay<0||o.combined)&&(s.e=(n=o.throttle,l=function(t){"resize"===t.type&&(c=d=-1),f(t.all)},g=0,function(t,i){var r=+new Date-g;function s(){g=+new Date,l.call(e,t)}h&&clearTimeout(h),r>n||!o.enableThrottle||i?s():h=setTimeout(s,n-r)}),s.a=function(t){t=p(t),r.push.apply(r,t)},s.g=function(){return r=i(r).filter((function(){return!i(this).data(o.loadedName)}))},s.f=function(t){for(var e=0;e<t.length;e++){var i=r.filter((function(){return this===t[e]}));i.length&&f(!1,i)}},f(),i(o.appendScroll).on("scroll."+a+" resize."+a,s.e))}function p(t){for(var n=o.defaultImage,r=o.placeholder,s=o.imageBase,a=o.srcsetAttribute,l=o.loaderAttribute,c=o._f||{},d=0,u=(t=i(t).filter((function(){var t=i(this),e=v(this);return!t.data(o.handledName)&&(t.attr(o.attribute)||t.attr(a)||t.attr(l)||void 0!==c[e])})).data("plugin_"+o.name,e)).length;d<u;d++){var h=i(t[d]),p=v(t[d]),f=h.attr(o.imageBaseAttribute)||s;"img"===p&&f&&h.attr(a)&&h.attr(a,y(h.attr(a),f)),void 0===c[p]||h.attr(l)||h.attr(l,c[p]),"img"===p&&n&&!h.attr("src")?h.attr("src",n):"img"===p||!r||h.css("background-image")&&"none"!==h.css("background-image")||h.css("background-image","url('"+r+"')")}return t}function f(t,n){if(r.length){for(var s=n||r,a=!1,l=o.imageBase||"",c=o.srcsetAttribute,d=o.handledName,u=0;u<s.length;u++)if(t||n||m(s[u])){var h=i(s[u]),p=v(s[u]),f=h.attr(o.attribute),y=h.attr(o.imageBaseAttribute)||l,b=h.attr(o.loaderAttribute);h.data(d)||o.visibleOnly&&!h.is(":visible")||!((f||h.attr(c))&&("img"===p&&(y+f!==h.attr("src")||h.attr(c)!==h.attr("srcset"))||"img"!==p&&y+f!==h.css("background-image"))||b)||(a=!0,h.data(d,!0),g(h,p,y,b))}a&&(r=i(r).filter((function(){return!i(this).data(d)})))}else o.autoDestroy&&e.destroy()}function g(t,e,n,r){++l;var s=function(){w("onError",t),b(),s=i.noop};w("beforeLoad",t);var a=o.attribute,c=o.srcsetAttribute,d=o.sizesAttribute,h=o.retinaAttribute,p=o.removeAttribute,f=o.loadedName,g=t.attr(h);if(r){var m=function(){p&&t.removeAttr(o.loaderAttribute),t.data(f,!0),w("afterLoad",t),setTimeout(b,1),m=i.noop};t.off("error").one("error",s).one("load",m),w(r,t,(function(e){e?(t.off("load"),m()):(t.off("error"),s())}))||t.trigger("error")}else{var v=i(new Image);v.one("error",s).one("load",(function(){t.hide(),"img"===e?t.attr("sizes",v.attr("sizes")).attr("srcset",v.attr("srcset")).attr("src",v.attr("src")):t.css("background-image","url('"+v.attr("src")+"')"),t[o.effect](o.effectTime),p&&(t.removeAttr(a+" "+c+" "+h+" "+o.imageBaseAttribute),"sizes"!==d&&t.removeAttr(d)),t.data(f,!0),w("afterLoad",t),v.remove(),b()}));var y=(u&&g?g:t.attr(a))||"";v.attr("sizes",t.attr(d)).attr("srcset",t.attr(c)).attr("src",y?n+y:null),v.complete&&v.trigger("load")}}function m(e){var n=e.getBoundingClientRect(),r=o.scrollDirection,s=o.threshold,a=(d>=0?d:d=i(t).height())+s>n.top&&-s<n.bottom,l=(c>=0?c:c=i(t).width())+s>n.left&&-s<n.right;return"vertical"===r?a:("horizontal"===r||a)&&l}function v(t){return t.tagName.toLowerCase()}function y(t,e){if(e){var i=t.split(",");t="";for(var o=0,n=i.length;o<n;o++)t+=e+i[o].trim()+(o!==n-1?",":"")}return t}function b(){--l,r.length||l||w("onFinishedAll")}function w(t,i,n){return!!(t=o[t])&&(t.apply(e,[].slice.call(arguments,1)),!0)}"event"===o.bind||n?h():i(t).on("load."+a,h)}function s(e,n){var s=this,a=i.extend({},s.config,n),l={},c=a.name+"-"+ ++o;return s.config=function(t,e){return void 0===e?a[t]:(a[t]=e,s)},s.addItems=function(t){return l.a&&l.a("string"===i.type(t)?i(t):t),s},s.getItems=function(){return l.g?l.g():{}},s.update=function(t){return l.e&&l.e({},!t),s},s.force=function(t){return l.f&&l.f("string"===i.type(t)?i(t):t),s},s.loadAll=function(){return l.e&&l.e({all:!0},!0),s},s.destroy=function(){i(a.appendScroll).off("."+c,l.e),i(t).off("."+c),l={}},r(s,a,e,l,c),a.chainable?e:s}i.fn.Lazy=i.fn.lazy=function(t){return new s(this,t)},i.Lazy=i.lazy=function(t,e,o){if(i.isFunction(e)&&(o=e,e=[]),i.isFunction(o)){t=i.isArray(t)?t:[t],e=i.isArray(e)?e:[e];for(var n=s.prototype.config,r=n._f||(n._f={}),a=0,l=t.length;a<l;a++)(void 0===n[t[a]]||i.isFunction(n[t[a]]))&&(n[t[a]]=o);for(var c=0,d=e.length;c<d;c++)r[e[c]]=t[0]}},s.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:t,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:void 0,afterLoad:void 0,onError:void 0,onFinishedAll:void 0},i(t).on("load",(function(){n=!0}))}(window)},KK1e:function(t,e,i){var o,n,r;window,n=[i("CUlp"),i("QK1G")],void 0===(r="function"==typeof(o=function(t,e){"use strict";var i=document.documentElement.style,o="string"==typeof i.transition?"transition":"WebkitTransition",n="string"==typeof i.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],s={transform:n,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"};function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var l=a.prototype=Object.create(t.prototype);l.constructor=a,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.getSize=function(){this.size=e(this.element)},l.css=function(t){var e=this.element.style;for(var i in t)e[s[i]||i]=t[i]},l.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],r=parseFloat(o),s=parseFloat(n),a=this.layout.size;-1!=o.indexOf("%")&&(r=r/100*a.width),-1!=n.indexOf("%")&&(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=e?a.paddingLeft:a.paddingRight,s-=i?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},l.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[n];e[r]=this.getXValue(a),e[s]="";var l=o?"paddingTop":"paddingBottom",c=o?"top":"bottom",d=o?"bottom":"top",u=this.position.y+t[l];e[c]=this.getYValue(u),e[d]="",this.css(e),this.emitEvent("layout",[this])},l.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},l.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},l._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!n||this.isTransitioning){var r=t-i,s=e-o,a={};a.transform=this.getTranslate(r,s),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},l.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},l._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},l.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){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);t.from&&(this.css(t.from),this.element.offsetHeight),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var c="opacity,"+n.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}));l.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:c,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1)}},l.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},l.onotransitionend=function(t){this.ontransitionend(t)};var d={"-webkit-transform":"transform"};l.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=d[t.propertyName]||t.propertyName;delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd&&(e.onEnd[i].call(this),delete e.onEnd[i]),this.emitEvent("transitionEnd",[this])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},l._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var u={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(u)},l.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",(function(){this.removeElem()})),this.hide()):this.removeElem()},l.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},l.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a})?o.apply(e,n):o)||(t.exports=r)},Kixc:function(t,e){$((function(){$(".mask-telefone").mask("(00) 0000-00009",{clearIfNotMatch:!0}),$(".mask-data").mask("00/00/0000",{clearIfNotMatch:!0}),$(".mask-cpf").mask("000.000.000-00",{clearIfNotMatch:!0}),$(".mask-cep").mask("00000-000",{clearIfNotMatch:!0}),$(".mask-cnpj").mask("00.000.000/0000-00",{clearIfNotMatch:!0}),$(".mask-num").mask("0000",{clearIfNotMatch:!0}),$(".mask-valor").mask("#.##0",{reverse:!0})}))},Px4X:function(t,e,i){var o,n;!function(r,s){o=[i("Hy43"),i("QK1G"),i("x0Ue"),i("YVj6"),i("vn07"),i("JT+M"),i("p3L+"),i("64OR"),i("Qc7Q")],void 0===(n=function(t,e,i,o,n,s){return function(t,e,i,o,n,r,s){"use strict";var a=t.jQuery,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});c.Item=r,c.LayoutMode=s;var d=c.prototype;d._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],s.modes)this._initLayoutMode(t)},d.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},d._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){var o=t[i];o.id=this.itemGUID++}return this._updateItemsSortData(t),t},d._initLayoutMode=function(t){var e=s.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},d.layout=function(){this._isLayoutInited||!this._getOption("initLayout")?this._layout():this.arrange()},d._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},d.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},d._init=d.arrange,d._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},d._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},d._bindArrangeComplete=function(){var t,e,i,o=this;function n(){t&&e&&i&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}this.once("layoutComplete",(function(){t=!0,n()})),this.once("hideComplete",(function(){e=!0,n()})),this.once("revealComplete",(function(){i=!0,n()}))},d._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],r=this._getFilterTest(e),s=0;s<t.length;s++){var a=t[s];if(!a.isIgnored){var l=r(a);l&&i.push(a),l&&a.isHidden?o.push(a):l||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},d._getFilterTest=function(t){return a&&this.options.isJQueryFiltering?function(e){return a(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},d.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},d._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=u(i)}},d._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var u=function(t){if("string"!=typeof t)return t;var e=l(t).split(" "),i=e[0],o=i.match(/^\[(.+)\]$/),n=function(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}(o&&o[1],i),r=c.sortDataParsers[e[1]];return t=r?function(t){return t&&r(n(t))}:function(t){return t&&n(t)}};c.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},d._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=function(t,e){return function(i,o){for(var n=0;n<t.length;n++){var r=t[n],s=i.sortData[r],a=o.sortData[r];if(s>a||s<a)return(s>a?1:-1)*((void 0!==e[r]?e[r]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},d._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},d._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},d._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},d._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},d._manageStamp=function(t){this._mode()._manageStamp(t)},d._getContainerSize=function(){return this._mode()._getContainerSize()},d.needsResizeLayout=function(){return this._mode().needsResizeLayout()},d.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},d.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},d._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},d.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var r=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(r)}};var h=d.remove;return d.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);h.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var r=e[o];n.removeFrom(this.filteredItems,r)}},d.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},d._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},d.getFilteredItemElements=function(){return this.filteredItems.map((function(t){return t.element}))},c}(r,t,0,i,o,n,s)}.apply(e,o))||(t.exports=n)}(window)},QK1G:function(t,e,i){var o,n;window,void 0===(n="function"==typeof(o=function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],o=i.length;function n(t){var i=getComputedStyle(t);return i||e("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),i}var r,s=!1;function a(e){if(function(){if(!s){s=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);r=200==Math.round(t(o.width)),a.isBoxSizeOuter=r,i.removeChild(e)}}(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var l=n(e);if("none"==l.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<o;e++)t[i[e]]=0;return t}();var c={};c.width=e.offsetWidth,c.height=e.offsetHeight;for(var d=c.isBorderBox="border-box"==l.boxSizing,u=0;u<o;u++){var h=i[u],p=l[h],f=parseFloat(p);c[h]=isNaN(f)?0:f}var g=c.paddingLeft+c.paddingRight,m=c.paddingTop+c.paddingBottom,v=c.marginLeft+c.marginRight,y=c.marginTop+c.marginBottom,b=c.borderLeftWidth+c.borderRightWidth,w=c.borderTopWidth+c.borderBottomWidth,x=d&&r,T=t(l.width);!1!==T&&(c.width=T+(x?0:g+b));var $=t(l.height);return!1!==$&&(c.height=$+(x?0:m+w)),c.innerWidth=c.width-(g+b),c.innerHeight=c.height-(m+w),c.outerWidth=c.width+v,c.outerHeight=c.height+y,c}}return a})?o.call(e,i,e,t):o)||(t.exports=n)},Qc7Q:function(t,e,i){var o,n,r;window,n=[i("JT+M")],void 0===(r="function"==typeof(o=function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._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}},i._getContainerSize=function(){return{height:this.y}},e})?o.apply(e,n):o)||(t.exports=r)},"VSY+":function(t,e){if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var i=!1,o=this;t(this).one("bsTransitionEnd",(function(){i=!0}));return setTimeout((function(){i||t(o).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})}))}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',i=function(i){t(i).on("click",e,this.close)};i.VERSION="3.4.1",i.TRANSITION_DURATION=150,i.prototype.close=function(e){var o=t(this),n=o.attr("data-target");n||(n=(n=o.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),n="#"===n?[]:n;var r=t(document).find(n);function s(){r.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),r.length||(r=o.closest(".alert")),r.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(r.removeClass("in"),t.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",s).emulateTransitionEnd(i.TRANSITION_DURATION):s())};var o=t.fn.alert;t.fn.alert=function(e){return this.each((function(){var o=t(this),n=o.data("bs.alert");n||o.data("bs.alert",n=new i(this)),"string"==typeof e&&n[e].call(o)}))},t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=o,this},t(document).on("click.bs.alert.data-api",e,i.prototype.close)}(jQuery),function(t){"use strict";var e=function(i,o){this.$element=t(i),this.options=t.extend({},e.DEFAULTS,o),this.isLoading=!1};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.button"),r="object"==typeof i&&i;n||o.data("bs.button",n=new e(this,r)),"toggle"==i?n.toggle():i&&n.setState(i)}))}e.VERSION="3.4.1",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var i="disabled",o=this.$element,n=o.is("input")?"val":"html",r=o.data();e+="Text",null==r.resetText&&o.data("resetText",o[n]()),setTimeout(t.proxy((function(){o[n](null==r[e]?this.options[e]:r[e]),"loadingText"==e?(this.isLoading=!0,o.addClass(i).attr(i,i).prop(i,!0)):this.isLoading&&(this.isLoading=!1,o.removeClass(i).removeAttr(i).prop(i,!1))}),this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var o=t.fn.button;t.fn.button=i,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=o,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(e){var o=t(e.target).closest(".btn");i.call(o,"toggle"),t(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),o.is("input,button")?o.trigger("focus"):o.find("input:visible,button:visible").first().trigger("focus"))})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))}))}(jQuery),function(t){"use strict";var e=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.carousel"),r=t.extend({},e.DEFAULTS,o.data(),"object"==typeof i&&i),s="string"==typeof i?i:r.slide;n||o.data("bs.carousel",n=new e(this,r)),"number"==typeof i?n.to(i):s?n[s]():r.interval&&n.pause().cycle()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var o=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(o)},e.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(i,o){var n=this.$element.find(".item.active"),r=o||this.getItemForDirection(i,n),s=this.interval,a="next"==i?"left":"right",l=this;if(r.hasClass("active"))return this.sliding=!1;var c=r[0],d=t.Event("slide.bs.carousel",{relatedTarget:c,direction:a});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var u=t(this.$indicators.children()[this.getItemIndex(r)]);u&&u.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:c,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(r.addClass(i),"object"==typeof r&&r.length&&r[0].offsetWidth,n.addClass(a),r.addClass(a),n.one("bsTransitionEnd",(function(){r.removeClass([i,a].join(" ")).addClass("active"),n.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(h)}),0)})).emulateTransitionEnd(e.TRANSITION_DURATION)):(n.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(h)),s&&this.cycle(),this}};var o=t.fn.carousel;t.fn.carousel=i,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=o,this};var n=function(e){var o=t(this),n=o.attr("href");n&&(n=n.replace(/.*(?=#[^\s]+$)/,""));var r=o.attr("data-target")||n,s=t(document).find(r);if(s.hasClass("carousel")){var a=t.extend({},s.data(),o.data()),l=o.attr("data-slide-to");l&&(a.interval=!1),i.call(s,a),l&&s.data("bs.carousel").to(l),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",n).on("click.bs.carousel.data-api","[data-slide-to]",n),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var e=t(this);i.call(e,e.data())}))}))}(jQuery),function(t){"use strict";var e=function(i,o){this.$element=t(i),this.options=t.extend({},e.DEFAULTS,o),this.$trigger=t('[data-toggle="collapse"][href="#'+i.id+'"],[data-toggle="collapse"][data-target="#'+i.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function i(e){var i,o=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(document).find(o)}function o(i){return this.each((function(){var o=t(this),n=o.data("bs.collapse"),r=t.extend({},e.DEFAULTS,o.data(),"object"==typeof i&&i);!n&&r.toggle&&/show|hide/.test(i)&&(r.toggle=!1),n||o.data("bs.collapse",n=new e(this,r)),"string"==typeof i&&n[i]()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var i,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(i=n.data("bs.collapse"))&&i.transitioning)){var r=t.Event("show.bs.collapse");if(this.$element.trigger(r),!r.isDefaultPrevented()){n&&n.length&&(o.call(n,"hide"),i||n.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var l=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[s](this.$element[0][l])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var i=t.Event("hide.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){var o=this.dimension();this.$element[o](this.$element[o]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return n.call(this);this.$element[o](0).one("bsTransitionEnd",t.proxy(n,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(e,o){var n=t(o);this.addAriaAndCollapsedClass(i(n),n)}),this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var n=t.fn.collapse;t.fn.collapse=o,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(e){var n=t(this);n.attr("data-target")||e.preventDefault();var r=i(n),s=r.data("bs.collapse")?"toggle":n.data();o.call(r,s)}))}(jQuery),function(t){"use strict";var e='[data-toggle="dropdown"]',i=function(e){t(e).on("click.bs.dropdown",this.toggle)};function o(e){var i=e.attr("data-target");i||(i=(i=e.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var o="#"!==i?t(document).find(i):null;return o&&o.length?o:e.parent()}function n(i){i&&3===i.which||(t(".dropdown-backdrop").remove(),t(e).each((function(){var e=t(this),n=o(e),r={relatedTarget:this};n.hasClass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&t.contains(n[0],i.target)||(n.trigger(i=t.Event("hide.bs.dropdown",r)),i.isDefaultPrevented()||(e.attr("aria-expanded","false"),n.removeClass("open").trigger(t.Event("hidden.bs.dropdown",r)))))})))}i.VERSION="3.4.1",i.prototype.toggle=function(e){var i=t(this);if(!i.is(".disabled, :disabled")){var r=o(i),s=r.hasClass("open");if(n(),!s){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var a={relatedTarget:this};if(r.trigger(e=t.Event("show.bs.dropdown",a)),e.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger(t.Event("shown.bs.dropdown",a))}return!1}},i.prototype.keydown=function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagName)){var n=t(this);if(i.preventDefault(),i.stopPropagation(),!n.is(".disabled, :disabled")){var r=o(n),s=r.hasClass("open");if(!s&&27!=i.which||s&&27==i.which)return 27==i.which&&r.find(e).trigger("focus"),n.trigger("click");var a=r.find(".dropdown-menu li:not(.disabled):visible a");if(a.length){var l=a.index(i.target);38==i.which&&l>0&&l--,40==i.which&&l<a.length-1&&l++,~l||(l=0),a.eq(l).trigger("focus")}}}};var r=t.fn.dropdown;t.fn.dropdown=function(e){return this.each((function(){var o=t(this),n=o.data("bs.dropdown");n||o.data("bs.dropdown",n=new i(this)),"string"==typeof e&&n[e].call(o)}))},t.fn.dropdown.Constructor=i,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=r,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})).on("click.bs.dropdown.data-api",e,i.prototype.toggle).on("keydown.bs.dropdown.data-api",e,i.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",i.prototype.keydown)}(jQuery),function(t){"use strict";var e=function(e,i){this.options=i,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};function i(i,o){return this.each((function(){var n=t(this),r=n.data("bs.modal"),s=t.extend({},e.DEFAULTS,n.data(),"object"==typeof i&&i);r||n.data("bs.modal",r=new e(this,s)),"string"==typeof i?r[i](o):s.show&&r.show(o)}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=300,e.BACKDROP_TRANSITION_DURATION=150,e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},e.prototype.show=function(i){var o=this,n=t.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(n),this.isShown||n.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){o.$element.one("mouseup.dismiss.bs.modal",(function(e){t(e.target).is(o.$element)&&(o.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var n=t.support.transition&&o.$element.hasClass("fade");o.$element.parent().length||o.$element.appendTo(o.$body),o.$element.show().scrollTop(0),o.adjustDialog(),n&&o.$element[0].offsetWidth,o.$element.addClass("in"),o.enforceFocus();var r=t.Event("shown.bs.modal",{relatedTarget:i});n?o.$dialog.one("bsTransitionEnd",(function(){o.$element.trigger("focus").trigger(r)})).emulateTransitionEnd(e.TRANSITION_DURATION):o.$element.trigger("focus").trigger(r)})))},e.prototype.hide=function(i){i&&i.preventDefault(),i=t.Event("hide.bs.modal"),this.$element.trigger(i),this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy((function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")}),this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy((function(t){27==t.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},e.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop((function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")}))},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(i){var o=this,n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=t.support.transition&&n;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+n).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy((function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())}),this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;r?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):i()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){o.removeBackdrop(),i&&i()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):s()}else i&&i()},e.prototype.handleUpdate=function(){this.adjustDialog()},e.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},e.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var i=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",e+i),t(this.fixedContent).each((function(e,o){var n=o.style.paddingRight,r=t(o).css("padding-right");t(o).data("padding-right",n).css("padding-right",parseFloat(r)+i+"px")})))},e.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),t(this.fixedContent).each((function(e,i){var o=t(i).data("padding-right");t(i).removeData("padding-right"),i.style.paddingRight=o||""}))},e.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var o=t.fn.modal;t.fn.modal=i,t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=o,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(e){var o=t(this),n=o.attr("href"),r=o.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,""),s=t(document).find(r),a=s.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(n)&&n},s.data(),o.data());o.is("a")&&e.preventDefault(),s.one("show.bs.modal",(function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",(function(){o.is(":visible")&&o.trigger("focus")}))})),i.call(s,a,this)}))}(jQuery),function(t){"use strict";var e=["sanitize","whiteList","sanitizeFn"],i=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],o={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},n=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,r=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function s(e,o){var s=e.nodeName.toLowerCase();if(-1!==t.inArray(s,o))return-1===t.inArray(s,i)||Boolean(e.nodeValue.match(n)||e.nodeValue.match(r));for(var a=t(o).filter((function(t,e){return e instanceof RegExp})),l=0,c=a.length;l<c;l++)if(s.match(a[l]))return!0;return!1}function a(e,i,o){if(0===e.length)return e;if(o&&"function"==typeof o)return o(e);if(!document.implementation||!document.implementation.createHTMLDocument)return e;var n=document.implementation.createHTMLDocument("sanitization");n.body.innerHTML=e;for(var r=t.map(i,(function(t,e){return e})),a=t(n.body).find("*"),l=0,c=a.length;l<c;l++){var d=a[l],u=d.nodeName.toLowerCase();if(-1!==t.inArray(u,r))for(var h=t.map(d.attributes,(function(t){return t})),p=[].concat(i["*"]||[],i[u]||[]),f=0,g=h.length;f<g;f++)s(h[f],p)||d.removeAttribute(h[f].nodeName);else d.parentNode.removeChild(d)}return n.body.innerHTML}var l=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};l.VERSION="3.4.1",l.TRANSITION_DURATION=150,l.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:o},l.prototype.init=function(e,i,o){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(document).find(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),r=n.length;r--;){var s=n[r];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(i){var o=this.$element.data();for(var n in o)o.hasOwnProperty(n)&&-1!==t.inArray(n,e)&&delete o[n];return(i=t.extend({},this.getDefaults(),o,i)).delay&&"number"==typeof i.delay&&(i.delay={show:i.delay,hide:i.delay}),i.sanitize&&(i.template=a(i.template,i.whiteList,i.sanitizeFn)),i},l.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,(function(t,o){i[t]!=o&&(e[t]=o)})),e},l.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout((function(){"in"==i.hoverState&&i.show()}),i.options.delay.show)}},l.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},l.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout((function(){"out"==i.hoverState&&i.hide()}),i.options.delay.hide)}},l.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var o=this,n=this.tip(),r=this.getUID(this.type);this.setContent(),n.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&n.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,n[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,c=a.test(s);c&&(s=s.replace(a,"")||"top"),n.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?n.appendTo(t(document).find(this.options.container)):n.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var d=this.getPosition(),u=n[0].offsetWidth,h=n[0].offsetHeight;if(c){var p=s,f=this.getPosition(this.$viewport);s="bottom"==s&&d.bottom+h>f.bottom?"top":"top"==s&&d.top-h<f.top?"bottom":"right"==s&&d.right+u>f.width?"left":"left"==s&&d.left-u<f.left?"right":s,n.removeClass(p).addClass(s)}var g=this.getCalculatedOffset(s,d,u,h);this.applyPlacement(g,s);var m=function(){var t=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==t&&o.leave(o)};t.support.transition&&this.$tip.hasClass("fade")?n.one("bsTransitionEnd",m).emulateTransitionEnd(l.TRANSITION_DURATION):m()}},l.prototype.applyPlacement=function(e,i){var o=this.tip(),n=o[0].offsetWidth,r=o[0].offsetHeight,s=parseInt(o.css("margin-top"),10),a=parseInt(o.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),e.top+=s,e.left+=a,t.offset.setOffset(o[0],t.extend({using:function(t){o.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),o.addClass("in");var l=o[0].offsetWidth,c=o[0].offsetHeight;"top"==i&&c!=r&&(e.top=e.top+r-c);var d=this.getViewportAdjustedDelta(i,e,l,c);d.left?e.left+=d.left:e.top+=d.top;var u=/top|bottom/.test(i),h=u?2*d.left-n+l:2*d.top-r+c,p=u?"offsetWidth":"offsetHeight";o.offset(e),this.replaceArrow(h,o[0][p],u)},l.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},l.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=a(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},l.prototype.hide=function(e){var i=this,o=t(this.$tip),n=t.Event("hide.bs."+this.type);function r(){"in"!=i.hoverState&&o.detach(),i.$element&&i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),e&&e()}if(this.$element.trigger(n),!n.isDefaultPrevented())return o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",r).emulateTransitionEnd(l.TRANSITION_DURATION):r(),this.hoverState=null,this},l.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},l.prototype.hasContent=function(){return this.getTitle()},l.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],o="BODY"==i.tagName,n=i.getBoundingClientRect();null==n.width&&(n=t.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var r=window.SVGElement&&i instanceof window.SVGElement,s=o?{top:0,left:0}:r?null:e.offset(),a={scroll:o?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},l=o?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},n,a,l,s)},l.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},l.prototype.getViewportAdjustedDelta=function(t,e,i,o){var n={top:0,left:0};if(!this.$viewport)return n;var r=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-r-s.scroll,l=e.top+r-s.scroll+o;a<s.top?n.top=s.top-a:l>s.top+s.height&&(n.top=s.top+s.height-l)}else{var c=e.left-r,d=e.left+r+i;c<s.left?n.left=s.left-c:d>s.right&&(n.left=s.left+s.width-d)}return n},l.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},l.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},l.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},l.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null}))},l.prototype.sanitizeHtml=function(t){return a(t,this.options.whiteList,this.options.sanitizeFn)};var c=t.fn.tooltip;t.fn.tooltip=function(e){return this.each((function(){var i=t(this),o=i.data("bs.tooltip"),n="object"==typeof e&&e;!o&&/destroy|hide/.test(e)||(o||i.data("bs.tooltip",o=new l(this,n)),"string"==typeof e&&o[e]())}))},t.fn.tooltip.Constructor=l,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=c,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.4.1",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),(e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();if(this.options.html){var o=typeof i;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===o&&(i=this.sanitizeHtml(i))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===o?"html":"append"](i)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(i);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=function(i){return this.each((function(){var o=t(this),n=o.data("bs.popover"),r="object"==typeof i&&i;!n&&/destroy|hide/.test(i)||(n||o.data("bs.popover",n=new e(this,r)),"string"==typeof i&&n[i]())}))},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),function(t){"use strict";function e(i,o){this.$body=t(document.body),this.$scrollElement=t(i).is(document.body)?t(window):t(i),this.options=t.extend({},e.DEFAULTS,o),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each((function(){var o=t(this),n=o.data("bs.scrollspy"),r="object"==typeof i&&i;n||o.data("bs.scrollspy",n=new e(this,r)),"string"==typeof i&&n[i]()}))}e.VERSION="3.4.1",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,i="offset",o=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(i="position",o=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var e=t(this),n=e.data("target")||e.attr("href"),r=/^#./.test(n)&&t(n);return r&&r.length&&r.is(":visible")&&[[r[i]().top+o,n]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){e.offsets.push(this[0]),e.targets.push(this[1])}))},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),o=this.options.offset+i-this.$scrollElement.height(),n=this.offsets,r=this.targets,s=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),e>=o)return s!=(t=r[r.length-1])&&this.activate(t);if(s&&e<n[0])return this.activeTarget=null,this.clear();for(t=n.length;t--;)s!=r[t]&&e>=n[t]&&(void 0===n[t+1]||e<n[t+1])&&this.activate(r[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',o=t(i).parents("li").addClass("active");o.parent(".dropdown-menu").length&&(o=o.closest("li.dropdown").addClass("active")),o.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var o=t.fn.scrollspy;t.fn.scrollspy=i,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=o,this},t(window).on("load.bs.scrollspy.data-api",(function(){t('[data-spy="scroll"]').each((function(){var e=t(this);i.call(e,e.data())}))}))}(jQuery),function(t){"use strict";var e=function(e){this.element=t(e)};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.tab");n||o.data("bs.tab",n=new e(this)),"string"==typeof i&&n[i]()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),o=e.data("target");if(o||(o=(o=e.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var n=i.find(".active:last a"),r=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:n[0]});if(n.trigger(r),e.trigger(s),!s.isDefaultPrevented()&&!r.isDefaultPrevented()){var a=t(document).find(o);this.activate(e.closest("li"),i),this.activate(a,a.parent(),(function(){n.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:n[0]})}))}}},e.prototype.activate=function(i,o,n){var r=o.find("> .active"),s=n&&t.support.transition&&(r.length&&r.hasClass("fade")||!!o.find("> .fade").length);function a(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade"),i.parent(".dropdown-menu").length&&i.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}r.length&&s?r.one("bsTransitionEnd",a).emulateTransitionEnd(e.TRANSITION_DURATION):a(),r.removeClass("in")};var o=t.fn.tab;t.fn.tab=i,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=o,this};var n=function(e){e.preventDefault(),i.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),function(t){"use strict";var e=function(i,o){this.options=t.extend({},e.DEFAULTS,o);var n=this.options.target===e.DEFAULTS.target?t(this.options.target):t(document).find(this.options.target);this.$target=n.on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(i),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.affix"),r="object"==typeof i&&i;n||o.data("bs.affix",n=new e(this,r)),"string"==typeof i&&n[i]()}))}e.VERSION="3.4.1",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,i,o){var n=this.$target.scrollTop(),r=this.$element.offset(),s=this.$target.height();if(null!=i&&"top"==this.affixed)return n<i&&"top";if("bottom"==this.affixed)return null!=i?!(n+this.unpin<=r.top)&&"bottom":!(n+s<=t-o)&&"bottom";var a=null==this.affixed,l=a?n:r.top;return null!=i&&n<=i?"top":null!=o&&l+(a?s:e)>=t-o&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),i=this.$element.offset();return this.pinnedOffset=i.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var i=this.$element.height(),o=this.options.offset,n=o.top,r=o.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof o&&(r=n=o),"function"==typeof n&&(n=o.top(this.$element)),"function"==typeof r&&(r=o.bottom(this.$element));var a=this.getState(s,i,n,r);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),c=t.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-i-r})}};var o=t.fn.affix;t.fn.affix=i,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=o,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var e=t(this),o=e.data();o.offset=o.offset||{},null!=o.offsetBottom&&(o.offset.bottom=o.offsetBottom),null!=o.offsetTop&&(o.offset.top=o.offsetTop),i.call(e,o)}))}))}(jQuery)},Vevq:function(t,e){$((function(){$(".colorbox").colorbox()}))},WDDJ:function(t,e){$((function(){$(".slick-container").slick({infinite:!1,slidesToShow:4,slidesToScroll:3}),$("#destaques-home").slick({slidesToShow:4,slidesToScroll:1,arrows:!0,infinite:!0,responsive:[{breakpoint:1170,settings:{slidesToShow:4,slidesToScroll:1}},{breakpoint:769,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:360,settings:{slidesToShow:1,slidesToScroll:1}}]})}))},YVj6:function(t,e,i){var o,n;!function(r,s){o=[i("x0Ue")],void 0===(n=function(t){return function(t,e){"use strict";var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},o=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?o.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,o){t=i.makeArray(t);var n=[];return t.forEach((function(t){if(t instanceof HTMLElement)if(o){e(t,o)&&n.push(t);for(var i=t.querySelectorAll(o),r=0;r<i.length;r++)n.push(i[r])}else n.push(t)})),n},i.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,r=this;this[n]=setTimeout((function(){o.apply(r,e),delete r[n]}),i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,i){return e+"-"+i})).toLowerCase()};var n=t.console;return i.htmlInit=function(e,o){i.docReady((function(){var r=i.toDashed(o),s="data-"+r,a=document.querySelectorAll("["+s+"]"),l=document.querySelectorAll(".js-"+r),c=i.makeArray(a).concat(i.makeArray(l)),d=s+"-options",u=t.jQuery;c.forEach((function(t){var i,r=t.getAttribute(s)||t.getAttribute(d);try{i=r&&JSON.parse(r)}catch(e){return void(n&&n.error("Error parsing "+s+" on "+t.className+": "+e))}var a=new e(t,i);u&&u.data(t,o,a)}))}))},i}(r,t)}.apply(e,o))||(t.exports=n)}(window)},Yu3H:function(t,e,i){var o,n;!function(r,s){o=[i("EVdn")],void 0===(n=function(t){return function(t,e){"use strict";var i=Array.prototype.slice,o=t.console,n=void 0===o?function(){}:function(t){o.error(t)};function r(o,r,a){function l(t,e,i){var r,s="$()."+o+'("'+e+'")';return t.each((function(t,l){var c=a.data(l,o);if(c){var d=c[e];if(d&&"_"!=e.charAt(0)){var u=d.apply(c,i);r=void 0===r?u:r}else n(s+" is not a valid method")}else n(o+" not initialized. Cannot call methods, i.e. "+s)})),void 0!==r?r:t}function c(t,e){t.each((function(t,i){var n=a.data(i,o);n?(n.option(e),n._init()):(n=new r(i,e),a.data(i,o,n))}))}(a=a||e||t.jQuery)&&(r.prototype.option||(r.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[o]=function(t){if("string"==typeof t){var e=i.call(arguments,1);return l(this,t,e)}return c(this,t),this},s(a))}function s(t){!t||t&&t.bridget||(t.bridget=r)}return s(e||t.jQuery),r}(r,t)}.apply(e,o))||(t.exports=n)}(window)},"Zej/":function(t,e,i){var o,n,r;!function(s){"use strict";n=[i("EVdn")],void 0===(r="function"==typeof(o=function(t){var e=window.Slick||{};(i=0,e=function(e,o){var n,r=this;r.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(e),appendDots:t(e),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},r.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(r,r.initials),r.activeBreakpoint=null,r.animType=null,r.animProp=null,r.breakpoints=[],r.breakpointSettings=[],r.cssTransitions=!1,r.focussed=!1,r.interrupted=!1,r.hidden="hidden",r.paused=!0,r.positionProp=null,r.respondTo=null,r.rowCount=1,r.shouldClick=!0,r.$slider=t(e),r.$slidesCache=null,r.transformType=null,r.transitionType=null,r.visibilityChange="visibilitychange",r.windowWidth=0,r.windowTimer=null,n=t(e).data("slick")||{},r.options=t.extend({},r.defaults,o,n),r.currentSlide=r.options.initialSlide,r.originalSettings=r.options,void 0!==document.mozHidden?(r.hidden="mozHidden",r.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(r.hidden="webkitHidden",r.visibilityChange="webkitvisibilitychange"),r.autoPlay=t.proxy(r.autoPlay,r),r.autoPlayClear=t.proxy(r.autoPlayClear,r),r.autoPlayIterator=t.proxy(r.autoPlayIterator,r),r.changeSlide=t.proxy(r.changeSlide,r),r.clickHandler=t.proxy(r.clickHandler,r),r.selectHandler=t.proxy(r.selectHandler,r),r.setPosition=t.proxy(r.setPosition,r),r.swipeHandler=t.proxy(r.swipeHandler,r),r.dragHandler=t.proxy(r.dragHandler,r),r.keyHandler=t.proxy(r.keyHandler,r),r.instanceUid=i++,r.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,r.registerBreakpoints(),r.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,i,o){var n=this;if("boolean"==typeof i)o=i,i=null;else if(i<0||i>=n.slideCount)return!1;n.unload(),"number"==typeof i?0===i&&0===n.$slides.length?t(e).appendTo(n.$slideTrack):o?t(e).insertBefore(n.$slides.eq(i)):t(e).insertAfter(n.$slides.eq(i)):!0===o?t(e).prependTo(n.$slideTrack):t(e).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each((function(e,i){t(i).attr("data-slick-index",e)})),n.$slidesCache=n.$slides,n.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},e.prototype.animateSlide=function(e,i){var o={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(e=-e),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:e},n.options.speed,n.options.easing,i):n.$slideTrack.animate({top:e},n.options.speed,n.options.easing,i):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),t({animStart:n.currentLeft}).animate({animStart:e},{duration:n.options.speed,easing:n.options.easing,step:function(t){t=Math.ceil(t),!1===n.options.vertical?(o[n.animType]="translate("+t+"px, 0px)",n.$slideTrack.css(o)):(o[n.animType]="translate(0px,"+t+"px)",n.$slideTrack.css(o))},complete:function(){i&&i.call()}})):(n.applyTransition(),e=Math.ceil(e),!1===n.options.vertical?o[n.animType]="translate3d("+e+"px, 0px, 0px)":o[n.animType]="translate3d(0px,"+e+"px, 0px)",n.$slideTrack.css(o),i&&setTimeout((function(){n.disableTransition(),i.call()}),n.options.speed))},e.prototype.getNavTarget=function(){var e=this.options.asNavFor;return e&&null!==e&&(e=t(e).not(this.$slider)),e},e.prototype.asNavFor=function(e){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each((function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)}))},e.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,i,o=this;if(!0===o.options.dots&&o.slideCount>o.options.slidesToShow){for(o.$slider.addClass("slick-dotted"),i=t("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)i.append(t("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=i.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each((function(e,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).attr("style")||"")})),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,i,o,n,r,s,a=this;if(o=document.createDocumentFragment(),r=a.$slider.children(),a.options.rows>0){for(s=a.options.slidesPerRow*a.options.rows,n=Math.ceil(r.length/s),t=0;t<n;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var c=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var d=t*s+(e*a.options.slidesPerRow+i);r.get(d)&&c.appendChild(r.get(d))}l.appendChild(c)}o.appendChild(l)}a.$slider.empty().append(o),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,i){var o,n,r,s=this,a=!1,l=s.$slider.width(),c=window.innerWidth||t(window).width();if("window"===s.respondTo?r=c:"slider"===s.respondTo?r=l:"min"===s.respondTo&&(r=Math.min(c,l)),s.options.responsive&&s.options.responsive.length&&null!==s.options.responsive){for(o in n=null,s.breakpoints)s.breakpoints.hasOwnProperty(o)&&(!1===s.originalSettings.mobileFirst?r<s.breakpoints[o]&&(n=s.breakpoints[o]):r>s.breakpoints[o]&&(n=s.breakpoints[o]));null!==n?null!==s.activeBreakpoint?(n!==s.activeBreakpoint||i)&&(s.activeBreakpoint=n,"unslick"===s.breakpointSettings[n]?s.unslick(n):(s.options=t.extend({},s.originalSettings,s.breakpointSettings[n]),!0===e&&(s.currentSlide=s.options.initialSlide),s.refresh(e)),a=n):(s.activeBreakpoint=n,"unslick"===s.breakpointSettings[n]?s.unslick(n):(s.options=t.extend({},s.originalSettings,s.breakpointSettings[n]),!0===e&&(s.currentSlide=s.options.initialSlide),s.refresh(e)),a=n):null!==s.activeBreakpoint&&(s.activeBreakpoint=null,s.options=s.originalSettings,!0===e&&(s.currentSlide=s.options.initialSlide),s.refresh(e),a=n),e||!1===a||s.$slider.trigger("breakpoint",[s,a])}},e.prototype.changeSlide=function(e,i){var o,n,r=this,s=t(e.currentTarget);switch(s.is("a")&&e.preventDefault(),s.is("li")||(s=s.closest("li")),o=r.slideCount%r.options.slidesToScroll!=0?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":n=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-n,!1,i);break;case"next":n=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+n,!1,i);break;case"index":var a=0===e.data.index?0:e.data.index||s.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(a),!1,i),s.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(t){var e,i;if(i=0,t>(e=this.getNavigableIndexes())[e.length-1])t=e[e.length-1];else for(var o in e){if(t<e[o]){t=i;break}i=e[o]}return t},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(t("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",t.proxy(e.interrupt,e,!0)).off("mouseleave.slick",t.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>0&&((t=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(t))},e.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(e){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),t(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){t(this).attr("style",t(this).data("originalStyling"))})),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,e||i.$slider.trigger("destroy",[i])},e.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout((function(){i.disableTransition(t),e.call()}),i.options.speed))},e.prototype.fadeSlideOut=function(t){var e=this;!1===e.cssTransitions?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",(function(i){i.stopImmediatePropagation();var o=t(this);setTimeout((function(){e.options.pauseOnFocus&&(e.focussed=o.is(":focus"),e.autoPlay())}),0)}))},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,i=0,o=0;if(!0===t.options.infinite)if(t.slideCount<=t.options.slidesToShow)++o;else for(;e<t.slideCount;)++o,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)o=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++o,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else o=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return o-1},e.prototype.getLeft=function(t){var e,i,o,n,r=this,s=0;return r.slideOffset=0,i=r.$slides.first().outerHeight(!0),!0===r.options.infinite?(r.slideCount>r.options.slidesToShow&&(r.slideOffset=r.slideWidth*r.options.slidesToShow*-1,n=-1,!0===r.options.vertical&&!0===r.options.centerMode&&(2===r.options.slidesToShow?n=-1.5:1===r.options.slidesToShow&&(n=-2)),s=i*r.options.slidesToShow*n),r.slideCount%r.options.slidesToScroll!=0&&t+r.options.slidesToScroll>r.slideCount&&r.slideCount>r.options.slidesToShow&&(t>r.slideCount?(r.slideOffset=(r.options.slidesToShow-(t-r.slideCount))*r.slideWidth*-1,s=(r.options.slidesToShow-(t-r.slideCount))*i*-1):(r.slideOffset=r.slideCount%r.options.slidesToScroll*r.slideWidth*-1,s=r.slideCount%r.options.slidesToScroll*i*-1))):t+r.options.slidesToShow>r.slideCount&&(r.slideOffset=(t+r.options.slidesToShow-r.slideCount)*r.slideWidth,s=(t+r.options.slidesToShow-r.slideCount)*i),r.slideCount<=r.options.slidesToShow&&(r.slideOffset=0,s=0),!0===r.options.centerMode&&r.slideCount<=r.options.slidesToShow?r.slideOffset=r.slideWidth*Math.floor(r.options.slidesToShow)/2-r.slideWidth*r.slideCount/2:!0===r.options.centerMode&&!0===r.options.infinite?r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)-r.slideWidth:!0===r.options.centerMode&&(r.slideOffset=0,r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)),e=!1===r.options.vertical?t*r.slideWidth*-1+r.slideOffset:t*i*-1+s,!0===r.options.variableWidth&&(o=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(t):r.$slideTrack.children(".slick-slide").eq(t+r.options.slidesToShow),e=!0===r.options.rtl?o[0]?-1*(r.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===r.options.centerMode&&(o=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(t):r.$slideTrack.children(".slick-slide").eq(t+r.options.slidesToShow+1),e=!0===r.options.rtl?o[0]?-1*(r.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(r.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){return this.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=this,i=0,o=0,n=[];for(!1===e.options.infinite?t=e.slideCount:(i=-1*e.options.slidesToScroll,o=-1*e.options.slidesToScroll,t=2*e.slideCount);i<t;)n.push(i),i=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return n},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,i,o=this;return i=!0===o.options.centerMode?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each((function(n,r){if(r.offsetLeft-i+t(r).outerWidth()/2>-1*o.swipeLeft)return e=r,!1})),Math.abs(t(e).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:parseInt(t)}},e)},e.prototype.init=function(e){var i=this;t(i.$slider).hasClass("slick-initialized")||(t(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),e&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},e.prototype.initADA=function(){var e=this,i=Math.ceil(e.slideCount/e.options.slidesToShow),o=e.getNavigableIndexes().filter((function(t){return t>=0&&t<e.slideCount}));e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each((function(i){var n=o.indexOf(i);if(t(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+i,tabindex:-1}),-1!==n){var r="slick-slide-control"+e.instanceUid+n;t("#"+r).length&&t(this).attr({"aria-describedby":r})}})),e.$dots.attr("role","tablist").find("li").each((function(n){var r=o[n];t(this).attr({role:"presentation"}),t(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+n,"aria-controls":"slick-slide"+e.instanceUid+r,"aria-label":n+1+" of "+i,"aria-selected":null,tabindex:"-1"})})).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var n=e.currentSlide,r=n+e.options.slidesToShow;n<r;n++)e.options.focusOnChange?e.$slides.eq(n).attr({tabindex:"0"}):e.$slides.eq(n).removeAttr("tabindex");e.activateADA()},e.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow.on("keydown.slick",t.keyHandler),t.$nextArrow.on("keydown.slick",t.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&(t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.interrupt,e,!0)).on("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),t(e.setPosition)},e.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},e.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){var e,i,o,n=this;function r(e){t("img[data-lazy]",e).each((function(){var e=t(this),i=t(this).attr("data-lazy"),o=t(this).attr("data-srcset"),r=t(this).attr("data-sizes")||n.$slider.attr("data-sizes"),s=document.createElement("img");s.onload=function(){e.animate({opacity:0},100,(function(){o&&(e.attr("srcset",o),r&&e.attr("sizes",r)),e.attr("src",i).animate({opacity:1},200,(function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")})),n.$slider.trigger("lazyLoaded",[n,e,i])}))},s.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,e,i])},s.src=i}))}if(!0===n.options.centerMode?!0===n.options.infinite?o=(i=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(i=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),o=n.options.slidesToShow/2+1+2+n.currentSlide):(i=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,o=Math.ceil(i+n.options.slidesToShow),!0===n.options.fade&&(i>0&&i--,o<=n.slideCount&&o++)),e=n.$slider.find(".slick-slide").slice(i,o),"anticipated"===n.options.lazyLoad)for(var s=i-1,a=o,l=n.$slider.find(".slick-slide"),c=0;c<n.options.slidesToScroll;c++)s<0&&(s=n.slideCount-1),e=(e=e.add(l.eq(s))).add(l.eq(a)),s--,a++;r(e),n.slideCount<=n.options.slidesToShow?r(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?r(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&r(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},e.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},e.prototype.postSlide=function(e){var i=this;i.unslicked||(i.$slider.trigger("afterChange",[i,e]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange&&t(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()))},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var i,o,n,r,s,a=this,l=t("img[data-lazy]",a.$slider);l.length?(i=l.first(),o=i.attr("data-lazy"),n=i.attr("data-srcset"),r=i.attr("data-sizes")||a.$slider.attr("data-sizes"),(s=document.createElement("img")).onload=function(){n&&(i.attr("srcset",n),r&&i.attr("sizes",r)),i.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,i,o]),a.progressiveLazyLoad()},s.onerror=function(){e<3?setTimeout((function(){a.progressiveLazyLoad(e+1)}),500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,i,o]),a.progressiveLazyLoad())},s.src=o):a.$slider.trigger("allImagesLoaded",[a])},e.prototype.refresh=function(e){var i,o,n=this;o=n.slideCount-n.options.slidesToShow,!n.options.infinite&&n.currentSlide>o&&(n.currentSlide=o),n.slideCount<=n.options.slidesToShow&&(n.currentSlide=0),i=n.currentSlide,n.destroy(!0),t.extend(n,n.initials,{currentSlide:i}),n.init(),e||n.changeSlide({data:{message:"index",index:i}},!1)},e.prototype.registerBreakpoints=function(){var e,i,o,n=this,r=n.options.responsive||null;if("array"===t.type(r)&&r.length){for(e in n.respondTo=n.options.respondTo||"window",r)if(o=n.breakpoints.length-1,r.hasOwnProperty(e)){for(i=r[e].breakpoint;o>=0;)n.breakpoints[o]&&n.breakpoints[o]===i&&n.breakpoints.splice(o,1),o--;n.breakpoints.push(i),n.breakpointSettings[i]=r[e].settings}n.breakpoints.sort((function(t,e){return n.options.mobileFirst?t-e:e-t}))}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout((function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()}),50))},e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,i){var o=this;if(t="boolean"==typeof t?!0===(e=t)?0:o.slideCount-1:!0===e?--t:t,o.slideCount<1||t<0||t>o.slideCount-1)return!1;o.unload(),!0===i?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(t).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},e.prototype.setCSS=function(t){var e,i,o=this,n={};!0===o.options.rtl&&(t=-t),e="left"==o.positionProp?Math.ceil(t)+"px":"0px",i="top"==o.positionProp?Math.ceil(t)+"px":"0px",n[o.positionProp]=t,!1===o.transformsEnabled?o.$slideTrack.css(n):(n={},!1===o.cssTransitions?(n[o.animType]="translate("+e+", "+i+")",o.$slideTrack.css(n)):(n[o.animType]="translate3d("+e+", "+i+", 0px)",o.$slideTrack.css(n)))},e.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,i=this;i.$slides.each((function(o,n){e=i.slideWidth*o*-1,!0===i.options.rtl?t(n).css({position:"relative",right:e,top:0,zIndex:i.options.zIndex-2,opacity:0}):t(n).css({position:"relative",left:e,top:0,zIndex:i.options.zIndex-2,opacity:0})})),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,i,o,n,r,s=this,a=!1;if("object"===t.type(arguments[0])?(o=arguments[0],a=arguments[1],r="multiple"):"string"===t.type(arguments[0])&&(o=arguments[0],n=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===t.type(arguments[1])?r="responsive":void 0!==arguments[1]&&(r="single")),"single"===r)s.options[o]=n;else if("multiple"===r)t.each(o,(function(t,e){s.options[t]=e}));else if("responsive"===r)for(i in n)if("array"!==t.type(s.options.responsive))s.options.responsive=[n[i]];else{for(e=s.options.responsive.length-1;e>=0;)s.options.responsive[e].breakpoint===n[i].breakpoint&&s.options.responsive.splice(e,1),e--;s.options.responsive.push(n[i])}a&&(s.unload(),s.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},e.prototype.setSlideClasses=function(t){var e,i,o,n,r=this;if(i=r.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),r.$slides.eq(t).addClass("slick-current"),!0===r.options.centerMode){var s=r.options.slidesToShow%2==0?1:0;e=Math.floor(r.options.slidesToShow/2),!0===r.options.infinite&&(t>=e&&t<=r.slideCount-1-e?r.$slides.slice(t-e+s,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=r.options.slidesToShow+t,i.slice(o-e+1+s,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-r.options.slidesToShow).addClass("slick-center"):t===r.slideCount-1&&i.eq(r.options.slidesToShow).addClass("slick-center")),r.$slides.eq(t).addClass("slick-center")}else t>=0&&t<=r.slideCount-r.options.slidesToShow?r.$slides.slice(t,t+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=r.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(n=r.slideCount%r.options.slidesToShow,o=!0===r.options.infinite?r.options.slidesToShow+t:t,r.options.slidesToShow==r.options.slidesToScroll&&r.slideCount-t<r.options.slidesToShow?i.slice(o-(r.options.slidesToShow-n),o+n).addClass("slick-active").attr("aria-hidden","false"):i.slice(o,o+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==r.options.lazyLoad&&"anticipated"!==r.options.lazyLoad||r.lazyLoad()},e.prototype.setupInfinite=function(){var e,i,o,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(i=null,n.slideCount>n.options.slidesToShow)){for(o=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,e=n.slideCount;e>n.slideCount-o;e-=1)i=e-1,t(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(e=0;e<o+n.slideCount;e+=1)i=e,t(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each((function(){t(this).attr("id","")}))}},e.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},e.prototype.selectHandler=function(e){var i=this,o=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),n=parseInt(o.attr("data-slick-index"));n||(n=0),i.slideCount<=i.options.slidesToShow?i.slideHandler(n,!1,!0):i.slideHandler(n)},e.prototype.slideHandler=function(t,e,i){var o,n,r,s,a,l,c=this;if(e=e||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===t))if(!1===e&&c.asNavFor(t),o=t,a=c.getLeft(o),s=c.getLeft(c.currentSlide),c.currentLeft=null===c.swipeLeft?s:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(t<0||t>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(o=c.currentSlide,!0!==i&&c.slideCount>c.options.slidesToShow?c.animateSlide(s,(function(){c.postSlide(o)})):c.postSlide(o));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(t<0||t>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(o=c.currentSlide,!0!==i&&c.slideCount>c.options.slidesToShow?c.animateSlide(s,(function(){c.postSlide(o)})):c.postSlide(o));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),n=o<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+o:o>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:o-c.slideCount:o,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,n]),r=c.currentSlide,c.currentSlide=n,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(l=(l=c.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==i?(c.fadeSlideOut(r),c.fadeSlide(n,(function(){c.postSlide(n)}))):c.postSlide(n),void c.animateHeight();!0!==i&&c.slideCount>c.options.slidesToShow?c.animateSlide(a,(function(){c.postSlide(n)})):c.postSlide(n)}},e.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,i,o,n=this;return t=n.touchObject.startX-n.touchObject.curX,e=n.touchObject.startY-n.touchObject.curY,i=Math.atan2(e,t),(o=Math.round(180*i/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?!1===n.options.rtl?"left":"right":o>=135&&o<=225?!1===n.options.rtl?"right":"left":!0===n.options.verticalSwiping?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(t){var e,i,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(i=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=i&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,i]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},e.prototype.swipeMove=function(t){var e,i,o,n,r,s,a=this;return r=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!a.dragging||a.scrolling||r&&1!==r.length)&&(e=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==r?r[0].pageX:t.clientX,a.touchObject.curY=void 0!==r?r[0].pageY:t.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),s=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&s>4?(a.scrolling=!0,!1):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=s),i=a.swipeDirection(),void 0!==t.originalEvent&&a.touchObject.swipeLength>4&&(a.swiping=!0,t.preventDefault()),n=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(n=a.touchObject.curY>a.touchObject.startY?1:-1),o=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===i||a.currentSlide>=a.getDotCount()&&"left"===i)&&(o=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=e+o*n:a.swipeLeft=e+o*(a.$list.height()/a.listWidth)*n,!0===a.options.verticalSwiping&&(a.swipeLeft=e+o*n),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},e.prototype.swipeStart=function(t){var e,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return i.touchObject={},!1;void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,i.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},e.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},e.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode||t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode)&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").end(),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var t=this;t.options.autoplay&&(document[t.hidden]?t.interrupted=!0:t.interrupted=!1)},t.fn.slick=function(){var t,i,o=this,n=arguments[0],r=Array.prototype.slice.call(arguments,1),s=o.length;for(t=0;t<s;t++)if("object"==typeof n||void 0===n?o[t].slick=new e(o[t],n):i=o[t].slick[n].apply(o[t].slick,r),void 0!==i)return i;return o};var i})?o.apply(e,n):o)||(t.exports=r)}()},a9fN:function(t,e,i){var o,n,r;window.jQuery,window.Zepto,n=[i("EVdn")],void 0===(r="function"==typeof(o=function(t){"use strict";var e=function(e,i,o){var n={invalid:[],getCaret:function(){try{var t,i=0,o=e.get(0),r=document.selection,s=o.selectionStart;return r&&-1===navigator.appVersion.indexOf("MSIE 10")?((t=r.createRange()).moveStart("character",-n.val().length),i=t.text.length):(s||"0"===s)&&(i=s),i}catch(t){}},setCaret:function(t){try{if(e.is(":focus")){var i,o=e.get(0);o.setSelectionRange?o.setSelectionRange(t,t):((i=o.createTextRange()).collapse(!0),i.moveEnd("character",t),i.moveStart("character",t),i.select())}}catch(t){}},events:function(){e.on("keydown.mask",(function(t){e.data("mask-keycode",t.keyCode||t.which),e.data("mask-previus-value",e.val()),e.data("mask-previus-caret-pos",n.getCaret()),n.maskDigitPosMapOld=n.maskDigitPosMap})).on(t.jMaskGlobals.useInput?"input.mask":"keyup.mask",n.behaviour).on("paste.mask drop.mask",(function(){setTimeout((function(){e.keydown().keyup()}),100)})).on("change.mask",(function(){e.data("changed",!0)})).on("blur.mask",(function(){a===n.val()||e.data("changed")||e.trigger("change"),e.data("changed",!1)})).on("blur.mask",(function(){a=n.val()})).on("focus.mask",(function(e){!0===o.selectOnFocus&&t(e.target).select()})).on("focusout.mask",(function(){o.clearIfNotMatch&&!r.test(n.val())&&n.val("")}))},getRegexMask:function(){for(var t,e,o,n,r,a,l=[],c=0;c<i.length;c++)(t=s.translation[i.charAt(c)])?(e=t.pattern.toString().replace(/.{1}$|^.{1}/g,""),o=t.optional,(n=t.recursive)?(l.push(i.charAt(c)),r={digit:i.charAt(c),pattern:e}):l.push(o||n?e+"?":e)):l.push(i.charAt(c).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"));return a=l.join(""),r&&(a=a.replace(new RegExp("("+r.digit+"(.*"+r.digit+")?)"),"($1)?").replace(new RegExp(r.digit,"g"),r.pattern)),new RegExp(a)},destroyEvents:function(){e.off(["input","keydown","keyup","paste","drop","blur","focusout",""].join(".mask "))},val:function(t){var i,o=e.is("input"),n=o?"val":"text";return arguments.length>0?(e[n]()!==t&&e[n](t),i=e):i=e[n](),i},calculateCaretPosition:function(t){var i=n.getMasked(),o=n.getCaret();if(t!==i){var r=e.data("mask-previus-caret-pos")||0,s=i.length,a=t.length,l=0,c=0,d=0,u=0,h=0;for(h=o;h<s&&n.maskDigitPosMap[h];h++)c++;for(h=o-1;h>=0&&n.maskDigitPosMap[h];h--)l++;for(h=o-1;h>=0;h--)n.maskDigitPosMap[h]&&d++;for(h=r-1;h>=0;h--)n.maskDigitPosMapOld[h]&&u++;if(o>a)o=10*s;else if(r>=o&&r!==a){if(!n.maskDigitPosMapOld[o]){var p=o;o-=u-d,o-=l,n.maskDigitPosMap[o]&&(o=p)}}else o>r&&(o+=d-u,o+=c)}return o},behaviour:function(i){i=i||window.event,n.invalid=[];var o=e.data("mask-keycode");if(-1===t.inArray(o,s.byPassKeys)){var r=n.getMasked(),a=n.getCaret(),l=e.data("mask-previus-value")||"";return setTimeout((function(){n.setCaret(n.calculateCaretPosition(l))}),t.jMaskGlobals.keyStrokeCompensation),n.val(r),n.setCaret(a),n.callbacks(i)}},getMasked:function(t,e){var r,a,l,c=[],d=void 0===e?n.val():e+"",u=0,h=i.length,p=0,f=d.length,g=1,m="push",v=-1,y=0,b=[];for(o.reverse?(m="unshift",g=-1,r=0,u=h-1,p=f-1,a=function(){return u>-1&&p>-1}):(r=h-1,a=function(){return u<h&&p<f});a();){var w=i.charAt(u),x=d.charAt(p),T=s.translation[w];T?(x.match(T.pattern)?(c[m](x),T.recursive&&(-1===v?v=u:u===r&&u!==v&&(u=v-g),r===v&&(u-=g)),u+=g):x===l?(y--,l=void 0):T.optional?(u+=g,p-=g):T.fallback?(c[m](T.fallback),u+=g,p-=g):n.invalid.push({p:p,v:x,e:T.pattern}),p+=g):(t||c[m](w),x===w?(b.push(p),p+=g):(l=w,b.push(p+y),y++),u+=g)}var $=i.charAt(r);h!==f+1||s.translation[$]||c.push($);var C=c.join("");return n.mapMaskdigitPositions(C,b,f),C},mapMaskdigitPositions:function(t,e,i){var r=o.reverse?t.length-i:0;n.maskDigitPosMap={};for(var s=0;s<e.length;s++)n.maskDigitPosMap[e[s]+r]=1},callbacks:function(t){var r=n.val(),s=r!==a,l=[r,t,e,o],c=function(t,e,i){"function"==typeof o[t]&&e&&o[t].apply(this,i)};c("onChange",!0===s,l),c("onKeyPress",!0===s,l),c("onComplete",r.length===i.length,l),c("onInvalid",n.invalid.length>0,[r,t,e,n.invalid,o])}};e=t(e);var r,s=this,a=n.val();i="function"==typeof i?i(n.val(),void 0,e,o):i,s.mask=i,s.options=o,s.remove=function(){var t=n.getCaret();return s.options.placeholder&&e.removeAttr("placeholder"),e.data("mask-maxlength")&&e.removeAttr("maxlength"),n.destroyEvents(),n.val(s.getCleanVal()),n.setCaret(t),e},s.getCleanVal=function(){return n.getMasked(!0)},s.getMaskedVal=function(t){return n.getMasked(!1,t)},s.init=function(a){if(a=a||!1,o=o||{},s.clearIfNotMatch=t.jMaskGlobals.clearIfNotMatch,s.byPassKeys=t.jMaskGlobals.byPassKeys,s.translation=t.extend({},t.jMaskGlobals.translation,o.translation),s=t.extend(!0,{},s,o),r=n.getRegexMask(),a)n.events(),n.val(n.getMasked());else{o.placeholder&&e.attr("placeholder",o.placeholder),e.data("mask")&&e.attr("autocomplete","off");for(var l=0,c=!0;l<i.length;l++){var d=s.translation[i.charAt(l)];if(d&&d.recursive){c=!1;break}}c&&e.attr("maxlength",i.length).data("mask-maxlength",!0),n.destroyEvents(),n.events();var u=n.getCaret();n.val(n.getMasked()),n.setCaret(u)}},s.init(!e.is("input"))};t.maskWatchers={};var i=function(){var i=t(this),n={},r=i.attr("data-mask");if(i.attr("data-mask-reverse")&&(n.reverse=!0),i.attr("data-mask-clearifnotmatch")&&(n.clearIfNotMatch=!0),"true"===i.attr("data-mask-selectonfocus")&&(n.selectOnFocus=!0),o(i,r,n))return i.data("mask",new e(this,r,n))},o=function(e,i,o){o=o||{};var n=t(e).data("mask"),r=JSON.stringify,s=t(e).val()||t(e).text();try{return"function"==typeof i&&(i=i(s)),"object"!=typeof n||r(n.options)!==r(o)||n.mask!==i}catch(t){}};t.fn.mask=function(i,n){n=n||{};var r=this.selector,s=t.jMaskGlobals,a=s.watchInterval,l=n.watchInputs||s.watchInputs,c=function(){if(o(this,i,n))return t(this).data("mask",new e(this,i,n))};return t(this).each(c),r&&""!==r&&l&&(clearInterval(t.maskWatchers[r]),t.maskWatchers[r]=setInterval((function(){t(document).find(r).each(c)}),a)),this},t.fn.masked=function(t){return this.data("mask").getMaskedVal(t)},t.fn.unmask=function(){return clearInterval(t.maskWatchers[this.selector]),delete t.maskWatchers[this.selector],this.each((function(){var e=t(this).data("mask");e&&e.remove().removeData("mask")}))},t.fn.cleanVal=function(){return this.data("mask").getCleanVal()},t.applyDataMask=function(e){((e=e||t.jMaskGlobals.maskElements)instanceof t?e:t(e)).filter(t.jMaskGlobals.dataMaskAttr).each(i)};var n,r,s,a={maskElements:"input,td,span,div",dataMaskAttr:"*[data-mask]",dataMask:!0,watchInterval:300,watchInputs:!0,keyStrokeCompensation:10,useInput:!/Chrome\/[2-4][0-9]|SamsungBrowser/.test(window.navigator.userAgent)&&(n="input",s=document.createElement("div"),(r=(n="on"+n)in s)||(s.setAttribute(n,"return;"),r="function"==typeof s[n]),s=null,r),watchDataMask:!1,byPassKeys:[9,16,17,18,36,37,38,39,40,91],translation:{0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}}};t.jMaskGlobals=t.jMaskGlobals||{},(a=t.jMaskGlobals=t.extend(!0,{},a,t.jMaskGlobals)).dataMask&&t.applyDataMask(),setInterval((function(){t.jMaskGlobals.watchDataMask&&t.applyDataMask()}),a.watchInterval)})?o.apply(e,n):o)||(t.exports=r)},asjJ:function(t,e){$((function(){$(".facebox a").facebox()}))},cPxJ:function(t,e,i){var o,n;o=[i("EVdn")],void 0===(n=function(t){return function(t){!function(){"use strict";var e={thumbnail:!0,animateThumb:!0,currentPagerPosition:"middle",thumbWidth:100,thumbHeight:"80px",thumbContHeight:100,thumbMargin:5,exThumbImage:!1,showThumbByDefault:!0,toogleThumb:!0,pullCaptionUp:!0,enableThumbDrag:!0,enableThumbSwipe:!0,swipeThreshold:50,loadYoutubeThumbnail:!0,youtubeThumbSize:1,loadVimeoThumbnail:!0,vimeoThumbSize:"thumbnail_small",loadDailymotionThumbnail:!0},i=function(i){return this.core=t(i).data("lightGallery"),this.core.s=t.extend({},e,this.core.s),this.$el=t(i),this.$thumbOuter=null,this.thumbOuterWidth=0,this.thumbTotalWidth=this.core.$items.length*(this.core.s.thumbWidth+this.core.s.thumbMargin),this.thumbIndex=this.core.index,this.core.s.animateThumb&&(this.core.s.thumbHeight="100%"),this.left=0,this.init(),this};i.prototype.init=function(){var t=this;this.core.s.thumbnail&&this.core.$items.length>1&&(this.core.s.showThumbByDefault&&setTimeout((function(){t.core.$outer.addClass("lg-thumb-open")}),700),this.core.s.pullCaptionUp&&this.core.$outer.addClass("lg-pull-caption-up"),this.build(),this.core.s.animateThumb&&this.core.doCss()?(this.core.s.enableThumbDrag&&this.enableThumbDrag(),this.core.s.enableThumbSwipe&&this.enableThumbSwipe(),this.thumbClickable=!1):this.thumbClickable=!0,this.toogle(),this.thumbkeyPress())},i.prototype.build=function(){var e,i=this,o="",n="";switch(this.core.s.vimeoThumbSize){case"thumbnail_large":n="640";break;case"thumbnail_medium":n="200x150";break;case"thumbnail_small":n="100x75"}function r(t,e,r){var s,a=i.core.isVideo(t,r)||{},l="";a.youtube||a.vimeo||a.dailymotion?a.youtube?s=i.core.s.loadYoutubeThumbnail?"//img.youtube.com/vi/"+a.youtube[1]+"/"+i.core.s.youtubeThumbSize+".jpg":e:a.vimeo?i.core.s.loadVimeoThumbnail?(s="//i.vimeocdn.com/video/error_"+n+".jpg",l=a.vimeo[1]):s=e:a.dailymotion&&(s=i.core.s.loadDailymotionThumbnail?"//www.dailymotion.com/thumbnail/video/"+a.dailymotion[1]:e):s=e,o+='<div data-vimeo-id="'+l+'" class="lg-thumb-item" style="width:'+i.core.s.thumbWidth+"px; height: "+i.core.s.thumbHeight+"; margin-right: "+i.core.s.thumbMargin+'px"><img src="'+s+'" /></div>',l=""}if(i.core.$outer.addClass("lg-has-thumb"),i.core.$outer.find(".lg").append('<div class="lg-thumb-outer"><div class="lg-thumb lg-group"></div></div>'),i.$thumbOuter=i.core.$outer.find(".lg-thumb-outer"),i.thumbOuterWidth=i.$thumbOuter.width(),i.core.s.animateThumb&&i.core.$outer.find(".lg-thumb").css({width:i.thumbTotalWidth+"px",position:"relative"}),this.core.s.animateThumb&&i.$thumbOuter.css("height",i.core.s.thumbContHeight+"px"),i.core.s.dynamic)for(var s=0;s<i.core.s.dynamicEl.length;s++)r(i.core.s.dynamicEl[s].src,i.core.s.dynamicEl[s].thumb,s);else i.core.$items.each((function(e){i.core.s.exThumbImage?r(t(this).attr("href")||t(this).attr("data-src"),t(this).attr(i.core.s.exThumbImage),e):r(t(this).attr("href")||t(this).attr("data-src"),t(this).find("img").attr("src"),e)}));i.core.$outer.find(".lg-thumb").html(o),(e=i.core.$outer.find(".lg-thumb-item")).each((function(){var e=t(this),o=e.attr("data-vimeo-id");o&&t.getJSON("//www.vimeo.com/api/v2/video/"+o+".json?callback=?",{format:"json"},(function(t){e.find("img").attr("src",t[0][i.core.s.vimeoThumbSize])}))})),e.eq(i.core.index).addClass("active"),i.core.$el.on("onBeforeSlide.lg.tm",(function(){e.removeClass("active"),e.eq(i.core.index).addClass("active")})),e.on("click.lg touchend.lg",(function(){var e=t(this);setTimeout((function(){(i.thumbClickable&&!i.core.lgBusy||!i.core.doCss())&&(i.core.index=e.index(),i.core.slide(i.core.index,!1,!0,!1))}),50)})),i.core.$el.on("onBeforeSlide.lg.tm",(function(){i.animateThumb(i.core.index)})),t(window).on("resize.lg.thumb orientationchange.lg.thumb",(function(){setTimeout((function(){i.animateThumb(i.core.index),i.thumbOuterWidth=i.$thumbOuter.width()}),200)}))},i.prototype.setTranslate=function(t){this.core.$outer.find(".lg-thumb").css({transform:"translate3d(-"+t+"px, 0px, 0px)"})},i.prototype.animateThumb=function(t){var e=this.core.$outer.find(".lg-thumb");if(this.core.s.animateThumb){var i;switch(this.core.s.currentPagerPosition){case"left":i=0;break;case"middle":i=this.thumbOuterWidth/2-this.core.s.thumbWidth/2;break;case"right":i=this.thumbOuterWidth-this.core.s.thumbWidth}this.left=(this.core.s.thumbWidth+this.core.s.thumbMargin)*t-1-i,this.left>this.thumbTotalWidth-this.thumbOuterWidth&&(this.left=this.thumbTotalWidth-this.thumbOuterWidth),this.left<0&&(this.left=0),this.core.lGalleryOn?(e.hasClass("on")||this.core.$outer.find(".lg-thumb").css("transition-duration",this.core.s.speed+"ms"),this.core.doCss()||e.animate({left:-this.left+"px"},this.core.s.speed)):this.core.doCss()||e.css("left",-this.left+"px"),this.setTranslate(this.left)}},i.prototype.enableThumbDrag=function(){var e=this,i=0,o=0,n=!1,r=!1,s=0;e.$thumbOuter.addClass("lg-grab"),e.core.$outer.find(".lg-thumb").on("mousedown.lg.thumb",(function(t){e.thumbTotalWidth>e.thumbOuterWidth&&(t.preventDefault(),i=t.pageX,n=!0,e.core.$outer.scrollLeft+=1,e.core.$outer.scrollLeft-=1,e.thumbClickable=!1,e.$thumbOuter.removeClass("lg-grab").addClass("lg-grabbing"))})),t(window).on("mousemove.lg.thumb",(function(t){n&&(s=e.left,r=!0,o=t.pageX,e.$thumbOuter.addClass("lg-dragging"),(s-=o-i)>e.thumbTotalWidth-e.thumbOuterWidth&&(s=e.thumbTotalWidth-e.thumbOuterWidth),s<0&&(s=0),e.setTranslate(s))})),t(window).on("mouseup.lg.thumb",(function(){r?(r=!1,e.$thumbOuter.removeClass("lg-dragging"),e.left=s,Math.abs(o-i)<e.core.s.swipeThreshold&&(e.thumbClickable=!0)):e.thumbClickable=!0,n&&(n=!1,e.$thumbOuter.removeClass("lg-grabbing").addClass("lg-grab"))}))},i.prototype.enableThumbSwipe=function(){var t=this,e=0,i=0,o=!1,n=0;t.core.$outer.find(".lg-thumb").on("touchstart.lg",(function(i){t.thumbTotalWidth>t.thumbOuterWidth&&(i.preventDefault(),e=i.originalEvent.targetTouches[0].pageX,t.thumbClickable=!1)})),t.core.$outer.find(".lg-thumb").on("touchmove.lg",(function(r){t.thumbTotalWidth>t.thumbOuterWidth&&(r.preventDefault(),i=r.originalEvent.targetTouches[0].pageX,o=!0,t.$thumbOuter.addClass("lg-dragging"),n=t.left,(n-=i-e)>t.thumbTotalWidth-t.thumbOuterWidth&&(n=t.thumbTotalWidth-t.thumbOuterWidth),n<0&&(n=0),t.setTranslate(n))})),t.core.$outer.find(".lg-thumb").on("touchend.lg",(function(){t.thumbTotalWidth>t.thumbOuterWidth&&o?(o=!1,t.$thumbOuter.removeClass("lg-dragging"),Math.abs(i-e)<t.core.s.swipeThreshold&&(t.thumbClickable=!0),t.left=n):t.thumbClickable=!0}))},i.prototype.toogle=function(){var t=this;t.core.s.toogleThumb&&(t.core.$outer.addClass("lg-can-toggle"),t.$thumbOuter.append('<button type="button" aria-label="Toggle thumbnails" class="lg-toogle-thumb lg-icon"></button>'),t.core.$outer.find(".lg-toogle-thumb").on("click.lg",(function(){t.core.$outer.toggleClass("lg-thumb-open")})))},i.prototype.thumbkeyPress=function(){var e=this;t(window).on("keydown.lg.thumb",(function(t){38===t.keyCode?(t.preventDefault(),e.core.$outer.addClass("lg-thumb-open")):40===t.keyCode&&(t.preventDefault(),e.core.$outer.removeClass("lg-thumb-open"))}))},i.prototype.destroy=function(){this.core.s.thumbnail&&this.core.$items.length>1&&(t(window).off("resize.lg.thumb orientationchange.lg.thumb keydown.lg.thumb"),this.$thumbOuter.remove(),this.core.$outer.removeClass("lg-has-thumb"))},t.fn.lightGallery.modules.Thumbnail=i}()}(t)}.apply(e,o))||(t.exports=n)},cn02:function(t,e){function i(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}$((function(){var t;$(document).ready((function(){$("#preloader").fadeOut("slow",(function(){$(this).remove()}))})),$("#roda-teto").length&&$.scrollTo("#roda-teto",1e3),$(".aviso-flutuante .btn-close").click((function(){$(this).parent().remove()})),$("img.lazy").Lazy(),$(".box-sociais-topo").removeClass("hidden"),$(".box-whatsapp a:first").removeClass("hidden"),$(".whatsapp-topo-pa04:first").css("display","block"),$(".fixo-topo-pa04:first").css("display","block"),$(".telefones-topo-pa04 div:first").css("border-right","2px solid #41474d"),$(".whatsapp-footer-pa04:first").css("display","block"),$(".fixo-footer-pa04:first").css("display","block"),$(".whatsapp-topo-pm13:first").css("display","inline-block"),$(".fixo-topo-pm13:first").css("display","inline-block"),$(".bt-video").click((function(){t=$(this).data("src")})),console.log(t),$("#myModal").on("shown.bs.modal",(function(e){$("#video").attr("src",t+"?autoplay=1&amp;modestbranding=1&amp;showinfo=0")})),$("#myModal").on("hide.bs.modal",(function(e){$("#video").attr("src",t)})),$(".box-whatsapp .fa-times").click((function(t){$(".whatsapp-fixo").fadeOut(100),t.preventDefault()})),$("#abre-formulario").click((function(){$(".campos-opcionais-newsletter").slideToggle(500)})),$("#mostra-busca-geral").click((function(){return $botao=$(this),$boxordenar=$(".box-busca-geral-paginas"),$boxordenar.slideToggle(500),!1})),$(".marca-select").click((function(){$botaoMarcas=$(this),$(".bt-todas-marcas").css("display","block"),$(".marca-select").removeClass("bt-marcas-selecionado"),$botaoMarcas.addClass("bt-marcas-selecionado")})),$(".bt-todas-marcas, #limpar-filtros").click((function(){$(".bt-todas-marcas").css("display","none"),$(".marca-select").removeClass("bt-marcas-selecionado")})),$(".bt-voltar-topo").on("click",(function(){$("html, body").animate({scrollTop:$($(this).data("target")).offset().top},800)})),$(".bt-esconde-redes").click((function(){$(this).find("i").toggleClass("fa-angle-double-left fa-angle-double-right"),$(".box-redes-ninja").toggleClass("esconde-redes-laterais mostra-redes-laterais")})),$(window).scroll((function(t){$(window).scrollTop()>80?($(".menu-ninja").removeClass("esconde-menu-flutuante"),$(".menu-ninja").addClass("mostrar-menu-flutuante")):($(".menu-ninja").removeClass("mostrar-menu-flutuante"),$(".menu-ninja").addClass("esconde-menu-flutuante"))})),$("#mostra-filtros-mobile").on("click",(function(){$.scrollTo("#mostra-filtros-mobile",1e3)})),$(document).ready((function(){var t=!1,e=!1,i=!1,o=!1,n=!1,r=!1,s=!1,a=!1;window.matchMedia("(min-width:767px)").matches?$(".parent2").on("mousedown",(function(){t?$(this).find(".test1").css({"background-color":"dimGray",transform:"none"}):$(this).find(".test1").css({"background-color":"gray",transform:"translate(-5px, -68px)"}),e?$(this).find(".test2").css({"background-color":"darkGray",transform:"none"}):$(this).find(".test2").css({"background-color":"gray",transform:"translate(-5px, -116px)"}),i?$(this).find(".test3").css({"background-color":"silver",transform:"none"}):$(this).find(".test3").css({"background-color":"gray",transform:"translate(-5px, -164px)"}),o?$(this).find(".test4").css({"background-color":"silver",transform:"none"}):$(this).find(".test4").css({"background-color":"gray",transform:"translate(-5px, -212px)"}),n?$(this).find(".test5").css({"background-color":"silver",transform:"none"}):$(this).find(".test5").css({"background-color":"gray",transform:"translate(-5px, -260px)"}),r?$(this).find(".test6").css({"background-color":"silver",transform:"none"}):$(this).find(".test6").css({"background-color":"gray",transform:"translate(-5px, -308px)"}),s?$(this).find(".test7").css({"background-color":"silver",transform:"none"}):$(this).find(".test7").css({"background-color":"gray",transform:"translate(-5px, -356px)"}),a?$(this).find(".test8").css({"background-color":"silver",transform:"none"}):$(this).find(".test8").css({"background-color":"gray",transform:"translate(-5px, -404px)"}),t=!t,e=!e,i=!i,o=!o,n=!n,r=!r,s=!s,a=!a})):$(".parent2").on("mousedown",(function(){t?$(this).find(".test1").css({"background-color":"dimGray",transform:"none"}):($(this).find(".test1").css({"background-color":"gray",transform:"translate(46px, -0px)"}),$(".box-whatsapp").css({opacity:"0"})),e?$(this).find(".test2").css({"background-color":"darkGray",transform:"none"}):$(this).find(".test2").css({"background-color":"gray",transform:"translate(86px, 0px)"}),i?$(this).find(".test3").css({"background-color":"silver",transform:"none"}):$(this).find(".test3").css({"background-color":"gray",transform:"translate(126px, 0px)"}),o?$(this).find(".test4").css({"background-color":"silver",transform:"none"}):$(this).find(".test4").css({"background-color":"gray",transform:"translate(166px, 0)"}),n?$(this).find(".test5").css({"background-color":"silver",transform:"none"}):$(this).find(".test5").css({"background-color":"gray",transform:"translate(206px, 0px)"}),r?($(this).find(".test6").css({"background-color":"silver",transform:"none"}),$(".box-whatsapp").css({opacity:"1"})):$(this).find(".test6").css({"background-color":"gray",transform:"translate(246px, 0px)"}),s?$(this).find(".test7").css({"background-color":"silver",transform:"none"}):$(this).find(".test7").css({"background-color":"gray",transform:"translate(0px, 0px)"}),a?$(this).find(".test8").css({"background-color":"silver",transform:"none"}):$(this).find(".test8").css({"background-color":"gray",transform:"translate(0px, 0px)"}),t=!t,e=!e,i=!i,o=!o,n=!n,r=!r,s=!s,a=!a}))}));var e=!1;$(".bt").on("mousedown",(function(){e?$(".navbar-nav").css({display:"none"}):$(".navbar-nav").css({display:"flex"}),e=!e})),new(function(){function t(e,i,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.mobileMenu=document.querySelector(e),this.navList=document.querySelector(i),this.navLinks=document.querySelectorAll(o),this.activeClass="active",this.handleClick=this.handleClick.bind(this)}var e,o,n;return e=t,(o=[{key:"animateLinks",value:function(){this.navLinks.forEach((function(t,e){t.style.animation?t.style.animation="":t.style.animation="navLinkFade 0.5s ease forwards ".concat(e/7+.3,"s")}))}},{key:"handleClick",value:function(){this.navList.classList.toggle(this.activeClass),this.mobileMenu.classList.toggle(this.activeClass),this.animateLinks()}},{key:"addClickEvent",value:function(){this.mobileMenu.addEventListener("click",this.handleClick)}},{key:"init",value:function(){return this.mobileMenu&&this.addClickEvent(),this}}])&&i(e.prototype,o),n&&i(e,n),t}())(".mobile-menu",".nav-list",".nav-list li").init(),$(window).width()<=767&&$(".topo").addClass("navbar"),$(".carousel-banners div:first-child").addClass("active"),$(".carousel-indicators li:first-child").addClass("active"),$(".slideranuncio div:first-child").addClass("active"),$(".carousel-anuncio").carousel({interval:!1}),$(".box-lojas-home").on("click",(function(t){console.log(t)})),$(document).ready((function(){$(".seta-baixo").click((function(){$("html, body").animate({scrollTop:$(".aba-seminovos").offset().top},1e3)}))}))}))},hNNL:function(t,e,i){var o,n,r;window,n=[i("Hy43"),i("QK1G")],void 0===(r="function"==typeof(o=function(t,e){"use strict";var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var o=i.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,r=n/o,s=o-n%o;r=Math[s&&s<1?"round":"floor"](r),this.cols=Math.max(r,1)},o.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var o=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),n={x:this.columnWidth*o.col,y:o.y},r=o.y+t.size.outerHeight,s=i+o.col,a=o.col;a<s;a++)this.colYs[a]=r;return n},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},o._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},o._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=t>1&&i+t>this.cols?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft")?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 l=(this._getOption("originTop")?o.top:o.bottom)+i.outerHeight,c=s;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i})?o.apply(e,n):o)||(t.exports=r)},"j+wy":function(t,e,i){var o,n;o=[i("EVdn")],void 0===(n=function(t){return function(t){!function(){"use strict";var e={fullScreen:!0};function i(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement}var o=function(i){return this.core=t(i).data("lightGallery"),this.$el=t(i),this.core.s=t.extend({},e,this.core.s),this.init(),this};o.prototype.init=function(){var t="";if(this.core.s.fullScreen){if(!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled))return;t='<button type="button" aria-label="Toggle fullscreen" class="lg-fullscreen lg-icon"></button>',this.core.$outer.find(".lg-toolbar").append(t),this.fullScreen()}},o.prototype.requestFullscreen=function(){var t=document.documentElement;t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen&&t.webkitRequestFullscreen()},o.prototype.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},o.prototype.fullScreen=function(){var e=this;t(document).on("fullscreenchange.lg webkitfullscreenchange.lg mozfullscreenchange.lg MSFullscreenChange.lg",(function(){e.core.$outer.toggleClass("lg-fullscreen-on")})),this.core.$outer.find(".lg-fullscreen").on("click.lg",(function(){i()?e.exitFullscreen():e.requestFullscreen()}))},o.prototype.destroy=function(){i()&&this.exitFullscreen(),t(document).off("fullscreenchange.lg webkitfullscreenchange.lg mozfullscreenchange.lg MSFullscreenChange.lg")},t.fn.lightGallery.modules.fullscreen=o}()}(t)}.apply(e,o))||(t.exports=n)},juNO:function(t,e){!function(){function t(e){return new t.fn.init(e)}function e(t,e,i){if(!i.contentWindow.postMessage)return!1;t=JSON.stringify({method:t,value:e}),i.contentWindow.postMessage(t,s)}function i(t){var e,i;try{i=(e=JSON.parse(t.data)).event||e.method}catch(t){}if("ready"!=i||r||(r=!0),!/^https?:\/\/player.vimeo.com/.test(t.origin))return!1;"*"===s&&(s=t.origin),t=e.value;var o=e.data,a=""===a?null:e.player_id;return e=a?n[a][i]:n[i],i=[],!!e&&(void 0!==t&&i.push(t),o&&i.push(o),a&&i.push(a),0<i.length?e.apply(null,i):e.call())}function o(t,e,i){i?(n[i]||(n[i]={}),n[i][t]=e):n[t]=e}var n={},r=!1,s="*";t.fn=t.prototype={element:null,init:function(t){return"string"==typeof t&&(t=document.getElementById(t)),this.element=t,this},api:function(t,i){if(!this.element||!t)return!1;var n=this.element,r=""!==n.id?n.id:null,s=i&&i.constructor&&i.call&&i.apply?null:i,a=i&&i.constructor&&i.call&&i.apply?i:null;return a&&o(t,a,r),e(t,s,n),this},addEvent:function(t,i){if(!this.element)return!1;var n=this.element,s=""!==n.id?n.id:null;return o(t,i,s),"ready"!=t?e("addEventListener",t,n):"ready"==t&&r&&i.call(null,s),this},removeEvent:function(t){if(!this.element)return!1;var i=this.element,o=""!==i.id?i.id:null;t:{if(o&&n[o]){if(!n[o][t]){o=!1;break t}n[o][t]=null}else{if(!n[t]){o=!1;break t}n[t]=null}o=!0}"ready"!=t&&o&&e("removeEventListener",t,i)}},t.fn.init.prototype=t.fn,window.addEventListener?window.addEventListener("message",i,!1):window.attachEvent("onmessage",i),window.Froogaloop=window.$f=t}()},lh2I:function(t,e,i){i("HijD"),i("1PcO"),i("Vevq"),i("pppr"),i("asjJ"),i("1uyb"),i("a9fN"),i("Kixc"),i("hNNL"),i("rIKr"),i("AJEs"),i("Zej/"),i("WDDJ"),i("JgFA"),i("cn02"),i("5UdZ"),i("oQKr"),i("DVp9"),i("IMsS"),i("xBaP"),i("8uAK"),i("j+wy"),i("cPxJ"),i("8yQe"),i("1dIw"),i("juNO"),i("BL0A")},oQKr:function(t,e){function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,o=new Array(e);i<e;i++)o[i]=t[i];return o}!function(t){var e=document.querySelector(".cookies-container"),o=document.querySelector(".cookies-save");if(!e||!o)return null;var n=JSON.parse(window.localStorage.getItem("cookies-pref"));function r(i){i.forEach((function(e){return t[e]()})),e.style.display="none",window.localStorage.setItem("cookies-pref",JSON.stringify(i))}n&&r(n),o.addEventListener("click",(function(){r(i(document.querySelectorAll("[data-function]")).filter((function(t){return t.checked})).map((function(t){return t.getAttribute("data-function")})))}))}({})},"p3L+":function(t,e,i){var o,n,r;window,n=[i("JT+M"),i("hNNL")],void 0===(r="function"==typeof(o=function(t,e){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var r in e.prototype)n[r]||(o[r]=e.prototype[r]);var s=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,s.call(this)};var a=o._getOption;return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i})?o.apply(e,n):o)||(t.exports=r)},pppr:function(t,e,i){var o,n,r;n=[i("EVdn")],void 0===(r="function"==typeof(o=function(t){function e(e){if(t.facebox.settings.inited)return!0;t.facebox.settings.inited=!0,t(document).trigger("init.facebox"),function(){var e=t.facebox.settings;e.loadingImage=e.loading_image||e.loadingImage,e.closeImage=e.close_image||e.closeImage,e.imageTypes=e.image_types||e.imageTypes,e.faceboxHtml=e.facebox_html||e.faceboxHtml}();var i=t.facebox.settings.imageTypes.join("|");t.facebox.settings.imageTypesRegexp=new RegExp("\\.("+i+")(\\?.*)?$","i"),e&&t.extend(t.facebox.settings,e),t("body").append(t.facebox.settings.faceboxHtml);var o=[new Image,new Image];o[0].src=t.facebox.settings.closeImage,o[1].src=t.facebox.settings.loadingImage,t("#facebox").find(".b:first, .bl").each((function(){o.push(new Image),o.slice(-1).src=t(this).css("background-image").replace(/url\((.+)\)/,"$1")})),t("#facebox .close").click(t.facebox.close).append('<img src="'+t.facebox.settings.closeImage+'" class="close_image" title="close">')}function i(){var t,e;return self.pageYOffset?(e=self.pageYOffset,t=self.pageXOffset):document.documentElement&&document.documentElement.scrollTop?(e=document.documentElement.scrollTop,t=document.documentElement.scrollLeft):document.body&&(e=document.body.scrollTop,t=document.body.scrollLeft),new Array(t,e)}function o(){var t;return self.innerHeight?t=self.innerHeight:document.documentElement&&document.documentElement.clientHeight?t=document.documentElement.clientHeight:document.body&&(t=document.body.clientHeight),t}function n(e,i){if(e.match(/#/)){var o=window.location.href.split("#")[0],n=e.replace(o,"");if("#"==n)return;t.facebox.reveal(t(n).html(),i)}else e.match(t.facebox.settings.imageTypesRegexp)?r(e,i):s(e,i)}function r(e,i){var o=new Image;o.onload=function(){t.facebox.reveal('<div class="image"><img src="'+o.src+'" /></div>',i)},o.src=e}function s(e,i){t.facebox.jqxhr=t.get(e,(function(e){t.facebox.reveal(e,i)}))}function a(){return 0==t.facebox.settings.overlay||null===t.facebox.settings.opacity}t.facebox=function(e,i){t.facebox.loading(e.settings||[]),e.ajax?s(e.ajax,i):e.image?r(e.image,i):e.div?n(e.div,i):t.isFunction(e)?e.call(t):t.facebox.reveal(e,i)},t.extend(t.facebox,{settings:{opacity:.2,overlay:!0,loadingImage:"//cdn.jsdelivr.net/jquery.facebox/1.4.1/loading.gif",closeImage:"//cdn.jsdelivr.net/jquery.facebox/1.4.1/closelabel.png",imageTypes:["png","jpg","jpeg","gif"],faceboxHtml:'    <div id="facebox" style="display:none;">       <div class="popup">         <div class="content">         </div>         <a href="#" class="close"></a>       </div>     </div>'},loading:function(){return e(),1==t("#facebox .loading").length||(a()||(0==t("#facebox_overlay").length&&t("body").append('<div id="facebox_overlay" class="facebox_hide"></div>'),t("#facebox_overlay").hide().addClass("facebox_overlayBG").css("opacity",t.facebox.settings.opacity).click((function(){t(document).trigger("close.facebox")})).fadeIn(200)),t("#facebox .content").empty().append('<div class="loading"><img src="'+t.facebox.settings.loadingImage+'"/></div>'),t("#facebox").show().css({top:i()[1]+o()/10,left:t(window).width()/2-t("#facebox .popup").outerWidth()/2}),t(document).bind("keydown.facebox",(function(e){return 27==e.keyCode&&t.facebox.close(),!0})),void t(document).trigger("loading.facebox"))},reveal:function(e,i){t(document).trigger("beforeReveal.facebox"),i&&t("#facebox .content").addClass(i),t("#facebox .content").empty().append(e),t("#facebox .popup").children().fadeIn("normal"),t("#facebox").css("left",t(window).width()/2-t("#facebox .popup").outerWidth()/2),t(document).trigger("reveal.facebox").trigger("afterReveal.facebox")},close:function(){return t(document).trigger("close.facebox"),!1}}),t.fn.facebox=function(i){if(0!=t(this).length)return e(i),this.bind("click.facebox",(function(){t.facebox.loading(!0);var e=this.rel.match(/facebox\[?\.(\w+)\]?/);return e&&(e=e[1]),n(this.href,e),!1}))},t(document).bind("close.facebox",(function(){t.facebox.jqxhr&&(t.facebox.jqxhr.abort(),t.facebox.jqxhr=null),t(document).unbind("keydown.facebox"),t("#facebox").fadeOut((function(){t("#facebox .content").removeClass().addClass("content"),t("#facebox .loading").remove(),t(document).trigger("afterClose.facebox")})),a()||t("#facebox_overlay").fadeOut(200,(function(){t("#facebox_overlay").removeClass("facebox_overlayBG"),t("#facebox_overlay").addClass("facebox_hide"),t("#facebox_overlay").remove()}))}))})?o.apply(e,n):o)||(t.exports=r)},rIKr:function(t,e,i){var o,n,r;n=[i("EVdn")],void 0===(r="function"==typeof(o=function(t){t.extend(t.fn,{validate:function(e){if(this.length){var i=t.data(this[0],"validator");return i||(this.attr("novalidate","novalidate"),i=new t.validator(e,this[0]),t.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",(function(e){i.submitButton=e.currentTarget,t(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==t(this).attr("formnovalidate")&&(i.cancelSubmit=!0)})),this.on("submit.validate",(function(e){function o(){var o,n;return i.submitButton&&(i.settings.submitHandler||i.formSubmitted)&&(o=t("<input type='hidden'/>").attr("name",i.submitButton.name).val(t(i.submitButton).val()).appendTo(i.currentForm)),!(i.settings.submitHandler&&!i.settings.debug)||(n=i.settings.submitHandler.call(i,i.currentForm,e),o&&o.remove(),void 0!==n&&n)}return i.settings.debug&&e.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,o()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):o():(i.focusInvalid(),!1)}))),i)}e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var e,i,o;return t(this[0]).is("form")?e=this.validate().form():(o=[],e=!0,i=t(this[0].form).validate(),this.each((function(){(e=i.element(this)&&e)||(o=o.concat(i.errorList))})),i.errorList=o),e},rules:function(e,i){var o,n,r,s,a,l,c=this[0],d=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=c&&(!c.form&&d&&(c.form=this.closest("form")[0],c.name=this.attr("name")),null!=c.form)){if(e)switch(n=(o=t.data(c.form,"validator").settings).rules,r=t.validator.staticRules(c),e){case"add":t.extend(r,t.validator.normalizeRule(i)),delete r.messages,n[c.name]=r,i.messages&&(o.messages[c.name]=t.extend(o.messages[c.name],i.messages));break;case"remove":return i?(l={},t.each(i.split(/\s/),(function(t,e){l[e]=r[e],delete r[e]})),l):(delete n[c.name],r)}return(s=t.validator.normalizeRules(t.extend({},t.validator.classRules(c),t.validator.attributeRules(c),t.validator.dataRules(c),t.validator.staticRules(c)),c)).required&&(a=s.required,delete s.required,s=t.extend({required:a},s)),s.remote&&(a=s.remote,delete s.remote,s=t.extend(s,{remote:a})),s}}});var e,i=function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};t.extend(t.expr.pseudos||t.expr[":"],{blank:function(e){return!i(""+t(e).val())},filled:function(e){var o=t(e).val();return null!==o&&!!i(""+o)},unchecked:function(e){return!t(e).prop("checked")}}),t.validator=function(e,i){this.settings=t.extend(!0,{},t.validator.defaults,e),this.currentForm=i,this.init()},t.validator.format=function(e,i){return 1===arguments.length?function(){var i=t.makeArray(arguments);return i.unshift(e),t.validator.format.apply(this,i)}:(void 0===i||(arguments.length>2&&i.constructor!==Array&&(i=t.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),t.each(i,(function(t,i){e=e.replace(new RegExp("\\{"+t+"\\}","g"),(function(){return i}))}))),e)},t.extend(t.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:t([]),errorLabelContainer:t([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(e,i){9===i.which&&""===this.elementValue(e)||-1!==t.inArray(i.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(e.name in this.submitted||e.name in this.invalid)&&this.element(e)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(e,i,o){"radio"===e.type?this.findByName(e.name).addClass(i).removeClass(o):t(e).addClass(i).removeClass(o)},unhighlight:function(e,i,o){"radio"===e.type?this.findByName(e.name).removeClass(i).addClass(o):t(e).removeClass(i).addClass(o)}},setDefaults:function(e){t.extend(t.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:t.validator.format("Please enter no more than {0} characters."),minlength:t.validator.format("Please enter at least {0} characters."),rangelength:t.validator.format("Please enter a value between {0} and {1} characters long."),range:t.validator.format("Please enter a value between {0} and {1}."),max:t.validator.format("Please enter a value less than or equal to {0}."),min:t.validator.format("Please enter a value greater than or equal to {0}."),step:t.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){this.labelContainer=t(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||t(this.currentForm),this.containers=t(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var e,i=this.currentForm,o=this.groups={};function n(e){var o=void 0!==t(this).attr("contenteditable")&&"false"!==t(this).attr("contenteditable");if(!this.form&&o&&(this.form=t(this).closest("form")[0],this.name=t(this).attr("name")),i===this.form){var n=t.data(this.form,"validator"),r="on"+e.type.replace(/^validate/,""),s=n.settings;s[r]&&!t(this).is(s.ignore)&&s[r].call(n,this,e)}}t.each(this.settings.groups,(function(e,i){"string"==typeof i&&(i=i.split(/\s/)),t.each(i,(function(t,i){o[i]=e}))})),e=this.settings.rules,t.each(e,(function(i,o){e[i]=t.validator.normalizeRule(o)})),t(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",n).on("click.validate","select, option, [type='radio'], [type='checkbox']",n),this.settings.invalidHandler&&t(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),t.extend(this.submitted,this.errorMap),this.invalid=t.extend({},this.errorMap),this.valid()||t(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(e){var i,o,n=this.clean(e),r=this.validationTargetFor(n),s=this,a=!0;return void 0===r?delete this.invalid[n.name]:(this.prepareElement(r),this.currentElements=t(r),(o=this.groups[r.name])&&t.each(this.groups,(function(t,e){e===o&&t!==r.name&&(n=s.validationTargetFor(s.clean(s.findByName(t))))&&n.name in s.invalid&&(s.currentElements.push(n),a=s.check(n)&&a)})),i=!1!==this.check(r),a=a&&i,this.invalid[r.name]=!i,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),t(e).attr("aria-invalid",!i)),a},showErrors:function(e){if(e){var i=this;t.extend(this.errorMap,e),this.errorList=t.map(this.errorMap,(function(t,e){return{message:t,element:i.findByName(e)[0]}})),this.successList=t.grep(this.successList,(function(t){return!(t.name in e)}))}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){t.fn.resetForm&&t(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var e=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(e)},resetElements:function(t){var e;if(this.settings.unhighlight)for(e=0;t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,""),this.findByName(t[e].name).removeClass(this.settings.validClass);else t.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e,i=0;for(e in t)void 0!==t[e]&&null!==t[e]&&!1!==t[e]&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(t){t.not(this.containers).text(""),this.addWrapper(t).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{t(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(t){}},findLastActive:function(){var e=this.lastActive;return e&&1===t.grep(this.errorList,(function(t){return t.element.name===e.name})).length&&e},elements:function(){var e=this,i={};return t(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter((function(){var o=this.name||t(this).attr("name"),n=void 0!==t(this).attr("contenteditable")&&"false"!==t(this).attr("contenteditable");return!o&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),n&&(this.form=t(this).closest("form")[0],this.name=o),!(this.form!==e.currentForm||o in i||!e.objectLength(t(this).rules())||(i[o]=!0,0))}))},clean:function(e){return t(e)[0]},errors:function(){var e=this.settings.errorClass.split(" ").join(".");return t(this.settings.errorElement+"."+e,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=t([]),this.toHide=t([])},reset:function(){this.resetInternals(),this.currentElements=t([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(e){var i,o,n=t(e),r=e.type,s=void 0!==n.attr("contenteditable")&&"false"!==n.attr("contenteditable");return"radio"===r||"checkbox"===r?this.findByName(e.name).filter(":checked").val():"number"===r&&void 0!==e.validity?e.validity.badInput?"NaN":n.val():(i=s?n.text():n.val(),"file"===r?"C:\\fakepath\\"===i.substr(0,12)?i.substr(12):(o=i.lastIndexOf("/"))>=0||(o=i.lastIndexOf("\\"))>=0?i.substr(o+1):i:"string"==typeof i?i.replace(/\r/g,""):i)},check:function(e){e=this.validationTargetFor(this.clean(e));var i,o,n,r,s=t(e).rules(),a=t.map(s,(function(t,e){return e})).length,l=!1,c=this.elementValue(e);for(o in"function"==typeof s.normalizer?r=s.normalizer:"function"==typeof this.settings.normalizer&&(r=this.settings.normalizer),r&&(c=r.call(e,c),delete s.normalizer),s){n={method:o,parameters:s[o]};try{if("dependency-mismatch"===(i=t.validator.methods[o].call(this,c,e,n.parameters))&&1===a){l=!0;continue}if(l=!1,"pending"===i)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!i)return this.formatAndAdd(e,n),!1}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+n.method+"' method.",t),t instanceof TypeError&&(t.message+=".  Exception occurred when checking element "+e.id+", check the '"+n.method+"' method."),t}}if(!l)return this.objectLength(s)&&this.successList.push(e),!0},customDataMessage:function(e,i){return t(e).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||t(e).data("msg")},customMessage:function(t,e){var i=this.settings.messages[t];return i&&(i.constructor===String?i:i[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(e,i){"string"==typeof i&&(i={method:i});var o=this.findDefined(this.customMessage(e.name,i.method),this.customDataMessage(e,i.method),!this.settings.ignoreTitle&&e.title||void 0,t.validator.messages[i.method],"<strong>Warning: No message defined for "+e.name+"</strong>"),n=/\$?\{(\d+)\}/g;return"function"==typeof o?o=o.call(this,i.parameters,e):n.test(o)&&(o=t.validator.format(o.replace(n,"{$1}"),i.parameters)),o},formatAndAdd:function(t,e){var i=this.defaultMessage(t,e);this.errorList.push({message:i,element:t,method:e.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e,i;for(t=0;this.errorList[t];t++)i=this.errorList[t],this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return t(this.errorList).map((function(){return this.element}))},showLabel:function(e,i){var o,n,r,s,a=this.errorsFor(e),l=this.idOrName(e),c=t(e).attr("aria-describedby");a.length?(a.removeClass(this.settings.validClass).addClass(this.settings.errorClass),a.html(i)):(o=a=t("<"+this.settings.errorElement+">").attr("id",l+"-error").addClass(this.settings.errorClass).html(i||""),this.settings.wrapper&&(o=a.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(o):this.settings.errorPlacement?this.settings.errorPlacement.call(this,o,t(e)):o.insertAfter(e),a.is("label")?a.attr("for",l):0===a.parents("label[for='"+this.escapeCssMeta(l)+"']").length&&(r=a.attr("id"),c?c.match(new RegExp("\\b"+this.escapeCssMeta(r)+"\\b"))||(c+=" "+r):c=r,t(e).attr("aria-describedby",c),(n=this.groups[e.name])&&(s=this,t.each(s.groups,(function(e,i){i===n&&t("[name='"+s.escapeCssMeta(e)+"']",s.currentForm).attr("aria-describedby",a.attr("id"))}))))),!i&&this.settings.success&&(a.text(""),"string"==typeof this.settings.success?a.addClass(this.settings.success):this.settings.success(a,e)),this.toShow=this.toShow.add(a)},errorsFor:function(e){var i=this.escapeCssMeta(this.idOrName(e)),o=t(e).attr("aria-describedby"),n="label[for='"+i+"'], label[for='"+i+"'] *";return o&&(n=n+", #"+this.escapeCssMeta(o).replace(/\s+/g,", #")),this.errors().filter(n)},escapeCssMeta:function(t){return t.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name)),t(e).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(e){return t(this.currentForm).find("[name='"+this.escapeCssMeta(e)+"']")},getLength:function(e,i){switch(i.nodeName.toLowerCase()){case"select":return t("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return e.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(e,i){return!!t(e,i.form).length},function:function(t,e){return t(e)}},optional:function(e){var i=this.elementValue(e);return!t.validator.methods.required.call(this,i,e)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,t(e).addClass(this.settings.pendingClass),this.pending[e.name]=!0)},stopRequest:function(e,i){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],t(e).removeClass(this.settings.pendingClass),i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(t(this.currentForm).submit(),this.submitButton&&t("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(t(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e,i){return i="string"==typeof i&&i||"remote",t.data(e,"previousValue")||t.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,{method:i})})},destroy:function(){this.resetForm(),t(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,i){e.constructor===String?this.classRuleSettings[e]=i:t.extend(this.classRuleSettings,e)},classRules:function(e){var i={},o=t(e).attr("class");return o&&t.each(o.split(" "),(function(){this in t.validator.classRuleSettings&&t.extend(i,t.validator.classRuleSettings[this])})),i},normalizeAttributeRule:function(t,e,i,o){/min|max|step/.test(i)&&(null===e||/number|range|text/.test(e))&&(o=Number(o),isNaN(o)&&(o=void 0)),o||0===o?t[i]=o:e===i&&"range"!==e&&(t[i]=!0)},attributeRules:function(e){var i,o,n={},r=t(e),s=e.getAttribute("type");for(i in t.validator.methods)"required"===i?(""===(o=e.getAttribute(i))&&(o=!0),o=!!o):o=r.attr(i),this.normalizeAttributeRule(n,s,i,o);return n.maxlength&&/-1|2147483647|524288/.test(n.maxlength)&&delete n.maxlength,n},dataRules:function(e){var i,o,n={},r=t(e),s=e.getAttribute("type");for(i in t.validator.methods)""===(o=r.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()))&&(o=!0),this.normalizeAttributeRule(n,s,i,o);return n},staticRules:function(e){var i={},o=t.data(e.form,"validator");return o.settings.rules&&(i=t.validator.normalizeRule(o.settings.rules[e.name])||{}),i},normalizeRules:function(e,i){return t.each(e,(function(o,n){if(!1!==n){if(n.param||n.depends){var r=!0;switch(typeof n.depends){case"string":r=!!t(n.depends,i.form).length;break;case"function":r=n.depends.call(i,i)}r?e[o]=void 0===n.param||n.param:(t.data(i.form,"validator").resetElements(t(i)),delete e[o])}}else delete e[o]})),t.each(e,(function(t,o){e[t]="function"==typeof o&&"normalizer"!==t?o(i):o})),t.each(["minlength","maxlength"],(function(){e[this]&&(e[this]=Number(e[this]))})),t.each(["rangelength","range"],(function(){var t;e[this]&&(Array.isArray(e[this])?e[this]=[Number(e[this][0]),Number(e[this][1])]:"string"==typeof e[this]&&(t=e[this].replace(/[\[\]]/g,"").split(/[\s,]+/),e[this]=[Number(t[0]),Number(t[1])]))})),t.validator.autoCreateRanges&&(null!=e.min&&null!=e.max&&(e.range=[e.min,e.max],delete e.min,delete e.max),null!=e.minlength&&null!=e.maxlength&&(e.rangelength=[e.minlength,e.maxlength],delete e.minlength,delete e.maxlength)),e},normalizeRule:function(e){if("string"==typeof e){var i={};t.each(e.split(/\s/),(function(){i[this]=!0})),e=i}return e},addMethod:function(e,i,o){t.validator.methods[e]=i,t.validator.messages[e]=void 0!==o?o:t.validator.messages[e],i.length<3&&t.validator.addClassRules(e,t.validator.normalizeRule(e))},methods:{required:function(e,i,o){if(!this.depend(o,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var n=t(i).val();return n&&n.length>0}return this.checkable(i)?this.getLength(e,i)>0:null!=e&&e.length>0},email:function(t,e){return this.optional(e)||/^[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])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t)},date:(e=!1,function(t,i){return e||(e=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(i)||!/Invalid|NaN/.test(new Date(t).toString())}),dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},minlength:function(t,e,i){var o=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||o>=i},maxlength:function(t,e,i){var o=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||o<=i},rangelength:function(t,e,i){var o=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||o>=i[0]&&o<=i[1]},min:function(t,e,i){return this.optional(e)||t>=i},max:function(t,e,i){return this.optional(e)||t<=i},range:function(t,e,i){return this.optional(e)||t>=i[0]&&t<=i[1]},step:function(e,i,o){var n,r=t(i).attr("type"),s="Step attribute on input type "+r+" is not supported.",a=new RegExp("\\b"+r+"\\b"),l=function(t){var e=(""+t).match(/(?:\.(\d+))?$/);return e&&e[1]?e[1].length:0},c=function(t){return Math.round(t*Math.pow(10,n))},d=!0;if(r&&!a.test(["text","number","range"].join()))throw new Error(s);return n=l(o),(l(e)>n||c(e)%c(o)!=0)&&(d=!1),this.optional(i)||d},equalTo:function(e,i,o){var n=t(o);return this.settings.onfocusout&&n.not(".validate-equalTo-blur").length&&n.addClass("validate-equalTo-blur").on("blur.validate-equalTo",(function(){t(i).valid()})),e===n.val()},remote:function(e,i,o,n){if(this.optional(i))return"dependency-mismatch";n="string"==typeof n&&n||"remote";var r,s,a,l=this.previousValue(i,n);return this.settings.messages[i.name]||(this.settings.messages[i.name]={}),l.originalMessage=l.originalMessage||this.settings.messages[i.name][n],this.settings.messages[i.name][n]=l.message,o="string"==typeof o&&{url:o}||o,a=t.param(t.extend({data:e},o.data)),l.old===a?l.valid:(l.old=a,r=this,this.startRequest(i),(s={})[i.name]=e,t.ajax(t.extend(!0,{mode:"abort",port:"validate"+i.name,dataType:"json",data:s,context:r.currentForm,success:function(t){var o,s,a,c=!0===t||"true"===t;r.settings.messages[i.name][n]=l.originalMessage,c?(a=r.formSubmitted,r.resetInternals(),r.toHide=r.errorsFor(i),r.formSubmitted=a,r.successList.push(i),r.invalid[i.name]=!1,r.showErrors()):(o={},s=t||r.defaultMessage(i,{method:n,parameters:e}),o[i.name]=l.message=s,r.invalid[i.name]=!0,r.showErrors(o)),l.valid=c,r.stopRequest(i,c)}},o)),"pending")}}});var o,n={};return t.ajaxPrefilter?t.ajaxPrefilter((function(t,e,i){var o=t.port;"abort"===t.mode&&(n[o]&&n[o].abort(),n[o]=i)})):(o=t.ajax,t.ajax=function(e){var i=("mode"in e?e:t.ajaxSettings).mode,r=("port"in e?e:t.ajaxSettings).port;return"abort"===i?(n[r]&&n[r].abort(),n[r]=o.apply(this,arguments),n[r]):o.apply(this,arguments)}),t})?o.apply(e,n):o)||(t.exports=r)},vX6Q:function(t,e,i){var o,n;!function(r,s){"use strict";o=[i("CUlp")],void 0===(n=function(t){return function(t,e){var i=t.jQuery,o=t.console;function n(t,e){for(var i in e)t[i]=e[i];return t}var r=Array.prototype.slice;function s(t,e,a){if(!(this instanceof s))return new s(t,e,a);var l,c=t;("string"==typeof t&&(c=document.querySelectorAll(t)),c)?(this.elements=(l=c,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?r.call(l):[l]),this.options=n({},this.options),"function"==typeof e?a=e:n(this.options,e),a&&this.on("always",a),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):o.error("Bad element for imagesLoaded "+(c||t))}s.prototype=Object.create(e.prototype),s.prototype.options={},s.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},s.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&a[e]){for(var i=t.querySelectorAll("img"),o=0;o<i.length;o++){var n=i[o];this.addImage(n)}if("string"==typeof this.options.background){var r=t.querySelectorAll(this.options.background);for(o=0;o<r.length;o++){var s=r[o];this.addElementBackgroundImages(s)}}}};var a={1:!0,9:!0,11:!0};function l(t){this.img=t}function c(t,e){this.url=t,this.element=e,this.img=new Image}return s.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,o=i.exec(e.backgroundImage);null!==o;){var n=o&&o[2];n&&this.addBackground(n,t),o=i.exec(e.backgroundImage)}},s.prototype.addImage=function(t){var e=new l(t);this.images.push(e)},s.prototype.addBackground=function(t,e){var i=new c(t,e);this.images.push(i)},s.prototype.check=function(){var t=this;function e(e,i,o){setTimeout((function(){t.progress(e,i,o)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(t){t.once("progress",e),t.check()})):this.complete()},s.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&o&&o.log("progress: "+i,t,e)},s.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},l.prototype=Object.create(e.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(l.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},s.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((i=e).fn.imagesLoaded=function(t,e){return new s(this,t,e).jqDeferred.promise(i(this))})},s.makeJQueryPlugin(),s}(r,t)}.apply(e,o))||(t.exports=n)}("undefined"!=typeof window?window:this)},vn07:function(t,e,i){var o,n,r;window,n=[i("Hy43")],void 0===(r="function"==typeof(o=function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.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 n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e})?o.apply(e,n):o)||(t.exports=r)},x0Ue:function(t,e,i){var o,n;!function(r,s){"use strict";void 0===(n="function"==typeof(o=s)?o.call(e,i,e,t):o)||(t.exports=n)}(window,(function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}))},xBaP:function(t,e,i){var o,n;o=[i("EVdn")],void 0===(n=function(t){return function(t){!function(){"use strict";var e={mode:"lg-slide",cssEasing:"ease",easing:"linear",speed:600,height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:150,hideBarsDelay:6e3,useLeft:!1,closable:!0,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimatoin:!0,hideControlOnEnd:!1,mousewheel:!0,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:1,showAfterLoad:!0,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:!1,iframeMaxWidth:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],galleryId:1};function i(i,o){if(this.el=i,this.$el=t(i),this.s=t.extend({},e,o),this.s.dynamic&&"undefined"!==this.s.dynamicEl&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length)throw"When using dynamic mode, you must also define dynamicEl as an Array.";return this.modules={},this.lGalleryOn=!1,this.lgBusy=!1,this.hideBartimeout=!1,this.isTouch="ontouchstart"in document.documentElement,this.s.slideEndAnimatoin&&(this.s.hideControlOnEnd=!1),this.s.dynamic?this.$items=this.s.dynamicEl:"this"===this.s.selector?this.$items=this.$el:""!==this.s.selector?this.s.selectWithin?this.$items=t(this.s.selectWithin).find(this.s.selector):this.$items=this.$el.find(t(this.s.selector)):this.$items=this.$el.children(),this.$slide="",this.$outer="",this.init(),this}i.prototype.init=function(){var e=this;e.s.preload>e.$items.length&&(e.s.preload=e.$items.length);var i=window.location.hash;i.indexOf("lg="+this.s.galleryId)>0&&(e.index=parseInt(i.split("&slide=")[1],10),t("body").addClass("lg-from-hash"),t("body").hasClass("lg-on")||(setTimeout((function(){e.build(e.index)})),t("body").addClass("lg-on"))),e.s.dynamic?(e.$el.trigger("onBeforeOpen.lg"),e.index=e.s.index||0,t("body").hasClass("lg-on")||setTimeout((function(){e.build(e.index),t("body").addClass("lg-on")}))):e.$items.on("click.lgcustom",(function(i){try{i.preventDefault(),i.preventDefault()}catch(t){i.returnValue=!1}e.$el.trigger("onBeforeOpen.lg"),e.index=e.s.index||e.$items.index(this),t("body").hasClass("lg-on")||(e.build(e.index),t("body").addClass("lg-on"))}))},i.prototype.build=function(e){var i=this;i.structure(),t.each(t.fn.lightGallery.modules,(function(e){i.modules[e]=new t.fn.lightGallery.modules[e](i.el)})),i.slide(e,!1,!1,!1),i.s.keyPress&&i.keyPress(),i.$items.length>1?(i.arrow(),setTimeout((function(){i.enableDrag(),i.enableSwipe()}),50),i.s.mousewheel&&i.mousewheel()):i.$slide.on("click.lg",(function(){i.$el.trigger("onSlideClick.lg")})),i.counter(),i.closeGallery(),i.$el.trigger("onAfterOpen.lg"),i.$outer.on("mousemove.lg click.lg touchstart.lg",(function(){i.$outer.removeClass("lg-hide-items"),clearTimeout(i.hideBartimeout),i.hideBartimeout=setTimeout((function(){i.$outer.addClass("lg-hide-items")}),i.s.hideBarsDelay)})),i.$outer.trigger("mousemove.lg")},i.prototype.structure=function(){var e,i="",o="",n=0,r="",s=this;for(t("body").append('<div class="lg-backdrop"></div>'),t(".lg-backdrop").css("transition-duration",this.s.backdropDuration+"ms"),n=0;n<this.$items.length;n++)i+='<div class="lg-item"></div>';if(this.s.controls&&this.$items.length>1&&(o='<div class="lg-actions"><button class="lg-prev lg-icon">'+this.s.prevHtml+'</button><button class="lg-next lg-icon">'+this.s.nextHtml+"</button></div>"),".lg-sub-html"===this.s.appendSubHtmlTo&&(r='<div class="lg-sub-html"></div>'),e='<div class="lg-outer '+this.s.addClass+" "+this.s.startClass+'"><div class="lg" style="width:'+this.s.width+"; height:"+this.s.height+'"><div class="lg-inner">'+i+'</div><div class="lg-toolbar lg-group"><span class="lg-close lg-icon"></span></div>'+o+r+"</div></div>",t("body").append(e),this.$outer=t(".lg-outer"),this.$slide=this.$outer.find(".lg-item"),this.s.useLeft?(this.$outer.addClass("lg-use-left"),this.s.mode="lg-slide"):this.$outer.addClass("lg-use-css3"),s.setTop(),t(window).on("resize.lg orientationchange.lg",(function(){setTimeout((function(){s.setTop()}),100)})),this.$slide.eq(this.index).addClass("lg-current"),this.doCss()?this.$outer.addClass("lg-css3"):(this.$outer.addClass("lg-css"),this.s.speed=0),this.$outer.addClass(this.s.mode),this.s.enableDrag&&this.$items.length>1&&this.$outer.addClass("lg-grab"),this.s.showAfterLoad&&this.$outer.addClass("lg-show-after-load"),this.doCss()){var a=this.$outer.find(".lg-inner");a.css("transition-timing-function",this.s.cssEasing),a.css("transition-duration",this.s.speed+"ms")}setTimeout((function(){t(".lg-backdrop").addClass("in")})),setTimeout((function(){s.$outer.addClass("lg-visible")}),this.s.backdropDuration),this.s.download&&this.$outer.find(".lg-toolbar").append('<a id="lg-download" target="_blank" download class="lg-download lg-icon"></a>'),this.prevScrollTop=t(window).scrollTop()},i.prototype.setTop=function(){if("100%"!==this.s.height){var e=t(window).height(),i=(e-parseInt(this.s.height,10))/2,o=this.$outer.find(".lg");e>=parseInt(this.s.height,10)?o.css("top",i+"px"):o.css("top","0px")}},i.prototype.doCss=function(){return!!function(){var t=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"],e=document.documentElement,i=0;for(i=0;i<t.length;i++)if(t[i]in e.style)return!0}()},i.prototype.isVideo=function(t,e){var i;if(i=this.s.dynamic?this.s.dynamicEl[e].html:this.$items.eq(e).attr("data-html"),!t)return i?{html5:!0}:(console.error("lightGallery :- data-src is not pvovided on slide item "+(e+1)+". Please make sure the selector property is properly configured. More info - http://sachinchoolur.github.io/lightGallery/demos/html-markup.html"),!1);var o=t.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com|be-nocookie\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i),n=t.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i),r=t.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i),s=t.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i);return o?{youtube:o}:n?{vimeo:n}:r?{dailymotion:r}:s?{vk:s}:void 0},i.prototype.counter=function(){this.s.counter&&t(this.s.appendCounterTo).append('<div id="lg-counter"><span id="lg-counter-current">'+(parseInt(this.index,10)+1)+'</span> / <span id="lg-counter-all">'+this.$items.length+"</span></div>")},i.prototype.addHtml=function(e){var i,o,n=null;if(this.s.dynamic?this.s.dynamicEl[e].subHtmlUrl?i=this.s.dynamicEl[e].subHtmlUrl:n=this.s.dynamicEl[e].subHtml:(o=this.$items.eq(e)).attr("data-sub-html-url")?i=o.attr("data-sub-html-url"):(n=o.attr("data-sub-html"),this.s.getCaptionFromTitleOrAlt&&!n&&(n=o.attr("title")||o.find("img").first().attr("alt"))),!i)if(null!=n){var r=n.substring(0,1);"."!==r&&"#"!==r||(n=this.s.subHtmlSelectorRelative&&!this.s.dynamic?o.find(n).html():t(n).html())}else n="";".lg-sub-html"===this.s.appendSubHtmlTo?i?this.$outer.find(this.s.appendSubHtmlTo).load(i):this.$outer.find(this.s.appendSubHtmlTo).html(n):i?this.$slide.eq(e).load(i):this.$slide.eq(e).append(n),null!=n&&(""===n?this.$outer.find(this.s.appendSubHtmlTo).addClass("lg-empty-html"):this.$outer.find(this.s.appendSubHtmlTo).removeClass("lg-empty-html")),this.$el.trigger("onAfterAppendSubHtml.lg",[e])},i.prototype.preload=function(t){var e=1,i=1;for(e=1;e<=this.s.preload&&!(e>=this.$items.length-t);e++)this.loadContent(t+e,!1,0);for(i=1;i<=this.s.preload&&!(t-i<0);i++)this.loadContent(t-i,!1,0)},i.prototype.loadContent=function(e,i,o){var n,r,s,a,l,c,d=this,u=!1,h=function(e){for(var i=[],o=[],n=0;n<e.length;n++){var s=e[n].split(" ");""===s[0]&&s.splice(0,1),o.push(s[0]),i.push(s[1])}for(var a=t(window).width(),l=0;l<i.length;l++)if(parseInt(i[l],10)>a){r=o[l];break}};d.s.dynamic?(d.s.dynamicEl[e].poster&&(u=!0,s=d.s.dynamicEl[e].poster),c=d.s.dynamicEl[e].html,r=d.s.dynamicEl[e].src,d.s.dynamicEl[e].responsive&&h(d.s.dynamicEl[e].responsive.split(",")),a=d.s.dynamicEl[e].srcset,l=d.s.dynamicEl[e].sizes):(d.$items.eq(e).attr("data-poster")&&(u=!0,s=d.$items.eq(e).attr("data-poster")),c=d.$items.eq(e).attr("data-html"),r=d.$items.eq(e).attr("href")||d.$items.eq(e).attr("data-src"),d.$items.eq(e).attr("data-responsive")&&h(d.$items.eq(e).attr("data-responsive").split(",")),a=d.$items.eq(e).attr("data-srcset"),l=d.$items.eq(e).attr("data-sizes"));var p=!1;d.s.dynamic?d.s.dynamicEl[e].iframe&&(p=!0):"true"===d.$items.eq(e).attr("data-iframe")&&(p=!0);var f=d.isVideo(r,e);if(!d.$slide.eq(e).hasClass("lg-loaded")){if(p)d.$slide.eq(e).prepend('<div class="lg-video-cont lg-has-iframe" style="max-width:'+d.s.iframeMaxWidth+'"><div class="lg-video"><iframe class="lg-object" frameborder="0" src="'+r+'"  allowfullscreen="true"></iframe></div></div>');else if(u){var g="";g=f&&f.youtube?"lg-has-youtube":f&&f.vimeo?"lg-has-vimeo":"lg-has-html5",d.$slide.eq(e).prepend('<div class="lg-video-cont '+g+' "><div class="lg-video"><span class="lg-video-play"></span><img class="lg-object lg-has-poster" src="'+s+'" /></div></div>')}else f?(d.$slide.eq(e).prepend('<div class="lg-video-cont "><div class="lg-video"></div></div>'),d.$el.trigger("hasVideo.lg",[e,r,c])):d.$slide.eq(e).prepend('<div class="lg-img-wrap"><img class="lg-object lg-image" src="'+r+'" /></div>');if(d.$el.trigger("onAferAppendSlide.lg",[e]),n=d.$slide.eq(e).find(".lg-object"),l&&n.attr("sizes",l),a){n.attr("srcset",a);try{picturefill({elements:[n[0]]})}catch(t){console.warn("lightGallery :- If you want srcset to be supported for older browser please include picturefil version 2 javascript library in your document.")}}".lg-sub-html"!==this.s.appendSubHtmlTo&&d.addHtml(e),d.$slide.eq(e).addClass("lg-loaded")}d.$slide.eq(e).find(".lg-object").on("load.lg error.lg",(function(){var i=0;o&&!t("body").hasClass("lg-from-hash")&&(i=o),setTimeout((function(){d.$slide.eq(e).addClass("lg-complete"),d.$el.trigger("onSlideItemLoad.lg",[e,o||0])}),i)})),f&&f.html5&&!u&&d.$slide.eq(e).addClass("lg-complete"),!0===i&&(d.$slide.eq(e).hasClass("lg-complete")?d.preload(e):d.$slide.eq(e).find(".lg-object").on("load.lg error.lg",(function(){d.preload(e)})))},i.prototype.slide=function(e,i,o,n){var r=this.$outer.find(".lg-current").index(),s=this;if(!s.lGalleryOn||r!==e){var a,l,c,d=this.$slide.length,u=s.lGalleryOn?this.s.speed:0;if(!s.lgBusy)this.s.download&&((a=s.s.dynamic?!1!==s.s.dynamicEl[e].downloadUrl&&(s.s.dynamicEl[e].downloadUrl||s.s.dynamicEl[e].src):"false"!==s.$items.eq(e).attr("data-download-url")&&(s.$items.eq(e).attr("data-download-url")||s.$items.eq(e).attr("href")||s.$items.eq(e).attr("data-src")))?(t("#lg-download").attr("href",a),s.$outer.removeClass("lg-hide-download")):s.$outer.addClass("lg-hide-download")),this.$el.trigger("onBeforeSlide.lg",[r,e,i,o]),s.lgBusy=!0,clearTimeout(s.hideBartimeout),".lg-sub-html"===this.s.appendSubHtmlTo&&setTimeout((function(){s.addHtml(e)}),u),this.arrowDisable(e),n||(e<r?n="prev":e>r&&(n="next")),i?(this.$slide.removeClass("lg-prev-slide lg-current lg-next-slide"),d>2?(l=e-1,c=e+1,(0===e&&r===d-1||e===d-1&&0===r)&&(c=0,l=d-1)):(l=0,c=1),"prev"===n?s.$slide.eq(c).addClass("lg-next-slide"):s.$slide.eq(l).addClass("lg-prev-slide"),s.$slide.eq(e).addClass("lg-current")):(s.$outer.addClass("lg-no-trans"),this.$slide.removeClass("lg-prev-slide lg-next-slide"),"prev"===n?(this.$slide.eq(e).addClass("lg-prev-slide"),this.$slide.eq(r).addClass("lg-next-slide")):(this.$slide.eq(e).addClass("lg-next-slide"),this.$slide.eq(r).addClass("lg-prev-slide")),setTimeout((function(){s.$slide.removeClass("lg-current"),s.$slide.eq(e).addClass("lg-current"),s.$outer.removeClass("lg-no-trans")}),50)),s.lGalleryOn?(setTimeout((function(){s.loadContent(e,!0,0)}),this.s.speed+50),setTimeout((function(){s.lgBusy=!1,s.$el.trigger("onAfterSlide.lg",[r,e,i,o])}),this.s.speed)):(s.loadContent(e,!0,s.s.backdropDuration),s.lgBusy=!1,s.$el.trigger("onAfterSlide.lg",[r,e,i,o])),s.lGalleryOn=!0,this.s.counter&&t("#lg-counter-current").text(e+1);s.index=e}},i.prototype.goToNextSlide=function(t){var e=this,i=e.s.loop;t&&e.$slide.length<3&&(i=!1),e.lgBusy||(e.index+1<e.$slide.length?(e.index++,e.$el.trigger("onBeforeNextSlide.lg",[e.index]),e.slide(e.index,t,!1,"next")):i?(e.index=0,e.$el.trigger("onBeforeNextSlide.lg",[e.index]),e.slide(e.index,t,!1,"next")):e.s.slideEndAnimatoin&&!t&&(e.$outer.addClass("lg-right-end"),setTimeout((function(){e.$outer.removeClass("lg-right-end")}),400)))},i.prototype.goToPrevSlide=function(t){var e=this,i=e.s.loop;t&&e.$slide.length<3&&(i=!1),e.lgBusy||(e.index>0?(e.index--,e.$el.trigger("onBeforePrevSlide.lg",[e.index,t]),e.slide(e.index,t,!1,"prev")):i?(e.index=e.$items.length-1,e.$el.trigger("onBeforePrevSlide.lg",[e.index,t]),e.slide(e.index,t,!1,"prev")):e.s.slideEndAnimatoin&&!t&&(e.$outer.addClass("lg-left-end"),setTimeout((function(){e.$outer.removeClass("lg-left-end")}),400)))},i.prototype.keyPress=function(){var e=this;this.$items.length>1&&t(window).on("keyup.lg",(function(t){e.$items.length>1&&(37===t.keyCode&&(t.preventDefault(),e.goToPrevSlide()),39===t.keyCode&&(t.preventDefault(),e.goToNextSlide()))})),t(window).on("keydown.lg",(function(t){!0===e.s.escKey&&27===t.keyCode&&(t.preventDefault(),e.$outer.hasClass("lg-thumb-open")?e.$outer.removeClass("lg-thumb-open"):e.destroy())}))},i.prototype.arrow=function(){var t=this;this.$outer.find(".lg-prev").on("click.lg",(function(){t.goToPrevSlide()})),this.$outer.find(".lg-next").on("click.lg",(function(){t.goToNextSlide()}))},i.prototype.arrowDisable=function(t){!this.s.loop&&this.s.hideControlOnEnd&&(t+1<this.$slide.length?this.$outer.find(".lg-next").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-next").attr("disabled","disabled").addClass("disabled"),t>0?this.$outer.find(".lg-prev").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-prev").attr("disabled","disabled").addClass("disabled"))},i.prototype.setTranslate=function(t,e,i){this.s.useLeft?t.css("left",e):t.css({transform:"translate3d("+e+"px, "+i+"px, 0px)"})},i.prototype.touchMove=function(e,i){var o=i-e;Math.abs(o)>15&&(this.$outer.addClass("lg-dragging"),this.setTranslate(this.$slide.eq(this.index),o,0),this.setTranslate(t(".lg-prev-slide"),-this.$slide.eq(this.index).width()+o,0),this.setTranslate(t(".lg-next-slide"),this.$slide.eq(this.index).width()+o,0))},i.prototype.touchEnd=function(t){var e=this;"lg-slide"!==e.s.mode&&e.$outer.addClass("lg-slide"),this.$slide.not(".lg-current, .lg-prev-slide, .lg-next-slide").css("opacity","0"),setTimeout((function(){e.$outer.removeClass("lg-dragging"),t<0&&Math.abs(t)>e.s.swipeThreshold?e.goToNextSlide(!0):t>0&&Math.abs(t)>e.s.swipeThreshold?e.goToPrevSlide(!0):Math.abs(t)<5&&e.$el.trigger("onSlideClick.lg"),e.$slide.removeAttr("style")})),setTimeout((function(){e.$outer.hasClass("lg-dragging")||"lg-slide"===e.s.mode||e.$outer.removeClass("lg-slide")}),e.s.speed+100)},i.prototype.enableSwipe=function(){var t=this,e=0,i=0,o=!1;t.s.enableSwipe&&t.doCss()&&(t.$slide.on("touchstart.lg",(function(i){t.$outer.hasClass("lg-zoomed")||t.lgBusy||(i.preventDefault(),t.manageSwipeClass(),e=i.originalEvent.targetTouches[0].pageX)})),t.$slide.on("touchmove.lg",(function(n){t.$outer.hasClass("lg-zoomed")||(n.preventDefault(),i=n.originalEvent.targetTouches[0].pageX,t.touchMove(e,i),o=!0)})),t.$slide.on("touchend.lg",(function(){t.$outer.hasClass("lg-zoomed")||(o?(o=!1,t.touchEnd(i-e)):t.$el.trigger("onSlideClick.lg"))})))},i.prototype.enableDrag=function(){var e=this,i=0,o=0,n=!1,r=!1;e.s.enableDrag&&e.doCss()&&(e.$slide.on("mousedown.lg",(function(o){e.$outer.hasClass("lg-zoomed")||e.lgBusy||t(o.target).text().trim()||(o.preventDefault(),e.manageSwipeClass(),i=o.pageX,n=!0,e.$outer.scrollLeft+=1,e.$outer.scrollLeft-=1,e.$outer.removeClass("lg-grab").addClass("lg-grabbing"),e.$el.trigger("onDragstart.lg"))})),t(window).on("mousemove.lg",(function(t){n&&(r=!0,o=t.pageX,e.touchMove(i,o),e.$el.trigger("onDragmove.lg"))})),t(window).on("mouseup.lg",(function(s){r?(r=!1,e.touchEnd(o-i),e.$el.trigger("onDragend.lg")):(t(s.target).hasClass("lg-object")||t(s.target).hasClass("lg-video-play"))&&e.$el.trigger("onSlideClick.lg"),n&&(n=!1,e.$outer.removeClass("lg-grabbing").addClass("lg-grab"))})))},i.prototype.manageSwipeClass=function(){var t=this.index+1,e=this.index-1;this.s.loop&&this.$slide.length>2&&(0===this.index?e=this.$slide.length-1:this.index===this.$slide.length-1&&(t=0)),this.$slide.removeClass("lg-next-slide lg-prev-slide"),e>-1&&this.$slide.eq(e).addClass("lg-prev-slide"),this.$slide.eq(t).addClass("lg-next-slide")},i.prototype.mousewheel=function(){var t=this;t.$outer.on("mousewheel.lg",(function(e){e.deltaY&&(e.deltaY>0?t.goToPrevSlide():t.goToNextSlide(),e.preventDefault())}))},i.prototype.closeGallery=function(){var e=this,i=!1;this.$outer.find(".lg-close").on("click.lg",(function(){e.destroy()})),e.s.closable&&(e.$outer.on("mousedown.lg",(function(e){i=!!(t(e.target).is(".lg-outer")||t(e.target).is(".lg-item ")||t(e.target).is(".lg-img-wrap"))})),e.$outer.on("mousemove.lg",(function(){i=!1})),e.$outer.on("mouseup.lg",(function(o){(t(o.target).is(".lg-outer")||t(o.target).is(".lg-item ")||t(o.target).is(".lg-img-wrap")&&i)&&(e.$outer.hasClass("lg-dragging")||e.destroy())})))},i.prototype.destroy=function(e){var i=this;e||(i.$el.trigger("onBeforeClose.lg"),t(window).scrollTop(i.prevScrollTop)),e&&(i.s.dynamic||this.$items.off("click.lg click.lgcustom"),t.removeData(i.el,"lightGallery")),this.$el.off(".lg.tm"),t.each(t.fn.lightGallery.modules,(function(t){i.modules[t]&&i.modules[t].destroy()})),this.lGalleryOn=!1,clearTimeout(i.hideBartimeout),this.hideBartimeout=!1,t(window).off(".lg"),t("body").removeClass("lg-on lg-from-hash"),i.$outer&&i.$outer.removeClass("lg-visible"),t(".lg-backdrop").removeClass("in"),setTimeout((function(){i.$outer&&i.$outer.remove(),t(".lg-backdrop").remove(),e||i.$el.trigger("onCloseAfter.lg")}),i.s.backdropDuration+50)},t.fn.lightGallery=function(e){return this.each((function(){if(t.data(this,"lightGallery"))try{t(this).data("lightGallery").init()}catch(t){console.error("lightGallery has not initiated properly")}else t.data(this,"lightGallery",new i(this,e))}))},t.fn.lightGallery.modules={}}()}(t)}.apply(e,o))||(t.exports=n),o=[i("EVdn")],void 0===(n=function(t){return function(t){!function(){"use strict";var e={autoplay:!1,pause:5e3,progressBar:!0,fourceAutoplay:!1,autoplayControls:!0,appendAutoplayControlsTo:".lg-toolbar"},i=function(i){return this.core=t(i).data("lightGallery"),this.$el=t(i),!(this.core.$items.length<2)&&(this.core.s=t.extend({},e,this.core.s),this.interval=!1,this.fromAuto=!0,this.canceledOnTouch=!1,this.fourceAutoplayTemp=this.core.s.fourceAutoplay,this.core.doCss()||(this.core.s.progressBar=!1),this.init(),this)};i.prototype.init=function(){var t=this;t.core.s.autoplayControls&&t.controls(),t.core.s.progressBar&&t.core.$outer.find(".lg").append('<div class="lg-progress-bar"><div class="lg-progress"></div></div>'),t.progress(),t.core.s.autoplay&&t.$el.one("onSlideItemLoad.lg.tm",(function(){t.startlAuto()})),t.$el.on("onDragstart.lg.tm touchstart.lg.tm",(function(){t.interval&&(t.cancelAuto(),t.canceledOnTouch=!0)})),t.$el.on("onDragend.lg.tm touchend.lg.tm onSlideClick.lg.tm",(function(){!t.interval&&t.canceledOnTouch&&(t.startlAuto(),t.canceledOnTouch=!1)}))},i.prototype.progress=function(){var t,e,i=this;i.$el.on("onBeforeSlide.lg.tm",(function(){i.core.s.progressBar&&i.fromAuto&&(t=i.core.$outer.find(".lg-progress-bar"),e=i.core.$outer.find(".lg-progress"),i.interval&&(e.removeAttr("style"),t.removeClass("lg-start"),setTimeout((function(){e.css("transition","width "+(i.core.s.speed+i.core.s.pause)+"ms ease 0s"),t.addClass("lg-start")}),20))),i.fromAuto||i.core.s.fourceAutoplay||i.cancelAuto(),i.fromAuto=!1}))},i.prototype.controls=function(){var e=this;t(this.core.s.appendAutoplayControlsTo).append('<span class="lg-autoplay-button lg-icon"></span>'),e.core.$outer.find(".lg-autoplay-button").on("click.lg",(function(){t(e.core.$outer).hasClass("lg-show-autoplay")?(e.cancelAuto(),e.core.s.fourceAutoplay=!1):e.interval||(e.startlAuto(),e.core.s.fourceAutoplay=e.fourceAutoplayTemp)}))},i.prototype.startlAuto=function(){var t=this;t.core.$outer.find(".lg-progress").css("transition","width "+(t.core.s.speed+t.core.s.pause)+"ms ease 0s"),t.core.$outer.addClass("lg-show-autoplay"),t.core.$outer.find(".lg-progress-bar").addClass("lg-start"),t.interval=setInterval((function(){t.core.index+1<t.core.$items.length?t.core.index++:t.core.index=0,t.fromAuto=!0,t.core.slide(t.core.index,!1,!1,"next")}),t.core.s.speed+t.core.s.pause)},i.prototype.cancelAuto=function(){clearInterval(this.interval),this.interval=!1,this.core.$outer.find(".lg-progress").removeAttr("style"),this.core.$outer.removeClass("lg-show-autoplay"),this.core.$outer.find(".lg-progress-bar").removeClass("lg-start")},i.prototype.destroy=function(){this.cancelAuto(),this.core.$outer.find(".lg-progress-bar").remove()},t.fn.lightGallery.modules.autoplay=i}()}(t)}.apply(e,o))||(t.exports=n),o=[i("EVdn")],void 0===(n=function(t){return function(t){!function(){"use strict";var e={fullScreen:!0};function i(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement}var o=function(i){return this.core=t(i).data("lightGallery"),this.$el=t(i),this.core.s=t.extend({},e,this.core.s),this.init(),this};o.prototype.init=function(){var t="";if(this.core.s.fullScreen){if(!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled))return;t='<span class="lg-fullscreen lg-icon"></span>',this.core.$outer.find(".lg-toolbar").append(t),this.fullScreen()}},o.prototype.requestFullscreen=function(){var t=document.documentElement;t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen&&t.webkitRequestFullscreen()},o.prototype.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},o.prototype.fullScreen=function(){var e=this;t(document).on("fullscreenchange.lg webkitfullscreenchange.lg mozfullscreenchange.lg MSFullscreenChange.lg",(function(){e.core.$outer.toggleClass("lg-fullscreen-on")})),this.core.$outer.find(".lg-fullscreen").on("click.lg",(function(){i()?e.exitFullscreen():e.requestFullscreen()}))},o.prototype.destroy=function(){i()&&this.exitFullscreen(),t(document).off("fullscreenchange.lg webkitfullscreenchange.lg mozfullscreenchange.lg MSFullscreenChange.lg")},t.fn.lightGallery.modules.fullscreen=o}()}(t)}.apply(e,o))||(t.exports=n),o=[i("EVdn")],void 0===(n=function(t){return function(t){!function(){"use strict";var e={pager:!1},i=function(i){return this.core=t(i).data("lightGallery"),this.$el=t(i),this.core.s=t.extend({},e,this.core.s),this.core.s.pager&&this.core.$items.length>1&&this.init(),this};i.prototype.init=function(){var e,i,o,n=this,r="";if(n.core.$outer.find(".lg").append('<div class="lg-pager-outer"></div>'),n.core.s.dynamic)for(var s=0;s<n.core.s.dynamicEl.length;s++)r+='<span class="lg-pager-cont"> <span class="lg-pager"></span><div class="lg-pager-thumb-cont"><span class="lg-caret"></span> <img src="'+n.core.s.dynamicEl[s].thumb+'" /></div></span>';else n.core.$items.each((function(){n.core.s.exThumbImage?r+='<span class="lg-pager-cont"> <span class="lg-pager"></span><div class="lg-pager-thumb-cont"><span class="lg-caret"></span> <img src="'+t(this).attr(n.core.s.exThumbImage)+'" /></div></span>':r+='<span class="lg-pager-cont"> <span class="lg-pager"></span><div class="lg-pager-thumb-cont"><span class="lg-caret"></span> <img src="'+t(this).find("img").attr("src")+'" /></div></span>'}));(i=n.core.$outer.find(".lg-pager-outer")).html(r),(e=n.core.$outer.find(".lg-pager-cont")).on("click.lg touchend.lg",(function(){var e=t(this);n.core.index=e.index(),n.core.slide(n.core.index,!1,!0,!1)})),i.on("mouseover.lg",(function(){clearTimeout(o),i.addClass("lg-pager-hover")})),i.on("mouseout.lg",(function(){o=setTimeout((function(){i.removeClass("lg-pager-hover")}))})),n.core.$el.on("onBeforeSlide.lg.tm",(function(t,i,o){e.removeClass("lg-pager-active"),e.eq(o).addClass("lg-pager-active")}))},i.prototype.destroy=function(){},t.fn.lightGallery.modules.pager=i}()}(t)}.apply(e,o))||(t.exports=n),o=[i("EVdn")],void 0===(n=function(t){return function(t){!function(){"use strict";var e={thumbnail:!0,animateThumb:!0,currentPagerPosition:"middle",thumbWidth:100,thumbHeight:"80px",thumbContHeight:100,thumbMargin:5,exThumbImage:!1,showThumbByDefault:!0,toogleThumb:!0,pullCaptionUp:!0,enableThumbDrag:!0,enableThumbSwipe:!0,swipeThreshold:50,loadYoutubeThumbnail:!0,youtubeThumbSize:1,loadVimeoThumbnail:!0,vimeoThumbSize:"thumbnail_small",loadDailymotionThumbnail:!0},i=function(i){return this.core=t(i).data("lightGallery"),this.core.s=t.extend({},e,this.core.s),this.$el=t(i),this.$thumbOuter=null,this.thumbOuterWidth=0,this.thumbTotalWidth=this.core.$items.length*(this.core.s.thumbWidth+this.core.s.thumbMargin),this.thumbIndex=this.core.index,this.core.s.animateThumb&&(this.core.s.thumbHeight="100%"),this.left=0,this.init(),this};i.prototype.init=function(){var t=this;this.core.s.thumbnail&&this.core.$items.length>1&&(this.core.s.showThumbByDefault&&setTimeout((function(){t.core.$outer.addClass("lg-thumb-open")}),700),this.core.s.pullCaptionUp&&this.core.$outer.addClass("lg-pull-caption-up"),this.build(),this.core.s.animateThumb&&this.core.doCss()?(this.core.s.enableThumbDrag&&this.enableThumbDrag(),this.core.s.enableThumbSwipe&&this.enableThumbSwipe(),this.thumbClickable=!1):this.thumbClickable=!0,this.toogle(),this.thumbkeyPress())},i.prototype.build=function(){var e,i=this,o="",n="";switch(this.core.s.vimeoThumbSize){case"thumbnail_large":n="640";break;case"thumbnail_medium":n="200x150";break;case"thumbnail_small":n="100x75"}function r(t,e,r){var s,a=i.core.isVideo(t,r)||{},l="";a.youtube||a.vimeo||a.dailymotion?a.youtube?s=i.core.s.loadYoutubeThumbnail?"//img.youtube.com/vi/"+a.youtube[1]+"/"+i.core.s.youtubeThumbSize+".jpg":e:a.vimeo?i.core.s.loadVimeoThumbnail?(s="//i.vimeocdn.com/video/error_"+n+".jpg",l=a.vimeo[1]):s=e:a.dailymotion&&(s=i.core.s.loadDailymotionThumbnail?"//www.dailymotion.com/thumbnail/video/"+a.dailymotion[1]:e):s=e,o+='<div data-vimeo-id="'+l+'" class="lg-thumb-item" style="width:'+i.core.s.thumbWidth+"px; height: "+i.core.s.thumbHeight+"; margin-right: "+i.core.s.thumbMargin+'px"><img src="'+s+'" /></div>',l=""}if(i.core.$outer.addClass("lg-has-thumb"),i.core.$outer.find(".lg").append('<div class="lg-thumb-outer"><div class="lg-thumb lg-group"></div></div>'),i.$thumbOuter=i.core.$outer.find(".lg-thumb-outer"),i.thumbOuterWidth=i.$thumbOuter.width(),i.core.s.animateThumb&&i.core.$outer.find(".lg-thumb").css({width:i.thumbTotalWidth+"px",position:"relative"}),this.core.s.animateThumb&&i.$thumbOuter.css("height",i.core.s.thumbContHeight+"px"),i.core.s.dynamic)for(var s=0;s<i.core.s.dynamicEl.length;s++)r(i.core.s.dynamicEl[s].src,i.core.s.dynamicEl[s].thumb,s);else i.core.$items.each((function(e){i.core.s.exThumbImage?r(t(this).attr("href")||t(this).attr("data-src"),t(this).attr(i.core.s.exThumbImage),e):r(t(this).attr("href")||t(this).attr("data-src"),t(this).find("img").attr("src"),e)}));i.core.$outer.find(".lg-thumb").html(o),(e=i.core.$outer.find(".lg-thumb-item")).each((function(){var e=t(this),o=e.attr("data-vimeo-id");o&&t.getJSON("//www.vimeo.com/api/v2/video/"+o+".json?callback=?",{format:"json"},(function(t){e.find("img").attr("src",t[0][i.core.s.vimeoThumbSize])}))})),e.eq(i.core.index).addClass("active"),i.core.$el.on("onBeforeSlide.lg.tm",(function(){e.removeClass("active"),e.eq(i.core.index).addClass("active")})),e.on("click.lg touchend.lg",(function(){var e=t(this);setTimeout((function(){(i.thumbClickable&&!i.core.lgBusy||!i.core.doCss())&&(i.core.index=e.index(),i.core.slide(i.core.index,!1,!0,!1))}),50)})),i.core.$el.on("onBeforeSlide.lg.tm",(function(){i.animateThumb(i.core.index)})),t(window).on("resize.lg.thumb orientationchange.lg.thumb",(function(){setTimeout((function(){i.animateThumb(i.core.index),i.thumbOuterWidth=i.$thumbOuter.width()}),200)}))},i.prototype.setTranslate=function(t){this.core.$outer.find(".lg-thumb").css({transform:"translate3d(-"+t+"px, 0px, 0px)"})},i.prototype.animateThumb=function(t){var e=this.core.$outer.find(".lg-thumb");if(this.core.s.animateThumb){var i;switch(this.core.s.currentPagerPosition){case"left":i=0;break;case"middle":i=this.thumbOuterWidth/2-this.core.s.thumbWidth/2;break;case"right":i=this.thumbOuterWidth-this.core.s.thumbWidth}this.left=(this.core.s.thumbWidth+this.core.s.thumbMargin)*t-1-i,this.left>this.thumbTotalWidth-this.thumbOuterWidth&&(this.left=this.thumbTotalWidth-this.thumbOuterWidth),this.left<0&&(this.left=0),this.core.lGalleryOn?(e.hasClass("on")||this.core.$outer.find(".lg-thumb").css("transition-duration",this.core.s.speed+"ms"),this.core.doCss()||e.animate({left:-this.left+"px"},this.core.s.speed)):this.core.doCss()||e.css("left",-this.left+"px"),this.setTranslate(this.left)}},i.prototype.enableThumbDrag=function(){var e=this,i=0,o=0,n=!1,r=!1,s=0;e.$thumbOuter.addClass("lg-grab"),e.core.$outer.find(".lg-thumb").on("mousedown.lg.thumb",(function(t){e.thumbTotalWidth>e.thumbOuterWidth&&(t.preventDefault(),i=t.pageX,n=!0,e.core.$outer.scrollLeft+=1,e.core.$outer.scrollLeft-=1,e.thumbClickable=!1,e.$thumbOuter.removeClass("lg-grab").addClass("lg-grabbing"))})),t(window).on("mousemove.lg.thumb",(function(t){n&&(s=e.left,r=!0,o=t.pageX,e.$thumbOuter.addClass("lg-dragging"),(s-=o-i)>e.thumbTotalWidth-e.thumbOuterWidth&&(s=e.thumbTotalWidth-e.thumbOuterWidth),s<0&&(s=0),e.setTranslate(s))})),t(window).on("mouseup.lg.thumb",(function(){r?(r=!1,e.$thumbOuter.removeClass("lg-dragging"),e.left=s,Math.abs(o-i)<e.core.s.swipeThreshold&&(e.thumbClickable=!0)):e.thumbClickable=!0,n&&(n=!1,e.$thumbOuter.removeClass("lg-grabbing").addClass("lg-grab"))}))},i.prototype.enableThumbSwipe=function(){var t=this,e=0,i=0,o=!1,n=0;t.core.$outer.find(".lg-thumb").on("touchstart.lg",(function(i){t.thumbTotalWidth>t.thumbOuterWidth&&(i.preventDefault(),e=i.originalEvent.targetTouches[0].pageX,t.thumbClickable=!1)})),t.core.$outer.find(".lg-thumb").on("touchmove.lg",(function(r){t.thumbTotalWidth>t.thumbOuterWidth&&(r.preventDefault(),i=r.originalEvent.targetTouches[0].pageX,o=!0,t.$thumbOuter.addClass("lg-dragging"),n=t.left,(n-=i-e)>t.thumbTotalWidth-t.thumbOuterWidth&&(n=t.thumbTotalWidth-t.thumbOuterWidth),n<0&&(n=0),t.setTranslate(n))})),t.core.$outer.find(".lg-thumb").on("touchend.lg",(function(){t.thumbTotalWidth>t.thumbOuterWidth&&o?(o=!1,t.$thumbOuter.removeClass("lg-dragging"),Math.abs(i-e)<t.core.s.swipeThreshold&&(t.thumbClickable=!0),t.left=n):t.thumbClickable=!0}))},i.prototype.toogle=function(){var t=this;t.core.s.toogleThumb&&(t.core.$outer.addClass("lg-can-toggle"),t.$thumbOuter.append('<span class="lg-toogle-thumb lg-icon"></span>'),t.core.$outer.find(".lg-toogle-thumb").on("click.lg",(function(){t.core.$outer.toggleClass("lg-thumb-open")})))},i.prototype.thumbkeyPress=function(){var e=this;t(window).on("keydown.lg.thumb",(function(t){38===t.keyCode?(t.preventDefault(),e.core.$outer.addClass("lg-thumb-open")):40===t.keyCode&&(t.preventDefault(),e.core.$outer.removeClass("lg-thumb-open"))}))},i.prototype.destroy=function(){this.core.s.thumbnail&&this.core.$items.length>1&&(t(window).off("resize.lg.thumb orientationchange.lg.thumb keydown.lg.thumb"),this.$thumbOuter.remove(),this.core.$outer.removeClass("lg-has-thumb"))},t.fn.lightGallery.modules.Thumbnail=i}()}(t)}.apply(e,o))||(t.exports=n),o=[i("EVdn")],void 0===(n=function(t){return function(t){!function(){"use strict";var e={videoMaxWidth:"855px",autoplayFirstVideo:!0,youtubePlayerParams:!1,vimeoPlayerParams:!1,dailymotionPlayerParams:!1,vkPlayerParams:!1,videojs:!1,videojsOptions:{}},i=function(i){return this.core=t(i).data("lightGallery"),this.$el=t(i),this.core.s=t.extend({},e,this.core.s),this.videoLoaded=!1,this.init(),this};function o(t,e,i,o){var n=this;if(n.core.$slide.eq(e).find(".lg-video").append(n.loadVideo(i,"lg-object",!0,e,o)),o)if(n.core.s.videojs)try{videojs(n.core.$slide.eq(e).find(".lg-html5").get(0),n.core.s.videojsOptions,(function(){!n.videoLoaded&&n.core.s.autoplayFirstVideo&&this.play()}))}catch(t){console.error("Make sure you have included videojs")}else!n.videoLoaded&&n.core.s.autoplayFirstVideo&&n.core.$slide.eq(e).find(".lg-html5").get(0).play()}function n(t,e){var i=this.core.$slide.eq(e).find(".lg-video-cont");i.hasClass("lg-has-iframe")||(i.css("max-width",this.core.s.videoMaxWidth),this.videoLoaded=!0)}function r(e,i,o){var n,r=this.core.$slide.eq(i),s=r.find(".lg-youtube").get(0),a=r.find(".lg-vimeo").get(0),l=r.find(".lg-dailymotion").get(0),c=r.find(".lg-vk").get(0),d=r.find(".lg-html5").get(0);if(s)s.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");else if(a)try{$f(a).api("pause")}catch(t){console.error("Make sure you have included froogaloop2 js")}else if(l)l.contentWindow.postMessage("pause","*");else if(d)if(this.core.s.videojs)try{videojs(d).pause()}catch(t){console.error("Make sure you have included videojs")}else d.pause();c&&t(c).attr("src",t(c).attr("src").replace("&autoplay","&noplay")),n=this.core.s.dynamic?this.core.s.dynamicEl[o].src:this.core.$items.eq(o).attr("href")||this.core.$items.eq(o).attr("data-src");var u=this.core.isVideo(n,o)||{};(u.youtube||u.vimeo||u.dailymotion||u.vk)&&this.core.$outer.addClass("lg-hide-download")}i.prototype.init=function(){var e=this;e.core.$el.on("hasVideo.lg.tm",o.bind(this)),e.core.$el.on("onAferAppendSlide.lg.tm",n.bind(this)),e.core.doCss()&&e.core.$items.length>1&&(e.core.s.enableSwipe||e.core.s.enableDrag)?e.core.$el.on("onSlideClick.lg.tm",(function(){var t=e.core.$slide.eq(e.core.index);e.loadVideoOnclick(t)})):e.core.$slide.on("click.lg",(function(){e.loadVideoOnclick(t(this))})),e.core.$el.on("onBeforeSlide.lg.tm",r.bind(this)),e.core.$el.on("onAfterSlide.lg.tm",(function(t,i){e.core.$slide.eq(i).removeClass("lg-video-playing")})),e.core.s.autoplayFirstVideo&&e.core.$el.on("onAferAppendSlide.lg.tm",(function(t,i){if(!e.core.lGalleryOn){var o=e.core.$slide.eq(i);setTimeout((function(){e.loadVideoOnclick(o)}),100)}}))},i.prototype.loadVideo=function(e,i,o,n,r){var s="",a=1,l="",c=this.core.isVideo(e,n)||{};if(o&&(a=this.videoLoaded?0:this.core.s.autoplayFirstVideo?1:0),c.youtube)l="?wmode=opaque&autoplay="+a+"&enablejsapi=1",this.core.s.youtubePlayerParams&&(l=l+"&"+t.param(this.core.s.youtubePlayerParams)),s='<iframe class="lg-video-object lg-youtube '+i+'" width="560" height="315" src="//www.youtube.com/embed/'+c.youtube[1]+l+'" frameborder="0" allowfullscreen></iframe>';else if(c.vimeo)l="?autoplay="+a+"&api=1",this.core.s.vimeoPlayerParams&&(l=l+"&"+t.param(this.core.s.vimeoPlayerParams)),s='<iframe class="lg-video-object lg-vimeo '+i+'" width="560" height="315"  src="//player.vimeo.com/video/'+c.vimeo[1]+l+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';else if(c.dailymotion)l="?wmode=opaque&autoplay="+a+"&api=postMessage",this.core.s.dailymotionPlayerParams&&(l=l+"&"+t.param(this.core.s.dailymotionPlayerParams)),s='<iframe class="lg-video-object lg-dailymotion '+i+'" width="560" height="315" src="//www.dailymotion.com/embed/video/'+c.dailymotion[1]+l+'" frameborder="0" allowfullscreen></iframe>';else if(c.html5){var d=r.substring(0,1);"."!==d&&"#"!==d||(r=t(r).html()),s=r}else c.vk&&(l="&autoplay="+a,this.core.s.vkPlayerParams&&(l=l+"&"+t.param(this.core.s.vkPlayerParams)),s='<iframe class="lg-video-object lg-vk '+i+'" width="560" height="315" src="//vk.com/video_ext.php?'+c.vk[1]+l+'" frameborder="0" allowfullscreen></iframe>');return s},i.prototype.loadVideoOnclick=function(t){var e=this;if(t.find(".lg-object").hasClass("lg-has-poster")&&t.find(".lg-object").is(":visible"))if(t.hasClass("lg-has-video")){var i=t.find(".lg-youtube").get(0),o=t.find(".lg-vimeo").get(0),n=t.find(".lg-dailymotion").get(0),r=t.find(".lg-html5").get(0);if(i)i.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");else if(o)try{$f(o).api("play")}catch(t){console.error("Make sure you have included froogaloop2 js")}else if(n)n.contentWindow.postMessage("play","*");else if(r)if(e.core.s.videojs)try{videojs(r).play()}catch(t){console.error("Make sure you have included videojs")}else r.play();t.addClass("lg-video-playing")}else{t.addClass("lg-video-playing lg-has-video");var s=function(i,o){if(t.find(".lg-video").append(e.loadVideo(i,"",!1,e.core.index,o)),o)if(e.core.s.videojs)try{videojs(e.core.$slide.eq(e.core.index).find(".lg-html5").get(0),e.core.s.videojsOptions,(function(){this.play()}))}catch(t){console.error("Make sure you have included videojs")}else e.core.$slide.eq(e.core.index).find(".lg-html5").get(0).play()};e.core.s.dynamic?s(e.core.s.dynamicEl[e.core.index].src,e.core.s.dynamicEl[e.core.index].html):s(e.core.$items.eq(e.core.index).attr("href")||e.core.$items.eq(e.core.index).attr("data-src"),e.core.$items.eq(e.core.index).attr("data-html"));var a=t.find(".lg-object");t.find(".lg-video").append(a),t.find(".lg-video-object").hasClass("lg-html5")||(t.removeClass("lg-complete"),t.find(".lg-video-object").on("load.lg error.lg",(function(){t.addClass("lg-complete")})))}},i.prototype.destroy=function(){this.videoLoaded=!1},t.fn.lightGallery.modules.video=i}()}(t)}.apply(e,o))||(t.exports=n),o=[i("EVdn")],void 0===(n=function(t){return function(t){!function(){"use strict";var e,i,o={scale:1,zoom:!0,actualSize:!0,enableZoomAfter:300,useLeftForZoom:(e=!1,i=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./),i&&parseInt(i[2],10)<54&&(e=!0),e)},n=function(e){return this.core=t(e).data("lightGallery"),this.core.s=t.extend({},o,this.core.s),this.core.s.zoom&&this.core.doCss()&&(this.init(),this.zoomabletimeout=!1,this.pageX=t(window).width()/2,this.pageY=t(window).height()/2+t(window).scrollTop()),this};n.prototype.init=function(){var e=this,i='<span id="lg-zoom-in" class="lg-icon"></span><span id="lg-zoom-out" class="lg-icon"></span>';e.core.s.actualSize&&(i+='<span id="lg-actual-size" class="lg-icon"></span>'),e.core.s.useLeftForZoom?e.core.$outer.addClass("lg-use-left-for-zoom"):e.core.$outer.addClass("lg-use-transition-for-zoom"),this.core.$outer.find(".lg-toolbar").append(i),e.core.$el.on("onSlideItemLoad.lg.tm.zoom",(function(i,o,n){var r=e.core.s.enableZoomAfter+n;t("body").hasClass("lg-from-hash")&&n?r=0:t("body").removeClass("lg-from-hash"),e.zoomabletimeout=setTimeout((function(){e.core.$slide.eq(o).addClass("lg-zoomable")}),r+30)}));var o=1,n=function(i){var o=e.core.$outer.find(".lg-current .lg-image"),n=(t(window).width()-o.prop("offsetWidth"))/2,r=(t(window).height()-o.prop("offsetHeight"))/2+t(window).scrollTop(),s=(i-1)*(e.pageX-n),a=(i-1)*(e.pageY-r);o.css("transform","scale3d("+i+", "+i+", 1)").attr("data-scale",i),e.core.s.useLeftForZoom?o.parent().css({left:-s+"px",top:-a+"px"}).attr("data-x",s).attr("data-y",a):o.parent().css("transform","translate3d(-"+s+"px, -"+a+"px, 0)").attr("data-x",s).attr("data-y",a)},r=function(){o>1?e.core.$outer.addClass("lg-zoomed"):e.resetZoom(),o<1&&(o=1),n(o)},s=function(i,n,s,a){var l,c=n.prop("offsetWidth");l=e.core.s.dynamic?e.core.s.dynamicEl[s].width||n[0].naturalWidth||c:e.core.$items.eq(s).attr("data-width")||n[0].naturalWidth||c,e.core.$outer.hasClass("lg-zoomed")?o=1:l>c&&(o=l/c||2),a?(e.pageX=t(window).width()/2,e.pageY=t(window).height()/2+t(window).scrollTop()):(e.pageX=i.pageX||i.originalEvent.targetTouches[0].pageX,e.pageY=i.pageY||i.originalEvent.targetTouches[0].pageY),r(),setTimeout((function(){e.core.$outer.removeClass("lg-grabbing").addClass("lg-grab")}),10)},a=!1;e.core.$el.on("onAferAppendSlide.lg.tm.zoom",(function(t,i){var o=e.core.$slide.eq(i).find(".lg-image");o.on("dblclick",(function(t){s(t,o,i)})),o.on("touchstart",(function(t){a?(clearTimeout(a),a=null,s(t,o,i)):a=setTimeout((function(){a=null}),300),t.preventDefault()}))})),t(window).on("resize.lg.zoom scroll.lg.zoom orientationchange.lg.zoom",(function(){e.pageX=t(window).width()/2,e.pageY=t(window).height()/2+t(window).scrollTop(),n(o)})),t("#lg-zoom-out").on("click.lg",(function(){e.core.$outer.find(".lg-current .lg-image").length&&(o-=e.core.s.scale,r())})),t("#lg-zoom-in").on("click.lg",(function(){e.core.$outer.find(".lg-current .lg-image").length&&(o+=e.core.s.scale,r())})),t("#lg-actual-size").on("click.lg",(function(t){s(t,e.core.$slide.eq(e.core.index).find(".lg-image"),e.core.index,!0)})),e.core.$el.on("onBeforeSlide.lg.tm",(function(){o=1,e.resetZoom()})),e.zoomDrag(),e.zoomSwipe()},n.prototype.resetZoom=function(){this.core.$outer.removeClass("lg-zoomed"),this.core.$slide.find(".lg-img-wrap").removeAttr("style data-x data-y"),this.core.$slide.find(".lg-image").removeAttr("style data-scale"),this.pageX=t(window).width()/2,this.pageY=t(window).height()/2+t(window).scrollTop()},n.prototype.zoomSwipe=function(){var t=this,e={},i={},o=!1,n=!1,r=!1;t.core.$slide.on("touchstart.lg",(function(i){if(t.core.$outer.hasClass("lg-zoomed")){var o=t.core.$slide.eq(t.core.index).find(".lg-object");r=o.prop("offsetHeight")*o.attr("data-scale")>t.core.$outer.find(".lg").height(),((n=o.prop("offsetWidth")*o.attr("data-scale")>t.core.$outer.find(".lg").width())||r)&&(i.preventDefault(),e={x:i.originalEvent.targetTouches[0].pageX,y:i.originalEvent.targetTouches[0].pageY})}})),t.core.$slide.on("touchmove.lg",(function(s){if(t.core.$outer.hasClass("lg-zoomed")){var a,l,c=t.core.$slide.eq(t.core.index).find(".lg-img-wrap");s.preventDefault(),o=!0,i={x:s.originalEvent.targetTouches[0].pageX,y:s.originalEvent.targetTouches[0].pageY},t.core.$outer.addClass("lg-zoom-dragging"),l=r?-Math.abs(c.attr("data-y"))+(i.y-e.y):-Math.abs(c.attr("data-y")),a=n?-Math.abs(c.attr("data-x"))+(i.x-e.x):-Math.abs(c.attr("data-x")),(Math.abs(i.x-e.x)>15||Math.abs(i.y-e.y)>15)&&(t.core.s.useLeftForZoom?c.css({left:a+"px",top:l+"px"}):c.css("transform","translate3d("+a+"px, "+l+"px, 0)"))}})),t.core.$slide.on("touchend.lg",(function(){t.core.$outer.hasClass("lg-zoomed")&&o&&(o=!1,t.core.$outer.removeClass("lg-zoom-dragging"),t.touchendZoom(e,i,n,r))}))},n.prototype.zoomDrag=function(){var e=this,i={},o={},n=!1,r=!1,s=!1,a=!1;e.core.$slide.on("mousedown.lg.zoom",(function(o){var r=e.core.$slide.eq(e.core.index).find(".lg-object");a=r.prop("offsetHeight")*r.attr("data-scale")>e.core.$outer.find(".lg").height(),s=r.prop("offsetWidth")*r.attr("data-scale")>e.core.$outer.find(".lg").width(),e.core.$outer.hasClass("lg-zoomed")&&t(o.target).hasClass("lg-object")&&(s||a)&&(o.preventDefault(),i={x:o.pageX,y:o.pageY},n=!0,e.core.$outer.scrollLeft+=1,e.core.$outer.scrollLeft-=1,e.core.$outer.removeClass("lg-grab").addClass("lg-grabbing"))})),t(window).on("mousemove.lg.zoom",(function(t){if(n){var l,c,d=e.core.$slide.eq(e.core.index).find(".lg-img-wrap");r=!0,o={x:t.pageX,y:t.pageY},e.core.$outer.addClass("lg-zoom-dragging"),c=a?-Math.abs(d.attr("data-y"))+(o.y-i.y):-Math.abs(d.attr("data-y")),l=s?-Math.abs(d.attr("data-x"))+(o.x-i.x):-Math.abs(d.attr("data-x")),e.core.s.useLeftForZoom?d.css({left:l+"px",top:c+"px"}):d.css("transform","translate3d("+l+"px, "+c+"px, 0)")}})),t(window).on("mouseup.lg.zoom",(function(t){n&&(n=!1,e.core.$outer.removeClass("lg-zoom-dragging"),!r||i.x===o.x&&i.y===o.y||(o={x:t.pageX,y:t.pageY},e.touchendZoom(i,o,s,a)),r=!1),e.core.$outer.removeClass("lg-grabbing").addClass("lg-grab")}))},n.prototype.touchendZoom=function(t,e,i,o){var n=this.core.$slide.eq(this.core.index).find(".lg-img-wrap"),r=this.core.$slide.eq(this.core.index).find(".lg-object"),s=-Math.abs(n.attr("data-x"))+(e.x-t.x),a=-Math.abs(n.attr("data-y"))+(e.y-t.y),l=(this.core.$outer.find(".lg").height()-r.prop("offsetHeight"))/2,c=Math.abs(r.prop("offsetHeight")*Math.abs(r.attr("data-scale"))-this.core.$outer.find(".lg").height()+l),d=(this.core.$outer.find(".lg").width()-r.prop("offsetWidth"))/2,u=Math.abs(r.prop("offsetWidth")*Math.abs(r.attr("data-scale"))-this.core.$outer.find(".lg").width()+d);(Math.abs(e.x-t.x)>15||Math.abs(e.y-t.y)>15)&&(o&&(a<=-c?a=-c:a>=-l&&(a=-l)),i&&(s<=-u?s=-u:s>=-d&&(s=-d)),o?n.attr("data-y",Math.abs(a)):a=-Math.abs(n.attr("data-y")),i?n.attr("data-x",Math.abs(s)):s=-Math.abs(n.attr("data-x")),this.core.s.useLeftForZoom?n.css({left:s+"px",top:a+"px"}):n.css("transform","translate3d("+s+"px, "+a+"px, 0)"))},n.prototype.destroy=function(){this.core.$el.off(".lg.zoom"),t(window).off(".lg.zoom"),this.core.$slide.off(".lg.zoom"),this.core.$el.off(".lg.tm.zoom"),this.resetZoom(),clearTimeout(this.zoomabletimeout),this.zoomabletimeout=!1},t.fn.lightGallery.modules.zoom=n}()}(t)}.apply(e,o))||(t.exports=n),o=[i("EVdn")],void 0===(n=function(t){return function(t){!function(){"use strict";var e={hash:!0},i=function(i){return this.core=t(i).data("lightGallery"),this.core.s=t.extend({},e,this.core.s),this.core.s.hash&&(this.oldHash=window.location.hash,this.init()),this};i.prototype.init=function(){var e,i=this;i.core.$el.on("onAfterSlide.lg.tm",(function(t,e,o){history.replaceState?history.replaceState(null,null,window.location.pathname+window.location.search+"#lg="+i.core.s.galleryId+"&slide="+o):window.location.hash="lg="+i.core.s.galleryId+"&slide="+o})),t(window).on("hashchange.lg.hash",(function(){e=window.location.hash;var t=parseInt(e.split("&slide=")[1],10);e.indexOf("lg="+i.core.s.galleryId)>-1?i.core.slide(t,!1,!1):i.core.lGalleryOn&&i.core.destroy()}))},i.prototype.destroy=function(){this.core.s.hash&&(this.oldHash&&this.oldHash.indexOf("lg="+this.core.s.galleryId)<0?history.replaceState?history.replaceState(null,null,this.oldHash):window.location.hash=this.oldHash:history.replaceState?history.replaceState(null,document.title,window.location.pathname+window.location.search):window.location.hash="",this.core.$el.off(".lg.hash"))},t.fn.lightGallery.modules.hash=i}()}(t)}.apply(e,o))||(t.exports=n),o=[i("EVdn")],void 0===(n=function(t){return function(t){!function(){"use strict";var e={share:!0,facebook:!0,facebookDropdownText:"Facebook",twitter:!0,twitterDropdownText:"Twitter",googlePlus:!0,googlePlusDropdownText:"WhatsApp",pinterest:!0,pinterestDropdownText:"Instagram"},i=function(i){return this.core=t(i).data("lightGallery"),this.core.s=t.extend({},e,this.core.s),this.core.s.share&&this.init(),this};i.prototype.init=function(){var e=this,i='<span id="lg-share" class="lg-icon"><ul class="lg-dropdown" style="position: absolute;">';i+=e.core.s.facebook?'<li><a id="lg-share-facebook" target="_blank"><span class="lg-dropdown-text">'+this.core.s.facebookDropdownText+"</span></a></li>":"",i+=e.core.s.twitter?'<li><a id="lg-share-twitter" target="_blank"><span class="lg-dropdown-text">'+this.core.s.twitterDropdownText+"</span></a></li>":"",i+=e.core.s.googlePlus?'<li><a id="lg-share-googleplus" target="_blank"><span class="lg-dropdown-text">'+this.core.s.googlePlusDropdownText+"</span></a></li>":"",i+="</ul></span>",this.core.$outer.find(".lg-toolbar").append(i),this.core.$outer.find(".lg").append('<div id="lg-dropdown-overlay"></div>'),t("#lg-share").on("click.lg",(function(){e.core.$outer.toggleClass("lg-dropdown-active")})),t("#lg-dropdown-overlay").on("click.lg",(function(){e.core.$outer.removeClass("lg-dropdown-active")})),e.core.$el.on("onAfterSlide.lg.tm",(function(i,o,n){var r=e.getSahreProps(n,"src1"),s=e.getSahreProps(n,"tipo"),a=window.location.href,l=e.getSahreProps(n,"codigo")+".php",c=e.getSahreProps(n,"codigo"),d=e.getSahreProps(n,"sub-html"),u=e.getSahreProps(n,"moment"),h=window.location.protocol,p=window.location.port?":"+window.location.port+"/":"/",f=h+"//"+window.location.hostname+p,g=f+"social/"+s+"/"+l;console.log("protocolo",h),console.log("imagem",r),console.log("nome_arquivo",l),console.log("titulo",u),console.log("descricao",d),console.log("redirect",a),console.log("site",f),console.log("url",g),console.log("caminho",window.location.pathname),console.log("teste"),t.ajax({url:f+"redes_sociais",type:"GET",data:{imagem:r,nome_arquivo:l,titulo:u,descricao:d,app_id:"1427281324111568",redirect:a,url:g,site:f,tipo:s,nome_arq:c},success:function(t){console.log(t)}}),setTimeout((function(){t("#lg-share-facebook").attr("href","https://www.facebook.com/sharer/sharer.php?u="+g),"imagem"==s?(t("#lg-share-twitter").attr("href","https://twitter.com/intent/tweet?text="+encodeURIComponent(u+" "+f+r)+" &url="+encodeURIComponent(g)),t("#lg-share-googleplus").attr("href","https://api.whatsapp.com/send?text="+encodeURIComponent(g+"#lg=1&slide=0 \n  Acesse o link acima ")+"&file="+r)):(t("#lg-share-twitter").attr("href","https://twitter.com/intent/tweet?text="+encodeURIComponent(u)+"  "+r+" &url="+encodeURIComponent(g)),t("#lg-share-googleplus").attr("href","https://api.whatsapp.com/send?text="+encodeURIComponent(r+" \n "+g+"#lg=1&slide=0 \n  Acesse o link acima ")+"&file="+r))}),100)}))},i.prototype.getSahreProps=function(t,e){var i="";if(this.core.s.dynamic)i=this.core.s.dynamicEl[t][e];else{var o=this.core.$items.eq(t).attr("href"),n=this.core.$items.eq(t).data(e);i="src"===e&&o||n}return i},i.prototype.destroy=function(){},t.fn.lightGallery.modules.share=i}()}(t)}.apply(e,o))||(t.exports=n)}});