if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(n){"use strict";var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher");}(jQuery);+function(n){"use strict";function t(){var i=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var t in n)if(void 0!==i.style[t])return{end:n[t]};return!1}n.fn.emulateTransitionEnd=function(t){var i=!1,u=this,r;n(this).one("bsTransitionEnd",function(){i=!0});return r=function(){i||n(u).trigger(n.support.transition.end)},setTimeout(r,t),this};n(function(){n.support.transition=t();n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery);+function(n){"use strict";function u(i){return this.each(function(){var r=n(this),u=r.data("bs.alert");u||r.data("bs.alert",u=new t(this));"string"==typeof i&&u[i].call(r)})}var i='[data-dismiss="alert"]',t=function(t){n(t).on("click",i,this.close)},r;t.VERSION="3.3.4";t.TRANSITION_DURATION=150;t.prototype.close=function(i){function e(){r.detach().trigger("closed.bs.alert").remove()}var f=n(this),u=f.attr("data-target"),r;u||(u=f.attr("href"),u=u&&u.replace(/.*(?=#[^\s]*$)/,""));r=n(u);i&&i.preventDefault();r.length||(r=f.closest(".alert"));r.trigger(i=n.Event("close.bs.alert"));i.isDefaultPrevented()||(r.removeClass("in"),n.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e())};r=n.fn.alert;n.fn.alert=u;n.fn.alert.Constructor=t;n.fn.alert.noConflict=function(){return n.fn.alert=r,this};n(document).on("click.bs.alert.data-api",i,t.prototype.close)}(jQuery);+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.button"),f="object"==typeof i&&i;r||u.data("bs.button",r=new t(this,f));"toggle"==i?r.toggle():i&&r.setState(i)})}var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.isLoading=!1},r;t.VERSION="3.3.4";t.DEFAULTS={loadingText:"loading..."};t.prototype.setState=function(t){var r="disabled",i=this.$element,f=i.is("input")?"val":"html",u=i.data();t+="Text";null==u.resetText&&i.data("resetText",i[f]());setTimeout(n.proxy(function(){i[f](null==u[t]?this.options[t]:u[t]);"loadingText"==t?(this.isLoading=!0,i.addClass(r).attr(r,r)):this.isLoading&&(this.isLoading=!1,i.removeClass(r).removeAttr(r))},this),0)};t.prototype.toggle=function(){var t=!0,i=this.$element.closest('[data-toggle="buttons"]'),n;i.length?(n=this.$element.find("input"),"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasClass("active")?t=!1:i.find(".active").removeClass("active")),t&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")):this.$element.attr("aria-pressed",!this.$element.hasClass("active"));t&&this.$element.toggleClass("active")};r=n.fn.button;n.fn.button=i;n.fn.button.Constructor=t;n.fn.button.noConflict=function(){return n.fn.button=r,this};n(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var r=n(t.target);r.hasClass("btn")||(r=r.closest(".btn"));i.call(r,"toggle");t.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){n(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery);+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.carousel"),f=n.extend({},t.DEFAULTS,u.data(),"object"==typeof i&&i),e="string"==typeof i?i:f.slide;r||u.data("bs.carousel",r=new t(this,f));"number"==typeof i?r.to(i):e?r[e]():f.interval&&r.pause().cycle()})}var t=function(t,i){this.$element=n(t);this.$indicators=this.$element.find(".carousel-indicators");this.options=i;this.paused=null;this.sliding=null;this.interval=null;this.$active=null;this.$items=null;this.options.keyboard&&this.$element.on("keydown.bs.carousel",n.proxy(this.keydown,this));"hover"!=this.options.pause||"ontouchstart"in document.documentElement||this.$element.on("mouseenter.bs.carousel",n.proxy(this.pause,this)).on("mouseleave.bs.carousel",n.proxy(this.cycle,this))},u,r;t.VERSION="3.3.4";t.TRANSITION_DURATION=600;t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0};t.prototype.keydown=function(n){if(!/input|textarea/i.test(n.target.tagName)){switch(n.which){case 37:this.prev();break;case 39:this.next();break;default:return}n.preventDefault()}};t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(n.proxy(this.next,this),this.options.interval)),this};t.prototype.getItemIndex=function(n){return this.$items=n.parent().children(".item"),this.$items.index(n||this.$active)};t.prototype.getItemForDirection=function(n,t){var i=this.getItemIndex(t),f="prev"==n&&0===i||"next"==n&&i==this.$items.length-1,r,u;return f&&!this.options.wrap?t:(r="prev"==n?-1:1,u=(i+r)%this.$items.length,this.$items.eq(u))};t.prototype.to=function(n){var i=this,t=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(n>this.$items.length-1)&&!(0>n))return this.sliding?this.$element.one("slid.bs.carousel",function(){i.to(n)}):t==n?this.pause().cycle():this.slide(n>t?"next":"prev",this.$items.eq(n))};t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&n.support.transition&&(this.$element.trigger(n.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this};t.prototype.next=function(){if(!this.sliding)return this.slide("next")};t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")};t.prototype.slide=function(i,r){var e=this.$element.find(".item.active"),u=r||this.getItemForDirection(i,e),l=this.interval,f="next"==i?"left":"right",a=this,o,s,h,c;return u.hasClass("active")?this.sliding=!1:(o=u[0],s=n.Event("slide.bs.carousel",{relatedTarget:o,direction:f}),(this.$element.trigger(s),!s.isDefaultPrevented())?((this.sliding=!0,l&&this.pause(),this.$indicators.length)&&(this.$indicators.find(".active").removeClass("active"),h=n(this.$indicators.children()[this.getItemIndex(u)]),h&&h.addClass("active")),c=n.Event("slid.bs.carousel",{relatedTarget:o,direction:f}),n.support.transition&&this.$element.hasClass("slide")?(u.addClass(i),u[0].offsetWidth,e.addClass(f),u.addClass(f),e.one("bsTransitionEnd",function(){u.removeClass([i,f].join(" ")).addClass("active");e.removeClass(["active",f].join(" "));a.sliding=!1;setTimeout(function(){a.$element.trigger(c)},0)}).emulateTransitionEnd(t.TRANSITION_DURATION)):(e.removeClass("active"),u.addClass("active"),this.sliding=!1,this.$element.trigger(c)),l&&this.cycle(),this):void 0)};u=n.fn.carousel;n.fn.carousel=i;n.fn.carousel.Constructor=t;n.fn.carousel.noConflict=function(){return n.fn.carousel=u,this};r=function(t){var o,r=n(this),u=n(r.attr("data-target")||(o=r.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,"")),e,f;u.hasClass("carousel")&&(e=n.extend({},u.data(),r.data()),f=r.attr("data-slide-to"),f&&(e.interval=!1),i.call(u,e),f&&u.data("bs.carousel").to(f),t.preventDefault())};n(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r);n(window).on("load",function(){n('[data-ride="carousel"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery);+function(n){"use strict";function r(t){var i,r=t.attr("data-target")||(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return n(r)}function i(i){return this.each(function(){var u=n(this),r=u.data("bs.collapse"),f=n.extend({},t.DEFAULTS,u.data(),"object"==typeof i&&i);!r&&f.toggle&&/show|hide/.test(i)&&(f.toggle=!1);r||u.data("bs.collapse",r=new t(this,f));"string"==typeof i&&r[i]()})}var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.$trigger=n('[data-toggle="collapse"][href="#'+i.id+'"],[data-toggle="collapse"][data-target="#'+i.id+'"]');this.transitioning=null;this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger);this.options.toggle&&this.toggle()},u;t.VERSION="3.3.4";t.TRANSITION_DURATION=350;t.DEFAULTS={toggle:!0};t.prototype.dimension=function(){var n=this.$element.hasClass("width");return n?"width":"height"};t.prototype.show=function(){var f,r,e,u,o,s;if(!this.transitioning&&!this.$element.hasClass("in")&&(r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing"),!(r&&r.length&&(f=r.data("bs.collapse"),f&&f.transitioning))&&(e=n.Event("show.bs.collapse"),this.$element.trigger(e),!e.isDefaultPrevented()))){if(r&&r.length&&(i.call(r,"hide"),f||r.data("bs.collapse",null)),u=this.dimension(),this.$element.removeClass("collapse").addClass("collapsing")[u](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[u]("");this.transitioning=0;this.$element.trigger("shown.bs.collapse")},!n.support.transition)return o.call(this);s=n.camelCase(["scroll",u].join("-"));this.$element.one("bsTransitionEnd",n.proxy(o,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[u](this.$element[0][s])}};t.prototype.hide=function(){var r,i,u;if(!this.transitioning&&this.$element.hasClass("in")&&(r=n.Event("hide.bs.collapse"),this.$element.trigger(r),!r.isDefaultPrevented()))return i=this.dimension(),this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,u=function(){this.transitioning=0;this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")},n.support.transition?void this.$element[i](0).one("bsTransitionEnd",n.proxy(u,this)).emulateTransitionEnd(t.TRANSITION_DURATION):u.call(this)};t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};t.prototype.getParent=function(){return n(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(n.proxy(function(t,i){var u=n(i);this.addAriaAndCollapsedClass(r(u),u)},this)).end()};t.prototype.addAriaAndCollapsedClass=function(n,t){var i=n.hasClass("in");n.attr("aria-expanded",i);t.toggleClass("collapsed",!i).attr("aria-expanded",i)};u=n.fn.collapse;n.fn.collapse=i;n.fn.collapse.Constructor=t;n.fn.collapse.noConflict=function(){return n.fn.collapse=u,this};n(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var u=n(this);u.attr("data-target")||t.preventDefault();var f=r(u),e=f.data("bs.collapse"),o=e?"toggle":u.data();i.call(f,o)})}(jQuery);+function(n){"use strict";function r(t){t&&3===t.which||(n(o).remove(),n(i).each(function(){var r=n(this),i=u(r),f={relatedTarget:this};i.hasClass("open")&&(i.trigger(t=n.Event("hide.bs.dropdown",f)),t.isDefaultPrevented()||(r.attr("aria-expanded","false"),i.removeClass("open").trigger("hidden.bs.dropdown",f)))}))}function u(t){var i=t.attr("data-target"),r;return i||(i=t.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")),r=i&&n(i),r&&r.length?r:t.parent()}function e(i){return this.each(function(){var r=n(this),u=r.data("bs.dropdown");u||r.data("bs.dropdown",u=new t(this));"string"==typeof i&&u[i].call(r)})}var o=".dropdown-backdrop",i='[data-toggle="dropdown"]',t=function(t){n(t).on("click.bs.dropdown",this.toggle)},f;t.VERSION="3.3.4";t.prototype.toggle=function(t){var f=n(this),i,o,e;if(!f.is(".disabled, :disabled")){if(i=u(f),o=i.hasClass("open"),r(),!o){if("ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&n('<div class="dropdown-backdrop"/>').insertAfter(n(this)).on("click",r),e={relatedTarget:this},i.trigger(t=n.Event("show.bs.dropdown",e)),t.isDefaultPrevented())return;f.trigger("focus").attr("aria-expanded","true");i.toggleClass("open").trigger("shown.bs.dropdown",e)}return!1}};t.prototype.keydown=function(t){var e,o,s,h,f,r;if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)&&(e=n(this),t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled"))){if(o=u(e),s=o.hasClass("open"),!s&&27!=t.which||s&&27==t.which)return 27==t.which&&o.find(i).trigger("focus"),e.trigger("click");h=" li:not(.disabled):visible a";f=o.find('[role="menu"]'+h+', [role="listbox"]'+h);f.length&&(r=f.index(t.target),38==t.which&&r>0&&r--,40==t.which&&r<f.length-1&&r++,~r||(r=0),f.eq(r).trigger("focus"))}};f=n.fn.dropdown;n.fn.dropdown=e;n.fn.dropdown.Constructor=t;n.fn.dropdown.noConflict=function(){return n.fn.dropdown=f,this};n(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",function(n){n.stopPropagation()}).on("click.bs.dropdown.data-api",i,t.prototype.toggle).on("keydown.bs.dropdown.data-api",i,t.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',t.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',t.prototype.keydown)}(jQuery);+function(n){"use strict";function i(i,r){return this.each(function(){var f=n(this),u=f.data("bs.modal"),e=n.extend({},t.DEFAULTS,f.data(),"object"==typeof i&&i);u||f.data("bs.modal",u=new t(this,e));"string"==typeof i?u[i](r):e.show&&u.show(r)})}var t=function(t,i){this.options=i;this.$body=n(document.body);this.$element=n(t);this.$dialog=this.$element.find(".modal-dialog");this.$backdrop=null;this.isShown=null;this.originalBodyPad=null;this.scrollbarWidth=0;this.ignoreBackdropClick=!1;this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,n.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))},r;t.VERSION="3.3.4";t.TRANSITION_DURATION=300;t.BACKDROP_TRANSITION_DURATION=150;t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0};t.prototype.toggle=function(n){return this.isShown?this.hide():this.show(n)};t.prototype.show=function(i){var r=this,u=n.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(u);this.isShown||u.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',n.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(t){n(t.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var f=n.support.transition&&r.$element.hasClass("fade"),u;r.$element.parent().length||r.$element.appendTo(r.$body);r.$element.show().scrollTop(0);r.adjustDialog();f&&r.$element[0].offsetWidth;r.$element.addClass("in").attr("aria-hidden",!1);r.enforceFocus();u=n.Event("shown.bs.modal",{relatedTarget:i});f?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(u)}).emulateTransitionEnd(t.TRANSITION_DURATION):r.$element.trigger("focus").trigger(u)}))};t.prototype.hide=function(i){i&&i.preventDefault();i=n.Event("hide.bs.modal");this.$element.trigger(i);this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),n(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),n.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",n.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())};t.prototype.enforceFocus=function(){n(document).off("focusin.bs.modal").on("focusin.bs.modal",n.proxy(function(n){this.$element[0]===n.target||this.$element.has(n.target).length||this.$element.trigger("focus")},this))};t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",n.proxy(function(n){27==n.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")};t.prototype.resize=function(){this.isShown?n(window).on("resize.bs.modal",n.proxy(this.handleUpdate,this)):n(window).off("resize.bs.modal")};t.prototype.hideModal=function(){var n=this;this.$element.hide();this.backdrop(function(){n.$body.removeClass("modal-open");n.resetAdjustments();n.resetScrollbar();n.$element.trigger("hidden.bs.modal")})};t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove();this.$backdrop=null};t.prototype.backdrop=function(i){var e=this,f=this.$element.hasClass("fade")?"fade":"",r,u;if(this.isShown&&this.options.backdrop){if(r=n.support.transition&&f,this.$backdrop=n('<div class="modal-backdrop '+f+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",n.proxy(function(n){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(n.target===n.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;r?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):i()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),u=function(){e.removeBackdrop();i&&i()},n.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",u).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):u()):i&&i()};t.prototype.handleUpdate=function(){this.adjustDialog()};t.prototype.adjustDialog=function(){var n=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&n?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!n?this.scrollbarWidth:""})};t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})};t.prototype.checkScrollbar=function(){var n=window.innerWidth,t;n||(t=document.documentElement.getBoundingClientRect(),n=t.right-Math.abs(t.left));this.bodyIsOverflowing=document.body.clientWidth<n;this.scrollbarWidth=this.measureScrollbar()};t.prototype.setScrollbar=function(){var n=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";this.bodyIsOverflowing&&this.$body.css("padding-right",n+this.scrollbarWidth)};t.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)};t.prototype.measureScrollbar=function(){var n=document.createElement("div"),t;return n.className="modal-scrollbar-measure",this.$body.append(n),t=n.offsetWidth-n.clientWidth,this.$body[0].removeChild(n),t};r=n.fn.modal;n.fn.modal=i;n.fn.modal.Constructor=t;n.fn.modal.noConflict=function(){return n.fn.modal=r,this};n(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var r=n(this),f=r.attr("href"),u=n(r.attr("data-target")||f&&f.replace(/.*(?=#[^\s]+$)/,"")),e=u.data("bs.modal")?"toggle":n.extend({remote:!/#/.test(f)&&f},u.data(),r.data());r.is("a")&&t.preventDefault();u.one("show.bs.modal",function(n){n.isDefaultPrevented()||u.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})});i.call(u,e,this)})}(jQuery);+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.tooltip"),f="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||u.data("bs.tooltip",r=new t(this,f)),"string"==typeof i&&r[i]())})}var t=function(n,t){this.type=null;this.options=null;this.enabled=null;this.timeout=null;this.hoverState=null;this.$element=null;this.init("tooltip",n,t)},i;t.VERSION="3.3.4";t.TRANSITION_DURATION=150;t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}};t.prototype.init=function(t,i,r){var f,e,u,o,s;if(this.enabled=!0,this.type=t,this.$element=n(i),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&n(this.options.viewport.selector||this.options.viewport),this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(f=this.options.trigger.split(" "),e=f.length;e--;)if(u=f[e],"click"==u)this.$element.on("click."+this.type,this.options.selector,n.proxy(this.toggle,this));else"manual"!=u&&(o="hover"==u?"mouseenter":"focusin",s="hover"==u?"mouseleave":"focusout",this.$element.on(o+"."+this.type,this.options.selector,n.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,n.proxy(this.leave,this)));this.options.selector?this._options=n.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()};t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.getOptions=function(t){return t=n.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t};t.prototype.getDelegateOptions=function(){var t={},i=this.getDefaults();return this._options&&n.each(this._options,function(n,r){i[n]!=r&&(t[n]=r)}),t};t.prototype.enter=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);return i&&i.$tip&&i.$tip.is(":visible")?void(i.hoverState="in"):(i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())};t.prototype.leave=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide()};t.prototype.show=function(){var c=n.Event("show.bs."+this.type),l,a,o;if(this.hasContent()&&this.enabled){if(this.$element.trigger(c),l=n.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),c.isDefaultPrevented()||!l)return;var u=this,r=this.tip(),v=this.getUID(this.type);this.setContent();r.attr("id",v);this.$element.attr("aria-describedby",v);this.options.animation&&r.addClass("fade");var i="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,y=/\s?auto?\s?/i,p=y.test(i);p&&(i=i.replace(y,"")||"top");r.detach().css({top:0,left:0,display:"block"}).addClass(i).data("bs."+this.type,this);this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element);var f=this.getPosition(),s=r[0].offsetWidth,h=r[0].offsetHeight;if(p){var w=i,b=this.options.container?n(this.options.container):this.$element.parent(),e=this.getPosition(b);i="bottom"==i&&f.bottom+h>e.bottom?"top":"top"==i&&f.top-h<e.top?"bottom":"right"==i&&f.right+s>e.width?"left":"left"==i&&f.left-s<e.left?"right":i;r.removeClass(w).addClass(i)}a=this.getCalculatedOffset(i,f,s,h);this.applyPlacement(a,i);o=function(){var n=u.hoverState;u.$element.trigger("shown.bs."+u.type);u.hoverState=null;"out"==n&&u.leave(u)};n.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",o).emulateTransitionEnd(t.TRANSITION_DURATION):o()}};t.prototype.applyPlacement=function(t,i){var r=this.tip(),l=r[0].offsetWidth,e=r[0].offsetHeight,o=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10),h,f,u;isNaN(o)&&(o=0);isNaN(s)&&(s=0);t.top=t.top+o;t.left=t.left+s;n.offset.setOffset(r[0],n.extend({using:function(n){r.css({top:Math.round(n.top),left:Math.round(n.left)})}},t),0);r.addClass("in");h=r[0].offsetWidth;f=r[0].offsetHeight;"top"==i&&f!=e&&(t.top=t.top+e-f);u=this.getViewportAdjustedDelta(i,t,h,f);u.left?t.left+=u.left:t.top+=u.top;var c=/top|bottom/.test(i),a=c?2*u.left-l+h:2*u.top-e+f,v=c?"offsetWidth":"offsetHeight";r.offset(t);this.replaceArrow(a,r[0][v],c)};t.prototype.replaceArrow=function(n,t,i){this.arrow().css(i?"left":"top",50*(1-n/t)+"%").css(i?"top":"left","")};t.prototype.setContent=function(){var n=this.tip(),t=this.getTitle();n.find(".tooltip-inner")[this.options.html?"html":"text"](t);n.removeClass("fade in top bottom left right")};t.prototype.hide=function(i){function f(){"in"!=u.hoverState&&r.detach();u.$element.removeAttr("aria-describedby").trigger("hidden.bs."+u.type);i&&i()}var u=this,r=n(this.$tip),e=n.Event("hide.bs."+this.type);return this.$element.trigger(e),e.isDefaultPrevented()?void 0:(r.removeClass("in"),n.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",f).emulateTransitionEnd(t.TRANSITION_DURATION):f(),this.hoverState=null,this)};t.prototype.fixTitle=function(){var n=this.$element;(n.attr("title")||"string"!=typeof n.attr("data-original-title"))&&n.attr("data-original-title",n.attr("title")||"").attr("title","")};t.prototype.hasContent=function(){return this.getTitle()};t.prototype.getPosition=function(t){t=t||this.$element;var u=t[0],r="BODY"==u.tagName,i=u.getBoundingClientRect();null==i.width&&(i=n.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var f=r?{top:0,left:0}:t.offset(),e={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},o=r?{width:n(window).width(),height:n(window).height()}:null;return n.extend({},i,e,o,f)};t.prototype.getCalculatedOffset=function(n,t,i,r){return"bottom"==n?{top:t.top+t.height,left:t.left+t.width/2-i/2}:"top"==n?{top:t.top-r,left:t.left+t.width/2-i/2}:"left"==n?{top:t.top+t.height/2-r/2,left:t.left-i}:{top:t.top+t.height/2-r/2,left:t.left+t.width}};t.prototype.getViewportAdjustedDelta=function(n,t,i,r){var f={top:0,left:0},e,u,o,s,h,c;return this.$viewport?(e=this.options.viewport&&this.options.viewport.padding||0,u=this.getPosition(this.$viewport),/right|left/.test(n)?(o=t.top-e-u.scroll,s=t.top+e-u.scroll+r,o<u.top?f.top=u.top-o:s>u.top+u.height&&(f.top=u.top+u.height-s)):(h=t.left-e,c=t.left+e+i,h<u.left?f.left=u.left-h:c>u.width&&(f.left=u.left+u.width-c)),f):f};t.prototype.getTitle=function(){var t=this.$element,n=this.options;return t.attr("data-original-title")||("function"==typeof n.title?n.title.call(t[0]):n.title)};t.prototype.getUID=function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n};t.prototype.tip=function(){return this.$tip=this.$tip||n(this.options.template)};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")};t.prototype.enable=function(){this.enabled=!0};t.prototype.disable=function(){this.enabled=!1};t.prototype.toggleEnabled=function(){this.enabled=!this.enabled};t.prototype.toggle=function(t){var i=this;t&&(i=n(t.currentTarget).data("bs."+this.type),i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)));i.tip().hasClass("in")?i.leave(i):i.enter(i)};t.prototype.destroy=function(){var n=this;clearTimeout(this.timeout);this.hide(function(){n.$element.off("."+n.type).removeData("bs."+n.type)})};i=n.fn.tooltip;n.fn.tooltip=r;n.fn.tooltip.Constructor=t;n.fn.tooltip.noConflict=function(){return n.fn.tooltip=i,this}}(jQuery);+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.popover"),f="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||u.data("bs.popover",r=new t(this,f)),"string"==typeof i&&r[i]())})}var t=function(n,t){this.init("popover",n,t)},i;if(!n.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.4";t.DEFAULTS=n.extend({},n.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-title"><\/h3><div class="popover-content"><\/div><\/div>'});t.prototype=n.extend({},n.fn.tooltip.Constructor.prototype);t.prototype.constructor=t;t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.setContent=function(){var n=this.tip(),i=this.getTitle(),t=this.getContent();n.find(".popover-title")[this.options.html?"html":"text"](i);n.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof t?"html":"append":"text"](t);n.removeClass("fade top bottom left right in");n.find(".popover-title").html()||n.find(".popover-title").hide()};t.prototype.hasContent=function(){return this.getTitle()||this.getContent()};t.prototype.getContent=function(){var t=this.$element,n=this.options;return t.attr("data-content")||("function"==typeof n.content?n.content.call(t[0]):n.content)};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};i=n.fn.popover;n.fn.popover=r;n.fn.popover.Constructor=t;n.fn.popover.noConflict=function(){return n.fn.popover=i,this}}(jQuery);+function(n){"use strict";function t(i,r){this.$body=n(document.body);this.$scrollElement=n(n(i).is(document.body)?window:i);this.options=n.extend({},t.DEFAULTS,r);this.selector=(this.options.target||"")+" .nav li > a";this.offsets=[];this.targets=[];this.activeTarget=null;this.scrollHeight=0;this.$scrollElement.on("scroll.bs.scrollspy",n.proxy(this.process,this));this.refresh();this.process()}function i(i){return this.each(function(){var u=n(this),r=u.data("bs.scrollspy"),f="object"==typeof i&&i;r||u.data("bs.scrollspy",r=new t(this,f));"string"==typeof i&&r[i]()})}t.VERSION="3.3.4";t.DEFAULTS={offset:10};t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)};t.prototype.refresh=function(){var t=this,i="offset",r=0;this.offsets=[];this.targets=[];this.scrollHeight=this.getScrollHeight();n.isWindow(this.$scrollElement[0])||(i="position",r=this.$scrollElement.scrollTop());this.$body.find(this.selector).map(function(){var f=n(this),u=f.data("target")||f.attr("href"),t=/^#./.test(u)&&n(u);return t&&t.length&&t.is(":visible")&&[[t[i]().top+r,u]]||null}).sort(function(n,t){return n[0]-t[0]}).each(function(){t.offsets.push(this[0]);t.targets.push(this[1])})};t.prototype.process=function(){var n,i=this.$scrollElement.scrollTop()+this.options.offset,f=this.getScrollHeight(),e=this.options.offset+f-this.$scrollElement.height(),t=this.offsets,r=this.targets,u=this.activeTarget;if(this.scrollHeight!=f&&this.refresh(),i>=e)return u!=(n=r[r.length-1])&&this.activate(n);if(u&&i<t[0])return this.activeTarget=null,this.clear();for(n=t.length;n--;)u!=r[n]&&i>=t[n]&&(void 0===t[n+1]||i<t[n+1])&&this.activate(r[n])};t.prototype.activate=function(t){this.activeTarget=t;this.clear();var r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=n(r).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active"));i.trigger("activate.bs.scrollspy")};t.prototype.clear=function(){n(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=n.fn.scrollspy;n.fn.scrollspy=i;n.fn.scrollspy.Constructor=t;n.fn.scrollspy.noConflict=function(){return n.fn.scrollspy=r,this};n(window).on("load.bs.scrollspy.data-api",function(){n('[data-spy="scroll"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery);+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.tab");r||u.data("bs.tab",r=new t(this));"string"==typeof i&&r[i]()})}var t=function(t){this.element=n(t)},u,i;t.VERSION="3.3.4";t.TRANSITION_DURATION=150;t.prototype.show=function(){var t=this.element,f=t.closest("ul:not(.dropdown-menu)"),i=t.data("target"),u;if(i||(i=t.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var r=f.find(".active:last a"),e=n.Event("hide.bs.tab",{relatedTarget:t[0]}),o=n.Event("show.bs.tab",{relatedTarget:r[0]});(r.trigger(e),t.trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(u=n(i),this.activate(t.closest("li"),f),this.activate(u,u.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:t[0]});t.trigger({type:"shown.bs.tab",relatedTarget:r[0]})}))}};t.prototype.activate=function(i,r,u){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1);i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0);o?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade");i.parent(".dropdown-menu").length&&i.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0);u&&u()}var f=r.find("> .active"),o=u&&n.support.transition&&(f.length&&f.hasClass("fade")||!!r.find("> .fade").length);f.length&&o?f.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e();f.removeClass("in")};u=n.fn.tab;n.fn.tab=r;n.fn.tab.Constructor=t;n.fn.tab.noConflict=function(){return n.fn.tab=u,this};i=function(t){t.preventDefault();r.call(n(this),"show")};n(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery);+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.affix"),f="object"==typeof i&&i;r||u.data("bs.affix",r=new t(this,f));"string"==typeof i&&r[i]()})}var t=function(i,r){this.options=n.extend({},t.DEFAULTS,r);this.$target=n(this.options.target).on("scroll.bs.affix.data-api",n.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",n.proxy(this.checkPositionWithEventLoop,this));this.$element=n(i);this.affixed=null;this.unpin=null;this.pinnedOffset=null;this.checkPosition()},r;t.VERSION="3.3.4";t.RESET="affix affix-top affix-bottom";t.DEFAULTS={offset:0,target:window};t.prototype.getState=function(n,t,i,r){var u=this.$target.scrollTop(),f=this.$element.offset(),e=this.$target.height();if(null!=i&&"top"==this.affixed)return i>u?"top":!1;if("bottom"==this.affixed)return null!=i?u+this.unpin<=f.top?!1:"bottom":n-r>=u+e?!1:"bottom";var o=null==this.affixed,s=o?u:f.top,h=o?e:t;return null!=i&&i>=u?"top":null!=r&&s+h>=n-r?"bottom":!1};t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var n=this.$target.scrollTop(),i=this.$element.offset();return this.pinnedOffset=i.top-n};t.prototype.checkPositionWithEventLoop=function(){setTimeout(n.proxy(this.checkPosition,this),1)};t.prototype.checkPosition=function(){var i,f,o;if(this.$element.is(":visible")){var s=this.$element.height(),r=this.options.offset,e=r.top,u=r.bottom,h=n(document.body).height();if("object"!=typeof r&&(u=e=r),"function"==typeof e&&(e=r.top(this.$element)),"function"==typeof u&&(u=r.bottom(this.$element)),i=this.getState(h,s,e,u),this.affixed!=i){if(null!=this.unpin&&this.$element.css("top",""),f="affix"+(i?"-"+i:""),o=n.Event(f+".bs.affix"),this.$element.trigger(o),o.isDefaultPrevented())return;this.affixed=i;this.unpin="bottom"==i?this.getPinnedOffset():null;this.$element.removeClass(t.RESET).addClass(f).trigger(f.replace("affix","affixed")+".bs.affix")}"bottom"==i&&this.$element.offset({top:h-s-u})}};r=n.fn.affix;n.fn.affix=i;n.fn.affix.Constructor=t;n.fn.affix.noConflict=function(){return n.fn.affix=r,this};n(window).on("load",function(){n('[data-spy="affix"]').each(function(){var r=n(this),t=r.data();t.offset=t.offset||{};null!=t.offsetBottom&&(t.offset.bottom=t.offsetBottom);null!=t.offsetTop&&(t.offset.top=t.offsetTop);i.call(r,t)})})}(jQuery),function(n){var t=function(t,i){this.options=i;this.$elementFilestyle=[];this.$element=n(t)},i;t.prototype={clear:function(){this.$element.val("");this.$elementFilestyle.find(":text").val("");this.$elementFilestyle.find(".badge").remove()},destroy:function(){this.$element.removeAttr("style").removeData("filestyle").val("");this.$elementFilestyle.remove()},disabled:function(n){if(n===!0)this.options.disabled||(this.$element.attr("disabled","true"),this.$elementFilestyle.find("label").attr("disabled","true"),this.options.disabled=!0);else if(n===!1)this.options.disabled&&(this.$element.removeAttr("disabled"),this.$elementFilestyle.find("label").removeAttr("disabled"),this.options.disabled=!1);else return this.options.disabled},buttonBefore:function(n){if(n===!0)this.options.buttonBefore||(this.options.buttonBefore=!0,this.options.input&&(this.$elementFilestyle.remove(),this.constructor(),this.pushNameFiles()));else if(n===!1)this.options.buttonBefore&&(this.options.buttonBefore=!1,this.options.input&&(this.$elementFilestyle.remove(),this.constructor(),this.pushNameFiles()));else return this.options.buttonBefore},icon:function(n){if(n===!0)this.options.icon||(this.options.icon=!0,this.$elementFilestyle.find("label").prepend(this.htmlIcon()));else if(n===!1)this.options.icon&&(this.options.icon=!1,this.$elementFilestyle.find(".glyphicon").remove());else return this.options.icon},input:function(n){if(n===!0)this.options.input||(this.options.input=!0,this.options.buttonBefore?this.$elementFilestyle.append(this.htmlInput()):this.$elementFilestyle.prepend(this.htmlInput()),this.$elementFilestyle.find(".badge").remove(),this.pushNameFiles(),this.$elementFilestyle.find(".group-span-filestyle").addClass("input-group-btn"));else if(n===!1){if(this.options.input){this.options.input=!1;this.$elementFilestyle.find(":text").remove();var t=this.pushNameFiles();t.length>0&&this.options.badge&&this.$elementFilestyle.find("label").append(' <span class="badge">'+t.length+"<\/span>");this.$elementFilestyle.find(".group-span-filestyle").removeClass("input-group-btn")}}else return this.options.input},size:function(n){if(n!==undefined){var t=this.$elementFilestyle.find("label"),i=this.$elementFilestyle.find("input");t.removeClass("btn-lg btn-sm");i.removeClass("input-lg input-sm");n!="nr"&&(t.addClass("btn-"+n),i.addClass("input-"+n))}else return this.options.size},buttonText:function(n){if(n!==undefined)this.options.buttonText=n,this.$elementFilestyle.find("label span").html(this.options.buttonText);else return this.options.buttonText},buttonName:function(n){if(n!==undefined)this.options.buttonName=n,this.$elementFilestyle.find("label").attr({"class":"btn "+this.options.buttonName});else return this.options.buttonName},iconName:function(n){if(n!==undefined)this.$elementFilestyle.find(".glyphicon").attr({"class":".glyphicon "+this.options.iconName});else return this.options.iconName},htmlIcon:function(){return this.options.icon?'<span class="glyphicon '+this.options.iconName+'"><\/span> ':""},htmlInput:function(){return this.options.input?'<input type="text" class="form-control '+(this.options.size=="nr"?"":"input-"+this.options.size)+'" disabled> ':""},pushNameFiles:function(){var i="",n=[],t;for(this.$element[0].files===undefined?n[0]={name:this.$element[0]&&this.$element[0].value}:n=this.$element[0].files,t=0;t<n.length;t++)i+=n[t].name.split("\\").pop()+", ";return i!==""?this.$elementFilestyle.find(":text").val(i.replace(/\, $/g,"")):this.$elementFilestyle.find(":text").val(""),n},constructor:function(){var t=this,u="",i=t.$element.attr("id"),r="";i!==""&&i||(i="filestyle-"+n(".bootstrap-filestyle").length,t.$element.attr({id:i}));r='<span class="group-span-filestyle '+(t.options.input?"input-group-btn":"")+'"><label for="'+i+'" class="btn '+t.options.buttonName+" "+(t.options.size=="nr"?"":"btn-"+t.options.size)+'" '+(t.options.disabled?'disabled="true"':"")+">"+t.htmlIcon()+t.options.buttonText+"<\/label><\/span>";u=t.options.buttonBefore?r+t.htmlInput():t.htmlInput()+r;t.$elementFilestyle=n('<div class="bootstrap-filestyle input-group">'+u+"<\/div>");t.$elementFilestyle.find(".group-span-filestyle").attr("tabindex","0").keypress(function(n){if(n.keyCode===13||n.charCode===32)return t.$elementFilestyle.find("label").click(),!1});t.$element.css({position:"absolute",clip:"rect(0px 0px 0px 0px)"}).attr("tabindex","-1").after(t.$elementFilestyle);t.options.disabled&&t.$element.attr("disabled","true");t.$element.change(function(){var n=t.pushNameFiles();t.options.input==!1&&t.options.badge?t.$elementFilestyle.find(".badge").length==0?t.$elementFilestyle.find("label").append(' <span class="badge">'+n.length+"<\/span>"):n.length==0?t.$elementFilestyle.find(".badge").remove():t.$elementFilestyle.find(".badge").html(n.length):t.$elementFilestyle.find(".badge").remove()});window.navigator.userAgent.search(/firefox/i)>-1&&t.$elementFilestyle.find("label").click(function(){return t.$element.click(),!1})}};i=n.fn.filestyle;n.fn.filestyle=function(i,r){var u="",f=this.each(function(){if(n(this).attr("type")==="file"){var e=n(this),f=e.data("filestyle"),o=n.extend({},n.fn.filestyle.defaults,i,typeof i=="object"&&i);f||(e.data("filestyle",f=new t(this,o)),f.constructor());typeof i=="string"&&(u=f[i](r))}});return typeof u!==undefined?u:f};n.fn.filestyle.defaults={buttonText:"Choose file",iconName:"glyphicon-folder-open",buttonName:"btn-default",size:"nr",input:!0,badge:!0,icon:!0,buttonBefore:!1,disabled:!1};n.fn.filestyle.noConflict=function(){return n.fn.filestyle=i,this};n(function(){n(".filestyle").each(function(){var t=n(this),i={input:t.attr("data-input")==="false"?!1:!0,icon:t.attr("data-icon")==="false"?!1:!0,buttonBefore:t.attr("data-buttonBefore")==="true"?!0:!1,disabled:t.attr("data-disabled")==="true"?!0:!1,size:t.attr("data-size"),buttonText:t.attr("data-buttonText"),buttonName:t.attr("data-buttonName"),iconName:t.attr("data-iconName"),badge:t.attr("data-badge")==="false"?!1:!0};t.filestyle(i)})})}(window.jQuery),function(n,t){function u(){return new Date(Date.UTC.apply(Date,arguments))}function e(){var n=new Date;return u(n.getFullYear(),n.getMonth(),n.getDate())}function y(n,t){return n.getUTCFullYear()===t.getUTCFullYear()&&n.getUTCMonth()===t.getUTCMonth()&&n.getUTCDate()===t.getUTCDate()}function c(n){return function(){return this[n].apply(this,arguments)}}function p(t,i){function o(n,t){return t.toLowerCase()}var u=n(t).data(),f={},e,s=new RegExp("^"+i.toLowerCase()+"([A-Z])"),r;i=new RegExp("^"+i.toLowerCase());for(r in u)i.test(r)&&(e=r.replace(s,o),f[e]=u[r]);return f}function w(t){var u={},i;if(r[t]||(t=t.split("-")[0],r[t]))return i=r[t],n.each(v,function(n,t){t in i&&(u[t]=i[t])}),u}var l=function(){var t={get:function(n){return this.slice(n)[0]},contains:function(n){for(var i=n&&n.valueOf(),t=0,r=this.length;t<r;t++)if(this[t].valueOf()===i)return t;return-1},remove:function(n){this.splice(n,1)},replace:function(t){t&&(n.isArray(t)||(t=[t]),this.clear(),this.push.apply(this,t))},clear:function(){this.length=0},copy:function(){var n=new l;return n.replace(this),n}};return function(){var i=[];return i.push.apply(i,arguments),n.extend(i,t),i}}(),f=function(t,r){this._process_options(r);this.dates=new l;this.viewDate=this.o.defaultViewDate;this.focusDate=null;this.element=n(t);this.isInline=!1;this.isInput=this.element.is("input");this.component=this.element.hasClass("date")?this.element.find(".add-on, .input-group-addon, .btn"):!1;this.hasInput=this.component&&this.element.find("input").length;this.component&&this.component.length===0&&(this.component=!1);this.picker=n(i.template);this._buildEvents();this._attachEvents();this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu");this.o.rtl&&this.picker.addClass("datepicker-rtl");this.viewMode=this.o.startView;this.o.calendarWeeks&&this.picker.find("tfoot .today, tfoot .clear").attr("colspan",function(n,t){return parseInt(t)+1});this._allow_update=!1;this.setStartDate(this._o.startDate);this.setEndDate(this._o.endDate);this.setDaysOfWeekDisabled(this.o.daysOfWeekDisabled);this.setDatesDisabled(this.o.datesDisabled);this.fillDow();this.fillMonths();this._allow_update=!0;this.update();this.showMode();this.isInline&&this.show()},h,a,o,s,v,r,i;f.prototype={constructor:f,_process_options:function(f){var o,c,a,v,h,l;this._o=n.extend({},this._o,f);o=this.o=n.extend({},this._o);c=o.language;r[c]||(c=c.split("-")[0],r[c]||(c=s.language));o.language=c;switch(o.startView){case 2:case"decade":o.startView=2;break;case 1:case"year":o.startView=1;break;default:o.startView=0}switch(o.minViewMode){case 1:case"months":o.minViewMode=1;break;case 2:case"years":o.minViewMode=2;break;default:o.minViewMode=0}if(o.startView=Math.max(o.startView,o.minViewMode),o.multidate!==!0&&(o.multidate=Number(o.multidate)||!1,o.multidate!==!1&&(o.multidate=Math.max(0,o.multidate))),o.multidateSeparator=String(o.multidateSeparator),o.weekStart%=7,o.weekEnd=(o.weekStart+6)%7,a=i.parseFormat(o.format),o.startDate!==-Infinity&&(o.startDate=o.startDate?o.startDate instanceof Date?this._local_to_utc(this._zero_time(o.startDate)):i.parseDate(o.startDate,a,o.language):-Infinity),o.endDate!==Infinity&&(o.endDate=o.endDate?o.endDate instanceof Date?this._local_to_utc(this._zero_time(o.endDate)):i.parseDate(o.endDate,a,o.language):Infinity),o.daysOfWeekDisabled=o.daysOfWeekDisabled||[],n.isArray(o.daysOfWeekDisabled)||(o.daysOfWeekDisabled=o.daysOfWeekDisabled.split(/[,\s]*/)),o.daysOfWeekDisabled=n.map(o.daysOfWeekDisabled,function(n){return parseInt(n,10)}),o.datesDisabled=o.datesDisabled||[],n.isArray(o.datesDisabled)||(v=[],v.push(i.parseDate(o.datesDisabled,a,o.language)),o.datesDisabled=v),o.datesDisabled=n.map(o.datesDisabled,function(n){return i.parseDate(n,a,o.language)}),h=String(o.orientation).toLowerCase().split(/\s+/g),l=o.orientation.toLowerCase(),h=n.grep(h,function(n){return/^auto|left|right|top|bottom$/.test(n)}),o.orientation={x:"auto",y:"auto"},l&&l!=="auto")if(h.length===1)switch(h[0]){case"top":case"bottom":o.orientation.y=h[0];break;case"left":case"right":o.orientation.x=h[0]}else l=n.grep(h,function(n){return/^left|right$/.test(n)}),o.orientation.x=l[0]||"auto",l=n.grep(h,function(n){return/^top|bottom$/.test(n)}),o.orientation.y=l[0]||"auto";if(o.defaultViewDate){var y=o.defaultViewDate.year||(new Date).getFullYear(),p=o.defaultViewDate.month||0,w=o.defaultViewDate.day||1;o.defaultViewDate=u(y,p,w)}else o.defaultViewDate=e();o.showOnFocus=o.showOnFocus!==t?o.showOnFocus:!0},_events:[],_secondaryEvents:[],_applyEvents:function(n){for(var i=0,f,r,u;i<n.length;i++){f=n[i][0];n[i].length===2?(r=t,u=n[i][1]):n[i].length===3&&(r=n[i][1],u=n[i][2]);f.on(u,r)}},_unapplyEvents:function(n){for(var i=0,f,r,u;i<n.length;i++)f=n[i][0],n[i].length===2?(u=t,r=n[i][1]):n[i].length===3&&(u=n[i][1],r=n[i][2]),f.off(r,u)},_buildEvents:function(){var t={keyup:n.proxy(function(t){n.inArray(t.keyCode,[27,37,39,38,40,32,13,9])===-1&&this.update()},this),keydown:n.proxy(this.keydown,this)};this.o.showOnFocus===!0&&(t.focus=n.proxy(this.show,this));this.isInput?this._events=[[this.element,t]]:this.component&&this.hasInput?this._events=[[this.element.find("input"),t],[this.component,{click:n.proxy(this.show,this)}]]:this.element.is("div")?this.isInline=!0:this._events=[[this.element,{click:n.proxy(this.show,this)}]];this._events.push([this.element,"*",{blur:n.proxy(function(n){this._focused_from=n.target},this)}],[this.element,{blur:n.proxy(function(n){this._focused_from=n.target},this)}]);this._secondaryEvents=[[this.picker,{click:n.proxy(this.click,this)}],[n(window),{resize:n.proxy(this.place,this)}],[n(document),{"mousedown touchstart":n.proxy(function(n){this.element.is(n.target)||this.element.find(n.target).length||this.picker.is(n.target)||this.picker.find(n.target).length||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents();this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents();this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(t,r){var u=r||this.dates.get(-1),f=this._utc_to_local(u);this.element.trigger({type:t,date:f,dates:n.map(this.dates,this._utc_to_local),format:n.proxy(function(n,t){arguments.length===0?(n=this.dates.length-1,t=this.o.format):typeof n=="string"&&(t=n,n=this.dates.length-1);t=t||this.o.format;var r=this.dates.get(n);return i.formatDate(r,t,this.o.language)},this)})},show:function(){if(!this.element.attr("readonly")||this.o.enableOnReadonly!==!1)return this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&n(this.element).blur(),this},hide:function(){return this.isInline?this:this.picker.is(":visible")?(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.viewMode=this.o.startView,this.showMode(),this.o.forceParse&&(this.isInput&&this.element.val()||this.hasInput&&this.element.find("input").val())&&this.setValue(),this._trigger("hide"),this):this},remove:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},_utc_to_local:function(n){return n&&new Date(n.getTime()+n.getTimezoneOffset()*6e4)},_local_to_utc:function(n){return n&&new Date(n.getTime()-n.getTimezoneOffset()*6e4)},_zero_time:function(n){return n&&new Date(n.getFullYear(),n.getMonth(),n.getDate())},_zero_utc_time:function(n){return n&&new Date(Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()))},getDates:function(){return n.map(this.dates,this._utc_to_local)},getUTCDates:function(){return n.map(this.dates,function(n){return new Date(n)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var n=this.dates.get(-1);return typeof n!="undefined"?new Date(n):null},clearDates:function(){var n;this.isInput?n=this.element:this.component&&(n=this.element.find("input"));n&&n.val("").change();this.update();this._trigger("changeDate");this.o.autoclose&&this.hide()},setDates:function(){var t=n.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,t),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var t=n.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,n.map(t,this._utc_to_local)),this._trigger("changeDate"),this.setValue(),this},setDate:c("setDates"),setUTCDate:c("setUTCDates"),setValue:function(){var n=this.getFormattedDate();return this.isInput?this.element.val(n).change():this.component&&this.element.find("input").val(n).change(),this},getFormattedDate:function(r){r===t&&(r=this.o.format);var u=this.o.language;return n.map(this.dates,function(n){return i.formatDate(n,r,u)}).join(this.o.multidateSeparator)},setStartDate:function(n){return this._process_options({startDate:n}),this.update(),this.updateNavArrows(),this},setEndDate:function(n){return this._process_options({endDate:n}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(n){return this._process_options({daysOfWeekDisabled:n}),this.update(),this.updateNavArrows(),this},setDatesDisabled:function(n){this._process_options({datesDisabled:n});this.update();this.updateNavArrows()},place:function(){var r,h,f,c;if(this.isInline)return this;var e=this.picker.outerWidth(),o=this.picker.outerHeight(),l=n(this.o.container).width(),b=n(this.o.container).height(),a=n(this.o.container).scrollTop(),v=n(this.o.container).offset(),y=[];this.element.parents().each(function(){var t=n(this).css("z-index");t!=="auto"&&t!==0&&y.push(parseInt(t))});var p=Math.max.apply(Math,y)+10,u=this.component?this.component.parent().offset():this.element.offset(),w=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),s=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),t=u.left-v.left,i=u.top-v.top;return this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),this.o.orientation.x!=="auto"?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),this.o.orientation.x==="right"&&(t-=e-s)):u.left<0?(this.picker.addClass("datepicker-orient-left"),t-=u.left-10):t+e>l?(this.picker.addClass("datepicker-orient-right"),t=u.left+s-e):this.picker.addClass("datepicker-orient-left"),r=this.o.orientation.y,r==="auto"&&(h=-a+i-o,f=a+b-(i+w+o),r=Math.max(h,f)===f?"top":"bottom"),this.picker.addClass("datepicker-orient-"+r),r==="top"?i+=w:i-=o+parseInt(this.picker.css("padding-top")),this.o.rtl?(c=l-(t+s),this.picker.css({top:i,right:c,zIndex:p})):this.picker.css({top:i,left:t,zIndex:p}),this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var r=this.dates.copy(),t=[],u=!1;return arguments.length?(n.each(arguments,n.proxy(function(n,i){i instanceof Date&&(i=this._local_to_utc(i));t.push(i)},this)),u=!0):(t=this.isInput?this.element.val():this.element.data("date")||this.element.find("input").val(),t=t&&this.o.multidate?t.split(this.o.multidateSeparator):[t],delete this.element.data().date),t=n.map(t,n.proxy(function(n){return i.parseDate(n,this.o.format,this.o.language)},this)),t=n.grep(t,n.proxy(function(n){return n<this.o.startDate||n>this.o.endDate||!n},this),!0),this.dates.replace(t),this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate&&(this.viewDate=new Date(this.o.endDate)),u?this.setValue():t.length&&String(r)!==String(this.dates)&&this._trigger("changeDate"),!this.dates.length&&r.length&&this._trigger("clearDate"),this.fill(),this},fillDow:function(){var t=this.o.weekStart,n="<tr>",i;for(this.o.calendarWeeks&&(this.picker.find(".datepicker-days thead tr:first-child .datepicker-switch").attr("colspan",function(n,t){return parseInt(t)+1}),i='<th class="cw">&#160;<\/th>',n+=i);t<this.o.weekStart+7;)n+='<th class="dow">'+r[this.o.language].daysMin[t++%7]+"<\/th>";n+="<\/tr>";this.picker.find(".datepicker-days thead").append(n)},fillMonths:function(){for(var n="",t=0;t<12;)n+='<span class="month">'+r[this.o.language].monthsShort[t++]+"<\/span>";this.picker.find(".datepicker-months td").html(n)},setRange:function(t){t&&t.length?this.range=n.map(t,function(n){return n.valueOf()}):delete this.range;this.fill()},getClassNames:function(t){var i=[],r=this.viewDate.getUTCFullYear(),f=this.viewDate.getUTCMonth(),u=new Date;return t.getUTCFullYear()<r||t.getUTCFullYear()===r&&t.getUTCMonth()<f?i.push("old"):(t.getUTCFullYear()>r||t.getUTCFullYear()===r&&t.getUTCMonth()>f)&&i.push("new"),this.focusDate&&t.valueOf()===this.focusDate.valueOf()&&i.push("focused"),this.o.todayHighlight&&t.getUTCFullYear()===u.getFullYear()&&t.getUTCMonth()===u.getMonth()&&t.getUTCDate()===u.getDate()&&i.push("today"),this.dates.contains(t)!==-1&&i.push("active"),(t.valueOf()<this.o.startDate||t.valueOf()>this.o.endDate||n.inArray(t.getUTCDay(),this.o.daysOfWeekDisabled)!==-1)&&i.push("disabled"),this.o.datesDisabled.length>0&&n.grep(this.o.datesDisabled,function(n){return y(t,n)}).length>0&&i.push("disabled","disabled-date"),this.range&&(t>this.range[0]&&t<this.range[this.range.length-1]&&i.push("range"),n.inArray(t.valueOf(),this.range)!==-1&&i.push("selected")),i},fill:function(){var g=new Date(this.viewDate),f=g.getUTCFullYear(),p=g.getUTCMonth(),w=this.o.startDate!==-Infinity?this.o.startDate.getUTCFullYear():-Infinity,ft=this.o.startDate!==-Infinity?this.o.startDate.getUTCMonth():-Infinity,b=this.o.endDate!==Infinity?this.o.endDate.getUTCFullYear():Infinity,et=this.o.endDate!==Infinity?this.o.endDate.getUTCMonth():Infinity,ot=r[this.o.language].today||r.en.today||"",st=r[this.o.language].clear||r.en.clear||"",y,e,k,c,s,h,o,l,nt,tt,it,a,v;if(!isNaN(f)&&!isNaN(p)){for(this.picker.find(".datepicker-days thead .datepicker-switch").text(r[this.o.language].months[p]+" "+f),this.picker.find("tfoot .today").text(ot).toggle(this.o.todayBtn!==!1),this.picker.find("tfoot .clear").text(st).toggle(this.o.clearBtn!==!1),this.updateNavArrows(),this.fillMonths(),e=u(f,p-1,28),k=i.getDaysInMonth(e.getUTCFullYear(),e.getUTCMonth()),e.setUTCDate(k),e.setUTCDate(k-(e.getUTCDay()-this.o.weekStart+7)%7),c=new Date(e),c.setUTCDate(c.getUTCDate()+42),c=c.valueOf(),s=[];e.valueOf()<c;){if(e.getUTCDay()===this.o.weekStart&&(s.push("<tr>"),this.o.calendarWeeks)){var rt=new Date(+e+(this.o.weekStart-e.getUTCDay()-7)%7*864e5),ut=new Date(Number(rt)+(11-rt.getUTCDay())%7*864e5),d=new Date(Number(d=u(ut.getUTCFullYear(),0,1))+(11-d.getUTCDay())%7*864e5),ht=(ut-d)/6048e5+1;s.push('<td class="cw">'+ht+"<\/td>")}h=this.getClassNames(e);h.push("day");this.o.beforeShowDay!==n.noop&&(o=this.o.beforeShowDay(this._utc_to_local(e)),o===t?o={}:typeof o=="boolean"?o={enabled:o}:typeof o=="string"&&(o={classes:o}),o.enabled===!1&&h.push("disabled"),o.classes&&(h=h.concat(o.classes.split(/\s+/))),o.tooltip&&(y=o.tooltip));h=n.unique(h);s.push('<td class="'+h.join(" ")+'"'+(y?' title="'+y+'"':"")+">"+e.getUTCDate()+"<\/td>");y=null;e.getUTCDay()===this.o.weekEnd&&s.push("<\/tr>");e.setUTCDate(e.getUTCDate()+1)}for(this.picker.find(".datepicker-days tbody").empty().append(s.join("")),l=this.picker.find(".datepicker-months").find("th:eq(1)").text(f).end().find("span").removeClass("active"),n.each(this.dates,function(n,t){t.getUTCFullYear()===f&&l.eq(t.getUTCMonth()).addClass("active")}),(f<w||f>b)&&l.addClass("disabled"),f===w&&l.slice(0,ft).addClass("disabled"),f===b&&l.slice(et+1).addClass("disabled"),this.o.beforeShowMonth!==n.noop&&(nt=this,n.each(l,function(t,i){if(!n(i).hasClass("disabled")){var r=new Date(f,t,1),u=nt.o.beforeShowMonth(r);u===!1&&n(i).addClass("disabled")}})),s="",f=parseInt(f/10,10)*10,tt=this.picker.find(".datepicker-years").find("th:eq(1)").text(f+"-"+(f+9)).end().find("td"),f-=1,it=n.map(this.dates,function(n){return n.getUTCFullYear()}),v=-1;v<11;v++)a=["year"],v===-1?a.push("old"):v===10&&a.push("new"),n.inArray(f,it)!==-1&&a.push("active"),(f<w||f>b)&&a.push("disabled"),s+='<span class="'+a.join(" ")+'">'+f+"<\/span>",f+=1;tt.html(s)}},updateNavArrows:function(){if(this._allow_update){var t=new Date(this.viewDate),n=t.getUTCFullYear(),i=t.getUTCMonth();switch(this.viewMode){case 0:this.o.startDate!==-Infinity&&n<=this.o.startDate.getUTCFullYear()&&i<=this.o.startDate.getUTCMonth()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"});this.o.endDate!==Infinity&&n>=this.o.endDate.getUTCFullYear()&&i>=this.o.endDate.getUTCMonth()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"});break;case 1:case 2:this.o.startDate!==-Infinity&&n<=this.o.startDate.getUTCFullYear()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"});this.o.endDate!==Infinity&&n>=this.o.endDate.getUTCFullYear()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"})}}},click:function(t){var r,e,f,o,h,s,c;if(t.preventDefault(),r=n(t.target).closest("span, td, th"),r.length===1)switch(r[0].nodeName.toLowerCase()){case"th":switch(r[0].className){case"datepicker-switch":this.showMode(1);break;case"prev":case"next":h=i.modes[this.viewMode].navStep*(r[0].className==="prev"?-1:1);switch(this.viewMode){case 0:this.viewDate=this.moveMonth(this.viewDate,h);this._trigger("changeMonth",this.viewDate);break;case 1:case 2:this.viewDate=this.moveYear(this.viewDate,h);this.viewMode===1&&this._trigger("changeYear",this.viewDate)}this.fill();break;case"today":s=new Date;s=u(s.getFullYear(),s.getMonth(),s.getDate(),0,0,0);this.showMode(-2);c=this.o.todayBtn==="linked"?null:"view";this._setDate(s,c);break;case"clear":this.clearDates()}break;case"span":r.hasClass("disabled")||(this.viewDate.setUTCDate(1),r.hasClass("month")?(o=1,f=r.parent().find("span").index(r),e=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(f),this._trigger("changeMonth",this.viewDate),this.o.minViewMode===1&&this._setDate(u(e,f,o))):(o=1,f=0,e=parseInt(r.text(),10)||0,this.viewDate.setUTCFullYear(e),this._trigger("changeYear",this.viewDate),this.o.minViewMode===2&&this._setDate(u(e,f,o))),this.showMode(-1),this.fill());break;case"td":r.hasClass("day")&&!r.hasClass("disabled")&&(o=parseInt(r.text(),10)||1,e=this.viewDate.getUTCFullYear(),f=this.viewDate.getUTCMonth(),r.hasClass("old")?f===0?(f=11,e-=1):f-=1:r.hasClass("new")&&(f===11?(f=0,e+=1):f+=1),this._setDate(u(e,f,o)))}this.picker.is(":visible")&&this._focused_from&&n(this._focused_from).focus();delete this._focused_from},_toggle_multidate:function(n){var t=this.dates.contains(n);if(n||this.dates.clear(),t!==-1?(this.o.multidate===!0||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(t):this.o.multidate===!1?(this.dates.clear(),this.dates.push(n)):this.dates.push(n),typeof this.o.multidate=="number")while(this.dates.length>this.o.multidate)this.dates.remove(0)},_setDate:function(n,t){t&&t!=="date"||this._toggle_multidate(n&&new Date(n));t&&t!=="view"||(this.viewDate=n&&new Date(n));this.fill();this.setValue();t&&t==="view"||this._trigger("changeDate");var i;this.isInput?i=this.element:this.component&&(i=this.element.find("input"));i&&i.change();this.o.autoclose&&(!t||t==="date")&&this.hide()},moveMonth:function(n,i){var f;if(!n)return t;if(!i)return n;var r=new Date(n.valueOf()),o=r.getUTCDate(),s=r.getUTCMonth(),h=Math.abs(i),u,e;if(i=i>0?1:-1,h===1)e=i===-1?function(){return r.getUTCMonth()===s}:function(){return r.getUTCMonth()!==u},u=s+i,r.setUTCMonth(u),(u<0||u>11)&&(u=(u+12)%12);else{for(f=0;f<h;f++)r=this.moveMonth(r,i);u=r.getUTCMonth();r.setUTCDate(o);e=function(){return u!==r.getUTCMonth()}}while(e())r.setUTCDate(--o),r.setUTCMonth(u);return r},moveYear:function(n,t){return this.moveMonth(n,t*12)},dateWithinRange:function(n){return n>=this.o.startDate&&n<=this.o.endDate},keydown:function(n){var o,t,u,i,r,f;if(!this.picker.is(":visible")){n.keyCode===27&&this.show();return}o=!1;r=this.focusDate||this.viewDate;switch(n.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide();n.preventDefault();break;case 37:case 39:if(!this.o.keyboardNavigation)break;t=n.keyCode===37?-1:1;n.ctrlKey?(u=this.moveYear(this.dates.get(-1)||e(),t),i=this.moveYear(r,t),this._trigger("changeYear",this.viewDate)):n.shiftKey?(u=this.moveMonth(this.dates.get(-1)||e(),t),i=this.moveMonth(r,t),this._trigger("changeMonth",this.viewDate)):(u=new Date(this.dates.get(-1)||e()),u.setUTCDate(u.getUTCDate()+t),i=new Date(r),i.setUTCDate(r.getUTCDate()+t));this.dateWithinRange(i)&&(this.focusDate=this.viewDate=i,this.setValue(),this.fill(),n.preventDefault());break;case 38:case 40:if(!this.o.keyboardNavigation)break;t=n.keyCode===38?-1:1;n.ctrlKey?(u=this.moveYear(this.dates.get(-1)||e(),t),i=this.moveYear(r,t),this._trigger("changeYear",this.viewDate)):n.shiftKey?(u=this.moveMonth(this.dates.get(-1)||e(),t),i=this.moveMonth(r,t),this._trigger("changeMonth",this.viewDate)):(u=new Date(this.dates.get(-1)||e()),u.setUTCDate(u.getUTCDate()+t*7),i=new Date(r),i.setUTCDate(r.getUTCDate()+t*7));this.dateWithinRange(i)&&(this.focusDate=this.viewDate=i,this.setValue(),this.fill(),n.preventDefault());break;case 13:r=this.focusDate||this.dates.get(-1)||this.viewDate;this.o.keyboardNavigation&&(this._toggle_multidate(r),o=!0);this.focusDate=null;this.viewDate=this.dates.get(-1)||this.viewDate;this.setValue();this.fill();this.picker.is(":visible")&&(n.preventDefault(),typeof n.stopPropagation=="function"?n.stopPropagation():n.cancelBubble=!0,this.o.autoclose&&this.hide());break;case 9:this.focusDate=null;this.viewDate=this.dates.get(-1)||this.viewDate;this.fill();this.hide()}o&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.isInput?f=this.element:this.component&&(f=this.element.find("input")),f&&f.change())},showMode:function(n){n&&(this.viewMode=Math.max(this.o.minViewMode,Math.min(2,this.viewMode+n)));this.picker.children("div").hide().filter(".datepicker-"+i.modes[this.viewMode].clsName).css("display","block");this.updateNavArrows()}};h=function(t,i){this.element=n(t);this.inputs=n.map(i.inputs,function(n){return n.jquery?n[0]:n});delete i.inputs;o.call(n(this.inputs),i).bind("changeDate",n.proxy(this.dateUpdated,this));this.pickers=n.map(this.inputs,function(t){return n(t).data("datepicker")});this.updateDates()};h.prototype={updateDates:function(){this.dates=n.map(this.pickers,function(n){return n.getUTCDate()});this.updateRanges()},updateRanges:function(){var t=n.map(this.dates,function(n){return n.valueOf()});n.each(this.pickers,function(n,i){i.setRange(t)})},dateUpdated:function(t){if(!this.updating){this.updating=!0;var e=n(t.target).data("datepicker"),i=e.getUTCDate(),f=n.inArray(t.target,this.inputs),r=f-1,u=f+1,o=this.inputs.length;if(f!==-1){if(n.each(this.pickers,function(n,t){t.getUTCDate()||t.setUTCDate(i)}),i<this.dates[r])while(r>=0&&i<this.dates[r])this.pickers[r--].setUTCDate(i);else if(i>this.dates[u])while(u<o&&i>this.dates[u])this.pickers[u++].setUTCDate(i);this.updateDates();delete this.updating}}},remove:function(){n.map(this.pickers,function(n){n.remove()});delete this.element.data().datepicker}};a=n.fn.datepicker;o=function(i){var u=Array.apply(null,arguments),r;return u.shift(),this.each(function(){var o=n(this),e=o.data("datepicker"),l=typeof i=="object"&&i,a;if(!e){var v=p(this,"date"),y=n.extend({},s,v,l),b=w(y.language),c=n.extend({},s,b,v,l);o.hasClass("input-daterange")||c.inputs?(a={inputs:c.inputs||o.find("input").toArray()},o.data("datepicker",e=new h(this,n.extend(c,a)))):o.data("datepicker",e=new f(this,c))}if(typeof i=="string"&&typeof e[i]=="function"&&(r=e[i].apply(e,u),r!==t))return!1}),r!==t?r:this};n.fn.datepicker=o;s=n.fn.datepicker.defaults={autoclose:!1,beforeShowDay:n.noop,beforeShowMonth:n.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],datesDisabled:[],endDate:Infinity,forceParse:!0,format:"mm/dd/yyyy",keyboardNavigation:!0,language:"en",minViewMode:0,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-Infinity,startView:0,todayBtn:!1,todayHighlight:!1,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,container:"body"};v=n.fn.datepicker.locale_opts=["format","rtl","weekStart"];n.fn.datepicker.Constructor=f;r=n.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear"}};i={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10}],isLeapYear:function(n){return n%4==0&&n%100!=0||n%400==0},getDaysInMonth:function(n,t){return[31,i.isLeapYear(n)?29:28,31,30,31,30,31,31,30,31,30,31][t]},validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\[\u3400-\u9fff-`{-~\t\n\r]+/g,parseFormat:function(n){var t=n.replace(this.validParts,'\0').split('\0'),i=n.match(this.validParts);if(!t||!t.length||!i||i.length===0)throw new Error("Invalid date format.");return{separators:t,parts:i}},parseDate:function(e,o,s){function nt(){var n=this.slice(0,c[h].length),t=c[h].slice(0,n.length);return n.toLowerCase()===t.toLowerCase()}var tt,c,v,y,h,l,it,b,p;if(!e)return t;if(e instanceof Date)return e;if(typeof o=="string"&&(o=i.parseFormat(o)),tt=/([\-+]\d+)([dmwy])/,c=e.match(/([\-+]\d+)([dmwy])/g),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(e)){for(e=new Date,h=0;h<c.length;h++){v=tt.exec(c[h]);y=parseInt(v[1]);switch(v[2]){case"d":e.setUTCDate(e.getUTCDate()+y);break;case"m":e=f.prototype.moveMonth.call(f.prototype,e,y);break;case"w":e.setUTCDate(e.getUTCDate()+y*7);break;case"y":e=f.prototype.moveYear.call(f.prototype,e,y)}}return u(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),0,0,0)}c=e&&e.match(this.nonpunctuation)||[];e=new Date;var k={},g=["yyyy","yy","M","MM","m","mm","d","dd"],a={yyyy:function(n,t){return n.setUTCFullYear(t)},yy:function(n,t){return n.setUTCFullYear(2e3+t)},m:function(n,t){if(isNaN(n))return n;for(t-=1;t<0;)t+=12;for(t%=12,n.setUTCMonth(t);n.getUTCMonth()!==t;)n.setUTCDate(n.getUTCDate()-1);return n},d:function(n,t){return n.setUTCDate(t)}},w,d;if(a.M=a.MM=a.mm=a.m,a.dd=a.d,e=u(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0),l=o.parts.slice(),c.length!==l.length&&(l=n(l).filter(function(t,i){return n.inArray(i,g)!==-1}).toArray()),c.length===l.length){for(h=0,it=l.length;h<it;h++){if(w=parseInt(c[h],10),v=l[h],isNaN(w))switch(v){case"MM":d=n(r[s].months).filter(nt);w=n.inArray(d[0],r[s].months)+1;break;case"M":d=n(r[s].monthsShort).filter(nt);w=n.inArray(d[0],r[s].monthsShort)+1}k[v]=w}for(h=0;h<g.length;h++)p=g[h],p in k&&!isNaN(k[p])&&(b=new Date(e),a[p](b,k[p]),isNaN(b)||(e=b))}return e},formatDate:function(t,u,f){var e,s,o,h;if(!t)return"";for(typeof u=="string"&&(u=i.parseFormat(u)),e={d:t.getUTCDate(),D:r[f].daysShort[t.getUTCDay()],DD:r[f].days[t.getUTCDay()],m:t.getUTCMonth()+1,M:r[f].monthsShort[t.getUTCMonth()],MM:r[f].months[t.getUTCMonth()],yy:t.getUTCFullYear().toString().substring(2),yyyy:t.getUTCFullYear()},e.dd=(e.d<10?"0":"")+e.d,e.mm=(e.m<10?"0":"")+e.m,t=[],s=n.extend([],u.separators),o=0,h=u.parts.length;o<=h;o++)s.length&&t.push(s.shift()),t.push(e[u.parts[o]]);return t.join("")},headTemplate:'<thead><tr><th class="prev">&#171;<\/th><th colspan="5" class="datepicker-switch"><\/th><th class="next">&#187;<\/th><\/tr><\/thead>',contTemplate:'<tbody><tr><td colspan="7"><\/td><\/tr><\/tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"><\/th><\/tr><tr><th colspan="7" class="clear"><\/th><\/tr><\/tfoot>'};i.template='<div class="datepicker"><div class="datepicker-days"><table class=" table-condensed">'+i.headTemplate+"<tbody><\/tbody>"+i.footTemplate+'<\/table><\/div><div class="datepicker-months"><table class="table-condensed">'+i.headTemplate+i.contTemplate+i.footTemplate+'<\/table><\/div><div class="datepicker-years"><table class="table-condensed">'+i.headTemplate+i.contTemplate+i.footTemplate+"<\/table><\/div><\/div>";n.fn.datepicker.DPGlobal=i;n.fn.datepicker.noConflict=function(){return n.fn.datepicker=a,this};n.fn.datepicker.version="1.4.0";n(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(t){var i=n(this);i.data("datepicker")||(t.preventDefault(),o.call(i,"show"))});n(function(){o.call(n('[data-provide="datepicker-inline"]'))})}(window.jQuery);!function(n){"object"==typeof exports&&exports&&"object"==typeof module&&module&&module.exports===exports?n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):n(jQuery)}(function(n){function s(n){var t=n[0];return t.offsetWidth>0&&t.offsetHeight>0}function w(i){var u,r;if((i.minTime&&(i.minTime=t(i.minTime)),i.maxTime&&(i.maxTime=t(i.maxTime)),i.durationTime&&"function"!=typeof i.durationTime&&(i.durationTime=t(i.durationTime)),"now"==i.scrollDefault)?i.scrollDefault=function(){return i.roundingFunction(t(new Date),i)}:i.scrollDefault&&"function"!=typeof i.scrollDefault?(u=i.scrollDefault,i.scrollDefault=function(){return i.roundingFunction(t(u),i)}):i.minTime&&(i.scrollDefault=function(){return i.roundingFunction(i.minTime,i)}),"string"===n.type(i.timeFormat)&&i.timeFormat.match(/[gh]/)&&(i._twelveHourTime=!0),i.showOnFocus===!1&&"focus"==i.showOn&&(i.showOn=null),i.disableTimeRanges.length>0){for(r in i.disableTimeRanges)i.disableTimeRanges[r]=[t(i.disableTimeRanges[r][0]),t(i.disableTimeRanges[r][1])];for(i.disableTimeRanges=i.disableTimeRanges.sort(function(n,t){return n[0]-t[0]}),r=i.disableTimeRanges.length-1;r>0;r--)i.disableTimeRanges[r][0]<=i.disableTimeRanges[r-1][1]&&(i.disableTimeRanges[r-1]=[Math.min(i.disableTimeRanges[r][0],i.disableTimeRanges[r-1][0]),Math.max(i.disableTimeRanges[r][1],i.disableTimeRanges[r-1][1])],i.disableTimeRanges.splice(r,1))}return i}function c(i){var e=i.data("timepicker-settings"),s=i.data("timepicker-list"),a,it,rt,ut,d,y,et,w,ft,c,ot,st,k;if((s&&s.length&&(s.remove(),i.data("timepicker-list",!1)),e.useSelect)?(s=n("<select />",{"class":"ui-timepicker-select"}),a=s):(s=n("<ul />",{"class":"ui-timepicker-list"}),a=n("<div />",{"class":"ui-timepicker-wrapper",tabindex:-1}),a.css({display:"none",position:"absolute"}).append(s)),e.noneOption)if(e.noneOption===!0&&(e.noneOption=e.useSelect?"Time...":"None"),n.isArray(e.noneOption))for(y in e.noneOption)parseInt(y,10)==y&&(it=b(e.noneOption[y],e.useSelect),s.append(it));else it=b(e.noneOption,e.useSelect),s.append(it);(e.className&&a.addClass(e.className),(null!==e.minTime||null!==e.durationTime)&&e.showDuration)&&("function"==typeof e.step?"function":e.step,a.addClass("ui-timepicker-with-duration"),a.addClass("ui-timepicker-step-"+e.step));rt=e.minTime;"function"==typeof e.durationTime?rt=t(e.durationTime()):null!==e.durationTime&&(rt=e.durationTime);ut=null!==e.minTime?e.minTime:0;d=null!==e.maxTime?e.maxTime:ut+u-1;ut>d&&(d+=u);d===u-1&&"string"===n.type(e.timeFormat)&&e.show2400&&(d=u);var nt=e.disableTimeRanges,g=0,ct=nt.length,ht=e.step;for("function"!=typeof ht&&(ht=function(){return e.step}),y=ut,et=0;d>=y;et++,y+=60*ht(et))w=y,ft=o(w,e),e.useSelect?(c=n("<option />",{value:ft}),c.text(ft)):(c=n("<li />"),c.data("time",86400>=w?w:w%86400),c.text(ft)),(null!==e.minTime||null!==e.durationTime)&&e.showDuration&&(ot=tt(y-rt,e.step),e.useSelect?c.text(c.text()+" ("+ot+")"):(st=n("<span />",{"class":"ui-timepicker-duration"}),st.text(" ("+ot+")"),c.append(st))),ct>g&&(w>=nt[g][1]&&(g+=1),nt[g]&&w>=nt[g][0]&&w<nt[g][1]&&(e.useSelect?c.prop("disabled",!0):c.addClass("ui-timepicker-disabled"))),s.append(c);(a.data("timepicker-input",i),i.data("timepicker-list",a),e.useSelect)?(i.val()&&s.val(l(t(i.val()),e)),s.on("focus",function(){n(this).data("timepicker-input").trigger("showTimepicker")}),s.on("blur",function(){n(this).data("timepicker-input").trigger("hideTimepicker")}),s.on("change",function(){f(i,n(this).val(),"select")}),f(i,s.val(),"initial"),i.hide().after(s)):(k=e.appendTo,"string"==typeof k?k=n(k):"function"==typeof k&&(k=k(i)),k.append(a),h(i,s),s.on("mousedown","li",function(){i.off("focus.timepicker");i.on("focus.timepicker-ie-hack",function(){i.off("focus.timepicker-ie-hack");i.on("focus.timepicker",r.show)});v(i)||i[0].focus();s.find("li").removeClass("ui-timepicker-selected");n(this).addClass("ui-timepicker-selected");p(i)&&(i.trigger("hideTimepicker"),s.on("mouseup.timepicker","li",function(){s.off("mouseup.timepicker");a.hide()}))}))}function b(t,i){var r,u,f;return"object"==typeof t?(r=t.label,u=t.className,f=t.value):"string"==typeof t?r=t:n.error("Invalid noneOption value"),i?n("<option />",{value:f,"class":u,text:r}):n("<li />",{"class":u,text:r}).data("time",f)}function l(n,t){return n=t.roundingFunction(n,t),null!==n?o(n,t):void 0}function d(){return new Date(1970,1,1,0,0,0)}function a(t){var i=n(t.target),u=i.closest(".ui-timepicker-input");0===u.length&&0===i.closest(".ui-timepicker-wrapper").length&&(r.hide(),n(document).unbind(".ui-timepicker"),n(window).unbind(".ui-timepicker"))}function v(n){var t=n.data("timepicker-settings");return(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&t.disableTouchKeyboard}function y(t,i,r){if(!r&&0!==r)return!1;var u=t.data("timepicker-settings"),f=!1,r=u.roundingFunction(r,u);return i.find("li").each(function(t,i){var u=n(i);if("number"==typeof u.data("time"))return u.data("time")==r?(f=u,!1):void 0}),f}function h(n,i){var u,r,f;i.find("li").removeClass("ui-timepicker-selected");u=t(e(n),n.data("timepicker-settings"));null!==u&&(r=y(n,i,u),r&&(f=r.offset().top-i.offset().top,(f+r.outerHeight()>i.outerHeight()||0>f)&&i.scrollTop(i.scrollTop()+r.position().top-r.outerHeight()),r.addClass("ui-timepicker-selected")))}function k(i,r){var s,u,e,h,c;if(""!==this.value&&"timepicker"!=r&&(s=n(this),!s.is(":focus")||i&&"change"==i.type)){if(u=s.data("timepicker-settings"),e=t(this.value,u),null===e)return void s.trigger("timeFormatError");h=!1;null!==u.minTime&&e<u.minTime?h=!0:null!==u.maxTime&&e>u.maxTime&&(h=!0);n.each(u.disableTimeRanges,function(){if(e>=this[0]&&e<this[1])return h=!0,!1});u.forceRoundTime&&(e=u.roundingFunction(e,u));c=o(e,u);h?f(s,c,"error")&&s.trigger("timeRangeError"):f(s,c)}}function e(n){return n.is("input")?n.val():n.data("ui-timepicker-value")}function f(n,i,r){if(n.is("input")){n.val(i);var u=n.data("timepicker-settings");u.useSelect&&"select"!=r&&"initial"!=r&&n.data("timepicker-list").val(l(t(i),u))}return n.data("ui-timepicker-value")!=i?(n.data("ui-timepicker-value",i),"select"==r?n.trigger("selectTime").trigger("changeTime").trigger("change","timepicker"):"error"!=r&&n.trigger("changeTime"),!0):(n.trigger("selectTime"),!1)}function g(t){var f=n(this),u=f.data("timepicker-list"),i;if(!u||!s(u)){if(40!=t.keyCode)return!0;r.show.call(f.get(0));u=f.data("timepicker-list");v(f)||f.focus()}switch(t.keyCode){case 13:return p(f)&&r.hide.apply(this),t.preventDefault(),!1;case 38:return i=u.find(".ui-timepicker-selected"),i.length?i.is(":first-child")||(i.removeClass("ui-timepicker-selected"),i.prev().addClass("ui-timepicker-selected"),i.prev().position().top<i.outerHeight()&&u.scrollTop(u.scrollTop()-i.outerHeight())):(u.find("li").each(function(t,r){if(n(r).position().top>0)return i=n(r),!1}),i.addClass("ui-timepicker-selected")),!1;case 40:return i=u.find(".ui-timepicker-selected"),0===i.length?(u.find("li").each(function(t,r){if(n(r).position().top>0)return i=n(r),!1}),i.addClass("ui-timepicker-selected")):i.is(":last-child")||(i.removeClass("ui-timepicker-selected"),i.next().addClass("ui-timepicker-selected"),i.next().position().top+2*i.outerHeight()>u.outerHeight()&&u.scrollTop(u.scrollTop()+i.outerHeight())),!1;case 27:u.find("li").removeClass("ui-timepicker-selected");r.hide();break;case 9:r.hide();break;default:return!0}}function nt(t){var r=n(this),i=r.data("timepicker-list"),u=r.data("timepicker-settings");if(!i||!s(i)||u.disableTextInput)return!0;switch(t.keyCode){case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 77:case 80:case 186:case 8:case 46:u.typeaheadHighlight?h(r,i):i.hide()}}function p(n){var r=n.data("timepicker-settings"),u=n.data("timepicker-list"),t=null,i=u.find(".ui-timepicker-selected");return i.hasClass("ui-timepicker-disabled")?!1:(i.length&&(t=i.data("time")),null!==t&&("string"!=typeof t&&(t=o(t,r)),f(n,t,"select")),!0)}function tt(n,t){n=Math.abs(n);var u,f,e=Math.round(n/60),r=[];return 60>e?r=[e,i.mins]:(u=Math.floor(e/60),f=e%60,30==t&&30==f&&(u+=i.decimal+5),r.push(u),r.push(1==u?i.hr:i.hrs),30!=t&&f&&(r.push(f),r.push(i.mins))),r.join(" ")}function o(t,r){var o,f,c,e,s,h;if(null===t||(o=new Date(it.valueOf()+1e3*t),isNaN(o.getTime())))return null;if("function"===n.type(r.timeFormat))return r.timeFormat(o);for(e="",s=0;s<r.timeFormat.length;s++)switch(c=r.timeFormat.charAt(s)){case"a":e+=o.getHours()>11?i.pm:i.am;break;case"A":e+=o.getHours()>11?i.PM:i.AM;break;case"g":f=o.getHours()%12;e+=0===f?"12":f;break;case"G":f=o.getHours();t===u&&(f=24);e+=f;break;case"h":f=o.getHours()%12;0!==f&&10>f&&(f="0"+f);e+=0===f?"12":f;break;case"H":f=o.getHours();t===u&&(f=24);e+=f>9?f:"0"+f;break;case"i":h=o.getMinutes();e+=h>9?h:"0"+h;break;case"s":t=o.getSeconds();e+=t>9?t:"0"+t;break;case"\\":s++;e+=r.timeFormat.charAt(s);break;default:e+=c}return e}function t(n,t){var s,h;if(""===n)return null;if(!n||n+0==n)return n;if("object"==typeof n)return 3600*n.getHours()+60*n.getMinutes()+n.getSeconds();n=n.toLowerCase().replace(/[\s\.]/g,"");("a"==n.slice(-1)||"p"==n.slice(-1))&&(n+="m");var c="("+i.am.replace(".","")+"|"+i.pm.replace(".","")+"|"+i.AM.replace(".","")+"|"+i.PM.replace(".","")+")?",a=new RegExp("^"+c+"([0-2]?[0-9])\\W?([0-5][0-9])?\\W?([0-5][0-9])?"+c+"$"),r=n.match(a);if(!r)return null;var f=parseInt(1*r[2],10),e=r[1]||r[5],l=f;12>=f&&e&&(s=e==i.pm||e==i.PM,l=12==f?s?12:0:f+(s?12:0));var v=1*r[3]||0,y=1*r[4]||0,o=3600*l+60*v+y;return!e&&t&&t._twelveHourTime&&t.scrollDefault&&(h=o-t.scrollDefault(),0>h&&h>=u/-2&&(o=(o+u/2)%u)),o}var it=d(),u=86400,i={am:"am",pm:"pm",AM:"AM",PM:"PM",decimal:".",mins:"mins",hr:"hr",hrs:"hrs"},r={init:function(t){return this.each(function(){var u=n(this),o=[],e,f;for(e in n.fn.timepicker.defaults)u.data(e)&&(o[e]=u.data(e));f=n.extend({},n.fn.timepicker.defaults,o,t);f.lang&&(i=n.extend(i,f.lang));f=w(f);u.data("timepicker-settings",f);u.addClass("ui-timepicker-input");f.useSelect?c(u):(u.prop("autocomplete","off"),u.on("click.timepicker focus.timepicker",r.show),u.on("change.timepicker",k),u.on("keydown.timepicker",g),u.on("keyup.timepicker",nt),f.disableTextInput&&u.on("keypress.timepicker",function(n){n.preventDefault()}),k.call(u.get(0)))})},show:function(i){var u=n(this),o=u.data("timepicker-settings"),f,p,w,l,b;if(i){if(o.showOn!==i.type)return!0;i.preventDefault()}return o.useSelect?void u.data("timepicker-list").focus():(v(u)&&u.blur(),f=u.data("timepicker-list"),!u.prop("readonly")&&(f&&0!==f.length&&"function"!=typeof o.durationTime||(c(u),f=u.data("timepicker-list")),!s(f))?(u.data("ui-timepicker-value",u.val()),h(u,f),r.hide(),f.show(),p={},p.left=o.orientation.match(/r/)?u.offset().left+u.outerWidth()-f.outerWidth()+parseInt(f.css("marginLeft").replace("px",""),10):u.offset().left+parseInt(f.css("marginLeft").replace("px",""),10),w=o.orientation.match(/t/)?"t":o.orientation.match(/b/)?"b":u.offset().top+u.outerHeight(!0)+f.outerHeight()>n(window).height()+n(window).scrollTop()?"t":"b","t"==w?(f.addClass("ui-timepicker-positioned-top"),p.top=u.offset().top-f.outerHeight()+parseInt(f.css("marginTop").replace("px",""),10)):(f.removeClass("ui-timepicker-positioned-top"),p.top=u.offset().top+u.outerHeight()+parseInt(f.css("marginTop").replace("px",""),10)),f.offset(p),l=f.find(".ui-timepicker-selected"),(l.length||(e(u)?l=y(u,f,t(e(u))):o.scrollDefault&&(l=y(u,f,o.scrollDefault()))),l&&l.length)?(b=f.scrollTop()+l.position().top-l.outerHeight(),f.scrollTop(b)):f.scrollTop(0),o.stopScrollPropagation&&n(document).on("wheel.ui-timepicker",".ui-timepicker-wrapper",function(t){t.preventDefault();var i=n(this).scrollTop();n(this).scrollTop(i+t.originalEvent.deltaY)}),n(document).on("touchstart.ui-timepicker mousedown.ui-timepicker",a),n(window).on("resize.ui-timepicker",a),o.closeOnWindowScroll&&n(document).on("scroll.ui-timepicker",a),u.trigger("showTimepicker"),this):void 0)},hide:function(){var t=n(this),i=t.data("timepicker-settings");return i&&i.useSelect&&t.blur(),n(".ui-timepicker-wrapper").each(function(){var i=n(this),t,r;s(i)&&(t=i.data("timepicker-input"),r=t.data("timepicker-settings"),r&&r.selectOnBlur&&p(t),i.hide(),t.trigger("hideTimepicker"))}),this},option:function(t,i){return this.each(function(){var u=n(this),r=u.data("timepicker-settings"),f=u.data("timepicker-list");if("object"==typeof t)r=n.extend(r,t);else if("string"==typeof t&&"undefined"!=typeof i)r[t]=i;else if("string"==typeof t)return r[t];r=w(r);u.data("timepicker-settings",r);f&&(f.remove(),u.data("timepicker-list",!1));r.useSelect&&c(u)})},getSecondsFromMidnight:function(){return t(e(this))},getTime:function(n){var f=this,u=e(f),r,i;return u?(r=t(u),null===r)?null:(n||(n=new Date),i=new Date(n),i.setHours(r/3600),i.setMinutes(r%3600/60),i.setSeconds(r%60),i.setMilliseconds(0),i):null},setTime:function(n){var i=this,r=i.data("timepicker-settings"),u;return u=r.forceRoundTime?l(t(n),r):o(t(n),r),n&&null===u&&r.noneOption&&(u=n),f(i,u),i.data("timepicker-list")&&h(i,i.data("timepicker-list")),this},remove:function(){var n=this,t;if(n.hasClass("ui-timepicker-input"))return t=n.data("timepicker-settings"),n.removeAttr("autocomplete","off"),n.removeClass("ui-timepicker-input"),n.removeData("timepicker-settings"),n.off(".timepicker"),n.data("timepicker-list")&&n.data("timepicker-list").remove(),t.useSelect&&n.show(),n.removeData("timepicker-list"),this}};n.fn.timepicker=function(t){return this.length?r[t]?this.hasClass("ui-timepicker-input")?r[t].apply(this,Array.prototype.slice.call(arguments,1)):this:"object"!=typeof t&&t?void n.error("Method "+t+" does not exist on jQuery.timepicker"):r.init.apply(this,arguments):this};n.fn.timepicker.defaults={className:null,minTime:null,maxTime:null,durationTime:null,step:30,showDuration:!1,showOnFocus:!0,showOn:"focus",timeFormat:"g:ia",scrollDefault:null,selectOnBlur:!1,disableTextInput:!1,disableTouchKeyboard:!1,forceRoundTime:!1,roundingFunction:function(n,t){if(null===n)return null;var i=n%(60*t.step);return i>=30*t.step?n+=60*t.step-i:n-=i,n},appendTo:"body",orientation:"l",disableTimeRanges:[],closeOnWindowScroll:!1,typeaheadHighlight:!0,noneOption:!1,show2400:!1,stopScrollPropagation:!1}}),function(){var n=[].slice;!function(t,i){"use strict";var r;return r=function(){function n(n,i){null==i&&(i={});this.$element=t(n);this.options=t.extend({},t.fn.bootstrapSwitch.defaults,{state:this.$element.is(":checked"),size:this.$element.data("size"),animate:this.$element.data("animate"),disabled:this.$element.is(":disabled"),readonly:this.$element.is("[readonly]"),indeterminate:this.$element.data("indeterminate"),inverse:this.$element.data("inverse"),radioAllOff:this.$element.data("radio-all-off"),onColor:this.$element.data("on-color"),offColor:this.$element.data("off-color"),onText:this.$element.data("on-text"),offText:this.$element.data("off-text"),labelText:this.$element.data("label-text"),handleWidth:this.$element.data("handle-width"),labelWidth:this.$element.data("label-width"),baseClass:this.$element.data("base-class"),wrapperClass:this.$element.data("wrapper-class")},i);this.$wrapper=t("<div>",{"class":function(n){return function(){var t;return t=[""+n.options.baseClass].concat(n._getClasses(n.options.wrapperClass)),t.push(n.options.state?""+n.options.baseClass+"-on":""+n.options.baseClass+"-off"),null!=n.options.size&&t.push(""+n.options.baseClass+"-"+n.options.size),n.options.disabled&&t.push(""+n.options.baseClass+"-disabled"),n.options.readonly&&t.push(""+n.options.baseClass+"-readonly"),n.options.indeterminate&&t.push(""+n.options.baseClass+"-indeterminate"),n.options.inverse&&t.push(""+n.options.baseClass+"-inverse"),n.$element.attr("id")&&t.push(""+n.options.baseClass+"-id-"+n.$element.attr("id")),t.join(" ")}}(this)()});this.$container=t("<div>",{"class":""+this.options.baseClass+"-container"});this.$on=t("<span>",{html:this.options.onText,"class":""+this.options.baseClass+"-handle-on "+this.options.baseClass+"-"+this.options.onColor});this.$off=t("<span>",{html:this.options.offText,"class":""+this.options.baseClass+"-handle-off "+this.options.baseClass+"-"+this.options.offColor});this.$label=t("<span>",{html:this.options.labelText,"class":""+this.options.baseClass+"-label"});this.$element.on("init.bootstrapSwitch",function(t){return function(){return t.options.onInit.apply(n,arguments)}}(this));this.$element.on("switchChange.bootstrapSwitch",function(t){return function(){return t.options.onSwitchChange.apply(n,arguments)}}(this));this.$container=this.$element.wrap(this.$container).parent();this.$wrapper=this.$container.wrap(this.$wrapper).parent();this.$element.before(this.options.inverse?this.$off:this.$on).before(this.$label).before(this.options.inverse?this.$on:this.$off);this.options.indeterminate&&this.$element.prop("indeterminate",!0);this._init();this._elementHandlers();this._handleHandlers();this._labelHandlers();this._formHandler();this._externalLabelHandler();this.$element.trigger("init.bootstrapSwitch")}return n.prototype._constructor=n,n.prototype.state=function(n,t){return"undefined"==typeof n?this.options.state:this.options.disabled||this.options.readonly?this.$element:this.options.state&&!this.options.radioAllOff&&this.$element.is(":radio")?this.$element:(this.options.indeterminate&&this.indeterminate(!1),n=!!n,this.$element.prop("checked",n).trigger("change.bootstrapSwitch",t),this.$element)},n.prototype.toggleState=function(n){return this.options.disabled||this.options.readonly?this.$element:this.options.indeterminate?(this.indeterminate(!1),this.state(!0)):this.$element.prop("checked",!this.options.state).trigger("change.bootstrapSwitch",n)},n.prototype.size=function(n){return"undefined"==typeof n?this.options.size:(null!=this.options.size&&this.$wrapper.removeClass(""+this.options.baseClass+"-"+this.options.size),n&&this.$wrapper.addClass(""+this.options.baseClass+"-"+n),this._width(),this._containerPosition(),this.options.size=n,this.$element)},n.prototype.animate=function(n){return"undefined"==typeof n?this.options.animate:(n=!!n,n===this.options.animate?this.$element:this.toggleAnimate())},n.prototype.toggleAnimate=function(){return this.options.animate=!this.options.animate,this.$wrapper.toggleClass(""+this.options.baseClass+"-animate"),this.$element},n.prototype.disabled=function(n){return"undefined"==typeof n?this.options.disabled:(n=!!n,n===this.options.disabled?this.$element:this.toggleDisabled())},n.prototype.toggleDisabled=function(){return this.options.disabled=!this.options.disabled,this.$element.prop("disabled",this.options.disabled),this.$wrapper.toggleClass(""+this.options.baseClass+"-disabled"),this.$element},n.prototype.readonly=function(n){return"undefined"==typeof n?this.options.readonly:(n=!!n,n===this.options.readonly?this.$element:this.toggleReadonly())},n.prototype.toggleReadonly=function(){return this.options.readonly=!this.options.readonly,this.$element.prop("readonly",this.options.readonly),this.$wrapper.toggleClass(""+this.options.baseClass+"-readonly"),this.$element},n.prototype.indeterminate=function(n){return"undefined"==typeof n?this.options.indeterminate:(n=!!n,n===this.options.indeterminate?this.$element:this.toggleIndeterminate())},n.prototype.toggleIndeterminate=function(){return this.options.indeterminate=!this.options.indeterminate,this.$element.prop("indeterminate",this.options.indeterminate),this.$wrapper.toggleClass(""+this.options.baseClass+"-indeterminate"),this._containerPosition(),this.$element},n.prototype.inverse=function(n){return"undefined"==typeof n?this.options.inverse:(n=!!n,n===this.options.inverse?this.$element:this.toggleInverse())},n.prototype.toggleInverse=function(){var n,t;return this.$wrapper.toggleClass(""+this.options.baseClass+"-inverse"),t=this.$on.clone(!0),n=this.$off.clone(!0),this.$on.replaceWith(n),this.$off.replaceWith(t),this.$on=n,this.$off=t,this.options.inverse=!this.options.inverse,this.$element},n.prototype.onColor=function(n){var t;return t=this.options.onColor,"undefined"==typeof n?t:(null!=t&&this.$on.removeClass(""+this.options.baseClass+"-"+t),this.$on.addClass(""+this.options.baseClass+"-"+n),this.options.onColor=n,this.$element)},n.prototype.offColor=function(n){var t;return t=this.options.offColor,"undefined"==typeof n?t:(null!=t&&this.$off.removeClass(""+this.options.baseClass+"-"+t),this.$off.addClass(""+this.options.baseClass+"-"+n),this.options.offColor=n,this.$element)},n.prototype.onText=function(n){return"undefined"==typeof n?this.options.onText:(this.$on.html(n),this._width(),this._containerPosition(),this.options.onText=n,this.$element)},n.prototype.offText=function(n){return"undefined"==typeof n?this.options.offText:(this.$off.html(n),this._width(),this._containerPosition(),this.options.offText=n,this.$element)},n.prototype.labelText=function(n){return"undefined"==typeof n?this.options.labelText:(this.$label.html(n),this._width(),this.options.labelText=n,this.$element)},n.prototype.handleWidth=function(n){return"undefined"==typeof n?this.options.handleWidth:(this.options.handleWidth=n,this._width(),this._containerPosition(),this.$element)},n.prototype.labelWidth=function(n){return"undefined"==typeof n?this.options.labelWidth:(this.options.labelWidth=n,this._width(),this._containerPosition(),this.$element)},n.prototype.baseClass=function(){return this.options.baseClass},n.prototype.wrapperClass=function(n){return"undefined"==typeof n?this.options.wrapperClass:(n||(n=t.fn.bootstrapSwitch.defaults.wrapperClass),this.$wrapper.removeClass(this._getClasses(this.options.wrapperClass).join(" ")),this.$wrapper.addClass(this._getClasses(n).join(" ")),this.options.wrapperClass=n,this.$element)},n.prototype.radioAllOff=function(n){return"undefined"==typeof n?this.options.radioAllOff:(n=!!n,n===this.options.radioAllOff?this.$element:(this.options.radioAllOff=n,this.$element))},n.prototype.onInit=function(n){return"undefined"==typeof n?this.options.onInit:(n||(n=t.fn.bootstrapSwitch.defaults.onInit),this.options.onInit=n,this.$element)},n.prototype.onSwitchChange=function(n){return"undefined"==typeof n?this.options.onSwitchChange:(n||(n=t.fn.bootstrapSwitch.defaults.onSwitchChange),this.options.onSwitchChange=n,this.$element)},n.prototype.destroy=function(){var n;return n=this.$element.closest("form"),n.length&&n.off("reset.bootstrapSwitch").removeData("bootstrap-switch"),this.$container.children().not(this.$element).remove(),this.$element.unwrap().unwrap().off(".bootstrapSwitch").removeData("bootstrap-switch"),this.$element},n.prototype._width=function(){var t,n;return t=this.$on.add(this.$off),t.add(this.$label).css("width",""),n="auto"===this.options.handleWidth?Math.max(this.$on.width(),this.$off.width()):this.options.handleWidth,t.width(n),this.$label.width(function(t){return function(i,r){return"auto"!==t.options.labelWidth?t.options.labelWidth:n>r?n:r}}(this)),this._handleWidth=this.$on.outerWidth(),this._labelWidth=this.$label.outerWidth(),this.$container.width(2*this._handleWidth+this._labelWidth),this.$wrapper.width(this._handleWidth+this._labelWidth)},n.prototype._containerPosition=function(n,t){return null==n&&(n=this.options.state),this.$container.css("margin-left",function(t){return function(){var i;return i=[0,"-"+t._handleWidth+"px"],t.options.indeterminate?"-"+t._handleWidth/2+"px":n?t.options.inverse?i[1]:i[0]:t.options.inverse?i[0]:i[1]}}(this)),t?setTimeout(function(){return t()},50):void 0},n.prototype._init=function(){var n,t;return n=function(n){return function(){return n._width(),n._containerPosition(null,function(){if(n.options.animate)return n.$wrapper.addClass(""+n.options.baseClass+"-animate")})}}(this),this.$wrapper.is(":visible")?n():t=i.setInterval(function(r){return function(){if(r.$wrapper.is(":visible"))return n(),i.clearInterval(t)}}(this),50)},n.prototype._elementHandlers=function(){return this.$element.on({"change.bootstrapSwitch":function(n){return function(i,r){var u;return i.preventDefault(),i.stopImmediatePropagation(),u=n.$element.is(":checked"),n._containerPosition(u),u!==n.options.state?(n.options.state=u,n.$wrapper.toggleClass(""+n.options.baseClass+"-off").toggleClass(""+n.options.baseClass+"-on"),r?void 0:(n.$element.is(":radio")&&t("[name='"+n.$element.attr("name")+"']").not(n.$element).prop("checked",!1).trigger("change.bootstrapSwitch",!0),n.$element.trigger("switchChange.bootstrapSwitch",[u]))):void 0}}(this),"focus.bootstrapSwitch":function(n){return function(t){return t.preventDefault(),n.$wrapper.addClass(""+n.options.baseClass+"-focused")}}(this),"blur.bootstrapSwitch":function(n){return function(t){return t.preventDefault(),n.$wrapper.removeClass(""+n.options.baseClass+"-focused")}}(this),"keydown.bootstrapSwitch":function(n){return function(t){if(t.which&&!n.options.disabled&&!n.options.readonly)switch(t.which){case 37:return t.preventDefault(),t.stopImmediatePropagation(),n.state(!1);case 39:return t.preventDefault(),t.stopImmediatePropagation(),n.state(!0)}}}(this)})},n.prototype._handleHandlers=function(){return this.$on.on("click.bootstrapSwitch",function(n){return function(t){return t.preventDefault(),t.stopPropagation(),n.state(!1),n.$element.trigger("focus.bootstrapSwitch")}}(this)),this.$off.on("click.bootstrapSwitch",function(n){return function(t){return t.preventDefault(),t.stopPropagation(),n.state(!0),n.$element.trigger("focus.bootstrapSwitch")}}(this))},n.prototype._labelHandlers=function(){return this.$label.on({"mousedown.bootstrapSwitch touchstart.bootstrapSwitch":function(n){return function(t){if(!n._dragStart&&!n.options.disabled&&!n.options.readonly)return t.preventDefault(),t.stopPropagation(),n._dragStart=(t.pageX||t.originalEvent.touches[0].pageX)-parseInt(n.$container.css("margin-left"),10),n.options.animate&&n.$wrapper.removeClass(""+n.options.baseClass+"-animate"),n.$element.trigger("focus.bootstrapSwitch")}}(this),"mousemove.bootstrapSwitch touchmove.bootstrapSwitch":function(n){return function(t){var i;if(null!=n._dragStart&&(t.preventDefault(),i=(t.pageX||t.originalEvent.touches[0].pageX)-n._dragStart,!(i<-n._handleWidth||i>0)))return n._dragEnd=i,n.$container.css("margin-left",""+n._dragEnd+"px")}}(this),"mouseup.bootstrapSwitch touchend.bootstrapSwitch":function(n){return function(t){var i;if(n._dragStart)return t.preventDefault(),n.options.animate&&n.$wrapper.addClass(""+n.options.baseClass+"-animate"),n._dragEnd?(i=n._dragEnd>-(n._handleWidth/2),n._dragEnd=!1,n.state(n.options.inverse?!i:i)):n.state(!n.options.state),n._dragStart=!1}}(this),"mouseleave.bootstrapSwitch":function(n){return function(){return n.$label.trigger("mouseup.bootstrapSwitch")}}(this)})},n.prototype._externalLabelHandler=function(){var n;return n=this.$element.closest("label"),n.on("click",function(t){return function(i){return i.preventDefault(),i.stopImmediatePropagation(),i.target===n[0]?t.toggleState():void 0}}(this))},n.prototype._formHandler=function(){var n;return n=this.$element.closest("form"),n.data("bootstrap-switch")?void 0:n.on("reset.bootstrapSwitch",function(){return i.setTimeout(function(){return n.find("input").filter(function(){return t(this).data("bootstrap-switch")}).each(function(){return t(this).bootstrapSwitch("state",this.checked)})},1)}).data("bootstrap-switch",!0)},n.prototype._getClasses=function(n){var u,r,i,f;if(!t.isArray(n))return[""+this.options.baseClass+"-"+n];for(r=[],i=0,f=n.length;f>i;i++)u=n[i],r.push(""+this.options.baseClass+"-"+u);return r},n}(),t.fn.bootstrapSwitch=function(){var f,i,u;return i=arguments[0],f=2<=arguments.length?n.call(arguments,1):[],u=this,this.each(function(){var e,n;return e=t(this),n=e.data("bootstrap-switch"),n||e.data("bootstrap-switch",n=new r(this,i)),"string"==typeof i?u=n[i].apply(n,f):void 0}),u},t.fn.bootstrapSwitch.Constructor=r,t.fn.bootstrapSwitch.defaults={state:!0,size:null,animate:!0,disabled:!1,readonly:!1,indeterminate:!1,inverse:!1,radioAllOff:!1,onColor:"primary",offColor:"default",onText:"ON",offText:"OFF",labelText:"&nbsp;",handleWidth:"auto",labelWidth:"auto",baseClass:"bootstrap-switch",wrapperClass:"wrapper",onInit:function(){},onSwitchChange:function(){}}}(window.jQuery,window)}.call(this);+function(n){"use strict";var r=window.navigator.appName=="Microsoft Internet Explorer",t=function(t,i){if(this.$element=n(t),this.$input=this.$element.find(":file"),this.$input.length!==0){this.name=this.$input.attr("name")||i.name;this.$hidden=this.$element.find('input[type=hidden][name="'+this.name+'"]');this.$hidden.length===0&&(this.$hidden=n('<input type="hidden">').insertBefore(this.$input));this.$preview=this.$element.find(".fileinput-preview");var r=this.$preview.css("height");this.$preview.css("display")!=="inline"&&r!=="0px"&&r!=="none"&&this.$preview.css("line-height",r);this.original={exists:this.$element.hasClass("fileinput-exists"),preview:this.$preview.html(),hiddenVal:this.$hidden.val()};this.listen()}},i;t.prototype.listen=function(){this.$input.on("change.bs.fileinput",n.proxy(this.change,this));n(this.$input[0].form).on("reset.bs.fileinput",n.proxy(this.reset,this));this.$element.find('[data-trigger="fileinput"]').on("click.bs.fileinput",n.proxy(this.trigger,this));this.$element.find('[data-dismiss="fileinput"]').on("click.bs.fileinput",n.proxy(this.clear,this))};t.prototype.change=function(t){var u=t.target.files===undefined?t.target&&t.target.value?[{name:t.target.value.replace(/^.+\\/,"")}]:[]:t.target.files,i;if(t.stopPropagation(),u.length===0){this.clear();return}if(this.$hidden.val(""),this.$hidden.attr("name",""),this.$input.attr("name",this.name),i=u[0],this.$preview.length>0&&(typeof i.type!="undefined"?i.type.match(/^image\/(gif|png|jpeg)$/):i.name.match(/\.(gif|png|jpe?g)$/i))&&typeof FileReader!="undefined"){var e=new FileReader,r=this.$preview,f=this.$element;e.onload=function(t){var e=n("<img>");e[0].src=t.target.result;u[0].result=t.target.result;f.find(".fileinput-filename").text(i.name);r.css("max-height")!="none"&&e.css("max-height",parseInt(r.css("max-height"),10)-parseInt(r.css("padding-top"),10)-parseInt(r.css("padding-bottom"),10)-parseInt(r.css("border-top"),10)-parseInt(r.css("border-bottom"),10));r.html(e);f.addClass("fileinput-exists").removeClass("fileinput-new");f.trigger("change.bs.fileinput",u)};e.readAsDataURL(i)}else this.$element.find(".fileinput-filename").text(i.name),this.$preview.text(i.name),this.$element.addClass("fileinput-exists").removeClass("fileinput-new"),this.$element.trigger("change.bs.fileinput")};t.prototype.clear=function(n){if(n&&n.preventDefault(),this.$hidden.val(""),this.$hidden.attr("name",this.name),this.$input.attr("name",""),r){var t=this.$input.clone(!0);this.$input.after(t);this.$input.remove();this.$input=t}else this.$input.val("");this.$preview.html("");this.$element.find(".fileinput-filename").text("");this.$element.addClass("fileinput-new").removeClass("fileinput-exists");n!==undefined&&(this.$input.trigger("change"),this.$element.trigger("clear.bs.fileinput"))};t.prototype.reset=function(){this.clear();this.$hidden.val(this.original.hiddenVal);this.$preview.html(this.original.preview);this.$element.find(".fileinput-filename").text("");this.original.exists?this.$element.addClass("fileinput-exists").removeClass("fileinput-new"):this.$element.addClass("fileinput-new").removeClass("fileinput-exists");this.$element.trigger("reset.bs.fileinput")};t.prototype.trigger=function(n){this.$input.trigger("click");n.preventDefault()};i=n.fn.fileinput;n.fn.fileinput=function(i){return this.each(function(){var u=n(this),r=u.data("bs.fileinput");r||u.data("bs.fileinput",r=new t(this,i));typeof i=="string"&&r[i]()})};n.fn.fileinput.Constructor=t;n.fn.fileinput.noConflict=function(){return n.fn.fileinput=i,this};n(document).on("click.fileinput.data-api",'[data-provides="fileinput"]',function(t){var i=n(this),r;i.data("bs.fileinput")||(i.fileinput(i.data()),r=n(t.target).closest('[data-dismiss="fileinput"],[data-trigger="fileinput"]'),r.length>0&&(t.preventDefault(),r.trigger("click.bs.fileinput")))})}(window.jQuery);var imageHelpers=function(){var n=function(n){switch(n){case 8:return 270;case 3:return 180;case 6:return 90;default:return 0}},t=function(n){switch(n){case 8:return!0;case 3:return!1;case 6:return!0;default:return!1}};return{orientationToRotation:n,swapsWidthAndHeight:t,updateOrientation:function(i){EXIF.getData(i,function(){var r=EXIF.getTag(this,"Orientation"),u,f,e;t(r)&&(u=$(i).css("height"),$(i).css("max-width",u));f=n(r);e="rotate("+f+"deg)";$(i).css("transform",e)})}}}();(function(){function r(n){return!!n.exifdata}function h(n,t){var i;t=t||n.match(/^data\:([^\;]+)\;base64,/mi)[1]||"";n=n.replace(/^data\:([^\;]+)\;base64,/gmi,"");var r=atob(n),u=r.length,f=new ArrayBuffer(u),e=new Uint8Array(f);for(i=0;i<u;i++)e[i]=r.charCodeAt(i);return f}function c(n,t){var i=new XMLHttpRequest;i.open("GET",n,!0);i.responseType="blob";i.onload=function(){(this.status==200||this.status===0)&&t(this.response)};i.send()}function l(n,t){function f(i){var r=s(i),u=a(i);n.exifdata=r||{};n.iptcdata=u||{};t&&t.call(n)}var e,r,u;n.src?/^data\:/i.test(n.src)?(e=h(n.src),f(e)):/^blob\:/i.test(n.src)?(u=new FileReader,u.onload=function(n){f(n.target.result)},c(n.src,function(n){u.readAsArrayBuffer(n)})):(r=new XMLHttpRequest,r.onload=function(){if(this.status==200||this.status===0)f(r.response);else throw"Could not load image";r=null},r.open("GET",n.src,!0),r.responseType="arraybuffer",r.send(null)):window.FileReader&&(n instanceof window.Blob||n instanceof window.File)&&(u=new FileReader,u.onload=function(n){i&&console.log("Got file of length "+n.target.result.byteLength);f(n.target.result)},u.readAsArrayBuffer(n))}function s(n){var r=new DataView(n),t,f,u;if(i&&console.log("Got file of length "+n.byteLength),r.getUint8(0)!=255||r.getUint8(1)!=216)return i&&console.log("Not a valid JPEG"),!1;for(t=2,f=n.byteLength;t<f;){if(r.getUint8(t)!=255)return i&&console.log("Not a valid marker at offset "+t+", found: "+r.getUint8(t)),!1;if(u=r.getUint8(t+1),i&&console.log(u),u==225)return i&&console.log("Found 0xFFE1 marker"),p(r,t+4,r.getUint16(t+2)-2);t+=2+r.getUint16(t+2)}}function a(n){var u=new DataView(n),t,f,e;if(i&&console.log("Got file of length "+n.byteLength),u.getUint8(0)!=255||u.getUint8(1)!=216)return i&&console.log("Not a valid JPEG"),!1;for(var r=2,o=n.byteLength,s=function(n,t){return n.getUint8(t)===56&&n.getUint8(t+1)===66&&n.getUint8(t+2)===73&&n.getUint8(t+3)===77&&n.getUint8(t+4)===4&&n.getUint8(t+5)===4};r<o;){if(s(u,r))return t=u.getUint8(r+7),t%2!=0&&(t+=1),t===0&&(t=4),f=r+8+t,e=u.getUint16(r+6+t),v(n,f,e);r++}}function v(n,t,i){for(var s=new DataView(n),r={},h,u,c,l,a,e=t;e<t+i;)s.getUint8(e)===28&&s.getUint8(e+1)===2&&(l=s.getUint8(e+2),l in o&&(c=s.getInt16(e+3),a=c+5,u=o[l],h=f(s,e+5,c),r.hasOwnProperty(u)?r[u]instanceof Array?r[u].push(h):r[u]=[r[u],h]:r[u]=h)),e++;return r}function e(n,t,r,u,f){for(var c=n.getUint16(r,!f),h={},e,o,s=0;s<c;s++)e=r+s*12+2,o=u[n.getUint16(e,!f)],!o&&i&&console.log("Unknown tag: "+n.getUint16(e,!f)),h[o]=y(n,e,t,r,f);return h}function y(n,t,i,r,u){var y=n.getUint16(t+2,!u),s=n.getUint32(t+4,!u),h=n.getUint32(t+8,!u)+i,c,o,v,e,l,a;switch(y){case 1:case 7:if(s==1)return n.getUint8(t+8,!u);for(c=s>4?h:t+8,o=[],e=0;e<s;e++)o[e]=n.getUint8(c+e);return o;case 2:return c=s>4?h:t+8,f(n,c,s-1);case 3:if(s==1)return n.getUint16(t+8,!u);for(c=s>2?h:t+8,o=[],e=0;e<s;e++)o[e]=n.getUint16(c+2*e,!u);return o;case 4:if(s==1)return n.getUint32(t+8,!u);for(o=[],e=0;e<s;e++)o[e]=n.getUint32(h+4*e,!u);return o;case 5:if(s==1)return l=n.getUint32(h,!u),a=n.getUint32(h+4,!u),v=new Number(l/a),v.numerator=l,v.denominator=a,v;for(o=[],e=0;e<s;e++)l=n.getUint32(h+8*e,!u),a=n.getUint32(h+4+8*e,!u),o[e]=new Number(l/a),o[e].numerator=l,o[e].denominator=a;return o;case 9:if(s==1)return n.getInt32(t+8,!u);for(o=[],e=0;e<s;e++)o[e]=n.getInt32(h+4*e,!u);return o;case 10:if(s==1)return n.getInt32(h,!u)/n.getInt32(h+4,!u);for(o=[],e=0;e<s;e++)o[e]=n.getInt32(h+8*e,!u)/n.getInt32(h+4+8*e,!u);return o}}function f(t,i,r){var u="";for(n=i;n<i+r;n++)u+=String.fromCharCode(t.getUint8(n));return u}function p(n,t){var h,c,r,o,l,s,a;if(f(n,t,4)!="Exif")return i&&console.log("Not valid EXIF data! "+f(n,t,4)),!1;if(s=t+6,n.getUint16(s)==18761)h=!1;else if(n.getUint16(s)==19789)h=!0;else return i&&console.log("Not valid TIFF data! (no 0x4949 or 0x4D4D)"),!1;if(n.getUint16(s+2,!h)!=42)return i&&console.log("Not valid TIFF data! (no 0x002A)"),!1;if(a=n.getUint32(s+4,!h),a<8)return i&&console.log("Not valid TIFF data! (First offset less than 8)",n.getUint32(s+4,!h)),!1;if(c=e(n,s,s+a,k,h),c.ExifIFDPointer){o=e(n,s,s+c.ExifIFDPointer,b,h);for(r in o){switch(r){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":o[r]=u[r][o[r]];break;case"ExifVersion":case"FlashpixVersion":o[r]=String.fromCharCode(o[r][0],o[r][1],o[r][2],o[r][3]);break;case"ComponentsConfiguration":o[r]=u.Components[o[r][0]]+u.Components[o[r][1]]+u.Components[o[r][2]]+u.Components[o[r][3]]}c[r]=o[r]}}if(c.GPSInfoIFDPointer){l=e(n,s,s+c.GPSInfoIFDPointer,d,h);for(r in l){switch(r){case"GPSVersionID":l[r]=l[r][0]+"."+l[r][1]+"."+l[r][2]+"."+l[r][3]}c[r]=l[r]}}return c}var i=!1,w=this,t=function(n){if(n instanceof t)return n;if(!(this instanceof t))return new t(n);this.EXIFwrapped=n},o;typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=t),exports.EXIF=t):w.EXIF=t;var b=t.Tags={36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubsecTime",37521:"SubsecTimeOriginal",37522:"SubsecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:"OECF",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRation",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",40965:"InteroperabilityIFDPointer",42016:"ImageUniqueID"},k=t.TiffTags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright"},d=t.GPSTags={0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential"},u=t.StringValues={ExposureProgram:{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},Components:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}};o={120:"caption",110:"credit",25:"keywords",55:"dateCreated",80:"byline",85:"bylineTitle",122:"captionWriter",105:"headline",116:"copyright",15:"category"};t.getData=function(n,t){return(n instanceof Image||n instanceof HTMLImageElement)&&!n.complete?!1:(r(n)?t&&t.call(n):l(n,t),!0)};t.getTag=function(n,t){if(r(n))return n.exifdata[t]};t.getIptcTag=function(n,t){if(r(n))return n.iptcdata[t]};t.getAllTags=function(n){if(!r(n))return{};var t,i=n.exifdata,u={};for(t in i)i.hasOwnProperty(t)&&(u[t]=i[t]);return u};t.getAllIptcTags=function(n){if(!r(n))return{};var t,i=n.iptcdata,u={};for(t in i)i.hasOwnProperty(t)&&(u[t]=i[t]);return u};t.pretty=function(n){if(!r(n))return"";var t,i=n.exifdata,u="";for(t in i)i.hasOwnProperty(t)&&(u+=typeof i[t]=="object"?i[t]instanceof Number?t+" : "+i[t]+" ["+i[t].numerator+"/"+i[t].denominator+"]\r\n":t+" : ["+i[t].length+" values]\r\n":t+" : "+i[t]+"\r\n");return u};t.readFromBinaryFile=function(n){return s(n)};typeof define=="function"&&define.amd&&define("exif-js",[],function(){return t})}).call(this);!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.moment=t()}(this,function(){"use strict";function t(){return ve.apply(null,arguments)}function vo(n){ve=n}function ct(n){return n instanceof Array||"[object Array]"===Object.prototype.toString.call(n)}function vi(n){return"[object Object]"===Object.prototype.toString.call(n)}function yo(n){for(var t in n)return!1;return!0}function yi(n){return n instanceof Date||"[object Date]"===Object.prototype.toString.call(n)}function gu(n,t){for(var r=[],i=0;i<n.length;++i)r.push(t(n[i],i));return r}function l(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function lt(n,t){for(var i in t)l(t,i)&&(n[i]=t[i]);return l(t,"toString")&&(n.toString=t.toString),l(t,"valueOf")&&(n.valueOf=t.valueOf),n}function rt(n,t,i,r){return kf(n,t,i,r,!0).utc()}function po(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function u(n){return null==n._pf&&(n._pf=po()),n._pf}function cr(n){if(null==n._isValid){var t=u(n),i=ye.call(t.parsedDateParts,function(n){return null!=n});n._isValid=!isNaN(n._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);n._strict&&(n._isValid=n._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return n._isValid}function pi(n){var t=rt(NaN);return null!=n?lt(u(t),n):u(t).userInvalidated=!0,t}function b(n){return void 0===n}function lr(n,t){var f,i,r;if(b(t._isAMomentObject)||(n._isAMomentObject=t._isAMomentObject),b(t._i)||(n._i=t._i),b(t._f)||(n._f=t._f),b(t._l)||(n._l=t._l),b(t._strict)||(n._strict=t._strict),b(t._tzm)||(n._tzm=t._tzm),b(t._isUTC)||(n._isUTC=t._isUTC),b(t._offset)||(n._offset=t._offset),b(t._pf)||(n._pf=u(t)),b(t._locale)||(n._locale=t._locale),lu.length>0)for(f in lu)i=lu[f],r=t[i],b(r)||(n[i]=r);return n}function oi(n){lr(this,n);this._d=new Date(null!=n._d?n._d.getTime():NaN);au===!1&&(au=!0,t.updateOffset(this),au=!1)}function at(n){return n instanceof oi||null!=n&&null!=n._isAMomentObject}function k(n){return n<0?Math.ceil(n)||0:Math.floor(n)}function f(n){var t=+n,i=0;return 0!==t&&isFinite(t)&&(i=k(t)),i}function nf(n,t,i){for(var e=Math.min(n.length,t.length),o=Math.abs(n.length-t.length),u=0,r=0;r<e;r++)(i&&n[r]!==t[r]||!i&&f(n[r])!==f(t[r]))&&u++;return u+o}function tf(n){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+n)}function d(n,i){var r=!0;return lt(function(){return null!=t.deprecationHandler&&t.deprecationHandler(null,n),r&&(tf(n+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),r=!1),i.apply(this,arguments)},i)}function ar(n,i){null!=t.deprecationHandler&&t.deprecationHandler(n,i);uo[n]||(tf(i),uo[n]=!0)}function ft(n){return n instanceof Function||"[object Function]"===Object.prototype.toString.call(n)}function wo(n){var t;for(var i in n)t=n[i],ft(t)?this[i]=t:this["_"+i]=t;this._config=n;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function rf(n,t){var i,r=lt({},n);for(i in t)l(t,i)&&(vi(n[i])&&vi(t[i])?(r[i]={},lt(r[i],n[i]),lt(r[i],t[i])):null!=t[i]?r[i]=t[i]:delete r[i]);for(i in n)l(n,i)&&!l(t,i)&&vi(n[i])&&(r[i]=lt({},r[i]));return r}function vr(n){null!=n&&this.set(n)}function bo(n,t,i){var r=this._calendar[n]||this._calendar.sameElse;return ft(r)?r.call(t,i):r}function ko(n){var t=this._longDateFormat[n],i=this._longDateFormat[n.toUpperCase()];return t||!i?t:(this._longDateFormat[n]=i.replace(/MMMM|MM|DD|dddd/g,function(n){return n.slice(1)}),this._longDateFormat[n])}function go(){return this._invalidDate}function ns(n){return this._ordinal.replace("%d",n)}function ts(n,t,i,r){var u=this._relativeTime[i];return ft(u)?u(n,t,i,r):u.replace(/%d/i,n)}function is(n,t){var i=this._relativeTime[n>0?"future":"past"];return ft(i)?i(t):i.replace(/%s/i,t)}function p(n,t){var i=n.toLowerCase();li[i]=li[i+"s"]=li[t]=n}function g(n){if("string"==typeof n)return li[n]||li[n.toLowerCase()]}function yr(n){var i,t,r={};for(t in n)l(n,t)&&(i=g(t),i&&(r[i]=n[t]));return r}function w(n,t){fo[n]=t}function rs(n){var t=[];for(var i in n)t.push({unit:i,priority:fo[i]});return t.sort(function(n,t){return n.priority-t.priority}),t}function ri(n,i){return function(r){return null!=r?(uf(this,n,r),t.updateOffset(this,i),this):wi(this,n)}}function wi(n,t){return n.isValid()?n._d["get"+(n._isUTC?"UTC":"")+t]():NaN}function uf(n,t,i){n.isValid()&&n._d["set"+(n._isUTC?"UTC":"")+t](i)}function us(n){return n=g(n),ft(this[n])?this[n]():this}function fs(n,t){if("object"==typeof n){n=yr(n);for(var r=rs(n),i=0;i<r.length;i++)this[r[i].unit](n[r[i].unit])}else if(n=g(n),ft(this[n]))return this[n](t);return this}function et(n,t,i){var r=""+Math.abs(n),u=t-r.length,f=n>=0;return(f?i?"+":"":"-")+Math.pow(10,Math.max(0,u)).toString().substr(1)+r}function r(n,t,i,r){var u=r;"string"==typeof r&&(u=function(){return this[r]()});n&&(ei[n]=u);t&&(ei[t[0]]=function(){return et(u.apply(this,arguments),t[1],t[2])});i&&(ei[i]=function(){return this.localeData().ordinal(u.apply(this,arguments),n)})}function es(n){return n.match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"")}function os(n){for(var t=n.match(eo),i=0,r=t.length;i<r;i++)t[i]=ei[t[i]]?ei[t[i]]:es(t[i]);return function(i){for(var f="",u=0;u<r;u++)f+=t[u]instanceof Function?t[u].call(i,n):t[u];return f}}function pr(n,t){return n.isValid()?(t=ff(t,n.localeData()),vu[t]=vu[t]||os(t),vu[t](n)):n.localeData().invalidDate()}function ff(n,t){function r(n){return t.longDateFormat(n)||n}var i=5;for(ir.lastIndex=0;i>=0&&ir.test(n);)n=n.replace(ir,r),ir.lastIndex=0,i-=1;return n}function i(n,t,i){wu[n]=ft(t)?t:function(n){return n&&i?i:t}}function ss(n,t){return l(wu,n)?wu[n](t._strict,t._locale):new RegExp(hs(n))}function hs(n){return dt(n.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(n,t,i,r,u){return t||i||r||u}))}function dt(n){return n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function s(n,t){var i,r=t;for("string"==typeof n&&(n=[n]),"number"==typeof t&&(r=function(n,i){i[t]=f(n)}),i=0;i<n.length;i++)bu[n[i]]=r}function si(n,t){s(n,function(n,i,r,u){r._w=r._w||{};t(n,r._w,r,u)})}function cs(n,t,i){null!=t&&l(bu,n)&&bu[n](t,i._a,i,n)}function wr(n,t){return new Date(Date.UTC(n,t+1,0)).getUTCDate()}function ls(n,t){return ct(this._months)?this._months[n.month()]:this._months[(this._months.isFormat||lo).test(t)?"format":"standalone"][n.month()]}function as(n,t){return ct(this._monthsShort)?this._monthsShort[n.month()]:this._monthsShort[lo.test(t)?"format":"standalone"][n.month()]}function vs(n,t,i){var u,r,e,f=n.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],u=0;u<12;++u)e=rt([2e3,u]),this._shortMonthsParse[u]=this.monthsShort(e,"").toLocaleLowerCase(),this._longMonthsParse[u]=this.months(e,"").toLocaleLowerCase();return i?"MMM"===t?(r=v.call(this._shortMonthsParse,f),r!==-1?r:null):(r=v.call(this._longMonthsParse,f),r!==-1?r:null):"MMM"===t?(r=v.call(this._shortMonthsParse,f),r!==-1?r:(r=v.call(this._longMonthsParse,f),r!==-1?r:null)):(r=v.call(this._longMonthsParse,f),r!==-1?r:(r=v.call(this._shortMonthsParse,f),r!==-1?r:null))}function ys(n,t,i){var r,u,f;if(this._monthsParseExact)return vs.call(this,n,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if((u=rt([2e3,r]),i&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(u,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(u,"").replace(".","")+"$","i")),i||this._monthsParse[r]||(f="^"+this.months(u,"")+"|^"+this.monthsShort(u,""),this._monthsParse[r]=new RegExp(f.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[r].test(n))||i&&"MMM"===t&&this._shortMonthsParse[r].test(n)||!i&&this._monthsParse[r].test(n))return r}function ef(n,t){var i;if(!n.isValid())return n;if("string"==typeof t)if(/^\d+$/.test(t))t=f(t);else if(t=n.localeData().monthsParse(t),"number"!=typeof t)return n;return i=Math.min(n.date(),wr(n.year(),t)),n._d["set"+(n._isUTC?"UTC":"")+"Month"](t,i),n}function of(n){return null!=n?(ef(this,n),t.updateOffset(this,!0),this):wi(this,"Month")}function ps(){return wr(this.year(),this.month())}function ws(n){return this._monthsParseExact?(l(this,"_monthsRegex")||sf.call(this),n?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=uy),this._monthsShortStrictRegex&&n?this._monthsShortStrictRegex:this._monthsShortRegex)}function bs(n){return this._monthsParseExact?(l(this,"_monthsRegex")||sf.call(this),n?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=fy),this._monthsStrictRegex&&n?this._monthsStrictRegex:this._monthsRegex)}function sf(){function f(n,t){return t.length-n.length}for(var i,r=[],u=[],t=[],n=0;n<12;n++)i=rt([2e3,n]),r.push(this.monthsShort(i,"")),u.push(this.months(i,"")),t.push(this.months(i,"")),t.push(this.monthsShort(i,""));for(r.sort(f),u.sort(f),t.sort(f),n=0;n<12;n++)r[n]=dt(r[n]),u[n]=dt(u[n]);for(n=0;n<24;n++)t[n]=dt(t[n]);this._monthsRegex=new RegExp("^("+t.join("|")+")","i");this._monthsShortRegex=this._monthsRegex;this._monthsStrictRegex=new RegExp("^("+u.join("|")+")","i");this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function hi(n){return hf(n)?366:365}function hf(n){return n%4==0&&n%100!=0||n%400==0}function ks(){return hf(this.year())}function ds(n,t,i,r,u,f,e){var o=new Date(n,t,i,r,u,f,e);return n<100&&n>=0&&isFinite(o.getFullYear())&&o.setFullYear(n),o}function bi(n){var t=new Date(Date.UTC.apply(null,arguments));return n<100&&n>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(n),t}function ki(n,t,i){var r=7+t-i,u=(7+bi(n,0,r).getUTCDay()-t)%7;return-u+r-1}function cf(n,t,i,r,u){var f,o,s=(7+i-r)%7,h=ki(n,r,u),e=1+7*(t-1)+s+h;return e<=0?(f=n-1,o=hi(f)+e):e>hi(n)?(f=n+1,o=e-hi(n)):(f=n,o=e),{year:f,dayOfYear:o}}function ci(n,t,i){var f,r,e=ki(n.year(),t,i),u=Math.floor((n.dayOfYear()-e-1)/7)+1;return u<1?(r=n.year()-1,f=u+gt(r,t,i)):u>gt(n.year(),t,i)?(f=u-gt(n.year(),t,i),r=n.year()+1):(r=n.year(),f=u),{week:f,year:r}}function gt(n,t,i){var r=ki(n,t,i),u=ki(n+1,t,i);return(hi(n)-r+u)/7}function gs(n){return ci(n,this._week.dow,this._week.doy).week}function nh(){return this._week.dow}function th(){return this._week.doy}function ih(n){var t=this.localeData().week(this);return null==n?t:this.add(7*(n-t),"d")}function rh(n){var t=ci(this,1,4).week;return null==n?t:this.add(7*(n-t),"d")}function uh(n,t){return"string"!=typeof n?n:isNaN(n)?(n=t.weekdaysParse(n),"number"==typeof n?n:null):parseInt(n,10)}function fh(n,t){return"string"==typeof n?t.weekdaysParse(n)%7||7:isNaN(n)?null:n}function eh(n,t){return ct(this._weekdays)?this._weekdays[n.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][n.day()]}function oh(n){return this._weekdaysShort[n.day()]}function sh(n){return this._weekdaysMin[n.day()]}function hh(n,t,i){var f,r,e,u=n.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],f=0;f<7;++f)e=rt([2e3,1]).day(f),this._minWeekdaysParse[f]=this.weekdaysMin(e,"").toLocaleLowerCase(),this._shortWeekdaysParse[f]=this.weekdaysShort(e,"").toLocaleLowerCase(),this._weekdaysParse[f]=this.weekdays(e,"").toLocaleLowerCase();return i?"dddd"===t?(r=v.call(this._weekdaysParse,u),r!==-1?r:null):"ddd"===t?(r=v.call(this._shortWeekdaysParse,u),r!==-1?r:null):(r=v.call(this._minWeekdaysParse,u),r!==-1?r:null):"dddd"===t?(r=v.call(this._weekdaysParse,u),r!==-1?r:(r=v.call(this._shortWeekdaysParse,u),r!==-1?r:(r=v.call(this._minWeekdaysParse,u),r!==-1?r:null))):"ddd"===t?(r=v.call(this._shortWeekdaysParse,u),r!==-1?r:(r=v.call(this._weekdaysParse,u),r!==-1?r:(r=v.call(this._minWeekdaysParse,u),r!==-1?r:null))):(r=v.call(this._minWeekdaysParse,u),r!==-1?r:(r=v.call(this._weekdaysParse,u),r!==-1?r:(r=v.call(this._shortWeekdaysParse,u),r!==-1?r:null)))}function ch(n,t,i){var r,u,f;if(this._weekdaysParseExact)return hh.call(this,n,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if((u=rt([2e3,1]).day(r),i&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(u,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(u,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(u,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(f="^"+this.weekdays(u,"")+"|^"+this.weekdaysShort(u,"")+"|^"+this.weekdaysMin(u,""),this._weekdaysParse[r]=new RegExp(f.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[r].test(n))||i&&"ddd"===t&&this._shortWeekdaysParse[r].test(n)||i&&"dd"===t&&this._minWeekdaysParse[r].test(n)||!i&&this._weekdaysParse[r].test(n))return r}function lh(n){if(!this.isValid())return null!=n?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=n?(n=uh(n,this.localeData()),this.add(n-t,"d")):t}function ah(n){if(!this.isValid())return null!=n?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==n?t:this.add(n-t,"d")}function vh(n){if(!this.isValid())return null!=n?this:NaN;if(null!=n){var t=fh(n,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function yh(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||br.call(this),n?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=hy),this._weekdaysStrictRegex&&n?this._weekdaysStrictRegex:this._weekdaysRegex)}function ph(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||br.call(this),n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=cy),this._weekdaysShortStrictRegex&&n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function wh(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||br.call(this),n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ly),this._weekdaysMinStrictRegex&&n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function br(){function u(n,t){return t.length-n.length}for(var f,e,o,s,h=[],i=[],r=[],t=[],n=0;n<7;n++)f=rt([2e3,1]).day(n),e=this.weekdaysMin(f,""),o=this.weekdaysShort(f,""),s=this.weekdays(f,""),h.push(e),i.push(o),r.push(s),t.push(e),t.push(o),t.push(s);for(h.sort(u),i.sort(u),r.sort(u),t.sort(u),n=0;n<7;n++)i[n]=dt(i[n]),r[n]=dt(r[n]),t[n]=dt(t[n]);this._weekdaysRegex=new RegExp("^("+t.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+h.join("|")+")","i")}function kr(){return this.hours()%12||12}function bh(){return this.hours()||24}function lf(n,t){r(n,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function af(n,t){return t._meridiemParse}function kh(n){return"p"===(n+"").toLowerCase().charAt(0)}function dh(n,t,i){return n>11?i?"pm":"PM":i?"am":"AM"}function vf(n){return n?n.toLowerCase().replace("_","-"):n}function gh(n){for(var i,t,f,r,u=0;u<n.length;){for(r=vf(n[u]).split("-"),i=r.length,t=vf(n[u+1]),t=t?t.split("-"):null;i>0;){if(f=yf(r.slice(0,i).join("-")))return f;if(t&&t.length>=i&&nf(r,t,!0)>=i-1)break;i--}u++}return null}function yf(n){var t=null;if(!a[n]&&"undefined"!=typeof module&&module&&module.exports)try{t=sr._abbr;require("./locale/"+n);ui(t)}catch(i){}return a[n]}function ui(n,t){var i;return n&&(i=b(t)?vt(n):pf(n,t),i&&(sr=i)),sr._abbr}function pf(n,t){if(null!==t){var i=ao;return t.abbr=n,null!=a[n]?(ar("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."),i=a[n]._config):null!=t.parentLocale&&(null!=a[t.parentLocale]?i=a[t.parentLocale]._config:ar("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),a[n]=new vr(rf(i,t)),ui(n),a[n]}return delete a[n],null}function nc(n,t){if(null!=t){var i,r=ao;null!=a[n]&&(r=a[n]._config);t=rf(r,t);i=new vr(t);i.parentLocale=a[n];a[n]=i;ui(n)}else null!=a[n]&&(null!=a[n].parentLocale?a[n]=a[n].parentLocale:null!=a[n]&&delete a[n]);return a[n]}function vt(n){var t;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return sr;if(!ct(n)){if(t=yf(n))return t;n=[n]}return gh(n)}function tc(){return pe(a)}function dr(n){var i,t=n._a;return t&&u(n).overflow===-2&&(i=t[ot]<0||t[ot]>11?ot:t[ut]<1||t[ut]>wr(t[tt],t[ot])?ut:t[y]<0||t[y]>24||24===t[y]&&(0!==t[it]||0!==t[st]||0!==t[ii])?y:t[it]<0||t[it]>59?it:t[st]<0||t[st]>59?st:t[ii]<0||t[ii]>999?ii:-1,u(n)._overflowDayOfYear&&(i<tt||i>ut)&&(i=ut),u(n)._overflowWeeks&&i===-1&&(i=ny),u(n)._overflowWeekday&&i===-1&&(i=ty),u(n).overflow=i),n}function wf(n){var t,r,o,e,f,s,h=n._i,i=vy.exec(h)||yy.exec(h);if(i){for(u(n).iso=!0,t=0,r=hr.length;t<r;t++)if(hr[t][1].exec(i[1])){e=hr[t][0];o=hr[t][2]!==!1;break}if(null==e)return void(n._isValid=!1);if(i[3]){for(t=0,r=ku.length;t<r;t++)if(ku[t][1].exec(i[3])){f=(i[2]||" ")+ku[t][0];break}if(null==f)return void(n._isValid=!1)}if(!o&&null!=f)return void(n._isValid=!1);if(i[4]){if(!py.exec(i[4]))return void(n._isValid=!1);s="Z"}n._f=e+(f||"")+(s||"");nu(n)}else n._isValid=!1}function ic(n){var i=wy.exec(n._i);return null!==i?void(n._d=new Date(+i[1])):(wf(n),void(n._isValid===!1&&(delete n._isValid,t.createFromInputFallback(n))))}function fi(n,t,i){return null!=n?n:null!=t?t:i}function rc(n){var i=new Date(t.now());return n._useUTC?[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]:[i.getFullYear(),i.getMonth(),i.getDate()]}function gr(n){var t,i,r,f,e=[];if(!n._d){for(r=rc(n),n._w&&null==n._a[ut]&&null==n._a[ot]&&uc(n),n._dayOfYear&&(f=fi(n._a[tt],r[tt]),n._dayOfYear>hi(f)&&(u(n)._overflowDayOfYear=!0),i=bi(f,0,n._dayOfYear),n._a[ot]=i.getUTCMonth(),n._a[ut]=i.getUTCDate()),t=0;t<3&&null==n._a[t];++t)n._a[t]=e[t]=r[t];for(;t<7;t++)n._a[t]=e[t]=null==n._a[t]?2===t?1:0:n._a[t];24===n._a[y]&&0===n._a[it]&&0===n._a[st]&&0===n._a[ii]&&(n._nextDay=!0,n._a[y]=0);n._d=(n._useUTC?bi:ds).apply(null,e);null!=n._tzm&&n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm);n._nextDay&&(n._a[y]=24)}}function uc(n){var t,o,f,i,r,e,c,s;t=n._w;null!=t.GG||null!=t.W||null!=t.E?(r=1,e=4,o=fi(t.GG,n._a[tt],ci(h(),1,4).year),f=fi(t.W,1),i=fi(t.E,1),(i<1||i>7)&&(s=!0)):(r=n._locale._week.dow,e=n._locale._week.doy,o=fi(t.gg,n._a[tt],ci(h(),r,e).year),f=fi(t.w,1),null!=t.d?(i=t.d,(i<0||i>6)&&(s=!0)):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(s=!0)):i=r);f<1||f>gt(o,r,e)?u(n)._overflowWeeks=!0:null!=s?u(n)._overflowWeekday=!0:(c=cf(o,f,i,r,e),n._a[tt]=c.year,n._dayOfYear=c.dayOfYear)}function nu(n){if(n._f===t.ISO_8601)return void wf(n);n._a=[];u(n).empty=!0;for(var i,f,e,r=""+n._i,c=r.length,s=0,h=ff(n._f,n._locale).match(eo)||[],o=0;o<h.length;o++)f=h[o],i=(r.match(ss(f,n))||[])[0],i&&(e=r.substr(0,r.indexOf(i)),e.length>0&&u(n).unusedInput.push(e),r=r.slice(r.indexOf(i)+i.length),s+=i.length),ei[f]?(i?u(n).empty=!1:u(n).unusedTokens.push(f),cs(f,i,n)):n._strict&&!i&&u(n).unusedTokens.push(f);u(n).charsLeftOver=c-s;r.length>0&&u(n).unusedInput.push(r);n._a[y]<=12&&u(n).bigHour===!0&&n._a[y]>0&&(u(n).bigHour=void 0);u(n).parsedDateParts=n._a.slice(0);u(n).meridiem=n._meridiem;n._a[y]=fc(n._locale,n._a[y],n._meridiem);gr(n);dr(n)}function fc(n,t,i){var r;return null==i?t:null!=n.meridiemHour?n.meridiemHour(t,i):null!=n.isPM?(r=n.isPM(i),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function ec(n){var t,e,f,r,i;if(0===n._f.length)return u(n).invalidFormat=!0,void(n._d=new Date(NaN));for(r=0;r<n._f.length;r++)i=0,t=lr({},n),null!=n._useUTC&&(t._useUTC=n._useUTC),t._f=n._f[r],nu(t),cr(t)&&(i+=u(t).charsLeftOver,i+=10*u(t).unusedTokens.length,u(t).score=i,(null==f||i<f)&&(f=i,e=t));lt(n,e||t)}function oc(n){if(!n._d){var t=yr(n._i);n._a=gu([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)});gr(n)}}function sc(n){var t=new oi(dr(bf(n)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function bf(n){var t=n._i,i=n._f;return n._locale=n._locale||vt(n._l),null===t||void 0===i&&""===t?pi({nullInput:!0}):("string"==typeof t&&(n._i=t=n._locale.preparse(t)),at(t)?new oi(dr(t)):(ct(i)?ec(n):yi(t)?n._d=t:i?nu(n):hc(n),cr(n)||(n._d=null),n))}function hc(n){var i=n._i;void 0===i?n._d=new Date(t.now()):yi(i)?n._d=new Date(i.valueOf()):"string"==typeof i?ic(n):ct(i)?(n._a=gu(i.slice(0),function(n){return parseInt(n,10)}),gr(n)):"object"==typeof i?oc(n):"number"==typeof i?n._d=new Date(i):t.createFromInputFallback(n)}function kf(n,t,i,r,u){var f={};return"boolean"==typeof i&&(r=i,i=void 0),(vi(n)&&yo(n)||ct(n)&&0===n.length)&&(n=void 0),f._isAMomentObject=!0,f._useUTC=f._isUTC=u,f._l=i,f._i=n,f._f=t,f._strict=r,sc(f)}function h(n,t,i,r){return kf(n,t,i,r,!1)}function df(n,t){var r,i;if(1===t.length&&ct(t[0])&&(t=t[0]),!t.length)return h();for(r=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][n](r)||(r=t[i]);return r}function cc(){var n=[].slice.call(arguments,0);return df("isBefore",n)}function lc(){var n=[].slice.call(arguments,0);return df("isAfter",n)}function di(n){var t=yr(n),i=t.year||0,r=t.quarter||0,u=t.month||0,f=t.week||0,e=t.day||0,o=t.hour||0,s=t.minute||0,h=t.second||0,c=t.millisecond||0;this._milliseconds=+c+1e3*h+6e4*s+36e5*o;this._days=+e+7*f;this._months=+u+3*r+12*i;this._data={};this._locale=vt();this._bubble()}function tu(n){return n instanceof di}function gf(n,t){r(n,0,0,function(){var n=this.utcOffset(),i="+";return n<0&&(n=-n,i="-"),i+et(~~(n/60),2)+t+et(~~n%60,2)})}function iu(n,t){var r=(t||"").match(n)||[],e=r[r.length-1]||[],i=(e+"").match(be)||["-",0,0],u=+(60*i[1])+f(i[2]);return"+"===i[0]?u:-u}function ru(n,i){var r,u;return i._isUTC?(r=i.clone(),u=(at(n)||yi(n)?n.valueOf():h(n).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+u),t.updateOffset(r,!1),r):h(n).local()}function uu(n){return 15*-Math.round(n._d.getTimezoneOffset()/15)}function ac(n,i){var r,u=this._offset||0;return this.isValid()?null!=n?("string"==typeof n?n=iu(or,n):Math.abs(n)<16&&(n=60*n),!this._isUTC&&i&&(r=uu(this)),this._offset=n,this._isUTC=!0,null!=r&&this.add(r,"m"),u!==n&&(!i||this._changeInProgress?ue(this,yt(n-u,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?u:uu(this):null!=n?this:NaN}function vc(n,t){return null!=n?("string"!=typeof n&&(n=-n),this.utcOffset(n,t),this):-this.utcOffset()}function yc(n){return this.utcOffset(0,n)}function pc(n){return this._isUTC&&(this.utcOffset(0,n),this._isUTC=!1,n&&this.subtract(uu(this),"m")),this}function wc(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(iu(gv,this._i)),this}function bc(n){return!!this.isValid()&&(n=n?h(n).utcOffset():0,(this.utcOffset()-n)%60==0)}function kc(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function dc(){var n,t;return b(this._isDSTShifted)?(n={},(lr(n,this),n=bf(n),n._a)?(t=n._isUTC?rt(n._a):h(n._a),this._isDSTShifted=this.isValid()&&nf(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted):this._isDSTShifted}function gc(){return!!this.isValid()&&!this._isUTC}function nl(){return!!this.isValid()&&this._isUTC}function ne(){return!!this.isValid()&&this._isUTC&&0===this._offset}function yt(n,t){var u,e,o,i=n,r=null;return tu(n)?i={ms:n._milliseconds,d:n._days,M:n._months}:"number"==typeof n?(i={},t?i[t]=n:i.milliseconds=n):(r=ke.exec(n))?(u="-"===r[1]?-1:1,i={y:0,d:f(r[ut])*u,h:f(r[y])*u,m:f(r[it])*u,s:f(r[st])*u,ms:f(r[ii])*u}):(r=de.exec(n))?(u="-"===r[1]?-1:1,i={y:ni(r[2],u),M:ni(r[3],u),w:ni(r[4],u),d:ni(r[5],u),h:ni(r[6],u),m:ni(r[7],u),s:ni(r[8],u)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(o=tl(h(i.from),h(i.to)),i={},i.ms=o.milliseconds,i.M=o.months),e=new di(i),tu(n)&&l(n,"_locale")&&(e._locale=n._locale),e}function ni(n,t){var i=n&&parseFloat(n.replace(",","."));return(isNaN(i)?0:i)*t}function te(n,t){var i={milliseconds:0,months:0};return i.months=t.month()-n.month()+12*(t.year()-n.year()),n.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+n.clone().add(i.months,"M"),i}function tl(n,t){var i;return n.isValid()&&t.isValid()?(t=ru(t,n),n.isBefore(t)?i=te(n,t):(i=te(t,n),i.milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}function ie(n){return n<0?Math.round(-1*n)*-1:Math.round(n)}function re(n,t){return function(i,r){var u,f;return null===r||isNaN(+r)||(ar(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),f=i,i=r,r=f),i="string"==typeof i?+i:i,u=yt(i,r),ue(this,u,n),this}}function ue(n,i,r,u){var o=i._milliseconds,f=ie(i._days),e=ie(i._months);n.isValid()&&(u=null==u||u,o&&n._d.setTime(n._d.valueOf()+o*r),f&&uf(n,"Date",wi(n,"Date")+f*r),e&&ef(n,wi(n,"Month")+e*r),u&&t.updateOffset(n,f||e))}function il(n,t){var i=n.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"}function rl(n,i){var u=n||h(),f=ru(u,this).startOf("day"),r=t.calendarFormat(this,f)||"sameElse",e=i&&(ft(i[r])?i[r].call(this,u):i[r]);return this.format(e||this.localeData().calendar(r,this,h(u)))}function ul(){return new oi(this)}function fl(n,t){var i=at(n)?n:h(n);return!(!this.isValid()||!i.isValid())&&(t=g(b(t)?"millisecond":t),"millisecond"===t?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf())}function el(n,t){var i=at(n)?n:h(n);return!(!this.isValid()||!i.isValid())&&(t=g(b(t)?"millisecond":t),"millisecond"===t?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf())}function ol(n,t,i,r){return r=r||"()",("("===r[0]?this.isAfter(n,i):!this.isBefore(n,i))&&(")"===r[1]?this.isBefore(t,i):!this.isAfter(t,i))}function sl(n,t){var i,r=at(n)?n:h(n);return!(!this.isValid()||!r.isValid())&&(t=g(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(i=r.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()))}function hl(n,t){return this.isSame(n,t)||this.isAfter(n,t)}function cl(n,t){return this.isSame(n,t)||this.isBefore(n,t)}function ll(n,t,i){var f,e,r,u;return this.isValid()?(f=ru(n,this),f.isValid()?(e=6e4*(f.utcOffset()-this.utcOffset()),t=g(t),"year"===t||"month"===t||"quarter"===t?(u=al(this,f),"quarter"===t?u/=3:"year"===t&&(u/=12)):(r=this-f,u="second"===t?r/1e3:"minute"===t?r/6e4:"hour"===t?r/36e5:"day"===t?(r-e)/864e5:"week"===t?(r-e)/6048e5:r),i?u:k(u)):NaN):NaN}function al(n,t){var r,f,u=12*(t.year()-n.year())+(t.month()-n.month()),i=n.clone().add(u,"months");return t-i<0?(r=n.clone().add(u-1,"months"),f=(t-i)/(i-r)):(r=n.clone().add(u+1,"months"),f=(t-i)/(r-i)),-(u+f)||0}function vl(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function yl(){var n=this.clone().utc();return 0<n.year()&&n.year()<=9999?ft(Date.prototype.toISOString)?this.toDate().toISOString():pr(n,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):pr(n,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function pl(n){n||(n=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var i=pr(this,n);return this.localeData().postformat(i)}function wl(n,t){return this.isValid()&&(at(n)&&n.isValid()||h(n).isValid())?yt({to:this,from:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function bl(n){return this.from(h(),n)}function kl(n,t){return this.isValid()&&(at(n)&&n.isValid()||h(n).isValid())?yt({from:this,to:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function dl(n){return this.to(h(),n)}function fe(n){var t;return void 0===n?this._locale._abbr:(t=vt(n),null!=t&&(this._locale=t),this)}function ee(){return this._locale}function gl(n){switch(n=g(n)){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"===n&&this.weekday(0),"isoWeek"===n&&this.isoWeekday(1),"quarter"===n&&this.month(3*Math.floor(this.month()/3)),this}function na(n){return n=g(n),void 0===n||"millisecond"===n?this:("date"===n&&(n="day"),this.startOf(n).add(1,"isoWeek"===n?"week":n).subtract(1,"ms"))}function ta(){return this._d.valueOf()-6e4*(this._offset||0)}function ia(){return Math.floor(this.valueOf()/1e3)}function ra(){return new Date(this.valueOf())}function ua(){var n=this;return[n.year(),n.month(),n.date(),n.hour(),n.minute(),n.second(),n.millisecond()]}function fa(){var n=this;return{years:n.year(),months:n.month(),date:n.date(),hours:n.hours(),minutes:n.minutes(),seconds:n.seconds(),milliseconds:n.milliseconds()}}function ea(){return this.isValid()?this.toISOString():null}function oa(){return cr(this)}function sa(){return lt({},u(this))}function ha(){return u(this).overflow}function ca(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function gi(n,t){r(0,[n,n.length],0,t)}function la(n){return oe.call(this,n,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function aa(n){return oe.call(this,n,this.isoWeek(),this.isoWeekday(),1,4)}function va(){return gt(this.year(),1,4)}function ya(){var n=this.localeData()._week;return gt(this.year(),n.dow,n.doy)}function oe(n,t,i,r,u){var f;return null==n?ci(this,r,u).year:(f=gt(n,r,u),t>f&&(t=f),pa.call(this,n,t,i,r,u))}function pa(n,t,i,r,u){var e=cf(n,t,i,r,u),f=bi(e.year,0,e.dayOfYear);return this.year(f.getUTCFullYear()),this.month(f.getUTCMonth()),this.date(f.getUTCDate()),this}function wa(n){return null==n?Math.ceil((this.month()+1)/3):this.month(3*(n-1)+this.month()%3)}function ba(n){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==n?t:this.add(n-t,"d")}function ka(n,t){t[ii]=f(1e3*("0."+n))}function da(){return this._isUTC?"UTC":""}function ga(){return this._isUTC?"Coordinated Universal Time":""}function nv(n){return h(1e3*n)}function tv(){return h.apply(null,arguments).parseZone()}function se(n){return n}function nr(n,t,i,r){var u=vt(),f=rt().set(r,t);return u[i](f,n)}function he(n,t,i){if("number"==typeof n&&(t=n,n=void 0),n=n||"",null!=t)return nr(n,t,i,"month");for(var u=[],r=0;r<12;r++)u[r]=nr(n,r,i,"month");return u}function fu(n,t,i,r){var o,f,u,e;if("boolean"==typeof n?("number"==typeof t&&(i=t,t=void 0),t=t||""):(t=n,i=t,n=!1,"number"==typeof t&&(i=t,t=void 0),t=t||""),o=vt(),f=n?o._week.dow:0,null!=i)return nr(t,(i+f)%7,r,"day");for(e=[],u=0;u<7;u++)e[u]=nr(t,(u+f)%7,r,"day");return e}function iv(n,t){return he(n,t,"months")}function rv(n,t){return he(n,t,"monthsShort")}function uv(n,t,i){return fu(n,t,i,"weekdays")}function fv(n,t,i){return fu(n,t,i,"weekdaysShort")}function ev(n,t,i){return fu(n,t,i,"weekdaysMin")}function ov(){var n=this._data;return this._milliseconds=ht(this._milliseconds),this._days=ht(this._days),this._months=ht(this._months),n.milliseconds=ht(n.milliseconds),n.seconds=ht(n.seconds),n.minutes=ht(n.minutes),n.hours=ht(n.hours),n.months=ht(n.months),n.years=ht(n.years),this}function ce(n,t,i,r){var u=yt(t,i);return n._milliseconds+=r*u._milliseconds,n._days+=r*u._days,n._months+=r*u._months,n._bubble()}function sv(n,t){return ce(this,n,t,1)}function hv(n,t){return ce(this,n,t,-1)}function le(n){return n<0?Math.floor(n):Math.ceil(n)}function cv(){var u,f,e,s,o,r=this._milliseconds,n=this._days,t=this._months,i=this._data;return r>=0&&n>=0&&t>=0||r<=0&&n<=0&&t<=0||(r+=864e5*le(eu(t)+n),n=0,t=0),i.milliseconds=r%1e3,u=k(r/1e3),i.seconds=u%60,f=k(u/60),i.minutes=f%60,e=k(f/60),i.hours=e%24,n+=k(e/24),o=k(ae(n)),t+=o,n-=le(eu(o)),s=k(t/12),t%=12,i.days=n,i.months=t,i.years=s,this}function ae(n){return 4800*n/146097}function eu(n){return 146097*n/4800}function lv(n){var t,r,i=this._milliseconds;if(n=g(n),"month"===n||"year"===n)return t=this._days+i/864e5,r=this._months+ae(t),"month"===n?r:r/12;switch(t=this._days+Math.round(eu(this._months)),n){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+n);}}function av(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12)}function pt(n){return function(){return this.as(n)}}function vv(n){return n=g(n),this[n+"s"]()}function ti(n){return function(){return this._data[n]}}function yv(){return k(this.days()/7)}function pv(n,t,i,r,u){return u.relativeTime(t||1,!!i,n,r)}function wv(n,t,i){var r=yt(n).abs(),h=bt(r.as("s")),f=bt(r.as("m")),e=bt(r.as("h")),o=bt(r.as("d")),s=bt(r.as("M")),c=bt(r.as("y")),u=h<kt.s&&["s",h]||f<=1&&["m"]||f<kt.m&&["mm",f]||e<=1&&["h"]||e<kt.h&&["hh",e]||o<=1&&["d"]||o<kt.d&&["dd",o]||s<=1&&["M"]||s<kt.M&&["MM",s]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+n>0,u[4]=i,pv.apply(null,u)}function bv(n){return void 0===n?bt:"function"==typeof n&&(bt=n,!0)}function kv(n,t){return void 0!==kt[n]&&(void 0===t?kt[n]:(kt[n]=t,!0))}function dv(n){var t=this.localeData(),i=wv(this,!n,t);return n&&(i=t.pastFuture(+this,i)),t.postformat(i)}function tr(){var n,e,o,t=du(this._milliseconds)/1e3,a=du(this._days),i=du(this._months);n=k(t/60);e=k(n/60);t%=60;n%=60;o=k(i/12);i%=12;var s=o,h=i,c=a,r=e,u=n,f=t,l=this.asSeconds();return l?(l<0?"-":"")+"P"+(s?s+"Y":"")+(h?h+"M":"")+(c?c+"D":"")+(r||u||f?"T":"")+(r?r+"H":"")+(u?u+"M":"")+(f?f+"S":""):"P0D"}var ve,ye,pe,ou,we,be,ke,de,ge,no,su,hu,to,io,wt,ro,n,cu,o;ye=Array.prototype.some?Array.prototype.some:function(n){for(var i=Object(this),r=i.length>>>0,t=0;t<r;t++)if(t in i&&n.call(this,i[t],t,i))return!0;return!1};var lu=t.momentProperties=[],au=!1,uo={};t.suppressDeprecationWarnings=!1;t.deprecationHandler=null;pe=Object.keys?Object.keys:function(n){var t,i=[];for(t in n)l(n,t)&&i.push(t);return i};var v,li={},fo={},eo=/(\[[^\[]*\])|(\\)?([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,ir=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,vu={},ei={},oo=/\d/,nt=/\d\d/,so=/\d{3}/,yu=/\d{4}/,rr=/[+-]?\d{6}/,c=/\d\d?/,ho=/\d\d\d\d?/,co=/\d\d\d\d\d\d?/,ur=/\d{1,3}/,pu=/\d{1,4}/,fr=/[+-]?\d{1,6}/,er=/[+-]?\d+/,gv=/Z|[+-]\d\d:?\d\d/gi,or=/Z|[+-]\d\d(?::?\d\d)?/gi,ai=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,wu={},bu={},tt=0,ot=1,ut=2,y=3,it=4,st=5,ii=6,ny=7,ty=8;v=Array.prototype.indexOf?Array.prototype.indexOf:function(n){for(var t=0;t<this.length;++t)if(this[t]===n)return t;return-1};r("M",["MM",2],"Mo",function(){return this.month()+1});r("MMM",0,0,function(n){return this.localeData().monthsShort(this,n)});r("MMMM",0,0,function(n){return this.localeData().months(this,n)});p("month","M");w("month",8);i("M",c);i("MM",c,nt);i("MMM",function(n,t){return t.monthsShortRegex(n)});i("MMMM",function(n,t){return t.monthsRegex(n)});s(["M","MM"],function(n,t){t[ot]=f(n)-1});s(["MMM","MMMM"],function(n,t,i,r){var f=i._locale.monthsParse(n,r,i._strict);null!=f?t[ot]=f:u(i).invalidMonth=n});var lo=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,iy="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ry="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),uy=ai,fy=ai;r("Y",0,0,function(){var n=this.year();return n<=9999?""+n:"+"+n});r(0,["YY",2],0,function(){return this.year()%100});r(0,["YYYY",4],0,"year");r(0,["YYYYY",5],0,"year");r(0,["YYYYYY",6,!0],0,"year");p("year","y");w("year",1);i("Y",er);i("YY",c,nt);i("YYYY",pu,yu);i("YYYYY",fr,rr);i("YYYYYY",fr,rr);s(["YYYYY","YYYYYY"],tt);s("YYYY",function(n,i){i[tt]=2===n.length?t.parseTwoDigitYear(n):f(n)});s("YY",function(n,i){i[tt]=t.parseTwoDigitYear(n)});s("Y",function(n,t){t[tt]=parseInt(n,10)});t.parseTwoDigitYear=function(n){return f(n)+(f(n)>68?1900:2e3)};ou=ri("FullYear",!0);r("w",["ww",2],"wo","week");r("W",["WW",2],"Wo","isoWeek");p("week","w");p("isoWeek","W");w("week",5);w("isoWeek",5);i("w",c);i("ww",c,nt);i("W",c);i("WW",c,nt);si(["w","ww","W","WW"],function(n,t,i,r){t[r.substr(0,1)]=f(n)});we={dow:0,doy:6};r("d",0,"do","day");r("dd",0,0,function(n){return this.localeData().weekdaysMin(this,n)});r("ddd",0,0,function(n){return this.localeData().weekdaysShort(this,n)});r("dddd",0,0,function(n){return this.localeData().weekdays(this,n)});r("e",0,0,"weekday");r("E",0,0,"isoWeekday");p("day","d");p("weekday","e");p("isoWeekday","E");w("day",11);w("weekday",11);w("isoWeekday",11);i("d",c);i("e",c);i("E",c);i("dd",function(n,t){return t.weekdaysMinRegex(n)});i("ddd",function(n,t){return t.weekdaysShortRegex(n)});i("dddd",function(n,t){return t.weekdaysRegex(n)});si(["dd","ddd","dddd"],function(n,t,i,r){var f=i._locale.weekdaysParse(n,r,i._strict);null!=f?t.d=f:u(i).invalidWeekday=n});si(["d","e","E"],function(n,t,i,r){t[r]=f(n)});var ey="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),oy="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),sy="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),hy=ai,cy=ai,ly=ai;r("H",["HH",2],0,"hour");r("h",["hh",2],0,kr);r("k",["kk",2],0,bh);r("hmm",0,0,function(){return""+kr.apply(this)+et(this.minutes(),2)});r("hmmss",0,0,function(){return""+kr.apply(this)+et(this.minutes(),2)+et(this.seconds(),2)});r("Hmm",0,0,function(){return""+this.hours()+et(this.minutes(),2)});r("Hmmss",0,0,function(){return""+this.hours()+et(this.minutes(),2)+et(this.seconds(),2)});lf("a",!0);lf("A",!1);p("hour","h");w("hour",13);i("a",af);i("A",af);i("H",c);i("h",c);i("HH",c,nt);i("hh",c,nt);i("hmm",ho);i("hmmss",co);i("Hmm",ho);i("Hmmss",co);s(["H","HH"],y);s(["a","A"],function(n,t,i){i._isPm=i._locale.isPM(n);i._meridiem=n});s(["h","hh"],function(n,t,i){t[y]=f(n);u(i).bigHour=!0});s("hmm",function(n,t,i){var r=n.length-2;t[y]=f(n.substr(0,r));t[it]=f(n.substr(r));u(i).bigHour=!0});s("hmmss",function(n,t,i){var r=n.length-4,e=n.length-2;t[y]=f(n.substr(0,r));t[it]=f(n.substr(r,2));t[st]=f(n.substr(e));u(i).bigHour=!0});s("Hmm",function(n,t){var i=n.length-2;t[y]=f(n.substr(0,i));t[it]=f(n.substr(i))});s("Hmmss",function(n,t){var i=n.length-4,r=n.length-2;t[y]=f(n.substr(0,i));t[it]=f(n.substr(i,2));t[st]=f(n.substr(r))});var sr,ay=ri("Hours",!0),ao={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:iy,monthsShort:ry,week:we,weekdays:ey,weekdaysMin:sy,weekdaysShort:oy,meridiemParse:/[ap]\.?m?\.?/i},a={},vy=/^\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)?)?/,yy=/^\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)?)?/,py=/Z|[+-]\d\d(?::?\d\d)?/,hr=[["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}/]],ku=[["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/]],wy=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=d("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(n){n._d=new Date(n._i+(n._useUTC?" UTC":""))});t.ISO_8601=function(){};var by=d("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=h.apply(null,arguments);return this.isValid()&&n.isValid()?n<this?this:n:pi()}),ky=d("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=h.apply(null,arguments);return this.isValid()&&n.isValid()?n>this?this:n:pi()}),dy=function(){return Date.now?Date.now():+new Date};for(gf("Z",":"),gf("ZZ",""),i("Z",or),i("ZZ",or),s(["Z","ZZ"],function(n,t,i){i._useUTC=!0;i._tzm=iu(or,n)}),be=/([\+\-]|\d\d)/gi,t.updateOffset=function(){},ke=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,de=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/,yt.fn=di.prototype,ge=re(1,"add"),no=re(-1,"subtract"),t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",su=d("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(n){return void 0===n?this.localeData():this.locale(n)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),gi("gggg","weekYear"),gi("ggggg","weekYear"),gi("GGGG","isoWeekYear"),gi("GGGGG","isoWeekYear"),p("weekYear","gg"),p("isoWeekYear","GG"),w("weekYear",1),w("isoWeekYear",1),i("G",er),i("g",er),i("GG",c,nt),i("gg",c,nt),i("GGGG",pu,yu),i("gggg",pu,yu),i("GGGGG",fr,rr),i("ggggg",fr,rr),si(["gggg","ggggg","GGGG","GGGGG"],function(n,t,i,r){t[r.substr(0,2)]=f(n)}),si(["gg","GG"],function(n,i,r,u){i[u]=t.parseTwoDigitYear(n)}),r("Q",0,"Qo","quarter"),p("quarter","Q"),w("quarter",7),i("Q",oo),s("Q",function(n,t){t[ot]=3*(f(n)-1)}),r("D",["DD",2],"Do","date"),p("date","D"),w("date",9),i("D",c),i("DD",c,nt),i("Do",function(n,t){return n?t._ordinalParse:t._ordinalParseLenient}),s(["D","DD"],ut),s("Do",function(n,t){t[ut]=f(n.match(c)[0],10)}),hu=ri("Date",!0),r("DDD",["DDDD",3],"DDDo","dayOfYear"),p("dayOfYear","DDD"),w("dayOfYear",4),i("DDD",ur),i("DDDD",so),s(["DDD","DDDD"],function(n,t,i){i._dayOfYear=f(n)}),r("m",["mm",2],0,"minute"),p("minute","m"),w("minute",14),i("m",c),i("mm",c,nt),s(["m","mm"],it),to=ri("Minutes",!1),r("s",["ss",2],0,"second"),p("second","s"),w("second",15),i("s",c),i("ss",c,nt),s(["s","ss"],st),io=ri("Seconds",!1),r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),p("millisecond","ms"),w("millisecond",16),i("S",ur,oo),i("SS",ur,nt),i("SSS",ur,so),wt="SSSS";wt.length<=9;wt+="S")i(wt,/\d+/);for(wt="S";wt.length<=9;wt+="S")s(wt,ka);ro=ri("Milliseconds",!1);r("z",0,0,"zoneAbbr");r("zz",0,0,"zoneName");n=oi.prototype;n.add=ge;n.calendar=rl;n.clone=ul;n.diff=ll;n.endOf=na;n.format=pl;n.from=wl;n.fromNow=bl;n.to=kl;n.toNow=dl;n.get=us;n.invalidAt=ha;n.isAfter=fl;n.isBefore=el;n.isBetween=ol;n.isSame=sl;n.isSameOrAfter=hl;n.isSameOrBefore=cl;n.isValid=oa;n.lang=su;n.locale=fe;n.localeData=ee;n.max=ky;n.min=by;n.parsingFlags=sa;n.set=fs;n.startOf=gl;n.subtract=no;n.toArray=ua;n.toObject=fa;n.toDate=ra;n.toISOString=yl;n.toJSON=ea;n.toString=vl;n.unix=ia;n.valueOf=ta;n.creationData=ca;n.year=ou;n.isLeapYear=ks;n.weekYear=la;n.isoWeekYear=aa;n.quarter=n.quarters=wa;n.month=of;n.daysInMonth=ps;n.week=n.weeks=ih;n.isoWeek=n.isoWeeks=rh;n.weeksInYear=ya;n.isoWeeksInYear=va;n.date=hu;n.day=n.days=lh;n.weekday=ah;n.isoWeekday=vh;n.dayOfYear=ba;n.hour=n.hours=ay;n.minute=n.minutes=to;n.second=n.seconds=io;n.millisecond=n.milliseconds=ro;n.utcOffset=ac;n.utc=yc;n.local=pc;n.parseZone=wc;n.hasAlignedHourOffset=bc;n.isDST=kc;n.isLocal=gc;n.isUtcOffset=nl;n.isUtc=ne;n.isUTC=ne;n.zoneAbbr=da;n.zoneName=ga;n.dates=d("dates accessor is deprecated. Use date instead.",hu);n.months=d("months accessor is deprecated. Use month instead",of);n.years=d("years accessor is deprecated. Use year instead",ou);n.zone=d("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vc);n.isDSTShifted=d("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",dc);cu=n;o=vr.prototype;o.calendar=bo;o.longDateFormat=ko;o.invalidDate=go;o.ordinal=ns;o.preparse=se;o.postformat=se;o.relativeTime=ts;o.pastFuture=is;o.set=wo;o.months=ls;o.monthsShort=as;o.monthsParse=ys;o.monthsRegex=bs;o.monthsShortRegex=ws;o.week=gs;o.firstDayOfYear=th;o.firstDayOfWeek=nh;o.weekdays=eh;o.weekdaysMin=sh;o.weekdaysShort=oh;o.weekdaysParse=ch;o.weekdaysRegex=yh;o.weekdaysShortRegex=ph;o.weekdaysMinRegex=wh;o.isPM=kh;o.meridiem=dh;ui("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(n){var t=n%10,i=1===f(n%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return n+i}});t.lang=d("moment.lang is deprecated. Use moment.locale instead.",ui);t.langData=d("moment.langData is deprecated. Use moment.localeData instead.",vt);var ht=Math.abs,gy=pt("ms"),np=pt("s"),tp=pt("m"),ip=pt("h"),rp=pt("d"),up=pt("w"),fp=pt("M"),ep=pt("y"),op=ti("milliseconds"),sp=ti("seconds"),hp=ti("minutes"),cp=ti("hours"),lp=ti("days"),ap=ti("months"),vp=ti("years"),bt=Math.round,kt={s:45,m:45,h:22,d:26,M:11},du=Math.abs,e=di.prototype;return e.abs=ov,e.add=sv,e.subtract=hv,e.as=lv,e.asMilliseconds=gy,e.asSeconds=np,e.asMinutes=tp,e.asHours=ip,e.asDays=rp,e.asWeeks=up,e.asMonths=fp,e.asYears=ep,e.valueOf=av,e._bubble=cv,e.get=vv,e.milliseconds=op,e.seconds=sp,e.minutes=hp,e.hours=cp,e.days=lp,e.weeks=yv,e.months=ap,e.years=vp,e.humanize=dv,e.toISOString=tr,e.toString=tr,e.toJSON=tr,e.locale=fe,e.localeData=ee,e.toIsoString=d("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",tr),e.lang=su,r("X",0,0,"unix"),r("x",0,0,"valueOf"),i("x",er),i("X",/[+-]?\d+(\.\d{1,3})?/),s("X",function(n,t,i){i._d=new Date(1e3*parseFloat(n,10))}),s("x",function(n,t,i){i._d=new Date(f(n))}),t.version="2.14.3",vo(h),t.fn=cu,t.min=cc,t.max=lc,t.now=dy,t.utc=rt,t.unix=nv,t.months=iv,t.isDate=yi,t.locale=ui,t.invalid=pi,t.duration=yt,t.isMoment=at,t.weekdays=uv,t.parseZone=tv,t.localeData=vt,t.isDuration=tu,t.monthsShort=rv,t.weekdaysMin=ev,t.defineLocale=pf,t.updateLocale=nc,t.locales=tc,t.weekdaysShort=fv,t.normalizeUnits=g,t.relativeTimeRounding=bv,t.relativeTimeThreshold=kv,t.calendarFormat=il,t.prototype=cu,t});!function(n){var t=function(){"use strict";var f="s",n={DAY:864e5,HOUR:36e5,MINUTE:6e4,SECOND:1e3,BASELINE_YEAR:2014,MAX_SCORE:864e6,AMBIGUITIES:{"America/Denver":["America/Mazatlan"],"Europe/London":["Africa/Casablanca"],"America/Chicago":["America/Mexico_City"],"America/Asuncion":["America/Campo_Grande","America/Santiago"],"America/Montevideo":["America/Sao_Paulo","America/Santiago"],"Asia/Beirut":["Asia/Amman","Asia/Jerusalem","Europe/Helsinki","Asia/Damascus","Africa/Cairo","Asia/Gaza","Europe/Minsk"],"Pacific/Auckland":["Pacific/Fiji"],"America/Los_Angeles":["America/Santa_Isabel"],"America/New_York":["America/Havana"],"America/Halifax":["America/Goose_Bay"],"America/Godthab":["America/Miquelon"],"Asia/Dubai":["Asia/Yerevan"],"Asia/Jakarta":["Asia/Krasnoyarsk"],"Asia/Shanghai":["Asia/Irkutsk","Australia/Perth"],"Australia/Sydney":["Australia/Lord_Howe"],"Asia/Tokyo":["Asia/Yakutsk"],"Asia/Dhaka":["Asia/Omsk"],"Asia/Baku":["Asia/Yerevan"],"Australia/Brisbane":["Asia/Vladivostok"],"Pacific/Noumea":["Asia/Vladivostok"],"Pacific/Majuro":["Asia/Kamchatka","Pacific/Fiji"],"Pacific/Tongatapu":["Pacific/Apia"],"Asia/Baghdad":["Europe/Minsk","Europe/Moscow"],"Asia/Karachi":["Asia/Yekaterinburg"],"Africa/Johannesburg":["Asia/Gaza","Africa/Cairo"]}},i=function(n){var t=-n.getTimezoneOffset();return null!==t?t:0},e=function(){var t=i(new Date(n.BASELINE_YEAR,0,2)),r=i(new Date(n.BASELINE_YEAR,5,2)),u=t-r;return 0>u?t+",1":u>0?r+",1,"+f:t+",0"},o=function(){var t,n;if("undefined"!=typeof Intl&&"undefined"!=typeof Intl.DateTimeFormat&&(t=Intl.DateTimeFormat(),"undefined"!=typeof t&&"undefined"!=typeof t.resolvedOptions))return n=t.resolvedOptions().timeZone,n&&(n.indexOf("/")>-1||"UTC"===n)?n:void 0},s=function(n){for(var i,t,s=new Date(n,0,1,0,0,1,0).getTime(),h=new Date(n,12,31,23,59,59).getTime(),u=s,f=new Date(u).getTimezoneOffset(),e=null,o=null;h-864e5>u;)i=new Date(u),t=i.getTimezoneOffset(),t!==f&&(f>t&&(e=i),t>f&&(o=i),f=t),u+=864e5;return e&&o?{s:r(e).getTime(),e:r(o).getTime()}:!1},r=function u(t,i,r){var e,s;"undefined"==typeof i&&(i=n.DAY,r=n.HOUR);for(var h=new Date(t.getTime()-i).getTime(),c=t.getTime()+i,l=new Date(h).getTimezoneOffset(),o=h,f=null;c-r>o;){if(e=new Date(o),s=e.getTimezoneOffset(),s!==l){f=e;break}o+=r}return i===n.DAY?u(f,n.HOUR,n.MINUTE):i===n.HOUR?u(f,n.MINUTE,n.SECOND):f},h=function(n,t,i,r){if("N/A"!==i)return i;if("Asia/Beirut"===t){if("Africa/Cairo"===r.name&&13983768e5===n[6].s&&14116788e5===n[6].e||"Asia/Jerusalem"===r.name&&13959648e5===n[6].s&&14118588e5===n[6].e)return 0}else if("America/Santiago"===t){if("America/Asuncion"===r.name&&14124816e5===n[6].s&&1397358e6===n[6].e||"America/Campo_Grande"===r.name&&14136912e5===n[6].s&&13925196e5===n[6].e)return 0}else if("America/Montevideo"===t){if("America/Sao_Paulo"===r.name&&14136876e5===n[6].s&&1392516e6===n[6].e)return 0}else if("Pacific/Auckland"===t&&"Pacific/Fiji"===r.name&&14142456e5===n[6].s&&13961016e5===n[6].e)return 0;return i},c=function(i,r){for(var l,o,u,f,v=function(t){for(var f=0,u=0;u<i.length;u++)if(t.rules[u]&&i[u]){if(!(i[u].s>=t.rules[u].s&&i[u].e<=t.rules[u].e)){f="N/A";break}if(f=0,f+=Math.abs(i[u].s-t.rules[u].s),f+=Math.abs(t.rules[u].e-i[u].e),f>n.MAX_SCORE){f="N/A";break}}return h(i,r,f,t)},s={},c=t.olson.dst_rules.zones,y=c.length,a=n.AMBIGUITIES[r],e=0;y>e;e++)l=c[e],o=v(c[e]),"N/A"!==o&&(s[l.name]=o);for(u in s)if(s.hasOwnProperty(u))for(f=0;f<a.length;f++)if(a[f]===u)return u;return r},l=function(n){var r=function(){for(var i,r=[],n=0;n<t.olson.dst_rules.years.length;n++)i=s(t.olson.dst_rules.years[n]),r.push(i);return r},u=function(n){for(var t=0;t<n.length;t++)if(n[t]!==!1)return!0;return!1},i=r(),f=u(i);return f?c(i,n):n},a=function(){var i=o();return i||(i=t.olson.timezones[e()],"undefined"!=typeof n.AMBIGUITIES[i]&&(i=l(i))),{name:function(){return i}}};return{determine:a}}();t.olson=t.olson||{};t.olson.timezones={"-720,0":"Etc/GMT+12","-660,0":"Pacific/Pago_Pago","-660,1,s":"Pacific/Apia","-600,1":"America/Adak","-600,0":"Pacific/Honolulu","-570,0":"Pacific/Marquesas","-540,0":"Pacific/Gambier","-540,1":"America/Anchorage","-480,1":"America/Los_Angeles","-480,0":"Pacific/Pitcairn","-420,0":"America/Phoenix","-420,1":"America/Denver","-360,0":"America/Guatemala","-360,1":"America/Chicago","-360,1,s":"Pacific/Easter","-300,0":"America/Bogota","-300,1":"America/New_York","-270,0":"America/Caracas","-240,1":"America/Halifax","-240,0":"America/Santo_Domingo","-240,1,s":"America/Asuncion","-210,1":"America/St_Johns","-180,1":"America/Godthab","-180,0":"America/Argentina/Buenos_Aires","-180,1,s":"America/Montevideo","-120,0":"America/Noronha","-120,1":"America/Noronha","-60,1":"Atlantic/Azores","-60,0":"Atlantic/Cape_Verde","0,0":"UTC","0,1":"Europe/London","60,1":"Europe/Berlin","60,0":"Africa/Lagos","60,1,s":"Africa/Windhoek","120,1":"Asia/Beirut","120,0":"Africa/Johannesburg","180,0":"Asia/Baghdad","180,1":"Europe/Moscow","210,1":"Asia/Tehran","240,0":"Asia/Dubai","240,1":"Asia/Baku","270,0":"Asia/Kabul","300,1":"Asia/Yekaterinburg","300,0":"Asia/Karachi","330,0":"Asia/Kolkata","345,0":"Asia/Kathmandu","360,0":"Asia/Dhaka","360,1":"Asia/Omsk","390,0":"Asia/Rangoon","420,1":"Asia/Krasnoyarsk","420,0":"Asia/Jakarta","480,0":"Asia/Shanghai","480,1":"Asia/Irkutsk","525,0":"Australia/Eucla","525,1,s":"Australia/Eucla","540,1":"Asia/Yakutsk","540,0":"Asia/Tokyo","570,0":"Australia/Darwin","570,1,s":"Australia/Adelaide","600,0":"Australia/Brisbane","600,1":"Asia/Vladivostok","600,1,s":"Australia/Sydney","630,1,s":"Australia/Lord_Howe","660,1":"Asia/Kamchatka","660,0":"Pacific/Noumea","690,0":"Pacific/Norfolk","720,1,s":"Pacific/Auckland","720,0":"Pacific/Majuro","765,1,s":"Pacific/Chatham","780,0":"Pacific/Tongatapu","780,1,s":"Pacific/Apia","840,0":"Pacific/Kiritimati"};t.olson.dst_rules={years:[2008,2009,2010,2011,2012,2013,2014],zones:[{name:"Africa/Cairo",rules:[{e:12199572e5,s:12090744e5},{e:1250802e6,s:1240524e6},{e:12858804e5,s:12840696e5},!1,!1,!1,{e:14116788e5,s:1406844e6}]},{name:"Africa/Casablanca",rules:[{e:12202236e5,s:12122784e5},{e:12508092e5,s:12438144e5},{e:1281222e6,s:12727584e5},{e:13120668e5,s:13017888e5},{e:13489704e5,s:1345428e6},{e:13828392e5,s:13761e8},{e:14142888e5,s:14069448e5}]},{name:"America/Asuncion",rules:[{e:12050316e5,s:12243888e5},{e:12364812e5,s:12558384e5},{e:12709548e5,s:12860784e5},{e:13024044e5,s:1317528e6},{e:1333854e6,s:13495824e5},{e:1364094e6,s:1381032e6},{e:13955436e5,s:14124816e5}]},{name:"America/Campo_Grande",rules:[{e:12032172e5,s:12243888e5},{e:12346668e5,s:12558384e5},{e:12667212e5,s:1287288e6},{e:12981708e5,s:13187376e5},{e:13302252e5,s:1350792e6},{e:136107e7,s:13822416e5},{e:13925196e5,s:14136912e5}]},{name:"America/Goose_Bay",rules:[{e:122559486e4,s:120503526e4},{e:125704446e4,s:123648486e4},{e:128909886e4,s:126853926e4},{e:13205556e5,s:129998886e4},{e:13520052e5,s:13314456e5},{e:13834548e5,s:13628952e5},{e:14149044e5,s:13943448e5}]},{name:"America/Havana",rules:[{e:12249972e5,s:12056436e5},{e:12564468e5,s:12364884e5},{e:12885012e5,s:12685428e5},{e:13211604e5,s:13005972e5},{e:13520052e5,s:13332564e5},{e:13834548e5,s:13628916e5},{e:14149044e5,s:13943412e5}]},{name:"America/Mazatlan",rules:[{e:1225008e6,s:12074724e5},{e:12564576e5,s:1238922e6},{e:1288512e6,s:12703716e5},{e:13199616e5,s:13018212e5},{e:13514112e5,s:13332708e5},{e:13828608e5,s:13653252e5},{e:14143104e5,s:13967748e5}]},{name:"America/Mexico_City",rules:[{e:12250044e5,s:12074688e5},{e:1256454e6,s:12389184e5},{e:12885084e5,s:1270368e6},{e:1319958e6,s:13018176e5},{e:13514076e5,s:13332672e5},{e:13828572e5,s:13653216e5},{e:14143068e5,s:13967712e5}]},{name:"America/Miquelon",rules:[{e:12255984e5,s:12050388e5},{e:1257048e6,s:12364884e5},{e:12891024e5,s:12685428e5},{e:1320552e6,s:12999924e5},{e:13520016e5,s:1331442e6},{e:13834512e5,s:13628916e5},{e:14149008e5,s:13943412e5}]},{name:"America/Santa_Isabel",rules:[{e:12250116e5,s:1207476e6},{e:12564612e5,s:12389256e5},{e:12885156e5,s:12703752e5},{e:13199652e5,s:13018248e5},{e:13514148e5,s:13332744e5},{e:13828644e5,s:13653288e5},{e:1414314e6,s:13967784e5}]},{name:"America/Santiago",rules:[{e:1206846e6,s:1223784e6},{e:1237086e6,s:12552336e5},{e:127035e7,s:12866832e5},{e:13048236e5,s:13138992e5},{e:13356684e5,s:13465584e5},{e:1367118e6,s:13786128e5},{e:13985676e5,s:14100624e5}]},{name:"America/Sao_Paulo",rules:[{e:12032136e5,s:12243852e5},{e:12346632e5,s:12558348e5},{e:12667176e5,s:12872844e5},{e:12981672e5,s:1318734e6},{e:13302216e5,s:13507884e5},{e:13610664e5,s:1382238e6},{e:1392516e6,s:14136876e5}]},{name:"Asia/Amman",rules:[{e:1225404e6,s:12066552e5},{e:12568536e5,s:12381048e5},{e:12883032e5,s:12695544e5},{e:13197528e5,s:13016088e5},!1,!1,{e:14147064e5,s:13959576e5}]},{name:"Asia/Damascus",rules:[{e:12254868e5,s:120726e7},{e:125685e7,s:12381048e5},{e:12882996e5,s:12701592e5},{e:13197492e5,s:13016088e5},{e:13511988e5,s:13330584e5},{e:13826484e5,s:1364508e6},{e:14147028e5,s:13959576e5}]},{name:"Asia/Dubai",rules:[!1,!1,!1,!1,!1,!1,!1]},{name:"Asia/Gaza",rules:[{e:12199572e5,s:12066552e5},{e:12520152e5,s:12381048e5},{e:1281474e6,s:126964086e4},{e:1312146e6,s:130160886e4},{e:13481784e5,s:13330584e5},{e:13802292e5,s:1364508e6},{e:1414098e6,s:13959576e5}]},{name:"Asia/Irkutsk",rules:[{e:12249576e5,s:12068136e5},{e:12564072e5,s:12382632e5},{e:12884616e5,s:12697128e5},!1,!1,!1,!1]},{name:"Asia/Jerusalem",rules:[{e:12231612e5,s:12066624e5},{e:1254006e6,s:1238112e6},{e:1284246e6,s:12695616e5},{e:131751e7,s:1301616e6},{e:13483548e5,s:13330656e5},{e:13828284e5,s:13645152e5},{e:1414278e6,s:13959648e5}]},{name:"Asia/Kamchatka",rules:[{e:12249432e5,s:12067992e5},{e:12563928e5,s:12382488e5},{e:12884508e5,s:12696984e5},!1,!1,!1,!1]},{name:"Asia/Krasnoyarsk",rules:[{e:12249612e5,s:12068172e5},{e:12564108e5,s:12382668e5},{e:12884652e5,s:12697164e5},!1,!1,!1,!1]},{name:"Asia/Omsk",rules:[{e:12249648e5,s:12068208e5},{e:12564144e5,s:12382704e5},{e:12884688e5,s:126972e7},!1,!1,!1,!1]},{name:"Asia/Vladivostok",rules:[{e:12249504e5,s:12068064e5},{e:12564e8,s:1238256e6},{e:12884544e5,s:12697056e5},!1,!1,!1,!1]},{name:"Asia/Yakutsk",rules:[{e:1224954e6,s:120681e7},{e:12564036e5,s:12382596e5},{e:1288458e6,s:12697092e5},!1,!1,!1,!1]},{name:"Asia/Yekaterinburg",rules:[{e:12249684e5,s:12068244e5},{e:1256418e6,s:1238274e6},{e:12884724e5,s:12697236e5},!1,!1,!1,!1]},{name:"Asia/Yerevan",rules:[{e:1224972e6,s:1206828e6},{e:12564216e5,s:12382776e5},{e:1288476e6,s:12697272e5},{e:13199256e5,s:13011768e5},!1,!1,!1]},{name:"Australia/Lord_Howe",rules:[{e:12074076e5,s:12231342e5},{e:12388572e5,s:12545838e5},{e:12703068e5,s:12860334e5},{e:13017564e5,s:1317483e6},{e:1333206e6,s:13495374e5},{e:13652604e5,s:1380987e6},{e:139671e7,s:14124366e5}]},{name:"Australia/Perth",rules:[{e:12068136e5,s:12249576e5},!1,!1,!1,!1,!1,!1]},{name:"Europe/Helsinki",rules:[{e:12249828e5,s:12068388e5},{e:12564324e5,s:12382884e5},{e:12884868e5,s:1269738e6},{e:13199364e5,s:13011876e5},{e:1351386e6,s:13326372e5},{e:13828356e5,s:13646916e5},{e:14142852e5,s:13961412e5}]},{name:"Europe/Minsk",rules:[{e:12249792e5,s:12068352e5},{e:12564288e5,s:12382848e5},{e:12884832e5,s:12697344e5},!1,!1,!1,!1]},{name:"Europe/Moscow",rules:[{e:12249756e5,s:12068316e5},{e:12564252e5,s:12382812e5},{e:12884796e5,s:12697308e5},!1,!1,!1,!1]},{name:"Pacific/Apia",rules:[!1,!1,!1,{e:13017528e5,s:13168728e5},{e:13332024e5,s:13489272e5},{e:13652568e5,s:13803768e5},{e:13967064e5,s:14118264e5}]},{name:"Pacific/Fiji",rules:[!1,!1,{e:12696984e5,s:12878424e5},{e:13271544e5,s:1319292e6},{e:1358604e6,s:13507416e5},{e:139005e7,s:1382796e6},{e:14215032e5,s:14148504e5}]},{name:"Europe/London",rules:[{e:12249828e5,s:12068388e5},{e:12564324e5,s:12382884e5},{e:12884868e5,s:1269738e6},{e:13199364e5,s:13011876e5},{e:1351386e6,s:13326372e5},{e:13828356e5,s:13646916e5},{e:14142852e5,s:13961412e5}]}]};"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=t:"undefined"!=typeof define&&null!==define&&null!=define.amd?define([],function(){return t}):"undefined"==typeof n?window.jstz=t:n.jstz=t}()