* or Infinite Scroll Commercial License for commercial use
*
* https://infinite-scroll.com
* Copyright 2018 Metafizzy
*/
!function(t,e){"function"==typeofdefine&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){returne(t,i)}):"object"==typeofmodule&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";functioni(i,r,l){functiona(t,e,n){varo,r="$()."+i+'("'+e+'")';returnt.each(function(t,a){varh=l.data(a,i);if(!h)returnvoids(i+" not initialized. Cannot call methods, i.e. "+r);varc=h[e];if(!c||"_"==e.charAt(0))returnvoids(r+" is not a valid method");varu=c.apply(h,n);o=void0===o?u:o}),void0!==o?o:t}functionh(t,e){t.each(function(t,n){varo=l.data(n,i);o?(o.option(e),o._init()):(o=newr(n,e),l.data(n,i,o))})}l=l||e||t.jQuery,l&&(r.prototype.option||(r.prototype.option=function(t){l.isPlainObject(t)&&(this.options=l.extend(!0,this.options,t))}),l.fn[i]=function(t){if("string"==typeoft){vare=o.call(arguments,1);returna(this,t,e)}returnh(this,t),this},n(l))}functionn(t){!t||t&&t.bridget||(t.bridget=i)}varo=Array.prototype.slice,r=t.console,s="undefined"==typeofr?function(){}:function(t){r.error(t)};returnn(e||t.jQuery),i}),function(t,e){"function"==typeofdefine&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeofmodule&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeofwindow?window:this,function(){functiont(){}vare=t.prototype;returne.on=function(t,e){if(t&&e){vari=this._events=this._events||{},n=i[t]=i[t]||[];returnn.indexOf(e)==-1&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);vari=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||{};returnn[e]=!0,this}},e.off=function(t,e){vari=this._events&&this._events[t];if(i&&i.length){varn=i.indexOf(e);returnn!=-1&&i.splice(n,1),this}},e.emitEvent=function(t,e){vari=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(varn=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){varr=i[o],s=n&&n[r];s&&(this.off(t,r),deleten[r]),r.apply(this,e)}returnthis}},e.allOff=function(){deletethis._events,deletethis._onceEvents},t}),function(t,e){"use strict";"function"==typeofdefine&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeofmodule&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";vart=function(){vart=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(vare=["webkit","moz","ms","o"],i=0;i<e.length;i++){varn=e[i],o=n+"MatchesSelector";if(t[o])returno}}();returnfunction(e,i){returne[t](i)}}),function(t,e){"function"==typeofdefine&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){returne(t,i)}):"object"==typeofmodule&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){vari={};i.extend=function(t,e){for(variine)t[i]=e[i];returnt},i.modulo=function(t,e){return(t%e+e)%e};varn=Array.prototype.slice;i.makeArray=function(t){if(Array.isArray(t))returnt;if(null===t||void0===t)return[];vare="object"==typeoft&&"number"==typeoft.length;returne?n.call(t):[t]},i.removeFrom=function(t,e){vari=t.indexOf(e);i!=-1&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))returnt},i.getQueryElement=function(t){return"string"==typeoft?document.querySelector(t):t},i.handleEvent=function(t){vare="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);varo=[];returnt.forEach(function(t){if(tinstanceofHTMLElement){if(!n)returnvoido.push(t);e(t,n)&&o.push(t);for(vari=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}}),o},i.debounceMethod=function(t,e,i){i=i||100;varn=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){vart=this[o];clearTimeout(t);vare=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),deleter[o]},i)}},i.docReady=function(t){vare=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){returnt.replace(/(.)([A-Z])/g,function(t,e,i){returne+"-"+i}).toLowerCase()};varo=t.console;returni.htmlInit=function(e,n){i.docReady(function(){varr=i.toDashed(n),s="data-"+r,l=document.querySelectorAll("["+s+"]"),a=document.querySelectorAll(".js-"+r),h=i.makeArray(l).concat(i.makeArray(a)),c=s+"-options",u=t.jQuery;h.forEach(function(t){vari,r=t.getAttribute(s)||t.getAttribute(c);try{i=r&&JSON.parse(r)}catch(l){returnvoid(o&&o.error("Error parsing "+s+" on "+t.className+": "+l))}vara=newe(t,i);u&&u.data(t,n,a)})})},i}),function(t,e){"function"==typeofdefine&&define.amd?define("infinite-scroll/js/core",["ev-emitter/ev-emitter","fizzy-ui-utils/utils"],function(i,n){returne(t,i,n)}):"object"==typeofmodule&&module.exports?module.exports=e(t,require("ev-emitter"),require("fizzy-ui-utils")):t.InfiniteScroll=e(t,t.EvEmitter,t.fizzyUIUtils)}(window,function(t,e,i){functionn(t,e){vars=i.getQueryElement(t);if(!s)returnvoidconsole.error("Bad element for InfiniteScroll: "+(s||t));if(t=s,t.infiniteScrollGUID){varl=r[t.infiniteScrollGUID];returnl.option(e),l}this.element=t,this.options=i.extend({},n.defaults),this.option(e),o&&(this.$element=o(this.element)),this.create()}varo=t.jQuery,r={};n.defaults={},n.create={},n.destroy={};vars=n.prototype;i.extend(s,e.prototype);varl=0;s.create=function(){vart=this.guid=++l;this.element.infiniteScrollGUID=t,r[t]=this,this.pageIndex=1,this.loadCount=0,this.updateGetPath();vare=this.getPath&&this.getPath();if(!e)returnvoidconsole.error("Disabling InfiniteScroll");this.updateGetAbsolutePath(),this.log("initialized",[this.element.className]),this.callOnInit();for(variinn.create)n.create[i].call(this)},s.option=function(t){i.extend(this.options,t)},s.callOnInit=function(){vart=this.options.onInit;t&&t.call(this,this)},s.dispatchEvent=function(t,e,i){this.log(t,i);varn=e?[e].concat(i):i;if(this.emitEvent(t,n),o&&this.$element){t+=".infiniteScroll";varr=t;if(e){vars=o.Event(e);s.type=t,r=s}this.$element.trigger(r,i)}};vara={initialized:function(t){return"on "+t},request:function(t){return"URL: "+t},load:function(t,e){return(t.title||"")+". URL: "+e},error:function(t,e){returnt+". URL: "+e},append:function(t,e,i){returni.length+" items. URL: "+e},last:function(t,e){return"URL: "+e},history:function(t,e){return"URL: "+e},pageIndex:function(t,e){return"current page determined to be: "+t+" from "+e}};s.log=function(t,e){if(this.options.debug){vari="[InfiniteScroll] "+t,n=a[t];n&&(i+=". "+n.apply(this,e)),console.log(i)}},s.updateMeasurements=function(){this.windowHeight=t.innerHeight;vare=this.element.getBoundingClientRect();this.top=e.top+t.pageYOffset},s.updateScroller=function(){vare=this.options.elementScroll;if(!e)returnvoid(this.scroller=t);if(this.scroller=e===!0?this.element:i.getQueryElement(e),!this.scroller)throw"Unable to find elementScroll: "+e},s.updateGetPath=function(){vart=this.options.path;if(!t)returnvoidconsole.error("InfiniteScroll path option required. Set as: "+t);vare=typeoft;if("function"==e)returnvoid(this.getPath=t);vari="string"==e&&t.match("{{#}}");returni?voidthis.updateGetPathTemplate(t):voidthis.updateGetPathSelector(t)},s.updateGetPathTemplate=function(t){this.getPath=function(){vare=this.pageIndex+1;returnt.replace("{{#}}",e)}.bind(this);vare=t.replace(/(\\\?|\?)/,"\\?").replace("{{#}}","(\\d\\d?\\d?)"),i=newRegExp(e),n=location.href.match(i);n&&(this.pageIndex=parseInt(n[1],10),this.log("pageIndex",[this.pageIndex,"template string"]))};varh=[/^(.*?\/?page\/?)(\d\d?\d?)(.*?$)/,/^(.*?\/?\?page=)(\d\d?\d?)(.*?$)/,/(.*?)(\d\d?\d?)(?!.*\d)(.*?$)/];returns.updateGetPathSelector=function(t){vare=document.querySelector(t);if(!e)returnvoidconsole.error("Bad InfiniteScroll path option. Next link not found: "+t);for(vari,n,o=e.getAttribute("href"),r=0;o&&r<h.length;r++){n=h[r];vars=o.match(n);if(s){i=s.slice(1);break}}returni?(this.isPathSelector=!0,this.getPath=function(){vart=this.pageIndex+1;returni[0]+t+i[2]}.bind(this),this.pageIndex=parseInt(i[1],10)-1,voidthis.log("pageIndex",[this.pageIndex,"next link"])):voidconsole.error("InfiniteScroll unable to parse next link href: "+o)},s.updateGetAbsolutePath=function(){vart=this.getPath(),e=t.match(/^http/)||t.match(/^\//);if(e)returnvoid(this.getAbsolutePath=this.getPath);vari=location.pathname,n=t.match(/^\?/);if(n)returnvoid(this.getAbsolutePath=function(){returni+this.getPath()});varo=i.substring(0,i.lastIndexOf("https://inspirothemes.com/"));this.getAbsolutePath=function(){returno+"/"+this.getPath()}},n.create.hideNav=function(){vart=i.getQueryElement(this.options.hideNav);t&&(t.style.display="none",this.nav=t)},n.destroy.hideNav=function(){this.nav&&(this.nav.style.display="")},s.destroy=function(){this.allOff();for(vartinn.destroy)n.destroy[t].call(this);deletethis.element.infiniteScrollGUID,deleter[this.guid],o&&this.$element&&o.removeData(this.element,"infiniteScroll")},n.throttle=function(t,e){e=e||200;vari,n;returnfunction(){varo=+newDate,r=arguments,s=function(){i=o,t.apply(this,r)}.bind(this);i&&o<i+e?(clearTimeout(n),n=setTimeout(s,e)):s()}},n.data=function(t){t=i.getQueryElement(t);vare=t&&t.infiniteScrollGUID;returne&&r[e]},n.setJQuery=function(t){o=t},i.htmlInit(n,"infinite-scroll"),s._init=function(){},o&&o.bridget&&o.bridget("infiniteScroll",n),n}),function(t,e){"function"==typeofdefine&&define.amd?define("infinite-scroll/js/page-load",["./core"],function(i){returne(t,i)}):"object"==typeofmodule&&module.exports?module.exports=e(t,require("./core")):e(t,t.InfiniteScroll)}(window,function(t,e){functioni(t){for(vare=document.createDocumentFragment(),i=0;t&&i<t.length;i++)e.appendChild(t[i]);returne}functionn(t){for(vare=t.querySelectorAll("script"),i=0;i<e.length;i++){varn=e[i],r=document.createElement("script");o(n,r),r.innerHTML=n.innerHTML,n.parentNode.replaceChild(r,n)}}functiono(t,e){for(vari=t.attributes,n=0;n<i.length;n++){varo=i[n];e.setAttribute(o.name,o.value)}}functionr(t,e,i,n,o){varr=newXMLHttpRequest;r.open("GET.html",t,!0),r.responseType=e||"",r.setRequestHeader("X-Requested-With","XMLHttpRequest"),r.onload=function(){if(200==r.status)i(r.response);elseif(204==r.status)o(r.response);else{vart=newError(r.statusText);n(t)}},r.onerror=function(){vare=newError("Network error requesting "+t);n(e)},r.send()}vars=e.prototype;returne.defaults.loadOnScroll=!0,e.defaults.checkLastPage=!0,e.defaults.responseType="document",e.create.pageLoad=function(){this.canLoad=!0,this.on("scrollThreshold",this.onScrollThresholdLoad),this.on("load",this.checkLastPage),this.options.outlayer&&this.on("append",this.onAppendOutlayer)},s.onScrollThresholdLoad=function(){this.options.loadOnScroll&&this.loadNextPage()},s.loadNextPage=function(){if(!this.isLoading&&this.canLoad){vart=this.getAbsolutePath();this.isLoading=!0;vare=function(e){this.onPageLoad(e,t)}.bind(this),i=function(e){this.onPageError(e,t)}.bind(this),n=function(e){this.lastPageReached(e,t)}.bind(this);r(t,this.options.responseType,e,i,n),this.dispatchEvent("request",null,[t])}},s.onPageLoad=function(t,e){returnthis.options.append||(this.isLoading=!1),this.pageIndex++,this.loadCount++,this.dispatchEvent("load",null,[t,e]),this.appendNextPage(t,e),t},s.appendNextPage=function(t,e){varn=this.options.append,o="document"==this.options.responseType;if(o&&n){varr=t.querySelectorAll(n),s=i(r),l=function(){this.appendItems(r,s),this.isLoading=!1,this.dispatchEvent("append",null,[t,e,r])}.bind(this);this.options.outlayer?this.appendOutlayerItems(s,l):l()}},s.appendItems=function(t,e){t&&t.length&&(e=e||i(t),n(e),this.element.appendChild(e))},s.appendOutlayerItems=function(i,n){varo=e.imagesLoaded||t.imagesLoaded;returno?voido(i,n):(console.error("[InfiniteScroll] imagesLoaded required for outlayer option"),void(this.isLoading=!1))},s.onAppendOutlayer=function(t,e,i){this.options.outlayer.appended(i)},s.checkLastPage=function(t,e){vari=this.options.checkLastPage;if(i){varn=this.options.path;if("function"==typeofn){varo=this.getPath();if(!o)returnvoidthis.lastPageReached(t,e)}varr;if("string"==typeofi?r=i:this.isPathSelector&&(r=n),r&&t.querySelector){vars=t.querySelector(r);s||this.lastPageReached(t,e)}}},s.lastPageReached=function(t,e){this.canLoad=!1,this.dispatchEvent("last",null,[t,e])},s.onPageError=function(t,e){returnthis.isLoading=!1,this.canLoad=!1,this.dispatchEvent("error",null,[t,e]),t},e.create.prefill=function(){if(this.options.prefill){vart=this.options.append;if(!t)returnvoidconsole.error("append option required for prefill. Set as :"+t);this.updateMeasurements(),this.updateScroller(),this.isPrefilling=!0,this.on("append",this.prefill),this.once("error",this.stopPrefill),this.once("last",this.stopPrefill),this.prefill()}},s.prefill=function(){vart=this.getPrefillDistance();this.isPrefilling=t>=0,this.isPrefilling?(this.log("prefill"),this.loadNextPage()):this.stopPrefill()},s.getPrefillDistance=function(){returnthis.options.elementScroll?this.scroller.clientHeight-this.scroller.scrollHeight:this.windowHeight-this.element.clientHeight},s.stopPrefill=function(){this.log("stopPrefill"),this.off("append",this.prefill)},e}),function(t,e){"function"==typeofdefine&&define.amd?define("infinite-scroll/js/scroll-watch",["./core","fizzy-ui-utils/utils"],function(i,n){returne(t,i,n)}):"object"==typeofmodule&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,function(t,e,i){varn=e.prototype;returne.defaults.scrollThreshold=400,e.create.scrollWatch=function(){this.pageScrollHandler=this.onPageScroll.bind(this),this.resizeHandler=this.onResize.bind(this);vart=this.options.scrollThreshold,e=t||0===t;e&&this.enableScrollWatch()},e.destroy.scrollWatch=function(){this.disableScrollWatch()},n.enableScrollWatch=function(){this.isScrollWatching||(this.isScrollWatching=!0,this.updateMeasurements(),this.updateScroller(),this.on("last",this.disableScrollWatch),this.bindScrollWatchEvents(!0))},n.disableScrollWatch=function(){this.isScrollWatching&&(this.bindScrollWatchEvents(!1),deletethis.isScrollWatching)},n.bindScrollWatchEvents=function(e){vari=e?"addEventListener":"removeEventListener";this.scroller[i]("scroll",this.pageScrollHandler),t[i]("resize",this.resizeHandler)},n.onPageScroll=e.throttle(function(){vart=this.getBottomDistance();t<=this.options.scrollThreshold&&this.dispatchEvent("scrollThreshold")}),n.getBottomDistance=function(){returnthis.options.elementScroll?this.getElementBottomDistance():this.getWindowBottomDistance()},n.getWindowBottomDistance=function(){vare=this.top+this.element.clientHeight,i=t.pageYOffset+this.windowHeight;returne-i},n.getElementBottomDistance=function(){vart=this.scroller.scrollHeight,e=this.scroller.scrollTop+this.scroller.clientHeight;returnt-e},n.onResize=function(){this.updateMeasurements()},i.debounceMethod(e,"onResize",150),e}),function(t,e){"function"==typeofdefine&&define.amd?define("infinite-scroll/js/history",["./core","fizzy-ui-utils/utils"],function(i,n){returne(t,i,n)}):"object"==typeofmodule&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,function(t,e,i){varn=e.prototype;e.defaults.history="replace";varo=document.createElement("a");returne.create.history=function(){if(this.options.history){o.href=this.getAbsolutePath();vart=o.origin||o.protocol+"//"+o.host,e=t==location.origin;returne?void(this.options.append?this.createHistoryAppend():this.createHistoryPageLoad()):voidconsole.error("[InfiniteScroll] cannot set history with different origin: "+o.origin+" on "+location.origin+" . History behavior disabled.")}},n.createHistoryAppend=function(){this.updateMeasurements(),this.updateScroller(),this.scrollPages=[{top:0,path:location.href,title:document.title}],this.scrollPageIndex=0,this.scrollHistoryHandler=this.onScrollHistory.bind(this),this.unloadHandler=this.onUnload.bind(this),this.scroller.addEventListener("scroll",this.scrollHistoryHandler),this.on("append",this.onAppendHistory),this.bindHistoryAppendEvents(!0)},n.bindHistoryAppendEvents=function(e){vari=e?"addEventListener":"removeEventListener";this.scroller[i]("scroll",this.scrollHistoryHandler),t[i]("unload",this.unloadHandler)},n.createHistoryPageLoad=function(){this.on("load",this.onPageLoadHistory)},e.destroy.history=n.destroyHistory=function(){vart=this.options.history&&this.options.append;t&&this.bindHistoryAppendEvents(!1)},n.onAppendHistory=function(t,e,i){if(i&&i.length){varn=i[0],r=this.getElementScrollY(n);o.href=e,this.scrollPages.push({top:r,path:o.href,title:t.title})}},n.getElementScrollY=function(t){returnthis.options.elementScroll?this.getElementElementScrollY(t):this.getElementWindowScrollY(t)},n.getElementWindowScrollY=function(e){vari=e.getBoundingClientRect();returni.top+t.pageYOffset},n.getElementElementScrollY=function(t){returnt.offsetTop-this.top},n.onScrollHistory=function(){for(vart,e,i=this.getScrollViewY(),n=0;n<this.scrollPages.length;n++){varo=this.scrollPages[n];if(o.top>=i)break;t=n,e=o}t!=this.scrollPageIndex&&(this.scrollPageIndex=t,this.setHistory(e.title,e.path))},i.debounceMethod(e,"onScrollHistory",150),n.getScrollViewY=function(){returnthis.options.elementScroll?this.scroller.scrollTop+this.scroller.clientHeight/2:t.pageYOffset+this.windowHeight/2},n.setHistory=function(t,e){vari=this.options.history,n=i&&history[i+"State"];n&&(history[i+"State"](null,t,e),this.options.historyTitle&&(document.title=t),this.dispatchEvent("history",null,[t,e]))},n.onUnload=function(){vare=this.scrollPageIndex;if(0!==e){vari=this.scrollPages[e],n=t.pageYOffset-i.top+this.top;this.destroyHistory(),scrollTo(0,n)}},n.onPageLoadHistory=function(t,e){this.setHistory(t.title,e)},e}),function(t,e){"function"==typeofdefine&&define.amd?define("infinite-scroll/js/button",["./core","fizzy-ui-utils/utils"],function(i,n){returne(t,i,n)}):"object"==typeofmodule&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,function(t,e,i){functionn(t,e){this.element=t,this.infScroll=e,this.clickHandler=this.onClick.bind(this),this.element.addEventListener("click",this.clickHandler),e.on("request",this.disable.bind(this)),e.on("load",this.enable.bind(this)),e.on("error",this.hide.bind(this)),e.on("last",this.hide.bind(this))}returne.create.button=function(){vart=i.getQueryElement(this.options.button);if(t)returnvoid(this.button=newn(t,this))},e.destroy.button=function(){this.button&&this.button.destroy()},n.prototype.onClick=function(t){t.preventDefault(),this.infScroll.loadNextPage()},n.prototype.enable=function(){this.element.removeAttribute("disabled")},n.prototype.disable=function(){this.element.disabled="disabled"},n.prototype.hide=function(){this.element.style.display="none"},n.prototype.destroy=function(){this.element.removeEventListener("click",this.clickHandler)},e.Button=n,e}),function(t,e){"function"==typeofdefine&&define.amd?define("infinite-scroll/js/status",["./core","fizzy-ui-utils/utils"],function(i,n){returne(t,i,n)}):"object"==typeofmodule&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,function(t,e,i){functionn(t){r(t,"none")}functiono(t){r(t,"block")}functionr(t,e){t&&(t.style.display=e)}vars=e.prototype;returne.create.status=function(){vart=i.getQueryElement(this.options.status);t&&(this.statusElement=t,this.statusEventElements={request:t.querySelector(".infinite-scroll-request"),error:t.querySelector(".infinite-scroll-error"),last:t.querySelector(".infinite-scroll-last")},this.on("request",this.showRequestStatus),this.on("error",this.showErrorStatus),this.on("last",this.showLastStatus),this.bindHideStatus("on"))},s.bindHideStatus=function(t){vare=this.options.append?"append":"load";this[t](e,this.hideAllStatus)},s.showRequestStatus=function(){this.showStatus("request")},s.showErrorStatus=function(){this.showStatus("error")},s.showLastStatus=function(){this.showStatus("last"),this.bindHideStatus("off")},s.showStatus=function(t){o(this.statusElement),this.hideStatusEventElements();vare=this.statusEventElements[t];o(e)},s.hideAllStatus=function(){n(this.statusElement),this.hideStatusEventElements()},s.hideStatusEventElements=function(){for(vartinthis.statusEventElements){vare=this.statusEventElements[t];n(e)}},e}),function(t,e){"function"==typeofdefine&&define.amd?define(["infinite-scroll/js/core","infinite-scroll/js/page-load","infinite-scroll/js/scroll-watch","infinite-scroll/js/history","infinite-scroll/js/button","infinite-scroll/js/status"],e):"object"==typeofmodule&&module.exports&&(module.exports=e(require("./core"),require("./page-load"),require("./scroll-watch"),require("./history"),require("./button"),require("./status")))}(window,function(t){returnt}),function(t,e){"use strict";"function"==typeofdefine&&define.amd?define("imagesloaded/imagesloaded",["ev-emitter/ev-emitter"],function(i){returne(t,i)}):"object"==typeofmodule&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeofwindow?window:this,function(t,e){functioni(t,e){for(variine)t[i]=e[i];returnt}functionn(t){if(Array.isArray(t))returnt;vare="object"==typeoft&&"number"==typeoft.length;returne?h.call(t):[t]}functiono(t,e,r){if(!(thisinstanceofo))returnnewo(t,e,r);vars=t;return"string"==typeoft&&(s=document.querySelectorAll(t)),s?(this.elements=n(s),this.options=i({},this.options),"function"==typeofe?r=e:i(this.options,e),r&&this.on("always",r),this.getImages(),l&&(this.jqDeferred=newl.Deferred),voidsetTimeout(this.check.bind(this))):voida.error("Bad element for imagesLoaded "+(s||t))}functionr(t){this.img=t}functions(t,e){this.url=t,this.element=e,this.img=newImage}varl=t.jQuery,a=t.console,h=Array.prototype.slice;o.prototype=Object.create(e.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),this.options.background===!0&&this.addElementBackgroundImages(t);vare=t.nodeType;if(e&&c[e]){for(vari=t.querySelectorAll("img"),n=0;n<i.length;n++){varo=i[n];this.addImage(o)}if("string"==typeofthis.options.background){varr=t.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){vars=r[n];this.addElementBackgroundImages(s)}}}};varc={1:!0,9:!0,11:!0};returno.prototype.addElementBackgroundImages=function(t){vare=getComputedStyle(t);if(e)for(vari=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){varo=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},o.prototype.addImage=function(t){vare=newr(t);this.images.push(e)},o.prototype.addBackground=function(t,e){vari=news(t,e);this.images.push(i)},o.prototype.check=function(){functiont(t,i,n){setTimeout(function(){e.progress(t,i,n)})}vare=this;returnthis.progressedCount=0,this.hasAnyBroken=!1,this.images.length?voidthis.images.forEach(function(e){e.once("progress",t),e.check()}):voidthis.complete()},o.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+i,t,e)},o.prototype.complete=function(){vart=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){vare=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},r.prototype=Object.create(e.prototype),r.prototype.check=function(){vart=this.getIsImageComplete();returnt?voidthis.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=newImage,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},r.prototype.getIsImageComplete=function(){returnthis.img.complete&&this.img.naturalWidth},r.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},r.prototype.handleEvent=function(t){vare="on"+t.type;this[e]&&this[e](t)},r.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},r.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},r.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(r.prototype),s.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;vart=this.getIsImageComplete();t&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},o.makeJQueryPlugin=function(e){e=e||t.jQuery,e&&(l=e,l.fn.imagesLoaded=function(t,e){vari=newo(this,t,e);returni.jqDeferred.promise(l(this))})},o.makeJQueryPlugin(),o});
!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";vare,i;functionc(){returne.apply(null,arguments)}functiono(e){returneinstanceofArray||"[object Array]"===Object.prototype.toString.call(e)}functionu(e){returnnull!=e&&"[object Object]"===Object.prototype.toString.call(e)}functionl(e){returnvoid0===e}functiond(e){return"number"==typeofe||"[object Number]"===Object.prototype.toString.call(e)}functionh(e){returneinstanceofDate||"[object Date]"===Object.prototype.toString.call(e)}functionf(e,t){varn,s=[];for(n=0;n<e.length;++n)s.push(t(e[n],n));returns}functionm(e,t){returnObject.prototype.hasOwnProperty.call(e,t)}function_(e,t){for(varnint)m(t,n)&&(e[n]=t[n]);returnm(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}functiony(e,t,n,s){returnOt(e,t,n,s,!0).utc()}functiong(e){returnnull==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}functionp(e){if(null==e._isValid){vart=g(e),n=i.call(t.parsedDateParts,function(e){returnnull!=e}),s=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(s=s&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))returns;e._isValid=s}returne._isValid}functionv(e){vart=y(NaN);returnnull!=e?_(g(t),e):g(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){for(vart=Object(this),n=t.length>>>0,s=0;s<n;s++)if(sint&&e.call(this,t[s],s,t))return!0;return!1};varr=c.momentProperties=[];functionw(e,t){varn,s,i;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=g(t)),l(t._locale)||(e._locale=t._locale),0<r.length)for(n=0;n<r.length;n++)l(i=t[s=r[n]])||(e[s]=i);returne}vart=!1;functionM(e){w(this,e),this._d=newDate(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=newDate(NaN)),!1===t&&(t=!0,c.updateOffset(this),t=!1)}functionS(e){returneinstanceofM||null!=e&&null!=e._isAMomentObject}functionD(e){returne<0?Math.ceil(e)||0:Math.floor(e)}functionk(e){vart=+e,n=0;return0!==t&&isFinite(t)&&(n=D(t)),n}functiona(e,t,n){vars,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(s=0;s<i;s++)(n&&e[s]!==t[s]||!n&&k(e[s])!==k(t[s]))&&a++;returna+r}functionY(e){!1===c.suppressDeprecationWarnings&&"undefined"!=typeofconsole&&console.warn&&console.warn("Deprecation warning: "+e)}functionn(i,r){vara=!0;return_(function(){if(null!=c.deprecationHandler&&c.deprecationHandler(null,i),a){for(vare,t=[],n=0;n<arguments.length;n++){if(e="","object"==typeofarguments[n]){for(varsine+="\n["+n+"] ",arguments[0])e+=s+": "+arguments[0][s]+", ";e=e.slice(0,-2)}elsee=arguments[n];t.push(e)}Y(i+"\nArguments: "+Array.prototype.slice.call(t).join("")+"\n"+(newError).stack),a=!1}returnr.apply(this,arguments)},r)}vars,O={};functionT(e,t){null!=c.deprecationHandler&&c.deprecationHandler(e,t),O[e]||(Y(t),O[e]=!0)}functionx(e){returneinstanceofFunction||"[object Function]"===Object.prototype.toString.call(e)}functionb(e,t){varn,s=_({},e);for(nint)m(t,n)&&(u(e[n])&&u(t[n])?(s[n]={},_(s[n],e[n]),_(s[n],t[n])):null!=t[n]?s[n]=t[n]:deletes[n]);for(nine)m(e,n)&&!m(t,n)&&u(e[n])&&(s[n]=_({},s[n]));returns}functionP(e){null!=e&&this.set(e)}c.suppressDeprecationWarnings=!1,c.deprecationHandler=null,s=Object.keys?Object.keys:function(e){vart,n=[];for(tine)m(e,t)&&n.push(t);returnn};varW={};functionH(e,t){varn=e.toLowerCase();W[n]=W[n+"s"]=W[t]=e}functionR(e){return"string"==typeofe?W[e]||W[e.toLowerCase()]:void0}functionC(e){vart,n,s={};for(nine)m(e,n)&&(t=R(n))&&(s[t]=e[n]);returns}varF={};functionL(e,t){F[e]=t}functionU(e,t,n){vars=""+Math.abs(e),i=t-s.length;return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}varN=/(\[[^\[]*\])|(\\)?([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,G=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},E={};functionI(e,t,n,s){vari=s;"string"==typeofs&&(i=function(){returnthis[s]()}),e&&(E[e]=i),t&&(E[t[0]]=function(){returnU(i.apply(this,arguments),t[1],t[2])}),n&&(E[n]=function(){returnthis.localeData().ordinal(i.apply(this,arguments),e)})}functionA(e,t){returne.isValid()?(t=j(t,e.localeData()),V[t]=V[t]||function(s){vare,i,t,r=s.match(N);for(e=0,i=r.length;e<i;e++)E[r[e]]?r[e]=E[r[e]]:r[e]=(t=r[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");returnfunction(e){vart,n="";for(t=0;t<i;t++)n+=x(r[t])?r[t].call(e,s):r[t];returnn}}(t),V[t](e)):e.localeData().invalidDate()}functionj(e,t){varn=5;functions(e){returnt.longDateFormat(e)||e}for(G.lastIndex=0;0<=n&&G.test(e);)e=e.replace(G,s),G.lastIndex=0,n-=1;returne}varZ=/\d/,z=/\d\d/,$=/\d{3}/,q=/\d{4}/,J=/[+-]?\d{6}/,B=/\d\d?/,Q=/\d\d\d\d?/,X=/\d\d\d\d\d\d?/,K=/\d{1,3}/,ee=/\d{1,4}/,te=/[+-]?\d{1,6}/,ne=/\d+/,se=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,re=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,oe={};functionue(e,n,s){oe[e]=x(n)?n:function(e,t){returne&&s?s:n}}functionle(e,t){returnm(oe,e)?oe[e](t._strict,t._locale):newRegExp(de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){returnt||n||s||i})))}functionde(e){returne.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}varhe={};functionce(e,n){vart,s=n;for("string"==typeofe&&(e=[e]),d(n)&&(s=function(e,t){t[n]=k(e)}),t=0;t<e.length;t++)he[e[t]]=s}functionfe(e,i){ce(e,function(e,t,n,s){n._w=n._w||{},i(e,n._w,n,s)})}varme=0,_e=1,ye=2,ge=3,pe=4,ve=5,we=6,Me=7,Se=8;functionDe(e){returnke(e)?366:365}functionke(e){returne%4==0&&e%100!=0||e%400==0}I("Y",0,0,function(){vare=this.year();returne<=9999?""+e:"+"+e}),I(0,["YY",2],0,function(){returnthis.year()%100}),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),H("year","y"),L("year",1),ue("Y",se),ue("YY",B,z),ue("YYYY",ee,q),ue("YYYYY",te,J),ue("YYYYYY",te,J),ce(["YYYYY","YYYYYY"],me),ce("YYYY",function(e,t){t[me]=2===e.length?c.parseTwoDigitYear(e):k(e)}),ce("YY",function(e,t){t[me]=c.parseTwoDigitYear(e)}),ce("Y",function(e,t){t[me]=parseInt(e,10)}),c.parseTwoDigitYear=function(e){returnk(e)+(68<k(e)?1900:2e3)};varYe,Oe=Te("FullYear",!0);functionTe(t,n){returnfunction(e){returnnull!=e?(be(this,t,e),c.updateOffset(this,n),this):xe(this,t)}}functionxe(e,t){returne.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}functionbe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ke(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}functionPe(e,t){if(isNaN(e)||isNaN(t))returnNaN;varn,s=(t%(n=12)+n)%n;returne+=(t-s)/12,1===s?ke(e)?29:28:31-s%7%2}Ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){vart;for(t=0;t<this.length;++t)if(this[t]===e)returnt;return-1},I("M",["MM",2],"Mo",function(){returnthis.month()+1}),I("MMM",0,0,function(e){returnthis.localeData().monthsShort(this,e)}),I("MMMM",0,0,function(e){returnthis.localeData().months(this,e)}),H("month","M"),L("month",8),ue("M",B),ue("MM",B,z),ue("MMM",function(e,t){returnt.monthsShortRegex(e)}),ue("MMMM",function(e,t){returnt.monthsRegex(e)}),ce(["M","MM"],function(e,t){t[_e]=k(e)-1}),ce(["MMM","MMMM"],function(e,t,n,s){vari=n._locale.monthsParse(e,s,n._strict);null!=i?t[_e]=i:g(n).invalidMonth=e});varWe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,He="January_February_March_April_May_June_July_August_September_October_November_December".split("_");varRe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");functionCe(e,t){varn;if(!e.isValid())returne;if("string"==typeoft)if(/^\d+$/.test(t))t=k(t);elseif(!d(t=e.localeData().monthsParse(t)))returne;returnn=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}functionFe(e){returnnull!=e?(Ce(this,e),c.updateOffset(this,!0),this):xe(this,"Month")}varLe=ae;varUe=ae;functionNe(){functione(e,t){returnt.length-e.length}vart,n,s=[],i=[],r=[];for(t=0;t<12;t++)n=y([2e3,t]),s.push(this.monthsShort(n,"")),i.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(s.sort(e),i.sort(e),r.sort(e),t=0;t<12;t++)s[t]=de(s[t]),i[t]=de(i[t]);for(t=0;t<24;t++)r[t]=de(r[t]);this._monthsRegex=newRegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=newRegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=newRegExp("^("+s.join("|")+")","i")}functionGe(e){vart=newDate(Date.UTC.apply(null,arguments));returne<100&&0<=e&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}functionVe(e,t,n){vars=7+t-n;return-((7+Ge(e,0,s).getUTCDay()-t)%7)+s-1}functionEe(e,t,n,s,i){varr,a,o=1+7*(t-1)+(7+n-s)%7+Ve(e,s,i);returno<=0?a=De(r=e-1)+o:o>De(e)?(r=e+1,a=o-De(e)):(r=e,a=o),{year:r,dayOfYear:a}}functionIe(e,t,n){vars,i,r=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;returna<1?s=a+Ae(i=e.year()-1,t,n):a>Ae(e.year(),t,n)?(s=a-Ae(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}functionAe(e,t,n){vars=Ve(e,t,n),i=Ve(e+1,t,n);return(De(e)-s+i)/7}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),L("week",5),L("isoWeek",5),ue("w",B),ue("ww",B,z),ue("W",B),ue("WW",B,z),fe(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=k(e)});I("d",0,"do","day"),I("dd",0,0,function(e){returnthis.localeData().weekdaysMin(this,e)}),I("ddd",0,0,function(e){returnthis.localeData().weekdaysShort(this,e)}),I("dddd",0,0,function(e){returnthis.localeData().weekdays(this,e)}),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),L("day",11),L("weekday",11),L("isoWeekday",11),ue("d",B),ue("e",B),ue("E",B),ue("dd",function(e,t){returnt.weekdaysMinRegex(e)}),ue("ddd",function(e,t){returnt.weekdaysShortRegex(e)}),ue("dddd",function(e,t){returnt.weekdaysRegex(e)}),fe(["dd","ddd","dddd"],function(e,t,n,s){vari=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:g(n).invalidWeekday=e}),fe(["d","e","E"],function(e,t,n,s){t[s]=k(e)});varje="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");varZe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");varze="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var$e=ae;varqe=ae;varJe=ae;functionBe(){functione(e,t){returnt.length-e.length}vart,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=y([2e3,1]).day(t),s=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),r=this.weekdays(n,""),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);for(a.sort(e),o.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)o[t]=de(o[t]),u[t]=de(u[t]),l[t]=de(l[t]);this._weekdaysRegex=newRegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=newRegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=newRegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=newRegExp("^("+a.join("|")+")","i")}functionQe(){returnthis.hours()%12||12}functionXe(e,t){I(e,0,0,function(){returnthis.localeData().meridiem(this.hours(),this.minutes(),t)})}functionKe(e,t){returnt._meridiemParse}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Qe),I("k",["kk",2],0,function(){returnthis.hours()||24}),I("hmm",0,0,function(){return""+Qe.apply(this)+U(this.minutes(),2)}),I("hmmss",0,0,function(){return""+Qe.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),I("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),I("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)}),Xe("a",!0),Xe("A",!1),H("hour","h"),L("hour",13),ue("a",Ke),ue("A",Ke),ue("H",B),ue("h",B),ue("k",B),ue("HH",B,z),ue("hh",B,z),ue("kk",B,z),ue("hmm",Q),ue("hmmss",X),ue("Hmm",Q),ue("Hmmss",X),ce(["H","HH"],ge),ce(["k","kk"],function(e,t,n){vars=k(e);t[ge]=24===s?0:s}),ce(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ce(["h","hh"],function(e,t,n){t[ge]=k(e),g(n).bigHour=!0}),ce("hmm",function(e,t,n){vars=e.length-2;t[ge]=k(e.substr(0,s)),t[pe]=k(e.substr(s)),g(n).bigHour=!0}),ce("hmmss",function(e,t,n){vars=e.length-4,i=e.length-2;t[ge]=k(e.substr(0,s)),t[pe]=k(e.substr(s,2)),t[ve]=k(e.substr(i)),g(n).bigHour=!0}),ce("Hmm",function(e,t,n){vars=e.length-2;t[ge]=k(e.substr(0,s)),t[pe]=k(e.substr(s))}),ce("Hmmss",function(e,t,n){vars=e.length-4,i=e.length-2;t[ge]=k(e.substr(0,s)),t[pe]=k(e.substr(s,2)),t[ve]=k(e.substr(i))});varet,tt=Te("Hours",!0),nt={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",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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:He,monthsShort:Re,week:{dow:0,doy:6},weekdays:je,weekdaysMin:ze,weekdaysShort:Ze,meridiemParse:/[ap]\.?m?\.?/i},st={},it={};functionrt(e){returne?e.toLowerCase().replace("_","-"):e}functionat(e){vart=null;if(!st[e]&&"undefined"!=typeofmodule&&module&&module.exports)try{t=et._abbr,require("./locale/"+e),ot(t)}catch(e){}returnst[e]}functionot(e,t){varn;returne&&((n=l(t)?lt(e):ut(e,t))?et=n:"undefined"!=typeofconsole&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),et._abbr}functionut(e,t){if(null!==t){varn,s=nt;if(t.abbr=e,null!=st[e])T("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."),s=st[e]._config;elseif(null!=t.parentLocale)if(null!=st[t.parentLocale])s=st[t.parentLocale]._config;else{if(null==(n=at(t.parentLocale)))returnit[t.parentLocale]||(it[t.parentLocale]=[]),it[t.parentLocale].push({name:e,config:t}),null;s=n._config}returnst[e]=newP(b(s,t)),it[e]&&it[e].forEach(function(e){ut(e.name,e.config)}),ot(e),st[e]}returndeletest[e],null}functionlt(e){vart;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)returnet;if(!o(e)){if(t=at(e))returnt;e=[e]}returnfunction(e){for(vart,n,s,i,r=0;r<e.length;){for(t=(i=rt(e[r]).split("-")).length,n=(n=rt(e[r+1]))?n.split("-"):null;0<t;){if(s=at(i.slice(0,t).join("-")))returns;if(n&&n.length>=t&&a(i,n,!0)>=t-1)break;t--}r++}returnet}(e)}functiondt(e){vart,n=e._a;returnn&&-2===g(e).overflow&&(t=n[_e]<0||11<n[_e]?_e:n[ye]<1||n[ye]>Pe(n[me],n[_e])?ye:n[ge]<0||24<n[ge]||24===n[ge]&&(0!==n[pe]||0!==n[ve]||0!==n[we])?ge:n[pe]<0||59<n[pe]?pe:n[ve]<0||59<n[ve]?ve:n[we]<0||999<n[we]?we:-1,g(e)._overflowDayOfYear&&(t<me||ye<t)&&(t=ye),g(e)._overflowWeeks&&-1===t&&(t=Me),g(e)._overflowWeekday&&-1===t&&(t=Se),g(e).overflow=t),e}functionht(e,t,n){returnnull!=e?e:null!=t?t:n}functionct(e){vart,n,s,i,r,a=[];if(!e._d){varo,u;for(o=e,u=newDate(c.now()),s=o._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[ye]&&null==e._a[_e]&&function(e){vart,n,s,i,r,a,o,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)r=1,a=4,n=ht(t.GG,e._a[me],Ie(Tt(),1,4).year),s=ht(t.W,1),((i=ht(t.E,1))<1||7<i)&&(u=!0);else{r=e._locale._week.dow,a=e._locale._week.doy;varl=Ie(Tt(),r,a);n=ht(t.gg,e._a[me],l.year),s=ht(t.w,l.week),null!=t.d?((i=t.d)<0||6<i)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||6<t.e)&&(u=!0)):i=r}s<1||s>Ae(n,r,a)?g(e)._overflowWeeks=!0:null!=u?g(e)._overflowWeekday=!0:(o=Ee(n,s,i,r,a),e._a[me]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(r=ht(e._a[me],s[me]),(e._dayOfYear>De(r)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=Ge(r,0,e._dayOfYear),e._a[_e]=n.getUTCMonth(),e._a[ye]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=s[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ge]&&0===e._a[pe]&&0===e._a[ve]&&0===e._a[we]&&(e._nextDay=!0,e._a[ge]=0),e._d=(e._useUTC?Ge:function(e,t,n,s,i,r,a){varo=newDate(e,t,n,s,i,r,a);returne<100&&0<=e&&isFinite(o.getFullYear())&&o.setFullYear(e),o}).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ge]=24),e._w&&void0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}varft=/^\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)?)?$/,mt=/^\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)?)?$/,_t=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["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}/]],gt=[["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/]],pt=/^\/?Date\((\-?\d+)/i;functionvt(e){vart,n,s,i,r,a,o=e._i,u=ft.exec(o)||mt.exec(o);if(u){for(g(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(u[1])){i=yt[t][0],s=!1!==yt[t][2];break}if(null==i)returnvoid(e._isValid=!1);if(u[3]){for(t=0,n=gt.length;t<n;t++)if(gt[t][1].exec(u[3])){r=(u[2]||"")+gt[t][0];break}if(null==r)returnvoid(e._isValid=!1)}if(!s&&null!=r)returnvoid(e._isValid=!1);if(u[4]){if(!_t.exec(u[4]))returnvoid(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),kt(e)}elsee._isValid=!1}varwt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;functionMt(e,t,n,s,i,r){vara=[function(e){vart=parseInt(e,10);{if(t<=49)return2e3+t;if(t<=999)return1900+t}returnt}(e),Re.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(i,10)];returnr&&a.push(parseInt(r,10)),a}varSt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};functionDt(e){vart,n,s,i=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g,"").replace(/(\s\s+)/g,"").trim());if(i){varr=Mt(i[4],i[3],i[2],i[5],i[6],i[7]);if(t=i[1],n=r,s=e,t&&Ze.indexOf(t)!==newDate(n[0],n[1],n[2]).getDay()&&(g(s).weekdayMismatch=!0,!(s._isValid=!1)))return;e._a=r,e._tzm=function(e,t,n){if(e)returnSt[e];if(t)return0;vars=parseInt(n,10),i=s%100;return(s-i)/100*60+i}(i[8],i[9],i[10]),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}elsee._isValid=!1}functionkt(e){if(e._f!==c.ISO_8601)if(e._f!==c.RFC_2822){e._a=[],g(e).empty=!0;vart,n,s,i,r,a,o,u,l=""+e._i,d=l.length,h=0;for(s=j(e._f,e._locale).match(N)||[],t=0;t<s.length;t++)i=s[t],(n=(l.match(le(i,e))||[])[0])&&(0<(r=l.substr(0,l.indexOf(n))).length&&g(e).unusedInput.push(r),l=l.slice(l.indexOf(n)+n.length),h+=n.length),E[i]?(n?g(e).empty=!1:g(e).unusedTokens.push(i),a=i,u=e,null!=(o=n)&&m(he,a)&&he[a](o,u._a,u,a)):e._strict&&!n&&g(e).unusedTokens.push(i);g(e).charsLeftOver=d-h,0<l.length&&g(e).unusedInput.push(l),e._a[ge]<=12&&!0===g(e).bigHour&&0<e._a[ge]&&(g(e).bigHour=void0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[ge]=function(e,t,n){vars;if(null==n)returnt;returnnull!=e.meridiemHour?e.meridiemHour(t,n):(null!=e.isPM&&((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0)),t)}(e._locale,e._a[ge],e._meridiem),ct(e),dt(e)}elseDt(e);elsevt(e)}functionYt(e){vart,n,s,i,r=e._i,a=e._f;returne._locale=e._locale||lt(e._l),null===r||void0===a&&""===r?v({nullInput:!0}):("string"==typeofr&&(e._i=r=e._locale.preparse(r)),S(r)?newM(dt(r)):(h(r)?e._d=r:o(a)?function(e){vart,n,s,i,r;if(0===e._f.length)returng(e).invalidFormat=!0,e._d=newDate(NaN);for(i=0;i<e._f.length;i++)r=0,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],kt(t),p(t)&&(r+=g(t).charsLeftOver,r+=10*g(t).unusedTokens.length,g(t).score=r,(null==s||r<s)&&(s=r,n=t));_(e,n||t)}(e):a?kt(e):l(n=(t=e)._i)?t._d=newDate(c.now()):h(n)?t._d=newDate(n.valueOf()):"string"==typeofn?(s=t,null===(i=pt.exec(s._i))?(vt(s),!1===s._isValid&&(deletes._isValid,Dt(s),!1===s._isValid&&(deletes._isValid,c.createFromInputFallback(s)))):s._d=newDate(+i[1])):o(n)?(t._a=f(n.slice(0),function(e){returnparseInt(e,10)}),ct(t)):u(n)?function(e){if(!e._d){vart=C(e._i);e._a=f([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){returne&&parseInt(e,10)}),ct(e)}}(t):d(n)?t._d=newDate(n):c.createFromInputFallback(t),p(e)||(e._d=null),e))}functionOt(e,t,n,s,i){varr,a={};return!0!==n&&!1!==n||(s=n,n=void0),(u(e)&&function(e){if(Object.getOwnPropertyNames)return0===Object.getOwnPropertyNames(e).length;vart;for(tine)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=s,(r=newM(dt(Yt(a))))._nextDay&&(r.add(1,"d"),r._nextDay=void0),r}functionTt(e,t,n,s){returnOt(e,t,n,s,!1)}c.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=newDate(e._i+(e._useUTC?" UTC":""))}),c.ISO_8601=function(){},c.RFC_2822=function(){};varxt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){vare=Tt.apply(null,arguments);returnthis.isValid()&&e.isValid()?e<this?this:e:v()}),bt=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){vare=Tt.apply(null,arguments);returnthis.isValid()&&e.isValid()?this<e?this:e:v()});functionPt(e,t){varn,s;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)returnTt();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);returnn}varWt=["year","quarter","month","week","day","hour","minute","second","millisecond"];functionHt(e){vart=C(e),n=t.year||0,s=t.quarter||0,i=t.month||0,r=t.week||0,a=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,d=t.millisecond||0;this._isValid=function(e){for(vartine)if(-1===Ye.call(Wt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(varn=!1,s=0;s<Wt.length;++s)if(e[Wt[s]]){if(n)return!1;parseFloat(e[Wt[s]])!==k(e[Wt[s]])&&(n=!0)}return!0}(t),this._milliseconds=+d+1e3*l+6e4*u+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*s+12*n,this._data={},this._locale=lt(),this._bubble()}functionRt(e){returneinstanceofHt}functionCt(e){returne<0?-1*Math.round(-1*e):Math.round(e)}functionFt(e,n){I(e,0,0,function(){vare=this.utcOffset(),t="+";returne<0&&(e=-e,t="-"),t+U(~~(e/60),2)+n+U(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),ue("Z",re),ue("ZZ",re),ce(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(re,e)});varLt=/([\+\-]|\d\d)/gi;functionUt(e,t){varn=(t||"").match(e);if(null===n)returnnull;vars=((n[n.length-1]||[])+"").match(Lt)||["-",0,0],i=60*s[1]+k(s[2]);return0===i?0:"+"===s[0]?i:-i}functionNt(e,t){varn,s;returnt._isUTC?(n=t.clone(),s=(S(e)||h(e)?e.valueOf():Tt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),c.updateOffset(n,!1),n):Tt(e).local()}functionGt(e){return15*-Math.round(e._d.getTimezoneOffset()/15)}functionVt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}c.updateOffset=function(){};varEt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,It=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;functionAt(e,t){varn,s,i,r=e,a=null;returnRt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:d(e)?(r={},t?r[t]=e:r.milliseconds=e):(a=Et.exec(e))?(n="-"===a[1]?-1:1,r={y:0,d:k(a[ye])*n,h:k(a[ge])*n,m:k(a[pe])*n,s:k(a[ve])*n,ms:k(Ct(1e3*a[we]))*n}):(a=It.exec(e))?(n="-"===a[1]?-1:(a[1],1),r={y:jt(a[2],n),M:jt(a[3],n),w:jt(a[4],n),d:jt(a[5],n),h:jt(a[6],n),m:jt(a[7],n),s:jt(a[8],n)}):null==r?r={}:"object"==typeofr&&("from"inr||"to"inr)&&(i=function(e,t){varn;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Nt(t,e),e.isBefore(t)?n=Zt(e,t):((n=Zt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);returnn}(Tt(r.from),Tt(r.to)),(r={}).ms=i.milliseconds,r.M=i.months),s=newHt(r),Rt(e)&&m(e,"_locale")&&(s._locale=e._locale),s}functionjt(e,t){varn=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}functionZt(e,t){varn={milliseconds:0,months:0};returnn.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}functionzt(s,i){returnfunction(e,t){varn;returnnull===t||isNaN(+t)||(T(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),$t(this,At(e="string"==typeofe?+e:e,t),s),this}}function$t(e,t,n,s){vari=t._milliseconds,r=Ct(t._days),a=Ct(t._months);e.isValid()&&(s=null==s||s,a&&Ce(e,xe(e,"Month")+a*n),r&&be(e,"Date",xe(e,"Date")+r*n),i&&e._d.setTime(e._d.valueOf()+i*n),s&&c.updateOffset(e,r||a))}At.fn=Ht.prototype,At.invalid=function(){returnAt(NaN)};varqt=zt(1,"add"),Jt=zt(-1,"subtract");functionBt(e,t){varn=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months");return-(n+(t-s<0?(t-s)/(s-e.clone().add(n-1,"months")):(t-s)/(e.clone().add(n+1,"months")-s)))||0}functionQt(e){vart;returnvoid0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}c.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",c.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";varXt=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){returnvoid0===e?this.localeData():this.locale(e)});functionKt(){returnthis._locale}functionen(e,t){I(0,[e,e.length],0,t)}functiontn(e,t,n,s,i){varr;returnnull==e?Ie(this,s,i).year:((r=Ae(e,s,i))<t&&(t=r),function(e,t,n,s,i){varr=Ee(e,t,n,s,i),a=Ge(r.year,0,r.dayOfYear);returnthis.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,s,i))}I(0,["gg",2],0,function(){returnthis.weekYear()%100}),I(0,["GG",2],0,function(){returnthis.isoWeekYear()%100}),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),L("weekYear",1),L("isoWeekYear",1),ue("G",se),ue("g",se),ue("GG",B,z),ue("gg",B,z),ue("GGGG",ee,q),ue("gggg",ee,q),ue("GGGGG",te,J),ue("ggggg",te,J),fe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=k(e)}),fe(["gg","GG"],function(e,t,n,s){t[s]=c.parseTwoDigitYear(e)}),I("Q",0,"Qo","quarter"),H("quarter","Q"),L("quarter",7),ue("Q",Z),ce("Q",function(e,t){t[_e]=3*(k(e)-1)}),I("D",["DD",2],"Do","date"),H("date","D"),L("date",9),ue("D",B),ue("DD",B,z),ue("Do",function(e,t){returne?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ce(["D","DD"],ye),ce("Do",function(e,t){t[ye]=k(e.match(B)[0])});varnn=Te("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),L("dayOfYear",4),ue("DDD",K),ue("DDDD",$),ce(["DDD","DDDD"],function(e,t,n){n._dayOfYear=k(e)}),I("m",["mm",2],0,"minute"),H("minute","m"),L("minute",14),ue("m",B),ue("mm",B,z),ce(["m","mm"],pe);varsn=Te("Minutes",!1);I("s",["ss",2],0,"second"),H("second","s"),L("second",15),ue("s",B),ue("ss",B,z),ce(["s","ss"],ve);varrn,an=Te("Seconds",!1);for(I("S",0,0,function(){return~~(this.millisecond()/100)}),I(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,function(){return10*this.millisecond()}),I(0,["SSSSS",5],0,function(){return100*this.millisecond()}),I(0,["SSSSSS",6],0,function(){return1e3*this.millisecond()}),I(0,["SSSSSSS",7],0,function(){return1e4*this.millisecond()}),I(0,["SSSSSSSS",8],0,function(){return1e5*this.millisecond()}),I(0,["SSSSSSSSS",9],0,function(){return1e6*this.millisecond()}),H("millisecond","ms"),L("millisecond",16),ue("S",K,Z),ue("SS",K,z),ue("SSS",K,$),rn="SSSS";rn.length<=9;rn+="S")ue(rn,ne);functionon(e,t){t[we]=k(1e3*("0."+e))}for(rn="S";rn.length<=9;rn+="S")ce(rn,on);varun=Te("Milliseconds",!1);I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");varln=M.prototype;functiondn(e){returne}ln.add=qt,ln.calendar=function(e,t){varn=e||Tt(),s=Nt(n,this).startOf("day"),i=c.calendarFormat(this,s)||"sameElse",r=t&&(x(t[i])?t[i].call(this,n):t[i]);returnthis.format(r||this.localeData().calendar(i,this,Tt(n)))},ln.clone=function(){returnnewM(this)},ln.diff=function(e,t,n){vars,i,r;if(!this.isValid())returnNaN;if(!(s=Nt(e,this)).isValid())returnNaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=R(t)){case"year":r=Bt(this,s)/12;break;case"month":r=Bt(this,s);break;case"quarter":r=Bt(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}returnn?r:D(r)},ln.endOf=function(e){returnvoid0===(e=R(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},ln.format=function(e){e||(e=this.isUtc()?c.defaultFormatUtc:c.defaultFormat);vart=A(this,e);returnthis.localeData().postformat(t)},ln.from=function(e,t){returnthis.isValid()&&(S(e)&&e.isValid()||Tt(e).isValid())?At({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ln.fromNow=function(e){returnthis.from(Tt(),e)},ln.to=function(e,t){returnthis.isValid()&&(S(e)&&e.isValid()||Tt(e).isValid())?At({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ln.toNow=function(e){returnthis.to(Tt(),e)},ln.get=function(e){returnx(this[e=R(e)])?this[e]():this},ln.invalidAt=function(){returng(this).overflow},ln.isAfter=function(e,t){varn=S(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=R(l(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},ln.isBefore=function(e,t){varn=S(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=R(l(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},ln.isBetween=function(e,t,n,s){return("("===(s=s||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===s[1]?this.isBefore(t,n):!this.isAfter(t,n))},ln.isSame=function(e,t){varn,s=S(e)?e:Tt(e);return!(!this.isValid()||!s.isValid())&&("millisecond"===(t=R(t||"millisecond"))?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},ln.isSameOrAfter=function(e,t){returnthis.isSame(e,t)||this.isAfter(e,t)},ln.isSameOrBefore=function(e,t){returnthis.isSame(e,t)||this.isBefore(e,t)},ln.isValid=function(){returnp(this)},ln.lang=Xt,ln.locale=Qt,ln.localeData=Kt,ln.max=bt,ln.min=xt,ln.parsingFlags=function(){return_({},g(this))},ln.set=function(e,t){if("object"==typeofe)for(varn=function(e){vart=[];for(varnine)t.push({unit:n,priority:F[n]});returnt.sort(function(e,t){returne.priority-t.priority}),t}(e=C(e)),s=0;s<n.length;s++)this[n[s].unit](e[n[s].unit]);elseif(x(this[e=R(e)]))returnthis[e](t);returnthis},ln.startOf=function(e){switch(e=R(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},ln.subtract=Jt,ln.toArray=function(){vare=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ln.toObject=function(){vare=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ln.toDate=function(){returnnewDate(this.valueOf())},ln.toISOString=function(e){if(!this.isValid())returnnull;vart=!0!==e,n=t?this.clone().utc():this;returnn.year()<0||9999<n.year()?A(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?t?this.toDate().toISOString():newDate(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",A(n,"Z")):A(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ln.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";vare="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");varn="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';returnthis.format(n+s+"-MM-DD[T]HH:mm:ss.SSS"+i)},ln.toJSON=function(){returnthis.isValid()?this.toISOString():null},ln.toString=function(){returnthis.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ln.unix=function(){returnMath.floor(this.valueOf()/1e3)},ln.valueOf=function(){returnthis._d.valueOf()-6e4*(this._offset||0)},ln.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ln.year=Oe,ln.isLeapYear=function(){returnke(this.year())},ln.weekYear=function(e){returntn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ln.isoWeekYear=function(e){returntn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ln.quarter=ln.quarters=function(e){returnnull==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ln.month=Fe,ln.daysInMonth=function(){returnPe(this.year(),this.month())},ln.week=ln.weeks=function(e){vart=this.localeData().week(this);returnnull==e?t:this.add(7*(e-t),"d")},ln.isoWeek=ln.isoWeeks=function(e){vart=Ie(this,1,4).week;returnnull==e?t:this.add(7*(e-t),"d")},ln.weeksInYear=function(){vare=this.localeData()._week;returnAe(this.year(),e.dow,e.doy)},ln.isoWeeksInYear=function(){returnAe(this.year(),1,4)},ln.date=nn,ln.day=ln.days=function(e){if(!this.isValid())returnnull!=e?this:NaN;vart,n,s=this._isUTC?this._d.getUTCDay():this._d.getDay();returnnull!=e?(t=e,n=this.localeData(),e="string"!=typeoft?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-s,"d")):s},ln.weekday=function(e){if(!this.isValid())returnnull!=e?this:NaN;vart=(this.day()+7-this.localeData()._week.dow)%7;returnnull==e?t:this.add(e-t,"d")},ln.isoWeekday=function(e){if(!this.isValid())returnnull!=e?this:NaN;if(null!=e){vart=(n=e,s=this.localeData(),"string"==typeofn?s.weekdaysParse(n)%7||7:isNaN(n)?null:n);returnthis.day(this.day()%7?t:t-7)}returnthis.day()||7;varn,s},ln.dayOfYear=function(e){vart=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;returnnull==e?t:this.add(e-t,"d")},ln.hour=ln.hours=tt,ln.minute=ln.minutes=sn,ln.second=ln.seconds=an,ln.millisecond=ln.milliseconds=un,ln.utcOffset=function(e,t,n){vars,i=this._offset||0;if(!this.isValid())returnnull!=e?this:NaN;if(null!=e){if("string"==typeofe){if(null===(e=Ut(re,e)))returnthis}elseMath.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(s=Gt(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),i!==e&&(!t||this._changeInProgress?$t(this,At(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,c.updateOffset(this,!0),this._changeInProgress=null)),this}returnthis._isUTC?i:Gt(this)},ln.utc=function(e){returnthis.utcOffset(0,e)},ln.local=function(e){returnthis._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Gt(this),"m")),this},ln.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);elseif("string"==typeofthis._i){vare=Ut(ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}returnthis},ln.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ln.isDST=function(){returnthis.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ln.isLocal=function(){return!!this.isValid()&&!this._isUTC},ln.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ln.isUtc=Vt,ln.isUTC=Vt,ln.zoneAbbr=function(){returnthis._isUTC?"UTC":""},ln.zoneName=function(){returnthis._isUTC?"Coordinated Universal Time":""},ln.dates=n("dates accessor is deprecated. Use date instead.",nn),ln.months=n("months accessor is deprecated. Use month instead",Fe),ln.years=n("years accessor is deprecated. Use year instead",Oe),ln.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){returnnull!=e?("string"!=typeofe&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),ln.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!l(this._isDSTShifted))returnthis._isDSTShifted;vare={};if(w(e,this),(e=Yt(e))._a){vart=e._isUTC?y(e._a):Tt(e._a);this._isDSTShifted=this.isValid()&&0<a(e._a,t.toArray())}elsethis._isDSTShifted=!1;returnthis._isDSTShifted});varhn=P.prototype;functioncn(e,t,n,s){vari=lt(),r=y().set(s,t);returni[n](r,e)}functionfn(e,t,n){if(d(e)&&(t=e,e=void0),e=e||"",null!=t)returncn(e,t,n,"month");vars,i=[];for(s=0;s<12;s++)i[s]=cn(e,s,n,"month");returni}functionmn(e,t,n,s){"boolean"==typeofe?d(t)&&(n=t,t=void0):(t=e,e=!1,d(n=t)&&(n=t,t=void0)),t=t||"";vari,r=lt(),a=e?r._week.dow:0;if(null!=n)returncn(t,(n+a)%7,s,"day");varo=[];for(i=0;i<7;i++)o[i]=cn(t,(i+a)%7,s,"day");returno}hn.calendar=function(e,t,n){vars=this._calendar[e]||this._calendar.sameElse;returnx(s)?s.call(t,n):s},hn.longDateFormat=function(e){vart=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];returnt||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){returne.slice(1)}),this._longDateFormat[e])},hn.invalidDate=function(){returnthis._invalidDate},hn.ordinal=function(e){returnthis._ordinal.replace("%d",e)},hn.preparse=dn,hn.postformat=dn,hn.relativeTime=function(e,t,n,s){vari=this._relativeTime[n];returnx(i)?i(e,t,n,s):i.replace(/%d/i,e)},hn.pastFuture=function(e,t){varn=this._relativeTime[0<e?"future":"past"];returnx(n)?n(t):n.replace(/%s/i,t)},hn.set=function(e){vart,n;for(nine)x(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=newRegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hn.months=function(e,t){returne?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||We).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},hn.monthsShort=function(e,t){returne?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[We.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hn.monthsParse=function(e,t,n){vars,i,r;if(this._monthsParseExact)returnfunction(e,t,n){vars,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=y([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();returnn?"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ye.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,a))?i:-1!==(i=Ye.call(this._longMonthsParse,a))?i:null:-1!==(i=Ye.call(this._longMonthsParse,a))?i:-1!==(i=Ye.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=y([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=newRegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=newRegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=newRegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))returns;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))returns;if(!n&&this._monthsParse[s].test(e))returns}},hn.monthsRegex=function(e){returnthis._monthsParseExact?(m(this,"_monthsRegex")||Ne.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Ue),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},hn.monthsShortRegex=function(e){returnthis._monthsParseExact?(m(this,"_monthsRegex")||Ne.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Le),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},hn.week=function(e){returnIe(e,this._week.dow,this._week.doy).week},hn.firstDayOfYear=function(){returnthis._week.doy},hn.firstDayOfWeek=function(){returnthis._week.dow},hn.weekdays=function(e,t){returne?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},hn.weekdaysMin=function(e){returne?this._weekdaysMin[e.day()]:this._weekdaysMin},hn.weekdaysShort=function(e){returne?this._weekdaysShort[e.day()]:this._weekdaysShort},hn.weekdaysParse=function(e,t,n){vars,i,r;if(this._weekdaysParseExact)returnfunction(e,t,n){vars,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=y([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();returnn?"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,a))?i:-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:-1!==(i=Ye.call(this._weekdaysParse,a))?i:-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,a))?i:-1!==(i=Ye.call(this._weekdaysParse,a))?i:-1!==(i=Ye.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=y([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=newRegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[s]=newRegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[s]=newRegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=newRegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))returns;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))returns;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))returns;if(!n&&this._weekdaysParse[s].test(e))returns}},hn.weekdaysRegex=function(e){returnthis._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=$e),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},hn.weekdaysShortRegex=function(e){returnthis._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hn.weekdaysMinRegex=function(e){returnthis._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},hn.meridiem=function(e,t,n){return11<e?n?"pm":"PM":n?"am":"AM"},ot("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){vart=e%10;returne+(1===k(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),c.lang=n("moment.lang is deprecated. Use moment.locale instead.",ot),c.langData=n("moment.langData is deprecated. Use moment.localeData instead.",lt);var_n=Math.abs;functionyn(e,t,n,s){vari=At(t,n);returne._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}functiongn(e){returne<0?Math.floor(e):Math.ceil(e)}functionpn(e){return4800*e/146097}functionvn(e){return146097*e/4800}functionwn(e){returnfunction(){returnthis.as(e)}}varMn=wn("ms"),Sn=wn("s"),Dn=wn("m"),kn=wn("h"),Yn=wn("d"),On=wn("w"),Tn=wn("M"),xn=wn("y");functionbn(e){returnfunction(){returnthis.isValid()?this._data[e]:NaN}}varPn=bn("milliseconds"),Wn=bn("seconds"),Hn=bn("minutes"),Rn=bn("hours"),Cn=bn("days"),Fn=bn("months"),Ln=bn("years");varUn=Math.round,Nn={ss:44,s:45,m:45,h:22,d:26,M:11};varGn=Math.abs;functionVn(e){return(0<e)-(e<0)||+e}functionEn(){if(!this.isValid())returnthis.localeData().invalidDate();vare,t,n=Gn(this._milliseconds)/1e3,s=Gn(this._days),i=Gn(this._months);t=D((e=D(n/60))/60),n%=60,e%=60;varr=D(i/12),a=i%=12,o=s,u=t,l=e,d=n?n.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";varc=h<0?"-":"",f=Vn(this._months)!==Vn(h)?"-":"",m=Vn(this._days)!==Vn(h)?"-":"",_=Vn(this._milliseconds)!==Vn(h)?"-":"";returnc+"P"+(r?f+r+"Y":"")+(a?f+a+"M":"")+(o?m+o+"D":"")+(u||l||d?"T":"")+(u?_+u+"H":"")+(l?_+l+"M":"")+(d?_+d+"S":"")}varIn=Ht.prototype;returnIn.isValid=function(){returnthis._isValid},In.abs=function(){vare=this._data;returnthis._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},In.add=function(e,t){returnyn(this,e,t,1)},In.subtract=function(e,t){returnyn(this,e,t,-1)},In.as=function(e){if(!this.isValid())returnNaN;vart,n,s=this._milliseconds;if("month"===(e=R(e))||"year"===e)returnt=this._days+s/864e5,n=this._months+pn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(vn(this._months)),e){case"week":returnt/7+s/6048e5;case"day":returnt+s/864e5;case"hour":return24*t+s/36e5;case"minute":return1440*t+s/6e4;case"second":return86400*t+s/1e3;case"millisecond":returnMath.floor(864e5*t)+s;default:thrownewError("Unknown unit "+e)}},In.asMilliseconds=Mn,In.asSeconds=Sn,In.asMinutes=Dn,In.asHours=kn,In.asDays=Yn,In.asWeeks=On,In.asMonths=Tn,In.asYears=xn,In.valueOf=function(){returnthis.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},In._bubble=function(){vare,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return0<=r&&0<=a&&0<=o||r<=0&&a<=0&&o<=0||(r+=864e5*gn(vn(o)+a),o=a=0),u.milliseconds=r%1e3,e=D(r/1e3),u.seconds=e%60,t=D(e/60),u.minutes=t%60,n=D(t/60),u.hours=n%24,o+=i=D(pn(a+=D(n/24))),a-=gn(vn(i)),s=D(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},In.clone=function(){returnAt(this)},In.get=function(e){returne=R(e),this.isValid()?this[e+"s"]():NaN},In.milliseconds=Pn,In.seconds=Wn,In.minutes=Hn,In.hours=Rn,In.days=Cn,In.weeks=function(){returnD(this.days()/7)},In.months=Fn,In.years=Ln,In.humanize=function(e){if(!this.isValid())returnthis.localeData().invalidDate();vart,n,s,i,r,a,o,u,l,d,h,c=this.localeData(),f=(n=!e,s=c,i=At(t=this).abs(),r=Un(i.as("s")),a=Un(i.as("m")),o=Un(i.as("h")),u=Un(i.as("d")),l=Un(i.as("M")),d=Un(i.as("y")),(h=r<=Nn.ss&&["s",r]||r<Nn.s&&["ss",r]||a<=1&&["m"]||a<Nn.m&&["mm",a]||o<=1&&["h"]||o<Nn.h&&["hh",o]||u<=1&&["d"]||u<Nn.d&&["dd",u]||l<=1&&["M"]||l<Nn.M&&["MM",l]||d<=1&&["y"]||["yy",d])[2]=n,h[3]=0<+t,h[4]=s,function(e,t,n,s,i){returni.relativeTime(t||1,!!n,e,s)}.apply(null,h));returne&&(f=c.pastFuture(+this,f)),c.postformat(f)},In.toISOString=En,In.toString=En,In.toJSON=En,In.locale=Qt,In.localeData=Kt,In.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",En),In.lang=Xt,I("X",0,0,"unix"),I("x",0,0,"valueOf"),ue("x",se),ue("X",/[+-]?\d+(\.\d{1,3})?/),ce("X",function(e,t,n){n._d=newDate(1e3*parseFloat(e,10))}),ce("x",function(e,t,n){n._d=newDate(k(e))}),c.version="2.22.1",e=Tt,c.fn=ln,c.min=function(){returnPt("isBefore",[].slice.call(arguments,0))},c.max=function(){returnPt("isAfter",[].slice.call(arguments,0))},c.now=function(){returnDate.now?Date.now():+newDate},c.utc=y,c.unix=function(e){returnTt(1e3*e)},c.months=function(e,t){returnfn(e,t,"months")},c.isDate=h,c.locale=ot,c.invalid=v,c.duration=At,c.isMoment=S,c.weekdays=function(e,t,n){returnmn(e,t,n,"weekdays")},c.parseZone=function(){returnTt.apply(null,arguments).parseZone()},c.localeData=lt,c.isDuration=Rt,c.monthsShort=function(e,t){returnfn(e,t,"monthsShort")},c.weekdaysMin=function(e,t,n){returnmn(e,t,n,"weekdaysMin")},c.defineLocale=ut,c.updateLocale=function(e,t){if(null!=t){varn,s,i=nt;null!=(s=at(e))&&(i=s._config),(n=newP(t=b(i,t))).parentLocale=st[e],st[e]=n,ot(e)}elsenull!=st[e]&&(null!=st[e].parentLocale?st[e]=st[e].parentLocale:null!=st[e]&&deletest[e]);returnst[e]},c.locales=function(){returns(st)},c.weekdaysShort=function(e,t,n){returnmn(e,t,n,"weekdaysShort")},c.normalizeUnits=R,c.relativeTimeRounding=function(e){returnvoid0===e?Un:"function"==typeofe&&(Un=e,!0)},c.relativeTimeThreshold=function(e,t){returnvoid0!==Nn[e]&&(void0===t?Nn[e]:(Nn[e]=t,"s"===e&&(Nn.ss=t-1),!0))},c.calendarFormat=function(e,t){varn=e.diff(t,"days",!0);returnn<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},c.prototype=ln,c.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},c});
INSPIRO.pageloader={init:function(){var$body=$("body");if(typeof$.fn.animsition==='undefined'){INSPIRO.elements.notification("Warning","Pageloader plugin is missing, please add this code line <b> <script src="plugins/pageloader/pageloader.js"></script></b>, after <b>functions.js</b>","danger")
* A simple and easy jQuery plugin for CSS animated page transitions.
* http://blivesta.github.io/animsition
* License : MIT
* Author : blivesta (http://blivesta.com/)
*/!function(t){"use strict";"function"==typeofdefine&&define.amd?define(["jquery"],t):"object"==typeofexports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";varn="animsition",i=!1;t(window).on("load",function(){i=!0});vara={init:function(o){o=t.extend({inClass:"fade-in",outClass:"fade-out",inDuration:1500,outDuration:800,linkElement:".animsition-link",loading:!0,loadingParentElement:"body",loadingClass:"animsition-loading",loadingInner:"",timeout:!1,timeoutCountdown:5e3,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body",transition:function(t){window.location.href=t}},o),a.settings={timer:!1,data:{inClass:"animsition-in-class",inDuration:"animsition-in-duration",outClass:"animsition-out-class",outDuration:"animsition-out-duration",overlay:"animsition-overlay"},events:{inStart:"animsition.inStart",inEnd:"animsition.inEnd",outStart:"animsition.outStart",outEnd:"animsition.outEnd"}};vare=a.supportCheck.call(this,o);returne||!(o.browser.length>0)||e&&this.length?(a.optionCheck.call(this,o)&&t("."+o.overlayClass).length<=0&&a.addOverlay.call(this,o),o.loading&&t("."+o.loadingClass).length<=0&&a.addLoading.call(this,o),this.each(function(){vare=this,s=t(this),l=t(window),r=t(document);s.data(n)||(o=t.extend({},o),s.data(n,{options:o}),o.timeout&&a.addTimer.call(e),o.onLoadEvent&&(i?(a.settings.timer&&clearTimeout(a.settings.timer),a.in.call(e)):l.on("load",function(t){a.settings.timer&&clearTimeout(a.settings.timer),a.in.call(e)})),l.on("pageshow."+n,function(t){t.originalEvent.persisted&&a.in.call(e)}),l.on("unload."+n,function(){}),r.on("click."+n,o.linkElement,function(n){n.preventDefault();vari=t(this),o=i.attr("href");2===n.which||n.metaKey||n.shiftKey||-1!==navigator.platform.toUpperCase().indexOf("WIN")&&n.ctrlKey?window.open(o,"_blank"):a.out.call(e,i,o)}))})):("console"inwindow||(window.console={},window.console.log=function(t){returnt}),this.length||console.log("Animsition: Element does not exist on page."),e||console.log("Animsition: Does not support this browser."),a.destroy.call(this))},addOverlay:function(n){t(n.overlayParentElement).prepend('<div class="'+n.overlayClass+'"></div>')},addLoading:function(n){t(n.loadingParentElement).append('<div class="'+n.loadingClass+'">'+n.loadingInner+"</div>")},removeLoading:function(){vari=t(this).data(n).options;t(i.loadingParentElement).children("."+i.loadingClass).fadeOut().remove()},addTimer:function(){vari=this,o=t(this).data(n).options;a.settings.timer=setTimeout(function(){a.in.call(i),t(window).off("load."+n)},o.timeoutCountdown)},supportCheck:function(n){vari=t(this),a=n.browser,o=a.length,e=!1;0===o&&(e=!0);for(vars=0;s<o;s++)if("string"==typeofi.css(a[s])){e=!0;break}returne},optionCheck:function(n){vari=t(this);return!(!n.overlay&&!i.data(a.settings.data.overlay))},animationCheck:function(i,a,o){vare=t(this).data(n).options,s=typeofi,l=!a&&"number"===s,r=a&&"string"===s&&i.length>0;returnl||r?i=i:a&&o?i=e.inClass:!a&&o?i=e.inDuration:a&&!o?i=e.outClass:a||o||(i=e.outDuration),i},in:function(){vari=this,o=t(this),e=o.data(n).options,s=o.data(a.settings.data.inDuration),l=o.data(a.settings.data.inClass),r=a.animationCheck.call(i,s,!1,!0),d=a.animationCheck.call(i,l,!0,!0),u=a.optionCheck.call(i,e),c=o.data(n).outClass;e.loading&&a.removeLoading.call(i),c&&o.removeClass(c),u?a.inOverlay.call(i,d,r):a.inDefault.call(i,d,r)},inDefault:function(n,i){varo=t(this);o.css({"animation-duration":i+"ms"}).addClass(n).trigger(a.settings.events.inStart).animateCallback(function(){o.removeClass(n).css({opacity:1}).trigger(a.settings.events.inEnd)})},inOverlay:function(i,o){vare=t(this),s=e.data(n).options;e.css({opacity:1}).trigger(a.settings.events.inStart),t(s.overlayParentElement).children("."+s.overlayClass).css({"animation-duration":o+"ms"}).addClass(i).animateCallback(function(){e.trigger(a.settings.events.inEnd)})},out:function(i,o){vare=this,s=t(this),l=s.data(n).options,r=i.data(a.settings.data.outClass),d=s.data(a.settings.data.outClass),u=i.data(a.settings.data.outDuration),c=s.data(a.settings.data.outDuration),m=r||d,g=u||c,f=a.animationCheck.call(e,m,!0,!1),v=a.animationCheck.call(e,g,!1,!1),h=a.optionCheck.call(e,l);s.data(n).outClass=f,h?a.outOverlay.call(e,f,v,o):a.outDefault.call(e,f,v,o)},outDefault:function(i,o,e){vars=t(this),l=s.data(n).options;s.css({"animation-duration":o+1+"ms"}).addClass(i).trigger(a.settings.events.outStart).animateCallback(function(){s.trigger(a.settings.events.outEnd),l.transition(e)})},outOverlay:function(i,o,e){vars=t(this),l=s.data(n).options,r=s.data(a.settings.data.inClass),d=a.animationCheck.call(this,r,!0,!0);t(l.overlayParentElement).children("."+l.overlayClass).css({"animation-duration":o+1+"ms"}).removeClass(d).addClass(i).trigger(a.settings.events.outStart).animateCallback(function(){s.trigger(a.settings.events.outEnd),l.transition(e)})},destroy:function(){returnthis.each(function(){vari=t(this);t(window).off("."+n),i.css({opacity:1}).removeData(n)})}};t.fn.animateCallback=function(n){vari="animationend webkitAnimationEnd";returnthis.each(function(){vara=t(this);a.on(i,function(){returna.off(i),n.call(this)})})},t.fn.animsition=function(i){returna[i]?a[i].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeofi&&i?voidt.error("Method "+i+" does not exist on jQuery."+n):a.init.apply(this,arguments)}});