!function(e){var y=!1,D=!1,J=5e3,K=2e3,x=0,L=function(){var e;return 0<(e=(e=document.getElementsByTagName("script"))[e.length-1].src.split("?")[0]).split("/").length?e.split("/").slice(0,-1).join("/")+"/":""}();Array.prototype.forEach||(Array.prototype.forEach=function(e,c){for(var h=0,l=this.length;h<l;++h)e.call(c,this[h],h,this)});var v=window.requestAnimationFrame||!1,w=window.cancelAnimationFrame||!1;["ms","moz","webkit","o"].forEach((function(e){v||(v=window[e+"RequestAnimationFrame"]),w||(w=window[e+"CancelAnimationFrame"]||window[e+"CancelRequestAnimationFrame"])}));var z=window.MutationObserver||window.WebKitMutationObserver||!1,F={zindex:"auto",cursoropacitymin:0,cursoropacitymax:1,cursorcolor:"#424242",cursorwidth:"5px",cursorborder:"1px solid #fff",cursorborderradius:"5px",scrollspeed:60,mousescrollstep:24,touchbehavior:!1,hwacceleration:!0,usetransition:!0,boxzoom:!1,dblclickzoom:!0,gesturezoom:!0,grabcursorenabled:!0,autohidemode:!0,background:"",iframeautoresize:!0,cursorminheight:32,preservenativescrolling:!0,railoffset:!1,bouncescroll:!0,spacebarenabled:!0,railpadding:{top:0,right:0,left:0,bottom:0},disableoutline:!0,horizrailenabled:!0,railalign:"right",railvalign:"bottom",enabletranslate3d:!0,enablemousewheel:!0,enablekeyboard:!0,smoothscroll:!0,sensitiverail:!0,enablemouselockapi:!0,cursorfixedheight:!1,directionlockdeadzone:6,hidecursordelay:400,nativeparentscrolling:!0,enablescrollonselection:!0,overflowx:!0,overflowy:!0,cursordragspeed:.3,rtlmode:!1,cursordragontouch:!1},E=!1,N=function(k,c){function l(d,c,g){return c=d.css(c),d=parseFloat(c),isNaN(d)?(g=3==(d=u[c]||0)?g?b.win.outerHeight()-b.win.innerHeight():b.win.outerWidth()-b.win.innerWidth():1,b.isie8&&d&&(d+=1),g?d:0):d}function n(d,c,g,e){b._bind(d,c,(function(b){var e={original:b=b||window.event,target:b.target||b.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"==b.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){return b.preventDefault?b.preventDefault():b.returnValue=!1,!1},stopImmediatePropagation:function(){b.stopImmediatePropagation?b.stopImmediatePropagation():b.cancelBubble=!0}};return"mousewheel"==c?(e.deltaY=-.025*b.wheelDelta,b.wheelDeltaX&&(e.deltaX=-.025*b.wheelDeltaX)):e.deltaY=b.detail,g.call(d,e)}),e)}function t(d,c,g){var e,f;if(0==d.deltaMode?(e=-Math.floor(d.deltaX*(b.opt.mousescrollstep/54)),f=-Math.floor(d.deltaY*(b.opt.mousescrollstep/54))):1==d.deltaMode&&(e=-Math.floor(d.deltaX*b.opt.mousescrollstep),f=-Math.floor(d.deltaY*b.opt.mousescrollstep)),c&&0==e&&f&&(e=f,f=0),e&&(b.scrollmom&&b.scrollmom.stop(),b.lastdeltax+=e,b.debounced("mousewheelx",(function(){var d=b.lastdeltax;b.lastdeltax=0,b.rail.drag||b.doScrollLeftBy(d)}),120)),f){if(b.opt.nativeparentscrolling&&g&&!b.ispage&&!b.zoomactive)if(0>f){if(b.getScrollTop()>=b.page.maxh)return!0}else if(0>=b.getScrollTop())return!0;b.scrollmom&&b.scrollmom.stop(),b.lastdeltay+=f,b.debounced("mousewheely",(function(){var d=b.lastdeltay;b.lastdeltay=0,b.rail.drag||b.doScrollBy(d)}),120)}return d.stopImmediatePropagation(),d.preventDefault()}var b=this;if(this.version="3.4.0",this.name="nicescroll",this.me=c,this.opt={doc:e("body"),win:!1},e.extend(this.opt,F),this.opt.snapbackspeed=80,k)for(var q in b.opt)void 0!==k[q]&&(b.opt[q]=k[q]);this.iddoc=(this.doc=b.opt.doc)&&this.doc[0]&&this.doc[0].id||"",this.ispage=/BODY|HTML/.test(b.opt.win?b.opt.win[0].nodeName:this.doc[0].nodeName),this.haswrapper=!1!==b.opt.win,this.win=b.opt.win||(this.ispage?e(window):this.doc),this.docscroll=this.ispage&&!this.haswrapper?e(window):this.win,this.body=e("body"),this.iframe=this.isfixed=this.viewport=!1,this.isiframe="IFRAME"==this.doc[0].nodeName&&"IFRAME"==this.win[0].nodeName,this.istextarea="TEXTAREA"==this.win[0].nodeName,this.forcescreen=!1,this.canshowonmouseevent="scroll"!=b.opt.autohidemode,this.page=this.view=this.onzoomout=this.onzoomin=this.onscrollcancel=this.onscrollend=this.onscrollstart=this.onclick=this.ongesturezoom=this.onkeypress=this.onmousewheel=this.onmousemove=this.onmouseup=this.onmousedown=!1,this.scroll={x:0,y:0},this.scrollratio={x:0,y:0},this.cursorheight=20,this.scrollvaluemax=0,this.observerremover=this.observer=this.scrollmom=this.scrollrunning=this.checkrtlmode=!1;do{this.id="ascrail"+K++}while(document.getElementById(this.id));this.hasmousefocus=this.hasfocus=this.zoomactive=this.zoom=this.selectiondrag=this.cursorfreezed=this.cursor=this.rail=!1,this.visibility=!0,this.hidden=this.locked=!1,this.cursoractive=!0,this.overflowx=b.opt.overflowx,this.overflowy=b.opt.overflowy,this.nativescrollingarea=!1,this.checkarea=0,this.events=[],this.saved={},this.delaylist={},this.synclist={},this.lastdeltay=this.lastdeltax=0,this.detected=function(){if(E)return E;var e=document.createElement("DIV"),c={haspointerlock:"pointerLockElement"in document||"mozPointerLockElement"in document||"webkitPointerLockElement"in document};c.isopera="opera"in window,c.isopera12=c.isopera&&"getUserMedia"in navigator,c.isie="all"in document&&"attachEvent"in e&&!c.isopera,c.isieold=c.isie&&!("msInterpolationMode"in e.style),c.isie7=c.isie&&!c.isieold&&(!("documentMode"in document)||7==document.documentMode),c.isie8=c.isie&&"documentMode"in document&&8==document.documentMode,c.isie9=c.isie&&"performance"in window&&9<=document.documentMode,c.isie10=c.isie&&"performance"in window&&10<=document.documentMode,c.isie9mobile=/iemobile.9/i.test(navigator.userAgent),c.isie9mobile&&(c.isie9=!1),c.isie7mobile=!c.isie9mobile&&c.isie7&&/iemobile/i.test(navigator.userAgent),c.ismozilla="MozAppearance"in e.style,c.iswebkit="WebkitAppearance"in e.style,c.ischrome="chrome"in window,c.ischrome22=c.ischrome&&c.haspointerlock,c.ischrome26=c.ischrome&&"transition"in e.style,c.cantouch="ontouchstart"in document.documentElement||"ontouchstart"in window,c.hasmstouch=window.navigator.msPointerEnabled||!1,c.ismac=/^mac$/i.test(navigator.platform),c.isios=c.cantouch&&/iphone|ipad|ipod/i.test(navigator.platform),c.isios4=c.isios&&!("seal"in Object),c.isandroid=/android/i.test(navigator.userAgent),c.trstyle=!1,c.hastransform=!1,c.hastranslate3d=!1,c.transitionstyle=!1,c.hastransition=!1,c.transitionend=!1;for(var h=["transform","msTransform","webkitTransform","MozTransform","OTransform"],l=0;l<h.length;l++)if(void 0!==e.style[h[l]]){c.trstyle=h[l];break}c.hastransform=0!=c.trstyle,c.hastransform&&(e.style[c.trstyle]="translate3d(1px,2px,3px)",c.hastranslate3d=/translate3d/.test(e.style[c.trstyle])),c.transitionstyle=!1,c.prefixstyle="",c.transitionend=!1;h="transition webkitTransition MozTransition OTransition OTransition msTransition KhtmlTransition".split(" ");var n=" -webkit- -moz- -o- -o -ms- -khtml-".split(" "),t="transitionend webkitTransitionEnd transitionend otransitionend oTransitionEnd msTransitionEnd KhtmlTransitionEnd".split(" ");for(l=0;l<h.length;l++)if(h[l]in e.style){c.transitionstyle=h[l],c.prefixstyle=n[l],c.transitionend=t[l];break}c.ischrome26&&(c.prefixstyle=n[1]),c.hastransition=c.transitionstyle;a:{for(h=["-moz-grab","-webkit-grab","grab"],(c.ischrome&&!c.ischrome22||c.isie)&&(h=[]),l=0;l<h.length;l++)if(n=h[l],e.style.cursor=n,e.style.cursor==n){h=n;break a}h="url(http://www.google.com/intl/en_ALL/mapfiles/openhand.cur),n-resize"}return c.cursorgrabvalue=h,c.hasmousecapture="setCapture"in e,c.hasMutationObserver=!1!==z,E=c}();var f=e.extend({},this.detected);if(this.ishwscroll=(this.canhwscroll=f.hastransform&&b.opt.hwacceleration)&&b.haswrapper,this.istouchcapable=!1,f.cantouch&&f.ischrome&&!f.isios&&!f.isandroid&&(this.istouchcapable=!0,f.cantouch=!1),f.cantouch&&f.ismozilla&&!f.isios&&(this.istouchcapable=!0,f.cantouch=!1),b.opt.enablemouselockapi||(f.hasmousecapture=!1,f.haspointerlock=!1),this.delayed=function(d,c,g,e){var f=b.delaylist[d],h=(new Date).getTime();if(!e&&f&&f.tt)return!1;f&&f.tt&&clearTimeout(f.tt),f&&f.last+g>h&&!f.tt?b.delaylist[d]={last:h+g,tt:setTimeout((function(){b.delaylist[d].tt=0,c.call()}),g)}:f&&f.tt||(b.delaylist[d]={last:h,tt:0},setTimeout((function(){c.call()}),0))},this.debounced=function(d,c,g){var f=b.delaylist[d];(new Date).getTime(),b.delaylist[d]=c,f||setTimeout((function(){var c=b.delaylist[d];b.delaylist[d]=!1,c.call()}),g)},this.synched=function(d,c){return b.synclist[d]=c,b.onsync||(v((function(){for(d in b.onsync=!1,b.synclist){var c=b.synclist[d];c&&c.call(b),b.synclist[d]=!1}})),b.onsync=!0),d},this.unsynched=function(d){b.synclist[d]&&(b.synclist[d]=!1)},this.css=function(d,c){for(var g in c)b.saved.css.push([d,g,d.css(g)]),d.css(g,c[g])},this.scrollTop=function(d){return void 0===d?b.getScrollTop():b.setScrollTop(d)},this.scrollLeft=function(d){return void 0===d?b.getScrollLeft():b.setScrollLeft(d)},BezierClass=function(b,c,g,f,e,h,l){this.st=b,this.ed=c,this.spd=g,this.p1=f||0,this.p2=e||1,this.p3=h||0,this.p4=l||1,this.ts=(new Date).getTime(),this.df=this.ed-this.st},BezierClass.prototype={B2:function(b){return 3*b*b*(1-b)},B3:function(b){return 3*b*(1-b)*(1-b)},B4:function(b){return(1-b)*(1-b)*(1-b)},getNow:function(){var b=1-((new Date).getTime()-this.ts)/this.spd,c=this.B2(b)+this.B3(b)+this.B4(b);return 0>b?this.ed:this.st+Math.round(this.df*c)},update:function(b,c){return this.st=this.getNow(),this.ed=b,this.spd=c,this.ts=(new Date).getTime(),this.df=this.ed-this.st,this}},this.ishwscroll){this.doc.translate={x:0,y:0,tx:"0px",ty:"0px"},f.hastranslate3d&&f.isios&&this.doc.css("-webkit-backface-visibility","hidden");var r=function(){var d=b.doc.css(f.trstyle);return!(!d||"matrix"!=d.substr(0,6))&&d.replace(/^.*\((.*)\)$/g,"$1").replace(/px/g,"").split(/, +/)};this.getScrollTop=function(d){if(!d){if(d=r())return 16==d.length?-d[13]:-d[5];if(b.timerscroll&&b.timerscroll.bz)return b.timerscroll.bz.getNow()}return b.doc.translate.y},this.getScrollLeft=function(d){if(!d){if(d=r())return 16==d.length?-d[12]:-d[4];if(b.timerscroll&&b.timerscroll.bh)return b.timerscroll.bh.getNow()}return b.doc.translate.x},this.notifyScrollEvent=document.createEvent?function(b){var c=document.createEvent("UIEvents");c.initUIEvent("scroll",!1,!0,window,1),b.dispatchEvent(c)}:document.fireEvent?function(b){var c=document.createEventObject();b.fireEvent("onscroll"),c.cancelBubble=!0}:function(b,c){},f.hastranslate3d&&b.opt.enabletranslate3d?(this.setScrollTop=function(d,c){b.doc.translate.y=d,b.doc.translate.ty=-1*d+"px",b.doc.css(f.trstyle,"translate3d("+b.doc.translate.tx+","+b.doc.translate.ty+",0px)"),c||b.notifyScrollEvent(b.win[0])},this.setScrollLeft=function(d,c){b.doc.translate.x=d,b.doc.translate.tx=-1*d+"px",b.doc.css(f.trstyle,"translate3d("+b.doc.translate.tx+","+b.doc.translate.ty+",0px)"),c||b.notifyScrollEvent(b.win[0])}):(this.setScrollTop=function(d,c){b.doc.translate.y=d,b.doc.translate.ty=-1*d+"px",b.doc.css(f.trstyle,"translate("+b.doc.translate.tx+","+b.doc.translate.ty+")"),c||b.notifyScrollEvent(b.win[0])},this.setScrollLeft=function(d,c){b.doc.translate.x=d,b.doc.translate.tx=-1*d+"px",b.doc.css(f.trstyle,"translate("+b.doc.translate.tx+","+b.doc.translate.ty+")"),c||b.notifyScrollEvent(b.win[0])})}else this.getScrollTop=function(){return b.docscroll.scrollTop()},this.setScrollTop=function(d){return b.docscroll.scrollTop(d)},this.getScrollLeft=function(){return b.docscroll.scrollLeft()},this.setScrollLeft=function(d){return b.docscroll.scrollLeft(d)};this.getTarget=function(b){return!!b&&(b.target?b.target:!!b.srcElement&&b.srcElement)},this.hasParent=function(b,c){if(!b)return!1;for(var g=b.target||b.srcElement||b||!1;g&&g.id!=c;)g=g.parentNode||!1;return!1!==g};var u={thin:1,medium:3,thick:5};this.getOffset=function(){if(b.isfixed)return{top:parseFloat(b.win.css("top")),left:parseFloat(b.win.css("left"))};if(!b.viewport)return b.win.offset();var d=b.win.offset(),c=b.viewport.offset();return{top:d.top-c.top+b.viewport.scrollTop(),left:d.left-c.left+b.viewport.scrollLeft()}},this.updateScrollBar=function(d){if(b.ishwscroll)b.rail.css({height:b.win.innerHeight()}),b.railh&&b.railh.css({width:b.win.innerWidth()});else{var c=b.getOffset(),g=c.top,f=c.left;g=g+l(b.win,"border-top-width",!0);b.win.outerWidth(),b.win.innerWidth();f=f+(b.rail.align?b.win.outerWidth()-l(b.win,"border-right-width")-b.rail.width:l(b.win,"border-left-width"));var e=b.opt.railoffset;e&&(e.top&&(g+=e.top),b.rail.align&&e.left&&(f+=e.left)),b.locked||b.rail.css({top:g,left:f,height:d?d.h:b.win.innerHeight()}),b.zoom&&b.zoom.css({top:g+1,left:1==b.rail.align?f-20:f+b.rail.width+4}),b.railh&&!b.locked&&(g=c.top,f=c.left,d=b.railh.align?g+l(b.win,"border-top-width",!0)+b.win.innerHeight()-b.railh.height:g+l(b.win,"border-top-width",!0),f+=l(b.win,"border-left-width"),b.railh.css({top:d,left:f,width:b.railh.width}))}},this.doRailClick=function(d,c,g){var f;b.locked||(b.cancelEvent(d),c?(c=g?b.doScrollLeft:b.doScrollTop)(f=g?(d.pageX-b.railh.offset().left-b.cursorwidth/2)*b.scrollratio.x:(d.pageY-b.rail.offset().top-b.cursorheight/2)*b.scrollratio.y):(c=g?b.doScrollLeftBy:b.doScrollBy,f=g?b.scroll.x:b.scroll.y,d=g?d.pageX-b.railh.offset().left:d.pageY-b.rail.offset().top,g=g?b.view.w:b.view.h,c(f>=d?g:-g)))},b.hasanimationframe=v,b.hascancelanimationframe=w,b.hasanimationframe?b.hascancelanimationframe||(w=function(){b.cancelAnimationFrame=!0}):(v=function(b){return setTimeout(b,15-Math.floor(+new Date/1e3)%16)},w=clearInterval),this.init=function(){if(b.saved.css=[],f.isie7mobile)return!0;if(f.hasmstouch&&b.css(b.ispage?e("html"):b.win,{"-ms-touch-action":"none"}),b.zindex="auto",b.zindex=b.ispage||"auto"!=b.opt.zindex?b.opt.zindex:function(){var d=b.win;if("zIndex"in d)return d.zIndex();for(;0<d.length&&9!=d[0].nodeType;){var c=d.css("zIndex");if(!isNaN(c)&&0!=c)return parseInt(c);d=d.parent()}return!1}()||"auto",!b.ispage&&"auto"!=b.zindex&&b.zindex>x&&(x=b.zindex),b.isie&&0==b.zindex&&"auto"==b.opt.zindex&&(b.zindex="auto"),!b.ispage||!f.cantouch&&!f.isieold&&!f.isie9mobile){var d=b.docscroll;b.ispage&&(d=b.haswrapper?b.win:b.doc),f.isie9mobile||b.css(d,{"overflow-y":"hidden"}),b.ispage&&f.isie7&&("BODY"==b.doc[0].nodeName?b.css(e("html"),{"overflow-y":"hidden"}):"HTML"==b.doc[0].nodeName&&b.css(e("body"),{"overflow-y":"hidden"})),f.isios&&!b.ispage&&!b.haswrapper&&b.css(e("body"),{"-webkit-overflow-scrolling":"touch"});var c=e(document.createElement("div"));c.css({position:"relative",top:0,float:"right",width:b.opt.cursorwidth,height:"0px","background-color":b.opt.cursorcolor,border:b.opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":b.opt.cursorborderradius,"-moz-border-radius":b.opt.cursorborderradius,"border-radius":b.opt.cursorborderradius}),c.hborder=parseFloat(c.outerHeight()-c.innerHeight()),b.cursor=c,(g=e(document.createElement("div"))).attr("id",b.id),g.addClass("nicescroll-rails");var l,k,G,n=["left","right"];for(G in n)k=n[G],(l=b.opt.railpadding[k])?g.css("padding-"+k,l+"px"):b.opt.railpadding[k]=0;if(g.append(c),g.width=Math.max(parseFloat(b.opt.cursorwidth),c.outerWidth())+b.opt.railpadding.left+b.opt.railpadding.right,g.css({width:g.width+"px",zIndex:b.zindex,background:b.opt.background,cursor:"default"}),g.visibility=!0,g.scrollable=!0,g.align="left"==b.opt.railalign?0:1,b.rail=g,c=b.rail.drag=!1,b.opt.boxzoom&&!b.ispage&&!f.isieold&&(c=document.createElement("div"),b.bind(c,"click",b.doZoom),b.zoom=e(c),b.zoom.css({cursor:"pointer","z-index":b.zindex,backgroundImage:"url("+L+"zoomico.png)",height:18,width:18,backgroundPosition:"0px 0px"}),b.opt.dblclickzoom&&b.bind(b.win,"dblclick",b.doZoom),f.cantouch&&b.opt.gesturezoom&&(b.ongesturezoom=function(d){return 1.5<d.scale&&b.doZoomIn(d),.8>d.scale&&b.doZoomOut(d),b.cancelEvent(d)},b.bind(b.win,"gestureend",b.ongesturezoom))),b.railh=!1,b.opt.horizrailenabled){b.css(d,{"overflow-x":"hidden"}),(c=e(document.createElement("div"))).css({position:"relative",top:0,height:b.opt.cursorwidth,width:"0px","background-color":b.opt.cursorcolor,border:b.opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":b.opt.cursorborderradius,"-moz-border-radius":b.opt.cursorborderradius,"border-radius":b.opt.cursorborderradius}),c.wborder=parseFloat(c.outerWidth()-c.innerWidth()),b.cursorh=c;var m=e(document.createElement("div"));m.attr("id",b.id+"-hr"),m.addClass("nicescroll-rails"),m.height=Math.max(parseFloat(b.opt.cursorwidth),c.outerHeight()),m.css({height:m.height+"px",zIndex:b.zindex,background:b.opt.background}),m.append(c),m.visibility=!0,m.scrollable=!0,m.align="top"==b.opt.railvalign?0:1,b.railh=m,b.railh.drag=!1}if(b.ispage?(g.css({position:"fixed",top:"0px",height:"100%"}),g.align?g.css({right:"0px"}):g.css({left:"0px"}),b.body.append(g),b.railh&&(m.css({position:"fixed",left:"0px",width:"100%"}),m.align?m.css({bottom:"0px"}):m.css({top:"0px"}),b.body.append(m))):(b.ishwscroll?("static"==b.win.css("position")&&b.css(b.win,{position:"relative"}),d="HTML"==b.win[0].nodeName?b.body:b.win,b.zoom&&(b.zoom.css({position:"absolute",top:1,right:0,"margin-right":g.width+4}),d.append(b.zoom)),g.css({position:"absolute",top:0}),g.align?g.css({right:0}):g.css({left:0}),d.append(g),m&&(m.css({position:"absolute",left:0,bottom:0}),m.align?m.css({bottom:0}):m.css({top:0}),d.append(m))):(b.isfixed="fixed"==b.win.css("position"),d=b.isfixed?"fixed":"absolute",b.isfixed||(b.viewport=b.getViewport(b.win[0])),b.viewport&&(b.body=b.viewport,0==/relative|absolute/.test(b.viewport.css("position"))&&b.css(b.viewport,{position:"relative"})),g.css({position:d}),b.zoom&&b.zoom.css({position:d}),b.updateScrollBar(),b.body.append(g),b.zoom&&b.body.append(b.zoom),b.railh&&(m.css({position:d}),b.body.append(m))),f.isios&&b.css(b.win,{"-webkit-tap-highlight-color":"rgba(0,0,0,0)","-webkit-touch-callout":"none"}),f.isie&&b.opt.disableoutline&&b.win.attr("hideFocus","true"),f.iswebkit&&b.opt.disableoutline&&b.win.css({outline:"none"})),!1===b.opt.autohidemode?(b.autohidedom=!1,b.rail.css({opacity:b.opt.cursoropacitymax}),b.railh&&b.railh.css({opacity:b.opt.cursoropacitymax})):!0===b.opt.autohidemode?(b.autohidedom=e().add(b.rail),f.isie8&&(b.autohidedom=b.autohidedom.add(b.cursor)),b.railh&&(b.autohidedom=b.autohidedom.add(b.railh)),b.railh&&f.isie8&&(b.autohidedom=b.autohidedom.add(b.cursorh))):"scroll"==b.opt.autohidemode?(b.autohidedom=e().add(b.rail),b.railh&&(b.autohidedom=b.autohidedom.add(b.railh))):"cursor"==b.opt.autohidemode?(b.autohidedom=e().add(b.cursor),b.railh&&(b.autohidedom=b.autohidedom.add(b.cursorh))):"hidden"==b.opt.autohidemode&&(b.autohidedom=!1,b.hide(),b.locked=!1),f.isie9mobile)b.scrollmom=new H(b),b.onmangotouch=function(d){d=b.getScrollTop();var c=b.getScrollLeft();if(d==b.scrollmom.lastscrolly&&c==b.scrollmom.lastscrollx)return!0;var g=d-b.mangotouch.sy,f=c-b.mangotouch.sx;if(0!=Math.round(Math.sqrt(Math.pow(f,2)+Math.pow(g,2)))){var p=0>g?-1:1,e=0>f?-1:1,h=+new Date;b.mangotouch.lazy&&clearTimeout(b.mangotouch.lazy),80<h-b.mangotouch.tm||b.mangotouch.dry!=p||b.mangotouch.drx!=e?(b.scrollmom.stop(),b.scrollmom.reset(c,d),b.mangotouch.sy=d,b.mangotouch.ly=d,b.mangotouch.sx=c,b.mangotouch.lx=c,b.mangotouch.dry=p,b.mangotouch.drx=e,b.mangotouch.tm=h):(b.scrollmom.stop(),b.scrollmom.update(b.mangotouch.sx-f,b.mangotouch.sy-g),b.mangotouch.tm=h,g=Math.max(Math.abs(b.mangotouch.ly-d),Math.abs(b.mangotouch.lx-c)),b.mangotouch.ly=d,b.mangotouch.lx=c,2<g&&(b.mangotouch.lazy=setTimeout((function(){b.mangotouch.lazy=!1,b.mangotouch.dry=0,b.mangotouch.drx=0,b.mangotouch.tm=0,b.scrollmom.doMomentum(30)}),100)))}},g=b.getScrollTop(),m=b.getScrollLeft(),b.mangotouch={sy:g,ly:g,dry:0,sx:m,lx:m,drx:0,lazy:!1,tm:0},b.bind(b.docscroll,"scroll",b.onmangotouch);else{if(f.cantouch||b.istouchcapable||b.opt.touchbehavior||f.hasmstouch){b.scrollmom=new H(b),b.ontouchstart=function(d){if(d.pointerType&&2!=d.pointerType)return!1;if(!b.locked){if(f.hasmstouch)for(var c=!!d.target&&d.target;c;){if(0<(g=e(c).getNiceScroll()).length&&g[0].me==b.me)break;if(0<g.length)return!1;if("DIV"==c.nodeName&&c.id==b.id)break;c=!!c.parentNode&&c.parentNode}if(b.cancelScroll(),(c=b.getTarget(d))&&/INPUT/i.test(c.nodeName)&&/range/i.test(c.type))return b.stopPropagation(d);if(!("clientX"in d)&&"changedTouches"in d&&(d.clientX=d.changedTouches[0].clientX,d.clientY=d.changedTouches[0].clientY),b.forcescreen&&(g=d,(d={original:d.original?d.original:d}).clientX=g.screenX,d.clientY=g.screenY),b.rail.drag={x:d.clientX,y:d.clientY,sx:b.scroll.x,sy:b.scroll.y,st:b.getScrollTop(),sl:b.getScrollLeft(),pt:2,dl:!1},b.ispage||!b.opt.directionlockdeadzone)b.rail.drag.dl="f";else{var g=e(window).width(),p=e(window).height(),h=Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),l=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight);p=Math.max(0,l-p),g=Math.max(0,h-g);b.rail.drag.ck=!b.rail.scrollable&&b.railh.scrollable?0<p&&"v":!(!b.rail.scrollable||b.railh.scrollable)&&(0<g&&"h"),b.rail.drag.ck||(b.rail.drag.dl="f")}if(b.opt.touchbehavior&&b.isiframe&&f.isie&&(g=b.win.position(),b.rail.drag.x+=g.left,b.rail.drag.y+=g.top),b.hasmoving=!1,b.lastmouseup=!1,b.scrollmom.reset(d.clientX,d.clientY),!f.cantouch&&!this.istouchcapable&&!f.hasmstouch){if(!c||!/INPUT|SELECT|TEXTAREA/i.test(c.nodeName))return!b.ispage&&f.hasmousecapture&&c.setCapture(),b.cancelEvent(d);/SUBMIT|CANCEL|BUTTON/i.test(e(c).attr("type"))&&(pc={tg:c,click:!1},b.preventclick=pc)}}},b.ontouchend=function(d){return(!d.pointerType||2==d.pointerType)&&(b.rail.drag&&2==b.rail.drag.pt&&(b.scrollmom.doMomentum(),b.rail.drag=!1,b.hasmoving&&(b.hasmoving=!1,b.lastmouseup=!0,b.hideCursor(),f.hasmousecapture&&document.releaseCapture(),!f.cantouch))?b.cancelEvent(d):void 0)};var q=b.opt.touchbehavior&&b.isiframe&&!f.hasmousecapture;b.ontouchmove=function(d,c){if(d.pointerType&&2!=d.pointerType)return!1;if(b.rail.drag&&2==b.rail.drag.pt){if(f.cantouch&&void 0===d.original)return!0;if(b.hasmoving=!0,b.preventclick&&!b.preventclick.click&&(b.preventclick.click=b.preventclick.tg.onclick||!1,b.preventclick.tg.onclick=b.onpreventclick),"changedTouches"in(d=e.extend({original:d},d))&&(d.clientX=d.changedTouches[0].clientX,d.clientY=d.changedTouches[0].clientY),b.forcescreen){var g=d;(d={original:d.original?d.original:d}).clientX=g.screenX,d.clientY=g.screenY}if(g=ofy=0,q&&!c){g=-(p=b.win.position()).left;ofy=-p.top}var h=d.clientY+ofy,p=h-b.rail.drag.y,l=d.clientX+g,k=l-b.rail.drag.x,s=b.rail.drag.st-p;if(b.ishwscroll&&b.opt.bouncescroll?0>s?s=Math.round(s/2):s>b.page.maxh&&(s=b.page.maxh+Math.round((s-b.page.maxh)/2)):(0>s&&(h=s=0),s>b.page.maxh&&(s=b.page.maxh,h=0)),b.railh&&b.railh.scrollable){var m=b.rail.drag.sl-k;b.ishwscroll&&b.opt.bouncescroll?0>m?m=Math.round(m/2):m>b.page.maxw&&(m=b.page.maxw+Math.round((m-b.page.maxw)/2)):(0>m&&(l=m=0),m>b.page.maxw&&(m=b.page.maxw,l=0))}if(g=!1,b.rail.drag.dl)g=!0,"v"==b.rail.drag.dl?m=b.rail.drag.sl:"h"==b.rail.drag.dl&&(s=b.rail.drag.st);else{p=Math.abs(p),k=Math.abs(k);var n=b.opt.directionlockdeadzone;if("v"==b.rail.drag.ck){if(p>n&&k<=.3*p)return b.rail.drag=!1,!0;k>n&&(b.rail.drag.dl="f",e("body").scrollTop(e("body").scrollTop()))}else if("h"==b.rail.drag.ck){if(k>n&&p<=.3*az)return b.rail.drag=!1,!0;p>n&&(b.rail.drag.dl="f",e("body").scrollLeft(e("body").scrollLeft()))}}if(b.synched("touchmove",(function(){b.rail.drag&&2==b.rail.drag.pt&&(b.prepareTransition&&b.prepareTransition(0),b.rail.scrollable&&b.setScrollTop(s),b.scrollmom.update(l,h),b.railh&&b.railh.scrollable?(b.setScrollLeft(m),b.showCursor(s,m)):b.showCursor(s),f.isie10&&document.selection.clear())})),f.ischrome&&b.istouchcapable&&(g=!1),g)return b.cancelEvent(d)}}}if(b.onmousedown=function(d,c){if(!b.rail.drag||1==b.rail.drag.pt){if(b.locked)return b.cancelEvent(d);b.cancelScroll(),b.rail.drag={x:d.clientX,y:d.clientY,sx:b.scroll.x,sy:b.scroll.y,pt:1,hr:!!c};var g=b.getTarget(d);return!b.ispage&&f.hasmousecapture&&g.setCapture(),b.isiframe&&!f.hasmousecapture&&(b.saved.csspointerevents=b.doc.css("pointer-events"),b.css(b.doc,{"pointer-events":"none"})),b.cancelEvent(d)}},b.onmouseup=function(d){if(b.rail.drag&&(f.hasmousecapture&&document.releaseCapture(),b.isiframe&&!f.hasmousecapture&&b.doc.css("pointer-events",b.saved.csspointerevents),1==b.rail.drag.pt))return b.rail.drag=!1,b.cancelEvent(d)},b.onmousemove=function(d){if(b.rail.drag&&1==b.rail.drag.pt){if(f.ischrome&&0==d.which)return b.onmouseup(d);if(b.cursorfreezed=!0,b.rail.drag.hr){b.scroll.x=b.rail.drag.sx+(d.clientX-b.rail.drag.x),0>b.scroll.x&&(b.scroll.x=0);var c=b.scrollvaluemaxw;b.scroll.x>c&&(b.scroll.x=c)}else b.scroll.y=b.rail.drag.sy+(d.clientY-b.rail.drag.y),0>b.scroll.y&&(b.scroll.y=0),c=b.scrollvaluemax,b.scroll.y>c&&(b.scroll.y=c);return b.synched("mousemove",(function(){b.rail.drag&&1==b.rail.drag.pt&&(b.showCursor(),b.rail.drag.hr?b.doScrollLeft(Math.round(b.scroll.x*b.scrollratio.x),b.opt.cursordragspeed):b.doScrollTop(Math.round(b.scroll.y*b.scrollratio.y),b.opt.cursordragspeed))})),b.cancelEvent(d)}},f.cantouch||b.opt.touchbehavior)b.onpreventclick=function(d){if(b.preventclick)return b.preventclick.tg.onclick=b.preventclick.click,b.preventclick=!1,b.cancelEvent(d)},b.bind(b.win,"mousedown",b.ontouchstart),b.onclick=!f.isios&&function(d){return!b.lastmouseup||(b.lastmouseup=!1,b.cancelEvent(d))},b.opt.grabcursorenabled&&f.cursorgrabvalue&&(b.css(b.ispage?b.doc:b.win,{cursor:f.cursorgrabvalue}),b.css(b.rail,{cursor:f.cursorgrabvalue}));else{var r=function(d){if(b.selectiondrag){if(d){var c=b.win.outerHeight();0<(d=d.pageY-b.selectiondrag.top)&&d<c&&(d=0),d>=c&&(d-=c),b.selectiondrag.df=d}0!=b.selectiondrag.df&&(b.doScrollBy(2*-Math.floor(b.selectiondrag.df/6)),b.debounced("doselectionscroll",(function(){r()}),50))}};b.hasTextSelected="getSelection"in document?function(){return 0<document.getSelection().rangeCount}:"selection"in document?function(){return"None"!=document.selection.type}:function(){return!1},b.onselectionstart=function(d){b.ispage||(b.selectiondrag=b.win.offset())},b.onselectionend=function(d){b.selectiondrag=!1},b.onselectiondrag=function(d){b.selectiondrag&&b.hasTextSelected()&&b.debounced("selectionscroll",(function(){r(d)}),250)}}f.hasmstouch&&(b.css(b.rail,{"-ms-touch-action":"none"}),b.css(b.cursor,{"-ms-touch-action":"none"}),b.bind(b.win,"MSPointerDown",b.ontouchstart),b.bind(document,"MSPointerUp",b.ontouchend),b.bind(document,"MSPointerMove",b.ontouchmove),b.bind(b.cursor,"MSGestureHold",(function(b){b.preventDefault()})),b.bind(b.cursor,"contextmenu",(function(b){b.preventDefault()}))),this.istouchcapable&&(b.bind(b.win,"touchstart",b.ontouchstart),b.bind(document,"touchend",b.ontouchend),b.bind(document,"touchcancel",b.ontouchend),b.bind(document,"touchmove",b.ontouchmove)),b.bind(b.cursor,"mousedown",b.onmousedown),b.bind(b.cursor,"mouseup",b.onmouseup),b.railh&&(b.bind(b.cursorh,"mousedown",(function(d){b.onmousedown(d,!0)})),b.bind(b.cursorh,"mouseup",(function(d){if(!b.rail.drag||2!=b.rail.drag.pt)return b.rail.drag=!1,b.hasmoving=!1,b.hideCursor(),f.hasmousecapture&&document.releaseCapture(),b.cancelEvent(d)}))),(b.opt.cursordragontouch||!f.cantouch&&!b.opt.touchbehavior)&&(b.rail.css({cursor:"default"}),b.railh&&b.railh.css({cursor:"default"}),b.jqbind(b.rail,"mouseenter",(function(){b.canshowonmouseevent&&b.showCursor(),b.rail.active=!0})),b.jqbind(b.rail,"mouseleave",(function(){b.rail.active=!1,b.rail.drag||b.hideCursor()})),b.opt.sensitiverail&&(b.bind(b.rail,"click",(function(d){b.doRailClick(d,!1,!1)})),b.bind(b.rail,"dblclick",(function(d){b.doRailClick(d,!0,!1)})),b.bind(b.cursor,"click",(function(d){b.cancelEvent(d)})),b.bind(b.cursor,"dblclick",(function(d){b.cancelEvent(d)}))),b.railh&&(b.jqbind(b.railh,"mouseenter",(function(){b.canshowonmouseevent&&b.showCursor(),b.rail.active=!0})),b.jqbind(b.railh,"mouseleave",(function(){b.rail.active=!1,b.rail.drag||b.hideCursor()})),b.opt.sensitiverail&&(b.bind(b.railh,"click",(function(d){b.doRailClick(d,!1,!0)})),b.bind(b.railh,"dblclick",(function(d){b.doRailClick(d,!0,!0)})),b.bind(b.cursorh,"click",(function(d){b.cancelEvent(d)})),b.bind(b.cursorh,"dblclick",(function(d){b.cancelEvent(d)}))))),f.cantouch||b.opt.touchbehavior?(b.bind(f.hasmousecapture?b.win:document,"mouseup",b.ontouchend),b.bind(document,"mousemove",b.ontouchmove),b.onclick&&b.bind(document,"click",b.onclick),b.opt.cursordragontouch&&(b.bind(b.cursor,"mousedown",b.onmousedown),b.bind(b.cursor,"mousemove",b.onmousemove),b.cursorh&&b.bind(b.cursorh,"mousedown",b.onmousedown),b.cursorh&&b.bind(b.cursorh,"mousemove",b.onmousemove))):(b.bind(f.hasmousecapture?b.win:document,"mouseup",b.onmouseup),b.bind(document,"mousemove",b.onmousemove),b.onclick&&b.bind(document,"click",b.onclick),!b.ispage&&b.opt.enablescrollonselection&&(b.bind(b.win[0],"mousedown",b.onselectionstart),b.bind(document,"mouseup",b.onselectionend),b.bind(b.cursor,"mouseup",b.onselectionend),b.cursorh&&b.bind(b.cursorh,"mouseup",b.onselectionend),b.bind(document,"mousemove",b.onselectiondrag)),b.zoom&&(b.jqbind(b.zoom,"mouseenter",(function(){b.canshowonmouseevent&&b.showCursor(),b.rail.active=!0})),b.jqbind(b.zoom,"mouseleave",(function(){b.rail.active=!1,b.rail.drag||b.hideCursor()})))),b.opt.enablemousewheel&&(b.isiframe||b.bind(f.isie&&b.ispage?document:b.docscroll,"mousewheel",b.onmousewheel),b.bind(b.rail,"mousewheel",b.onmousewheel),b.railh&&b.bind(b.railh,"mousewheel",b.onmousewheelhr)),!b.ispage&&!f.cantouch&&!/HTML|BODY/.test(b.win[0].nodeName)&&(b.win.attr("tabindex")||b.win.attr({tabindex:J++}),b.jqbind(b.win,"focus",(function(d){y=b.getTarget(d).id||!0,b.hasfocus=!0,b.canshowonmouseevent&&b.noticeCursor()})),b.jqbind(b.win,"blur",(function(d){y=!1,b.hasfocus=!1})),b.jqbind(b.win,"mouseenter",(function(d){D=b.getTarget(d).id||!0,b.hasmousefocus=!0,b.canshowonmouseevent&&b.noticeCursor()})),b.jqbind(b.win,"mouseleave",(function(){D=!1,b.hasmousefocus=!1})))}if(b.onkeypress=function(d){if(b.locked&&0==b.page.maxh)return!0;d=d||window.e;var c=b.getTarget(d);if(c&&/INPUT|TEXTAREA|SELECT|OPTION/.test(c.nodeName)&&(!c.getAttribute("type")&&!c.type||!/submit|button|cancel/i.tp))return!0;if(b.hasfocus||b.hasmousefocus&&!y||b.ispage&&!y&&!D){if(c=d.keyCode,b.locked&&27!=c)return b.cancelEvent(d);var g=d.ctrlKey||!1,p=d.shiftKey||!1,f=!1;switch(c){case 38:case 63233:b.doScrollBy(72),f=!0;break;case 40:case 63235:b.doScrollBy(-72),f=!0;break;case 37:case 63232:b.railh&&(g?b.doScrollLeft(0):b.doScrollLeftBy(72),f=!0);break;case 39:case 63234:b.railh&&(g?b.doScrollLeft(b.page.maxw):b.doScrollLeftBy(-72),f=!0);break;case 33:case 63276:b.doScrollBy(b.view.h),f=!0;break;case 34:case 63277:b.doScrollBy(-b.view.h),f=!0;break;case 36:case 63273:b.railh&&g?b.doScrollPos(0,0):b.doScrollTo(0),f=!0;break;case 35:case 63275:b.railh&&g?b.doScrollPos(b.page.maxw,b.page.maxh):b.doScrollTo(b.page.maxh),f=!0;break;case 32:b.opt.spacebarenabled&&(p?b.doScrollBy(b.view.h):b.doScrollBy(-b.view.h),f=!0);break;case 27:b.zoomactive&&(b.doZoom(),f=!0)}if(f)return b.cancelEvent(d)}},b.opt.enablekeyboard&&b.bind(document,f.isopera&&!f.isopera12?"keypress":"keydown",b.onkeypress),b.bind(window,"resize",b.lazyResize),b.bind(window,"orientationchange",b.lazyResize),b.bind(window,"load",b.lazyResize),f.ischrome&&!b.ispage&&!b.haswrapper){var t=b.win.attr("style"),g=parseFloat(b.win.css("width"))+1;b.win.css("width",g),b.synched("chromefix",(function(){b.win.attr("style",t)}))}b.onAttributeChange=function(d){b.lazyResize(250)},!b.ispage&&!b.haswrapper&&(!1!==z?(b.observer=new z((function(d){d.forEach(b.onAttributeChange)})),b.observer.observe(b.win[0],{childList:!0,characterData:!1,attributes:!0,subtree:!1}),b.observerremover=new z((function(d){d.forEach((function(d){if(0<d.removedNodes.length)for(var c in d.removedNodes)if(d.removedNodes[c]==b.win[0])return b.remove()}))})),b.observerremover.observe(b.win[0].parentNode,{childList:!0,characterData:!1,attributes:!1,subtree:!1})):(b.bind(b.win,f.isie&&!f.isie9?"propertychange":"DOMAttrModified",b.onAttributeChange),f.isie9&&b.win[0].attachEvent("onpropertychange",b.onAttributeChange),b.bind(b.win,"DOMNodeRemoved",(function(d){d.target==b.win[0]&&b.remove()})))),!b.ispage&&b.opt.boxzoom&&b.bind(window,"resize",b.resizeZoom),b.istextarea&&b.bind(b.win,"mouseup",b.lazyResize),b.checkrtlmode=!0,b.lazyResize(30)}if("IFRAME"==this.doc[0].nodeName){var I=function(d){b.iframexd=!1;try{var c="contentDocument"in this?this.contentDocument:this.contentWindow.document}catch(g){b.iframexd=!0,c=!1}if(b.iframexd)return"console"in window&&console.log("NiceScroll error: policy restriced iframe"),!0;b.forcescreen=!0,b.isiframe&&(b.iframe={doc:e(c),html:b.doc.contents().find("html")[0],body:b.doc.contents().find("body")[0]},b.getContentSize=function(){return{w:Math.max(b.iframe.html.scrollWidth,b.iframe.body.scrollWidth),h:Math.max(b.iframe.html.scrollHeight,b.iframe.body.scrollHeight)}},b.docscroll=e(b.iframe.body)),!f.isios&&b.opt.iframeautoresize&&!b.isiframe&&(b.win.scrollTop(0),b.doc.height(""),d=Math.max(c.getElementsByTagName("html")[0].scrollHeight,c.body.scrollHeight),b.doc.height(d)),b.lazyResize(30),f.isie7&&b.css(e(b.iframe.html),{"overflow-y":"hidden"}),b.css(e(b.iframe.body),{"overflow-y":"hidden"}),"contentWindow"in this?b.bind(this.contentWindow,"scroll",b.onscroll):b.bind(c,"scroll",b.onscroll),b.opt.enablemousewheel&&b.bind(c,"mousewheel",b.onmousewheel),b.opt.enablekeyboard&&b.bind(c,f.isopera?"keypress":"keydown",b.onkeypress),(f.cantouch||b.opt.touchbehavior)&&(b.bind(c,"mousedown",b.onmousedown),b.bind(c,"mousemove",(function(d){b.onmousemove(d,!0)})),b.opt.grabcursorenabled&&f.cursorgrabvalue&&b.css(e(c.body),{cursor:f.cursorgrabvalue})),b.bind(c,"mouseup",b.onmouseup),b.zoom&&(b.opt.dblclickzoom&&b.bind(c,"dblclick",b.doZoom),b.ongesturezoom&&b.bind(c,"gestureend",b.ongesturezoom))};this.doc[0].readyState&&"complete"==this.doc[0].readyState&&setTimeout((function(){I.call(b.doc[0],!1)}),500),b.bind(this.doc,"load",I)}},this.showCursor=function(d,c){b.cursortimeout&&(clearTimeout(b.cursortimeout),b.cursortimeout=0),b.rail&&(b.autohidedom&&(b.autohidedom.stop().css({opacity:b.opt.cursoropacitymax}),b.cursoractive=!0),b.rail.drag&&1==b.rail.drag.pt||(void 0!==d&&!1!==d&&(b.scroll.y=Math.round(1*d/b.scrollratio.y)),void 0!==c&&(b.scroll.x=Math.round(1*c/b.scrollratio.x))),b.cursor.css({height:b.cursorheight,top:b.scroll.y}),b.cursorh&&(!b.rail.align&&b.rail.visibility?b.cursorh.css({width:b.cursorwidth,left:b.scroll.x+b.rail.width}):b.cursorh.css({width:b.cursorwidth,left:b.scroll.x}),b.cursoractive=!0),b.zoom&&b.zoom.stop().css({opacity:b.opt.cursoropacitymax}))},this.hideCursor=function(d){!b.cursortimeout&&b.rail&&b.autohidedom&&(b.cursortimeout=setTimeout((function(){b.rail.active&&b.showonmouseevent||(b.autohidedom.stop().animate({opacity:b.opt.cursoropacitymin}),b.zoom&&b.zoom.stop().animate({opacity:b.opt.cursoropacitymin}),b.cursoractive=!1),b.cursortimeout=0}),d||b.opt.hidecursordelay))},this.noticeCursor=function(d,c,g){b.showCursor(c,g),b.rail.active||b.hideCursor(d)},this.getContentSize=b.ispage?function(){return{w:Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),h:Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}}:b.haswrapper?function(){return{w:b.doc.outerWidth()+parseInt(b.win.css("paddingLeft"))+parseInt(b.win.css("paddingRight")),h:b.doc.outerHeight()+parseInt(b.win.css("paddingTop"))+parseInt(b.win.css("paddingBottom"))}}:function(){return{w:b.docscroll[0].scrollWidth,h:b.docscroll[0].scrollHeight}},this.onResize=function(d,c){if(!b.win)return!1;if(!b.haswrapper&&!b.ispage){if("none"==b.win.css("display"))return b.visibility&&b.hideRail().hideRailHr(),!1;!b.hidden&&!b.visibility&&b.showRail().showRailHr()}var g=b.page.maxh,f=b.page.maxw,e=b.view.w;if(b.view={w:b.ispage?b.win.width():parseInt(b.win[0].clientWidth),h:b.ispage?b.win.height():parseInt(b.win[0].clientHeight)},b.page=c||b.getContentSize(),b.page.maxh=Math.max(0,b.page.h-b.view.h),b.page.maxw=Math.max(0,b.page.w-b.view.w),b.page.maxh==g&&b.page.maxw==f&&b.view.w==e){if(b.ispage)return b;if(g=b.win.offset(),b.lastposition&&((f=b.lastposition).top==g.top&&f.left==g.left))return b;b.lastposition=g}return 0==b.page.maxh?(b.hideRail(),b.scrollvaluemax=0,b.scroll.y=0,b.scrollratio.y=0,b.cursorheight=0,b.setScrollTop(0),b.rail.scrollable=!1):b.rail.scrollable=!0,0==b.page.maxw?(b.hideRailHr(),b.scrollvaluemaxw=0,b.scroll.x=0,b.scrollratio.x=0,b.cursorwidth=0,b.setScrollLeft(0),b.railh.scrollable=!1):b.railh.scrollable=!0,b.locked=0==b.page.maxh&&0==b.page.maxw,b.locked?(b.ispage||b.updateScrollBar(b.view),!1):(b.hidden||b.visibility?!b.hidden&&!b.railh.visibility&&b.showRailHr():b.showRail().showRailHr(),b.istextarea&&b.win.css("resize")&&"none"!=b.win.css("resize")&&(b.view.h-=20),b.cursorheight=Math.min(b.view.h,Math.round(b.view.h*(b.view.h/b.page.h))),b.cursorheight=b.opt.cursorfixedheight?b.opt.cursorfixedheight:Math.max(b.opt.cursorminheight,b.cursorheight),b.cursorwidth=Math.min(b.view.w,Math.round(b.view.w*(b.view.w/b.page.w))),b.cursorwidth=b.opt.cursorfixedheight?b.opt.cursorfixedheight:Math.max(b.opt.cursorminheight,b.cursorwidth),b.scrollvaluemax=b.view.h-b.cursorheight-b.cursor.hborder,b.railh&&(b.railh.width=0<b.page.maxh?b.view.w-b.rail.width:b.view.w,b.scrollvaluemaxw=b.railh.width-b.cursorwidth-b.cursorh.wborder),b.checkrtlmode&&b.railh&&(b.checkrtlmode=!1,b.opt.rtlmode&&0==b.scroll.x&&b.setScrollLeft(b.page.maxw)),b.ispage||b.updateScrollBar(b.view),b.scrollratio={x:b.page.maxw/b.scrollvaluemaxw,y:b.page.maxh/b.scrollvaluemax},b.getScrollTop()>b.page.maxh?b.doScrollTop(b.page.maxh):(b.scroll.y=Math.round(b.getScrollTop()*(1/b.scrollratio.y)),b.scroll.x=Math.round(b.getScrollLeft()*(1/b.scrollratio.x)),b.cursoractive&&b.noticeCursor()),b.scroll.y&&0==b.getScrollTop()&&b.doScrollTo(Math.floor(b.scroll.y*b.scrollratio.y)),b)},this.resize=b.onResize,this.lazyResize=function(d){return d=isNaN(d)?30:d,b.delayed("resize",b.resize,d),b},this._bind=function(d,c,g,f){b.events.push({e:d,n:c,f:g,b:f,q:!1}),d.addEventListener?d.addEventListener(c,g,f||!1):d.attachEvent?d.attachEvent("on"+c,g):d["on"+c]=g},this.jqbind=function(d,c,g){b.events.push({e:d,n:c,f:g,q:!0}),e(d).bind(c,g)},this.bind=function(d,c,g,e){var h="jquery"in d?d[0]:d;"mousewheel"==c?"onwheel"in b.win?b._bind(h,"wheel",g,e||!1):(d=void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",n(h,d,g,e||!1),"DOMMouseScroll"==d&&n(h,"MozMousePixelScroll",g,e||!1)):h.addEventListener?(f.cantouch&&/mouseup|mousedown|mousemove/.test(c)&&b._bind(h,"mousedown"==c?"touchstart":"mouseup"==c?"touchend":"touchmove",(function(b){if(b.touches){if(2>b.touches.length){var d=b.touches.length?b.touches[0]:b;d.original=b,g.call(this,d)}}else b.changedTouches&&((d=b.changedTouches[0]).original=b,g.call(this,d))}),e||!1),b._bind(h,c,g,e||!1),f.cantouch&&"mouseup"==c&&b._bind(h,"touchcancel",g,e||!1)):b._bind(h,c,(function(d){return(d=d||window.event||!1)&&d.srcElement&&(d.target=d.srcElement),"pageY"in d||(d.pageX=d.clientX+document.documentElement.scrollLeft,d.pageY=d.clientY+document.documentElement.scrollTop),!1!==g.call(h,d)&&!1!==e||b.cancelEvent(d)}))},this._unbind=function(b,c,g,f){b.removeEventListener?b.removeEventListener(c,g,f):b.detachEvent?b.detachEvent("on"+c,g):b["on"+c]=!1},this.unbindAll=function(){for(var d=0;d<b.events.length;d++){var c=b.events[d];c.q?c.e.unbind(c.n,c.f):b._unbind(c.e,c.n,c.f,c.b)}},this.cancelEvent=function(b){return!!(b=b.original?b.original:b||(window.event||!1))&&(b.preventDefault&&b.preventDefault(),b.stopPropagation&&b.stopPropagation(),b.preventManipulation&&b.preventManipulation(),b.cancelBubble=!0,b.cancel=!0,b.returnValue=!1)},this.stopPropagation=function(b){return!!(b=b.original?b.original:b||(window.event||!1))&&(b.stopPropagation?b.stopPropagation():(b.cancelBubble&&(b.cancelBubble=!0),!1))},this.showRail=function(){return 0==b.page.maxh||!b.ispage&&"none"==b.win.css("display")||(b.visibility=!0,b.rail.visibility=!0,b.rail.css("display","block")),b},this.showRailHr=function(){return b.railh?(0==b.page.maxw||!b.ispage&&"none"==b.win.css("display")||(b.railh.visibility=!0,b.railh.css("display","block")),b):b},this.hideRail=function(){return b.visibility=!1,b.rail.visibility=!1,b.rail.css("display","none"),b},this.hideRailHr=function(){return b.railh?(b.railh.visibility=!1,b.railh.css("display","none"),b):b},this.show=function(){return b.hidden=!1,b.locked=!1,b.showRail().showRailHr()},this.hide=function(){return b.hidden=!0,b.locked=!0,b.hideRail().hideRailHr()},this.toggle=function(){return b.hidden?b.show():b.hide()},this.remove=function(){b.stop(),b.cursortimeout&&clearTimeout(b.cursortimeout),b.doZoomOut(),b.unbindAll(),!1!==b.observer&&b.observer.disconnect(),!1!==b.observerremover&&b.observerremover.disconnect(),b.events=[],b.cursor&&(b.cursor.remove(),b.cursor=null),b.cursorh&&(b.cursorh.remove(),b.cursorh=null),b.rail&&(b.rail.remove(),b.rail=null),b.railh&&(b.railh.remove(),b.railh=null),b.zoom&&(b.zoom.remove(),b.zoom=null);for(var d=0;d<b.saved.css.length;d++){var c=b.saved.css[d];c[0].css(c[1],void 0===c[2]?"":c[2])}return b.saved=!1,b.me.data("__nicescroll",""),b.me=null,b.doc=null,b.docscroll=null,b.win=null,b},this.scrollstart=function(d){return this.onscrollstart=d,b},this.scrollend=function(d){return this.onscrollend=d,b},this.scrollcancel=function(d){return this.onscrollcancel=d,b},this.zoomin=function(d){return this.onzoomin=d,b},this.zoomout=function(d){return this.onzoomout=d,b},this.isScrollable=function(b){if("OPTION"==(b=b.target?b.target:b).nodeName)return!0;for(;b&&1==b.nodeType&&!/BODY|HTML/.test(b.nodeName);){var c=(c=e(b)).css("overflowY")||c.css("overflowX")||c.css("overflow")||"";if(/scroll|auto/.test(c))return b.clientHeight!=b.scrollHeight;b=!!b.parentNode&&b.parentNode}return!1},this.getViewport=function(b){for(b=!(!b||!b.parentNode)&&b.parentNode;b&&1==b.nodeType&&!/BODY|HTML/.test(b.nodeName);){var c=e(b),g=c.css("overflowY")||c.css("overflowX")||c.css("overflow")||"";if(/scroll|auto/.test(g)&&b.clientHeight!=b.scrollHeight||0<c.getNiceScroll().length)return c;b=!!b.parentNode&&b.parentNode}return!1},this.onmousewheel=function(d){if(b.locked)return!0;if(b.rail.drag)return b.cancelEvent(d);if(!b.rail.scrollable)return!b.railh||!b.railh.scrollable||b.onmousewheelhr(d);var c=+new Date,g=!1;return b.opt.preservenativescrolling&&b.checkarea+600<c&&(b.nativescrollingarea=b.isScrollable(d),g=!0),b.checkarea=c,!!b.nativescrollingarea||((d=t(d,!1,g))&&(b.checkarea=0),d)},this.onmousewheelhr=function(d){if(b.locked||!b.railh.scrollable)return!0;if(b.rail.drag)return b.cancelEvent(d);var c=+new Date,g=!1;return b.opt.preservenativescrolling&&b.checkarea+600<c&&(b.nativescrollingarea=b.isScrollable(d),g=!0),b.checkarea=c,!!b.nativescrollingarea||(b.locked?b.cancelEvent(d):t(d,!0,g))},this.stop=function(){return b.cancelScroll(),b.scrollmon&&b.scrollmon.stop(),b.cursorfreezed=!1,b.scroll.y=Math.round(b.getScrollTop()*(1/b.scrollratio.y)),b.noticeCursor(),b},this.getTransitionSpeed=function(c){var f=Math.round(10*b.opt.scrollspeed);return 20<(c=Math.min(f,Math.round(c/20*b.opt.scrollspeed)))?c:0},b.opt.smoothscroll?b.ishwscroll&&f.hastransition&&b.opt.usetransition?(this.prepareTransition=function(c,e){var g=e?20<c?c:0:b.getTransitionSpeed(c),h=g?f.prefixstyle+"transform "+g+"ms ease-out":"";return b.lasttransitionstyle&&b.lasttransitionstyle==h||(b.lasttransitionstyle=h,b.doc.css(f.transitionstyle,h)),g},this.doScrollLeft=function(c,f){var g=b.scrollrunning?b.newscrolly:b.getScrollTop();b.doScrollPos(c,g,f)},this.doScrollTop=function(c,f){var g=b.scrollrunning?b.newscrollx:b.getScrollLeft();b.doScrollPos(g,c,f)},this.doScrollPos=function(c,e,g){var h=b.getScrollTop(),l=b.getScrollLeft();return(0>(b.newscrolly-h)*(e-h)||0>(b.newscrollx-l)*(c-l))&&b.cancelScroll(),0==b.opt.bouncescroll&&(0>e?e=0:e>b.page.maxh&&(e=b.page.maxh),0>c?c=0:c>b.page.maxw&&(c=b.page.maxw)),(!b.scrollrunning||c!=b.newscrollx||e!=b.newscrolly)&&(b.newscrolly=e,b.newscrollx=c,b.newscrollspeed=g||!1,!b.timer&&void(b.timer=setTimeout((function(){var l,k,g=b.getScrollTop(),h=b.getScrollLeft();l=c-h,k=e-g,l=Math.round(Math.sqrt(Math.pow(l,2)+Math.pow(k,2))),l=b.newscrollspeed&&1<b.newscrollspeed?b.newscrollspeed:b.getTransitionSpeed(l),b.newscrollspeed&&1>=b.newscrollspeed&&(l*=b.newscrollspeed),b.prepareTransition(l,!0),b.timerscroll&&b.timerscroll.tm&&clearInterval(b.timerscroll.tm),0<l&&(!b.scrollrunning&&b.onscrollstart&&b.onscrollstart.call(b,{type:"scrollstart",current:{x:h,y:g},request:{x:c,y:e},end:{x:b.newscrollx,y:b.newscrolly},speed:l}),f.transitionend?b.scrollendtrapped||(b.scrollendtrapped=!0,b.bind(b.doc,f.transitionend,b.onScrollEnd,!1)):(b.scrollendtrapped&&clearTimeout(b.scrollendtrapped),b.scrollendtrapped=setTimeout(b.onScrollEnd,l)),b.timerscroll={bz:new BezierClass(g,b.newscrolly,l,0,0,.58,1),bh:new BezierClass(h,b.newscrollx,l,0,0,.58,1)},b.cursorfreezed||(b.timerscroll.tm=setInterval((function(){b.showCursor(b.getScrollTop(),b.getScrollLeft())}),60))),b.synched("doScroll-set",(function(){b.timer=0,b.scrollendtrapped&&(b.scrollrunning=!0),b.setScrollTop(b.newscrolly),b.setScrollLeft(b.newscrollx),b.scrollendtrapped||b.onScrollEnd()}))}),50)))},this.cancelScroll=function(){if(!b.scrollendtrapped)return!0;var c=b.getScrollTop(),e=b.getScrollLeft();return b.scrollrunning=!1,f.transitionend||clearTimeout(f.transitionend),b.scrollendtrapped=!1,b._unbind(b.doc,f.transitionend,b.onScrollEnd),b.prepareTransition(0),b.setScrollTop(c),b.railh&&b.setScrollLeft(e),b.timerscroll&&b.timerscroll.tm&&clearInterval(b.timerscroll.tm),b.timerscroll=!1,b.cursorfreezed=!1,b.showCursor(c,e),b},this.onScrollEnd=function(){b.scrollendtrapped&&b._unbind(b.doc,f.transitionend,b.onScrollEnd),b.scrollendtrapped=!1,b.prepareTransition(0),b.timerscroll&&b.timerscroll.tm&&clearInterval(b.timerscroll.tm),b.timerscroll=!1;var c=b.getScrollTop(),e=b.getScrollLeft();if(b.setScrollTop(c),b.railh&&b.setScrollLeft(e),b.noticeCursor(!1,c,e),b.cursorfreezed=!1,0>c?c=0:c>b.page.maxh&&(c=b.page.maxh),0>e?e=0:e>b.page.maxw&&(e=b.page.maxw),c!=b.newscrolly||e!=b.newscrollx)return b.doScrollPos(e,c,b.opt.snapbackspeed);b.onscrollend&&b.scrollrunning&&b.onscrollend.call(b,{type:"scrollend",current:{x:e,y:c},end:{x:b.newscrollx,y:b.newscrolly}}),b.scrollrunning=!1}):(this.doScrollLeft=function(c,f){var g=b.scrollrunning?b.newscrolly:b.getScrollTop();b.doScrollPos(c,g,f)},this.doScrollTop=function(c,f){var g=b.scrollrunning?b.newscrollx:b.getScrollLeft();b.doScrollPos(g,c,f)},this.doScrollPos=function(c,f,g){if(f=void 0===f||!1===f?b.getScrollTop(!0):f,b.timer&&b.newscrolly==f&&b.newscrollx==c)return!0;b.timer&&w(b.timer),b.timer=0;var h=b.getScrollTop(),l=b.getScrollLeft();(0>(b.newscrolly-h)*(f-h)||0>(b.newscrollx-l)*(c-l))&&b.cancelScroll(),b.newscrolly=f,b.newscrollx=c,b.bouncescroll&&b.rail.visibility||(0>b.newscrolly?b.newscrolly=0:b.newscrolly>b.page.maxh&&(b.newscrolly=b.page.maxh)),b.bouncescroll&&b.railh.visibility||(0>b.newscrollx?b.newscrollx=0:b.newscrollx>b.page.maxw&&(b.newscrollx=b.page.maxw)),b.dst={},b.dst.x=c-l,b.dst.y=f-h,b.dst.px=l,b.dst.py=h;var k=Math.round(Math.sqrt(Math.pow(b.dst.x,2)+Math.pow(b.dst.y,2)));b.dst.ax=b.dst.x/k,b.dst.ay=b.dst.y/k;var n=0,q=k;if(0==b.dst.x?(n=h,q=f,b.dst.ay=1,b.dst.py=0):0==b.dst.y&&(n=l,q=c,b.dst.ax=1,b.dst.px=0),k=b.getTransitionSpeed(k),g&&1>=g&&(k*=g),b.bzscroll=0<k&&(b.bzscroll?b.bzscroll.update(q,k):new BezierClass(n,q,k,0,1,0,1)),!b.timer){(h==b.page.maxh&&f>=b.page.maxh||l==b.page.maxw&&c>=b.page.maxw)&&b.checkContentSize();var r=1;b.cancelAnimationFrame=!1,b.timer=1,b.onscrollstart&&!b.scrollrunning&&b.onscrollstart.call(b,{type:"scrollstart",current:{x:l,y:h},request:{x:c,y:f},end:{x:b.newscrollx,y:b.newscrolly},speed:k}),function e(){if(b.cancelAnimationFrame)return!0;if(b.scrollrunning=!0,r=1-r)return b.timer=v(e)||1;var c=0,d=sy=b.getScrollTop();if(b.dst.ay){var g=(d=b.bzscroll?b.dst.py+b.bzscroll.getNow()*b.dst.ay:b.newscrolly)-sy;(0>g&&d<b.newscrolly||0<g&&d>b.newscrolly)&&(d=b.newscrolly),b.setScrollTop(d),d==b.newscrolly&&(c=1)}else c=1;var f=sx=b.getScrollLeft();b.dst.ax?((0>(g=(f=b.bzscroll?b.dst.px+b.bzscroll.getNow()*b.dst.ax:b.newscrollx)-sx)&&f<b.newscrollx||0<g&&f>b.newscrollx)&&(f=b.newscrollx),b.setScrollLeft(f),f==b.newscrollx&&(c+=1)):c+=1,2==c?(b.timer=0,b.cursorfreezed=!1,b.bzscroll=!1,b.scrollrunning=!1,0>d?d=0:d>b.page.maxh&&(d=b.page.maxh),0>f?f=0:f>b.page.maxw&&(f=b.page.maxw),f!=b.newscrollx||d!=b.newscrolly?b.doScrollPos(f,d):b.onscrollend&&b.onscrollend.call(b,{type:"scrollend",current:{x:sx,y:sy},end:{x:b.newscrollx,y:b.newscrolly}})):b.timer=v(e)||1}(),(h==b.page.maxh&&f>=h||l==b.page.maxw&&c>=l)&&b.checkContentSize(),b.noticeCursor()}},this.cancelScroll=function(){return b.timer&&w(b.timer),b.timer=0,b.bzscroll=!1,b.scrollrunning=!1,b}):(this.doScrollLeft=function(c,f){var g=b.getScrollTop();b.doScrollPos(c,g,f)},this.doScrollTop=function(c,f){var g=b.getScrollLeft();b.doScrollPos(g,c,f)},this.doScrollPos=function(c,f,g){var e=c>b.page.maxw?b.page.maxw:c;0>e&&(e=0);var h=f>b.page.maxh?b.page.maxh:f;0>h&&(h=0),b.synched("scroll",(function(){b.setScrollTop(h),b.setScrollLeft(e)}))},this.cancelScroll=function(){}),this.doScrollBy=function(c,f){var g=0;g=f?Math.floor((b.scroll.y-c)*b.scrollratio.y):(b.timer?b.newscrolly:b.getScrollTop(!0))-c;if(b.bouncescroll){var e=Math.round(b.view.h/2);g<-e?g=-e:g>b.page.maxh+e&&(g=b.page.maxh+e)}return b.cursorfreezed=!1,py=b.getScrollTop(!0),0>g&&0>=py?b.noticeCursor():g>b.page.maxh&&py>=b.page.maxh?(b.checkContentSize(),b.noticeCursor()):void b.doScrollTop(g)},this.doScrollLeftBy=function(c,f){var g=0;g=f?Math.floor((b.scroll.x-c)*b.scrollratio.x):(b.timer?b.newscrollx:b.getScrollLeft(!0))-c;if(b.bouncescroll){var e=Math.round(b.view.w/2);g<-e?g=-e:g>b.page.maxw+e&&(g=b.page.maxw+e)}if(b.cursorfreezed=!1,px=b.getScrollLeft(!0),0>g&&0>=px||g>b.page.maxw&&px>=b.page.maxw)return b.noticeCursor();b.doScrollLeft(g)},this.doScrollTo=function(c,f){f&&Math.round(c*b.scrollratio.y),b.cursorfreezed=!1,b.doScrollTop(c)},this.checkContentSize=function(){var c=b.getContentSize();(c.h!=b.page.h||c.w!=b.page.w)&&b.resize(!1,c)},b.onscroll=function(c){b.rail.drag||b.cursorfreezed||b.synched("scroll",(function(){b.scroll.y=Math.round(b.getScrollTop()*(1/b.scrollratio.y)),b.railh&&(b.scroll.x=Math.round(b.getScrollLeft()*(1/b.scrollratio.x))),b.noticeCursor()}))},b.bind(b.docscroll,"scroll",b.onscroll),this.doZoomIn=function(c){if(!b.zoomactive){b.zoomactive=!0,b.zoomrestore={style:{}};var l,h="position top left zIndex backgroundColor marginTop marginBottom marginLeft marginRight".split(" "),g=b.win[0].style;for(l in h){var k=h[l];b.zoomrestore.style[k]=void 0!==g[k]?g[k]:""}return b.zoomrestore.style.width=b.win.css("width"),b.zoomrestore.style.height=b.win.css("height"),b.zoomrestore.padding={w:b.win.outerWidth()-b.win.width(),h:b.win.outerHeight()-b.win.height()},f.isios4&&(b.zoomrestore.scrollTop=e(window).scrollTop(),e(window).scrollTop(0)),b.win.css({position:f.isios4?"absolute":"fixed",top:0,left:0,"z-index":x+100,margin:"0px"}),(""==(h=b.win.css("backgroundColor"))||/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(h))&&b.win.css("backgroundColor","#fff"),b.rail.css({"z-index":x+101}),b.zoom.css({"z-index":x+102}),b.zoom.css("backgroundPosition","0px -18px"),b.resizeZoom(),b.onzoomin&&b.onzoomin.call(b),b.cancelEvent(c)}},this.doZoomOut=function(c){if(b.zoomactive)return b.zoomactive=!1,b.win.css("margin",""),b.win.css(b.zoomrestore.style),f.isios4&&e(window).scrollTop(b.zoomrestore.scrollTop),b.rail.css({"z-index":b.zindex}),b.zoom.css({"z-index":b.zindex}),b.zoomrestore=!1,b.zoom.css("backgroundPosition","0px 0px"),b.onResize(),b.onzoomout&&b.onzoomout.call(b),b.cancelEvent(c)},this.doZoom=function(c){return b.zoomactive?b.doZoomOut(c):b.doZoomIn(c)},this.resizeZoom=function(){if(b.zoomactive){var c=b.getScrollTop();b.win.css({width:e(window).width()-b.zoomrestore.padding.w+"px",height:e(window).height()-b.zoomrestore.padding.h+"px"}),b.onResize(),b.setScrollTop(Math.min(b.page.maxh,c))}},this.init(),e.nicescroll.push(this)},H=function(e){var c=this;this.nc=e,this.steptime=this.lasttime=this.speedy=this.speedx=this.lasty=this.lastx=0,this.snapy=this.snapx=!1,this.demuly=this.demulx=0,this.lastscrolly=this.lastscrollx=-1,this.timer=this.chky=this.chkx=0,this.time=function(){return+new Date},this.reset=function(e,l){c.stop();var k=c.time();c.steptime=0,c.lasttime=k,c.speedx=0,c.speedy=0,c.lastx=e,c.lasty=l,c.lastscrollx=-1,c.lastscrolly=-1},this.update=function(e,l){var k=c.time();c.steptime=k-c.lasttime,c.lasttime=k;k=l-c.lasty;var t=e-c.lastx,b=(b=c.nc.getScrollTop())+k,q=(q=c.nc.getScrollLeft())+t;c.snapx=0>q||q>c.nc.page.maxw,c.snapy=0>b||b>c.nc.page.maxh,c.speedx=t,c.speedy=k,c.lastx=e,c.lasty=l},this.stop=function(){c.nc.unsynched("domomentum2d"),c.timer&&clearTimeout(c.timer),c.timer=0,c.lastscrollx=-1,c.lastscrolly=-1},this.doSnapy=function(e,l){var k=!1;0>l?(l=0,k=!0):l>c.nc.page.maxh&&(l=c.nc.page.maxh,k=!0),0>e?(e=0,k=!0):e>c.nc.page.maxw&&(e=c.nc.page.maxw,k=!0),k&&c.nc.doScrollPos(e,l,c.nc.opt.snapbackspeed)},this.doMomentum=function(e){var l=c.time(),k=e?l+e:c.lasttime;e=c.nc.getScrollLeft();var t=c.nc.getScrollTop(),b=c.nc.page.maxh,q=c.nc.page.maxw;if(c.speedx=0<q?Math.min(60,c.speedx):0,c.speedy=0<b?Math.min(60,c.speedy):0,k=k&&50>=l-k,(0>t||t>b||0>e||e>q)&&(k=!1),e=!(!c.speedx||!k)&&c.speedx,c.speedy&&k&&c.speedy||e){var f=Math.max(16,c.steptime);50<f&&(e=f/50,c.speedx*=e,c.speedy*=e,f=50),c.demulxy=0,c.lastscrollx=c.nc.getScrollLeft(),c.chkx=c.lastscrollx,c.lastscrolly=c.nc.getScrollTop(),c.chky=c.lastscrolly;var r=c.lastscrollx,u=c.lastscrolly,d=function(){var e=600<c.time()-l?.04:.02;c.speedx&&(r=Math.floor(c.lastscrollx-c.speedx*(1-c.demulxy)),c.lastscrollx=r,0>r||r>q)&&(e=.1),c.speedy&&(u=Math.floor(c.lastscrolly-c.speedy*(1-c.demulxy)),c.lastscrolly=u,0>u||u>b)&&(e=.1),c.demulxy=Math.min(1,c.demulxy+e),c.nc.synched("domomentum2d",(function(){c.speedx&&(c.nc.getScrollLeft()!=c.chkx&&c.stop(),c.chkx=r,c.nc.setScrollLeft(r)),c.speedy&&(c.nc.getScrollTop()!=c.chky&&c.stop(),c.chky=u,c.nc.setScrollTop(u)),c.timer||(c.nc.hideCursor(),c.doSnapy(r,u))})),1>c.demulxy?c.timer=setTimeout(d,f):(c.stop(),c.nc.hideCursor(),c.doSnapy(r,u))};d()}else c.doSnapy(c.nc.getScrollLeft(),c.nc.getScrollTop())}},A=e.fn.scrollTop;e.cssHooks.pageYOffset={get:function(k,c,h){return(c=e.data(k,"__nicescroll")||!1)&&c.ishwscroll?c.getScrollTop():A.call(k)},set:function(k,c){var h=e.data(k,"__nicescroll")||!1;return h&&h.ishwscroll?h.setScrollTop(parseInt(c)):A.call(k,c),this}},e.fn.scrollTop=function(k){if(void 0===k){var c=this[0]&&e.data(this[0],"__nicescroll")||!1;return c&&c.ishwscroll?c.getScrollTop():A.call(this)}return this.each((function(){var c=e.data(this,"__nicescroll")||!1;c&&c.ishwscroll?c.setScrollTop(parseInt(k)):A.call(e(this),k)}))};var B=e.fn.scrollLeft;e.cssHooks.pageXOffset={get:function(k,c,h){return(c=e.data(k,"__nicescroll")||!1)&&c.ishwscroll?c.getScrollLeft():B.call(k)},set:function(k,c){var h=e.data(k,"__nicescroll")||!1;return h&&h.ishwscroll?h.setScrollLeft(parseInt(c)):B.call(k,c),this}},e.fn.scrollLeft=function(k){if(void 0===k){var c=this[0]&&e.data(this[0],"__nicescroll")||!1;return c&&c.ishwscroll?c.getScrollLeft():B.call(this)}return this.each((function(){var c=e.data(this,"__nicescroll")||!1;c&&c.ishwscroll?c.setScrollLeft(parseInt(k)):B.call(e(this),k)}))};var C=function(k){var c=this;if(this.length=0,this.name="nicescrollarray",this.each=function(e){for(var h=0;h<c.length;h++)e.call(c[h]);return c},this.push=function(e){c[c.length]=e,c.length++},this.eq=function(e){return c[e]},k)for(a=0;a<k.length;a++){var h=e.data(k[a],"__nicescroll")||!1;h&&(this[this.length]=h,this.length++)}return this};!function(e,c,h){for(var l=0;l<c.length;l++)h(e,c[l])}(C.prototype,"show hide toggle onResize resize remove stop doScrollPos".split(" "),(function(e,c){e[c]=function(){var e=arguments;return this.each((function(){this[c].apply(this,e)}))}})),e.fn.getNiceScroll=function(k){return void 0===k?new C(this):e.data(this[k],"__nicescroll")||!1},e.extend(e.expr[":"],{nicescroll:function(k){return!!e.data(k,"__nicescroll")}}),e.fn.niceScroll=function(k,c){void 0===c&&"object"==typeof k&&!("jquery"in k)&&(c=k,k=!1);var h=new C;void 0===c&&(c={}),k&&(c.doc=e(k),c.win=e(this));var l=!("doc"in c);return!l&&!("win"in c)&&(c.win=e(this)),this.each((function(){var k=e(this).data("__nicescroll")||!1;k||(c.doc=l?e(this):c.doc,k=new N(c,e(this)),e(this).data("__nicescroll",k)),h.push(k)})),1==h.length?h[0]:h},window.NiceScroll={getjQuery:function(){return e}},e.nicescroll||(e.nicescroll=new C,e.nicescroll.options=F)}(jQuery);Gettext=function(args){this.domain="messages",this.locale_data=void 0;var options=["domain","locale_data"];if(this.isValidObject(args))for(var i in args)for(var j=0;j<options.length;j++)i==options[j]&&this.isValidObject(args[i])&&(this[i]=args[i]);return this.try_load_lang(),this},Gettext.context_glue="",Gettext._locale_data={},Gettext.prototype.try_load_lang=function(){if(void 0!==this.locale_data){var locale_copy=this.locale_data;if(this.locale_data=void 0,this.parse_locale_data(locale_copy),void 0===Gettext._locale_data[this.domain])throw new Error("Error: Gettext 'locale_data' does not contain the domain '"+this.domain+"'")}var lang_link=this.get_lang_refs();if("object"==typeof lang_link&&lang_link.length>0)for(var i=0;i<lang_link.length;i++){var link=lang_link[i];if("application/json"==link.type){if(!this.try_load_lang_json(link.href))throw new Error("Error: Gettext 'try_load_lang_json' failed. Unable to exec xmlhttprequest for link ["+link.href+"]")}else{if("application/x-po"!=link.type)throw new Error("TODO: link type ["+link.type+"] found, and support is planned, but not implemented at this time.");if(!this.try_load_lang_po(link.href))throw new Error("Error: Gettext 'try_load_lang_po' failed. Unable to exec xmlhttprequest for link ["+link.href+"]")}}},Gettext.prototype.parse_locale_data=function(locale_data){for(var domain in void 0===Gettext._locale_data&&(Gettext._locale_data={}),locale_data)if(locale_data.hasOwnProperty(domain)&&this.isValidObject(locale_data[domain])){var has_msgids=!1;for(var msgid in locale_data[domain]){has_msgids=!0;break}if(has_msgids){var data=locale_data[domain];for(var key in""==domain&&(domain="messages"),this.isValidObject(Gettext._locale_data[domain])||(Gettext._locale_data[domain]={}),this.isValidObject(Gettext._locale_data[domain].head)||(Gettext._locale_data[domain].head={}),this.isValidObject(Gettext._locale_data[domain].msgs)||(Gettext._locale_data[domain].msgs={}),data)if(""==key){var header=data[key];for(var head in header){var h=head.toLowerCase();Gettext._locale_data[domain].head[h]=header[head]}}else Gettext._locale_data[domain].msgs[key]=data[key]}}for(var domain in Gettext._locale_data)if(this.isValidObject(Gettext._locale_data[domain].head["plural-forms"])&&void 0===Gettext._locale_data[domain].head.plural_func){var plural_forms=Gettext._locale_data[domain].head["plural-forms"];if(!new RegExp("^(\\s*nplurals\\s*=\\s*[0-9]+\\s*;\\s*plural\\s*=\\s*(?:\\s|[-\\?\\|&=!<>+*/%:;a-zA-Z0-9_()])+)","m").test(plural_forms))throw new Error("Syntax error in language file. Plural-Forms header is invalid ["+plural_forms+"]");var pf=Gettext._locale_data[domain].head["plural-forms"];/;\s*$/.test(pf)||(pf=pf.concat(";"));var code="var plural; var nplurals; "+pf+' return { "nplural" : nplurals, "plural" : (plural === true ? 1 : plural ? plural : 0) };';Gettext._locale_data[domain].head.plural_func=new Function("n",code)}else void 0===Gettext._locale_data[domain].head.plural_func&&(Gettext._locale_data[domain].head.plural_func=function(n){return{nplural:2,plural:1!=n?1:0}})},Gettext.prototype.try_load_lang_po=function(uri){var data=this.sjax(uri);if(data){var domain=this.uri_basename(uri),parsed=this.parse_po(data),rv={};return parsed&&(parsed[""]||(parsed[""]={}),parsed[""].domain||(parsed[""].domain=domain),rv[domain=parsed[""].domain]=parsed,this.parse_locale_data(rv)),1}},Gettext.prototype.uri_basename=function(uri){var rv,ext_strip;return(rv=uri.match(/^(.*\/)?(.*)/))?(ext_strip=rv[2].match(/^(.*)\..+$/))?ext_strip[1]:rv[2]:""},Gettext.prototype.parse_po=function(data){for(var rv={},buffer={},lastbuffer="",errors=[],lines=data.split("\n"),i=0;i<lines.length;i++){if(lines[i]=lines[i].replace(/(\n|\r)+$/,""),/^$/.test(lines[i])){if(void 0!==buffer.msgid){var msg_ctxt_id=void 0!==buffer.msgctxt&&buffer.msgctxt.length?buffer.msgctxt+Gettext.context_glue+buffer.msgid:buffer.msgid,msgid_plural=void 0!==buffer.msgid_plural&&buffer.msgid_plural.length?buffer.msgid_plural:null,trans=[];for(var str in buffer){(match=str.match(/^msgstr_(\d+)/))&&(trans[parseInt(match[1])]=buffer[str])}trans.unshift(msgid_plural),trans.length>1&&(rv[msg_ctxt_id]=trans),buffer={},lastbuffer=""}}else{if(/^#/.test(lines[i]))continue;(match=lines[i].match(/^msgctxt\s+(.*)/))?buffer[lastbuffer="msgctxt"]=this.parse_po_dequote(match[1]):(match=lines[i].match(/^msgid\s+(.*)/))?buffer[lastbuffer="msgid"]=this.parse_po_dequote(match[1]):(match=lines[i].match(/^msgid_plural\s+(.*)/))?buffer[lastbuffer="msgid_plural"]=this.parse_po_dequote(match[1]):(match=lines[i].match(/^msgstr\s+(.*)/))||(match=lines[i].match(/^msgstr\[0\]\s+(.*)/))?buffer[lastbuffer="msgstr_0"]=this.parse_po_dequote(match[1]):(match=lines[i].match(/^msgstr\[(\d+)\]\s+(.*)/))?buffer[lastbuffer="msgstr_"+match[1]]=this.parse_po_dequote(match[2]):/^"/.test(lines[i])?buffer[lastbuffer]+=this.parse_po_dequote(lines[i]):errors.push("Strange line ["+i+"] : "+lines[i])}}if(void 0!==buffer.msgid){msg_ctxt_id=void 0!==buffer.msgctxt&&buffer.msgctxt.length?buffer.msgctxt+Gettext.context_glue+buffer.msgid:buffer.msgid,msgid_plural=void 0!==buffer.msgid_plural&&buffer.msgid_plural.length?buffer.msgid_plural:null,trans=[];for(var str in buffer){var match;(match=str.match(/^msgstr_(\d+)/))&&(trans[parseInt(match[1])]=buffer[str])}trans.unshift(msgid_plural),trans.length>1&&(rv[msg_ctxt_id]=trans),buffer={},lastbuffer=""}if(rv[""]&&rv[""][1]){var cur={},hlines=rv[""][1].split(/\\n/);for(i=0;i<hlines.length;i++)if(hlines.length){var pos=hlines[i].indexOf(":",0);if(-1!=pos){var key=hlines[i].substring(0,pos),val=hlines[i].substring(pos+1),keylow=key.toLowerCase();cur[keylow]&&cur[keylow].length?errors.push("SKIPPING DUPLICATE HEADER LINE: "+hlines[i]):/#-#-#-#-#/.test(keylow)?errors.push("SKIPPING ERROR MARKER IN HEADER: "+hlines[i]):(val=val.replace(/^\s+/,""),cur[keylow]=val)}else errors.push("PROBLEM LINE IN HEADER: "+hlines[i]),cur[hlines[i]]=""}rv[""]=cur}else rv[""]={};return rv},Gettext.prototype.parse_po_dequote=function(str){var match;return(match=str.match(/^"(.*)"/))&&(str=match[1]),str=str.replace(/\\"/g,'"')},Gettext.prototype.try_load_lang_json=function(uri){var data=this.sjax(uri);if(data){var rv=this.JSON(data);return this.parse_locale_data(rv),1}},Gettext.prototype.get_lang_refs=function(){for(var langs=new Array,links=document.getElementsByTagName("link"),i=0;i<links.length;i++)if("gettext"==links[i].rel&&links[i].href){if(void 0===links[i].type||""==links[i].type)if(/\.json$/i.test(links[i].href))links[i].type="application/json";else if(/\.js$/i.test(links[i].href))links[i].type="application/json";else if(/\.po$/i.test(links[i].href))links[i].type="application/x-po";else{if(!/\.mo$/i.test(links[i].href))throw new Error("LINK tag with rel=gettext found, but the type and extension are unrecognized.");links[i].type="application/x-mo"}if(links[i].type=links[i].type.toLowerCase(),"application/json"==links[i].type)links[i].type="application/json";else if("text/javascript"==links[i].type)links[i].type="application/json";else if("application/x-po"==links[i].type)links[i].type="application/x-po";else{if("application/x-mo"!=links[i].type)throw new Error("LINK tag with rel=gettext found, but the type attribute ["+links[i].type+"] is unrecognized.");links[i].type="application/x-mo"}langs.push(links[i])}return langs},Gettext.prototype.textdomain=function(domain){return domain&&domain.length&&(this.domain=domain),this.domain},Gettext.prototype.gettext=function(msgid){return this.dcnpgettext(null,void 0,msgid,void 0,void 0,void 0)},Gettext.prototype.dgettext=function(domain,msgid){return this.dcnpgettext(domain,void 0,msgid,void 0,void 0,void 0)},Gettext.prototype.dcgettext=function(domain,msgid,category){return this.dcnpgettext(domain,void 0,msgid,void 0,void 0,category)},Gettext.prototype.ngettext=function(msgid,msgid_plural,n){return this.dcnpgettext(null,void 0,msgid,msgid_plural,n,void 0)},Gettext.prototype.dngettext=function(domain,msgid,msgid_plural,n){return this.dcnpgettext(domain,void 0,msgid,msgid_plural,n,void 0)},Gettext.prototype.dcngettext=function(domain,msgid,msgid_plural,n,category){return this.dcnpgettext(domain,void 0,msgid,msgid_plural,n,category,category)},Gettext.prototype.pgettext=function(msgctxt,msgid){return this.dcnpgettext(null,msgctxt,msgid,void 0,void 0,void 0)},Gettext.prototype.dpgettext=function(domain,msgctxt,msgid){return this.dcnpgettext(domain,msgctxt,msgid,void 0,void 0,void 0)},Gettext.prototype.dcpgettext=function(domain,msgctxt,msgid,category){return this.dcnpgettext(domain,msgctxt,msgid,void 0,void 0,category)},Gettext.prototype.npgettext=function(msgctxt,msgid,msgid_plural,n){return this.dcnpgettext(null,msgctxt,msgid,msgid_plural,n,void 0)},Gettext.prototype.dnpgettext=function(domain,msgctxt,msgid,msgid_plural,n){return this.dcnpgettext(domain,msgctxt,msgid,msgid_plural,n,void 0)},Gettext.prototype.dcnpgettext=function(domain,msgctxt,msgid,msgid_plural,n,category){if(!this.isValidObject(msgid))return"";var plural=this.isValidObject(msgid_plural),msg_ctxt_id=this.isValidObject(msgctxt)?msgctxt+Gettext.context_glue+msgid:msgid,domainname=this.isValidObject(domain)?domain:this.isValidObject(this.domain)?this.domain:"messages",locale_data=new Array;if(void 0!==Gettext._locale_data&&this.isValidObject(Gettext._locale_data[domainname]))locale_data.push(Gettext._locale_data[domainname]);else if(void 0!==Gettext._locale_data)for(var dom in Gettext._locale_data)locale_data.push(Gettext._locale_data[dom]);var domain_used,trans=[],found=!1;if(locale_data.length)for(var i=0;i<locale_data.length;i++){var locale=locale_data[i];if(this.isValidObject(locale.msgs[msg_ctxt_id])){for(var j=0;j<locale.msgs[msg_ctxt_id].length;j++)trans[j]=locale.msgs[msg_ctxt_id][j];if(trans.shift(),domain_used=locale,found=!0,trans.length>0&&0!=trans[0].length)break}}0!=trans.length&&0!=trans[0].length||(trans=[msgid,msgid_plural]);var translation=trans[0];if(plural){var p;if(found&&this.isValidObject(domain_used.head.plural_func)){var rv=domain_used.head.plural_func(n);rv.plural||(rv.plural=0),rv.nplural||(rv.nplural=0),rv.nplural<=rv.plural&&(rv.plural=0),p=rv.plural}else p=1!=n?1:0;this.isValidObject(trans[p])&&(translation=trans[p])}return translation},Gettext.strargs=function(str,args){null==args||void 0===args?args=[]:args.constructor!=Array&&(args=[args]);for(var newstr="";;){var match_n,i=str.indexOf("%");if(-1==i){newstr+=str;break}if(newstr+=str.substr(0,i),"%%"==str.substr(i,2))newstr+="%",str=str.substr(i+2);else if(match_n=str.substr(i).match(/^%(\d+)/)){var arg_n=parseInt(match_n[1]),length_n=match_n[1].length;arg_n>0&&null!=args[arg_n-1]&&void 0!==args[arg_n-1]&&(newstr+=args[arg_n-1]),str=str.substr(i+1+length_n)}else newstr+="%",str=str.substr(i+1)}return newstr},Gettext.prototype.strargs=function(str,args){return Gettext.strargs(str,args)},Gettext.prototype.isArray=function(thisObject){return this.isValidObject(thisObject)&&thisObject.constructor==Array},Gettext.prototype.isValidObject=function(thisObject){return null!=thisObject&&void 0!==thisObject},Gettext.prototype.sjax=function(uri){var xmlhttp;if(!(xmlhttp=window.XMLHttpRequest?new XMLHttpRequest:-1!=navigator.userAgent.toLowerCase().indexOf("msie 5")?new ActiveXObject("Microsoft.XMLHTTP"):new ActiveXObject("Msxml2.XMLHTTP")))throw new Error("Your browser doesn't do Ajax. Unable to support external language files.");xmlhttp.open("GET",uri,!1);try{xmlhttp.send(null)}catch(e){return}var sjax_status=xmlhttp.status;if(200==sjax_status||0==sjax_status)return xmlhttp.responseText;var error=xmlhttp.statusText+" (Error "+xmlhttp.status+")";return xmlhttp.responseText.length&&(error+="\n"+xmlhttp.responseText),void alert(error)},Gettext.prototype.JSON=function(data){return eval("("+data+")")};var i18n=function(){if(void 0!==window.i18n)return window.i18n;var self={loaded:!1,jsGettext:null,jsGettextTheme:null,texts:{},queueOnLoad:[],onLoad:function(f){self.queueOnLoad.push(f)},doOnLoad:function(){$.each(self.queueOnLoad,(function(idx,val){isFunction(val)&&val()}))},setLang:function(lang){var redirectLang=function(){window.inTheme||window.inCart?(cart_id="",void 0!==window.DINA_CART_CONTENTID&&(cart_id="login"==window.DINA_CONTENT_ID?"&cart_id="+window.DINA_CART_CONTENTID:""),window.inCart&&(localStorage.clear(),indexedDBData.removeAllDB()),window.IN_MULTINICIO?window.location=window.DINA_WEB_URL+"/lang/"+lang:void 0!==window.DINA_URI&&("string"==typeof window.DINA_URI&&2==window.DINA_URI.length||0==window.DINA_URI.length)?window.location=window.DINA_WEB_URL+"/lang/"+lang+"/web":window.location=window.DINA_WEB_URL+"/lang/"+lang+"?cid="+window.DINA_CONTENT_ID+(window.inCart?"&cart=1"+cart_id:"")):window.location.reload(!0)};isNumber(window.DINA_USER_ID)&&window.DINA_USER_ID>0?DoAjaxSubmit("save_user_lang",{user_id:window.DINA_USER_ID,user_lang:lang},(function(data){"nok"==data.resultado?window.inTheme?alert(data.mensaje):InfoError(data.mensaje):redirectLang()})):redirectLang()},addText:function(textObj){"object"==typeof textObj&&$.extend(self.texts,textObj)},gettext:function(text){var ret=text;return self.loaded&&(null!==self.jsGettext&&(ret=self.jsGettext.gettext(text)),null!==self.jsGettextTheme&&(ret=self.jsGettextTheme.gettext(text))),ret},init:function(){self.loaded||($('link[name="dinacms-po"]').length>0&&null===self.jsGettext&&(self.jsGettext=new Gettext({domain:"dinacms-po"})),(window.inTheme||window.inCart)&&$('link[name="themes-po"]').length>0&&null===self.jsGettextTheme&&(self.jsGettextTheme=new Gettext({domain:"themes-po"})),$("#language_selector").length>0&&$("#language_selector").is("select")&&$("#language_selector").change((function(){var lang=$(this).val();i18n.setLang(lang)})),$('select[id^="language_selector_iso"]').length>0&&$('select[id^="language_selector_iso"]').change((function(){var lang=$(this).val();i18n.setLang(lang)})),$("#language_selector_mobile").length>0&&$("#language_selector_mobile").is("select")&&$("#language_selector_mobile").change((function(){var lang=$(this).val();i18n.setLang(lang)})),self.loaded=!0,$.each(self.texts,(function(idx,val){self.texts[idx]=T_(val)})))}};return $(document).ready((function(){i18n.init()})),$(window).load((function(){self.doOnLoad()})),self}();function T_(text){return i18n.gettext(text)};if($(window).load((function(){if(i18n.addText({Mensaje:T_("Mensaje"),Aceptar:T_("Aceptar"),Enviando:T_("ENVIANDO"),nextGal:T_("Ver galerías siguientes"),prevGal:T_("Ver galerías anteriores"),eligeFichero:T_("Elige fichero"),noVolverAMostrar:T_("No volver a mostrar")}),window.inTheme&&"Desktop"==window.DINA_DEVICE.type&&"IE"!=window.DINA_DEVICE.userAgent&&"IE8"!=window.DINA_DEVICE.userAgent){var timeoutReload=null;$(window).resize((function(){window.DINA_ENABLE_RESIZE&&(null!==timeoutReload&&clearTimeout(timeoutReload),timeoutReload=setTimeout((function(){reload=!0,fullscreen=!1,(window.fullScreen||window.innerWidth==screen.width&&window.innerHeight==screen.height)&&(fullscreen=!0),$("iframe").each((function(idx,v){(/vimeo/i.test($(v).attr("src"))||/youtube/i.test($(v).attr("src")))&&fullscreen&&(reload=!1)})),reload&&window.location.reload()}),500))}))}})),$(document).ready(()=>{$(".dina-file-input").on("change",ev=>{for(var el=$(ev.target),files=[],i=0;i<el[0].files.length;i++)files.push(el[0].files[i].name);0===files.length?(lbl=el.next(".dina-file-label"),plh=lbl.data("placeholder")||i18n.texts.eligeFichero,lbl.html(decodeURIComponent(plh))):el.next(".dina-file-label").html(files.join(", "))}),window.inTheme&&$("#content-bottom-form").length>0&&$("body").on("click",'a[href$="#bottom-form"]',ev=>{var formOffset=$("#content-bottom-form").offset(),body=$("html, body");ev.preventDefault(),ev.stopPropagation(),body.animate({scrollTop:formOffset.top-200},"slow")})}),void 0===inTheme)var inTheme=!("undefined"==typeof DINA_THEME_URL);if(void 0===inCart)var inCart=!("undefined"==typeof cartOrderID);var $alert,themeVid=inTheme&&"undefined"!=typeof DINA_THEME_URL?DINA_THEME_URL.split("/").pop():"";function Aviso(mensaje,title){if(jQuery().dialog){if(void 0===window.$alert){var botones={};botones[i18n.texts.Aceptar]=function(){$(this).dialog("close")},window.$alert=$("<div></div>").dialog({autoOpen:!1,title:i18n.texts.Mensaje,buttons:botones,modal:!0})}"undefined"!==title?window.$alert.dialog("option","title",title):window.$alert.dialog("option","title",i18n.texts.Mensaje),window.$alert.text(mensaje),window.$alert.dialog("open")}}function ValidateEMail(address){const reg=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;var ret=!0;return $.each(address.split(","),(function(idx,val){return ret=reg.test($.trim(val))})),ret}var ajaxSubmitRetries=0,ajaxSubmitTimer=0;async function DoAjaxSubmit(command,Adata,onSuccess,onError,pasync,callTimeout){callTimeout=callTimeout||10,pasync=void 0!==pasync&&(null!=pasync&&pasync),window.ajaxSubmitTimer++;void 0===Adata&&(Adata={}),void 0===Adata.auth_token&&void 0!==window.DINA_AUTH_TOKEN&&(Adata.auth_token=window.DINA_AUTH_TOKEN),void 0===Adata.i18n_lang&&void 0!==window.DINA_CURRENT_LANGUAGE&&(Adata.i18n_lang=window.DINA_CURRENT_LANGUAGE),Adata.ajaxsubmit=command;try{0,await $.ajax({type:"POST",dataType:"json",url:DINA_GESTION_URL+"/api/ajaxsubmit.php",data:Adata,async:pasync,success:function(res){window.ajaxSubmitRetries=0,$.isFunction(onSuccess)&&onSuccess(res)},error:function(xhttp,errorStatus,errorMessage){("timeout"==errorStatus||"error"==errorStatus)&&window.ajaxSubmitRetries<=3?(window.ajaxSubmitRetries++,DoAjaxSubmit(command,Adata,onSuccess,onError)):(window.ajaxSubmitRetries=0,$.isFunction(onError)&&onError(xhttp,errorStatus,errorMessage))},timeout:1e3*callTimeout})}catch(e){0,console.error(e)}}var ajaxQueryRetries=0,ajaxQueryTimer=0;async function DoAjaxQuery(command,Adata,onSuccess,onError,pasync){window.ajaxQueryTimer++;void 0===pasync&&(pasync=!0),void 0===Adata&&(Adata={}),void 0===Adata.auth_token&&void 0!==window.DINA_AUTH_TOKEN&&(Adata.auth_token=window.DINA_AUTH_TOKEN),void 0===Adata.i18n_lang&&void 0!==window.DINA_CURRENT_LANGUAGE&&(Adata.i18n_lang=window.DINA_CURRENT_LANGUAGE),Adata.ajaxquery=command;try{0,await $.ajax({type:"POST",dataType:"json",url:DINA_GESTION_URL+"/api/ajaxquery.php",data:Adata,success:function(res){window.ajaxQueryRetries=0,$.isFunction(onSuccess)&&onSuccess(res)},error:function(xhttp,errorStatus,errorMessage){("timeout"==errorStatus||"error"==errorStatus)&&window.ajaxQueryRetries<=3?(window.ajaxQueryRetries++,DoAjaxQuery(command,Adata,onSuccess,onError)):(window.ajaxQueryRetries=0,$.isFunction(onError)&&onError(xhttp,errorStatus,errorMessage))},timeout:1e4})}catch(e){0,console.error(e)}}function isNumber(n){return!isNaN(parseFloat(n))&&isFinite(n)}function isIPad(){return null!=navigator.userAgent.match(/iPad/i)}function isAndroid(){return null!=navigator.userAgent.match(/Android/i)}function isWebkit(){var isChrome=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor),isSafari=/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor);return isChrome||isSafari}function isTablet(){return isIPad()||isAndroid()}function VideoHTML5(){return"Microsoft Internet Explorer"!=navigator.appName&&!!document.createElement("video").canPlayType}function isFunction(obj){return void 0!==obj&&"function"==typeof obj}function formatAccounting(moneyPosition){var fmt="%v %s";switch(moneyPosition){case"1":fmt="%v%s";break;case"2":fmt="%s %v";break;case"3":fmt="%s%v"}return fmt}function roundPrecision(value,exp){return void 0===exp||0==+exp?Math.round(value):(value=+value,exp=+exp,isNaN(value)||"number"!=typeof exp||exp%1!=0?NaN:(value=value.toString().split("e"),+((value=(value=Math.round(+(value[0]+"e"+(value[1]?+value[1]+exp:exp)))).toString().split("e"))[0]+"e"+(value[1]?+value[1]-exp:-exp))))}$(window).resize((function(){"string"==typeof video_auto&&"1"==video_auto&&VideoFull.resize()}));var VideoFull=function(){var base={showfotoVisible:!1,data:{width:0,height:0,video:{}},init:function(){if("1"==video_auto)return base.calculos(),base.data},calculos:function(){return margenes=20,wmargen=25,hmargen=40,w=$(window).width()-margenes-20,h=$(window).height()-margenes-20,video_width=w-wmargen,video_height=h-hmargen,$("#showvideo").css({position:"absolute","z-index":"99999",overflow:"hidden",width:w+"px",height:h+"px",left:margenes+"px",top:margenes+"px","margin-left":"0px","margin-top":"0px"}),$("#videofooter").css({width:w+"px"}),base.data={width:video_width,height:video_height},base.data},ShowPlayer:function(id,type){if(void 0!==window.fotos)var video=window.fotos[id];else if(void 0!==window.videos)video=window.videos[id];else video=window.imagenes[id];base.FullScreeVideoPlayer(),base.init(),v_id=void 0===video[2]?video.contenido:video[2],v_caption=void 0===video[5]?video.caption:video[5],v_token=void 0===video[8]?video.auth_token:video[8],$("#videotitle").html("<p>"+v_caption+"</p>");var datos={};datos.id=v_id,datos.tipo=type,datos.auth_token=v_token,datos.width=base.data.width,datos.height=base.data.height,base.data.video=datos,DoAjaxSubmit("inc_vid",datos,base.embed_fullplayer),void 0!==video.url&&""!=video.url&&ImagesGalURL.changeURL(video.url,video.share),$("#showvideo").show()},FullScreeVideoPlayer:function(){base.showfotoVisible=$("#showfoto").is(":visible"),$("#showvideo").remove(),base.showfotoVisible&&$("#showfoto").hide(),$("body").append('<div id="video-overlay" style="position:absolute;top:0px;left:0px;width:100%;height:100%;z-index:99990;background-color:#000;opacity:0.85"></div>'),$("#video-overlay").click(base.CloseVideoF),marco_width=base.data.width+20,marco_height=base.data.height+40,margin_left=base.data.width/2,margin_top=base.data.height/2,background="background:#000 !important;",color_title="#CCCCCB !important;",loading="display: block; height: 72px; left: 50%; margin-left: -31px; margin-top: -36px; padding-top: 8px; position: absolute; text-align: center; top: 50%; width: 62px; z-index: 5000;";var html="";html+='<div id="showvideo" style="'+background+"display:none;position:fixed;z-index:99999;overflow:hidden;width:"+marco_width+"px;height:"+marco_height+"px;left:50%;top:50%;margin-left:-"+margin_left+"px;margin-top:-"+margin_top+'px;">',html+='<div id="vloading" style="'+loading+'"><img src="'+window.DINA_WEB_URL+'/imgcms/loading.gif" alt="loading"></div>',html+='<div id="videoplayer" style="display:block;position:absolute;width:'+base.data.width+"px;height:"+base.data.height+'px;top:10px;left:10px;margin-top:0 !important; margin-left:0 !important;">',html+='<div id="videoembed"></div>',html+="</div>",html+='<div id="videofooter" style="display:block;position:absolute;bottom:0px;left:0px;width:'+marco_width+'px;height:26px;">',html+='<div id="videotitle" style="'+color_title+"display:block;position:absolute;top:4px;left:10px;font-family:'Droid Sans','PT+Sans',sans-serif;font-size:11pt;\"></div>",SHARE_active&&(html+='<a id="videoshare" style="display:block;position:absolute;top:0px;right:40px;padding:2px;" href="javascript:dinaSharer.openDialog()">'+dinaIcon.icon("share-alt").extraClass("hide-fa").style("font-size:12pt !important;color:#999;").html()+"</a>"),html+='<a id="videoclose" style="display:block;position:absolute;top:0px;right:8px;" href="javascript:VideoFull.CloseVideoF()"><img src="'+window.DINA_WEB_URL+'/imgcms/btn-close-white.png"></a>',html+="</div>",html+="</div>",SHARE_active&&(html+="<style>",html+=".ui-dialog {z-index: 100000 !important;}",html+="</style>"),$("body").append(html)},CloseVideoF:function(){$("#showvideo").hide(),base.showfotoVisible&&$("#showfoto").show(),$("#video-overlay").fadeOut((function(){$("#video-overlay").remove(),$("#showvideo").remove()})),ImagesGalURL.changeURL(window.gal_url)},resize:function(){null!==self.timeoutResize&&clearTimeout(self.timeoutResize),void 0!==base.data.video.id&&(video=base.data.video,self.timeoutResize=setTimeout((function(){margenes=20,wmargen=25,hmargen=40,w=$(window).width()-margenes-20,h=$(window).height()-margenes-20,width=w-wmargen,height=h-hmargen,$("#showvideo").css({width:w+"px",height:h+"px"}),$("#videofooter").css({width:w+"px"}),$("#videoembed iframe").css({width:width+"px",height:height+"px"})}),100))},embed_fullplayer:function(data){$("#videoembed").html(data.mensaje),$("#vloading").fadeOut()}};return base}();function imgProtect(){var img=$(this),imgFloat=img.css("float");img.wrap('<div style="position:relative;float:'+imgFloat+';"></div>').after('<div class="dina-img-layer"></div>')}var AnunciosPortada=function(){var base={vecesAnuncio:0,show:function(){0==base.vecesAnuncio&&("si"==DINA_ANUNCIOS_DESACTIVAR&&(codigo='<div style="float:left"><input onClick="AnunciosPortada.toggle(this)" type="checkbox" id="check_dias_anuncio" data-dias="'+DINA_DIAS_ANUNCIOS+'"></div><div style="float:left; margin-top: 2px;">'+i18n.texts.noVolverAMostrar+"</div>",$("#lbDetailsContainer").append('<div id="check_dias" style="color: white; clear:both; font-align: left; ">'+codigo+"</div>")),base.vecesAnuncio++)},toggle:function(check){isMobileResol()&&(check="#check_dias_anuncio"),checked=$(check).is(":checked"),dias=$(check).data("dias"),cookieManager.delete("dinacms_dias_anuncios"),checked&&cookieManager.set("dinacms_dias_anuncios","si",dias)}};return base}();$.fn.textWidth=function(text,font,size){return $.fn.textWidth.fakeEl||($.fn.textWidth.fakeEl=$("<span>").hide().appendTo(document.body)),$.fn.textWidth.fakeEl.text(text||this.val()||this.text()).css({"font-family":font,"font-size":size}),$.fn.textWidth.fakeEl.width()};var galPagination=function(el,maxW,pagClass,appendPos,params){void 0===params&&(params="undefined");var self={};return self.$el=$(el),self.maxWidth=maxW,self.pagClass=pagClass,self.activa=void 0!==params.activa?params.activa:window.activeGalID,self.fontCorrector=void 0!==params.fontCorrector?params.fontCorrector:1,self.fontname=void 0!==params.fontname?params.fontname:null,self.fontsize=void 0!==params.fontsize?params.fontsize:self.$el.find("li").css("font-size"),self.currPag=0,self.maxPag=0,self.checkWidth=function(){var w=0;return null!=self.fontname?cssParams={"margin-top":"-1000px","font-family":self.fontname,"font-size":self.fontsize}:cssParams={"margin-top":"-1000px"},self.$el.css(cssParams).show(),self.$el.find("li").each((function(i,e){w+=$(e).width()})),w>self.maxWidth},self.doPages=function(){var html='<ul id="'+self.pagClass+'-0" class="'+self.pagClass+'" style="display:none;">',pag=0,activePag=0,w=0;self.$el.find("li").length;self.$el.append('<li id="gal-ancho-flechas-pag" class="pag">&nbsp;</li>');var flechasW=$("#gal-ancho-flechas-pag").width();$("#gal-ancho-flechas-pag").remove(),self.maxWidth-=flechasW,self.$el.find("li").each((function(i,e){sizeW=parseInt($(e).width())*self.fontCorrector;var gal={id:parseInt($(e).find("a").attr("data-id"),10),width:sizeW,html:$(e).html()};$(e).remove(),(w+=gal.width)+flechasW>=self.maxWidth&&(pag++,html+='</ul><ul id="'+self.pagClass+"-"+pag+'" class="'+self.pagClass+'" style="display:none;">',w=gal.width),gal.id==self.activa?(activePag=pag,html+='<li class="gal activo">'):html+='<li class="gal">',html+=gal.html+"</li>"})),html+="</ul>",htmlPag="",pag>0&&(htmlPag+='<div class="pag">',htmlPag+='<span id="'+self.pagClass+'-prev" class="pag-prev"><a class="'+self.pagClass+'-prev" href="javascript:void(0)"title="'+i18n.texts.prevGal+'">'+dinaIcon.get("chevron-left")+"</a></span>",htmlPag+='<span id="'+self.pagClass+'-next" class="pag-next"><a class="'+self.pagClass+'-next" href="javascript:void(0)"title="'+i18n.texts.nextGal+'">'+dinaIcon.get("chevron-right")+"</a></span>",htmlPag+="</div>"),"before"==appendPos?html=htmlPag+html:html+=htmlPag,self.$el.parent().append(html),self.$el.remove(),$("#"+self.pagClass+"-"+activePag).show(),self.maxPag=pag,self.currPag=activePag,self.updPag(0)},self.doSpace=function(){self.$el.append('<div class="pag"></div>')},self.updPag=function(delta){0!==delta&&($("#"+self.pagClass+"-"+self.currPag).hide(),delta<0?0==self.currPag?self.currPag=self.maxPag:self.currPag--:self.currPag==self.maxPag?self.currPag=0:self.currPag++,$("#"+self.pagClass+"-"+self.currPag).show()),0==self.currPag?($("#"+self.pagClass+"-prev > a").hide(),$("#"+self.pagClass+"-next > a").show()):self.currPag==self.maxPag?($("#"+self.pagClass+"-prev > a").show(),$("#"+self.pagClass+"-next > a").hide()):($("#"+self.pagClass+"-prev > a").show(),$("#"+self.pagClass+"-next > a").show())},self.init=function(){self.checkWidth()?(self.doPages(),$("."+self.pagClass+"-next").bind("click touchstart",(function(){self.updPag(1)})),$("."+self.pagClass+"-prev").bind("click touchstart",(function(){self.updPag(-1)}))):("before"==appendPos&&self.doSpace(),self.$el.css({"margin-top":"0"}).show())},self.init(),self},menuPagination=function(el,maxW,pagClass,appendPos,params){return galPagination(el,maxW,pagClass,appendPos,params)},VideoPortada=function(){var self={el:null,url:null,css:null,params:null,player:null,videoWidth:null,videoHeight:null,init:function(el,tipo,url,css,params){self.el=el,self.url=url,self.css=void 0!==css?css:null,self.params=void 0!==params?params:null,"Tablet"==DINA_DEVICE.type&&(self.params.controles=!0),"youtube"==tipo?self.youtube():"vimeo"==tipo&&self.vimeo(),self.params.controles||$("#"+el).wrap("<div style='width: 100%; height: 100%; pointer-events: none;'></div>"),void 0!==css&&$("#"+el).css(css)},youtube:function(){if(self.url.indexOf("youtu.be")>=0){var minimalUrl=self.url.indexOf("youtu.be");-1!=minimalUrl&&(minimalUrlStart=minimalUrl+9,minimalUrlEnd=self.url.lenght,self.url=self.url.substring(minimalUrlStart,minimalUrlEnd))}else{self.url=self.url.split("v=")[1];var ampersandPosition=self.url.indexOf("&");-1!=ampersandPosition&&(self.url=self.url.substring(0,ampersandPosition))}self.EmbedYT()},zonaVisionYT:function(){switch(self.videoWidth=1920,self.videoHeight=1080,winW=$(window).width(),winH=$(window).height(),DINA_THEME_NAME){case"berlin":winH=$("#intro").height(),winW=$("#intro").width();break;case"bombay":winH=$("#contenido").height()-50;break;case"cairo":winH-=200;break;case"dubai":winH-=$("#barrasup-wrapper").height()+$("#barrainf-wrapper").height()+80;break;case"newyork":margenControles=self.params.controles?30:0,winH-=42+$("#footer").height()+margenControles;break;case"saopaulo":winH-=$("#barrasup").height()+$("#footer").height()+10;break;case"sydney":winH-=$("#barrasup").height()+$("#barrainf").height()+10,winW=$("#lside").width();break;case"tokyo":break;case"venezia":winH=$("#lside").height(),winW=$("#lside").width()}switch(DINA_THEME_NAME){case"oslo":$("#"+self.el).css({width:"100%",height:"100%"}).css("zIndex",1);break;case"dubai":case"saopaulo":$("#"+self.el).css({width:"100%",height:winH+"px"}).css("zIndex",1);break;default:$("#"+self.el).css({width:winW+"px",height:winH+"px"}).css("zIndex",1)}},EmbedYT:function(videoid,container){self.zonaVisionYT(),controls=self.params.controles?1:0,$.getScript("//www.youtube.com/iframe_api").fail((function(){console.error("Error cargando")})).done((function(){onYouTubeIframeAPIReady=function(){self.player=new YT.Player(self.el,{height:"1080",width:"1920",videoId:self.url,events:{onReady:self.initYoutube},playerVars:{controls:controls,rel:0,showinfo:0}})}}))},initYoutube:function(event){"Desktop"==DINA_DEVICE.type&&event.target.playVideo()},vimeo:function(){videoUrl=self.url,endpoint="//www.vimeo.com/api/oembed.json",callback="VideoPortada.embedVideo",params="&title=false&portrait=false&autoplay=false&loop=true&controls=0&is_plus=1?api=1",self.url=endpoint+"?url="+encodeURIComponent(videoUrl)+"&callback="+callback+"&width=640"+params,self.initVimeo()},embedVideo:function(video){if(document.getElementById(self.el).innerHTML=unescape(video.html),self.videoWidth=video.width,self.videoHeight=video.height,winW=$(window).width(),winH=$(window).height(),franjasNegras=void 0!==self.params.franjasNegras&&self.params.franjasNegras,franjasNegras){switch(DINA_THEME_NAME){case"bombay":winH-=$("#barrainf").height()+$("#barrasup").height(),$("#"+self.el).css({width:"100%",height:winH+"px"}).css("zIndex",-100);break;case"oslo":$("#"+self.el).css({width:void 0!==self.css.width?self.css.width+"px":"100%"}).css("zIndex",-100);break;case"saopaulo":break;case"cairo":winH-=200,$("#"+self.el).css({height:winH+"px"});break;case"dubai":winH-=$("#barrasup-wrapper").height()+$("#barrainf-wrapper").height(),$("#"+self.el).css({height:winH+"px"});break;case"newyork":margenControles=self.params.controles?30:0,winH-=42+margenControles,$("#"+self.el).css({height:winH+"px"});break;default:$("#"+self.el).css({width:"100%"}).css("zIndex",-100)}$("#"+self.el+" iframe").css({width:"100%",height:"100%"}).css("zIndex",1)}else{switch(DINA_THEME_NAME){case"bombay":winH-=$("#barrainf").height()+$("#barrasup").height();break;case"cairo":winH-=200;break;case"dubai":winH-=$("#barrasup-wrapper").height()+$("#barrainf-wrapper").height(),$("#contenido").css("left","");break;case"newyork":winH-=42+$("#footer").height()+10;break;case"saopaulo":winH-=$("#barrasup").height()+$("#footer").height()+10,$("#contenido").css("left","");break;case"sydney":winH-=$("#barrasup").height()+$("#barrainf").height()+10;break;case"tokyo":break;case"venezia":winH=$("#lside").height(),winW=$("#lside").width()}switch(nw=$(window).width(),nh=nw*self.videoHeight/self.videoWidth,"venezia"==DINA_THEME_NAME?(nw=winW,nh=nw*self.videoHeight/self.videoWidth,mL=0,mT=(winH-nh)/2):nh>winH?(nh=winH,nw=nh*self.videoWidth/self.videoHeight,mL=(winW-nw)/2,mT=0):(mL=0,mT=(winH-nh)/2),DINA_THEME_NAME){case"berlin":case"oslo":$("#"+self.el+" iframe").css({width:"100%",height:"100%"}).css("zIndex",1);break;default:$("#"+self.el+" iframe").css({width:nw+"px",height:nh+"px","margin-left":mL+"px","margin-top":mT+"px"}).css("zIndex",1)}}var iframe=$("#video_portada iframe")[0],player=$f(iframe);$(".status");player.addEvent("ready",(function(){"Desktop"==DINA_DEVICE.type&&player.api("play")}))},initVimeo:function(){var js=document.createElement("script");js.setAttribute("type","text/javascript"),js.setAttribute("src",self.url),document.getElementsByTagName("head").item(0).appendChild(js)}};return self}(),VideoAC=function(){var self={init:function(){},stop:function(){setTimeout((function(){self.YoutubeStop(),self.VimeoStop()}),500)},YoutubeStop:function(){var youtube_command=window.JSON.stringify({event:"command",func:"stopVideo"});$('iframe[src*="youtube.com"]').each((function(i,player){null!==player.contentWindow&&player.contentWindow.postMessage(youtube_command,"https://www.youtube.com")}))},VimeoStop:function(){$(".video-vimeo iframe").each((function(i,iframe){player=$f($(this)[0]),player.api("unload")}))}};return self}();function heightContent(menu,footer,content,action){$menu=$(menu),$footer=$(footer),$content=$(content),hmenu=$.isNumeric($menu.height())?$menu.height():0,hfooter=$.isNumeric($footer.height())?$footer.height():0,hmenu>0&&(1==action?(calc="calc(100% - "+hmenu+"px)",$content.css({height:calc})):2==action&&(calc="calc(100% - "+hmenu+"px - "+hfooter+"px)",$content.css({height:calc})))}function put_error_log(msg,vars){DoAjaxSubmit("js_error_log",{msg:msg,vars:vars},(function(res){res.resultado}))}!function($){$.getMenuPagination=function(data){this.el=data.el,this.$el=$(this.el),this.maxWidth=data.width,this.pagClass=data.idpage,this.appendPos=data.position,this.activa=void 0!==data.params.activa?data.params.activa:data.activegal,this.fontCorrector=void 0!==data.params.fontCorrector?data.params.fontCorrector:1,this.fontname=void 0!==data.params.fontname?data.params.fontname:null,this.fontsize=void 0!==data.params.fontsize?data.params.fontsize:this.$el.find("li").css("font-size")},$.getMenuPagination.prototype={Init:function(){var self=this;self.checkWidth()?(self.doPages(),$("."+self.pagClass+"-next").bind("click touchstart",(function(){self.updPag(1)})),$("."+self.pagClass+"-prev").bind("click touchstart",(function(){self.updPag(-1)}))):("before"==self.appendPos&&self.doSpace(),self.$el.css({"margin-top":"0"}).show())},checkWidth:function(){var w=0;return null!=this.fontname?cssParams={"margin-top":"-1000px","font-family":this.fontname,"font-size":this.fontsize}:cssParams={"margin-top":"-1000px"},this.$el.css(cssParams).show(),this.$el.find("li").each((function(i,e){pL=parseInt($(e).css("padding-left")),pR=parseInt($(e).css("padding-right")),padding=pL+pR,w+=$(e).width()+padding})),w>this.maxWidth},doPages:function(){var self=this,html='<ul id="'+self.pagClass+'-0" class="'+self.pagClass+'" style="display:none;">',pag=0,activePag=0,w=0;self.$el.find("li").length;self.$el.append('<li id="gal-ancho-flechas-pag" class="pag">&nbsp;</li>');var flechasW=$("#gal-ancho-flechas-pag").width();$("#gal-ancho-flechas-pag").remove(),self.maxWidth-=flechasW,self.$el.find("li").each((function(i,e){pL=parseInt($(e).css("padding-left")),pR=parseInt($(e).css("padding-right")),padding=pL+pR,sizeW=(parseInt($(e).width())+padding)*self.fontCorrector;var gal={id:parseInt($(e).find("a").attr("data-id"),10),width:sizeW,html:$(e).html()};$(e).remove(),(w+=gal.width)+flechasW>=self.maxWidth&&(pag++,html+='</ul><ul id="'+self.pagClass+"-"+pag+'" class="'+self.pagClass+'" style="display:none;">',w=gal.width),gal.id==self.activa?(activePag=pag,html+='<li class="gal activo">'):html+='<li class="gal">',html+=gal.html+"</li>"})),html+="</ul>",htmlPag="",pag>0&&(htmlPag+='<div class="pag">',htmlPag+='<span id="'+self.pagClass+'-prev" class="pag-prev"><a class="'+self.pagClass+'-prev" href="javascript:void(0)"title="'+i18n.texts.prevGal+'">'+dinaIcon.get("chevron-left")+"</a></span>",htmlPag+='<span id="'+self.pagClass+'-next" class="pag-next"><a class="'+self.pagClass+'-next" href="javascript:void(0)"title="'+i18n.texts.nextGal+'">'+dinaIcon.get("chevron-right")+"</a></span>",htmlPag+="</div>"),"before"==self.appendPos?html=htmlPag+html:html+=htmlPag,self.$el.parent().append(html),self.$el.remove(),$("#"+self.pagClass+"-"+activePag).show(),$.getMenuPagination.defaultOptions.maxPag=pag,$.getMenuPagination.defaultOptions.currPag=activePag,self.updPag(0)},doSpace:function(){this.$el.append('<div class="pag"></div>')},updPag:function(delta){0!==delta&&($("#"+this.pagClass+"-"+$.getMenuPagination.defaultOptions.currPag).hide(),delta<0?0==$.getMenuPagination.defaultOptions.currPag?$.getMenuPagination.defaultOptions.currPag=$.getMenuPagination.defaultOptions.maxPag:$.getMenuPagination.defaultOptions.currPag--:$.getMenuPagination.defaultOptions.currPag==$.getMenuPagination.defaultOptions.maxPag?$.getMenuPagination.defaultOptions.currPag=0:$.getMenuPagination.defaultOptions.currPag++,$("#"+this.pagClass+"-"+$.getMenuPagination.defaultOptions.currPag).show()),0==$.getMenuPagination.defaultOptions.currPag?($("#"+this.pagClass+"-prev > a").hide(),$("#"+this.pagClass+"-next > a").show()):$.getMenuPagination.defaultOptions.currPag==$.getMenuPagination.defaultOptions.maxPag?($("#"+this.pagClass+"-prev > a").show(),$("#"+this.pagClass+"-next > a").hide()):($("#"+this.pagClass+"-prev > a").show(),$("#"+this.pagClass+"-next > a").show())}},$.getMenuPagination.defaultOptions={currPag:!1,maxPag:!1}}(jQuery),function($){$.MenuScrollH=function(el,left,right,nav,offset,options){this.el=el,this.$el=$(this.el),this.navbar=nav,this.scrollLeft=left,this.scrollRight=right,this.$scrollLeft=$(this.scrollLeft),this.$scrollRight=$(this.scrollRight),this.$scrollLeftS=$(this.scrollLeft+".scrollable"),this.$scrollRightS=$(this.scrollRight+".scrollable"),this.$scrollLeftI=$(this.scrollLeft+" i"),this.$scrollRightI=$(this.scrollRight+" i"),this.offset="undefined"===offset||offset,this.navWidth=0,this.changeAlignZone={},void 0!==options?(this.changeAlign="undefined"===options.changeAlign?"right":options.changeAlign,this.userMargin="undefined"===options.userMargin||options.userMargin,this.menuZone="undefined"===options.menuZone?"":options.menuZone,""!=this.menuZone&&(this.changeAlignZone[this.menuZone]=this.changeAlign)):(this.changeAlign="right",this.userMargin=!0,this.menuZone="")},$.MenuScrollH.prototype={Init:function(){this.initPosScroll(),this.scrollToActive()},scrollMenu:function(type){var self=this;self.$scrollLeftS.bind("click touchstart",(function(event){event.preventDefault(),self.$el.scrollLeft()>0&&self.bindScroll("left")})).bind("mouseout touchend",(function(event){$.MenuScrollH.defaultOptions.doScrollLeft=!1})),self.$scrollRightS.bind("click touchstart",(function(event){event.preventDefault(),self.$el.scrollLeft()+self.$el.innerWidth()<self.$el[0].scrollWidth&&self.bindScroll("right")})).bind("mouseout touchend",(function(event){$.MenuScrollH.defaultOptions.doScrollRight=!1}))},bindScroll:function(dir){"left"==dir?($.MenuScrollH.defaultOptions.doScrollRight=!1,"Tablet"==DINA_DEVICE.type&&($.MenuScrollH.defaultOptions.doScrollLeft=!1),$.MenuScrollH.defaultOptions.doScrollLeft=!0):"right"==dir&&($.MenuScrollH.defaultOptions.doScrollLeft=!1,"Tablet"==DINA_DEVICE.type&&($.MenuScrollH.defaultOptions.doScrollRight=!1),$.MenuScrollH.defaultOptions.doScrollRight=!0),this.scroll(dir)},scroll:function(direction){w=this.$el.innerWidth()/2,newLeft="left"==direction?"-="+w:"+="+w,this.$el.animate({scrollLeft:newLeft},$.MenuScrollH.defaultOptions.speed)},initPosScroll:function(){if(menuAlign=this.changeAlign,""!=this.zoneMenu&&(menuAlign=this.changeAlignZone[this.menuZone]),widthLi=0,$.each($(this.el+" ul li"),(function(idx,v){widthLi+=$(v).width()})),$(".content-module-menu_desktop").width()<widthLi&&(menuAlign="left"),"right"==menuAlign&&($(this.navbar).parent().hasClass("menu-inlineblock")||$(this.navbar).parent().addClass("menu-inlineblock"),$(this.navbar).hasClass("menu-right")||"cairo2"!=DINA_THEME_NAME&&$(this.navbar).addClass("menu-right")),offset=this.offset?this.$el.offset().left:0,positionScroll=$(this.el+" ul").width()-1,this.$el.innerWidth()<positionScroll)switch(this.$scrollLeft.show(),this.$scrollRight.show(),this.showScrolls(),this.scrollMenu(),this.disableInitScrolls(),menuAlign){case"center":this.setAlign("remove","centered");break;case"right":this.setAlign("remove","right");break;case"left":this.setAlign("remove","left")}else switch(this.$scrollLeft.hide(),this.$scrollRight.hide(),menuAlign){case"center":this.setAlign("add","centered");break;case"right":this.setAlign("add","right");break;case"left":this.setAlign("add","left")}},disableInitScrolls:function(){0==this.$el.scrollLeft()&&(this.$scrollLeft.removeClass("scrollable"),this.$scrollLeftI.removeClass(getIconName("angle-left")).addClass("hidden")),offset=this.offset?this.$el.offset().left:0,positionScroll=$(this.el+" ul").width()-1,this.$el.scrollLeft()+this.$el.innerWidth()>=positionScroll?(this.$scrollRight.removeClass("scrollable"),this.$scrollRightI.removeClass(getIconName("angle-right")).addClass("hidden")):this.$scrollRightI.removeClass("hidden")},showScrolls:function(){var self=this;self.$el.on("scroll",(function(e){this.scrollLeft>0?(self.$scrollLeft.addClass("scrollable"),self.$scrollLeftI.addClass(getIconName("angle-left")).removeClass("hidden")):(self.$scrollLeft.removeClass("scrollable"),self.$scrollLeftI.removeClass(getIconName("angle-left")).addClass("hidden")),$(this).scrollLeft()+$(this).innerWidth()>=$(this)[0].scrollWidth?(self.$scrollRight.removeClass("scrollable"),self.$scrollRightI.removeClass(getIconName("angle-right")).addClass("hidden")):(self.$scrollRight.addClass("scrollable"),self.$scrollRightI.addClass(getIconName("angle-right")).removeClass("hidden"))}))},scrollToActive:function(){if(activo=$(this.el+" li.activo"),0==activo.length&&(activo=$(this.el+" li.gal-activa")),"newyork2"==DINA_THEME_NAME||"cairo2"==DINA_THEME_NAME)try{activo.length>0&&void 0!==$(this.navbar).offset()&&(offsetMenu=$(this.navbar).offset().left,offsetActivo=activo.offset().left,"newyork2"==DINA_THEME_NAME&&(offsetActivo-=75),$(this.el).width()-offsetMenu<offsetActivo+activo.width()&&(left=offsetActivo+activo.width()-($(this.el).width()-offsetMenu),newLeft="+="+left,this.$el.animate({scrollLeft:newLeft},$.MenuScrollH.defaultOptions.speed)))}catch(e){}},align:function(action){"add"==action?this.$el.addClass("navbar-right"):this.$el.removeClass("navbar-right")},setAlign:function(action,position){"add"==action?this.$el.addClass("menu-"+position):this.$el.removeClass("menu-"+position)},removeAllAligns:function(){void 0!==this.$el&&(this.$el.removeClass("menu-centered"),this.$el.removeClass("menu-right"),this.$el.removeClass("menu-left"))}},$.MenuScrollH.defaultOptions={speed:100,scrollMargin:75,doScroll:!1,doScrollLeft:!1,doScrollRight:!1}}(jQuery);var presentacionVegas=function(){var self={imagenes:{},coverType:!1,elem:"",$elem:"",zoom:{},setParams:function(options){self.elem=options.elem,self.$elem=$(self.elem),self.fotos=fotos,self.timeout=void 0!==options.timeout?options.timeout:4e3,self.cover=void 0===options.cover||options.cover,self.coverMobile=void 0!==options.coverMobile?options.coverMobile:"",self.zindex=void 0!==options.zindex?options.zindex:"",self.zindexn=void 0!==options.zindexn?options.zindexn:1,self.valign=void 0!==options.valign?options.valign:"center",self.controlsNext=void 0!==options.controlsNext?options.controlsNext:"",self.controlsPrev=void 0!==options.controlsPrev?options.controlsPrev:"",self.controlsPlay=void 0!==options.controlsPlay?options.controlsPlay:"",self.controlsPause=void 0!==options.controlsPause?options.controlsPause:"",self.controlsToggle=void 0!==options.controlsToggle?options.controlsToggle:"",self.zoom.active=void 0!==options.zoom_active&&options.zoom_active,self.zoom.time=void 0!==options.zoom_time&&self.zoom.active?options.zoom_time:self.timeout,self.zoom.type=void 0!==options.zoom_type&&self.zoom.active?options.zoom_type:"",self.text_effect=void 0!==options.text_effect&&options.text_effect,self.swipe_left=void 0!==options.swipe_left?options.swipe_left:"",self.swipe_right=void 0!==options.swipe_right?options.swipe_right:""},Init:function(options){self.setParams(options),self.options(),""!=self.coverMobile&&isMobileResol()&&(self.coverType=self.coverMobile),self.$elem.vegas({delay:self.timeout,timer:!1,cover:self.coverType,color:$("body").css("background-color"),slides:self.fotos,valign:self.valign,transition:"fade",animation:self.zoom.type,animationDuration:self.zoom.time,animationRegister:["customZoomIn","customZoomOut"],walk:function(index,img){self.text_effect||$(".slideshow-zone-text-image").addClass("show-zone-text-no-effect"),$(".slideshow-zone-text-image").removeClass("show-zone-text").removeClass("remove-zone-text"),setTimeout((function(){$(".slideshow-zone-text-image .slideshow-img-title").html(img.titulo),$(".slideshow-zone-text-image .slideshow-img-text").html(img.texto).text(),$(".slideshow-zone-text-image").addClass("show-zone-text")}),300),setTimeout((function(){$(".slideshow-zone-text-image").removeClass("show-zone-text").addClass("remove-zone-text")}),self.timeout-600)}}),self.controls(),$(window).resize((function(){self.reloadCover()}))},options:function(){self.getCoverType(),self.$elem.css({height:"100%"}),""!=self.zindex&&$(self.zindex).css({"z-index":self.zindexn})},getCoverType:function(){""!=self.coverMobile&&isMobileResol()?self.coverType=self.coverMobile:1==self.cover?self.coverType=!1:self.coverType="portrait"!=getVPOrientation()},reloadCover:function(){self.getCoverType(),setTimeout((function(){self.$elem.vegas("options","cover",self.coverType)}),100)},controls:function(){""!=self.controlsNext&&self.nextImg(),""!=self.controlsPrev&&self.prevImg(),""!=self.controlsPlay&&self.playSlide(),""!=self.controlsPause&&self.pauseSlide(),""!=self.controlsToggle&&self.toggleSlide()},nextImg:function(){$(self.controlsNext).on("click touchstart",(function(){self.$elem.vegas("next")}))},prevImg:function(){$(self.controlsPrev).on("click touchstart",(function(){self.$elem.vegas("previous")}))},playSlide:function(){$(self.controlsPlay).on("click touchstart",(function(){self.$elem.vegas("play")}))},pauseSlide:function(){$(self.controlsPause).on("click touchstart",(function(){self.$elem.vegas("pause")}))},toggleSlide:function(){$(self.controlsToggle).on("click touchstart",(function(){self.$elem.vegas("toggle")}))}};return self}(),theme2BlogSearch=function(){var self={};return self.clicked,self.init=function(){$(".blog-search-btn-index").on("click touchend",(function(e){clearTimeout(self.clicked),self.clicked=setTimeout((function(){e.preventDefault(),self.showInput()}),50)})),self.doSearch()},self.showInput=function(){var el=".blog-search-input-mobile";$("html,body").scrollTop(0),$(el).fadeToggle((function(){$(el).is(":visible")&&$(".blog-search-input").focus()}))},self.doSearch=function(){var el=".blog-search-input";$(el).keypress((function(e){13==e.which&&(e.preventDefault(),texto=$(el).val(),texto=void 0!==texto?texto:"",window.location=search_url+"?blog-search-text="+texto)}))},self}(),SearchBlogDesktop=function(){var self={};return self.theme=window.DINA_THEME_MODULES&&window.DINA_THEME_MODULES.blog||"",self.padding="5px 25px 5px 10px;",self.init=function(padding){"undefined"!==padding&&(self.padding=padding),$("."+self.theme+"-blog-search-btn-index").click((function(e){e.preventDefault(),self.showInput()})),self.doSearch()},self.showInput=function(){var el="."+self.theme+"-blog-search-index ."+self.theme+"-blog-search-input",trans="transition-searhc-index";$(el).hasClass(trans)?$(el).toggleClass(trans,(function(){setTimeout((function(){$(el).toggle()}),400)})):$(el).toggle().toggleClass(trans,800).focus()},self.doSearch=function(){var el="."+self.theme+"-blog-search-index ."+self.theme+"-blog-search-input";$(el).keypress((function(e){13==e.which&&(e.preventDefault(),self.execSearch())}))},self.execSearch=function(){var el="."+self.theme+"-blog-search-index ."+self.theme+"-blog-search-input";texto=$(el).val(),texto=void 0!==texto?texto:"",window.location=search_url+"?blog-search-text="+texto},self}(),MenuDropDown=function(){var self={el:"",$el:"",pointerOnSubmenu:!1,init:function(el){self.el=el,self.$el=$(self.el),self.switchURL(),self.resize()},resize:function(){$(window).resize((function(){self.switchURL()}))},switchURL:function(){self.$el.find("li.dropdown > a, li.dropdown > .a-options > a.title-option").each((function(idx,v){jvoid="javascript:void(0)",url1=$(v).attr("href"),url2=$(v).attr("data-href"),isMobileResol()||url1==jvoid&&$(v).removeAttr("data-href").attr("href",url2)}))},dropdown:function(that){id=$(that).attr("data-id"),$(".item-toggle-"+id).toggleClass("submenu-active")}};return self}(),ImagesGalURL=function(){var self={nuri:0,init:function(newUrl){uri=window.location.href.split("/"),self.nuri=uri.length},changeURL:function(newUrl,newFBurl){history.replaceState(null,newUrl,newUrl),void 0===typeof id&&(id=""),self.changeFBData()},changeFBData:function(id){change_sup=!1,uri=window.location.href.split("/"),self.nuri!=uri.length&&(change_sup=!0,self.nuri=uri.length),uriC=uri[uri.length-1],id_sup=$('meta[property="content:id_sup"]').attr("content"),DoAjaxQuery("get_share_data",{id:void 0!==id?id:"",id_sup:void 0!==id_sup?id_sup:"",url:uriC,uri:uri,change_sup:change_sup,auth_token:window.SHARE_authToken},(function(res){"ok"==res.resultado&&(datos=res.datos,null!=datos&&(title=$.parseHTML(datos.title),title=null!==title?title[0].nodeValue:"",$("title").text(title),$('meta[property="content:id"]').remove(),$('meta[property="content:id_sup"]').remove(),$('meta[property="content:type"]').remove(),$('meta[property="og:title"]').remove(),$('meta[property="og:url"]').remove(),$('meta[property="og:image"]').remove(),$('meta[property="og:image:type"]').remove(),$('meta[property="og:image:width"]').remove(),$('meta[property="og:image:height"]').remove(),$('meta[name="twitter:title"]').remove(),$('meta[name="twitter:image"]').remove(),metas="",metas+="<meta property='content:id' content='"+datos.id+"'>",metas+="<meta property='content:id_sup' content='"+datos.id_sup+"'>",metas+="<meta property='content:type' content='"+datos.content_type+"'>",metas+="<meta property='og:title' content='"+datos.title+"'>",metas+="<meta property='og:url' content='"+datos.share_url+"'>",metas+="<meta property='og:image' content='"+datos.share_image+"'>",metas+="<meta property='og:image:type' content='"+datos.share_type+"'>",metas+="<meta property='og:image:width' content='"+datos.share_image_width+"'>",metas+="<meta property='og:image:height' content='"+datos.share_image_height+"'>",metas+="<meta name='twitter:title' content='"+datos.title+"'>",metas+="<meta name='twitter:image' content='"+datos.share_image+"'>",$("head").append(metas),$("body").removeClass("content-type-gallery content-type-img content-type-video").addClass("content-type-"+datos.content_type)))}))},startSlide:function(start,type,el){if(uri=DINA_URI,uri=uri[uri.length-1],el=el+".dinashow-"+uri,start)switch(type){case"swipebox":case"dinagal":case"lightbox":default:$(el).trigger("click")}},startVideoHref:function(start,el){start&&(uri=DINA_URI,uri=uri[uri.length-1],el=el+".dinashow-"+uri,type=$(el).attr("data-type"),id=$(el).attr("data-id"),url_vid=$(el).attr("data-url_vid"),"vimeo"==type?ShowVideoV(id,url_vid):ShowVideoY(id,url_vid))},startVideoLightbox:function(start,el){start&&(uri=DINA_URI,uri=uri[uri.length-1],el=el+".dinashow-"+uri,id=$(el).attr("data-id"),videoPlayer.show(id))},getStartSlide:function(fotos){var img=self.getUrlParameter("img");return void 0!==img?uri=img:(uri=DINA_URI,uri=uri[uri.length-1]),ret=0,$.each(fotos,(function(idx,f){f.url_name==uri&&(ret=idx)})),ret},getUrlParameter:function(sParam){var sParameterName,i,sURLVariables=decodeURIComponent(window.location.search.substring(1)).split("&");for(i=0;i<sURLVariables.length;i++)if((sParameterName=sURLVariables[i].split("="))[0]===sParam)return void 0===sParameterName[1]||sParameterName[1]}};return self}();function elScroll(elMenu,elToggle,wtop){var dd=getDinaDevice();return el="iPhone"!=dd.os&&"iPad"!=dd.os||"Win32"==dd.platform?"html":"body",el}function stopAutoSlideshow(module){switch(module){case"carousel":case"slideshow":break;case"infinite":case"pages":null!==window.dinagal&&window.dinagal.pauseSlide()}}$(document).ready((function(){ImagesGalURL.init()})),$(document).ready((function(){$(".mobile-menu-show").on("click",(function(){setTimeout((function(){show_of=$(".mobile-menu-content").is(":visible"),$("body").toggleClass("show-overflow",show_of)}),1e3),$(".general-galeria-texto-content").text().length>0&&$(".general-galeria-texto").toggle()}))})),$(document).ready((function(){$(".general-close-slideshow").on("click",(function(){module=$(this).attr("data-module"),stopAutoSlideshow(module)}))}));var TouchManager=function(){var self={};return self.swipeDir,self.swipeTouch,self.hideTimeOut,self.switchClick,self.doTimeOut=!0,self.touchBtns,self.fullScreenClass,self.init=function(){},self.btnClicked=function(){$(document).bind("touchend",(function(e){self.touchBtns=!1,$(".general-galeria-btn").bind("touchend",(function(){self.touchBtns=!0}))}))},self.touchStart=function(){$(self.swipeTouch).bind("touchstart",(function(e){self.swipeDir=e.originalEvent.touches[0].clientX}))},self.touchEnd=function(){$(self.swipeTouch).bind("touchend",(function(e){if($("body").hasClass("theme1-mobile")?fullscreen=!0:$("body").hasClass("base-module-pages")?fullscreen=$("body").hasClass("content-type-video")||$("body").hasClass("content-type-img"):fullscreen=$(".content-base").hasClass(self.fullScreenClass),fullscreen){var te=e.originalEvent.changedTouches[0].clientX;if(noSwipe=Math.abs(self.swipeDir-te)<=5,noSwipe&&!self.touchBtns)return $(".general-galeria-btn,.pages-zone-title,.slideshow-zone-data-fullscreen,#swipebox-title").toggleClass("general-mobile-hide"),!1}}))},self.hideControls=function(){self.doTimeOut&&(self.hideTimeOut=setTimeout((function(){$(".general-galeria-btn,.pages-zone-title,.slideshow-zone-data-fullscreen,#swipebox-title").addClass("general-mobile-hide")}),5e3),self.doTimeOut=!1)},self}();$(window).load((function(){TouchManager.init()}));var textsIntro=function(){var self={el:null,click:".intro-text-close",swipe:".intro-texto-swipe",Init:function(el){self.el=el,self.closeIntroText()},toggleScrollbar:function(el,show,time){isMobileResol()||(desc=$(el+"-scroll"),setTimeout((function(){desc.toggle(show)}),time))},closeIntroText:function(){$(self.click).on("click",(function(){$(this).parent().fadeOut(),self.toggleScrollbar(self.el,!1,0)})),swipe_curr=!0,$(self.swipe).on("click",(function(){swipe_curr=!swipe_curr,bangkok=$("body").hasClass("layout-bangkok"),venezia2=$("body").hasClass("layout-venezia2"),swipe=bangkok?"swipe-go-right":"swipe-go-left",$(self.el).toggleClass(swipe,(function(){self.toggleScrollbar(self.el,swipe_curr,swipe_curr?600:0)})),$(self.swipe+" i").toggleClass(getIconName("angle-left")).toggleClass(getIconName("angle-right"))}))}};return self}();function onSubmitForm(formID){var antSendLabel="",submitButton=null,beforeSubmitForm=(formData,jqForm,options)=>{antSendLabel=submitButton.html(),submitButton.html(i18n.texts.Enviando+" ..."),submitButton.prop("disabled",!0)},processSubmitResponse=res=>{"ok"==res.resultado?($("#content-bottom-form").length>0&&($("#content-bottom-form").css({position:"relative",clear:"both"}),$("#content-bottom-form").html(res.mensaje),$("html,body").animate({scrollTop:$("#content-bottom-form").offset().top},"slow")),$("body").append(res.datos.tracking_code)):(submitButton.html(antSendLabel),submitButton.prop("disabled",!1),alert(res.mensaje.replace(/(<br>|<\/br>|<br\/>)/gim,"\n")))};$(document).ready(()=>{(submitButton=$("#content-form-"+formID+"-submit")).on("click",()=>{$("#content-form-"+formID).ajaxSubmit({dataType:"json",beforeSubmit:beforeSubmitForm,success:processSubmitResponse,error:processSubmitResponse})})})}function debug_console_log(){if("p"!=MODO_WEB){for(var mensajes=[],i=0;i<arguments.length;i++){var arg=arguments[i];"object"==typeof arg?mensajes.push(JSON.stringify(arg)):mensajes.push(arg)}var mensaje=mensajes.join(" ");console.log(mensaje)}}$.fn.rightClick=function(){$(this).mousedown((function(e){3==e.which||2==e.which?($(".text-copyright-images").length>0&&$(".text-copyright-images").remove(),wwin=$(window).width(),left=e.pageX,left+300>wwin&&(left=wwin-300),$('<div class="text-copyright-images"></div>').appendTo("body"),$(".text-copyright-images").html(window.txt_img_protect).css({position:"absolute",width:"300px",top:e.pageY,left:left,"background-color":"#444444","box-shadow":"rgba(0, 0, 0, 0.2) 0px 0px 0px 0px, rgba(0, 0, 0, 0.8) 0px 0px 10px 2px",color:"#ffffff",padding:"10px","font-size":"12px","font-family":"Verdana","line-height":"1.4em","z-index":"99999"})):$(".text-copyright-images").length>0&&$(".text-copyright-images").remove()}))},$(window).load((function(){$(".content-module-galeria").length>0&&$(".content-module-galeria,.infinite-galeria-full").rightClick(),$(".infinite-galeria-full").length>0&&$(".infinite-galeria-full").rightClick(),$(".content-module-intro").length>0&&$(".content-module-intro").rightClick(),setTimeout((function(){$(".content-container-section-color").length>0&&$(".content-container-section-color").rightClick()}),1e3),$(".content-module-blog img").length>0&&$(".content-module-blog img").rightClick(),$(".content-module-blog .img-div").length>0&&$(".content-module-blog .img-div").rightClick(),$("#block-album-images").length>0&&$("#block-album-images").rightClick(),$("#swipebox-slider .slide img").length>0&&$("#swipebox-slider .slide img").rightClick()}));function getIconName(icon,size,onlyName){var icons;return size=void 0===size?"":size,onlyName=void 0!==onlyName&&onlyName,sizes=["xs","sm","lg","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"],size=$.inArray(size,sizes)?" fa-"+size:"",icons=window.DINA_ICONS,ret=icons[icon],onlyName?ret=ret.replace("fa-solid ","").replace("fa-regular ","").replace("fa-light ","").replace("fa-duotone ","").replace("fa-brands ",""):ret+=size,"default-fasize "+ret}function getIconSize(size){return sizes=["xs","sm","lg","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"],size=$.inArray(size,sizes)?" fa-"+size:""}var cookieManager=(()=>{var self={set:function(pName,pValue,pExpiresDays,pPath,pSameSite,pDomain){return pExpiresDays=pExpiresDays||90,pPath=pPath||"/",pSameSite=pSameSite||"Strict",pDomain=pDomain||window.location.hostname,Cookies.set(pName,pValue,{expires:pExpiresDays,path:pPath,sameSite:pSameSite,domain:pDomain,secure:!0})},get:function(pName){return Cookies.get(pName)},exists:function(pName){return void 0!==self.get(pName)},delete:function(pName,pPath){void 0!==pPath&&(document.cookie=pName+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path="+pPath+";",document.cookie=pName+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path="+pPath+"; domain="+window.location.hostname+";",document.cookie=pName+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path="+pPath+"; domain=."+window.location.hostname+";"),document.cookie=pName+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/;",document.cookie=pName+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain="+window.location.hostname+";",document.cookie=pName+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=."+window.location.hostname+";",document.cookie=pName+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT;",document.cookie=pName+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; domain="+window.location.hostname+";",document.cookie=pName+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=."+window.location.hostname+";"}};return self})();async function loadCustomScript(type){await DoAjaxQuery("get_custom_script",{type:type},res=>{"ok"==res.resultado?$.each(res.datos,(idx,script)=>{$(script.tag).append(script.code)}):console.error(res.mensaje)})}function momentLocale(){moment.locale(window.DINA_CURRENT_LANGUAGE||window.DINA_DEFAULT_LANGUAGE)}function formatHour(hourStr,inputFormat){return window.DINA_DATE_FORMATS&&window.DINA_DATE_FORMATS.time?(momentLocale(),inputFormat=inputFormat||"HH:mm",moment(hourStr,[inputFormat],!0).format(window.DINA_DATE_FORMATS.time)):hourStr}function formatHourFromDateTime(dtStr){return formatHour(dtStr,"YYYY-MM-DD HH:mm:ss")}function getHourFromDateTime(dtStr){const parts=dtStr.split(" ");return parts.length>1?parts[1].substring(0,5):""}function formatDate(dateStr){return window.DINA_DATE_FORMATS&&window.DINA_DATE_FORMATS.short?(momentLocale(),dateStr=dateStr||moment().format("YYYY-MM-DD"),moment(dateStr.substring(0,10),["YYYY-MM-DD"],!0).format(window.DINA_DATE_FORMATS.short)):dateStr}function formatDateLong(dateStr){return window.DINA_DATE_FORMATS&&window.DINA_DATE_FORMATS.long?(momentLocale(),moment(dateStr,["YYYY-MM-DD"],!0).format(window.DINA_DATE_FORMATS.long)):dateStr}function weekdayDateShort(dateStr){momentLocale();const dateShort=moment(dateStr,["YYYY-MM-DD"],!0).format("ddd").toLowerCase();return"it"==(window.DINA_CURRENT_LANGUAGE||window.DINA_DEFAULT_LANGUAGE)?dateShort.toLowerCase():dateShort}function weekdayDateLong(dateStr){momentLocale();const dateLong=moment(dateStr,["YYYY-MM-DD"],!0).format("dddd");return"it"==(window.DINA_CURRENT_LANGUAGE||window.DINA_DEFAULT_LANGUAGE)?dateLong.toLowerCase():dateLong}function dowDate(dateStr){return momentLocale(),parseInt(moment(dateStr,["YYYY-MM-DD"],!0).day())}function dateToMySQL(dateStr){return window.DINA_DATE_FORMATS&&window.DINA_DATE_FORMATS.short&&""!==dateStr.trim()?(momentLocale(),moment(dateStr,[window.DINA_DATE_FORMATS.short],!0).format("YYYY-MM-DD")):dateStr}function dateToUnixTime(dateStr){return""===dateStr.trim()?0:moment(dateStr,["YYYY-MM-DD"],!0).unix()}function datetimeDiffMins(start,end){const mStart=moment(start,["YYYY-MM-DD HH:mm"],!0),mEnd=moment(end,["YYYY-MM-DD HH:mm"],!0);return mStart.diff(mEnd,"minutes")};jQuery.cookie=function(name,value,options){if(void 0===value){var cookieValue=null;if(document.cookie&&""!=document.cookie)for(var cookies=document.cookie.split(";"),i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length+1)==name+"="){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break}}return cookieValue}options=options||{},null===value&&(value="",options.expires=-1);var date,expires="";options.expires&&("number"==typeof options.expires||options.expires.toUTCString)&&("number"==typeof options.expires?(date=new Date).setTime(date.getTime()+24*options.expires*60*60*1e3):date=options.expires,expires="; expires="+date.toUTCString());var path=options.path?"; path="+options.path:"",domain=options.domain?"; domain="+options.domain:"",secure=options.secure?"; secure":"";document.cookie=[name,"=",encodeURIComponent(value),expires,path,domain,secure].join("")};!function(root,factory){"function"==typeof define&&define.amd?define(["jquery"],factory):"object"==typeof exports?factory(require("jquery")):root.jQuery?factory(root.jQuery):factory(root.Zepto)}(this,(function($,undefined){$.fn.jPlayer=function(options){var name="jPlayer",isMethodCall="string"==typeof options,args=Array.prototype.slice.call(arguments,1),returnValue=this;return options=!isMethodCall&&args.length?$.extend.apply(null,[!0,options].concat(args)):options,isMethodCall&&"_"===options.charAt(0)||(isMethodCall?this.each((function(){var instance=$(this).data(name),methodValue=instance&&$.isFunction(instance[options])?instance[options].apply(instance,args):instance;if(methodValue!==instance&&methodValue!==undefined)return returnValue=methodValue,!1})):this.each((function(){var instance=$(this).data(name);instance?instance.option(options||{}):$(this).data(name,new $.jPlayer(options,this))}))),returnValue},$.jPlayer=function(options,element){if(arguments.length){this.element=$(element),this.options=$.extend(!0,{},this.options,options);var self=this;this.element.bind("remove.jPlayer",(function(){self.destroy()})),this._init()}},"function"!=typeof $.fn.stop&&($.fn.stop=function(){}),$.jPlayer.emulateMethods="load play pause",$.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate",$.jPlayer.emulateOptions="muted volume",$.jPlayer.reservedEvent="ready flashreset resize repeat error warning",$.jPlayer.event={},$.each(["ready","setmedia","flashreset","resize","repeat","click","error","warning","loadstart","progress","suspend","abort","emptied","stalled","play","pause","loadedmetadata","loadeddata","waiting","playing","canplay","canplaythrough","seeking","seeked","timeupdate","ended","ratechange","durationchange","volumechange"],(function(){$.jPlayer.event[this]="jPlayer_"+this})),$.jPlayer.htmlEvent=["loadstart","abort","emptied","stalled","loadedmetadata","canplay","canplaythrough"],$.jPlayer.pause=function(){$.jPlayer.prototype.destroyRemoved(),$.each($.jPlayer.prototype.instances,(function(i,element){element.data("jPlayer").status.srcSet&&element.jPlayer("pause")}))},$.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""};var ConvertTime=function(){this.init()};ConvertTime.prototype={init:function(){this.options={timeFormat:$.jPlayer.timeFormat}},time:function(s){s=s&&"number"==typeof s?s:0;var myTime=new Date(1e3*s),hour=myTime.getUTCHours(),min=this.options.timeFormat.showHour?myTime.getUTCMinutes():myTime.getUTCMinutes()+60*hour,sec=this.options.timeFormat.showMin?myTime.getUTCSeconds():myTime.getUTCSeconds()+60*min,strHour=this.options.timeFormat.padHour&&hour<10?"0"+hour:hour,strMin=this.options.timeFormat.padMin&&min<10?"0"+min:min,strSec=this.options.timeFormat.padSec&&sec<10?"0"+sec:sec,strTime="";return strTime+=this.options.timeFormat.showHour?strHour+this.options.timeFormat.sepHour:"",strTime+=this.options.timeFormat.showMin?strMin+this.options.timeFormat.sepMin:"",strTime+=this.options.timeFormat.showSec?strSec+this.options.timeFormat.sepSec:""}};var myConvertTime=new ConvertTime;$.jPlayer.convertTime=function(s){return myConvertTime.time(s)},$.jPlayer.uaBrowser=function(userAgent){var ua=userAgent.toLowerCase(),match=/(webkit)[ \/]([\w.]+)/.exec(ua)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(ua)||/(msie) ([\w.]+)/.exec(ua)||ua.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(ua)||[];return{browser:match[1]||"",version:match[2]||"0"}},$.jPlayer.uaPlatform=function(userAgent){var ua=userAgent.toLowerCase(),platform=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/.exec(ua)||[],tablet=/(ipad|playbook)/.exec(ua)||!/(mobile)/.exec(ua)&&/(android)/.exec(ua)||[];return platform[1]&&(platform[1]=platform[1].replace(/\s/g,"_")),{platform:platform[1]||"",tablet:tablet[1]||""}},$.jPlayer.browser={},$.jPlayer.platform={};var browserMatch=$.jPlayer.uaBrowser(navigator.userAgent);browserMatch.browser&&($.jPlayer.browser[browserMatch.browser]=!0,$.jPlayer.browser.version=browserMatch.version);var platformMatch=$.jPlayer.uaPlatform(navigator.userAgent);platformMatch.platform&&($.jPlayer.platform[platformMatch.platform]=!0,$.jPlayer.platform.mobile=!platformMatch.tablet,$.jPlayer.platform.tablet=!!platformMatch.tablet),$.jPlayer.getDocMode=function(){var docMode;return $.jPlayer.browser.msie&&(document.documentMode?docMode=document.documentMode:(docMode=5,document.compatMode&&"CSS1Compat"===document.compatMode&&(docMode=7))),docMode},$.jPlayer.browser.documentMode=$.jPlayer.getDocMode(),$.jPlayer.nativeFeatures={init:function(){var fs,i,il,d=document,v=d.createElement("video"),spec={w3c:["fullscreenEnabled","fullscreenElement","requestFullscreen","exitFullscreen","fullscreenchange","fullscreenerror"],moz:["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],webkit:["","webkitCurrentFullScreenElement","webkitRequestFullScreen","webkitCancelFullScreen","webkitfullscreenchange",""],webkitVideo:["webkitSupportsFullscreen","webkitDisplayingFullscreen","webkitEnterFullscreen","webkitExitFullscreen","",""],ms:["","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError"]},specOrder=["w3c","moz","webkit","webkitVideo","ms"];for(this.fullscreen=fs={support:{w3c:!!d[spec.w3c[0]],moz:!!d[spec.moz[0]],webkit:"function"==typeof d[spec.webkit[3]],webkitVideo:"function"==typeof v[spec.webkitVideo[2]],ms:"function"==typeof v[spec.ms[2]]},used:{}},i=0,il=specOrder.length;i<il;i++){var n=specOrder[i];if(fs.support[n]){fs.spec=n,fs.used[n]=!0;break}}if(fs.spec){var s=spec[fs.spec];fs.api={fullscreenEnabled:!0,fullscreenElement:function(elem){return(elem=elem||d)[s[1]]},requestFullscreen:function(elem){return elem[s[2]]()},exitFullscreen:function(elem){return(elem=elem||d)[s[3]]()}},fs.event={fullscreenchange:s[4],fullscreenerror:s[5]}}else fs.api={fullscreenEnabled:!1,fullscreenElement:function(){return null},requestFullscreen:function(){},exitFullscreen:function(){}},fs.event={}}},$.jPlayer.nativeFeatures.init(),$.jPlayer.focus=null,$.jPlayer.keyIgnoreElementNames="A INPUT TEXTAREA SELECT BUTTON";var keyBindings=function(event){var ignoreKey,f=$.jPlayer.focus;f&&($.each($.jPlayer.keyIgnoreElementNames.split(/\s+/g),(function(i,name){if(event.target.nodeName.toUpperCase()===name.toUpperCase())return ignoreKey=!0,!1})),ignoreKey||$.each(f.options.keyBindings,(function(action,binding){if(binding&&$.isFunction(binding.fn)&&("number"==typeof binding.key&&event.which===binding.key||"string"==typeof binding.key&&event.key===binding.key))return event.preventDefault(),binding.fn(f),!1})))};$.jPlayer.keys=function(en){$(document.documentElement).unbind("keydown.jPlayer"),en&&$(document.documentElement).bind("keydown.jPlayer",keyBindings)},$.jPlayer.keys(!0),$.jPlayer.prototype={count:0,version:{script:"2.9.2",needFlash:"2.9.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",auroraFormats:"wav",preload:"metadata",volume:.8,muted:!1,remainingDuration:!1,toggleDuration:!1,captureDuration:!0,playbackRate:1,defaultPlaybackRate:1,minPlaybackRate:.5,maxPlaybackRate:4,wmode:"opaque",backgroundColor:"#000000",cssSelectorAncestor:"#jp_container_1",cssSelector:{videoPlay:".jp-video-play",play:".jp-play",pause:".jp-pause",stop:".jp-stop",seekBar:".jp-seek-bar",playBar:".jp-play-bar",mute:".jp-mute",unmute:".jp-unmute",volumeBar:".jp-volume-bar",volumeBarValue:".jp-volume-bar-value",volumeMax:".jp-volume-max",playbackRateBar:".jp-playback-rate-bar",playbackRateBarValue:".jp-playback-rate-bar-value",currentTime:".jp-current-time",duration:".jp-duration",title:".jp-title",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui",noSolution:".jp-no-solution"},stateClass:{playing:"jp-state-playing",seeking:"jp-state-seeking",muted:"jp-state-muted",looped:"jp-state-looped",fullScreen:"jp-state-full-screen",noVolume:"jp-state-no-volume"},useStateClassSkin:!1,autoBlur:!0,smoothPlayBar:!1,fullScreen:!1,fullWindow:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1e3},loop:!1,repeat:function(event){event.jPlayer.options.loop?$(this).unbind(".jPlayerRepeat").bind($.jPlayer.event.ended+".jPlayer.jPlayerRepeat",(function(){$(this).jPlayer("play")})):$(this).unbind(".jPlayerRepeat")},nativeVideoControls:{},noFullWindow:{msie:/msie [0-6]\./,ipad:/ipad.*?os [0-4]\./,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3]\.(?!.*?mobile)/,android_phone:/(?=.*android)(?!.*chrome)(?=.*mobile)/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/,playbook:/playbook/},timeFormat:{},keyEnabled:!1,audioFullScreen:!1,keyBindings:{play:{key:80,fn:function(f){f.status.paused?f.play():f.pause()}},fullScreen:{key:70,fn:function(f){(f.status.video||f.options.audioFullScreen)&&f._setOption("fullScreen",!f.options.fullScreen)}},muted:{key:77,fn:function(f){f._muted(!f.options.muted)}},volumeUp:{key:190,fn:function(f){f.volume(f.options.volume+.1)}},volumeDown:{key:188,fn:function(f){f.volume(f.options.volume-.1)}},loop:{key:76,fn:function(f){f._loop(!f.options.loop)}}},verticalVolume:!1,verticalPlaybackRate:!1,globalVolume:!1,idPrefix:"jp",noConflict:"jQuery",emulateHtml:!1,consoleAlerts:!0,errorAlerts:!1,warningAlerts:!1},optionsAudio:{size:{width:"0px",height:"0px",cssClass:""},sizeFull:{width:"0px",height:"0px",cssClass:""}},optionsVideo:{size:{width:"480px",height:"270px",cssClass:"jp-video-270p"},sizeFull:{width:"100%",height:"100%",cssClass:"jp-video-full"}},instances:{},status:{src:"",media:{},paused:!0,format:{},formatType:"",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,remaining:0,videoWidth:0,videoHeight:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,aurora:!0,flash:!0},format:{mp3:{codec:"audio/mpeg",flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,media:"audio"},m3u8a:{codec:'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',flashCanPlay:!1,media:"audio"},m3ua:{codec:"audio/mpegurl",flashCanPlay:!1,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis, opus"',flashCanPlay:!1,media:"audio"},flac:{codec:"audio/x-flac",flashCanPlay:!1,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:!1,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:!1,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:!0,media:"audio"},rtmpa:{codec:'audio/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!0,media:"video"},m3u8v:{codec:'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!1,media:"video"},m3uv:{codec:"audio/mpegurl",flashCanPlay:!1,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:!1,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:!1,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:!0,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"video"}},_init:function(){var self=this;if(this.element.empty(),this.status=$.extend({},this.status),this.internal=$.extend({},this.internal),this.options.timeFormat=$.extend({},$.jPlayer.timeFormat,this.options.timeFormat),this.internal.cmdsIgnored=$.jPlayer.platform.ipad||$.jPlayer.platform.iphone||$.jPlayer.platform.ipod,this.internal.domNode=this.element.get(0),this.options.keyEnabled&&!$.jPlayer.focus&&($.jPlayer.focus=this),this.androidFix={setMedia:!1,play:!1,pause:!1,time:NaN},$.jPlayer.platform.android&&(this.options.preload="auto"!==this.options.preload?"metadata":"auto"),this.formats=[],this.solutions=[],this.require={},this.htmlElement={},this.html={},this.html.audio={},this.html.video={},this.aurora={},this.aurora.formats=[],this.aurora.properties=[],this.flash={},this.css={},this.css.cs={},this.css.jq={},this.ancestorJq=[],this.options.volume=this._limitValue(this.options.volume,0,1),$.each(this.options.supplied.toLowerCase().split(","),(function(index1,value1){var format=value1.replace(/^\s+|\s+$/g,"");if(self.format[format]){var dupFound=!1;$.each(self.formats,(function(index2,value2){if(format===value2)return dupFound=!0,!1})),dupFound||self.formats.push(format)}})),$.each(this.options.solution.toLowerCase().split(","),(function(index1,value1){var solution=value1.replace(/^\s+|\s+$/g,"");if(self.solution[solution]){var dupFound=!1;$.each(self.solutions,(function(index2,value2){if(solution===value2)return dupFound=!0,!1})),dupFound||self.solutions.push(solution)}})),$.each(this.options.auroraFormats.toLowerCase().split(","),(function(index1,value1){var format=value1.replace(/^\s+|\s+$/g,"");if(self.format[format]){var dupFound=!1;$.each(self.aurora.formats,(function(index2,value2){if(format===value2)return dupFound=!0,!1})),dupFound||self.aurora.formats.push(format)}})),this.internal.instance="jp_"+this.count,this.instances[this.internal.instance]=this.element,this.element.attr("id")||this.element.attr("id",this.options.idPrefix+"_jplayer_"+this.count),this.internal.self=$.extend({},{id:this.element.attr("id"),jq:this.element}),this.internal.audio=$.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:undefined}),this.internal.video=$.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:undefined}),this.internal.flash=$.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:undefined,swf:this.options.swfPath+(".swf"!==this.options.swfPath.toLowerCase().slice(-4)?(this.options.swfPath&&"/"!==this.options.swfPath.slice(-1)?"/":"")+"jquery.jplayer.swf":"")}),this.internal.poster=$.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:undefined}),$.each($.jPlayer.event,(function(eventName,eventType){self.options[eventName]!==undefined&&(self.element.bind(eventType+".jPlayer",self.options[eventName]),self.options[eventName]=undefined)})),this.require.audio=!1,this.require.video=!1,$.each(this.formats,(function(priority,format){self.require[self.format[format].media]=!0})),this.require.video?this.options=$.extend(!0,{},this.optionsVideo,this.options):this.options=$.extend(!0,{},this.optionsAudio,this.options),this._setSize(),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this.status.noVolume=this._uaBlocklist(this.options.noVolume),$.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled&&this._fullscreenAddEventListeners(),this._restrictNativeVideoControls(),this.htmlElement.poster=document.createElement("img"),this.htmlElement.poster.id=this.internal.poster.id,this.htmlElement.poster.onload=function(){self.status.video&&!self.status.waitForPlay||self.internal.poster.jq.show()},this.element.append(this.htmlElement.poster),this.internal.poster.jq=$("#"+this.internal.poster.id),this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),this.internal.poster.jq.hide(),this.internal.poster.jq.bind("click.jPlayer",(function(){self._trigger($.jPlayer.event.click)})),this.html.audio.available=!1,this.require.audio&&(this.htmlElement.audio=document.createElement("audio"),this.htmlElement.audio.id=this.internal.audio.id,this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio)),this.html.video.available=!1,this.require.video&&(this.htmlElement.video=document.createElement("video"),this.htmlElement.video.id=this.internal.video.id,this.html.video.available=!!this.htmlElement.video.canPlayType&&this._testCanPlayType(this.htmlElement.video)),this.flash.available=this._checkForFlash(10.1),this.html.canPlay={},this.aurora.canPlay={},this.flash.canPlay={},$.each(this.formats,(function(priority,format){self.html.canPlay[format]=self.html[self.format[format].media].available&&""!==self.htmlElement[self.format[format].media].canPlayType(self.format[format].codec),self.aurora.canPlay[format]=$.inArray(format,self.aurora.formats)>-1,self.flash.canPlay[format]=self.format[format].flashCanPlay&&self.flash.available})),this.html.desired=!1,this.aurora.desired=!1,this.flash.desired=!1,$.each(this.solutions,(function(solutionPriority,solution){if(0===solutionPriority)self[solution].desired=!0;else{var audioCanPlay=!1,videoCanPlay=!1;$.each(self.formats,(function(formatPriority,format){self[self.solutions[0]].canPlay[format]&&("video"===self.format[format].media?videoCanPlay=!0:audioCanPlay=!0)})),self[solution].desired=self.require.audio&&!audioCanPlay||self.require.video&&!videoCanPlay}})),this.html.support={},this.aurora.support={},this.flash.support={},$.each(this.formats,(function(priority,format){self.html.support[format]=self.html.canPlay[format]&&self.html.desired,self.aurora.support[format]=self.aurora.canPlay[format]&&self.aurora.desired,self.flash.support[format]=self.flash.canPlay[format]&&self.flash.desired})),this.html.used=!1,this.aurora.used=!1,this.flash.used=!1,$.each(this.solutions,(function(solutionPriority,solution){$.each(self.formats,(function(formatPriority,format){if(self[solution].support[format])return self[solution].used=!0,!1}))})),this._resetActive(),this._resetGate(),this._cssSelectorAncestor(this.options.cssSelectorAncestor),this.html.used||this.aurora.used||this.flash.used?this.css.jq.noSolution.length&&this.css.jq.noSolution.hide():(this._error({type:$.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:$.jPlayer.errorMsg.NO_SOLUTION,hint:$.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show()),this.flash.used){var htmlObj,flashVars="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted;if($.jPlayer.browser.msie&&(Number($.jPlayer.browser.version)<9||$.jPlayer.browser.documentMode<9)){var objStr='<object id="'+this.internal.flash.id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"></object>',paramStr=['<param name="movie" value="'+this.internal.flash.swf+'" />','<param name="FlashVars" value="'+flashVars+'" />','<param name="allowScriptAccess" value="always" />','<param name="bgcolor" value="'+this.options.backgroundColor+'" />','<param name="wmode" value="'+this.options.wmode+'" />'];htmlObj=document.createElement(objStr);for(var i=0;i<paramStr.length;i++)htmlObj.appendChild(document.createElement(paramStr[i]))}else{var createParam=function(el,n,v){var p=document.createElement("param");p.setAttribute("name",n),p.setAttribute("value",v),el.appendChild(p)};(htmlObj=document.createElement("object")).setAttribute("id",this.internal.flash.id),htmlObj.setAttribute("name",this.internal.flash.id),htmlObj.setAttribute("data",this.internal.flash.swf),htmlObj.setAttribute("type","application/x-shockwave-flash"),htmlObj.setAttribute("width","1"),htmlObj.setAttribute("height","1"),htmlObj.setAttribute("tabindex","-1"),createParam(htmlObj,"flashvars",flashVars),createParam(htmlObj,"allowscriptaccess","always"),createParam(htmlObj,"bgcolor",this.options.backgroundColor),createParam(htmlObj,"wmode",this.options.wmode)}this.element.append(htmlObj),this.internal.flash.jq=$(htmlObj)}this.html.used&&!this.flash.used?this.status.playbackRateEnabled=this._testPlaybackRate("audio"):this.status.playbackRateEnabled=!1,this._updatePlaybackRate(),this.html.used&&(this.html.audio.available&&(this._addHtmlEventListeners(this.htmlElement.audio,this.html.audio),this.element.append(this.htmlElement.audio),this.internal.audio.jq=$("#"+this.internal.audio.id)),this.html.video.available&&(this._addHtmlEventListeners(this.htmlElement.video,this.html.video),this.element.append(this.htmlElement.video),this.internal.video.jq=$("#"+this.internal.video.id),this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):this.internal.video.jq.css({width:"0px",height:"0px"}),this.internal.video.jq.bind("click.jPlayer",(function(){self._trigger($.jPlayer.event.click)})))),this.aurora.used,this.options.emulateHtml&&this._emulateHtmlBridge(),!this.html.used&&!this.aurora.used||this.flash.used||setTimeout((function(){self.internal.ready=!0,self.version.flash="n/a",self._trigger($.jPlayer.event.repeat),self._trigger($.jPlayer.event.ready)}),100),this._updateNativeVideoControls(),this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),$.jPlayer.prototype.count++},destroy:function(){this.clearMedia(),this._removeUiClass(),this.css.jq.currentTime.length&&this.css.jq.currentTime.text(""),this.css.jq.duration.length&&this.css.jq.duration.text(""),$.each(this.css.jq,(function(fn,jq){jq.length&&jq.unbind(".jPlayer")})),this.internal.poster.jq.unbind(".jPlayer"),this.internal.video.jq&&this.internal.video.jq.unbind(".jPlayer"),this._fullscreenRemoveEventListeners(),this===$.jPlayer.focus&&($.jPlayer.focus=null),this.options.emulateHtml&&this._destroyHtmlBridge(),this.element.removeData("jPlayer"),this.element.unbind(".jPlayer"),this.element.empty(),delete this.instances[this.internal.instance]},destroyRemoved:function(){var self=this;$.each(this.instances,(function(i,element){self.element!==element&&(element.data("jPlayer")||(element.jPlayer("destroy"),delete self.instances[i]))}))},enable:function(){},disable:function(){},_testCanPlayType:function(elem){try{return elem.canPlayType(this.format.mp3.codec),!0}catch(err){return!1}},_testPlaybackRate:function(type){var el;type="string"==typeof type?type:"audio",el=document.createElement(type);try{return"playbackRate"in el&&(el.playbackRate=.5,.5===el.playbackRate)}catch(err){return!1}},_uaBlocklist:function(list){var ua=navigator.userAgent.toLowerCase(),block=!1;return $.each(list,(function(p,re){if(re&&re.test(ua))return block=!0,!1})),block},_restrictNativeVideoControls:function(){this.require.audio&&this.status.nativeVideoControls&&(this.status.nativeVideoControls=!1,this.status.noFullWindow=!0)},_updateNativeVideoControls:function(){this.html.video.available&&this.html.used&&(this.htmlElement.video.controls=this.status.nativeVideoControls,this._updateAutohide(),this.status.nativeVideoControls&&this.require.video?(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})):this.status.waitForPlay&&this.status.video&&(this.internal.poster.jq.show(),this.internal.video.jq.css({width:"0px",height:"0px"})))},_addHtmlEventListeners:function(mediaElement,entity){var self=this;mediaElement.preload=this.options.preload,mediaElement.muted=this.options.muted,mediaElement.volume=this.options.volume,this.status.playbackRateEnabled&&(mediaElement.defaultPlaybackRate=this.options.defaultPlaybackRate,mediaElement.playbackRate=this.options.playbackRate),mediaElement.addEventListener("progress",(function(){entity.gate&&(self.internal.cmdsIgnored&&this.readyState>0&&(self.internal.cmdsIgnored=!1),self._getHtmlStatus(mediaElement),self._updateInterface(),self._trigger($.jPlayer.event.progress))}),!1),mediaElement.addEventListener("loadeddata",(function(){entity.gate&&(self.androidFix.setMedia=!1,self.androidFix.play&&(self.androidFix.play=!1,self.play(self.androidFix.time)),self.androidFix.pause&&(self.androidFix.pause=!1,self.pause(self.androidFix.time)),self._trigger($.jPlayer.event.loadeddata))}),!1),mediaElement.addEventListener("timeupdate",(function(){entity.gate&&(self._getHtmlStatus(mediaElement),self._updateInterface(),self._trigger($.jPlayer.event.timeupdate))}),!1),mediaElement.addEventListener("durationchange",(function(){entity.gate&&(self._getHtmlStatus(mediaElement),self._updateInterface(),self._trigger($.jPlayer.event.durationchange))}),!1),mediaElement.addEventListener("play",(function(){entity.gate&&(self._updateButtons(!0),self._html_checkWaitForPlay(),self._trigger($.jPlayer.event.play))}),!1),mediaElement.addEventListener("playing",(function(){entity.gate&&(self._updateButtons(!0),self._seeked(),self._trigger($.jPlayer.event.playing))}),!1),mediaElement.addEventListener("pause",(function(){entity.gate&&(self._updateButtons(!1),self._trigger($.jPlayer.event.pause))}),!1),mediaElement.addEventListener("waiting",(function(){entity.gate&&(self._seeking(),self._trigger($.jPlayer.event.waiting))}),!1),mediaElement.addEventListener("seeking",(function(){entity.gate&&(self._seeking(),self._trigger($.jPlayer.event.seeking))}),!1),mediaElement.addEventListener("seeked",(function(){entity.gate&&(self._seeked(),self._trigger($.jPlayer.event.seeked))}),!1),mediaElement.addEventListener("volumechange",(function(){entity.gate&&(self.options.volume=mediaElement.volume,self.options.muted=mediaElement.muted,self._updateMute(),self._updateVolume(),self._trigger($.jPlayer.event.volumechange))}),!1),mediaElement.addEventListener("ratechange",(function(){entity.gate&&(self.options.defaultPlaybackRate=mediaElement.defaultPlaybackRate,self.options.playbackRate=mediaElement.playbackRate,self._updatePlaybackRate(),self._trigger($.jPlayer.event.ratechange))}),!1),mediaElement.addEventListener("suspend",(function(){entity.gate&&(self._seeked(),self._trigger($.jPlayer.event.suspend))}),!1),mediaElement.addEventListener("ended",(function(){entity.gate&&($.jPlayer.browser.webkit||(self.htmlElement.media.currentTime=0),self.htmlElement.media.pause(),self._updateButtons(!1),self._getHtmlStatus(mediaElement,!0),self._updateInterface(),self._trigger($.jPlayer.event.ended))}),!1),mediaElement.addEventListener("error",(function(){entity.gate&&(self._updateButtons(!1),self._seeked(),self.status.srcSet&&(clearTimeout(self.internal.htmlDlyCmdId),self.status.waitForLoad=!0,self.status.waitForPlay=!0,self.status.video&&!self.status.nativeVideoControls&&self.internal.video.jq.css({width:"0px",height:"0px"}),self._validString(self.status.media.poster)&&!self.status.nativeVideoControls&&self.internal.poster.jq.show(),self.css.jq.videoPlay.length&&self.css.jq.videoPlay.show(),self._error({type:$.jPlayer.error.URL,context:self.status.src,message:$.jPlayer.errorMsg.URL,hint:$.jPlayer.errorHint.URL})))}),!1),$.each($.jPlayer.htmlEvent,(function(i,eventType){mediaElement.addEventListener(this,(function(){entity.gate&&self._trigger($.jPlayer.event[eventType])}),!1)}))},_addAuroraEventListeners:function(player,entity){var self=this;player.volume=100*this.options.volume,player.on("progress",(function(){entity.gate&&(self.internal.cmdsIgnored&&this.readyState>0&&(self.internal.cmdsIgnored=!1),self._getAuroraStatus(player),self._updateInterface(),self._trigger($.jPlayer.event.progress),player.duration>0&&self._trigger($.jPlayer.event.timeupdate))}),!1),player.on("ready",(function(){entity.gate&&self._trigger($.jPlayer.event.loadeddata)}),!1),player.on("duration",(function(){entity.gate&&(self._getAuroraStatus(player),self._updateInterface(),self._trigger($.jPlayer.event.durationchange))}),!1),player.on("end",(function(){entity.gate&&(self._updateButtons(!1),self._getAuroraStatus(player,!0),self._updateInterface(),self._trigger($.jPlayer.event.ended))}),!1),player.on("error",(function(){entity.gate&&(self._updateButtons(!1),self._seeked(),self.status.srcSet&&(self.status.waitForLoad=!0,self.status.waitForPlay=!0,self.status.video&&!self.status.nativeVideoControls&&self.internal.video.jq.css({width:"0px",height:"0px"}),self._validString(self.status.media.poster)&&!self.status.nativeVideoControls&&self.internal.poster.jq.show(),self.css.jq.videoPlay.length&&self.css.jq.videoPlay.show(),self._error({type:$.jPlayer.error.URL,context:self.status.src,message:$.jPlayer.errorMsg.URL,hint:$.jPlayer.errorHint.URL})))}),!1)},_getHtmlStatus:function(media,override){var ct=0,cpa=0,sp=0,cpr=0;isFinite(media.duration)&&(this.status.duration=media.duration),ct=media.currentTime,cpa=this.status.duration>0?100*ct/this.status.duration:0,"object"==typeof media.seekable&&media.seekable.length>0?(sp=this.status.duration>0?100*media.seekable.end(media.seekable.length-1)/this.status.duration:100,cpr=this.status.duration>0?100*media.currentTime/media.seekable.end(media.seekable.length-1):0):(sp=100,cpr=cpa),override&&(ct=0,cpr=0,cpa=0),this.status.seekPercent=sp,this.status.currentPercentRelative=cpr,this.status.currentPercentAbsolute=cpa,this.status.currentTime=ct,this.status.remaining=this.status.duration-this.status.currentTime,this.status.videoWidth=media.videoWidth,this.status.videoHeight=media.videoHeight,this.status.readyState=media.readyState,this.status.networkState=media.networkState,this.status.playbackRate=media.playbackRate,this.status.ended=media.ended},_getAuroraStatus:function(player,override){var ct=0,cpa=0,sp=0,cpr=0;this.status.duration=player.duration/1e3,ct=player.currentTime/1e3,cpa=this.status.duration>0?100*ct/this.status.duration:0,player.buffered>0?(sp=this.status.duration>0?player.buffered*this.status.duration/this.status.duration:100,cpr=this.status.duration>0?ct/(player.buffered*this.status.duration):0):(sp=100,cpr=cpa),override&&(ct=0,cpr=0,cpa=0),this.status.seekPercent=sp,this.status.currentPercentRelative=cpr,this.status.currentPercentAbsolute=cpa,this.status.currentTime=ct,this.status.remaining=this.status.duration-this.status.currentTime,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_resetStatus:function(){this.status=$.extend({},this.status,$.jPlayer.prototype.status)},_trigger:function(eventType,error,warning){var event=$.Event(eventType);event.jPlayer={},event.jPlayer.version=$.extend({},this.version),event.jPlayer.options=$.extend(!0,{},this.options),event.jPlayer.status=$.extend(!0,{},this.status),event.jPlayer.html=$.extend(!0,{},this.html),event.jPlayer.aurora=$.extend(!0,{},this.aurora),event.jPlayer.flash=$.extend(!0,{},this.flash),error&&(event.jPlayer.error=$.extend({},error)),warning&&(event.jPlayer.warning=$.extend({},warning)),this.element.trigger(event)},jPlayerFlashEvent:function(eventType,status){if(eventType===$.jPlayer.event.ready)if(this.internal.ready){if(this.flash.gate){if(this.status.srcSet){var currentTime=this.status.currentTime,paused=this.status.paused;this.setMedia(this.status.media),this.volumeWorker(this.options.volume),currentTime>0&&(paused?this.pause(currentTime):this.play(currentTime))}this._trigger($.jPlayer.event.flashreset)}}else this.internal.ready=!0,this.internal.flash.jq.css({width:"0px",height:"0px"}),this.version.flash=status.version,this.version.needFlash!==this.version.flash&&this._error({type:$.jPlayer.error.VERSION,context:this.version.flash,message:$.jPlayer.errorMsg.VERSION+this.version.flash,hint:$.jPlayer.errorHint.VERSION}),this._trigger($.jPlayer.event.repeat),this._trigger(eventType);if(this.flash.gate)switch(eventType){case $.jPlayer.event.progress:case $.jPlayer.event.timeupdate:this._getFlashStatus(status),this._updateInterface(),this._trigger(eventType);break;case $.jPlayer.event.play:this._seeked(),this._updateButtons(!0),this._trigger(eventType);break;case $.jPlayer.event.pause:case $.jPlayer.event.ended:this._updateButtons(!1),this._trigger(eventType);break;case $.jPlayer.event.click:this._trigger(eventType);break;case $.jPlayer.event.error:this.status.waitForLoad=!0,this.status.waitForPlay=!0,this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"}),this._validString(this.status.media.poster)&&this.internal.poster.jq.show(),this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show(),this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media),this._updateButtons(!1),this._error({type:$.jPlayer.error.URL,context:status.src,message:$.jPlayer.errorMsg.URL,hint:$.jPlayer.errorHint.URL});break;case $.jPlayer.event.seeking:this._seeking(),this._trigger(eventType);break;case $.jPlayer.event.seeked:this._seeked(),this._trigger(eventType);break;case $.jPlayer.event.ready:break;default:this._trigger(eventType)}return!1},_getFlashStatus:function(status){this.status.seekPercent=status.seekPercent,this.status.currentPercentRelative=status.currentPercentRelative,this.status.currentPercentAbsolute=status.currentPercentAbsolute,this.status.currentTime=status.currentTime,this.status.duration=status.duration,this.status.remaining=status.duration-status.currentTime,this.status.videoWidth=status.videoWidth,this.status.videoHeight=status.videoHeight,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_updateButtons:function(playing){playing===undefined?playing=!this.status.paused:this.status.paused=!playing,playing?this.addStateClass("playing"):this.removeStateClass("playing"),!this.status.noFullWindow&&this.options.fullWindow?this.addStateClass("fullScreen"):this.removeStateClass("fullScreen"),this.options.loop?this.addStateClass("looped"):this.removeStateClass("looped"),this.css.jq.play.length&&this.css.jq.pause.length&&(playing?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide())),this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.status.noFullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.hide()):this.options.fullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide())),this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),this.css.jq.repeatOff.show()):(this.css.jq.repeat.show(),this.css.jq.repeatOff.hide()))},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+"%"),this.css.jq.playBar.length&&(this.options.smoothPlayBar?this.css.jq.playBar.stop().animate({width:this.status.currentPercentAbsolute+"%"},250,"linear"):this.css.jq.playBar.width(this.status.currentPercentRelative+"%"));this.css.jq.currentTime.length&&this._convertTime(this.status.currentTime)!==this.css.jq.currentTime.text()&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime));var durationText="",duration=this.status.duration,remaining=this.status.remaining;this.css.jq.duration.length&&("string"==typeof this.status.media.duration?durationText=this.status.media.duration:("number"==typeof this.status.media.duration&&(remaining=(duration=this.status.media.duration)-this.status.currentTime),durationText=this.options.remainingDuration?(remaining>0?"-":"")+this._convertTime(remaining):this._convertTime(duration)),durationText!==this.css.jq.duration.text()&&this.css.jq.duration.text(durationText))},_convertTime:ConvertTime.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg"),this.addStateClass("seeking")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg"),this.removeStateClass("seeking")},_resetGate:function(){this.html.audio.gate=!1,this.html.video.gate=!1,this.aurora.gate=!1,this.flash.gate=!1},_resetActive:function(){this.html.active=!1,this.aurora.active=!1,this.flash.active=!1},_escapeHtml:function(s){return s.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;").split('"').join("&quot;")},_qualifyURL:function(url){var el=document.createElement("div");return el.innerHTML='<a href="'+this._escapeHtml(url)+'">x</a>',el.firstChild.href},_absoluteMediaUrls:function(media){var self=this;return $.each(media,(function(type,url){url&&self.format[type]&&"data:"!==url.substr(0,5)&&(media[type]=self._qualifyURL(url))})),media},addStateClass:function(state){this.ancestorJq.length&&this.ancestorJq.addClass(this.options.stateClass[state])},removeStateClass:function(state){this.ancestorJq.length&&this.ancestorJq.removeClass(this.options.stateClass[state])},setMedia:function(media){var self=this,supported=!1,posterChanged=this.status.media.poster!==media.poster;this._resetMedia(),this._resetGate(),this._resetActive(),this.androidFix.setMedia=!1,this.androidFix.play=!1,this.androidFix.pause=!1,media=this._absoluteMediaUrls(media),$.each(this.formats,(function(formatPriority,format){var isVideo="video"===self.format[format].media;if($.each(self.solutions,(function(solutionPriority,solution){if(self[solution].support[format]&&self._validString(media[format])){var isHtml="html"===solution,isAurora="aurora"===solution;return isVideo?(isHtml?(self.html.video.gate=!0,self._html_setVideo(media),self.html.active=!0):(self.flash.gate=!0,self._flash_setVideo(media),self.flash.active=!0),self.css.jq.videoPlay.length&&self.css.jq.videoPlay.show(),self.status.video=!0):(isHtml?(self.html.audio.gate=!0,self._html_setAudio(media),self.html.active=!0,$.jPlayer.platform.android&&(self.androidFix.setMedia=!0)):isAurora?(self.aurora.gate=!0,self._aurora_setAudio(media),self.aurora.active=!0):(self.flash.gate=!0,self._flash_setAudio(media),self.flash.active=!0),self.css.jq.videoPlay.length&&self.css.jq.videoPlay.hide(),self.status.video=!1),supported=!0,!1}})),supported)return!1})),supported?(this.status.nativeVideoControls&&this.html.video.gate||this._validString(media.poster)&&(posterChanged?this.htmlElement.poster.src=media.poster:this.internal.poster.jq.show()),"string"==typeof media.title&&(this.css.jq.title.length&&this.css.jq.title.html(media.title),this.htmlElement.audio&&this.htmlElement.audio.setAttribute("title",media.title),this.htmlElement.video&&this.htmlElement.video.setAttribute("title",media.title)),this.status.srcSet=!0,this.status.media=$.extend({},media),this._updateButtons(!1),this._updateInterface(),this._trigger($.jPlayer.event.setmedia)):this._error({type:$.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:$.jPlayer.errorMsg.NO_SUPPORT,hint:$.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus(),this._updateButtons(!1),this._updateInterface(),this._seeked(),this.internal.poster.jq.hide(),clearTimeout(this.internal.htmlDlyCmdId),this.html.active?this._html_resetMedia():this.aurora.active?this._aurora_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia(),this.html.active?this._html_clearMedia():this.aurora.active?this._aurora_clearMedia():this.flash.active&&this._flash_clearMedia(),this._resetGate(),this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.aurora.active?this._aurora_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},focus:function(){this.options.keyEnabled&&($.jPlayer.focus=this)},play:function(time){"object"==typeof time&&this.options.useStateClassSkin&&!this.status.paused?this.pause(time):(time="number"==typeof time?time:NaN,this.status.srcSet?(this.focus(),this.html.active?this._html_play(time):this.aurora.active?this._aurora_play(time):this.flash.active&&this._flash_play(time)):this._urlNotSetError("play")),"undefined"!=typeof jplayerPlay&&jplayerPlay()},videoPlay:function(){this.play()},pause:function(time){time="number"==typeof time?time:NaN,this.status.srcSet?this.html.active?this._html_pause(time):this.aurora.active?this._aurora_pause(time):this.flash.active&&this._flash_pause(time):this._urlNotSetError("pause"),"undefined"!=typeof jplayerPause&&jplayerPause()},tellOthers:function(command,conditions){var self=this,hasConditions="function"==typeof conditions,args=Array.prototype.slice.call(arguments);"string"==typeof command&&(hasConditions&&args.splice(1,1),$.jPlayer.prototype.destroyRemoved(),$.each(this.instances,(function(){self.element!==this&&(hasConditions&&!conditions.call(this.data("jPlayer"),self)||this.jPlayer.apply(this,args))})))},pauseOthers:function(time){this.tellOthers("pause",(function(){return this.status.srcSet}),time)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.aurora.active?this._aurora_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(p){p=this._limitValue(p,0,100),this.status.srcSet?this.html.active?this._html_playHead(p):this.aurora.active?this._aurora_playHead(p):this.flash.active&&this._flash_playHead(p):this._urlNotSetError("playHead")},_muted:function(muted){this.mutedWorker(muted),this.options.globalVolume&&this.tellOthers("mutedWorker",(function(){return this.options.globalVolume}),muted)},mutedWorker:function(muted){this.options.muted=muted,this.html.used&&this._html_setProperty("muted",muted),this.aurora.used&&this._aurora_mute(muted),this.flash.used&&this._flash_mute(muted),this.html.video.gate||this.html.audio.gate||(this._updateMute(muted),this._updateVolume(this.options.volume),this._trigger($.jPlayer.event.volumechange))},mute:function(mute){"object"==typeof mute&&this.options.useStateClassSkin&&this.options.muted?this._muted(!1):(mute=mute===undefined||!!mute,this._muted(mute))},unmute:function(unmute){unmute=unmute===undefined||!!unmute,this._muted(!unmute)},_updateMute:function(mute){mute===undefined&&(mute=this.options.muted),mute?this.addStateClass("muted"):this.removeStateClass("muted"),this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):mute?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(v){this.volumeWorker(v),this.options.globalVolume&&this.tellOthers("volumeWorker",(function(){return this.options.globalVolume}),v)},volumeWorker:function(v){v=this._limitValue(v,0,1),this.options.volume=v,this.html.used&&this._html_setProperty("volume",v),this.aurora.used&&this._aurora_volume(v),this.flash.used&&this._flash_volume(v),this.html.video.gate||this.html.audio.gate||(this._updateVolume(v),this._trigger($.jPlayer.event.volumechange))},volumeBar:function(e){if(this.css.jq.volumeBar.length){var $bar=$(e.currentTarget),offset=$bar.offset(),x=e.pageX-offset.left,w=$bar.width(),y=$bar.height()-e.pageY+offset.top,h=$bar.height();this.options.verticalVolume?this.volume(y/h):this.volume(x/w)}this.options.muted&&this._muted(!1)},_updateVolume:function(v){v===undefined&&(v=this.options.volume),v=this.options.muted?0:v,this.status.noVolume?(this.addStateClass("noVolume"),this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()):(this.removeStateClass("noVolume"),this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](100*v+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1),this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(ancestor){var self=this;this.options.cssSelectorAncestor=ancestor,this._removeUiClass(),this.ancestorJq=ancestor?$(ancestor):[],ancestor&&1!==this.ancestorJq.length&&this._warning({type:$.jPlayer.warning.CSS_SELECTOR_COUNT,context:ancestor,message:$.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:$.jPlayer.warningHint.CSS_SELECTOR_COUNT}),this._addUiClass(),$.each(this.options.cssSelector,(function(fn,cssSel){self._cssSelector(fn,cssSel)})),this._updateInterface(),this._updateButtons(),this._updateAutohide(),this._updateVolume(),this._updateMute()},_cssSelector:function(fn,cssSel){var self=this;if("string"==typeof cssSel)if($.jPlayer.prototype.options.cssSelector[fn]){if(this.css.jq[fn]&&this.css.jq[fn].length&&this.css.jq[fn].unbind(".jPlayer"),this.options.cssSelector[fn]=cssSel,this.css.cs[fn]=this.options.cssSelectorAncestor+" "+cssSel,this.css.jq[fn]=cssSel?$(this.css.cs[fn]):[],this.css.jq[fn].length&&this[fn]){this.css.jq[fn].bind("click.jPlayer",(function(e){e.preventDefault(),self[fn](e),self.options.autoBlur?$(this).blur():$(this).focus()}))}cssSel&&1!==this.css.jq[fn].length&&this._warning({type:$.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[fn],message:$.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[fn].length+" found for "+fn+" method.",hint:$.jPlayer.warningHint.CSS_SELECTOR_COUNT})}else this._warning({type:$.jPlayer.warning.CSS_SELECTOR_METHOD,context:fn,message:$.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:$.jPlayer.warningHint.CSS_SELECTOR_METHOD});else this._warning({type:$.jPlayer.warning.CSS_SELECTOR_STRING,context:cssSel,message:$.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:$.jPlayer.warningHint.CSS_SELECTOR_STRING})},duration:function(e){this.options.toggleDuration&&(this.options.captureDuration&&e.stopPropagation(),this._setOption("remainingDuration",!this.options.remainingDuration))},seekBar:function(e){if(this.css.jq.seekBar.length){var $bar=$(e.currentTarget),offset=$bar.offset(),p=100*(e.pageX-offset.left)/$bar.width();this.playHead(p)}},playbackRate:function(pbr){this._setOption("playbackRate",pbr)},playbackRateBar:function(e){if(this.css.jq.playbackRateBar.length){var pbr,$bar=$(e.currentTarget),offset=$bar.offset(),x=e.pageX-offset.left,w=$bar.width(),y=$bar.height()-e.pageY+offset.top,h=$bar.height();pbr=(this.options.verticalPlaybackRate?y/h:x/w)*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+this.options.minPlaybackRate,this.playbackRate(pbr)}},_updatePlaybackRate:function(){var ratio=(this.options.playbackRate-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);this.status.playbackRateEnabled?(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show(),this.css.jq.playbackRateBarValue.length&&(this.css.jq.playbackRateBarValue.show(),this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](100*ratio+"%"))):(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide(),this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide())},repeat:function(event){"object"==typeof event&&this.options.useStateClassSkin&&this.options.loop?this._loop(!1):this._loop(!0)},repeatOff:function(){this._loop(!1)},_loop:function(loop){this.options.loop!==loop&&(this.options.loop=loop,this._updateButtons(),this._trigger($.jPlayer.event.repeat))},option:function(key,value){var options=key;if(0===arguments.length)return $.extend(!0,{},this.options);if("string"==typeof key){var keys=key.split(".");if(value===undefined){for(var opt=$.extend(!0,{},this.options),i=0;i<keys.length;i++){if(opt[keys[i]]===undefined)return this._warning({type:$.jPlayer.warning.OPTION_KEY,context:key,message:$.jPlayer.warningMsg.OPTION_KEY,hint:$.jPlayer.warningHint.OPTION_KEY}),undefined;opt=opt[keys[i]]}return opt}for(var opts=options={},j=0;j<keys.length;j++)j<keys.length-1?(opts[keys[j]]={},opts=opts[keys[j]]):opts[keys[j]]=value}return this._setOptions(options),this},_setOptions:function(options){var self=this;return $.each(options,(function(key,value){self._setOption(key,value)})),this},_setOption:function(key,value){var self=this;switch(key){case"volume":this.volume(value);break;case"muted":this._muted(value);break;case"globalVolume":this.options[key]=value;break;case"cssSelectorAncestor":this._cssSelectorAncestor(value);break;case"cssSelector":$.each(value,(function(fn,cssSel){self._cssSelector(fn,cssSel)}));break;case"playbackRate":this.options[key]=value=this._limitValue(value,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("playbackRate",value),this._updatePlaybackRate();break;case"defaultPlaybackRate":this.options[key]=value=this._limitValue(value,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("defaultPlaybackRate",value),this._updatePlaybackRate();break;case"minPlaybackRate":this.options[key]=value=this._limitValue(value,.1,this.options.maxPlaybackRate-.1),this._updatePlaybackRate();break;case"maxPlaybackRate":this.options[key]=value=this._limitValue(value,this.options.minPlaybackRate+.1,16),this._updatePlaybackRate();break;case"fullScreen":if(this.options[key]!==value){var wkv=$.jPlayer.nativeFeatures.fullscreen.used.webkitVideo;(!wkv||wkv&&!this.status.waitForPlay)&&(wkv||(this.options[key]=value),value?this._requestFullscreen():this._exitFullscreen(),wkv||this._setOption("fullWindow",value))}break;case"fullWindow":this.options[key]!==value&&(this._removeUiClass(),this.options[key]=value,this._refreshSize());break;case"size":this.options.fullWindow||this.options[key].cssClass===value.cssClass||this._removeUiClass(),this.options[key]=$.extend({},this.options[key],value),this._refreshSize();break;case"sizeFull":this.options.fullWindow&&this.options[key].cssClass!==value.cssClass&&this._removeUiClass(),this.options[key]=$.extend({},this.options[key],value),this._refreshSize();break;case"autohide":this.options[key]=$.extend({},this.options[key],value),this._updateAutohide();break;case"loop":this._loop(value);break;case"remainingDuration":this.options[key]=value,this._updateInterface();break;case"toggleDuration":this.options[key]=value;break;case"nativeVideoControls":this.options[key]=$.extend({},this.options[key],value),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this._restrictNativeVideoControls(),this._updateNativeVideoControls();break;case"noFullWindow":this.options[key]=$.extend({},this.options[key],value),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this._restrictNativeVideoControls(),this._updateButtons();break;case"noVolume":this.options[key]=$.extend({},this.options[key],value),this.status.noVolume=this._uaBlocklist(this.options.noVolume),this._updateVolume(),this._updateMute();break;case"emulateHtml":this.options[key]!==value&&(this.options[key]=value,value?this._emulateHtmlBridge():this._destroyHtmlBridge());break;case"timeFormat":this.options[key]=$.extend({},this.options[key],value);break;case"keyEnabled":this.options[key]=value,value||this!==$.jPlayer.focus||($.jPlayer.focus=null);break;case"keyBindings":this.options[key]=$.extend(!0,{},this.options[key],value);break;case"audioFullScreen":case"autoBlur":this.options[key]=value}return this},_refreshSize:function(){this._setSize(),this._addUiClass(),this._updateSize(),this._updateButtons(),this._updateAutohide(),this._trigger($.jPlayer.event.resize)},_setSize:function(){this.options.fullWindow?(this.status.width=this.options.sizeFull.width,this.status.height=this.options.sizeFull.height,this.status.cssClass=this.options.sizeFull.cssClass):(this.status.width=this.options.size.width,this.status.height=this.options.size.height,this.status.cssClass=this.options.size.cssClass),this.element.css({width:this.status.width,height:this.status.height})},_addUiClass:function(){this.ancestorJq.length&&this.ancestorJq.addClass(this.status.cssClass)},_removeUiClass:function(){this.ancestorJq.length&&this.ancestorJq.removeClass(this.status.cssClass)},_updateSize:function(){this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),!this.status.waitForPlay&&this.html.active&&this.status.video||this.html.video.available&&this.html.used&&this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):!this.status.waitForPlay&&this.flash.active&&this.status.video&&this.internal.flash.jq.css({width:this.status.width,height:this.status.height})},_updateAutohide:function(){var self=this,eventType="mousemove.jPlayer.jPlayerAutohide",handler=function(event){var deltaX,deltaY,moved=!1;void 0!==self.internal.mouse?(deltaX=self.internal.mouse.x-event.pageX,deltaY=self.internal.mouse.y-event.pageY,moved=Math.floor(deltaX)>0||Math.floor(deltaY)>0):moved=!0,self.internal.mouse={x:event.pageX,y:event.pageY},moved&&self.css.jq.gui.fadeIn(self.options.autohide.fadeIn,(function(){clearTimeout(self.internal.autohideId),self.internal.autohideId=setTimeout((function(){self.css.jq.gui.fadeOut(self.options.autohide.fadeOut)}),self.options.autohide.hold)}))};this.css.jq.gui.length&&(this.css.jq.gui.stop(!0,!0),clearTimeout(this.internal.autohideId),delete this.internal.mouse,this.element.unbind(".jPlayerAutohide"),this.css.jq.gui.unbind(".jPlayerAutohide"),this.status.nativeVideoControls?this.css.jq.gui.hide():this.options.fullWindow&&this.options.autohide.full||!this.options.fullWindow&&this.options.autohide.restored?(this.element.bind(eventType,handler),this.css.jq.gui.bind(eventType,handler),this.css.jq.gui.hide()):this.css.jq.gui.show())},fullScreen:function(event){"object"==typeof event&&this.options.useStateClassSkin&&this.options.fullScreen?this._setOption("fullScreen",!1):this._setOption("fullScreen",!0)},restoreScreen:function(){this._setOption("fullScreen",!1)},_fullscreenAddEventListeners:function(){var self=this,fs=$.jPlayer.nativeFeatures.fullscreen;fs.api.fullscreenEnabled&&fs.event.fullscreenchange&&("function"!=typeof this.internal.fullscreenchangeHandler&&(this.internal.fullscreenchangeHandler=function(){self._fullscreenchange()}),document.addEventListener(fs.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1))},_fullscreenRemoveEventListeners:function(){var fs=$.jPlayer.nativeFeatures.fullscreen;this.internal.fullscreenchangeHandler&&document.removeEventListener(fs.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1)},_fullscreenchange:function(){this.options.fullScreen&&!$.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()&&this._setOption("fullScreen",!1)},_requestFullscreen:function(){var e=this.ancestorJq.length?this.ancestorJq[0]:this.element[0],fs=$.jPlayer.nativeFeatures.fullscreen;fs.used.webkitVideo&&(e=this.htmlElement.video),fs.api.fullscreenEnabled&&fs.api.requestFullscreen(e)},_exitFullscreen:function(){var e,fs=$.jPlayer.nativeFeatures.fullscreen;fs.used.webkitVideo&&(e=this.htmlElement.video),fs.api.fullscreenEnabled&&fs.api.exitFullscreen(e)},_html_initMedia:function(media){var $media=$(this.htmlElement.media).empty();$.each(media.track||[],(function(i,v){var track=document.createElement("track");track.setAttribute("kind",v.kind?v.kind:""),track.setAttribute("src",v.src?v.src:""),track.setAttribute("srclang",v.srclang?v.srclang:""),track.setAttribute("label",v.label?v.label:""),v.def&&track.setAttribute("default",v.def),$media.append(track)})),this.htmlElement.media.src=this.status.src,"none"!==this.options.preload&&this._html_load(),this._trigger($.jPlayer.event.timeupdate)},_html_setFormat:function(media){var self=this;$.each(this.formats,(function(priority,format){if(self.html.support[format]&&media[format])return self.status.src=media[format],self.status.format[format]=!0,self.status.formatType=format,!1}))},_html_setAudio:function(media){this._html_setFormat(media),this.htmlElement.media=this.htmlElement.audio,this._html_initMedia(media)},_html_setVideo:function(media){this._html_setFormat(media),this.status.nativeVideoControls&&(this.htmlElement.video.poster=this._validString(media.poster)?media.poster:""),this.htmlElement.media=this.htmlElement.video,this._html_initMedia(media)},_html_resetMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id!==this.internal.video.id||this.status.nativeVideoControls||this.internal.video.jq.css({width:"0px",height:"0px"}),this.htmlElement.media.pause())},_html_clearMedia:function(){this.htmlElement.media&&(this.htmlElement.media.src="about:blank",this.htmlElement.media.load())},_html_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.htmlElement.media.load()),clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(time){var self=this,media=this.htmlElement.media;if(this.androidFix.pause=!1,this._html_load(),this.androidFix.setMedia)this.androidFix.play=!0,this.androidFix.time=time;else if(isNaN(time))media.play();else{this.internal.cmdsIgnored&&media.play();try{if(media.seekable&&!("object"==typeof media.seekable&&media.seekable.length>0))throw 1;media.currentTime=time,media.play()}catch(err){return void(this.internal.htmlDlyCmdId=setTimeout((function(){self.play(time)}),250))}}this._html_checkWaitForPlay()},_html_pause:function(time){var self=this,media=this.htmlElement.media;if(this.androidFix.play=!1,time>0?this._html_load():clearTimeout(this.internal.htmlDlyCmdId),media.pause(),this.androidFix.setMedia)this.androidFix.pause=!0,this.androidFix.time=time;else if(!isNaN(time))try{if(media.seekable&&!("object"==typeof media.seekable&&media.seekable.length>0))throw 1;media.currentTime=time}catch(err){return void(this.internal.htmlDlyCmdId=setTimeout((function(){self.pause(time)}),250))}time>0&&this._html_checkWaitForPlay()},_html_playHead:function(percent){var self=this,media=this.htmlElement.media;this._html_load();try{if("object"==typeof media.seekable&&media.seekable.length>0)media.currentTime=percent*media.seekable.end(media.seekable.length-1)/100;else{if(!(media.duration>0)||isNaN(media.duration))throw"e";media.currentTime=percent*media.duration/100}}catch(err){return void(this.internal.htmlDlyCmdId=setTimeout((function(){self.playHead(percent)}),250))}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})))},_html_setProperty:function(property,value){this.html.audio.available&&(this.htmlElement.audio[property]=value),this.html.video.available&&(this.htmlElement.video[property]=value)},_aurora_setAudio:function(media){var self=this;$.each(this.formats,(function(priority,format){if(self.aurora.support[format]&&media[format])return self.status.src=media[format],self.status.format[format]=!0,self.status.formatType=format,!1})),this.aurora.player=new AV.Player.fromURL(this.status.src),this._addAuroraEventListeners(this.aurora.player,this.aurora),"auto"===this.options.preload&&(this._aurora_load(),this.status.waitForLoad=!1)},_aurora_resetMedia:function(){this.aurora.player&&this.aurora.player.stop()},_aurora_clearMedia:function(){},_aurora_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.aurora.player.preload())},_aurora_play:function(time){this.status.waitForLoad||isNaN(time)||this.aurora.player.seek(time),this.aurora.player.playing||this.aurora.player.play(),this.status.waitForLoad=!1,this._aurora_checkWaitForPlay(),this._updateButtons(!0),this._trigger($.jPlayer.event.play)},_aurora_pause:function(time){isNaN(time)||this.aurora.player.seek(1e3*time),this.aurora.player.pause(),time>0&&this._aurora_checkWaitForPlay(),this._updateButtons(!1),this._trigger($.jPlayer.event.pause)},_aurora_playHead:function(percent){this.aurora.player.duration>0&&this.aurora.player.seek(percent*this.aurora.player.duration/100),this.status.waitForLoad||this._aurora_checkWaitForPlay()},_aurora_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1)},_aurora_volume:function(v){this.aurora.player.volume=100*v},_aurora_mute:function(m){m?(this.aurora.properties.lastvolume=this.aurora.player.volume,this.aurora.player.volume=0):this.aurora.player.volume=this.aurora.properties.lastvolume,this.aurora.properties.muted=m},_flash_setAudio:function(media){var self=this;try{$.each(this.formats,(function(priority,format){if(self.flash.support[format]&&media[format]){switch(format){case"m4a":case"fla":self._getMovie().fl_setAudio_m4a(media[format]);break;case"mp3":self._getMovie().fl_setAudio_mp3(media[format]);break;case"rtmpa":self._getMovie().fl_setAudio_rtmp(media[format])}return self.status.src=media[format],self.status.format[format]=!0,self.status.formatType=format,!1}})),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(err){this._flashError(err)}},_flash_setVideo:function(media){var self=this;try{$.each(this.formats,(function(priority,format){if(self.flash.support[format]&&media[format]){switch(format){case"m4v":case"flv":self._getMovie().fl_setVideo_m4v(media[format]);break;case"rtmpv":self._getMovie().fl_setVideo_rtmp(media[format])}return self.status.src=media[format],self.status.format[format]=!0,self.status.formatType=format,!1}})),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(err){this._flashError(err)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"}),this._flash_pause(NaN)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(err){this._flashError(err)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(err){this._flashError(err)}this.status.waitForLoad=!1},_flash_play:function(time){try{this._getMovie().fl_play(time)}catch(err){this._flashError(err)}this.status.waitForLoad=!1,this._flash_checkWaitForPlay()},_flash_pause:function(time){try{this._getMovie().fl_pause(time)}catch(err){this._flashError(err)}time>0&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(p){try{this._getMovie().fl_play_head(p)}catch(err){this._flashError(err)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height})))},_flash_volume:function(v){try{this._getMovie().fl_volume(v)}catch(err){this._flashError(err)}},_flash_mute:function(m){try{this._getMovie().fl_mute(m)}catch(err){this._flashError(err)}},_getMovie:function(){return document[this.internal.flash.id]},_getFlashPluginVersion:function(){var flash,version=0;if(window.ActiveXObject)try{if(flash=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")){var v=flash.GetVariable("$version");v&&(v=v.split(" ")[1].split(","),version=parseInt(v[0],10)+"."+parseInt(v[1],10))}}catch(e){}else navigator.plugins&&navigator.mimeTypes.length>0&&(flash=navigator.plugins["Shockwave Flash"])&&(version=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1"));return 1*version},_checkForFlash:function(version){var flashOk=!1;return this._getFlashPluginVersion()>=version&&(flashOk=!0),flashOk},_validString:function(url){return url&&"string"==typeof url},_limitValue:function(value,min,max){return value<min?min:value>max?max:value},_urlNotSetError:function(context){this._error({type:$.jPlayer.error.URL_NOT_SET,context:context,message:$.jPlayer.errorMsg.URL_NOT_SET,hint:$.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(error){var errorType;errorType=this.internal.ready?"FLASH_DISABLED":"FLASH",this._error({type:$.jPlayer.error[errorType],context:this.internal.flash.swf,message:$.jPlayer.errorMsg[errorType]+error.message,hint:$.jPlayer.errorHint[errorType]}),this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(error){this._trigger($.jPlayer.event.error,error),this.options.errorAlerts&&this._alert("Error!"+(error.message?"\n"+error.message:"")+(error.hint?"\n"+error.hint:"")+"\nContext: "+error.context)},_warning:function(warning){this._trigger($.jPlayer.event.warning,undefined,warning),this.options.warningAlerts&&this._alert("Warning!"+(warning.message?"\n"+warning.message:"")+(warning.hint?"\n"+warning.hint:"")+"\nContext: "+warning.context)},_alert:function(message){var msg="jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+message;this.options.consoleAlerts?window.console&&window.console.log&&window.console.log(msg):alert(msg)},_emulateHtmlBridge:function(){var self=this;$.each($.jPlayer.emulateMethods.split(/\s+/g),(function(i,name){self.internal.domNode[name]=function(arg){self[name](arg)}})),$.each($.jPlayer.event,(function(eventName,eventType){var nativeEvent=!0;$.each($.jPlayer.reservedEvent.split(/\s+/g),(function(i,name){if(name===eventName)return nativeEvent=!1,!1})),nativeEvent&&self.element.bind(eventType+".jPlayer.jPlayerHtml",(function(){self._emulateHtmlUpdate();var domEvent=document.createEvent("Event");domEvent.initEvent(eventName,!1,!0),self.internal.domNode.dispatchEvent(domEvent)}))}))},_emulateHtmlUpdate:function(){var self=this;$.each($.jPlayer.emulateStatus.split(/\s+/g),(function(i,name){self.internal.domNode[name]=self.status[name]})),$.each($.jPlayer.emulateOptions.split(/\s+/g),(function(i,name){self.internal.domNode[name]=self.options[name]}))},_destroyHtmlBridge:function(){var self=this;this.element.unbind(".jPlayerHtml");var emulated=$.jPlayer.emulateMethods+" "+$.jPlayer.emulateStatus+" "+$.jPlayer.emulateOptions;$.each(emulated.split(/\s+/g),(function(i,name){delete self.internal.domNode[name]}))}},$.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"},$.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+$.jPlayer.prototype.version.script+" needs Jplayer.swf version "+$.jPlayer.prototype.version.needFlash+" but found "},$.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."},$.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"},$.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",OPTION_KEY:"The option requested in jPlayer('option') is undefined."},$.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}}));var MusicManager=function(){var self={$el:null,el:null,$player:null,player:null,mp3file:null,options:[],style:[],loaded:!1,_basicInit:function(el){self.el=void 0!==el?el:"#music_player",self.$el=$(self.el),self.player="#jplayer",self.$player=$(self.player)},_playerSetup:function(){self.$el.html(self.load(self.options.type)),self.applyCSS(),self.playerInit(),self.cookieControls()},init:function(el,mp3file,options,style){self._basicInit(),options=void 0===options?[]:options,self.mp3file=void 0!==mp3file?mp3file:null,self.options.type=void 0!==options.type?options.type:"web",self.options.music_note=void 0!==options.music_note?options.music_note:null,self.options.corners=void 0===options.corners||options.corners,self.options.autoplay=void 0===options.autoplay||options.autoplay,self.options.loop=void 0===options.loop||options.loop,self.options.progress=void 0!==options.progress&&options.progress,self.options.time=void 0!==options.time&&options.time,self.options.title=void 0!==options.title&&options.title,self.style=style,self.options.autoplay="no"!==cookieManager.get("music-autoplay")&&"gestion"!=self.options.type&&self.options.autoplay,self._playerSetup()},initSimple:function(el,mp3file,options){self._basicInit(),self.mp3file=void 0!==mp3file?mp3file:null,self.options.type=void 0!==options&&void 0!==options.type?options.type:"simple",self.options.music_note=null,self.options.corners=!0,self.options.autoplay=!0,self.options.loop=!0,self.options.progress=!1,self.options.time=!1,self.options.title=!1,self.options.autoplay="no"!==cookieManager.get("music-autoplay")&&self.options.autoplay,cookie_autoplay=cookieManager.get("music-autoplay"),"no"==cookie_autoplay&&(self.options.autoplay=!1),self._playerSetup(),self.$el.parent().fadeIn(),self.setCustomIcons()},setCustomIcons:function(){self.options.autoplay?"undefined"!=typeof jplayerPlay&&jplayerPlay():"undefined"!=typeof jplayerPause&&jplayerPause()},setMedia:function(mp3filename){self.mp3file=mp3filename,self.$player.jPlayer("setMedia",{mp3:self.mp3file})},playerInit:function(){self.loaded&&(self.$player.jPlayer("destroy"),self.$player=null,self._basicInit(self.el),self.loaded=!1),self.$player.jPlayer({preload:"auto",loadeddata:function(){},setmedia:function(){},ready:function(){$(this).jPlayer("setMedia",{mp3:self.mp3file}),self.options.autoplay&&$(this).jPlayer("play"),$(".jp-progress-slider").toggle(self.options.progress),$(".jp-current-time,.jp-duration").toggle(self.options.time),$(".jp-title").toggle(self.options.title),self.loaded=!0},timeupdate:function(event){self.options.progress&&self.progress(event.jPlayer.status.currentPercentAbsolute,event.jPlayer.status.seekPercent)},cssSelectorAncestor:"#jp_container",supplied:"mp3",wmode:"window",loop:self.options.loop})},progress:function(percentDuration,seekPercent){containter_progress=$(".jp-progress-slider"),containter_progress.slider({animate:"fast",max:100,range:"min",step:.1,value:percentDuration,slide:function(event,ui){seekPercent>0?self.$player.jPlayer("playHead",ui.value*(100/seekPercent)):setTimeout((function(){containter_progress.slider("value",0)}),0)}})},applyCSS:function(){void 0!==self.style&&(void 0!==self.style.backgroundColor&&(bgColor="transparent"==self.style.backgroundColor?self.style.backgroundColor:"#"+self.style.backgroundColor,$(".music-web ul li").css({backgroundColor:bgColor})),void 0!==self.style.backgroundHover&&void 0!==self.style.backgroundColor&&$(".music-web ul li").hover((function(){$(this).css({backgroundColor:"#"+self.style.backgroundHover})}),(function(){$(this).css({backgroundColor:"#"+self.style.backgroundColor})})),void 0!==self.style.color&&($(".music-web .jp-play").css({color:"#"+self.style.color.split("#")[1]}),$(".music-web .jp-pause").css({color:"#"+self.style.color.split("#")[1]})))},load:function(type){return"single_icon"==type?div='<div class="music-manager music-simple single-icon">\t<div id="'+self.player+'"></div>\t<div id="jp_container" class="player-container">\t\t<div class="jp-gui">\t\t\t<ul id="jp-ul">\t\t\t\t<li class="jp-play">\t\t\t\t\t'+dinaIcon.icon("volume-off").extraClass("btn-play jp-play").html()+'\t\t\t\t</li>\t\t\t\t<li class="jp-pause">\t\t\t\t\t'+dinaIcon.icon("volume-up").extraClass("btn-pause jp-pause").html()+"\t\t\t\t</li>\t\t\t</ul>\t\t</div>\t</div></div>":(cssFA="font-size: 13pt; margin-top: 3px; margin-right:8px;",cssDiv="height: 25px; margin-top: 5px; float:left;","string"==typeof DINA_THEME_NAME&&"tokyo"==DINA_THEME_NAME&&(cssDiv="float:left;"),music_note=null!=self.options.music_note?'<div style="width:30px; height: 25px; margin-top: 5px; float:left;"><img src="'+self.options.music_note+'" /></div>':'<div class="pre-music-icon" style="'+cssDiv+'">'+dinaIcon.icon("music").size("lg").style(cssFA).html()+"</div>",music_note_simple='<div class="pre-music-icon" style="float:left;">'+dinaIcon.icon("music").style(cssFA).html()+"</div>",corners=self.options.corners?"ui-corner-all":"",div="gestion"==type?'<div class="music-manager">\t<div id="'+self.player+'"></div>\t<div id="jp_container" class="player-container">\t\t<div id="player_gestion" class="jp-gui ui-widget ui-widget-content ui-corner-all">\t\t\t<ul style="margin-left: 5px;">\t\t\t\t<li class="jp-play ui-corner-all">\t\t\t\t\t'+dinaIcon.icon("play").size("lg").extraClass("jp-play").html()+'\t\t\t\t</li>\t\t\t\t<li class="jp-pause ui-corner-all">\t\t\t\t\t'+dinaIcon.icon("pause").size("lg").extraClass("jp-pause").html()+'\t\t\t\t</li>\t\t\t</ul>\t\t\t<div class="jp-progress-slider" style="display: none"></div>\t\t\t<div class="jp-current-time" style="display: none"></div>\t\t\t<div class="jp-duration" style="display: none"></div>\t\t\t<div class="clear"></div>\t\t</div>\t</div></div>':"simple"==type?'<div class="music-manager music-simple">\t<div id="'+self.player+'"></div>\t<div id="jp_container" class="player-container">'+music_note_simple+'\t\t<div class="jp-gui">\t\t\t<ul id="jp-ul">\t\t\t\t<li class="jp-play">\t\t\t\t\t'+dinaIcon.icon("play").size("lg").extraClass("btn-play jp-play").html()+'\t\t\t\t</li>\t\t\t\t<li class="jp-pause">\t\t\t\t\t'+dinaIcon.icon("pause").size("lg").extraClass("btn-pause jp-pause").html()+"\t\t\t\t</li>\t\t\t</ul>\t\t</div>\t</div></div>":'<div class="music-manager music-web">\t<div id="'+self.player+'"></div>\t<div id="jp_container" class="player-container">'+music_note+'\t\t<div class="jp-gui">\t\t\t<ul id="jp-ul" style="margin-left: 5px;">\t\t\t\t<li class="jp-play '+corners+'">\t\t\t\t\t'+dinaIcon.icon("play").size("lg").extraClass("btn-play jp-play").html()+'\t\t\t\t</li>\t\t\t\t<li class="jp-pause '+corners+'">\t\t\t\t\t'+dinaIcon.icon("pause").size("lg").extraClass("btn-pause jp-pause").html()+"\t\t\t\t</li>\t\t\t</ul>\t\t</div>\t</div></div>"),div},cookieControls:function(){"gestion"!=self.options.type&&(playJP=$("li.jp-play"),pauseJP=$("li.jp-pause"),$(playJP).click((function(){return cookieManager.set("music-autoplay","si",90),!1})),$(pauseJP).click((function(){return cookieManager.set("music-autoplay","no",90),!1})))},reload:function(){return self.load(self.options.type)}};return self}();!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,(function(){"use strict";function a(){return le.apply(null,arguments)}function c(a){return a instanceof Array||"[object Array]"===Object.prototype.toString.call(a)}function d(a){return null!=a&&"[object Object]"===Object.prototype.toString.call(a)}function f(a){return"number"==typeof a||"[object Number]"===Object.prototype.toString.call(a)}function g(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function h(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function i(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function j(a,b){for(var c in b)i(b,c)&&(a[c]=b[c]);return i(b,"toString")&&(a.toString=b.toString),i(b,"valueOf")&&(a.valueOf=b.valueOf),a}function k(a,b,c,d){return rb(a,b,c,d,!0).utc()}function m(a){return null==a._pf&&(a._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}),a._pf}function n(a){if(null==a._isValid){var b=m(a),c=ne.call(b.parsedDateParts,(function(a){return null!=a})),d=!isNaN(a._d.getTime())&&b.overflow<0&&!b.empty&&!b.invalidMonth&&!b.invalidWeekday&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&c);if(a._strict&&(d=d&&0===b.charsLeftOver&&0===b.unusedTokens.length&&void 0===b.bigHour),null!=Object.isFrozen&&Object.isFrozen(a))return d;a._isValid=d}return a._isValid}function o(a){var b=k(NaN);return null!=a?j(m(b),a):m(b).userInvalidated=!0,b}function p(a){return void 0===a}function q(a,b){var c,d,e;if(p(b._isAMomentObject)||(a._isAMomentObject=b._isAMomentObject),p(b._i)||(a._i=b._i),p(b._f)||(a._f=b._f),p(b._l)||(a._l=b._l),p(b._strict)||(a._strict=b._strict),p(b._tzm)||(a._tzm=b._tzm),p(b._isUTC)||(a._isUTC=b._isUTC),p(b._offset)||(a._offset=b._offset),p(b._pf)||(a._pf=m(b)),p(b._locale)||(a._locale=b._locale),oe.length>0)for(c in oe)p(e=b[d=oe[c]])||(a[d]=e);return a}function r(b){q(this,b),this._d=new Date(null!=b._d?b._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===pe&&(pe=!0,a.updateOffset(this),pe=!1)}function s(a){return a instanceof r||null!=a&&null!=a._isAMomentObject}function t(a){return a<0?Math.ceil(a)||0:Math.floor(a)}function u(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=t(b)),c}function v(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;d<e;d++)(c&&a[d]!==b[d]||!c&&u(a[d])!==u(b[d]))&&g++;return g+f}function w(b){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+b)}function x(b,c){var d=!0;return j((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,b),d){for(var e,f=[],g=0;g<arguments.length;g++){if(e="","object"==typeof arguments[g]){for(var h in e+="\n["+g+"] ",arguments[0])e+=h+": "+arguments[0][h]+", ";e=e.slice(0,-2)}else e=arguments[g];f.push(e)}w(b+"\nArguments: "+Array.prototype.slice.call(f).join("")+"\n"+(new Error).stack),d=!1}return c.apply(this,arguments)}),c)}function y(b,c){null!=a.deprecationHandler&&a.deprecationHandler(b,c),qe[b]||(w(c),qe[b]=!0)}function z(a){return a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}function B(a,b){var c,e=j({},a);for(c in b)i(b,c)&&(d(a[c])&&d(b[c])?(e[c]={},j(e[c],a[c]),j(e[c],b[c])):null!=b[c]?e[c]=b[c]:delete e[c]);for(c in a)i(a,c)&&!i(b,c)&&d(a[c])&&(e[c]=j({},e[c]));return e}function C(a){null!=a&&this.set(a)}function J(a,b){var c=a.toLowerCase();Ae[c]=Ae[c+"s"]=Ae[b]=a}function K(a){return"string"==typeof a?Ae[a]||Ae[a.toLowerCase()]:void 0}function L(a){var b,c,d={};for(c in a)i(a,c)&&((b=K(c))&&(d[b]=a[c]));return d}function M(a,b){Be[a]=b}function O(b,c){return function(d){return null!=d?(Q(this,b,d),a.updateOffset(this,c),this):P(this,b)}}function P(a,b){return a.isValid()?a._d["get"+(a._isUTC?"UTC":"")+b]():NaN}function Q(a,b,c){a.isValid()&&a._d["set"+(a._isUTC?"UTC":"")+b](c)}function T(a,b,c){var d=""+Math.abs(a),e=b-d.length;return(a>=0?c?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+d}function U(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()}),a&&(Fe[a]=e),b&&(Fe[b[0]]=function(){return T(e.apply(this,arguments),b[1],b[2])}),c&&(Fe[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function V(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function X(a,b){return a.isValid()?(b=Y(b,a.localeData()),Ee[b]=Ee[b]||function(a){var b,c,d=a.match(Ce);for(b=0,c=d.length;b<c;b++)Fe[d[b]]?d[b]=Fe[d[b]]:d[b]=V(d[b]);return function(b){var e,f="";for(e=0;e<c;e++)f+=d[e]instanceof Function?d[e].call(b,a):d[e];return f}}(b),Ee[b](a)):a.localeData().invalidDate()}function Y(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(De.lastIndex=0;d>=0&&De.test(a);)a=a.replace(De,c),De.lastIndex=0,d-=1;return a}function Z(a,b,c){Xe[a]=z(b)?b:function(a,d){return a&&c?c:b}}function $(a,b){return i(Xe,a)?Xe[a](b._strict,b._locale):new RegExp(function(a){return aa(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(a,b,c,d,e){return b||c||d||e})))}(a))}function aa(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ba(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),f(b)&&(d=function(a,c){c[b]=u(a)}),c=0;c<a.length;c++)Ye[a[c]]=d}function ca(a,b){ba(a,(function(a,c,d,e){d._w=d._w||{},b(a,d._w,d,e)}))}function da(a,b,c){null!=b&&i(Ye,a)&&Ye[a](b,c._a,c,a)}function ea(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function ha(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;d<12;++d)f=k([2e3,d]),this._shortMonthsParse[d]=this.monthsShort(f,"").toLocaleLowerCase(),this._longMonthsParse[d]=this.months(f,"").toLocaleLowerCase();return c?"MMM"===b?-1!==(e=gf.call(this._shortMonthsParse,g))?e:null:-1!==(e=gf.call(this._longMonthsParse,g))?e:null:"MMM"===b?-1!==(e=gf.call(this._shortMonthsParse,g))?e:-1!==(e=gf.call(this._longMonthsParse,g))?e:null:-1!==(e=gf.call(this._longMonthsParse,g))?e:-1!==(e=gf.call(this._shortMonthsParse,g))?e:null}function ja(a,b){var c;if(!a.isValid())return a;if("string"==typeof b)if(/^\d+$/.test(b))b=u(b);else if(!f(b=a.localeData().monthsParse(b)))return a;return c=Math.min(a.date(),ea(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a}function ka(b){return null!=b?(ja(this,b),a.updateOffset(this,!0),this):P(this,"Month")}function oa(){function a(a,b){return b.length-a.length}var b,c,d=[],e=[],f=[];for(b=0;b<12;b++)c=k([2e3,b]),d.push(this.monthsShort(c,"")),e.push(this.months(c,"")),f.push(this.months(c,"")),f.push(this.monthsShort(c,""));for(d.sort(a),e.sort(a),f.sort(a),b=0;b<12;b++)d[b]=aa(d[b]),e[b]=aa(e[b]);for(b=0;b<24;b++)f[b]=aa(f[b]);this._monthsRegex=new RegExp("^("+f.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+e.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+d.join("|")+")","i")}function pa(a){return qa(a)?366:365}function qa(a){return a%4==0&&a%100!=0||a%400==0}function sa(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return a<100&&a>=0&&isFinite(h.getFullYear())&&h.setFullYear(a),h}function ta(a){var b=new Date(Date.UTC.apply(null,arguments));return a<100&&a>=0&&isFinite(b.getUTCFullYear())&&b.setUTCFullYear(a),b}function ua(a,b,c){var d=7+b-c;return-((7+ta(a,0,d).getUTCDay()-b)%7)+d-1}function va(a,b,c,d,e){var f,g,j=1+7*(b-1)+(7+c-d)%7+ua(a,d,e);return j<=0?g=pa(f=a-1)+j:j>pa(a)?(f=a+1,g=j-pa(a)):(f=a,g=j),{year:f,dayOfYear:g}}function wa(a,b,c){var d,e,f=ua(a.year(),b,c),g=Math.floor((a.dayOfYear()-f-1)/7)+1;return g<1?d=g+xa(e=a.year()-1,b,c):g>xa(a.year(),b,c)?(d=g-xa(a.year(),b,c),e=a.year()+1):(e=a.year(),d=g),{week:d,year:e}}function xa(a,b,c){var d=ua(a,b,c),e=ua(a+1,b,c);return(pa(a)-d+e)/7}function Ia(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;d<7;++d)f=k([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(f,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(f,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(f,"").toLocaleLowerCase();return c?"dddd"===b?-1!==(e=gf.call(this._weekdaysParse,g))?e:null:"ddd"===b?-1!==(e=gf.call(this._shortWeekdaysParse,g))?e:null:-1!==(e=gf.call(this._minWeekdaysParse,g))?e:null:"dddd"===b?-1!==(e=gf.call(this._weekdaysParse,g))?e:-1!==(e=gf.call(this._shortWeekdaysParse,g))?e:-1!==(e=gf.call(this._minWeekdaysParse,g))?e:null:"ddd"===b?-1!==(e=gf.call(this._shortWeekdaysParse,g))?e:-1!==(e=gf.call(this._weekdaysParse,g))?e:-1!==(e=gf.call(this._minWeekdaysParse,g))?e:null:-1!==(e=gf.call(this._minWeekdaysParse,g))?e:-1!==(e=gf.call(this._weekdaysParse,g))?e:-1!==(e=gf.call(this._shortWeekdaysParse,g))?e:null}function Qa(){function a(a,b){return b.length-a.length}var b,c,d,e,f,g=[],h=[],i=[],j=[];for(b=0;b<7;b++)c=k([2e3,1]).day(b),d=this.weekdaysMin(c,""),e=this.weekdaysShort(c,""),f=this.weekdays(c,""),g.push(d),h.push(e),i.push(f),j.push(d),j.push(e),j.push(f);for(g.sort(a),h.sort(a),i.sort(a),j.sort(a),b=0;b<7;b++)h[b]=aa(h[b]),i[b]=aa(i[b]),j[b]=aa(j[b]);this._weekdaysRegex=new RegExp("^("+j.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+g.join("|")+")","i")}function Ra(){return this.hours()%12||12}function Ta(a,b){U(a,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)}))}function Ua(a,b){return b._meridiemParse}function Xa(a){return a?a.toLowerCase().replace("_","-"):a}function Za(a){var b=null;if(!zf[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=vf._abbr,require("./locale/"+a),$a(b)}catch(a){}return zf[a]}function $a(a,b){var c;return a&&((c=p(b)?bb(a):_a(a,b))&&(vf=c)),vf._abbr}function _a(a,b){if(null!==b){var c=yf;if(b.abbr=a,null!=zf[a])y("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."),c=zf[a]._config;else if(null!=b.parentLocale){if(null==zf[b.parentLocale])return Af[b.parentLocale]||(Af[b.parentLocale]=[]),Af[b.parentLocale].push({name:a,config:b}),null;c=zf[b.parentLocale]._config}return zf[a]=new C(B(c,b)),Af[a]&&Af[a].forEach((function(a){_a(a.name,a.config)})),$a(a),zf[a]}return delete zf[a],null}function bb(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return vf;if(!c(a)){if(b=Za(a))return b;a=[a]}return function(a){for(var b,c,d,e,f=0;f<a.length;){for(b=(e=Xa(a[f]).split("-")).length,c=(c=Xa(a[f+1]))?c.split("-"):null;b>0;){if(d=Za(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&v(e,c,!0)>=b-1)break;b--}f++}return null}(a)}function db(a){var b,c=a._a;return c&&-2===m(a).overflow&&(b=c[$e]<0||c[$e]>11?$e:c[_e]<1||c[_e]>ea(c[Ze],c[$e])?_e:c[af]<0||c[af]>24||24===c[af]&&(0!==c[bf]||0!==c[cf]||0!==c[df])?af:c[bf]<0||c[bf]>59?bf:c[cf]<0||c[cf]>59?cf:c[df]<0||c[df]>999?df:-1,m(a)._overflowDayOfYear&&(b<Ze||b>_e)&&(b=_e),m(a)._overflowWeeks&&-1===b&&(b=ef),m(a)._overflowWeekday&&-1===b&&(b=ff),m(a).overflow=b),a}function eb(a){var b,c,d,e,f,g,h=a._i,i=Bf.exec(h)||Cf.exec(h);if(i){for(m(a).iso=!0,b=0,c=Ef.length;b<c;b++)if(Ef[b][1].exec(i[1])){e=Ef[b][0],d=!1!==Ef[b][2];break}if(null==e)return void(a._isValid=!1);if(i[3]){for(b=0,c=Ff.length;b<c;b++)if(Ff[b][1].exec(i[3])){f=(i[2]||" ")+Ff[b][0];break}if(null==f)return void(a._isValid=!1)}if(!d&&null!=f)return void(a._isValid=!1);if(i[4]){if(!Df.exec(i[4]))return void(a._isValid=!1);g="Z"}a._f=e+(f||"")+(g||""),kb(a)}else a._isValid=!1}function gb(a,b,c){return null!=a?a:null!=b?b:c}function hb(b){var c=new Date(a.now());return b._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()]}function ib(a){var b,c,d,e,f=[];if(!a._d){for(d=hb(a),a._w&&null==a._a[_e]&&null==a._a[$e]&&function(a){var b,c,d,e,f,g,h,i;if(null!=(b=a._w).GG||null!=b.W||null!=b.E)f=1,g=4,c=gb(b.GG,a._a[Ze],wa(sb(),1,4).year),d=gb(b.W,1),((e=gb(b.E,1))<1||e>7)&&(i=!0);else{f=a._locale._week.dow,g=a._locale._week.doy;var j=wa(sb(),f,g);c=gb(b.gg,a._a[Ze],j.year),d=gb(b.w,j.week),null!=b.d?((e=b.d)<0||e>6)&&(i=!0):null!=b.e?(e=b.e+f,(b.e<0||b.e>6)&&(i=!0)):e=f}d<1||d>xa(c,f,g)?m(a)._overflowWeeks=!0:null!=i?m(a)._overflowWeekday=!0:(h=va(c,d,e,f,g),a._a[Ze]=h.year,a._dayOfYear=h.dayOfYear)}(a),a._dayOfYear&&(e=gb(a._a[Ze],d[Ze]),a._dayOfYear>pa(e)&&(m(a)._overflowDayOfYear=!0),c=ta(e,0,a._dayOfYear),a._a[$e]=c.getUTCMonth(),a._a[_e]=c.getUTCDate()),b=0;b<3&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;b<7;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[af]&&0===a._a[bf]&&0===a._a[cf]&&0===a._a[df]&&(a._nextDay=!0,a._a[af]=0),a._d=(a._useUTC?ta:sa).apply(null,f),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[af]=24)}}function kb(b){if(b._f!==a.ISO_8601){b._a=[],m(b).empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=Y(b._f,b._locale).match(Ce)||[],c=0;c<e.length;c++)f=e[c],(d=(h.match($(f,b))||[])[0])&&((g=h.substr(0,h.indexOf(d))).length>0&&m(b).unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),j+=d.length),Fe[f]?(d?m(b).empty=!1:m(b).unusedTokens.push(f),da(f,d,b)):b._strict&&!d&&m(b).unusedTokens.push(f);m(b).charsLeftOver=i-j,h.length>0&&m(b).unusedInput.push(h),b._a[af]<=12&&!0===m(b).bigHour&&b._a[af]>0&&(m(b).bigHour=void 0),m(b).parsedDateParts=b._a.slice(0),m(b).meridiem=b._meridiem,b._a[af]=function(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?((d=a.isPM(c))&&b<12&&(b+=12),d||12!==b||(b=0),b):b}(b._locale,b._a[af],b._meridiem),ib(b),db(b)}else eb(b)}function pb(a){var b=a._i,d=a._f;return a._locale=a._locale||bb(a._l),null===b||void 0===d&&""===b?o({nullInput:!0}):("string"==typeof b&&(a._i=b=a._locale.preparse(b)),s(b)?new r(db(b)):(g(b)?a._d=b:c(d)?function(a){var b,c,d,e,f;if(0===a._f.length)return m(a).invalidFormat=!0,void(a._d=new Date(NaN));for(e=0;e<a._f.length;e++)f=0,b=q({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._f=a._f[e],kb(b),n(b)&&(f+=m(b).charsLeftOver,f+=10*m(b).unusedTokens.length,m(b).score=f,(null==d||f<d)&&(d=f,c=b));j(a,c||b)}(a):d?kb(a):qb(a),n(a)||(a._d=null),a))}function qb(b){var d=b._i;void 0===d?b._d=new Date(a.now()):g(d)?b._d=new Date(d.valueOf()):"string"==typeof d?function(b){var c=Gf.exec(b._i);null!==c?b._d=new Date(+c[1]):(eb(b),!1===b._isValid&&(delete b._isValid,a.createFromInputFallback(b)))}(b):c(d)?(b._a=h(d.slice(0),(function(a){return parseInt(a,10)})),ib(b)):"object"==typeof d?function(a){if(!a._d){var b=L(a._i);a._a=h([b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],(function(a){return a&&parseInt(a,10)})),ib(a)}}(b):f(d)?b._d=new Date(d):a.createFromInputFallback(b)}function rb(a,b,f,g,h){var i={};return!0!==f&&!1!==f||(g=f,f=void 0),(d(a)&&function(a){var b;for(b in a)return!1;return!0}(a)||c(a)&&0===a.length)&&(a=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=h,i._l=f,i._i=a,i._f=b,i._strict=g,function(a){var b=new r(db(pb(a)));return b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b}(i)}function sb(a,b,c,d){return rb(a,b,c,d,!1)}function tb(a,b){var d,e;if(1===b.length&&c(b[0])&&(b=b[0]),!b.length)return sb();for(d=b[0],e=1;e<b.length;++e)b[e].isValid()&&!b[e][a](d)||(d=b[e]);return d}function wb(a){var b=L(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._milliseconds=+k+1e3*j+6e4*i+1e3*h*60*60,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=bb(),this._bubble()}function xb(a){return a instanceof wb}function yb(a){return a<0?-1*Math.round(-1*a):Math.round(a)}function zb(a,b){U(a,0,0,(function(){var a=this.utcOffset(),c="+";return a<0&&(a=-a,c="-"),c+T(~~(a/60),2)+b+T(~~a%60,2)}))}function Ab(a,b){var c=(b||"").match(a);if(null===c)return null;var e=((c[c.length-1]||[])+"").match(Kf)||["-",0,0],f=60*e[1]+u(e[2]);return 0===f?0:"+"===e[0]?f:-f}function Bb(b,c){var d,e;return c._isUTC?(d=c.clone(),e=(s(b)||g(b)?b.valueOf():sb(b).valueOf())-d.valueOf(),d._d.setTime(d._d.valueOf()+e),a.updateOffset(d,!1),d):sb(b).local()}function Cb(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function Nb(){return!!this.isValid()&&this._isUTC&&0===this._offset}function Ob(a,b){var c,d,e,g=a,h=null;return xb(a)?g={ms:a._milliseconds,d:a._days,M:a._months}:f(a)?(g={},b?g[b]=a:g.milliseconds=a):(h=Lf.exec(a))?(c="-"===h[1]?-1:1,g={y:0,d:u(h[_e])*c,h:u(h[af])*c,m:u(h[bf])*c,s:u(h[cf])*c,ms:u(yb(1e3*h[df]))*c}):(h=Mf.exec(a))?(c="-"===h[1]?-1:1,g={y:Pb(h[2],c),M:Pb(h[3],c),w:Pb(h[4],c),d:Pb(h[5],c),h:Pb(h[6],c),m:Pb(h[7],c),s:Pb(h[8],c)}):null==g?g={}:"object"==typeof g&&("from"in g||"to"in g)&&(e=function(a,b){var c;return a.isValid()&&b.isValid()?(b=Bb(b,a),a.isBefore(b)?c=Qb(a,b):((c=Qb(b,a)).milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}(sb(g.from),sb(g.to)),(g={}).ms=e.milliseconds,g.M=e.months),d=new wb(g),xb(a)&&i(a,"_locale")&&(d._locale=a._locale),d}function Pb(a,b){var c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function Qb(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function Sb(a,b){return function(c,d){var f;return null===d||isNaN(+d)||(y(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),f=c,c=d,d=f),Tb(this,Ob(c="string"==typeof c?+c:c,d),a),this}}function Tb(b,c,d,e){var f=c._milliseconds,g=yb(c._days),h=yb(c._months);b.isValid()&&(e=null==e||e,f&&b._d.setTime(b._d.valueOf()+f*d),g&&Q(b,"Date",P(b,"Date")+g*d),h&&ja(b,P(b,"Month")+h*d),e&&a.updateOffset(b,g||h))}function lc(a){var b;return void 0===a?this._locale._abbr:(null!=(b=bb(a))&&(this._locale=b),this)}function mc(){return this._locale}function zc(a,b){U(0,[a,a.length],0,b)}function Ec(a,b,c,d,e){var f;return null==a?wa(this,d,e).year:(b>(f=xa(a,d,e))&&(b=f),Fc.call(this,a,b,c,d,e))}function Fc(a,b,c,d,e){var f=va(a,b,c,d,e),g=ta(f.year,0,f.dayOfYear);return this.year(g.getUTCFullYear()),this.month(g.getUTCMonth()),this.date(g.getUTCDate()),this}function Ic(a,b){b[df]=u(1e3*("0."+a))}function Nc(a){return a}function Oc(a,b,c,d){var e=bb(),f=k().set(d,b);return e[c](f,a)}function Pc(a,b,c){if(f(a)&&(b=a,a=void 0),a=a||"",null!=b)return Oc(a,b,c,"month");var d,e=[];for(d=0;d<12;d++)e[d]=Oc(a,d,c,"month");return e}function Qc(a,b,c,d){"boolean"==typeof a?(f(b)&&(c=b,b=void 0),b=b||""):(c=b=a,a=!1,f(b)&&(c=b,b=void 0),b=b||"");var e=bb(),g=a?e._week.dow:0;if(null!=c)return Oc(b,(c+g)%7,d,"day");var h,i=[];for(h=0;h<7;h++)i[h]=Oc(b,(h+g)%7,d,"day");return i}function Xc(a,b,c,d){var e=Ob(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function $c(a){return a<0?Math.floor(a):Math.ceil(a)}function ad(a){return 4800*a/146097}function bd(a){return 146097*a/4800}function ed(a){return function(){return this.as(a)}}function gd(a){return function(){return this._data[a]}}function id(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function nd(){var a,b,d=ng(this._milliseconds)/1e3,e=ng(this._days),f=ng(this._months);a=t(d/60),b=t(a/60),d%=60,a%=60;var g=t(f/12),h=f%=12,i=e,j=b,k=a,l=d,m=this.asSeconds();return m?(m<0?"-":"")+"P"+(g?g+"Y":"")+(h?h+"M":"")+(i?i+"D":"")+(j||k||l?"T":"")+(j?j+"H":"")+(k?k+"M":"")+(l?l+"S":""):"P0D"}
function pd(a,b,c){return"m"===c?b?"хвіліна":"хвіліну":"h"===c?b?"гадзіна":"гадзіну":a+" "+function(a,b){var c=a.split("_");return b%10==1&&b%100!=11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}({mm:b?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:b?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[c],+a)}
function qd(a,b,c){return a+" "+function(a,b){return 2===b?function(a){var b={m:"v",b:"v",d:"z"};return void 0===b[a.charAt(0)]?a:b[a.charAt(0)]+a.substring(1)}(a):a}({mm:"munutenn",MM:"miz",dd:"devezh"}[c],a)}function vd(a,b,c){var d=a+" ";switch(c){case"m":return b?"jedna minuta":"jedne minute";case"mm":return d+(1===a?"minuta":2===a||3===a||4===a?"minute":"minuta");case"h":return b?"jedan sat":"jednog sata";case"hh":return d+(1===a?"sat":2===a||3===a||4===a?"sata":"sati");case"dd":return d+(1===a?"dan":"dana");case"MM":return d+(1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci");case"yy":return d+(1===a?"godina":2===a||3===a||4===a?"godine":"godina")}}function wd(a){return a>1&&a<5&&1!=~~(a/10)}function xd(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"pár sekund":"pár sekundami";case"m":return b?"minuta":d?"minutu":"minutou";case"mm":return b||d?e+(wd(a)?"minuty":"minut"):e+"minutami";case"h":return b?"hodina":d?"hodinu":"hodinou";case"hh":return b||d?e+(wd(a)?"hodiny":"hodin"):e+"hodinami";case"d":return b||d?"den":"dnem";case"dd":return b||d?e+(wd(a)?"dny":"dní"):e+"dny";case"M":return b||d?"měsíc":"měsícem";case"MM":return b||d?e+(wd(a)?"měsíce":"měsíců"):e+"měsíci";case"y":return b||d?"rok":"rokem";case"yy":return b||d?e+(wd(a)?"roky":"let"):e+"lety"}}
function yd(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]}
function zd(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]}
function Ad(a,b,c,d){var e={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[a+" minuti",a+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[a+" tunni",a+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[a+" kuu",a+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[a+" aasta",a+" aastat"]};return b?e[c][2]?e[c][2]:e[c][1]:d?e[c][0]:e[c][1]}function Bd(a,b,c,d){var e="";switch(c){case"s":return d?"muutaman sekunnin":"muutama sekunti";case"m":return d?"minuutin":"minuutti";case"mm":e=d?"minuutin":"minuuttia";break;case"h":return d?"tunnin":"tunti";case"hh":e=d?"tunnin":"tuntia";break;case"d":return d?"päivän":"päivä";case"dd":e=d?"päivän":"päivää";break;case"M":return d?"kuukauden":"kuukausi";case"MM":e=d?"kuukauden":"kuukautta";break;case"y":return d?"vuoden":"vuosi";case"yy":e=d?"vuoden":"vuotta"}return function(a,b){return a<10?b?Sg[a]:Rg[a]:a}(a,d)+" "+e}function Dd(a,b,c){var d=a+" ";switch(c){case"m":return b?"jedna minuta":"jedne minute";case"mm":return d+(1===a?"minuta":2===a||3===a||4===a?"minute":"minuta");case"h":return b?"jedan sat":"jednog sata";case"hh":return d+(1===a?"sat":2===a||3===a||4===a?"sata":"sati");case"dd":return d+(1===a?"dan":"dana");case"MM":return d+(1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci");case"yy":return d+(1===a?"godina":2===a||3===a||4===a?"godine":"godina")}}function Ed(a,b,c,d){var e=a;switch(c){case"s":return d||b?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(d||b?" perc":" perce");case"mm":return e+(d||b?" perc":" perce");case"h":return"egy"+(d||b?" óra":" órája");case"hh":return e+(d||b?" óra":" órája");case"d":return"egy"+(d||b?" nap":" napja");case"dd":return e+(d||b?" nap":" napja");case"M":return"egy"+(d||b?" hónap":" hónapja");case"MM":return e+(d||b?" hónap":" hónapja");case"y":return"egy"+(d||b?" év":" éve");case"yy":return e+(d||b?" év":" éve")}return""}function Fd(a){return(a?"":"[múlt] ")+"["+ah[this.day()]+"] LT[-kor]"}
function Gd(a){return a%100==11||a%10!=1}function Hd(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return b?"mínúta":"mínútu";case"mm":return Gd(a)?e+(b||d?"mínútur":"mínútum"):b?e+"mínúta":e+"mínútu";case"hh":return Gd(a)?e+(b||d?"klukkustundir":"klukkustundum"):e+"klukkustund";case"d":return b?"dagur":d?"dag":"degi";case"dd":return Gd(a)?b?e+"dagar":e+(d?"daga":"dögum"):b?e+"dagur":e+(d?"dag":"degi");case"M":return b?"mánuður":d?"mánuð":"mánuði";case"MM":return Gd(a)?b?e+"mánuðir":e+(d?"mánuði":"mánuðum"):b?e+"mánuður":e+(d?"mánuð":"mánuði");case"y":return b||d?"ár":"ári";case"yy":return Gd(a)?e+(b||d?"ár":"árum"):e+(b||d?"ár":"ári")}}
function Id(a,b,c,d){var e={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 b?e[c][0]:e[c][1]}function Ld(a){if(a=parseInt(a,10),isNaN(a))return!1;if(a<0)return!0;if(a<10)return 4<=a&&a<=7;if(a<100){var b=a%10;return Ld(0===b?a/10:b)}if(a<1e4){for(;a>=10;)a/=10;return Ld(a)}return Ld(a/=1e3)}function Nd(a,b,c,d){return b?Pd(c)[0]:d?Pd(c)[1]:Pd(c)[2]}function Od(a){return a%10==0||a>10&&a<20}function Pd(a){return dh[a].split("_")}function Qd(a,b,c,d){var e=a+" ";return 1===a?e+Nd(0,b,c[0],d):b?e+(Od(a)?Pd(c)[1]:Pd(c)[0]):d?e+Pd(c)[1]:e+(Od(a)?Pd(c)[1]:Pd(c)[2])}function Rd(a,b,c){return c?b%10==1&&b%100!=11?a[2]:a[3]:b%10==1&&b%100!=11?a[0]:a[1]}function Sd(a,b,c){return a+" "+Rd(eh[c],a,b)}function Td(a,b,c){return Rd(eh[c],a,b)}function Vd(a,b,c,d){var e="";if(b)switch(c){case"s":e="काही सेकंद";break;case"m":e="एक मिनिट";break;case"mm":e="%d मिनिटे";break;case"h":e="एक तास";break;case"hh":e="%d तास";break;case"d":e="एक दिवस";break;case"dd":e="%d दिवस";break;case"M":e="एक महिना";break;case"MM":e="%d महिने";break;case"y":e="एक वर्ष";break;case"yy":e="%d वर्षे"}else switch(c){case"s":e="काही सेकंदां";break;case"m":e="एका मिनिटा";break;case"mm":e="%d मिनिटां";break;case"h":e="एका तासा";break;case"hh":e="%d तासां";break;case"d":e="एका दिवसा";break;case"dd":e="%d दिवसां";break;case"M":e="एका महिन्या";break;case"MM":e="%d महिन्यां";break;case"y":e="एका वर्षा";break;case"yy":e="%d वर्षां"}return e.replace(/%d/i,a)}function Wd(a){return a%10<5&&a%10>1&&~~(a/10)%10!=1}function Xd(a,b,c){var d=a+" ";switch(c){case"m":return b?"minuta":"minutę";case"mm":return d+(Wd(a)?"minuty":"minut");case"h":return b?"godzina":"godzinę";case"hh":return d+(Wd(a)?"godziny":"godzin");case"MM":return d+(Wd(a)?"miesiące":"miesięcy");case"yy":return d+(Wd(a)?"lata":"lat")}}
function Yd(a,b,c){var e=" ";return(a%100>=20||a>=100&&a%100==0)&&(e=" de "),a+e+{mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[c]}
function $d(a,b,c){return"m"===c?b?"минута":"минуту":a+" "+function(a,b){var c=a.split("_");return b%10==1&&b%100!=11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}({mm:b?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[c],+a)}function _d(a){return a>1&&a<5}function ae(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"pár sekúnd":"pár sekundami";case"m":return b?"minúta":d?"minútu":"minútou";case"mm":return b||d?e+(_d(a)?"minúty":"minút"):e+"minútami";case"h":return b?"hodina":d?"hodinu":"hodinou";case"hh":return b||d?e+(_d(a)?"hodiny":"hodín"):e+"hodinami";case"d":return b||d?"deň":"dňom";case"dd":return b||d?e+(_d(a)?"dni":"dní"):e+"dňami";case"M":return b||d?"mesiac":"mesiacom";case"MM":return b||d?e+(_d(a)?"mesiace":"mesiacov"):e+"mesiacmi";case"y":return b||d?"rok":"rokom";case"yy":return b||d?e+(_d(a)?"roky":"rokov"):e+"rokmi"}}
function be(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"nekaj sekund":"nekaj sekundami";case"m":return b?"ena minuta":"eno minuto";case"mm":return e+(1===a?b?"minuta":"minuto":2===a?b||d?"minuti":"minutama":a<5?b||d?"minute":"minutami":b||d?"minut":"minutami");case"h":return b?"ena ura":"eno uro";case"hh":return e+(1===a?b?"ura":"uro":2===a?b||d?"uri":"urama":a<5?b||d?"ure":"urami":b||d?"ur":"urami");case"d":return b||d?"en dan":"enim dnem";case"dd":return e+(1===a?b||d?"dan":"dnem":2===a?b||d?"dni":"dnevoma":b||d?"dni":"dnevi");case"M":return b||d?"en mesec":"enim mesecem";case"MM":return e+(1===a?b||d?"mesec":"mesecem":2===a?b||d?"meseca":"mesecema":a<5?b||d?"mesece":"meseci":b||d?"mesecev":"meseci");case"y":return b||d?"eno leto":"enim letom";case"yy":return e+(1===a?b||d?"leto":"letom":2===a?b||d?"leti":"letoma":a<5?b||d?"leta":"leti":b||d?"let":"leti")}}function ee(a,b,c,d){var e=function(a){var b=Math.floor(a%1e3/100),c=Math.floor(a%100/10),d=a%10,e="";return b>0&&(e+=Fh[b]+"vatlh"),c>0&&(e+=(""!==e?" ":"")+Fh[c]+"maH"),d>0&&(e+=(""!==e?" ":"")+Fh[d]),""===e?"pagh":e}(a);switch(c){case"mm":return e+" tup";case"hh":return e+" rep";case"dd":return e+" jaj";case"MM":return e+" jar";case"yy":return e+" DIS"}}function ge(a,b,c,d){var e={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[a+" míuts",a+" míuts"],h:["'n þora","'iensa þora"],hh:[a+" þoras",a+" þoras"],d:["'n ziua","'iensa ziua"],dd:[a+" ziuas",a+" ziuas"],M:["'n mes","'iens mes"],MM:[a+" mesen",a+" mesen"],y:["'n ar","'iens ar"],yy:[a+" ars",a+" ars"]};return d||b?e[c][0]:e[c][1]}
function ie(a,b,c){return"m"===c?b?"хвилина":"хвилину":"h"===c?b?"година":"годину":a+" "+function(a,b){var c=a.split("_");return b%10==1&&b%100!=11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}({mm:b?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:b?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[c],+a)}function ke(a){return function(){return a+"о"+(11===this.hours()?"б":"")+"] LT"}}var le,ne=Array.prototype.some?Array.prototype.some:function(a){for(var b=Object(this),c=b.length>>>0,d=0;d<c;d++)if(d in b&&a.call(this,b[d],d,b))return!0;return!1},oe=a.momentProperties=[],pe=!1,qe={};a.suppressDeprecationWarnings=!1,a.deprecationHandler=null;var te=Object.keys?Object.keys:function(a){var b,c=[];for(b in a)i(a,b)&&c.push(b);return c},Ae={},Be={},Ce=/(\[[^\[]*\])|(\\)?([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,De=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ee={},Fe={},Ge=/\d/,He=/\d\d/,Ie=/\d{3}/,Je=/\d{4}/,Ke=/[+-]?\d{6}/,Le=/\d\d?/,Me=/\d\d\d\d?/,Ne=/\d\d\d\d\d\d?/,Oe=/\d{1,3}/,Pe=/\d{1,4}/,Qe=/[+-]?\d{1,6}/,Re=/\d+/,Se=/[+-]?\d+/,Te=/Z|[+-]\d\d:?\d\d/gi,Ue=/Z|[+-]\d\d(?::?\d\d)?/gi,We=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Xe={},Ye={},Ze=0,$e=1,_e=2,af=3,bf=4,cf=5,df=6,ef=7,ff=8,gf=Array.prototype.indexOf?Array.prototype.indexOf:function(a){var b;for(b=0;b<this.length;++b)if(this[b]===a)return b;return-1};U("M",["MM",2],"Mo",(function(){return this.month()+1})),U("MMM",0,0,(function(a){return this.localeData().monthsShort(this,a)})),U("MMMM",0,0,(function(a){return this.localeData().months(this,a)})),J("month","M"),M("month",8),Z("M",Le),Z("MM",Le,He),Z("MMM",(function(a,b){return b.monthsShortRegex(a)})),Z("MMMM",(function(a,b){return b.monthsRegex(a)})),ba(["M","MM"],(function(a,b){b[$e]=u(a)-1})),ba(["MMM","MMMM"],(function(a,b,c,d){var e=c._locale.monthsParse(a,d,c._strict);null!=e?b[$e]=e:m(c).invalidMonth=a}));var hf=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,jf="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),kf="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),lf=We,mf=We;U("Y",0,0,(function(){var a=this.year();return a<=9999?""+a:"+"+a})),U(0,["YY",2],0,(function(){return this.year()%100})),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),J("year","y"),M("year",1),Z("Y",Se),Z("YY",Le,He),Z("YYYY",Pe,Je),Z("YYYYY",Qe,Ke),Z("YYYYYY",Qe,Ke),ba(["YYYYY","YYYYYY"],Ze),ba("YYYY",(function(b,c){c[Ze]=2===b.length?a.parseTwoDigitYear(b):u(b)})),ba("YY",(function(b,c){c[Ze]=a.parseTwoDigitYear(b)})),ba("Y",(function(a,b){b[Ze]=parseInt(a,10)})),a.parseTwoDigitYear=function(a){return u(a)+(u(a)>68?1900:2e3)};var nf=O("FullYear",!0);U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),J("week","w"),J("isoWeek","W"),M("week",5),M("isoWeek",5),Z("w",Le),Z("ww",Le,He),Z("W",Le),Z("WW",Le,He),ca(["w","ww","W","WW"],(function(a,b,c,d){b[d.substr(0,1)]=u(a)}));U("d",0,"do","day"),U("dd",0,0,(function(a){return this.localeData().weekdaysMin(this,a)})),U("ddd",0,0,(function(a){return this.localeData().weekdaysShort(this,a)})),U("dddd",0,0,(function(a){return this.localeData().weekdays(this,a)})),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),J("day","d"),J("weekday","e"),J("isoWeekday","E"),M("day",11),M("weekday",11),M("isoWeekday",11),Z("d",Le),Z("e",Le),Z("E",Le),Z("dd",(function(a,b){return b.weekdaysMinRegex(a)})),Z("ddd",(function(a,b){return b.weekdaysShortRegex(a)})),Z("dddd",(function(a,b){return b.weekdaysRegex(a)})),ca(["dd","ddd","dddd"],(function(a,b,c,d){var e=c._locale.weekdaysParse(a,d,c._strict);null!=e?b.d=e:m(c).invalidWeekday=a})),ca(["d","e","E"],(function(a,b,c,d){b[d]=u(a)}));var pf="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qf="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),rf="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),sf=We,tf=We,uf=We;U("H",["HH",2],0,"hour"),U("h",["hh",2],0,Ra),U("k",["kk",2],0,(function(){return this.hours()||24})),U("hmm",0,0,(function(){return""+Ra.apply(this)+T(this.minutes(),2)})),U("hmmss",0,0,(function(){return""+Ra.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)})),U("Hmm",0,0,(function(){return""+this.hours()+T(this.minutes(),2)})),U("Hmmss",0,0,(function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)})),Ta("a",!0),Ta("A",!1),J("hour","h"),M("hour",13),Z("a",Ua),Z("A",Ua),Z("H",Le),Z("h",Le),Z("HH",Le,He),Z("hh",Le,He),Z("hmm",Me),Z("hmmss",Ne),Z("Hmm",Me),Z("Hmmss",Ne),ba(["H","HH"],af),ba(["a","A"],(function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a})),ba(["h","hh"],(function(a,b,c){b[af]=u(a),m(c).bigHour=!0})),ba("hmm",(function(a,b,c){var d=a.length-2;b[af]=u(a.substr(0,d)),b[bf]=u(a.substr(d)),m(c).bigHour=!0})),ba("hmmss",(function(a,b,c){var d=a.length-4,e=a.length-2;b[af]=u(a.substr(0,d)),b[bf]=u(a.substr(d,2)),b[cf]=u(a.substr(e)),m(c).bigHour=!0})),ba("Hmm",(function(a,b,c){var d=a.length-2;b[af]=u(a.substr(0,d)),b[bf]=u(a.substr(d))})),ba("Hmmss",(function(a,b,c){var d=a.length-4,e=a.length-2;b[af]=u(a.substr(0,d)),b[bf]=u(a.substr(d,2)),b[cf]=u(a.substr(e))}));var vf,xf=O("Hours",!0),yf={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:jf,monthsShort:kf,week:{dow:0,doy:6},weekdays:pf,weekdaysMin:rf,weekdaysShort:qf,meridiemParse:/[ap]\.?m?\.?/i},zf={},Af={},Bf=/^\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)?)?$/,Cf=/^\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)?)?$/,Df=/Z|[+-]\d\d(?::?\d\d)?/,Ef=[["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}/]],Ff=[["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/]],Gf=/^\/?Date\((\-?\d+)/i;a.createFromInputFallback=x("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(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))})),a.ISO_8601=function(){};var Hf=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var a=sb.apply(null,arguments);return this.isValid()&&a.isValid()?a<this?this:a:o()})),If=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var a=sb.apply(null,arguments);return this.isValid()&&a.isValid()?a>this?this:a:o()}));zb("Z",":"),zb("ZZ",""),Z("Z",Ue),Z("ZZ",Ue),ba(["Z","ZZ"],(function(a,b,c){c._useUTC=!0,c._tzm=Ab(Ue,a)}));var Kf=/([\+\-]|\d\d)/gi;a.updateOffset=function(){};var Lf=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Mf=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ob.fn=wb.prototype;var Nf=Sb(1,"add"),Of=Sb(-1,"subtract");a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Pf=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(a){return void 0===a?this.localeData():this.locale(a)}));U(0,["gg",2],0,(function(){return this.weekYear()%100})),U(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),zc("gggg","weekYear"),zc("ggggg","weekYear"),zc("GGGG","isoWeekYear"),zc("GGGGG","isoWeekYear"),J("weekYear","gg"),J("isoWeekYear","GG"),M("weekYear",1),M("isoWeekYear",1),Z("G",Se),Z("g",Se),Z("GG",Le,He),Z("gg",Le,He),Z("GGGG",Pe,Je),Z("gggg",Pe,Je),Z("GGGGG",Qe,Ke),Z("ggggg",Qe,Ke),ca(["gggg","ggggg","GGGG","GGGGG"],(function(a,b,c,d){b[d.substr(0,2)]=u(a)})),ca(["gg","GG"],(function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)})),U("Q",0,"Qo","quarter"),J("quarter","Q"),M("quarter",7),Z("Q",Ge),ba("Q",(function(a,b){b[$e]=3*(u(a)-1)})),U("D",["DD",2],"Do","date"),J("date","D"),M("date",9),Z("D",Le),Z("DD",Le,He),Z("Do",(function(a,b){return a?b._ordinalParse:b._ordinalParseLenient})),ba(["D","DD"],_e),ba("Do",(function(a,b){b[_e]=u(a.match(Le)[0])}));var Qf=O("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),J("dayOfYear","DDD"),M("dayOfYear",4),Z("DDD",Oe),Z("DDDD",Ie),ba(["DDD","DDDD"],(function(a,b,c){c._dayOfYear=u(a)})),U("m",["mm",2],0,"minute"),J("minute","m"),M("minute",14),Z("m",Le),Z("mm",Le,He),ba(["m","mm"],bf);var Rf=O("Minutes",!1);U("s",["ss",2],0,"second"),J("second","s"),M("second",15),Z("s",Le),Z("ss",Le,He),ba(["s","ss"],cf);var Tf,Sf=O("Seconds",!1);for(U("S",0,0,(function(){return~~(this.millisecond()/100)})),U(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),U(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),U(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),U(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),U(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),U(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),J("millisecond","ms"),M("millisecond",16),Z("S",Oe,Ge),Z("SS",Oe,He),Z("SSS",Oe,Ie),Tf="SSSS";Tf.length<=9;Tf+="S")Z(Tf,Re);for(Tf="S";Tf.length<=9;Tf+="S")ba(Tf,Ic);var Uf=O("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var Vf=r.prototype;Vf.add=Nf,Vf.calendar=function(b,c){var d=b||sb(),e=Bb(d,this).startOf("day"),f=a.calendarFormat(this,e)||"sameElse",g=c&&(z(c[f])?c[f].call(this,d):c[f]);return this.format(g||this.localeData().calendar(f,this,sb(d)))},Vf.clone=function(){return new r(this)},Vf.diff=function(a,b,c){var d,e,f,g;return this.isValid()?(d=Bb(a,this)).isValid()?(e=6e4*(d.utcOffset()-this.utcOffset()),"year"===(b=K(b))||"month"===b||"quarter"===b?(g=function(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return b-f<0?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)||0}(this,d),"quarter"===b?g/=3:"year"===b&&(g/=12)):(f=this-d,g="second"===b?f/1e3:"minute"===b?f/6e4:"hour"===b?f/36e5:"day"===b?(f-e)/864e5:"week"===b?(f-e)/6048e5:f),c?g:t(g)):NaN:NaN},Vf.endOf=function(a){return void 0===(a=K(a))||"millisecond"===a?this:("date"===a&&(a="day"),this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms"))},Vf.format=function(b){b||(b=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var c=X(this,b);return this.localeData().postformat(c)},Vf.from=function(a,b){return this.isValid()&&(s(a)&&a.isValid()||sb(a).isValid())?Ob({to:this,from:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()},Vf.fromNow=function(a){return this.from(sb(),a)},Vf.to=function(a,b){return this.isValid()&&(s(a)&&a.isValid()||sb(a).isValid())?Ob({from:this,to:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()},Vf.toNow=function(a){return this.to(sb(),a)},Vf.get=function(a){return z(this[a=K(a)])?this[a]():this},Vf.invalidAt=function(){return m(this).overflow},Vf.isAfter=function(a,b){var c=s(a)?a:sb(a);return!(!this.isValid()||!c.isValid())&&("millisecond"===(b=K(p(b)?"millisecond":b))?this.valueOf()>c.valueOf():c.valueOf()<this.clone().startOf(b).valueOf())},Vf.isBefore=function(a,b){var c=s(a)?a:sb(a);return!(!this.isValid()||!c.isValid())&&("millisecond"===(b=K(p(b)?"millisecond":b))?this.valueOf()<c.valueOf():this.clone().endOf(b).valueOf()<c.valueOf())},Vf.isBetween=function(a,b,c,d){return("("===(d=d||"()")[0]?this.isAfter(a,c):!this.isBefore(a,c))&&(")"===d[1]?this.isBefore(b,c):!this.isAfter(b,c))},Vf.isSame=function(a,b){var c,d=s(a)?a:sb(a);return!(!this.isValid()||!d.isValid())&&("millisecond"===(b=K(b||"millisecond"))?this.valueOf()===d.valueOf():(c=d.valueOf(),this.clone().startOf(b).valueOf()<=c&&c<=this.clone().endOf(b).valueOf()))},Vf.isSameOrAfter=function(a,b){return this.isSame(a,b)||this.isAfter(a,b)},Vf.isSameOrBefore=function(a,b){return this.isSame(a,b)||this.isBefore(a,b)},Vf.isValid=function(){return n(this)},Vf.lang=Pf,Vf.locale=lc,Vf.localeData=mc,Vf.max=If,Vf.min=Hf,Vf.parsingFlags=function(){return j({},m(this))},Vf.set=function(a,b){if("object"==typeof a)for(var c=function(a){var b=[];for(var c in a)b.push({unit:c,priority:Be[c]});return b.sort((function(a,b){return a.priority-b.priority})),b}(a=L(a)),d=0;d<c.length;d++)this[c[d].unit](a[c[d].unit]);else if(z(this[a=K(a)]))return this[a](b);return this},Vf.startOf=function(a){switch(a=K(a)){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"===a&&this.weekday(0),"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this},Vf.subtract=Of,Vf.toArray=function(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]},Vf.toObject=function(){var a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}},Vf.toDate=function(){return new Date(this.valueOf())},Vf.toISOString=function(){var a=this.clone().utc();return 0<a.year()&&a.year()<=9999?z(Date.prototype.toISOString)?this.toDate().toISOString():X(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):X(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},Vf.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var a="moment",b="";this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",b="Z");var c="["+a+'("]',d=0<this.year()&&this.year()<=9999?"YYYY":"YYYYYY",f=b+'[")]';return this.format(c+d+"-MM-DD[T]HH:mm:ss.SSS"+f)},Vf.toJSON=function(){return this.isValid()?this.toISOString():null},Vf.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Vf.unix=function(){return Math.floor(this.valueOf()/1e3)},Vf.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Vf.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Vf.year=nf,Vf.isLeapYear=function(){return qa(this.year())},Vf.weekYear=function(a){return Ec.call(this,a,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Vf.isoWeekYear=function(a){return Ec.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)},Vf.quarter=Vf.quarters=function(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)},Vf.month=ka,Vf.daysInMonth=function(){return ea(this.year(),this.month())},Vf.week=Vf.weeks=function(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")},Vf.isoWeek=Vf.isoWeeks=function(a){var b=wa(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")},Vf.weeksInYear=function(){var a=this.localeData()._week;return xa(this.year(),a.dow,a.doy)},Vf.isoWeeksInYear=function(){return xa(this.year(),1,4)},Vf.date=Qf,Vf.day=Vf.days=function(a){if(!this.isValid())return null!=a?this:NaN;var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=function(a,b){return"string"!=typeof a?a:isNaN(a)?"number"==typeof(a=b.weekdaysParse(a))?a:null:parseInt(a,10)}(a,this.localeData()),this.add(a-b,"d")):b},Vf.weekday=function(a){if(!this.isValid())return null!=a?this:NaN;var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")},Vf.isoWeekday=function(a){if(!this.isValid())return null!=a?this:NaN;if(null!=a){var b=function(a,b){return"string"==typeof a?b.weekdaysParse(a)%7||7:isNaN(a)?null:a}(a,this.localeData());return this.day(this.day()%7?b:b-7)}return this.day()||7},Vf.dayOfYear=function(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")},Vf.hour=Vf.hours=xf,Vf.minute=Vf.minutes=Rf,Vf.second=Vf.seconds=Sf,Vf.millisecond=Vf.milliseconds=Uf,Vf.utcOffset=function(b,c){var d,e=this._offset||0;if(!this.isValid())return null!=b?this:NaN;if(null!=b){if("string"==typeof b){if(null===(b=Ab(Ue,b)))return this}else Math.abs(b)<16&&(b*=60);return!this._isUTC&&c&&(d=Cb(this)),this._offset=b,this._isUTC=!0,null!=d&&this.add(d,"m"),e!==b&&(!c||this._changeInProgress?Tb(this,Ob(b-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?e:Cb(this)},Vf.utc=function(a){return this.utcOffset(0,a)},Vf.local=function(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Cb(this),"m")),this},Vf.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm);else if("string"==typeof this._i){var a=Ab(Te,this._i);null!=a?this.utcOffset(a):this.utcOffset(0,!0)}return this},Vf.hasAlignedHourOffset=function(a){return!!this.isValid()&&(a=a?sb(a).utcOffset():0,(this.utcOffset()-a)%60==0)},Vf.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Vf.isLocal=function(){return!!this.isValid()&&!this._isUTC},Vf.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Vf.isUtc=Nb,Vf.isUTC=Nb,Vf.zoneAbbr=function(){return this._isUTC?"UTC":""},Vf.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Vf.dates=x("dates accessor is deprecated. Use date instead.",Qf),Vf.months=x("months accessor is deprecated. Use month instead",ka),Vf.years=x("years accessor is deprecated. Use year instead",nf),Vf.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()})),Vf.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!p(this._isDSTShifted))return this._isDSTShifted;var a={};if(q(a,this),(a=pb(a))._a){var b=a._isUTC?k(a._a):sb(a._a);this._isDSTShifted=this.isValid()&&v(a._a,b.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var Wf=C.prototype;Wf.calendar=function(a,b,c){var d=this._calendar[a]||this._calendar.sameElse;return z(d)?d.call(b,c):d},Wf.longDateFormat=function(a){var b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];return b||!c?b:(this._longDateFormat[a]=c.replace(/MMMM|MM|DD|dddd/g,(function(a){return a.slice(1)})),this._longDateFormat[a])},Wf.invalidDate=function(){return this._invalidDate},Wf.ordinal=function(a){return this._ordinal.replace("%d",a)},Wf.preparse=Nc,Wf.postformat=Nc,Wf.relativeTime=function(a,b,c,d){var e=this._relativeTime[c];return z(e)?e(a,b,c,d):e.replace(/%d/i,a)},Wf.pastFuture=function(a,b){var c=this._relativeTime[a>0?"future":"past"];return z(c)?c(b):c.replace(/%s/i,b)},Wf.set=function(a){var b,c;for(c in a)z(b=a[c])?this[c]=b:this["_"+c]=b;this._config=a,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},Wf.months=function(a,b){return a?c(this._months)?this._months[a.month()]:this._months[(this._months.isFormat||hf).test(b)?"format":"standalone"][a.month()]:this._months},Wf.monthsShort=function(a,b){return a?c(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[hf.test(b)?"format":"standalone"][a.month()]:this._monthsShort},Wf.monthsParse=function(a,b,c){var d,e,f;if(this._monthsParseExact)return ha.call(this,a,b,c);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;d<12;d++){if(e=k([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}},Wf.monthsRegex=function(a){return this._monthsParseExact?(i(this,"_monthsRegex")||oa.call(this),a?this._monthsStrictRegex:this._monthsRegex):(i(this,"_monthsRegex")||(this._monthsRegex=mf),this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex)},Wf.monthsShortRegex=function(a){return this._monthsParseExact?(i(this,"_monthsRegex")||oa.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex):(i(this,"_monthsShortRegex")||(this._monthsShortRegex=lf),this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex)},Wf.week=function(a){return wa(a,this._week.dow,this._week.doy).week},Wf.firstDayOfYear=function(){return this._week.doy},Wf.firstDayOfWeek=function(){return this._week.dow},Wf.weekdays=function(a,b){return a?c(this._weekdays)?this._weekdays[a.day()]:this._weekdays[this._weekdays.isFormat.test(b)?"format":"standalone"][a.day()]:this._weekdays},Wf.weekdaysMin=function(a){return a?this._weekdaysMin[a.day()]:this._weekdaysMin},Wf.weekdaysShort=function(a){return a?this._weekdaysShort[a.day()]:this._weekdaysShort},Wf.weekdaysParse=function(a,b,c){var d,e,f;if(this._weekdaysParseExact)return Ia.call(this,a,b,c);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;d<7;d++){if(e=k([2e3,1]).day(d),c&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(e,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(e,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(e,"").replace(".",".?")+"$","i")),this._weekdaysParse[d]||(f="^"+this.weekdays(e,"")+"|^"+this.weekdaysShort(e,"")+"|^"+this.weekdaysMin(e,""),this._weekdaysParse[d]=new RegExp(f.replace(".",""),"i")),c&&"dddd"===b&&this._fullWeekdaysParse[d].test(a))return d;if(c&&"ddd"===b&&this._shortWeekdaysParse[d].test(a))return d;if(c&&"dd"===b&&this._minWeekdaysParse[d].test(a))return d;if(!c&&this._weekdaysParse[d].test(a))return d}},Wf.weekdaysRegex=function(a){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex):(i(this,"_weekdaysRegex")||(this._weekdaysRegex=sf),this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex)},Wf.weekdaysShortRegex=function(a){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(i(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tf),this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Wf.weekdaysMinRegex=function(a){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(i(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=uf),this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Wf.isPM=function(a){return"p"===(a+"").toLowerCase().charAt(0)},Wf.meridiem=function(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"},$a("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10;return a+(1===u(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}}),a.lang=x("moment.lang is deprecated. Use moment.locale instead.",$a),a.langData=x("moment.langData is deprecated. Use moment.localeData instead.",bb);var Xf=Math.abs,Yf=ed("ms"),Zf=ed("s"),$f=ed("m"),_f=ed("h"),ag=ed("d"),bg=ed("w"),cg=ed("M"),dg=ed("y"),eg=gd("milliseconds"),fg=gd("seconds"),gg=gd("minutes"),hg=gd("hours"),ig=gd("days"),jg=gd("months"),kg=gd("years"),lg=Math.round,mg={s:45,m:45,h:22,d:26,M:11},ng=Math.abs,og=wb.prototype;og.abs=function(){var a=this._data;return this._milliseconds=Xf(this._milliseconds),this._days=Xf(this._days),this._months=Xf(this._months),a.milliseconds=Xf(a.milliseconds),a.seconds=Xf(a.seconds),a.minutes=Xf(a.minutes),a.hours=Xf(a.hours),a.months=Xf(a.months),a.years=Xf(a.years),this},og.add=function(a,b){return Xc(this,a,b,1)},og.subtract=function(a,b){return Xc(this,a,b,-1)},og.as=function(a){var b,c,d=this._milliseconds;if("month"===(a=K(a))||"year"===a)return b=this._days+d/864e5,c=this._months+ad(b),"month"===a?c:c/12;switch(b=this._days+Math.round(bd(this._months)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 1440*b+d/6e4;case"second":return 86400*b+d/1e3;case"millisecond":return Math.floor(864e5*b)+d;default:throw new Error("Unknown unit "+a)}},og.asMilliseconds=Yf,og.asSeconds=Zf,og.asMinutes=$f,og.asHours=_f,og.asDays=ag,og.asWeeks=bg,og.asMonths=cg,og.asYears=dg,og.valueOf=function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*u(this._months/12)},og._bubble=function(){var a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,i=this._data;return f>=0&&g>=0&&h>=0||f<=0&&g<=0&&h<=0||(f+=864e5*$c(bd(h)+g),g=0,h=0),i.milliseconds=f%1e3,a=t(f/1e3),i.seconds=a%60,b=t(a/60),i.minutes=b%60,c=t(b/60),i.hours=c%24,g+=t(c/24),h+=e=t(ad(g)),g-=$c(bd(e)),d=t(h/12),h%=12,i.days=g,i.months=h,i.years=d,this},og.get=function(a){return this[(a=K(a))+"s"]()},og.milliseconds=eg,og.seconds=fg,og.minutes=gg,og.hours=hg,og.days=ig,og.weeks=function(){return t(this.days()/7)},og.months=jg,og.years=kg,og.humanize=function(a){var b=this.localeData(),c=function(a,b,c){var d=Ob(a).abs(),e=lg(d.as("s")),f=lg(d.as("m")),g=lg(d.as("h")),h=lg(d.as("d")),i=lg(d.as("M")),j=lg(d.as("y")),k=e<mg.s&&["s",e]||f<=1&&["m"]||f<mg.m&&["mm",f]||g<=1&&["h"]||g<mg.h&&["hh",g]||h<=1&&["d"]||h<mg.d&&["dd",h]||i<=1&&["M"]||i<mg.M&&["MM",i]||j<=1&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,id.apply(null,k)}(this,!a,b);return a&&(c=b.pastFuture(+this,c)),b.postformat(c)},og.toISOString=nd,og.toString=nd,og.toJSON=nd,og.locale=lc,og.localeData=mc,og.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",nd),og.lang=Pf,U("X",0,0,"unix"),U("x",0,0,"valueOf"),Z("x",Se),Z("X",/[+-]?\d+(\.\d{1,3})?/),ba("X",(function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))})),ba("x",(function(a,b,c){c._d=new Date(u(a))})),a.version="2.17.1",function(a){le=a}(sb),a.fn=Vf,a.min=function(){var a=[].slice.call(arguments,0);return tb("isBefore",a)},a.max=function(){var a=[].slice.call(arguments,0);return tb("isAfter",a)},a.now=function(){return Date.now?Date.now():+new Date},a.utc=k,a.unix=function(a){return sb(1e3*a)},a.months=function(a,b){return Pc(a,b,"months")},a.isDate=g,a.locale=$a,a.invalid=o,a.duration=Ob,a.isMoment=s,a.weekdays=function(a,b,c){return Qc(a,b,c,"weekdays")},a.parseZone=function(){return sb.apply(null,arguments).parseZone()},a.localeData=bb,a.isDuration=xb,a.monthsShort=function(a,b){return Pc(a,b,"monthsShort")},a.weekdaysMin=function(a,b,c){return Qc(a,b,c,"weekdaysMin")},a.defineLocale=_a,a.updateLocale=function(a,b){if(null!=b){var c,d=yf;null!=zf[a]&&(d=zf[a]._config),(c=new C(b=B(d,b))).parentLocale=zf[a],zf[a]=c,$a(a)}else null!=zf[a]&&(null!=zf[a].parentLocale?zf[a]=zf[a].parentLocale:null!=zf[a]&&delete zf[a]);return zf[a]},a.locales=function(){return te(zf)},a.weekdaysShort=function(a,b,c){return Qc(a,b,c,"weekdaysShort")},a.normalizeUnits=K,a.relativeTimeRounding=function(a){return void 0===a?lg:"function"==typeof a&&(lg=a,!0)},a.relativeTimeThreshold=function(a,b){return void 0!==mg[a]&&(void 0===b?mg[a]:(mg[a]=b,!0))},a.calendarFormat=function(a,b){var c=a.diff(b,"days",!0);return c<-6?"sameElse":c<-1?"lastWeek":c<0?"lastDay":c<1?"sameDay":c<2?"nextDay":c<7?"nextWeek":"sameElse"},a.prototype=Vf,a.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(a){return/^nm$/i.test(a)},meridiem:function(a,b,c){return a<12?c?"vm":"VM":c?"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(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}}),a.defineLocale("ar-dz",{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:0,doy:4}});var pg={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},qg=function(a){return 0===a?0:1===a?1:2===a?2:a%100>=3&&a%100<=10?3:a%100>=11?4:5},rg={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},sg=function(a){return function(b,c,d,e){var f=qg(b),g=rg[a][qg(b)];return 2===f&&(g=g[c?0:1]),g.replace(/%d/i,b)}},tg=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];a.defineLocale("ar-ly",{months:tg,monthsShort:tg,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(a){return"م"===a},meridiem:function(a,b,c){return a<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:sg("s"),m:sg("m"),mm:sg("m"),h:sg("h"),hh:sg("h"),d:sg("d"),dd:sg("d"),M:sg("M"),MM:sg("M"),y:sg("y"),yy:sg("y")},preparse:function(a){return a.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,(function(a){return pg[a]})).replace(/,/g,"،")},week:{dow:6,doy:12}}),a.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}});var ug={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},vg={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};a.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(a){return"م"===a},meridiem:function(a,b,c){return a<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(a){return a.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(a){return vg[a]})).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,(function(a){return ug[a]})).replace(/,/g,"،")},week:{dow:0,doy:6}}),a.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}});var wg={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},xg={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},yg=function(a){return 0===a?0:1===a?1:2===a?2:a%100>=3&&a%100<=10?3:a%100>=11?4:5},zg={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},Ag=function(a){return function(b,c,d,e){var f=yg(b),g=zg[a][yg(b)];return 2===f&&(g=g[c?0:1]),g.replace(/%d/i,b)}},Bg=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"];a.defineLocale("ar",{months:Bg,monthsShort:Bg,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(a){return"م"===a},meridiem:function(a,b,c){return a<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:Ag("s"),m:Ag("m"),mm:Ag("m"),h:Ag("h"),hh:Ag("h"),d:Ag("d"),dd:Ag("d"),M:Ag("M"),MM:Ag("M"),y:Ag("y"),yy:Ag("y")},preparse:function(a){return a.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(a){return xg[a]})).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,(function(a){return wg[a]})).replace(/,/g,"،")},week:{dow:6,doy:12}});var Cg={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ı"};a.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(a){return/^(gündüz|axşam)$/.test(a)},meridiem:function(a,b,c){return a<4?"gecə":a<12?"səhər":a<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(a){if(0===a)return a+"-ıncı";var b=a%10;return a+(Cg[b]||Cg[a%100-b]||Cg[a>=100?100:null])},week:{dow:1,doy:7}}),a.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:pd,mm:pd,h:pd,hh:pd,d:"дзень",dd:pd,M:"месяц",MM:pd,y:"год",yy:pd},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(a){return/^(дня|вечара)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночы":a<12?"раніцы":a<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":case"w":case"W":return a%10!=2&&a%10!=3||a%100==12||a%100==13?a+"-ы":a+"-і";case"D":return a+"-га";default:return a}},week:{dow:1,doy:7}}),a.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(a){var b=a%10,c=a%100;return 0===a?a+"-ев":0===c?a+"-ен":c>10&&c<20?a+"-ти":1===b?a+"-ви":2===b?a+"-ри":7===b||8===b?a+"-ми":a+"-ти"},week:{dow:1,doy:7}});var Dg={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},Eg={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};a.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(a){return a.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(a){return Eg[a]}))},postformat:function(a){return a.replace(/\d/g,(function(a){return Dg[a]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(a,b){return 12===a&&(a=0),"রাত"===b&&a>=4||"দুপুর"===b&&a<5||"বিকাল"===b?a+12:a},meridiem:function(a,b,c){return a<4?"রাত":a<10?"সকাল":a<17?"দুপুর":a<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});var Fg={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},Gg={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};a.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(a){return a.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(a){return Gg[a]}))},postformat:function(a){return a.replace(/\d/g,(function(a){return Fg[a]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(a,b){return 12===a&&(a=0),"མཚན་མོ"===b&&a>=4||"ཉིན་གུང"===b&&a<5||"དགོང་དག"===b?a+12:a},meridiem:function(a,b,c){return a<4?"མཚན་མོ":a<10?"ཞོགས་ཀས":a<17?"ཉིན་གུང":a<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}}),a.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:qd,h:"un eur",hh:"%d eur",d:"un devezh",dd:qd,M:"ur miz",MM:qd,y:"ur bloaz",yy:function(a){switch(function sd(a){return a>9?sd(a%10):a}(a)){case 1:case 3:case 4:case 5:case 9:return a+" bloaz";default:return a+" vloaz"}}},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(a){return a+(1===a?"añ":"vet")},week:{dow:1,doy:4}}),a.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:vd,mm:vd,h:vd,hh:vd,d:"dan",dd:vd,M:"mjesec",MM:vd,y:"godinu",yy:vd},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.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:"d'aquí %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(a,b){var c=1===a?"r":2===a?"n":3===a?"r":4===a?"t":"è";return"w"!==b&&"W"!==b||(c="a"),a+c},week:{dow:1,doy:4}});var Hg="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),Ig="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");a.defineLocale("cs",{months:Hg,monthsShort:Ig,monthsParse:function(a,b){var c,d=[];for(c=0;c<12;c++)d[c]=new RegExp("^"+a[c]+"$|^"+b[c]+"$","i");return d}(Hg,Ig),shortMonthsParse:function(a){var b,c=[];for(b=0;b<12;b++)c[b]=new RegExp("^"+a[b]+"$","i");return c}(Ig),longMonthsParse:function(a){var b,c=[];for(b=0;b<12;b++)c[b]=new RegExp("^"+a[b]+"$","i");return c}(Hg),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:xd,m:xd,mm:xd,h:xd,hh:xd,d:xd,dd:xd,M:xd,MM:xd,y:xd,yy:xd},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.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(a){return a+(/сехет$/i.exec(a)?"рен":/ҫул$/i.exec(a)?"тан":"ран")},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}}),a.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(a){var c="";return a>20?c=40===a||50===a||60===a||80===a||100===a?"fed":"ain":a>0&&(c=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][a]),a+c},week:{dow:1,doy:4}}),a.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}}),a.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:yd,mm:"%d Minuten",h:yd,hh:"%d Stunden",d:yd,dd:yd,M:yd,MM:yd,y:yd,yy:yd},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.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:zd,mm:"%d Minuten",h:zd,hh:"%d Stunden",d:zd,dd:zd,M:zd,MM:zd,y:zd,yy:zd},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Jg=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],Kg=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];a.defineLocale("dv",{months:Jg,monthsShort:Jg,weekdays:Kg,weekdaysShort:Kg,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(a){return"މފ"===a},meridiem:function(a,b,c){return a<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(a){return a.replace(/،/g,",")},postformat:function(a){return a.replace(/,/g,"،")},week:{dow:7,doy:12}}),a.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(a,b){return/D/.test(b.substring(0,b.indexOf("MMMM")))?this._monthsGenitiveEl[a.month()]:this._monthsNominativeEl[a.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(a,b,c){return a>11?c?"μμ":"ΜΜ":c?"πμ":"ΠΜ"},isPM:function(a){return"μ"===(a+"").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(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(a,b){var c=this._calendarEl[a],d=b&&b.hours();return z(c)&&(c=c.apply(b)),c.replace("{}",d%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}}),a.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(a){var b=a%10;return a+(1==~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}}),a.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(a){var b=a%10;return a+(1==~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}}),a.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(a){var b=a%10;return a+(1==~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}}),a.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(a){var b=a%10;return a+(1==~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}}),a.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(a){var b=a%10;return a+(1==~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}}),a.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(a){return"p"===a.charAt(0).toLowerCase()},meridiem:function(a,b,c){return a>11?c?"p.t.m.":"P.T.M.":c?"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}});var Lg="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Mg="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");a.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(a,b){return/-MMM-/.test(b)?Mg[a.month()]:Lg[a.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}});var Ng="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Og="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");a.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(a,b){return/-MMM-/.test(b)?Og[a.month()]:Ng[a.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}}),a.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:Ad,m:Ad,mm:Ad,h:Ad,hh:Ad,d:Ad,dd:"%d päeva",M:Ad,MM:Ad,y:Ad,yy:Ad},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.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}});var Pg={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},Qg={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};a.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(a){return/بعد از ظهر/.test(a)},meridiem:function(a,b,c){return a<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(a){return a.replace(/[۰-۹]/g,(function(a){return Qg[a]})).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,(function(a){return Pg[a]})).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});var Rg="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),Sg=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",Rg[7],Rg[8],Rg[9]];a.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:Bd,m:Bd,mm:Bd,h:Bd,hh:Bd,d:Bd,dd:Bd,M:Bd,MM:Bd,y:Bd,yy:Bd},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.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}}),a.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(a){return a+(1===a?"er":"e")}}),a.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(a){return a+(1===a?"er":"e")},week:{dow:1,doy:4}}),a.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(a){return a+(1===a?"er":"")},week:{dow:1,doy:4}});var Tg="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),Ug="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");a.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(a,b){return/-MMM-/.test(b)?Ug[a.month()]:Tg[a.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(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}});a.defineLocale("gd",{months:["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"],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(a){return a+(1===a?"d":a%10==2?"na":"mh")},week:{dow:1,doy:4}}),a.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(a){return 0===a.indexOf("un")?"n"+a:"en "+a},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}}),a.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(a){return 2===a?"שעתיים":a+" שעות"},d:"יום",dd:function(a){return 2===a?"יומיים":a+" ימים"},M:"חודש",MM:function(a){return 2===a?"חודשיים":a+" חודשים"},y:"שנה",yy:function(a){return 2===a?"שנתיים":a%10==0&&10!==a?a+" שנה":a+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(a){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(a)},meridiem:function(a,b,c){return a<5?"לפנות בוקר":a<10?"בבוקר":a<12?c?'לפנה"צ':"לפני הצהריים":a<18?c?'אחה"צ':"אחרי הצהריים":"בערב"}});var $g={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},_g={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};a.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(a){return a.replace(/[१२३४५६७८९०]/g,(function(a){return _g[a]}))},postformat:function(a){return a.replace(/\d/g,(function(a){return $g[a]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(a,b){return 12===a&&(a=0),"रात"===b?a<4?a:a+12:"सुबह"===b?a:"दोपहर"===b?a>=10?a:a+12:"शाम"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"रात":a<10?"सुबह":a<17?"दोपहर":a<20?"शाम":"रात"},week:{dow:0,doy:6}}),a.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:Dd,mm:Dd,h:Dd,hh:Dd,d:"dan",dd:Dd,M:"mjesec",MM:Dd,y:"godinu",yy:Dd},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var ah="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");a.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(a){return"u"===a.charAt(1).toLowerCase()},meridiem:function(a,b,c){return a<12?!0===c?"de":"DE":!0===c?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return Fd.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return Fd.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:Ed,m:Ed,mm:Ed,h:Ed,hh:Ed,d:Ed,dd:Ed,M:Ed,MM:Ed,y:Ed,yy:Ed},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.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(a){return/^(ցերեկվա|երեկոյան)$/.test(a)},meridiem:function(a){return a<4?"գիշերվա":a<12?"առավոտվա":a<17?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(a,b){switch(b){case"DDD":case"w":case"W":case"DDDo":return 1===a?a+"-ին":a+"-րդ";default:return a}},week:{dow:1,doy:7}}),a.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(a,b){return 12===a&&(a=0),"pagi"===b?a:"siang"===b?a>=11?a:a+12:"sore"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"siang":a<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}}),a.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:Hd,m:Hd,mm:Hd,h:"klukkustund",hh:Hd,d:Hd,dd:Hd,M:Hd,MM:Hd,y:Hd,yy:Hd},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.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(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(a){return(/^[0-9].+$/.test(a)?"tra":"in")+" "+a},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}}),a.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(a){return"午後"===a},meridiem:function(a,b,c){return a<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}日/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";default:return a}},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年"}}),a.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(a,b){return 12===a&&(a=0),"enjing"===b?a:"siyang"===b?a>=11?a:a+12:"sonten"===b||"ndalu"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"enjing":a<15?"siyang":a<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}}),a.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(a){return/(წამი|წუთი|საათი|წელი)/.test(a)?a.replace(/ი$/,"ში"):a+"ში"},past:function(a){return/(წამი|წუთი|საათი|დღე|თვე)/.test(a)?a.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(a)?a.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(a){return 0===a?a:1===a?a+"-ლი":a<20||a<=100&&a%20==0||a%100==0?"მე-"+a:a+"-ე"},week:{dow:1,doy:7}});var bh={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};a.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(a){return a+(bh[a]||bh[a%10]||bh[a>=100?100:null])},week:{dow:1,doy:7}}),a.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}}),a.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(a){return"오후"===a},meridiem:function(a,b,c){return a<12?"오전":"오후"}});var ch={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};a.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(a){return a+(ch[a]||ch[a%10]||ch[a>=100?100:null])},week:{dow:1,doy:7}}),a.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(a){return Ld(a.substr(0,a.indexOf(" ")))?"a "+a:"an "+a},past:function(a){return Ld(a.substr(0,a.indexOf(" ")))?"viru "+a:"virun "+a},s:"e puer Sekonnen",m:Id,mm:"%d Minutten",h:Id,hh:"%d Stonnen",d:Id,dd:"%d Deeg",M:Id,MM:"%d Méint",y:Id,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.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(a){return"ຕອນແລງ"===a},meridiem:function(a,b,c){return a<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(a){return"ທີ່"+a}});var dh={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"};a.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(a,b,c,d){return b?"kelios sekundės":d?"kelių sekundžių":"kelias sekundes"},m:Nd,mm:Qd,h:Nd,hh:Qd,d:Nd,dd:Qd,M:Nd,MM:Qd,y:Nd,yy:Qd},ordinalParse:/\d{1,2}-oji/,ordinal:function(a){return a+"-oji"},week:{dow:1,doy:4}});var eh={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("_")};a.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(a,b){return b?"dažas sekundes":"dažām sekundēm"},m:Td,mm:Sd,h:Td,hh:Sd,d:Td,dd:Sd,M:Td,MM:Sd,y:Td,yy:Sd},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var fh={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(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,b,c){var d=fh.words[c];return 1===c.length?b?d[0]:d[1]:a+" "+fh.correctGrammaticalCase(a,d)}};a.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:fh.translate,mm:fh.translate,h:fh.translate,hh:fh.translate,d:"dan",dd:fh.translate,M:"mjesec",MM:fh.translate,y:"godinu",yy:fh.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.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}}),a.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(a){var b=a%10,c=a%100;return 0===a?a+"-ев":0===c?a+"-ен":c>10&&c<20?a+"-ти":1===b?a+"-ви":2===b?a+"-ри":7===b||8===b?a+"-ми":a+"-ти"},week:{dow:1,doy:7}}),a.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(a,b){return 12===a&&(a=0),"രാത്രി"===b&&a>=4||"ഉച്ച കഴിഞ്ഞ്"===b||"വൈകുന്നേരം"===b?a+12:a},meridiem:function(a,b,c){return a<4?"രാത്രി":a<12?"രാവിലെ":a<17?"ഉച്ച കഴിഞ്ഞ്":a<20?"വൈകുന്നേരം":"രാത്രി"}});var gh={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},hh={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};a.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:Vd,m:Vd,mm:Vd,h:Vd,hh:Vd,d:Vd,dd:Vd,M:Vd,MM:Vd,y:Vd,yy:Vd},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,(function(a){return hh[a]}))},postformat:function(a){return a.replace(/\d/g,(function(a){return gh[a]}))},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(a,b){return 12===a&&(a=0),"रात्री"===b?a<4?a:a+12:"सकाळी"===b?a:"दुपारी"===b?a>=10?a:a+12:"सायंकाळी"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"रात्री":a<10?"सकाळी":a<17?"दुपारी":a<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}}),a.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(a,b){return 12===a&&(a=0),"pagi"===b?a:"tengahari"===b?a>=11?a:a+12:"petang"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"tengahari":a<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}}),a.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(a,b){return 12===a&&(a=0),"pagi"===b?a:"tengahari"===b?a>=11?a:a+12:"petang"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"tengahari":a<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}});var ih={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},jh={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};a.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(a){return a.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(a){return jh[a]}))},postformat:function(a){return a.replace(/\d/g,(function(a){return ih[a]}))},week:{dow:1,doy:4}}),a.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}});var kh={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},lh={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};a.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(a){return a.replace(/[१२३४५६७८९०]/g,(function(a){return lh[a]}))},postformat:function(a){return a.replace(/\d/g,(function(a){return kh[a]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(a,b){return 12===a&&(a=0),"राति"===b?a<4?a:a+12:"बिहान"===b?a:"दिउँसो"===b?a>=10?a:a+12:"साँझ"===b?a+12:void 0},meridiem:function(a,b,c){return a<3?"राति":a<12?"बिहान":a<16?"दिउँसो":a<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}});var mh="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),nh="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),oh=[/^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],ph=/^(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;a.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(a,b){return/-MMM-/.test(b)?nh[a.month()]:mh[a.month()]},monthsRegex:ph,monthsShortRegex:ph,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:oh,longMonthsParse:oh,shortMonthsParse:oh,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(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}});var qh="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),rh="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),sh=[/^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],th=/^(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;a.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(a,b){return/-MMM-/.test(b)?rh[a.month()]:qh[a.month()]},monthsRegex:th,monthsShortRegex:th,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:sh,longMonthsParse:sh,shortMonthsParse:sh,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(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}}),a.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}});var uh={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},vh={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};a.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(a){return a.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(a){return vh[a]}))},postformat:function(a){return a.replace(/\d/g,(function(a){return uh[a]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(a,b){return 12===a&&(a=0),"ਰਾਤ"===b?a<4?a:a+12:"ਸਵੇਰ"===b?a:"ਦੁਪਹਿਰ"===b?a>=10?a:a+12:"ਸ਼ਾਮ"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"ਰਾਤ":a<10?"ਸਵੇਰ":a<17?"ਦੁਪਹਿਰ":a<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});var wh="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),xh="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");a.defineLocale("pl",{months:function(a,b){return""===b?"("+xh[a.month()]+"|"+wh[a.month()]+")":/D MMMM/.test(b)?xh[a.month()]:wh[a.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:"ndz_pon_wt_śr_czw_pt_sob".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:Xd,mm:Xd,h:Xd,hh:Xd,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:Xd,y:"rok",yy:Xd},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.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º"}),a.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}}),a.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:Yd,h:"o oră",hh:Yd,d:"o zi",dd:Yd,M:"o lună",MM:Yd,y:"un an",yy:Yd},week:{dow:1,doy:7}});var yh=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];a.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:yh,longMonthsParse:yh,shortMonthsParse:yh,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(a){if(a.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(a){if(a.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:$d,mm:$d,h:"час",hh:$d,d:"день",dd:$d,M:"месяц",MM:$d,y:"год",yy:$d},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(a){return/^(дня|вечера)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночи":a<12?"утра":a<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":return a+"-й";case"D":return a+"-го";case"w":case"W":return a+"-я";default:return a}},week:{dow:1,doy:7}}),a.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}}),a.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(a){return a+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(a){return"ප.ව."===a||"පස් වරු"===a},meridiem:function(a,b,c){return a>11?c?"ප.ව.":"පස් වරු":c?"පෙ.ව.":"පෙර වරු"}});var zh="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),Ah="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");a.defineLocale("sk",{months:zh,monthsShort:Ah,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:ae,m:ae,mm:ae,h:ae,hh:ae,d:ae,dd:ae,M:ae,MM:ae,y:ae,yy:ae},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.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:be,m:be,mm:be,h:be,hh:be,d:be,dd:be,M:be,MM:be,y:be,yy:be},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.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(a){return"M"===a.charAt(0)},meridiem:function(a,b,c){return a<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}});var Bh={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,b,c){var d=Bh.words[c];return 1===c.length?b?d[0]:d[1]:a+" "+Bh.correctGrammaticalCase(a,d)}};a.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:Bh.translate,mm:Bh.translate,h:Bh.translate,hh:Bh.translate,d:"дан",dd:Bh.translate,M:"месец",MM:Bh.translate,y:"годину",yy:Bh.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var Ch={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(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,b,c){var d=Ch.words[c];return 1===c.length?b?d[0]:d[1]:a+" "+Ch.correctGrammaticalCase(a,d)}};a.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:Ch.translate,mm:Ch.translate,h:Ch.translate,hh:Ch.translate,d:"dan",dd:Ch.translate,M:"mesec",MM:Ch.translate,y:"godinu",yy:Ch.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),a.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(a,b,c){return a<11?"ekuseni":a<15?"emini":a<19?"entsambama":"ebusuku"},meridiemHour:function(a,b){return 12===a&&(a=0),"ekuseni"===b?a:"emini"===b?a>=11?a:a+12:"entsambama"===b||"ebusuku"===b?0===a?0:a+12:void 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),a.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(a){var b=a%10;return a+(1==~~(a%100/10)?"e":1===b||2===b?"a":"e")},week:{dow:1,doy:4}}),a.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}});var Dh={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},Eh={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};a.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(a){return a+"வது"},preparse:function(a){return a.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(a){return Eh[a]}))},postformat:function(a){return a.replace(/\d/g,(function(a){return Dh[a]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(a,b,c){return a<2?" யாமம்":a<6?" வைகறை":a<10?" காலை":a<14?" நண்பகல்":a<18?" எற்பாடு":a<22?" மாலை":" யாமம்"},meridiemHour:function(a,b){return 12===a&&(a=0),"யாமம்"===b?a<2?a:a+12:"வைகறை"===b||"காலை"===b||"நண்பகல்"===b&&a>=10?a:a+12},week:{dow:0,doy:6}}),a.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(a,b){return 12===a&&(a=0),"రాత్రి"===b?a<4?a:a+12:"ఉదయం"===b?a:"మధ్యాహ్నం"===b?a>=10?a:a+12:"సాయంత్రం"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"రాత్రి":a<10?"ఉదయం":a<17?"మధ్యాహ్నం":a<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}}),a.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sext_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Sex_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:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutus %d",h:"horas ida",hh:"horas %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10;return a+(1==~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}}),a.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(a){return"หลังเที่ยง"===a},meridiem:function(a,b,c){return a<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 ปี"}}),a.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:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",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(a){return a},week:{dow:1,doy:4}});var Fh="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");a.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(a){var b=a;return-1!==a.indexOf("jaj")?b.slice(0,-3)+"leS":-1!==a.indexOf("jar")?b.slice(0,-3)+"waQ":-1!==a.indexOf("DIS")?b.slice(0,-3)+"nem":b+" pIq"},past:function(a){var b=a;return-1!==a.indexOf("jaj")?b.slice(0,-3)+"Hu’":-1!==a.indexOf("jar")?b.slice(0,-3)+"wen":-1!==a.indexOf("DIS")?b.slice(0,-3)+"ben":b+" ret"},s:"puS lup",m:"wa’ tup",mm:ee,h:"wa’ rep",hh:ee,d:"wa’ jaj",dd:ee,M:"wa’ jar",MM:ee,y:"wa’ DIS",yy:ee},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Gh={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ı"};return a.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(a){if(0===a)return a+"'ıncı";var b=a%10;return a+(Gh[b]||Gh[a%100-b]||Gh[a>=100?100:null])},week:{dow:1,doy:7}}),a.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(a){return"d'o"===a.toLowerCase()},meridiem:function(a,b,c){return a>11?c?"d'o":"D'O":c?"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:ge,m:ge,mm:ge,h:ge,hh:ge,d:ge,dd:ge,M:ge,MM:ge,y:ge,yy:ge},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.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}}),a.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}}),a.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(a,b){return{nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")}[/(\[[ВвУу]\]) ?dddd/.test(b)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(b)?"genitive":"nominative"][a.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:ke("[Сьогодні "),nextDay:ke("[Завтра "),lastDay:ke("[Вчора "),nextWeek:ke("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return ke("[Минулої] dddd [").call(this);case 1:case 2:case 4:return ke("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:ie,mm:ie,h:"годину",hh:ie,d:"день",dd:ie,M:"місяць",MM:ie,y:"рік",yy:ie},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(a){return/^(дня|вечора)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночі":a<12?"ранку":a<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":case"w":case"W":return a+"-й";case"D":return a+"-го";default:return a}},week:{dow:1,doy:7}}),a.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}}),a.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(a){return/^ch$/i.test(a)},meridiem:function(a,b,c){return a<12?c?"sa":"SA":c?"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(a){return a},week:{dow:1,doy:4}}),a.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(a){var b=a%10;return a+(1==~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}}),a.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".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:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},ordinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}}),a.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(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"下午"===b||"晚上"===b?a+12:a>=11?a:a+12},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<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 b,c;return b=a().startOf("week"),c=this.diff(b,"days")>=7?"[下]":"[本]",0===this.minutes()?c+"dddAh点整":c+"dddAh点mm"},lastWeek:function(){var b,c;return b=a().startOf("week"),c=this.unix()<b.unix()?"[上]":"[本]",0===this.minutes()?c+"dddAh点整":c+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"周";default:return a}},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}}),a.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(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"中午"===b?a>=11?a:a+12:"下午"===b||"晚上"===b?a+12:void 0},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"週";default:return a}},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 年"}}),a.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(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"中午"===b?a>=11?a:a+12:"下午"===b||"晚上"===b?a+12:void 0},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"週";default:return a}},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 年"}}),a.locale("en"),a}));var socialnetPlus=function(){var self=this,sndiv=null,snPlus=null,socialnetPlusTimer=null,socialnetPlusPos=null,isFixed=!1,hideSocialnetMore=function(){sndiv.fadeOut()},showSocialnetMore=function(that){void 0!==that&&(snPlus=$(that));var pos=snPlus.offset(),posTop=pos.top+22,posLeft=pos.left;isFixed||self.updatePos(),socialnetPlusPos.top+20+sndiv.height()>$(window).height()&&(posTop=posTop-sndiv.height()-42),(posLeft+sndiv.width()+20>$(window).width()||window.DINA_MOBILE)&&(left_aux=window.DINA_MOBILE?sndiv.width():posLeft+sndiv.width()+44-$(window).width(),posLeft-=left_aux),pos.top+sndiv.height()+44>=$(window).height()&&(posTop=pos.top-20-sndiv.height()),sndiv.css({top:posTop+"px",left:posLeft+"px"}).fadeIn()};return self.hoverPlus=function(){$(".socialnet-web").hover((function(){social=$(this).data("social"),$("."+social).addClass(social+"-hover"),$("#"+social+"-txt").addClass(social+"-hover")}),(function(){social=$(this).data("social"),$("."+social).removeClass(social+"-hover"),$("#"+social+"-txt").removeClass(social+"-hover")}))},self.updatePos=function(){socialnetPlusPos=snPlus.offset()},self.init=function(){$("body").append('<div id="socialnet-more-div"'+(DINA_THEME_WHITE?' class="social-white"':"")+' style="display:none;">'+$("#socialnet-more").html()+"</div>"),sndiv=$("#socialnet-more-div"),snPlus=$(".socialnet-plus"),isMobileResol()?($("#socialnet a").each((function(){$(this).css({"background-position":"top"})})),snPlus.hover((function(){showSocialnetMore(this)}),(function(){socialnetPlusTimer=setTimeout(hideSocialnetMore,100)}))):(isFixed="yes"==snPlus.attr("data-div-fixed"),self.updatePos(),$("#socialnet a").hover((function(){$(this).css({"background-position":"top"})}),(function(){$(this).css({"background-position":"bottom"})})),snPlus.hover((function(){showSocialnetMore(this)}),(function(){socialnetPlusTimer=setTimeout(hideSocialnetMore,100)})),sndiv.hover((function(){clearTimeout(socialnetPlusTimer)}),hideSocialnetMore)),self.hoverPlus()},self.clickMoreTheme2=function(){$(".social-theme2 .socialnet-plus").click((function(){$(".social-more-theme2").toggleClass("display"),$(".socialnet-fa-plus i").toggleClass(getIconName("plus","",!0),1).toggleClass(getIconName("minus","",!0),1)}))},self.cropToDiv=function(el){wel=$(el).width(),w=20,l=$(el+" .socialnet-icons a").length,$(el+" .socialnet-icons a").each((function(idx){w+=$(this).width()})),wel-10<=w&&(crop=$("body").hasClass("template-blog")?2:1,mel=$(el+" .socialnet-icons a:nth-child("+(l-crop)+")"),melDiv=$(el+" .socialnet-icons a:nth-child("+(l-crop)+") > div"),id=mel.attr("id"),void 0!==id&&(network=id.replace("socialnet-fa-",""),title=mel.attr("data-title"),txt='<div id="socialnet-fa-'+network+'-txt" class="socialnet-title" style="float:left;">'+title+"</div>",melDiv.css({float:"left"}),mel.addClass("socialnet-web "+id).append(txt),mel.appendTo($("#socialnet-more-div")),self.cropToDiv(el))),$(el+" i").removeClass("hide-fa")},self}();$(window).load((function(){window.socialnetPlus.init()}));var scrollToTop=function(){var self={};return self.btn_top,self.scrollEl=window,self.scrollCon="body,html",self.init=function(set){set=void 0!==set&&set,self.setScrollElement(),self.btn_top=$(".go-top"),set&&self.setComponent(),self.scrolltop(),self.smoothscroll()},self.setComponent=function(){var el='<div class="go-top">  <div class="topbtn-icon">    '+dinaIcon.icon("angle-up").size("4x").html()+'  </div>  <div class="topbtn-text"></div></div>';$("#go_to_top").html(el)},self.setScrollElement=function(){void 0!==typeof window.DINA_THEME_NAME&&"Desktop"==window.DINA_DEVICE.type&&("tokyo2"==window.DINA_THEME_NAME?"blog"==window.DINA_TEMPLATE?(self.scrollEl=".content-base",self.scrollCon=".content-base"):"galeria"==window.DINA_TEMPLATE?self.scrollEl=self.scrollCon:(self.scrollEl=".content-module-"+window.DINA_TEMPLATE,self.scrollCon=".content-module-"+window.DINA_TEMPLATE):"newyork2"==window.DINA_THEME_NAME&&"blog"!=window.DINA_TEMPLATE&&"galeria"!=window.DINA_TEMPLATE&&(self.scrollEl=".newyork2-"+window.DINA_TEMPLATE+"-description",self.scrollCon=".newyork2-"+window.DINA_TEMPLATE+"-description"))},self.scrolltop=function(){$(self.scrollEl).scroll((function(){$(this).scrollTop()>300?(self.btn_top.addClass("cd-is-visible"),$("body").addClass("go-top-visible")):(self.btn_top.removeClass("cd-is-visible cd-fade-out"),$("body").removeClass("go-top-visible")),$(this).scrollTop()>1200&&self.btn_top.addClass("cd-fade-out")}))},self.smoothscroll=function(){self.btn_top.on("click",(function(event){event.preventDefault(),$(self.scrollCon).animate({scrollTop:0},700)}))},self.toggleTop=function(action){"show"==action?$(".go-top").show():$(".go-top").hide()},self}();$(document).ready((function(){$(".mobile-menu-show").on("click",(function(){$("body").hasClass("show-menu-mobile")?setTimeout((function(){$("body").removeClass("show-menu-mobile")}),1e3):$("body").addClass("show-menu-mobile"),setTimeout((function(){show_of=$(".mobile-menu-content").is(":visible"),$("body").toggleClass("show-overflow",show_of)}),1e3),$(".general-galeria-texto-content").text().length>0&&$(".general-galeria-texto").toggle()})),verticalMenuList.init()})),$(window).resize((function(){verticalMenuList.setMaxHeight()}));var verticalMenuList=function(){var self={init:function(){self.setMaxHeight(),self.gestionSubmenus(),self.submenusAcordeon(),self.mobileDropdownLista()},mobileDropdown:function(that){$(that).parent().find(".sub-opciones").toggleClass("mobile-active")},gestionSubmenus:function(){$(".menu-lista.menu-acordeon *").hover((function(){self.menuToggleScroll()}))},menuToggleScroll:function(){isMobileResol()||(m1=$(".menu-acordeon").scrollTop()+$(".menu-acordeon").innerHeight(),m2=$(".menu-acordeon")[0].scrollHeight,m1>=m2?($("."+DINA_THEME_NAME+"-menu-srolldown").toggleClass("scrollable-down",!1),$("."+DINA_THEME_NAME+"-menu-srolldown i").toggle(!1)):($("."+DINA_THEME_NAME+"-menu-srolldown").toggleClass("scrollable-down",!0),$("."+DINA_THEME_NAME+"-menu-srolldown i").toggle(!0)))},setMaxHeight:function(){$(".sub-opciones").each((function(idx,v){newH=0,$(v).find("li").each((function(idx2,v2){newH+=$(v2).innerHeight()})),newH+=20,$(v).css({"max-height":newH+"px"})}))},submenusAcordeon:function(){$(".click-option").on("click",(function(){icon=$(this).find("i"),0==icon.length&&(icon=$(this).parent().find("i")),ic=icon.attr("data-collapse"),is=icon.attr("data-success"),p=$(this).parent().parent().hasClass("opcion-activa"),p||(level=$(this).attr("data-level"),$(".menu-acordeon").find(".level-"+level+" .click-option i").removeClass(ic).addClass(is),$(".menu-acordeon").find(".level-"+level+" ul").removeClass("opcion-activa"),$(".menu-acordeon").find(".level-"+level).removeClass("opcion-activa")),id=$(this).attr("data-target"),$("."+id).toggleClass("opcion-activa"),$("."+id).parent().toggleClass("opcion-activa"),$("#mobile-cool-navbar-collapse:not(.hide) #"+id+" .submenu").toggleClass("submenu-active"),$("#desktop-classicv-menu-ul:not(.hide) #"+id+" .submenu").toggleClass("submenu-active"),time=icon.hasClass(ic)?150:300,setTimeout((function(){icon.toggleClass(ic+" "+is)}),time)}))},mobileDropdownLista:function(){isMobileResol()&&$(".dropdown").on("click",(function(){activa=$(this).hasClass("opcion-activa"),$(this).find(".sub-opciones").toggleClass("opcion-activa",!activa),$(this).toggleClass("opcion-activa",!activa)}))}};return self}();!function(a,b){var c=a(b);a.fn.lazyload=function(d){function h(){var b=0;e.each((function(){var c=a(this);if((!g.skip_invisible||c.is(":visible"))&&!a.abovethetop(this,g)&&!a.leftofbegin(this,g))if(a.belowthefold(this,g)||a.rightoffold(this,g)){if(++b>g.failure_limit)return!1}else c.trigger("appear")}))}var f,e=this,g={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:b,data_attribute:"original",skip_invisible:!0,appear:null,load:null};return d&&(void 0!==d.failurelimit&&(d.failure_limit=d.failurelimit,delete d.failurelimit),void 0!==d.effectspeed&&(d.effect_speed=d.effectspeed,delete d.effectspeed),a.extend(g,d)),f=void 0===g.container||g.container===b?c:a(g.container),0===g.event.indexOf("scroll")&&f.bind(g.event,(function(a){return h()})),this.each((function(){var b=this,c=a(b);b.loaded=!1,c.one("appear",(function(){if(!this.loaded){if(g.appear){var d=e.length;g.appear.call(b,d,g)}a("<img />").bind("load",(function(){c.hide().attr("src",c.data(g.data_attribute))[g.effect](g.effect_speed),b.loaded=!0;var d=a.grep(e,(function(a){return!a.loaded}));if(e=a(d),g.load){var f=e.length;g.load.call(b,f,g)}})).attr("src",c.data(g.data_attribute))}})),0!==g.event.indexOf("scroll")&&c.bind(g.event,(function(a){b.loaded||c.trigger("appear")}))})),c.bind("resize",(function(a){h()})),h(),this},a.belowthefold=function(d,e){return(void 0===e.container||e.container===b?c.height()+c.scrollTop():a(e.container).offset().top+a(e.container).height())<=a(d).offset().top-e.threshold},a.rightoffold=function(d,e){return(void 0===e.container||e.container===b?c.width()+c.scrollLeft():a(e.container).offset().left+a(e.container).width())<=a(d).offset().left-e.threshold},a.abovethetop=function(d,e){return(void 0===e.container||e.container===b?c.scrollTop():a(e.container).offset().top)>=a(d).offset().top+e.threshold+a(d).height()},a.leftofbegin=function(d,e){return(void 0===e.container||e.container===b?c.scrollLeft():a(e.container).offset().left)>=a(d).offset().left+e.threshold+a(d).width()},a.inviewport=function(b,c){return!(a.rightofscreen(b,c)||a.leftofscreen(b,c)||a.belowthefold(b,c)||a.abovethetop(b,c))},a.extend(a.expr[":"],{"below-the-fold":function(b){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-screen":function(b){return a.rightoffold(b,{threshold:0})},"left-of-screen":function(b){return!a.rightoffold(b,{threshold:0})},"in-viewport":function(b){return!a.inviewport(b,{threshold:0})},"above-the-fold":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-fold":function(b){return a.rightoffold(b,{threshold:0})},"left-of-fold":function(b){return!a.rightoffold(b,{threshold:0})}})}(jQuery,window);/*!
 * clipboard.js v1.7.1
 * https://zenorocha.github.io/clipboard.js
 *
 * Licensed MIT � Zeno Rocha
 */
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Clipboard=f()}}((function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,(function(e){var n=t[o][1][e];return s(n||e)}),l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(require,module,exports){if("undefined"!=typeof Element&&!Element.prototype.matches){var proto=Element.prototype;proto.matches=proto.matchesSelector||proto.mozMatchesSelector||proto.msMatchesSelector||proto.oMatchesSelector||proto.webkitMatchesSelector}module.exports=function(element,selector){for(;element&&9!==element.nodeType;){if("function"==typeof element.matches&&element.matches(selector))return element;element=element.parentNode}}},{}],2:[function(require,module,exports){var closest=require("./closest");function listener(element,selector,type,callback){return function(e){e.delegateTarget=closest(e.target,selector),e.delegateTarget&&callback.call(element,e)}}module.exports=function(element,selector,type,callback,useCapture){var listenerFn=listener.apply(this,arguments);return element.addEventListener(type,listenerFn,useCapture),{destroy:function(){element.removeEventListener(type,listenerFn,useCapture)}}}},{"./closest":1}],3:[function(require,module,exports){exports.node=function(value){return void 0!==value&&value instanceof HTMLElement&&1===value.nodeType},exports.nodeList=function(value){var type=Object.prototype.toString.call(value);return void 0!==value&&("[object NodeList]"===type||"[object HTMLCollection]"===type)&&"length"in value&&(0===value.length||exports.node(value[0]))},exports.string=function(value){return"string"==typeof value||value instanceof String},exports.fn=function(value){return"[object Function]"===Object.prototype.toString.call(value)}},{}],4:[function(require,module,exports){var is=require("./is"),delegate=require("delegate");module.exports=function(target,type,callback){if(!target&&!type&&!callback)throw new Error("Missing required arguments");if(!is.string(type))throw new TypeError("Second argument must be a String");if(!is.fn(callback))throw new TypeError("Third argument must be a Function");if(is.node(target))return function(node,type,callback){return node.addEventListener(type,callback),{destroy:function(){node.removeEventListener(type,callback)}}}(target,type,callback);if(is.nodeList(target))return function(nodeList,type,callback){return Array.prototype.forEach.call(nodeList,(function(node){node.addEventListener(type,callback)})),{destroy:function(){Array.prototype.forEach.call(nodeList,(function(node){node.removeEventListener(type,callback)}))}}}(target,type,callback);if(is.string(target))return function(selector,type,callback){return delegate(document.body,selector,type,callback)}(target,type,callback);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},{"./is":3,delegate:2}],5:[function(require,module,exports){module.exports=function(element){var selectedText;if("SELECT"===element.nodeName)element.focus(),selectedText=element.value;else if("INPUT"===element.nodeName||"TEXTAREA"===element.nodeName){var isReadOnly=element.hasAttribute("readonly");isReadOnly||element.setAttribute("readonly",""),element.select(),element.setSelectionRange(0,element.value.length),isReadOnly||element.removeAttribute("readonly"),selectedText=element.value}else{element.hasAttribute("contenteditable")&&element.focus();var selection=window.getSelection(),range=document.createRange();range.selectNodeContents(element),selection.removeAllRanges(),selection.addRange(range),selectedText=selection.toString()}return selectedText}},{}],6:[function(require,module,exports){function E(){}E.prototype={on:function(name,callback,ctx){var e=this.e||(this.e={});return(e[name]||(e[name]=[])).push({fn:callback,ctx:ctx}),this},once:function(name,callback,ctx){var self=this;function listener(){self.off(name,listener),callback.apply(ctx,arguments)}return listener._=callback,this.on(name,listener,ctx)},emit:function(name){for(var data=[].slice.call(arguments,1),evtArr=((this.e||(this.e={}))[name]||[]).slice(),i=0,len=evtArr.length;i<len;i++)evtArr[i].fn.apply(evtArr[i].ctx,data);return this},off:function(name,callback){var e=this.e||(this.e={}),evts=e[name],liveEvents=[];if(evts&&callback)for(var i=0,len=evts.length;i<len;i++)evts[i].fn!==callback&&evts[i].fn._!==callback&&liveEvents.push(evts[i]);return liveEvents.length?e[name]=liveEvents:delete e[name],this}},module.exports=E},{}],7:[function(require,module,exports){!function(global,factory){if(void 0!==exports)factory(module,require("select"));else{var mod={exports:{}};factory(mod,global.select),global.clipboardAction=mod.exports}}(this,(function(module,_select){"use strict";var obj,_select2=(obj=_select)&&obj.__esModule?obj:{default:obj};var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),ClipboardAction=function(){function ClipboardAction(options){!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ClipboardAction),this.resolveOptions(options),this.initSelection()}return _createClass(ClipboardAction,[{key:"resolveOptions",value:function(){var options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=options.action,this.container=options.container,this.emitter=options.emitter,this.target=options.target,this.text=options.text,this.trigger=options.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var _this=this,isRTL="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return _this.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[isRTL?"right":"left"]="-9999px";var yPosition=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=yPosition+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,_select2.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,_select2.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var succeeded=void 0;try{succeeded=document.execCommand(this.action)}catch(err){succeeded=!1}this.handleResult(succeeded)}},{key:"handleResult",value:function(succeeded){this.emitter.emit(succeeded?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var action=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=action,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(target){if(void 0!==target){if(!target||"object"!==(void 0===target?"undefined":_typeof(target))||1!==target.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&target.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(target.hasAttribute("readonly")||target.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=target}},get:function(){return this._target}}]),ClipboardAction}();module.exports=ClipboardAction}))},{select:5}],8:[function(require,module,exports){!function(global,factory){if(void 0!==exports)factory(module,require("./clipboard-action"),require("tiny-emitter"),require("good-listener"));else{var mod={exports:{}};factory(mod,global.clipboardAction,global.tinyEmitter,global.goodListener),global.clipboard=mod.exports}}(this,(function(module,_clipboardAction,_tinyEmitter,_goodListener){"use strict";var _clipboardAction2=_interopRequireDefault(_clipboardAction),_tinyEmitter2=_interopRequireDefault(_tinyEmitter),_goodListener2=_interopRequireDefault(_goodListener);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();var Clipboard=function(_Emitter){function Clipboard(trigger,options){!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,Clipboard);var _this=function(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!=typeof call&&"function"!=typeof call?self:call}(this,(Clipboard.__proto__||Object.getPrototypeOf(Clipboard)).call(this));return _this.resolveOptions(options),_this.listenClick(trigger),_this}return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}(Clipboard,_Emitter),_createClass(Clipboard,[{key:"resolveOptions",value:function(){var options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof options.action?options.action:this.defaultAction,this.target="function"==typeof options.target?options.target:this.defaultTarget,this.text="function"==typeof options.text?options.text:this.defaultText,this.container="object"===_typeof(options.container)?options.container:document.body}},{key:"listenClick",value:function(trigger){var _this2=this;this.listener=(0,_goodListener2.default)(trigger,"click",(function(e){return _this2.onClick(e)}))}},{key:"onClick",value:function(e){var trigger=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new _clipboardAction2.default({action:this.action(trigger),target:this.target(trigger),text:this.text(trigger),container:this.container,trigger:trigger,emitter:this})}},{key:"defaultAction",value:function(trigger){return getAttributeValue("action",trigger)}},{key:"defaultTarget",value:function(trigger){var selector=getAttributeValue("target",trigger);if(selector)return document.querySelector(selector)}},{key:"defaultText",value:function(trigger){return getAttributeValue("text",trigger)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var action=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],actions="string"==typeof action?[action]:action,support=!!document.queryCommandSupported;return actions.forEach((function(action){support=support&&!!document.queryCommandSupported(action)})),support}}]),Clipboard}(_tinyEmitter2.default);function getAttributeValue(suffix,element){var attribute="data-clipboard-"+suffix;if(element.hasAttribute(attribute))return element.getAttribute(attribute)}module.exports=Clipboard}))},{"./clipboard-action":7,"good-listener":4,"tiny-emitter":6}]},{},[8])(8)}));/**
 * jQuery lightBox plugin
 * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/)
 * and adapted to me for use like a plugin from jQuery.
 * @name jquery-lightbox-0.5.js
 * @author Leandro Vieira Pinho - http://leandrovieira.com
 * @version 0.5
 * @date April 11, 2008
 * @category jQuery plugin
 * @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)
 * @license CCAttribution-ShareAlike 2.5 Brazil - http://creativecommons.org/licenses/by-sa/2.5/br/deed.en_US
 * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin
 */
!function($){$.fn.lightBox=function(settings){settings=jQuery.extend({autoSize:!0,slideShow:!0,slideDelay:4e3,overlayBgColor:"#000",overlayOpacity:.8,fixedNavigation:!1,imageLoading:"js/lightbox/images/lightbox-ico-loading.gif",imageBtnPrev:"js/lightbox/images/lightbox-btn-prev2.gif",imageBtnNext:"js/lightbox/images/lightbox-btn-next2.gif",imageBtnClose:"js/lightbox/images/lightbox-btn-close_2014.png",imageBlank:"js/lightbox/images/lightbox-blank.gif",imageBtnPlay:"js/lightbox/images/lightbox-btn-play_2014.png",imageBtnPause:"js/lightbox/images/lightbox-btn-pause_2014.png",imageBtnCloseText:"js/lightbox/images/lightbox-btn-close_2014.png",containerBorderSize:10,containerResizeSpeed:400,txtImage:"Foto",txtOf:"de",keyToClose:"c",keyToPrev:"a",keyToNext:"s",keyToPlayPause:"p",imageArray:[],activeImage:0,isPlaying:!1,slideTimeoutId:0,autoPlay:!0,autoPlayElem:"",showCheckDisable:!1,showInLoop:!0,typeBox:"gallery"},settings);var jQueryMatchedObj=this;var stopSlide=!1;function _start(objClicked,jQueryMatchedObj){if($("embed, object, select").css({visibility:"hidden"}),function(){checkDisable="","si"==DINA_ANUNCIOS_DESACTIVAR&&(codigo='<div style="float:left"><input onClick="AnunciosPortada.toggle(this)" type="checkbox" id="check_dias_anuncio" data-dias="'+DINA_DIAS_ANUNCIOS+'"></div><div for="check_dias_anuncio" style="float:left; margin-top: 2px; padding-left: 5px;">'+T_("No volver a mostrar")+"</div>",checkDisable='<div id="check_dias" style="color: white; clear:both; font-align: left; ">'+codigo+"</div>");lb_controls="","gallery"==settings.typeBox&&(lb_controls='        <a href="#" id="lightbox-nav-btnPrev"></a>        <a href="#" id="lightbox-nav-btnNext"></a>');showCheckAnuncios="anuncios"==settings.typeBox?"":"display:none;",lightbox_class="anuncios"==settings.typeBox?"lightbox-anuncios":"",$("body").append('<div id="jquery-overlay"></div><div id="jquery-lightbox" class="'+lightbox_class+'">  <div id="lightbox-container-image-box">    <div id="lightbox-container-image">      <img id="lightbox-image">      <div style="" id="lightbox-nav">'+lb_controls+'        <a href="#" id="lightbox-nav-url" style="display: block;"></a>      </div>      <div id="lightbox-loading">        <a href="#" id="lightbox-loading-link">          <img src="'+settings.imageLoading+'">        </a>      </div>      <div id="lightbox-image-text" style="display:none;">        <a href="#" id="lightbox-image-text-close">        <img src="'+settings.imageBtnCloseText+'" width="16" height="16"></a>        <div id="lightbox-image-text-wrapper">          <div id="lightbox-image-text-content"></div>        </div>      </div>    </div>  </div>  <div id="lightbox-container-image-data-box">    <div id="lightbox-container-image-data">      <div id="lightbox-image-details">        <span id="lightbox-image-details-caption"></span>        <span id="lightbox-image-details-currentNumber"></span>      </div>      <div id="lightbox-secNav">        <a href="javascript:void(0)" id="lightbox-secNav-btnClose" style="color:#fff;">\t\t\t\t\t'+dinaIcon.get("times")+'        </a>        <a href="#" id="lightbox-btn-play" style="display:none;cursor:pointer;color:#fff;">\t\t\t\t\t'+dinaIcon.get("play")+'        </a>        <a href="#" id="lightbox-btn-pause" style="display:none;cursor:pointer;color:#fff;">\t\t\t\t\t'+dinaIcon.get("pause")+'        </a>        <a href="#" id="lightbox-nav-btnNext" style="cursor:pointer; color: #fff;">\t\t\t\t\t'+dinaIcon.get("chevron-right")+'        </a>        <a href="#" id="lightbox-nav-btnPrev" style="cursor:pointer; color: #fff;">\t\t\t\t\t'+dinaIcon.get("chevron-left")+'        </a>      </div>     <div id="lightbox-container-check-disable" style="'+showCheckAnuncios+' clear:both; padding-bottom: 5px; text-align: left; display: flex; align-items: center;">'+checkDisable+"     </div>    </div>  </div></div>"),$("#lightbox-image-text-wrapper").niceScroll({cursorcolor:"#999",cursorborder:"#999",cursoropacitymin:.3,cursoropacitymax:1,zindex:2e3});var arrPageSizes=___getPageSize();$("#jquery-overlay").css({backgroundColor:settings.overlayBgColor,opacity:settings.overlayOpacity,width:arrPageSizes[2],height:arrPageSizes[1]}).fadeIn();var arrPageScroll=___getPageScroll();$("#jquery-lightbox").css({top:arrPageScroll[1]+arrPageSizes[3]/14,left:arrPageScroll[0]}).show(),$("#jquery-overlay").click((function(){_finish()})),$("#lightbox-loading-link,#lightbox-secNav-btnClose").click((function(){return _finish(),!1})),$("#lightbox-image-text-close").click((function(){return $("#lightbox-image-text").fadeOut(),$("#lightbox-image-text-wrapper").getNiceScroll().hide(),!1})),$(window).resize((function(){var arrPageSizes=___getPageSize();$("#jquery-overlay").css({width:arrPageSizes[0],height:arrPageSizes[1]});var arrPageScroll=___getPageScroll();$("#jquery-lightbox").css({top:arrPageScroll[1]+arrPageSizes[3]/14,left:arrPageScroll[0]})}))}(),settings.imageArray.length=0,settings.activeImage=0,1==jQueryMatchedObj.length)settings.imageArray.push(new Array(objClicked.getAttribute("href"),objClicked.getAttribute("title"),objClicked.getAttribute("data-text"),objClicked.getAttribute("data-anuncio_url"),objClicked.getAttribute("data-anuncio_target")));else for(var i=0;i<jQueryMatchedObj.length;i++)settings.imageArray.push(new Array(jQueryMatchedObj[i].getAttribute("href"),jQueryMatchedObj[i].getAttribute("title"),jQueryMatchedObj[i].getAttribute("data-text"),jQueryMatchedObj[i].getAttribute("data-anuncio_url"),jQueryMatchedObj[i].getAttribute("data-anuncio_target")));for(;settings.imageArray[settings.activeImage][0]!=objClicked.getAttribute("href");)settings.activeImage++;_set_image_to_view(),settings.slideShow&&_doPlay()}function _set_image_to_view(){$("#lightbox-loading").show(),settings.fixedNavigation?$("#lightbox-image,#lightbox-container-image-data-box,#lightbox-image-details-currentNumber").hide():$("#lightbox-image,#lightbox-nav,#lightbox-nav-btnPrev,#lightbox-nav-btnNext,#lightbox-container-image-data-box,#lightbox-image-details-currentNumber").hide();var objImagePreloader=new Image;objImagePreloader.onload=function(){var imageWidth=objImagePreloader.width,imageHeight=objImagePreloader.height;if(settings.autoSize){var arrPageSizes=___getPageSize(),x=Math.floor(arrPageSizes[2]-arrPageSizes[2]/6),y=Math.floor(arrPageSizes[3]-arrPageSizes[3]/6);imageWidth>x?(imageHeight=Math.round(imageHeight*(x/imageWidth)),imageWidth=x,imageHeight>y&&(imageWidth=Math.round(imageWidth*(y/imageHeight)),imageHeight=y)):imageHeight>y&&(imageWidth=Math.round(imageWidth*(y/imageHeight)),imageHeight=y,imageWidth>x&&(imageHeight=Math.round(imageHeight*(x/imageWidth)),imageWidth=x))}!function(intImageWidth,intImageHeight){var intCurrentWidth=$("#lightbox-container-image-box").width(),intCurrentHeight=$("#lightbox-container-image-box").height(),intWidth=intImageWidth+2*settings.containerBorderSize,intHeight=intImageHeight+2*settings.containerBorderSize,intDiffW=intCurrentWidth-intWidth,intDiffH=intCurrentHeight-intHeight,resizeSpeed=0==settings.containerResizeSpeed?10:settings.containerResizeSpeed;$("#lightbox-container-image-box").animate({width:intWidth,height:intHeight},resizeSpeed,(function(){var fadeSpeed;fadeSpeed=0==settings.containerResizeSpeed?10:400,$("#lightbox-loading").hide(),$("#lightbox-image").fadeIn(fadeSpeed,(function(){var url;$("#lightbox-container-image-data-box").slideDown("fast"),$("#lightbox-image-details-caption").hide(),$("#lightbox-image-text").hide(),$("#lightbox-image-text-wrapper").getNiceScroll().hide(),settings.imageArray[settings.activeImage][1]&&$("#lightbox-image-details-caption").html(settings.imageArray[settings.activeImage][1]).show(),settings.imageArray[settings.activeImage][2]&&($("#lightbox-image-text-content").html((url=settings.imageArray[settings.activeImage][2],decodeURIComponent(url.replace(/\+/g," ")))),$("#lightbox-image-text-wrapper").css({height:"auto"}),$("#lightbox-image-text").fadeIn("fast",(function(){$("#lightbox-image-text-wrapper").height($(this).height()).width($(this).width()-36).getNiceScroll().show()}))),settings.imageArray.length>1&&$("#lightbox-image-details-currentNumber").html(settings.txtImage+" "+(settings.activeImage+1)+" "+settings.txtOf+" "+settings.imageArray.length).show(),$("#lightbox-nav").show(),$("#lightbox-nav-btnPrev,#lightbox-nav-btnNext").css({background:"transparent url("+settings.imageBlank+") no-repeat"}),0!=settings.activeImage&&(settings.fixedNavigation?$("#lightbox-nav-btnPrev").css({background:"url("+settings.imageBtnPrev+") left 15% no-repeat"}).unbind().bind("click",(function(){return _doPause(),settings.activeImage=settings.activeImage-1,_set_image_to_view(),!1})):$("#lightbox-nav-btnPrev").unbind().hover((function(){$(this).css({background:"url("+settings.imageBtnPrev+") left 15% no-repeat"})}),(function(){$(this).css({background:"transparent url("+settings.imageBlank+") no-repeat"})})).show().bind("click",(function(){return _doPause(),settings.activeImage=settings.activeImage-1,_set_image_to_view(),!1}))),$("#lightbox-btn-play").bind("click",(function(){return _doPlay(),!1})),$("#lightbox-btn-pause").bind("click",(function(){return _doPause(),!1})),settings.activeImage!=settings.imageArray.length-1&&(settings.fixedNavigation?$("#lightbox-nav-btnNext").css({background:"url("+settings.imageBtnNext+") right 15% no-repeat"}).unbind().bind("click",(function(){return _doPause(),settings.activeImage=settings.activeImage+1,_set_image_to_view(),!1})):$("#lightbox-nav-btnNext").unbind().hover((function(){$(this).css({background:"url("+settings.imageBtnNext+") right 15% no-repeat"})}),(function(){$(this).css({background:"transparent url("+settings.imageBlank+") no-repeat"})})).show().bind("click",(function(){return _doPause(),settings.activeImage=settings.activeImage+1,_set_image_to_view(),!1}))),$(document).keydown((function(objEvent){!function(objEvent){null==objEvent?(keycode=event.keyCode,escapeKey=27):(keycode=objEvent.keyCode,escapeKey=objEvent.DOM_VK_ESCAPE),key=String.fromCharCode(keycode).toLowerCase(),(key==settings.keyToClose||"x"==key||keycode==escapeKey||27==keycode)&&_finish(),key!=settings.keyToPrev&&37!=keycode&&38!=keycode&&33!=keycode||0!=settings.activeImage&&(_doPause(),settings.activeImage=settings.activeImage-1,_set_image_to_view(),_disable_keyboard_navigation()),key!=settings.keyToNext&&39!=keycode&&40!=keycode&&34!=keycode||settings.activeImage!=settings.imageArray.length-1&&(_doPause(),settings.activeImage=settings.activeImage+1,_set_image_to_view(),_disable_keyboard_navigation()),key!=settings.keyToPlayPause&&32!=keycode||(settings.isPlaying?$("#lightbox-btn-pause").click():$("#lightbox-btn-play").click())}(objEvent)}))})),settings.imageArray.length-1>settings.activeImage&&(objNext=new Image,objNext.src=settings.imageArray[settings.activeImage+1][0]),settings.activeImage>0&&(objPrev=new Image,objPrev.src=settings.imageArray[settings.activeImage-1][0])})),0==intDiffW&&0==intDiffH&&($.browser.msie?___pause(250):___pause(100));intImageWidth=intWidth,cssImg={width:intImageWidth-4,left:"0px"},$("#lightbox-container-image-data-box").css({width:intImageWidth}),$("#lightbox-image-text").css(cssImg),$("#lightbox-nav-url").css({height:intImageHeight+2*settings.containerBorderSize})}(imageWidth,imageHeight),$("#lightbox-nav-url").attr("href",settings.imageArray[settings.activeImage][3]),$("#lightbox-nav-url").attr("target",settings.imageArray[settings.activeImage][4]),$("#lightbox-image").attr("src",settings.imageArray[settings.activeImage][0]).css({width:imageWidth+"px",height:imageHeight+" px"}),objImagePreloader.onload=function(){}},objImagePreloader.src=settings.imageArray[settings.activeImage][0]}function _doPlay(){if(!settings.isPlaying){stopSlide=!1,settings.isPlaying=!0;settings.slideTimeoutId=setTimeout((function(){!function _doSlideShow(){if(settings.activeImage++,settings.activeImage>=settings.imageArray.length&&(settings.showInLoop?settings.activeImage=0:stopSlide=!0),stopSlide)settings.activeImage--,_doPause();else{_set_image_to_view();$("#jquery-lightbox").length>0&&(settings.slideTimeoutId=setTimeout((function(){_doSlideShow()}),settings.slideDelay))}}()}),settings.slideDelay),$("#lightbox-btn-play").hide(),$("#lightbox-btn-pause").show()}}function _doPause(){settings.isPlaying&&(settings.isPlaying=!1,clearTimeout(settings.slideTimeoutId),$("#lightbox-btn-play").show(),$("#lightbox-btn-pause").hide())}function _disable_keyboard_navigation(){$(document).unbind()}function _finish(){settings.isPlaying&&_doPause(),$("#jquery-lightbox").remove(),$("#jquery-overlay").fadeOut((function(){$("#jquery-overlay").remove()})),$("embed, object, select").css({visibility:"visible"}),$("body").css({"overflow-y":"auto"}),Masonry&&dinaMasonry.reload()}function ___getPageSize(){var xScroll,yScroll,windowWidth,windowHeight;return window.innerHeight&&window.scrollMaxY?(xScroll=window.innerWidth+window.scrollMaxX,yScroll=window.innerHeight+window.scrollMaxY):document.body.scrollHeight>document.body.offsetHeight?(xScroll=document.body.scrollWidth,yScroll=document.body.scrollHeight):(xScroll=document.body.offsetWidth,yScroll=document.body.offsetHeight),self.innerHeight?(windowWidth=document.documentElement.clientWidth?document.documentElement.clientWidth:self.innerWidth,windowHeight=self.innerHeight):document.documentElement&&document.documentElement.clientHeight?(windowWidth=document.documentElement.clientWidth,windowHeight=document.documentElement.clientHeight):document.body&&(windowWidth=document.body.clientWidth,windowHeight=document.body.clientHeight),pageHeight=yScroll<windowHeight?windowHeight:yScroll,pageWidth=xScroll<windowWidth?xScroll:windowWidth,arrayPageSize=new Array(pageWidth,pageHeight,windowWidth,windowHeight),arrayPageSize}function ___getPageScroll(){var xScroll,yScroll;return self.pageYOffset?(yScroll=self.pageYOffset,xScroll=self.pageXOffset):document.documentElement&&document.documentElement.scrollTop?(yScroll=document.documentElement.scrollTop,xScroll=document.documentElement.scrollLeft):document.body&&(yScroll=document.body.scrollTop,xScroll=document.body.scrollLeft),arrayPageScroll=new Array(xScroll,yScroll),arrayPageScroll}function ___pause(ms){var date=new Date;curDate=null;do{var curDate=new Date}while(curDate-date<ms)}return settings.autoPlay&&""!=settings.autoPlayElem?(elem=document.getElementById(settings.autoPlayElem),$(window).load((function(){$("body").css({"overflow-y":"hidden"}),_start(elem,jQueryMatchedObj)})),!1):this.unbind("click").click((function(){return _start(this,jQueryMatchedObj),!1}))}}(jQuery);/*!
 * accounting.js v0.3.2, copyright 2011 Joss Crowcroft, MIT license, http://josscrowcroft.github.com/accounting.js
 */
!function(p,z){function q(a){return!!(""===a||a&&a.charCodeAt&&a.substr)}function m(a){return u?u(a):"[object Array]"===v.call(a)}function r(a){return"[object Object]"===v.call(a)}function s(a,b){var d;a=a||{},b=b||{};for(d in b)b.hasOwnProperty(d)&&null==a[d]&&(a[d]=b[d]);return a}function j(a,b,d){var e,h,c=[];if(!a)return c;if(w&&a.map===w)return a.map(b,d);for(e=0,h=a.length;e<h;e++)c[e]=b.call(d,a[e],e,a);return c}function n(a,b){return a=Math.round(Math.abs(a)),isNaN(a)?b:a}function x(a){var b=c.settings.currency.format;return"function"==typeof a&&(a=a()),q(a)&&a.match("%v")?{pos:a,neg:a.replace("-","").replace("%v","-%v"),zero:a}:a&&a.pos&&a.pos.match("%v")?a:q(b)?c.settings.currency.format={pos:b,neg:b.replace("%v","-%v"),zero:b}:b}var a,c={version:"0.3.2",settings:{currency:{symbol:"$",format:"%s%v",decimal:".",thousand:",",precision:2,grouping:3},number:{precision:0,grouping:3,thousand:",",decimal:"."}}},w=Array.prototype.map,u=Array.isArray,v=Object.prototype.toString,o=c.unformat=c.parse=function(a,b){if(m(a))return j(a,(function(a){return o(a,b)}));if("number"==typeof(a=a||0))return a;b=b||".";var c=RegExp("[^0-9-"+b+"]",["g"]);c=parseFloat((""+a).replace(/\((.*)\)/,"-$1").replace(c,"").replace(b,"."));return isNaN(c)?0:c},y=c.toFixed=function(a,b){b=n(b,c.settings.number.precision);var d=Math.pow(10,b);return(Math.round(c.unformat(a)*d)/d).toFixed(b)},t=c.formatNumber=function(a,b,d,i){if(m(a))return j(a,(function(a){return t(a,b,d,i)}));a=o(a);var e=s(r(b)?b:{precision:b,thousand:d,decimal:i},c.settings.number),h=n(e.precision),f=0>a?"-":"",g=parseInt(y(Math.abs(a||0),h),10)+"",l=3<g.length?g.length%3:0;return f+(l?g.substr(0,l)+e.thousand:"")+g.substr(l).replace(/(\d{3})(?=\d)/g,"$1"+e.thousand)+(h?e.decimal+y(Math.abs(a),h).split(".")[1]:"")},A=c.formatMoney=function(a,b,d,i,e,h){if(m(a))return j(a,(function(a){return A(a,b,d,i,e,h)}));a=o(a);var f=s(r(b)?b:{symbol:b,precision:d,thousand:i,decimal:e,format:h},c.settings.currency),g=x(f.format);return(0<a?g.pos:0>a?g.neg:g.zero).replace("%s",f.symbol).replace("%v",t(Math.abs(a),n(f.precision),f.thousand,f.decimal))};c.formatColumn=function(a,b,d,i,e,h){if(!a)return[];var f=s(r(b)?b:{symbol:b,precision:d,thousand:i,decimal:e,format:h},c.settings.currency),g=x(f.format),l=g.pos.indexOf("%s")<g.pos.indexOf("%v"),k=0;a=j(a,(function(a){return m(a)?c.formatColumn(a,f):((a=(0<(a=o(a))?g.pos:0>a?g.neg:g.zero).replace("%s",f.symbol).replace("%v",t(Math.abs(a),n(f.precision),f.thousand,f.decimal))).length>k&&(k=a.length),a)}));return j(a,(function(a){return q(a)&&a.length<k?l?a.replace(f.symbol,f.symbol+Array(k-a.length+1).join(" ")):Array(k-a.length+1).join(" ")+a:a}))},"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=c),exports.accounting=c):"function"==typeof define&&define.amd?define([],(function(){return c})):(c.noConflict=(a=p.accounting,function(){return p.accounting=a,c.noConflict=void 0,c}),p.accounting=c)}(this);!function($){"use strict";function setElementSelection(that,start,end){if(void 0===that.selectionStart){that.focus();var r=that.createTextRange();r.collapse(!0),r.moveEnd("character",end),r.moveStart("character",start),r.select()}else that.selectionStart=start,that.selectionEnd=end}function convertKeyToNumber(settings,key){"string"==typeof settings[key]&&(settings[key]*=1)}function autoCode($this,settings){!function($this,settings){$.each(settings,(function(k,val){"function"==typeof val?settings[k]=val($this,settings,k):"function"==typeof $this.autoNumeric[val]&&(settings[k]=$this.autoNumeric[val]($this,settings,k))}))}($this,settings),settings.oEvent=null,settings.tagList=["B","CAPTION","CITE","CODE","DD","DEL","DIV","DFN","DT","EM","H1","H2","H3","H4","H5","H6","INS","KDB","LABEL","LI","OUTPUT","P","Q","S","SAMPLE","SPAN","STRONG","TD","TH","U","VAR"];var vmax=settings.vMax.toString().split("."),vmin=settings.vMin||0===settings.vMin?settings.vMin.toString().split("."):[];if(convertKeyToNumber(settings,"vMax"),convertKeyToNumber(settings,"vMin"),convertKeyToNumber(settings,"mDec"),settings.mDec="CHF"===settings.mRound?"2":settings.mDec,settings.allowLeading=!0,settings.aNeg=settings.vMin<0?"-":"",vmax[0]=vmax[0].replace("-",""),vmin[0]=vmin[0].replace("-",""),settings.mInt=Math.max(vmax[0].length,vmin[0].length,1),null===settings.mDec){var vmaxLength=0,vminLength=0;vmax[1]&&(vmaxLength=vmax[1].length),vmin[1]&&(vminLength=vmin[1].length),settings.mDec=Math.max(vmaxLength,vminLength)}null===settings.altDec&&settings.mDec>0&&("."===settings.aDec&&","!==settings.aSep?settings.altDec=",":","===settings.aDec&&"."!==settings.aSep&&(settings.altDec="."));var aNegReg=settings.aNeg?"([-\\"+settings.aNeg+"]?)":"(-?)";settings.aNegRegAutoStrip=aNegReg,settings.skipFirstAutoStrip=new RegExp(aNegReg+"[^-"+(settings.aNeg?"\\"+settings.aNeg:"")+"\\"+settings.aDec+"\\d].*?(\\d|\\"+settings.aDec+"\\d)"),settings.skipLastAutoStrip=new RegExp("(\\d\\"+settings.aDec+"?)[^\\"+settings.aDec+"\\d]\\D*$");var allowed="-"+settings.aNum+"\\"+settings.aDec;return settings.allowedAutoStrip=new RegExp("[^"+allowed+"]","gi"),settings.numRegAutoStrip=new RegExp(aNegReg+"(?:\\"+settings.aDec+"?(\\d+\\"+settings.aDec+"\\d+)|(\\d*(?:\\"+settings.aDec+"\\d*)?))"),settings}function autoStrip(s,settings,strip_zero){if(settings.aSign)for(;s.indexOf(settings.aSign)>-1;)s=s.replace(settings.aSign,"");s=(s=(s=s.replace(settings.skipFirstAutoStrip,"$1$2")).replace(settings.skipLastAutoStrip,"$1")).replace(settings.allowedAutoStrip,""),settings.altDec&&(s=s.replace(settings.altDec,settings.aDec));var m=s.match(settings.numRegAutoStrip);if(s=m?[m[1],m[2],m[3]].join(""):"",("allow"===settings.lZero||"keep"===settings.lZero)&&"strip"!==strip_zero){var parts=[],nSign="";-1!==(parts=s.split(settings.aDec))[0].indexOf("-")&&(nSign="-",parts[0]=parts[0].replace("-","")),parts[0].length>settings.mInt&&"0"===parts[0].charAt(0)&&(parts[0]=parts[0].slice(1)),s=nSign+parts.join(settings.aDec)}if(strip_zero&&"deny"===settings.lZero||strip_zero&&"allow"===settings.lZero&&!1===settings.allowLeading){var strip_reg="^"+settings.aNegRegAutoStrip+"0*(\\d"+("leading"===strip_zero?")":"|$)");strip_reg=new RegExp(strip_reg),s=s.replace(strip_reg,"$1$2")}return s}function negativeBracket(s,nBracket,oEvent){return nBracket=nBracket.split(","),"set"===oEvent||"focusout"===oEvent?(s=s.replace("-",""),s=nBracket[0]+s+nBracket[1]):"get"!==oEvent&&"focusin"!==oEvent&&"pageLoad"!==oEvent||s.charAt(0)!==nBracket[0]||(s=(s=s.replace(nBracket[0],"-")).replace(nBracket[1],"")),s}function truncateDecimal(s,aDec,mDec){if(aDec&&mDec){var parts=s.split(aDec);parts[1]&&parts[1].length>mDec&&(mDec>0?(parts[1]=parts[1].substring(0,mDec),s=parts.join(aDec)):s=parts[0])}return s}function fixNumber(s,aDec,aNeg){return aDec&&"."!==aDec&&(s=s.replace(aDec,".")),aNeg&&"-"!==aNeg&&(s=s.replace(aNeg,"-")),s.match(/\d/)||(s+="0"),s}function checkValue(value,settings){if(value){var checkSmall=+value;if(checkSmall<1e-6&&checkSmall>-1)(value=+value)<1e-6&&value>0&&(value=(value=(value+10).toString()).substring(1)),value<0&&value>-1&&(value="-"+(value=(value-10).toString()).substring(2)),value=value.toString();else{var parts=value.split(".");void 0!==parts[1]&&(0==+parts[1]?value=parts[0]:(parts[1]=parts[1].replace(/0*$/,""),value=parts.join(".")))}}return"keep"===settings.lZero?value:value.replace(/^0*(\d)/,"$1")}function presentNumber(s,aDec,aNeg){return aNeg&&"-"!==aNeg&&(s=s.replace("-",aNeg)),aDec&&"."!==aDec&&(s=s.replace(".",aDec)),s}function autoCheck(s,settings){var value=+(s=fixNumber(s=truncateDecimal(s=autoStrip(s,settings),settings.aDec,settings.mDec),settings.aDec,settings.aNeg));return"set"===settings.oEvent&&(value<settings.vMin||value>settings.vMax)&&$.error("The value ("+value+") from the 'set' method falls outside of the vMin / vMax range"),value>=settings.vMin&&value<=settings.vMax}function checkEmpty(iv,settings,signOnEmpty){return""===iv||iv===settings.aNeg?"zero"===settings.wEmpty?iv+"0":"sign"===settings.wEmpty||signOnEmpty?iv+settings.aSign:iv:null}function autoGroup(iv,settings){var testNeg=(iv=autoStrip(iv,settings)).replace(",","."),empty=checkEmpty(iv,settings,!0);if(null!==empty)return empty;var digitalGroup="";digitalGroup=2===settings.dGroup?/(\d)((\d)(\d{2}?)+)$/:4===settings.dGroup?/(\d)((\d{4}?)+)$/:/(\d)((\d{3}?)+)$/;var ivSplit=iv.split(settings.aDec);settings.altDec&&1===ivSplit.length&&(ivSplit=iv.split(settings.altDec));var s=ivSplit[0];if(settings.aSep)for(;digitalGroup.test(s);)s=s.replace(digitalGroup,"$1"+settings.aSep+"$2");if(0!==settings.mDec&&ivSplit.length>1?(ivSplit[1].length>settings.mDec&&(ivSplit[1]=ivSplit[1].substring(0,settings.mDec)),iv=s+settings.aDec+ivSplit[1]):iv=s,settings.aSign){var has_aNeg=-1!==iv.indexOf(settings.aNeg);iv=iv.replace(settings.aNeg,""),iv="p"===settings.pSign?settings.aSign+iv:iv+settings.aSign,has_aNeg&&(iv=settings.aNeg+iv)}return"set"===settings.oEvent&&testNeg<0&&null!==settings.nBracket&&(iv=negativeBracket(iv,settings.nBracket,settings.oEvent)),iv}function autoRound(iv,settings){iv=""===iv?"0":iv.toString(),convertKeyToNumber(settings,"mDec"),"CHF"===settings.mRound&&(iv=(Math.round(20*iv)/20).toString());var ivRounded="",i=0,nSign="",rDec="boolean"==typeof settings.aPad||null===settings.aPad?settings.aPad?settings.mDec:0:+settings.aPad,truncateZeros=function(ivRounded){var regex=0===rDec?/(\.(?:\d*[1-9])?)0*$/:1===rDec?/(\.\d(?:\d*[1-9])?)0*$/:new RegExp("(\\.\\d{"+rDec+"}(?:\\d*[1-9])?)0*$");return ivRounded=ivRounded.replace(regex,"$1"),0===rDec&&(ivRounded=ivRounded.replace(/\.$/,"")),ivRounded};"-"===iv.charAt(0)&&(nSign="-",iv=iv.replace("-","")),iv.match(/^\d/)||(iv="0"+iv),"-"===nSign&&0==+iv&&(nSign=""),(+iv>0&&"keep"!==settings.lZero||iv.length>0&&"allow"===settings.lZero)&&(iv=iv.replace(/^0*(\d)/,"$1"));var dPos=iv.lastIndexOf("."),vdPos=-1===dPos?iv.length-1:dPos,cDec=iv.length-1-vdPos;if(cDec<=settings.mDec){if(ivRounded=iv,cDec<rDec){-1===dPos&&(ivRounded+=".");for(var zeros="000000";cDec<rDec;)ivRounded+=zeros=zeros.substring(0,rDec-cDec),cDec+=zeros.length}else cDec>rDec?ivRounded=truncateZeros(ivRounded):0===cDec&&0===rDec&&(ivRounded=ivRounded.replace(/\.$/,""));if("CHF"!==settings.mRound)return 0==+ivRounded?ivRounded:nSign+ivRounded;"CHF"===settings.mRound&&(dPos=ivRounded.lastIndexOf("."),iv=ivRounded)}var rLength=dPos+settings.mDec,tRound=+iv.charAt(rLength+1),ivArray=iv.substring(0,rLength+1).split(""),odd="."===iv.charAt(rLength)?iv.charAt(rLength-1)%2:iv.charAt(rLength)%2,onePass=!0;if(odd=0===odd&&iv.substring(rLength+2,iv.length)>0?1:0,tRound>4&&"S"===settings.mRound||tRound>4&&"A"===settings.mRound&&""===nSign||tRound>5&&"A"===settings.mRound&&"-"===nSign||tRound>5&&"s"===settings.mRound||tRound>5&&"a"===settings.mRound&&""===nSign||tRound>4&&"a"===settings.mRound&&"-"===nSign||tRound>5&&"B"===settings.mRound||5===tRound&&"B"===settings.mRound&&1===odd||tRound>0&&"C"===settings.mRound&&""===nSign||tRound>0&&"F"===settings.mRound&&"-"===nSign||tRound>0&&"U"===settings.mRound||"CHF"===settings.mRound)for(i=ivArray.length-1;i>=0;i-=1)if("."!==ivArray[i]){if("CHF"===settings.mRound&&ivArray[i]<=2&&onePass){ivArray[i]=0,onePass=!1;break}if("CHF"===settings.mRound&&ivArray[i]<=7&&onePass){ivArray[i]=5,onePass=!1;break}if("CHF"===settings.mRound&&onePass?(ivArray[i]=10,onePass=!1):ivArray[i]=+ivArray[i]+1,ivArray[i]<10)break;i>0&&(ivArray[i]="0")}return 0==+(ivRounded=truncateZeros((ivArray=ivArray.slice(0,rLength+1)).join("")))?ivRounded:nSign+ivRounded}function AutoNumericHolder(that,settings){this.settings=settings,this.that=that,this.$that=$(that),this.formatted=!1,this.settingsClone=autoCode(this.$that,this.settings),this.value=that.value}function autoGet(obj){return"string"==typeof obj&&(obj="#"+(obj=obj.replace(/\[/g,"\\[").replace(/\]/g,"\\]")).replace(/(:|\.)/g,"\\$1")),$(obj)}function getHolder($that,settings,update){var data=$that.data("autoNumeric");data||(data={},$that.data("autoNumeric",data));var holder=data.holder;return(void 0===holder&&settings||update)&&(holder=new AutoNumericHolder($that.get(0),settings),data.holder=holder),holder}AutoNumericHolder.prototype={init:function(e){this.value=this.that.value,this.settingsClone=autoCode(this.$that,this.settings),this.ctrlKey=e.ctrlKey,this.cmdKey=e.metaKey,this.shiftKey=e.shiftKey,this.selection=function(that){var position={};if(void 0===that.selectionStart){that.focus();var select=document.selection.createRange();position.length=select.text.length,select.moveStart("character",-that.value.length),position.end=select.text.length,position.start=position.end-position.length}else position.start=that.selectionStart,position.end=that.selectionEnd,position.length=position.end-position.start;return position}(this.that),"keydown"!==e.type&&"keyup"!==e.type||(this.kdCode=e.keyCode),this.which=e.which,this.processed=!1,this.formatted=!1},setSelection:function(start,end,setReal){start=Math.max(start,0),end=Math.min(end,this.that.value.length),this.selection={start:start,end:end,length:end-start},(void 0===setReal||setReal)&&setElementSelection(this.that,start,end)},setPosition:function(pos,setReal){this.setSelection(pos,pos,setReal)},getBeforeAfter:function(){var value=this.value;return[value.substring(0,this.selection.start),value.substring(this.selection.end,value.length)]},getBeforeAfterStriped:function(){var parts=this.getBeforeAfter();return parts[0]=autoStrip(parts[0],this.settingsClone),parts[1]=autoStrip(parts[1],this.settingsClone),parts},normalizeParts:function(left,right){var settingsClone=this.settingsClone;right=autoStrip(right,settingsClone),""!==(left=autoStrip(left,settingsClone,!!right.match(/^\d/)||"leading"))&&left!==settingsClone.aNeg||"deny"!==settingsClone.lZero||right>""&&(right=right.replace(/^0*(\d)/,"$1"));var new_value=left+right;if(settingsClone.aDec){var m=new_value.match(new RegExp("^"+settingsClone.aNegRegAutoStrip+"\\"+settingsClone.aDec));m&&(new_value=(left=left.replace(m[1],m[1]+"0"))+right)}return"zero"!==settingsClone.wEmpty||new_value!==settingsClone.aNeg&&""!==new_value||(left+="0"),[left,right]},setValueParts:function(left,right){var settingsClone=this.settingsClone,parts=this.normalizeParts(left,right),new_value=parts.join(""),position=parts[0].length;return!!autoCheck(new_value,settingsClone)&&(position>(new_value=truncateDecimal(new_value,settingsClone.aDec,settingsClone.mDec)).length&&(position=new_value.length),this.value=new_value,this.setPosition(position,!1),!0)},signPosition:function(){var settingsClone=this.settingsClone,aSign=settingsClone.aSign,that=this.that;if(aSign){var aSignLen=aSign.length;if("p"===settingsClone.pSign)return settingsClone.aNeg&&that.value&&that.value.charAt(0)===settingsClone.aNeg?[1,aSignLen+1]:[0,aSignLen];var valueLen=that.value.length;return[valueLen-aSignLen,valueLen]}return[1e3,-1]},expandSelectionOnSign:function(setReal){var sign_position=this.signPosition(),selection=this.selection;selection.start<sign_position[1]&&selection.end>sign_position[0]&&((selection.start<sign_position[0]||selection.end>sign_position[1])&&this.value.substring(Math.max(selection.start,sign_position[0]),Math.min(selection.end,sign_position[1])).match(/^\s*$/)?selection.start<sign_position[0]?this.setSelection(selection.start,sign_position[0],setReal):this.setSelection(sign_position[1],selection.end,setReal):this.setSelection(Math.min(selection.start,sign_position[0]),Math.max(selection.end,sign_position[1]),setReal))},checkPaste:function(){if(void 0!==this.valuePartsBeforePaste){var parts=this.getBeforeAfter(),oldParts=this.valuePartsBeforePaste;delete this.valuePartsBeforePaste,parts[0]=parts[0].substr(0,oldParts[0].length)+autoStrip(parts[0].substr(oldParts[0].length),this.settingsClone),this.setValueParts(parts[0],parts[1])||(this.value=oldParts.join(""),this.setPosition(oldParts[0].length,!1))}},skipAllways:function(e){var kdCode=this.kdCode,which=this.which,ctrlKey=this.ctrlKey,cmdKey=this.cmdKey,shiftKey=this.shiftKey;if((ctrlKey||cmdKey)&&"keyup"===e.type&&void 0!==this.valuePartsBeforePaste||shiftKey&&45===kdCode)return this.checkPaste(),!1;if(kdCode>=112&&kdCode<=123||kdCode>=91&&kdCode<=93||kdCode>=9&&kdCode<=31||kdCode<8&&(0===which||which===kdCode)||144===kdCode||145===kdCode||45===kdCode)return!0;if((ctrlKey||cmdKey)&&65===kdCode)return!0;if((ctrlKey||cmdKey)&&(67===kdCode||86===kdCode||88===kdCode))return"keydown"===e.type&&this.expandSelectionOnSign(),86!==kdCode&&45!==kdCode||("keydown"===e.type||"keypress"===e.type?void 0===this.valuePartsBeforePaste&&(this.valuePartsBeforePaste=this.getBeforeAfter()):this.checkPaste()),"keydown"===e.type||"keypress"===e.type||67===kdCode;if(ctrlKey||cmdKey)return!0;if(37===kdCode||39===kdCode){var aSep=this.settingsClone.aSep,start=this.selection.start,value=this.that.value;return"keydown"===e.type&&aSep&&!this.shiftKey&&(37===kdCode&&value.charAt(start-2)===aSep?this.setPosition(start-1):39===kdCode&&value.charAt(start+1)===aSep&&this.setPosition(start+1)),!0}return kdCode>=34&&kdCode<=40},processAllways:function(){var parts;return(8===this.kdCode||46===this.kdCode)&&(this.selection.length?(this.expandSelectionOnSign(!1),parts=this.getBeforeAfterStriped(),this.setValueParts(parts[0],parts[1])):(parts=this.getBeforeAfterStriped(),8===this.kdCode?parts[0]=parts[0].substring(0,parts[0].length-1):parts[1]=parts[1].substring(1,parts[1].length),this.setValueParts(parts[0],parts[1])),!0)},processKeypress:function(){var settingsClone=this.settingsClone,cCode=String.fromCharCode(this.which),parts=this.getBeforeAfterStriped(),left=parts[0],right=parts[1];return cCode===settingsClone.aDec||settingsClone.altDec&&cCode===settingsClone.altDec||("."===cCode||","===cCode)&&110===this.kdCode?!settingsClone.mDec||!settingsClone.aDec||(settingsClone.aNeg&&right.indexOf(settingsClone.aNeg)>-1||left.indexOf(settingsClone.aDec)>-1||right.indexOf(settingsClone.aDec)>0||(0===right.indexOf(settingsClone.aDec)&&(right=right.substr(1)),this.setValueParts(left+settingsClone.aDec,right)),!0):"-"===cCode||"+"===cCode?!settingsClone.aNeg||(""===left&&right.indexOf(settingsClone.aNeg)>-1&&(left=settingsClone.aNeg,right=right.substring(1,right.length)),left=left.charAt(0)===settingsClone.aNeg?left.substring(1,left.length):"-"===cCode?settingsClone.aNeg+left:left,this.setValueParts(left,right),!0):!(cCode>="0"&&cCode<="9")||(settingsClone.aNeg&&""===left&&right.indexOf(settingsClone.aNeg)>-1&&(left=settingsClone.aNeg,right=right.substring(1,right.length)),settingsClone.vMax<=0&&settingsClone.vMin<settingsClone.vMax&&-1===this.value.indexOf(settingsClone.aNeg)&&"0"!==cCode&&(left=settingsClone.aNeg+left),this.setValueParts(left+cCode,right),!0)},formatQuick:function(){var settingsClone=this.settingsClone,parts=this.getBeforeAfterStriped(),leftLength=this.value;if((""===settingsClone.aSep||""!==settingsClone.aSep&&-1===leftLength.indexOf(settingsClone.aSep))&&(""===settingsClone.aSign||""!==settingsClone.aSign&&-1===leftLength.indexOf(settingsClone.aSign))){var subParts=[],nSign="";(subParts=leftLength.split(settingsClone.aDec))[0].indexOf("-")>-1&&(nSign="-",subParts[0]=subParts[0].replace("-",""),parts[0]=parts[0].replace("-","")),subParts[0].length>settingsClone.mInt&&"0"===parts[0].charAt(0)&&(parts[0]=parts[0].slice(1)),parts[0]=nSign+parts[0]}var value=autoGroup(this.value,this.settingsClone),position=value.length;if(value){for(var left_ar=parts[0].split(""),i=0;i<left_ar.length;i+=1)left_ar[i].match("\\d")||(left_ar[i]="\\"+left_ar[i]);var leftReg=new RegExp("^.*?"+left_ar.join(".*?")),newLeft=value.match(leftReg);newLeft?(0===(position=newLeft[0].length)&&value.charAt(0)!==settingsClone.aNeg||1===position&&value.charAt(0)===settingsClone.aNeg)&&settingsClone.aSign&&"p"===settingsClone.pSign&&(position=this.settingsClone.aSign.length+("-"===value.charAt(0)?1:0)):settingsClone.aSign&&"s"===settingsClone.pSign&&(position-=settingsClone.aSign.length)}this.that.value=value,this.setPosition(position),this.formatted=!0}};var methods={init:function(options){return this.each((function(){var $this=$(this),settings=$this.data("autoNumeric"),tagData=$this.data();if("object"==typeof settings)return this;if((settings=$.extend({},{aNum:"0123456789",aSep:",",dGroup:"3",aDec:".",altDec:null,aSign:"",pSign:"p",vMax:"9999999999999.99",vMin:"0.00",mDec:null,mRound:"S",aPad:!0,nBracket:null,wEmpty:"empty",lZero:"allow",aForm:!0,onSomeEvent:function(){}},tagData,options)).aDec===settings.aSep)return $.error("autoNumeric will not function properly when the decimal character aDec: '"+settings.aDec+"' and thousand separator aSep: '"+settings.aSep+"' are the same character"),this;$this.data("autoNumeric",settings),settings.runOnce=!1;var holder=getHolder($this,settings);if(-1===$.inArray($this.prop("tagName"),settings.tagList)&&"INPUT"!==$this.prop("tagName"))return $.error("The <"+$this.prop("tagName")+"> is not supported by autoNumeric()"),this;if(!1===settings.runOnce&&settings.aForm){if($this.is("input[type=text], input[type=hidden], input[type=tel], input:not([type])")){var setValue=!0;""===$this[0].value&&"empty"===settings.wEmpty&&($this[0].value="",setValue=!1),""===$this[0].value&&"sign"===settings.wEmpty&&($this[0].value=settings.aSign,setValue=!1),setValue&&$this.autoNumeric("set",$this.val())}-1!==$.inArray($this.prop("tagName"),settings.tagList)&&""!==$this.text()&&$this.autoNumeric("set",$this.text())}settings.runOnce=!0,$this.is("input[type=text], input[type=hidden], input[type=tel], input:not([type])")&&($this.on("keydown.autoNumeric",(function(e){return(holder=getHolder($this)).settings.aDec===holder.settings.aSep?($.error("autoNumeric will not function properly when the decimal character aDec: '"+holder.settings.aDec+"' and thousand separator aSep: '"+holder.settings.aSep+"' are the same character"),this):holder.that.readOnly?(holder.processed=!0,!0):(holder.init(e),holder.settings.oEvent="keydown",holder.skipAllways(e)?(holder.processed=!0,!0):holder.processAllways()?(holder.processed=!0,holder.formatQuick(),e.preventDefault(),!1):(holder.formatted=!1,!0))})),$this.on("keypress.autoNumeric",(function(e){var holder=getHolder($this),processed=holder.processed;return holder.init(e),holder.settings.oEvent="keypress",!!holder.skipAllways(e)||(processed?(e.preventDefault(),!1):holder.processAllways()||holder.processKeypress()?(holder.formatQuick(),e.preventDefault(),!1):void(holder.formatted=!1))})),$this.on("keyup.autoNumeric",(function(e){var holder=getHolder($this);holder.init(e),holder.settings.oEvent="keyup";var skip=holder.skipAllways(e);return holder.kdCode=0,delete holder.valuePartsBeforePaste,$this[0].value===holder.settings.aSign&&("s"===holder.settings.pSign?setElementSelection(this,0,0):setElementSelection(this,holder.settings.aSign.length,holder.settings.aSign.length)),!!skip||(""===this.value||void(holder.formatted||holder.formatQuick()))})),$this.on("focusin.autoNumeric",(function(){var holder=getHolder($this);if(holder.settingsClone.oEvent="focusin",null!==holder.settingsClone.nBracket){var checkVal=$this.val();$this.val(negativeBracket(checkVal,holder.settingsClone.nBracket,holder.settingsClone.oEvent))}holder.inVal=$this.val();var onempty=checkEmpty(holder.inVal,holder.settingsClone,!0);null!==onempty&&($this.val(onempty),"s"===holder.settings.pSign?setElementSelection(this,0,0):setElementSelection(this,holder.settings.aSign.length,holder.settings.aSign.length))})),$this.on("focusout.autoNumeric",(function(){var holder=getHolder($this),settingsClone=holder.settingsClone,value=$this.val(),origValue=value;holder.settingsClone.oEvent="focusout";var strip_zero="";"allow"===settingsClone.lZero&&(settingsClone.allowLeading=!1,strip_zero="leading"),""!==value&&(value=null===checkEmpty(value=autoStrip(value,settingsClone,strip_zero),settingsClone)&&autoCheck(value,settingsClone,$this[0])?presentNumber(value=autoRound(value=fixNumber(value,settingsClone.aDec,settingsClone.aNeg),settingsClone),settingsClone.aDec,settingsClone.aNeg):"");var groupedValue=checkEmpty(value,settingsClone,!1);null===groupedValue&&(groupedValue=autoGroup(value,settingsClone)),groupedValue!==origValue&&$this.val(groupedValue),groupedValue!==holder.inVal&&($this.change(),delete holder.inVal),null!==settingsClone.nBracket&&$this.autoNumeric("get")<0&&(holder.settingsClone.oEvent="focusout",$this.val(negativeBracket($this.val(),settingsClone.nBracket,settingsClone.oEvent)))})))}))},destroy:function(){return $(this).each((function(){var $this=$(this);$this.off(".autoNumeric"),$this.removeData("autoNumeric")}))},update:function(options){return $(this).each((function(){var $this=autoGet($(this)),settings=$this.data("autoNumeric");if("object"!=typeof settings)return $.error("You must initialize autoNumeric('init', {options}) prior to calling the 'update' method"),this;var strip=$this.autoNumeric("get");return getHolder($this,settings=$.extend(settings,options),!0),settings.aDec===settings.aSep?($.error("autoNumeric will not function properly when the decimal character aDec: '"+settings.aDec+"' and thousand separator aSep: '"+settings.aSep+"' are the same character"),this):($this.data("autoNumeric",settings),""!==$this.val()||""!==$this.text()?$this.autoNumeric("set",strip):void 0)}))},set:function(valueIn){return $(this).each((function(){var $this=autoGet($(this)),settings=$this.data("autoNumeric"),value=valueIn.toString(),testValue=valueIn.toString();return"object"!=typeof settings?($.error("You must initialize autoNumeric('init', {options}) prior to calling the 'set' method"),this):(testValue!==$this.attr("value")&&"INPUT"===$this.prop("tagName")&&!1===settings.runOnce&&(value=autoStrip(value=null!==settings.nBracket?negativeBracket($this.val(),settings.nBracket,"pageLoad"):value,settings)),testValue!==$this.attr("value")&&testValue!==$this.text()||!1!==settings.runOnce||(value=value.replace(",",".")),$.isNumeric(+value)?(value=checkValue(value,settings),settings.oEvent="set",value.toString(),""!==value&&(value=autoRound(value,settings)),autoCheck(value=presentNumber(value,settings.aDec,settings.aNeg),settings)||(value=autoRound("",settings)),value=autoGroup(value,settings),$this.is("input[type=text], input[type=hidden], input[type=tel], input:not([type])")?$this.val(value):-1!==$.inArray($this.prop("tagName"),settings.tagList)?$this.text(value):($.error("The <"+$this.prop("tagName")+"> is not supported by autoNumeric()"),!1)):"")}))},get:function(){var $this=autoGet($(this)),settings=$this.data("autoNumeric");if("object"!=typeof settings)return $.error("You must initialize autoNumeric('init', {options}) prior to calling the 'get' method"),this;settings.oEvent="get";var getValue="";if($this.is("input[type=text], input[type=hidden], input[type=tel], input:not([type])"))getValue=$this.eq(0).val();else{if(-1===$.inArray($this.prop("tagName"),settings.tagList))return $.error("The <"+$this.prop("tagName")+"> is not supported by autoNumeric()"),!1;getValue=$this.eq(0).text()}return""===getValue&&"empty"===settings.wEmpty||getValue===settings.aSign&&("sign"===settings.wEmpty||"empty"===settings.wEmpty)?"":(null!==settings.nBracket&&""!==getValue&&(getValue=negativeBracket(getValue,settings.nBracket,settings.oEvent)),(settings.runOnce||!1===settings.aForm)&&(getValue=autoStrip(getValue,settings)),0==+(getValue=fixNumber(getValue,settings.aDec,settings.aNeg))&&"keep"!==settings.lZero&&(getValue="0"),"keep"===settings.lZero?getValue:getValue=checkValue(getValue,settings))},getString:function(){for(var isAutoNumeric=!1,parts=autoGet($(this)).serialize().split("&"),i=0;i<parts.length;i+=1){var miniParts=parts[i].split("=");"object"==typeof $('*[name="'+decodeURIComponent(miniParts[0])+'"]').data("autoNumeric")&&null!==miniParts[1]&&void 0!==$('*[name="'+decodeURIComponent(miniParts[0])+'"]').data("autoNumeric")&&(miniParts[1]=$('input[name="'+decodeURIComponent(miniParts[0])+'"]').autoNumeric("get"),parts[i]=miniParts.join("="),isAutoNumeric=!0)}return!0===isAutoNumeric?parts.join("&"):($.error("You must initialize autoNumeric('init', {options}) prior to calling the 'getString' method"),this)},getArray:function(){var isAutoNumeric=!1,formFields=autoGet($(this)).serializeArray();return $.each(formFields,(function(i,field){"object"==typeof $('*[name="'+decodeURIComponent(field.name)+'"]').data("autoNumeric")&&(""!==field.value&&void 0!==$('*[name="'+decodeURIComponent(field.name)+'"]').data("autoNumeric")&&(field.value=$('input[name="'+decodeURIComponent(field.name)+'"]').autoNumeric("get").toString()),isAutoNumeric=!0)})),!0===isAutoNumeric?formFields:($.error("You must initialize autoNumeric('init', {options}) prior to calling the 'getArray' method"),this)},getSettings:function(){return autoGet($(this)).eq(0).data("autoNumeric")}};$.fn.autoNumeric=function(method){return methods[method]?methods[method].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof method&&method?void $.error('Method "'+method+'" is not supported by autoNumeric()'):methods.init.apply(this,arguments)}}(jQuery);var onTop=!0;function affixed(){$("body").hasClass("base-module-newyork2")||(vp=getViewpoint(),"md"==vp||"lg"==vp?$(".content-menu").addClass("affix").css({width:"100%"}):$(".content-menu").removeClass("affix"))}function expandContentResizeLogo(container,content,module){minst=110,logo_h=80,$(container).scroll((function(e){inViewerMode=$("body").hasClass("dinagalviewer-normal")||$("body").hasClass("dinagalviewer-fullscreen"),winh=$(window).height(),doch=$(".content-menu").height()+$(content).height(),doch>winh+2*minst&&(text_h=0,$.isArray(content)?($.each(content,(function(idx,v){text_h=$(v).height()})),text_h-=40):text_h=$(content).height()-40,cont=$(window).height()-$(".content-menu").height()-logo_h,text_h>cont&&(st=$(this).scrollTop(),$(".newyork2-zone-logo").toggleClass("logo-reducido-texto",st>minst&&!inViewerMode),$(".content-menu").toggleClass("no-transparency",st>minst),$(".content-footer:not(footer)").toggleClass("no-transparency",st>minst),$(module).toggleClass("logo-to-top",st>minst)))}))}$(document).ready((function(){affixed(),isMobileResol()&&$(".newyork2-navbar-header-title").on("click",(function(){return $(".content-module-galeria").toggle(),"galeria"!=DINA_TEMPLATE&&"galeria_v"!=DINA_TEMPLATE||$("body").toggleClass("display-scroll"),!1})),$(window).scroll((function(e){inViewerMode=$("body").hasClass("dinagalviewer-normal")||$("body").hasClass("dinagalviewer-fullscreen"),cmh=$(".content-menu").height(),lh=$(".content-logo").height()+cmh,st=$(this).scrollTop(),$(".newyork2-zone-logo").toggleClass("logo-reducido-texto",st>cmh&&!inViewerMode),$(".newyork2-zone-menu, .content-menu").toggleClass("no-transparency",st>cmh),$(".content-footer:not(footer)").toggleClass("no-transparency",st>cmh),$(".infinite-intro-music").toggleClass("reduced-menu",st>cmh)}))})),$(window).resize((function(){affixed()}));/*!
 *  FluidVids.js v1.2.0
 *  Responsive and fluid YouTube/Vimeo video embeds.
 *  Project: https://github.com/toddmotto/fluidvids
 *  by Todd Motto: http://toddmotto.com
 *
 *  Copyright 2013 Todd Motto. MIT licensed.
 */
window.fluidvids=function(window,document,undefined){"use strict";var Fluidvids=function(elem){this.elem=elem};Fluidvids.prototype={init:function(){var videoRatio=this.elem.height/this.elem.width*100;this.elem.style.position="absolute",this.elem.style.top="0",this.elem.style.left="0",this.elem.width="100%",this.elem.height="100%";var wrap=document.createElement("div");wrap.className="fluidvids",wrap.style.width="100%",wrap.style.position="relative",wrap.style.paddingTop=videoRatio+"%",this.elem.parentNode.insertBefore(wrap,this.elem),wrap.appendChild(this.elem)}},$(document).ready((function(){for(var iframes=document.getElementsByTagName("iframe"),i=0;i<iframes.length;i++){iframes[i].src.search(/www.youtube.com|player.vimeo.com/)>0&&new Fluidvids(iframes[i]).init()}}))}(window,document);/*!
 * jQuery Form Plugin
 * version: 3.51.0-2014.06.20
 * Requires jQuery v1.5 or later
 * Copyright (c) 2014 M. Alsup
 * Examples and documentation at: http://malsup.com/jquery/form/
 * Project repository: https://github.com/malsup/form
 * Dual licensed under the MIT and GPL licenses.
 * https://github.com/malsup/form#copyright-and-license
 */
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):e("undefined"!=typeof jQuery?jQuery:window.Zepto)}((function(e){"use strict";function t(t){var r=t.data;t.isDefaultPrevented()||(t.preventDefault(),e(t.target).ajaxSubmit(r))}function r(t){var r=t.target,a=e(r);if(!a.is("[type=submit],[type=image]")){var n=a.closest("[type=submit]");if(0===n.length)return;r=n[0]}var i=this;if(i.clk=r,"image"==r.type)if(void 0!==t.offsetX)i.clk_x=t.offsetX,i.clk_y=t.offsetY;else if("function"==typeof e.fn.offset){var o=a.offset();i.clk_x=t.pageX-o.left,i.clk_y=t.pageY-o.top}else i.clk_x=t.pageX-r.offsetLeft,i.clk_y=t.pageY-r.offsetTop;setTimeout((function(){i.clk=i.clk_x=i.clk_y=null}),100)}function a(){if(e.fn.ajaxSubmit.debug){var t="[jquery.form] "+Array.prototype.join.call(arguments,"");window.console&&window.console.log?window.console.log(t):window.opera&&window.opera.postError&&window.opera.postError(t)}}var n={};n.fileapi=void 0!==e("<input type='file'/>").get(0).files,n.formdata=void 0!==window.FormData;var i=!!e.fn.prop;e.fn.attr2=function(){if(!i)return this.attr.apply(this,arguments);var e=this.prop.apply(this,arguments);return e&&e.jquery||"string"==typeof e?e:this.attr.apply(this,arguments)},e.fn.ajaxSubmit=function(t){function s(r){function n(e){var t=null;try{e.contentWindow&&(t=e.contentWindow.document)}catch(r){a("cannot get iframe.contentWindow document: "+r)}if(t)return t;try{t=e.contentDocument?e.contentDocument:e.document}catch(r){a("cannot get iframe.contentDocument: "+r),t=e.document}return t}function o(){var r=f.attr2("target"),i=f.attr2("action"),c=f.attr("enctype")||f.attr("encoding")||"multipart/form-data";w.setAttribute("target",p),(!u||/post/i.test(u))&&w.setAttribute("method","POST"),i!=m.url&&w.setAttribute("action",m.url),m.skipEncodingOverride||u&&!/post/i.test(u)||f.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),m.timeout&&(j=setTimeout((function(){T=!0,s(D)}),m.timeout));var l=[];try{if(m.extraData)for(var d in m.extraData)m.extraData.hasOwnProperty(d)&&l.push(e.isPlainObject(m.extraData[d])&&m.extraData[d].hasOwnProperty("name")&&m.extraData[d].hasOwnProperty("value")?e('<input type="hidden" name="'+m.extraData[d].name+'">').val(m.extraData[d].value).appendTo(w)[0]:e('<input type="hidden" name="'+d+'">').val(m.extraData[d]).appendTo(w)[0]);m.iframeTarget||v.appendTo("body"),g.attachEvent?g.attachEvent("onload",s):g.addEventListener("load",s,!1),setTimeout((function t(){try{var e=n(g).readyState;a("state = "+e),e&&"uninitialized"==e.toLowerCase()&&setTimeout(t,50)}catch(r){a("Server abort: ",r," (",r.name,")"),s(k),j&&clearTimeout(j),j=void 0}}),15);try{w.submit()}catch(h){document.createElement("form").submit.apply(w)}}finally{w.setAttribute("action",i),w.setAttribute("enctype",c),r?w.setAttribute("target",r):f.removeAttr("target"),e(l).remove()}}function s(t){if(!x.aborted&&!F){if((M=n(g))||(a("cannot access response document"),t=k),t===D&&x)return x.abort("timeout"),void S.reject(x,"timeout");if(t==k&&x)return x.abort("server abort"),void S.reject(x,"error","server abort");if(M&&M.location.href!=m.iframeSrc||T){g.detachEvent?g.detachEvent("onload",s):g.removeEventListener("load",s,!1);var r,i="success";try{if(T)throw"timeout";var o="xml"==m.dataType||M.XMLDocument||e.isXMLDoc(M);if(a("isXml="+o),!o&&window.opera&&(null===M.body||!M.body.innerHTML)&&--O)return a("requeing onLoad callback, DOM not available"),void setTimeout(s,250);var u=M.body?M.body:M.documentElement;x.responseText=u?u.innerHTML:null,x.responseXML=M.XMLDocument?M.XMLDocument:M,o&&(m.dataType="xml"),x.getResponseHeader=function(e){return{"content-type":m.dataType}[e.toLowerCase()]},u&&(x.status=Number(u.getAttribute("status"))||x.status,x.statusText=u.getAttribute("statusText")||x.statusText);var c=(m.dataType||"").toLowerCase(),l=/(json|script|text)/.test(c);if(l||m.textarea){var f=M.getElementsByTagName("textarea")[0];if(f)x.responseText=f.value,x.status=Number(f.getAttribute("status"))||x.status,x.statusText=f.getAttribute("statusText")||x.statusText;else if(l){var p=M.getElementsByTagName("pre")[0],h=M.getElementsByTagName("body")[0];p?x.responseText=p.textContent?p.textContent:p.innerText:h&&(x.responseText=h.textContent?h.textContent:h.innerText)}}else"xml"==c&&!x.responseXML&&x.responseText&&(x.responseXML=X(x.responseText));try{E=_(x,c,m)}catch(y){i="parsererror",x.error=r=y||i}}catch(y){a("error caught: ",y),i="error",x.error=r=y||i}x.aborted&&(a("upload aborted"),i=null),x.status&&(i=x.status>=200&&x.status<300||304===x.status?"success":"error"),"success"===i?(m.success&&m.success.call(m.context,E,"success",x),S.resolve(x.responseText,"success",x),d&&e.event.trigger("ajaxSuccess",[x,m])):i&&(void 0===r&&(r=x.statusText),m.error&&m.error.call(m.context,x,i,r),S.reject(x,"error",r),d&&e.event.trigger("ajaxError",[x,m,r])),d&&e.event.trigger("ajaxComplete",[x,m]),d&&!--e.active&&e.event.trigger("ajaxStop"),m.complete&&m.complete.call(m.context,x,i),F=!0,m.timeout&&clearTimeout(j),setTimeout((function(){m.iframeTarget?v.attr("src",m.iframeSrc):v.remove(),x.responseXML=null}),100)}}}var c,l,m,d,p,v,g,x,y,b,T,j,w=f[0],S=e.Deferred();if(S.abort=function(e){x.abort(e)},r)for(l=0;l<h.length;l++)c=e(h[l]),i?c.prop("disabled",!1):c.removeAttr("disabled");if((m=e.extend(!0,{},e.ajaxSettings,t)).context=m.context||m,p="jqFormIO"+(new Date).getTime(),m.iframeTarget?(b=(v=e(m.iframeTarget)).attr2("name"))?p=b:v.attr2("name",p):(v=e('<iframe name="'+p+'" src="'+m.iframeSrc+'" />')).css({position:"absolute",top:"-1000px",left:"-1000px"}),g=v[0],x={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(t){var r="timeout"===t?"timeout":"aborted";a("aborting upload... "+r),this.aborted=1;try{g.contentWindow.document.execCommand&&g.contentWindow.document.execCommand("Stop")}catch(n){}v.attr("src",m.iframeSrc),x.error=r,m.error&&m.error.call(m.context,x,r,t),d&&e.event.trigger("ajaxError",[x,m,r]),m.complete&&m.complete.call(m.context,x,r)}},(d=m.global)&&0==e.active++&&e.event.trigger("ajaxStart"),d&&e.event.trigger("ajaxSend",[x,m]),m.beforeSend&&!1===m.beforeSend.call(m.context,x,m))return m.global&&e.active--,S.reject(),S;if(x.aborted)return S.reject(),S;(y=w.clk)&&((b=y.name)&&!y.disabled&&(m.extraData=m.extraData||{},m.extraData[b]=y.value,"image"==y.type&&(m.extraData[b+".x"]=w.clk_x,m.extraData[b+".y"]=w.clk_y)));var D=1,k=2,A=e("meta[name=csrf-token]").attr("content"),L=e("meta[name=csrf-param]").attr("content");L&&A&&(m.extraData=m.extraData||{},m.extraData[L]=A),m.forceSync?o():setTimeout(o,10);var E,M,F,O=50,X=e.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!=t.documentElement.nodeName?t:null},C=e.parseJSON||function(e){return window.eval("("+e+")")},_=function(t,r,a){var n=t.getResponseHeader("content-type")||"",i="xml"===r||!r&&n.indexOf("xml")>=0,o=i?t.responseXML:t.responseText;return i&&"parsererror"===o.documentElement.nodeName&&e.error&&e.error("parsererror"),a&&a.dataFilter&&(o=a.dataFilter(o,r)),"string"==typeof o&&("json"===r||!r&&n.indexOf("json")>=0?o=C(o):("script"===r||!r&&n.indexOf("javascript")>=0)&&e.globalEval(o)),o};return S}if(!this.length)return a("ajaxSubmit: skipping submit process - no element selected"),this;var u,c,l,f=this;"function"==typeof t?t={success:t}:void 0===t&&(t={}),u=t.type||this.attr2("method"),(l=(l="string"==typeof(c=t.url||this.attr2("action"))?e.trim(c):"")||window.location.href||"")&&(l=(l.match(/^([^#]+)/)||[])[1]),t=e.extend(!0,{url:l,success:e.ajaxSettings.success,type:u||e.ajaxSettings.type,iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},t);var m={};if(this.trigger("form-pre-serialize",[this,t,m]),m.veto)return a("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(t.beforeSerialize&&!1===t.beforeSerialize(this,t))return a("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var d=t.traditional;void 0===d&&(d=e.ajaxSettings.traditional);var p,h=[],v=this.formToArray(t.semantic,h);if(t.data&&(t.extraData=t.data,p=e.param(t.data,d)),t.beforeSubmit&&!1===t.beforeSubmit(v,this,t))return a("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[v,this,t,m]),m.veto)return a("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var g=e.param(v,d);p&&(g=g?g+"&"+p:p),"GET"==t.type.toUpperCase()?(t.url+=(t.url.indexOf("?")>=0?"&":"?")+g,t.data=null):t.data=g;var x=[];if(t.resetForm&&x.push((function(){f.resetForm()})),t.clearForm&&x.push((function(){f.clearForm(t.includeHidden)})),!t.dataType&&t.target){var y=t.success||function(){};x.push((function(r){var a=t.replaceTarget?"replaceWith":"html";e(t.target)[a](r).each(y,arguments)}))}else t.success&&x.push(t.success);if(t.success=function(e,r,a){for(var n=t.context||this,i=0,o=x.length;o>i;i++)x[i].apply(n,[e,r,a||f,f])},t.error){var b=t.error;t.error=function(e,r,a){var n=t.context||this;b.apply(n,[e,r,a,f])}}if(t.complete){var T=t.complete;t.complete=function(e,r){var a=t.context||this;T.apply(a,[e,r,f])}}var w=e("input[type=file]:enabled",this).filter((function(){return""!==e(this).val()})).length>0,S="multipart/form-data",D=f.attr("enctype")==S||f.attr("encoding")==S,k=n.fileapi&&n.formdata;a("fileAPI :"+k);var A,L=(w||D)&&!k;!1!==t.iframe&&(t.iframe||L)?t.closeKeepAlive?e.get(t.closeKeepAlive,(function(){A=s(v)})):A=s(v):A=(w||D)&&k?function(a){for(var n=new FormData,i=0;i<a.length;i++)n.append(a[i].name,a[i].value);if(t.extraData){var o=function(r){var a,n,i=e.param(r,t.traditional).split("&"),o=i.length,s=[];for(a=0;o>a;a++)i[a]=i[a].replace(/\+/g," "),n=i[a].split("="),s.push([decodeURIComponent(n[0]),decodeURIComponent(n[1])]);return s}(t.extraData);for(i=0;i<o.length;i++)o[i]&&n.append(o[i][0],o[i][1])}t.data=null;var s=e.extend(!0,{},e.ajaxSettings,t,{contentType:!1,processData:!1,cache:!1,type:u||"POST"});t.uploadProgress&&(s.xhr=function(){var r=e.ajaxSettings.xhr();return r.upload&&r.upload.addEventListener("progress",(function(e){var r=0,a=e.loaded||e.position,n=e.total;e.lengthComputable&&(r=Math.ceil(a/n*100)),t.uploadProgress(e,a,n,r)}),!1),r}),s.data=null;var c=s.beforeSend;return s.beforeSend=function(e,r){r.data=t.formData?t.formData:n,c&&c.call(this,e,r)},e.ajax(s)}(v):e.ajax(t),f.removeData("jqxhr").data("jqxhr",A);for(var E=0;E<h.length;E++)h[E]=null;return this.trigger("form-submit-notify",[this,t]),this},e.fn.ajaxForm=function(n){if((n=n||{}).delegation=n.delegation&&e.isFunction(e.fn.on),!n.delegation&&0===this.length){var i={s:this.selector,c:this.context};return!e.isReady&&i.s?(a("DOM not ready, queuing ajaxForm"),e((function(){e(i.s,i.c).ajaxForm(n)})),this):(a("terminating; zero elements found by selector"+(e.isReady?"":" (DOM not ready)")),this)}return n.delegation?(e(document).off("submit.form-plugin",this.selector,t).off("click.form-plugin",this.selector,r).on("submit.form-plugin",this.selector,n,t).on("click.form-plugin",this.selector,n,r),this):this.ajaxFormUnbind().bind("submit.form-plugin",n,t).bind("click.form-plugin",n,r)},e.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")},e.fn.formToArray=function(t,r){var a=[];if(0===this.length)return a;var i,c,l,f,m,d,p,h,o=this[0],s=this.attr("id"),u=t?o.getElementsByTagName("*"):o.elements;if(u&&!/MSIE [678]/.test(navigator.userAgent)&&(u=e(u).get()),s&&((i=e(':input[form="'+s+'"]').get()).length&&(u=(u||[]).concat(i))),!u||!u.length)return a;for(c=0,p=u.length;p>c;c++)if((f=(d=u[c]).name)&&!d.disabled)if(t&&o.clk&&"image"==d.type)o.clk==d&&(a.push({name:f,value:e(d).val(),type:d.type}),a.push({name:f+".x",value:o.clk_x},{name:f+".y",value:o.clk_y}));else if((m=e.fieldValue(d,!0))&&m.constructor==Array)for(r&&r.push(d),l=0,h=m.length;h>l;l++)a.push({name:f,value:m[l]});else if(n.fileapi&&"file"==d.type){r&&r.push(d);var v=d.files;if(v.length)for(l=0;l<v.length;l++)a.push({name:f,value:v[l],type:d.type});else a.push({name:f,value:"",type:d.type})}else null!=m&&(r&&r.push(d),a.push({name:f,value:m,type:d.type,required:d.required}));if(!t&&o.clk){var g=e(o.clk),x=g[0];(f=x.name)&&!x.disabled&&"image"==x.type&&(a.push({name:f,value:g.val()}),a.push({name:f+".x",value:o.clk_x},{name:f+".y",value:o.clk_y}))}return a},e.fn.formSerialize=function(t){return e.param(this.formToArray(t))},e.fn.fieldSerialize=function(t){var r=[];return this.each((function(){var a=this.name;if(a){var n=e.fieldValue(this,t);if(n&&n.constructor==Array)for(var i=0,o=n.length;o>i;i++)r.push({name:a,value:n[i]});else null!=n&&r.push({name:this.name,value:n})}})),e.param(r)},e.fn.fieldValue=function(t){for(var r=[],a=0,n=this.length;n>a;a++){var i=this[a],o=e.fieldValue(i,t);null==o||o.constructor==Array&&!o.length||(o.constructor==Array?e.merge(r,o):r.push(o))}return r},e.fieldValue=function(t,r){var a=t.name,n=t.type,i=t.tagName.toLowerCase();if(void 0===r&&(r=!0),r&&(!a||t.disabled||"reset"==n||"button"==n||("checkbox"==n||"radio"==n)&&!t.checked||("submit"==n||"image"==n)&&t.form&&t.form.clk!=t||"select"==i&&-1==t.selectedIndex))return null;if("select"==i){var o=t.selectedIndex;if(0>o)return null;for(var s=[],u=t.options,c="select-one"==n,l=c?o+1:u.length,f=c?o:0;l>f;f++){var m=u[f];if(m.selected){var d=m.value;if(d||(d=m.attributes&&m.attributes.value&&!m.attributes.value.specified?m.text:m.value),c)return d;s.push(d)}}return s}return e(t).val()},e.fn.clearForm=function(t){return this.each((function(){e("input,select,textarea",this).clearFields(t)}))},e.fn.clearFields=e.fn.clearInputs=function(t){var r=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each((function(){var a=this.type,n=this.tagName.toLowerCase();r.test(a)||"textarea"==n?this.value="":"checkbox"==a||"radio"==a?this.checked=!1:"select"==n?this.selectedIndex=-1:"file"==a?/MSIE/.test(navigator.userAgent)?e(this).replaceWith(e(this).clone(!0)):e(this).val(""):t&&(!0===t&&/hidden/.test(a)||"string"==typeof t&&e(this).is(t))&&(this.value="")}))},e.fn.resetForm=function(){return this.each((function(){("function"==typeof this.reset||"object"==typeof this.reset&&!this.reset.nodeType)&&this.reset()}))},e.fn.enable=function(e){return void 0===e&&(e=!0),this.each((function(){this.disabled=!e}))},e.fn.selected=function(t){return void 0===t&&(t=!0),this.each((function(){var r=this.type;if("checkbox"==r||"radio"==r)this.checked=t;else if("option"==this.tagName.toLowerCase()){var a=e(this).parent("select");t&&a[0]&&"select-one"==a[0].type&&a.find("option").selected(!1),this.selected=t}}))},e.fn.ajaxSubmit.debug=!1}));function bg_color(){$("html, body").css({height:"auto"}),bh=$("body").height(),wh=$(window).height(),$(".newyork2-text").attr("height",bh),bh<=wh?$("html, body").css({height:"100%"}):$("html, body").css({height:"auto"})}function InitText(){bg_color(),scrollbar(),heightContent("#newyork2-menu",".newyork2-footer",".content-base",2)}function scrollbar(){isMobileResol()||(desc=$(".newyork2-text-description"),desc.niceScroll({cursorcolor:"#999",cursorborder:"#999",cursoropacitymin:.3,cursoropacitymax:1,horizrailenabled:!1}),desc.show())}$(window).load((function(){$(".newyork2-text img").each(imgProtect),$(".newyork2-text img").addClass("img-responsive"),InitText()})),$(document).ready((function(){InitText(),expandContentResizeLogo(".newyork2-text-description",".newyork2-text-content",".newyork2-text")})),$(window).resize((function(){InitText()}));function setMenuHeight(){mh=$(".content-menu").height(),$("body").attr("data-menu-height",mh)}$(document).ready((function(){menuFloating.init(),menuDD.init(),"tokyo2"==DINA_THEME_NAME&&"blog"!=DINA_TEMPLATE&&$(".tokyo2-navbar-desktop").addClass("menu-overflow"),$(".content-module-menu_desktop.menu-dropdownh").removeClass("menu-hidden").addClass("menu-visible"),setMenuHeight()})),$(window).resize((function(){menuDD.init()}));var menuDD=function(){var self={originalMenuFirst:!0,originalMenu:"",init:function(reducido){self.originalMenuFirst&&(self.originalMenu=$(".content-module-menu_desktop.menu-dropdownh .desktop-dropdownh-navbar").html(),self.originalMenuFirst=!1),self.getDimmensions(reducido),self.hoverMenu()},getDimmensions:function(reducido){switch(reducido=void 0!==reducido&&reducido,$(".desktop-dropdownh-menu-ul .extra-btns").hide(),$(".content-module-menu_desktop.menu-dropdownh .desktop-dropdownh-navbar").html(self.originalMenu),DINA_THEME_NAME){case"newyork2":el=".newyork2-navbar-block";break;case"tokyo2":el=".content-module-menu_desktop.menu-dropdownh:visible";break;default:el=".desktop-dropdownh-navbar"}extra=reducido&&"sydney2"==DINA_THEME_NAME?257:0,max=$(el).width()-50-extra,options=0,$(".desktop-dropdownh-menu-ul.normal-btns:visible .menu-lista > li").each((function(idx,v){options+=$(this).outerWidth(),options>max&&$(this).appendTo(".desktop-dropdownh-menu-ul.extra-btns .sub-opciones")})),options>max&&($(".desktop-dropdownh-menu-ul.extra-btns .sub-opciones .title-option").addClass("title-submenu"),$(".desktop-dropdownh-menu-ul.extra-btns .first-extra > li.level-0 ul li").each((function(idx,v){$(v).hasClass("level-0")&&$(this).remove()}))),options<=max&&$(".desktop-dropdownh-menu-ul.extra-btns").hide()},hoverMenu:function(){$(".dropdown.submenu, .dropdown").on("hover",(function(){if($subopciones=$(this).find("> .sub-opciones"),0==$subopciones.length)return!1;"tokyo2"==DINA_THEME_NAME&&"blog"!=DINA_TEMPLATE&&($subopciones.hasClass("top-fixed")||(h=$subopciones.height(),t=$(this).offset().top,h>t&&$subopciones.css({top:"-"+t+"px"}).addClass("top-fixed"))),$subopciones.hasClass("top-right")||(w_win=$(window).width(),w_sub=$subopciones.width(),l_sub=$subopciones.offset().left,w_opt=$(this).width(),force=$(this).parent().hasClass("top-right"),(w_sub+l_sub>w_win||force)&&(ldim=$(this).hasClass("submenu")?w_sub:w_sub-w_opt-10,$subopciones.css({left:"-"+ldim+"px"}).addClass("top-right")))}))}};return self}(),menuFloating=function(){var self={prevState:!1,changePrevState:!0,init:function(){self.getScroll(),self.getImgDimensions()},getScroll:function(){$(window).scroll((function(e){inViewerMode=$("body").hasClass("dinagalviewer-normal")||$("body").hasClass("dinagalviewer-fullscreen"),isMobileResol()||(winh=$(window).height(),doch=$(document).height(),menu=$(".sydney2-zone-logo").height(),st=$(this).scrollTop(),"sydney2"==DINA_THEME_NAME?doch>winh+2*menu&&$(".content-main").toggleClass("menu-web-fixed",st>menu&&!inViewerMode):$(".content-main").toggleClass("menu-web-fixed",st>menu&&!inViewerMode),"sydney2"==DINA_THEME_NAME&&(st>menu!=self.prevState?(menuDD.init(!0),self.prevState=st>menu,self.changePrevState=!0):st<menu&&self.changePrevState&&(menuDD.init(!1),self.changePrevState=!1)),"newyork2"!=DINA_THEME_NAME&&(hHeader=1,st>menu&&(hHeader=$(".desktop-dropdownh-navbar-block").height()),$(".content-base").css({"padding-top":hHeader+"px"})),"arizona"==DINA_THEME_NAME&&(sc=$(window).scrollTop(),max_sc=85,doch>winh+2*max_sc&&(t=0,initialPos=!1,0==sc||sc>0&&sc<max_sc?initialPos||(t=0,$(".desktop-dropdownh-navbar").removeClass("align-right"),menuDD.init(!1),initialPos=!0):(t=85,$(".content-main").removeClass("first-time-animation"),$(".desktop-dropdownh-navbar").addClass("align-right"),menuDD.init(!0),initialPos=!1),$(".content-main").removeClass((function(index,className){return(className.match(/(^|\s)top-\S+/g)||[]).join(" ")})).addClass("top-"+t))))}))},getImgDimensions:function(){if(src=$(".desktop-dropdownh-floating-logo img").attr("src"),!src)return!1;var img=new Image;img.onload=function(){x=90*this.width/this.height,self.setDivsDimensions(x)},img.src=src},setDivsDimensions:function(width){css="<style type='text/css'>.content-main.menu-web-fixed .base-module-menu_desktop-dropdownh.layout-sydney2 .desktop-dropdownh-menu-zonemenu, .content-main.menu-web-fixed .base-module-menu_desktop-dropdownh.layout-sydney2 .desktop-dropdownh-menu-zonesubmenu, .content-main.menu-web-fixed .base-module-menu_desktop-dropdownh.layout-sydney2 .desktop-dropdownh-menu-zonesubgal{   padding-left: "+width+"px} .content-main.menu-web-fixed .desktop-dropdownh-floating-logo{width: "+width+"px;}.content-main.menu-web-fixed .desktop-dropdownh-navbar-block{width: calc(100% - "+width+"px)}</style>",$(css).appendTo("head")}};return self}();var onTop=!0;$(window).load((function(){mobileMenuCool.Init()}));var mobileMenuCool=function(){var self={menu:"",clickMenu:"",wraptop:0,Init:function(){self.changeAngles(),self.menu=$(".content-menu .mobile-cool-navbar-collapse"),self.clickMenu=$(".mobile-cool-navbar-header-title"),self.toggleMenu(),self.toggleSubMenu(),$("body").hasClass("template-inicio")||self.setFixed()},toggleMenu:function(){self.clickMenu.click((function(e){$(".blog-search-input-mobile").hide(),self.scrollMenu(e)}))},toggleSubMenu:function(){$(".content-module-menu_mobile.menu-cool .click-option").on("touchend",(function(){$(this).parent().parent().toggleClass("opcion-activa"),$(this).toggleClass("opcion-activa"),$(this).parent().parent().find("> .sub-opciones > li").toggleClass("submenu-active")}))},changeAngles:function(){$(".content-module-menu_mobile.menu-cool.click-option i").removeClass(getIconName("angle-right","",!0)).addClass(getIconName("angle-down","",!0)),$(".content-module-menu_mobile.menu-cool.click-option i").attr("data-collapse",getIconName("angle-down","",!0)),$(".content-module-menu_mobile.menu-cool.click-option i").attr("data-success",getIconName("angle-down","",!0))},setFixed:function(){if($menuHeader=$(".content-module-menu_mobile.menu-cool.fixed-zone"),$menuHeaderM=$(".content-module-menu_mobile.menu-cool.space-zone"),!$menuHeader||!$menuHeaderM||0===$menuHeader.length||0===$menuHeaderM.length)return!1;self.wraptop=$menuHeader.offset().top,$(window).bind("scroll",(function(){$(window).scrollTop()>self.wraptop?$(".mobile-menu-content").hasClass("menu-mobile-hide")&&(onTop=!1,$menuHeader.addClass("no-transparency"),$menuHeaderM.show()):$(".mobile-menu-content").hasClass("menu-mobile-hide")&&(onTop=!0,$menuHeader.removeClass("no-transparency"),$menuHeaderM.hide())}))},scrollMenu:function(event){event.preventDefault(),$(window).scrollTop()<=self.wraptop?self.menu.toggleClass("hide-menu",600,(function(){$(".mobile-cool-navbar-block").toggleClass("menu-mobile-hide").toggleClass("menu-mobile-show"),$("body").toggleClass("menu-mobile-displayed")})):$(elScroll()).animate({scrollTop:self.wraptop},600,(function(){self.menu.toggleClass("hide-menu",600,(function(){$(".mobile-cool-navbar-block").toggleClass("menu-mobile-hide").toggleClass("menu-mobile-show"),$("body").toggleClass("menu-mobile-displayed")}))}))}};return self}()