function showRoomDetail(e){$(".rooms-details").html(""),$(".rooms-details").addClass("active"),$("body").css("overflow","hidden"),$.ajax({type:"POST",url:Routing.generate("wiki_app_get_detail_chamber_V19",{_locale:langueSelected}),data:{id_chambre:e}}).done(function(e){setTimeout(function(){$(".rooms-details").html(e),owlCarouselRoomImages=$(".room-images-carousel"),owlCarouselRoomImages.owlCarousel({items:1,margin:0,lazyLoad:!0,dots:!1,mouseDrag:!1,touchDrag:!1,pullDrag:!1,nav:!0,animateOut:"fadeOut",rtl:direction}),$(document).on("click",".rooms-details .btn-close",function(){$(".rooms-details").removeClass("active"),$("body").css("overflow","auto")})},2e3)})}function equalHeight(e){var t=0;return $(e).height(),$(e).each(function(){t<=$(this).height()&&(t=$(this).height())}),t}function toggleBlockScroll(){var e=$("body").css("overflow");["visible","auto"].includes(e)?$("body").css("overflow","hidden"):$("body").css("overflow","auto")}function bodyScrollTo(e){$("html, body").animate({scrollTop:"contact"==e?$("#"+e).offset().top-500:$("#"+e).offset().top-90},"slow")}function isVisible(e,t){var a=$(e).offset().top+$(window).height()/5,n=$(e).height(),e=t.scrollTop(),t=t.height();return 0<a-e+n&&a-e<t}function changeUrlAction(e,t){var a=convertPHPToMomentFormat(formatDate),e=moment(e).format(a),a=moment(t).format(a),a=url.replace("{DateStart}",e).replace("{DateEnd}",a).replace("{Adult}",previousAdult).replace("{Children}","0").replace("{Currency}",currency).replace("&amp;","&");$("#bookNowForm").attr("action",a)}function changeUrlAdultAction(e){var t=$("#bookNowForm").attr("action"),a=$("#adultsSelect").val(),a=t.replace("adult="+e,"adult="+a).replace("&amp;","&");$("#bookNowForm").attr("action",a)}function changeUrlWidgetAction(e,t){var a=convertPHPToMomentFormat(formatDate),n=moment(e).format(a),e=moment(t).format(a),t=$(".iq-scan-holder .bloc-config-occupancy .adult_date").val(),a=$(".iq-scan-holder .bloc-config-occupancy .child_date").val(),a=url.replace("{DateStart}",n).replace("{DateEnd}",e).replace("{Adult}",t).replace("{Children}",a).replace("{Currency}",currency).replace("&amp;","&");$(".iq-scan-holder .form-book-now").attr("action",a)}function convertPHPToMomentFormat(e){replacements={"Y-m-d":"YYYY-MM-DD","d/m/Y":"DD/MM/YYYY","Y-n-j":"YYYY-M-D","d-m-Y":"DD-MM-YYYY"};e=replacements[e];return e||"YYYY-MM-DD"}function replaceMultiple(e,t){var a=new RegExp(Object.keys(t).join("|"),"gi");return e.replace(a,function(e){return t[e]})}function getFormatDateByLang(e){return{ar:"dddd DD MMMM, YYYY",fr:"dddd DD MMMM YYYY",en:"dddd, MMMM DD, YYYY"}[e]||"dddd, DD MMMM YYYY"}!function(l,a,n,o){function d(e,t){this.settings=null,this.options=l.extend({},d.Defaults,t),this.$element=l(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(e,t){this._handlers[t]=l.proxy(this[t],this)},this)),l.each(d.Plugins,l.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),l.each(d.Workers,l.proxy(function(e,t){this._pipe.push({filter:t.filter,run:l.proxy(t.run,this)})},this)),this.setup(),this.initialize()}d.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:a,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},d.Width={Default:"default",Inner:"inner",Outer:"outer"},d.Type={Event:"event",State:"state"},d.Plugins={},d.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(e){var t=this.settings.margin||"",a=!this.settings.autoWidth,n=this.settings.rtl,t={width:"auto","margin-left":n?t:"","margin-right":n?"":t};a||this.$stage.children().css(t),e.css=t}},{filter:["width","items","settings"],run:function(e){var t=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,a=null,n=this._items.length,s=!this.settings.autoWidth,i=[];for(e.items={merge:!1,width:t};n--;)a=this._mergers[n],a=this.settings.mergeFit&&Math.min(a,this.settings.items)||a,e.items.merge=1<a||e.items.merge,i[n]=s?t*a:this._items[n].width();this._widths=i}},{filter:["items","settings"],run:function(){var e=[],t=this._items,a=this.settings,n=Math.max(2*a.items,4),s=2*Math.ceil(t.length/2),i=a.loop&&t.length?a.rewind?n:Math.max(n,s):0,r="",o="";for(i/=2;0<i;)e.push(this.normalize(e.length/2,!0)),r+=t[e[e.length-1]][0].outerHTML,e.push(this.normalize(t.length-1-(e.length-1)/2,!0)),o=t[e[e.length-1]][0].outerHTML+o,--i;this._clones=e,l(r).addClass("cloned").appendTo(this.$stage),l(o).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var e,t,a=this.settings.rtl?1:-1,n=this._clones.length+this._items.length,s=-1,i=[];++s<n;)e=i[s-1]||0,t=this._widths[this.relative(s)]+this.settings.margin,i.push(e+t*a);this._coordinates=i}},{filter:["width","items","settings"],run:function(){var e=this.settings.stagePadding,t=this._coordinates,e={width:Math.ceil(Math.abs(t[t.length-1]))+2*e,"padding-left":e||"","padding-right":e||""};this.$stage.css(e)}},{filter:["width","items","settings"],run:function(e){var t=this._coordinates.length,a=!this.settings.autoWidth,n=this.$stage.children();if(a&&e.items.merge)for(;t--;)e.css.width=this._widths[this.relative(t)],n.eq(t).css(e.css);else a&&(e.css.width=e.items.width,n.css(e.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(e){e.current=e.current?this.$stage.children().index(e.current):0,e.current=Math.max(this.minimum(),Math.min(this.maximum(),e.current)),this.reset(e.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){for(var e,t,a=this.settings.rtl?1:-1,n=2*this.settings.stagePadding,s=this.coordinates(this.current())+n,i=s+this.width()*a,r=[],o=0,l=this._coordinates.length;o<l;o++)e=this._coordinates[o-1]||0,t=Math.abs(this._coordinates[o])+n*a,(this.op(e,"<=",s)&&this.op(e,">",i)||this.op(t,"<",s)&&this.op(t,">",i))&&r.push(o);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+r.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],d.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(l("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},d.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");if(e.length)return this._items=e.get().map(function(e){return l(e)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},d.prototype.initialize=function(){var e,t;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(e=this.$element.find("img"),t=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:o,t=this.$element.children(t).width(),e.length&&t<=0&&this.preloadAutoWidthImages(e)),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},d.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},d.prototype.setup=function(){var t=this.viewport(),e=this.options.responsive,a=-1,n=null;e?(l.each(e,function(e){e<=t&&a<e&&(a=Number(e))}),"function"==typeof(n=l.extend({},this.options,e[a])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+a))):n=l.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=a,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},d.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},d.prototype.prepare=function(e){var t=this.trigger("prepare",{content:e});return t.data||(t.data=l("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:t.data}),t.data},d.prototype.update=function(){for(var e=0,t=this._pipe.length,a=l.proxy(function(e){return this[e]},this._invalidated),n={};e<t;)(this._invalidated.all||0<l.grep(this._pipe[e].filter,a).length)&&this._pipe[e].run(n),e++;this._invalidated={},this.is("valid")||this.enter("valid")},d.prototype.width=function(e){switch(e=e||d.Width.Default){case d.Width.Inner:case d.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},d.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},d.prototype.onThrottledResize=function(){a.clearTimeout(this.resizeTimer),this.resizeTimer=a.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},d.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},d.prototype.registerEventHandlers=function(){l.support.transition&&this.$stage.on(l.support.transition.end+".owl.core",l.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(a,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",l.proxy(this.onDragEnd,this)))},d.prototype.onDragStart=function(e){var t=null;3!==e.which&&(t=l.support.transform?{x:(t=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===t.length?12:4],y:t[16===t.length?13:5]}:(t=this.$stage.position(),{x:this.settings.rtl?t.left+this.$stage.width()-this.width()+this.settings.margin:t.left,y:t.top}),this.is("animating")&&(l.support.transform?this.animate(t.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=l(e.target),this._drag.stage.start=t,this._drag.stage.current=t,this._drag.pointer=this.pointer(e),l(n).on("mouseup.owl.core touchend.owl.core",l.proxy(this.onDragEnd,this)),l(n).one("mousemove.owl.core touchmove.owl.core",l.proxy(function(e){var t=this.difference(this._drag.pointer,this.pointer(e));l(n).on("mousemove.owl.core touchmove.owl.core",l.proxy(this.onDragMove,this)),Math.abs(t.x)<Math.abs(t.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},d.prototype.onDragMove=function(e){var t,a=null,n=null,s=this.difference(this._drag.pointer,this.pointer(e)),i=this.difference(this._drag.stage.start,s);this.is("dragging")&&(e.preventDefault(),this.settings.loop?(a=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-a,i.x=((i.x-a)%n+n)%n+a):(a=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),t=this.settings.pullDrag?-1*s.x/5:0,i.x=Math.max(Math.min(i.x,a+t),n+t)),this._drag.stage.current=i,this.animate(i.x))},d.prototype.onDragEnd=function(e){var t=this.difference(this._drag.pointer,this.pointer(e)),a=this._drag.stage.current,e=0<t.x^this.settings.rtl?"left":"right";l(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==t.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(a.x,0!==t.x?e:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=e,(3<Math.abs(t.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},d.prototype.closest=function(a,n){var s=-1,i=this.width(),r=this.coordinates();return this.settings.freeDrag||l.each(r,l.proxy(function(e,t){return"left"===n&&t-30<a&&a<t+30?s=e:"right"===n&&t-i-30<a&&a<t-i+30?s=e+1:this.op(a,"<",t)&&this.op(a,">",r[e+1]!==o?r[e+1]:t-i)&&(s="left"===n?e+1:e),-1===s},this)),this.settings.loop||(this.op(a,">",r[this.minimum()])?s=a=this.minimum():this.op(a,"<",r[this.maximum()])&&(s=a=this.maximum())),s},d.prototype.animate=function(e){var t=0<this.speed();this.is("animating")&&this.onTransitionEnd(),t&&(this.enter("animating"),this.trigger("translate")),l.support.transform3d&&l.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):t?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,l.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},d.prototype.is=function(e){return this._states.current[e]&&0<this._states.current[e]},d.prototype.current=function(e){return e===o?this._current:0===this._items.length?o:(e=this.normalize(e),this._current!==e&&((t=this.trigger("change",{property:{name:"position",value:e}})).data!==o&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})),this._current);var t},d.prototype.invalidate=function(e){return"string"===l.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),l.map(this._invalidated,function(e,t){return t})},d.prototype.reset=function(e){(e=this.normalize(e))!==o&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},d.prototype.normalize=function(e,t){var a=this._items.length,t=t?0:this._clones.length;return!this.isNumeric(e)||a<1?e=o:(e<0||a+t<=e)&&(e=((e-t/2)%a+a)%a+t/2),e},d.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},d.prototype.maximum=function(e){var t,a,n,s=this.settings,i=this._coordinates.length;if(s.loop)i=this._clones.length/2+this._items.length-1;else if(s.autoWidth||s.merge){if(t=this._items.length)for(a=this._items[--t].width(),n=this.$element.width();t--&&!(n<(a+=this._items[t].width()+this.settings.margin)););i=t+1}else i=s.center?this._items.length-1:this._items.length-s.items;return e&&(i-=this._clones.length/2),Math.max(i,0)},d.prototype.minimum=function(e){return e?0:this._clones.length/2},d.prototype.items=function(e){return e===o?this._items.slice():(e=this.normalize(e,!0),this._items[e])},d.prototype.mergers=function(e){return e===o?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},d.prototype.clones=function(a){function n(e){return e%2==0?s+e/2:t-(e+1)/2}var t=this._clones.length/2,s=t+this._items.length;return a===o?l.map(this._clones,function(e,t){return n(t)}):l.map(this._clones,function(e,t){return e===a?n(t):null})},d.prototype.speed=function(e){return e!==o&&(this._speed=e),this._speed},d.prototype.coordinates=function(e){var t,a=1,n=e-1;return e===o?l.map(this._coordinates,l.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(a=-1,n=e+1),t=this._coordinates[e],t+=(this.width()-t+(this._coordinates[n]||0))/2*a):t=this._coordinates[n]||0,t=Math.ceil(t))},d.prototype.duration=function(e,t,a){return 0===a?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(a||this.settings.smartSpeed)},d.prototype.to=function(e,t){var a,n=this.current(),s=e-this.relative(n),i=(0<s)-(s<0),r=this._items.length,o=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(s)>r/2&&(s+=-1*i*r),(a=(((e=n+s)-o)%r+r)%r+o)!==e&&a-s<=l&&0<a-s&&this.reset(n=(e=a)-s)):e=this.settings.rewind?(e%(l+=1)+l)%l:Math.max(o,Math.min(l,e)),this.speed(this.duration(n,e,t)),this.current(e),this.isVisible()&&this.update()},d.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},d.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},d.prototype.onTransitionEnd=function(e){if(e!==o&&(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},d.prototype.viewport=function(){var e;return this.options.responsiveBaseElement!==a?e=l(this.options.responsiveBaseElement).width():a.innerWidth?e=a.innerWidth:n.documentElement&&n.documentElement.clientWidth?e=n.documentElement.clientWidth:console.warn("Can not detect viewport width."),e},d.prototype.replace=function(e){this.$stage.empty(),this._items=[],e=e&&(e instanceof jQuery?e:l(e)),(e=this.settings.nestedItemSelector?e.find("."+this.settings.nestedItemSelector):e).filter(function(){return 1===this.nodeType}).each(l.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},d.prototype.add=function(e,t){var a=this.relative(this._current);t=t===o?this._items.length:this.normalize(t,!0),e=e instanceof jQuery?e:l(e),this.trigger("add",{content:e,position:t}),e=this.prepare(e),0===this._items.length||t===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[t-1].after(e),this._items.push(e),this._mergers.push(+e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[t].before(e),this._items.splice(t,0,e),this._mergers.splice(t,0,+e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[a]&&this.reset(this._items[a].index()),this.invalidate("items"),this.trigger("added",{content:e,position:t})},d.prototype.remove=function(e){(e=this.normalize(e,!0))!==o&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},d.prototype.preloadAutoWidthImages=function(e){e.each(l.proxy(function(e,t){this.enter("pre-loading"),t=l(t),l(new Image).one("load",l.proxy(function(e){t.attr("src",e.target.src),t.css("opacity",1),this.leave("pre-loading"),this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",t.attr("src")||t.attr("data-src")||t.attr("data-src-retina"))},this))},d.prototype.destroy=function(){for(var e in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),l(n).off(".owl.core"),!1!==this.settings.responsive&&(a.clearTimeout(this.resizeTimer),this.off(a,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[e].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},d.prototype.op=function(e,t,a){var n=this.settings.rtl;switch(t){case"<":return n?a<e:e<a;case">":return n?e<a:a<e;case">=":return n?e<=a:a<=e;case"<=":return n?a<=e:e<=a}},d.prototype.on=function(e,t,a,n){e.addEventListener?e.addEventListener(t,a,n):e.attachEvent&&e.attachEvent("on"+t,a)},d.prototype.off=function(e,t,a,n){e.removeEventListener?e.removeEventListener(t,a,n):e.detachEvent&&e.detachEvent("on"+t,a)},d.prototype.trigger=function(e,t,a,n,s){var i={item:{count:this._items.length,index:this.current()}},r=l.camelCase(l.grep(["on",e,a],function(e){return e}).join("-").toLowerCase()),o=l.Event([e,"owl",a||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},i,t));return this._supress[e]||(l.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(o)}),this.register({type:d.Type.Event,name:e}),this.$element.trigger(o),this.settings&&"function"==typeof this.settings[r]&&this.settings[r].call(this,o)),o},d.prototype.enter=function(e){l.each([e].concat(this._states.tags[e]||[]),l.proxy(function(e,t){this._states.current[t]===o&&(this._states.current[t]=0),this._states.current[t]++},this))},d.prototype.leave=function(e){l.each([e].concat(this._states.tags[e]||[]),l.proxy(function(e,t){this._states.current[t]--},this))},d.prototype.register=function(a){var t;a.type===d.Type.Event?(l.event.special[a.name]||(l.event.special[a.name]={}),l.event.special[a.name].owl||(t=l.event.special[a.name]._default,l.event.special[a.name]._default=function(e){return!t||!t.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&-1<e.namespace.indexOf("owl"):t.apply(this,arguments)},l.event.special[a.name].owl=!0)):a.type===d.Type.State&&(this._states.tags[a.name]?this._states.tags[a.name]=this._states.tags[a.name].concat(a.tags):this._states.tags[a.name]=a.tags,this._states.tags[a.name]=l.grep(this._states.tags[a.name],l.proxy(function(e,t){return l.inArray(e,this._states.tags[a.name])===t},this)))},d.prototype.suppress=function(e){l.each(e,l.proxy(function(e,t){this._supress[t]=!0},this))},d.prototype.release=function(e){l.each(e,l.proxy(function(e,t){delete this._supress[t]},this))},d.prototype.pointer=function(e){var t={x:null,y:null};return(e=(e=e.originalEvent||e||a.event).touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e).pageX?(t.x=e.pageX,t.y=e.pageY):(t.x=e.clientX,t.y=e.clientY),t},d.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},d.prototype.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},l.fn.owlCarousel=function(t){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=l(this),a=e.data("owl.carousel");a||(a=new d(this,"object"==typeof t&&t),e.data("owl.carousel",a),l.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,t){a.register({type:d.Type.Event,name:t}),a.$element.on(t+".owl.carousel.core",l.proxy(function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([t]),a[t].apply(this,[].slice.call(arguments,1)),this.release([t]))},a))})),"string"==typeof t&&"_"!==t.charAt(0)&&a[t].apply(a,n)})},l.fn.owlCarousel.Constructor=d}(window.Zepto||window.jQuery,window,document),function(t,a){var n=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=a.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var e,t;for(e in a.clearInterval(this._interval),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=n}(window.Zepto||window.jQuery,window,document),function(o,s){var t=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":o.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var t=this._core.settings,a=t.center&&Math.ceil(t.items/2)||t.items,n=t.center&&-1*a||0,s=(e.property&&void 0!==e.property.value?e.property.value:this._core.current())+n,i=this._core.clones().length,r=o.proxy(function(e,t){this.load(t)},this);for(0<t.lazyLoadEager&&(a+=t.lazyLoadEager,t.loop&&(s-=t.lazyLoadEager,a++));n++<a;)this.load(i/2+this._core.relative(s)),i&&o.each(this._core.clones(this._core.relative(s)),r),s++}},this)},this._core.options=o.extend({},t.Defaults,this._core.options),this._core.$element.on(this._handlers)};t.Defaults={lazyLoad:!1,lazyLoadEager:0},t.prototype.load=function(e){var t=this._core.$stage.children().eq(e),e=t&&t.find(".owl-lazy");!e||-1<o.inArray(t.get(0),this._loaded)||(e.each(o.proxy(function(e,t){var a=o(t),n=1<s.devicePixelRatio&&a.attr("data-src-retina")||a.attr("data-src")||a.attr("data-srcset");this._core.trigger("load",{element:a,url:n},"lazy"),a.is("img")?a.one("load.owl.lazy",o.proxy(function(){a.css("opacity",1),this._core.trigger("loaded",{element:a,url:n},"lazy")},this)).attr("src",n):a.is("source")?a.one("load.owl.lazy",o.proxy(function(){this._core.trigger("loaded",{element:a,url:n},"lazy")},this)).attr("srcset",n):((t=new Image).onload=o.proxy(function(){a.css({"background-image":'url("'+n+'")',opacity:"1"}),this._core.trigger("loaded",{element:a,url:n},"lazy")},this),t.src=n)},this)),this._loaded.push(t.get(0)))},t.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},o.fn.owlCarousel.Constructor.Plugins.Lazy=t}(window.Zepto||window.jQuery,window,document),function(s,a){var n=function(e){this._core=e,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":s.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":s.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&"position"===e.property.name&&this.update()},this),"loaded.owl.lazy":s.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=s.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var t=this;s(a).on("load",function(){t._core.settings.autoHeight&&t.update()}),s(a).resize(function(){t._core.settings.autoHeight&&(null!=t._intervalId&&clearTimeout(t._intervalId),t._intervalId=setTimeout(function(){t.update()},250))})};n.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},n.prototype.update=function(){var e=this._core._current,t=e+this._core.settings.items,a=this._core.settings.lazyLoad,e=this._core.$stage.children().toArray().slice(e,t),n=[],t=0;s.each(e,function(e,t){n.push(s(t).height())}),(t=Math.max.apply(null,n))<=1&&a&&this._previousHeight&&(t=this._previousHeight),this._previousHeight=t,this._core.$stage.parent().height(t).addClass(this._core.settings.autoHeightClass)},n.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},s.fn.owlCarousel.Constructor.Plugins.AutoHeight=n}(window.Zepto||window.jQuery,window,document),function(c,t){var a=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":c.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":c.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":c.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":c.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":c.proxy(function(e){var t;!e.namespace||(t=c(e.content).find(".owl-video")).length&&(t.css("display","none"),this.fetch(t,c(e.content)))},this)},this._core.options=c.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",c.proxy(function(e){this.play(e)},this))};a.Defaults={video:!1,videoHeight:!1,videoWidth:!1},a.prototype.fetch=function(e,t){var a=e.attr("data-vimeo-id")?"vimeo":e.attr("data-vzaar-id")?"vzaar":"youtube",n=e.attr("data-vimeo-id")||e.attr("data-youtube-id")||e.attr("data-vzaar-id"),s=e.attr("data-width")||this._core.settings.videoWidth,i=e.attr("data-height")||this._core.settings.videoHeight,r=e.attr("href");if(!r)throw new Error("Missing video URL.");if(-1<(n=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))a="youtube";else if(-1<n[3].indexOf("vimeo"))a="vimeo";else{if(!(-1<n[3].indexOf("vzaar")))throw new Error("Video URL not supported.");a="vzaar"}n=n[6],this._videos[r]={type:a,id:n,width:s,height:i},t.attr("data-video",r),this.thumbnail(e,this._videos[r])},a.prototype.thumbnail=function(t,e){function a(e){n=d.lazyLoad?c("<div/>",{class:"owl-video-tn "+l,srcType:e}):c("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+e+")"}),t.after(n),t.after('<div class="owl-video-play-icon"></div>')}var n,s,i=e.width&&e.height?"width:"+e.width+"px;height:"+e.height+"px;":"",r=t.find("img"),o="src",l="",d=this._core.settings;if(t.wrap(c("<div/>",{class:"owl-video-wrapper",style:i})),this._core.settings.lazyLoad&&(o="data-src",l="owl-lazy"),r.length)return a(r.attr(o)),r.remove(),!1;"youtube"===e.type?(s="//img.youtube.com/vi/"+e.id+"/hqdefault.jpg",a(s)):"vimeo"===e.type?c.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+e.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){s=e[0].thumbnail_large,a(s)}}):"vzaar"===e.type&&c.ajax({type:"GET",url:"//vzaar.com/api/videos/"+e.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){s=e.framegrab_url,a(s)}})},a.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},a.prototype.play=function(e){var t=c(e.target).closest("."+this._core.settings.itemClass),a=this._videos[t.attr("data-video")],n=a.width||"100%",s=a.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),t=this._core.items(this._core.relative(t.index())),this._core.reset(t.index()),(e=c('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",s),e.attr("width",n),"youtube"===a.type?e.attr("src","//www.youtube.com/embed/"+a.id+"?autoplay=1&rel=0&v="+a.id):"vimeo"===a.type?e.attr("src","//player.vimeo.com/video/"+a.id+"?autoplay=1"):"vzaar"===a.type&&e.attr("src","//view.vzaar.com/"+a.id+"/player?autoplay=true"),c(e).wrap('<div class="owl-video-frame" />').insertAfter(t.find(".owl-video")),this._playing=t.addClass("owl-video-playing"))},a.prototype.isInFullScreen=function(){var e=t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement;return e&&c(e).parent().hasClass("owl-video-frame")},a.prototype.destroy=function(){var e,t;for(e in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},c.fn.owlCarousel.Constructor.Plugins.Video=a}(window.Zepto||window.jQuery,(window,document)),function(r){var t=function(e){this.core=e,this.core.options=r.extend({},t.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":r.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":r.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":r.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};t.Defaults={animateOut:!1,animateIn:!1},t.prototype.swap=function(){var e,t,a,n,s,i;1===this.core.settings.items&&r.support.animation&&r.support.transition&&(this.core.speed(0),t=r.proxy(this.clear,this),a=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,i=this.core.settings.animateOut,this.core.current()!==this.previous&&(i&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),a.one(r.support.animation.end,t).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(i)),s&&n.one(r.support.animation.end,t).addClass("animated owl-animated-in").addClass(s)))},t.prototype.clear=function(e){r(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},t.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},r.fn.owlCarousel.Constructor.Plugins.Animate=t}(window.Zepto||window.jQuery,(window,document)),function(n,s,t){var a=function(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":n.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":n.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":n.proxy(function(e,t,a){e.namespace&&this.play(t,a)},this),"stop.owl.autoplay":n.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=n.extend({},a.Defaults,this._core.options)};a.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},a.prototype._next=function(e){this._call=s.setTimeout(n.proxy(this._next,this,e),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||t.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},a.prototype.read=function(){return(new Date).getTime()-this._time},a.prototype.play=function(e,t){var a;this._core.is("rotating")||this._core.enter("rotating"),e=e||this._core.settings.autoplayTimeout,a=Math.min(this._time%(this._timeout||e),e),this._paused?(this._time=this.read(),this._paused=!1):s.clearTimeout(this._call),this._time+=this.read()%e-a,this._timeout=e,this._call=s.setTimeout(n.proxy(this._next,this,t),e-a)},a.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,s.clearTimeout(this._call),this._core.leave("rotating"))},a.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,s.clearTimeout(this._call))},a.prototype.destroy=function(){var e,t;for(e in this.stop(),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},n.fn.owlCarousel.Constructor.Plugins.autoplay=a}(window.Zepto||window.jQuery,window,document),function(s){"use strict";var t=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":s.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+s(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":s.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":s.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":s.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":s.proxy(function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":s.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=s.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers)};t.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},t.prototype.initialize=function(){var e,a=this._core.settings;for(e in this._controls.$relative=(a.navContainer?s(a.navContainer):s("<div>").addClass(a.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=s("<"+a.navElement+">").addClass(a.navClass[0]).html(a.navText[0]).prependTo(this._controls.$relative).on("click",s.proxy(function(e){this.prev(a.navSpeed)},this)),this._controls.$next=s("<"+a.navElement+">").addClass(a.navClass[1]).html(a.navText[1]).appendTo(this._controls.$relative).on("click",s.proxy(function(e){this.next(a.navSpeed)},this)),a.dotsData||(this._templates=[s('<button role="button">').addClass(a.dotClass).append(s("<span>")).prop("outerHTML")]),this._controls.$absolute=(a.dotsContainer?s(a.dotsContainer):s("<div>").addClass(a.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",s.proxy(function(e){var t=(s(e.target).parent().is(this._controls.$absolute)?s(e.target):s(e.target).parent()).index();e.preventDefault(),this.to(t,a.dotsSpeed)},this)),this._overrides)this._core[e]=s.proxy(this[e],this)},t.prototype.destroy=function(){var e,t,a,n,s=this._core.settings;for(e in this._handlers)this.$element.off(e,this._handlers[e]);for(t in this._controls)"$relative"===t&&s.navContainer?this._controls[t].html(""):this._controls[t].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(a in Object.getOwnPropertyNames(this))"function"!=typeof this[a]&&(this[a]=null)},t.prototype.update=function(){var e,t,a=this._core.clones().length/2,n=a+this._core.items().length,s=this._core.maximum(!0),i=this._core.settings,r=i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items;if("page"!==i.slideBy&&(i.slideBy=Math.min(i.slideBy,i.items)),i.dots||"page"==i.slideBy)for(this._pages=[],e=a,t=0;e<n;e++){if(r<=t||0===t){if(this._pages.push({start:Math.min(s,e-a),end:e-a+r-1}),Math.min(s,e-a)===s)break;t=0,0}t+=this._core.mergers(this._core.relative(e))}},t.prototype.draw=function(){var e=this._core.settings,t=this._core.items().length<=e.items,a=this._core.relative(this._core.current()),n=e.loop||e.rewind;this._controls.$relative.toggleClass("disabled",!e.nav||t),e.nav&&(this._controls.$previous.toggleClass("disabled",!n&&a<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!n&&a>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!e.dots||t),e.dots&&(t=this._pages.length-this._controls.$absolute.children().length,e.dotsData&&0!=t?this._controls.$absolute.html(this._templates.join("")):0<t?this._controls.$absolute.append(new Array(1+t).join(this._templates[0])):t<0&&this._controls.$absolute.children().slice(t).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(s.inArray(this.current(),this._pages)).addClass("active"))},t.prototype.onTrigger=function(e){var t=this._core.settings;e.page={index:s.inArray(this.current(),this._pages),count:this._pages.length,size:t&&(t.center||t.autoWidth||t.dotsData?1:t.dotsEach||t.items)}},t.prototype.current=function(){var a=this._core.relative(this._core.current());return s.grep(this._pages,s.proxy(function(e,t){return e.start<=a&&e.end>=a},this)).pop()},t.prototype.getPosition=function(e){var t,a,n=this._core.settings;return"page"==n.slideBy?(t=s.inArray(this.current(),this._pages),a=this._pages.length,e?++t:--t,t=this._pages[(t%a+a)%a].start):(t=this._core.relative(this._core.current()),a=this._core.items().length,e?t+=n.slideBy:t-=n.slideBy),t},t.prototype.next=function(e){s.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},t.prototype.prev=function(e){s.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},t.prototype.to=function(e,t,a){!a&&this._pages.length?(a=this._pages.length,s.proxy(this._overrides.to,this._core)(this._pages[(e%a+a)%a].start,t)):s.proxy(this._overrides.to,this._core)(e,t)},s.fn.owlCarousel.Constructor.Plugins.Navigation=t}(window.Zepto||window.jQuery,(window,document)),function(n,s){"use strict";var t=function(e){this._core=e,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":n.proxy(function(e){e.namespace&&"URLHash"===this._core.settings.startPosition&&n(s).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":n.proxy(function(e){var t;!e.namespace||(t=n(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash"))&&(this._hashes[t]=e.content)},this),"changed.owl.carousel":n.proxy(function(e){var a;e.namespace&&"position"===e.property.name&&(a=this._core.items(this._core.relative(this._core.current())),(e=n.map(this._hashes,function(e,t){return e===a?t:null}).join())&&s.location.hash.slice(1)!==e&&(s.location.hash=e))},this)},this._core.options=n.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers),n(s).on("hashchange.owl.navigation",n.proxy(function(e){var t=s.location.hash.substring(1),a=this._core.$stage.children(),t=this._hashes[t]&&a.index(this._hashes[t]);void 0!==t&&t!==this._core.current()&&this._core.to(this._core.relative(t),!1,!0)},this))};t.Defaults={URLhashListener:!1},t.prototype.destroy=function(){var e,t;for(e in n(s).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},n.fn.owlCarousel.Constructor.Plugins.Hash=t}(window.Zepto||window.jQuery,window,document),function(s,i){var r=s("<support>").get(0).style,o="Webkit Moz O ms".split(" "),e={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},t=function(){return!!l("transform")},a=function(){return!!l("perspective")},n=function(){return!!l("animation")};function l(e,a){var n=!1,t=e.charAt(0).toUpperCase()+e.slice(1);return s.each((e+" "+o.join(t+" ")+t).split(" "),function(e,t){if(r[t]!==i)return n=!a||t,!1}),n}function d(e){return l(e,!0)}!function(){return!!l("transition")}()||(s.support.transition=new String(d("transition")),s.support.transition.end=e.transition.end[s.support.transition]),n()&&(s.support.animation=new String(d("animation")),s.support.animation.end=e.animation.end[s.support.animation]),t()&&(s.support.transform=new String(d("transform")),s.support.transform3d=a())}(window.Zepto||window.jQuery,(window,void document)),function(l,r,_,f){"use strict";var s,i,o,c,t,d,h,u,n,e,a,m,p;function g(e,t){var a,n,s,i=[],r=0;e&&e.isDefaultPrevented()||(e.preventDefault(),t=t||{},a=(t=e&&e.data?u(e.data.options,t):t).$target||_(e.currentTarget).trigger("blur"),(s=_.fancybox.getInstance())&&s.$trigger&&s.$trigger.is(a)||(i=t.selector?_(t.selector):(n=a.attr("data-fancybox")||"")?(i=e.data?e.data.items:[]).length?i.filter('[data-fancybox="'+n+'"]'):_('[data-fancybox="'+n+'"]'):[a],r=_(i).index(a),(s=_.fancybox.open(i,t,r=r<0?0:r)).$trigger=a))}l.console=l.console||{info:function(e){}},_&&(_.fn.fancybox?console.info("fancyBox already initialized"):(e={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span>&nbsp;/&nbsp;<span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:_.noop,beforeLoad:_.noop,afterLoad:_.noop,beforeShow:_.noop,afterShow:_.noop,beforeClose:_.noop,afterClose:_.noop,onActivate:_.noop,onDeactivate:_.noop,clickContent:function(e,t){return"image"===e.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(e,t){return"image"===e.type&&"toggleControls"},clickSlide:function(e,t){return"image"===e.type?"toggleControls":"close"},dblclickContent:function(e,t){return"image"===e.type&&"zoom"},dblclickSlide:function(e,t){return"image"===e.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schlie&szlig;en",NEXT:"Weiter",PREV:"Zur&uuml;ck",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es sp&auml;ter nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergr&ouml;&szlig;ern"}}},s=_(l),i=_(r),o=0,c=l.requestAnimationFrame||l.webkitRequestAnimationFrame||l.mozRequestAnimationFrame||l.oRequestAnimationFrame||function(e){return l.setTimeout(e,1e3/60)},t=l.cancelAnimationFrame||l.webkitCancelAnimationFrame||l.mozCancelAnimationFrame||l.oCancelAnimationFrame||function(e){l.clearTimeout(e)},d=function(){var e,t=r.createElement("fakeelement"),a={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in a)if(t.style[e]!==f)return a[e];return"transitionend"}(),h=function(e){return e&&e.length&&e[0].offsetHeight},u=function(e,t){var a=_.extend(!0,{},e,t);return _.each(t,function(e,t){_.isArray(t)&&(a[e]=t)}),a},n=function(e,t,a){var n=this;n.opts=u({index:a},_.fancybox.defaults),_.isPlainObject(t)&&(n.opts=u(n.opts,t)),_.fancybox.isMobile&&(n.opts=u(n.opts,n.opts.mobile)),n.id=n.opts.id||++o,n.currIndex=parseInt(n.opts.index,10)||0,n.prevIndex=null,n.prevPos=null,n.currPos=0,n.firstRun=!0,n.group=[],n.slides={},n.addContent(e),n.group.length&&n.init()},_.extend(n.prototype,{init:function(){var t,a,n=this,s=n.group[n.currIndex].opts;s.closeExisting&&_.fancybox.close(!0),_("body").addClass("fancybox-active"),!_.fancybox.getInstance()&&!1!==s.hideScrollbar&&!_.fancybox.isMobile&&r.body.scrollHeight>l.innerHeight&&(_("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(l.innerWidth-r.documentElement.clientWidth)+"px;}</style>"),_("body").addClass("compensate-for-scrollbar")),a="",_.each(s.buttons,function(e,t){a+=s.btnTpl[t]||""}),t=_(n.translate(n,s.baseTpl.replace("{{buttons}}",a).replace("{{arrows}}",s.btnTpl.arrowLeft+s.btnTpl.arrowRight))).attr("id","fancybox-container-"+n.id).addClass(s.baseClass).data("FancyBox",n).appendTo(s.parentEl),n.$refs={container:t},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(e){n.$refs[e]=t.find(".fancybox-"+e)}),n.trigger("onInit"),n.activate(),n.jumpTo(n.currIndex)},translate:function(e,t){var a=e.opts.i18n[e.opts.lang]||e.opts.i18n.en;return t.replace(/\{\{(\w+)\}\}/g,function(e,t){return a[t]===f?e:a[t]})},addContent:function(e){var o=this,e=_.makeArray(e);_.each(e,function(e,t){var a,n,s,i={},r={};_.isPlainObject(t)?r=(i=t).opts||t:"object"===_.type(t)&&_(t).length?(r=(n=_(t)).data()||{},(r=_.extend(!0,{},r,r.options)).$orig=n,i.src=o.opts.src||r.src||n.attr("href"),i.type||i.src||(i.type="inline",i.src=t)):i={type:"html",src:t+""},i.opts=_.extend(!0,{},o.opts,r),_.isArray(r.buttons)&&(i.opts.buttons=r.buttons),_.fancybox.isMobile&&i.opts.mobile&&(i.opts=u(i.opts,i.opts.mobile)),a=i.type||i.opts.type,n=i.src||"",!a&&n&&((r=n.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(a="video",i.opts.video.format||(i.opts.video.format="video/"+("ogv"===r[1]?"ogg":r[1]))):n.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?a="image":n.match(/\.(pdf)((\?|#).*)?$/i)?i=_.extend(!0,i,{contentType:"pdf",opts:{iframe:{preload:!(a="iframe")}}}):"#"===n.charAt(0)&&(a="inline")),a?i.type=a:o.trigger("objectNeedsType",i),i.contentType||(i.contentType=-1<_.inArray(i.type,["html","inline","ajax"])?"html":i.type),i.index=o.group.length,"auto"==i.opts.smallBtn&&(i.opts.smallBtn=-1<_.inArray(i.type,["html","inline","ajax"])),"auto"===i.opts.toolbar&&(i.opts.toolbar=!i.opts.smallBtn),i.$thumb=i.opts.$thumb||null,i.opts.$trigger&&i.index===o.opts.index&&(i.$thumb=i.opts.$trigger.find("img:first"),i.$thumb.length&&(i.opts.$orig=i.opts.$trigger)),i.$thumb&&i.$thumb.length||!i.opts.$orig||(i.$thumb=i.opts.$orig.find("img:first")),i.$thumb&&!i.$thumb.length&&(i.$thumb=null),i.thumb=i.opts.thumb||(i.$thumb?i.$thumb[0].src:null),"function"===_.type(i.opts.caption)&&(i.opts.caption=i.opts.caption.apply(t,[o,i])),"function"===_.type(o.opts.caption)&&(i.opts.caption=o.opts.caption.apply(t,[o,i])),i.opts.caption instanceof _||(i.opts.caption=i.opts.caption===f?"":i.opts.caption+""),"ajax"===i.type&&1<(s=n.split(/\s+/,2)).length&&(i.src=s.shift(),i.opts.filter=s.shift()),i.opts.modal&&(i.opts=_.extend(!0,i.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),o.group.push(i)}),Object.keys(o.slides).length&&(o.updateControls(),(e=o.Thumbs)&&e.isActive&&(e.create(),e.focus()))},addEvents:function(){var n=this;n.removeEvents(),n.$refs.container.on("click.fb-close","[data-fancybox-close]",function(e){e.stopPropagation(),e.preventDefault(),n.close(e)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(e){e.stopPropagation(),e.preventDefault(),n.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(e){e.stopPropagation(),e.preventDefault(),n.next()}).on("click.fb","[data-fancybox-zoom]",function(e){n[n.isScaledDown()?"scaleToActual":"scaleToFit"]()}),s.on("orientationchange.fb resize.fb",function(e){e&&e.originalEvent&&"resize"===e.originalEvent.type?(n.requestId&&t(n.requestId),n.requestId=c(function(){n.update(e)})):(n.current&&"iframe"===n.current.type&&n.$refs.stage.hide(),setTimeout(function(){n.$refs.stage.show(),n.update(e)},_.fancybox.isMobile?600:250))}),i.on("keydown.fb",function(e){var t=(_.fancybox?_.fancybox.getInstance():null).current,a=e.keyCode||e.which;if(9!=a){if(!(!t.opts.keyboard||e.ctrlKey||e.altKey||e.shiftKey||_(e.target).is("input,textarea,video,audio,select")))return 8===a||27===a?(e.preventDefault(),void n.close(e)):37===a||38===a?(e.preventDefault(),void n.previous()):39===a||40===a?(e.preventDefault(),void n.next()):void n.trigger("afterKeydown",e,a)}else t.opts.trapFocus&&n.focus(e)}),n.group[n.currIndex].opts.idleTime&&(n.idleSecondsCounter=0,i.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(e){n.idleSecondsCounter=0,n.isIdle&&n.showControls(),n.isIdle=!1}),n.idleInterval=l.setInterval(function(){n.idleSecondsCounter++,n.idleSecondsCounter>=n.group[n.currIndex].opts.idleTime&&!n.isDragging&&(n.isIdle=!0,n.idleSecondsCounter=0,n.hideControls())},1e3))},removeEvents:function(){s.off("orientationchange.fb resize.fb"),i.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),this.idleInterval&&(l.clearInterval(this.idleInterval),this.idleInterval=null)},previous:function(e){return this.jumpTo(this.currPos-1,e)},next:function(e){return this.jumpTo(this.currPos+1,e)},jumpTo:function(e,n){var t,a,s,i,r,o,l,d,c=this,u=c.group.length;if(!(c.isDragging||c.isClosing||c.isAnimating&&c.firstRun))return e=parseInt(e,10),!(!(a=(c.current||c).opts.loop)&&(e<0||u<=e))&&(t=c.firstRun=!Object.keys(c.slides).length,i=c.current,c.prevIndex=c.currIndex,c.prevPos=c.currPos,s=c.createSlide(e),1<u&&((a||s.index<u-1)&&c.createSlide(e+1),(a||0<s.index)&&c.createSlide(e-1)),c.current=s,c.currIndex=s.index,c.currPos=s.pos,c.trigger("beforeShow",t),c.updateControls(),s.forcedDuration=f,_.isNumeric(n)?s.forcedDuration=n:n=s.opts[t?"animationDuration":"transitionDuration"],n=parseInt(n,10),e=c.isMoved(s),s.$slide.addClass("fancybox-slide--current"),t?(s.opts.animationEffect&&n&&c.$refs.container.css("transition-duration",n+"ms"),c.$refs.container.addClass("fancybox-is-open").trigger("focus"),c.loadSlide(s)):(r=_.fancybox.getTranslate(i.$slide),o=_.fancybox.getTranslate(c.$refs.stage),_.each(c.slides,function(e,t){_.fancybox.stop(t.$slide,!0)}),i.pos!==s.pos&&(i.isComplete=!1),i.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),e?(d=r.left-(i.pos*r.width+i.pos*i.opts.gutter),_.each(c.slides,function(e,t){t.$slide.removeClass("fancybox-animated").removeClass(function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var a=t.pos*r.width+t.pos*t.opts.gutter;_.fancybox.setTranslate(t.$slide,{top:0,left:a-o.left+d}),t.pos!==s.pos&&t.$slide.addClass("fancybox-slide--"+(t.pos>s.pos?"next":"previous")),h(t.$slide),_.fancybox.animate(t.$slide,{top:0,left:(t.pos-s.pos)*r.width+(t.pos-s.pos)*t.opts.gutter},n,function(){t.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),t.pos===c.currPos&&c.complete()})})):n&&s.opts.transitionEffect&&(l="fancybox-animated fancybox-fx-"+s.opts.transitionEffect,i.$slide.addClass("fancybox-slide--"+(i.pos>s.pos?"next":"previous")),_.fancybox.animate(i.$slide,l,n,function(){i.$slide.removeClass(l).removeClass("fancybox-slide--next fancybox-slide--previous")},!1)),s.isLoaded?c.revealContent(s):c.loadSlide(s)),void c.preload("image"))},createSlide:function(e){var t,a=this,n=e%a.group.length;return n=n<0?a.group.length+n:n,!a.slides[e]&&a.group[n]&&(t=_('<div class="fancybox-slide"></div>').appendTo(a.$refs.stage),a.slides[e]=_.extend(!0,{},a.group[n],{pos:e,$slide:t,isLoaded:!1}),a.updateSlide(a.slides[e])),a.slides[e]},scaleToActual:function(e,t,a){var n,s,i,r,o=this,l=o.current,d=l.$content,c=_.fancybox.getTranslate(l.$slide).width,u=_.fancybox.getTranslate(l.$slide).height,h=l.width,m=l.height;o.isAnimating||o.isMoved()||!d||"image"!=l.type||!l.isLoaded||l.hasError||(o.isAnimating=!0,_.fancybox.stop(d),e=e===f?.5*c:e,t=t===f?.5*u:t,(n=_.fancybox.getTranslate(d)).top-=_.fancybox.getTranslate(l.$slide).top,n.left-=_.fancybox.getTranslate(l.$slide).left,i=h/n.width,r=m/n.height,s=.5*c-.5*h,l=.5*u-.5*m,c<h&&(s=0<(s=n.left*i-(e*i-e))?0:s)<c-h&&(s=c-h),u<m&&(l=0<(l=n.top*r-(t*r-t))?0:l)<u-m&&(l=u-m),o.updateCursor(h,m),_.fancybox.animate(d,{top:l,left:s,scaleX:i,scaleY:r},a||366,function(){o.isAnimating=!1}),o.SlideShow&&o.SlideShow.isActive&&o.SlideShow.stop())},scaleToFit:function(e){var t=this,a=t.current,n=a.$content;t.isAnimating||t.isMoved()||!n||"image"!=a.type||!a.isLoaded||a.hasError||(t.isAnimating=!0,_.fancybox.stop(n),a=t.getFitPos(a),t.updateCursor(a.width,a.height),_.fancybox.animate(n,{top:a.top,left:a.left,scaleX:a.width/n.width(),scaleY:a.height/n.height()},e||366,function(){t.isAnimating=!1}))},getFitPos:function(e){var t,a,n=e.$content,s=e.$slide,i=e.width||e.opts.width,r=e.height||e.opts.height,o={};return!!(e.isLoaded&&n&&n.length)&&(t=_.fancybox.getTranslate(this.$refs.stage).width,a=_.fancybox.getTranslate(this.$refs.stage).height,t-=parseFloat(s.css("paddingLeft"))+parseFloat(s.css("paddingRight"))+parseFloat(n.css("marginLeft"))+parseFloat(n.css("marginRight")),a-=parseFloat(s.css("paddingTop"))+parseFloat(s.css("paddingBottom"))+parseFloat(n.css("marginTop"))+parseFloat(n.css("marginBottom")),i&&r||(i=t,r=a),t-.5<(i*=n=Math.min(1,t/i,a/r))&&(i=t),a-.5<(r*=n)&&(r=a),"image"===e.type?(o.top=Math.floor(.5*(a-r))+parseFloat(s.css("paddingTop")),o.left=Math.floor(.5*(t-i))+parseFloat(s.css("paddingLeft"))):"video"===e.contentType&&(i/(e=e.opts.width&&e.opts.height?i/r:e.opts.ratio||16/9)<r?r=i/e:r*e<i&&(i=r*e)),o.width=i,o.height=r,o)},update:function(a){var n=this;_.each(n.slides,function(e,t){n.updateSlide(t,a)})},updateSlide:function(e,t){var a=this,n=e&&e.$content,s=e.width||e.opts.width,i=e.height||e.opts.height,r=e.$slide;a.adjustCaption(e),n&&(s||i||"video"===e.contentType)&&!e.hasError&&(_.fancybox.stop(n),_.fancybox.setTranslate(n,a.getFitPos(e)),e.pos===a.currPos&&(a.isAnimating=!1,a.updateCursor())),a.adjustLayout(e),r.length&&(r.trigger("refresh"),e.pos===a.currPos&&a.$refs.toolbar.add(a.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",r.get(0).scrollHeight>r.get(0).clientHeight)),a.trigger("onUpdate",e,t)},centerSlide:function(e){var t=this,a=t.current,n=a.$slide;!t.isClosing&&a&&(n.siblings().css({transform:"",opacity:""}),n.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),_.fancybox.animate(n,{top:0,left:0,opacity:1},e===f?0:e,function(){n.css({transform:"",opacity:""}),a.isComplete||t.complete()},!1))},isMoved:function(e){var t,a=e||this.current;return!!a&&(t=_.fancybox.getTranslate(this.$refs.stage),e=_.fancybox.getTranslate(a.$slide),!a.$slide.hasClass("fancybox-animated")&&(.5<Math.abs(e.top-t.top)||.5<Math.abs(e.left-t.left)))},updateCursor:function(e,t){var a=this,n=a.current,s=a.$refs.container;n&&!a.isClosing&&a.Guestures&&(s.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),t=!!(e=a.canPan(e,t))||a.isZoomable(),s.toggleClass("fancybox-is-zoomable",t),_("[data-fancybox-zoom]").prop("disabled",!t),e?s.addClass("fancybox-can-pan"):t&&("zoom"===n.opts.clickContent||_.isFunction(n.opts.clickContent)&&"zoom"==n.opts.clickContent(n))?s.addClass("fancybox-can-zoomIn"):n.opts.touch&&(n.opts.touch.vertical||1<a.group.length)&&"video"!==n.contentType&&s.addClass("fancybox-can-swipe"))},isZoomable:function(){var e,t=this.current;if(t&&!this.isClosing&&"image"===t.type&&!t.hasError){if(!t.isLoaded)return!0;if((e=this.getFitPos(t))&&(t.width>e.width||t.height>e.height))return!0}return!1},isScaledDown:function(e,t){var a=!1,n=this.current,s=n.$content;return e!==f&&t!==f?a=e<n.width&&t<n.height:s&&(a=(a=_.fancybox.getTranslate(s)).width<n.width&&a.height<n.height),a},canPan:function(e,t){var a=this.current,n=null,s=!1;return"image"===a.type&&(a.isComplete||e&&t)&&!a.hasError&&(s=this.getFitPos(a),e!==f&&t!==f?n={width:e,height:t}:a.isComplete&&(n=_.fancybox.getTranslate(a.$content)),n&&s&&(s=1.5<Math.abs(n.width-s.width)||1.5<Math.abs(n.height-s.height))),s},loadSlide:function(a){var e,t,n,s=this;if(!a.isLoading&&!a.isLoaded){if(!(a.isLoading=!0)===s.trigger("beforeLoad",a))return a.isLoading=!1;switch(e=a.type,(t=a.$slide).off("refresh").trigger("onReset").addClass(a.opts.slideClass),e){case"image":s.setImage(a);break;case"iframe":s.setIframe(a);break;case"html":s.setContent(a,a.src||a.content);break;case"video":s.setContent(a,a.opts.video.tpl.replace(/\{\{src\}\}/gi,a.src).replace("{{format}}",a.opts.videoFormat||a.opts.video.format||"").replace("{{poster}}",a.thumb||""));break;case"inline":_(a.src).length?s.setContent(a,_(a.src)):s.setError(a);break;case"ajax":s.showLoading(a),n=_.ajax(_.extend({},a.opts.ajax.settings,{url:a.src,success:function(e,t){"success"===t&&s.setContent(a,e)},error:function(e,t){e&&"abort"!==t&&s.setError(a)}})),t.one("onReset",function(){n.abort()});break;default:s.setError(a)}return!0}},setImage:function(t){var e,a=this;setTimeout(function(){var e=t.$image;a.isClosing||!t.isLoading||e&&e.length&&e[0].complete||t.hasError||a.showLoading(t)},50),a.checkSrcset(t),t.$content=_('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide.addClass("fancybox-slide--image")),!1!==t.opts.preload&&t.opts.width&&t.opts.height&&t.thumb&&(t.width=t.opts.width,t.height=t.opts.height,(e=r.createElement("img")).onerror=function(){_(this).remove(),t.$ghost=null},e.onload=function(){a.afterLoad(t)},t.$ghost=_(e).addClass("fancybox-image").appendTo(t.$content).attr("src",t.thumb)),a.setBigImage(t)},checkSrcset:function(e){var t,a,n,s,i=e.opts.srcset||e.opts.image.srcset;if(i){n=l.devicePixelRatio||1,s=l.innerWidth*n,(a=i.split(",").map(function(e){var n={};return e.trim().split(/\s+/).forEach(function(e,t){var a=parseInt(e.substring(0,e.length-1),10);if(0===t)return n.url=e;a&&(n.value=a,n.postfix=e[e.length-1])}),n})).sort(function(e,t){return e.value-t.value});for(var r=0;r<a.length;r++){var o=a[r];if("w"===o.postfix&&o.value>=s||"x"===o.postfix&&o.value>=n){t=o;break}}(t=!t&&a.length?a[a.length-1]:t)&&(e.src=t.url,e.width&&e.height&&"w"==t.postfix&&(e.height=e.width/e.height*t.value,e.width=t.value),e.opts.srcset=i)}},setBigImage:function(t){var a=this,e=r.createElement("img"),n=_(e);t.$image=n.one("error",function(){a.setError(t)}).one("load",function(){var e;t.$ghost||(a.resolveImageSlideSize(t,this.naturalWidth,this.naturalHeight),a.afterLoad(t)),a.isClosing||(t.opts.srcset&&((e=t.opts.sizes)&&"auto"!==e||(e=(1<t.width/t.height&&1<s.width()/s.height()?"100":Math.round(t.width/t.height*100))+"vw"),n.attr("sizes",e).attr("srcset",t.opts.srcset)),t.$ghost&&setTimeout(function(){t.$ghost&&!a.isClosing&&t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))),a.hideLoading(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(e.complete||"complete"==e.readyState)&&n.naturalWidth&&n.naturalHeight?n.trigger("load"):e.error&&n.trigger("error")},resolveImageSlideSize:function(e,t,a){var n=parseInt(e.opts.width,10),s=parseInt(e.opts.height,10);e.width=t,e.height=a,0<n&&(e.width=n,e.height=Math.floor(n*a/t)),0<s&&(e.width=Math.floor(s*t/a),e.height=s)},setIframe:function(s){var i,t=this,r=s.opts.iframe,o=s.$slide;s.$content=_('<div class="fancybox-content'+(r.preload?" fancybox-is-hidden":"")+'"></div>').css(r.css).appendTo(o),o.addClass("fancybox-slide--"+s.contentType),s.$iframe=i=_(r.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(r.attr).appendTo(s.$content),r.preload?(t.showLoading(s),i.on("load.fb error.fb",function(e){this.isReady=1,s.$slide.trigger("refresh"),t.afterLoad(s)}),o.on("refresh.fb",function(){var e,t=s.$content,a=r.css.width,n=r.css.height;if(1===i[0].isReady){try{e=i.contents().find("body")}catch(e){}e&&e.length&&e.children().length&&(o.css("overflow","visible"),t.css({width:"100%","max-width":"100%",height:"9999px"}),a===f&&(a=Math.ceil(Math.max(e[0].clientWidth,e.outerWidth(!0)))),t.css("width",a||"").css("max-width",""),n===f&&(n=Math.ceil(Math.max(e[0].clientHeight,e.outerHeight(!0)))),t.css("height",n||""),o.css("overflow","auto")),t.removeClass("fancybox-is-hidden")}})):t.afterLoad(s),i.attr("src",s.src),o.one("onReset",function(){try{_(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(e){}_(this).off("refresh.fb").empty(),s.isLoaded=!1,s.isRevealed=!1})},setContent:function(e,t){var a;this.isClosing||(this.hideLoading(e),e.$content&&_.fancybox.stop(e.$content),e.$slide.empty(),(a=t)&&a.hasOwnProperty&&a instanceof _&&t.parent().length?((t.hasClass("fancybox-content")||t.parent().hasClass("fancybox-content"))&&t.parents(".fancybox-slide").trigger("onReset"),e.$placeholder=_("<div>").hide().insertAfter(t),t.css("display","inline-block")):e.hasError||("string"===_.type(t)&&(t=_("<div>").append(_.trim(t)).contents()),e.opts.filter&&(t=_("<div>").html(t).find(e.opts.filter))),e.$slide.one("onReset",function(){_(this).find("video,audio").trigger("pause"),e.$placeholder&&(e.$placeholder.after(t.removeClass("fancybox-content").hide()).remove(),e.$placeholder=null),e.$smallBtn&&(e.$smallBtn.remove(),e.$smallBtn=null),e.hasError||(_(this).empty(),e.isLoaded=!1,e.isRevealed=!1)}),_(t).appendTo(e.$slide),_(t).is("video,audio")&&(_(t).addClass("fancybox-video"),_(t).wrap("<div></div>"),e.contentType="video",e.opts.width=e.opts.width||_(t).attr("width"),e.opts.height=e.opts.height||_(t).attr("height")),e.$content=e.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),e.$content.siblings().hide(),e.$content.length||(e.$content=e.$slide.wrapInner("<div></div>").children().first()),e.$content.addClass("fancybox-content"),e.$slide.addClass("fancybox-slide--"+e.contentType),this.afterLoad(e))},setError:function(e){e.hasError=!0,e.$slide.trigger("onReset").removeClass("fancybox-slide--"+e.contentType).addClass("fancybox-slide--error"),e.contentType="html",this.setContent(e,this.translate(e,e.opts.errorTpl)),e.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(e){(e=e||this.current)&&!e.$spinner&&(e.$spinner=_(this.translate(this,this.opts.spinnerTpl)).appendTo(e.$slide).hide().fadeIn("fast"))},hideLoading:function(e){(e=e||this.current)&&e.$spinner&&(e.$spinner.stop().remove(),delete e.$spinner)},afterLoad:function(e){var t=this;t.isClosing||(e.isLoading=!1,e.isLoaded=!0,t.trigger("afterLoad",e),t.hideLoading(e),!e.opts.smallBtn||e.$smallBtn&&e.$smallBtn.length||(e.$smallBtn=_(t.translate(e,e.opts.btnTpl.smallBtn)).appendTo(e.$content)),e.opts.protect&&e.$content&&!e.hasError&&(e.$content.on("contextmenu.fb",function(e){return 2==e.button&&e.preventDefault(),!0}),"image"===e.type&&_('<div class="fancybox-spaceball"></div>').appendTo(e.$content)),t.adjustCaption(e),t.adjustLayout(e),e.pos===t.currPos&&t.updateCursor(),t.revealContent(e))},adjustCaption:function(e){var t=this,a=e||t.current,n=a.opts.caption,s=a.opts.preventCaptionOverlap,i=t.$refs.caption,e=!1;i.toggleClass("fancybox-caption--separate",s),s&&n&&n.length&&(a.pos!==t.currPos?((i=i.clone().appendTo(i.parent())).children().eq(0).empty().html(n),e=i.outerHeight(!0),i.empty().remove()):t.$caption&&(e=t.$caption.outerHeight(!0)),a.$slide.css("padding-bottom",e||""))},adjustLayout:function(e){var t,a,n,s=e||this.current;s.isLoaded&&!0!==s.opts.disableLayoutFix&&(s.$content.css("margin-bottom",""),s.$content.outerHeight()>s.$slide.height()+.5&&(a=s.$slide[0].style["padding-bottom"],n=s.$slide.css("padding-bottom"),0<parseFloat(n)&&(e=s.$slide[0].scrollHeight,s.$slide.css("padding-bottom",0),Math.abs(e-s.$slide[0].scrollHeight)<1&&(t=n),s.$slide.css("padding-bottom",a))),s.$content.css("margin-bottom",t))},revealContent:function(e){var t,a,n,s,i=this,r=e.$slide,o=!1,l=!1,d=i.isMoved(e),c=e.isRevealed;return e.isRevealed=!0,t=e.opts[i.firstRun?"animationEffect":"transitionEffect"],n=e.opts[i.firstRun?"animationDuration":"transitionDuration"],n=parseInt(e.forcedDuration===f?n:e.forcedDuration,10),"zoom"===(t=d||e.pos!==i.currPos||!n?!1:t)&&(e.pos===i.currPos&&n&&"image"===e.type&&!e.hasError&&(l=i.getThumbPos(e))?o=i.getFitPos(e):t="fade"),"zoom"===t?(i.isAnimating=!0,o.scaleX=o.width/l.width,o.scaleY=o.height/l.height,(s="auto"==(s=e.opts.zoomOpacity)?.1<Math.abs(e.width/e.height-l.width/l.height):s)&&(l.opacity=.1,o.opacity=1),_.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),l),h(e.$content),void _.fancybox.animate(e.$content,o,n,function(){i.isAnimating=!1,i.complete()})):(i.updateSlide(e),t?(_.fancybox.stop(r),a="fancybox-slide--"+(e.pos>=i.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+t,r.addClass(a).removeClass("fancybox-slide--current"),e.$content.removeClass("fancybox-is-hidden"),h(r),"image"!==e.type&&e.$content.hide().show(0),void _.fancybox.animate(r,"fancybox-slide--current",n,function(){r.removeClass(a).css({transform:"",opacity:""}),e.pos===i.currPos&&i.complete()},!0)):(e.$content.removeClass("fancybox-is-hidden"),c||!d||"image"!==e.type||e.hasError||e.$content.hide().fadeIn("fast"),void(e.pos===i.currPos&&i.complete())))},getThumbPos:function(e){var t,a,n,s,i=e.$thumb;return!!(i&&(n=i[0])&&n.ownerDocument===r&&(_(".fancybox-container").css("pointer-events","none"),s={x:n.getBoundingClientRect().left+n.offsetWidth/2,y:n.getBoundingClientRect().top+n.offsetHeight/2},n=r.elementFromPoint(s.x,s.y)===n,_(".fancybox-container").css("pointer-events",""),n))&&(a=_.fancybox.getTranslate(i),e=parseFloat(i.css("border-top-width")||0),s=parseFloat(i.css("border-right-width")||0),n=parseFloat(i.css("border-bottom-width")||0),i=parseFloat(i.css("border-left-width")||0),t={top:a.top+e,left:a.left+i,width:a.width-s-i,height:a.height-e-n,scaleX:1,scaleY:1},0<a.width&&0<a.height&&t)},complete:function(){var e,a=this,t=a.current,n={};!a.isMoved()&&t.isLoaded&&(t.isComplete||(t.isComplete=!0,t.$slide.siblings().trigger("onReset"),a.preload("inline"),h(t.$slide),t.$slide.addClass("fancybox-slide--complete"),_.each(a.slides,function(e,t){t.pos>=a.currPos-1&&t.pos<=a.currPos+1?n[t.pos]=t:t&&(_.fancybox.stop(t.$slide),t.$slide.off().remove())}),a.slides=n),a.isAnimating=!1,a.updateCursor(),a.trigger("afterShow"),t.opts.video.autoStart&&t.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),a.next()}),t.opts.autoFocus&&"html"===t.contentType&&((e=t.$content.find("input[autofocus]:enabled:visible:first")).length?e.trigger("focus"):a.focus(null,!0)),t.$slide.scrollTop(0).scrollLeft(0))},preload:function(e){var t,a,n=this;n.group.length<2||(a=n.slides[n.currPos+1],(t=n.slides[n.currPos-1])&&t.type===e&&n.loadSlide(t),a&&a.type===e&&n.loadSlide(a))},focus:function(e,t){var a=this,n=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");a.isClosing||((t=(t=!e&&a.current&&a.current.isComplete?a.current.$slide.find("*:visible"+(t?":not(.fancybox-close-small)":"")):a.$refs.container.find("*:visible")).filter(n).filter(function(){return"hidden"!==_(this).css("visibility")&&!_(this).hasClass("disabled")})).length?(n=t.index(r.activeElement),e&&e.shiftKey?(n<0||0==n)&&(e.preventDefault(),t.eq(t.length-1).trigger("focus")):(n<0||n==t.length-1)&&(e&&e.preventDefault(),t.eq(0).trigger("focus"))):a.$refs.container.trigger("focus"))},activate:function(){var t=this;_(".fancybox-container").each(function(){var e=_(this).data("FancyBox");e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)}),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(e,t){function a(){l.cleanUp(e)}var n,s,i,r,o,l=this,d=l.current;return!l.isClosing&&(!(l.isClosing=!0)===l.trigger("beforeClose",e)?(l.isClosing=!1,c(function(){l.update()}),!1):(l.removeEvents(),i=d.$content,n=d.opts.animationEffect,s=_.isNumeric(t)?t:n?d.opts.animationDuration:0,d.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==e?_.fancybox.stop(d.$slide):n=!1,d.$slide.siblings().trigger("onReset").remove(),s&&l.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",s+"ms"),l.hideLoading(d),l.hideControls(!0),l.updateCursor(),"zoom"===(n=!("zoom"!==n||i&&s&&"image"===d.type&&!l.isMoved()&&!d.hasError&&(o=l.getThumbPos(d)))?"fade":n)?(_.fancybox.stop(i),t={top:(r=_.fancybox.getTranslate(i)).top,left:r.left,scaleX:r.width/o.width,scaleY:r.height/o.height,width:o.width,height:o.height},(r="auto"==(r=d.opts.zoomOpacity)?.1<Math.abs(d.width/d.height-o.width/o.height):r)&&(o.opacity=0),_.fancybox.setTranslate(i,t),h(i),_.fancybox.animate(i,o,s,a)):n&&s?_.fancybox.animate(d.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+n,s,a):!0===e?setTimeout(a,s):a(),!0))},cleanUp:function(e){var t,a=this,n=a.current.opts.$orig;a.current.$slide.trigger("onReset"),a.$refs.container.empty().remove(),a.trigger("afterClose",e),a.current.opts.backFocus&&(n=n&&n.length&&n.is(":visible")?n:a.$trigger)&&n.length&&(t=l.scrollX,e=l.scrollY,n.trigger("focus"),_("html, body").scrollTop(e).scrollLeft(t)),a.current=null,(a=_.fancybox.getInstance())?a.activate():(_("body").removeClass("fancybox-active compensate-for-scrollbar"),_("#fancybox-style-noscroll").remove())},trigger:function(e,t){var a,n=Array.prototype.slice.call(arguments,1),s=this,t=t&&t.opts?t:s.current;if(t?n.unshift(t):t=s,n.unshift(s),!1===(a=_.isFunction(t.opts[e])?t.opts[e].apply(t,n):a))return a;("afterClose"!==e&&s.$refs?s.$refs.container:i).trigger(e+".fb",n)},updateControls:function(){var e=this,t=e.current,a=t.index,n=e.$refs.container,s=e.$refs.caption,i=t.opts.caption;t.$slide.trigger("refresh"),i&&i.length?(e.$caption=s).children().eq(0).html(i):e.$caption=null,e.hasHiddenControls||e.isIdle||e.showControls(),n.find("[data-fancybox-count]").html(e.group.length),n.find("[data-fancybox-index]").html(a+1),n.find("[data-fancybox-prev]").prop("disabled",!t.opts.loop&&a<=0),n.find("[data-fancybox-next]").prop("disabled",!t.opts.loop&&a>=e.group.length-1),"image"===t.type?n.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",t.opts.image.src||t.src).show():t.opts.toolbar&&n.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),_(r.activeElement).is(":hidden,[disabled]")&&e.$refs.container.trigger("focus")},hideControls:function(e){var t=["infobar","toolbar","nav"];!e&&this.current.opts.preventCaptionOverlap||t.push("caption"),this.$refs.container.removeClass(t.map(function(e){return"fancybox-show-"+e}).join(" ")),this.hasHiddenControls=!0},showControls:function(){var e=this,t=(e.current||e).opts,a=e.$refs.container;e.hasHiddenControls=!1,e.idleSecondsCounter=0,a.toggleClass("fancybox-show-toolbar",!(!t.toolbar||!t.buttons)).toggleClass("fancybox-show-infobar",!!(t.infobar&&1<e.group.length)).toggleClass("fancybox-show-caption",!!e.$caption).toggleClass("fancybox-show-nav",!!(t.arrows&&1<e.group.length)).toggleClass("fancybox-is-modal",!!t.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),_.fancybox={version:"3.5.7",defaults:e,getInstance:function(e){var t=_('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),a=Array.prototype.slice.call(arguments,1);return t instanceof n&&("string"===_.type(e)?t[e].apply(t,a):"function"===_.type(e)&&e.apply(t,a),t)},open:function(e,t,a){return new n(e,t,a)},close:function(e){var t=this.getInstance();t&&(t.close(),!0===e&&this.close(e))},destroy:function(){this.close(!0),i.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(e=r.createElement("div"),l.getComputedStyle&&l.getComputedStyle(e)&&l.getComputedStyle(e).getPropertyValue("transform")&&!(r.documentMode&&r.documentMode<11)),getTranslate:function(e){var t;return!(!e||!e.length)&&{top:(t=e[0].getBoundingClientRect()).top||0,left:t.left||0,width:t.width,height:t.height,opacity:parseFloat(e.css("opacity"))}},setTranslate:function(e,t){var a="",n={};if(e&&t)return t.left===f&&t.top===f||(a=(t.left===f?e.position():t).left+"px, "+(t.top===f?e.position():t).top+"px",a=this.use3d?"translate3d("+a+", 0px)":"translate("+a+")"),t.scaleX!==f&&t.scaleY!==f?a+=" scale("+t.scaleX+", "+t.scaleY+")":t.scaleX!==f&&(a+=" scaleX("+t.scaleX+")"),a.length&&(n.transform=a),t.opacity!==f&&(n.opacity=t.opacity),t.width!==f&&(n.width=t.width),t.height!==f&&(n.height=t.height),e.css(n)},animate:function(t,a,n,s,i){var r,o=this;_.isFunction(n)&&(s=n,n=null),o.stop(t),r=o.getTranslate(t),t.on(d,function(e){e&&e.originalEvent&&(!t.is(e.originalEvent.target)||"z-index"==e.originalEvent.propertyName)||(o.stop(t),_.isNumeric(n)&&t.css("transition-duration",""),_.isPlainObject(a)?a.scaleX!==f&&a.scaleY!==f&&o.setTranslate(t,{top:a.top,left:a.left,width:r.width*a.scaleX,height:r.height*a.scaleY,scaleX:1,scaleY:1}):!0!==i&&t.removeClass(a),_.isFunction(s)&&s(e))}),_.isNumeric(n)&&t.css("transition-duration",n+"ms"),_.isPlainObject(a)?(a.scaleX!==f&&a.scaleY!==f&&(delete a.width,delete a.height,t.parent().hasClass("fancybox-slide--image")&&t.parent().addClass("fancybox-is-scaling")),_.fancybox.setTranslate(t,a)):t.addClass(a),t.data("timer",setTimeout(function(){t.trigger(d)},n+33))},stop:function(e,t){e&&e.length&&(clearTimeout(e.data("timer")),t&&e.trigger(d),e.off(d).css("transition-duration",""),e.parent().removeClass("fancybox-is-scaling"))}},_.fn.fancybox=function(e){var t;return(t=(e=e||{}).selector||!1)?_("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},g):this.off("click.fb-start").on("click.fb-start",{items:this,options:e},g),this},i.on("click.fb-start","[data-fancybox]",g),i.on("click.fb-start","[data-fancybox-trigger]",function(e){_('[data-fancybox="'+_(this).attr("data-fancybox-trigger")+'"]').eq(_(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:_(this)})}),a=".fancybox-button",m="fancybox-focus",p=null,i.on("mousedown mouseup focus blur",a,function(e){switch(e.type){case"mousedown":p=_(this);break;case"mouseup":p=null;break;case"focusin":_(a).removeClass(m),_(this).is(p)||_(this).is("[disabled]")||_(this).addClass(m);break;case"focusout":_(a).removeClass(m)}})))}(window,document,jQuery),function(m){"use strict";function _(a,e,t){if(a)return"object"===m.type(t=t||"")&&(t=m.param(t,!0)),m.each(e,function(e,t){a=a.replace("$"+e,t||"")}),t.length&&(a+=(0<a.indexOf("?")?"&":"?")+t),a}var n={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12]+"").replace(/\?/,"&")+"&output="+(e[12]&&0<e[12].indexOf("layer=c")?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/maps?q="+e[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}};m(document).on("objectNeedsType.fb",function(e,t,s){var i,r,o,l,d,c,u=s.src||"",h=!1,a=m.extend(!0,{},n,s.opts.media);m.each(a,function(e,t){if(r=u.match(t.matcher)){if(h=t.type,c=e,d={},t.paramPlace&&r[t.paramPlace]){l=(l="?"==(l=r[t.paramPlace])[0]?l.substring(1):l).split("&");for(var a=0;a<l.length;++a){var n=l[a].split("=",2);2==n.length&&(d[n[0]]=decodeURIComponent(n[1].replace(/\+/g," ")))}}return o=m.extend(!0,{},t.params,s.opts[e],d),u="function"===m.type(t.url)?t.url.call(this,r,o,s):_(t.url,r,o),i="function"===m.type(t.thumb)?t.thumb.call(this,r,o,s):_(t.thumb,r),"youtube"===e?u=u.replace(/&t=((\d+)m)?(\d+)s/,function(e,t,a,n){return"&start="+((a?60*parseInt(a,10):0)+parseInt(n,10))}):"vimeo"===e&&(u=u.replace("&%23","#")),!1}}),h?(s.opts.thumb||s.opts.$thumb&&s.opts.$thumb.length||(s.opts.thumb=i),"iframe"===h&&(s.opts=m.extend(!0,s.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),m.extend(s,{type:h,src:u,origSrc:s.src,contentSource:c,contentType:"image"===h?"image":"gmap_place"==c||"gmap_search"==c?"map":"video"})):u&&(s.type=s.opts.defaultType)});var s={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(e){var t,a=this;this[e].loaded?setTimeout(function(){a.done(e)}):this[e].loading||(this[e].loading=!0,(t=document.createElement("script")).type="text/javascript",t.src=this[e].src,"youtube"===e?window.onYouTubeIframeAPIReady=function(){a[e].loaded=!0,a.done(e)}:t.onload=function(){a[e].loaded=!0,a.done(e)},document.body.appendChild(t))},done:function(e){var t,a;"youtube"===e&&delete window.onYouTubeIframeAPIReady,(t=m.fancybox.getInstance())&&(a=t.current.$content.find("iframe"),"youtube"===e&&void 0!==YT&&YT?new YT.Player(a.attr("id"),{events:{onStateChange:function(e){0==e.data&&t.next()}}}):"vimeo"===e&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(a).on("ended",function(){t.next()}))}};m(document).on({"afterShow.fb":function(e,t,a){1<t.group.length&&("youtube"===a.contentSource||"vimeo"===a.contentSource)&&s.load(a.contentSource)}})}(jQuery),function(c,l,u){"use strict";function h(e){var t,a=[];for(t in e=(e=e.originalEvent||e||c.e).touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e])e[t].pageX?a.push({x:e[t].pageX,y:e[t].pageY}):e[t].clientX&&a.push({x:e[t].clientX,y:e[t].clientY});return a}function m(e,t,a){return t&&e?"x"===a?e.x-t.x:"y"===a?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function d(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||u.isFunction(e.get(0).onclick)||e.data("selectable"))return 1;for(var t=0,a=e[0].attributes,n=a.length;t<n;t++)if("data-fancybox-"===a[t].nodeName.substr(0,14))return 1}function _(e){for(var t,a,n,s=!1;t=e.get(0),a=n=a=void 0,a=c.getComputedStyle(t)["overflow-y"],n=c.getComputedStyle(t)["overflow-x"],a=("scroll"===a||"auto"===a)&&t.scrollHeight>t.clientHeight,t=("scroll"===n||"auto"===n)&&t.scrollWidth>t.clientWidth,!(s=a||t)&&(e=e.parent()).length&&!e.hasClass("fancybox-stage")&&!e.is("body"););return s}function a(e){var t=this;t.instance=e,t.$bg=e.$refs.bg,t.$stage=e.$refs.stage,t.$container=e.$refs.container,t.destroy(),t.$container.on("touchstart.fb.touch mousedown.fb.touch",u.proxy(t,"ontouchstart"))}var f=c.requestAnimationFrame||c.webkitRequestAnimationFrame||c.mozRequestAnimationFrame||c.oRequestAnimationFrame||function(e){return c.setTimeout(e,1e3/60)},p=c.cancelAnimationFrame||c.webkitCancelAnimationFrame||c.mozCancelAnimationFrame||c.oCancelAnimationFrame||function(e){c.clearTimeout(e)};a.prototype.destroy=function(){var e=this;e.$container.off(".fb.touch"),u(l).off(".fb.touch"),e.requestId&&(p(e.requestId),e.requestId=null),e.tapped&&(clearTimeout(e.tapped),e.tapped=null)},a.prototype.ontouchstart=function(e){var t=this,a=u(e.target),n=t.instance,s=n.current,i=s.$slide,r=s.$content,o="touchstart"==e.type;if(o&&t.$container.off("mousedown.fb.touch"),(!e.originalEvent||2!=e.originalEvent.button)&&i.length&&a.length&&!d(a)&&!d(a.parent())&&(a.is("img")||!(e.originalEvent.clientX>a[0].clientWidth+a.offset().left))){if(!s||n.isAnimating||s.$slide.hasClass("fancybox-animated"))return e.stopPropagation(),void e.preventDefault();t.realPoints=t.startPoints=h(e),t.startPoints.length&&(s.touch&&e.stopPropagation(),t.startEvent=e,t.canTap=!0,t.$target=a,t.$content=r,t.opts=s.opts.touch,t.isPanning=!1,t.isSwiping=!1,t.isZooming=!1,t.isScrolling=!1,t.canPan=n.canPan(),t.startTime=(new Date).getTime(),t.distanceX=t.distanceY=t.distance=0,t.canvasWidth=Math.round(i[0].clientWidth),t.canvasHeight=Math.round(i[0].clientHeight),t.contentLastPos=null,t.contentStartPos=u.fancybox.getTranslate(t.$content)||{top:0,left:0},t.sliderStartPos=u.fancybox.getTranslate(i),t.stagePos=u.fancybox.getTranslate(n.$refs.stage),t.sliderStartPos.top-=t.stagePos.top,t.sliderStartPos.left-=t.stagePos.left,t.contentStartPos.top-=t.stagePos.top,t.contentStartPos.left-=t.stagePos.left,u(l).off(".fb.touch").on(o?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",u.proxy(t,"ontouchend")).on(o?"touchmove.fb.touch":"mousemove.fb.touch",u.proxy(t,"ontouchmove")),u.fancybox.isMobile&&l.addEventListener("scroll",t.onscroll,!0),((t.opts||t.canPan)&&(a.is(t.$stage)||t.$stage.find(a).length)||(a.is(".fancybox-image")&&e.preventDefault(),u.fancybox.isMobile&&a.parents(".fancybox-caption").length))&&(t.isScrollable=_(a)||_(a.parent()),u.fancybox.isMobile&&t.isScrollable||e.preventDefault(),1!==t.startPoints.length&&!s.hasError||(t.canPan?(u.fancybox.stop(t.$content),t.isPanning=!0):t.isSwiping=!0,t.$container.addClass("fancybox-is-grabbing")),2===t.startPoints.length&&"image"===s.type&&(s.isLoaded||s.$ghost)&&(t.canTap=!1,t.isSwiping=!1,t.isPanning=!1,t.isZooming=!0,u.fancybox.stop(t.$content),t.centerPointStartX=.5*(t.startPoints[0].x+t.startPoints[1].x)-u(c).scrollLeft(),t.centerPointStartY=.5*(t.startPoints[0].y+t.startPoints[1].y)-u(c).scrollTop(),t.percentageOfImageAtPinchPointX=(t.centerPointStartX-t.contentStartPos.left)/t.contentStartPos.width,t.percentageOfImageAtPinchPointY=(t.centerPointStartY-t.contentStartPos.top)/t.contentStartPos.height,t.startDistanceBetweenFingers=m(t.startPoints[0],t.startPoints[1]))))}},a.prototype.onscroll=function(e){this.isScrolling=!0,l.removeEventListener("scroll",this.onscroll,!0)},a.prototype.ontouchmove=function(e){var t=this;void 0===e.originalEvent.buttons||0!==e.originalEvent.buttons?t.isScrolling?t.canTap=!1:(t.newPoints=h(e),(t.opts||t.canPan)&&t.newPoints.length&&t.newPoints.length&&(t.isSwiping&&!0===t.isSwiping||e.preventDefault(),t.distanceX=m(t.newPoints[0],t.startPoints[0],"x"),t.distanceY=m(t.newPoints[0],t.startPoints[0],"y"),t.distance=m(t.newPoints[0],t.startPoints[0]),0<t.distance&&(t.isSwiping?t.onSwipe(e):t.isPanning?t.onPan():t.isZooming&&t.onZoom()))):t.ontouchend(e)},a.prototype.onSwipe=function(e){var s=this,i=s.instance,t=s.isSwiping,a=s.sliderStartPos.left||0;if(!0!==t)"x"==t&&(0<s.distanceX&&(s.instance.group.length<2||0===s.instance.current.index&&!s.instance.current.opts.loop)?a+=Math.pow(s.distanceX,.8):s.distanceX<0&&(s.instance.group.length<2||s.instance.current.index===s.instance.group.length-1&&!s.instance.current.opts.loop)?a-=Math.pow(-s.distanceX,.8):a+=s.distanceX),s.sliderLastPos={top:"x"==t?0:s.sliderStartPos.top+s.distanceY,left:a},s.requestId&&(p(s.requestId),s.requestId=null),s.requestId=f(function(){s.sliderLastPos&&(u.each(s.instance.slides,function(e,t){var a=t.pos-s.instance.currPos;u.fancybox.setTranslate(t.$slide,{top:s.sliderLastPos.top,left:s.sliderLastPos.left+a*s.canvasWidth+a*t.opts.gutter})}),s.$container.addClass("fancybox-is-sliding"))});else if(10<Math.abs(s.distance)){if(s.canTap=!1,i.group.length<2&&s.opts.vertical?s.isSwiping="y":i.isDragging||!1===s.opts.vertical||"auto"===s.opts.vertical&&800<u(c).width()?s.isSwiping="x":(a=Math.abs(180*Math.atan2(s.distanceY,s.distanceX)/Math.PI),s.isSwiping=45<a&&a<135?"y":"x"),"y"===s.isSwiping&&u.fancybox.isMobile&&s.isScrollable)return void(s.isScrolling=!0);i.isDragging=s.isSwiping,s.startPoints=s.newPoints,u.each(i.slides,function(e,t){var a,n;u.fancybox.stop(t.$slide),a=u.fancybox.getTranslate(t.$slide),n=u.fancybox.getTranslate(i.$refs.stage),t.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}),t.pos===i.current.pos&&(s.sliderStartPos.top=a.top-n.top,s.sliderStartPos.left=a.left-n.left),u.fancybox.setTranslate(t.$slide,{top:a.top-n.top,left:a.left-n.left})}),i.SlideShow&&i.SlideShow.isActive&&i.SlideShow.stop()}},a.prototype.onPan=function(){var e=this;m(e.newPoints[0],e.realPoints[0])<(u.fancybox.isMobile?10:5)?e.startPoints=e.newPoints:(e.canTap=!1,e.contentLastPos=e.limitMovement(),e.requestId&&p(e.requestId),e.requestId=f(function(){u.fancybox.setTranslate(e.$content,e.contentLastPos)}))},a.prototype.limitMovement=function(){var e=this,t=e.canvasWidth,a=e.canvasHeight,n=e.distanceX,s=e.distanceY,i=e.contentStartPos,r=i.left,o=i.top,l=i.width,d=i.height,c=t<l?r+n:r,u=o+s,e=Math.max(0,.5*t-.5*l),i=Math.max(0,.5*a-.5*d),l=Math.min(t-l,.5*t-.5*l),d=Math.min(a-d,.5*a-.5*d);return 0<n&&e<c&&(c=e-1+Math.pow(-e+r+n,.8)||0),n<0&&c<l&&(c=l+1-Math.pow(l-r-n,.8)||0),0<s&&i<u&&(u=i-1+Math.pow(-i+o+s,.8)||0),{top:u=s<0&&u<d?d+1-Math.pow(d-o-s,.8)||0:u,left:c}},a.prototype.limitPosition=function(e,t,a,n){var s=this.canvasWidth,i=this.canvasHeight;return e=s<a?(e=0<e?0:e)<s-a?s-a:e:Math.max(0,s/2-a/2),{top:t=i<n?(t=0<t?0:t)<i-n?i-n:t:Math.max(0,i/2-n/2),left:e}},a.prototype.onZoom=function(){var e=this,t=e.contentStartPos,a=t.width,n=t.height,s=t.left,i=t.top,r=m(e.newPoints[0],e.newPoints[1])/e.startDistanceBetweenFingers,o=Math.floor(a*r),l=Math.floor(n*r),d=(a-o)*e.percentageOfImageAtPinchPointX,t=(n-l)*e.percentageOfImageAtPinchPointY,a=(e.newPoints[0].x+e.newPoints[1].x)/2-u(c).scrollLeft(),n=(e.newPoints[0].y+e.newPoints[1].y)/2-u(c).scrollTop(),a=a-e.centerPointStartX,r={top:i+(t+(n-e.centerPointStartY)),left:s+(d+a),scaleX:r,scaleY:r};e.canTap=!1,e.newWidth=o,e.newHeight=l,e.contentLastPos=r,e.requestId&&p(e.requestId),e.requestId=f(function(){u.fancybox.setTranslate(e.$content,e.contentLastPos)})},a.prototype.ontouchend=function(e){var t=this,a=t.isSwiping,n=t.isPanning,s=t.isZooming,i=t.isScrolling;if(t.endPoints=h(e),t.dMs=Math.max((new Date).getTime()-t.startTime,1),t.$container.removeClass("fancybox-is-grabbing"),u(l).off(".fb.touch"),l.removeEventListener("scroll",t.onscroll,!0),t.requestId&&(p(t.requestId),t.requestId=null),t.isSwiping=!1,t.isPanning=!1,t.isZooming=!1,t.isScrolling=!1,t.instance.isDragging=!1,t.canTap)return t.onTap(e);t.speed=100,t.velocityX=t.distanceX/t.dMs*.5,t.velocityY=t.distanceY/t.dMs*.5,n?t.endPanning():s?t.endZooming():t.endSwiping(a,i)},a.prototype.endSwiping=function(e,t){var a=this,n=!1,s=a.instance.group.length,i=Math.abs(a.distanceX),i="x"==e&&1<s&&(130<a.dMs&&10<i||50<i);a.sliderLastPos=null,"y"==e&&!t&&50<Math.abs(a.distanceY)?(u.fancybox.animate(a.instance.current.$slide,{top:a.sliderStartPos.top+a.distanceY+150*a.velocityY,opacity:0},200),n=a.instance.close(!0,250)):i&&0<a.distanceX?n=a.instance.previous(300):i&&a.distanceX<0&&(n=a.instance.next(300)),!1!==n||"x"!=e&&"y"!=e||a.instance.centerSlide(200),a.$container.removeClass("fancybox-is-sliding")},a.prototype.endPanning=function(){var e,t,a=this;a.contentLastPos&&(t=!1===a.opts.momentum||350<a.dMs?(e=a.contentLastPos.left,a.contentLastPos.top):(e=a.contentLastPos.left+500*a.velocityX,a.contentLastPos.top+500*a.velocityY),(t=a.limitPosition(e,t,a.contentStartPos.width,a.contentStartPos.height)).width=a.contentStartPos.width,t.height=a.contentStartPos.height,u.fancybox.animate(a.$content,t,366))},a.prototype.endZooming=function(){var e,t,a=this,n=a.instance.current,s=a.newWidth,i=a.newHeight;a.contentLastPos&&(e=a.contentLastPos.left,t=a.contentLastPos.top,u.fancybox.setTranslate(a.$content,{top:t,left:e,width:s,height:i,scaleX:1,scaleY:1}),s<a.canvasWidth&&i<a.canvasHeight?a.instance.scaleToFit(150):s>n.width||i>n.height?a.instance.scaleToActual(a.centerPointStartX,a.centerPointStartY,150):(i=a.limitPosition(e,t,s,i),u.fancybox.animate(a.$content,i,150)))},a.prototype.onTap=function(t){function e(e){if(e=r.opts[e],e=u.isFunction(e)?e.apply(i,[r,t]):e)switch(e){case"close":i.close(n.startEvent);break;case"toggleControls":i.toggleControls();break;case"next":i.next();break;case"nextOrClose":1<i.group.length?i.next():i.close(n.startEvent);break;case"zoom":"image"==r.type&&(r.isLoaded||r.$ghost)&&(i.canPan()?i.scaleToFit():i.isScaledDown()?i.scaleToActual(l,d):i.group.length<2&&i.close(n.startEvent))}}var a,n=this,s=u(t.target),i=n.instance,r=i.current,o=t&&h(t)||n.startPoints,l=o[0]?o[0].x-u(c).scrollLeft()-n.stagePos.left:0,d=o[0]?o[0].y-u(c).scrollTop()-n.stagePos.top:0;if((!t.originalEvent||2!=t.originalEvent.button)&&(s.is("img")||!(l>s[0].clientWidth+s.offset().left))){if(s.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))a="Outside";else if(s.is(".fancybox-slide"))a="Slide";else{if(!i.current.$content||!i.current.$content.find(s).addBack().filter(s).length)return;a="Content"}if(n.tapped){if(clearTimeout(n.tapped),n.tapped=null,50<Math.abs(l-n.tapX)||50<Math.abs(d-n.tapY))return this;e("dblclick"+a)}else n.tapX=l,n.tapY=d,r.opts["dblclick"+a]&&r.opts["dblclick"+a]!==r.opts["click"+a]?n.tapped=setTimeout(function(){n.tapped=null,i.isAnimating||e("click"+a)},500):e("click"+a);return this}},u(l).on("onActivate.fb",function(e,t){t&&!t.Guestures&&(t.Guestures=new a(t))}).on("beforeClose.fb",function(e,t){t&&t.Guestures&&t.Guestures.destroy()})}(window,document,jQuery),function(i,r){"use strict";r.extend(!0,r.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});function a(e){this.instance=e,this.init()}r.extend(a.prototype,{timer:null,isActive:!1,$button:null,init:function(){var e=this,t=e.instance,a=t.group[t.currIndex].opts.slideShow;e.$button=t.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){e.toggle()}),t.group.length<2||!a?e.$button.hide():a.progress&&(e.$progress=r('<div class="fancybox-progress"></div>').appendTo(t.$refs.inner))},set:function(e){var t=this,a=t.instance,n=a.current;n&&(!0===e||n.opts.loop||a.currIndex<a.group.length-1)?t.isActive&&"video"!==n.contentType&&(t.$progress&&r.fancybox.animate(t.$progress.show(),{scaleX:1},n.opts.slideShow.speed),t.timer=setTimeout(function(){a.current.opts.loop||a.current.index!=a.group.length-1?a.next():a.jumpTo(0)},n.opts.slideShow.speed)):(t.stop(),a.idleSecondsCounter=0,a.showControls())},clear:function(){clearTimeout(this.timer),this.timer=null,this.$progress&&this.$progress.removeAttr("style").hide()},start:function(){var e=this,t=e.instance.current;t&&(e.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),e.isActive=!0,t.isComplete&&e.set(!0),e.instance.trigger("onSlideShowChange",!0))},stop:function(){var e=this,t=e.instance.current;e.clear(),e.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),e.isActive=!1,e.instance.trigger("onSlideShowChange",!1),e.$progress&&e.$progress.removeAttr("style").hide()},toggle:function(){this.isActive?this.stop():this.start()}}),r(i).on({"onInit.fb":function(e,t){t&&!t.SlideShow&&(t.SlideShow=new a(t))},"beforeShow.fb":function(e,t,a,n){t=t&&t.SlideShow;n?t&&a.opts.slideShow.autoStart&&t.start():t&&t.isActive&&t.clear()},"afterShow.fb":function(e,t,a){t=t&&t.SlideShow;t&&t.isActive&&t.set()},"afterKeydown.fb":function(e,t,a,n,s){t=t&&t.SlideShow;!t||!a.opts.slideShow||80!==s&&32!==s||r(i.activeElement).is("button,a,input")||(n.preventDefault(),t.toggle())},"beforeClose.fb onDeactivate.fb":function(e,t){t=t&&t.SlideShow;t&&t.stop()}}),r(i).on("visibilitychange",function(){var e=r.fancybox.getInstance(),e=e&&e.SlideShow;e&&e.isActive&&(i.hidden?e.clear():e.set())})}(document,jQuery),function(i,a){"use strict";var n,s=function(){for(var e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],t={},a=0;a<e.length;a++){var n=e[a];if(n&&n[1]in i){for(var s=0;s<n.length;s++)t[e[0][s]]=n[s];return t}}return!1}();s&&(a.extend(!0,a.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!(n={request:function(e){(e=e||i.documentElement)[s.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){i[s.exitFullscreen]()},toggle:function(e){e=e||i.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(i[s.fullscreenElement])},enabled:function(){return Boolean(i[s.fullscreenEnabled])}})}}),a(i).on(s.fullscreenchange,function(){var e=n.isFullscreen(),t=a.fancybox.getInstance();t&&(t.current&&"image"===t.current.type&&t.isAnimating&&(t.isAnimating=!1,t.update(!0,!0,0),t.isComplete||t.complete()),t.trigger("onFullscreenChange",e),t.$refs.container.toggleClass("fancybox-is-fullscreen",e),t.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!e).toggleClass("fancybox-button--fsexit",e))})),a(i).on({"onInit.fb":function(e,t){s?t&&t.group[t.currIndex].opts.fullScreen?(t.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(e){e.stopPropagation(),e.preventDefault(),n.toggle()}),t.opts.fullScreen&&!0===t.opts.fullScreen.autoStart&&n.request(),t.FullScreen=n):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():t.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(e,t,a,n,s){t&&t.FullScreen&&70===s&&(n.preventDefault(),t.FullScreen.toggle())},"beforeClose.fb":function(e,t){t&&t.FullScreen&&t.$refs.container.hasClass("fancybox-is-fullscreen")&&n.exit()}})}(document,jQuery),function(e,i){"use strict";var r="fancybox-thumbs",o=r+"-active";i.fancybox.defaults=i.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},i.fancybox.defaults);function n(e){this.init(e)}i.extend(n.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(e){var t=this,a=e.group,n=0;t.instance=e,t.opts=a[e.currIndex].opts.thumbs,(e.Thumbs=t).$button=e.$refs.toolbar.find("[data-fancybox-thumbs]");for(var s=0,i=a.length;s<i&&(a[s].thumb&&n++,!(1<n));s++);1<n&&t.opts?(t.$button.removeAttr("style").on("click",function(){t.toggle()}),t.isActive=!0):t.$button.hide()},create:function(){var a,e=this,t=e.instance,n=e.opts.parentEl,s=[];e.$grid||(e.$grid=i('<div class="'+r+" "+r+"-"+e.opts.axis+'"></div>').appendTo(t.$refs.container.find(n).addBack().filter(n)),e.$grid.on("click","a",function(){t.jumpTo(i(this).attr("data-index"))})),e.$list||(e.$list=i('<div class="'+r+'__list">').appendTo(e.$grid)),i.each(t.group,function(e,t){(a=t.thumb)||"image"!==t.type||(a=t.src),s.push('<a href="javascript:;" tabindex="0" data-index="'+e+'"'+(a&&a.length?' style="background-image:url('+a+')"':'class="fancybox-thumbs-missing"')+"></a>")}),e.$list[0].innerHTML=s.join(""),"x"===e.opts.axis&&e.$list.width(parseInt(e.$grid.css("padding-right"),10)+t.group.length*e.$list.children().eq(0).outerWidth(!0))},focus:function(e){var t,a,n=this,s=n.$list,i=n.$grid;n.instance.current&&(a=(t=s.children().removeClass(o).filter('[data-index="'+n.instance.current.index+'"]').addClass(o)).position(),"y"===n.opts.axis&&(a.top<0||a.top>s.height()-t.outerHeight())?s.stop().animate({scrollTop:s.scrollTop()+a.top},e):"x"===n.opts.axis&&(a.left<i.scrollLeft()||a.left>i.scrollLeft()+(i.width()-t.outerWidth()))&&s.parent().stop().animate({scrollLeft:a.left},e))},update:function(){var e=this;e.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),e.isVisible?(e.$grid||e.create(),e.instance.trigger("onThumbsShow"),e.focus(0)):e.$grid&&e.instance.trigger("onThumbsHide"),e.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),i(e).on({"onInit.fb":function(e,t){var a;t&&!t.Thumbs&&(a=new n(t)).isActive&&!0===a.opts.autoStart&&a.show()},"beforeShow.fb":function(e,t,a,n){t=t&&t.Thumbs;t&&t.isVisible&&t.focus(n?0:250)},"afterKeydown.fb":function(e,t,a,n,s){t=t&&t.Thumbs;t&&t.isActive&&71===s&&(n.preventDefault(),t.toggle())},"beforeClose.fb":function(e,t){t=t&&t.Thumbs;t&&t.isVisible&&!1!==t.opts.hideOnClose&&t.$grid.hide()}})}(document,jQuery),function(e,s){"use strict";s.extend(!0,s.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(e,t){return!e.currentHash&&"inline"!==t.type&&"html"!==t.type&&(t.origSrc||t.src)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),s(e).on("click","[data-fancybox-share]",function(){var e,t,a=s.fancybox.getInstance(),n=a.current||null;n&&("function"===s.type(n.opts.share.url)&&(e=n.opts.share.url.apply(n,[a,n])),e=n.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===n.type?encodeURIComponent(n.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(e)).replace(/\{\{url_raw\}\}/g,(t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"},String(e).replace(/[&<>"'`=\/]/g,function(e){return t[e]}))).replace(/\{\{descr\}\}/g,a.$caption?encodeURIComponent(a.$caption.text()):""),s.fancybox.open({src:a.translate(a,e),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(e,t){a.$refs.container.one("beforeClose.fb",function(){e.close(null,0)}),t.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})},mobile:{autoFocus:!1}}}))})}(document,jQuery),function(i,r,n){"use strict";function s(){var e=i.location.hash.substr(1),t=e.split("-"),a=1<t.length&&/^\+?\d+$/.test(t[t.length-1])&&parseInt(t.pop(-1),10)||1;return{hash:e,index:a<1?1:a,gallery:t.join("-")}}function t(e){""!==e.gallery&&n("[data-fancybox='"+n.escapeSelector(e.gallery)+"']").eq(e.index-1).focus().trigger("click.fb-start")}function o(e){return!!e&&(""!==(e=(e=(e.current||e).opts).hash||(e.$orig?e.$orig.data("fancybox")||e.$orig.data("fancybox-trigger"):""))&&e)}n.escapeSelector||(n.escapeSelector=function(e){return(e+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e})}),n(function(){!1!==n.fancybox.defaults.hash&&(n(r).on({"onInit.fb":function(e,t){var a,n;!1!==t.group[t.currIndex].opts.hash&&(a=s(),(n=o(t))&&a.gallery&&n==a.gallery&&(t.currIndex=a.index-1))},"beforeShow.fb":function(e,t,a,n){var s;a&&!1!==a.opts.hash&&(s=o(t))&&(t.currentHash=s+(1<t.group.length?"-"+(a.index+1):""),i.location.hash!=="#"+t.currentHash&&(n&&!t.origHash&&(t.origHash=i.location.hash),t.hashTimer&&clearTimeout(t.hashTimer),t.hashTimer=setTimeout(function(){"replaceState"in i.history?(i.history[n?"pushState":"replaceState"]({},r.title,i.location.pathname+i.location.search+"#"+t.currentHash),n&&(t.hasCreatedHistory=!0)):i.location.hash=t.currentHash,t.hashTimer=null},300)))},"beforeClose.fb":function(e,t,a){a&&!1!==a.opts.hash&&(clearTimeout(t.hashTimer),t.currentHash&&t.hasCreatedHistory?i.history.back():t.currentHash&&("replaceState"in i.history?i.history.replaceState({},r.title,i.location.pathname+i.location.search+(t.origHash||"")):i.location.hash=t.origHash),t.currentHash=null)}}),n(i).on("hashchange.fb",function(){var e=s(),a=null;n.each(n(".fancybox-container").get().reverse(),function(e,t){t=n(t).data("FancyBox");if(t&&t.currentHash)return a=t,!1}),a?a.currentHash===e.gallery+"-"+e.index||1===e.index&&a.currentHash==e.gallery||(a.currentHash=null,a.close()):""!==e.gallery&&t(e)}),setTimeout(function(){n.fancybox.getInstance()||t(s())},50))})}(window,document,jQuery),function(e,t){"use strict";var s=(new Date).getTime();t(e).on({"onInit.fb":function(e,n,t){n.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(e){var t=n.current,a=(new Date).getTime();n.group.length<2||!1===t.opts.wheel||"auto"===t.opts.wheel&&"image"!==t.type||(e.preventDefault(),e.stopPropagation(),t.$slide.hasClass("fancybox-animated")||(e=e.originalEvent||e,a-s<250||(s=a,n[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())))})}})}(document,jQuery),function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery"),require("moment")):e(jQuery,moment)}(function(G,X){"use strict";G.dateRangePickerLanguages={default:{selected:"Selected:",day:"Day",days:"Days",apply:"Close","week-1":"mo","week-2":"tu","week-3":"we","week-4":"th","week-5":"fr","week-6":"sa","week-7":"su","week-number":"W","month-name":["january","february","march","april","may","june","july","august","september","october","november","december"],shortcuts:"Shortcuts","custom-values":"Custom Values",past:"Past",following:"Following",previous:"Previous","prev-week":"Week","prev-month":"Month","prev-year":"Year",next:"Next","next-week":"Week","next-month":"Month","next-year":"Year","less-than":"Date range should not be more than %d days","more-than":"Date range should not be less than %d days","default-more":"Please select a date range longer than %d days","default-single":"Please select a date","default-less":"Please select a date range less than %d days","default-range":"Please select a date range between %d and %d days","default-default":"Please select a date range",time:"Time",hour:"Hour",minute:"Minute"},id:{selected:"Terpilih:",day:"Hari",days:"Hari",apply:"Tutup","week-1":"sen","week-2":"sel","week-3":"rab","week-4":"kam","week-5":"jum","week-6":"sab","week-7":"min","week-number":"W","month-name":["januari","februari","maret","april","mei","juni","juli","agustus","september","oktober","november","desember"],shortcuts:"Pintas","custom-values":"Nilai yang ditentukan",past:"Yang Lalu",following:"Mengikuti",previous:"Sebelumnya","prev-week":"Minggu","prev-month":"Bulan","prev-year":"Tahun",next:"Selanjutnya","next-week":"Minggu","next-month":"Bulan","next-year":"Tahun","less-than":"Tanggal harus lebih dari %d hari","more-than":"Tanggal harus kurang dari %d hari","default-more":"Jarak tanggal harus lebih lama dari %d hari","default-single":"Silakan pilih tanggal","default-less":"Jarak rentang tanggal tidak boleh lebih lama dari %d hari","default-range":"Rentang tanggal harus antara %d dan %d hari","default-default":"Silakan pilih rentang tanggal",time:"Waktu",hour:"Jam",minute:"Menit"},az:{selected:"Seçildi:",day:" gün",days:" gün",apply:"tətbiq","week-1":"1","week-2":"2","week-3":"3","week-4":"4","week-5":"5","week-6":"6","week-7":"7","month-name":["yanvar","fevral","mart","aprel","may","iyun","iyul","avqust","sentyabr","oktyabr","noyabr","dekabr"],shortcuts:"Qısayollar",past:"Keçmiş",following:"Növbəti",previous:"&nbsp;&nbsp;&nbsp;","prev-week":"Öncəki həftə","prev-month":"Öncəki ay","prev-year":"Öncəki il",next:"&nbsp;&nbsp;&nbsp;","next-week":"Növbəti həftə","next-month":"Növbəti ay","next-year":"Növbəti il","less-than":"Tarix aralığı %d gündən çox olmamalıdır","more-than":"Tarix aralığı %d gündən az olmamalıdır","default-more":"%d gündən çox bir tarix seçin","default-single":"Tarix seçin","default-less":"%d gündən az bir tarix seçin","default-range":"%d və %d gün aralığında tarixlər seçin","default-default":"Tarix aralığı seçin"},bg:{selected:"Избрано:",day:"Ден",days:"Дни",apply:"Затвори","week-1":"пн","week-2":"вт","week-3":"ср","week-4":"чт","week-5":"пт","week-6":"сб","week-7":"нд","week-number":"С","month-name":["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"],shortcuts:"Преки пътища","custom-values":"Персонализирани стойности",past:"Минал",following:"Следващ",previous:"Предишен","prev-week":"Седмица","prev-month":"Месец","prev-year":"Година",next:"Следващ","next-week":"Седмица","next-month":"Месец","next-year":"Година","less-than":"Периодът от време не трябва да е повече от %d дни","more-than":"Периодът от време не трябва да е по-малко от %d дни","default-more":"Моля изберете период по-дълъг от %d дни","default-single":"Моля изберете дата","default-less":"Моля изберете период по-къс от %d дни","default-range":"Моля изберете период между %d и %d дни","default-default":"Моля изберете период",time:"Време",hour:"Час",minute:"Минута"},cn:{selected:"已选择:",day:"天",days:"天",apply:"确定","week-1":"一","week-2":"二","week-3":"三","week-4":"四","week-5":"五","week-6":"六","week-7":"日","week-number":"周","month-name":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],shortcuts:"快捷选择",past:"过去",following:"将来",previous:"&nbsp;&nbsp;&nbsp;","prev-week":"上周","prev-month":"上个月","prev-year":"去年",next:"&nbsp;&nbsp;&nbsp;","next-week":"下周","next-month":"下个月","next-year":"明年","less-than":"所选日期范围不能大于%d天","more-than":"所选日期范围不能小于%d天","default-more":"请选择大于%d天的日期范围","default-less":"请选择小于%d天的日期范围","default-range":"请选择%d天到%d天的日期范围","default-single":"请选择一个日期","default-default":"请选择一个日期范围",time:"时间",hour:"小时",minute:"分钟"},cz:{selected:"Vybráno:",day:"Den",days:"Dny",apply:"Zavřít","week-1":"po","week-2":"út","week-3":"st","week-4":"čt","week-5":"pá","week-6":"so","week-7":"ne","month-name":["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],shortcuts:"Zkratky",past:"po",following:"následující",previous:"předchozí","prev-week":"týden","prev-month":"měsíc","prev-year":"rok",next:"další","next-week":"týden","next-month":"měsíc","next-year":"rok","less-than":"Rozsah data by neměl být větší než %d dnů","more-than":"Rozsah data by neměl být menší než %d dnů","default-more":"Prosím zvolte rozsah data větší než %d dnů","default-single":"Prosím zvolte datum","default-less":"Prosím zvolte rozsah data menší než %d dnů","default-range":"Prosím zvolte rozsah data mezi %d a %d dny","default-default":"Prosím zvolte rozsah data"},de:{selected:"Auswahl:",day:"Tag",days:"Tage",apply:"Schließen","week-1":"mo","week-2":"di","week-3":"mi","week-4":"do","week-5":"fr","week-6":"sa","week-7":"so","month-name":["januar","februar","märz","april","mai","juni","juli","august","september","oktober","november","dezember"],shortcuts:"Schnellwahl",past:"Vorherige",following:"Folgende",previous:"Vorherige","prev-week":"Woche","prev-month":"Monat","prev-year":"Jahr",next:"Nächste","next-week":"Woche","next-month":"Monat","next-year":"Jahr","less-than":"Datumsbereich darf nicht größer sein als %d Tage","more-than":"Datumsbereich darf nicht kleiner sein als %d Tage","default-more":"Bitte mindestens %d Tage auswählen","default-single":"Bitte ein Datum auswählen","default-less":"Bitte weniger als %d Tage auswählen","default-range":"Bitte einen Datumsbereich zwischen %d und %d Tagen auswählen","default-default":"Bitte ein Start- und Enddatum auswählen",Time:"Zeit",hour:"Stunde",minute:"Minute"},es:{selected:"Seleccionado:",day:"Día",days:"Días",apply:"Cerrar","week-1":"lu","week-2":"ma","week-3":"mi","week-4":"ju","week-5":"vi","week-6":"sa","week-7":"do","month-name":["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],shortcuts:"Accesos directos",past:"Pasado",following:"Siguiente",previous:"Anterior","prev-week":"Semana","prev-month":"Mes","prev-year":"Año",next:"Siguiente","next-week":"Semana","next-month":"Mes","next-year":"Año","less-than":"El rango no debería ser mayor de %d días","more-than":"El rango no debería ser menor de %d días","default-more":"Por favor selecciona un rango mayor a %d días","default-single":"Por favor selecciona un día","default-less":"Por favor selecciona un rango menor a %d días","default-range":"Por favor selecciona un rango entre %d y %d días","default-default":"Por favor selecciona un rango de fechas."},fr:{selected:"Sélection:",day:"Jour",days:"Jours",apply:"Fermer","week-1":"lu","week-2":"ma","week-3":"me","week-4":"je","week-5":"ve","week-6":"sa","week-7":"di","month-name":["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortcuts:"Raccourcis",past:"Passé",following:"Suivant",previous:"Précédent","prev-week":"Semaine","prev-month":"Mois","prev-year":"Année",next:"Suivant","next-week":"Semaine","next-month":"Mois","next-year":"Année","less-than":"L'intervalle ne doit pas être supérieure à %d jours","more-than":"L'intervalle ne doit pas être inférieure à %d jours","default-more":"Merci de choisir une intervalle supérieure à %d jours","default-single":"Merci de choisir une date","default-less":"Merci de choisir une intervalle inférieure %d jours","default-range":"Merci de choisir une intervalle comprise entre %d et %d jours","default-default":"Merci de choisir une date"},hu:{selected:"Kiválasztva:",day:"Nap",days:"Nap",apply:"Ok","week-1":"h","week-2":"k","week-3":"sz","week-4":"cs","week-5":"p","week-6":"sz","week-7":"v","month-name":["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],shortcuts:"Gyorsválasztó",past:"Múlt",following:"Következő",previous:"Előző","prev-week":"Hét","prev-month":"Hónap","prev-year":"Év",next:"Következő","next-week":"Hét","next-month":"Hónap","next-year":"Év","less-than":"A kiválasztás nem lehet több %d napnál","more-than":"A kiválasztás nem lehet több %d napnál","default-more":"Válassz ki egy időszakot ami hosszabb mint %d nap","default-single":"Válassz egy napot","default-less":"Válassz ki egy időszakot ami rövidebb mint %d nap","default-range":"Válassz ki egy %d - %d nap hosszú időszakot","default-default":"Válassz ki egy időszakot"},it:{selected:"Selezionati:",day:"Giorno",days:"Giorni",apply:"Chiudi","week-1":"lu","week-2":"ma","week-3":"me","week-4":"gi","week-5":"ve","week-6":"sa","week-7":"do","month-name":["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],shortcuts:"Scorciatoie",past:"Scorso",following:"Successivo",previous:"Precedente","prev-week":"Settimana","prev-month":"Mese","prev-year":"Anno",next:"Prossimo","next-week":"Settimana","next-month":"Mese","next-year":"Anno","less-than":"L'intervallo non dev'essere maggiore di %d giorni","more-than":"L'intervallo non dev'essere minore di %d giorni","default-more":"Seleziona un intervallo maggiore di %d giorni","default-single":"Seleziona una data","default-less":"Seleziona un intervallo minore di %d giorni","default-range":"Seleziona un intervallo compreso tra i %d e i %d giorni","default-default":"Seleziona un intervallo di date"},ko:{selected:"기간:",day:"일",days:"일간",apply:"닫기","week-1":"월","week-2":"화","week-3":"수","week-4":"목","week-5":"금","week-6":"토","week-7":"일","week-number":"주","month-name":["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],shortcuts:"단축키들",past:"지난(오늘기준)",following:"이후(오늘기준)",previous:"이전","prev-week":"1주","prev-month":"1달","prev-year":"1년",next:"다음","next-week":"1주","next-month":"1달","next-year":"1년","less-than":"날짜 범위는 %d 일보다 많을 수 없습니다","more-than":"날짜 범위는 %d 일보다 작을 수 없습니다","default-more":"날짜 범위를 %d 일보다 길게 선택해 주세요","default-single":"날짜를 선택해 주세요","default-less":"%d 일보다 작은 날짜를 선택해 주세요","default-range":"%d와 %d 일 사이의 날짜 범위를 선택해 주세요","default-default":"날짜 범위를 선택해 주세요",time:"시각",hour:"시",minute:"분"},no:{selected:"Valgt:",day:"Dag",days:"Dager",apply:"Lukk","week-1":"ma","week-2":"ti","week-3":"on","week-4":"to","week-5":"fr","week-6":"lø","week-7":"sø","month-name":["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],shortcuts:"Snarveier","custom-values":"Egendefinerte Verdier",past:"Over",following:"Følger",previous:"Forrige","prev-week":"Uke","prev-month":"Måned","prev-year":"År",next:"Neste","next-week":"Uke","next-month":"Måned","next-year":"År","less-than":"Datoperioden skal ikkje være lengre enn %d dager","more-than":"Datoperioden skal ikkje være kortere enn %d dager","default-more":"Vennligst velg ein datoperiode lengre enn %d dager","default-single":"Vennligst velg ein dato","default-less":"Vennligst velg ein datoperiode mindre enn %d dager","default-range":"Vennligst velg ein datoperiode mellom %d og %d dager","default-default":"Vennligst velg ein datoperiode",time:"Tid",hour:"Time",minute:"Minutter"},nl:{selected:"Geselecteerd:",day:"Dag",days:"Dagen",apply:"Ok","week-1":"ma","week-2":"di","week-3":"wo","week-4":"do","week-5":"vr","week-6":"za","week-7":"zo","month-name":["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortcuts:"Snelkoppelingen","custom-values":"Aangepaste waarden",past:"Verleden",following:"Komend",previous:"Vorige","prev-week":"Week","prev-month":"Maand","prev-year":"Jaar",next:"Volgende","next-week":"Week","next-month":"Maand","next-year":"Jaar","less-than":"Interval moet langer dan %d dagen zijn","more-than":"Interval mag niet minder dan %d dagen zijn","default-more":"Selecteer een interval langer dan %dagen","default-single":"Selecteer een datum","default-less":"Selecteer een interval minder dan %d dagen","default-range":"Selecteer een interval tussen %d en %d dagen","default-default":"Selecteer een interval",time:"Tijd",hour:"Uur",minute:"Minuut"},ru:{selected:"Выбрано:",day:"День",days:"Дней",apply:"Применить","week-1":"пн","week-2":"вт","week-3":"ср","week-4":"чт","week-5":"пт","week-6":"сб","week-7":"вс","month-name":["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"],shortcuts:"Быстрый выбор","custom-values":"Пользовательские значения",past:"Прошедшие",following:"Следующие",previous:"&nbsp;&nbsp;&nbsp;","prev-week":"Неделя","prev-month":"Месяц","prev-year":"Год",next:"&nbsp;&nbsp;&nbsp;","next-week":"Неделя","next-month":"Месяц","next-year":"Год","less-than":"Диапазон не может быть больше %d дней","more-than":"Диапазон не может быть меньше %d дней","default-more":"Пожалуйста выберите диапазон больше %d дней","default-single":"Пожалуйста выберите дату","default-less":"Пожалуйста выберите диапазон меньше %d дней","default-range":"Пожалуйста выберите диапазон между %d и %d днями","default-default":"Пожалуйста выберите диапазон",time:"Время",hour:"Часы",minute:"Минуты"},uk:{selected:"Вибрано:",day:"День",days:"Днів",apply:"Застосувати","week-1":"пн","week-2":"вт","week-3":"ср","week-4":"чт","week-5":"пт","week-6":"сб","week-7":"нд","month-name":["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"],shortcuts:"Швидкий вибір","custom-values":"Значення користувача",past:"Минулі",following:"Наступні",previous:"&nbsp;&nbsp;&nbsp;","prev-week":"Тиждень","prev-month":"Місяць","prev-year":"Рік",next:"&nbsp;&nbsp;&nbsp;","next-week":"Тиждень","next-month":"Місяць","next-year":"Рік","less-than":"Діапазон не може бути більш ніж %d днів","more-than":"Діапазон не може бути меньш ніж %d днів","default-more":"Будь ласка виберіть діапазон більше %d днів","default-single":"Будь ласка виберіть дату","default-less":"Будь ласка виберіть діапазон менше %d днів","default-range":"Будь ласка виберіть діапазон між %d та %d днями","default-default":"Будь ласка виберіть діапазон",time:"Час",hour:"Години",minute:"Хвилини"},pl:{selected:"Wybrany:",day:"Dzień",days:"Dni",apply:"Zamknij","week-1":"pon","week-2":"wt","week-3":"śr","week-4":"czw","week-5":"pt","week-6":"so","week-7":"nd","month-name":["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],shortcuts:"Skróty","custom-values":"Niestandardowe wartości",past:"Przeszłe",following:"Następne",previous:"Poprzednie","prev-week":"tydzień","prev-month":"miesiąc","prev-year":"rok",next:"Następny","next-week":"tydzień","next-month":"miesiąc","next-year":"rok","less-than":"Okres nie powinien być dłuższy niż %d dni","more-than":"Okres nie powinien być krótszy niż  %d ni","default-more":"Wybierz okres dłuższy niż %d dni","default-single":"Wybierz datę","default-less":"Wybierz okres krótszy niż %d dni","default-range":"Wybierz okres trwający od %d do %d dni","default-default":"Wybierz okres",time:"Czas",hour:"Godzina",minute:"Minuta"},se:{selected:"Vald:",day:"dag",days:"dagar",apply:"godkänn","week-1":"ma","week-2":"ti","week-3":"on","week-4":"to","week-5":"fr","week-6":"lö","week-7":"sö","month-name":["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"],shortcuts:"genvägar","custom-values":"Anpassade värden",past:"över",following:"följande",previous:"förra","prev-week":"vecka","prev-month":"månad","prev-year":"år",next:"nästa","next-week":"vecka","next-month":"måned","next-year":"år","less-than":"Datumintervall bör inte vara mindre än %d dagar","more-than":"Datumintervall bör inte vara mer än %d dagar","default-more":"Välj ett datumintervall längre än %d dagar","default-single":"Välj ett datum","default-less":"Välj ett datumintervall mindre än %d dagar","default-range":"Välj ett datumintervall mellan %d och %d dagar","default-default":"Välj ett datumintervall",time:"tid",hour:"timme",minute:"minut"},pt:{selected:"Selecionado:",day:"Dia",days:"Dias",apply:"Fechar","week-1":"seg","week-2":"ter","week-3":"qua","week-4":"qui","week-5":"sex","week-6":"sab","week-7":"dom","week-number":"N","month-name":["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],shortcuts:"Atalhos","custom-values":"Valores Personalizados",past:"Passado",following:"Seguinte",previous:"Anterior","prev-week":"Semana","prev-month":"Mês","prev-year":"Ano",next:"Próximo","next-week":"Próxima Semana","next-month":"Próximo Mês","next-year":"Próximo Ano","less-than":"O período selecionado não deve ser maior que %d dias","more-than":"O período selecionado não deve ser menor que %d dias","default-more":"Selecione um período superior a %d dias","default-single":"Selecione uma data","default-less":"Selecione um período inferior a %d dias","default-range":"Selecione um período de %d a %d dias","default-default":"Selecione um período",time:"Tempo",hour:"Hora",minute:"Minuto"},tc:{selected:"已選擇:",day:"天",days:"天",apply:"確定","week-1":"一","week-2":"二","week-3":"三","week-4":"四","week-5":"五","week-6":"六","week-7":"日","week-number":"周","month-name":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],shortcuts:"快速選擇",past:"過去",following:"將來",previous:"&nbsp;&nbsp;&nbsp;","prev-week":"上週","prev-month":"上個月","prev-year":"去年",next:"&nbsp;&nbsp;&nbsp;","next-week":"下周","next-month":"下個月","next-year":"明年","less-than":"所選日期範圍不能大於%d天","more-than":"所選日期範圍不能小於%d天","default-more":"請選擇大於%d天的日期範圍","default-less":"請選擇小於%d天的日期範圍","default-range":"請選擇%d天到%d天的日期範圍","default-single":"請選擇一個日期","default-default":"請選擇一個日期範圍",time:"日期",hour:"小時",minute:"分鐘"},ja:{selected:"選択しました:",day:"日",days:"日々",apply:"閉じる","week-1":"月","week-2":"火","week-3":"水","week-4":"木","week-5":"金","week-6":"土","week-7":"日","month-name":["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],shortcuts:"クイック選択",past:"過去",following:"将来",previous:"&nbsp;&nbsp;&nbsp;","prev-week":"先週、","prev-month":"先月","prev-year":"昨年",next:"&nbsp;&nbsp;&nbsp;","next-week":"来週","next-month":"来月","next-year":"来年","less-than":"日付の範囲は ％d 日以上にすべきではありません","more-than":"日付の範囲は ％d 日を下回ってはいけません","default-more":"％d 日よりも長い期間を選択してください","default-less":"％d 日未満の期間を選択してください","default-range":"％d と％ d日の間の日付範囲を選択してください","default-single":"日付を選択してください","default-default":"日付範囲を選択してください",time:"時間",hour:"時間",minute:"分"},da:{selected:"Valgt:",day:"Dag",days:"Dage",apply:"Luk","week-1":"ma","week-2":"ti","week-3":"on","week-4":"to","week-5":"fr","week-6":"lö","week-7":"sö","month-name":["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"],shortcuts:"genveje","custom-values":"Brugerdefinerede værdier",past:"Forbi",following:"Følgende",previous:"Forrige","prev-week":"uge","prev-month":"månad","prev-year":"år",next:"Næste","next-week":"Næste uge","next-month":"Næste måned","next-year":"Næste år","less-than":"Dato interval bør ikke være med end %d dage","more-than":"Dato interval bør ikke være mindre end %d dage","default-more":"Vælg datointerval længere end %d dage","default-single":"Vælg dato","default-less":"Vælg datointerval mindre end %d dage","default-range":"Vælg datointerval mellem %d og %d dage","default-default":"Vælg datointerval",time:"tid",hour:"time",minute:"minut"},fi:{selected:"Valittu:",day:"Päivä",days:"Päivää",apply:"Sulje","week-1":"ma","week-2":"ti","week-3":"ke","week-4":"to","week-5":"pe","week-6":"la","week-7":"su","week-number":"V","month-name":["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],shortcuts:"Pikavalinnat","custom-values":"Mukautetut Arvot",past:"Menneet",following:"Tulevat",previous:"Edellinen","prev-week":"Viikko","prev-month":"Kuukausi","prev-year":"Vuosi",next:"Seuraava","next-week":"Viikko","next-month":"Kuukausi","next-year":"Vuosi","less-than":"Aikajakson tulisi olla vähemmän kuin %d päivää","more-than":"Aikajakson ei tulisi olla vähempää kuin %d päivää","default-more":"Valitse pidempi aikajakso kuin %d päivää","default-single":"Valitse päivä","default-less":"Valitse lyhyempi aikajakso kuin %d päivää","default-range":"Valitse aikajakso %d ja %d päivän väliltä","default-default":"Valitse aikajakso",time:"Aika",hour:"Tunti",minute:"Minuutti"},cat:{selected:"Seleccionats:",day:"Dia",days:"Dies",apply:"Tanca","week-1":"Dl","week-2":"Dm","week-3":"Dc","week-4":"Dj","week-5":"Dv","week-6":"Ds","week-7":"Dg","week-number":"S","month-name":["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],shortcuts:"Dreçeres","custom-values":"Valors personalitzats",past:"Passat",following:"Futur",previous:"Anterior","prev-week":"Setmana","prev-month":"Mes","prev-year":"Any",next:"Següent","next-week":"Setmana","next-month":"Mes","next-year":"Any","less-than":"El període no hauria de ser de més de %d dies","more-than":"El període no hauria de ser de menys de %d dies","default-more":"Perfavor selecciona un període més gran de %d dies","default-single":"Perfavor selecciona una data","default-less":"Perfavor selecciona un període de menys de %d dies","default-range":"Perfavor selecciona un període d'entre %d i %d dies","default-default":"Perfavor selecciona un període",time:"Temps",hour:"Hora",minute:"Minut"}},G.fn.dateRangePicker=function(m){(m=G.extend(!0,{autoClose:!1,format:"YYYY-MM-DD",separator:" to ",language:"auto",startOfWeek:"sunday",getValue:function(){return G(this).val()},setValue:function(e){G(this).attr("readonly")||G(this).is(":disabled")||e==G(this).val()||G(this).val(e)},startDate:!1,endDate:!1,time:{enabled:!1},minDays:0,maxDays:0,showShortcuts:!1,shortcuts:{},customShortcuts:[],inline:!1,container:"body",alwaysOpen:!1,singleDate:!1,lookBehind:!1,batchMode:!1,duration:200,stickyMonths:!1,dayDivAttrs:[],dayTdAttrs:[],selectForward:!1,selectBackward:!1,applyBtnClass:"",singleMonth:"auto",hoveringTooltip:function(e,t,a){return 1<e?e+" "+B("days"):""},showTopbar:!0,swapTime:!1,showWeekNumbers:!1,getWeekNumber:function(e){return X(e).format("w")},customOpenAnimation:null,customCloseAnimation:null,customArrowPrevSymbol:null,customArrowNextSymbol:null,monthSelect:!1,yearSelect:!1},m=m||{})).start=!1,m.end=!1,m.startWeek=!1,m.isTouchDevice="ontouchstart"in window||navigator.msMaxTouchPoints,m.isTouchDevice&&(m.hoveringTooltip=!1),"auto"==m.singleMonth&&(m.singleMonth=G(window).width()<480),m.singleMonth&&(m.stickyMonths=!1),m.showTopbar||(m.autoClose=!0),m.startDate&&"string"==typeof m.startDate&&(m.startDate=X(m.startDate,m.format).toDate()),m.endDate&&"string"==typeof m.endDate&&(m.endDate=X(m.endDate,m.format).toDate()),m.yearSelect&&"boolean"==typeof m.yearSelect&&(m.yearSelect=function(e){return[e-5,e+5]});var l,e,s=function(){if("auto"!=m.language)return m.language&&m.language in G.dateRangePickerLanguages?G.dateRangePickerLanguages[m.language]:G.dateRangePickerLanguages.default;var e=navigator.language||navigator.browserLanguage;return e&&(e=e.toLowerCase())in G.dateRangePickerLanguages?G.dateRangePickerLanguages[e]:G.dateRangePickerLanguages.default}(),n=!1,i=this,r=G(i).get(0);return G(this).off(".datepicker").on("click.datepicker",function(e){l.is(":visible")||t(m.duration)}).on("change.datepicker",function(e){a()}).on("keyup.datepicker",function(){try{clearTimeout(e)}catch(e){}e=setTimeout(function(){a()},2e3)}),function(){var e,t,a=this;G(this).data("date-picker-opened")?O():(G(this).data("date-picker-opened",!0),(l=function(){var e='<div class="date-picker-wrapper';m.extraClass&&(e+=" "+m.extraClass+" "),m.singleDate&&(e+=" single-date "),m.showShortcuts||(e+=" no-shortcuts "),m.showTopbar||(e+=" no-topbar "),m.customTopBar&&(e+=" custom-topbar "),e+='">',m.showTopbar&&(e+='<div class="drp_top-bar">',m.customTopBar?("function"==typeof m.customTopBar&&(m.customTopBar=m.customTopBar()),e+='<div class="custom-top">'+m.customTopBar+"</div>"):(e+='<div class="normal-top"><span class="selection-top">'+B("selected")+' </span> <b class="start-day">...</b>',m.singleDate||(e+=' <span class="separator-day">'+m.separator+'</span> <b class="end-day">...</b> <i class="selected-days">(<span class="selected-days-num">3</span> '+B("days")+")</i>"),e+="</div>",e+='<div class="error-top">error</div><div class="default-top">default</div>'),e+='<input type="button" class="apply-btn disabled'+(!(n="")===m.autoClose&&(n+=" hide"),""!==m.applyBtnClass&&(n+=" "+m.applyBtnClass),n)+'" value="'+B("apply")+'" />',e+="</div>");var t=m.showWeekNumbers?6:5,a="&lt;";m.customArrowPrevSymbol&&(a=m.customArrowPrevSymbol);var n="&gt;";if(m.customArrowNextSymbol&&(n=m.customArrowNextSymbol),e+='<div class="month-wrapper">   <table class="month1" cellspacing="0" border="0" cellpadding="0">       <thead>           <tr class="caption">               <th>                   <span class="prev">'+a+'                   </span>               </th>               <th colspan="'+t+'" class="month-name">               </th>               <th>'+(m.singleDate||!m.stickyMonths?'<span class="next">'+n+"</span>":"")+'               </th>           </tr>           <tr class="week-name">'+R()+"       </thead>       <tbody></tbody>   </table>",m.singleMonth||(e+='<div class="gap">'+function(){for(var e=['<div class="gap-top-mask"></div><div class="gap-bottom-mask"></div><div class="gap-lines">'],t=0;t<20;t++)e.push('<div class="gap-line"><div class="gap-1"></div><div class="gap-2"></div><div class="gap-3"></div></div>');return e.push("</div>"),e.join("")}()+'</div><table class="month2" cellspacing="0" border="0" cellpadding="0">   <thead>   <tr class="caption">       <th>'+(m.stickyMonths?"":'<span class="prev">'+a+"</span>")+'       </th>       <th colspan="'+t+'" class="month-name">       </th>       <th>           <span class="next">'+n+'</span>       </th>   </tr>   <tr class="week-name">'+R()+"   </thead>   <tbody></tbody></table>"),e+='<div class="dp-clearfix"></div><div class="time"><div class="time1"></div>',m.singleDate||(e+='<div class="time2"></div>'),e+='</div><div class="dp-clearfix"></div></div>',e+='<div class="footer">',m.showShortcuts){e+='<div class="shortcuts"><b>'+B("shortcuts")+"</b>";var s,i=m.shortcuts;if(i){if(i["prev-days"]&&0<i["prev-days"].length){e+='&nbsp;<span class="prev-days">'+B("past");for(var r=0;r<i["prev-days"].length;r++)s=i["prev-days"][r],s+=1<i["prev-days"][r]?B("days"):B("day"),e+=' <a href="javascript:;" shortcut="day,-'+i["prev-days"][r]+'">'+s+"</a>";e+="</span>"}if(i["next-days"]&&0<i["next-days"].length){e+='&nbsp;<span class="next-days">'+B("following");for(r=0;r<i["next-days"].length;r++)s=i["next-days"][r],s+=1<i["next-days"][r]?B("days"):B("day"),e+=' <a href="javascript:;" shortcut="day,'+i["next-days"][r]+'">'+s+"</a>";e+="</span>"}if(i.prev&&0<i.prev.length){e+='&nbsp;<span class="prev-buttons">'+B("previous");for(r=0;r<i.prev.length;r++)s=B("prev-"+i.prev[r]),e+=' <a href="javascript:;" shortcut="prev,'+i.prev[r]+'">'+s+"</a>";e+="</span>"}if(i.next&&0<i.next.length){e+='&nbsp;<span class="next-buttons">'+B("next");for(r=0;r<i.next.length;r++)s=B("next-"+i.next[r]),e+=' <a href="javascript:;" shortcut="next,'+i.next[r]+'">'+s+"</a>";e+="</span>"}}if(m.customShortcuts)for(r=0;r<m.customShortcuts.length;r++)e+='&nbsp;<span class="custom-shortcut"><a href="javascript:;" shortcut="custom">'+m.customShortcuts[r].name+"</a></span>";e+="</div>"}if(m.showCustomValues&&(e+='<div class="customValues"><b>'+(m.customValueLabel||B("custom-values"))+"</b>",m.customValues))for(r=0;r<m.customValues.length;r++){var o=m.customValues[r];e+='&nbsp;<span class="custom-value"><a href="javascript:;" custom="'+o.value+'">'+o.name+"</a></span>"}return G(e+="</div></div>")}().hide()).append('<div class="date-range-length-tip"></div>'),G(m.container).append(l),m.inline?l.addClass("inline-wrapper"):o(),m.alwaysOpen&&l.find(".apply-btn").hide(),U(e=J()),m.time.enabled&&(m.startDate&&m.endDate||m.start&&m.end?(C(X(m.start||m.startDate).toDate(),"time1"),C(X(m.end||m.endDate).toDate(),"time2")):(t=m.defaultEndTime||e,C(e,"time1"),C(t,"time2"))),t="",t=m.singleDate?B("default-single"):m.minDays&&m.maxDays?B("default-range"):m.minDays?B("default-more"):m.maxDays?B("default-less"):B("default-default"),l.find(".default-top").html(t.replace(/\%d/,m.minDays).replace(/\%d/,m.maxDays)),m.singleMonth?l.addClass("single-month"):l.addClass("two-months"),setTimeout(function(){c(),n=!0},0),l.click(function(e){e.stopPropagation()}),G(document).on("click.datepicker",q),l.find(".next").click(function(){var e,t;m.stickyMonths?(e=F(m.month1),V(t=F(m.month2))||!m.singleDate&&0<=z(e,t)||(S(e,"month1"),S(t,"month2"),x())):(e=F(e=(t=G(e=this).parents("table").hasClass("month2"))?m.month2:m.month1),!m.singleMonth&&!m.singleDate&&!t&&0<=z(e,m.month2)||V(e)||(S(e,t?"month2":"month1"),E()))}),l.find(".prev").click(function(){var e,t;m.stickyMonths?(e=I(m.month1),t=I(m.month2),V(e)||!m.singleDate&&z(t,e)<=0||(S(t,"month2"),S(e,"month1"),x())):(t=I(t=(e=G(t=this).parents("table").hasClass("month2"))?m.month2:m.month1),e&&z(t,m.month1)<=0||V(t)||(S(t,e?"month2":"month1"),E()))}),l.attr("unselectable","on").css("user-select","none").on("selectstart",function(e){return e.preventDefault(),!1}),l.find(".apply-btn").click(function(){O();var e=$(new Date(m.start))+m.separator+$(new Date(m.end));G(a).trigger("datepicker-apply",{value:e,date1:new Date(m.start),date2:new Date(m.end)})}),l.find("[custom]").click(function(){var e=G(this).attr("custom");m.start=!1,m.end=!1,l.find(".day.checked").removeClass("checked"),m.setValue.call(r,e),L(),k(!0),x(),m.autoClose&&O()}),l.find("[shortcut]").click(function(){var e=G(this).attr("shortcut"),t=new Date,a=!1;if(-1!=e.indexOf("day"))var n=parseInt(e.split(",",2)[1],10),a=new Date((new Date).getTime()+864e5*n),t=new Date(t.getTime()+864e5*(0<n?1:-1));else if(-1!=e.indexOf("week")){var s,i=1==(s=-1!=e.indexOf("prev,")?-1:1)?"monday"==m.startOfWeek?1:0:"monday"==m.startOfWeek?0:6;for(t=new Date(t.getTime()-864e5);t.getDay()!=i;)t=new Date(t.getTime()+864e5*s);a=new Date(t.getTime()+864e5*s*6)}else if(-1!=e.indexOf("month"))(a=(1==(s=-1!=e.indexOf("prev,")?-1:1)?F:I)(t)).setDate(1),(t=F(a)).setDate(1),t=new Date(t.getTime()-864e5);else if(-1!=e.indexOf("year"))s=-1!=e.indexOf("prev,")?-1:1,(a=new Date).setFullYear(t.getFullYear()+s),a.setMonth(0),a.setDate(1),t.setFullYear(t.getFullYear()+s),t.setMonth(11),t.setDate(31);else if("custom"==e){var r=G(this).html();if(m.customShortcuts&&0<m.customShortcuts.length)for(var o=0;o<m.customShortcuts.length;o++){var l=m.customShortcuts[o];if(l.name==r){var d=[];(d=l.dates.call())&&2==d.length&&(a=d[0],t=d[1]),d&&1==d.length&&(S(d=d[0],"month1"),S(F(d),"month2"),E());break}}}a&&t&&(Y(a,t),L())}),l.find(".time1 input[type=range]").on("change touchmove",function(e){e=e.target;_("time1","hour"==e.name?G(e).val().replace(/^(\d{1})$/,"0$1"):void 0,"minute"==e.name?G(e).val().replace(/^(\d{1})$/,"0$1"):void 0)}),l.find(".time2 input[type=range]").on("change touchmove",function(e){e=e.target;_("time2","hour"==e.name?G(e).val().replace(/^(\d{1})$/,"0$1"):void 0,"minute"==e.name?G(e).val().replace(/^(\d{1})$/,"0$1"):void 0)}))}.call(this),m.alwaysOpen&&t(0),G(this).data("dateRangePicker",{setStart:function(e){return"string"==typeof e&&(e=X(e,m.format).toDate()),m.end=!1,T(e),this},setEnd:function(e,t){var a=new Date;return a.setTime(m.start),Y(a,e="string"==typeof e?X(e,m.format).toDate():e,t),this},setDateRange:function(e,t,a){"string"==typeof e&&"string"==typeof t&&(e=X(e,m.format).toDate(),t=X(t,m.format).toDate()),Y(e,t,a)},clear:function(){m.start=!1,m.end=!1,l.find(".day.checked").removeClass("checked"),l.find(".day.last-date-selected").removeClass("last-date-selected"),l.find(".day.first-date-selected").removeClass("first-date-selected"),m.setValue.call(r,""),L(),k(),x()},close:O,open:t,redraw:A,getDatePicker:function(){return l},resetMonthsView:U,destroy:function(){G(i).off(".datepicker"),G(i).data("dateRangePicker",""),G(i).data("date-picker-opened",null),l.remove(),G(window).off("resize.datepicker",o),G(document).off("click.datepicker",q)}}),G(window).on("resize.datepicker",o),this;function o(){var e,t,a;m.inline||(e=G(i).offset(),"relative"==G(m.container).css("position")?(t=G(m.container).offset(),a=Math.max(0,e.left+l.outerWidth()-G("body").width()+16),l.css({top:e.top-t.top+G(i).outerHeight()+4,left:e.left-t.left-a})):e.left<460?l.css({top:e.top+G(i).outerHeight()+parseInt(G("body").css("border-top")||0,10),left:e.left}):l.css({top:e.top+G(i).outerHeight()+parseInt(G("body").css("border-top")||0,10),left:e.left+G(i).width()-l.width()-16}))}function t(e){A(),a(),m.customOpenAnimation?m.customOpenAnimation.call(l.get(0),function(){G(i).trigger("datepicker-opened",{relatedTarget:l})}):l.slideDown(e,function(){G(i).trigger("datepicker-opened",{relatedTarget:l})}),G(i).trigger("datepicker-open",{relatedTarget:l}),E(),c(),o()}function a(){var e=m.getValue.call(r),t=e?e.split(m.separator):"";t&&(1==t.length&&m.singleDate||2<=t.length)&&((e=m.format).match(/Do/)&&(e=e.replace(/Do/,"D"),t[0]=t[0].replace(/(\d+)(th|nd|st)/,"$1"),2<=t.length&&(t[1]=t[1].replace(/(\d+)(th|nd|st)/,"$1"))),n=!1,2<=t.length?Y(d(t[0],e,X.locale(m.language)),d(t[1],e,X.locale(m.language))):1==t.length&&m.singleDate&&T(d(t[0],e,X.locale(m.language))),n=!0)}function d(e,t,a){return(X(e,t,a).isValid()?X(e,t,a):X()).toDate()}function c(){var e=(e=l.find(".gap").css("margin-left"))&&parseInt(e),t=l.find(".month1").width(),a=l.find(".gap").width()+(e?2*e:0),e=l.find(".month2").width();l.find(".month-wrapper").width(t+a+e)}function u(e,t){l.find("."+e+" input[type=range].hour-range").val(X(t).hours()),l.find("."+e+" input[type=range].minute-range").val(X(t).minutes()),_(e,X(t).format("HH"),X(t).format("mm"))}function h(e,t){m[e]=parseInt(X(parseInt(t)).startOf("day").add(X(m[e+"Time"]).format("HH"),"h").add(X(m[e+"Time"]).format("mm"),"m").valueOf())}function _(e,s,i){switch(s&&l.find("."+e+" .hour-val").text(s),i&&l.find("."+e+" .minute-val").text(i),e){case"time1":m.start&&t("start",X(m.start)),t("startTime",X(m.startTime||X().valueOf()));break;case"time2":m.end&&t("end",X(m.end)),t("endTime",X(m.endTime||X().valueOf()))}function t(e,t){var a=t.format("HH"),n=t.format("mm");m[e]=t.startOf("day").add(s||a,"h").add(i||n,"m").valueOf()}L(),k(),x()}function f(e){var t=e;return"week-range"===m.batchMode?t=("monday"===m.startOfWeek?X(parseInt(e)).startOf("isoweek"):X(parseInt(e)).startOf("week")).valueOf():"month-range"===m.batchMode&&(t=X(parseInt(e)).startOf("month").valueOf()),t}function p(e){var t=e;return"week-range"===m.batchMode?t=("monday"===m.startOfWeek?X(parseInt(e)).endOf("isoweek"):X(parseInt(e)).endOf("week")).valueOf():"month-range"===m.batchMode&&(t=X(parseInt(e)).endOf("month").valueOf()),t}function g(e){if(e=parseInt(e,10),m.startDate&&W(e,m.startDate)<0)return!1;if(m.endDate&&0<W(e,m.endDate))return!1;if(m.start&&!m.end&&!m.singleDate){if(0<m.maxDays&&D(e,m.start)>m.maxDays)return!1;if(0<m.minDays&&D(e,m.start)<m.minDays)return!1;if(m.selectForward&&e<m.start)return!1;if(m.selectBackward&&e>m.start)return!1;if(m.beforeShowDay&&"function"==typeof m.beforeShowDay){for(var t=!0,a=e;1<D(a,m.start);){if(!m.beforeShowDay(new Date(a))[0]){t=!1;break}if(Math.abs(a-m.start)<864e5)break;a>m.start&&(a-=864e5),a<m.start&&(a+=864e5)}if(!t)return!1}}return!0}function y(){return l.find(".day.invalid.tmp").removeClass("tmp invalid").addClass("valid"),m.start&&!m.end&&l.find(".day.toMonth.valid").each(function(){g(parseInt(G(this).attr("time"),10))?G(this).addClass("valid tmp").removeClass("invalid"):G(this).addClass("invalid tmp").removeClass("valid")}),1}function v(e){var t,a,n,s,i,r=parseInt(e.attr("time")),o="";e.hasClass("has-tooltip")&&e.attr("data-tooltip")?o='<span class="tooltip-content">'+e.attr("data-tooltip")+"</span>":e.hasClass("invalid")||(m.singleDate?(l.find(".day.hovering").removeClass("hovering"),e.addClass("hovering")):(l.find(".day").each(function(){var e=parseInt(G(this).attr("time"));m.start,m.end,e==r?G(this).addClass("hovering"):G(this).removeClass("hovering"),m.start&&!m.end&&(m.start<e&&e<=r||m.start>e&&r<=e)?G(this).addClass("hovering"):G(this).removeClass("hovering")}),m.start&&!m.end&&(a=D(r,m.start),m.hoveringTooltip&&("function"==typeof m.hoveringTooltip?o=m.hoveringTooltip(a,m.start,r):!0===m.hoveringTooltip&&1<a&&(o=a+" "+B("days")))))),o?(t=e.offset(),a=l.offset(),n=t.left-a.left,s=t.top-a.top,n+=e.width()/2,e=(i=l.find(".date-range-length-tip")).css({visibility:"hidden",display:"none"}).html(o).width(),o=i.height(),n-=e/2,s-=o,setTimeout(function(){i.css({left:n,top:s,display:"block",visibility:"visible"})},10)):l.find(".date-range-length-tip").hide()}function M(){l.find(".day.hovering").removeClass("hovering"),l.find(".date-range-length-tip").hide()}function w(e){var t=e.val(),a=e.attr("name"),n=e.parents("table").hasClass("month1")?"month1":"month2",s="month1"==n?"month2":"month1",i=!!m.startDate&&X(m.startDate),e=!!m.endDate&&X(m.endDate),t=X(m[n])[a](t);i&&t.isSameOrBefore(i)&&(t=i.add("month2"==n?1:0,"month")),S(t=e&&t.isSameOrAfter(e)?e.add(m.singleMonth||"month1"!=n?0:-1,"month"):t,n),"month1"==n?(m.stickyMonths||X(t).isSameOrAfter(m[s],"month"))&&S(X(t).add(1,"month"),s):(m.stickyMonths||X(t).isSameOrBefore(m[s],"month"))&&S(X(t).add(-1,"month"),s),E()}function b(){!0===m.singleDate?n&&m.start&&m.autoClose&&O():n&&m.start&&m.end&&m.autoClose&&O()}function L(){var e=Math.ceil((m.end-m.start)/864e5)+1;m.singleDate?m.start&&!m.end?l.find(".drp_top-bar").removeClass("error").addClass("normal"):l.find(".drp_top-bar").removeClass("error").removeClass("normal"):m.maxDays&&e>m.maxDays?(m.start=!1,m.end=!1,l.find(".day").removeClass("checked"),l.find(".drp_top-bar").removeClass("normal").addClass("error").find(".error-top").html(B("less-than").replace("%d",m.maxDays))):m.minDays&&e<m.minDays?(m.start=!1,m.end=!1,l.find(".day").removeClass("checked"),l.find(".drp_top-bar").removeClass("normal").addClass("error").find(".error-top").html(B("more-than").replace("%d",m.minDays))):m.start||m.end?l.find(".drp_top-bar").removeClass("error").addClass("normal"):l.find(".drp_top-bar").removeClass("error").removeClass("normal"),m.singleDate&&m.start&&!m.end||!m.singleDate&&m.start&&m.end?l.find(".apply-btn").removeClass("disabled"):l.find(".apply-btn").addClass("disabled"),m.batchMode&&(m.start&&m.startDate&&W(m.start,m.startDate)<0||m.end&&m.endDate&&0<W(m.end,m.endDate))&&(m.start=!1,m.end=!1,l.find(".day").removeClass("checked"))}function k(e,t){var a;l.find(".start-day").html("..."),l.find(".end-day").html("..."),l.find(".selected-days").hide(),m.start&&l.find(".start-day").html($(new Date(parseInt(m.start)))),m.end&&l.find(".end-day").html($(new Date(parseInt(m.end)))),m.start&&m.singleDate?(l.find(".apply-btn").removeClass("disabled"),a=$(new Date(m.start)),m.setValue.call(r,a,$(new Date(m.start)),$(new Date(m.end))),n&&!t&&G(i).trigger("datepicker-change",{value:a,date1:new Date(m.start)})):m.start&&m.end?(l.find(".selected-days").show().find(".selected-days-num").html(D(m.end,m.start)),l.find(".apply-btn").removeClass("disabled"),a=$(new Date(m.start))+m.separator+$(new Date(m.end)),m.setValue.call(r,a,$(new Date(m.start)),$(new Date(m.end))),n&&!t&&G(i).trigger("datepicker-change",{value:a,date1:new Date(m.start),date2:new Date(m.end)})):e?l.find(".apply-btn").removeClass("disabled"):l.find(".apply-btn").addClass("disabled")}function D(e,t){return Math.abs(X(e).diff(X(t),"d"))+1}function Y(e,t,a){e.getTime()>t.getTime()&&(n=t,t=e,e=n,n=null);var n=!0;if(m.startDate&&W(e,m.startDate)<0&&(n=!1),!(n=m.endDate&&0<W(t,m.endDate)?!1:n))return S(m.startDate,"month1"),S(F(m.startDate),"month2"),E(),0;m.start=e.getTime(),m.end=t.getTime(),m.time.enabled&&(u("time1",e),u("time2",t)),(m.stickyMonths||0<W(e,t)&&0===z(e,t))&&(m.lookBehind?e=I(t):t=F(e)),m.stickyMonths&&!1!==m.endDate&&0<z(t,m.endDate)&&(e=I(e),t=I(t)),m.stickyMonths||0===z(e,t)&&(m.lookBehind?e=I(t):t=F(e)),S(e,"month1"),S(t,"month2"),E(),L(),k(!1,a),b()}function T(e){var t=!0;m.startDate&&W(e,m.startDate)<0&&(t=!1),(t=!(m.endDate&&0<W(e,m.endDate))&&t)?(m.start=e.getTime(),m.time.enabled&&u("time1",e),S(e,"month1"),!0!==m.singleMonth&&S(F(e),"month2"),E(),k(),b()):S(m.startDate,"month1")}function x(){(m.start||m.end)&&(l.find(".day").each(function(){var e=parseInt(G(this).attr("time")),t=m.start,a=m.end;m.time.enabled&&(e=X(e).startOf("day").valueOf(),t=X(t||X().valueOf()).startOf("day").valueOf(),a=X(a||X().valueOf()).startOf("day").valueOf()),m.start&&m.end&&e<=a&&t<=e||m.start&&!m.end&&X(t).format("YYYY-MM-DD")==X(e).format("YYYY-MM-DD")?G(this).addClass("checked"):G(this).removeClass("checked"),m.start&&X(t).format("YYYY-MM-DD")==X(e).format("YYYY-MM-DD")?G(this).addClass("first-date-selected"):G(this).removeClass("first-date-selected"),m.end&&X(a).format("YYYY-MM-DD")==X(e).format("YYYY-MM-DD")?G(this).addClass("last-date-selected"):G(this).removeClass("last-date-selected")}),l.find(".week-number").each(function(){G(this).attr("data-start-time")==m.startWeek&&G(this).addClass("week-number-selected")}))}function S(r,e){var t=function(e,t){var a=(e=X(e)).get("month"),n='<div class="month-element">'+P(a)+"</div>";if(!m.monthSelect)return n;var s=!!m.startDate&&X(m.startDate).add(m.singleMonth||"month2"!==t?0:1,"month"),i=!!m.endDate&&X(m.endDate).add(m.singleMonth||"month1"!==t?0:-1,"month"),t=s&&e.isSame(s,"year")?s.get("month"):0,s=i&&e.isSame(i,"year")?i.get("month"):11,e=Math.min(t,a),i=Math.max(s,a);return e===i?n:j("month",H({minSelectable:t,maxSelectable:s,minVisible:e,maxVisible:i},a,P))}(r=X(r).toDate(),e),a=function(e){var t=X(r).get("year"),a='<div class="month-element">'+t+"</div>";if(!m.yearSelect)return a;var n=m.yearSelect&&"function"==typeof m.yearSelect,s=!!m.startDate&&X(m.startDate).add(m.singleMonth||"month2"!==e?0:1,"month"),i=!!m.endDate&&X(m.endDate).add(m.singleMonth||"month1"!==e?0:-1,"month"),e=n?m.yearSelect(t):m.yearSelect.slice(),n=s?Math.max(e[0],s.get("year")):Math.min(e[0],t),s=i?Math.min(e[1],i.get("year")):Math.max(e[1],t),i=Math.min(n,t),e=Math.max(s,t);return i===e?a:j("year",H({minSelectable:n,maxSelectable:s,minVisible:i,maxVisible:e},t))}(e);l.find("."+e+" .month-name").html(t+" "+a),l.find("."+e+" tbody").html(function(e){var t=[];e.setDate(1),new Date(e.getTime()-864e5);var a=new Date,n=e.getDay();if(0<(n=0===n&&"monday"===m.startOfWeek?7:n))for(var s=n;0<s;s--){var i=g((d=new Date(e.getTime()-864e5*s)).getTime());m.startDate&&W(d,m.startDate)<0&&(i=!1),m.endDate&&0<W(d,m.endDate)&&(i=!1),t.push({date:d,type:"lastMonth",day:d.getDate(),time:d.getTime(),valid:i})}for(var r=e.getMonth(),s=0;s<40;s++)i=g((c=X(e).add(s,"days").toDate()).getTime()),m.startDate&&W(c,m.startDate)<0&&(i=!1),m.endDate&&0<W(c,m.endDate)&&(i=!1),t.push({date:c,type:c.getMonth()==r?"toMonth":"nextMonth",day:c.getDate(),time:c.getTime(),valid:i});for(var o=[],l=0;l<6&&"nextMonth"!=t[7*l].type;l++){o.push("<tr>");for(var d=0;d<7;d++){var c=t[7*l+("monday"==m.startOfWeek?d+1:d)],u=X(c.time).format("L")==X(a).format("L");c.extraClass="",c.tooltip="",c.valid&&m.beforeShowDay&&"function"==typeof m.beforeShowDay&&(h=m.beforeShowDay(X(c.time).toDate()),c.valid=h[0],c.extraClass=h[1]||"",c.tooltip=h[2]||"",""!==c.tooltip&&(c.extraClass+=" has-tooltip "));var h={time:c.time,"data-tooltip":c.tooltip,class:"day "+c.type+" "+c.extraClass+" "+(c.valid?"valid":"invalid")+" "+(u?"real-today":"")};0===d&&m.showWeekNumbers&&o.push('<td><div class="week-number" data-start-time="'+c.time+'">'+m.getWeekNumber(c.date)+"</div></td>"),o.push("<td "+N({},m.dayTdAttrs,c)+"><div "+N(h,m.dayDivAttrs,c)+">"+(u=c.time,h=c.day,m.showDateFilter&&"function"==typeof m.showDateFilter?m.showDateFilter(u,h):h)+"</div></td>")}o.push("</tr>")}return o.join("")}(r)),m[e]=r,y(),l.find(".day").off("click").click(function(e){var t,a;(t=G(this)).hasClass("invalid")||(a=t.attr("time"),t.addClass("checked"),m.singleDate?(m.start=a,m.end=!1):"week"===m.batchMode?"monday"===m.startOfWeek?(m.start=X(parseInt(a)).startOf("isoweek").valueOf(),m.end=X(parseInt(a)).endOf("isoweek").valueOf()):(m.end=X(parseInt(a)).endOf("week").valueOf(),m.start=X(parseInt(a)).startOf("week").valueOf()):"workweek"===m.batchMode?(m.start=X(parseInt(a)).day(1).valueOf(),m.end=X(parseInt(a)).day(5).valueOf()):"weekend"===m.batchMode?(m.start=X(parseInt(a)).day(6).valueOf(),m.end=X(parseInt(a)).day(7).valueOf()):"month"===m.batchMode?(m.start=X(parseInt(a)).startOf("month").valueOf(),m.end=X(parseInt(a)).endOf("month").valueOf()):m.start&&m.end||!m.start&&!m.end?(m.start=f(a),m.end=!1):m.start&&(m.end=p(a),m.time.enabled&&h("end",m.end)),m.time.enabled&&(m.start&&h("start",m.start),m.end&&h("end",m.end)),!m.singleDate&&m.start&&m.end&&m.start>m.end&&(a=m.end,m.end=p(m.start),m.start=f(a),m.time.enabled&&m.swapTime&&(u("time1",m.start),u("time2",m.end))),m.start=parseInt(m.start),m.end=parseInt(m.end),M(),m.start&&!m.end&&(G(i).trigger("datepicker-first-date-selected",{date1:new Date(m.start)}),v(t)),y(),L(),k(),x(),b())}),l.find(".day").off("mouseenter").mouseenter(function(e){v(G(this))}),l.find(".day").off("mouseleave").mouseleave(function(e){l.find(".date-range-length-tip").hide(),m.singleDate&&M()}),l.find(".week-number").off("click").click(function(e){var t,a,n=G(this),s=parseInt(n.attr("data-start-time"),10);m.startWeek?(l.find(".week-number-selected").removeClass("week-number-selected"),t=new Date(s<m.startWeek?s:m.startWeek),a=new Date(s<m.startWeek?m.startWeek:s),m.startWeek=!1,m.start=X(t).day("monday"==m.startOfWeek?1:0).valueOf(),m.end=X(a).day("monday"==m.startOfWeek?7:6).valueOf()):(m.startWeek=s,n.addClass("week-number-selected"),t=new Date(s),m.start=X(t).day("monday"==m.startOfWeek?1:0).valueOf(),m.end=X(t).day("monday"==m.startOfWeek?7:6).valueOf()),y(),L(),k(),x(),b()}),l.find(".month").off("change").change(function(e){w(G(this))}),l.find(".year").off("change").change(function(e){w(G(this))})}function H(e,t,a){var n=[];a=a||function(e){return e};for(var s=e.minVisible;s<=e.maxVisible;s++)n.push({value:s,text:a(s),selected:s===t,disabled:s<e.minSelectable||s>e.maxSelectable});return n}function j(e,t){for(var a,n='<div class="select-wrapper"><select class="'+e+'" name="'+e+'">',s=0,i=t.length;s<i;s++){var r=t[s];n+='<option value="'+r.value+'"'+(r.selected?" selected":"")+(r.disabled?" disabled":"")+">"+r.text+"</option>",r.selected&&(a=r.text)}return n+"</select>"+a+"</div>"}function C(e,t){l.find("."+t).append("<div><span>"+B("Time")+': <span class="hour-val">00</span>:<span class="minute-val">00</span></span></div><div class="hour"><label>'+B("Hour")+': <input type="range" class="hour-range" name="hour" min="0" max="23"></label></div><div class="minute"><label>'+B("Minute")+': <input type="range" class="minute-range" name="minute" min="0" max="59"></label></div>'),u(t,e)}function P(e){return B("month-name")[e]}function $(e){return X(e).format(m.format)}function E(){x();var e=parseInt(X(m.month1).format("YYYYMM")),t=parseInt(X(m.month2).format("YYYYMM")),e=Math.abs(e-t);1<e&&89!=e?l.addClass("has-gap").removeClass("no-gap").find(".gap").css("visibility","visible"):l.removeClass("has-gap").addClass("no-gap").find(".gap").css("visibility","hidden");t=l.find("table.month1").height(),e=l.find("table.month2").height();l.find(".gap").height(Math.max(t,e)+10)}function O(){var e;m.alwaysOpen||(e=function(){G(i).data("date-picker-opened",!1),G(i).trigger("datepicker-closed",{relatedTarget:l})},m.customCloseAnimation?m.customCloseAnimation.call(l.get(0),e):G(l).slideUp(m.duration,e),G(i).trigger("datepicker-close",{relatedTarget:l}))}function A(){S(m.month1,"month1"),S(m.month2,"month2")}function z(e,t){t=parseInt(X(e).format("YYYYMM"))-parseInt(X(t).format("YYYYMM"));return 0<t?1:0==t?0:-1}function W(e,t){t=parseInt(X(e).format("YYYYMMDD"))-parseInt(X(t).format("YYYYMMDD"));return 0<t?1:0==t?0:-1}function F(e){return X(e).add(1,"months").toDate()}function I(e){return X(e).add(-1,"months").toDate()}function R(){var e=m.showWeekNumbers?"<th>"+B("week-number")+"</th>":"";return"monday"==m.startOfWeek?e+"<th>"+B("week-1")+"</th><th>"+B("week-2")+"</th><th>"+B("week-3")+"</th><th>"+B("week-4")+"</th><th>"+B("week-5")+"</th><th>"+B("week-6")+"</th><th>"+B("week-7")+"</th>":e+"<th>"+B("week-7")+"</th><th>"+B("week-1")+"</th><th>"+B("week-2")+"</th><th>"+B("week-3")+"</th><th>"+B("week-4")+"</th><th>"+B("week-5")+"</th><th>"+B("week-6")+"</th>"}function V(e){return e=X(e),m.startDate&&e.endOf("month").isBefore(m.startDate)||m.endDate&&e.startOf("month").isAfter(m.endDate)}function N(e,t,s){var i=G.extend(!0,{},e);G.each(t,function(e,t){var a,n=t(s);for(a in n)i.hasOwnProperty(a)?i[a]+=n[a]:i[a]=n[a]});var a,n="";for(a in i)i.hasOwnProperty(a)&&(n+=a+'="'+i[a]+'" ');return n}function B(e){var t=e.toLowerCase(),a=e in s?s[e]:t in s?s[t]:null,n=G.dateRangePickerLanguages.default;return a=null==a?e in n?n[e]:t in n?n[t]:"":a}function J(){var e=m.defaultTime||new Date;return m.lookBehind?(m.startDate&&z(e,m.startDate)<0&&(e=F(X(m.startDate).toDate())),m.endDate&&0<z(e,m.endDate)&&(e=X(m.endDate).toDate())):(m.startDate&&z(e,m.startDate)<0&&(e=X(m.startDate).toDate()),m.endDate&&0<z(F(e),m.endDate)&&(e=I(X(m.endDate).toDate()))),m.singleDate&&(m.startDate&&z(e,m.startDate)<0&&(e=X(m.startDate).toDate()),m.endDate&&0<z(e,m.endDate)&&(e=X(m.endDate).toDate())),e}function U(e){e=e||J(),m.lookBehind?(S(I(e),"month1"),S(e,"month2")):(S(e,"month1"),S(F(e),"month2")),m.singleDate&&S(e,"month1"),x(),E()}function q(e){var t=e;(e=i[0]).contains(t.target)||t.target==e||null!=e.childNodes&&0<=G.inArray(t.target,e.childNodes)||l.is(":visible")&&O()}}}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function m(){return Tt.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function n(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function s(e,t){for(var a=[],n=0;n<e.length;++n)a.push(t(e[n],n));return a}function _(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){for(var a in t)_(t,a)&&(e[a]=t[a]);return _(t,"toString")&&(e.toString=t.toString),_(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,a,n){return me(e,t,a,n,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}),e._pf}function c(e){if(null==e._isValid){var t=f(e),a=xt.call(t.parsedDateParts,function(e){return null!=e}),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&a);if(e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function i(e){var t=d(NaN);return null!=e?l(f(t),e):f(t).userInvalidated=!0,t}function u(e){return void 0===e}function h(e,t){var a,n,s;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=f(t)),u(t._locale)||(e._locale=t._locale),0<St.length)for(a in St)n=St[a],s=t[n],u(s)||(e[n]=s);return e}function p(e){h(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),!1===Ht&&(Ht=!0,m.updateOffset(this),Ht=!1)}function g(e){return e instanceof p||null!=e&&null!=e._isAMomentObject}function y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function v(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?y(t):e}function M(e,t,a){for(var n=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),i=0,r=0;r<n;r++)(a&&e[r]!==t[r]||!a&&v(e[r])!==v(t[r]))&&i++;return i+s}function w(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(s,i){var r=!0;return l(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,s),r){for(var e,t=[],a=0;a<arguments.length;a++){if(e="","object"==typeof arguments[a]){for(var n in e+="\n["+a+"] ",arguments[0])e+=n+": "+arguments[0][n]+", ";e=e.slice(0,-2)}else e=arguments[a];t.push(e)}w(s+"\nArguments: "+Array.prototype.slice.call(t).join("")+"\n"+(new Error).stack),r=!1}return i.apply(this,arguments)},i)}function b(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),jt[e]||(w(t),jt[e]=!0)}function L(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function k(e,t){var a,n=l({},e);for(a in t)_(t,a)&&(o(e[a])&&o(t[a])?(n[a]={},l(n[a],e[a]),l(n[a],t[a])):null!=t[a]?n[a]=t[a]:delete n[a]);for(a in e)_(e,a)&&!_(t,a)&&o(e[a])&&(n[a]=l({},n[a]));return n}function D(e){null!=e&&this.set(e)}function t(e,t){var a=e.toLowerCase();Pt[a]=Pt[a+"s"]=Pt[t]=e}function Y(e){return"string"==typeof e?Pt[e]||Pt[e.toLowerCase()]:void 0}function T(e){var t,a,n={};for(a in e)_(e,a)&&(t=Y(a),t&&(n[t]=e[a]));return n}function a(e,t){$t[e]=t}function x(t,a){return function(e){return null!=e?(H(this,t,e),m.updateOffset(this,a),this):S(this,t)}}function S(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,a){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](a)}function j(e,t,a){var n=""+Math.abs(e);return(0<=e?a?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}function C(e,t,a,n){var s="string"==typeof n?function(){return this[n]()}:n;e&&(zt[e]=s),t&&(zt[t[0]]=function(){return j(s.apply(this,arguments),t[1],t[2])}),a&&(zt[a]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function P(e,t){return e.isValid()?(t=$(t,e.localeData()),At[t]=At[t]||function(n){for(var e,s=n.match(Et),t=0,i=s.length;t<i;t++)zt[s[t]]?s[t]=zt[s[t]]:s[t]=(e=s[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",a=0;a<i;a++)t+=s[a]instanceof Function?s[a].call(e,n):s[a];return t}}(t),At[t](e)):e.localeData().invalidDate()}function $(e,t){function a(e){return t.longDateFormat(e)||e}var n=5;for(Ot.lastIndex=0;0<=n&&Ot.test(e);)e=e.replace(Ot,a),Ot.lastIndex=0,--n;return e}function E(e,a,n){ta[e]=L(a)?a:function(e,t){return e&&n?n:a}}function O(e,t){return _(ta,e)?ta[e](t._strict,t._locale):new RegExp(A(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,a,n,s){return t||a||n||s})))}function A(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function z(e,a){var t,n=a;for("string"==typeof e&&(e=[e]),"number"==typeof a&&(n=function(e,t){t[a]=v(e)}),t=0;t<e.length;t++)aa[e[t]]=n}function W(e,s){z(e,function(e,t,a,n){a._w=a._w||{},s(e,a._w,a,n)})}function F(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function I(e,t){var a;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=v(t);else if("number"!=typeof(t=e.localeData().monthsParse(t)))return e;return a=Math.min(e.date(),F(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,a),e}function R(e){return null!=e?(I(this,e),m.updateOffset(this,!0),this):S(this,"Month")}function V(){function e(e,t){return t.length-e.length}for(var t,a=[],n=[],s=[],i=0;i<12;i++)t=d([2e3,i]),a.push(this.monthsShort(t,"")),n.push(this.months(t,"")),s.push(this.months(t,"")),s.push(this.monthsShort(t,""));for(a.sort(e),n.sort(e),s.sort(e),i=0;i<12;i++)a[i]=A(a[i]),n[i]=A(n[i]);for(i=0;i<24;i++)s[i]=A(s[i]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function N(e){return B(e)?366:365}function B(e){return e%4==0&&e%100!=0||e%400==0}function J(e,t,a,n,s,i,r){r=new Date(e,t,a,n,s,i,r);return e<100&&0<=e&&isFinite(r.getFullYear())&&r.setFullYear(e),r}function U(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&0<=e&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function q(e,t,a){a=7+t-a;return a-(7+U(e,0,a).getUTCDay()-t)%7-1}function G(e,t,a,n,s){var i,s=1+7*(t-1)+(7+a-n)%7+q(e,n,s),s=s<=0?N(i=e-1)+s:s>N(e)?(i=e+1,s-N(e)):(i=e,s);return{year:i,dayOfYear:s}}function X(e,t,a){var n,s,i=q(e.year(),t,a),i=Math.floor((e.dayOfYear()-i-1)/7)+1;return i<1?n=i+Z(s=e.year()-1,t,a):i>Z(e.year(),t,a)?(n=i-Z(e.year(),t,a),s=e.year()+1):(s=e.year(),n=i),{week:n,year:s}}function Z(e,t,a){var n=q(e,t,a),a=q(e+1,t,a);return(N(e)-n+a)/7}function K(){function e(e,t){return t.length-e.length}for(var t,a,n,s=[],i=[],r=[],o=[],l=0;l<7;l++)n=d([2e3,1]).day(l),t=this.weekdaysMin(n,""),a=this.weekdaysShort(n,""),n=this.weekdays(n,""),s.push(t),i.push(a),r.push(n),o.push(t),o.push(a),o.push(n);for(s.sort(e),i.sort(e),r.sort(e),o.sort(e),l=0;l<7;l++)i[l]=A(i[l]),r[l]=A(r[l]),o[l]=A(o[l]);this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Q(){return this.hours()%12||12}function ee(e,t){C(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function te(e,t){return t._meridiemParse}function ae(e){return e&&e.toLowerCase().replace("_","-")}function ne(e){var t;if(!xa[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=Da._abbr,require("./locale/"+e),se(t)}catch(e){}return xa[e]}function se(e,t){return e&&((t=u(t)?re(e):ie(e,t))&&(Da=t)),Da._abbr}function ie(e,t){if(null===t)return delete xa[e],null;var a=Ta;return t.abbr=e,null!=xa[e]?(b("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),a=xa[e]._config):null!=t.parentLocale&&(null!=xa[t.parentLocale]?a=xa[t.parentLocale]._config:b("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),xa[e]=new D(k(a,t)),se(e),xa[e]}function re(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return Da;if(!r(e)){if(t=ne(e))return t;e=[e]}return function(e){for(var t,a,n,s,i=0;i<e.length;){for(t=(s=ae(e[i]).split("-")).length,a=(a=ae(e[i+1]))?a.split("-"):null;0<t;){if(n=ne(s.slice(0,t).join("-")))return n;if(a&&a.length>=t&&M(s,a,!0)>=t-1)break;t--}i++}return null}(e)}function oe(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[sa]<0||11<t[sa]?sa:t[ia]<1||t[ia]>F(t[na],t[sa])?ia:t[ra]<0||24<t[ra]||24===t[ra]&&(0!==t[oa]||0!==t[la]||0!==t[da])?ra:t[oa]<0||59<t[oa]?oa:t[la]<0||59<t[la]?la:t[da]<0||999<t[da]?da:-1,f(e)._overflowDayOfYear&&(t<na||ia<t)&&(t=ia),f(e)._overflowWeeks&&-1===t&&(t=ca),f(e)._overflowWeekday&&-1===t&&(t=ua),f(e).overflow=t),e}function le(e){var t,a,n,s,i,r,o=e._i,l=Sa.exec(o)||Ha.exec(o);if(l){for(f(e).iso=!0,t=0,a=Ca.length;t<a;t++)if(Ca[t][1].exec(l[1])){s=Ca[t][0],n=!1!==Ca[t][2];break}if(null!=s){if(l[3]){for(t=0,a=Pa.length;t<a;t++)if(Pa[t][1].exec(l[3])){i=(l[2]||" ")+Pa[t][0];break}if(null==i)return void(e._isValid=!1)}if(n||null==i){if(l[4]){if(!ja.exec(l[4]))return void(e._isValid=!1);r="Z"}e._f=s+(i||"")+(r||""),ue(e)}else e._isValid=!1}else e._isValid=!1}else e._isValid=!1}function de(e,t,a){return null!=e?e:null!=t?t:a}function ce(e){var t,a,n,s,i,r,o,l,d,c,u=[];if(!e._d){for(d=e,c=new Date(m.now()),a=d._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()],e._w&&null==e._a[ia]&&null==e._a[sa]&&(null!=(c=(d=e)._w).GG||null!=c.W||null!=c.E?(r=1,o=4,n=de(c.GG,d._a[na],X(_e(),1,4).year),s=de(c.W,1),((i=de(c.E,1))<1||7<i)&&(l=!0)):(r=d._locale._week.dow,o=d._locale._week.doy,n=de(c.gg,d._a[na],X(_e(),r,o).year),s=de(c.w,1),null!=c.d?((i=c.d)<0||6<i)&&(l=!0):null!=c.e?(i=c.e+r,(c.e<0||6<c.e)&&(l=!0)):i=r),s<1||s>Z(n,r,o)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(o=G(n,s,i,r,o),d._a[na]=o.year,d._dayOfYear=o.dayOfYear)),e._dayOfYear&&(o=de(e._a[na],a[na]),e._dayOfYear>N(o)&&(f(e)._overflowDayOfYear=!0),o=U(o,0,e._dayOfYear),e._a[sa]=o.getUTCMonth(),e._a[ia]=o.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=u[t]=a[t];for(;t<7;t++)e._a[t]=u[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ra]&&0===e._a[oa]&&0===e._a[la]&&0===e._a[da]&&(e._nextDay=!0,e._a[ra]=0),e._d=(e._useUTC?U:J).apply(null,u),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ra]=24)}}function ue(e){if(e._f===m.ISO_8601)return le(e),0;e._a=[],f(e).empty=!0;for(var t,a,n,s,i,r,o,l=""+e._i,d=l.length,c=0,u=$(e._f,e._locale).match(Et)||[],h=0;h<u.length;h++)a=u[h],(t=(l.match(O(a,e))||[])[0])&&(0<(s=l.substr(0,l.indexOf(t))).length&&f(e).unusedInput.push(s),l=l.slice(l.indexOf(t)+t.length),c+=t.length),zt[a]?(t?f(e).empty=!1:f(e).unusedTokens.push(a),n=a,i=e,null!=(s=t)&&_(aa,n)&&aa[n](s,i._a,i,n)):e._strict&&!t&&f(e).unusedTokens.push(a);f(e).charsLeftOver=d-c,0<l.length&&f(e).unusedInput.push(l),e._a[ra]<=12&&!0===f(e).bigHour&&0<e._a[ra]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[ra]=(r=e._locale,o=e._a[ra],null==(d=e._meridiem)?o:null!=r.meridiemHour?r.meridiemHour(o,d):null!=r.isPM?((d=r.isPM(d))&&o<12&&(o+=12),o=d||12!==o?o:0):o),ce(e),oe(e)}function he(e){var t=e._i,a=e._f;return e._locale=e._locale||re(e._l),null===t||void 0===a&&""===t?i({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),g(t)?new p(oe(t)):(r(a)?function(e){var t,a,n,s,i;if(0===e._f.length)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(s=0;s<e._f.length;s++)i=0,t=h({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[s],ue(t),c(t)&&(i+=f(t).charsLeftOver,i+=10*f(t).unusedTokens.length,f(t).score=i,(null==n||i<n)&&(n=i,a=t));l(e,a||t)}(e):n(t)?e._d=t:a?ue(e):void 0===(a=(t=e)._i)?t._d=new Date(m.now()):n(a)?t._d=new Date(a.valueOf()):"string"==typeof a?function(e){var t=$a.exec(e._i);null!==t?e._d=new Date(+t[1]):(le(e),!1===e._isValid&&(delete e._isValid,m.createFromInputFallback(e)))}(t):r(a)?(t._a=s(a.slice(0),function(e){return parseInt(e,10)}),ce(t)):"object"==typeof a?function(e){var t;e._d||(t=T(e._i),e._a=s([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ce(e))}(t):"number"==typeof a?t._d=new Date(a):m.createFromInputFallback(t),c(e)||(e._d=null),e))}function me(e,t,a,n,s){var i={};return"boolean"==typeof a&&(n=a,a=void 0),(o(e)&&function(e){for(var t in e)return;return 1}(e)||r(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=s,i._l=a,i._i=e,i._f=t,i._strict=n,(i=new p(oe(he(i=i))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function _e(e,t,a,n){return me(e,t,a,n,!1)}function fe(e,t){var a,n;if(!(t=1===t.length&&r(t[0])?t[0]:t).length)return _e();for(a=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](a)||(a=t[n]);return a}function pe(e){var t=T(e),a=t.year||0,n=t.quarter||0,s=t.month||0,i=t.week||0,r=t.day||0,o=t.hour||0,l=t.minute||0,e=t.second||0,t=t.millisecond||0;this._milliseconds=+t+1e3*e+6e4*l+1e3*o*60*60,this._days=+r+7*i,this._months=+s+3*n+12*a,this._data={},this._locale=re(),this._bubble()}function ge(e){return e instanceof pe}function ye(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function ve(e,a){C(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+j(~~(e/60),2)+a+j(~~e%60,2)})}function Me(e,t){t=(t||"").match(e)||[],e=((t[t.length-1]||[])+"").match(Ea)||["-",0,0],t=60*e[1]+v(e[2]);return"+"===e[0]?t:-t}function we(e,t){var a;return t._isUTC?(a=t.clone(),t=(g(e)||n(e)?e:_e(e)).valueOf()-a.valueOf(),a._d.setTime(a._d.valueOf()+t),m.updateOffset(a,!1),a):_e(e).local()}function be(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Le(){return!!this.isValid()&&this._isUTC&&0===this._offset}function ke(e,t){var a,n,s=e,i=null;return ge(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(s={},t?s[t]=e:s.milliseconds=e):(i=Oa.exec(e))?(a="-"===i[1]?-1:1,s={y:0,d:v(i[ia])*a,h:v(i[ra])*a,m:v(i[oa])*a,s:v(i[la])*a,ms:v(ye(1e3*i[da]))*a}):(i=Aa.exec(e))?(a="-"===i[1]?-1:1,s={y:De(i[2],a),M:De(i[3],a),w:De(i[4],a),d:De(i[5],a),h:De(i[6],a),m:De(i[7],a),s:De(i[8],a)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(i=_e(s.from),a=_e(s.to),n=i.isValid()&&a.isValid()?(a=we(a,i),i.isBefore(a)?n=Ye(i,a):((n=Ye(a,i)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(s={}).ms=n.milliseconds,s.M=n.months),s=new pe(s),ge(e)&&_(e,"_locale")&&(s._locale=e._locale),s}function De(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Ye(e,t){var a={milliseconds:0,months:0};return a.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(a.months,"M").isAfter(t)&&--a.months,a.milliseconds=+t-+e.clone().add(a.months,"M"),a}function Te(n,s){return function(e,t){var a;return null===t||isNaN(+t)||(b(s,"moment()."+s+"(period, number) is deprecated. Please use moment()."+s+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=e,e=t,t=a),xe(this,ke(e="string"==typeof e?+e:e,t),n),this}}function xe(e,t,a,n){var s=t._milliseconds,i=ye(t._days),t=ye(t._months);e.isValid()&&(n=null==n||n,s&&e._d.setTime(e._d.valueOf()+s*a),i&&H(e,"Date",S(e,"Date")+i*a),t&&I(e,S(e,"Month")+t*a),n&&m.updateOffset(e,i||t))}function Se(e){return void 0===e?this._locale._abbr:(null!=(e=re(e))&&(this._locale=e),this)}function He(){return this._locale}function je(e,t){C(0,[e,e.length],0,t)}function Ce(e,t,a,n,s){var i;return null==e?X(this,n,s).year:(i=Z(e,n,s),function(e,t,a,n,s){s=G(e,t,a,n,s),s=U(s.year,0,s.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}.call(this,e,t=i<t?i:t,a,n,s))}function Pe(e,t){t[da]=v(1e3*("0."+e))}function $e(e){return e}function Ee(e,t,a,n){var s=re(),t=d().set(n,t);return s[a](t,e)}function Oe(e,t,a){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return Ee(e,t,a,"month");for(var n=[],s=0;s<12;s++)n[s]=Ee(e,s,a,"month");return n}function Ae(e,t,a,n){t=("boolean"==typeof e||(a=t=e,e=!1),"number"==typeof t&&(a=t,t=void 0),t||"");var s=re(),i=e?s._week.dow:0;if(null!=a)return Ee(t,(a+i)%7,n,"day");for(var r=[],o=0;o<7;o++)r[o]=Ee(t,(o+i)%7,n,"day");return r}function ze(e,t,a,n){a=ke(t,a);return e._milliseconds+=n*a._milliseconds,e._days+=n*a._days,e._months+=n*a._months,e._bubble()}function We(e){return e<0?Math.floor(e):Math.ceil(e)}function Fe(e){return 4800*e/146097}function Ie(e){return 146097*e/4800}function Re(e){return function(){return this.as(e)}}function Ve(e){return function(){return this._data[e]}}function Ne(e,t,a){var n=ke(e).abs(),s=Fa(n.as("s")),i=Fa(n.as("m")),r=Fa(n.as("h")),o=Fa(n.as("d")),l=Fa(n.as("M")),n=Fa(n.as("y")),n=(s<Ia.s?["s",s]:i<=1&&["m"])||i<Ia.m&&["mm",i]||r<=1&&["h"]||r<Ia.h&&["hh",r]||o<=1&&["d"]||o<Ia.d&&["dd",o]||l<=1&&["M"]||l<Ia.M&&["MM",l]||n<=1&&["y"]||["yy",n];return n[2]=t,n[3]=0<+e,n[4]=a,function(e,t,a,n,s){return s.relativeTime(t||1,!!a,e,n)}.apply(null,n)}function Be(){var e=Ra(this._milliseconds)/1e3,t=Ra(this._days),a=Ra(this._months),n=y(e/60),s=y(n/60);e%=60,n%=60;var i=y(a/12),r=a%=12,a=t,t=s,s=n,n=e,e=this.asSeconds();return e?(e<0?"-":"")+"P"+(i?i+"Y":"")+(r?r+"M":"")+(a?a+"D":"")+(t||s||n?"T":"")+(t?t+"H":"")+(s?s+"M":"")+(n?n+"S":""):"P0D"}function Je(e,t,a){return"m"===a?t?"хвіліна":"хвіліну":"h"===a?t?"гадзіна":"гадзіну":e+" "+(e=+e,a=(a={mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[a]).split("_"),e%10==1&&e%100!=11?a[0]:2<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?a[1]:a[2])}function Ue(e,t,a){return e+" "+(a={mm:"munutenn",MM:"miz",dd:"devezh"}[a],2===e?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(a):a)}function qe(e,t,a){var n=e+" ";switch(a){case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1!==e&&(2===e||3===e||4===e)?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(1!==e&&(2===e||3===e||4===e)?"godine":"godina")}}function Ge(e){return 1<e&&e<5&&1!=~~(e/10)}function Xe(e,t,a,n){var s=e+" ";switch(a){case"s":return t||n?"pár sekund":"pár sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?s+(Ge(e)?"minuty":"minut"):s+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?s+(Ge(e)?"hodiny":"hodin"):s+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?s+(Ge(e)?"dny":"dní"):s+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?s+(Ge(e)?"měsíce":"měsíců"):s+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?s+(Ge(e)?"roky":"let"):s+"lety"}}function Ze(e,t,a,n){e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?e[a][0]:e[a][1]}function Ke(e,t,a,n){e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?e[a][0]:e[a][1]}function Qe(e,t,a,n){e={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?e[a][2]||e[a][1]:n?e[a][0]:e[a][1]}function et(e,t,a,n){var s="";switch(a){case"s":return n?"muutaman sekunnin":"muutama sekunti";case"m":return n?"minuutin":"minuutti";case"mm":s=n?"minuutin":"minuuttia";break;case"h":return n?"tunnin":"tunti";case"hh":s=n?"tunnin":"tuntia";break;case"d":return n?"päivän":"päivä";case"dd":s=n?"päivän":"päivää";break;case"M":return n?"kuukauden":"kuukausi";case"MM":s=n?"kuukauden":"kuukautta";break;case"y":return n?"vuoden":"vuosi";case"yy":s=n?"vuoden":"vuotta"}return a=n,((e=e)<10?(a?hn:un)[e]:e)+" "+s}function tt(e,t,a){var n=e+" ";switch(a){case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1!==e&&(2===e||3===e||4===e)?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(1!==e&&(2===e||3===e||4===e)?"godine":"godina")}}function at(e,t,a,n){var s=e;switch(a){case"s":return n||t?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return s+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" óra":" órája");case"hh":return s+(n||t?" óra":" órája");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return s+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" hónap":" hónapja");case"MM":return s+(n||t?" hónap":" hónapja");case"y":return"egy"+(n||t?" év":" éve");case"yy":return s+(n||t?" év":" éve")}return""}function nt(e){return(e?"":"[múlt] ")+"["+gn[this.day()]+"] LT[-kor]"}function st(e){return e%100==11||e%10!=1}function it(e,t,a,n){var s=e+" ";switch(a){case"s":return t||n?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return t?"mínúta":"mínútu";case"mm":return st(e)?s+(t||n?"mínútur":"mínútum"):t?s+"mínúta":s+"mínútu";case"hh":return st(e)?s+(t||n?"klukkustundir":"klukkustundum"):s+"klukkustund";case"d":return t?"dagur":n?"dag":"degi";case"dd":return st(e)?t?s+"dagar":s+(n?"daga":"dögum"):t?s+"dagur":s+(n?"dag":"degi");case"M":return t?"mánuður":n?"mánuð":"mánuði";case"MM":return st(e)?t?s+"mánuðir":s+(n?"mánuði":"mánuðum"):t?s+"mánuður":s+(n?"mánuð":"mánuði");case"y":return t||n?"ár":"ári";case"yy":return st(e)?s+(t||n?"ár":"árum"):s+(t||n?"ár":"ári")}}function rt(e,t,a,n){var s={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?s[a][0]:s[a][1]}function ot(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return ot(0==t?e/10:t)}if(e<1e4){for(;10<=e;)e/=10;return ot(e)}return ot(e/=1e3)}function lt(e,t,a,n){return t?ct(a)[0]:n?ct(a)[1]:ct(a)[2]}function dt(e){return e%10==0||10<e&&e<20}function ct(e){return Mn[e].split("_")}function ut(e,t,a,n){var s=e+" ";return 1===e?s+lt(0,t,a[0],n):t?s+(dt(e)?ct(a)[1]:ct(a)[0]):n?s+ct(a)[1]:s+(dt(e)?ct(a)[1]:ct(a)[2])}function ht(e,t,a){return a?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function mt(e,t,a){return e+" "+ht(wn[a],e,t)}function _t(e,t,a){return ht(wn[a],e,t)}function ft(e,t,a,n){var s="";if(t)switch(a){case"s":s="काही सेकंद";break;case"m":s="एक मिनिट";break;case"mm":s="%d मिनिटे";break;case"h":s="एक तास";break;case"hh":s="%d तास";break;case"d":s="एक दिवस";break;case"dd":s="%d दिवस";break;case"M":s="एक महिना";break;case"MM":s="%d महिने";break;case"y":s="एक वर्ष";break;case"yy":s="%d वर्षे"}else switch(a){case"s":s="काही सेकंदां";break;case"m":s="एका मिनिटा";break;case"mm":s="%d मिनिटां";break;case"h":s="एका तासा";break;case"hh":s="%d तासां";break;case"d":s="एका दिवसा";break;case"dd":s="%d दिवसां";break;case"M":s="एका महिन्या";break;case"MM":s="%d महिन्यां";break;case"y":s="एका वर्षा";break;case"yy":s="%d वर्षां"}return s.replace(/%d/i,e)}function pt(e){return e%10<5&&1<e%10&&~~(e/10)%10!=1}function gt(e,t,a){var n=e+" ";switch(a){case"m":return t?"minuta":"minutę";case"mm":return n+(pt(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(pt(e)?"godziny":"godzin");case"MM":return n+(pt(e)?"miesiące":"miesięcy");case"yy":return n+(pt(e)?"lata":"lat")}}function yt(e,t,a){return e+(20<=e%100||100<=e&&e%100==0?" de ":" ")+{mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[a]}function vt(e,t,a){return"m"===a?t?"минута":"минуту":e+" "+(e=+e,a=(a={mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[a]).split("_"),e%10==1&&e%100!=11?a[0]:2<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?a[1]:a[2])}function Mt(e){return 1<e&&e<5}function wt(e,t,a,n){var s=e+" ";switch(a){case"s":return t||n?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":n?"minútu":"minútou";case"mm":return t||n?s+(Mt(e)?"minúty":"minút"):s+"minútami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?s+(Mt(e)?"hodiny":"hodín"):s+"hodinami";case"d":return t||n?"deň":"dňom";case"dd":return t||n?s+(Mt(e)?"dni":"dní"):s+"dňami";case"M":return t||n?"mesiac":"mesiacom";case"MM":return t||n?s+(Mt(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||n?"rok":"rokom";case"yy":return t||n?s+(Mt(e)?"roky":"rokov"):s+"rokmi"}}function bt(e,t,a,n){var s=e+" ";switch(a){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"m":return t?"ena minuta":"eno minuto";case"mm":return s+(1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return s+(1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami");case"d":return t||n?"en dan":"enim dnem";case"dd":return s+(1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi");case"M":return t||n?"en mesec":"enim mesecem";case"MM":return s+(1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci");case"y":return t||n?"eno leto":"enim letom";case"yy":return s+(1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"let":"leti")}}function Lt(e,t,a,n){var s,i,r,o=(s=e,i=Math.floor(s%1e3/100),r=Math.floor(s%100/10),e=s%10,s="",0<i&&(s+=Wn[i]+"vatlh"),0<r&&(s+=(""!==s?" ":"")+Wn[r]+"maH"),0<e&&(s+=(""!==s?" ":"")+Wn[e]),""===s?"pagh":s);switch(a){case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}function kt(e,t,a,n){e={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return n||t?e[a][0]:e[a][1]}function Dt(e,t,a){return"m"===a?t?"хвилина":"хвилину":"h"===a?t?"година":"годину":e+" "+(e=+e,a=(a={mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[a]).split("_"),e%10==1&&e%100!=11?a[0]:2<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?a[1]:a[2])}function Yt(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var Tt,xt=Array.prototype.some||function(e){for(var t=Object(this),a=t.length>>>0,n=0;n<a;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1},St=m.momentProperties=[],Ht=!1,jt={};m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var Ct=Object.keys||function(e){var t,a=[];for(t in e)_(e,t)&&a.push(t);return a},Pt={},$t={},Et=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ot=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,At={},zt={},Wt=/\d/,Ft=/\d\d/,It=/\d{3}/,Rt=/\d{4}/,Vt=/[+-]?\d{6}/,Nt=/\d\d?/,Bt=/\d\d\d\d?/,Jt=/\d\d\d\d\d\d?/,Ut=/\d{1,3}/,qt=/\d{1,4}/,Gt=/[+-]?\d{1,6}/,Xt=/\d+/,Zt=/[+-]?\d+/,Kt=/Z|[+-]\d\d:?\d\d/gi,Qt=/Z|[+-]\d\d(?::?\d\d)?/gi,ea=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ta={},aa={},na=0,sa=1,ia=2,ra=3,oa=4,la=5,da=6,ca=7,ua=8,ha=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1};C("M",["MM",2],"Mo",function(){return this.month()+1}),C("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),C("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),a("month",8),E("M",Nt),E("MM",Nt,Ft),E("MMM",function(e,t){return t.monthsShortRegex(e)}),E("MMMM",function(e,t){return t.monthsRegex(e)}),z(["M","MM"],function(e,t){t[sa]=v(e)-1}),z(["MMM","MMMM"],function(e,t,a,n){n=a._locale.monthsParse(e,n,a._strict);null!=n?t[sa]=n:f(a).invalidMonth=e});var ma=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,_a="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),fa="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),pa=ea,ga=ea;C("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),C(0,["YY",2],0,function(){return this.year()%100}),C(0,["YYYY",4],0,"year"),C(0,["YYYYY",5],0,"year"),C(0,["YYYYYY",6,!0],0,"year"),t("year","y"),a("year",1),E("Y",Zt),E("YY",Nt,Ft),E("YYYY",qt,Rt),E("YYYYY",Gt,Vt),E("YYYYYY",Gt,Vt),z(["YYYYY","YYYYYY"],na),z("YYYY",function(e,t){t[na]=2===e.length?m.parseTwoDigitYear(e):v(e)}),z("YY",function(e,t){t[na]=m.parseTwoDigitYear(e)}),z("Y",function(e,t){t[na]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return v(e)+(68<v(e)?1900:2e3)};var ya=x("FullYear",!0);C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),a("week",5),a("isoWeek",5),E("w",Nt),E("ww",Nt,Ft),E("W",Nt),E("WW",Nt,Ft),W(["w","ww","W","WW"],function(e,t,a,n){t[n.substr(0,1)]=v(e)});C("d",0,"do","day"),C("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),C("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),C("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),a("day",11),a("weekday",11),a("isoWeekday",11),E("d",Nt),E("e",Nt),E("E",Nt),E("dd",function(e,t){return t.weekdaysMinRegex(e)}),E("ddd",function(e,t){return t.weekdaysShortRegex(e)}),E("dddd",function(e,t){return t.weekdaysRegex(e)}),W(["dd","ddd","dddd"],function(e,t,a,n){n=a._locale.weekdaysParse(e,n,a._strict);null!=n?t.d=n:f(a).invalidWeekday=e}),W(["d","e","E"],function(e,t,a,n){t[n]=v(e)});var va="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ma="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wa="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ba=ea,La=ea,ka=ea;C("H",["HH",2],0,"hour"),C("h",["hh",2],0,Q),C("k",["kk",2],0,function(){return this.hours()||24}),C("hmm",0,0,function(){return""+Q.apply(this)+j(this.minutes(),2)}),C("hmmss",0,0,function(){return""+Q.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)}),C("Hmm",0,0,function(){return""+this.hours()+j(this.minutes(),2)}),C("Hmmss",0,0,function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)}),ee("a",!0),ee("A",!1),t("hour","h"),a("hour",13),E("a",te),E("A",te),E("H",Nt),E("h",Nt),E("HH",Nt,Ft),E("hh",Nt,Ft),E("hmm",Bt),E("hmmss",Jt),E("Hmm",Bt),E("Hmmss",Jt),z(["H","HH"],ra),z(["a","A"],function(e,t,a){a._isPm=a._locale.isPM(e),a._meridiem=e}),z(["h","hh"],function(e,t,a){t[ra]=v(e),f(a).bigHour=!0}),z("hmm",function(e,t,a){var n=e.length-2;t[ra]=v(e.substr(0,n)),t[oa]=v(e.substr(n)),f(a).bigHour=!0}),z("hmmss",function(e,t,a){var n=e.length-4,s=e.length-2;t[ra]=v(e.substr(0,n)),t[oa]=v(e.substr(n,2)),t[la]=v(e.substr(s)),f(a).bigHour=!0}),z("Hmm",function(e,t,a){var n=e.length-2;t[ra]=v(e.substr(0,n)),t[oa]=v(e.substr(n))}),z("Hmmss",function(e,t,a){var n=e.length-4,s=e.length-2;t[ra]=v(e.substr(0,n)),t[oa]=v(e.substr(n,2)),t[la]=v(e.substr(s))});var Da,Ya=x("Hours",!0),Ta={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:_a,monthsShort:fa,week:{dow:0,doy:6},weekdays:va,weekdaysMin:wa,weekdaysShort:Ma,meridiemParse:/[ap]\.?m?\.?/i},xa={},Sa=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,Ha=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,ja=/Z|[+-]\d\d(?::?\d\d)?/,Ca=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Pa=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],$a=/^\/?Date\((\-?\d+)/i;m.createFromInputFallback=e("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),m.ISO_8601=function(){};ea=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_e.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:i()}),Bt=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_e.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:i()});ve("Z",":"),ve("ZZ",""),E("Z",Qt),E("ZZ",Qt),z(["Z","ZZ"],function(e,t,a){a._useUTC=!0,a._tzm=Me(Qt,e)});var Ea=/([\+\-]|\d\d)/gi;m.updateOffset=function(){};var Oa=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Aa=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ke.fn=pe.prototype;Jt=Te(1,"add"),_a=Te(-1,"subtract");m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";fa=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});C(0,["gg",2],0,function(){return this.weekYear()%100}),C(0,["GG",2],0,function(){return this.isoWeekYear()%100}),je("gggg","weekYear"),je("ggggg","weekYear"),je("GGGG","isoWeekYear"),je("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),a("weekYear",1),a("isoWeekYear",1),E("G",Zt),E("g",Zt),E("GG",Nt,Ft),E("gg",Nt,Ft),E("GGGG",qt,Rt),E("gggg",qt,Rt),E("GGGGG",Gt,Vt),E("ggggg",Gt,Vt),W(["gggg","ggggg","GGGG","GGGGG"],function(e,t,a,n){t[n.substr(0,2)]=v(e)}),W(["gg","GG"],function(e,t,a,n){t[n]=m.parseTwoDigitYear(e)}),C("Q",0,"Qo","quarter"),t("quarter","Q"),a("quarter",7),E("Q",Wt),z("Q",function(e,t){t[sa]=3*(v(e)-1)}),C("D",["DD",2],"Do","date"),t("date","D"),a("date",9),E("D",Nt),E("DD",Nt,Ft),E("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),z(["D","DD"],ia),z("Do",function(e,t){t[ia]=v(e.match(Nt)[0])});va=x("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),a("dayOfYear",4),E("DDD",Ut),E("DDDD",It),z(["DDD","DDDD"],function(e,t,a){a._dayOfYear=v(e)}),C("m",["mm",2],0,"minute"),t("minute","m"),a("minute",14),E("m",Nt),E("mm",Nt,Ft),z(["m","mm"],oa);wa=x("Minutes",!1);C("s",["ss",2],0,"second"),t("second","s"),a("second",15),E("s",Nt),E("ss",Nt,Ft),z(["s","ss"],la);var za,Ma=x("Seconds",!1);for(C("S",0,0,function(){return~~(this.millisecond()/100)}),C(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,function(){return 10*this.millisecond()}),C(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),C(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),C(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),C(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),C(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),a("millisecond",16),E("S",Ut,Wt),E("SS",Ut,Ft),E("SSS",Ut,It),za="SSSS";za.length<=9;za+="S")E(za,Xt);for(za="S";za.length<=9;za+="S")z(za,Pe);qt=x("Milliseconds",!1);C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");Rt=p.prototype;Rt.add=Jt,Rt.calendar=function(e,t){var a=e||_e(),e=we(a,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(L(t[e])?t[e].call(this,a):t[e]);return this.format(t||this.localeData().calendar(e,this,_e(a)))},Rt.clone=function(){return new p(this)},Rt.diff=function(e,t,a){var n,s,i,r,o,l;return this.isValid()?(s=we(e,this)).isValid()?(n=6e4*(s.utcOffset()-this.utcOffset()),"year"===(t=Y(t))||"month"===t||"quarter"===t?(i=this,e=12*((r=s).year()-i.year())+(r.month()-i.month()),l=i.clone().add(e,"months"),l=r-l<0?(o=i.clone().add(e-1,"months"),(r-l)/(l-o)):(o=i.clone().add(1+e,"months"),(r-l)/(o-l)),l=-(e+l)||0,"quarter"===t?l/=3:"year"===t&&(l/=12)):(s=this-s,l="second"===t?s/1e3:"minute"===t?s/6e4:"hour"===t?s/36e5:"day"===t?(s-n)/864e5:"week"===t?(s-n)/6048e5:s),a?l:y(l)):NaN:NaN},Rt.endOf=function(e){return void 0===(e=Y(e))||"millisecond"===e?this:this.startOf(e="date"===e?"day":e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms")},Rt.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=P(this,e),this.localeData().postformat(e)},Rt.from=function(e,t){return this.isValid()&&(g(e)&&e.isValid()||_e(e).isValid())?ke({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Rt.fromNow=function(e){return this.from(_e(),e)},Rt.to=function(e,t){return this.isValid()&&(g(e)&&e.isValid()||_e(e).isValid())?ke({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Rt.toNow=function(e){return this.to(_e(),e)},Rt.get=function(e){return L(this[e=Y(e)])?this[e]():this},Rt.invalidAt=function(){return f(this).overflow},Rt.isAfter=function(e,t){return e=g(e)?e:_e(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=Y(u(t)?"millisecond":t))?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},Rt.isBefore=function(e,t){return e=g(e)?e:_e(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=Y(u(t)?"millisecond":t))?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},Rt.isBetween=function(e,t,a,n){return("("===(n=n||"()")[0]?this.isAfter(e,a):!this.isBefore(e,a))&&(")"===n[1]?this.isBefore(t,a):!this.isAfter(t,a))},Rt.isSame=function(e,t){var e=g(e)?e:_e(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=Y(t||"millisecond"))?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},Rt.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Rt.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Rt.isValid=function(){return c(this)},Rt.lang=fa,Rt.locale=Se,Rt.localeData=He,Rt.max=Bt,Rt.min=ea,Rt.parsingFlags=function(){return l({},f(this))},Rt.set=function(e,t){if("object"==typeof e)for(var a=function(e){var t,a=[];for(t in e)a.push({unit:t,priority:$t[t]});return a.sort(function(e,t){return e.priority-t.priority}),a}(e=T(e)),n=0;n<a.length;n++)this[a[n].unit](e[a[n].unit]);else if(L(this[e=Y(e)]))return this[e](t);return this},Rt.startOf=function(e){switch(e=Y(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},Rt.subtract=_a,Rt.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Rt.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Rt.toDate=function(){return new Date(this.valueOf())},Rt.toISOString=function(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?L(Date.prototype.toISOString)?this.toDate().toISOString():P(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):P(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},Rt.toJSON=function(){return this.isValid()?this.toISOString():null},Rt.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Rt.unix=function(){return Math.floor(this.valueOf()/1e3)},Rt.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Rt.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Rt.year=ya,Rt.isLeapYear=function(){return B(this.year())},Rt.weekYear=function(e){return Ce.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Rt.isoWeekYear=function(e){return Ce.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Rt.quarter=Rt.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Rt.month=R,Rt.daysInMonth=function(){return F(this.year(),this.month())},Rt.week=Rt.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Rt.isoWeek=Rt.isoWeeks=function(e){var t=X(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Rt.weeksInYear=function(){var e=this.localeData()._week;return Z(this.year(),e.dow,e.doy)},Rt.isoWeeksInYear=function(){return Z(this.year(),1,4)},Rt.date=va,Rt.day=Rt.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,a,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,a=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=a.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-n,"d")):n},Rt.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Rt.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},Rt.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Rt.hour=Rt.hours=Ya,Rt.minute=Rt.minutes=wa,Rt.second=Rt.seconds=Ma,Rt.millisecond=Rt.milliseconds=qt,Rt.utcOffset=function(e,t){var a,n=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=Me(Qt,e):Math.abs(e)<16&&(e*=60),!this._isUTC&&t&&(a=be(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),n!==e&&(!t||this._changeInProgress?xe(this,ke(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?n:be(this):null!=e?this:NaN},Rt.utc=function(e){return this.utcOffset(0,e)},Rt.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(be(this),"m")),this},Rt.parseZone=function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&(0===Me(Kt,this._i)?this.utcOffset(0,!0):this.utcOffset(Me(Kt,this._i))),this},Rt.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?_e(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Rt.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Rt.isLocal=function(){return!!this.isValid()&&!this._isUTC},Rt.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Rt.isUtc=Le,Rt.isUTC=Le,Rt.zoneAbbr=function(){return this._isUTC?"UTC":""},Rt.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Rt.dates=e("dates accessor is deprecated. Use date instead.",va),Rt.months=e("months accessor is deprecated. Use month instead",R),Rt.years=e("years accessor is deprecated. Use year instead",ya),Rt.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),Rt.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return h(t,this),(t=he(t))._a?(e=(t._isUTC?d:_e)(t._a),this._isDSTShifted=this.isValid()&&0<M(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});Gt=Rt,Vt=D.prototype;Vt.calendar=function(e,t,a){return L(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,a):e},Vt.longDateFormat=function(e){var t=this._longDateFormat[e],a=this._longDateFormat[e.toUpperCase()];return t||!a?t:(this._longDateFormat[e]=a.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},Vt.invalidDate=function(){return this._invalidDate},Vt.ordinal=function(e){return this._ordinal.replace("%d",e)},Vt.preparse=$e,Vt.postformat=$e,Vt.relativeTime=function(e,t,a,n){var s=this._relativeTime[a];return L(s)?s(e,t,a,n):s.replace(/%d/i,e)},Vt.pastFuture=function(e,t){return L(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},Vt.set=function(e){var t,a;for(a in e)t=e[a],L(t)?this[a]=t:this["_"+a]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},Vt.months=function(e,t){return e?(r(this._months)?this._months:this._months[(this._months.isFormat||ma).test(t)?"format":"standalone"])[e.month()]:this._months},Vt.monthsShort=function(e,t){return e?(r(this._monthsShort)?this._monthsShort:this._monthsShort[ma.test(t)?"format":"standalone"])[e.month()]:this._monthsShort},Vt.monthsParse=function(e,t,a){var n,s;if(this._monthsParseExact)return function(e,t,a){var n,s,i,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return a?-1!==(s="MMM"===t?ha.call(this._shortMonthsParse,e):ha.call(this._longMonthsParse,e))?s:null:"MMM"===t?-1!==(s=ha.call(this._shortMonthsParse,e))?s:-1!==(s=ha.call(this._longMonthsParse,e))?s:null:-1!==(s=ha.call(this._longMonthsParse,e))?s:-1!==(s=ha.call(this._shortMonthsParse,e))?s:null}.call(this,e,t,a);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=d([2e3,n]),a&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),a||this._monthsParse[n]||(s="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),a&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(a&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!a&&this._monthsParse[n].test(e))return n}},Vt.monthsRegex=function(e){return this._monthsParseExact?(_(this,"_monthsRegex")||V.call(this),e?this._monthsStrictRegex:this._monthsRegex):(_(this,"_monthsRegex")||(this._monthsRegex=ga),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Vt.monthsShortRegex=function(e){return this._monthsParseExact?(_(this,"_monthsRegex")||V.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(_(this,"_monthsShortRegex")||(this._monthsShortRegex=pa),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Vt.week=function(e){return X(e,this._week.dow,this._week.doy).week},Vt.firstDayOfYear=function(){return this._week.doy},Vt.firstDayOfWeek=function(){return this._week.dow},Vt.weekdays=function(e,t){return e?(r(this._weekdays)?this._weekdays:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"])[e.day()]:this._weekdays},Vt.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},Vt.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},Vt.weekdaysParse=function(e,t,a){var n,s;if(this._weekdaysParseExact)return function(e,t,a){var n,s,i,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return a?-1!==(s="dddd"===t?ha.call(this._weekdaysParse,e):"ddd"===t?ha.call(this._shortWeekdaysParse,e):ha.call(this._minWeekdaysParse,e))?s:null:"dddd"===t?-1!==(s=ha.call(this._weekdaysParse,e))?s:-1!==(s=ha.call(this._shortWeekdaysParse,e))?s:-1!==(s=ha.call(this._minWeekdaysParse,e))?s:null:"ddd"===t?-1!==(s=ha.call(this._shortWeekdaysParse,e))?s:-1!==(s=ha.call(this._weekdaysParse,e))?s:-1!==(s=ha.call(this._minWeekdaysParse,e))?s:null:-1!==(s=ha.call(this._minWeekdaysParse,e))?s:-1!==(s=ha.call(this._weekdaysParse,e))?s:-1!==(s=ha.call(this._shortWeekdaysParse,e))?s:null}.call(this,e,t,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=d([2e3,1]).day(n),a&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".",".?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),a&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(a&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(a&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!a&&this._weekdaysParse[n].test(e))return n}},Vt.weekdaysRegex=function(e){return this._weekdaysParseExact?(_(this,"_weekdaysRegex")||K.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(_(this,"_weekdaysRegex")||(this._weekdaysRegex=ba),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Vt.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(_(this,"_weekdaysRegex")||K.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(_(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=La),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Vt.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(_(this,"_weekdaysRegex")||K.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(_(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ka),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Vt.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Vt.meridiem=function(e,t,a){return 11<e?a?"pm":"PM":a?"am":"AM"},se("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===v(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",se),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",re);var Wa=Math.abs,Wt=Re("ms"),Ft=Re("s"),Ut=Re("m"),It=Re("h"),Jt=Re("d"),Bt=Re("w"),ea=Re("M"),_a=Re("y"),Ya=Ve("milliseconds"),wa=Ve("seconds"),Ma=Ve("minutes"),qt=Ve("hours"),va=Ve("days"),ya=Ve("months"),Rt=Ve("years"),Fa=Math.round,Ia={s:45,m:45,h:22,d:26,M:11},Ra=Math.abs,Vt=pe.prototype;Vt.abs=function(){var e=this._data;return this._milliseconds=Wa(this._milliseconds),this._days=Wa(this._days),this._months=Wa(this._months),e.milliseconds=Wa(e.milliseconds),e.seconds=Wa(e.seconds),e.minutes=Wa(e.minutes),e.hours=Wa(e.hours),e.months=Wa(e.months),e.years=Wa(e.years),this},Vt.add=function(e,t){return ze(this,e,t,1)},Vt.subtract=function(e,t){return ze(this,e,t,-1)},Vt.as=function(e){var t,a,n=this._milliseconds;if("month"===(e=Y(e))||"year"===e)return t=this._days+n/864e5,a=this._months+Fe(t),"month"===e?a:a/12;switch(t=this._days+Math.round(Ie(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},Vt.asMilliseconds=Wt,Vt.asSeconds=Ft,Vt.asMinutes=Ut,Vt.asHours=It,Vt.asDays=Jt,Vt.asWeeks=Bt,Vt.asMonths=ea,Vt.asYears=_a,Vt.valueOf=function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12)},Vt._bubble=function(){var e=this._milliseconds,t=this._days,a=this._months,n=this._data;return 0<=e&&0<=t&&0<=a||e<=0&&t<=0&&a<=0||(e+=864e5*We(Ie(a)+t),a=t=0),n.milliseconds=e%1e3,e=y(e/1e3),n.seconds=e%60,e=y(e/60),n.minutes=e%60,e=y(e/60),n.hours=e%24,t+=y(e/24),a+=e=y(Fe(t)),t-=We(Ie(e)),e=y(a/12),a%=12,n.days=t,n.months=a,n.years=e,this},Vt.get=function(e){return this[(e=Y(e))+"s"]()},Vt.milliseconds=Ya,Vt.seconds=wa,Vt.minutes=Ma,Vt.hours=qt,Vt.days=va,Vt.weeks=function(){return y(this.days()/7)},Vt.months=ya,Vt.years=Rt,Vt.humanize=function(e){var t=this.localeData(),a=Ne(this,!e,t);return e&&(a=t.pastFuture(+this,a)),t.postformat(a)},Vt.toISOString=Be,Vt.toString=Be,Vt.toJSON=Be,Vt.locale=Se,Vt.localeData=He,Vt.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Be),Vt.lang=fa,C("X",0,0,"unix"),C("x",0,0,"valueOf"),E("x",Zt),E("X",/[+-]?\d+(\.\d{1,3})?/),z("X",function(e,t,a){a._d=new Date(1e3*parseFloat(e,10))}),z("x",function(e,t,a){a._d=new Date(v(e))}),m.version="2.15.2",Tt=_e,m.fn=Gt,m.min=function(){return fe("isBefore",[].slice.call(arguments,0))},m.max=function(){return fe("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=d,m.unix=function(e){return _e(1e3*e)},m.months=function(e,t){return Oe(e,t,"months")},m.isDate=n,m.locale=se,m.invalid=i,m.duration=ke,m.isMoment=g,m.weekdays=function(e,t,a){return Ae(e,t,a,"weekdays")},m.parseZone=function(){return _e.apply(null,arguments).parseZone()},m.localeData=re,m.isDuration=ge,m.monthsShort=function(e,t){return Oe(e,t,"monthsShort")},m.weekdaysMin=function(e,t,a){return Ae(e,t,a,"weekdaysMin")},m.defineLocale=ie,m.updateLocale=function(e,t){return null!=t?((t=new D(t=k(null!=xa[e]?xa[e]._config:Ta,t))).parentLocale=xa[e],xa[e]=t,se(e)):null!=xa[e]&&(null!=xa[e].parentLocale?xa[e]=xa[e].parentLocale:null!=xa[e]&&delete xa[e]),xa[e]},m.locales=function(){return Ct(xa)},m.weekdaysShort=function(e,t,a){return Ae(e,t,a,"weekdaysShort")},m.normalizeUnits=Y,m.relativeTimeRounding=function(e){return void 0===e?Fa:"function"==typeof e&&(Fa=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Ia[e]&&(void 0===t?Ia[e]:(Ia[e]=t,!0))},m.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=Gt;function Va(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5}function Na(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5}var Ba=m,Ja=(Ba.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,a){return e<12?a?"vm":"VM":a?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?"ste":"de")},week:{dow:1,doy:4}}),{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"}),Ua={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},Zt=function(r){return function(e,t,a,n){var s=Va(e),i=Ua[r][Va(e)];return(i=2===s?i[t?0:1]:i).replace(/%d/i,e)}},Gt=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],qa=(Ba.defineLocale("ar-ly",{months:Gt,monthsShort:Gt,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:Zt("s"),m:Zt("m"),mm:Zt("m"),h:Zt("h"),hh:Zt("h"),d:Zt("d"),dd:Zt("d"),M:Zt("M"),MM:Zt("M"),y:Zt("y"),yy:Zt("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Ja[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),Ba.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}}),{1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"}),Ga={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},Xa=(Ba.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return Ga[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return qa[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),Ba.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}}),{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"}),Za={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},Ka={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},Gt=function(r){return function(e,t,a,n){var s=Na(e),i=Ka[r][Na(e)];return(i=2===s?i[t?0:1]:i).replace(/%d/i,e)}},Zt=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],Qa=(Ba.defineLocale("ar",{months:Zt,monthsShort:Zt,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:Gt("s"),m:Gt("m"),mm:Gt("m"),h:Gt("h"),hh:Gt("h"),d:Gt("d"),dd:Gt("d"),M:Gt("M"),MM:Gt("M"),y:Gt("y"),yy:Gt("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/[1234567890]/g,function(e){return Za[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Xa[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),{1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"}),en=(Ba.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,a){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var t=e%10;return e+(Qa[t]||Qa[e%100-t]||Qa[100<=e?100:null])},week:{dow:1,doy:7}}),Ba.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:Je,mm:Je,h:Je,hh:Je,d:"дзень",dd:Je,M:"месяц",MM:Je,y:"год",yy:Je},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}}),Ba.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,a=e%100;return 0===e?e+"-ев":0==a?e+"-ен":10<a&&a<20?e+"-ти":1==t?e+"-ви":2==t?e+"-ри":7==t||8==t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),{1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"}),tn={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},an=(Ba.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return tn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return en[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&4<=e||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,a){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}}),{1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"}),nn={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},Zt=(Ba.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return nn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return an[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&4<=e||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,a){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}}),Ba.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:Ue,h:"un eur",hh:"%d eur",d:"un devezh",dd:Ue,M:"ur miz",MM:Ue,y:"ur bloaz",yy:function(e){switch(function e(t){return 9<t?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}}),Ba.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:qe,mm:qe,h:qe,hh:qe,d:"dan",dd:qe,M:"mjesec",MM:qe,y:"godinu",yy:qe},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),Ba.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){return e+("w"!==t&&"W"!==t?1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è":"a")},week:{dow:1,doy:4}}),"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_")),Gt="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),Gt=(Ba.defineLocale("cs",{months:Zt,monthsShort:Gt,monthsParse:function(e,t){for(var a=[],n=0;n<12;n++)a[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return a}(Zt,Gt),shortMonthsParse:function(e){for(var t=[],a=0;a<12;a++)t[a]=new RegExp("^"+e[a]+"$","i");return t}(Gt),longMonthsParse:function(e){for(var t=[],a=0;a<12;a++)t[a]=new RegExp("^"+e[a]+"$","i");return t}(Zt),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:Xe,m:Xe,mm:Xe,h:Xe,hh:Xe,d:Xe,dd:Xe,M:Xe,MM:Xe,y:Xe,yy:Xe},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ba.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}),Ba.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return 20<e?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":0<e&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}}),Ba.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ba.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Ze,mm:"%d Minuten",h:Ze,hh:"%d Stunden",d:Ze,dd:Ze,M:Ze,MM:Ze,y:Ze,yy:Ze},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ba.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Ke,mm:"%d Minuten",h:Ke,hh:"%d Stunden",d:Ke,dd:Ke,M:Ke,MM:Ke,y:Ke,yy:Ke},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"]),Zt=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],sn=(Ba.defineLocale("dv",{months:Gt,monthsShort:Gt,weekdays:Zt,weekdaysShort:Zt,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,a){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}}),Ba.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return(/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl:this._monthsNominativeEl)[e.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,a){return 11<e?a?"μμ":"ΜΜ":a?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return 6!==this.day()?"[την προηγούμενη] dddd [{}] LT":"[το προηγούμενο] dddd [{}] LT"},sameElse:"L"},calendar:function(e,t){var a=this._calendarEl[e],e=t&&t.hours();return(a=L(a)?a.apply(t):a).replace("{}",e%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}}),Ba.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")},week:{dow:1,doy:4}}),Ba.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),Ba.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")},week:{dow:1,doy:4}}),Ba.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")},week:{dow:1,doy:4}}),Ba.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")},week:{dow:1,doy:4}}),Ba.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,a){return 11<e?a?"p.t.m.":"P.T.M.":a?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}}),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_")),rn="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),on=(Ba.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){return(/-MMM-/.test(t)?rn:sn)[e.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_")),ln="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),dn=(Ba.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){return(/-MMM-/.test(t)?ln:on)[e.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),Ba.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:Qe,m:Qe,mm:Qe,h:Qe,hh:Qe,d:Qe,dd:"%d päeva",M:Qe,MM:Qe,y:Qe,yy:Qe},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ba.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),{1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"}),cn={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},un=(Ba.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,a){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return cn[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return dn[e]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}}),"nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" ")),hn=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",un[7],un[8],un[9]],mn=(Ba.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:et,m:et,mm:et,h:et,hh:et,d:et,dd:et,M:et,MM:et,y:et,yy:et},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ba.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ba.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")}}),Ba.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")},week:{dow:1,doy:4}}),Ba.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(e){return e+(1===e?"er":"")},week:{dow:1,doy:4}}),"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_")),_n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),Gt=(Ba.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,t){return(/-MMM-/.test(t)?_n:mn)[e.month()]},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?"ste":"de")},week:{dow:1,doy:4}}),["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"]),fn=(Ba.defineLocale("gd",{months:Gt,monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},ordinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}}),Ba.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),Ba.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,a){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?a?'לפנה"צ':"לפני הצהריים":e<18?a?'אחה"צ':"אחרי הצהריים":"בערב"}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"}),pn={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},gn=(Ba.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return pn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return fn[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?10<=e?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}}),Ba.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:tt,mm:tt,h:tt,hh:tt,d:"dan",dd:tt,M:"mjesec",MM:tt,y:"godinu",yy:tt},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),"vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ")),yn=(Ba.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,a){return e<12?!0===a?"de":"DE":!0===a?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return nt.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return nt.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:at,m:at,mm:at,h:at,hh:at,d:at,dd:at,M:at,MM:at,y:at,yy:at},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),Ba.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}}),Ba.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?11<=e?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),Ba.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:it,m:it,mm:it,h:"klukkustund",hh:it,d:it,dd:it,M:it,MM:it,y:it,yy:it},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ba.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"Do_Lu_Ma_Me_Gi_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0!==this.day()?"[lo scorso] dddd [alle] LT":"[la scorsa] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),Ba.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,a){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}}),Ba.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?11<=e?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}}),Ba.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}}),{0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"}),vn=(Ba.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(yn[e]||yn[e%10]||yn[100<=e?100:null])},week:{dow:1,doy:7}}),Ba.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}}),Ba.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"일분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,a){return e<12?"오전":"오후"}}),{0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"}),Mn=(Ba.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(vn[e]||vn[e%10]||vn[100<=e?100:null])},week:{dow:1,doy:7}}),Ba.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return ot(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return ot(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",m:rt,mm:"%d Minutten",h:rt,hh:"%d Stonnen",d:rt,dd:"%d Deeg",M:rt,MM:"%d Méint",y:rt,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ba.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,a){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},ordinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}}),{m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"}),wn=(Ba.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,a,n){return t?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"},m:lt,mm:ut,h:lt,hh:ut,d:lt,dd:ut,M:lt,MM:ut,y:lt,yy:ut},ordinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}}),{m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")}),bn=(Ba.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},m:_t,mm:mt,h:_t,hh:mt,d:_t,dd:mt,M:_t,MM:mt,y:_t,yy:mt},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:2<=e&&e<=4?t[1]:t[2]},translate:function(e,t,a){var n=bn.words[a];return 1===a.length?t?n[0]:n[1]:e+" "+bn.correctGrammaticalCase(e,n)}}),Ln=(Ba.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:bn.translate,mm:bn.translate,h:bn.translate,hh:bn.translate,d:"dan",dd:bn.translate,M:"mjesec",MM:bn.translate,y:"godinu",yy:bn.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),Ba.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),Ba.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,a=e%100;return 0===e?e+"-ев":0==a?e+"-ен":10<a&&a<20?e+"-ти":1==t?e+"-ви":2==t?e+"-ри":7==t||8==t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),Ba.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&4<=e||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,a){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"}),kn={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},Dn=(Ba.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:ft,m:ft,mm:ft,h:ft,hh:ft,d:ft,dd:ft,M:ft,MM:ft,y:ft,yy:ft},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return kn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Ln[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?10<=e?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}}),Ba.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?11<=e?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),Ba.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?11<=e?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),{1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"}),Yn={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},Tn=(Ba.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return Yn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Dn[e]})},week:{dow:1,doy:4}}),Ba.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ba.defineLocale("no",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"}),xn={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},Sn=(Ba.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return xn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Tn[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?10<=e?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,a){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}}),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_")),Hn="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),Zt=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],Gt=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,jn=(Ba.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){return(/-MMM-/.test(t)?Hn:Sn)[e.month()]},monthsRegex:Gt,monthsShortRegex:Gt,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:Zt,longMonthsParse:Zt,shortMonthsParse:Zt,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?"ste":"de")},week:{dow:1,doy:4}}),Ba.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"}),Cn={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},Pn=(Ba.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return Cn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return jn[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?10<=e?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}}),"styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_")),$n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),Gt=(Ba.defineLocale("pl",{months:function(e,t){return""===t?"("+$n[e.month()]+"|"+Pn[e.month()]+")":(/D MMMM/.test(t)?$n:Pn)[e.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:gt,mm:gt,h:gt,hh:gt,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:gt,y:"rok",yy:gt},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ba.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"}),Ba.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),Ba.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:yt,h:"o oră",hh:yt,d:"o zi",dd:yt,M:"o lună",MM:yt,y:"un an",yy:yt},week:{dow:1,doy:7}}),[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i]),Zt=(Ba.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:Gt,longMonthsParse:Gt,shortMonthsParse:Gt,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:vt,mm:vt,h:"час",hh:vt,d:"день",dd:vt,M:"месяц",MM:vt,y:"год",yy:vt},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:7}}),Ba.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ba.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,a){return 11<e?a?"ප.ව.":"පස් වරු":a?"පෙ.ව.":"පෙර වරු"}}),"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_")),Gt="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),En=(Ba.defineLocale("sk",{months:Zt,monthsShort:Gt,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:wt,m:wt,mm:wt,h:wt,hh:wt,d:wt,dd:wt,M:wt,MM:wt,y:wt,yy:wt},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ba.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:bt,m:bt,mm:bt,h:bt,hh:bt,d:bt,dd:bt,M:bt,MM:bt,y:bt,yy:bt},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),Ba.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,a){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:2<=e&&e<=4?t[1]:t[2]},translate:function(e,t,a){var n=En.words[a];return 1===a.length?t?n[0]:n[1]:e+" "+En.correctGrammaticalCase(e,n)}}),On=(Ba.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:En.translate,mm:En.translate,h:En.translate,hh:En.translate,d:"дан",dd:En.translate,M:"месец",MM:En.translate,y:"годину",yy:En.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),{words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:2<=e&&e<=4?t[1]:t[2]},translate:function(e,t,a){var n=On.words[a];return 1===a.length?t?n[0]:n[1]:e+" "+On.correctGrammaticalCase(e,n)}}),An=(Ba.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:On.translate,mm:On.translate,h:On.translate,hh:On.translate,d:"dan",dd:On.translate,M:"mesec",MM:On.translate,y:"godinu",yy:On.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),Ba.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,a){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?11<=e?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),Ba.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1!=~~(e%100/10)&&(1==t||2==t)?"a":"e")},week:{dow:1,doy:4}}),Ba.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}}),{1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"}),zn={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},Wn=(Ba.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return zn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return An[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,a){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&10<=e?e:e+12},week:{dow:0,doy:6}}),Ba.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},ordinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?10<=e?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}}),Ba.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,a){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}}),Ba.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"[Ngayon sa] LT",nextDay:"[Bukas sa] LT",nextWeek:"dddd [sa] LT",lastDay:"[Kahapon sa] LT",lastWeek:"dddd [huling linggo] LT",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),Ba.defineLocale("tl",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"[Ngayon sa] LT",nextDay:"[Bukas sa] LT",nextWeek:"dddd [sa] LT",lastDay:"[Kahapon sa] LT",lastWeek:"dddd [huling linggo] LT",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),"pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_")),Fn=(Ba.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",m:"wa’ tup",mm:Lt,h:"wa’ rep",hh:Lt,d:"wa’ jaj",dd:Lt,M:"wa’ jar",MM:Lt,y:"wa’ DIS",yy:Lt},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"}),Gt=(Ba.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(e){if(0===e)return e+"'ıncı";var t=e%10;return e+(Fn[t]||Fn[e%100-t]||Fn[100<=e?100:null])},week:{dow:1,doy:7}}),Ba.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,a){return 11<e?a?"d'o":"D'O":a?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:kt,m:kt,mm:kt,h:kt,hh:kt,d:kt,dd:kt,M:kt,MM:kt,y:kt,yy:kt},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),Ba.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}}),Ba.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}}),Ba.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){return{nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")}[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:Yt("[Сьогодні "),nextDay:Yt("[Завтра "),lastDay:Yt("[Вчора "),nextWeek:Yt("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return Yt("[Минулої] dddd [").call(this);case 1:case 2:case 4:return Yt("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:Dt,mm:Dt,h:"годину",hh:Dt,d:"день",dd:Dt,M:"місяць",MM:Dt,y:"рік",yy:Dt},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}}),Ba.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}}),Ba.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,a){return e<12?a?"sa":"SA":a?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),Ba.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")},week:{dow:1,doy:4}}),Ba.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t||"下午"!==t&&"晚上"!==t&&11<=e?e:e+12},meridiem:function(e,t,a){t=100*e+t;return t<600?"凌晨":t<900?"早上":t<1130?"上午":t<1230?"中午":t<1800?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var e=Ba().startOf("week"),e=7<=this.diff(e,"days")?"[下]":"[本]";return 0===this.minutes()?e+"dddAh点整":e+"dddAh点mm"},lastWeek:function(){var e=Ba().startOf("week"),e=this.unix()<e.unix()?"[上]":"[本]";return 0===this.minutes()?e+"dddAh点整":e+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}}),Ba.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?11<=e?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){t=100*e+t;return t<600?"凌晨":t<900?"早上":t<1130?"上午":t<1230?"中午":t<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),Ba.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?11<=e?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){t=100*e+t;return t<600?"凌晨":t<900?"早上":t<1130?"上午":t<1230?"中午":t<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),Ba.defineLocale("zh",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?11<=e?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){t=100*e+t;return t<600?"凌晨":t<900?"早上":t<1130?"上午":t<1230?"中午":t<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),Ba);return Gt.locale("en"),Gt}),function(g,r,o,s){function t(e,t){this.elem=e,this.$elem=g(e),this.options=t,this.metadata=this.$elem.data("plugin-options")}t.defaults=(t.prototype={public:function(){return{startDate:moment().startOf("day"),endDate:moment().startOf("day"),format:"L",dateSeparator:" - ",calendarCount:2,isHotelBooking:!1,inline:!1,minDate:null,maxDate:null,showHeader:!0,showFooter:!0,rangeOrientation:"horizontal",verticalRangeWidth:180,showButtons:!1,startOnMonday:!1,container:"body",oneCalendarWidth:230,enableKeyboard:!0,showOn:"bottom",arrowOn:"left",autoAlign:!0,locale:moment.locale(),singleDate:!1,target:null,autoCloseOnSelect:!1,startEmpty:!1,ranges:[{title:"Today",startDate:moment(),endDate:moment()},{title:"3 Days",startDate:moment(),endDate:moment().add(2,"days")},{title:"5 Days",startDate:moment(),endDate:moment().add(4,"days")},{title:"1 Week",startDate:moment(),endDate:moment().add(6,"days")},{title:"Till Next Week",startDate:moment(),endDate:moment().endOf("week")},{title:"Till Next Month",startDate:moment(),endDate:moment().endOf("month")}],rangeLabel:"Ranges: ",cancelLabel:"Cancel",applyLabel:"Apply",nextMonthIcon:"<i class='fa fa-arrow-right'></i>",prevMonthIcon:"<i class='fa fa-arrow-left'></i>",rangeIcon:"<i class='fa fa-retweet'></i>",headerSeparator:"<i class='fa fa-chevron-right'></i>",onbeforeselect:function(){return!0},onafterselect:function(){},onbeforeshow:function(){},onbeforehide:function(){},onaftershow:function(){},onafterhide:function(){},onfirstselect:function(){},onrangeselect:function(){},onbeforemonthchange:function(){return!0},onaftermonthchange:function(){},onafteryearchange:function(){},ondraw:function(){},onBeforeInit:function(){},onBeforeDestroy:function(){return!0},oninit:function(){},ondestroy:function(){},validateClick:function(){return!0},onCancel:function(){return!0},disableDays:function(){return!1},disabledRanges:[],continuous:!1,disableOnlyStart:!1,disableOnlyEnd:!1,minSelectedDays:0,enableMonthSwitcher:!0,enableYearSwitcher:!0,enableSwipe:!0,numericMonthSwitcher:!1,monthSwitcherFormat:"MMMM",showWeekNumbers:!1,hideOutOfRange:!1,DOBCalendar:!1}},private:function(){return{startSelected:!1,currentDate:moment().startOf("day"),endSelected:!0,hoverDate:null,keyboardHoverDate:null,headerStartDay:null,headerStartDate:null,headerStartWeekday:null,headerEndDay:null,headerEndDate:null,headerEndWeekday:null,swipeTimeout:null,isMobile:!1,valElements:["BUTTON","OPTION","INPUT","LI","METER","PROGRESS","PARAM"],dontHideOnce:!1,initiator:null,initComplete:!1,startDateBackup:null,startDateInitial:null,endDateInitial:null,firstValueSelected:!1,throttleTimeout:null,documentEvent:null,delayInputUpdate:!1,lastScrollX:0,lastScrollY:0,isTicking:!1,parentScrollEventsAttached:!1,rafID:0,disabledDays:{}}},init:function(){return this.config=g.extend({},this.public(),this.options,this.metadata),this.globals=g.extend({},this.private()),this.globals.isMobile=this.checkMobile(),this.config.onBeforeInit(this),this.applyConfig(),this.fetchInputs(),this.drawUserInterface(),this.drawOverlay(),this.addInitialEvents(),this.addKeyboardEvents(),this.$elem.data("caleran",this),this.config.oninit(this),this.globals.initComplete=!0,this.globals.lastScrollX=r.scrollX||r.pageXOffset||o.documentElement.scrollLeft,this.globals.lastScrollY=r.scrollY||r.pageYOffset||o.documentElement.scrollTop,g(r).trigger("resize.caleran"),this},validateDates:function(){var e;moment(this.config.startDate,this.config.format).isValid()&&moment(this.config.endDate,this.config.format).isValid()?(this.config.startDate=moment(this.config.startDate,this.config.format).middleOfDay().locale(this.config.locale),this.config.endDate=moment(this.config.endDate,this.config.format).middleOfDay().locale(this.config.locale),this.config.startDate.isAfter(this.config.endDate,"day")&&(e=this.config.startDate.clone(),this.config.startDate=this.config.endDate.clone(),this.config.endDate=e.clone(),e=null)):(this.config.startDate=moment().middleOfDay().locale(this.config.locale),this.config.endDate=moment().middleOfDay().locale(this.config.locale)),this.globals.currentDate=moment(this.config.startDate,this.config.format),null!==this.config.minDate&&moment(this.config.minDate,this.config.format).isValid()?this.config.minDate=moment(this.config.minDate,this.config.format).middleOfDay():this.config.minDate=null,null!==this.config.maxDate&&moment(this.config.maxDate,this.config.format).isValid()?this.config.maxDate=moment(this.config.maxDate,this.config.format).middleOfDay():this.config.maxDate=null,null!==this.config.minDate&&null!==this.config.maxDate&&this.config.minDate.isAfter(this.config.maxDate,"day")&&(e=this.config.minDate.clone(),this.config.minDate=this.config.maxDate.clone(),this.config.maxDate=e.clone(),e=null),null!==this.config.minDate&&null!==this.config.startDate&&this.config.minDate.isAfter(this.config.startDate,"day")&&(this.config.startDate=this.config.minDate.clone()),null!==this.config.minDate&&null!==this.config.endDate&&this.config.minDate.isAfter(this.config.endDate,"day")&&(this.config.endDate=this.config.minDate.clone()),null!==this.config.maxDate&&null!==this.config.startDate&&this.config.maxDate.isBefore(this.config.startDate,"day")&&(this.config.startDate=this.config.maxDate.clone()),null!==this.config.maxDate&&null!==this.config.endDate&&this.config.maxDate.isBefore(this.config.endDate,"day")&&(this.config.endDate=this.config.maxDate.clone()),(!1===this.checkRangeContinuity()||this.isDisabled(this.config.startDate)||!1===this.config.singleDate&&this.isDisabled(this.config.endDate)||this.config.startEmpty&&0==this.globals.firstValueSelected)&&this.clearInput()},applyConfig:function(){null===this.config.target&&(this.config.target=this.$elem),!0===this.config.inline&&(this.config.DOBCalendar=!1),1==this.config.DOBCalendar&&(this.config.singleDate=!0),!1===this.globals.isMobile?(!0===this.config.inline?(this.container=this.$elem.wrapAll("<div class='caleran-container caleran-inline' tabindex='1'></div>").parent(),this.input=g("<div class='caleran-input'></div>").appendTo(this.container),this.elem.type="hidden",this.config.showButtons=!1,this.setViewport()):(this.container=g("<div class='caleran-container caleran-popup' style='display: none;'><div class='caleran-box-arrow-top'></div></div>").appendTo(this.config.container),this.input=g("<div class='caleran-input'></div>").appendTo(this.container),this.config.showButtons&&(this.globals.delayInputUpdate=!0,this.config.autoCloseOnSelect=!1)),"horizontal"===this.config.rangeOrientation?this.input.css("width",this.config.calendarCount*this.config.oneCalendarWidth+"px"):this.input.css("width",this.config.calendarCount*this.config.oneCalendarWidth+this.config.verticalRangeWidth+"px")):(!0===this.config.inline?(this.container=this.$elem.wrapAll("<div class='caleran-container-mobile caleran-inline' tabindex='1'></div>").parent(),this.input=g("<div class='caleran-input'></div>").appendTo(this.container),this.elem.type="hidden",this.config.showButtons=!1):(this.container=g("<div class='caleran-container-mobile'></div>").appendTo(this.config.container),this.input=g("<div class='caleran-input' style='display: none;'></div>").appendTo(this.container),this.config.showButtons&&(this.config.autoCloseOnSelect=!1),this.config.autoCloseOnSelect||(this.globals.delayInputUpdate=!0)),this.$elem.on("focus",function(){g(this).blur()})),this.config.isHotelBooking&&this.container.addClass("caleran-hotel-style"),this.clearRangeSelection()},clearRangeSelection:function(){for(var e=0;e<this.config.ranges.length;e++)this.config.ranges[e].selected=!1;this.container.find(".caleran-range").each(function(){g(this).removeClass("caleran-range-selected")})},fetchInputs:function(){var e,t=null,t=-1!==g.inArray(this.config.target.get(0).tagName,this.globals.valElements)?this.config.target.val():this.config.target.text();!1===this.config.singleDate&&0<t.indexOf(this.config.dateSeparator)?2==(e=t.split(this.config.dateSeparator)).length&&moment(e[0],this.config.format,this.config.locale).isValid()&&moment(e[1],this.config.format,this.config.locale).isValid()&&(this.config.startDate=moment(e[0],this.config.format,this.config.locale).middleOfDay(),this.config.endDate=moment(e[1],this.config.format,this.config.locale).middleOfDay(),this.globals.firstValueSelected=!0):!0!==this.config.singleDate||""!=(t=t)&&moment(t,this.config.format,this.config.locale).isValid()&&(this.config.startDate=moment(t,this.config.format,this.config.locale).middleOfDay(),this.config.endDate=moment(t,this.config.format,this.config.locale).middleOfDay(),this.globals.firstValueSelected=!0),this.config.startEmpty&&!this.globals.firstValueSelected&&this.clearInput(),this.validateDates()},drawUserInterface:function(){this.drawHeader(),this.calendars=this.input.find(".caleran-calendars").first();var e=this.globals.currentDate.clone().middleOfDay();this.globals.disabledDays={};for(var t,a=0;a<this.config.calendarCount;a++)this.drawCalendarOfMonth(e),e=e.add(1,"month");this.calendars.find(".caleran-calendar").last().addClass("no-border-right"),this.drawArrows(),this.drawFooter(),!0!==this.globals.isMobile&&!1!==this.config.inline||!this.globals.initComplete||this.setViewport(),!1===this.globals.startSelected&&(this.globals.initComplete?this.updateInput(!1):(t=this.globals.delayInputUpdate,this.globals.delayInputUpdate=!1,this.updateInput(!1),this.globals.delayInputUpdate=t)),this.reDrawCells()},drawOverlay:function(){0!=this.globals.isMobile&&(0==g(".caleran-overlay").length?this.overlay=g("<div class='caleran-overlay'></div>").appendTo("body"):this.overlay=g(".caleran-overlay").first())},drawHeader:function(){var e="<div class='caleran-header'><div class='caleran-header-start'><div class='caleran-header-start-day'></div><div class='caleran-header-start-date'></div><div class='caleran-header-start-weekday'></div></div>";!1===this.config.singleDate&&(e+="<div class='caleran-header-separator'>"+this.config.headerSeparator+"</div><div class='caleran-header-end'><div class='caleran-header-end-day'></div><div class='caleran-header-end-date'></div><div class='caleran-header-end-weekday'></div></div>"),this.input.append(e+="</div><div class='caleran-calendars'></div>"),!1===this.config.showHeader&&this.input.find(".caleran-header").hide(),this.globals.headerStartDay=this.input.find(".caleran-header-start-day"),this.globals.headerStartDate=this.input.find(".caleran-header-start-date"),this.globals.headerStartWeekday=this.input.find(".caleran-header-start-weekday"),this.globals.headerEndDay=this.input.find(".caleran-header-end-day"),this.globals.headerEndDate=this.input.find(".caleran-header-end-date"),this.globals.headerEndWeekday=this.input.find(".caleran-header-end-weekday"),this.updateHeader()},updateHeader:function(){this.config.startDate&&this.config.startDate.locale(this.config.locale),this.config.endDate&&this.config.endDate.locale(this.config.locale),this.config.startEmpty&&!1===this.globals.firstValueSelected||(null!==this.config.startDate?(this.globals.headerStartDay.text(this.config.startDate.date()),this.globals.isMobile?this.globals.headerStartDate.text(this.config.startDate.format("MMM")+" "+this.config.startDate.year()):this.globals.headerStartDate.text(this.config.startDate.format("MMMM")+" "+this.config.startDate.year()),this.globals.headerStartWeekday.text(this.config.startDate.format("dddd"))):(this.globals.headerStartDay.text(""),this.globals.headerStartDate.text(""),this.globals.headerStartWeekday.text("")),!1===this.config.singleDate&&(null!==this.config.endDate?(this.globals.headerEndDay.text(this.config.endDate.date()),this.globals.isMobile?this.globals.headerEndDate.text(this.config.endDate.format("MMM")+" "+this.config.endDate.year()):this.globals.headerEndDate.text(this.config.endDate.format("MMMM")+" "+this.config.endDate.year()),this.globals.headerEndWeekday.text(this.config.endDate.format("dddd"))):(this.globals.headerEndDay.text(""),this.globals.headerEndDate.text(""),this.globals.headerEndWeekday.text(""))))},isUpdateable:function(){var e,t=this.globals.delayInputUpdate;return(e=(e=(e=this.config.startEmpty&&!this.globals.firstValueSelected)||!0===this.config.singleDate&&null===this.config.startDate)||!1===this.config.singleDate&&(null===this.config.startDate||null===this.config.endDate))&&this.clearInput(),!e&&!t},updateInput:function(e){this.config.startDate&&this.config.startDate.locale(this.config.locale),this.config.endDate&&this.config.endDate.locale(this.config.locale),this.isUpdateable()&&(-1!==g.inArray(this.config.target.get(0).tagName,this.globals.valElements)?!1===this.config.singleDate?this.config.target.val(this.config.startDate.format(this.config.format)+this.config.dateSeparator+this.config.endDate.format(this.config.format)):this.config.target.val(this.config.startDate.format(this.config.format)):!1===this.config.singleDate?this.config.target.text(this.config.startDate.format(this.config.format)+this.config.dateSeparator+this.config.endDate.format(this.config.format)):this.config.target.text(this.config.startDate.format(this.config.format)),!0===this.globals.initComplete&&!0===e&&this.config.onafterselect(this,this.config.startDate.clone(),this.config.endDate.clone()))},clearInput:function(){var e;-1!==g.inArray(this.config.target.get(0).tagName,this.globals.valElements)?(this.config.singleDate,this.config.target.val("")):(this.config.singleDate,this.config.target.text("")),this.config.startDate=null,this.config.endDate=null,this.config.startEmpty&&(this.globals.firstValueSelected=!1),this.globals.initComplete&&(this.updateHeader(),0<(e=void 0===this.footer?[]:this.footer.find(".caleran-apply")).length&&e.attr("disabled","disabled"))},drawArrows:function(){var e=this.config.hideOutOfRange&&this.config.minDate&&this.globals.currentDate.clone().add(-1,"month").isBefore(this.config.minDate,"month"),t=this.config.hideOutOfRange&&this.config.maxDate&&this.globals.currentDate.clone().add(this.config.calendarCount,"month").isAfter(this.config.maxDate,"month");0<this.container.find(".caleran-title").length&&(this.globals.isMobile?(e||this.container.find(".caleran-title").prepend("<div class='caleran-prev'>"+this.config.prevMonthIcon+"</div>"),t||this.container.find(".caleran-title").append("<div class='caleran-next'>"+this.config.nextMonthIcon+"</div>")):(e||this.container.find(".caleran-title").first().prepend("<div class='caleran-prev'>"+this.config.prevMonthIcon+"</div>"),t||this.container.find(".caleran-title").last().append("<div class='caleran-next'>"+this.config.nextMonthIcon+"</div>")))},drawCalendarOfMonth:function(e){var t=moment(e).locale(this.config.locale).startOf("month").startOf("isoweek").middleOfDay(),a=t.day();1==a&&!1===this.config.startOnMonday?(t.add(-1,"days"),a=0):0===a&&!0===this.config.startOnMonday&&(t.add(1,"days"),a=1),t.isAfter(moment(e).date(1))&&t.add(-7,"day");var n="<div class='caleran-calendar"+(this.config.showWeekNumbers?" caleran-calendar-weeknumbers":"")+"' data-month='"+e.month()+"'>",s=0,i="",r="";this.config.enableMonthSwitcher&&(i=" class='caleran-month-switch'"),this.config.enableYearSwitcher&&(r=" class='caleran-year-switch'"),n+="<div class='caleran-title'><b"+i+">"+e.locale(this.config.locale).format("MMMM")+"</b>&nbsp;<span"+r+">"+e.year()+"</span></div>",n+="<div class='caleran-days-container'>";var o=moment.localeData(this.config.locale).weekdaysShort();this.config.showWeekNumbers&&(n+="<div class='caleran-dayofweek'>&nbsp;</div>");for(var l=a;l<a+7;l++)n+="<div class='caleran-dayofweek'>"+o[l%7]+"</div>";for(var d=!0,c=null;s<42;){var u=t.middleOfDay().unix(),h=e.month()==t.month()?"caleran-day":"caleran-disabled";s%7==0&&this.config.showWeekNumbers&&(n+="<div class='caleran-weeknumber'><span>"+t.format("ww")+"</span></div>"),n+="<div class='"+h+"' data-value='"+u+"'><span>"+t.date()+"</span></div>",this.isDisabledOnDraw(t)?(this.globals.disabledDays[u]=1==d?2:1,d=!0,c=u):(1==d&&null!=c&&(this.globals.disabledDays[c]=3),d=!1),t.add(moment.duration({days:1})),s++}n+="</div>",this.calendars.append(n+="</div>")},drawFooter:function(){if(!1===this.config.singleDate&&!0===this.config.showFooter){"horizontal"===this.config.rangeOrientation||this.globals.isMobile?this.input.append("<div class='caleran-ranges'></div>"):(this.input.addClass("caleran-input-vertical-range"),this.input.wrapInner("<div class='caleran-left'></div>"),g("<div class='caleran-right' style='max-width: "+this.config.verticalRangeWidth+"px; min-width: "+this.config.verticalRangeWidth+"px'><div class='caleran-ranges'></div></div>").insertAfter(this.input.find(".caleran-left")));var e=this.input.parent().find(".caleran-ranges");e.append("<span class='caleran-range-header-container'>"+this.config.rangeIcon+"<div class='caleran-range-header'>"+this.config.rangeLabel+"</div></span>");for(var t=0;t<this.config.ranges.length;t++)e.append("<div class='caleran-range"+(this.config.ranges[t].selected?" caleran-range-selected":"")+"' data-id='"+t+"'>"+this.config.ranges[t].title+"</div>")}this.globals.isMobile&&!this.config.inline&&(!0!==this.config.singleDate&&!1!==this.config.showFooter||this.input.append("<div class='caleran-filler'></div>")),(this.globals.isMobile&&!this.config.inline||!this.globals.isMobile&&!this.config.inline&&this.config.showButtons)&&(("horizontal"===this.config.rangeOrientation||this.globals.isMobile?this.input:this.input.find(".caleran-right")).append("<div class='caleran-footer'></div>"),this.footer=this.input.find(".caleran-footer"),this.footer.append("<button type='button' class='caleran-cancel'>"+this.config.cancelLabel+"</button>"),this.footer.append("<button type='button' class='caleran-apply'>"+this.config.applyLabel+"</button>"),!1===this.globals.firstValueSelected&&1==this.config.startEmpty&&this.footer.find(".caleran-apply").attr("disabled","disabled"),this.globals.isMobile&&!1===this.globals.endSelected&&this.footer.find(".caleran-apply").attr("disabled","disabled"))},drawNextMonth:function(e){var t;e=e||r.event,null===this.globals.swipeTimeout&&((t=this).globals.swipeTimeout=setTimeout(function(){var e;!0===t.config.onbeforemonthchange(t,t.globals.currentDate.clone().startOfMonth(),"next")&&(e=t.calendars.get(0).scrollTop,t.globals.currentDate.middleOfDay().add(1,"month"),t.reDrawCalendars(),t.calendars.get(0).scrollTop=e,t.config.onaftermonthchange(t,t.globals.currentDate.clone().startOfMonth())),t.globals.swipeTimeout=null},100)),this.stopBubbling(e)},drawPrevMonth:function(e){var t;e=e||r.event,null===this.globals.swipeTimeout&&((t=this).globals.swipeTimeout=setTimeout(function(){var e;!0===t.config.onbeforemonthchange(t,t.globals.currentDate.clone().startOfMonth(),"prev")&&(e=t.calendars.get(0).scrollTop,t.globals.currentDate.middleOfDay().subtract(1,"month"),t.reDrawCalendars(),t.calendars.get(0).scrollTop=e,t.config.onaftermonthchange(t,t.globals.currentDate.clone().startOfMonth())),t.globals.swipeTimeout=null},100)),this.stopBubbling(e)},cellClicked:function(e){(e=e||r.event).target=e.target||e.srcElement,!1===g(e.target).hasClass("caleran-day")&&(e.target=g(e.target).closest(".caleran-day").get(0));var t,a=g(e.target).data("value"),a=moment.unix(a).middleOfDay();return 0==this.config.validateClick(a)||(!1===this.config.singleDate?!1===this.globals.startSelected?(null!==this.config.startDate&&(this.globals.startDateBackup=this.config.startDate.clone()),this.config.startDate=a,this.config.endDate=null,this.globals.startSelected=!0,this.globals.endSelected=!1,0<(t=void 0===this.footer?[]:this.footer.find(".caleran-apply")).length&&t.attr("disabled","disabled"),this.config.onfirstselect(this,this.config.startDate.clone())):(a.isBefore(this.config.startDate)&&(t=this.config.startDate.clone(),this.config.startDate=a.clone(),a=t),a.diff(this.config.startDate,"day")<this.config.minSelectedDays?(this.globals.startSelected=!1,this.fetchInputs()):(this.globals.startDateBackup=null,this.config.endDate=a,this.globals.endSelected=!0,this.globals.startSelected=!1,!(this.globals.hoverDate=null)===this.config.onbeforeselect(this,this.config.startDate.clone(),this.config.endDate.clone())&&!0===this.checkRangeContinuity()?(this.globals.firstValueSelected=!0,this.clearRangeSelection(),this.updateInput(!0)):this.fetchInputs(),this.config.autoCloseOnSelect&&!1===this.config.inline?this.hideDropdown(e):void 0!==this.footer&&null!=this.config.endDate&&this.footer.find(".caleran-apply").removeAttr("disabled"))):(this.config.startDate=a,this.config.endDate=a,this.globals.endSelected=!0,this.globals.startSelected=!1,!(this.globals.hoverDate=null)===this.config.onbeforeselect(this,this.config.startDate.clone(),this.config.endDate.clone())?(this.globals.firstValueSelected=!0,this.clearRangeSelection(),this.updateInput(!0)):this.fetchInputs(),this.config.autoCloseOnSelect&&!1===this.config.inline?this.hideDropdown(e):void 0!==this.footer&&null!=this.config.endDate&&this.footer.find(".caleran-apply").removeAttr("disabled")),this.reDrawCells(),this.updateHeader(),this.stopBubbling(e)),!1},checkRangeContinuity:function(){var e=this.config.endDate.diff(this.config.startDate,"days"),t=moment(this.config.startDate).middleOfDay();if(1==this.config.disableOnlyStart)return!1===this.isDisabled(this.config.startDate,this.config.isHotelBooking);if(1==this.config.disableOnlyEnd)return!1===this.isDisabled(this.config.endDate,this.config.isHotelBooking);var a=t.middleOfDay().unix();if(1==this.isDisabled(a)&&!0===this.config.isHotelBooking&&1===this.getDisabledLevel(a))return!1;t.middleOfDay().add(1,"days");for(var n=0;n<=e-2;n++){if(a=t.middleOfDay().unix(),this.getDisabledLevel(a)!==s)return!1;t.add(1,"days")}return a=t.middleOfDay().unix(),1!=this.isDisabled(a)||!0!==this.config.isHotelBooking||3!==this.getDisabledLevel(a)},isDisabledOnDraw:function(e){var t=moment(e).middleOfDay();if(!0===this.config.disableDays(t))return!0;for(var a=0;a<this.config.disabledRanges.length;a++){var n=this.config.disabledRanges[a];if(t.isBetween(n.start,n.end,"day","[]"))return!0}},isDisabled:function(e,t){return s===t&&(t=!1),!(1==this.config.disableOnlyStart&&1==this.globals.startSelected||1==this.config.disableOnlyEnd&&0==this.globals.startSelected||("object"==typeof e&&null!==e&&(e=e.middleOfDay().unix()),t&&this.config.isHotelBooking?2!==this.globals.disabledDays[e]:this.globals.disabledDays[e]===s))},getDisabledLevel:function(e){return"object"==typeof e&&null!==e&&(e=e.middleOfDay().unix()),this.globals.disabledDays[e]},cellHovered:function(e){(e=e||r.event).target=e.target||e.srcElement,!1===g(e.target).hasClass("caleran-day")&&(e.target=g(e.target).closest(".caleran-day").get(0));var t=g(e.target).data("value");this.globals.hoverDate=moment.unix(t).middleOfDay(),!(this.globals.keyboardHoverDate=null)===this.globals.startSelected&&this.reDrawCells(),this.stopBubbling(e)},reDrawCalendars:function(){this.input.empty(),this.drawUserInterface(),this.container.focus()},monthSwitchClicked:function(){if(!(0<this.calendars.find(".caleran-month-selector").length)){var t=this;this.calendars.get(0).scrollTop=0;for(var e=g("<div class='caleran-month-selector'></div>").appendTo(this.calendars),a=this.globals.currentDate.get("month"),n=0;n<12;n++)e.append("<div class='caleran-ms-month"+(a==n?" current":"")+"' data-month='"+n+"'>"+(this.config.numericMonthSelector?n+1:moment({day:15,hour:12,month:n}).locale(this.config.locale).format(this.config.monthSwitcherFormat))+"</div>");e.css("display","block"),this.optimizeFontSize(e.find(".caleran-ms-month")),e.find(".caleran-ms-month").off("click").on("click",function(e){t.globals.currentDate.month(g(this).data("month")),t.config.onaftermonthchange(t,t.globals.currentDate.clone().startOfMonth()),t.reDrawCalendars(),t.calendars.find(".caleran-month-selector").remove(),t.stopBubbling(e)})}},yearSwitchClicked:function(){if(!(0<this.calendars.find(".caleran-year-selector").length)){var s=this;this.calendars.get(0).scrollTop=0;var i=g("<div class='caleran-year-selector'></div>").appendTo(this.calendars),e=this.globals.currentDate.get("year");i.append("<div class='caleran-ys-year-prev'><i class='fa fa-angle-double-left'></i></div>"),i.data("year",e);for(var t=e-6;t<e+7;t++)i.append("<div class='caleran-ys-year"+(e==t?" current":"")+"' data-year='"+t+"'>"+t+"</div>");i.append("<div class='caleran-ys-year-next'><i class='fa fa-angle-double-right'></i></div>"),i.css("display","block"),this.optimizeFontSize(i.find(".caleran-ys-year")),g(o).off("click.caleranys").on("click.caleranys",".caleran-ys-year",function(e){s.globals.currentDate.year(g(this).data("year")),s.config.onafteryearchange(s,s.globals.currentDate.clone().startOf("year")),s.reDrawCalendars(),s.calendars.find(".caleran-year-selector").remove(),1==s.config.DOBCalendar&&s.calendars.find(".caleran-calendar").first().find(".caleran-month-switch").click(),s.stopBubbling(e)}),g(o).off("click.caleranysprev").on("click.caleranysprev",".caleran-ys-year-prev",function(e){var t=i.data("year")-13,a=s.globals.currentDate.get("year");i.data("year",t),i.empty(),i.append("<div class='caleran-ys-year-prev'><i class='fa fa-angle-double-left'></i></div>");for(var n=t-6;n<7+t;n++)i.append("<div class='caleran-ys-year"+(a==n?" current":"")+"' data-year='"+n+"'>"+n+"</div>");i.append("<div class='caleran-ys-year-next'><i class='fa fa-angle-double-right'></i></div>"),s.stopBubbling(e)}),g(o).off("click.caleranysnext").on("click.caleranysnext",".caleran-ys-year-next",function(e){var t=i.data("year")+13,a=s.globals.currentDate.get("year");i.data("year",t),i.empty(),i.append("<div class='caleran-ys-year-prev'><i class='fa fa-angle-double-left'></i></div>");for(var n=t-6;n<t+7;n++)i.append("<div class='caleran-ys-year"+(a==n?" current":"")+"' data-year='"+n+"'>"+n+"</div>");i.append("<div class='caleran-ys-year-next'><i class='fa fa-angle-double-right'></i></div>"),s.stopBubbling(e)})}},optimizeFontSize:function(e){e.each(function(e,t){(t=g(t)).wrapInner("<span class='adjust-subject'></span>").prepend("<span class='font-adjuster'>i</span>");var a=t.find(".adjust-subject"),n=t.find(".font-adjuster");if(a.innerHeight()===n.innerHeight())n.remove(),a.contents().unwrap();else{for(var s=0;a.innerHeight()!==n.innerHeight()&&s<16;){var i=void 0!==r.getComputedStyle?parseFloat(r.getComputedStyle(n.get(0),null).getPropertyValue("font-size")):parseFloat(n.css("font-size"));if(a.parent().css("font-size",i-1+"px"),n.css("font-size",i-1+"px"),i<2)break;s++}n.remove(),a.contents().unwrap()}})},showDropdown:function(e){e=e||r.event||jQuery.Event("click",{target:this.elem}),e=e.target||e.srcElement;(!this.globals.isMobile&&"none"==this.container.css("display")||this.globals.isMobile&&"none"==this.input.css("display"))&&(e!==this.elem&&(this.globals.dontHideOnce=!0,this.globals.initiator=e),this.fetchInputs(),this.reDrawCalendars(),this.globals.startDateInitial=this.config.startDate,this.globals.endDateInitial=this.config.endDate,this.config.onbeforeshow(this),this.globals.isMobile?(this.input.css({display:"flex"}),this.overlay.show(),g("body").addClass("caleran-open")):this.container.css({display:"block"}),this.setViewport(),1==this.config.DOBCalendar&&this.calendars.find(".caleran-calendar").first().find(".caleran-year-switch").click(),this.config.onaftershow(this))},hideDropdown:function(e){e=e||r.event||jQuery.Event("click",{target:"body"}),e=e.target||e.srcElement;this.globals.initiator!==e&&!1===this.config.inline&&(!this.globals.isMobile&&"none"!==this.container.css("display")||this.globals.isMobile&&"none"!==this.input.css("display"))&&(this.config.onbeforehide(this),this.globals.isMobile?(this.input.css({display:"none"}),this.overlay.hide(),g("body").removeClass("caleran-open")):this.container.css({display:"none"}),(this.globals.hoverDate=null)!==this.globals.startDateBackup&&(this.config.startDate=this.globals.startDateBackup,this.globals.startSelected=!1),this.config.onafterhide(this))},reDrawCells:function(){var e=null!=this.config.startDate?this.config.startDate.middleOfDay().unix():null,t=null!=this.config.endDate?this.config.endDate.middleOfDay().unix():null,a=null!=this.config.minDate?this.config.minDate.middleOfDay().unix():null,n=null!=this.config.maxDate?this.config.maxDate.middleOfDay().unix():null,s=null!=this.globals.hoverDate?this.globals.hoverDate.middleOfDay().unix():null,i=null!=this.globals.keyboardHoverDate?this.globals.keyboardHoverDate.middleOfDay().unix():null,r=moment().middleOfDay().unix();this.lastHoverStatus=!1;for(var o=0;o<this.config.calendarCount;o++)for(var l=this.calendars.find(".caleran-calendar").eq(o),d=l.find(".caleran-days-container > div").not(".caleran-dayofweek, .caleran-weeknumber"),c=l.data("month"),u=0;u<d.length;u++){var h=g(d[u]),m=parseInt(h.attr("data-value")),_=moment.unix(m).middleOfDay().locale(this.config.locale),f="caleran-day",p=_.day();6!=p&&0!==p||(f+=" caleran-weekend"),m===r&&(f+=" caleran-today"),f=this.addDisabledStyles(h,_,m,f,a,n,c),f=this.addSelectedStyles(m,f,e,t,a,n),f=this.addHoverStyles(h,m,f,this,e,s,i),h.attr("class",f)}this.attachEvents(),this.config.ondraw(this)},addSelectedStyles:function(e,t,a,n,s,i){var r=this;return!1!==r.config.startEmpty&&!r.globals.firstValueSelected||(!1===r.config.singleDate&&null!==a&&a===e&&(t+=" caleran-start"),!1===r.config.singleDate&&null!==n&&n===e&&(t+=" caleran-end"),!1===r.config.singleDate&&null!==a&&null!==n&&e<=n&&a<=e&&(t+=" caleran-selected"),!0===r.config.singleDate&&null!==a&&a===e&&(t+=" caleran-selected caleran-start caleran-end")),t},addHoverStyles:function(e,t,a,n,s,i,r){return a.replace("caleran-hovered","").replace("caleran-hovered-last","").replace("caleran-hovered-first",""),!0===this.globals.startSelected&&!1===this.globals.endSelected&&null!==i&&(i<=t&&t<=s||t<=i&&s<=t)&&(a+=" caleran-hovered"),1==this.config.enableKeyboard&&null!==r&&(!1===this.globals.startSelected?r==t&&(a+=" caleran-hovered"):(t<=s&&r<=t||s<=t&&t<=r)&&(a+=" caleran-hovered")),!1===this.lastHoverStatus&&0<a.indexOf("caleran-hovered")&&(this.lastHoverStatus=!0,a+=" caleran-hovered-first"),!0===this.lastHoverStatus&&a.indexOf("caleran-hovered")<0&&(e.prev(".caleran-day").addClass("caleran-hovered-last"),this.lastHoverStatus=!1),a},addDisabledStyles:function(e,t,a,n,s,i,r){if(this.isDisabled(a))if(0==this.config.isHotelBooking)n=n.replace("caleran-day","caleran-disabled caleran-disabled-range");else switch(this.globals.disabledDays[a]){case 1:n=n.replace("caleran-day","caleran-day caleran-disabled-range caleran-disabled-range-start");break;case 2:n=n.replace("caleran-day","caleran-disabled caleran-disabled-range");break;case 3:n=n.replace("caleran-day","caleran-day caleran-disabled-range caleran-disabled-range-end")}else(null!=i&&i<a||null!=s&&a<s)&&(n=n.replace("caleran-day","caleran-disabled"));return t.month()!=r&&(n+=" caleran-not-in-month"),n},rangeClicked:function(e){if((e=e||r.event).target=e.target||e.srcElement,e.target.hasAttribute("data-id")){var t=g(e.target).attr("data-id");return this.globals.currentDate=this.config.ranges[t].startDate.startOf("day").clone().middleOfDay(),this.config.startDate=this.config.ranges[t].startDate.startOf("day").clone().middleOfDay(),this.config.endDate=this.config.ranges[t].endDate.startOf("day").clone().middleOfDay(),!(this.globals.firstValueSelected=!0)===this.checkRangeContinuity()?this.fetchInputs():(this.clearRangeSelection(),this.config.ranges[t].selected=!0,this.config.onrangeselect(this,this.config.ranges[t]),this.reDrawCalendars(),this.setViewport(),this.config.autoCloseOnSelect&&this.hideDropdown()),this.stopBubbling(e),!1}},setViewport:function(){if(!0===this.globals.isMobile)"none"!==this.input.css("display")&&this.container.trigger("caleran:resize");else if("none"!==this.container.css("display")&&this.globals.initComplete&&!1===this.globals.isMobile&&!1===this.config.inline){var e,t=this.getViewport();switch(this.config.showOn){case"top":this.config.autoAlign?this.positionOnTopAlign(t):this.positionOnTop(!1,t);break;case"left":this.config.autoAlign?this.positionOnLeftAlign(t):this.positionOnLeft(!1,t);break;case"right":this.config.autoAlign?this.positionOnRightAlign(t):this.positionOnRight(!1,t);break;case"bottom":this.config.autoAlign?this.positionOnBottomAlign(t):this.positionOnBottom(!1,t);break;case"center":this.positionOnCenter(t);break;default:this.config.autoAlign?this.positionOnBottomAlign(t):this.positionOnBottom(!1,t)}"horizontal"!==this.config.rangeOrientation&&(e=this.input.find(".caleran-header").outerHeight()+this.input.find(".caleran-calendars").outerHeight()+(0<this.input.find(".caleran-footer").length?this.input.find(".caleran-footer").outerHeight():0),this.input.find(".caleran-right").css("max-height",e))}},getDropdownPos:function(e){var t=this.getDimensions(this.$elem,!0),a=this.getDimensions(this.container,!0),n=parseInt(this.input.css("margin-left"),10),s=parseFloat(this.container.find("div[class*='caleran-box-arrow']").first().outerHeight()/2);switch(e){case"left":switch(this.config.arrowOn){case"top":return{top:t.offsetTop-n-s-t.height/2,left:t.offsetLeft-a.width-n,arrow:0};case"center":return{top:t.offsetTop-n-a.height/2,left:t.offsetLeft-a.width-n,arrow:(a.height-2*s)/2-t.height/2};case"bottom":return{top:t.offsetTop-a.height+t.height+2*n+s,left:t.offsetLeft-a.width-n,arrow:a.height-4*s-3*n-t.height/2};default:return{top:t.offsetTop-n-s-t.height/2,left:t.offsetLeft-a.width-n,arrow:0}}break;case"right":switch(this.config.arrowOn){case"top":return{top:t.offsetTop-n-s-t.height/2,left:t.offsetLeft+t.width+n,arrow:0};case"center":return{top:t.offsetTop-n-a.height/2,left:t.offsetLeft+t.width+n,arrow:(a.height-2*s)/2-t.height/2};case"bottom":return{top:t.offsetTop-a.height+t.height+2*n+s,left:t.offsetLeft+t.width+n,arrow:a.height-4*s-3*n-t.height/2};default:return{top:t.offsetTop-n-s-t.height/2,left:t.offsetLeft+t.width+n,arrow:0}}break;case"top":switch(this.config.arrowOn){case"left":return{top:t.offsetTop-a.height-n,left:t.offsetLeft-n,arrow:0};case"center":return{top:t.offsetTop-a.height-n,left:t.offsetLeft-(a.width-2*n-t.width)/2,arrow:(a.width-5*s)/2};case"right":return{top:t.offsetTop-a.height-n,left:t.offsetLeft-(a.width-t.width)+n,arrow:a.width-5*s+n};default:return{top:t.offsetTop-a.height-n,left:t.offsetLeft-n,arrow:0}}break;case"bottom":switch(this.config.arrowOn){case"left":return{top:t.offsetTop+t.height-n+s,left:t.offsetLeft-n,arrow:0};case"center":return{top:t.offsetTop+t.height-n+s,left:t.offsetLeft-(a.width-2*n-t.width)/2,arrow:(a.width-5*s)/2};case"right":return{top:t.offsetTop+t.height-n+s,left:t.offsetLeft-(a.width-t.width)+n,arrow:a.width-5*s+n};default:return{top:t.offsetTop+t.height-n+s,left:t.offsetLeft-n,arrow:0}}break;case"center":if("center"===this.config.arrowOn)return{top:t.offsetTop-n-a.height/2,left:t.offsetLeft-(a.width-2*n-t.width)/2}}},positionOnTop:function(e,t){var a=this.getDropdownPos("top");if(e)return a;this.container.css({left:a.left,top:a.top}),this.container.find("div[class*='caleran-box-arrow-']").attr("class","caleran-box-arrow-bottom").css({marginLeft:a.arrow})},positionOnBottom:function(e,t){var a=this.getDropdownPos("bottom");if(e)return a;this.container.css({left:a.left,top:a.top}),this.container.find("div[class*='caleran-box-arrow-']").attr("class","caleran-box-arrow-top").css({marginLeft:a.arrow})},positionOnLeft:function(e,t){var a=this.getDropdownPos("left");if(e)return a;this.container.css({left:a.left,top:a.top}),this.container.children("div[class*='caleran-box-arrow-']").attr("class","caleran-box-arrow-right").css({marginTop:a.arrow})},positionOnRight:function(e,t){var a=this.getDropdownPos("right");if(e)return a;this.container.css({left:a.left,top:a.top}),this.container.children("div[class*='caleran-box-arrow-']").attr("class","caleran-box-arrow-left").css({marginTop:a.arrow})},positionOnCenter:function(e){var t=this.getDropdownPos("center"),a=Math.max(t.left+this.container[0].clientWidth-(e.right-30),0),e=Math.max(t.top+this.container[0].clientHeight-(e.bottom-30),0);this.config.autoAlign||(e=a=0),t.left-=a,t.top-=e,this.container.css({left:t.left,top:t.top}),this.container.find("div[class*='caleran-box-arrow-']").remove()},positionOnBottomAlign:function(e){var t=this.positionOnBottom(!0,e),a=this.getDimensions(this.container);t.top+a.height<e.bottom?this.positionOnBottom(!1,e):this.positionOnTop(!1,e)},positionOnLeftAlign:function(e){this.positionOnLeft(!0,e).left>e.left-50?this.positionOnLeft(!1,e):this.positionOnRight(!1,e)},positionOnRightAlign:function(e){var t=this.positionOnRight(!0,e),a=this.getDimensions(this.container);t.left+a.width<e.right+50?this.positionOnRight(!1,e):this.positionOnLeft(!1,e)},positionOnTopAlign:function(e){this.positionOnTop(!0,e).top>e.top?this.positionOnTop(!1,e):this.positionOnBottom(!1,e)},getDimensions:function(e,t){var a=o.body,n=e[0],s=e.offset();if(e===this.$elem&&0==this.globals.parentScrollEventsAttached){var i=g.proxy(function(){this.globals.isTicking||(this.globals.isTicking=!0,this.globals.rafID=this.requestAnimFrame(g.proxy(function(){this.setViewport(),this.cancelAnimFrame(this.globals.rafID),this.globals.isTicking=!1},this)))},this);if(n!==a)for(var r=n.parentNode;r!==a&&null!==r;)r.scrollHeight>r.offsetHeight&&g(r).off("scroll.caleran").on("scroll.caleran",i),r=r.parentNode;this.globals.parentScrollEventsAttached=!0}return{width:n.offsetWidth,height:n.offsetHeight,offsetLeft:s.left,offsetTop:s.top}},getViewport:function(){var e=this.globals.lastScrollY,t=this.globals.lastScrollX,a=e+r.innerHeight;return{top:e,left:t,right:t+r.innerWidth,bottom:a}},attachEvents:function(){var e=g.proxy(this.drawNextMonth,this),t=g.proxy(this.drawPrevMonth,this),a=g.proxy(this.cellClicked,this),n=g.proxy(this.cellHovered,this),s=g.proxy(this.rangeClicked,this),i=g.proxy(this.monthSwitchClicked,this),r=g.proxy(this.yearSwitchClicked,this),o="click.caleran";this.container.find(".caleran-next").off(o).one(o,e),this.container.find(".caleran-prev").off(o).one(o,t),this.container.find(".caleran-day").off(o).on(o,a),this.container.find(".caleran-day").off("mouseover.caleran").on("mouseover.caleran",n),this.container.find(".caleran-disabled").not(".caleran-day").off(o),this.container.find(".caleran-range").off(o).on(o,s),this.container.find(".caleran-month-switch ").off(o).on(o,i),this.container.find(".caleran-year-switch ").off(o).on(o,r),!0===this.globals.isMobile&&1==this.config.enableSwipe&&("function"==typeof g.fn.swiperight?(this.input.find(".caleran-calendars").css("touch-action","none"),this.input.find(".caleran-calendars").on("swipeleft",e),this.input.find(".caleran-calendars").on("swiperight",t)):((r=new Hammer(this.input.find(".caleran-calendars").get(0))).off("swipeleft").on("swipeleft",e),r.off("swiperight").on("swiperight",t))),!this.globals.isMobile&&!this.config.showButtons||this.config.inline||(this.input.find(".caleran-cancel").off("click.caleran").on("click.caleran",g.proxy(function(e){1==this.config.onCancel(this,this.config.startDate,this.config.endDate)&&(this.globals.startDateInitial&&(this.config.startDate=this.globals.startDateInitial.clone()),this.globals.endDateInitial&&(this.config.endDate=this.globals.endDateInitial.clone()),this.hideDropdown(e))},this)),this.input.find(".caleran-apply").off("click.caleran").on("click.caleran",g.proxy(function(e){!0===this.config.onbeforeselect(this,this.config.startDate.clone(),this.config.endDate.clone())&&!0===this.checkRangeContinuity()?(this.globals.firstValueSelected=!0,this.globals.delayInputUpdate?(this.globals.delayInputUpdate=!1,this.updateInput(!0),this.globals.delayInputUpdate=!0):this.updateInput(!0)):this.fetchInputs(),this.hideDropdown(e)},this)))},addInitialEvents:function(){var t=this,e="click.caleran";this.globals.documentEvent=e+"_"+Math.round((new Date).getTime()+100*Math.random()),g(o).on(this.globals.documentEvent,g.proxy(function(e){var t;!1===this.globals.isMobile&&!1===this.config.inline&&(e=(t=e||r.event||jQuery.Event("click",{target:"body"})).target||t.srcElement,0===g(this.container).find(g(e)).length&&this.elem!==e&&0<this.container.is(":visible")&&this.hideDropdown(t))},this)),this.config.enableKeyboard&&(e="click.caleran focus.caleran"),this.$elem.off(e).on(e,g.proxy(this.debounce(function(e){var t=e||r.event||jQuery.Event("click",{target:"body"}),e=t.target||t.srcElement;0<this.input.get(0).clientHeight&&this.config.target.get(0)!==e?this.hideDropdown(t):(g(o).trigger("click"),this.showDropdown(t))},200,!0),this)),this.globals.isMobile&&g(r).on("resize.caleran",g.proxy(function(){this.container.trigger("caleran:resize")},this)),this.container.on("caleran:resize",function(){t.globals.rafID=t.requestAnimFrame(function(){var e;"none"!==t.input.css("display")&&(e=t.input.find(".caleran-calendar:visible:first").innerHeight(),t.input.find(".caleran-calendars").css("height",e),t.input.position().top<0&&t.input.addClass("caleran-input-top-reset"),r.innerWidth>r.innerHeight?t.input.css("height",e+"px"):t.input.css("height","auto"),t.cancelAnimFrame(t.globals.rafID))})}),"none"!==this.input.css("display")&&this.globals.isMobile&&this.container.trigger("caleran:resize"),!1===this.globals.isMobile&&g(r).on("resize.caleran scroll.caleran",function(){t.globals.isTicking||(t.globals.isTicking=!0,t.globals.lastScrollX=r.scrollX||r.pageXOffset||o.documentElement.scrollLeft,t.globals.lastScrollY=r.scrollY||r.pageYOffset||o.documentElement.scrollTop,t.globals.rafID=t.requestAnimFrame(g.proxy(function(){this.setViewport(),this.globals.isTicking=!1,this.cancelAnimFrame(this.globals.rafID)},t)))})},stopBubbling:function(e){void 0!==e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&(e.cancelBubble=!0),void 0!==e.preventDefault&&e.preventDefault(),e.returnValue=!1},debounce:function(n,s,i){return function(){var e=this,t=arguments,a=i&&!e.globals.throttleTimeout;clearTimeout(e.globals.throttleTimeout),e.globals.throttleTimeout=setTimeout(function(){e.globals.throttleTimeout=null,i||n.apply(e,t)},s),a&&n.apply(e,t)}},requestAnimFrame:function(e){return"function"==typeof r.requestAnimationFrame?requestAnimationFrame(e):"function"==typeof r.webkitRequestAnimationFrame?webkitRequestAnimationFrame(e):"function"==typeof r.mozRequestAnimationFrame?mozRequestAnimationFrame(e):setTimeout(e,100/6)},cancelAnimFrame:function(e){return("function"==typeof r.cancelAnimationFrame?cancelAnimationFrame:"function"==typeof r.webkitCancelAnimationFrame?webkitCancelAnimationFrame:"function"==typeof r.mozCancelAnimationFrame?mozCancelAnimationFrame:clearTimeout)(e)},addKeyboardEvents:function(){var e;this.config.enableKeyboard&&(e=g.proxy(function(e){var t=e.which||e.keyCode;null===this.globals.keyboardHoverDate?null===this.config.startDate?this.globals.keyboardHoverDate=moment({day:1,month:this.calendars.first().data("month")}).middleOfDay():this.globals.keyboardHoverDate=this.config.startDate.clone().middleOfDay():this.globals.keyboardHoverDate.middleOfDay();var a=!1,n=!1;switch(t){case 37:this.globals.keyboardHoverDate.add(-1,"day"),n=a=!0;break;case 38:this.globals.keyboardHoverDate.add(-1,"week"),n=a=!0;break;case 39:this.globals.keyboardHoverDate.add(1,"day"),n=a=!0;break;case 40:this.globals.keyboardHoverDate.add(1,"week"),n=a=!0;break;case 32:this.input.find(".caleran-day[data-value='"+this.globals.keyboardHoverDate.middleOfDay().unix()+"']").first().trigger("click.caleran"),n=!(a=!1);break;case 33:e.shiftKey?this.globals.keyboardHoverDate.add(-1,"years"):this.globals.keyboardHoverDate.add(-1,"months"),n=a=!0;break;case 34:e.shiftKey?this.globals.keyboardHoverDate.add(1,"years"):this.globals.keyboardHoverDate.add(1,"months"),n=a=!0;break;case 27:case 9:this.hideDropdown(e);break;case 36:e.shiftKey&&(this.globals.keyboardHoverDate=moment().middleOfDay(),n=a=!0)}if(a||n)return this.globals.keyboardHoverDate=this.globals.keyboardHoverDate.middleOfDay(),(this.globals.keyboardHoverDate.isBefore(moment.unix(this.input.find(".caleran-day:first").attr("data-value")),"day")||this.globals.keyboardHoverDate.isAfter(moment.unix(this.input.find(".caleran-day:last").attr("data-value")),"day"))&&(this.globals.currentDate=this.globals.keyboardHoverDate.clone().startOfMonth(),this.reDrawCalendars(),a=!1),a&&(this.globals.hoverDate=null,this.reDrawCells()),n&&this.stopBubbling(e),!1},this),this.$elem.off("keydown.caleran").on("keydown.caleran",e),this.container.off("keydown.caleran").on("keydown.caleran",e))},destroy:function(){this.config.onBeforeDestroy(this)&&(this.config.inline?(this.input.remove(),this.globals.isMobile?this.$elem.unwrap(".caleran-container-mobile"):this.$elem.unwrap(".caleran-container"),this.elem.type="text"):this.container.remove(),g(o).off(this.globals.documentEvent),this.$elem.removeData("caleran"),this.config.ondestroy(this))},checkMobile:function(){return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(navigator.userAgent||navigator.vendor||r.opera)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test((navigator.userAgent||navigator.vendor||r.opera).substr(0,4))},setStart:function(e){!1===this.isDisabled(e)&&moment(e).isValid()&&(this.config.startDate=moment(e),this.refreshValues())},setEnd:function(e){!1===this.isDisabled(e)&&moment(e).isValid()&&(this.config.endDate=moment(e),this.refreshValues())},setMinDate:function(e){moment(e).isValid()&&(this.config.minDate=moment(e),this.refreshValues())},setMaxDate:function(e){moment(e).isValid()&&(this.config.maxDate=moment(e),this.refreshValues())},setDisplayDate:function(e){moment(e).isValid()&&(this.globals.currentDate=moment(e),this.reDrawCalendars())},refreshValues:function(){var e=this.globals.delayInputUpdate;this.globals.delayInputUpdate=!1,this.validateDates(),this.updateInput(),this.globals.delayInputUpdate=e,this.reDrawCells()}}).defaults,g.fn.caleran=function(e){return this.each(function(){new t(this,e).init()})},"function"!=typeof moment.fn.middleOfDay&&(moment.fn.middleOfDay=function(){return this.hours(12).minutes(0).seconds(0),this},moment.fn.startOfMonth=function(){return this.middleOfDay().date(1),this})}(jQuery,window,document),function(s,o,d){"use strict";function i(e,t,a){return setTimeout(n(e,a),t)}function a(e,t,a){return Array.isArray(e)&&(r(e,a[t],a),1)}function r(e,t,a){if(e)if(e.forEach)e.forEach(t,a);else if(e.length!==d)for(n=0;n<e.length;)t.call(a,e[n],n,e),n++;else for(var n in e)e.hasOwnProperty(n)&&t.call(a,e[n],n,e)}function e(a,e,t){var n="DEPRECATED METHOD: "+e+"\n"+t+" AT \n";return function(){var e=new Error("get-stack-trace"),t=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",e=s.console&&(s.console.warn||s.console.log);return e&&e.call(s.console,n,t),a.apply(this,arguments)}}function t(e,t,a){var n=t.prototype,t=e.prototype=Object.create(n);t.constructor=e,t._super=n,a&&ae(t,a)}function n(e,t){return function(){return e.apply(t,arguments)}}function l(e,t){return typeof e==K?e.apply(t&&t[0]||d,t):e}function c(e,t){return e===d?t:e}function u(t,e,a){r(f(e),function(e){t.addEventListener(e,a,!1)})}function h(t,e,a){r(f(e),function(e){t.removeEventListener(e,a,!1)})}function m(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function _(e,t){return-1<e.indexOf(t)}function f(e){return e.trim().split(/\s+/g)}function p(e,t,a){if(e.indexOf&&!a)return e.indexOf(t);for(var n=0;n<e.length;){if(a&&e[n][a]==t||!a&&e[n]===t)return n;n++}return-1}function g(e){return Array.prototype.slice.call(e,0)}function y(e,a,t){for(var n=[],s=[],i=0;i<e.length;){var r=a?e[i][a]:e[i];p(s,r)<0&&n.push(e[i]),s[i]=r,i++}return n=t?a?n.sort(function(e,t){return e[a]>t[a]}):n.sort():n}function v(e,t){for(var a,n=t[0].toUpperCase()+t.slice(1),s=0;s<X.length;){if((a=(a=X[s])?a+n:t)in e)return a;s++}return d}function M(e){e=e.ownerDocument||e;return e.defaultView||e.parentWindow||s}function w(t,e){var a=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){l(t.options.enable,[t])&&a.handler(e)},this.init()}function b(e,t,a){var n=a.pointers.length,s=a.changedPointers.length,i=t&ue&&n-s==0,s=t&(he|me)&&n-s==0;a.isFirst=!!i,a.isFinal=!!s,i&&(e.session={}),a.eventType=t,function(e,t){var a=e.session,n=t.pointers,s=n.length;a.firstInput||(a.firstInput=L(t)),1<s&&!a.firstMultiple?a.firstMultiple=L(t):1===s&&(a.firstMultiple=!1);var i=a.firstInput,r=a.firstMultiple,o=(r||i).center,s=t.center=k(n);t.timeStamp=te(),t.deltaTime=t.timeStamp-i.timeStamp,t.angle=x(o,s),t.distance=T(o,s),function(e,t){var a=t.center,n=e.offsetDelta||{},s=e.prevDelta||{},i=e.prevInput||{};t.eventType!==ue&&i.eventType!==he||(s=e.prevDelta={x:i.deltaX||0,y:i.deltaY||0},n=e.offsetDelta={x:a.x,y:a.y}),t.deltaX=s.x+(a.x-n.x),t.deltaY=s.y+(a.y-n.y)}(a,t),t.offsetDirection=Y(t.deltaX,t.deltaY);s=D(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=s.x,t.overallVelocityY=s.y,t.overallVelocity=ee(s.x)>ee(s.y)?s.x:s.y,t.scale=r?function(e,t){return T(t[0],t[1],Le)/T(e[0],e[1],Le)}(r.pointers,n):1,t.rotation=r?function(e,t){return x(t[1],t[0],Le)+x(e[1],e[0],Le)}(r.pointers,n):0,t.maxPointers=!a.prevInput||t.pointers.length>a.prevInput.maxPointers?t.pointers.length:a.prevInput.maxPointers,function(e,t){var a,n,s=e.lastInterval||t,i=t.timeStamp-s.timeStamp;{var r,o,l;t.eventType!=me&&(ce<i||s.velocity===d)?(r=t.deltaX-s.deltaX,o=t.deltaY-s.deltaY,l=D(i,r,o),a=l.x,n=l.y,l=ee(l.x)>ee(l.y)?l.x:l.y,o=Y(r,o),e.lastInterval=t):(l=s.velocity,a=s.velocityX,n=s.velocityY,o=s.direction)}t.velocity=l,t.velocityX=a,t.velocityY=n,t.direction=o}(a,t);e=e.element;m(t.srcEvent.target,e)&&(e=t.srcEvent.target),t.target=e}(e,a),e.emit("hammer.input",a),e.recognize(a),e.session.prevInput=a}function L(e){for(var t=[],a=0;a<e.pointers.length;)t[a]={clientX:Q(e.pointers[a].clientX),clientY:Q(e.pointers[a].clientY)},a++;return{timeStamp:te(),pointers:t,center:k(t),deltaX:e.deltaX,deltaY:e.deltaY}}function k(e){var t=e.length;if(1===t)return{x:Q(e[0].clientX),y:Q(e[0].clientY)};for(var a=0,n=0,s=0;s<t;)a+=e[s].clientX,n+=e[s].clientY,s++;return{x:Q(a/t),y:Q(n/t)}}function D(e,t,a){return{x:t/e||0,y:a/e||0}}function Y(e,t){return e===t?_e:ee(e)>=ee(t)?e<0?fe:pe:t<0?ge:ye}function T(e,t,a){var n=t[(a=a||be)[0]]-e[a[0]],a=t[a[1]]-e[a[1]];return Math.sqrt(n*n+a*a)}function x(e,t,a){var n=t[(a=a||be)[0]]-e[a[0]],a=t[a[1]]-e[a[1]];return 180*Math.atan2(a,n)/Math.PI}function S(){this.evEl=De,this.evWin=Ye,this.pressed=!1,w.apply(this,arguments)}function H(){this.evEl=Se,this.evWin=He,w.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function j(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,w.apply(this,arguments)}function C(){this.evTarget=Pe,this.targetIds={},w.apply(this,arguments)}function P(){w.apply(this,arguments);var e=n(this.handler,this);this.touch=new C(this.manager,e),this.mouse=new S(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function $(e){var t,a,e=e.changedPointers[0];e.identifier===this.primaryTouch&&(t={x:e.clientX,y:e.clientY},this.lastTouches.push(t),a=this.lastTouches,setTimeout(function(){var e=a.indexOf(t);-1<e&&a.splice(e,1)},$e))}function E(e,t){this.manager=e,this.set(t)}function O(e){this.options=ae({},this.defaults,e||{}),this.id=ie++,this.manager=null,this.options.enable=c(this.options.enable,!0),this.state=Re,this.simultaneous={},this.requireFail=[]}function A(e){return 16&e?"cancel":8&e?"end":4&e?"move":2&e?"start":""}function z(e){return e==ye?"down":e==ge?"up":e==fe?"left":e==pe?"right":""}function W(e,t){t=t.manager;return t?t.get(e):e}function F(){O.apply(this,arguments)}function I(){F.apply(this,arguments),this.pX=null,this.pY=null}function R(){F.apply(this,arguments)}function V(){O.apply(this,arguments),this._timer=null,this._input=null}function N(){F.apply(this,arguments)}function B(){F.apply(this,arguments)}function J(){O.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function U(e,t){return(t=t||{}).recognizers=c(t.recognizers,U.defaults.preset),new q(e,t)}function q(e,t){this.options=ae({},U.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new((e=this).options.inputClass||(oe?H:le?C:re?P:S))(e,b),this.touchAction=new E(this,this.options.touchAction),G(this,!0),r(this.options.recognizers,function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])},this)}function G(a,n){var s,i=a.element;i.style&&(r(a.options.cssProps,function(e,t){s=v(i.style,t),n?(a.oldCssProps[s]=i.style[s],i.style[s]=e):i.style[s]=a.oldCssProps[s]||""}),n||(a.oldCssProps={}))}var X=["","webkit","Moz","MS","ms","o"],Z=o.createElement("div"),K="function",Q=Math.round,ee=Math.abs,te=Date.now,ae="function"!=typeof Object.assign?function(e){if(e===d||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),a=1;a<arguments.length;a++){var n=arguments[a];if(n!==d&&null!==n)for(var s in n)n.hasOwnProperty(s)&&(t[s]=n[s])}return t}:Object.assign,ne=e(function(e,t,a){for(var n=Object.keys(t),s=0;s<n.length;)(!a||a&&e[n[s]]===d)&&(e[n[s]]=t[n[s]]),s++;return e},"extend","Use `assign`."),se=e(function(e,t){return ne(e,t,!0)},"merge","Use `assign`."),ie=1,re="ontouchstart"in s,oe=v(s,"PointerEvent")!==d,le=re&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),de="touch",ce=25,ue=1,he=4,me=8,_e=1,fe=2,pe=4,ge=8,ye=16,ve=fe|pe,Me=ge|ye,we=ve|Me,be=["x","y"],Le=["clientX","clientY"];w.prototype={handler:function(){},init:function(){this.evEl&&u(this.element,this.evEl,this.domHandler),this.evTarget&&u(this.target,this.evTarget,this.domHandler),this.evWin&&u(M(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&h(this.element,this.evEl,this.domHandler),this.evTarget&&h(this.target,this.evTarget,this.domHandler),this.evWin&&h(M(this.element),this.evWin,this.domHandler)}};var ke={mousedown:ue,mousemove:2,mouseup:he},De="mousedown",Ye="mousemove mouseup";t(S,w,{handler:function(e){var t=ke[e.type];t&ue&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=he),this.pressed&&(t&he&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:"mouse",srcEvent:e}))}});var Te={pointerdown:ue,pointermove:2,pointerup:he,pointercancel:me,pointerout:me},xe={2:de,3:"pen",4:"mouse",5:"kinect"},Se="pointerdown",He="pointermove pointerup pointercancel";s.MSPointerEvent&&!s.PointerEvent&&(Se="MSPointerDown",He="MSPointerMove MSPointerUp MSPointerCancel"),t(H,w,{handler:function(e){var t=this.store,a=!1,n=e.type.toLowerCase().replace("ms",""),s=Te[n],i=xe[e.pointerType]||e.pointerType,r=i==de,n=p(t,e.pointerId,"pointerId");s&ue&&(0===e.button||r)?n<0&&(t.push(e),n=t.length-1):s&(he|me)&&(a=!0),n<0||(t[n]=e,this.callback(this.manager,s,{pointers:t,changedPointers:[e],pointerType:i,srcEvent:e}),a&&t.splice(n,1))}});var je={touchstart:ue,touchmove:2,touchend:he,touchcancel:me};t(j,w,{handler:function(e){var t,a=je[e.type];a===ue&&(this.started=!0),this.started&&(t=function(e,t){var a=g(e.touches),e=g(e.changedTouches);return[a=t&(he|me)?y(a.concat(e),"identifier",!0):a,e]}.call(this,e,a),a&(he|me)&&t[0].length-t[1].length==0&&(this.started=!1),this.callback(this.manager,a,{pointers:t[0],changedPointers:t[1],pointerType:de,srcEvent:e}))}});var Ce={touchstart:ue,touchmove:2,touchend:he,touchcancel:me},Pe="touchstart touchmove touchend touchcancel";t(C,w,{handler:function(e){var t=Ce[e.type],a=function(e,t){var a=g(e.touches),n=this.targetIds;if(t&(2|ue)&&1===a.length)return n[a[0].identifier]=!0,[a,a];var s,i=g(e.changedTouches),r=[],o=this.target,l=a.filter(function(e){return m(e.target,o)});if(t===ue)for(s=0;s<l.length;)n[l[s].identifier]=!0,s++;for(s=0;s<i.length;)n[i[s].identifier]&&r.push(i[s]),t&(he|me)&&delete n[i[s].identifier],s++;return r.length?[y(l.concat(r),"identifier",!0),r]:void 0}.call(this,e,t);a&&this.callback(this.manager,t,{pointers:a[0],changedPointers:a[1],pointerType:de,srcEvent:e})}});var $e=2500;t(P,w,{handler:function(e,t,a){var n=a.pointerType==de,s="mouse"==a.pointerType;if(!(s&&a.sourceCapabilities&&a.sourceCapabilities.firesTouchEvents)){if(n)!function(e,t){e&ue?(this.primaryTouch=t.changedPointers[0].identifier,$.call(this,t)):e&(he|me)&&$.call(this,t)}.call(this,t,a);else if(s&&function(e){for(var t=e.srcEvent.clientX,a=e.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var s=this.lastTouches[n],i=Math.abs(t-s.x),s=Math.abs(a-s.y);if(i<=25&&s<=25)return!0}return!1}.call(this,a))return;this.callback(e,t,a)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Ee=v(Z.style,"touchAction"),Oe=Ee!==d,Ae="manipulation",ze="none",We="pan-x",Fe="pan-y",Ie=function(){if(!Oe)return!1;var t={},a=s.CSS&&s.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(e){t[e]=!a||s.CSS.supports("touch-action",e)}),t}();E.prototype={set:function(e){"compute"==e&&(e=this.compute()),Oe&&this.manager.element.style&&Ie[e]&&(this.manager.element.style[Ee]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return r(this.manager.recognizers,function(e){l(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(e){if(_(e,ze))return ze;var t=_(e,We),a=_(e,Fe);return t&&a?ze:t||a?t?We:Fe:_(e,Ae)?Ae:"auto"}(t.join(" "))},preventDefaults:function(e){var t=e.srcEvent,a=e.offsetDirection;if(!this.manager.session.prevented){var n=this.actions,s=_(n,ze)&&!Ie.none,i=_(n,Fe)&&!Ie[Fe],r=_(n,We)&&!Ie[We];if(s){var o=1===e.pointers.length,n=e.distance<2,e=e.deltaTime<250;if(o&&n&&e)return}return(!r||!i)&&(s||i&&a&ve||r&&a&Me)?this.preventSrc(t):void 0}t.preventDefault()},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var Re=1;O.prototype={defaults:{},set:function(e){return ae(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(a(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=W(e,this)).id]||(t[e.id]=e).recognizeWith(this),this},dropRecognizeWith:function(e){return a(e,"dropRecognizeWith",this)||(e=W(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(a(e,"requireFailure",this))return this;var t=this.requireFail;return-1===p(t,e=W(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(a(e,"dropRequireFailure",this))return this;e=W(e,this);e=p(this.requireFail,e);return-1<e&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return 0<this.requireFail.length},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(t){function e(e){a.manager.emit(e,t)}var a=this,n=this.state;n<8&&e(a.options.event+A(n)),e(a.options.event),t.additionalEvent&&e(t.additionalEvent),8<=n&&e(a.options.event+A(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=32},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(this.requireFail[e].state&(32|Re)))return!1;e++}return!0},recognize:function(e){e=ae({},e);if(!l(this.options.enable,[this,e]))return this.reset(),void(this.state=32);56&this.state&&(this.state=Re),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(e){},getTouchAction:function(){},reset:function(){}},t(F,O,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,a=e.eventType,n=6&t,e=this.attrTest(e);return n&&(a&me||!e)?16|t:n||e?a&he?8|t:2&t?4|t:2:32}}),t(I,F,{defaults:{event:"pan",threshold:10,pointers:1,direction:we},getTouchAction:function(){var e=this.options.direction,t=[];return e&ve&&t.push(Fe),e&Me&&t.push(We),t},directionTest:function(e){var t=this.options,a=!0,n=e.distance,s=e.direction,i=e.deltaX,r=e.deltaY;return s&t.direction||(n=t.direction&ve?(s=0===i?_e:i<0?fe:pe,a=i!=this.pX,Math.abs(e.deltaX)):(s=0===r?_e:r<0?ge:ye,a=r!=this.pY,Math.abs(e.deltaY))),e.direction=s,a&&n>t.threshold&&s&t.direction},attrTest:function(e){return F.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=z(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),t(R,F,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[ze]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){var t;1!==e.scale&&(t=e.scale<1?"in":"out",e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),t(V,O,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(e){var t=this.options,a=e.pointers.length===t.pointers,n=e.distance<t.threshold,s=e.deltaTime>t.time;if(this._input=e,!n||!a||e.eventType&(he|me)&&!s)this.reset();else if(e.eventType&ue)this.reset(),this._timer=i(function(){this.state=8,this.tryEmit()},t.time,this);else if(e.eventType&he)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&e.eventType&he?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=te(),this.manager.emit(this.options.event,this._input)))}}),t(N,F,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[ze]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),t(B,F,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:ve|Me,pointers:1},getTouchAction:function(){return I.prototype.getTouchAction.call(this)},attrTest:function(e){var t,a=this.options.direction;return a&(ve|Me)?t=e.overallVelocity:a&ve?t=e.overallVelocityX:a&Me&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&a&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&ee(t)>this.options.velocity&&e.eventType&he},emit:function(e){var t=z(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),t(J,O,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ae]},process:function(e){var t=this.options,a=e.pointers.length===t.pointers,n=e.distance<t.threshold,s=e.deltaTime<t.time;if(this.reset(),e.eventType&ue&&0===this.count)return this.failTimeout();if(n&&s&&a){if(e.eventType!=he)return this.failTimeout();s=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||T(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,a&&s?this.count+=1:this.count=1,this._input=e,0==this.count%t.taps)return this.hasRequireFailures()?(this._timer=i(function(){this.state=8,this.tryEmit()},t.interval,this),2):8}return 32},failTimeout:function(){return this._timer=i(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),U.VERSION="2.0.8",U.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[N,{enable:!1}],[R,{enable:!1},["rotate"]],[B,{direction:ve}],[I,{direction:ve},["swipe"]],[J],[J,{event:"doubletap",taps:2},["tap"]],[V]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};q.prototype={set:function(e){return ae(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){this.touchAction.preventDefaults(e);var a,n=this.recognizers,s=t.curRecognizer;(!s||s&&8&s.state)&&(s=t.curRecognizer=null);for(var i=0;i<n.length;)a=n[i],2===t.stopped||s&&a!=s&&!a.canRecognizeWith(s)?a.reset():a.recognize(e),!s&&14&a.state&&(s=t.curRecognizer=a),i++}},get:function(e){if(e instanceof O)return e;for(var t=this.recognizers,a=0;a<t.length;a++)if(t[a].options.event==e)return t[a];return null},add:function(e){if(a(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),(e.manager=this).touchAction.update(),e},remove:function(e){return a(e,"remove",this)||!(e=this.get(e))||-1!==(e=p(t=this.recognizers,e))&&(t.splice(e,1),this.touchAction.update()),this;var t},on:function(e,t){if(e!==d&&t!==d){var a=this.handlers;return r(f(e),function(e){a[e]=a[e]||[],a[e].push(t)}),this}},off:function(e,t){if(e!==d){var a=this.handlers;return r(f(e),function(e){t?a[e]&&a[e].splice(p(a[e],t),1):delete a[e]}),this}},emit:function(e,t){var a,n,s;this.options.domEvents&&(a=e,n=t,(s=o.createEvent("Event")).initEvent(a,!0,!0),(s.gesture=n).target.dispatchEvent(s));var i=this.handlers[e]&&this.handlers[e].slice();if(i&&i.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var r=0;r<i.length;)i[r](t),r++}},destroy:function(){this.element&&G(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},ae(U,{INPUT_START:ue,INPUT_MOVE:2,INPUT_END:he,INPUT_CANCEL:me,STATE_POSSIBLE:Re,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:_e,DIRECTION_LEFT:fe,DIRECTION_RIGHT:pe,DIRECTION_UP:ge,DIRECTION_DOWN:ye,DIRECTION_HORIZONTAL:ve,DIRECTION_VERTICAL:Me,DIRECTION_ALL:we,Manager:q,Input:w,TouchAction:E,TouchInput:C,MouseInput:S,PointerEventInput:H,TouchMouseInput:P,SingleTouchInput:j,Recognizer:O,AttrRecognizer:F,Tap:J,Pan:I,Swipe:B,Pinch:R,Rotate:N,Press:V,on:u,off:h,each:r,merge:se,extend:ne,assign:ae,inherit:t,bindFn:n,prefixed:v}),(void 0!==s?s:"undefined"!=typeof self?self:{}).Hammer=U,"function"==typeof define&&define.amd?define(function(){return U}):"undefined"!=typeof module&&module.exports?module.exports=U:s.Hammer=U}(window,document),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(r){function o(e){return parseFloat(e)||0}function l(e){var e=r(e),n=null,s=[];return e.each(function(){var e=r(this),t=e.offset().top-o(e.css("margin-top")),a=0<s.length?s[s.length-1]:null;null!==a&&Math.floor(Math.abs(n-t))<=1?s[s.length-1]=a.add(e):s.push(e),n=t}),s}function d(e){var t={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?r.extend(t,e):("boolean"==typeof e?t.byRow=e:"remove"===e&&(t.remove=!0),t)}var n=-1,s=-1,c=r.fn.matchHeight=function(e){e=d(e);if(e.remove){var a=this;return this.css(e.property,""),r.each(c._groups,function(e,t){t.elements=t.elements.not(a)}),this}return this.length<=1&&!e.target||(c._groups.push({elements:this,options:e}),c._apply(this,e)),this};c.version="master",c._groups=[],c._throttle=80,c._maintainScroll=!1,c._beforeUpdate=null,c._afterUpdate=null,c._rows=l,c._parse=o,c._parseOptions=d,c._apply=function(e,t){var s=d(t),a=r(e),n=[a],i=r(window).scrollTop(),t=r("html").outerHeight(!0),e=a.parents().filter(":hidden");return e.each(function(){var e=r(this);e.data("style-cache",e.attr("style"))}),e.css("display","block"),s.byRow&&!s.target&&(a.each(function(){var e=r(this),t=e.css("display");"inline-block"!==t&&"flex"!==t&&"inline-flex"!==t&&(t="block"),e.data("style-cache",e.attr("style")),e.css({display:t,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),n=l(a),a.each(function(){var e=r(this);e.attr("style",e.data("style-cache")||"")})),r.each(n,function(e,t){var t=r(t),n=0;if(s.target)n=s.target.outerHeight(!1);else{if(s.byRow&&t.length<=1)return void t.css(s.property,"");t.each(function(){var e=r(this),t=e.attr("style"),a=e.css("display"),a={display:a="inline-block"!==a&&"flex"!==a&&"inline-flex"!==a?"block":a};a[s.property]="",e.css(a),e.outerHeight(!1)>n&&(n=e.outerHeight(!1)),t?e.attr("style",t):e.css("display","")})}t.each(function(){var e=r(this),t=0;s.target&&e.is(s.target)||("border-box"!==e.css("box-sizing")&&(t+=o(e.css("border-top-width"))+o(e.css("border-bottom-width")),t+=o(e.css("padding-top"))+o(e.css("padding-bottom"))),e.css(s.property,n-t+"px"))})}),e.each(function(){var e=r(this);e.attr("style",e.data("style-cache")||null)}),c._maintainScroll&&r(window).scrollTop(i/t*r("html").outerHeight(!0)),this},c._applyDataApi=function(){var a={};r("[data-match-height], [data-mh]").each(function(){var e=r(this),t=e.attr("data-mh")||e.attr("data-match-height");t in a?a[t]=a[t].add(e):a[t]=e}),r.each(a,function(){this.matchHeight(!0)})};function i(e){c._beforeUpdate&&c._beforeUpdate(e,c._groups),r.each(c._groups,function(){c._apply(this.elements,this.options)}),c._afterUpdate&&c._afterUpdate(e,c._groups)}c._update=function(e,t){if(t&&"resize"===t.type){var a=r(window).width();if(a===n)return;n=a}e?-1===s&&(s=setTimeout(function(){i(t),s=-1},c._throttle)):i(t)},r(c._applyDataApi),r(window).bind("load",function(e){c._update(!1,e)}),r(window).bind("resize orientationchange",function(e){c._update(!0,e)})}),function(){function e(o){return function(e,t,a,n){t=v(t,n,4);var s=!Y(e)&&y.keys(e),i=(s||e).length,r=0<o?0:i-1;return arguments.length<3&&(a=e[s?s[r]:r],r+=o),function(e,t,a,n,s,i){for(;0<=s&&s<i;s+=o){var r=n?n[s]:s;a=t(a,e[r],r,e)}return a}(e,t,a,s,r,i)}}function t(i){return function(e,t,a){t=M(t,a);for(var n=D(e),s=0<i?0:n-1;0<=s&&s<n;s+=i)if(t(e[s],s,e))return s;return-1}}function a(i,r,o){return function(e,t,a){var n=0,s=D(e);if("number"==typeof a)0<i?n=0<=a?a:Math.max(a+s,n):s=0<=a?Math.min(a+1,s):a+s+1;else if(o&&a&&s)return e[a=o(e,t)]===t?a:-1;if(t!=t)return 0<=(a=r(u.call(e,n,s),y.isNaN))?a+n:-1;for(a=0<i?n:s-1;0<=a&&a<s;a+=i)if(e[a]===t)return a;return-1}}function n(e,t){var a=H.length,n=e.constructor,s=y.isFunction(n)&&n.prototype||l,i="constructor";for(y.has(e,i)&&!y.contains(t,i)&&t.push(i);a--;)(i=H[a])in e&&e[i]!==s[i]&&!y.contains(t,i)&&t.push(i)}function s(){}var i=this,r=i._,o=Array.prototype,l=Object.prototype,d=Function.prototype,c=o.push,u=o.slice,h=l.toString,m=l.hasOwnProperty,_=Array.isArray,f=Object.keys,p=d.bind,g=Object.create,y=function(e){return e instanceof y?e:this instanceof y?void(this._wrapped=e):new y(e)};"undefined"!=typeof exports?(exports="undefined"!=typeof module&&module.exports?module.exports=y:exports)._=y:i._=y,y.VERSION="1.8.3";var v=function(s,i,e){if(void 0===i)return s;switch(null==e?3:e){case 1:return function(e){return s.call(i,e)};case 2:return function(e,t){return s.call(i,e,t)};case 3:return function(e,t,a){return s.call(i,e,t,a)};case 4:return function(e,t,a,n){return s.call(i,e,t,a,n)}}return function(){return s.apply(i,arguments)}},M=function(e,t,a){return null==e?y.identity:y.isFunction(e)?v(e,t,a):y.isObject(e)?y.matcher(e):y.property(e)};y.iteratee=function(e,t){return M(e,t,1/0)};function w(e){return y.isObject(e)?g?g(e):(s.prototype=e,e=new s,s.prototype=null,e):{}}var b=function(l,d){return function(e){var t=arguments.length;if(t<2||null==e)return e;for(var a=1;a<t;a++)for(var n=arguments[a],s=l(n),i=s.length,r=0;r<i;r++){var o=s[r];d&&void 0!==e[o]||(e[o]=n[o])}return e}},L=function(t){return function(e){return null==e?void 0:e[t]}},k=Math.pow(2,53)-1,D=L("length"),Y=function(e){e=D(e);return"number"==typeof e&&0<=e&&e<=k};y.each=y.forEach=function(e,t,a){if(t=v(t,a),Y(e))for(s=0,i=e.length;s<i;s++)t(e[s],s,e);else for(var n=y.keys(e),s=0,i=n.length;s<i;s++)t(e[n[s]],n[s],e);return e},y.map=y.collect=function(e,t,a){t=M(t,a);for(var n=!Y(e)&&y.keys(e),s=(n||e).length,i=Array(s),r=0;r<s;r++){var o=n?n[r]:r;i[r]=t(e[o],o,e)}return i},y.reduce=y.foldl=y.inject=e(1),y.reduceRight=y.foldr=e(-1),y.find=y.detect=function(e,t,a){a=Y(e)?y.findIndex(e,t,a):y.findKey(e,t,a);return void 0!==a&&-1!==a?e[a]:void 0},y.filter=y.select=function(e,n,t){var s=[];return n=M(n,t),y.each(e,function(e,t,a){n(e,t,a)&&s.push(e)}),s},y.reject=function(e,t,a){return y.filter(e,y.negate(M(t)),a)},y.every=y.all=function(e,t,a){t=M(t,a);for(var n=!Y(e)&&y.keys(e),s=(n||e).length,i=0;i<s;i++){var r=n?n[i]:i;if(!t(e[r],r,e))return!1}return!0},y.some=y.any=function(e,t,a){t=M(t,a);for(var n=!Y(e)&&y.keys(e),s=(n||e).length,i=0;i<s;i++){var r=n?n[i]:i;if(t(e[r],r,e))return!0}return!1},y.contains=y.includes=y.include=function(e,t,a,n){return Y(e)||(e=y.values(e)),0<=y.indexOf(e,t,a="number"!=typeof a||n?0:a)},y.invoke=function(e,a){var n=u.call(arguments,2),s=y.isFunction(a);return y.map(e,function(e){var t=s?a:e[a];return null==t?t:t.apply(e,n)})},y.pluck=function(e,t){return y.map(e,y.property(t))},y.where=function(e,t){return y.filter(e,y.matcher(t))},y.findWhere=function(e,t){return y.find(e,y.matcher(t))},y.max=function(e,n,t){var a,s,i=-1/0,r=-1/0;if(null==n&&null!=e)for(var o=0,l=(e=Y(e)?e:y.values(e)).length;o<l;o++)a=e[o],i<a&&(i=a);else n=M(n,t),y.each(e,function(e,t,a){s=n(e,t,a),(r<s||s===-1/0&&i===-1/0)&&(i=e,r=s)});return i},y.min=function(e,n,t){var a,s,i=1/0,r=1/0;if(null==n&&null!=e)for(var o=0,l=(e=Y(e)?e:y.values(e)).length;o<l;o++)(a=e[o])<i&&(i=a);else n=M(n,t),y.each(e,function(e,t,a){((s=n(e,t,a))<r||1/0===s&&1/0===i)&&(i=e,r=s)});return i},y.shuffle=function(e){for(var t,a=Y(e)?e:y.values(e),n=a.length,s=Array(n),i=0;i<n;i++)(t=y.random(0,i))!==i&&(s[i]=s[t]),s[t]=a[i];return s},y.sample=function(e,t,a){return null==t||a?(e=!Y(e)?y.values(e):e)[y.random(e.length-1)]:y.shuffle(e).slice(0,Math.max(0,t))},y.sortBy=function(e,n,t){return n=M(n,t),y.pluck(y.map(e,function(e,t,a){return{value:e,index:t,criteria:n(e,t,a)}}).sort(function(e,t){var a=e.criteria,n=t.criteria;if(a!==n){if(n<a||void 0===a)return 1;if(a<n||void 0===n)return-1}return e.index-t.index}),"value")};d=function(i){return function(a,n,e){var s={};return n=M(n,e),y.each(a,function(e,t){t=n(e,t,a);i(s,e,t)}),s}};y.groupBy=d(function(e,t,a){y.has(e,a)?e[a].push(t):e[a]=[t]}),y.indexBy=d(function(e,t,a){e[a]=t}),y.countBy=d(function(e,t,a){y.has(e,a)?e[a]++:e[a]=1}),y.toArray=function(e){return e?y.isArray(e)?u.call(e):Y(e)?y.map(e,y.identity):y.values(e):[]},y.size=function(e){return null==e?0:(Y(e)?e:y.keys(e)).length},y.partition=function(e,n,t){n=M(n,t);var s=[],i=[];return y.each(e,function(e,t,a){(n(e,t,a)?s:i).push(e)}),[s,i]},y.first=y.head=y.take=function(e,t,a){return null==e?void 0:null==t||a?e[0]:y.initial(e,e.length-t)},y.initial=function(e,t,a){return u.call(e,0,Math.max(0,e.length-(null==t||a?1:t)))},y.last=function(e,t,a){return null==e?void 0:null==t||a?e[e.length-1]:y.rest(e,Math.max(0,e.length-t))},y.rest=y.tail=y.drop=function(e,t,a){return u.call(e,null==t||a?1:t)},y.compact=function(e){return y.filter(e,y.identity)};var T=function(e,t,a,n){for(var s=[],i=0,r=n||0,o=D(e);r<o;r++){var l=e[r];if(Y(l)&&(y.isArray(l)||y.isArguments(l))){var d=0,c=(l=!t?T(l,t,a):l).length;for(s.length+=c;d<c;)s[i++]=l[d++]}else a||(s[i++]=l)}return s};y.flatten=function(e,t){return T(e,t,!1)},y.without=function(e){return y.difference(e,u.call(arguments,1))},y.uniq=y.unique=function(e,t,a,n){y.isBoolean(t)||(n=a,a=t,t=!1),null!=a&&(a=M(a,n));for(var s=[],i=[],r=0,o=D(e);r<o;r++){var l=e[r],d=a?a(l,r,e):l;t?(r&&i===d||s.push(l),i=d):a?y.contains(i,d)||(i.push(d),s.push(l)):y.contains(s,l)||s.push(l)}return s},y.union=function(){return y.uniq(T(arguments,!0,!0))},y.intersection=function(e){for(var t=[],a=arguments.length,n=0,s=D(e);n<s;n++){var i=e[n];if(!y.contains(t,i)){for(var r=1;r<a&&y.contains(arguments[r],i);r++);r===a&&t.push(i)}}return t},y.difference=function(e){var t=T(arguments,!0,!0,1);return y.filter(e,function(e){return!y.contains(t,e)})},y.zip=function(){return y.unzip(arguments)},y.unzip=function(e){for(var t=e&&y.max(e,D).length||0,a=Array(t),n=0;n<t;n++)a[n]=y.pluck(e,n);return a},y.object=function(e,t){for(var a={},n=0,s=D(e);n<s;n++)t?a[e[n]]=t[n]:a[e[n][0]]=e[n][1];return a},y.findIndex=t(1),y.findLastIndex=t(-1),y.sortedIndex=function(e,t,a,n){for(var s=(a=M(a,n,1))(t),i=0,r=D(e);i<r;){var o=Math.floor((i+r)/2);a(e[o])<s?i=o+1:r=o}return i},y.indexOf=a(1,y.findIndex,y.sortedIndex),y.lastIndexOf=a(-1,y.findLastIndex),y.range=function(e,t,a){null==t&&(t=e||0,e=0),a=a||1;for(var n=Math.max(Math.ceil((t-e)/a),0),s=Array(n),i=0;i<n;i++,e+=a)s[i]=e;return s};function x(e,t,a,n,s){return n instanceof t?(a=w(e.prototype),s=e.apply(a,s),y.isObject(s)?s:a):e.apply(a,s)}y.bind=function(e,t){if(p&&e.bind===p)return p.apply(e,u.call(arguments,1));if(!y.isFunction(e))throw new TypeError("Bind must be called on a function");var a=u.call(arguments,2),n=function(){return x(e,n,t,this,a.concat(u.call(arguments)))};return n},y.partial=function(s){var i=u.call(arguments,1),r=function(){for(var e=0,t=i.length,a=Array(t),n=0;n<t;n++)a[n]=i[n]===y?arguments[e++]:i[n];for(;e<arguments.length;)a.push(arguments[e++]);return x(s,r,this,this,a)};return r},y.bindAll=function(e){var t,a,n=arguments.length;if(n<=1)throw new Error("bindAll must be passed function names");for(t=1;t<n;t++)e[a=arguments[t]]=y.bind(e[a],e);return e},y.memoize=function(n,s){var i=function(e){var t=i.cache,a=""+(s?s.apply(this,arguments):e);return y.has(t,a)||(t[a]=n.apply(this,arguments)),t[a]};return i.cache={},i},y.delay=function(e,t){var a=u.call(arguments,2);return setTimeout(function(){return e.apply(null,a)},t)},y.defer=y.partial(y.delay,y,1),y.throttle=function(a,n,s){var i,r,o,l=null,d=0;s=s||{};function c(){d=!1===s.leading?0:y.now(),l=null,o=a.apply(i,r),l||(i=r=null)}return function(){var e=y.now();d||!1!==s.leading||(d=e);var t=n-(e-d);return i=this,r=arguments,t<=0||n<t?(l&&(clearTimeout(l),l=null),d=e,o=a.apply(i,r),l||(i=r=null)):l||!1===s.trailing||(l=setTimeout(c,t)),o}},y.debounce=function(t,a,n){var s,i,r,o,l,d=function(){var e=y.now()-o;e<a&&0<=e?s=setTimeout(d,a-e):(s=null,n||(l=t.apply(r,i),s||(r=i=null)))};return function(){r=this,i=arguments,o=y.now();var e=n&&!s;return s=s||setTimeout(d,a),e&&(l=t.apply(r,i),r=i=null),l}},y.wrap=function(e,t){return y.partial(t,e)},y.negate=function(e){return function(){return!e.apply(this,arguments)}},y.compose=function(){var a=arguments,n=a.length-1;return function(){for(var e=n,t=a[n].apply(this,arguments);e--;)t=a[e].call(this,t);return t}},y.after=function(e,t){return function(){return--e<1?t.apply(this,arguments):void 0}},y.before=function(e,t){var a;return function(){return 0<--e&&(a=t.apply(this,arguments)),e<=1&&(t=null),a}},y.once=y.partial(y.before,2);var S=!{toString:null}.propertyIsEnumerable("toString"),H=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];y.keys=function(e){if(!y.isObject(e))return[];if(f)return f(e);var t,a=[];for(t in e)y.has(e,t)&&a.push(t);return S&&n(e,a),a},y.allKeys=function(e){if(!y.isObject(e))return[];var t,a=[];for(t in e)a.push(t);return S&&n(e,a),a},y.values=function(e){for(var t=y.keys(e),a=t.length,n=Array(a),s=0;s<a;s++)n[s]=e[t[s]];return n},y.mapObject=function(e,t,a){t=M(t,a);for(var n,s=y.keys(e),i=s.length,r={},o=0;o<i;o++)r[n=s[o]]=t(e[n],n,e);return r},y.pairs=function(e){for(var t=y.keys(e),a=t.length,n=Array(a),s=0;s<a;s++)n[s]=[t[s],e[t[s]]];return n},y.invert=function(e){for(var t={},a=y.keys(e),n=0,s=a.length;n<s;n++)t[e[a[n]]]=a[n];return t},y.functions=y.methods=function(e){var t,a=[];for(t in e)y.isFunction(e[t])&&a.push(t);return a.sort()},y.extend=b(y.allKeys),y.extendOwn=y.assign=b(y.keys),y.findKey=function(e,t,a){t=M(t,a);for(var n,s=y.keys(e),i=0,r=s.length;i<r;i++)if(t(e[n=s[i]],n,e))return n},y.pick=function(e,t,a){var n,s,i={},r=e;if(null==r)return i;y.isFunction(t)?(s=y.allKeys(r),n=v(t,a)):(s=T(arguments,!1,!1,1),n=function(e,t,a){return t in a},r=Object(r));for(var o=0,l=s.length;o<l;o++){var d=s[o],c=r[d];n(c,d,r)&&(i[d]=c)}return i},y.omit=function(e,t,a){var n;return t=y.isFunction(t)?y.negate(t):(n=y.map(T(arguments,!1,!1,1),String),function(e,t){return!y.contains(n,t)}),y.pick(e,t,a)},y.defaults=b(y.allKeys,!0),y.create=function(e,t){e=w(e);return t&&y.extendOwn(e,t),e},y.clone=function(e){return y.isObject(e)?y.isArray(e)?e.slice():y.extend({},e):e},y.tap=function(e,t){return t(e),e},y.isMatch=function(e,t){var a=y.keys(t),n=a.length;if(null==e)return!n;for(var s=Object(e),i=0;i<n;i++){var r=a[i];if(t[r]!==s[r]||!(r in s))return!1}return!0};var j=function(e,t,a,n){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return e===t;e instanceof y&&(e=e._wrapped),t instanceof y&&(t=t._wrapped);var s=h.call(e);if(s!==h.call(t))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t}var i="[object Array]"===s;if(!i){if("object"!=typeof e||"object"!=typeof t)return!1;var r=e.constructor,s=t.constructor;if(r!==s&&!(y.isFunction(r)&&r instanceof r&&y.isFunction(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}n=n||[];for(var o=(a=a||[]).length;o--;)if(a[o]===e)return n[o]===t;if(a.push(e),n.push(t),i){if((o=e.length)!==t.length)return!1;for(;o--;)if(!j(e[o],t[o],a,n))return!1}else{var l,d=y.keys(e),o=d.length;if(y.keys(t).length!==o)return!1;for(;o--;)if(l=d[o],!y.has(t,l)||!j(e[l],t[l],a,n))return!1}return a.pop(),n.pop(),!0};y.isEqual=function(e,t){return j(e,t)},y.isEmpty=function(e){return null==e||(Y(e)&&(y.isArray(e)||y.isString(e)||y.isArguments(e))?0===e.length:0===y.keys(e).length)},y.isElement=function(e){return!(!e||1!==e.nodeType)},y.isArray=_||function(e){return"[object Array]"===h.call(e)},y.isObject=function(e){var t=typeof e;return"function"==t||"object"==t&&!!e},y.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){y["is"+t]=function(e){return h.call(e)==="[object "+t+"]"}}),y.isArguments(arguments)||(y.isArguments=function(e){return y.has(e,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(y.isFunction=function(e){return"function"==typeof e||!1}),y.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},y.isNaN=function(e){return y.isNumber(e)&&e!==+e},y.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===h.call(e)},y.isNull=function(e){return null===e},y.isUndefined=function(e){return void 0===e},y.has=function(e,t){return null!=e&&m.call(e,t)},y.noConflict=function(){return i._=r,this},y.identity=function(e){return e},y.constant=function(e){return function(){return e}},y.noop=function(){},y.property=L,y.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},y.matcher=y.matches=function(t){return t=y.extendOwn({},t),function(e){return y.isMatch(e,t)}},y.times=function(e,t,a){var n=Array(Math.max(0,e));t=v(t,a,1);for(var s=0;s<e;s++)n[s]=t(s);return n},y.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},y.now=Date.now||function(){return(new Date).getTime()};b={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},_=y.invert(b),L=function(t){function a(e){return t[e]}var e="(?:"+y.keys(t).join("|")+")",n=RegExp(e),s=RegExp(e,"g");return function(e){return n.test(e=null==e?"":""+e)?e.replace(s,a):e}};y.escape=L(b),y.unescape=L(_),y.result=function(e,t,a){t=null==e?void 0:e[t];return y.isFunction(t=void 0===t?a:t)?t.call(e):t};var C=0;y.uniqueId=function(e){var t=++C+"";return e?e+t:t},y.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};function P(e){return"\\"+E[e]}var $=/(.)^/,E={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},O=/\\|'|\r|\n|\u2028|\u2029/g;y.template=function(i,e,t){e=y.defaults({},e=!e&&t?t:e,y.templateSettings);var t=RegExp([(e.escape||$).source,(e.interpolate||$).source,(e.evaluate||$).source].join("|")+"|$","g"),r=0,o="__p+='";i.replace(t,function(e,t,a,n,s){return o+=i.slice(r,s).replace(O,P),r=s+e.length,t?o+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":a?o+="'+\n((__t=("+a+"))==null?'':__t)+\n'":n&&(o+="';\n"+n+"\n__p+='"),e}),o+="';\n",o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+(o=!e.variable?"with(obj||{}){\n"+o+"}\n":o)+"return __p;\n";try{var a=new Function(e.variable||"obj","_",o)}catch(e){throw e.source=o,e}t=function(e){return a.call(this,e,y)},e=e.variable||"obj";return t.source="function("+e+"){\n"+o+"}",t},y.chain=function(e){e=y(e);return e._chain=!0,e};function A(e,t){return e._chain?y(t).chain():t}y.mixin=function(a){y.each(y.functions(a),function(e){var t=y[e]=a[e];y.prototype[e]=function(){var e=[this._wrapped];return c.apply(e,arguments),A(this,t.apply(y,e))}})},y.mixin(y),y.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var a=o[t];y.prototype[t]=function(){var e=this._wrapped;return a.apply(e,arguments),"shift"!==t&&"splice"!==t||0!==e.length||delete e[0],A(this,e)}}),y.each(["concat","join","slice"],function(e){var t=o[e];y.prototype[e]=function(){return A(this,t.apply(this._wrapped,arguments))}}),y.prototype.value=function(){return this._wrapped},y.prototype.valueOf=y.prototype.toJSON=y.prototype.value,y.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return y})}.call(this),$(function(){$(".site-config a.lang, .lang-list .close-btn").click(()=>{$(".lang-list").toggleClass("active"),$(".site-config a.lang").toggleClass("active"),toggleBlockScroll()}),$(".site-config a.devise, .devise-list .close-btn").click(()=>{$(".devise-list").toggleClass("active"),$(".site-config a.devise").toggleClass("active"),toggleBlockScroll()}),$(".lang-list").click(function(e){$(".lang-list").toggleClass("active"),$(".site-config a.lang").toggleClass("active"),toggleBlockScroll()}),$(".devise-list").click(function(e){$(".devise-list").toggleClass("active"),$(".site-config a.devise").toggleClass("active"),toggleBlockScroll()}),$(".lang-list .langue a, .devise-list .devise a").click(function(){changeLangOrCurrency($(this).parent().hasClass("langue"))}),$(".lang-list .content,.devise-list .content,.modal-bookNow .row,.service-detail .content, .gallery-modal .gallery-modal-carousel").click(function(e){e.stopPropagation()}),$("nav ul li a, footer .back-to-top").click(function(){bodyScrollTo($(this).data("scroll")),$("nav ul").removeClass("active"),$("body").css("overflow","auto")}),$("nav .mobile_toggle").click(()=>{$("nav ul").toggleClass("active"),toggleBlockScroll()}),langueSelected2="zh"==langueSelected||"tl"==langueSelected||"no"==langueSelected?"en":langueSelected,moment.locale(langueSelected2);var e=moment().endOf("day").format("YYYY-MM-DD"),t=moment(e).add(1,"year").add(3,"month").format("YYYY-MM-DD");$("#date-range-ctn").dateRangePicker({container:"#date-range-ctn",format:"YYYY-MM-DD",calendarCount:2,singleMonth:!1,showShortcuts:!1,locale:langueSelected2,minDate:e,maxDate:t,startOfWeek:"monday",startDate:e,showTopbar:!1,separator:" to ",showOn:"center",arrowOn:"center",getValue:function(){return $("#date-range-from").val()&&$("#date-range-to").val()?$("#date-range-from").val()+" to "+$("#date-range-to").val():""},setValue:function(e,t,a){t!=a?($("#date-range-from").val(t),$("#date-range-to").val(a),"3"==typeSite&&changeUrlAction(t,a)):alert("Please select two different dates !")}}),$("#btnBookNow").click(function(e){"0"!=typeSite&&(e.preventDefault(),$("#bookNowForm").submit())}),owlCarouselSlideHome=$(".home-slide-carousel"),owlCarouselSlideHome.owlCarousel({items:1,margin:0,lazyLoad:!0,dots:!1,mouseDrag:!1,touchDrag:!1,pullDrag:!1,nav:!1,animateOut:"fadeOut",rtl:direction}),$(".home-slide .nav-controls span").click(function(){$(this).hasClass("prev")?owlCarouselSlideHome.trigger("prev.owl.carousel"):owlCarouselSlideHome.trigger("next.owl.carousel")}),$(".modal-bookNow").click(()=>{$(".modal-bookNow").toggleClass("active"),toggleBlockScroll()}),$(".home-slide .bottom-extra .btn-bookNow.active").click(()=>{$(".modal-bookNow").toggleClass("active"),toggleBlockScroll()}),$(".intro .content .btn-more,.intro-details .btn-close").click(()=>{$(".intro-details").toggleClass("active"),toggleBlockScroll()}),owlCarouselRooms=$(".rooms-carousel"),owlCarouselRooms.owlCarousel({nav:!0,dots:!1,autoWidth:!0,animateOut:"fadeOut",responsive:{0:{margin:40},1280:{margin:100}},rtl:direction}),owlCarouselCommentsFilter=$(".comments-filter-carousel"),owlCarouselCommentsFilter.owlCarousel({dots:!1,autoWidth:!0,responsive:{0:{nav:!0},768:{nav:!1}},rtl:direction}),owlCarouselComments=$(".comments-carousel"),owlCarouselComments.owlCarousel({nav:!0,dots:!1,responsive:{0:{margin:0,items:1},576:{margin:0,autoWidth:!0}},rtl:direction});let n=[],s=0;$(document).on("click",".comments-filter-carousel .item a",function(){if(0<s)try{commentClick()}catch(e){console.log("Error",e)}var t=$(this).data("commentFilter");$(".comments-filter-carousel .item a").removeClass("active"),$(this).addClass("active"),0==n.length&&(n=$(".comments-carousel .owl-item"));let a=[];n.each(function(e){$(this).children(".item").hasClass(t)&&a.push($(this).html())}),s++,owlCarouselComments.trigger("replace.owl.carousel",a.join("")).trigger("refresh.owl.carousel")}),$(document).on("click",".comments-carousel .item .btn-more",function(){var e=$(this).data("comment"),t=$(this).parent().html();$(".comment-details .content").html(t),$(".comment-details .content .description").html(e),$(".comment-details .content .btn-more").remove(),$(".comment-details .engine").remove(),$(".comment-details").append($(this).parent().find(".engine").clone()),$(".comment-details").toggleClass("active"),toggleBlockScroll()}),$(document).on("click",".comment-details .btn-close",function(){$(".comment-details").toggleClass("active"),toggleBlockScroll()}),owlCarouselServicesFilter=$(".services-filter"),owlCarouselServicesFilter.owlCarousel({nav:!0,dots:!1,items:5,margin:20,responsive:{0:{items:2},768:{items:4},769:{items:5}},rtl:direction}),owlCarouselServices=$(".services-carousel"),owlCarouselServices.owlCarousel({nav:!0,dots:!1,items:3,margin:20,responsive:{0:{items:1},768:{items:2},1280:{items:3}},rtl:direction}),$(".service-detail , .service-detail .btn-close").click(()=>{$(".service-detail").toggleClass("active"),toggleBlockScroll()});let i=[];$(document).on("click",".services-filter .item",function(){$(".services-filter .item").removeClass("active"),$(this).addClass("active"),0==i.length&&(i=$(".services-carousel .owl-item"));var t=$(this).data("serviceFilter");let a=[];i.each(function(e){("*"==t||$(this).children(".item").hasClass(t))&&a.push($(this).html())});try{ServiceClick()}catch(e){console.log("Error",e)}owlCarouselServices.trigger("replace.owl.carousel",a.join("")).trigger("refresh.owl.carousel")});var r=$(".owl-carousel-gallery-services");r.owlCarousel({items:1,loop:!1,dots:!1,nav:!0,autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,navText:['<img alt="icon slider" src="'+host+'/assetsV19/img/svg/Right_1.svg">',' <img alt="icon slider" src="'+host+'/assetsV19/img/svg/Right_1.svg">'],rtl:direction}),$(document).on("click",".services-carousel .item .btn-more",function(){var e=$(this).data("title"),t=$(this).data("text"),a=$(this).data("image"),n=$(this).parents(".item").find(".starting").html(),s=$(this).data("download");r.trigger("replace.owl.carousel",a).trigger("refresh.owl.carousel"),$(".service-detail .content .title").html(e),$(".service-detail .content .extrait").html(t),$(".service-detail .content .starting").html(n),s&&($(".service-detail .content .download-file").attr("href",s),$(".service-detail .content .download-file").css({display:"block"})),$(".service-detail").toggleClass("active"),toggleBlockScroll();try{ServiceClick()}catch(e){console.log("Error",e)}}),$(".service-detail .btn-close").click(()=>{$(".service-detail .content .download-file").css({display:"none"})}),owlCarouselGallery=$(".gallery-carousel"),owlCarouselGallery.owlCarousel({nav:!0,dots:!1,autoWidth:!0,lazyLoad:!0,margin:40,rtl:direction}),owlCarouselGalleryModal=$(".gallery-modal-carousel"),owlCarouselGalleryModal.owlCarousel({nav:!0,dots:!1,lazyLoad:!0,items:1,autoHeight:!0,animateOut:"fadeOut",rtl:direction}),$(".gallery .gallery-carousel .item, .gallery-modal .btn-close").click(function(){$(this).data("imgIndex")&&(owlCarouselGalleryModal.trigger("to.owl.carousel",[$(this).data("imgIndex")-1,300]),GalleryClick()),$(".gallery-modal").toggleClass("active"),toggleBlockScroll()}),$(".map-modal .btn-close").click(()=>{$(".map-modal").toggleClass("active"),toggleBlockScroll()}),$(".contact .container .map a").click(()=>{$(".map-modal").toggleClass("active"),toggleBlockScroll(),0==$("#iframeid").length&&setTimeout(()=>{$(".map-modal").append(`<iframe id="iframeid"
            width="100%"
            height="100%"
            style="border:0"
            src="${$(".iframeLink").text()}"
    ></iframe>`)},1e3)}),$(".send_contact").click(function(){var e=$("#contact_form").find("input[name='name']").val(),t=$("#contact_form").find("input[name='email']").val(),a=$("#contact_form").find("input[name='tel']").val(),n=$("#contact_form").find("input[name='subject']").val(),s=$("#contact_form").find("textarea[name='message']").val(),i=$("#contact_form").find("input[name='captcha']").val(),r=new RegExp("^[a-z0-9]+([_|.|-]{1}[a-z0-9]+)*@[a-z0-9]+([_|.|-]{1}[a-z0-9]+)*[.]{1}[a-z]{2,6}$","i"),o={name:"input[name='name']",email:"input[name='email']",tel:"input[name='tel']",subject:"input[name='subject']",message:"textarea[name='message']",captcha:"input[name='captcha']"};for(const d in o){var l=$(this).parents("#contact_form").find(o[d]).val();if("email"==d&&!r.test(l))return $(this).parents("#contact_form").find(o[d]).css({background:"#FF0000",color:"#FFF",border:"1px solid #a9a9a9"},500),!1;if("email"!=d&&""==l)return $(this).parents("#contact_form").find(o[d]).css({background:"#FF0000",color:"#FFF",border:"1px solid #a9a9a9"},500),!1;$(this).parents("#contact_form").find(o[d]).css({background:"#FFFFFF",color:"#000",border:"1px solid #a9a9a9"},500)}return $.ajax({type:"POST",url:Routing.generate("wiki_app_sendmail"),data:{nom:e,email:t,tel:a,sujetdemessage:n,message:s,captcha:i,contact_sender:1},success:function(){console.log("succc"),$("#contact_form").find("input[type=text], input[type=email], input[type=tel], textarea").val(""),$("#contact_form").find("#error-contact").css({display:"none"}),$("#contact_form").find("#success-contact").css({display:"block"},500),setTimeout(function(){$("#contact_form").find("#error-contact").css({display:"none"}),$("#contact_form").find("#success-contact").css({display:"none"})},1e4),contactEtab()},error:function(){console.log("error"),$("#contact_form").find("#success-contact").css({display:"none"}),$("#contact_form").find("#error-contact").css({display:"block"},500),setTimeout(function(){$("#contact_form").find("#error-contact").css({display:"none"}),$("#contact_form").find("#success-contact").css({display:"none"})},1e4)}}),!1}),$(document).on("click",".comments-carousel .owl-nav .owl-prev, .comments-carousel .owl-nav .owl-next,.comments-carousel .item .btn-more",function(){try{commentClick()}catch(e){console.log("Error",e)}}),$(document).on("click",".services-carousel .owl-nav .owl-next, .services-carousel .owl-nav .owl-next",function(){try{ServiceClick()}catch(e){console.log("Error",e)}}),$(".gallery-carousel .owl-nav .owl-next, .gallery-carousel .owl-nav .owl-prev, .gallery-modal-carousel .owl-nav .owl-prev, .gallery-modal-carousel .owl-nav .owl-next").click(function(){GalleryClick()})}),$(window).on("scroll",function(e){100<$(window).scrollTop()?$("nav").addClass("scrolled"):$("nav").removeClass("scrolled"),$("section.intro").hasClass("show-img")||isVisible($("section.intro"),$(window))&&$("section.intro").addClass("show-img"),$("section.surrondings").hasClass("show-img")||isVisible($("section.surrondings"),$(window))&&$("section.surrondings").addClass("show-img")}),$(window).on("load",function(){$(".rooms .rooms-carousel .item").height(equalHeight(".rooms .rooms-carousel .item")),$(".services-carousel .item").height(equalHeight(".services-carousel .item")),$(".comments .comments-carousel .item").height(equalHeight(".comments .comments-carousel .item")),$(".comments-filter-carousel .item a").first().click(),$("#todayYear").text((new Date).getFullYear())});