mybuddy/static/babybuddy/js/vendor.8e27ef46f062.js

1 line
396 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).PullToRefresh=t()}(this,function(){"use strict";var e={pullStartY:null,pullMoveY:null,handlers:[],styleEl:null,events:null,dist:0,state:"pending",timeout:null,distResisted:0,supportsPassive:!1,supportsPointerEvents:"undefined"!=typeof window&&!!window.PointerEvent};try{window.addEventListener("test",null,{get passive(){e.supportsPassive=!0}})}catch(e){}var t,i={setupDOM:function(t){if(!t.ptrElement){var i=document.createElement("div");t.mainElement!==document.body?t.mainElement.parentNode.insertBefore(i,t.mainElement):document.body.insertBefore(i,document.body.firstChild),i.classList.add(t.classPrefix+"ptr"),i.innerHTML=t.getMarkup().replace(/__PREFIX__/g,t.classPrefix),t.ptrElement=i,"function"==typeof t.onInit&&t.onInit(t),e.styleEl||(e.styleEl=document.createElement("style"),e.styleEl.setAttribute("id","pull-to-refresh-js-style"),document.head.appendChild(e.styleEl)),e.styleEl.textContent=t.getStyles().replace(/__PREFIX__/g,t.classPrefix).replace(/\s+/g," ")}return t},onReset:function(t){t.ptrElement&&(t.ptrElement.classList.remove(t.classPrefix+"refresh"),t.ptrElement.style[t.cssProp]="0px",setTimeout(function(){t.ptrElement&&t.ptrElement.parentNode&&(t.ptrElement.parentNode.removeChild(t.ptrElement),t.ptrElement=null),e.state="pending"},t.refreshTimeout))},update:function(t){var i=t.ptrElement.querySelector("."+t.classPrefix+"icon"),n=t.ptrElement.querySelector("."+t.classPrefix+"text");i&&("refreshing"===e.state?i.innerHTML=t.iconRefreshing:i.innerHTML=t.iconArrow),n&&("releasing"===e.state&&(n.innerHTML=t.instructionsReleaseToRefresh),"pulling"!==e.state&&"pending"!==e.state||(n.innerHTML=t.instructionsPullToRefresh),"refreshing"===e.state&&(n.innerHTML=t.instructionsRefreshing))}},n=function(t){return e.pointerEventsEnabled&&e.supportsPointerEvents?t.screenY:t.touches[0].screenY},s=function(){var s;function a(t){var a=e.handlers.filter(function(e){return e.contains(t.target)})[0];e.enable=!!a,a&&"pending"===e.state&&(s=i.setupDOM(a),a.shouldPullToRefresh()&&(e.pullStartY=n(t)),clearTimeout(e.timeout),i.update(a))}function r(t){s&&s.ptrElement&&e.enable&&(e.pullStartY?e.pullMoveY=n(t):s.shouldPullToRefresh()&&(e.pullStartY=n(t)),"refreshing"!==e.state?("pending"===e.state&&(s.ptrElement.classList.add(s.classPrefix+"pull"),e.state="pulling",i.update(s)),e.pullStartY&&e.pullMoveY&&(e.dist=e.pullMoveY-e.pullStartY),e.distExtra=e.dist-s.distIgnore,e.distExtra>0&&(t.cancelable&&t.preventDefault(),s.ptrElement.style[s.cssProp]=e.distResisted+"px",e.distResisted=s.resistanceFunction(e.distExtra/s.distThreshold)*Math.min(s.distMax,e.distExtra),"pulling"===e.state&&e.distResisted>s.distThreshold&&(s.ptrElement.classList.add(s.classPrefix+"release"),e.state="releasing",i.update(s)),"releasing"===e.state&&e.distResisted<s.distThreshold&&(s.ptrElement.classList.remove(s.classPrefix+"release"),e.state="pulling",i.update(s)))):t.cancelable&&s.shouldPullToRefresh()&&e.pullStartY<e.pullMoveY&&t.preventDefault())}function o(){if(s&&s.ptrElement&&e.enable){if(clearTimeout(t),t=setTimeout(function(){s&&s.ptrElement&&"pending"===e.state&&i.onReset(s)},500),"releasing"===e.state&&e.distResisted>s.distThreshold)e.state="refreshing",s.ptrElement.style[s.cssProp]=s.distReload+"px",s.ptrElement.classList.add(s.classPrefix+"refresh"),e.timeout=setTimeout(function(){var e=s.onRefresh(function(){return i.onReset(s)});e&&"function"==typeof e.then&&e.then(function(){return i.onReset(s)}),e||s.onRefresh.length||i.onReset(s)},s.refreshTimeout);else{if("refreshing"===e.state)return;s.ptrElement.style[s.cssProp]="0px",e.state="pending"}i.update(s),s.ptrElement.classList.remove(s.classPrefix+"release"),s.ptrElement.classList.remove(s.classPrefix+"pull"),e.pullStartY=e.pullMoveY=null,e.dist=e.distResisted=0}}function c(){s&&s.mainElement.classList.toggle(s.classPrefix+"top",s.shouldPullToRefresh())}var l=e.supportsPassive?{passive:e.passive||!1}:void 0;return e.pointerEventsEnabled&&e.supportsPointerEvents?(window.addEventListener("pointerup",o),window.addEventListener("pointerdown",a),window.addEventListener("pointermove",r,l)):(window.addEventListener("touchend",o),window.addEventListener("touchstart",a),window.addEventListener("touchmove",r,l)),window.addEventListener("scroll",c),{onTouchEnd:o,onTouchStart:a,onTouchMove:r,onScroll:c,destroy:function(){e.pointerEventsEnabled&&e.supportsPointerEvents?(window.removeEventListener("pointerdown",a),window.removeEventListener("pointerup",o),window.removeEventListener("pointermove",r,l)):(window.removeEventListener("touchstart",a),window.removeEventListener("touchend",o),window.removeEventListener("touchmove",r,l)),window.removeEventListener("scroll",c)}}},a={distThreshold:60,distMax:80,distReload:50,distIgnore:0,mainElement:"body",triggerElement:"body",ptrElement:".ptr",classPrefix:"ptr--",cssProp:"min-height",iconArrow:"&#8675;",iconRefreshing:"&hellip;",instructionsPullToRefresh:"Pull down to refresh",instructionsReleaseToRefresh:"Release to refresh",instructionsRefreshing:"Refreshing",refreshTimeout:500,getMarkup:function(){return'\n<div class="__PREFIX__box">\n <div class="__PREFIX__content">\n <div class="__PREFIX__icon"></div>\n <div class="__PREFIX__text"></div>\n </div>\n</div>\n'},getStyles:function(){return"\n.__PREFIX__ptr {\n box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.12);\n pointer-events: none;\n font-size: 0.85em;\n font-weight: bold;\n top: 0;\n height: 0;\n transition: height 0.3s, min-height 0.3s;\n text-align: center;\n width: 100%;\n overflow: hidden;\n display: flex;\n align-items: flex-end;\n align-content: stretch;\n}\n\n.__PREFIX__box {\n padding: 10px;\n flex-basis: 100%;\n}\n\n.__PREFIX__pull {\n transition: none;\n}\n\n.__PREFIX__text {\n margin-top: .33em;\n color: rgba(0, 0, 0, 0.3);\n}\n\n.__PREFIX__icon {\n color: rgba(0, 0, 0, 0.3);\n transition: transform .3s;\n}\n\n/*\nWhen at the top of the page, disable vertical overscroll so passive touch\nlisteners can take over.\n*/\n.__PREFIX__top {\n touch-action: pan-x pan-down pinch-zoom;\n}\n\n.__PREFIX__release .__PREFIX__icon {\n transform: rotate(180deg);\n}\n"},onInit:function(){},onRefresh:function(){return location.reload()},resistanceFunction:function(e){return Math.min(1,e/2.5)},shouldPullToRefresh:function(){return!window.scrollY}},r=["mainElement","ptrElement","triggerElement"],o=function(t){var i={};return Object.keys(a).forEach(function(e){i[e]=t[e]||a[e]}),i.refreshTimeout="number"==typeof t.refreshTimeout?t.refreshTimeout:a.refreshTimeout,r.forEach(function(e){"string"==typeof i[e]&&(i[e]=document.querySelector(i[e]))}),e.events||(e.events=s()),i.contains=function(e){return i.triggerElement.contains(e)},i.destroy=function(){clearTimeout(e.timeout);var t=e.handlers.indexOf(i);e.handlers.splice(t,1)},i};return{setPassiveMode:function(t){e.passive=t},setPointerEventsMode:function(t){e.pointerEventsEnabled=t},destroyAll:function(){e.events&&(e.events.destroy(),e.events=null),e.handlers.forEach(function(e){e.destroy()})},init:function(t){void 0===t&&(t={});var i=o(t);return e.handlers.push(i),i},_:{setupHandler:o,setupEvents:s,setupDOM:i.setupDOM,onReset:i.onReset,update:i.update}}}),function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var i=[],n=Object.getPrototypeOf,s=i.slice,a=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},r=i.push,o=i.indexOf,c={},l=c.toString,u=c.hasOwnProperty,d=u.toString,h=d.call(Object),f={},p=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},m=function(e){return null!=e&&e===e.window},g=e.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,i){var n,s,a=(i=i||g).createElement("script");if(a.text=e,t)for(n in _)(s=t[n]||t.getAttribute&&t.getAttribute(n))&&a.setAttribute(n,s);i.head.appendChild(a).parentNode.removeChild(a)}function v(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[l.call(e)]||"object":typeof e}var b=function(e,t){return new b.fn.init(e,t)};function A(e){var t=!!e&&"length"in e&&e.length,i=v(e);return!p(e)&&!m(e)&&("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e)}b.fn=b.prototype={jquery:"3.6.4",constructor:b,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return b.each(this,e)},map:function(e){return this.pushStack(b.map(this,function(t,i){return e.call(t,i,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(b.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(b.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(i>=0&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:r,sort:i.sort,splice:i.splice},b.extend=b.fn.extend=function(){var e,t,i,n,s,a,r=arguments[0]||{},o=1,c=arguments.length,l=!1;for("boolean"==typeof r&&(l=r,r=arguments[o]||{},o++),"object"==typeof r||p(r)||(r={}),o===c&&(r=this,o--);o<c;o++)if(null!=(e=arguments[o]))for(t in e)n=e[t],"__proto__"!==t&&r!==n&&(l&&n&&(b.isPlainObject(n)||(s=Array.isArray(n)))?(i=r[t],a=s&&!Array.isArray(i)?[]:s||b.isPlainObject(i)?i:{},s=!1,r[t]=b.extend(l,a,n)):void 0!==n&&(r[t]=n));return r},b.extend({expando:"jQuery"+("3.6.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,i;return!(!e||"[object Object]"!==l.call(e))&&(!(t=n(e))||"function"==typeof(i=u.call(t,"constructor")&&t.constructor)&&d.call(i)===h)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,i){y(e,{nonce:t&&t.nonce},i)},each:function(e,t){var i,n=0;if(A(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},makeArray:function(e,t){var i=t||[];return null!=e&&(A(Object(e))?b.merge(i,"string"==typeof e?[e]:e):r.call(i,e)),i},inArray:function(e,t,i){return null==t?-1:o.call(t,e,i)},merge:function(e,t){for(var i=+t.length,n=0,s=e.length;n<i;n++)e[s++]=t[n];return e.length=s,e},grep:function(e,t,i){for(var n=[],s=0,a=e.length,r=!i;s<a;s++)!t(e[s],s)!==r&&n.push(e[s]);return n},map:function(e,t,i){var n,s,r=0,o=[];if(A(e))for(n=e.length;r<n;r++)null!=(s=t(e[r],r,i))&&o.push(s);else for(r in e)null!=(s=t(e[r],r,i))&&o.push(s);return a(o)},guid:1,support:f}),"function"==typeof Symbol&&(b.fn[Symbol.iterator]=i[Symbol.iterator]),b.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});var w=function(e){var t,i,n,s,a,r,o,c,l,u,d,h,f,p,m,g,_,y,v,b="sizzle"+1*new Date,A=e.document,w=0,M=0,k=ce(),S=ce(),E=ce(),T=ce(),D=function(e,t){return e===t&&(d=!0),0},x={}.hasOwnProperty,L=[],C=L.pop,O=L.push,P=L.push,Y=L.slice,N=function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",j="[\\x20\\t\\r\\n\\f]",H="(?:\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",I="\\["+j+"*("+H+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+j+"*\\]",R=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",W=new RegExp(j+"+","g"),q=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g"),B=new RegExp("^"+j+"*,"+j+"*"),U=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),F=new RegExp(j+"|>"),V=new RegExp(R),$=new RegExp("^"+H+"$"),G={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+z+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\r\\n\\f])","g"),ie=function(e,t){var i="0x"+e.slice(1)-65536;return t||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,se=function(e,t){return t?"\0"===e?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){h()},re=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{P.apply(L=Y.call(A.childNodes),A.childNodes),L[A.childNodes.length].nodeType}catch(e){P={apply:L.length?function(e,t){O.apply(e,Y.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}function oe(e,t,n,s){var a,o,l,u,d,p,_,y=t&&t.ownerDocument,A=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==A&&9!==A&&11!==A)return n;if(!s&&(h(t),t=t||f,m)){if(11!==A&&(d=Q.exec(e)))if(a=d[1]){if(9===A){if(!(l=t.getElementById(a)))return n;if(l.id===a)return n.push(l),n}else if(y&&(l=y.getElementById(a))&&v(t,l)&&l.id===a)return n.push(l),n}else{if(d[2])return P.apply(n,t.getElementsByTagName(e)),n;if((a=d[3])&&i.getElementsByClassName&&t.getElementsByClassName)return P.apply(n,t.getElementsByClassName(a)),n}if(i.qsa&&!T[e+" "]&&(!g||!g.test(e))&&(1!==A||"object"!==t.nodeName.toLowerCase())){if(_=e,y=t,1===A&&(F.test(e)||U.test(e))){for((y=ee.test(e)&&_e(t.parentNode)||t)===t&&i.scope||((u=t.getAttribute("id"))?u=u.replace(ne,se):t.setAttribute("id",u=b)),o=(p=r(e)).length;o--;)p[o]=(u?"#"+u:":scope")+" "+ve(p[o]);_=p.join(",")}try{return P.apply(n,y.querySelectorAll(_)),n}catch(t){T(e,!0)}finally{u===b&&t.removeAttribute("id")}}}return c(e.replace(q,"$1"),t,n,s)}function ce(){var e=[];return function t(i,s){return e.push(i+" ")>n.cacheLength&&delete t[e.shift()],t[i+" "]=s}}function le(e){return e[b]=!0,e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var i=e.split("|"),s=i.length;s--;)n.attrHandle[i[s]]=t}function he(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&re(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return le(function(t){return t=+t,le(function(i,n){for(var s,a=e([],i.length,t),r=a.length;r--;)i[s=a[r]]&&(i[s]=!(n[s]=i[s]))})})}function _e(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in i=oe.support={},a=oe.isXML=function(e){var t=e&&e.namespaceURI,i=e&&(e.ownerDocument||e).documentElement;return!K.test(t||i&&i.nodeName||"HTML")},h=oe.setDocument=function(e){var t,s,r=e?e.ownerDocument||e:A;return r!=f&&9===r.nodeType&&r.documentElement?(p=(f=r).documentElement,m=!a(f),A!=f&&(s=f.defaultView)&&s.top!==s&&(s.addEventListener?s.addEventListener("unload",ae,!1):s.attachEvent&&s.attachEvent("onunload",ae)),i.scope=ue(function(e){return p.appendChild(e).appendChild(f.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),i.cssHas=ue(function(){try{return f.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),i.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),i.getElementsByTagName=ue(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),i.getElementsByClassName=Z.test(f.getElementsByClassName),i.getById=ue(function(e){return p.appendChild(e).id=b,!f.getElementsByName||!f.getElementsByName(b).length}),i.getById?(n.filter.ID=function(e){var t=e.replace(te,ie);return function(e){return e.getAttribute("id")===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var i=t.getElementById(e);return i?[i]:[]}}):(n.filter.ID=function(e){var t=e.replace(te,ie);return function(e){var i=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return i&&i.value===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var i,n,s,a=t.getElementById(e);if(a){if((i=a.getAttributeNode("id"))&&i.value===e)return[a];for(s=t.getElementsByName(e),n=0;a=s[n++];)if((i=a.getAttributeNode("id"))&&i.value===e)return[a]}return[]}}),n.find.TAG=i.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):i.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],s=0,a=t.getElementsByTagName(e);if("*"===e){for(;i=a[s++];)1===i.nodeType&&n.push(i);return n}return a},n.find.CLASS=i.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},_=[],g=[],(i.qsa=Z.test(f.querySelectorAll))&&(ue(function(e){var t;p.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+j+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+j+"*(?:value|"+z+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),(t=f.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+j+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(i.matchesSelector=Z.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ue(function(e){i.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),_.push("!=",R)}),i.cssHas||g.push(":has"),g=g.length&&new RegExp(g.join("|")),_=_.length&&new RegExp(_.join("|")),t=Z.test(p.compareDocumentPosition),v=t||Z.test(p.contains)?function(e,t){var i=9===e.nodeType&&e.documentElement||e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return d=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!i.sortDetached&&t.compareDocumentPosition(e)===n?e==f||e.ownerDocument==A&&v(A,e)?-1:t==f||t.ownerDocument==A&&v(A,t)?1:u?N(u,e)-N(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return d=!0,0;var i,n=0,s=e.parentNode,a=t.parentNode,r=[e],o=[t];if(!s||!a)return e==f?-1:t==f?1:s?-1:a?1:u?N(u,e)-N(u,t):0;if(s===a)return he(e,t);for(i=e;i=i.parentNode;)r.unshift(i);for(i=t;i=i.parentNode;)o.unshift(i);for(;r[n]===o[n];)n++;return n?he(r[n],o[n]):r[n]==A?-1:o[n]==A?1:0},f):f},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if(h(e),i.matchesSelector&&m&&!T[t+" "]&&(!_||!_.test(t))&&(!g||!g.test(t)))try{var n=y.call(e,t);if(n||i.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){T(t,!0)}return oe(t,f,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!=f&&h(e),v(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!=f&&h(e);var s=n.attrHandle[t.toLowerCase()],a=s&&x.call(n.attrHandle,t.toLowerCase())?s(e,t,!m):void 0;return void 0!==a?a:i.attributes||!m?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},oe.escape=function(e){return(e+"").replace(ne,se)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,n=[],s=0,a=0;if(d=!i.detectDuplicates,u=!i.sortStable&&e.slice(0),e.sort(D),d){for(;t=e[a++];)t===e[a]&&(s=n.push(a));for(;s--;)e.splice(n[s],1)}return u=null,e},s=oe.getText=function(e){var t,i="",n=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=s(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[n++];)i+=s(t);return i},(n=oe.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ie),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ie),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&V.test(i)&&(t=r(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ie).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=k[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&k(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,i){return function(n){var s=oe.attr(n,e);return null==s?"!="===t:!t||(s+="","="===t?s===i:"!="===t?s!==i:"^="===t?i&&0===s.indexOf(i):"*="===t?i&&s.indexOf(i)>-1:"$="===t?i&&s.slice(-i.length)===i:"~="===t?(" "+s.replace(W," ")+" ").indexOf(i)>-1:"|="===t&&(s===i||s.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,i,n,s){var a="nth"!==e.slice(0,3),r="last"!==e.slice(-4),o="of-type"===t;return 1===n&&0===s?function(e){return!!e.parentNode}:function(t,i,c){var l,u,d,h,f,p,m=a!==r?"nextSibling":"previousSibling",g=t.parentNode,_=o&&t.nodeName.toLowerCase(),y=!c&&!o,v=!1;if(g){if(a){for(;m;){for(h=t;h=h[m];)if(o?h.nodeName.toLowerCase()===_:1===h.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[r?g.firstChild:g.lastChild],r&&y){for(v=(f=(l=(u=(d=(h=g)[b]||(h[b]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===w&&l[1])&&l[2],h=f&&g.childNodes[f];h=++f&&h&&h[m]||(v=f=0)||p.pop();)if(1===h.nodeType&&++v&&h===t){u[e]=[w,f,v];break}}else if(y&&(v=f=(l=(u=(d=(h=t)[b]||(h[b]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===w&&l[1]),!1===v)for(;(h=++f&&h&&h[m]||(v=f=0)||p.pop())&&((o?h.nodeName.toLowerCase()!==_:1!==h.nodeType)||!++v||(y&&((u=(d=h[b]||(h[b]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]=[w,v]),h!==t)););return(v-=s)===n||v%n==0&&v/n>=0}}},PSEUDO:function(e,t){var i,s=n.pseudos[e]||n.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return s[b]?s(t):s.length>1?(i=[e,e,"",t],n.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,i){for(var n,a=s(e,t),r=a.length;r--;)e[n=N(e,a[r])]=!(i[n]=a[r])}):function(e){return s(e,0,i)}):s}},pseudos:{not:le(function(e){var t=[],i=[],n=o(e.replace(q,"$1"));return n[b]?le(function(e,t,i,s){for(var a,r=n(e,null,s,[]),o=e.length;o--;)(a=r[o])&&(e[o]=!(t[o]=a))}):function(e,s,a){return t[0]=e,n(t,null,a,i),t[0]=null,!i.pop()}}),has:le(function(e){return function(t){return oe(e,t).length>0}}),contains:le(function(e){return e=e.replace(te,ie),function(t){return(t.textContent||s(t)).indexOf(e)>-1}}),lang:le(function(e){return $.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(te,ie).toLowerCase(),function(t){var i;do{if(i=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===e||0===i.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=e.location&&e.location.hash;return i&&i.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!n.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,i){return[i<0?i+t:i]}),even:ge(function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e}),odd:ge(function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e}),lt:ge(function(e,t,i){for(var n=i<0?i+t:i>t?t:i;--n>=0;)e.push(n);return e}),gt:ge(function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e})}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})n.pseudos[t]=pe(t);function ye(){}function ve(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function be(e,t,i){var n=t.dir,s=t.next,a=s||n,r=i&&"parentNode"===a,o=M++;return t.first?function(t,i,s){for(;t=t[n];)if(1===t.nodeType||r)return e(t,i,s);return!1}:function(t,i,c){var l,u,d,h=[w,o];if(c){for(;t=t[n];)if((1===t.nodeType||r)&&e(t,i,c))return!0}else for(;t=t[n];)if(1===t.nodeType||r)if(u=(d=t[b]||(t[b]={}))[t.uniqueID]||(d[t.uniqueID]={}),s&&s===t.nodeName.toLowerCase())t=t[n]||t;else{if((l=u[a])&&l[0]===w&&l[1]===o)return h[2]=l[2];if(u[a]=h,h[2]=e(t,i,c))return!0}return!1}}function Ae(e){return e.length>1?function(t,i,n){for(var s=e.length;s--;)if(!e[s](t,i,n))return!1;return!0}:e[0]}function we(e,t,i,n,s){for(var a,r=[],o=0,c=e.length,l=null!=t;o<c;o++)(a=e[o])&&(i&&!i(a,n,s)||(r.push(a),l&&t.push(o)));return r}function Me(e,t,i,n,s,a){return n&&!n[b]&&(n=Me(n)),s&&!s[b]&&(s=Me(s,a)),le(function(a,r,o,c){var l,u,d,h=[],f=[],p=r.length,m=a||function(e,t,i){for(var n=0,s=t.length;n<s;n++)oe(e,t[n],i);return i}(t||"*",o.nodeType?[o]:o,[]),g=!e||!a&&t?m:we(m,h,e,o,c),_=i?s||(a?e:p||n)?[]:r:g;if(i&&i(g,_,o,c),n)for(l=we(_,f),n(l,[],o,c),u=l.length;u--;)(d=l[u])&&(_[f[u]]=!(g[f[u]]=d));if(a){if(s||e){if(s){for(l=[],u=_.length;u--;)(d=_[u])&&l.push(g[u]=d);s(null,_=[],l,c)}for(u=_.length;u--;)(d=_[u])&&(l=s?N(a,d):h[u])>-1&&(a[l]=!(r[l]=d))}}else _=we(_===r?_.splice(p,_.length):_),s?s(null,r,_,c):P.apply(r,_)})}function ke(e){for(var t,i,s,a=e.length,r=n.relative[e[0].type],o=r||n.relative[" "],c=r?1:0,u=be(function(e){return e===t},o,!0),d=be(function(e){return N(t,e)>-1},o,!0),h=[function(e,i,n){var s=!r&&(n||i!==l)||((t=i).nodeType?u(e,i,n):d(e,i,n));return t=null,s}];c<a;c++)if(i=n.relative[e[c].type])h=[be(Ae(h),i)];else{if((i=n.filter[e[c].type].apply(null,e[c].matches))[b]){for(s=++c;s<a&&!n.relative[e[s].type];s++);return Me(c>1&&Ae(h),c>1&&ve(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(q,"$1"),i,c<s&&ke(e.slice(c,s)),s<a&&ke(e=e.slice(s)),s<a&&ve(e))}h.push(i)}return Ae(h)}return ye.prototype=n.filters=n.pseudos,n.setFilters=new ye,r=oe.tokenize=function(e,t){var i,s,a,r,o,c,l,u=S[e+" "];if(u)return t?0:u.slice(0);for(o=e,c=[],l=n.preFilter;o;){for(r in i&&!(s=B.exec(o))||(s&&(o=o.slice(s[0].length)||o),c.push(a=[])),i=!1,(s=U.exec(o))&&(i=s.shift(),a.push({value:i,type:s[0].replace(q," ")}),o=o.slice(i.length)),n.filter)!(s=G[r].exec(o))||l[r]&&!(s=l[r](s))||(i=s.shift(),a.push({value:i,type:r,matches:s}),o=o.slice(i.length));if(!i)break}return t?o.length:o?oe.error(e):S(e,c).slice(0)},o=oe.compile=function(e,t){var i,s=[],a=[],o=E[e+" "];if(!o){for(t||(t=r(e)),i=t.length;i--;)(o=ke(t[i]))[b]?s.push(o):a.push(o);(o=E(e,function(e,t){var i=t.length>0,s=e.length>0,a=function(a,r,o,c,u){var d,p,g,_=0,y="0",v=a&&[],b=[],A=l,M=a||s&&n.find.TAG("*",u),k=w+=null==A?1:Math.random()||.1,S=M.length;for(u&&(l=r==f||r||u);y!==S&&null!=(d=M[y]);y++){if(s&&d){for(p=0,r||d.ownerDocument==f||(h(d),o=!m);g=e[p++];)if(g(d,r||f,o)){c.push(d);break}u&&(w=k)}i&&((d=!g&&d)&&_--,a&&v.push(d))}if(_+=y,i&&y!==_){for(p=0;g=t[p++];)g(v,b,r,o);if(a){if(_>0)for(;y--;)v[y]||b[y]||(b[y]=C.call(c));b=we(b)}P.apply(c,b),u&&!a&&b.length>0&&_+t.length>1&&oe.uniqueSort(c)}return u&&(w=k,l=A),v};return i?le(a):a}(a,s))).selector=e}return o},c=oe.select=function(e,t,i,s){var a,c,l,u,d,h="function"==typeof e&&e,f=!s&&r(e=h.selector||e);if(i=i||[],1===f.length){if((c=f[0]=f[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===t.nodeType&&m&&n.relative[c[1].type]){if(!(t=(n.find.ID(l.matches[0].replace(te,ie),t)||[])[0]))return i;h&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(a=G.needsContext.test(e)?0:c.length;a--&&(l=c[a],!n.relative[u=l.type]);)if((d=n.find[u])&&(s=d(l.matches[0].replace(te,ie),ee.test(c[0].type)&&_e(t.parentNode)||t))){if(c.splice(a,1),!(e=s.length&&ve(c)))return P.apply(i,s),i;break}}return(h||o(e,f))(s,t,!m,i,!t||ee.test(e)&&_e(t.parentNode)||t),i},i.sortStable=b.split("").sort(D).join("")===b,i.detectDuplicates=!!d,h(),i.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,i){if(!i)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),i.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,i){if(!i&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||de(z,function(e,t,i){var n;if(!i)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),oe}(e);b.find=w,b.expr=w.selectors,b.expr[":"]=b.expr.pseudos,b.uniqueSort=b.unique=w.uniqueSort,b.text=w.getText,b.isXMLDoc=w.isXML,b.contains=w.contains,b.escapeSelector=w.escape;var M=function(e,t,i){for(var n=[],s=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(s&&b(e).is(i))break;n.push(e)}return n},k=function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i},S=b.expr.match.needsContext;function E(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var T=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,t,i){return p(t)?b.grep(e,function(e,n){return!!t.call(e,n,e)!==i}):t.nodeType?b.grep(e,function(e){return e===t!==i}):"string"!=typeof t?b.grep(e,function(e){return o.call(t,e)>-1!==i}):b.filter(t,e,i)}b.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?b.find.matchesSelector(n,e)?[n]:[]:b.find.matches(e,b.grep(t,function(e){return 1===e.nodeType}))},b.fn.extend({find:function(e){var t,i,n=this.length,s=this;if("string"!=typeof e)return this.pushStack(b(e).filter(function(){for(t=0;t<n;t++)if(b.contains(s[t],this))return!0}));for(i=this.pushStack([]),t=0;t<n;t++)b.find(e,s[t],i);return n>1?b.uniqueSort(i):i},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&S.test(e)?b(e):e||[],!1).length}});var x,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(b.fn.init=function(e,t,i){var n,s;if(!e)return this;if(i=i||x,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof b?t[0]:t,b.merge(this,b.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:g,!0)),T.test(n[1])&&b.isPlainObject(t))for(n in t)p(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(s=g.getElementById(n[2]))&&(this[0]=s,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):p(e)?void 0!==i.ready?i.ready(e):e(b):b.makeArray(e,this)}).prototype=b.fn,x=b(g);var C=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}b.fn.extend({has:function(e){var t=b(e,this),i=t.length;return this.filter(function(){for(var e=0;e<i;e++)if(b.contains(this,t[e]))return!0})},closest:function(e,t){var i,n=0,s=this.length,a=[],r="string"!=typeof e&&b(e);if(!S.test(e))for(;n<s;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(r?r.index(i)>-1:1===i.nodeType&&b.find.matchesSelector(i,e))){a.push(i);break}return this.pushStack(a.length>1?b.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?o.call(b(e),this[0]):o.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(b.uniqueSort(b.merge(this.get(),b(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return M(e,"parentNode")},parentsUntil:function(e,t,i){return M(e,"parentNode",i)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return M(e,"nextSibling")},prevAll:function(e){return M(e,"previousSibling")},nextUntil:function(e,t,i){return M(e,"nextSibling",i)},prevUntil:function(e,t,i){return M(e,"previousSibling",i)},siblings:function(e){return k((e.parentNode||{}).firstChild,e)},children:function(e){return k(e.firstChild)},contents:function(e){return null!=e.contentDocument&&n(e.contentDocument)?e.contentDocument:(E(e,"template")&&(e=e.content||e),b.merge([],e.childNodes))}},function(e,t){b.fn[e]=function(i,n){var s=b.map(this,t,i);return"Until"!==e.slice(-5)&&(n=i),n&&"string"==typeof n&&(s=b.filter(n,s)),this.length>1&&(O[e]||b.uniqueSort(s),C.test(e)&&s.reverse()),this.pushStack(s)}});var Y=/[^\x20\t\r\n\f]+/g;function N(e){return e}function z(e){throw e}function j(e,t,i,n){var s;try{e&&p(s=e.promise)?s.call(e).done(t).fail(i):e&&p(s=e.then)?s.call(e,t,i):t.apply(void 0,[e].slice(n))}catch(e){i.apply(void 0,[e])}}b.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return b.each(e.match(Y)||[],function(e,i){t[i]=!0}),t}(e):b.extend({},e);var t,i,n,s,a=[],r=[],o=-1,c=function(){for(s=s||e.once,n=t=!0;r.length;o=-1)for(i=r.shift();++o<a.length;)!1===a[o].apply(i[0],i[1])&&e.stopOnFalse&&(o=a.length,i=!1);e.memory||(i=!1),t=!1,s&&(a=i?[]:"")},l={add:function(){return a&&(i&&!t&&(o=a.length-1,r.push(i)),function t(i){b.each(i,function(i,n){p(n)?e.unique&&l.has(n)||a.push(n):n&&n.length&&"string"!==v(n)&&t(n)})}(arguments),i&&!t&&c()),this},remove:function(){return b.each(arguments,function(e,t){for(var i;(i=b.inArray(t,a,i))>-1;)a.splice(i,1),i<=o&&o--}),this},has:function(e){return e?b.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return s=r=[],a=i="",this},disabled:function(){return!a},lock:function(){return s=r=[],i||t||(a=i=""),this},locked:function(){return!!s},fireWith:function(e,i){return s||(i=[e,(i=i||[]).slice?i.slice():i],r.push(i),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!n}};return l},b.extend({Deferred:function(t){var i=[["notify","progress",b.Callbacks("memory"),b.Callbacks("memory"),2],["resolve","done",b.Callbacks("once memory"),b.Callbacks("once memory"),0,"resolved"],["reject","fail",b.Callbacks("once memory"),b.Callbacks("once memory"),1,"rejected"]],n="pending",s={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return s.then(null,e)},pipe:function(){var e=arguments;return b.Deferred(function(t){b.each(i,function(i,n){var s=p(e[n[4]])&&e[n[4]];a[n[1]](function(){var e=s&&s.apply(this,arguments);e&&p(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[n[0]+"With"](this,s?[e]:arguments)})}),e=null}).promise()},then:function(t,n,s){var a=0;function r(t,i,n,s){return function(){var o=this,c=arguments,l=function(){var e,l;if(!(t<a)){if((e=n.apply(o,c))===i.promise())throw new TypeError("Thenable self-resolution");l=e&&("object"==typeof e||"function"==typeof e)&&e.then,p(l)?s?l.call(e,r(a,i,N,s),r(a,i,z,s)):(a++,l.call(e,r(a,i,N,s),r(a,i,z,s),r(a,i,N,i.notifyWith))):(n!==N&&(o=void 0,c=[e]),(s||i.resolveWith)(o,c))}},u=s?l:function(){try{l()}catch(e){b.Deferred.exceptionHook&&b.Deferred.exceptionHook(e,u.stackTrace),t+1>=a&&(n!==z&&(o=void 0,c=[e]),i.rejectWith(o,c))}};t?u():(b.Deferred.getStackHook&&(u.stackTrace=b.Deferred.getStackHook()),e.setTimeout(u))}}return b.Deferred(function(e){i[0][3].add(r(0,e,p(s)?s:N,e.notifyWith)),i[1][3].add(r(0,e,p(t)?t:N)),i[2][3].add(r(0,e,p(n)?n:z))}).promise()},promise:function(e){return null!=e?b.extend(e,s):s}},a={};return b.each(i,function(e,t){var r=t[2],o=t[5];s[t[1]]=r.add,o&&r.add(function(){n=o},i[3-e][2].disable,i[3-e][3].disable,i[0][2].lock,i[0][3].lock),r.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=r.fireWith}),s.promise(a),t&&t.call(a,a),a},when:function(e){var t=arguments.length,i=t,n=Array(i),a=s.call(arguments),r=b.Deferred(),o=function(e){return function(i){n[e]=this,a[e]=arguments.length>1?s.call(arguments):i,--t||r.resolveWith(n,a)}};if(t<=1&&(j(e,r.done(o(i)).resolve,r.reject,!t),"pending"===r.state()||p(a[i]&&a[i].then)))return r.then();for(;i--;)j(a[i],o(i),r.reject);return r.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;b.Deferred.exceptionHook=function(t,i){e.console&&e.console.warn&&t&&H.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)},b.readyException=function(t){e.setTimeout(function(){throw t})};var I=b.Deferred();function R(){g.removeEventListener("DOMContentLoaded",R),e.removeEventListener("load",R),b.ready()}b.fn.ready=function(e){return I.then(e).catch(function(e){b.readyException(e)}),this},b.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--b.readyWait:b.isReady)||(b.isReady=!0,!0!==e&&--b.readyWait>0||I.resolveWith(g,[b]))}}),b.ready.then=I.then,"complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll?e.setTimeout(b.ready):(g.addEventListener("DOMContentLoaded",R),e.addEventListener("load",R));var W=function(e,t,i,n,s,a,r){var o=0,c=e.length,l=null==i;if("object"===v(i))for(o in s=!0,i)W(e,t,o,i[o],!0,a,r);else if(void 0!==n&&(s=!0,p(n)||(r=!0),l&&(r?(t.call(e,n),t=null):(l=t,t=function(e,t,i){return l.call(b(e),i)})),t))for(;o<c;o++)t(e[o],i,r?n:n.call(e[o],o,t(e[o],i)));return s?e:l?t.call(e):c?t(e[0],i):a},q=/^-ms-/,B=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function F(e){return e.replace(q,"ms-").replace(B,U)}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function $(){this.expando=b.expando+$.uid++}$.uid=1,$.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,s=this.cache(e);if("string"==typeof t)s[F(t)]=i;else for(n in t)s[F(n)]=t[n];return s},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n=e[this.expando];if(void 0!==n){if(void 0!==t){i=(t=Array.isArray(t)?t.map(F):(t=F(t))in n?[t]:t.match(Y)||[]).length;for(;i--;)delete n[t[i]]}(void 0===t||b.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!b.isEmptyObject(t)}};var G=new $,K=new $,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function Z(e,t,i){var n;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(J,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:X.test(e)?JSON.parse(e):e)}(i)}catch(e){}K.set(e,t,i)}else i=void 0;return i}b.extend({hasData:function(e){return K.hasData(e)||G.hasData(e)},data:function(e,t,i){return K.access(e,t,i)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,i){return G.access(e,t,i)},_removeData:function(e,t){G.remove(e,t)}}),b.fn.extend({data:function(e,t){var i,n,s,a=this[0],r=a&&a.attributes;if(void 0===e){if(this.length&&(s=K.get(a),1===a.nodeType&&!G.get(a,"hasDataAttrs"))){for(i=r.length;i--;)r[i]&&0===(n=r[i].name).indexOf("data-")&&(n=F(n.slice(5)),Z(a,n,s[n]));G.set(a,"hasDataAttrs",!0)}return s}return"object"==typeof e?this.each(function(){K.set(this,e)}):W(this,function(t){var i;if(a&&void 0===t)return void 0!==(i=K.get(a,e))?i:void 0!==(i=Z(a,e))?i:void 0;this.each(function(){K.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),b.extend({queue:function(e,t,i){var n;if(e)return t=(t||"fx")+"queue",n=G.get(e,t),i&&(!n||Array.isArray(i)?n=G.access(e,t,b.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=b.queue(e,t),n=i.length,s=i.shift(),a=b._queueHooks(e,t);"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===t&&i.unshift("inprogress"),delete a.stop,s.call(e,function(){b.dequeue(e,t)},a)),!n&&a&&a.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return G.get(e,i)||G.access(e,i,{empty:b.Callbacks("once memory").add(function(){G.remove(e,[t+"queue",i])})})}}),b.fn.extend({queue:function(e,t){var i=2;return"string"!=typeof e&&(t=e,e="fx",i--),arguments.length<i?b.queue(this[0],e):void 0===t?this:this.each(function(){var i=b.queue(this,e,t);b._queueHooks(this,e),"fx"===e&&"inprogress"!==i[0]&&b.dequeue(this,e)})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,n=1,s=b.Deferred(),a=this,r=this.length,o=function(){--n||s.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";r--;)(i=G.get(a[r],e+"queueHooks"))&&i.empty&&(n++,i.empty.add(o));return o(),s.promise(t)}});var Q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ee=new RegExp("^(?:([+-])=|)("+Q+")([a-z%]*)$","i"),te=["Top","Right","Bottom","Left"],ie=g.documentElement,ne=function(e){return b.contains(e.ownerDocument,e)},se={composed:!0};ie.getRootNode&&(ne=function(e){return b.contains(e.ownerDocument,e)||e.getRootNode(se)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ne(e)&&"none"===b.css(e,"display")};function re(e,t,i,n){var s,a,r=20,o=n?function(){return n.cur()}:function(){return b.css(e,t,"")},c=o(),l=i&&i[3]||(b.cssNumber[t]?"":"px"),u=e.nodeType&&(b.cssNumber[t]||"px"!==l&&+c)&&ee.exec(b.css(e,t));if(u&&u[3]!==l){for(c/=2,l=l||u[3],u=+c||1;r--;)b.style(e,t,u+l),(1-a)*(1-(a=o()/c||.5))<=0&&(r=0),u/=a;u*=2,b.style(e,t,u+l),i=i||[]}return i&&(u=+u||+c||0,s=i[1]?u+(i[1]+1)*i[2]:+i[2],n&&(n.unit=l,n.start=u,n.end=s)),s}var oe={};function ce(e){var t,i=e.ownerDocument,n=e.nodeName,s=oe[n];return s||(t=i.body.appendChild(i.createElement(n)),s=b.css(t,"display"),t.parentNode.removeChild(t),"none"===s&&(s="block"),oe[n]=s,s)}function le(e,t){for(var i,n,s=[],a=0,r=e.length;a<r;a++)(n=e[a]).style&&(i=n.style.display,t?("none"===i&&(s[a]=G.get(n,"display")||null,s[a]||(n.style.display="")),""===n.style.display&&ae(n)&&(s[a]=ce(n))):"none"!==i&&(s[a]="none",G.set(n,"display",i)));for(a=0;a<r;a++)null!=s[a]&&(e[a].style.display=s[a]);return e}b.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?b(this).show():b(this).hide()})}});var ue,de,he=/^(?:checkbox|radio)$/i,fe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pe=/^$|^module$|\/(?:java|ecma)script/i;ue=g.createDocumentFragment().appendChild(g.createElement("div")),(de=g.createElement("input")).setAttribute("type","radio"),de.setAttribute("checked","checked"),de.setAttribute("name","t"),ue.appendChild(de),f.checkClone=ue.cloneNode(!0).cloneNode(!0).lastChild.checked,ue.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!ue.cloneNode(!0).lastChild.defaultValue,ue.innerHTML="<option></option>",f.option=!!ue.lastChild;var me={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ge(e,t){var i;return i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&E(e,t)?b.merge([e],i):i}function _e(e,t){for(var i=0,n=e.length;i<n;i++)G.set(e[i],"globalEval",!t||G.get(t[i],"globalEval"))}me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td,f.option||(me.optgroup=me.option=[1,"<select multiple='multiple'>","</select>"]);var ye=/<|&#?\w+;/;function ve(e,t,i,n,s){for(var a,r,o,c,l,u,d=t.createDocumentFragment(),h=[],f=0,p=e.length;f<p;f++)if((a=e[f])||0===a)if("object"===v(a))b.merge(h,a.nodeType?[a]:a);else if(ye.test(a)){for(r=r||d.appendChild(t.createElement("div")),o=(fe.exec(a)||["",""])[1].toLowerCase(),c=me[o]||me._default,r.innerHTML=c[1]+b.htmlPrefilter(a)+c[2],u=c[0];u--;)r=r.lastChild;b.merge(h,r.childNodes),(r=d.firstChild).textContent=""}else h.push(t.createTextNode(a));for(d.textContent="",f=0;a=h[f++];)if(n&&b.inArray(a,n)>-1)s&&s.push(a);else if(l=ne(a),r=ge(d.appendChild(a),"script"),l&&_e(r),i)for(u=0;a=r[u++];)pe.test(a.type||"")&&i.push(a);return d}var be=/^([^.]*)(?:\.(.+)|)/;function Ae(){return!0}function we(){return!1}function Me(e,t){return e===function(){try{return g.activeElement}catch(e){}}()==("focus"===t)}function ke(e,t,i,n,s,a){var r,o;if("object"==typeof t){for(o in"string"!=typeof i&&(n=n||i,i=void 0),t)ke(e,o,i,n,t[o],a);return e}if(null==n&&null==s?(s=i,n=i=void 0):null==s&&("string"==typeof i?(s=n,n=void 0):(s=n,n=i,i=void 0)),!1===s)s=we;else if(!s)return e;return 1===a&&(r=s,(s=function(e){return b().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=b.guid++)),e.each(function(){b.event.add(this,t,s,n,i)})}function Se(e,t,i){i?(G.set(e,t,!1),b.event.add(e,t,{namespace:!1,handler:function(e){var n,a,r=G.get(this,t);if(1&e.isTrigger&&this[t]){if(r.length)(b.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),G.set(this,t,r),n=i(this,t),this[t](),r!==(a=G.get(this,t))||n?G.set(this,t,!1):a={},r!==a)return e.stopImmediatePropagation(),e.preventDefault(),a&&a.value}else r.length&&(G.set(this,t,{value:b.event.trigger(b.extend(r[0],b.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===G.get(e,t)&&b.event.add(e,t,Ae)}b.event={global:{},add:function(e,t,i,n,s){var a,r,o,c,l,u,d,h,f,p,m,g=G.get(e);if(V(e))for(i.handler&&(i=(a=i).handler,s=a.selector),s&&b.find.matchesSelector(ie,s),i.guid||(i.guid=b.guid++),(c=g.events)||(c=g.events=Object.create(null)),(r=g.handle)||(r=g.handle=function(t){return void 0!==b&&b.event.triggered!==t.type?b.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(Y)||[""]).length;l--;)f=m=(o=be.exec(t[l])||[])[1],p=(o[2]||"").split(".").sort(),f&&(d=b.event.special[f]||{},f=(s?d.delegateType:d.bindType)||f,d=b.event.special[f]||{},u=b.extend({type:f,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&b.expr.match.needsContext.test(s),namespace:p.join(".")},a),(h=c[f])||((h=c[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,n,p,r)||e.addEventListener&&e.addEventListener(f,r)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=i.guid)),s?h.splice(h.delegateCount++,0,u):h.push(u),b.event.global[f]=!0)},remove:function(e,t,i,n,s){var a,r,o,c,l,u,d,h,f,p,m,g=G.hasData(e)&&G.get(e);if(g&&(c=g.events)){for(l=(t=(t||"").match(Y)||[""]).length;l--;)if(f=m=(o=be.exec(t[l])||[])[1],p=(o[2]||"").split(".").sort(),f){for(d=b.event.special[f]||{},h=c[f=(n?d.delegateType:d.bindType)||f]||[],o=o[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=a=h.length;a--;)u=h[a],!s&&m!==u.origType||i&&i.guid!==u.guid||o&&!o.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(h.splice(a,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));r&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,p,g.handle)||b.removeEvent(e,f,g.handle),delete c[f])}else for(f in c)b.event.remove(e,f+t[l],i,n,!0);b.isEmptyObject(c)&&G.remove(e,"handle events")}},dispatch:function(e){var t,i,n,s,a,r,o=new Array(arguments.length),c=b.event.fix(e),l=(G.get(this,"events")||Object.create(null))[c.type]||[],u=b.event.special[c.type]||{};for(o[0]=c,t=1;t<arguments.length;t++)o[t]=arguments[t];if(c.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,c)){for(r=b.event.handlers.call(this,c,l),t=0;(s=r[t++])&&!c.isPropagationStopped();)for(c.currentTarget=s.elem,i=0;(a=s.handlers[i++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==a.namespace&&!c.rnamespace.test(a.namespace)||(c.handleObj=a,c.data=a.data,void 0!==(n=((b.event.special[a.origType]||{}).handle||a.handler).apply(s.elem,o))&&!1===(c.result=n)&&(c.preventDefault(),c.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,c),c.result}},handlers:function(e,t){var i,n,s,a,r,o=[],c=t.delegateCount,l=e.target;if(c&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(a=[],r={},i=0;i<c;i++)void 0===r[s=(n=t[i]).selector+" "]&&(r[s]=n.needsContext?b(s,this).index(l)>-1:b.find(s,this,null,[l]).length),r[s]&&a.push(n);a.length&&o.push({elem:l,handlers:a})}return l=this,c<t.length&&o.push({elem:l,handlers:t.slice(c)}),o},addProp:function(e,t){Object.defineProperty(b.Event.prototype,e,{enumerable:!0,configurable:!0,get:p(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[b.expando]?e:new b.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return he.test(t.type)&&t.click&&E(t,"input")&&Se(t,"click",Ae),!1},trigger:function(e){var t=this||e;return he.test(t.type)&&t.click&&E(t,"input")&&Se(t,"click"),!0},_default:function(e){var t=e.target;return he.test(t.type)&&t.click&&E(t,"input")&&G.get(t,"click")||E(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},b.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},b.Event=function(e,t){if(!(this instanceof b.Event))return new b.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ae:we,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&b.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[b.expando]=!0},b.Event.prototype={constructor:b.Event,isDefaultPrevented:we,isPropagationStopped:we,isImmediatePropagationStopped:we,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ae,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ae,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ae,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},b.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},b.event.addProp),b.each({focus:"focusin",blur:"focusout"},function(e,t){b.event.special[e]={setup:function(){return Se(this,e,Me),!1},trigger:function(){return Se(this,e),!0},_default:function(t){return G.get(t.target,e)},delegateType:t}}),b.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,n=e.relatedTarget,s=e.handleObj;return n&&(n===this||b.contains(this,n))||(e.type=s.origType,i=s.handler.apply(this,arguments),e.type=t),i}}}),b.fn.extend({on:function(e,t,i,n){return ke(this,e,t,i,n)},one:function(e,t,i,n){return ke(this,e,t,i,n,1)},off:function(e,t,i){var n,s;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,b(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(s in e)this.off(s,t,e[s]);return this}return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=we),this.each(function(){b.event.remove(this,e,i,t)})}});var Ee=/<script|<style|<link/i,Te=/checked\s*(?:[^=]|=\s*.checked.)/i,De=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function xe(e,t){return E(e,"table")&&E(11!==t.nodeType?t:t.firstChild,"tr")&&b(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ce(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var i,n,s,a,r,o;if(1===t.nodeType){if(G.hasData(e)&&(o=G.get(e).events))for(s in G.remove(t,"handle events"),o)for(i=0,n=o[s].length;i<n;i++)b.event.add(t,s,o[s][i]);K.hasData(e)&&(a=K.access(e),r=b.extend({},a),K.set(t,r))}}function Pe(e,t,i,n){t=a(t);var s,r,o,c,l,u,d=0,h=e.length,m=h-1,g=t[0],_=p(g);if(_||h>1&&"string"==typeof g&&!f.checkClone&&Te.test(g))return e.each(function(s){var a=e.eq(s);_&&(t[0]=g.call(this,s,a.html())),Pe(a,t,i,n)});if(h&&(r=(s=ve(t,e[0].ownerDocument,!1,e,n)).firstChild,1===s.childNodes.length&&(s=r),r||n)){for(c=(o=b.map(ge(s,"script"),Le)).length;d<h;d++)l=s,d!==m&&(l=b.clone(l,!0,!0),c&&b.merge(o,ge(l,"script"))),i.call(e[d],l,d);if(c)for(u=o[o.length-1].ownerDocument,b.map(o,Ce),d=0;d<c;d++)l=o[d],pe.test(l.type||"")&&!G.access(l,"globalEval")&&b.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?b._evalUrl&&!l.noModule&&b._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):y(l.textContent.replace(De,""),l,u))}return e}function Ye(e,t,i){for(var n,s=t?b.filter(t,e):e,a=0;null!=(n=s[a]);a++)i||1!==n.nodeType||b.cleanData(ge(n)),n.parentNode&&(i&&ne(n)&&_e(ge(n,"script")),n.parentNode.removeChild(n));return e}b.extend({htmlPrefilter:function(e){return e},clone:function(e,t,i){var n,s,a,r,o,c,l,u=e.cloneNode(!0),d=ne(e);if(!(f.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||b.isXMLDoc(e)))for(r=ge(u),n=0,s=(a=ge(e)).length;n<s;n++)o=a[n],c=r[n],l=void 0,"input"===(l=c.nodeName.toLowerCase())&&he.test(o.type)?c.checked=o.checked:"input"!==l&&"textarea"!==l||(c.defaultValue=o.defaultValue);if(t)if(i)for(a=a||ge(e),r=r||ge(u),n=0,s=a.length;n<s;n++)Oe(a[n],r[n]);else Oe(e,u);return(r=ge(u,"script")).length>0&&_e(r,!d&&ge(e,"script")),u},cleanData:function(e){for(var t,i,n,s=b.event.special,a=0;void 0!==(i=e[a]);a++)if(V(i)){if(t=i[G.expando]){if(t.events)for(n in t.events)s[n]?b.event.remove(i,n):b.removeEvent(i,n,t.handle);i[G.expando]=void 0}i[K.expando]&&(i[K.expando]=void 0)}}}),b.fn.extend({detach:function(e){return Ye(this,e,!0)},remove:function(e){return Ye(this,e)},text:function(e){return W(this,function(e){return void 0===e?b.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Pe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||xe(this,e).appendChild(e)})},prepend:function(){return Pe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=xe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Pe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Pe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(b.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return b.clone(this,e,t)})},html:function(e){return W(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!me[(fe.exec(e)||["",""])[1].toLowerCase()]){e=b.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(b.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Pe(this,arguments,function(t){var i=this.parentNode;b.inArray(this,e)<0&&(b.cleanData(ge(this)),i&&i.replaceChild(t,this))},e)}}),b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){b.fn[e]=function(e){for(var i,n=[],s=b(e),a=s.length-1,o=0;o<=a;o++)i=o===a?this:this.clone(!0),b(s[o])[t](i),r.apply(n,i.get());return this.pushStack(n)}});var Ne=new RegExp("^("+Q+")(?!px)[a-z%]+$","i"),ze=/^--/,je=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=e),i.getComputedStyle(t)},He=function(e,t,i){var n,s,a={};for(s in t)a[s]=e.style[s],e.style[s]=t[s];for(s in n=i.call(e),t)e.style[s]=a[s];return n},Ie=new RegExp(te.join("|"),"i"),Re=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g");function We(e,t,i){var n,s,a,r,o=ze.test(t),c=e.style;return(i=i||je(e))&&(r=i.getPropertyValue(t)||i[t],o&&r&&(r=r.replace(Re,"$1")||void 0),""!==r||ne(e)||(r=b.style(e,t)),!f.pixelBoxStyles()&&Ne.test(r)&&Ie.test(t)&&(n=c.width,s=c.minWidth,a=c.maxWidth,c.minWidth=c.maxWidth=c.width=r,r=i.width,c.width=n,c.minWidth=s,c.maxWidth=a)),void 0!==r?r+"":r}function qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ie.appendChild(l).appendChild(u);var t=e.getComputedStyle(u);n="1%"!==t.top,c=12===i(t.marginLeft),u.style.right="60%",r=36===i(t.right),s=36===i(t.width),u.style.position="absolute",a=12===i(u.offsetWidth/3),ie.removeChild(l),u=null}}function i(e){return Math.round(parseFloat(e))}var n,s,a,r,o,c,l=g.createElement("div"),u=g.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===u.style.backgroundClip,b.extend(f,{boxSizingReliable:function(){return t(),s},pixelBoxStyles:function(){return t(),r},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),c},scrollboxSize:function(){return t(),a},reliableTrDimensions:function(){var t,i,n,s;return null==o&&(t=g.createElement("table"),i=g.createElement("tr"),n=g.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",i.style.cssText="border:1px solid",i.style.height="1px",n.style.height="9px",n.style.display="block",ie.appendChild(t).appendChild(i).appendChild(n),s=e.getComputedStyle(i),o=parseInt(s.height,10)+parseInt(s.borderTopWidth,10)+parseInt(s.borderBottomWidth,10)===i.offsetHeight,ie.removeChild(t)),o}}))}();var Be=["Webkit","Moz","ms"],Ue=g.createElement("div").style,Fe={};function Ve(e){var t=b.cssProps[e]||Fe[e];return t||(e in Ue?e:Fe[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),i=Be.length;i--;)if((e=Be[i]+t)in Ue)return e}(e)||e)}var $e=/^(none|table(?!-c[ea]).+)/,Ge={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"};function Xe(e,t,i){var n=ee.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function Je(e,t,i,n,s,a){var r="width"===t?1:0,o=0,c=0;if(i===(n?"border":"content"))return 0;for(;r<4;r+=2)"margin"===i&&(c+=b.css(e,i+te[r],!0,s)),n?("content"===i&&(c-=b.css(e,"padding"+te[r],!0,s)),"margin"!==i&&(c-=b.css(e,"border"+te[r]+"Width",!0,s))):(c+=b.css(e,"padding"+te[r],!0,s),"padding"!==i?c+=b.css(e,"border"+te[r]+"Width",!0,s):o+=b.css(e,"border"+te[r]+"Width",!0,s));return!n&&a>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-c-o-.5))||0),c}function Ze(e,t,i){var n=je(e),s=(!f.boxSizingReliable()||i)&&"border-box"===b.css(e,"boxSizing",!1,n),a=s,r=We(e,t,n),o="offset"+t[0].toUpperCase()+t.slice(1);if(Ne.test(r)){if(!i)return r;r="auto"}return(!f.boxSizingReliable()&&s||!f.reliableTrDimensions()&&E(e,"tr")||"auto"===r||!parseFloat(r)&&"inline"===b.css(e,"display",!1,n))&&e.getClientRects().length&&(s="border-box"===b.css(e,"boxSizing",!1,n),(a=o in e)&&(r=e[o])),(r=parseFloat(r)||0)+Je(e,t,i||(s?"border":"content"),a,n,r)+"px"}function Qe(e,t,i,n,s){return new Qe.prototype.init(e,t,i,n,s)}b.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=We(e,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var s,a,r,o=F(t),c=ze.test(t),l=e.style;if(c||(t=Ve(o)),r=b.cssHooks[t]||b.cssHooks[o],void 0===i)return r&&"get"in r&&void 0!==(s=r.get(e,!1,n))?s:l[t];"string"===(a=typeof i)&&(s=ee.exec(i))&&s[1]&&(i=re(e,t,s),a="number"),null!=i&&i==i&&("number"!==a||c||(i+=s&&s[3]||(b.cssNumber[o]?"":"px")),f.clearCloneStyle||""!==i||0!==t.indexOf("background")||(l[t]="inherit"),r&&"set"in r&&void 0===(i=r.set(e,i,n))||(c?l.setProperty(t,i):l[t]=i))}},css:function(e,t,i,n){var s,a,r,o=F(t);return ze.test(t)||(t=Ve(o)),(r=b.cssHooks[t]||b.cssHooks[o])&&"get"in r&&(s=r.get(e,!0,i)),void 0===s&&(s=We(e,t,n)),"normal"===s&&t in Ke&&(s=Ke[t]),""===i||i?(a=parseFloat(s),!0===i||isFinite(a)?a||0:s):s}}),b.each(["height","width"],function(e,t){b.cssHooks[t]={get:function(e,i,n){if(i)return!$e.test(b.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ze(e,t,n):He(e,Ge,function(){return Ze(e,t,n)})},set:function(e,i,n){var s,a=je(e),r=!f.scrollboxSize()&&"absolute"===a.position,o=(r||n)&&"border-box"===b.css(e,"boxSizing",!1,a),c=n?Je(e,t,n,o,a):0;return o&&r&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-Je(e,t,"border",!1,a)-.5)),c&&(s=ee.exec(i))&&"px"!==(s[3]||"px")&&(e.style[t]=i,i=b.css(e,t)),Xe(0,i,c)}}}),b.cssHooks.marginLeft=qe(f.reliableMarginLeft,function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-He(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),b.each({margin:"",padding:"",border:"Width"},function(e,t){b.cssHooks[e+t]={expand:function(i){for(var n=0,s={},a="string"==typeof i?i.split(" "):[i];n<4;n++)s[e+te[n]+t]=a[n]||a[n-2]||a[0];return s}},"margin"!==e&&(b.cssHooks[e+t].set=Xe)}),b.fn.extend({css:function(e,t){return W(this,function(e,t,i){var n,s,a={},r=0;if(Array.isArray(t)){for(n=je(e),s=t.length;r<s;r++)a[t[r]]=b.css(e,t[r],!1,n);return a}return void 0!==i?b.style(e,t,i):b.css(e,t)},e,t,arguments.length>1)}}),b.Tween=Qe,Qe.prototype={constructor:Qe,init:function(e,t,i,n,s,a){this.elem=e,this.prop=i,this.easing=s||b.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=a||(b.cssNumber[i]?"":"px")},cur:function(){var e=Qe.propHooks[this.prop];return e&&e.get?e.get(this):Qe.propHooks._default.get(this)},run:function(e){var t,i=Qe.propHooks[this.prop];return this.options.duration?this.pos=t=b.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):Qe.propHooks._default.set(this),this}},Qe.prototype.init.prototype=Qe.prototype,Qe.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=b.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){b.fx.step[e.prop]?b.fx.step[e.prop](e):1!==e.elem.nodeType||!b.cssHooks[e.prop]&&null==e.elem.style[Ve(e.prop)]?e.elem[e.prop]=e.now:b.style(e.elem,e.prop,e.now+e.unit)}}},Qe.propHooks.scrollTop=Qe.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},b.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},b.fx=Qe.prototype.init,b.fx.step={};var et,tt,it=/^(?:toggle|show|hide)$/,nt=/queueHooks$/;function st(){tt&&(!1===g.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(st):e.setTimeout(st,b.fx.interval),b.fx.tick())}function at(){return e.setTimeout(function(){et=void 0}),et=Date.now()}function rt(e,t){var i,n=0,s={height:e};for(t=t?1:0;n<4;n+=2-t)s["margin"+(i=te[n])]=s["padding"+i]=e;return t&&(s.opacity=s.width=e),s}function ot(e,t,i){for(var n,s=(ct.tweeners[t]||[]).concat(ct.tweeners["*"]),a=0,r=s.length;a<r;a++)if(n=s[a].call(i,t,e))return n}function ct(e,t,i){var n,s,a=0,r=ct.prefilters.length,o=b.Deferred().always(function(){delete c.elem}),c=function(){if(s)return!1;for(var t=et||at(),i=Math.max(0,l.startTime+l.duration-t),n=1-(i/l.duration||0),a=0,r=l.tweens.length;a<r;a++)l.tweens[a].run(n);return o.notifyWith(e,[l,n,i]),n<1&&r?i:(r||o.notifyWith(e,[l,1,0]),o.resolveWith(e,[l]),!1)},l=o.promise({elem:e,props:b.extend({},t),opts:b.extend(!0,{specialEasing:{},easing:b.easing._default},i),originalProperties:t,originalOptions:i,startTime:et||at(),duration:i.duration,tweens:[],createTween:function(t,i){var n=b.Tween(e,l.opts,t,i,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(n),n},stop:function(t){var i=0,n=t?l.tweens.length:0;if(s)return this;for(s=!0;i<n;i++)l.tweens[i].run(1);return t?(o.notifyWith(e,[l,1,0]),o.resolveWith(e,[l,t])):o.rejectWith(e,[l,t]),this}}),u=l.props;for(!function(e,t){var i,n,s,a,r;for(i in e)if(s=t[n=F(i)],a=e[i],Array.isArray(a)&&(s=a[1],a=e[i]=a[0]),i!==n&&(e[n]=a,delete e[i]),(r=b.cssHooks[n])&&"expand"in r)for(i in a=r.expand(a),delete e[n],a)i in e||(e[i]=a[i],t[i]=s);else t[n]=s}(u,l.opts.specialEasing);a<r;a++)if(n=ct.prefilters[a].call(l,e,u,l.opts))return p(n.stop)&&(b._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return b.map(u,ot,l),p(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),b.fx.timer(b.extend(c,{elem:e,anim:l,queue:l.opts.queue})),l}b.Animation=b.extend(ct,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return re(i.elem,e,ee.exec(t),i),i}]},tweener:function(e,t){p(e)?(t=e,e=["*"]):e=e.match(Y);for(var i,n=0,s=e.length;n<s;n++)i=e[n],ct.tweeners[i]=ct.tweeners[i]||[],ct.tweeners[i].unshift(t)},prefilters:[function(e,t,i){var n,s,a,r,o,c,l,u,d="width"in t||"height"in t,h=this,f={},p=e.style,m=e.nodeType&&ae(e),g=G.get(e,"fxshow");for(n in i.queue||(null==(r=b._queueHooks(e,"fx")).unqueued&&(r.unqueued=0,o=r.empty.fire,r.empty.fire=function(){r.unqueued||o()}),r.unqueued++,h.always(function(){h.always(function(){r.unqueued--,b.queue(e,"fx").length||r.empty.fire()})})),t)if(s=t[n],it.test(s)){if(delete t[n],a=a||"toggle"===s,s===(m?"hide":"show")){if("show"!==s||!g||void 0===g[n])continue;m=!0}f[n]=g&&g[n]||b.style(e,n)}if((c=!b.isEmptyObject(t))||!b.isEmptyObject(f))for(n in d&&1===e.nodeType&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=g&&g.display)&&(l=G.get(e,"display")),"none"===(u=b.css(e,"display"))&&(l?u=l:(le([e],!0),l=e.style.display||l,u=b.css(e,"display"),le([e]))),("inline"===u||"inline-block"===u&&null!=l)&&"none"===b.css(e,"float")&&(c||(h.done(function(){p.display=l}),null==l&&(u=p.display,l="none"===u?"":u)),p.display="inline-block")),i.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]})),c=!1,f)c||(g?"hidden"in g&&(m=g.hidden):g=G.access(e,"fxshow",{display:l}),a&&(g.hidden=!m),m&&le([e],!0),h.done(function(){for(n in m||le([e]),G.remove(e,"fxshow"),f)b.style(e,n,f[n])})),c=ot(m?g[n]:0,n,h),n in g||(g[n]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?ct.prefilters.unshift(e):ct.prefilters.push(e)}}),b.speed=function(e,t,i){var n=e&&"object"==typeof e?b.extend({},e):{complete:i||!i&&t||p(e)&&e,duration:e,easing:i&&t||t&&!p(t)&&t};return b.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in b.fx.speeds?n.duration=b.fx.speeds[n.duration]:n.duration=b.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){p(n.old)&&n.old.call(this),n.queue&&b.dequeue(this,n.queue)},n},b.fn.extend({fadeTo:function(e,t,i,n){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(e,t,i,n){var s=b.isEmptyObject(e),a=b.speed(t,i,n),r=function(){var t=ct(this,b.extend({},e),a);(s||G.get(this,"finish"))&&t.stop(!0)};return r.finish=r,s||!1===a.queue?this.each(r):this.queue(a.queue,r)},stop:function(e,t,i){var n=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,s=null!=e&&e+"queueHooks",a=b.timers,r=G.get(this);if(s)r[s]&&r[s].stop&&n(r[s]);else for(s in r)r[s]&&r[s].stop&&nt.test(s)&&n(r[s]);for(s=a.length;s--;)a[s].elem!==this||null!=e&&a[s].queue!==e||(a[s].anim.stop(i),t=!1,a.splice(s,1));!t&&i||b.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,i=G.get(this),n=i[e+"queue"],s=i[e+"queueHooks"],a=b.timers,r=n?n.length:0;for(i.finish=!0,b.queue(this,e,[]),s&&s.stop&&s.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<r;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete i.finish})}}),b.each(["toggle","show","hide"],function(e,t){var i=b.fn[t];b.fn[t]=function(e,n,s){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(rt(t,!0),e,n,s)}}),b.each({slideDown:rt("show"),slideUp:rt("hide"),slideToggle:rt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){b.fn[e]=function(e,i,n){return this.animate(t,e,i,n)}}),b.timers=[],b.fx.tick=function(){var e,t=0,i=b.timers;for(et=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||b.fx.stop(),et=void 0},b.fx.timer=function(e){b.timers.push(e),b.fx.start()},b.fx.interval=13,b.fx.start=function(){tt||(tt=!0,st())},b.fx.stop=function(){tt=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fn.delay=function(t,i){return t=b.fx&&b.fx.speeds[t]||t,i=i||"fx",this.queue(i,function(i,n){var s=e.setTimeout(i,t);n.stop=function(){e.clearTimeout(s)}})},function(){var e=g.createElement("input"),t=g.createElement("select").appendChild(g.createElement("option"));e.type="checkbox",f.checkOn=""!==e.value,f.optSelected=t.selected,(e=g.createElement("input")).value="t",e.type="radio",f.radioValue="t"===e.value}();var lt,ut=b.expr.attrHandle;b.fn.extend({attr:function(e,t){return W(this,b.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})}}),b.extend({attr:function(e,t,i){var n,s,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?b.prop(e,t,i):(1===a&&b.isXMLDoc(e)||(s=b.attrHooks[t.toLowerCase()]||(b.expr.match.bool.test(t)?lt:void 0)),void 0!==i?null===i?void b.removeAttr(e,t):s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:(e.setAttribute(t,i+""),i):s&&"get"in s&&null!==(n=s.get(e,t))?n:null==(n=b.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&E(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,n=0,s=t&&t.match(Y);if(s&&1===e.nodeType)for(;i=s[n++];)e.removeAttribute(i)}}),lt={set:function(e,t,i){return!1===t?b.removeAttr(e,i):e.setAttribute(i,i),i}},b.each(b.expr.match.bool.source.match(/\w+/g),function(e,t){var i=ut[t]||b.find.attr;ut[t]=function(e,t,n){var s,a,r=t.toLowerCase();return n||(a=ut[r],ut[r]=s,s=null!=i(e,t,n)?r:null,ut[r]=a),s}});var dt=/^(?:input|select|textarea|button)$/i,ht=/^(?:a|area)$/i;function ft(e){return(e.match(Y)||[]).join(" ")}function pt(e){return e.getAttribute&&e.getAttribute("class")||""}function mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Y)||[]}b.fn.extend({prop:function(e,t){return W(this,b.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[b.propFix[e]||e]})}}),b.extend({prop:function(e,t,i){var n,s,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&b.isXMLDoc(e)||(t=b.propFix[t]||t,s=b.propHooks[t]),void 0!==i?s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:e[t]=i:s&&"get"in s&&null!==(n=s.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=b.find.attr(e,"tabindex");return t?parseInt(t,10):dt.test(e.nodeName)||ht.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.optSelected||(b.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),b.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){b.propFix[this.toLowerCase()]=this}),b.fn.extend({addClass:function(e){var t,i,n,s,a,r;return p(e)?this.each(function(t){b(this).addClass(e.call(this,t,pt(this)))}):(t=mt(e)).length?this.each(function(){if(n=pt(this),i=1===this.nodeType&&" "+ft(n)+" "){for(a=0;a<t.length;a++)s=t[a],i.indexOf(" "+s+" ")<0&&(i+=s+" ");r=ft(i),n!==r&&this.setAttribute("class",r)}}):this},removeClass:function(e){var t,i,n,s,a,r;return p(e)?this.each(function(t){b(this).removeClass(e.call(this,t,pt(this)))}):arguments.length?(t=mt(e)).length?this.each(function(){if(n=pt(this),i=1===this.nodeType&&" "+ft(n)+" "){for(a=0;a<t.length;a++)for(s=t[a];i.indexOf(" "+s+" ")>-1;)i=i.replace(" "+s+" "," ");r=ft(i),n!==r&&this.setAttribute("class",r)}}):this:this.attr("class","")},toggleClass:function(e,t){var i,n,s,a,r=typeof e,o="string"===r||Array.isArray(e);return p(e)?this.each(function(i){b(this).toggleClass(e.call(this,i,pt(this),t),t)}):"boolean"==typeof t&&o?t?this.addClass(e):this.removeClass(e):(i=mt(e),this.each(function(){if(o)for(a=b(this),s=0;s<i.length;s++)n=i[s],a.hasClass(n)?a.removeClass(n):a.addClass(n);else void 0!==e&&"boolean"!==r||((n=pt(this))&&G.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===e?"":G.get(this,"__className__")||""))}))},hasClass:function(e){var t,i,n=0;for(t=" "+e+" ";i=this[n++];)if(1===i.nodeType&&(" "+ft(pt(i))+" ").indexOf(t)>-1)return!0;return!1}});var gt=/\r/g;b.fn.extend({val:function(e){var t,i,n,s=this[0];return arguments.length?(n=p(e),this.each(function(i){var s;1===this.nodeType&&(null==(s=n?e.call(this,i,b(this).val()):e)?s="":"number"==typeof s?s+="":Array.isArray(s)&&(s=b.map(s,function(e){return null==e?"":e+""})),(t=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,s,"value")||(this.value=s))})):s?(t=b.valHooks[s.type]||b.valHooks[s.nodeName.toLowerCase()])&&"get"in t&&void 0!==(i=t.get(s,"value"))?i:"string"==typeof(i=s.value)?i.replace(gt,""):null==i?"":i:void 0}}),b.extend({valHooks:{option:{get:function(e){var t=b.find.attr(e,"value");return null!=t?t:ft(b.text(e))}},select:{get:function(e){var t,i,n,s=e.options,a=e.selectedIndex,r="select-one"===e.type,o=r?null:[],c=r?a+1:s.length;for(n=a<0?c:r?a:0;n<c;n++)if(((i=s[n]).selected||n===a)&&!i.disabled&&(!i.parentNode.disabled||!E(i.parentNode,"optgroup"))){if(t=b(i).val(),r)return t;o.push(t)}return o},set:function(e,t){for(var i,n,s=e.options,a=b.makeArray(t),r=s.length;r--;)((n=s[r]).selected=b.inArray(b.valHooks.option.get(n),a)>-1)&&(i=!0);return i||(e.selectedIndex=-1),a}}}}),b.each(["radio","checkbox"],function(){b.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=b.inArray(b(e).val(),t)>-1}},f.checkOn||(b.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),f.focusin="onfocusin"in e;var _t=/^(?:focusinfocus|focusoutblur)$/,yt=function(e){e.stopPropagation()};b.extend(b.event,{trigger:function(t,i,n,s){var a,r,o,c,l,d,h,f,_=[n||g],y=u.call(t,"type")?t.type:t,v=u.call(t,"namespace")?t.namespace.split("."):[];if(r=f=o=n=n||g,3!==n.nodeType&&8!==n.nodeType&&!_t.test(y+b.event.triggered)&&(y.indexOf(".")>-1&&(v=y.split("."),y=v.shift(),v.sort()),l=y.indexOf(":")<0&&"on"+y,(t=t[b.expando]?t:new b.Event(y,"object"==typeof t&&t)).isTrigger=s?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),i=null==i?[t]:b.makeArray(i,[t]),h=b.event.special[y]||{},s||!h.trigger||!1!==h.trigger.apply(n,i))){if(!s&&!h.noBubble&&!m(n)){for(c=h.delegateType||y,_t.test(c+y)||(r=r.parentNode);r;r=r.parentNode)_.push(r),o=r;o===(n.ownerDocument||g)&&_.push(o.defaultView||o.parentWindow||e)}for(a=0;(r=_[a++])&&!t.isPropagationStopped();)f=r,t.type=a>1?c:h.bindType||y,(d=(G.get(r,"events")||Object.create(null))[t.type]&&G.get(r,"handle"))&&d.apply(r,i),(d=l&&r[l])&&d.apply&&V(r)&&(t.result=d.apply(r,i),!1===t.result&&t.preventDefault());return t.type=y,s||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(_.pop(),i)||!V(n)||l&&p(n[y])&&!m(n)&&((o=n[l])&&(n[l]=null),b.event.triggered=y,t.isPropagationStopped()&&f.addEventListener(y,yt),n[y](),t.isPropagationStopped()&&f.removeEventListener(y,yt),b.event.triggered=void 0,o&&(n[l]=o)),t.result}},simulate:function(e,t,i){var n=b.extend(new b.Event,i,{type:e,isSimulated:!0});b.event.trigger(n,null,t)}}),b.fn.extend({trigger:function(e,t){return this.each(function(){b.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];if(i)return b.event.trigger(e,t,i,!0)}}),f.focusin||b.each({focus:"focusin",blur:"focusout"},function(e,t){var i=function(e){b.event.simulate(t,e.target,b.event.fix(e))};b.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,s=G.access(n,t);s||n.addEventListener(e,i,!0),G.access(n,t,(s||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,s=G.access(n,t)-1;s?G.access(n,t,s):(n.removeEventListener(e,i,!0),G.remove(n,t))}}});var vt=e.location,bt={guid:Date.now()},At=/\?/;b.parseXML=function(t){var i,n;if(!t||"string"!=typeof t)return null;try{i=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){}return n=i&&i.getElementsByTagName("parsererror")[0],i&&!n||b.error("Invalid XML: "+(n?b.map(n.childNodes,function(e){return e.textContent}).join("\n"):t)),i};var wt=/\[\]$/,Mt=/\r?\n/g,kt=/^(?:submit|button|image|reset|file)$/i,St=/^(?:input|select|textarea|keygen)/i;function Et(e,t,i,n){var s;if(Array.isArray(t))b.each(t,function(t,s){i||wt.test(e)?n(e,s):Et(e+"["+("object"==typeof s&&null!=s?t:"")+"]",s,i,n)});else if(i||"object"!==v(t))n(e,t);else for(s in t)Et(e+"["+s+"]",t[s],i,n)}b.param=function(e,t){var i,n=[],s=function(e,t){var i=p(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==i?"":i)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!b.isPlainObject(e))b.each(e,function(){s(this.name,this.value)});else for(i in e)Et(i,e[i],t,s);return n.join("&")},b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=b.prop(this,"elements");return e?b.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!b(this).is(":disabled")&&St.test(this.nodeName)&&!kt.test(e)&&(this.checked||!he.test(e))}).map(function(e,t){var i=b(this).val();return null==i?null:Array.isArray(i)?b.map(i,function(e){return{name:t.name,value:e.replace(Mt,"\r\n")}}):{name:t.name,value:i.replace(Mt,"\r\n")}}).get()}});var Tt=/%20/g,Dt=/#.*$/,xt=/([?&])_=[^&]*/,Lt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ct=/^(?:GET|HEAD)$/,Ot=/^\/\//,Pt={},Yt={},Nt="*/".concat("*"),zt=g.createElement("a");function jt(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var n,s=0,a=t.toLowerCase().match(Y)||[];if(p(i))for(;n=a[s++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(i)):(e[n]=e[n]||[]).push(i)}}function Ht(e,t,i,n){var s={},a=e===Yt;function r(o){var c;return s[o]=!0,b.each(e[o]||[],function(e,o){var l=o(t,i,n);return"string"!=typeof l||a||s[l]?a?!(c=l):void 0:(t.dataTypes.unshift(l),r(l),!1)}),c}return r(t.dataTypes[0])||!s["*"]&&r("*")}function It(e,t){var i,n,s=b.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((s[i]?e:n||(n={}))[i]=t[i]);return n&&b.extend(!0,e,n),e}zt.href=vt.href,b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:vt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(vt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Nt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?It(It(e,b.ajaxSettings),t):It(b.ajaxSettings,e)},ajaxPrefilter:jt(Pt),ajaxTransport:jt(Yt),ajax:function(t,i){"object"==typeof t&&(i=t,t=void 0),i=i||{};var n,s,a,r,o,c,l,u,d,h,f=b.ajaxSetup({},i),p=f.context||f,m=f.context&&(p.nodeType||p.jquery)?b(p):b.event,_=b.Deferred(),y=b.Callbacks("once memory"),v=f.statusCode||{},A={},w={},M="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(l){if(!r)for(r={};t=Lt.exec(a);)r[t[1].toLowerCase()+" "]=(r[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=r[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?a:null},setRequestHeader:function(e,t){return null==l&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,A[e]=t),this},overrideMimeType:function(e){return null==l&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)k.always(e[k.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||M;return n&&n.abort(t),S(0,t),this}};if(_.promise(k),f.url=((t||f.url||vt.href)+"").replace(Ot,vt.protocol+"//"),f.type=i.method||i.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(Y)||[""],null==f.crossDomain){c=g.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=zt.protocol+"//"+zt.host!=c.protocol+"//"+c.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=b.param(f.data,f.traditional)),Ht(Pt,f,i,k),l)return k;for(d in(u=b.event&&f.global)&&0==b.active++&&b.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Ct.test(f.type),s=f.url.replace(Dt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Tt,"+")):(h=f.url.slice(s.length),f.data&&(f.processData||"string"==typeof f.data)&&(s+=(At.test(s)?"&":"?")+f.data,delete f.data),!1===f.cache&&(s=s.replace(xt,"$1"),h=(At.test(s)?"&":"?")+"_="+bt.guid+++h),f.url=s+h),f.ifModified&&(b.lastModified[s]&&k.setRequestHeader("If-Modified-Since",b.lastModified[s]),b.etag[s]&&k.setRequestHeader("If-None-Match",b.etag[s])),(f.data&&f.hasContent&&!1!==f.contentType||i.contentType)&&k.setRequestHeader("Content-Type",f.contentType),k.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Nt+"; q=0.01":""):f.accepts["*"]),f.headers)k.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(p,k,f)||l))return k.abort();if(M="abort",y.add(f.complete),k.done(f.success),k.fail(f.error),n=Ht(Yt,f,i,k)){if(k.readyState=1,u&&m.trigger("ajaxSend",[k,f]),l)return k;f.async&&f.timeout>0&&(o=e.setTimeout(function(){k.abort("timeout")},f.timeout));try{l=!1,n.send(A,S)}catch(e){if(l)throw e;S(-1,e)}}else S(-1,"No Transport");function S(t,i,r,c){var d,h,g,A,w,M=i;l||(l=!0,o&&e.clearTimeout(o),n=void 0,a=c||"",k.readyState=t>0?4:0,d=t>=200&&t<300||304===t,r&&(A=function(e,t,i){for(var n,s,a,r,o=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(s in o)if(o[s]&&o[s].test(n)){c.unshift(s);break}if(c[0]in i)a=c[0];else{for(s in i){if(!c[0]||e.converters[s+" "+c[0]]){a=s;break}r||(r=s)}a=a||r}if(a)return a!==c[0]&&c.unshift(a),i[a]}(f,k,r)),!d&&b.inArray("script",f.dataTypes)>-1&&b.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),A=function(e,t,i,n){var s,a,r,o,c,l={},u=e.dataTypes.slice();if(u[1])for(r in e.converters)l[r.toLowerCase()]=e.converters[r];for(a=u.shift();a;)if(e.responseFields[a]&&(i[e.responseFields[a]]=t),!c&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=a,a=u.shift())if("*"===a)a=c;else if("*"!==c&&c!==a){if(!(r=l[c+" "+a]||l["* "+a]))for(s in l)if((o=s.split(" "))[1]===a&&(r=l[c+" "+o[0]]||l["* "+o[0]])){!0===r?r=l[s]:!0!==l[s]&&(a=o[0],u.unshift(o[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+c+" to "+a}}}return{state:"success",data:t}}(f,A,k,d),d?(f.ifModified&&((w=k.getResponseHeader("Last-Modified"))&&(b.lastModified[s]=w),(w=k.getResponseHeader("etag"))&&(b.etag[s]=w)),204===t||"HEAD"===f.type?M="nocontent":304===t?M="notmodified":(M=A.state,h=A.data,d=!(g=A.error))):(g=M,!t&&M||(M="error",t<0&&(t=0))),k.status=t,k.statusText=(i||M)+"",d?_.resolveWith(p,[h,M,k]):_.rejectWith(p,[k,M,g]),k.statusCode(v),v=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[k,f,d?h:g]),y.fireWith(p,[k,M]),u&&(m.trigger("ajaxComplete",[k,f]),--b.active||b.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,i){return b.get(e,t,i,"json")},getScript:function(e,t){return b.get(e,void 0,t,"script")}}),b.each(["get","post"],function(e,t){b[t]=function(e,i,n,s){return p(i)&&(s=s||n,n=i,i=void 0),b.ajax(b.extend({url:e,type:t,dataType:s,data:i,success:n},b.isPlainObject(e)&&e))}}),b.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),b._evalUrl=function(e,t,i){return b.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){b.globalEval(e,t,i)}})},b.fn.extend({wrapAll:function(e){var t;return this[0]&&(p(e)&&(e=e.call(this[0])),t=b(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return p(e)?this.each(function(t){b(this).wrapInner(e.call(this,t))}):this.each(function(){var t=b(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)})},wrap:function(e){var t=p(e);return this.each(function(i){b(this).wrapAll(t?e.call(this,i):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){b(this).replaceWith(this.childNodes)}),this}}),b.expr.pseudos.hidden=function(e){return!b.expr.pseudos.visible(e)},b.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},b.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Rt={0:200,1223:204},Wt=b.ajaxSettings.xhr();f.cors=!!Wt&&"withCredentials"in Wt,f.ajax=Wt=!!Wt,b.ajaxTransport(function(t){var i,n;if(f.cors||Wt&&!t.crossDomain)return{send:function(s,a){var r,o=t.xhr();if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)o[r]=t.xhrFields[r];for(r in t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||s["X-Requested-With"]||(s["X-Requested-With"]="XMLHttpRequest"),s)o.setRequestHeader(r,s[r]);i=function(e){return function(){i&&(i=n=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===e?o.abort():"error"===e?"number"!=typeof o.status?a(0,"error"):a(o.status,o.statusText):a(Rt[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=i(),n=o.onerror=o.ontimeout=i("error"),void 0!==o.onabort?o.onabort=n:o.onreadystatechange=function(){4===o.readyState&&e.setTimeout(function(){i&&n()})},i=i("abort");try{o.send(t.hasContent&&t.data||null)}catch(e){if(i)throw e}},abort:function(){i&&i()}}}),b.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return b.globalEval(e),e}}}),b.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),b.ajaxTransport("script",function(e){var t,i;if(e.crossDomain||e.scriptAttrs)return{send:function(n,s){t=b("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",i=function(e){t.remove(),i=null,e&&s("error"===e.type?404:200,e.type)}),g.head.appendChild(t[0])},abort:function(){i&&i()}}});var qt,Bt=[],Ut=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Bt.pop()||b.expando+"_"+bt.guid++;return this[e]=!0,e}}),b.ajaxPrefilter("json jsonp",function(t,i,n){var s,a,r,o=!1!==t.jsonp&&(Ut.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(t.data)&&"data");if(o||"jsonp"===t.dataTypes[0])return s=t.jsonpCallback=p(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o?t[o]=t[o].replace(Ut,"$1"+s):!1!==t.jsonp&&(t.url+=(At.test(t.url)?"&":"?")+t.jsonp+"="+s),t.converters["script json"]=function(){return r||b.error(s+" was not called"),r[0]},t.dataTypes[0]="json",a=e[s],e[s]=function(){r=arguments},n.always(function(){void 0===a?b(e).removeProp(s):e[s]=a,t[s]&&(t.jsonpCallback=i.jsonpCallback,Bt.push(s)),r&&p(a)&&a(r[0]),r=a=void 0}),"script"}),f.createHTMLDocument=((qt=g.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===qt.childNodes.length),b.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(f.createHTMLDocument?((n=(t=g.implementation.createHTMLDocument("")).createElement("base")).href=g.location.href,t.head.appendChild(n)):t=g),a=!i&&[],(s=T.exec(e))?[t.createElement(s[1])]:(s=ve([e],t,a),a&&a.length&&b(a).remove(),b.merge([],s.childNodes)));var n,s,a},b.fn.load=function(e,t,i){var n,s,a,r=this,o=e.indexOf(" ");return o>-1&&(n=ft(e.slice(o)),e=e.slice(0,o)),p(t)?(i=t,t=void 0):t&&"object"==typeof t&&(s="POST"),r.length>0&&b.ajax({url:e,type:s||"GET",dataType:"html",data:t}).done(function(e){a=arguments,r.html(n?b("<div>").append(b.parseHTML(e)).find(n):e)}).always(i&&function(e,t){r.each(function(){i.apply(this,a||[e.responseText,t,e])})}),this},b.expr.pseudos.animated=function(e){return b.grep(b.timers,function(t){return e===t.elem}).length},b.offset={setOffset:function(e,t,i){var n,s,a,r,o,c,l=b.css(e,"position"),u=b(e),d={};"static"===l&&(e.style.position="relative"),o=u.offset(),a=b.css(e,"top"),c=b.css(e,"left"),("absolute"===l||"fixed"===l)&&(a+c).indexOf("auto")>-1?(r=(n=u.position()).top,s=n.left):(r=parseFloat(a)||0,s=parseFloat(c)||0),p(t)&&(t=t.call(e,i,b.extend({},o))),null!=t.top&&(d.top=t.top-o.top+r),null!=t.left&&(d.left=t.left-o.left+s),"using"in t?t.using.call(e,d):u.css(d)}},b.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){b.offset.setOffset(this,e,t)});var t,i,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],s={top:0,left:0};if("fixed"===b.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===b.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((s=b(e).offset()).top+=b.css(e,"borderTopWidth",!0),s.left+=b.css(e,"borderLeftWidth",!0))}return{top:t.top-s.top-b.css(n,"marginTop",!0),left:t.left-s.left-b.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===b.css(e,"position");)e=e.offsetParent;return e||ie})}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var i="pageYOffset"===t;b.fn[e]=function(n){return W(this,function(e,n,s){var a;if(m(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===s)return a?a[t]:e[n];a?a.scrollTo(i?a.pageXOffset:s,i?s:a.pageYOffset):e[n]=s},e,n,arguments.length)}}),b.each(["top","left"],function(e,t){b.cssHooks[t]=qe(f.pixelPosition,function(e,i){if(i)return i=We(e,t),Ne.test(i)?b(e).position()[t]+"px":i})}),b.each({Height:"height",Width:"width"},function(e,t){b.each({padding:"inner"+e,content:t,"":"outer"+e},function(i,n){b.fn[n]=function(s,a){var r=arguments.length&&(i||"boolean"!=typeof s),o=i||(!0===s||!0===a?"margin":"border");return W(this,function(t,i,s){var a;return m(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===s?b.css(t,i,o):b.style(t,i,s,o)},t,r?s:void 0,r)}})}),b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){b.fn[t]=function(e){return this.on(t,e)}}),b.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),b.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){b.fn[t]=function(e,i){return arguments.length>0?this.on(t,null,e,i):this.trigger(t)}});var Ft=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;b.proxy=function(e,t){var i,n,a;if("string"==typeof t&&(i=e[t],t=e,e=i),p(e))return n=s.call(arguments,2),(a=function(){return e.apply(t||this,n.concat(s.call(arguments)))}).guid=e.guid=e.guid||b.guid++,a},b.holdReady=function(e){e?b.readyWait++:b.ready(!0)},b.isArray=Array.isArray,b.parseJSON=JSON.parse,b.nodeName=E,b.isFunction=p,b.isWindow=m,b.camelCase=F,b.type=v,b.now=Date.now,b.isNumeric=function(e){var t=b.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},b.trim=function(e){return null==e?"":(e+"").replace(Ft,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return b});var Vt=e.jQuery,$t=e.$;return b.noConflict=function(t){return e.$===b&&(e.$=$t),t&&e.jQuery===b&&(e.jQuery=Vt),b},void 0===t&&(e.jQuery=e.$=b),b}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,function(e){"use strict";function t(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return e instanceof t(e).Element||e instanceof Element}function n(e){return e instanceof t(e).HTMLElement||e instanceof HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof t(e).ShadowRoot||e instanceof ShadowRoot)}var a=Math.max,r=Math.min,o=Math.round;function c(e,t){void 0===t&&(t=!1);var i=e.getBoundingClientRect(),s=1,a=1;if(n(e)&&t){var r=e.offsetHeight,c=e.offsetWidth;c>0&&(s=o(i.width)/c||1),r>0&&(a=o(i.height)/r||1)}return{width:i.width/s,height:i.height/a,top:i.top/a,right:i.right/s,bottom:i.bottom/a,left:i.left/s,x:i.left/s,y:i.top/a}}function l(e){var i=t(e);return{scrollLeft:i.pageXOffset,scrollTop:i.pageYOffset}}function u(e){return e?(e.nodeName||"").toLowerCase():null}function d(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return c(d(e)).left+l(e).scrollLeft}function f(e){return t(e).getComputedStyle(e)}function p(e){var t=f(e),i=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function m(e,i,s){void 0===s&&(s=!1);var a,r,f=n(i),m=n(i)&&function(e){var t=e.getBoundingClientRect(),i=o(t.width)/e.offsetWidth||1,n=o(t.height)/e.offsetHeight||1;return 1!==i||1!==n}(i),g=d(i),_=c(e,m),y={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(f||!f&&!s)&&(("body"!==u(i)||p(g))&&(y=(a=i)!==t(a)&&n(a)?{scrollLeft:(r=a).scrollLeft,scrollTop:r.scrollTop}:l(a)),n(i)?((v=c(i,!0)).x+=i.clientLeft,v.y+=i.clientTop):g&&(v.x=h(g))),{x:_.left+y.scrollLeft-v.x,y:_.top+y.scrollTop-v.y,width:_.width,height:_.height}}function g(e){var t=c(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function _(e){return"html"===u(e)?e:e.assignedSlot||e.parentNode||(s(e)?e.host:null)||d(e)}function y(e,i){var s;void 0===i&&(i=[]);var a=function e(t){return["html","body","#document"].indexOf(u(t))>=0?t.ownerDocument.body:n(t)&&p(t)?t:e(_(t))}(e),r=a===(null==(s=e.ownerDocument)?void 0:s.body),o=t(a),c=r?[o].concat(o.visualViewport||[],p(a)?a:[]):a,l=i.concat(c);return r?l:l.concat(y(_(c)))}function v(e){return["table","td","th"].indexOf(u(e))>=0}function b(e){return n(e)&&"fixed"!==f(e).position?e.offsetParent:null}function A(e){for(var i=t(e),a=b(e);a&&v(a)&&"static"===f(a).position;)a=b(a);return a&&("html"===u(a)||"body"===u(a)&&"static"===f(a).position)?i:a||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&n(e)&&"fixed"===f(e).position)return null;var i=_(e);for(s(i)&&(i=i.host);n(i)&&["html","body"].indexOf(u(i))<0;){var a=f(i);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||t&&"filter"===a.willChange||t&&a.filter&&"none"!==a.filter)return i;i=i.parentNode}return null}(e)||i}var w="top",M="bottom",k="right",S="left",E="auto",T=[w,M,k,S],D="start",x="end",L="clippingParents",C="viewport",O="popper",P="reference",Y=T.reduce(function(e,t){return e.concat([t+"-"+D,t+"-"+x])},[]),N=[].concat(T,[E]).reduce(function(e,t){return e.concat([t,t+"-"+D,t+"-"+x])},[]),z=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function j(e){var t=new Map,i=new Set,n=[];return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){i.has(e.name)||function e(s){i.add(s.name),[].concat(s.requires||[],s.requiresIfExists||[]).forEach(function(n){if(!i.has(n)){var s=t.get(n);s&&e(s)}}),n.push(s)}(e)}),n}function H(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return[].concat(i).reduce(function(e,t){return e.replace(/%s/,t)},e)}var I='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',R='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',W=["name","enabled","phase","fn","effect","requires","options"];function q(e){return e.split("-")[0]}function B(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&s(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function U(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function F(e,n){return n===C?U(function(e){var i=t(e),n=d(e),s=i.visualViewport,a=n.clientWidth,r=n.clientHeight,o=0,c=0;return s&&(a=s.width,r=s.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=s.offsetLeft,c=s.offsetTop)),{width:a,height:r,x:o+h(e),y:c}}(e)):i(n)?function(e){var t=c(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(n):U(function(e){var t,i=d(e),n=l(e),s=null==(t=e.ownerDocument)?void 0:t.body,r=a(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=a(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),c=-n.scrollLeft+h(e),u=-n.scrollTop;return"rtl"===f(s||i).direction&&(c+=a(i.clientWidth,s?s.clientWidth:0)-r),{width:r,height:o,x:c,y:u}}(d(e)))}function V(e,t,s){var o="clippingParents"===t?function(e){var t=y(_(e)),s=["absolute","fixed"].indexOf(f(e).position)>=0&&n(e)?A(e):e;return i(s)?t.filter(function(e){return i(e)&&B(e,s)&&"body"!==u(e)}):[]}(e):[].concat(t),c=[].concat(o,[s]),l=c[0],d=c.reduce(function(t,i){var n=F(e,i);return t.top=a(n.top,t.top),t.right=r(n.right,t.right),t.bottom=r(n.bottom,t.bottom),t.left=a(n.left,t.left),t},F(e,l));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function $(e){return e.split("-")[1]}function G(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function K(e){var t,i=e.reference,n=e.element,s=e.placement,a=s?q(s):null,r=s?$(s):null,o=i.x+i.width/2-n.width/2,c=i.y+i.height/2-n.height/2;switch(a){case w:t={x:o,y:i.y-n.height};break;case M:t={x:o,y:i.y+i.height};break;case k:t={x:i.x+i.width,y:c};break;case S:t={x:i.x-n.width,y:c};break;default:t={x:i.x,y:i.y}}var l=a?G(a):null;if(null!=l){var u="y"===l?"height":"width";switch(r){case D:t[l]=t[l]-(i[u]/2-n[u]/2);break;case x:t[l]=t[l]+(i[u]/2-n[u]/2)}}return t}function X(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function J(e,t){return t.reduce(function(t,i){return t[i]=e,t},{})}function Z(e,t){void 0===t&&(t={});var n=t,s=n.placement,a=void 0===s?e.placement:s,r=n.boundary,o=void 0===r?L:r,l=n.rootBoundary,u=void 0===l?C:l,h=n.elementContext,f=void 0===h?O:h,p=n.altBoundary,m=void 0!==p&&p,g=n.padding,_=void 0===g?0:g,y=X("number"!=typeof _?_:J(_,T)),v=f===O?P:O,b=e.rects.popper,A=e.elements[m?v:f],S=V(i(A)?A:A.contextElement||d(e.elements.popper),o,u),E=c(e.elements.reference),D=K({reference:E,element:b,strategy:"absolute",placement:a}),x=U(Object.assign({},b,D)),Y=f===O?x:E,N={top:S.top-Y.top+y.top,bottom:Y.bottom-S.bottom+y.bottom,left:S.left-Y.left+y.left,right:Y.right-S.right+y.right},z=e.modifiersData.offset;if(f===O&&z){var j=z[a];Object.keys(N).forEach(function(e){var t=[k,M].indexOf(e)>=0?1:-1,i=[w,M].indexOf(e)>=0?"y":"x";N[e]+=j[i]*t})}return N}var Q="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",ee="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",te={placement:"bottom",modifiers:[],strategy:"absolute"};function ie(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function ne(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,s=void 0===n?[]:n,a=t.defaultOptions,r=void 0===a?te:a;return function(e,t,n){void 0===n&&(n=r);var a,o,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},te,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],u=!1,d={state:c,setOptions:function(n){var a="function"==typeof n?n(c.options):n;h(),c.options=Object.assign({},r,c.options,a),c.scrollParents={reference:i(e)?y(e):e.contextElement?y(e.contextElement):[],popper:y(t)};var o=function(e){var t=j(e);return z.reduce(function(e,i){return e.concat(t.filter(function(e){return e.phase===i}))},[])}(function(e){var t=e.reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}([].concat(s,c.options.modifiers)));(c.orderedModifiers=o.filter(function(e){return e.enabled}),function(e){e.forEach(function(t){[].concat(Object.keys(t),W).filter(function(e,t,i){return i.indexOf(e)===t}).forEach(function(i){switch(i){case"name":"string"!=typeof t.name&&console.error(H(I,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(H(I,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":z.indexOf(t.phase)<0&&console.error(H(I,t.name,'"phase"',"either "+z.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(H(I,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(H(I,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(H(I,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(H(I,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+W.map(function(e){return'"'+e+'"'}).join(", ")+'; but "'+i+'" was provided.')}t.requires&&t.requires.forEach(function(i){null==e.find(function(e){return e.name===i})&&console.error(H(R,String(t.name),i,i))})})})}((u=[].concat(o,c.options.modifiers),p=function(e){return e.name},m=new Set,u.filter(function(e){var t=p(e);if(!m.has(t))return m.add(t),!0}))),q(c.options.placement)===E)&&(c.orderedModifiers.find(function(e){return"flip"===e.name})||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" ")));var u,p,m,g=f(t);return[g.marginTop,g.marginRight,g.marginBottom,g.marginLeft].some(function(e){return parseFloat(e)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" ")),c.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,n=void 0===i?{}:i,s=e.effect;if("function"==typeof s){var a=s({state:c,name:t,instance:d,options:n});l.push(a||function(){})}}),d.update()},forceUpdate:function(){if(!u){var e=c.elements,t=e.reference,i=e.popper;if(ie(t,i)){c.rects={reference:m(t,A(i),"fixed"===c.options.strategy),popper:g(i)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(e){return c.modifiersData[e.name]=Object.assign({},e.data)});for(var n=0,s=0;s<c.orderedModifiers.length;s++){if((n+=1)>100){console.error(ee);break}if(!0!==c.reset){var a=c.orderedModifiers[s],r=a.fn,o=a.options,l=void 0===o?{}:o,h=a.name;"function"==typeof r&&(c=r({state:c,options:l,name:h,instance:d})||c)}else c.reset=!1,s=-1}}else console.error(Q)}},update:(a=function(){return new Promise(function(e){d.forceUpdate(),e(c)})},function(){return o||(o=new Promise(function(e){Promise.resolve().then(function(){o=void 0,e(a())})})),o}),destroy:function(){h(),u=!0}};if(!ie(e,t))return console.error(Q),d;function h(){l.forEach(function(e){return e()}),l=[]}return d.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),d}}var se={passive:!0};var ae={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var i=e.state,n=e.instance,s=e.options,a=s.scroll,r=void 0===a||a,o=s.resize,c=void 0===o||o,l=t(i.elements.popper),u=[].concat(i.scrollParents.reference,i.scrollParents.popper);return r&&u.forEach(function(e){e.addEventListener("scroll",n.update,se)}),c&&l.addEventListener("resize",n.update,se),function(){r&&u.forEach(function(e){e.removeEventListener("scroll",n.update,se)}),c&&l.removeEventListener("resize",n.update,se)}},data:{}};var re={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=K({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},oe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ce(e){var i,n=e.popper,s=e.popperRect,a=e.placement,r=e.variation,c=e.offsets,l=e.position,u=e.gpuAcceleration,h=e.adaptive,p=e.roundOffsets,m=e.isFixed,g=c.x,_=void 0===g?0:g,y=c.y,v=void 0===y?0:y,b="function"==typeof p?p({x:_,y:v}):{x:_,y:v};_=b.x,v=b.y;var E=c.hasOwnProperty("x"),T=c.hasOwnProperty("y"),D=S,L=w,C=window;if(h){var O=A(n),P="clientHeight",Y="clientWidth";if(O===t(n)&&"static"!==f(O=d(n)).position&&"absolute"===l&&(P="scrollHeight",Y="scrollWidth"),O=O,a===w||(a===S||a===k)&&r===x)L=M,v-=(m&&O===C&&C.visualViewport?C.visualViewport.height:O[P])-s.height,v*=u?1:-1;if(a===S||(a===w||a===M)&&r===x)D=k,_-=(m&&O===C&&C.visualViewport?C.visualViewport.width:O[Y])-s.width,_*=u?1:-1}var N,z=Object.assign({position:l},h&&oe),j=!0===p?function(e){var t=e.x,i=e.y,n=window.devicePixelRatio||1;return{x:o(t*n)/n||0,y:o(i*n)/n||0}}({x:_,y:v}):{x:_,y:v};return _=j.x,v=j.y,u?Object.assign({},z,((N={})[L]=T?"0":"",N[D]=E?"0":"",N.transform=(C.devicePixelRatio||1)<=1?"translate("+_+"px, "+v+"px)":"translate3d("+_+"px, "+v+"px, 0)",N)):Object.assign({},z,((i={})[L]=T?v+"px":"",i[D]=E?_+"px":"",i.transform="",i))}var le={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,n=i.gpuAcceleration,s=void 0===n||n,a=i.adaptive,r=void 0===a||a,o=i.roundOffsets,c=void 0===o||o,l=f(t.elements.popper).transitionProperty||"";r&&["transform","top","right","bottom","left"].some(function(e){return l.indexOf(e)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "));var u={placement:q(t.placement),variation:$(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ce(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ce(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ue={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var i=t.styles[e]||{},s=t.attributes[e]||{},a=t.elements[e];n(a)&&u(a)&&(Object.assign(a.style,i),Object.keys(s).forEach(function(e){var t=s[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(e){var s=t.elements[e],a=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce(function(e,t){return e[t]="",e},{});n(s)&&u(s)&&(Object.assign(s.style,r),Object.keys(a).forEach(function(e){s.removeAttribute(e)}))})}},requires:["computeStyles"]};var de={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,n=e.name,s=i.offset,a=void 0===s?[0,0]:s,r=N.reduce(function(e,i){return e[i]=function(e,t,i){var n=q(e),s=[S,w].indexOf(n)>=0?-1:1,a="function"==typeof i?i(Object.assign({},t,{placement:e})):i,r=a[0],o=a[1];return r=r||0,o=(o||0)*s,[S,k].indexOf(n)>=0?{x:o,y:r}:{x:r,y:o}}(i,t.rects,a),e},{}),o=r[t.placement],c=o.x,l=o.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=r}},he={left:"right",right:"left",bottom:"top",top:"bottom"};function fe(e){return e.replace(/left|right|bottom|top/g,function(e){return he[e]})}var pe={start:"end",end:"start"};function me(e){return e.replace(/start|end/g,function(e){return pe[e]})}function ge(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=i.boundary,a=i.rootBoundary,r=i.padding,o=i.flipVariations,c=i.allowedAutoPlacements,l=void 0===c?N:c,u=$(n),d=u?o?Y:Y.filter(function(e){return $(e)===u}):T,h=d.filter(function(e){return l.indexOf(e)>=0});0===h.length&&(h=d,console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var f=h.reduce(function(t,i){return t[i]=Z(e,{placement:i,boundary:s,rootBoundary:a,padding:r})[q(i)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}var _e={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var s=i.mainAxis,a=void 0===s||s,r=i.altAxis,o=void 0===r||r,c=i.fallbackPlacements,l=i.padding,u=i.boundary,d=i.rootBoundary,h=i.altBoundary,f=i.flipVariations,p=void 0===f||f,m=i.allowedAutoPlacements,g=t.options.placement,_=q(g),y=c||(_!==g&&p?function(e){if(q(e)===E)return[];var t=fe(e);return[me(e),t,me(t)]}(g):[fe(g)]),v=[g].concat(y).reduce(function(e,i){return e.concat(q(i)===E?ge(t,{placement:i,boundary:u,rootBoundary:d,padding:l,flipVariations:p,allowedAutoPlacements:m}):i)},[]),b=t.rects.reference,A=t.rects.popper,T=new Map,x=!0,L=v[0],C=0;C<v.length;C++){var O=v[C],P=q(O),Y=$(O)===D,N=[w,M].indexOf(P)>=0,z=N?"width":"height",j=Z(t,{placement:O,boundary:u,rootBoundary:d,altBoundary:h,padding:l}),H=N?Y?k:S:Y?M:w;b[z]>A[z]&&(H=fe(H));var I=fe(H),R=[];if(a&&R.push(j[P]<=0),o&&R.push(j[H]<=0,j[I]<=0),R.every(function(e){return e})){L=O,x=!1;break}T.set(O,R)}if(x)for(var W=function(e){var t=v.find(function(t){var i=T.get(t);if(i)return i.slice(0,e).every(function(e){return e})});if(t)return L=t,"break"},B=p?3:1;B>0&&"break"!==W(B);B--);t.placement!==L&&(t.modifiersData[n]._skip=!0,t.placement=L,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ye(e,t,i){return a(e,r(t,i))}var ve={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name,s=i.mainAxis,o=void 0===s||s,c=i.altAxis,l=void 0!==c&&c,u=i.boundary,d=i.rootBoundary,h=i.altBoundary,f=i.padding,p=i.tether,m=void 0===p||p,_=i.tetherOffset,y=void 0===_?0:_,v=Z(t,{boundary:u,rootBoundary:d,padding:f,altBoundary:h}),b=q(t.placement),E=$(t.placement),T=!E,x=G(b),L="x"===x?"y":"x",C=t.modifiersData.popperOffsets,O=t.rects.reference,P=t.rects.popper,Y="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,N="number"==typeof Y?{mainAxis:Y,altAxis:Y}:Object.assign({mainAxis:0,altAxis:0},Y),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(C){if(o){var H,I="y"===x?w:S,R="y"===x?M:k,W="y"===x?"height":"width",B=C[x],U=B+v[I],F=B-v[R],V=m?-P[W]/2:0,K=E===D?O[W]:P[W],X=E===D?-P[W]:-O[W],J=t.elements.arrow,Q=m&&J?g(J):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[I],ie=ee[R],ne=ye(0,O[W],Q[W]),se=T?O[W]/2-V-ne-te-N.mainAxis:K-ne-te-N.mainAxis,ae=T?-O[W]/2+V+ne+ie+N.mainAxis:X+ne+ie+N.mainAxis,re=t.elements.arrow&&A(t.elements.arrow),oe=re?"y"===x?re.clientTop||0:re.clientLeft||0:0,ce=null!=(H=null==z?void 0:z[x])?H:0,le=B+ae-ce,ue=ye(m?r(U,B+se-ce-oe):U,B,m?a(F,le):F);C[x]=ue,j[x]=ue-B}if(l){var de,he="x"===x?w:S,fe="x"===x?M:k,pe=C[L],me="y"===L?"height":"width",ge=pe+v[he],_e=pe-v[fe],ve=-1!==[w,S].indexOf(b),be=null!=(de=null==z?void 0:z[L])?de:0,Ae=ve?ge:pe-O[me]-P[me]-be+N.altAxis,we=ve?pe+O[me]+P[me]-be-N.altAxis:_e,Me=m&&ve?function(e,t,i){var n=ye(e,t,i);return n>i?i:n}(Ae,pe,we):ye(m?Ae:ge,pe,m?we:_e);C[L]=Me,j[L]=Me-pe}t.modifiersData[n]=j}},requiresIfExists:["offset"]},be=function(e,t){return X("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:J(e,T))};var Ae={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,n=e.name,s=e.options,a=i.elements.arrow,r=i.modifiersData.popperOffsets,o=q(i.placement),c=G(o),l=[S,k].indexOf(o)>=0?"height":"width";if(a&&r){var u=be(s.padding,i),d=g(a),h="y"===c?w:S,f="y"===c?M:k,p=i.rects.reference[l]+i.rects.reference[c]-r[c]-i.rects.popper[l],m=r[c]-i.rects.reference[c],_=A(a),y=_?"y"===c?_.clientHeight||0:_.clientWidth||0:0,v=p/2-m/2,b=u[h],E=y-d[l]-u[f],T=y/2-d[l]/2+v,D=ye(b,T,E),x=c;i.modifiersData[n]=((t={})[x]=D,t.centerOffset=D-T,t)}},effect:function(e){var t=e.state,i=e.options.element,s=void 0===i?"[data-popper-arrow]":i;null!=s&&("string"!=typeof s||(s=t.elements.popper.querySelector(s)))&&(n(s)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" ")),B(t.elements.popper,s)?t.elements.arrow=s:console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function we(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Me(e){return[w,k,M,S].some(function(t){return e[t]>=0})}var ke={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,r=Z(t,{elementContext:"reference"}),o=Z(t,{altBoundary:!0}),c=we(r,n),l=we(o,s,a),u=Me(c),d=Me(l);t.modifiersData[i]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},Se=ne({defaultModifiers:[ae,re,le,ue]}),Ee=[ae,re,le,ue,de,_e,ve,Ae,ke],Te=ne({defaultModifiers:Ee});e.applyStyles=ue,e.arrow=Ae,e.computeStyles=le,e.createPopper=Te,e.createPopperLite=Se,e.defaultModifiers=Ee,e.detectOverflow=Z,e.eventListeners=ae,e.flip=_e,e.hide=ke,e.offset=de,e.popperGenerator=ne,e.popperOffsets=re,e.preventOverflow=ve,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t(e.Popper)}(this,function(e){"use strict";function t(e){if(e&&e.__esModule)return e;const t=Object.create(null);if(e)for(const i in e)if("default"!==i){const n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:()=>e[i]})}return t.default=e,Object.freeze(t)}const i=t(e),n=e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e},s=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let i=e.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),t=i&&"#"!==i?i.trim():null}return t},a=e=>{const t=s(e);return t&&document.querySelector(t)?t:null},r=e=>{const t=s(e);return t?document.querySelector(t):null},o=e=>{e.dispatchEvent(new Event("transitionend"))},c=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),l=e=>c(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,u=(e,t,i)=>{Object.keys(i).forEach(n=>{const s=i[n],a=t[n],r=a&&c(a)?"element":(e=>null==e?`${e}`:{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase())(a);if(!new RegExp(s).test(r))throw new TypeError(`${e.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${s}".`)})},d=e=>!(!c(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),h=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),f=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?f(e.parentNode):null},p=()=>{},m=e=>{e.offsetHeight},g=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},_=[],y=()=>"rtl"===document.documentElement.dir,v=e=>{(e=>{"loading"===document.readyState?(_.length||document.addEventListener("DOMContentLoaded",()=>{_.forEach(e=>e())}),_.push(e)):e()})(()=>{const t=g();if(t){const i=e.NAME,n=t.fn[i];t.fn[i]=e.jQueryInterface,t.fn[i].Constructor=e,t.fn[i].noConflict=(()=>(t.fn[i]=n,e.jQueryInterface))}})},b=e=>{"function"==typeof e&&e()},A=(e,t,i=!0)=>{if(!i)return void b(e);const n=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const n=Number.parseFloat(t),s=Number.parseFloat(i);return n||s?(t=t.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(i))):0})(t)+5;let s=!1;const a=({target:i})=>{i===t&&(s=!0,t.removeEventListener("transitionend",a),b(e))};t.addEventListener("transitionend",a),setTimeout(()=>{s||o(t)},n)},w=(e,t,i,n)=>{let s=e.indexOf(t);if(-1===s)return e[!i&&n?e.length-1:0];const a=e.length;return s+=i?1:-1,n&&(s=(s+a)%a),e[Math.max(0,Math.min(s,a-1))]},M=/[^.]*(?=\..*)\.|.*/,k=/\..*/,S=/::\d+$/,E={};let T=1;const D={mouseenter:"mouseover",mouseleave:"mouseout"},x=/^(mouseenter|mouseleave)/i,L=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function C(e,t){return t&&`${t}::${T++}`||e.uidEvent||T++}function O(e){const t=C(e);return e.uidEvent=t,E[t]=E[t]||{},E[t]}function P(e,t,i=null){const n=Object.keys(e);for(let s=0,a=n.length;s<a;s++){const a=e[n[s]];if(a.originalHandler===t&&a.delegationSelector===i)return a}return null}function Y(e,t,i){const n="string"==typeof t,s=n?i:t;let a=j(e);return L.has(a)||(a=e),[n,s,a]}function N(e,t,i,n,s){if("string"!=typeof t||!e)return;if(i||(i=n,n=null),x.test(t)){const e=e=>(function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)});n?n=e(n):i=e(i)}const[a,r,o]=Y(t,i,n),c=O(e),l=c[o]||(c[o]={}),u=P(l,r,a?i:null);if(u)return void(u.oneOff=u.oneOff&&s);const d=C(r,t.replace(M,"")),h=a?function(e,t,i){return function n(s){const a=e.querySelectorAll(t);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(let o=a.length;o--;)if(a[o]===r)return s.delegateTarget=r,n.oneOff&&H.off(e,s.type,t,i),i.apply(r,[s]);return null}}(e,i,n):function(e,t){return function i(n){return n.delegateTarget=e,i.oneOff&&H.off(e,n.type,t),t.apply(e,[n])}}(e,i);h.delegationSelector=a?i:null,h.originalHandler=r,h.oneOff=s,h.uidEvent=d,l[d]=h,e.addEventListener(o,h,a)}function z(e,t,i,n,s){const a=P(t[i],n,s);a&&(e.removeEventListener(i,a,Boolean(s)),delete t[i][a.uidEvent])}function j(e){return e=e.replace(k,""),D[e]||e}const H={on(e,t,i,n){N(e,t,i,n,!1)},one(e,t,i,n){N(e,t,i,n,!0)},off(e,t,i,n){if("string"!=typeof t||!e)return;const[s,a,r]=Y(t,i,n),o=r!==t,c=O(e),l=t.startsWith(".");if(void 0!==a){if(!c||!c[r])return;return void z(e,c,r,a,s?i:null)}l&&Object.keys(c).forEach(i=>{!function(e,t,i,n){const s=t[i]||{};Object.keys(s).forEach(a=>{if(a.includes(n)){const n=s[a];z(e,t,i,n.originalHandler,n.delegationSelector)}})}(e,c,i,t.slice(1))});const u=c[r]||{};Object.keys(u).forEach(i=>{const n=i.replace(S,"");if(!o||t.includes(n)){const t=u[i];z(e,c,r,t.originalHandler,t.delegationSelector)}})},trigger(e,t,i){if("string"!=typeof t||!e)return null;const n=g(),s=j(t),a=t!==s,r=L.has(s);let o,c=!0,l=!0,u=!1,d=null;return a&&n&&(o=n.Event(t,i),n(e).trigger(o),c=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),u=o.isDefaultPrevented()),r?(d=document.createEvent("HTMLEvents")).initEvent(s,c,!0):d=new CustomEvent(t,{bubbles:c,cancelable:!0}),void 0!==i&&Object.keys(i).forEach(e=>{Object.defineProperty(d,e,{get:()=>i[e]})}),u&&d.preventDefault(),l&&e.dispatchEvent(d),d.defaultPrevented&&void 0!==o&&o.preventDefault(),d}},I=new Map,R={set(e,t,i){I.has(e)||I.set(e,new Map);const n=I.get(e);n.has(t)||0===n.size?n.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(e,t)=>I.has(e)&&I.get(e).get(t)||null,remove(e,t){if(!I.has(e))return;const i=I.get(e);i.delete(t),0===i.size&&I.delete(e)}},W="5.1.3";class q{constructor(e){(e=l(e))&&(this._element=e,R.set(this._element,this.constructor.DATA_KEY,this))}dispose(){R.remove(this._element,this.constructor.DATA_KEY),H.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(e=>{this[e]=null})}_queueCallback(e,t,i=!0){A(e,t,i)}static getInstance(e){return R.get(l(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return W}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const B=(e,t="hide")=>{const i=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;H.on(document,i,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),h(this))return;const s=r(this)||this.closest(`.${n}`);e.getOrCreateInstance(s)[t]()})},U="alert",F="close.bs.alert",V="closed.bs.alert",$="fade",G="show";class K extends q{static get NAME(){return U}close(){if(H.trigger(this._element,F).defaultPrevented)return;this._element.classList.remove(G);const e=this._element.classList.contains($);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),H.trigger(this._element,V),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=K.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}B(K,"close"),v(K);const X="button",J="active";class Z extends q{static get NAME(){return X}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(J))}static jQueryInterface(e){return this.each(function(){const t=Z.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}function Q(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function ee(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}H.on(document,"click.bs.button.data-api",'[data-bs-toggle="button"]',e=>{e.preventDefault();const t=e.target.closest('[data-bs-toggle="button"]');Z.getOrCreateInstance(t).toggle()}),v(Z);const te={setDataAttribute(e,t,i){e.setAttribute(`data-bs-${ee(t)}`,i)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${ee(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter(e=>e.startsWith("bs")).forEach(i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=Q(e.dataset[i])}),t},getDataAttribute:(e,t)=>Q(e.getAttribute(`data-bs-${ee(t)}`)),offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},ie={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){const i=[];let n=e.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(t)&&i.push(n),n=n.parentNode;return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(", ");return this.find(t,e).filter(e=>!h(e)&&d(e))}},ne="carousel",se=500,ae=40,re={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},oe={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},ce="next",le="prev",ue="left",de="right",he={ArrowLeft:de,ArrowRight:ue},fe="slide.bs.carousel",pe="slid.bs.carousel",me="keydown.bs.carousel",ge="mouseenter.bs.carousel",_e="mouseleave.bs.carousel",ye="touchstart.bs.carousel",ve="touchmove.bs.carousel",be="touchend.bs.carousel",Ae="pointerdown.bs.carousel",we="pointerup.bs.carousel",Me="dragstart.bs.carousel",ke="carousel",Se="active",Ee="slide",Te="carousel-item-end",De="carousel-item-start",xe="carousel-item-next",Le="carousel-item-prev",Ce="pointer-event",Oe=".active",Pe=".active.carousel-item",Ye=".carousel-item",Ne=".carousel-item img",ze=".carousel-item-next, .carousel-item-prev",je=".carousel-indicators",He="[data-bs-target]",Ie="touch",Re="pen";class We extends q{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=ie.findOne(je,this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return re}static get NAME(){return ne}next(){this._slide(ce)}nextWhenVisible(){!document.hidden&&d(this._element)&&this.next()}prev(){this._slide(le)}pause(e){e||(this._isPaused=!0),ie.findOne(ze,this._element)&&(o(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=ie.findOne(Pe,this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void H.one(this._element,pe,()=>this.to(e));if(t===e)return this.pause(),void this.cycle();const i=e>t?ce:le;this._slide(i,this._items[e])}_getConfig(e){return e={...re,...te.getDataAttributes(this._element),..."object"==typeof e?e:{}},u(ne,e,oe),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=ae)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?de:ue)}_addEventListeners(){this._config.keyboard&&H.on(this._element,me,e=>this._keydown(e)),"hover"===this._config.pause&&(H.on(this._element,ge,e=>this.pause(e)),H.on(this._element,_e,e=>this.cycle(e))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=e=>this._pointerEvent&&(e.pointerType===Re||e.pointerType===Ie),t=t=>{e(t)?this.touchStartX=t.clientX:this._pointerEvent||(this.touchStartX=t.touches[0].clientX)},i=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},n=t=>{e(t)&&(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(e=>this.cycle(e),se+this._config.interval))};ie.find(Ne,this._element).forEach(e=>{H.on(e,Me,e=>e.preventDefault())}),this._pointerEvent?(H.on(this._element,Ae,e=>t(e)),H.on(this._element,we,e=>n(e)),this._element.classList.add(Ce)):(H.on(this._element,ye,e=>t(e)),H.on(this._element,ve,e=>i(e)),H.on(this._element,be,e=>n(e)))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=he[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?ie.find(Ye,e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const i=e===ce;return w(this._items,t,i,this._config.wrap)}_triggerSlideEvent(e,t){const i=this._getItemIndex(e),n=this._getItemIndex(ie.findOne(Pe,this._element));return H.trigger(this._element,fe,{relatedTarget:e,direction:t,from:n,to:i})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=ie.findOne(Oe,this._indicatorsElement);t.classList.remove(Se),t.removeAttribute("aria-current");const i=ie.find(He,this._indicatorsElement);for(let t=0;t<i.length;t++)if(Number.parseInt(i[t].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){i[t].classList.add(Se),i[t].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||ie.findOne(Pe,this._element);if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(e,t){const i=this._directionToOrder(e),n=ie.findOne(Pe,this._element),s=this._getItemIndex(n),a=t||this._getItemByOrder(i,n),r=this._getItemIndex(a),o=Boolean(this._interval),c=i===ce,l=c?De:Te,u=c?xe:Le,d=this._orderToDirection(i);if(a&&a.classList.contains(Se))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(a,d).defaultPrevented)return;if(!n||!a)return;this._isSliding=!0,o&&this.pause(),this._setActiveIndicatorElement(a),this._activeElement=a;const h=()=>{H.trigger(this._element,pe,{relatedTarget:a,direction:d,from:s,to:r})};if(this._element.classList.contains(Ee)){a.classList.add(u),m(a),n.classList.add(l),a.classList.add(l);const e=()=>{a.classList.remove(l,u),a.classList.add(Se),n.classList.remove(Se,u,l),this._isSliding=!1,setTimeout(h,0)};this._queueCallback(e,n,!0)}else n.classList.remove(Se),a.classList.add(Se),this._isSliding=!1,h();o&&this.cycle()}_directionToOrder(e){return[de,ue].includes(e)?y()?e===ue?le:ce:e===ue?ce:le:e}_orderToDirection(e){return[ce,le].includes(e)?y()?e===le?ue:de:e===le?de:ue:e}static carouselInterface(e,t){const i=We.getOrCreateInstance(e,t);let{_config:n}=i;"object"==typeof t&&(n={...n,...t});const s="string"==typeof t?t:n.slide;if("number"==typeof t)i.to(t);else if("string"==typeof s){if(void 0===i[s])throw new TypeError(`No method named "${s}"`);i[s]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(e){return this.each(function(){We.carouselInterface(this,e)})}static dataApiClickHandler(e){const t=r(this);if(!t||!t.classList.contains(ke))return;const i={...te.getDataAttributes(t),...te.getDataAttributes(this)},n=this.getAttribute("data-bs-slide-to");n&&(i.interval=!1),We.carouselInterface(t,i),n&&We.getInstance(t).to(n),e.preventDefault()}}H.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",We.dataApiClickHandler),H.on(window,"load.bs.carousel.data-api",()=>{const e=ie.find('[data-bs-ride="carousel"]');for(let t=0,i=e.length;t<i;t++)We.carouselInterface(e[t],We.getInstance(e[t]))}),v(We);const qe="collapse",Be="bs.collapse",Ue=`.${Be}`,Fe={toggle:!0,parent:null},Ve={toggle:"boolean",parent:"(null|element)"},$e=`show${Ue}`,Ge=`shown${Ue}`,Ke=`hide${Ue}`,Xe=`hidden${Ue}`,Je=`click${Ue}.data-api`,Ze="show",Qe="collapse",et="collapsing",tt="collapsed",it=`:scope .${Qe} .${Qe}`,nt="collapse-horizontal",st="width",at="height",rt=".collapse.show, .collapse.collapsing",ot='[data-bs-toggle="collapse"]';class ct extends q{constructor(e,t){super(e),this._isTransitioning=!1,this._config=this._getConfig(t),this._triggerArray=[];const i=ie.find(ot);for(let e=0,t=i.length;e<t;e++){const t=i[e],n=a(t),s=ie.find(n).filter(e=>e===this._element);null!==n&&s.length&&(this._selector=n,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Fe}static get NAME(){return qe}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=ie.find(it,this._config.parent);t=ie.find(rt,this._config.parent).filter(t=>!e.includes(t))}const i=ie.findOne(this._selector);if(t.length){const n=t.find(e=>i!==e);if((e=n?ct.getInstance(n):null)&&e._isTransitioning)return}if(H.trigger(this._element,$e).defaultPrevented)return;t.forEach(t=>{i!==t&&ct.getOrCreateInstance(t,{toggle:!1}).hide(),e||R.set(t,Be,null)});const n=this._getDimension();this._element.classList.remove(Qe),this._element.classList.add(et),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(et),this._element.classList.add(Qe,Ze),this._element.style[n]="",H.trigger(this._element,Ge)},this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(H.trigger(this._element,Ke).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,m(this._element),this._element.classList.add(et),this._element.classList.remove(Qe,Ze);const t=this._triggerArray.length;for(let e=0;e<t;e++){const t=this._triggerArray[e],i=r(t);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(et),this._element.classList.add(Qe),H.trigger(this._element,Xe)},this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ze)}_getConfig(e){return(e={...Fe,...te.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=l(e.parent),u(qe,e,Ve),e}_getDimension(){return this._element.classList.contains(nt)?st:at}_initializeChildren(){if(!this._config.parent)return;const e=ie.find(it,this._config.parent);ie.find(ot,this._config.parent).filter(t=>!e.includes(t)).forEach(e=>{const t=r(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))})}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach(e=>{t?e.classList.remove(tt):e.classList.add(tt),e.setAttribute("aria-expanded",t)})}static jQueryInterface(e){return this.each(function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const i=ct.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}})}}H.on(document,Je,ot,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=a(this);ie.find(t).forEach(e=>{ct.getOrCreateInstance(e,{toggle:!1}).toggle()})}),v(ct);const lt="dropdown",ut="Escape",dt="Space",ht="Tab",ft="ArrowUp",pt="ArrowDown",mt=2,gt=new RegExp(`${ft}|${pt}|${ut}`),_t="hide.bs.dropdown",yt="hidden.bs.dropdown",vt="show.bs.dropdown",bt="shown.bs.dropdown",At="show",wt="dropup",Mt="dropend",kt="dropstart",St="navbar",Et='[data-bs-toggle="dropdown"]',Tt=".dropdown-menu",Dt=".navbar-nav",xt=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Lt=y()?"top-end":"top-start",Ct=y()?"top-start":"top-end",Ot=y()?"bottom-end":"bottom-start",Pt=y()?"bottom-start":"bottom-end",Yt=y()?"left-start":"right-start",Nt=y()?"right-start":"left-start",zt={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},jt={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class Ht extends q{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return zt}static get DefaultType(){return jt}static get NAME(){return lt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(h(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(H.trigger(this._element,vt,e).defaultPrevented)return;const t=Ht.getParentFromElement(this._element);this._inNavbar?te.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(Dt)&&[].concat(...document.body.children).forEach(e=>H.on(e,"mouseover",p)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(At),this._element.classList.add(At),H.trigger(this._element,bt,e)}hide(){if(h(this._element)||!this._isShown(this._menu))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){H.trigger(this._element,_t,e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>H.off(e,"mouseover",p)),this._popper&&this._popper.destroy(),this._menu.classList.remove(At),this._element.classList.remove(At),this._element.setAttribute("aria-expanded","false"),te.removeDataAttribute(this._menu,"popper"),H.trigger(this._element,yt,e))}_getConfig(e){if(e={...this.constructor.Default,...te.getDataAttributes(this._element),...e},u(lt,e,this.constructor.DefaultType),"object"==typeof e.reference&&!c(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${lt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(e){if(void 0===i)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:c(this._config.reference)?t=l(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const n=this._getPopperConfig(),s=n.modifiers.find(e=>"applyStyles"===e.name&&!1===e.enabled);this._popper=i.createPopper(t,this._menu,n),s&&te.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(At)}_getMenuElement(){return ie.next(this._element,Tt)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains(Mt))return Yt;if(e.classList.contains(kt))return Nt;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains(wt)?t?Ct:Lt:t?Pt:Ot}_detectNavbar(){return null!==this._element.closest(`.${St}`)}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const i=ie.find(xt,this._menu).filter(d);i.length&&w(i,t,e===pt,!i.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Ht.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e&&(e.button===mt||"keyup"===e.type&&e.key!==ht))return;const t=ie.find(Et);for(let i=0,n=t.length;i<n;i++){const n=Ht.getInstance(t[i]);if(!n||!1===n._config.autoClose)continue;if(!n._isShown())continue;const s={relatedTarget:n._element};if(e){const t=e.composedPath(),i=t.includes(n._menu);if(t.includes(n._element)||"inside"===n._config.autoClose&&!i||"outside"===n._config.autoClose&&i)continue;if(n._menu.contains(e.target)&&("keyup"===e.type&&e.key===ht||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(s.clickEvent=e)}n._completeHide(s)}}static getParentFromElement(e){return r(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?e.key===dt||e.key!==ut&&(e.key!==pt&&e.key!==ft||e.target.closest(Tt)):!gt.test(e.key))return;const t=this.classList.contains(At);if(!t&&e.key===ut)return;if(e.preventDefault(),e.stopPropagation(),h(this))return;const i=this.matches(Et)?this:ie.prev(this,Et)[0],n=Ht.getOrCreateInstance(i);if(e.key!==ut)return e.key===ft||e.key===pt?(t||n.show(),void n._selectMenuItem(e)):void(t&&e.key!==dt||Ht.clearMenus());n.hide()}}H.on(document,"keydown.bs.dropdown.data-api",Et,Ht.dataApiKeydownHandler),H.on(document,"keydown.bs.dropdown.data-api",Tt,Ht.dataApiKeydownHandler),H.on(document,"click.bs.dropdown.data-api",Ht.clearMenus),H.on(document,"keyup.bs.dropdown.data-api",Ht.clearMenus),H.on(document,"click.bs.dropdown.data-api",Et,function(e){e.preventDefault(),Ht.getOrCreateInstance(this).toggle()}),v(Ht);const It=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Rt=".sticky-top";class Wt{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",t=>t+e),this._setElementAttributes(It,"paddingRight",t=>t+e),this._setElementAttributes(Rt,"marginRight",t=>t-e)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,i){const n=this.getWidth();this._applyManipulationCallback(e,e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+n)return;this._saveInitialAttribute(e,t);const s=window.getComputedStyle(e)[t];e.style[t]=`${i(Number.parseFloat(s))}px`})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(It,"paddingRight"),this._resetElementAttributes(Rt,"marginRight")}_saveInitialAttribute(e,t){const i=e.style[t];i&&te.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,e=>{const i=te.getDataAttribute(e,t);void 0===i?e.style.removeProperty(t):(te.removeDataAttribute(e,t),e.style[t]=i)})}_applyManipulationCallback(e,t){c(e)?t(e):ie.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const qt={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},Bt={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},Ut="backdrop",Ft="fade",Vt="show",$t=`mousedown.bs.${Ut}`;class Gt{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&m(this._getElement()),this._getElement().classList.add(Vt),this._emulateAnimation(()=>{b(e)})):b(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(Vt),this._emulateAnimation(()=>{this.dispose(),b(e)})):b(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(Ft),this._element=e}return this._element}_getConfig(e){return(e={...qt,..."object"==typeof e?e:{}}).rootElement=l(e.rootElement),u(Ut,e,Bt),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),H.on(this._getElement(),$t,()=>{b(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(H.off(this._element,$t),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){A(e,this._getElement(),this._config.isAnimated)}}const Kt={trapElement:null,autofocus:!0},Xt={trapElement:"element",autofocus:"boolean"},Jt="focustrap",Zt=".bs.focustrap",Qt=`focusin${Zt}`,ei=`keydown.tab${Zt}`,ti="Tab",ii="forward",ni="backward";class si{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),H.off(document,Zt),H.on(document,Qt,e=>this._handleFocusin(e)),H.on(document,ei,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,H.off(document,Zt))}_handleFocusin(e){const{target:t}=e,{trapElement:i}=this._config;if(t===document||t===i||i.contains(t))return;const n=ie.focusableChildren(i);0===n.length?i.focus():this._lastTabNavDirection===ni?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){e.key===ti&&(this._lastTabNavDirection=e.shiftKey?ni:ii)}_getConfig(e){return e={...Kt,..."object"==typeof e?e:{}},u(Jt,e,Xt),e}}const ai="modal",ri=".bs.modal",oi="Escape",ci={backdrop:!0,keyboard:!0,focus:!0},li={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},ui=`hide${ri}`,di=`hidePrevented${ri}`,hi=`hidden${ri}`,fi=`show${ri}`,pi=`shown${ri}`,mi=`resize${ri}`,gi=`click.dismiss${ri}`,_i=`keydown.dismiss${ri}`,yi=`mouseup.dismiss${ri}`,vi=`mousedown.dismiss${ri}`,bi=`click${ri}.data-api`,Ai="modal-open",wi="fade",Mi="show",ki="modal-static",Si=".modal-dialog",Ei=".modal-body";class Ti extends q{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=ie.findOne(Si,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new Wt}static get Default(){return ci}static get NAME(){return ai}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;H.trigger(this._element,fi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Ai),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),H.on(this._dialog,vi,()=>{H.one(this._element,yi,e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(e)))}hide(){if(!this._isShown||this._isTransitioning)return;if(H.trigger(this._element,ui).defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(Mi),H.off(this._element,gi),H.off(this._dialog,vi),this._queueCallback(()=>this._hideModal(),this._element,e)}dispose(){[window,this._dialog].forEach(e=>H.off(e,ri)),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Gt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new si({trapElement:this._element})}_getConfig(e){return e={...ci,...te.getDataAttributes(this._element),..."object"==typeof e?e:{}},u(ai,e,li),e}_showElement(e){const t=this._isAnimated(),i=ie.findOne(Ei,this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),t&&m(this._element),this._element.classList.add(Mi);this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,H.trigger(this._element,pi,{relatedTarget:e})},this._dialog,t)}_setEscapeEvent(){this._isShown?H.on(this._element,_i,e=>{this._config.keyboard&&e.key===oi?(e.preventDefault(),this.hide()):this._config.keyboard||e.key!==oi||this._triggerBackdropTransition()}):H.off(this._element,_i)}_setResizeEvent(){this._isShown?H.on(window,mi,()=>this._adjustDialog()):H.off(window,mi)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Ai),this._resetAdjustments(),this._scrollBar.reset(),H.trigger(this._element,hi)})}_showBackdrop(e){H.on(this._element,gi,e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains(wi)}_triggerBackdropTransition(){if(H.trigger(this._element,di).defaultPrevented)return;const{classList:e,scrollHeight:t,style:i}=this._element,n=t>document.documentElement.clientHeight;!n&&"hidden"===i.overflowY||e.contains(ki)||(n||(i.overflowY="hidden"),e.add(ki),this._queueCallback(()=>{e.remove(ki),n||this._queueCallback(()=>{i.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=t>0;(!i&&e&&!y()||i&&!e&&y())&&(this._element.style.paddingLeft=`${t}px`),(i&&!e&&!y()||!i&&e&&y())&&(this._element.style.paddingRight=`${t}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const i=Ti.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](t)}})}}H.on(document,bi,'[data-bs-toggle="modal"]',function(e){const t=r(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),H.one(t,fi,e=>{e.defaultPrevented||H.one(t,hi,()=>{d(this)&&this.focus()})});const i=ie.findOne(".modal.show");i&&Ti.getInstance(i).hide(),Ti.getOrCreateInstance(t).toggle(this)}),B(Ti),v(Ti);const Di="offcanvas",xi="Escape",Li={backdrop:!0,keyboard:!0,scroll:!1},Ci={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Oi="show",Pi="offcanvas-backdrop",Yi="show.bs.offcanvas",Ni="shown.bs.offcanvas",zi="hide.bs.offcanvas",ji="hidden.bs.offcanvas",Hi="keydown.dismiss.bs.offcanvas";class Ii extends q{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return Di}static get Default(){return Li}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(H.trigger(this._element,Yi,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new Wt).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Oi);this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),H.trigger(this._element,Ni,{relatedTarget:e})},this._element,!0)}hide(){if(!this._isShown)return;if(H.trigger(this._element,zi).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(Oi),this._backdrop.hide();this._queueCallback(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new Wt).reset(),H.trigger(this._element,ji)},this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...Li,...te.getDataAttributes(this._element),..."object"==typeof e?e:{}},u(Di,e,Ci),e}_initializeBackDrop(){return new Gt({className:Pi,isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new si({trapElement:this._element})}_addEventListeners(){H.on(this._element,Hi,e=>{this._config.keyboard&&e.key===xi&&this.hide()})}static jQueryInterface(e){return this.each(function(){const t=Ii.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}H.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){const t=r(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),h(this))return;H.one(t,ji,()=>{d(this)&&this.focus()});const i=ie.findOne(".offcanvas.show");i&&i!==t&&Ii.getInstance(i).hide(),Ii.getOrCreateInstance(t).toggle(this)}),H.on(window,"load.bs.offcanvas.data-api",()=>ie.find(".offcanvas.show").forEach(e=>Ii.getOrCreateInstance(e).show())),B(Ii),v(Ii);const Ri=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Wi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,qi=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Bi=(e,t)=>{const i=e.nodeName.toLowerCase();if(t.includes(i))return!Ri.has(i)||Boolean(Wi.test(e.nodeValue)||qi.test(e.nodeValue));const n=t.filter(e=>e instanceof RegExp);for(let e=0,t=n.length;e<t;e++)if(n[e].test(i))return!0;return!1},Ui={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function Fi(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);const n=(new window.DOMParser).parseFromString(e,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(let e=0,i=s.length;e<i;e++){const i=s[e],n=i.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){i.remove();continue}const a=[].concat(...i.attributes),r=[].concat(t["*"]||[],t[n]||[]);a.forEach(e=>{Bi(e,r)||i.removeAttribute(e.nodeName)})}return n.body.innerHTML}const Vi="tooltip",$i="bs-tooltip",Gi=new Set(["sanitize","allowList","sanitizeFn"]),Ki={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Xi={AUTO:"auto",TOP:"top",RIGHT:y()?"left":"right",BOTTOM:"bottom",LEFT:y()?"right":"left"},Ji={animation:!0,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,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:Ui,popperConfig:null},Zi={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Qi="fade",en="show",tn="show",nn="out",sn=".tooltip-inner",an=".modal",rn="hide.bs.modal",on="hover",cn="focus",ln="click",un="manual";class dn extends q{constructor(e,t){if(void 0===i)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return Ji}static get NAME(){return Vi}static get Event(){return Zi}static get DefaultType(){return Ki}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(en))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),H.off(this._element.closest(an),rn,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const e=H.trigger(this._element,this.constructor.Event.SHOW),t=f(this._element),s=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!s)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(sn).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const a=this.getTipElement(),r=n(this.constructor.NAME);a.setAttribute("id",r),this._element.setAttribute("aria-describedby",r),this._config.animation&&a.classList.add(Qi);const o="function"==typeof this._config.placement?this._config.placement.call(this,a,this._element):this._config.placement,c=this._getAttachment(o);this._addAttachmentClass(c);const{container:l}=this._config;R.set(a,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(l.append(a),H.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=i.createPopper(this._element,a,this._getPopperConfig(c)),a.classList.add(en);const u=this._resolvePossibleFunction(this._config.customClass);u&&a.classList.add(...u.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>{H.on(e,"mouseover",p)});const d=this.tip.classList.contains(Qi);this._queueCallback(()=>{const e=this._hoverState;this._hoverState=null,H.trigger(this._element,this.constructor.Event.SHOWN),e===nn&&this._leave(null,this)},this.tip,d)}hide(){if(!this._popper)return;const e=this.getTipElement();if(H.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(en),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>H.off(e,"mouseover",p)),this._activeTrigger[ln]=!1,this._activeTrigger[cn]=!1,this._activeTrigger[on]=!1;const t=this.tip.classList.contains(Qi);this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==tn&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),H.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())},this.tip,t),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");e.innerHTML=this._config.template;const t=e.children[0];return this.setContent(t),t.classList.remove(Qi,en),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),sn)}_sanitizeAndSetContent(e,t,i){const n=ie.findOne(i,e);t||!n?this.setElementContent(n,t):n.remove()}setElementContent(e,t){if(null!==e)return c(t)?(t=l(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=Fi(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return Xi[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(e=>{if("click"===e)H.on(this._element,this.constructor.Event.CLICK,this._config.selector,e=>this.toggle(e));else if(e!==un){const t=e===on?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=e===on?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;H.on(this._element,t,this._config.selector,e=>this._enter(e)),H.on(this._element,i,this._config.selector,e=>this._leave(e))}}),this._hideModalHandler=(()=>{this._element&&this.hide()}),H.on(this._element.closest(an),rn,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?cn:on]=!0),t.getTipElement().classList.contains(en)||t._hoverState===tn?t._hoverState=tn:(clearTimeout(t._timeout),t._hoverState=tn,t._config.delay&&t._config.delay.show?t._timeout=setTimeout(()=>{t._hoverState===tn&&t.show()},t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?cn:on]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=nn,t._config.delay&&t._config.delay.hide?t._timeout=setTimeout(()=>{t._hoverState===nn&&t.hide()},t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=te.getDataAttributes(this._element);return Object.keys(t).forEach(e=>{Gi.has(e)&&delete t[e]}),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:l(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),u(Vi,e,this.constructor.DefaultType),e.sanitize&&(e.template=Fi(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=e.getAttribute("class").match(t);null!==i&&i.length>0&&i.map(e=>e.trim()).forEach(t=>e.classList.remove(t))}_getBasicClassPrefix(){return $i}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each(function(){const t=dn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}v(dn);const hn="popover",fn="bs-popover",pn={...dn.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},mn={...dn.DefaultType,content:"(string|element|function)"},gn={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},_n=".popover-header",yn=".popover-body";class vn extends dn{static get Default(){return pn}static get NAME(){return hn}static get Event(){return gn}static get DefaultType(){return mn}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),_n),this._sanitizeAndSetContent(e,this._getContent(),yn)}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return fn}static jQueryInterface(e){return this.each(function(){const t=vn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}v(vn);const bn="scrollspy",An=".bs.scrollspy",wn={offset:10,method:"auto",target:""},Mn={offset:"number",method:"string",target:"(string|element)"},kn=`activate${An}`,Sn=`scroll${An}`,En=`load${An}.data-api`,Tn="dropdown-item",Dn="active",xn=".nav, .list-group",Ln=".nav-link",Cn=".nav-item",On=".list-group-item",Pn=`${Ln}, ${On}, .${Tn}`,Yn=".dropdown",Nn=".dropdown-toggle",zn="offset",jn="position";class Hn extends q{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,H.on(this._scrollElement,Sn,()=>this._process()),this.refresh(),this._process()}static get Default(){return wn}static get NAME(){return bn}refresh(){const e=this._scrollElement===this._scrollElement.window?zn:jn,t="auto"===this._config.method?e:this._config.method,i=t===jn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),ie.find(Pn,this._config.target).map(e=>{const n=a(e),s=n?ie.findOne(n):null;if(s){const e=s.getBoundingClientRect();if(e.width||e.height)return[te[t](s).top+i,n]}return null}).filter(e=>e).sort((e,t)=>e[0]-t[0]).forEach(e=>{this._offsets.push(e[0]),this._targets.push(e[1])})}dispose(){H.off(this._scrollElement,An),super.dispose()}_getConfig(e){return(e={...wn,...te.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=l(e.target)||document.documentElement,u(bn,e,Mn),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),i=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=i){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;){this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e<this._offsets[t+1])&&this._activate(this._targets[t])}}}_activate(e){this._activeTarget=e,this._clear();const t=Pn.split(",").map(t=>`${t}[data-bs-target="${e}"],${t}[href="${e}"]`),i=ie.findOne(t.join(","),this._config.target);i.classList.add(Dn),i.classList.contains(Tn)?ie.findOne(Nn,i.closest(Yn)).classList.add(Dn):ie.parents(i,xn).forEach(e=>{ie.prev(e,`${Ln}, ${On}`).forEach(e=>e.classList.add(Dn)),ie.prev(e,Cn).forEach(e=>{ie.children(e,Ln).forEach(e=>e.classList.add(Dn))})}),H.trigger(this._scrollElement,kn,{relatedTarget:e})}_clear(){ie.find(Pn,this._config.target).filter(e=>e.classList.contains(Dn)).forEach(e=>e.classList.remove(Dn))}static jQueryInterface(e){return this.each(function(){const t=Hn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}H.on(window,En,()=>{ie.find('[data-bs-spy="scroll"]').forEach(e=>new Hn(e))}),v(Hn);const In="tab",Rn="hide.bs.tab",Wn="hidden.bs.tab",qn="show.bs.tab",Bn="shown.bs.tab",Un="dropdown-menu",Fn="active",Vn="fade",$n="show",Gn=".dropdown",Kn=".nav, .list-group",Xn=".active",Jn=":scope > li > .active",Zn=".dropdown-toggle",Qn=":scope > .dropdown-menu .active";class es extends q{static get NAME(){return In}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Fn))return;let e;const t=r(this._element),i=this._element.closest(Kn);if(i){const t="UL"===i.nodeName||"OL"===i.nodeName?Jn:Xn;e=(e=ie.find(t,i))[e.length-1]}const n=e?H.trigger(e,Rn,{relatedTarget:this._element}):null;if(H.trigger(this._element,qn,{relatedTarget:e}).defaultPrevented||null!==n&&n.defaultPrevented)return;this._activate(this._element,i);const s=()=>{H.trigger(e,Wn,{relatedTarget:this._element}),H.trigger(this._element,Bn,{relatedTarget:e})};t?this._activate(t,t.parentNode,s):s()}_activate(e,t,i){const n=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?ie.children(t,Xn):ie.find(Jn,t))[0],s=i&&n&&n.classList.contains(Vn),a=()=>this._transitionComplete(e,n,i);n&&s?(n.classList.remove($n),this._queueCallback(a,e,!0)):a()}_transitionComplete(e,t,i){if(t){t.classList.remove(Fn);const e=ie.findOne(Qn,t.parentNode);e&&e.classList.remove(Fn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(Fn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),m(e),e.classList.contains(Vn)&&e.classList.add($n);let n=e.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains(Un)){const t=e.closest(Gn);t&&ie.find(Zn,t).forEach(e=>e.classList.add(Fn)),e.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(e){return this.each(function(){const t=es.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}H.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),h(this))return;es.getOrCreateInstance(this).show()}),v(es);const ts="toast",is="mouseover.bs.toast",ns="mouseout.bs.toast",ss="focusin.bs.toast",as="focusout.bs.toast",rs="hide.bs.toast",os="hidden.bs.toast",cs="show.bs.toast",ls="shown.bs.toast",us="fade",ds="hide",hs="show",fs="showing",ps={animation:"boolean",autohide:"boolean",delay:"number"},ms={animation:!0,autohide:!0,delay:5e3};class gs extends q{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return ps}static get Default(){return ms}static get NAME(){return ts}show(){if(H.trigger(this._element,cs).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(us);this._element.classList.remove(ds),m(this._element),this._element.classList.add(hs),this._element.classList.add(fs),this._queueCallback(()=>{this._element.classList.remove(fs),H.trigger(this._element,ls),this._maybeScheduleHide()},this._element,this._config.animation)}hide(){if(!this._element.classList.contains(hs))return;if(H.trigger(this._element,rs).defaultPrevented)return;this._element.classList.add(fs),this._queueCallback(()=>{this._element.classList.add(ds),this._element.classList.remove(fs),this._element.classList.remove(hs),H.trigger(this._element,os)},this._element,this._config.animation)}dispose(){this._clearTimeout(),this._element.classList.contains(hs)&&this._element.classList.remove(hs),super.dispose()}_getConfig(e){return e={...ms,...te.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},u(ts,e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){H.on(this._element,is,e=>this._onInteraction(e,!0)),H.on(this._element,ns,e=>this._onInteraction(e,!1)),H.on(this._element,ss,e=>this._onInteraction(e,!0)),H.on(this._element,as,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=gs.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return B(gs),v(gs),{Alert:K,Button:Z,Carousel:We,Collapse:ct,Dropdown:Ht,Modal:Ti,Offcanvas:Ii,Popover:vn,ScrollSpy:Hn,Tab:es,Toast:gs,Tooltip:dn}}),function(e,t){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("jquery")):e.jQueryBridget=t(e,e.jQuery)}(window,function(e,t){"use strict";var i=Array.prototype.slice,n=e.console,s=void 0===n?function(){}:function(e){n.error(e)};function a(n,a,o){(o=o||t||e.jQuery)&&(a.prototype.option||(a.prototype.option=function(e){o.isPlainObject(e)&&(this.options=o.extend(!0,this.options,e))}),o.fn[n]=function(e){var t;return"string"==typeof e?function(e,t,i){var a,r="$()."+n+'("'+t+'")';return e.each(function(e,c){var l=o.data(c,n);if(l){var u=l[t];if(u&&"_"!=t.charAt(0)){var d=u.apply(l,i);a=void 0===a?d:a}else s(r+" is not a valid method")}else s(n+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==a?a:e}(this,e,i.call(arguments,1)):(t=e,this.each(function(e,i){var s=o.data(i,n);s?(s.option(t),s._init()):(s=new a(i,t),o.data(i,n,s))}),this)},r(o))}function r(e){!e||e&&e.bridget||(e.bridget=a)}return r(t||e.jQuery),a}),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return-1==n.indexOf(t)&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return-1!=n&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],s=0;s<i.length;s++){var a=i[s];n&&n[a]&&(this.off(e,a),delete n[a]),a.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(e,t){"function"==typeof define&&define.amd?define("get-size/get-size",t):"object"==typeof module&&module.exports?module.exports=t():e.getSize=t()}(window,function(){"use strict";function e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}var t="undefined"==typeof console?function(){}:function(e){console.error(e)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],n=i.length;function s(e){var i=getComputedStyle(e);return i||t("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),i}var a,r=!1;function o(t){if(function(){if(!r){r=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(t);var n=s(t);a=200==Math.round(e(n.width)),o.isBoxSizeOuter=a,i.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var c=s(t);if("none"==c.display)return function(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<n;t++)e[i[t]]=0;return e}();var l={};l.width=t.offsetWidth,l.height=t.offsetHeight;for(var u=l.isBorderBox="border-box"==c.boxSizing,d=0;d<n;d++){var h=i[d],f=c[h],p=parseFloat(f);l[h]=isNaN(p)?0:p}var m=l.paddingLeft+l.paddingRight,g=l.paddingTop+l.paddingBottom,_=l.marginLeft+l.marginRight,y=l.marginTop+l.marginBottom,v=l.borderLeftWidth+l.borderRightWidth,b=l.borderTopWidth+l.borderBottomWidth,A=u&&a,w=e(c.width);!1!==w&&(l.width=w+(A?0:m+v));var M=e(c.height);return!1!==M&&(l.height=M+(A?0:g+b)),l.innerWidth=l.width-(m+v),l.innerHeight=l.height-(g+b),l.outerWidth=l.width+_,l.outerHeight=l.height+y,l}}return o}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():e.matchesSelector=t()}(window,function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0;i<t.length;i++){var n=t[i]+"MatchesSelector";if(e[n])return n}}();return function(t,i){return t[e](i)}}),function(e,t){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return t(e,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("desandro-matches-selector")):e.fizzyUIUtils=t(e,e.matchesSelector)}(window,function(e,t){var i={extend:function(e,t){for(var i in t)e[i]=t[i];return e},modulo:function(e,t){return(e%t+t)%t}},n=Array.prototype.slice;i.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?n.call(e):[e]},i.removeFrom=function(e,t){var i=e.indexOf(t);-1!=i&&e.splice(i,1)},i.getParent=function(e,i){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,t(e,i))return e},i.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},i.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.filterFindElements=function(e,n){e=i.makeArray(e);var s=[];return e.forEach(function(e){if(e instanceof HTMLElement)if(n){t(e,n)&&s.push(e);for(var i=e.querySelectorAll(n),a=0;a<i.length;a++)s.push(i[a])}else s.push(e)}),s},i.debounceMethod=function(e,t,i){i=i||100;var n=e.prototype[t],s=t+"Timeout";e.prototype[t]=function(){var e=this[s];clearTimeout(e);var t=arguments,a=this;this[s]=setTimeout(function(){n.apply(a,t),delete a[s]},i)}},i.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},i.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,i){return t+"-"+i}).toLowerCase()};var s=e.console;return i.htmlInit=function(t,n){i.docReady(function(){var a=i.toDashed(n),r="data-"+a,o=document.querySelectorAll("["+r+"]"),c=document.querySelectorAll(".js-"+a),l=i.makeArray(o).concat(i.makeArray(c)),u=r+"-options",d=e.jQuery;l.forEach(function(e){var i,a=e.getAttribute(r)||e.getAttribute(u);try{i=a&&JSON.parse(a)}catch(t){return void(s&&s.error("Error parsing "+r+" on "+e.className+": "+t))}var o=new t(e,i);d&&d.data(e,n,o)})})},i}),function(e,t){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("ev-emitter"),require("get-size")):(e.Outlayer={},e.Outlayer.Item=t(e.EvEmitter,e.getSize))}(window,function(e,t){"use strict";var i=document.documentElement.style,n="string"==typeof i.transition?"transition":"WebkitTransition",s="string"==typeof i.transform?"transform":"WebkitTransform",a={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],r={transform:s,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"};function o(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}var c=o.prototype=Object.create(e.prototype);c.constructor=o,c._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},c.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},c.getSize=function(){this.size=t(this.element)},c.css=function(e){var t=this.element.style;for(var i in e){t[r[i]||i]=e[i]}},c.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=e[t?"left":"right"],s=e[i?"top":"bottom"],a=parseFloat(n),r=parseFloat(s),o=this.layout.size;-1!=n.indexOf("%")&&(a=a/100*o.width),-1!=s.indexOf("%")&&(r=r/100*o.height),a=isNaN(a)?0:a,r=isNaN(r)?0:r,a-=t?o.paddingLeft:o.paddingRight,r-=i?o.paddingTop:o.paddingBottom,this.position.x=a,this.position.y=r},c.layoutPosition=function(){var e=this.layout.size,t={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),s=i?"paddingLeft":"paddingRight",a=i?"left":"right",r=i?"right":"left",o=this.position.x+e[s];t[a]=this.getXValue(o),t[r]="";var c=n?"paddingTop":"paddingBottom",l=n?"top":"bottom",u=n?"bottom":"top",d=this.position.y+e[c];t[l]=this.getYValue(d),t[u]="",this.css(t),this.emitEvent("layout",[this])},c.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},c.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},c._transitionTo=function(e,t){this.getPosition();var i=this.position.x,n=this.position.y,s=e==this.position.x&&t==this.position.y;if(this.setPosition(e,t),!s||this.isTransitioning){var a=e-i,r=t-n,o={};o.transform=this.getTranslate(a,r),this.transition({to:o,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},c.getTranslate=function(e,t){return"translate3d("+(e=this.layout._getOption("originLeft")?e:-e)+"px, "+(t=this.layout._getOption("originTop")?t:-t)+"px, 0)"},c.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},c.moveTo=c._transitionTo,c.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},c._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},c.transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t=this._transn;for(var i in e.onTransitionEnd)t.onEnd[i]=e.onTransitionEnd[i];for(i in e.to)t.ingProperties[i]=!0,e.isCleaning&&(t.clean[i]=!0);if(e.from){this.css(e.from);this.element.offsetHeight;null}this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)};var l="opacity,"+s.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()});c.enableTransition=function(){if(!this.isTransitioning){var e=this.layout.options.transitionDuration;e="number"==typeof e?e+"ms":e,this.css({transitionProperty:l,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(a,this,!1)}},c.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},c.onotransitionend=function(e){this.ontransitionend(e)};var u={"-webkit-transform":"transform"};c.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,i=u[e.propertyName]||e.propertyName;if(delete t.ingProperties[i],function(e){for(var t in e)return!1;return!0}(t.ingProperties)&&this.disableTransition(),i in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[i]),i in t.onEnd)t.onEnd[i].call(this),delete t.onEnd[i];this.emitEvent("transitionEnd",[this])}},c.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(a,this,!1),this.isTransitioning=!1},c._removeStyles=function(e){var t={};for(var i in e)t[i]="";this.css(t)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return c.removeTransitionStyles=function(){this.css(d)},c.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},c.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},c.remove=function(){n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},c.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},c.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},c.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var i in t)return i},c.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},c.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},c.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},o}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,s,a){return t(e,i,n,s,a)}):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):e.Outlayer=t(e,e.EvEmitter,e.getSize,e.fizzyUIUtils,e.Outlayer.Item)}(window,function(e,t,i,n,s){"use strict";var a=e.console,r=e.jQuery,o=function(){},c=0,l={};function u(e,t){var i=n.getQueryElement(e);if(i){this.element=i,r&&(this.$element=r(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(t);var s=++c;this.element.outlayerGUID=s,l[s]=this,this._create(),this._getOption("initLayout")&&this.layout()}else a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||e))}u.namespace="outlayer",u.Item=s,u.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var d=u.prototype;function h(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}n.extend(d,t.prototype),d.option=function(e){n.extend(this.options,e)},d._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},u.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(e){for(var t=this._filterFindItemElements(e),i=this.constructor.Item,n=[],s=0;s<t.length;s++){var a=new i(t[s],this);n.push(a)}return n},d._filterFindItemElements=function(e){return n.filterFindElements(e,this.options.itemSelector)},d.getItemElements=function(){return this.items.map(function(e){return e.element})},d.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=i(this.element)},d._getMeasurement=function(e,t){var n,s=this.options[e];s?("string"==typeof s?n=this.element.querySelector(s):s instanceof HTMLElement&&(n=s),this[e]=n?i(n)[t]:s):this[e]=0},d.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},d._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},d._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var i=[];e.forEach(function(e){var n=this._getItemLayoutPosition(e);n.item=e,n.isInstant=t||e.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},d.updateStagger=function(){var e=this.options.stagger;if(null!=e)return this.stagger=function(e){if("number"==typeof e)return e;var t=e.match(/(^\d*\.?\d*)(\w*)/),i=t&&t[1],n=t&&t[2];if(!i.length)return 0;i=parseFloat(i);var s=f[n]||1;return i*s}(e),this.stagger;this.stagger=0},d._positionItem=function(e,t,i,n,s){n?e.goTo(t,i):(e.stagger(s*this.stagger),e.moveTo(t,i))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},d._getContainerSize=o,d._setContainerMeasure=function(e,t){if(void 0!==e){var i=this.size;i.isBorderBox&&(e+=t?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px"}},d._emitCompleteOnItems=function(e,t){var i=this;function n(){i.dispatchEvent(e+"Complete",null,[t])}var s=t.length;if(t&&s){var a=0;t.forEach(function(t){t.once(e,r)})}else n();function r(){++a==s&&n()}},d.dispatchEvent=function(e,t,i){var n=t?[t].concat(i):i;if(this.emitEvent(e,n),r)if(this.$element=this.$element||r(this.element),t){var s=r.Event(t);s.type=e,this.$element.trigger(s,i)}else this.$element.trigger(e,i)},d.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},d.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},d.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},d.unstamp=function(e){(e=this._find(e))&&e.forEach(function(e){n.removeFrom(this.stamps,e),this.unignore(e)},this)},d._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),e=n.makeArray(e)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},d._manageStamp=o,d._getElementOffset=function(e){var t=e.getBoundingClientRect(),n=this._boundingRect,s=i(e);return{left:t.left-n.left-s.marginLeft,top:t.top-n.top-s.marginTop,right:n.right-t.right-s.marginRight,bottom:n.bottom-t.bottom-s.marginBottom}},d.handleEvent=n.handleEvent,d.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},n.debounceMethod(u,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var e=i(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},d.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},d.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},d.prepended=function(e){var t=this._itemize(e);if(t.length){var i=this.items.slice(0);this.items=t.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(i)}},d.reveal=function(e){if(this._emitCompleteOnItems("reveal",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,i){e.stagger(i*t),e.reveal()})}},d.hide=function(e){if(this._emitCompleteOnItems("hide",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,i){e.stagger(i*t),e.hide()})}},d.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},d.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},d.getItem=function(e){for(var t=0;t<this.items.length;t++){var i=this.items[t];if(i.element==e)return i}},d.getItems=function(e){e=n.makeArray(e);var t=[];return e.forEach(function(e){var i=this.getItem(e);i&&t.push(i)},this),t},d.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(e){e.remove(),n.removeFrom(this.items,e)},this)},d.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize();var t=this.element.outlayerGUID;delete l[t],delete this.element.outlayerGUID,r&&r.removeData(this.element,this.constructor.namespace)},u.data=function(e){var t=(e=n.getQueryElement(e))&&e.outlayerGUID;return t&&l[t]},u.create=function(e,t){var i=h(u);return i.defaults=n.extend({},u.defaults),n.extend(i.defaults,t),i.compatOptions=n.extend({},u.compatOptions),i.namespace=e,i.data=u.data,i.Item=h(s),n.htmlInit(i,e),r&&r.bridget&&r.bridget(e,i),i};var f={ms:1,s:1e3};return u.Item=s,u}),function(e,t){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer"),require("get-size")):e.Masonry=t(e.Outlayer,e.getSize)}(window,function(e,t){var i=e.create("masonry");i.compatOptions.fitWidth="isFitWidth";var n=i.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],i=e&&e.element;this.columnWidth=i&&t(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,s=this.containerWidth+this.gutter,a=s/n,r=n-s%n;a=Math[r&&r<1?"round":"floor"](a),this.cols=Math.max(a,1)},n.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,i=t(e);this.containerWidth=i&&i.innerWidth},n._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,i=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var n=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,e),s={x:this.columnWidth*n.col,y:n.y},a=n.y+e.size.outerHeight,r=i+n.col,o=n.col;o<r;o++)this.colYs[o]=a;return s},n._getTopColPosition=function(e){var t=this._getTopColGroup(e),i=Math.min.apply(Math,t);return{col:t.indexOf(i),y:i}},n._getTopColGroup=function(e){if(e<2)return this.colYs;for(var t=[],i=this.cols+1-e,n=0;n<i;n++)t[n]=this._getColGroupY(n,e);return t},n._getColGroupY=function(e,t){if(t<2)return this.colYs[e];var i=this.colYs.slice(e,e+t);return Math.max.apply(Math,i)},n._getHorizontalColPosition=function(e,t){var i=this.horizontalColIndex%this.cols;i=e>1&&i+e>this.cols?0:i;var n=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=n?i+e:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,e)}},n._manageStamp=function(e){var i=t(e),n=this._getElementOffset(e),s=this._getOption("originLeft")?n.left:n.right,a=s+i.outerWidth,r=Math.floor(s/this.columnWidth);r=Math.max(0,r);var o=Math.floor(a/this.columnWidth);o-=a%this.columnWidth?0:1,o=Math.min(this.cols-1,o);for(var c=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,l=r;l<=o;l++)this.colYs[l]=Math.max(c,this.colYs[l])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},n._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},i}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var e,t;function i(){return e.apply(null,arguments)}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function r(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function o(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var i,n=[],s=e.length;for(i=0;i<s;++i)n.push(t(e[i],i));return n}function d(e,t){for(var i in t)a(t,i)&&(e[i]=t[i]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,i,n){return xt(e,t,i,n,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var i=f(e),n=t.call(i.parsedDateParts,function(e){return null!=e}),s=!isNaN(e._d.getTime())&&i.overflow<0&&!i.empty&&!i.invalidEra&&!i.invalidMonth&&!i.invalidWeekday&&!i.weekdayMismatch&&!i.nullInput&&!i.invalidFormat&&!i.userInvalidated&&(!i.meridiem||i.meridiem&&n);if(e._strict&&(s=s&&0===i.charsLeftOver&&0===i.unusedTokens.length&&void 0===i.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function m(e){var t=h(NaN);return null!=e?d(f(t),e):f(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){var t,i=Object(this),n=i.length>>>0;for(t=0;t<n;t++)if(t in i&&e.call(this,i[t],t,i))return!0;return!1};var g=i.momentProperties=[],_=!1;function y(e,t){var i,n,s,a=g.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=f(t)),o(t._locale)||(e._locale=t._locale),a>0)for(i=0;i<a;i++)o(s=t[n=g[i]])||(e[n]=s);return e}function v(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_&&(_=!0,i.updateOffset(this),_=!1)}function b(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function A(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function w(e,t){var n=!0;return d(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var s,r,o,c=[],l=arguments.length;for(r=0;r<l;r++){if(s="","object"==typeof arguments[r]){for(o in s+="\n["+r+"] ",arguments[0])a(arguments[0],o)&&(s+=o+": "+arguments[0][o]+", ");s=s.slice(0,-2)}else s=arguments[r];c.push(s)}A(e+"\nArguments: "+Array.prototype.slice.call(c).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var M,k={};function S(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),k[e]||(A(t),k[e]=!0)}function E(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var i,n=d({},e);for(i in t)a(t,i)&&(s(e[i])&&s(t[i])?(n[i]={},d(n[i],e[i]),d(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)a(e,i)&&!a(t,i)&&s(e[i])&&(n[i]=d({},n[i]));return n}function D(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,M=Object.keys?Object.keys:function(e){var t,i=[];for(t in e)a(e,t)&&i.push(t);return i};function x(e,t,i){var n=""+Math.abs(e),s=t-n.length;return(e>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+n}var L=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,C=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,O={},P={};function Y(e,t,i,n){var s=n;"string"==typeof n&&(s=function(){return this[n]()}),e&&(P[e]=s),t&&(P[t[0]]=function(){return x(s.apply(this,arguments),t[1],t[2])}),i&&(P[i]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=z(t,e.localeData()),O[t]=O[t]||function(e){var t,i,n,s=e.match(L);for(t=0,i=s.length;t<i;t++)P[s[t]]?s[t]=P[s[t]]:s[t]=(n=s[t]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(t){var n,a="";for(n=0;n<i;n++)a+=E(s[n])?s[n].call(t,e):s[n];return a}}(t),O[t](e)):e.localeData().invalidDate()}function z(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(C.lastIndex=0;i>=0&&C.test(e);)e=e.replace(C,n),C.lastIndex=0,i-=1;return e}var j={};function H(e,t){var i=e.toLowerCase();j[i]=j[i+"s"]=j[t]=e}function I(e){return"string"==typeof e?j[e]||j[e.toLowerCase()]:void 0}function R(e){var t,i,n={};for(i in e)a(e,i)&&(t=I(i))&&(n[t]=e[i]);return n}var W={};function q(e,t){W[e]=t}function B(e){return e%4==0&&e%100!=0||e%400==0}function U(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function F(e){var t=+e,i=0;return 0!==t&&isFinite(t)&&(i=U(t)),i}function V(e,t){return function(n){return null!=n?(G(this,e,n),i.updateOffset(this,t),this):$(this,e)}}function $(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function G(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&B(e.year())&&1===e.month()&&29===e.date()?(i=F(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),xe(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}var K,X=/\d/,J=/\d\d/,Z=/\d{3}/,Q=/\d{4}/,ee=/[+-]?\d{6}/,te=/\d\d?/,ie=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,se=/\d{1,3}/,ae=/\d{1,4}/,re=/[+-]?\d{1,6}/,oe=/\d+/,ce=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ue=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[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;function he(e,t,i){K[e]=E(t)?t:function(e,n){return e&&i?i:t}}function fe(e,t){return a(K,e)?K[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,n,s){return t||i||n||s})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}K={};var me={};function ge(e,t){var i,n,s=t;for("string"==typeof e&&(e=[e]),c(t)&&(s=function(e,i){i[t]=F(e)}),n=e.length,i=0;i<n;i++)me[e[i]]=s}function _e(e,t){ge(e,function(e,i,n,s){n._w=n._w||{},t(e,n._w,n,s)})}function ye(e,t,i){null!=t&&a(me,e)&&me[e](t,i._a,i,e)}var ve,be=0,Ae=1,we=2,Me=3,ke=4,Se=5,Ee=6,Te=7,De=8;function xe(e,t){if(isNaN(e)||isNaN(t))return NaN;var i,n=(t%(i=12)+i)%i;return e+=(t-n)/12,1===n?B(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},Y("M",["MM",2],"Mo",function(){return this.month()+1}),Y("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),Y("MMMM",0,0,function(e){return this.localeData().months(this,e)}),H("month","M"),q("month",8),he("M",te),he("MM",te,J),he("MMM",function(e,t){return t.monthsShortRegex(e)}),he("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[Ae]=F(e)-1}),ge(["MMM","MMMM"],function(e,t,i,n){var s=i._locale.monthsParse(e,n,i._strict);null!=s?t[Ae]=s:f(i).invalidMonth=e});var Le="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ce="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pe=de,Ye=de;function Ne(e,t){var i;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=F(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return i=Math.min(e.date(),xe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i),e}function ze(e){return null!=e?(Ne(this,e),i.updateOffset(this,!0),this):$(this,"Month")}function je(){function e(e,t){return t.length-e.length}var t,i,n=[],s=[],a=[];for(t=0;t<12;t++)i=h([2e3,t]),n.push(this.monthsShort(i,"")),s.push(this.months(i,"")),a.push(this.months(i,"")),a.push(this.monthsShort(i,""));for(n.sort(e),s.sort(e),a.sort(e),t=0;t<12;t++)n[t]=pe(n[t]),s[t]=pe(s[t]);for(t=0;t<24;t++)a[t]=pe(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function He(e){return B(e)?366:365}Y("Y",0,0,function(){var e=this.year();return e<=9999?x(e,4):"+"+e}),Y(0,["YY",2],0,function(){return this.year()%100}),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),H("year","y"),q("year",1),he("Y",ce),he("YY",te,J),he("YYYY",ae,Q),he("YYYYY",re,ee),he("YYYYYY",re,ee),ge(["YYYYY","YYYYYY"],be),ge("YYYY",function(e,t){t[be]=2===e.length?i.parseTwoDigitYear(e):F(e)}),ge("YY",function(e,t){t[be]=i.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[be]=parseInt(e,10)}),i.parseTwoDigitYear=function(e){return F(e)+(F(e)>68?1900:2e3)};var Ie=V("FullYear",!0);function Re(e){var t,i;return e<100&&e>=0?((i=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function We(e,t,i){var n=7+t-i;return-((7+Re(e,0,n).getUTCDay()-t)%7)+n-1}function qe(e,t,i,n,s){var a,r,o=1+7*(t-1)+(7+i-n)%7+We(e,n,s);return o<=0?r=He(a=e-1)+o:o>He(e)?(a=e+1,r=o-He(e)):(a=e,r=o),{year:a,dayOfYear:r}}function Be(e,t,i){var n,s,a=We(e.year(),t,i),r=Math.floor((e.dayOfYear()-a-1)/7)+1;return r<1?n=r+Ue(s=e.year()-1,t,i):r>Ue(e.year(),t,i)?(n=r-Ue(e.year(),t,i),s=e.year()+1):(s=e.year(),n=r),{week:n,year:s}}function Ue(e,t,i){var n=We(e,t,i),s=We(e+1,t,i);return(He(e)-n+s)/7}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),q("week",5),q("isoWeek",5),he("w",te),he("ww",te,J),he("W",te),he("WW",te,J),_e(["w","ww","W","WW"],function(e,t,i,n){t[n.substr(0,1)]=F(e)});function Fe(e,t){return e.slice(t,7).concat(e.slice(0,t))}Y("d",0,"do","day"),Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),q("day",11),q("weekday",11),q("isoWeekday",11),he("d",te),he("e",te),he("E",te),he("dd",function(e,t){return t.weekdaysMinRegex(e)}),he("ddd",function(e,t){return t.weekdaysShortRegex(e)}),he("dddd",function(e,t){return t.weekdaysRegex(e)}),_e(["dd","ddd","dddd"],function(e,t,i,n){var s=i._locale.weekdaysParse(e,n,i._strict);null!=s?t.d=s:f(i).invalidWeekday=e}),_e(["d","e","E"],function(e,t,i,n){t[n]=F(e)});var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),$e="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ge="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ke=de,Xe=de,Je=de;function Ze(){function e(e,t){return t.length-e.length}var t,i,n,s,a,r=[],o=[],c=[],l=[];for(t=0;t<7;t++)i=h([2e3,1]).day(t),n=pe(this.weekdaysMin(i,"")),s=pe(this.weekdaysShort(i,"")),a=pe(this.weekdays(i,"")),r.push(n),o.push(s),c.push(a),l.push(n),l.push(s),l.push(a);r.sort(e),o.sort(e),c.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Qe),Y("k",["kk",2],0,function(){return this.hours()||24}),Y("hmm",0,0,function(){return""+Qe.apply(this)+x(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+Qe.apply(this)+x(this.minutes(),2)+x(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+x(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+x(this.minutes(),2)+x(this.seconds(),2)}),et("a",!0),et("A",!1),H("hour","h"),q("hour",13),he("a",tt),he("A",tt),he("H",te),he("h",te),he("k",te),he("HH",te,J),he("hh",te,J),he("kk",te,J),he("hmm",ie),he("hmmss",ne),he("Hmm",ie),he("Hmmss",ne),ge(["H","HH"],Me),ge(["k","kk"],function(e,t,i){var n=F(e);t[Me]=24===n?0:n}),ge(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),ge(["h","hh"],function(e,t,i){t[Me]=F(e),f(i).bigHour=!0}),ge("hmm",function(e,t,i){var n=e.length-2;t[Me]=F(e.substr(0,n)),t[ke]=F(e.substr(n)),f(i).bigHour=!0}),ge("hmmss",function(e,t,i){var n=e.length-4,s=e.length-2;t[Me]=F(e.substr(0,n)),t[ke]=F(e.substr(n,2)),t[Se]=F(e.substr(s)),f(i).bigHour=!0}),ge("Hmm",function(e,t,i){var n=e.length-2;t[Me]=F(e.substr(0,n)),t[ke]=F(e.substr(n))}),ge("Hmmss",function(e,t,i){var n=e.length-4,s=e.length-2;t[Me]=F(e.substr(0,n)),t[ke]=F(e.substr(n,2)),t[Se]=F(e.substr(s))});var it=V("Hours",!0);var nt,st={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Le,monthsShort:Ce,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:Ge,weekdaysShort:$e,meridiemParse:/[ap]\.?m?\.?/i},at={},rt={};function ot(e,t){var i,n=Math.min(e.length,t.length);for(i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}function ct(e){return e?e.toLowerCase().replace("_","-"):e}function lt(e){var t=null;if(void 0===at[e]&&"undefined"!=typeof module&&module&&module.exports&&function(e){return null!=e.match("^[^/\\\\]*$")}(e))try{t=nt._abbr,require("./locale/"+e),ut(t)}catch(t){at[e]=null}return at[e]}function ut(e,t){var i;return e&&((i=o(t)?ht(e):dt(e,t))?nt=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nt._abbr}function dt(e,t){if(null!==t){var i,n=st;if(t.abbr=e,null!=at[e])S("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."),n=at[e]._config;else if(null!=t.parentLocale)if(null!=at[t.parentLocale])n=at[t.parentLocale]._config;else{if(null==(i=lt(t.parentLocale)))return rt[t.parentLocale]||(rt[t.parentLocale]=[]),rt[t.parentLocale].push({name:e,config:t}),null;n=i._config}return at[e]=new D(T(n,t)),rt[e]&&rt[e].forEach(function(e){dt(e.name,e.config)}),ut(e),at[e]}return delete at[e],null}function ht(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return nt;if(!n(e)){if(t=lt(e))return t;e=[e]}return function(e){for(var t,i,n,s,a=0;a<e.length;){for(t=(s=ct(e[a]).split("-")).length,i=(i=ct(e[a+1]))?i.split("-"):null;t>0;){if(n=lt(s.slice(0,t).join("-")))return n;if(i&&i.length>=t&&ot(s,i)>=t-1)break;t--}a++}return nt}(e)}function ft(e){var t,i=e._a;return i&&-2===f(e).overflow&&(t=i[Ae]<0||i[Ae]>11?Ae:i[we]<1||i[we]>xe(i[be],i[Ae])?we:i[Me]<0||i[Me]>24||24===i[Me]&&(0!==i[ke]||0!==i[Se]||0!==i[Ee])?Me:i[ke]<0||i[ke]>59?ke:i[Se]<0||i[Se]>59?Se:i[Ee]<0||i[Ee]>999?Ee:-1,f(e)._overflowDayOfYear&&(t<be||t>we)&&(t=we),f(e)._overflowWeeks&&-1===t&&(t=Te),f(e)._overflowWeekday&&-1===t&&(t=De),f(e).overflow=t),e}var pt=/^\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)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],yt=[["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/]],vt=/^\/?Date\((-?\d+)/i,bt=/^(?:(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}))$/,At={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function wt(e){var t,i,n,s,a,r,o=e._i,c=pt.exec(o)||mt.exec(o),l=_t.length,u=yt.length;if(c){for(f(e).iso=!0,t=0,i=l;t<i;t++)if(_t[t][1].exec(c[1])){s=_t[t][0],n=!1!==_t[t][2];break}if(null==s)return void(e._isValid=!1);if(c[3]){for(t=0,i=u;t<i;t++)if(yt[t][1].exec(c[3])){a=(c[2]||" ")+yt[t][0];break}if(null==a)return void(e._isValid=!1)}if(!n&&null!=a)return void(e._isValid=!1);if(c[4]){if(!gt.exec(c[4]))return void(e._isValid=!1);r="Z"}e._f=s+(a||"")+(r||""),Tt(e)}else e._isValid=!1}function Mt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function kt(e){var t,i,n,s,a,r,o,c,l=bt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){if(i=l[4],n=l[3],s=l[2],a=l[5],r=l[6],o=l[7],c=[Mt(i),Ce.indexOf(n),parseInt(s,10),parseInt(a,10),parseInt(r,10)],o&&c.push(parseInt(o,10)),t=c,!function(e,t,i){return!e||$e.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(f(i).weekdayMismatch=!0,i._isValid=!1,!1)}(l[1],t,e))return;e._a=t,e._tzm=function(e,t,i){if(e)return At[e];if(t)return 0;var n=parseInt(i,10),s=n%100;return(n-s)/100*60+s}(l[8],l[9],l[10]),e._d=Re.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function St(e,t,i){return null!=e?e:null!=t?t:i}function Et(e){var t,n,s,a,r,o=[];if(!e._d){for(s=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[we]&&null==e._a[Ae]&&function(e){var t,i,n,s,a,r,o,c,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,r=4,i=St(t.GG,e._a[be],Be(Lt(),1,4).year),n=St(t.W,1),((s=St(t.E,1))<1||s>7)&&(c=!0)):(a=e._locale._week.dow,r=e._locale._week.doy,l=Be(Lt(),a,r),i=St(t.gg,e._a[be],l.year),n=St(t.w,l.week),null!=t.d?((s=t.d)<0||s>6)&&(c=!0):null!=t.e?(s=t.e+a,(t.e<0||t.e>6)&&(c=!0)):s=a);n<1||n>Ue(i,a,r)?f(e)._overflowWeeks=!0:null!=c?f(e)._overflowWeekday=!0:(o=qe(i,n,s,a,r),e._a[be]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(r=St(e._a[be],s[be]),(e._dayOfYear>He(r)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),n=Re(r,0,e._dayOfYear),e._a[Ae]=n.getUTCMonth(),e._a[we]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=s[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Me]&&0===e._a[ke]&&0===e._a[Se]&&0===e._a[Ee]&&(e._nextDay=!0,e._a[Me]=0),e._d=(e._useUTC?Re:function(e,t,i,n,s,a,r){var o;return e<100&&e>=0?(o=new Date(e+400,t,i,n,s,a,r),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,i,n,s,a,r),o}).apply(null,o),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Me]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(f(e).weekdayMismatch=!0)}}function Tt(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],f(e).empty=!0;var t,n,s,a,r,o,c,l=""+e._i,u=l.length,d=0;for(c=(s=z(e._f,e._locale).match(L)||[]).length,t=0;t<c;t++)a=s[t],(n=(l.match(fe(a,e))||[])[0])&&((r=l.substr(0,l.indexOf(n))).length>0&&f(e).unusedInput.push(r),l=l.slice(l.indexOf(n)+n.length),d+=n.length),P[a]?(n?f(e).empty=!1:f(e).unusedTokens.push(a),ye(a,n,e)):e._strict&&!n&&f(e).unusedTokens.push(a);f(e).charsLeftOver=u-d,l.length>0&&f(e).unusedInput.push(l),e._a[Me]<=12&&!0===f(e).bigHour&&e._a[Me]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[Me]=function(e,t,i){var n;if(null==i)return t;return null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?((n=e.isPM(i))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[Me],e._meridiem),null!==(o=f(e).era)&&(e._a[be]=e._locale.erasConvertYear(o,e._a[be])),Et(e),ft(e)}else kt(e);else wt(e)}function Dt(e){var t=e._i,a=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===a&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),b(t)?new v(ft(t)):(l(t)?e._d=t:n(a)?function(e){var t,i,n,s,a,r,o=!1,c=e._f.length;if(0===c)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(s=0;s<c;s++)a=0,r=!1,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[s],Tt(t),p(t)&&(r=!0),a+=f(t).charsLeftOver,a+=10*f(t).unusedTokens.length,f(t).score=a,o?a<n&&(n=a,i=t):(null==n||a<n||r)&&(n=a,i=t,r&&(o=!0));d(e,i||t)}(e):a?Tt(e):function(e){var t=e._i;o(t)?e._d=new Date(i.now()):l(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=vt.exec(e._i);null===t?(wt(e),!1===e._isValid&&(delete e._isValid,kt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):n(t)?(e._a=u(t.slice(0),function(e){return parseInt(e,10)}),Et(e)):s(t)?function(e){if(!e._d){var t=R(e._i),i=void 0===t.day?t.date:t.day;e._a=u([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Et(e)}}(e):c(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),p(e)||(e._d=null),e))}function xt(e,t,i,a,o){var c,l={};return!0!==t&&!1!==t||(a=t,t=void 0),!0!==i&&!1!==i||(a=i,i=void 0),(s(e)&&r(e)||n(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=o,l._l=i,l._i=e,l._f=t,l._strict=a,(c=new v(ft(Dt(l))))._nextDay&&(c.add(1,"d"),c._nextDay=void 0),c}function Lt(e,t,i,n){return xt(e,t,i,n,!1)}i.createFromInputFallback=w("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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),i.ISO_8601=function(){},i.RFC_2822=function(){};var Ct=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Lt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()}),Ot=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Lt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()});function Pt(e,t){var i,s;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return Lt();for(i=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](i)||(i=t[s]);return i}var Yt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var t=R(e),i=t.year||0,n=t.quarter||0,s=t.month||0,r=t.week||t.isoWeek||0,o=t.day||0,c=t.hour||0,l=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,i,n=!1,s=Yt.length;for(t in e)if(a(e,t)&&(-1===ve.call(Yt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<s;++i)if(e[Yt[i]]){if(n)return!1;parseFloat(e[Yt[i]])!==F(e[Yt[i]])&&(n=!0)}return!0}(t),this._milliseconds=+d+1e3*u+6e4*l+1e3*c*60*60,this._days=+o+7*r,this._months=+s+3*n+12*i,this._data={},this._locale=ht(),this._bubble()}function zt(e){return e instanceof Nt}function jt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ht(e,t){Y(e,0,0,function(){var e=this.utcOffset(),i="+";return e<0&&(e=-e,i="-"),i+x(~~(e/60),2)+t+x(~~e%60,2)})}Ht("Z",":"),Ht("ZZ",""),he("Z",ue),he("ZZ",ue),ge(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Rt(ue,e)});var It=/([\+\-]|\d\d)/gi;function Rt(e,t){var i,n,s=(t||"").match(e);return null===s?null:0===(n=60*(i=((s[s.length-1]||[])+"").match(It)||["-",0,0])[1]+F(i[2]))?0:"+"===i[0]?n:-n}function Wt(e,t){var n,s;return t._isUTC?(n=t.clone(),s=(b(e)||l(e)?e.valueOf():Lt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),i.updateOffset(n,!1),n):Lt(e).local()}function qt(e){return-Math.round(e._d.getTimezoneOffset())}function Bt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}i.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ft=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vt(e,t){var i,n,s,r=e,o=null;return zt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(o=Ut.exec(e))?(i="-"===o[1]?-1:1,r={y:0,d:F(o[we])*i,h:F(o[Me])*i,m:F(o[ke])*i,s:F(o[Se])*i,ms:F(jt(1e3*o[Ee]))*i}):(o=Ft.exec(e))?(i="-"===o[1]?-1:1,r={y:$t(o[2],i),M:$t(o[3],i),w:$t(o[4],i),d:$t(o[5],i),h:$t(o[6],i),m:$t(o[7],i),s:$t(o[8],i)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(s=function(e,t){var i;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Wt(t,e),e.isBefore(t)?i=Gt(e,t):((i=Gt(t,e)).milliseconds=-i.milliseconds,i.months=-i.months);return i}(Lt(r.from),Lt(r.to)),(r={}).ms=s.milliseconds,r.M=s.months),n=new Nt(r),zt(e)&&a(e,"_locale")&&(n._locale=e._locale),zt(e)&&a(e,"_isValid")&&(n._isValid=e._isValid),n}function $t(e,t){var i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function Gt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function Kt(e,t){return function(i,n){var s;return null===n||isNaN(+n)||(S(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."),s=i,i=n,n=s),Xt(this,Vt(i,n),e),this}}function Xt(e,t,n,s){var a=t._milliseconds,r=jt(t._days),o=jt(t._months);e.isValid()&&(s=null==s||s,o&&Ne(e,$(e,"Month")+o*n),r&&G(e,"Date",$(e,"Date")+r*n),a&&e._d.setTime(e._d.valueOf()+a*n),s&&i.updateOffset(e,r||o))}Vt.fn=Nt.prototype,Vt.invalid=function(){return Vt(NaN)};var Jt=Kt(1,"add"),Zt=Kt(-1,"subtract");function Qt(e){return"string"==typeof e||e instanceof String}function ei(e){return b(e)||l(e)||Qt(e)||c(e)||function(e){var t=n(e),i=!1;t&&(i=0===e.filter(function(t){return!c(t)&&Qt(e)}).length);return t&&i}(e)||function(e){var t,i,n=s(e)&&!r(e),o=!1,c=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l=c.length;for(t=0;t<l;t+=1)i=c[t],o=o||a(e,i);return n&&o}(e)||null==e}function ti(e,t){if(e.date()<t.date())return-ti(t,e);var i=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(i,"months");return-(i+(t-n<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(i+1,"months")-n)))||0}function ii(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ht(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ni=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function si(){return this._locale}var ai=1e3,ri=60*ai,oi=60*ri,ci=3506328*oi;function li(e,t){return(e%t+t)%t}function ui(e,t,i){return e<100&&e>=0?new Date(e+400,t,i)-ci:new Date(e,t,i).valueOf()}function di(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-ci:Date.UTC(e,t,i)}function hi(e,t){return t.erasAbbrRegex(e)}function fi(){var e,t,i=[],n=[],s=[],a=[],r=this.eras();for(e=0,t=r.length;e<t;++e)n.push(pe(r[e].name)),i.push(pe(r[e].abbr)),s.push(pe(r[e].narrow)),a.push(pe(r[e].name)),a.push(pe(r[e].abbr)),a.push(pe(r[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function pi(e,t){Y(0,[e,e.length],0,t)}function mi(e,t,i,n,s){var a;return null==e?Be(this,n,s).year:(t>(a=Ue(e,n,s))&&(t=a),function(e,t,i,n,s){var a=qe(e,t,i,n,s),r=Re(a.year,0,a.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}.call(this,e,t,i,n,s))}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),he("N",hi),he("NN",hi),he("NNN",hi),he("NNNN",function(e,t){return t.erasNameRegex(e)}),he("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,n){var s=i._locale.erasParse(e,n,i._strict);s?f(i).era=s:f(i).invalidEra=e}),he("y",oe),he("yy",oe),he("yyy",oe),he("yyyy",oe),he("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),ge(["y","yy","yyy","yyyy"],be),ge(["yo"],function(e,t,i,n){var s;i._locale._eraYearOrdinalRegex&&(s=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[be]=i._locale.eraYearOrdinalParse(e,s):t[be]=parseInt(e,10)}),Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),pi("gggg","weekYear"),pi("ggggg","weekYear"),pi("GGGG","isoWeekYear"),pi("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),he("G",ce),he("g",ce),he("GG",te,J),he("gg",te,J),he("GGGG",ae,Q),he("gggg",ae,Q),he("GGGGG",re,ee),he("ggggg",re,ee),_e(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,n){t[n.substr(0,2)]=F(e)}),_e(["gg","GG"],function(e,t,n,s){t[s]=i.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),H("quarter","Q"),q("quarter",7),he("Q",X),ge("Q",function(e,t){t[Ae]=3*(F(e)-1)}),Y("D",["DD",2],"Do","date"),H("date","D"),q("date",9),he("D",te),he("DD",te,J),he("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],we),ge("Do",function(e,t){t[we]=F(e.match(te)[0])});var gi=V("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),q("dayOfYear",4),he("DDD",se),he("DDDD",Z),ge(["DDD","DDDD"],function(e,t,i){i._dayOfYear=F(e)}),Y("m",["mm",2],0,"minute"),H("minute","m"),q("minute",14),he("m",te),he("mm",te,J),ge(["m","mm"],ke);var _i=V("Minutes",!1);Y("s",["ss",2],0,"second"),H("second","s"),q("second",15),he("s",te),he("ss",te,J),ge(["s","ss"],Se);var yi,vi,bi=V("Seconds",!1);for(Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),H("millisecond","ms"),q("millisecond",16),he("S",se,X),he("SS",se,J),he("SSS",se,Z),yi="SSSS";yi.length<=9;yi+="S")he(yi,oe);function Ai(e,t){t[Ee]=F(1e3*("0."+e))}for(yi="S";yi.length<=9;yi+="S")ge(yi,Ai);vi=V("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var wi=v.prototype;function Mi(e){return e}wi.add=Jt,wi.calendar=function(e,t){1===arguments.length&&(arguments[0]?ei(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,i=s(e)&&!r(e),n=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=n||a(e,o[t]);return i&&n}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Lt(),o=Wt(n,this).startOf("day"),c=i.calendarFormat(this,o)||"sameElse",l=t&&(E(t[c])?t[c].call(this,n):t[c]);return this.format(l||this.localeData().calendar(c,this,Lt(n)))},wi.clone=function(){return new v(this)},wi.diff=function(e,t,i){var n,s,a;if(!this.isValid())return NaN;if(!(n=Wt(e,this)).isValid())return NaN;switch(s=6e4*(n.utcOffset()-this.utcOffset()),t=I(t)){case"year":a=ti(this,n)/12;break;case"month":a=ti(this,n);break;case"quarter":a=ti(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-s)/864e5;break;case"week":a=(this-n-s)/6048e5;break;default:a=this-n}return i?a:U(a)},wi.endOf=function(e){var t,n;if(void 0===(e=I(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?di:ui,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=oi-li(t+(this._isUTC?0:this.utcOffset()*ri),oi)-1;break;case"minute":t=this._d.valueOf(),t+=ri-li(t,ri)-1;break;case"second":t=this._d.valueOf(),t+=ai-li(t,ai)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},wi.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=N(this,e);return this.localeData().postformat(t)},wi.from=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||Lt(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},wi.fromNow=function(e){return this.from(Lt(),e)},wi.to=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||Lt(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},wi.toNow=function(e){return this.to(Lt(),e)},wi.get=function(e){return E(this[e=I(e)])?this[e]():this},wi.invalidAt=function(){return f(this).overflow},wi.isAfter=function(e,t){var i=b(e)?e:Lt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf())},wi.isBefore=function(e,t){var i=b(e)?e:Lt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf())},wi.isBetween=function(e,t,i,n){var s=b(e)?e:Lt(e),a=b(t)?t:Lt(t);return!!(this.isValid()&&s.isValid()&&a.isValid())&&("("===(n=n||"()")[0]?this.isAfter(s,i):!this.isBefore(s,i))&&(")"===n[1]?this.isBefore(a,i):!this.isAfter(a,i))},wi.isSame=function(e,t){var i,n=b(e)?e:Lt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()))},wi.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},wi.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},wi.isValid=function(){return p(this)},wi.lang=ni,wi.locale=ii,wi.localeData=si,wi.max=Ot,wi.min=Ct,wi.parsingFlags=function(){return d({},f(this))},wi.set=function(e,t){if("object"==typeof e){var i,n=function(e){var t,i=[];for(t in e)a(e,t)&&i.push({unit:t,priority:W[t]});return i.sort(function(e,t){return e.priority-t.priority}),i}(e=R(e)),s=n.length;for(i=0;i<s;i++)this[n[i].unit](e[n[i].unit])}else if(E(this[e=I(e)]))return this[e](t);return this},wi.startOf=function(e){var t,n;if(void 0===(e=I(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?di:ui,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=li(t+(this._isUTC?0:this.utcOffset()*ri),oi);break;case"minute":t=this._d.valueOf(),t-=li(t,ri);break;case"second":t=this._d.valueOf(),t-=li(t,ai)}return this._d.setTime(t),i.updateOffset(this,!0),this},wi.subtract=Zt,wi.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},wi.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},wi.toDate=function(){return new Date(this.valueOf())},wi.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,i=t?this.clone().utc():this;return i.year()<0||i.year()>9999?N(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(i,"Z")):N(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},wi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,i,n="moment",s="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),e="["+n+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=s+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+i)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(wi[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),wi.toJSON=function(){return this.isValid()?this.toISOString():null},wi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},wi.unix=function(){return Math.floor(this.valueOf()/1e3)},wi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},wi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},wi.eraName=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].name;if(n[e].until<=i&&i<=n[e].since)return n[e].name}return""},wi.eraNarrow=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].narrow;if(n[e].until<=i&&i<=n[e].since)return n[e].narrow}return""},wi.eraAbbr=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].abbr;if(n[e].until<=i&&i<=n[e].since)return n[e].abbr}return""},wi.eraYear=function(){var e,t,n,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-i(a[e].since).year())*n+a[e].offset;return this.year()},wi.year=Ie,wi.isLeapYear=function(){return B(this.year())},wi.weekYear=function(e){return mi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},wi.isoWeekYear=function(e){return mi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},wi.quarter=wi.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},wi.month=ze,wi.daysInMonth=function(){return xe(this.year(),this.month())},wi.week=wi.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},wi.isoWeek=wi.isoWeeks=function(e){var t=Be(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},wi.weeksInYear=function(){var e=this.localeData()._week;return Ue(this.year(),e.dow,e.doy)},wi.weeksInWeekYear=function(){var e=this.localeData()._week;return Ue(this.weekYear(),e.dow,e.doy)},wi.isoWeeksInYear=function(){return Ue(this.year(),1,4)},wi.isoWeeksInISOWeekYear=function(){return Ue(this.isoWeekYear(),1,4)},wi.date=gi,wi.day=wi.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},wi.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},wi.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},wi.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},wi.hour=wi.hours=it,wi.minute=wi.minutes=_i,wi.second=wi.seconds=bi,wi.millisecond=wi.milliseconds=vi,wi.utcOffset=function(e,t,n){var s,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Rt(ue,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(s=qt(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),a!==e&&(!t||this._changeInProgress?Xt(this,Vt(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:qt(this)},wi.utc=function(e){return this.utcOffset(0,e)},wi.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(qt(this),"m")),this},wi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Rt(le,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},wi.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Lt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},wi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},wi.isLocal=function(){return!!this.isValid()&&!this._isUTC},wi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},wi.isUtc=Bt,wi.isUTC=Bt,wi.zoneAbbr=function(){return this._isUTC?"UTC":""},wi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},wi.dates=w("dates accessor is deprecated. Use date instead.",gi),wi.months=w("months accessor is deprecated. Use month instead",ze),wi.years=w("years accessor is deprecated. Use year instead",Ie),wi.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),wi.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return y(t,this),(t=Dt(t))._a?(e=t._isUTC?h(t._a):Lt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,i){var n,s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),r=0;for(n=0;n<s;n++)(i&&e[n]!==t[n]||!i&&F(e[n])!==F(t[n]))&&r++;return r+a}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var ki=D.prototype;function Si(e,t,i,n){var s=ht(),a=h().set(n,t);return s[i](a,e)}function Ei(e,t,i){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return Si(e,t,i,"month");var n,s=[];for(n=0;n<12;n++)s[n]=Si(e,n,i,"month");return s}function Ti(e,t,i,n){"boolean"==typeof e?(c(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,c(t)&&(i=t,t=void 0),t=t||"");var s,a=ht(),r=e?a._week.dow:0,o=[];if(null!=i)return Si(t,(i+r)%7,n,"day");for(s=0;s<7;s++)o[s]=Si(t,(s+r)%7,n,"day");return o}ki.calendar=function(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return E(n)?n.call(t,i):n},ki.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(L).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},ki.invalidDate=function(){return this._invalidDate},ki.ordinal=function(e){return this._ordinal.replace("%d",e)},ki.preparse=Mi,ki.postformat=Mi,ki.relativeTime=function(e,t,i,n){var s=this._relativeTime[i];return E(s)?s(e,t,i,n):s.replace(/%d/i,e)},ki.pastFuture=function(e,t){var i=this._relativeTime[e>0?"future":"past"];return E(i)?i(t):i.replace(/%s/i,t)},ki.set=function(e){var t,i;for(i in e)a(e,i)&&(E(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ki.eras=function(e,t){var n,s,a,r=this._eras||ht("en")._eras;for(n=0,s=r.length;n<s;++n){switch(typeof r[n].since){case"string":a=i(r[n].since).startOf("day"),r[n].since=a.valueOf()}switch(typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":a=i(r[n].until).startOf("day").valueOf(),r[n].until=a.valueOf()}}return r},ki.erasParse=function(e,t,i){var n,s,a,r,o,c=this.eras();for(e=e.toUpperCase(),n=0,s=c.length;n<s;++n)if(a=c[n].name.toUpperCase(),r=c[n].abbr.toUpperCase(),o=c[n].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(r===e)return c[n];break;case"NNNN":if(a===e)return c[n];break;case"NNNNN":if(o===e)return c[n]}else if([a,r,o].indexOf(e)>=0)return c[n]},ki.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n},ki.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||fi.call(this),e?this._erasAbbrRegex:this._erasRegex},ki.erasNameRegex=function(e){return a(this,"_erasNameRegex")||fi.call(this),e?this._erasNameRegex:this._erasRegex},ki.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||fi.call(this),e?this._erasNarrowRegex:this._erasRegex},ki.months=function(e,t){return e?n(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Oe).test(t)?"format":"standalone"][e.month()]:n(this._months)?this._months:this._months.standalone},ki.monthsShort=function(e,t){return e?n(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Oe.test(t)?"format":"standalone"][e.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ki.monthsParse=function(e,t,i){var n,s,a;if(this._monthsParseExact)return function(e,t,i){var n,s,a,r=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=h([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(s=ve.call(this._shortMonthsParse,r))?s:null:-1!==(s=ve.call(this._longMonthsParse,r))?s:null:"MMM"===t?-1!==(s=ve.call(this._shortMonthsParse,r))?s:-1!==(s=ve.call(this._longMonthsParse,r))?s:null:-1!==(s=ve.call(this._longMonthsParse,r))?s:-1!==(s=ve.call(this._shortMonthsParse,r))?s:null}.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=h([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(a="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},ki.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Ye),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},ki.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=Pe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},ki.week=function(e){return Be(e,this._week.dow,this._week.doy).week},ki.firstDayOfYear=function(){return this._week.doy},ki.firstDayOfWeek=function(){return this._week.dow},ki.weekdays=function(e,t){var i=n(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Fe(i,this._week.dow):e?i[e.day()]:i},ki.weekdaysMin=function(e){return!0===e?Fe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},ki.weekdaysShort=function(e){return!0===e?Fe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},ki.weekdaysParse=function(e,t,i){var n,s,a;if(this._weekdaysParseExact)return function(e,t,i){var n,s,a,r=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=h([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(s=ve.call(this._weekdaysParse,r))?s:null:"ddd"===t?-1!==(s=ve.call(this._shortWeekdaysParse,r))?s:null:-1!==(s=ve.call(this._minWeekdaysParse,r))?s:null:"dddd"===t?-1!==(s=ve.call(this._weekdaysParse,r))?s:-1!==(s=ve.call(this._shortWeekdaysParse,r))?s:-1!==(s=ve.call(this._minWeekdaysParse,r))?s:null:"ddd"===t?-1!==(s=ve.call(this._shortWeekdaysParse,r))?s:-1!==(s=ve.call(this._weekdaysParse,r))?s:-1!==(s=ve.call(this._minWeekdaysParse,r))?s:null:-1!==(s=ve.call(this._minWeekdaysParse,r))?s:-1!==(s=ve.call(this._weekdaysParse,r))?s:-1!==(s=ve.call(this._shortWeekdaysParse,r))?s:null}.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=h([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},ki.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ke),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},ki.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ki.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ki.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},ki.meridiem=function(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"},ut("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===F(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=w("moment.lang is deprecated. Use moment.locale instead.",ut),i.langData=w("moment.langData is deprecated. Use moment.localeData instead.",ht);var Di=Math.abs;function xi(e,t,i,n){var s=Vt(t,i);return e._milliseconds+=n*s._milliseconds,e._days+=n*s._days,e._months+=n*s._months,e._bubble()}function Li(e){return e<0?Math.floor(e):Math.ceil(e)}function Ci(e){return 4800*e/146097}function Oi(e){return 146097*e/4800}function Pi(e){return function(){return this.as(e)}}var Yi=Pi("ms"),Ni=Pi("s"),zi=Pi("m"),ji=Pi("h"),Hi=Pi("d"),Ii=Pi("w"),Ri=Pi("M"),Wi=Pi("Q"),qi=Pi("y");function Bi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ui=Bi("milliseconds"),Fi=Bi("seconds"),Vi=Bi("minutes"),$i=Bi("hours"),Gi=Bi("days"),Ki=Bi("months"),Xi=Bi("years");var Ji=Math.round,Zi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};var Qi=Math.abs;function en(e){return(e>0)-(e<0)||+e}function tn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i,n,s,a,r,o,c=Qi(this._milliseconds)/1e3,l=Qi(this._days),u=Qi(this._months),d=this.asSeconds();return d?(e=U(c/60),t=U(e/60),c%=60,e%=60,i=U(u/12),u%=12,n=c?c.toFixed(3).replace(/\.?0+$/,""):"",s=d<0?"-":"",a=en(this._months)!==en(d)?"-":"",r=en(this._days)!==en(d)?"-":"",o=en(this._milliseconds)!==en(d)?"-":"",s+"P"+(i?a+i+"Y":"")+(u?a+u+"M":"")+(l?r+l+"D":"")+(t||e||c?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(c?o+n+"S":"")):"P0D"}var nn=Nt.prototype;return nn.isValid=function(){return this._isValid},nn.abs=function(){var e=this._data;return this._milliseconds=Di(this._milliseconds),this._days=Di(this._days),this._months=Di(this._months),e.milliseconds=Di(e.milliseconds),e.seconds=Di(e.seconds),e.minutes=Di(e.minutes),e.hours=Di(e.hours),e.months=Di(e.months),e.years=Di(e.years),this},nn.add=function(e,t){return xi(this,e,t,1)},nn.subtract=function(e,t){return xi(this,e,t,-1)},nn.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=I(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,i=this._months+Ci(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(Oi(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},nn.asMilliseconds=Yi,nn.asSeconds=Ni,nn.asMinutes=zi,nn.asHours=ji,nn.asDays=Hi,nn.asWeeks=Ii,nn.asMonths=Ri,nn.asQuarters=Wi,nn.asYears=qi,nn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*F(this._months/12):NaN},nn._bubble=function(){var e,t,i,n,s,a=this._milliseconds,r=this._days,o=this._months,c=this._data;return a>=0&&r>=0&&o>=0||a<=0&&r<=0&&o<=0||(a+=864e5*Li(Oi(o)+r),r=0,o=0),c.milliseconds=a%1e3,e=U(a/1e3),c.seconds=e%60,t=U(e/60),c.minutes=t%60,i=U(t/60),c.hours=i%24,r+=U(i/24),o+=s=U(Ci(r)),r-=Li(Oi(s)),n=U(o/12),o%=12,c.days=r,c.months=o,c.years=n,this},nn.clone=function(){return Vt(this)},nn.get=function(e){return e=I(e),this.isValid()?this[e+"s"]():NaN},nn.milliseconds=Ui,nn.seconds=Fi,nn.minutes=Vi,nn.hours=$i,nn.days=Gi,nn.weeks=function(){return U(this.days()/7)},nn.months=Ki,nn.years=Xi,nn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var i,n,s=!1,a=Zi;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(s=e),"object"==typeof t&&(a=Object.assign({},Zi,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=function(e,t,i,n){var s=Vt(e).abs(),a=Ji(s.as("s")),r=Ji(s.as("m")),o=Ji(s.as("h")),c=Ji(s.as("d")),l=Ji(s.as("M")),u=Ji(s.as("w")),d=Ji(s.as("y")),h=a<=i.ss&&["s",a]||a<i.s&&["ss",a]||r<=1&&["m"]||r<i.m&&["mm",r]||o<=1&&["h"]||o<i.h&&["hh",o]||c<=1&&["d"]||c<i.d&&["dd",c];return null!=i.w&&(h=h||u<=1&&["w"]||u<i.w&&["ww",u]),(h=h||l<=1&&["M"]||l<i.M&&["MM",l]||d<=1&&["y"]||["yy",d])[2]=t,h[3]=+e>0,h[4]=n,function(e,t,i,n,s){return s.relativeTime(t||1,!!i,e,n)}.apply(null,h)}(this,!s,a,i=this.localeData()),s&&(n=i.pastFuture(+this,n)),i.postformat(n)},nn.toISOString=tn,nn.toString=tn,nn.toJSON=tn,nn.locale=ii,nn.localeData=si,nn.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",tn),nn.lang=ni,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),he("x",ce),he("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,i){i._d=new Date(F(e))}),i.version="2.29.4",e=Lt,i.fn=wi,i.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},i.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=h,i.unix=function(e){return Lt(1e3*e)},i.months=function(e,t){return Ei(e,t,"months")},i.isDate=l,i.locale=ut,i.invalid=m,i.duration=Vt,i.isMoment=b,i.weekdays=function(e,t,i){return Ti(e,t,i,"weekdays")},i.parseZone=function(){return Lt.apply(null,arguments).parseZone()},i.localeData=ht,i.isDuration=zt,i.monthsShort=function(e,t){return Ei(e,t,"monthsShort")},i.weekdaysMin=function(e,t,i){return Ti(e,t,i,"weekdaysMin")},i.defineLocale=dt,i.updateLocale=function(e,t){if(null!=t){var i,n,s=st;null!=at[e]&&null!=at[e].parentLocale?at[e].set(T(at[e]._config,t)):(null!=(n=lt(e))&&(s=n._config),t=T(s,t),null==n&&(t.abbr=e),(i=new D(t)).parentLocale=at[e],at[e]=i),ut(e)}else null!=at[e]&&(null!=at[e].parentLocale?(at[e]=at[e].parentLocale,e===ut()&&ut(e)):null!=at[e]&&delete at[e]);return at[e]},i.locales=function(){return M(at)},i.weekdaysShort=function(e,t,i){return Ti(e,t,i,"weekdaysShort")},i.normalizeUnits=I,i.relativeTimeRounding=function(e){return void 0===e?Ji:"function"==typeof e&&(Ji=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==Zi[e]&&(void 0===t?Zi[e]:(Zi[e]=t,"s"===e&&(Zi.ss=t-1),!0))},i.calendarFormat=function(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},i.prototype=wi,i.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:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";return e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var i=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(i="a"),e+i},week:{dow:1,doy:4}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),n=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],s=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function a(e){return e>1&&e<5&&1!=~~(e/10)}function r(e,t,i,n){var s=e+" ";switch(i){case"s":return t||n?"pár sekund":"pár sekundami";case"ss":return t||n?s+(a(e)?"sekundy":"sekund"):s+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?s+(a(e)?"minuty":"minut"):s+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?s+(a(e)?"hodiny":"hodin"):s+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?s+(a(e)?"dny":"dní"):s+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?s+(a(e)?"měsíce":"měsíců"):s+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?s+(a(e)?"roky":"let"):s+"lety"}}return e.defineLocale("cs",{months:t,monthsShort:i,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";return e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";function t(e,t,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[i][0]:s[i][1]}return e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;return e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),i=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function n(e,n,s,a){var r="";switch(s){case"s":return a?"muutaman sekunnin":"muutama sekunti";case"ss":r=a?"sekunnin":"sekuntia";break;case"m":return a?"minuutin":"minuutti";case"mm":r=a?"minuutin":"minuuttia";break;case"h":return a?"tunnin":"tunti";case"hh":r=a?"tunnin":"tuntia";break;case"d":return a?"päivän":"päivä";case"dd":r=a?"päivän":"päivää";break;case"M":return a?"kuukauden":"kuukausi";case"MM":r=a?"kuukauden":"kuukautta";break;case"y":return a?"vuoden":"vuosi";case"yy":r=a?"vuoden":"vuotta"}return r=function(e,n){return e<10?n?i[e]:t[e]:e}(e,a)+" "+r}return e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];return e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdhui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";return e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function i(e,t,i,n){var s=e;switch(i){case"s":return n||t?"néhány másodperc":"néhány másodperce";case"ss":return s+(n||t)?" másodperc":" másodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return s+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" óra":" órája");case"hh":return s+(n||t?" óra":" órája");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return s+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" hónap":" hónapja");case"MM":return s+(n||t?" hónap":" hónapja");case"y":return"egy"+(n||t?" év":" éve");case"yy":return s+(n||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}return e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,i){return e<12?!0===i?"de":"DE":!0===i?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],s=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;return e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),n=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function s(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function a(e,t,i){var n=e+" ";switch(i){case"ss":return n+(s(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return n+(s(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(s(e)?"godziny":"godzin");case"ww":return n+(s(e)?"tygodnie":"tygodni");case"MM":return n+(s(e)?"miesiące":"miesięcy");case"yy":return n+(s(e)?"lata":"lat")}}return e.defineLocale("pl",{months:function(e,n){return e?/D MMMM/.test(n)?i[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:a,m:a,mm:a,h:a,hh:a,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:a,M:"miesiąc",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";return e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";function t(e,t,i){var n,s;return"m"===i?t?"минута":"минуту":e+" "+(n=+e,s={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:асасаасов",dd:ень_дня_дней",ww:еделя_недели_недель",MM:есяц_месяцаесяцев",yy:"год_годает"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2])}var i=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];return e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:оскресенье_понедельник_вторник_средаетверг_пятница_суббота".split("_"),format:оскресенье_понедельник_вторник_средуетверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:с_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:с_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,w:"неделя",ww:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,i){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";return e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t?":a":2===t?":a":":e")},week:{dow:1,doy:4}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};return e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,i){return e<12?i?"öö":"ÖÖ":i?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,i){switch(i){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";return e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,i){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}),function(e,t){"use strict";"object"==typeof module&&module.exports?module.exports=t(require("moment")):"function"==typeof define&&define.amd?define(["moment"],t):t(e.moment)}(this,function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,i={},n={},s={},a={},r={};e&&"string"==typeof e.version||L("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var o=e.version.split("."),c=+o[0],l=+o[1];function u(e){return e>96?e-87:e>64?e-29:e-48}function d(e){var t=0,i=e.split("."),n=i[0],s=i[1]||"",a=1,r=0,o=1;for(45===e.charCodeAt(0)&&(t=1,o=-1);t<n.length;t++)r=60*r+u(n.charCodeAt(t));for(t=0;t<s.length;t++)a/=60,r+=u(s.charCodeAt(t))*a;return r*o}function h(e){for(var t=0;t<e.length;t++)e[t]=d(e[t])}function f(e,t){var i,n=[];for(i=0;i<t.length;i++)n[i]=e[t[i]];return n}function p(e){var t=e.split("|"),i=t[2].split(" "),n=t[3].split(""),s=t[4].split(" ");return h(i),h(n),h(s),function(e,t){for(var i=0;i<t;i++)e[i]=Math.round((e[i-1]||0)+6e4*e[i]);e[t-1]=1/0}(s,n.length),{name:t[0],abbrs:f(t[1].split(" "),n),offsets:f(i,n),untils:s,population:0|t[5]}}function m(e){e&&this._set(p(e))}function g(e,t){this.name=e,this.zones=t}function _(e){var t=e.toTimeString(),i=t.match(/\([a-z ]+\)/i);"GMT"===(i=i&&i[0]?(i=i[0].match(/[A-Z]/g))?i.join(""):void 0:(i=t.match(/[A-Z]{3,5}/g))?i[0]:void 0)&&(i=void 0),this.at=+e,this.abbr=i,this.offset=e.getTimezoneOffset()}function y(e){this.zone=e,this.offsetScore=0,this.abbrScore=0}function v(e,t){for(var i,n;n=6e4*((t.at-e.at)/12e4|0);)(i=new _(new Date(e.at+n))).offset===e.offset?e=i:t=i;return e}function b(e,t){return e.offsetScore!==t.offsetScore?e.offsetScore-t.offsetScore:e.abbrScore!==t.abbrScore?e.abbrScore-t.abbrScore:e.zone.population!==t.zone.population?t.zone.population-e.zone.population:t.zone.name.localeCompare(e.zone.name)}function A(e,t){var i,n;for(h(t),i=0;i<t.length;i++)n=t[i],r[n]=r[n]||{},r[n][e]=!0}function w(e){var t,i,n,s=e.length,o={},c=[];for(t=0;t<s;t++)for(i in n=r[e[t].offset]||{})n.hasOwnProperty(i)&&(o[i]=!0);for(t in o)o.hasOwnProperty(t)&&c.push(a[t]);return c}function M(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e&&e.length>3){var t=a[k(e)];if(t)return t;L("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}var i,n,s,r=function(){var e,t,i,n=(new Date).getFullYear()-2,s=new _(new Date(n,0,1)),a=[s];for(i=1;i<48;i++)(t=new _(new Date(n,i,1))).offset!==s.offset&&(e=v(s,t),a.push(e),a.push(new _(new Date(e.at+6e4)))),s=t;for(i=0;i<4;i++)a.push(new _(new Date(n+i,0,1))),a.push(new _(new Date(n+i,6,1)));return a}(),o=r.length,c=w(r),l=[];for(n=0;n<c.length;n++){for(i=new y(E(c[n]),o),s=0;s<o;s++)i.scoreOffsetAt(r[s]);l.push(i)}return l.sort(b),l.length>0?l[0].zone.name:void 0}function k(e){return(e||"").toLowerCase().replace(/\//g,"_")}function S(e){var t,n,s,r;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)r=k(n=(s=e[t].split("|"))[0]),i[r]=e[t],a[r]=n,A(r,s[2].split(" "))}function E(e,t){e=k(e);var s,r=i[e];return r instanceof m?r:"string"==typeof r?(r=new m(r),i[e]=r,r):n[e]&&t!==E&&(s=E(n[e],E))?((r=i[e]=new m)._set(s),r.name=a[e],r):null}function T(e){var t,i,s,r;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)s=k((i=e[t].split("|"))[0]),r=k(i[1]),n[s]=r,a[s]=i[0],n[r]=s,a[r]=i[1]}function D(e){S(e.zones),T(e.links),function(e){var t,i,n,a;if(e&&e.length)for(t=0;t<e.length;t++)i=(a=e[t].split("|"))[0].toUpperCase(),n=a[1].split(" "),s[i]=new g(i,n)}(e.countries),C.dataVersion=e.version}function x(e){var t="X"===e._f||"x"===e._f;return!(!e._a||void 0!==e._tzm||t)}function L(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}function C(t){var i=Array.prototype.slice.call(arguments,0,-1),n=arguments[arguments.length-1],s=E(n),a=e.utc.apply(null,i);return s&&!e.isMoment(t)&&x(a)&&a.add(s.parse(a),"minutes"),a.tz(n),a}(c<2||2===c&&l<6)&&L("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),m.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,i=+e,n=this.untils;for(t=0;t<n.length;t++)if(i<n[t])return t},countries:function(){var e=this.name;return Object.keys(s).filter(function(t){return-1!==s[t].zones.indexOf(e)})},parse:function(e){var t,i,n,s,a=+e,r=this.offsets,o=this.untils,c=o.length-1;for(s=0;s<c;s++)if(t=r[s],i=r[s+1],n=r[s?s-1:s],t<i&&C.moveAmbiguousForward?t=i:t>n&&C.moveInvalidForward&&(t=n),a<o[s]-6e4*t)return r[s];return r[c]},abbr:function(e){return this.abbrs[this._index(e)]},offset:function(e){return L("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(e)]},utcOffset:function(e){return this.offsets[this._index(e)]}},y.prototype.scoreOffsetAt=function(e){this.offsetScore+=Math.abs(this.zone.utcOffset(e.at)-e.offset),this.zone.abbr(e.at).replace(/[^A-Z]/g,"")!==e.abbr&&this.abbrScore++},C.version="0.5.42",C.dataVersion="",C._zones=i,C._links=n,C._names=a,C._countries=s,C.add=S,C.link=T,C.load=D,C.zone=E,C.zoneExists=function e(t){return e.didShowError||(e.didShowError=!0,L("moment.tz.zoneExists('"+t+"') has been deprecated in favor of !moment.tz.zone('"+t+"')")),!!E(t)},C.guess=function(e){return t&&!e||(t=M()),t},C.names=function(){var e,t=[];for(e in a)a.hasOwnProperty(e)&&(i[e]||i[n[e]])&&a[e]&&t.push(a[e]);return t.sort()},C.Zone=m,C.unpack=p,C.unpackBase60=d,C.needsOffset=x,C.moveInvalidForward=!0,C.moveAmbiguousForward=!1,C.countries=function(){return Object.keys(s)},C.zonesForCountry=function(e,t){var i;if(i=(i=e).toUpperCase(),!(e=s[i]||null))return null;var n=e.zones.sort();return t?n.map(function(e){return{name:e,offset:E(e).utcOffset(new Date)}}):n};var O,P=e.fn;function Y(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function N(e){return function(){return this._z=null,e.apply(this,arguments)}}e.tz=C,e.defaultZone=null,e.updateOffset=function(t,i){var n,s=e.defaultZone;if(void 0===t._z&&(s&&x(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(s.parse(t),"minutes")),t._z=s),t._z)if(n=t._z.utcOffset(t),Math.abs(n)<16&&(n/=60),void 0!==t.utcOffset){var a=t._z;t.utcOffset(-n,i),t._z=a}else t.zone(n,i)},P.tz=function(t,i){if(t){if("string"!=typeof t)throw new Error("Time zone name must be a string, got "+t+" ["+typeof t+"]");return this._z=E(t),this._z?e.updateOffset(this,i):L("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},P.zoneName=Y(P.zoneName),P.zoneAbbr=Y(P.zoneAbbr),P.utc=N(P.utc),P.local=N(P.local),P.utcOffset=(O=P.utcOffset,function(){return arguments.length>0&&(this._z=null),O.apply(this,arguments)}),e.tz.setDefault=function(t){return(c<2||2===c&&l<9)&&L("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?E(t):null,e};var z=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(z)?(z.push("_z"),z.push("_a")):z&&(z._z=null),D({version:"2023b",zones:["Africa/Abidjan|GMT|0|0||48e5","Africa/Nairobi|EAT|-30|0||47e5","Africa/Algiers|CET|-10|0||26e5","Africa/Lagos|WAT|-10|0||17e6","Africa/Khartoum|CAT|-20|0||51e5","Africa/Cairo|EET EEST|-20 -30|0101010101010|29NW0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0|15e6","Africa/Casablanca|+00 +01|0 -10|010101010101010101010101|1Vq20 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5","Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|11e6","Africa/Johannesburg|SAST|-20|0||84e5","Africa/Juba|EAT CAT|-30 -20|01|24nx0|","Africa/Sao_Tome|GMT WAT|0 -10|010|1UQN0 2q00|","Africa/Tripoli|EET|-20|0||11e5","America/Adak|HST HDT|a0 90|01010101010101010101010|1VkA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|326","America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1Vkz0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|30e4","America/Santo_Domingo|AST|40|0||29e5","America/Fortaleza|-03|30|0||34e5","America/Asuncion|-03 -04|30 40|01010101010101010101010|1Vq30 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0|28e5","America/Panama|EST|50|0||15e5","America/Mexico_City|CST CDT|60 50|01010101010|1VsU0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|20e6","America/Managua|CST|60|0||22e5","America/Caracas|-04|40|0||29e5","America/Lima|-05|50|0||11e6","America/Denver|MST MDT|70 60|01010101010101010101010|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|26e5","America/Campo_Grande|-03 -04|30 40|0101|1Vc30 1HB0 FX0|77e4","America/Chicago|CST CDT|60 50|01010101010101010101010|1Vkw0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|92e5","America/Chihuahua|MST MDT CST|70 60 60|01010101012|1VsV0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|81e4","America/Ciudad_Juarez|MST MDT CST|70 60 60|010101010120101010101010|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 cm0 EP0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|","America/Phoenix|MST|70|0||42e5","America/Whitehorse|PST PDT MST|80 70 70|0101012|1Vky0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/New_York|EST EDT|50 40|01010101010101010101010|1Vkv0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|21e6","America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1Vky0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|15e6","America/Halifax|AST ADT|40 30|01010101010101010101010|1Vku0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|39e4","America/Godthab|-03 -02 -01|30 20 10|0101010101012121212121|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 2so0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|17e3","America/Grand_Turk|AST EDT EST|40 40 50|01212121212121212121212|1Vkv0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|37e2","America/Havana|CST CDT|50 40|01010101010101010101010|1Vkt0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0|21e5","America/Mazatlan|MST MDT|70 60|01010101010|1VsV0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|44e4","America/Metlakatla|AKST AKDT PST|90 80 80|012010101010101010101010|1Vkz0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|14e2","America/Miquelon|-03 -02|30 20|01010101010101010101010|1Vkt0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|61e2","America/Noronha|-02|20|0||30e2","America/Ojinaga|MST MDT CST CDT|70 60 60 50|01010101012323232323232|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 Rc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|23e3","America/Santiago|-03 -04|30 40|01010101010101010101010|1VJD0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|62e5","America/Sao_Paulo|-02 -03|20 30|0101|1Vc20 1HB0 FX0|20e6","Atlantic/Azores|-01 +00|10 0|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e4","America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1Vktu 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|11e4","Antarctica/Casey|+11 +08|-b0 -80|0101010|1Vkh0 1o30 14k0 1kr0 12l0 1o01|10","Asia/Bangkok|+07|-70|0||15e6","Asia/Vladivostok|+10|-a0|0||60e4","Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1VsE0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|40e5","Asia/Tashkent|+05|-50|0||23e5","Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|14e5","Europe/Istanbul|+03|-30|0||13e6","Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|40","Asia/Dhaka|+06|-60|0||16e6","Asia/Amman|EET EEST +03|-20 -30 -30|01010101012|1VrW0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00|25e5","Asia/Kamchatka|+12|-c0|0||18e4","Asia/Dubai|+04|-40|0||39e5","Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1VpW0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 19d0 1gn0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|22e5","Asia/Kuala_Lumpur|+08|-80|0||71e5","Asia/Kolkata|IST|-5u|0||15e6","Asia/Chita|+09|-90|0||33e4","Asia/Shanghai|CST|-80|0||23e6","Asia/Colombo|+0530|-5u|0||22e5","Asia/Damascus|EET EEST +03|-20 -30 -30|01010101012|1VrW0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|26e5","Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|35e5","Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1Vpz0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 XA0 1qp0 1cN0 1cL0 17d0 1in0 14p0 1lb0 11B0 1nX0 11B0 1qL0 WN0 1qL0|18e5","Asia/Hong_Kong|HKT|-80|0||73e5","Asia/Jakarta|WIB|-70|0||31e6","Asia/Jayapura|WIT|-90|0||26e4","Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1Vpc0 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0|81e4","Asia/Kabul|+0430|-4u|0||46e5","Asia/Karachi|PKT|-50|0||24e6","Asia/Kathmandu|+0545|-5J|0||12e5","Asia/Sakhalin|+11|-b0|0||58e4","Asia/Makassar|WITA|-80|0||15e5","Asia/Manila|PST|-80|0||24e6","Asia/Pyongyang|KST KST|-8u -90|01|1VGf0|29e5","Asia/Qyzylorda|+06 +05|-60 -50|01|1Xei0|73e4","Asia/Rangoon|+0630|-6u|0||48e5","Asia/Seoul|KST|-90|0||23e6","Asia/Tehran|+0330 +0430|-3u -4u|01010101010|1VoIu 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0|14e6","Asia/Tokyo|JST|-90|0||38e6","Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|27e5","Atlantic/Cape_Verde|-01|10|0||50e4","Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1VsEu 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST|-a0|0||20e5","Australia/Darwin|ACST|-9u|0||12e4","Australia/Eucla|+0845|-8J|0||368","Australia/Lord_Howe|+11 +1030|-b0 -au|01010101010101010101010|1VsD0 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu|347","Australia/Perth|AWST|-80|0||18e5","Pacific/Easter|-05 -06|50 60|01010101010101010101010|1VJD0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|30e2","Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|12e5","Etc/GMT-1|+01|-10|0||","Pacific/Tongatapu|+13|-d0|0||75e3","Pacific/Kiritimati|+14|-e0|0||51e2","Etc/GMT-2|+02|-20|0||","Pacific/Tahiti|-10|a0|0||18e4","Pacific/Niue|-11|b0|0||12e2","Etc/GMT+12|-12|c0|0||","Pacific/Galapagos|-06|60|0||25e3","Etc/GMT+7|-07|70|0||","Pacific/Pitcairn|-08|80|0||56","Pacific/Gambier|-09|90|0||125","Etc/UTC|UTC|0|0||","Europe/London|GMT BST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|10e6","Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1Vq00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|67e4","Europe/Moscow|MSK|-30|0||16e6","Europe/Volgograd|MSK +04|-30 -40|010|1WQL0 5gn0|10e5","Pacific/Honolulu|HST|a0|0||37e4","MET|MET MEST|-10 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|","Pacific/Chatham|+1345 +1245|-dJ -cJ|01010101010101010101010|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|+14 +13|-e0 -d0|01010101|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Fiji|+13 +12|-d0 -c0|01010101|1UVO0 1VA0 s00 20o0 pc0 2hc0 bc0|88e4","Pacific/Guam|ChST|-a0|0||17e4","Pacific/Marquesas|-0930|9u|0||86e2","Pacific/Pago_Pago|SST|b0|0||37e2","Pacific/Norfolk|+11 +12|-b0 -c0|01010101010101010101|219P0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|25e4"],links:["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Bissau","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Monrovia","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|America/Danmarkshavn","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Etc/GMT","Africa/Abidjan|Etc/GMT+0","Africa/Abidjan|Etc/GMT-0","Africa/Abidjan|Etc/GMT0","Africa/Abidjan|Etc/Greenwich","Africa/Abidjan|GMT","Africa/Abidjan|GMT+0","Africa/Abidjan|GMT-0","Africa/Abidjan|GMT0","Africa/Abidjan|Greenwich","Africa/Abidjan|Iceland","Africa/Algiers|Africa/Tunis","Africa/Cairo|Egypt","Africa/Casablanca|Africa/El_Aaiun","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Khartoum|Africa/Blantyre","Africa/Khartoum|Africa/Bujumbura","Africa/Khartoum|Africa/Gaborone","Africa/Khartoum|Africa/Harare","Africa/Khartoum|Africa/Kigali","Africa/Khartoum|Africa/Lubumbashi","Africa/Khartoum|Africa/Lusaka","Africa/Khartoum|Africa/Maputo","Africa/Khartoum|Africa/Windhoek","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Ndjamena","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Europe/Kaliningrad","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|America/Juneau","America/Anchorage|America/Nome","America/Anchorage|America/Sitka","America/Anchorage|America/Yakutat","America/Anchorage|US/Alaska","America/Campo_Grande|America/Cuiaba","America/Caracas|America/Boa_Vista","America/Caracas|America/Guyana","America/Caracas|America/La_Paz","America/Caracas|America/Manaus","America/Caracas|America/Porto_Velho","America/Caracas|Brazil/West","America/Caracas|Etc/GMT+4","America/Chicago|America/Indiana/Knox","America/Chicago|America/Indiana/Tell_City","America/Chicago|America/Knox_IN","America/Chicago|America/Matamoros","America/Chicago|America/Menominee","America/Chicago|America/North_Dakota/Beulah","America/Chicago|America/North_Dakota/Center","America/Chicago|America/North_Dakota/New_Salem","America/Chicago|America/Rainy_River","America/Chicago|America/Rankin_Inlet","America/Chicago|America/Resolute","America/Chicago|America/Winnipeg","America/Chicago|CST6CDT","America/Chicago|Canada/Central","America/Chicago|US/Central","America/Chicago|US/Indiana-Starke","America/Denver|America/Boise","America/Denver|America/Cambridge_Bay","America/Denver|America/Edmonton","America/Denver|America/Inuvik","America/Denver|America/Shiprock","America/Denver|America/Yellowknife","America/Denver|Canada/Mountain","America/Denver|MST7MDT","America/Denver|Navajo","America/Denver|US/Mountain","America/Fortaleza|America/Araguaina","America/Fortaleza|America/Argentina/Buenos_Aires","America/Fortaleza|America/Argentina/Catamarca","America/Fortaleza|America/Argentina/ComodRivadavia","America/Fortaleza|America/Argentina/Cordoba","America/Fortaleza|America/Argentina/Jujuy","America/Fortaleza|America/Argentina/La_Rioja","America/Fortaleza|America/Argentina/Mendoza","America/Fortaleza|America/Argentina/Rio_Gallegos","America/Fortaleza|America/Argentina/Salta","America/Fortaleza|America/Argentina/San_Juan","America/Fortaleza|America/Argentina/San_Luis","America/Fortaleza|America/Argentina/Tucuman","America/Fortaleza|America/Argentina/Ushuaia","America/Fortaleza|America/Bahia","America/Fortaleza|America/Belem","America/Fortaleza|America/Buenos_Aires","America/Fortaleza|America/Catamarca","America/Fortaleza|America/Cayenne","America/Fortaleza|America/Cordoba","America/Fortaleza|America/Jujuy","America/Fortaleza|America/Maceio","America/Fortaleza|America/Mendoza","America/Fortaleza|America/Montevideo","America/Fortaleza|America/Paramaribo","America/Fortaleza|America/Punta_Arenas","America/Fortaleza|America/Recife","America/Fortaleza|America/Rosario","America/Fortaleza|America/Santarem","America/Fortaleza|Antarctica/Palmer","America/Fortaleza|Antarctica/Rothera","America/Fortaleza|Atlantic/Stanley","America/Fortaleza|Etc/GMT+3","America/Godthab|America/Nuuk","America/Halifax|America/Glace_Bay","America/Halifax|America/Goose_Bay","America/Halifax|America/Moncton","America/Halifax|America/Thule","America/Halifax|Atlantic/Bermuda","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Lima|America/Bogota","America/Lima|America/Eirunepe","America/Lima|America/Guayaquil","America/Lima|America/Porto_Acre","America/Lima|America/Rio_Branco","America/Lima|Brazil/Acre","America/Lima|Etc/GMT+5","America/Los_Angeles|America/Ensenada","America/Los_Angeles|America/Santa_Isabel","America/Los_Angeles|America/Tijuana","America/Los_Angeles|America/Vancouver","America/Los_Angeles|Canada/Pacific","America/Los_Angeles|Mexico/BajaNorte","America/Los_Angeles|PST8PDT","America/Los_Angeles|US/Pacific","America/Managua|America/Belize","America/Managua|America/Costa_Rica","America/Managua|America/El_Salvador","America/Managua|America/Guatemala","America/Managua|America/Regina","America/Managua|America/Swift_Current","America/Managua|America/Tegucigalpa","America/Managua|Canada/Saskatchewan","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|America/Bahia_Banderas","America/Mexico_City|America/Merida","America/Mexico_City|America/Monterrey","America/Mexico_City|Mexico/General","America/New_York|America/Detroit","America/New_York|America/Fort_Wayne","America/New_York|America/Indiana/Indianapolis","America/New_York|America/Indiana/Marengo","America/New_York|America/Indiana/Petersburg","America/New_York|America/Indiana/Vevay","America/New_York|America/Indiana/Vincennes","America/New_York|America/Indiana/Winamac","America/New_York|America/Indianapolis","America/New_York|America/Iqaluit","America/New_York|America/Kentucky/Louisville","America/New_York|America/Kentucky/Monticello","America/New_York|America/Louisville","America/New_York|America/Montreal","America/New_York|America/Nassau","America/New_York|America/Nipigon","America/New_York|America/Pangnirtung","America/New_York|America/Port-au-Prince","America/New_York|America/Thunder_Bay","America/New_York|America/Toronto","America/New_York|Canada/Eastern","America/New_York|EST5EDT","America/New_York|US/East-Indiana","America/New_York|US/Eastern","America/New_York|US/Michigan","America/Noronha|Atlantic/South_Georgia","America/Noronha|Brazil/DeNoronha","America/Noronha|Etc/GMT+2","America/Panama|America/Atikokan","America/Panama|America/Cancun","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Panama|America/Jamaica","America/Panama|EST","America/Panama|Jamaica","America/Phoenix|America/Creston","America/Phoenix|America/Dawson_Creek","America/Phoenix|America/Fort_Nelson","America/Phoenix|America/Hermosillo","America/Phoenix|MST","America/Phoenix|US/Arizona","America/Santiago|Chile/Continental","America/Santo_Domingo|America/Anguilla","America/Santo_Domingo|America/Antigua","America/Santo_Domingo|America/Aruba","America/Santo_Domingo|America/Barbados","America/Santo_Domingo|America/Blanc-Sablon","America/Santo_Domingo|America/Curacao","America/Santo_Domingo|America/Dominica","America/Santo_Domingo|America/Grenada","America/Santo_Domingo|America/Guadeloupe","America/Santo_Domingo|America/Kralendijk","America/Santo_Domingo|America/Lower_Princes","America/Santo_Domingo|America/Marigot","America/Santo_Domingo|America/Martinique","America/Santo_Domingo|America/Montserrat","America/Santo_Domingo|America/Port_of_Spain","America/Santo_Domingo|America/Puerto_Rico","America/Santo_Domingo|America/St_Barthelemy","America/Santo_Domingo|America/St_Kitts","America/Santo_Domingo|America/St_Lucia","America/Santo_Domingo|America/St_Thomas","America/Santo_Domingo|America/St_Vincent","America/Santo_Domingo|America/Tortola","America/Santo_Domingo|America/Virgin","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Whitehorse|America/Dawson","America/Whitehorse|Canada/Yukon","Asia/Bangkok|Antarctica/Davis","Asia/Bangkok|Asia/Barnaul","Asia/Bangkok|Asia/Ho_Chi_Minh","Asia/Bangkok|Asia/Hovd","Asia/Bangkok|Asia/Krasnoyarsk","Asia/Bangkok|Asia/Novokuznetsk","Asia/Bangkok|Asia/Novosibirsk","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Saigon","Asia/Bangkok|Asia/Tomsk","Asia/Bangkok|Asia/Vientiane","Asia/Bangkok|Etc/GMT-7","Asia/Bangkok|Indian/Christmas","Asia/Chita|Asia/Dili","Asia/Chita|Asia/Khandyga","Asia/Chita|Asia/Yakutsk","Asia/Chita|Etc/GMT-9","Asia/Chita|Pacific/Palau","Asia/Dhaka|Antarctica/Vostok","Asia/Dhaka|Asia/Almaty","Asia/Dhaka|Asia/Bishkek","Asia/Dhaka|Asia/Dacca","Asia/Dhaka|Asia/Kashgar","Asia/Dhaka|Asia/Omsk","Asia/Dhaka|Asia/Qostanay","Asia/Dhaka|Asia/Thimbu","Asia/Dhaka|Asia/Thimphu","Asia/Dhaka|Asia/Urumqi","Asia/Dhaka|Etc/GMT-6","Asia/Dhaka|Indian/Chagos","Asia/Dubai|Asia/Baku","Asia/Dubai|Asia/Muscat","Asia/Dubai|Asia/Tbilisi","Asia/Dubai|Asia/Yerevan","Asia/Dubai|Etc/GMT-4","Asia/Dubai|Europe/Astrakhan","Asia/Dubai|Europe/Samara","Asia/Dubai|Europe/Saratov","Asia/Dubai|Europe/Ulyanovsk","Asia/Dubai|Indian/Mahe","Asia/Dubai|Indian/Mauritius","Asia/Dubai|Indian/Reunion","Asia/Gaza|Asia/Hebron","Asia/Hong_Kong|Hongkong","Asia/Jakarta|Asia/Pontianak","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kamchatka|Asia/Anadyr","Asia/Kamchatka|Etc/GMT-12","Asia/Kamchatka|Kwajalein","Asia/Kamchatka|Pacific/Funafuti","Asia/Kamchatka|Pacific/Kwajalein","Asia/Kamchatka|Pacific/Majuro","Asia/Kamchatka|Pacific/Nauru","Asia/Kamchatka|Pacific/Tarawa","Asia/Kamchatka|Pacific/Wake","Asia/Kamchatka|Pacific/Wallis","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Brunei","Asia/Kuala_Lumpur|Asia/Choibalsan","Asia/Kuala_Lumpur|Asia/Irkutsk","Asia/Kuala_Lumpur|Asia/Kuching","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Asia/Ulaanbaatar","Asia/Kuala_Lumpur|Asia/Ulan_Bator","Asia/Kuala_Lumpur|Etc/GMT-8","Asia/Kuala_Lumpur|Singapore","Asia/Makassar|Asia/Ujung_Pandang","Asia/Rangoon|Asia/Yangon","Asia/Rangoon|Indian/Cocos","Asia/Sakhalin|Asia/Magadan","Asia/Sakhalin|Asia/Srednekolymsk","Asia/Sakhalin|Etc/GMT-11","Asia/Sakhalin|Pacific/Bougainville","Asia/Sakhalin|Pacific/Efate","Asia/Sakhalin|Pacific/Guadalcanal","Asia/Sakhalin|Pacific/Kosrae","Asia/Sakhalin|Pacific/Noumea","Asia/Sakhalin|Pacific/Pohnpei","Asia/Sakhalin|Pacific/Ponape","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|Asia/Macao","Asia/Shanghai|Asia/Macau","Asia/Shanghai|Asia/Taipei","Asia/Shanghai|PRC","Asia/Shanghai|ROC","Asia/Tashkent|Antarctica/Mawson","Asia/Tashkent|Asia/Aqtau","Asia/Tashkent|Asia/Aqtobe","Asia/Tashkent|Asia/Ashgabat","Asia/Tashkent|Asia/Ashkhabad","Asia/Tashkent|Asia/Atyrau","Asia/Tashkent|Asia/Dushanbe","Asia/Tashkent|Asia/Oral","Asia/Tashkent|Asia/Samarkand","Asia/Tashkent|Asia/Yekaterinburg","Asia/Tashkent|Etc/GMT-5","Asia/Tashkent|Indian/Kerguelen","Asia/Tashkent|Indian/Maldives","Asia/Tehran|Iran","Asia/Tokyo|Japan","Asia/Vladivostok|Antarctica/DumontDUrville","Asia/Vladivostok|Asia/Ust-Nera","Asia/Vladivostok|Etc/GMT-10","Asia/Vladivostok|Pacific/Chuuk","Asia/Vladivostok|Pacific/Port_Moresby","Asia/Vladivostok|Pacific/Truk","Asia/Vladivostok|Pacific/Yap","Atlantic/Azores|America/Scoresbysund","Atlantic/Cape_Verde|Etc/GMT+1","Australia/Adelaide|Australia/Broken_Hill","Australia/Adelaide|Australia/South","Australia/Adelaide|Australia/Yancowinna","Australia/Brisbane|Australia/Lindeman","Australia/Brisbane|Australia/Queensland","Australia/Darwin|Australia/North","Australia/Lord_Howe|Australia/LHI","Australia/Perth|Australia/West","Australia/Sydney|Antarctica/Macquarie","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/Currie","Australia/Sydney|Australia/Hobart","Australia/Sydney|Australia/Melbourne","Australia/Sydney|Australia/NSW","Australia/Sydney|Australia/Tasmania","Australia/Sydney|Australia/Victoria","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Athens|Asia/Famagusta","Europe/Athens|Asia/Nicosia","Europe/Athens|EET","Europe/Athens|Europe/Bucharest","Europe/Athens|Europe/Helsinki","Europe/Athens|Europe/Kiev","Europe/Athens|Europe/Kyiv","Europe/Athens|Europe/Mariehamn","Europe/Athens|Europe/Nicosia","Europe/Athens|Europe/Riga","Europe/Athens|Europe/Sofia","Europe/Athens|Europe/Tallinn","Europe/Athens|Europe/Uzhgorod","Europe/Athens|Europe/Vilnius","Europe/Athens|Europe/Zaporozhye","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Istanbul|Antarctica/Syowa","Europe/Istanbul|Asia/Aden","Europe/Istanbul|Asia/Baghdad","Europe/Istanbul|Asia/Bahrain","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Asia/Kuwait","Europe/Istanbul|Asia/Qatar","Europe/Istanbul|Asia/Riyadh","Europe/Istanbul|Etc/GMT-3","Europe/Istanbul|Europe/Minsk","Europe/Istanbul|Turkey","Europe/Lisbon|Atlantic/Canary","Europe/Lisbon|Atlantic/Faeroe","Europe/Lisbon|Atlantic/Faroe","Europe/Lisbon|Atlantic/Madeira","Europe/Lisbon|Portugal","Europe/Lisbon|WET","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|Europe/Kirov","Europe/Moscow|Europe/Simferopol","Europe/Moscow|W-SU","Europe/Paris|Africa/Ceuta","Europe/Paris|Arctic/Longyearbyen","Europe/Paris|Atlantic/Jan_Mayen","Europe/Paris|CET","Europe/Paris|Europe/Amsterdam","Europe/Paris|Europe/Andorra","Europe/Paris|Europe/Belgrade","Europe/Paris|Europe/Berlin","Europe/Paris|Europe/Bratislava","Europe/Paris|Europe/Brussels","Europe/Paris|Europe/Budapest","Europe/Paris|Europe/Busingen","Europe/Paris|Europe/Copenhagen","Europe/Paris|Europe/Gibraltar","Europe/Paris|Europe/Ljubljana","Europe/Paris|Europe/Luxembourg","Europe/Paris|Europe/Madrid","Europe/Paris|Europe/Malta","Europe/Paris|Europe/Monaco","Europe/Paris|Europe/Oslo","Europe/Paris|Europe/Podgorica","Europe/Paris|Europe/Prague","Europe/Paris|Europe/Rome","Europe/Paris|Europe/San_Marino","Europe/Paris|Europe/Sarajevo","Europe/Paris|Europe/Skopje","Europe/Paris|Europe/Stockholm","Europe/Paris|Europe/Tirane","Europe/Paris|Europe/Vaduz","Europe/Paris|Europe/Vatican","Europe/Paris|Europe/Vienna","Europe/Paris|Europe/Warsaw","Europe/Paris|Europe/Zagreb","Europe/Paris|Europe/Zurich","Europe/Paris|Poland","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Galapagos|Etc/GMT+6","Pacific/Gambier|Etc/GMT+9","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|HST","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kiritimati|Etc/GMT-14","Pacific/Niue|Etc/GMT+11","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pitcairn|Etc/GMT+8","Pacific/Tahiti|Etc/GMT+10","Pacific/Tahiti|Pacific/Rarotonga","Pacific/Tongatapu|Etc/GMT-13","Pacific/Tongatapu|Pacific/Enderbury","Pacific/Tongatapu|Pacific/Fakaofo","Pacific/Tongatapu|Pacific/Kanton"],countries:["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Puerto_Rico America/Antigua","AI|America/Puerto_Rico America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Troll Asia/Urumqi Pacific/Auckland Pacific/Port_Moresby Asia/Riyadh Antarctica/McMurdo Antarctica/DumontDUrville Antarctica/Syowa Antarctica/Vostok","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Puerto_Rico America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Puerto_Rico America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Kuching Asia/Brunei","BO|America/La_Paz","BQ|America/Puerto_Rico America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Toronto America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Toronto America/Iqaluit America/Winnipeg America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Inuvik America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver America/Panama America/Puerto_Rico America/Phoenix America/Blanc-Sablon America/Atikokan America/Creston","CC|Asia/Yangon Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Puerto_Rico America/Curacao","CX|Asia/Bangkok Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Berlin Europe/Copenhagen","DM|America/Puerto_Rico America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Kosrae Pacific/Port_Moresby Pacific/Guadalcanal Pacific/Chuuk Pacific/Pohnpei","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Puerto_Rico America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Abidjan Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Puerto_Rico America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Africa/Abidjan Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Kanton Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Puerto_Rico America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Puerto_Rico America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Brussels Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Paris Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Puerto_Rico America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Tarawa Pacific/Kwajalein Pacific/Majuro","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Puerto_Rico America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Chihuahua America/Ciudad_Juarez America/Ojinaga America/Mazatlan America/Bahia_Banderas America/Hermosillo America/Tijuana","MY|Asia/Kuching Asia/Singapore Asia/Kuala_Lumpur","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Brussels Europe/Amsterdam","NO|Europe/Berlin Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Asia/Dubai Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Asia/Dubai Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Berlin Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Berlin Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Puerto_Rico America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Asia/Dubai Indian/Maldives Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Puerto_Rico America/Port_of_Spain","TV|Pacific/Tarawa Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kyiv","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Tarawa Pacific/Midway Pacific/Wake","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Puerto_Rico America/St_Vincent","VE|America/Caracas","VG|America/Puerto_Rico America/Tortola","VI|America/Puerto_Rico America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Tarawa Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}),e}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@popperjs/core")):"function"==typeof define&&define.amd?define(["exports","@popperjs/core"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).tempusDominus={},e.Popper)}(this,function(e,t){"use strict";var i;e.Unit=void 0,(i=e.Unit||(e.Unit={})).seconds="seconds",i.minutes="minutes",i.hours="hours",i.date="date",i.month="month",i.year="year";const n={month:"2-digit",day:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0},s={hour:"2-digit",hour12:!1},a=e=>{switch(e){case"date":return{dateStyle:"short"};case"month":return{month:"numeric",year:"numeric"};case"year":return{year:"numeric"}}};class r extends Date{constructor(){super(...arguments),this.locale="default",this.nonLeapLadder=[0,31,59,90,120,151,181,212,243,273,304,334],this.leapLadder=[0,31,60,91,121,152,182,213,244,274,305,335]}setLocale(e){return this.locale=e,this}static convert(e,t="default"){if(!e)throw new Error("A date is required");return new r(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).setLocale(t)}get clone(){return new r(this.year,this.month,this.date,this.hours,this.minutes,this.seconds,this.getMilliseconds()).setLocale(this.locale)}startOf(t,i=0){if(void 0===this[t])throw new Error(`Unit '${t}' is not valid`);switch(t){case"seconds":this.setMilliseconds(0);break;case"minutes":this.setSeconds(0,0);break;case"hours":this.setMinutes(0,0,0);break;case"date":this.setHours(0,0,0,0);break;case"weekDay":if(this.startOf(e.Unit.date),this.weekDay===i)break;let n=this.weekDay;0!==i&&0===this.weekDay&&(n=8-i),this.manipulate(i-n,e.Unit.date);break;case"month":this.startOf(e.Unit.date),this.setDate(1);break;case"year":this.startOf(e.Unit.date),this.setMonth(0,1)}return this}endOf(t,i=0){if(void 0===this[t])throw new Error(`Unit '${t}' is not valid`);switch(t){case"seconds":this.setMilliseconds(999);break;case"minutes":this.setSeconds(59,999);break;case"hours":this.setMinutes(59,59,999);break;case"date":this.setHours(23,59,59,999);break;case"weekDay":this.endOf(e.Unit.date),this.manipulate(6+i-this.weekDay,e.Unit.date);break;case"month":this.endOf(e.Unit.date),this.manipulate(1,e.Unit.month),this.setDate(0);break;case"year":this.endOf(e.Unit.date),this.manipulate(1,e.Unit.year),this.setDate(0)}return this}manipulate(e,t){if(void 0===this[t])throw new Error(`Unit '${t}' is not valid`);return this[t]+=e,this}format(e,t=this.locale){return new Intl.DateTimeFormat(t,e).format(this)}isBefore(e,t){if(!t)return this.valueOf()<e.valueOf();if(void 0===this[t])throw new Error(`Unit '${t}' is not valid`);return this.clone.startOf(t).valueOf()<e.clone.startOf(t).valueOf()}isAfter(e,t){if(!t)return this.valueOf()>e.valueOf();if(void 0===this[t])throw new Error(`Unit '${t}' is not valid`);return this.clone.startOf(t).valueOf()>e.clone.startOf(t).valueOf()}isSame(e,t){if(!t)return this.valueOf()===e.valueOf();if(void 0===this[t])throw new Error(`Unit '${t}' is not valid`);return e=r.convert(e),this.clone.startOf(t).valueOf()===e.startOf(t).valueOf()}isBetween(e,t,i,n="()"){if(i&&void 0===this[i])throw new Error(`Unit '${i}' is not valid`);const s="("===n[0],a=")"===n[1];return(s?this.isAfter(e,i):!this.isBefore(e,i))&&(a?this.isBefore(t,i):!this.isAfter(t,i))||(s?this.isBefore(e,i):!this.isAfter(e,i))&&(a?this.isAfter(t,i):!this.isBefore(t,i))}parts(e=this.locale,t={dateStyle:"full",timeStyle:"long"}){const i={};return new Intl.DateTimeFormat(e,t).formatToParts(this).filter(e=>"literal"!==e.type).forEach(e=>i[e.type]=e.value),i}get seconds(){return this.getSeconds()}set seconds(e){this.setSeconds(e)}get secondsFormatted(){return this.parts(void 0,n).second}get minutes(){return this.getMinutes()}set minutes(e){this.setMinutes(e)}get minutesFormatted(){return this.parts(void 0,n).minute}get hours(){return this.getHours()}set hours(e){this.setHours(e)}get hoursFormatted(){let e=this.parts(void 0,s).hour;return"24"===e&&(e="00"),e}get twelveHoursFormatted(){return this.parts(void 0,n).hour}meridiem(e=this.locale){var t;return null===(t=new Intl.DateTimeFormat(e,{hour:"numeric",hour12:!0}).formatToParts(this).find(e=>"dayPeriod"===e.type))||void 0===t?void 0:t.value}get date(){return this.getDate()}set date(e){this.setDate(e)}get dateFormatted(){return this.parts(void 0,n).day}get weekDay(){return this.getDay()}get month(){return this.getMonth()}set month(e){const t=new Date(this.year,e+1);t.setDate(0);const i=t.getDate();this.date>i&&(this.date=i),this.setMonth(e)}get monthFormatted(){return this.parts(void 0,n).month}get year(){return this.getFullYear()}set year(e){this.setFullYear(e)}get week(){const e=this.computeOrdinal(),t=this.getUTCDay();let i=Math.floor((e-t+10)/7);return i<1?i=this.weeksInWeekYear(this.year-1):i>this.weeksInWeekYear(this.year)&&(i=1),i}weeksInWeekYear(e){const t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,i=e-1,n=(i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400))%7;return 4===t||3===n?53:52}get isLeapYear(){return this.year%4==0&&(this.year%100!=0||this.year%400==0)}computeOrdinal(){return this.date+(this.isLeapYear?this.leapLadder:this.nonLeapLadder)[this.month]}}class o extends Error{}const c="tempus-dominus",l="td";class u{}u.NAME=c,u.version="6.0.0-beta7",u.dataKey=l,u.events=new class{constructor(){this.key=`.${l}`,this.change=`change${this.key}`,this.update=`update${this.key}`,this.error=`error${this.key}`,this.show=`show${this.key}`,this.hide=`hide${this.key}`,this.blur=`blur${this.key}`,this.focus=`focus${this.key}`,this.keyup=`keyup${this.key}`,this.keydown=`keydown${this.key}`}},u.css=new class{constructor(){this.widget=`${c}-widget`,this.calendarHeader="calendar-header",this.switch="picker-switch",this.toolbar="toolbar",this.noHighlight="no-highlight",this.sideBySide="timepicker-sbs",this.previous="previous",this.next="next",this.disabled="disabled",this.old="old",this.new="new",this.active="active",this.dateContainer="date-container",this.decadesContainer=`${this.dateContainer}-decades`,this.decade="decade",this.yearsContainer=`${this.dateContainer}-years`,this.year="year",this.monthsContainer=`${this.dateContainer}-months`,this.month="month",this.daysContainer=`${this.dateContainer}-days`,this.day="day",this.calendarWeeks="cw",this.dayOfTheWeek="dow",this.today="today",this.weekend="weekend",this.timeContainer="time-container",this.separator="separator",this.clockContainer=`${this.timeContainer}-clock`,this.hourContainer=`${this.timeContainer}-hour`,this.minuteContainer=`${this.timeContainer}-minute`,this.secondContainer=`${this.timeContainer}-second`,this.hour="hour",this.minute="minute",this.second="second",this.toggleMeridiem="toggleMeridiem",this.show="show",this.collapsing="td-collapsing",this.collapse="td-collapse",this.inline="inline"}},u.errorMessages=new class{constructor(){this.base="TD:",this.failedToSetInvalidDate="Failed to set invalid date",this.failedToParseInput="Failed parse input field"}unexpectedOption(e){const t=new o(`${this.base} Unexpected option: ${e} does not match a known option.`);throw t.code=1,t}unexpectedOptions(e){const t=new o(`${this.base}: ${e.join(", ")}`);throw t.code=1,t}unexpectedOptionValue(e,t,i){const n=new o(`${this.base} Unexpected option value: ${e} does not accept a value of "${t}". Valid values are: ${i.join(", ")}`);throw n.code=2,n}typeMismatch(e,t,i){const n=new o(`${this.base} Mismatch types: ${e} has a type of ${t} instead of the required ${i}`);throw n.code=3,n}numbersOutOfRage(e,t,i){const n=new o(`${this.base} ${e} expected an array of number between ${t} and ${i}.`);throw n.code=4,n}failedToParseDate(e,t,i=!1){const n=new o(`${this.base} Could not correctly parse "${t}" to a date for ${e}.`);if(n.code=5,!i)throw n;console.warn(n)}mustProvideElement(){const e=new o(`${this.base} No element was provided.`);throw e.code=6,e}subscribeMismatch(){const e=new o(`${this.base} The subscribed events does not match the number of callbacks`);throw e.code=7,e}conflictingConfiguration(e){const t=new o(`${this.base} A configuration value conflicts with another rule. ${e}`);throw t.code=8,t}dateString(){console.warn(`${this.base} Using a string for date options is not recommended unless you specify an ISO string.`)}throwError(e){const t=new o(`${this.base} ${e}`);throw t.code=9,t}};class d{constructor(){this.cache=new Map}locate(e){const t=this.cache.get(e);if(t)return t;const i=new e;return this.cache.set(e,i),i}}const h=()=>{f=new d};let f;const p=[{name:"calendar",className:u.css.daysContainer,unit:e.Unit.month,step:1},{name:"months",className:u.css.monthsContainer,unit:e.Unit.year,step:1},{name:"years",className:u.css.yearsContainer,unit:e.Unit.year,step:10},{name:"decades",className:u.css.decadesContainer,unit:e.Unit.year,step:100}];class m{constructor(){this.viewDate=new r,this._currentCalendarViewMode=0,this.minimumCalendarViewMode=0,this.currentView="calendar"}get currentCalendarViewMode(){return this._currentCalendarViewMode}set currentCalendarViewMode(e){this._currentCalendarViewMode=e,this.currentView=p[e].name}refreshCurrentView(){this.currentView=p[this.currentCalendarViewMode].name}}class g{constructor(){this.optionsStore=f.locate(m)}isValid(t,i){var n;if(this.optionsStore.options.restrictions.disabledDates.length>0&&this._isInDisabledDates(t))return!1;if(this.optionsStore.options.restrictions.enabledDates.length>0&&!this._isInEnabledDates(t))return!1;if(i!==e.Unit.month&&i!==e.Unit.year&&(null===(n=this.optionsStore.options.restrictions.daysOfWeekDisabled)||void 0===n?void 0:n.length)>0&&-1!==this.optionsStore.options.restrictions.daysOfWeekDisabled.indexOf(t.weekDay))return!1;if(this.optionsStore.options.restrictions.minDate&&t.isBefore(this.optionsStore.options.restrictions.minDate,i))return!1;if(this.optionsStore.options.restrictions.maxDate&&t.isAfter(this.optionsStore.options.restrictions.maxDate,i))return!1;if(i===e.Unit.hours||i===e.Unit.minutes||i===e.Unit.seconds){if(this.optionsStore.options.restrictions.disabledHours.length>0&&this._isInDisabledHours(t))return!1;if(this.optionsStore.options.restrictions.enabledHours.length>0&&!this._isInEnabledHours(t))return!1;if(this.optionsStore.options.restrictions.disabledTimeIntervals.length>0)for(let e of this.optionsStore.options.restrictions.disabledTimeIntervals)if(t.isBetween(e.from,e.to))return!1}return!0}_isInDisabledDates(t){if(!this.optionsStore.options.restrictions.disabledDates||0===this.optionsStore.options.restrictions.disabledDates.length)return!1;const i=t.format(a(e.Unit.date));return this.optionsStore.options.restrictions.disabledDates.map(t=>t.format(a(e.Unit.date))).find(e=>e===i)}_isInEnabledDates(t){if(!this.optionsStore.options.restrictions.enabledDates||0===this.optionsStore.options.restrictions.enabledDates.length)return!0;const i=t.format(a(e.Unit.date));return this.optionsStore.options.restrictions.enabledDates.map(t=>t.format(a(e.Unit.date))).find(e=>e===i)}_isInDisabledHours(e){if(!this.optionsStore.options.restrictions.disabledHours||0===this.optionsStore.options.restrictions.disabledHours.length)return!1;const t=e.hours;return this.optionsStore.options.restrictions.disabledHours.find(e=>e===t)}_isInEnabledHours(e){if(!this.optionsStore.options.restrictions.enabledHours||0===this.optionsStore.options.restrictions.enabledHours.length)return!0;const t=e.hours;return this.optionsStore.options.restrictions.enabledHours.find(e=>e===t)}}class _{constructor(){this.subscribers=[]}subscribe(e){return this.subscribers.push(e),this.unsubscribe.bind(this,this.subscribers.length-1)}unsubscribe(e){this.subscribers.splice(e,1)}emit(e){this.subscribers.forEach(t=>{t(e)})}destory(){this.subscribers=null,this.subscribers=[]}}class y{constructor(){this.triggerEvent=new _,this.viewUpdate=new _,this.updateDisplay=new _,this.action=new _}destory(){this.triggerEvent.destory(),this.viewUpdate.destory(),this.updateDisplay.destory(),this.action.destory()}}const v={restrictions:{minDate:void 0,maxDate:void 0,disabledDates:[],enabledDates:[],daysOfWeekDisabled:[],disabledTimeIntervals:[],disabledHours:[],enabledHours:[]},display:{icons:{type:"icons",time:"fa-solid fa-clock",date:"fa-solid fa-calendar",up:"fa-solid fa-arrow-up",down:"fa-solid fa-arrow-down",previous:"fa-solid fa-chevron-left",next:"fa-solid fa-chevron-right",today:"fa-solid fa-calendar-check",clear:"fa-solid fa-trash",close:"fa-solid fa-xmark"},sideBySide:!1,calendarWeeks:!1,viewMode:"calendar",toolbarPlacement:"bottom",keepOpen:!1,buttons:{today:!1,clear:!1,close:!1},components:{calendar:!0,date:!0,month:!0,year:!0,decades:!0,clock:!0,hours:!0,minutes:!0,seconds:!1,useTwentyfourHour:!1},inline:!1},stepping:1,useCurrent:!0,defaultDate:void 0,localization:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",previousMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",previousYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",previousDecade:"Previous Decade",nextDecade:"Next Decade",previousCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",toggleMeridiem:"Toggle Meridiem",selectTime:"Select Time",selectDate:"Select Date",dayViewHeaderFormat:{month:"long",year:"2-digit"},locale:"default",startOfTheWeek:0},keepInvalid:!1,debug:!1,allowInputToggle:!1,viewDate:new r,multipleDates:!1,multipleDatesSeparator:"; ",promptTimeOnDateChange:!1,promptTimeOnDateChangeTransitionDelay:200,meta:{},container:void 0};class b{static deepCopy(e){const t={};return Object.keys(e).forEach(i=>{const n=e[i];t[i]=n,"object"!=typeof n||n instanceof HTMLElement||n instanceof Element||n instanceof Date||Array.isArray(n)||(t[i]=b.deepCopy(n))}),t}static objectPath(e,t){return"."===e.charAt(0)&&(e=e.slice(1)),e.split(".").reduce((e,t)=>b.isValue(e)||b.isValue(e[t])?e[t]:void 0,t)}static spread(e,t,i,n="",s=""){const a=Object.keys(e).filter(e=>!Object.keys(t).includes(e));if(a.length>0){const e=b.getFlattenDefaultOptions(),t=a.map(t=>{let i=`"${n}.${t}" in not a known option.`,s=e.find(e=>e.includes(t));return s&&(i+=`Did you mean "${s}"?`),i});u.errorMessages.unexpectedOptions(t)}Object.keys(t).forEach(t=>{"."===(n+=`.${t}`).charAt(0)&&(n=n.slice(1));const a=b.objectPath(n,v);let r=typeof e[t],o=typeof a,c=e[t];if(!e.hasOwnProperty(t)){if("undefined"===o||0===(null==c?void 0:c.length)&&Array.isArray(a))return i[t]=a,void(n=n.substring(0,n.lastIndexOf(`.${t}`)));e[t]=a,c=e[t]}i[t]=b.processKey(t,c,r,o,n,s),"object"!=typeof a||a instanceof Date||b.ignoreProperties.includes(t)?n=n.substring(0,n.lastIndexOf(`.${t}`)):(Array.isArray(e[t])||b.spread(e[t],a,i[t],n,s),n=n.substring(0,n.lastIndexOf(`.${t}`)))})}static processKey(e,t,i,n,s,a){switch(e){case"defaultDate":{const e=this.dateConversion(t,"defaultDate");if(void 0!==e)return e.setLocale(a),e;u.errorMessages.typeMismatch("defaultDate",i,"DateTime or Date");break}case"viewDate":{const e=this.dateConversion(t,"viewDate");if(void 0!==e)return e.setLocale(a),e;u.errorMessages.typeMismatch("viewDate",i,"DateTime or Date");break}case"minDate":{if(void 0===t)return t;const e=this.dateConversion(t,"restrictions.minDate");if(void 0!==e)return e.setLocale(a),e;u.errorMessages.typeMismatch("restrictions.minDate",i,"DateTime or Date");break}case"maxDate":{if(void 0===t)return t;const e=this.dateConversion(t,"restrictions.maxDate");if(void 0!==e)return e.setLocale(a),e;u.errorMessages.typeMismatch("restrictions.maxDate",i,"DateTime or Date");break}case"disabledHours":return void 0===t?[]:(this._typeCheckNumberArray("restrictions.disabledHours",t,i),t.filter(e=>e<0||e>24).length>0&&u.errorMessages.numbersOutOfRage("restrictions.disabledHours",0,23),t);case"enabledHours":return void 0===t?[]:(this._typeCheckNumberArray("restrictions.enabledHours",t,i),t.filter(e=>e<0||e>24).length>0&&u.errorMessages.numbersOutOfRage("restrictions.enabledHours",0,23),t);case"daysOfWeekDisabled":return void 0===t?[]:(this._typeCheckNumberArray("restrictions.daysOfWeekDisabled",t,i),t.filter(e=>e<0||e>6).length>0&&u.errorMessages.numbersOutOfRage("restrictions.daysOfWeekDisabled",0,6),t);case"enabledDates":return void 0===t?[]:(this._typeCheckDateArray("restrictions.enabledDates",t,i,a),t);case"disabledDates":return void 0===t?[]:(this._typeCheckDateArray("restrictions.disabledDates",t,i,a),t);case"disabledTimeIntervals":if(void 0===t)return[];Array.isArray(t)||u.errorMessages.typeMismatch(e,i,"array of { from: DateTime|Date, to: DateTime|Date }");const r=t;for(let t=0;t<r.length;t++)Object.keys(r[t]).forEach(i=>{const n=`${e}[${t}].${i}`;let s=r[t][i];const o=this.dateConversion(s,n);o||u.errorMessages.typeMismatch(n,typeof s,"DateTime or Date"),o.setLocale(a),r[t][i]=o});return r;case"toolbarPlacement":case"type":case"viewMode":const o={toolbarPlacement:["top","bottom","default"],type:["icons","sprites"],viewMode:["clock","calendar","months","years","decades"]}[e];return o.includes(t)||u.errorMessages.unexpectedOptionValue(s.substring(1),t,o),t;case"meta":case"dayViewHeaderFormat":return t;case"container":return t&&!(t instanceof HTMLElement||t instanceof Element||(null==t?void 0:t.appendChild))&&u.errorMessages.typeMismatch(s.substring(1),typeof t,"HTMLElement"),t;default:switch(n){case"boolean":return"true"===t||!0===t;case"number":return+t;case"string":return t.toString();case"object":return{};case"function":return t;default:u.errorMessages.typeMismatch(s,i,n)}}}static _mergeOptions(e,t){var i;const n={},s="default"!==t.localization.locale?t.localization.locale:(null===(i=null==e?void 0:e.localization)||void 0===i?void 0:i.locale)||"default";return b.spread(e,t,n,"",s),n}static _dataToOptions(e,t){const i=JSON.parse(JSON.stringify(e.dataset));if((null==i?void 0:i.tdTargetInput)&&delete i.tdTargetInput,(null==i?void 0:i.tdTargetToggle)&&delete i.tdTargetToggle,!i||0===Object.keys(i).length||i.constructor!==DOMStringMap)return t;let n={};const s=e=>{const t={};return Object.keys(e).forEach(e=>{t[e.toLowerCase()]=e}),t},a=(e,t,i,n)=>{const r=s(i)[e[t].toLowerCase()],o={};return void 0===r?o:(i[r].constructor===Object?(t++,o[r]=a(e,t,i[r],n)):o[r]=n,o)},r=s(t);return Object.keys(i).filter(e=>e.startsWith(u.dataKey)).map(e=>e.substring(2)).forEach(e=>{let s=r[e.toLowerCase()];if(e.includes("_")){const o=e.split("_");void 0!==(s=r[o[0].toLowerCase()])&&t[s].constructor===Object&&(n[s]=a(o,1,t[s],i[`td${e}`]))}else void 0!==s&&(n[s]=i[`td${e}`])}),this._mergeOptions(n,t)}static _dateTypeCheck(e){if(e.constructor.name===r.name)return e;if(e.constructor.name===Date.name)return r.convert(e);if("string"==typeof e){const t=new r(e);return"null"===JSON.stringify(t)?null:t}return null}static _typeCheckDateArray(e,t,i,n="default"){Array.isArray(t)||u.errorMessages.typeMismatch(e,i,"array of DateTime or Date");for(let i=0;i<t.length;i++){let s=t[i];const a=this.dateConversion(s,e);a||u.errorMessages.typeMismatch(e,typeof s,"DateTime or Date"),a.setLocale(n),t[i]=a}}static _typeCheckNumberArray(e,t,i){Array.isArray(t)&&!t.find(e=>"number"!=typeof e)||u.errorMessages.typeMismatch(e,i,"array of numbers")}static dateConversion(e,t){"string"==typeof e&&"input"!==t&&u.errorMessages.dateString();const i=this._dateTypeCheck(e);return i||u.errorMessages.failedToParseDate(t,e,"input"===t),i}static getFlattenDefaultOptions(){if(this._flattenDefaults)return this._flattenDefaults;const e=(t,i=[])=>Array.isArray(t)?[]:Object(t)===t?Object.entries(t).flatMap(([t,n])=>e(n,[...i,t])):i.join(".");return this._flattenDefaults=e(v),this._flattenDefaults}static _validateConflicts(e){!e.display.sideBySide||e.display.components.clock&&(e.display.components.hours||e.display.components.minutes||e.display.components.seconds)||u.errorMessages.conflictingConfiguration("Cannot use side by side mode without the clock components"),e.restrictions.minDate&&e.restrictions.maxDate&&(e.restrictions.minDate.isAfter(e.restrictions.maxDate)&&u.errorMessages.conflictingConfiguration("minDate is after maxDate"),e.restrictions.maxDate.isBefore(e.restrictions.minDate)&&u.errorMessages.conflictingConfiguration("maxDate is before minDate"))}}b.ignoreProperties=["meta","dayViewHeaderFormat","container"],b.isValue=(e=>null!=e);class A{constructor(){this._dates=[],this.optionsStore=f.locate(m),this.validation=f.locate(g),this._eventEmitters=f.locate(y)}get picked(){return this._dates}get lastPicked(){return this._dates[this.lastPickedIndex]}get lastPickedIndex(){return 0===this._dates.length?0:this._dates.length-1}formatInput(e){const t=this.optionsStore.options.display.components;return e?e.format({year:t.calendar&&t.year?"numeric":void 0,month:t.calendar&&t.month?"2-digit":void 0,day:t.calendar&&t.date?"2-digit":void 0,hour:t.clock&&t.hours?t.useTwentyfourHour?"2-digit":"numeric":void 0,minute:t.clock&&t.minutes?"2-digit":void 0,second:t.clock&&t.seconds?"2-digit":void 0,hour12:!t.useTwentyfourHour}):""}parseInput(e){return b.dateConversion(e,"input")}setFromInput(e,t){if(!e)return void this.setValue(void 0,t);const i=this.parseInput(e);i&&(i.setLocale(this.optionsStore.options.localization.locale),this.setValue(i,t))}add(e){this._dates.push(e)}isPicked(e,t){if(!t)return void 0!==this._dates.find(t=>t===e);const i=a(t);let n=e.format(i);return void 0!==this._dates.map(e=>e.format(i)).find(e=>e===n)}pickedIndex(e,t){if(!t)return this._dates.indexOf(e);const i=a(t);let n=e.format(i);return this._dates.map(e=>e.format(i)).indexOf(n)}clear(){this.optionsStore.unset=!0,this._eventEmitters.triggerEvent.emit({type:u.events.change,date:void 0,oldDate:this.lastPicked,isClear:!0,isValid:!0}),this._dates=[]}static getStartEndYear(e,t){const i=e/10,n=Math.floor(t/e)*e;return[n,n+9*i,Math.floor(t/i)*i]}setValue(e,t){const i=void 0===t,n=!e&&i;let s=this.optionsStore.unset?null:this._dates[t];!s&&!this.optionsStore.unset&&i&&n&&(s=this.lastPicked);const a=()=>{if(!this.optionsStore.input)return;let t=this.formatInput(e);this.optionsStore.options.multipleDates&&(t=this._dates.map(e=>this.formatInput(e)).join(this.optionsStore.options.multipleDatesSeparator)),this.optionsStore.input.value!=t&&(this.optionsStore.input.value=t)};if(e&&(null==s?void 0:s.isSame(e)))a();else{if(!e)return!this.optionsStore.options.multipleDates||1===this._dates.length||n?(this.optionsStore.unset=!0,this._dates=[]):this._dates.splice(t,1),a(),this._eventEmitters.triggerEvent.emit({type:u.events.change,date:void 0,oldDate:s,isClear:n,isValid:!0}),void this._eventEmitters.updateDisplay.emit("all");if(t=t||0,e=e.clone,1!==this.optionsStore.options.stepping&&(e.minutes=Math.round(e.minutes/this.optionsStore.options.stepping)*this.optionsStore.options.stepping,e.seconds=0),this.validation.isValid(e))return this._dates[t]=e,this.optionsStore.viewDate=e.clone,a(),this.optionsStore.unset=!1,this._eventEmitters.updateDisplay.emit("all"),void this._eventEmitters.triggerEvent.emit({type:u.events.change,date:e,oldDate:s,isClear:n,isValid:!0});this.optionsStore.options.keepInvalid&&(this._dates[t]=e,this.optionsStore.viewDate=e.clone,a(),this._eventEmitters.triggerEvent.emit({type:u.events.change,date:e,oldDate:s,isClear:n,isValid:!1})),this._eventEmitters.triggerEvent.emit({type:u.events.error,reason:u.errorMessages.failedToSetInvalidDate,date:e,oldDate:s})}}}var w;!function(e){e.next="next",e.previous="previous",e.changeCalendarView="changeCalendarView",e.selectMonth="selectMonth",e.selectYear="selectYear",e.selectDecade="selectDecade",e.selectDay="selectDay",e.selectHour="selectHour",e.selectMinute="selectMinute",e.selectSecond="selectSecond",e.incrementHours="incrementHours",e.incrementMinutes="incrementMinutes",e.incrementSeconds="incrementSeconds",e.decrementHours="decrementHours",e.decrementMinutes="decrementMinutes",e.decrementSeconds="decrementSeconds",e.toggleMeridiem="toggleMeridiem",e.togglePicker="togglePicker",e.showClock="showClock",e.showHours="showHours",e.showMinutes="showMinutes",e.showSeconds="showSeconds",e.clear="clear",e.close="close",e.today="today"}(w||(w={}));var M=w;class k{constructor(){this.optionsStore=f.locate(m),this.dates=f.locate(A),this.validation=f.locate(g)}getPicker(){const e=document.createElement("div");if(e.classList.add(u.css.daysContainer),e.append(...this._daysOfTheWeek()),this.optionsStore.options.display.calendarWeeks){const t=document.createElement("div");t.classList.add(u.css.calendarWeeks,u.css.noHighlight),e.appendChild(t)}for(let t=0;t<42;t++){if(0!==t&&t%7==0&&this.optionsStore.options.display.calendarWeeks){const t=document.createElement("div");t.classList.add(u.css.calendarWeeks,u.css.noHighlight),e.appendChild(t)}const i=document.createElement("div");i.setAttribute("data-action",M.selectDay),e.appendChild(i)}return e}_update(t,i){const n=t.getElementsByClassName(u.css.daysContainer)[0],[s,a,o]=n.parentElement.getElementsByClassName(u.css.calendarHeader)[0].getElementsByTagName("div");a.setAttribute(u.css.daysContainer,this.optionsStore.viewDate.format(this.optionsStore.options.localization.dayViewHeaderFormat)),this.validation.isValid(this.optionsStore.viewDate.clone.manipulate(-1,e.Unit.month),e.Unit.month)?s.classList.remove(u.css.disabled):s.classList.add(u.css.disabled),this.validation.isValid(this.optionsStore.viewDate.clone.manipulate(1,e.Unit.month),e.Unit.month)?o.classList.remove(u.css.disabled):o.classList.add(u.css.disabled);let c=this.optionsStore.viewDate.clone.startOf(e.Unit.month).startOf("weekDay",this.optionsStore.options.localization.startOfTheWeek).manipulate(12,e.Unit.hours);n.querySelectorAll(`[data-action="${M.selectDay}"], .${u.css.calendarWeeks}`).forEach(t=>{if(this.optionsStore.options.display.calendarWeeks&&t.classList.contains(u.css.calendarWeeks)){if("#"===t.innerText)return;return void(t.innerText=`${c.week}`)}let n=[];n.push(u.css.day),c.isBefore(this.optionsStore.viewDate,e.Unit.month)&&n.push(u.css.old),c.isAfter(this.optionsStore.viewDate,e.Unit.month)&&n.push(u.css.new),!this.optionsStore.unset&&this.dates.isPicked(c,e.Unit.date)&&n.push(u.css.active),this.validation.isValid(c,e.Unit.date)||n.push(u.css.disabled),c.isSame(new r,e.Unit.date)&&n.push(u.css.today),0!==c.weekDay&&6!==c.weekDay||n.push(u.css.weekend),i(e.Unit.date,c,n,t),t.classList.remove(...t.classList),t.classList.add(...n),t.setAttribute("data-value",`${c.year}-${c.monthFormatted}-${c.dateFormatted}`),t.setAttribute("data-day",`${c.date}`),t.innerText=c.format({day:"numeric"}),c.manipulate(1,e.Unit.date)})}_daysOfTheWeek(){let t=this.optionsStore.viewDate.clone.startOf("weekDay",this.optionsStore.options.localization.startOfTheWeek).startOf(e.Unit.date);const i=[];if(document.createElement("div"),this.optionsStore.options.display.calendarWeeks){const e=document.createElement("div");e.classList.add(u.css.calendarWeeks,u.css.noHighlight),e.innerText="#",i.push(e)}for(let n=0;n<7;n++){const n=document.createElement("div");n.classList.add(u.css.dayOfTheWeek,u.css.noHighlight),n.innerText=t.format({weekday:"short"}),t.manipulate(1,e.Unit.date),i.push(n)}return i}}class S{constructor(){this.optionsStore=f.locate(m),this.dates=f.locate(A),this.validation=f.locate(g)}getPicker(){const e=document.createElement("div");e.classList.add(u.css.monthsContainer);for(let t=0;t<12;t++){const t=document.createElement("div");t.setAttribute("data-action",M.selectMonth),e.appendChild(t)}return e}_update(t,i){const n=t.getElementsByClassName(u.css.monthsContainer)[0],[s,a,r]=n.parentElement.getElementsByClassName(u.css.calendarHeader)[0].getElementsByTagName("div");a.setAttribute(u.css.monthsContainer,this.optionsStore.viewDate.format({year:"numeric"})),this.validation.isValid(this.optionsStore.viewDate.clone.manipulate(-1,e.Unit.year),e.Unit.year)?s.classList.remove(u.css.disabled):s.classList.add(u.css.disabled),this.validation.isValid(this.optionsStore.viewDate.clone.manipulate(1,e.Unit.year),e.Unit.year)?r.classList.remove(u.css.disabled):r.classList.add(u.css.disabled);let o=this.optionsStore.viewDate.clone.startOf(e.Unit.year);n.querySelectorAll(`[data-action="${M.selectMonth}"]`).forEach((t,n)=>{let s=[];s.push(u.css.month),!this.optionsStore.unset&&this.dates.isPicked(o,e.Unit.month)&&s.push(u.css.active),this.validation.isValid(o,e.Unit.month)||s.push(u.css.disabled),i(e.Unit.month,o,s,t),t.classList.remove(...t.classList),t.classList.add(...s),t.setAttribute("data-value",`${n}`),t.innerText=`${o.format({month:"short"})}`,o.manipulate(1,e.Unit.month)})}}class E{constructor(){this.optionsStore=f.locate(m),this.dates=f.locate(A),this.validation=f.locate(g)}getPicker(){const e=document.createElement("div");e.classList.add(u.css.yearsContainer);for(let t=0;t<12;t++){const t=document.createElement("div");t.setAttribute("data-action",M.selectYear),e.appendChild(t)}return e}_update(t,i){this._startYear=this.optionsStore.viewDate.clone.manipulate(-1,e.Unit.year),this._endYear=this.optionsStore.viewDate.clone.manipulate(10,e.Unit.year);const n=t.getElementsByClassName(u.css.yearsContainer)[0],[s,a,r]=n.parentElement.getElementsByClassName(u.css.calendarHeader)[0].getElementsByTagName("div");a.setAttribute(u.css.yearsContainer,`${this._startYear.format({year:"numeric"})}-${this._endYear.format({year:"numeric"})}`),this.validation.isValid(this._startYear,e.Unit.year)?s.classList.remove(u.css.disabled):s.classList.add(u.css.disabled),this.validation.isValid(this._endYear,e.Unit.year)?r.classList.remove(u.css.disabled):r.classList.add(u.css.disabled);let o=this.optionsStore.viewDate.clone.startOf(e.Unit.year).manipulate(-1,e.Unit.year);n.querySelectorAll(`[data-action="${M.selectYear}"]`).forEach(t=>{let n=[];n.push(u.css.year),!this.optionsStore.unset&&this.dates.isPicked(o,e.Unit.year)&&n.push(u.css.active),this.validation.isValid(o,e.Unit.year)||n.push(u.css.disabled),i(e.Unit.year,o,n,t),t.classList.remove(...t.classList),t.classList.add(...n),t.setAttribute("data-value",`${o.year}`),t.innerText=o.format({year:"numeric"}),o.manipulate(1,e.Unit.year)})}}class T{constructor(){this.optionsStore=f.locate(m),this.dates=f.locate(A),this.validation=f.locate(g)}getPicker(){const e=document.createElement("div");e.classList.add(u.css.decadesContainer);for(let t=0;t<12;t++){const t=document.createElement("div");t.setAttribute("data-action",M.selectDecade),e.appendChild(t)}return e}_update(t,i){const[n,s]=A.getStartEndYear(100,this.optionsStore.viewDate.year);this._startDecade=this.optionsStore.viewDate.clone.startOf(e.Unit.year),this._startDecade.year=n,this._endDecade=this.optionsStore.viewDate.clone.startOf(e.Unit.year),this._endDecade.year=s;const a=t.getElementsByClassName(u.css.decadesContainer)[0],[r,o,c]=a.parentElement.getElementsByClassName(u.css.calendarHeader)[0].getElementsByTagName("div");o.setAttribute(u.css.decadesContainer,`${this._startDecade.format({year:"numeric"})}-${this._endDecade.format({year:"numeric"})}`),this.validation.isValid(this._startDecade,e.Unit.year)?r.classList.remove(u.css.disabled):r.classList.add(u.css.disabled),this.validation.isValid(this._endDecade,e.Unit.year)?c.classList.remove(u.css.disabled):c.classList.add(u.css.disabled);const l=this.dates.picked.map(e=>e.year);a.querySelectorAll(`[data-action="${M.selectDecade}"]`).forEach((t,n)=>{if(0===n)return t.classList.add(u.css.old),this._startDecade.year-10<0?(t.textContent=" ",r.classList.add(u.css.disabled),t.classList.add(u.css.disabled),void t.setAttribute("data-value","")):(t.innerText=this._startDecade.clone.manipulate(-10,e.Unit.year).format({year:"numeric"}),void t.setAttribute("data-value",`${this._startDecade.year}`));let s=[];s.push(u.css.decade);const a=this._startDecade.year,o=this._startDecade.year+9;!this.optionsStore.unset&&l.filter(e=>e>=a&&e<=o).length>0&&s.push(u.css.active),i("decade",this._startDecade,s,t),t.classList.remove(...t.classList),t.classList.add(...s),t.setAttribute("data-value",`${this._startDecade.year}`),t.innerText=`${this._startDecade.format({year:"numeric"})}`,this._startDecade.manipulate(10,e.Unit.year)})}}class D{constructor(){this._gridColumns="",this.optionsStore=f.locate(m),this.dates=f.locate(A),this.validation=f.locate(g)}getPicker(e){const t=document.createElement("div");return t.classList.add(u.css.clockContainer),t.append(...this._grid(e)),t}_update(t){const i=t.getElementsByClassName(u.css.clockContainer)[0],n=(this.dates.lastPicked||this.optionsStore.viewDate).clone;if(i.querySelectorAll(".disabled").forEach(e=>e.classList.remove(u.css.disabled)),this.optionsStore.options.display.components.hours&&(this.validation.isValid(this.optionsStore.viewDate.clone.manipulate(1,e.Unit.hours),e.Unit.hours)||i.querySelector(`[data-action=${M.incrementHours}]`).classList.add(u.css.disabled),this.validation.isValid(this.optionsStore.viewDate.clone.manipulate(-1,e.Unit.hours),e.Unit.hours)||i.querySelector(`[data-action=${M.decrementHours}]`).classList.add(u.css.disabled),i.querySelector(`[data-time-component=${e.Unit.hours}]`).innerText=this.optionsStore.options.display.components.useTwentyfourHour?n.hoursFormatted:n.twelveHoursFormatted),this.optionsStore.options.display.components.minutes&&(this.validation.isValid(this.optionsStore.viewDate.clone.manipulate(1,e.Unit.minutes),e.Unit.minutes)||i.querySelector(`[data-action=${M.incrementMinutes}]`).classList.add(u.css.disabled),this.validation.isValid(this.optionsStore.viewDate.clone.manipulate(-1,e.Unit.minutes),e.Unit.minutes)||i.querySelector(`[data-action=${M.decrementMinutes}]`).classList.add(u.css.disabled),i.querySelector(`[data-time-component=${e.Unit.minutes}]`).innerText=n.minutesFormatted),this.optionsStore.options.display.components.seconds&&(this.validation.isValid(this.optionsStore.viewDate.clone.manipulate(1,e.Unit.seconds),e.Unit.seconds)||i.querySelector(`[data-action=${M.incrementSeconds}]`).classList.add(u.css.disabled),this.validation.isValid(this.optionsStore.viewDate.clone.manipulate(-1,e.Unit.seconds),e.Unit.seconds)||i.querySelector(`[data-action=${M.decrementSeconds}]`).classList.add(u.css.disabled),i.querySelector(`[data-time-component=${e.Unit.seconds}]`).innerText=n.secondsFormatted),!this.optionsStore.options.display.components.useTwentyfourHour){const t=i.querySelector(`[data-action=${M.toggleMeridiem}]`);t.innerText=n.meridiem(),this.validation.isValid(n.clone.manipulate(n.hours>=12?-12:12,e.Unit.hours))?t.classList.remove(u.css.disabled):t.classList.add(u.css.disabled)}i.style.gridTemplateAreas=`"${this._gridColumns}"`}_grid(t){this._gridColumns="";const i=[],n=[],s=[],a=document.createElement("div"),r=t(this.optionsStore.options.display.icons.up),o=t(this.optionsStore.options.display.icons.down);a.classList.add(u.css.separator,u.css.noHighlight);const c=a.cloneNode(!0);c.innerHTML=":";const l=(e=!1)=>e?c.cloneNode(!0):a.cloneNode(!0);if(this.optionsStore.options.display.components.hours){let t=document.createElement("div");t.setAttribute("title",this.optionsStore.options.localization.incrementHour),t.setAttribute("data-action",M.incrementHours),t.appendChild(r.cloneNode(!0)),i.push(t),(t=document.createElement("div")).setAttribute("title",this.optionsStore.options.localization.pickHour),t.setAttribute("data-action",M.showHours),t.setAttribute("data-time-component",e.Unit.hours),n.push(t),(t=document.createElement("div")).setAttribute("title",this.optionsStore.options.localization.decrementHour),t.setAttribute("data-action",M.decrementHours),t.appendChild(o.cloneNode(!0)),s.push(t),this._gridColumns+="a"}if(this.optionsStore.options.display.components.minutes){this._gridColumns+=" a",this.optionsStore.options.display.components.hours&&(i.push(l()),n.push(l(!0)),s.push(l()),this._gridColumns+=" a");let t=document.createElement("div");t.setAttribute("title",this.optionsStore.options.localization.incrementMinute),t.setAttribute("data-action",M.incrementMinutes),t.appendChild(r.cloneNode(!0)),i.push(t),(t=document.createElement("div")).setAttribute("title",this.optionsStore.options.localization.pickMinute),t.setAttribute("data-action",M.showMinutes),t.setAttribute("data-time-component",e.Unit.minutes),n.push(t),(t=document.createElement("div")).setAttribute("title",this.optionsStore.options.localization.decrementMinute),t.setAttribute("data-action",M.decrementMinutes),t.appendChild(o.cloneNode(!0)),s.push(t)}if(this.optionsStore.options.display.components.seconds){this._gridColumns+=" a",this.optionsStore.options.display.components.minutes&&(i.push(l()),n.push(l(!0)),s.push(l()),this._gridColumns+=" a");let t=document.createElement("div");t.setAttribute("title",this.optionsStore.options.localization.incrementSecond),t.setAttribute("data-action",M.incrementSeconds),t.appendChild(r.cloneNode(!0)),i.push(t),(t=document.createElement("div")).setAttribute("title",this.optionsStore.options.localization.pickSecond),t.setAttribute("data-action",M.showSeconds),t.setAttribute("data-time-component",e.Unit.seconds),n.push(t),(t=document.createElement("div")).setAttribute("title",this.optionsStore.options.localization.decrementSecond),t.setAttribute("data-action",M.decrementSeconds),t.appendChild(o.cloneNode(!0)),s.push(t)}if(!this.optionsStore.options.display.components.useTwentyfourHour){this._gridColumns+=" a";let e=l();i.push(e);let t=document.createElement("button");t.setAttribute("title",this.optionsStore.options.localization.toggleMeridiem),t.setAttribute("data-action",M.toggleMeridiem),t.setAttribute("tabindex","-1"),u.css.toggleMeridiem.includes(",")?t.classList.add(...u.css.toggleMeridiem.split(",")):t.classList.add(u.css.toggleMeridiem),(e=document.createElement("div")).classList.add(u.css.noHighlight),e.appendChild(t),n.push(e),e=l(),s.push(e)}return this._gridColumns=this._gridColumns.trim(),[...i,...n,...s]}}class x{constructor(){this.optionsStore=f.locate(m),this.validation=f.locate(g)}getPicker(){const e=document.createElement("div");e.classList.add(u.css.hourContainer);for(let t=0;t<(this.optionsStore.options.display.components.useTwentyfourHour?24:12);t++){const t=document.createElement("div");t.setAttribute("data-action",M.selectHour),e.appendChild(t)}return e}_update(t,i){const n=t.getElementsByClassName(u.css.hourContainer)[0];let s=this.optionsStore.viewDate.clone.startOf(e.Unit.date);n.querySelectorAll(`[data-action="${M.selectHour}"]`).forEach(t=>{let n=[];n.push(u.css.hour),this.validation.isValid(s,e.Unit.hours)||n.push(u.css.disabled),i(e.Unit.hours,s,n,t),t.classList.remove(...t.classList),t.classList.add(...n),t.setAttribute("data-value",`${s.hours}`),t.innerText=this.optionsStore.options.display.components.useTwentyfourHour?s.hoursFormatted:s.twelveHoursFormatted,s.manipulate(1,e.Unit.hours)})}}class L{constructor(){this.optionsStore=f.locate(m),this.validation=f.locate(g)}getPicker(){const e=document.createElement("div");e.classList.add(u.css.minuteContainer);let t=1===this.optionsStore.options.stepping?5:this.optionsStore.options.stepping;for(let i=0;i<60/t;i++){const t=document.createElement("div");t.setAttribute("data-action",M.selectMinute),e.appendChild(t)}return e}_update(t,i){const n=t.getElementsByClassName(u.css.minuteContainer)[0];let s=this.optionsStore.viewDate.clone.startOf(e.Unit.hours),a=1===this.optionsStore.options.stepping?5:this.optionsStore.options.stepping;n.querySelectorAll(`[data-action="${M.selectMinute}"]`).forEach(t=>{let n=[];n.push(u.css.minute),this.validation.isValid(s,e.Unit.minutes)||n.push(u.css.disabled),i(e.Unit.minutes,s,n,t),t.classList.remove(...t.classList),t.classList.add(...n),t.setAttribute("data-value",`${s.minutesFormatted}`),t.innerText=s.minutesFormatted,s.manipulate(a,e.Unit.minutes)})}}class C{constructor(){this.optionsStore=f.locate(m),this.validation=f.locate(g)}getPicker(){const e=document.createElement("div");e.classList.add(u.css.secondContainer);for(let t=0;t<12;t++){const t=document.createElement("div");t.setAttribute("data-action",M.selectSecond),e.appendChild(t)}return e}_update(t,i){const n=t.getElementsByClassName(u.css.secondContainer)[0];let s=this.optionsStore.viewDate.clone.startOf(e.Unit.minutes);n.querySelectorAll(`[data-action="${M.selectSecond}"]`).forEach(t=>{let n=[];n.push(u.css.second),this.validation.isValid(s,e.Unit.seconds)||n.push(u.css.disabled),i(e.Unit.seconds,s,n,t),t.classList.remove(...t.classList),t.classList.add(...n),t.setAttribute("data-value",`${s.seconds}`),t.innerText=s.secondsFormatted,s.manipulate(5,e.Unit.seconds)})}}class O{static toggle(e){e.classList.contains(u.css.show)?this.hide(e):this.show(e)}static show(e){if(e.classList.contains(u.css.collapsing)||e.classList.contains(u.css.show))return;e.style.height="0",e.classList.remove(u.css.collapse),e.classList.add(u.css.collapsing),setTimeout(()=>{e.classList.remove(u.css.collapsing),e.classList.add(u.css.collapse,u.css.show),e.style.height=""},this.getTransitionDurationFromElement(e)),e.style.height=`${e.scrollHeight}px`}static hide(e){if(e.classList.contains(u.css.collapsing)||!e.classList.contains(u.css.show))return;e.style.height=`${e.getBoundingClientRect().height}px`;(e=>e.offsetHeight)(e),e.classList.remove(u.css.collapse,u.css.show),e.classList.add(u.css.collapsing),e.style.height="",setTimeout(()=>{e.classList.remove(u.css.collapsing),e.classList.add(u.css.collapse)},this.getTransitionDurationFromElement(e))}}O.getTransitionDurationFromElement=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const n=Number.parseFloat(t),s=Number.parseFloat(i);return n||s?(t=t.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(i))):0});class P{constructor(){this._isVisible=!1,this._documentClickEvent=(e=>{var t;this.optionsStore.options.debug||window.debug||!this._isVisible||e.composedPath().includes(this.widget)||(null===(t=e.composedPath())||void 0===t?void 0:t.includes(this.optionsStore.element))||this.hide()}),this._actionsClickEvent=(e=>{this._eventEmitters.action.emit({e:e})}),this.optionsStore=f.locate(m),this.validation=f.locate(g),this.dates=f.locate(A),this.dateDisplay=f.locate(k),this.monthDisplay=f.locate(S),this.yearDisplay=f.locate(E),this.decadeDisplay=f.locate(T),this.timeDisplay=f.locate(D),this.hourDisplay=f.locate(x),this.minuteDisplay=f.locate(L),this.secondDisplay=f.locate(C),this._eventEmitters=f.locate(y),this._widget=void 0,this._eventEmitters.updateDisplay.subscribe(e=>{this._update(e)})}get widget(){return this._widget}get isVisible(){return this._isVisible}_update(t){if(this.widget)switch(t){case e.Unit.seconds:this.secondDisplay._update(this.widget,this.paint);break;case e.Unit.minutes:this.minuteDisplay._update(this.widget,this.paint);break;case e.Unit.hours:this.hourDisplay._update(this.widget,this.paint);break;case e.Unit.date:this.dateDisplay._update(this.widget,this.paint);break;case e.Unit.month:this.monthDisplay._update(this.widget,this.paint);break;case e.Unit.year:this.yearDisplay._update(this.widget,this.paint);break;case"clock":if(!this._hasTime)break;this.timeDisplay._update(this.widget),this._update(e.Unit.hours),this._update(e.Unit.minutes),this._update(e.Unit.seconds);break;case"calendar":this._update(e.Unit.date),this._update(e.Unit.year),this._update(e.Unit.month),this.decadeDisplay._update(this.widget,this.paint),this._updateCalendarHeader();break;case"all":this._hasTime&&this._update("clock"),this._hasDate&&this._update("calendar")}}paint(e,t,i,n){}show(){var i,n;if(null==this.widget){if(0==this.dates.picked.length){if(this.optionsStore.options.useCurrent&&!this.optionsStore.options.defaultDate){const t=(new r).setLocale(this.optionsStore.options.localization.locale);if(!this.optionsStore.options.keepInvalid){let n=0,s=1;for((null===(i=this.optionsStore.options.restrictions.maxDate)||void 0===i?void 0:i.isBefore(t))&&(s=-1);!(this.validation.isValid(t)||(t.manipulate(s,e.Unit.date),n>31));)n++}this.dates.setValue(t)}this.optionsStore.options.defaultDate&&this.dates.setValue(this.optionsStore.options.defaultDate)}this._buildWidget();const s=this._hasTime&&!this._hasDate;if(s&&(this.optionsStore.currentView="clock",this._eventEmitters.action.emit({e:null,action:M.showClock})),this.optionsStore.currentCalendarViewMode||(this.optionsStore.currentCalendarViewMode=this.optionsStore.minimumCalendarViewMode),s||(this._hasTime&&O.hide(this.widget.querySelector(`div.${u.css.timeContainer}`)),O.show(this.widget.querySelector(`div.${u.css.dateContainer}`))),this._hasDate&&this._showMode(),this.optionsStore.options.display.inline)this.optionsStore.element.appendChild(this.widget);else{((null===(n=this.optionsStore.options)||void 0===n?void 0:n.container)||document.body).appendChild(this.widget),this._popperInstance=t.createPopper(this.optionsStore.element,this.widget,{modifiers:[{name:"eventListeners",enabled:!0}],placement:"rtl"===document.documentElement.dir?"bottom-end":"bottom-start"})}"clock"==this.optionsStore.options.display.viewMode&&this._eventEmitters.action.emit({e:null,action:M.showClock}),this.widget.querySelectorAll("[data-action]").forEach(e=>e.addEventListener("click",this._actionsClickEvent)),this._hasTime&&this.optionsStore.options.display.sideBySide&&(this.timeDisplay._update(this.widget),this.widget.getElementsByClassName(u.css.clockContainer)[0].style.display="grid")}this.widget.classList.add(u.css.show),this.optionsStore.options.display.inline||(this._popperInstance.update(),document.addEventListener("click",this._documentClickEvent)),this._eventEmitters.triggerEvent.emit({type:u.events.show}),this._isVisible=!0}_showMode(e){if(!this.widget)return;if(e){const t=Math.max(this.optionsStore.minimumCalendarViewMode,Math.min(3,this.optionsStore.currentCalendarViewMode+e));if(this.optionsStore.currentCalendarViewMode==t)return;this.optionsStore.currentCalendarViewMode=t}this.widget.querySelectorAll(`.${u.css.dateContainer} > div:not(.${u.css.calendarHeader}), .${u.css.timeContainer} > div:not(.${u.css.clockContainer})`).forEach(e=>e.style.display="none");const t=p[this.optionsStore.currentCalendarViewMode];let i=this.widget.querySelector(`.${t.className}`);switch(t.className){case u.css.decadesContainer:this.decadeDisplay._update(this.widget,this.paint);break;case u.css.yearsContainer:this.yearDisplay._update(this.widget,this.paint);break;case u.css.monthsContainer:this.monthDisplay._update(this.widget,this.paint);break;case u.css.daysContainer:this.dateDisplay._update(this.widget,this.paint)}i.style.display="grid",this._updateCalendarHeader(),this._eventEmitters.viewUpdate.emit()}_updateCalendarHeader(){const e=[...this.widget.querySelector(`.${u.css.dateContainer} div[style*="display: grid"]`).classList].find(e=>e.startsWith(u.css.dateContainer)),[t,i,n]=this.widget.getElementsByClassName(u.css.calendarHeader)[0].getElementsByTagName("div");switch(e){case u.css.decadesContainer:t.setAttribute("title",this.optionsStore.options.localization.previousCentury),i.setAttribute("title",""),n.setAttribute("title",this.optionsStore.options.localization.nextCentury);break;case u.css.yearsContainer:t.setAttribute("title",this.optionsStore.options.localization.previousDecade),i.setAttribute("title",this.optionsStore.options.localization.selectDecade),n.setAttribute("title",this.optionsStore.options.localization.nextDecade);break;case u.css.monthsContainer:t.setAttribute("title",this.optionsStore.options.localization.previousYear),i.setAttribute("title",this.optionsStore.options.localization.selectYear),n.setAttribute("title",this.optionsStore.options.localization.nextYear);break;case u.css.daysContainer:t.setAttribute("title",this.optionsStore.options.localization.previousMonth),i.setAttribute("title",this.optionsStore.options.localization.selectMonth),n.setAttribute("title",this.optionsStore.options.localization.nextMonth),i.innerText=this.optionsStore.viewDate.format(this.optionsStore.options.localization.dayViewHeaderFormat)}i.innerText=i.getAttribute(e)}hide(){this.widget&&this._isVisible&&(this.widget.classList.remove(u.css.show),this._isVisible&&(this._eventEmitters.triggerEvent.emit({type:u.events.hide,date:this.optionsStore.unset?null:this.dates.lastPicked?this.dates.lastPicked.clone:void 0}),this._isVisible=!1),document.removeEventListener("click",this._documentClickEvent))}toggle(){return this._isVisible?this.hide():this.show()}_dispose(){document.removeEventListener("click",this._documentClickEvent),this.widget&&(this.widget.querySelectorAll("[data-action]").forEach(e=>e.removeEventListener("click",this._actionsClickEvent)),this.widget.parentNode.removeChild(this.widget),this._widget=void 0)}_buildWidget(){const e=document.createElement("div");e.classList.add(u.css.widget);const t=document.createElement("div");t.classList.add(u.css.dateContainer),t.append(this.getHeadTemplate(),this.decadeDisplay.getPicker(),this.yearDisplay.getPicker(),this.monthDisplay.getPicker(),this.dateDisplay.getPicker());const i=document.createElement("div");i.classList.add(u.css.timeContainer),i.appendChild(this.timeDisplay.getPicker(this._iconTag.bind(this))),i.appendChild(this.hourDisplay.getPicker()),i.appendChild(this.minuteDisplay.getPicker()),i.appendChild(this.secondDisplay.getPicker());const n=document.createElement("div");if(n.classList.add(u.css.toolbar),n.append(...this.getToolbarElements()),this.optionsStore.options.display.inline&&e.classList.add(u.css.inline),this.optionsStore.options.display.calendarWeeks&&e.classList.add("calendarWeeks"),this.optionsStore.options.display.sideBySide&&this._hasDate&&this._hasTime){e.classList.add(u.css.sideBySide),"top"===this.optionsStore.options.display.toolbarPlacement&&e.appendChild(n);const s=document.createElement("div");return s.classList.add("td-row"),t.classList.add("td-half"),i.classList.add("td-half"),s.appendChild(t),s.appendChild(i),e.appendChild(s),"bottom"===this.optionsStore.options.display.toolbarPlacement&&e.appendChild(n),void(this._widget=e)}"top"===this.optionsStore.options.display.toolbarPlacement&&e.appendChild(n),this._hasDate&&(this._hasTime&&(t.classList.add(u.css.collapse),"clock"!==this.optionsStore.options.display.viewMode&&t.classList.add(u.css.show)),e.appendChild(t)),this._hasTime&&(this._hasDate&&(i.classList.add(u.css.collapse),"clock"===this.optionsStore.options.display.viewMode&&i.classList.add(u.css.show)),e.appendChild(i)),"bottom"===this.optionsStore.options.display.toolbarPlacement&&e.appendChild(n);const s=document.createElement("div");s.classList.add("arrow"),s.setAttribute("data-popper-arrow",""),e.appendChild(s),this._widget=e}get _hasTime(){return this.optionsStore.options.display.components.clock&&(this.optionsStore.options.display.components.hours||this.optionsStore.options.display.components.minutes||this.optionsStore.options.display.components.seconds)}get _hasDate(){return this.optionsStore.options.display.components.calendar&&(this.optionsStore.options.display.components.year||this.optionsStore.options.display.components.month||this.optionsStore.options.display.components.date)}getToolbarElements(){const e=[];if(this.optionsStore.options.display.buttons.today){const t=document.createElement("div");t.setAttribute("data-action",M.today),t.setAttribute("title",this.optionsStore.options.localization.today),t.appendChild(this._iconTag(this.optionsStore.options.display.icons.today)),e.push(t)}if(!this.optionsStore.options.display.sideBySide&&this._hasDate&&this._hasTime){let t,i;"clock"===this.optionsStore.options.display.viewMode?(t=this.optionsStore.options.localization.selectDate,i=this.optionsStore.options.display.icons.date):(t=this.optionsStore.options.localization.selectTime,i=this.optionsStore.options.display.icons.time);const n=document.createElement("div");n.setAttribute("data-action",M.togglePicker),n.setAttribute("title",t),n.appendChild(this._iconTag(i)),e.push(n)}if(this.optionsStore.options.display.buttons.clear){const t=document.createElement("div");t.setAttribute("data-action",M.clear),t.setAttribute("title",this.optionsStore.options.localization.clear),t.appendChild(this._iconTag(this.optionsStore.options.display.icons.clear)),e.push(t)}if(this.optionsStore.options.display.buttons.close){const t=document.createElement("div");t.setAttribute("data-action",M.close),t.setAttribute("title",this.optionsStore.options.localization.close),t.appendChild(this._iconTag(this.optionsStore.options.display.icons.close)),e.push(t)}return e}getHeadTemplate(){const e=document.createElement("div");e.classList.add(u.css.calendarHeader);const t=document.createElement("div");t.classList.add(u.css.previous),t.setAttribute("data-action",M.previous),t.appendChild(this._iconTag(this.optionsStore.options.display.icons.previous));const i=document.createElement("div");i.classList.add(u.css.switch),i.setAttribute("data-action",M.changeCalendarView);const n=document.createElement("div");return n.classList.add(u.css.next),n.setAttribute("data-action",M.next),n.appendChild(this._iconTag(this.optionsStore.options.display.icons.next)),e.append(t,i,n),e}_iconTag(e){if("sprites"===this.optionsStore.options.display.icons.type){const t=document.createElementNS("http://www.w3.org/2000/svg","svg"),i=document.createElementNS("http://www.w3.org/2000/svg","use");return i.setAttribute("xlink:href",e),i.setAttribute("href",e),t.appendChild(i),t}const t=document.createElement("i");return t.classList.add(...e.split(" ")),t}_rebuild(){const e=this._isVisible;e&&this.hide(),this._dispose(),e&&this.show()}}class Y{constructor(){this.optionsStore=f.locate(m),this.dates=f.locate(A),this.validation=f.locate(g),this.display=f.locate(P),this._eventEmitters=f.locate(y),this._eventEmitters.action.subscribe(e=>{this.do(e.e,e.action)})}do(t,i){var n,s;const a=null==t?void 0:t.currentTarget;if(null===(n=null==a?void 0:a.classList)||void 0===n?void 0:n.contains(u.css.disabled))return!1;i=i||(null===(s=null==a?void 0:a.dataset)||void 0===s?void 0:s.action);const o=(this.dates.lastPicked||this.optionsStore.viewDate).clone;switch(i){case M.next:case M.previous:this.handleNextPrevious(i);break;case M.changeCalendarView:this.display._showMode(1),this.display._updateCalendarHeader();break;case M.selectMonth:case M.selectYear:case M.selectDecade:const n=+a.dataset.value;switch(i){case M.selectMonth:this.optionsStore.viewDate.month=n;break;case M.selectYear:case M.selectDecade:this.optionsStore.viewDate.year=n}this.optionsStore.currentCalendarViewMode===this.optionsStore.minimumCalendarViewMode?(this.dates.setValue(this.optionsStore.viewDate,this.dates.lastPickedIndex),this.optionsStore.options.display.inline||this.display.hide()):this.display._showMode(-1);break;case M.selectDay:const s=this.optionsStore.viewDate.clone;a.classList.contains(u.css.old)&&s.manipulate(-1,e.Unit.month),a.classList.contains(u.css.new)&&s.manipulate(1,e.Unit.month),s.date=+a.dataset.day;let c=0;this.optionsStore.options.multipleDates?-1!==(c=this.dates.pickedIndex(s,e.Unit.date))?this.dates.setValue(null,c):this.dates.setValue(s,this.dates.lastPickedIndex+1):this.dates.setValue(s,this.dates.lastPickedIndex),this.display._hasTime||this.optionsStore.options.display.keepOpen||this.optionsStore.options.display.inline||this.optionsStore.options.multipleDates||this.display.hide();break;case M.selectHour:let l=+a.dataset.value;o.hours>=12&&!this.optionsStore.options.display.components.useTwentyfourHour&&(l+=12),o.hours=l,this.dates.setValue(o,this.dates.lastPickedIndex),this.hideOrClock(t);break;case M.selectMinute:o.minutes=+a.dataset.value,this.dates.setValue(o,this.dates.lastPickedIndex),this.hideOrClock(t);break;case M.selectSecond:o.seconds=+a.dataset.value,this.dates.setValue(o,this.dates.lastPickedIndex),this.hideOrClock(t);break;case M.incrementHours:this.manipulateAndSet(o,e.Unit.hours);break;case M.incrementMinutes:this.manipulateAndSet(o,e.Unit.minutes,this.optionsStore.options.stepping);break;case M.incrementSeconds:this.manipulateAndSet(o,e.Unit.seconds);break;case M.decrementHours:this.manipulateAndSet(o,e.Unit.hours,-1);break;case M.decrementMinutes:this.manipulateAndSet(o,e.Unit.minutes,-1*this.optionsStore.options.stepping);break;case M.decrementSeconds:this.manipulateAndSet(o,e.Unit.seconds,-1);break;case M.toggleMeridiem:this.manipulateAndSet(o,e.Unit.hours,this.dates.lastPicked.hours>=12?-12:12);break;case M.togglePicker:a.getAttribute("title")===this.optionsStore.options.localization.selectDate?(a.setAttribute("title",this.optionsStore.options.localization.selectTime),a.innerHTML=this.display._iconTag(this.optionsStore.options.display.icons.time).outerHTML,this.display._updateCalendarHeader(),this.optionsStore.refreshCurrentView()):(a.setAttribute("title",this.optionsStore.options.localization.selectDate),a.innerHTML=this.display._iconTag(this.optionsStore.options.display.icons.date).outerHTML,this.display._hasTime&&(this.do(t,M.showClock),this.display._update("clock"))),this.display.widget.querySelectorAll(`.${u.css.dateContainer}, .${u.css.timeContainer}`).forEach(e=>O.toggle(e)),this._eventEmitters.viewUpdate.emit();break;case M.showClock:case M.showHours:case M.showMinutes:case M.showSeconds:this.handleShowClockContainers(i);break;case M.clear:this.dates.setValue(null),this.display._updateCalendarHeader();break;case M.close:this.display.hide();break;case M.today:const d=(new r).setLocale(this.optionsStore.options.localization.locale);this.optionsStore.viewDate=d,this.validation.isValid(d,e.Unit.date)&&this.dates.setValue(d,this.dates.lastPickedIndex)}}handleShowClockContainers(t){if(!this.display._hasTime)return void u.errorMessages.throwError("Cannot show clock containers when time is disabled.");this.optionsStore.currentView="clock",this.display.widget.querySelectorAll(`.${u.css.timeContainer} > div`).forEach(e=>e.style.display="none");let i="";switch(t){case M.showClock:i=u.css.clockContainer,this.display._update("clock");break;case M.showHours:i=u.css.hourContainer,this.display._update(e.Unit.hours);break;case M.showMinutes:i=u.css.minuteContainer,this.display._update(e.Unit.minutes);break;case M.showSeconds:i=u.css.secondContainer,this.display._update(e.Unit.seconds)}this.display.widget.getElementsByClassName(i)[0].style.display="grid"}handleNextPrevious(e){const{unit:t,step:i}=p[this.optionsStore.currentCalendarViewMode];e===M.next?this.optionsStore.viewDate.manipulate(i,t):this.optionsStore.viewDate.manipulate(-1*i,t),this._eventEmitters.viewUpdate.emit(),this.display._showMode()}hideOrClock(e){!this.optionsStore.options.display.components.useTwentyfourHour||this.optionsStore.options.display.components.minutes||this.optionsStore.options.display.keepOpen||this.optionsStore.options.display.inline?this.do(e,M.showClock):this.display.hide()}manipulateAndSet(e,t,i=1){const n=e.manipulate(i,t);this.validation.isValid(n,t)&&this.dates.setValue(n,this.dates.lastPickedIndex)}}class N{constructor(e,t={}){this._subscribers={},this._isDisabled=!1,this._inputChangeEvent=(e=>{if(null==e?void 0:e.detail)return;const t=()=>{this.dates.lastPicked&&(this.optionsStore.viewDate=this.dates.lastPicked)},i=this.optionsStore.input.value;if(this.optionsStore.options.multipleDates)try{const e=i.split(this.optionsStore.options.multipleDatesSeparator);for(let t=0;t<e.length;t++)this.dates.setFromInput(e[t],t);t()}catch(e){console.warn("TD: Something went wrong trying to set the multipleDates values from the input field.")}else this.dates.setFromInput(i,0),t()}),this._toggleClickEvent=(()=>{var e,t;(null===(e=this.optionsStore.element)||void 0===e?void 0:e.disabled)||(null===(t=this.optionsStore.input)||void 0===t?void 0:t.disabled)||this.toggle()}),h(),this._eventEmitters=f.locate(y),this.optionsStore=f.locate(m),this.display=f.locate(P),this.dates=f.locate(A),this.actions=f.locate(Y),e||u.errorMessages.mustProvideElement(),this.optionsStore.element=e,this._initializeOptions(t,v,!0),this.optionsStore.viewDate.setLocale(this.optionsStore.options.localization.locale),this.optionsStore.unset=!0,this._initializeInput(),this._initializeToggle(),this.optionsStore.options.display.inline&&this.display.show(),this._eventEmitters.triggerEvent.subscribe(e=>{this._triggerEvent(e)}),this._eventEmitters.viewUpdate.subscribe(()=>{this._viewUpdate()})}get viewDate(){return this.optionsStore.viewDate}updateOptions(e,t=!1){t?this._initializeOptions(e,v):this._initializeOptions(e,this.optionsStore.options),this.display._rebuild()}toggle(){this._isDisabled||this.display.toggle()}show(){this._isDisabled||this.display.show()}hide(){this.display.hide()}disable(){var e;this._isDisabled=!0,null===(e=this.optionsStore.input)||void 0===e||e.setAttribute("disabled","disabled"),this.display.hide()}enable(){var e;this._isDisabled=!1,null===(e=this.optionsStore.input)||void 0===e||e.removeAttribute("disabled")}clear(){this.optionsStore.input.value="",this.dates.clear()}subscribe(e,t){let i;"string"==typeof e&&(e=[e]),i=Array.isArray(t)?t:[t],e.length!==i.length&&u.errorMessages.subscribeMismatch();const n=[];for(let t=0;t<e.length;t++){const s=e[t];if(Array.isArray(this._subscribers[s])||(this._subscribers[s]=[]),this._subscribers[s].push(i[t]),n.push({unsubscribe:this._unsubscribe.bind(this,s,this._subscribers[s].length-1)}),1===e.length)return n[0]}return n}dispose(){var e,t,i;this.display.hide(),this.display._dispose(),null===(e=this.optionsStore.input)||void 0===e||e.removeEventListener("change",this._inputChangeEvent),this.optionsStore.options.allowInputToggle&&(null===(t=this.optionsStore.input)||void 0===t||t.removeEventListener("click",this._toggleClickEvent)),null===(i=this._toggle)||void 0===i||i.removeEventListener("click",this._toggleClickEvent),this._subscribers={}}locale(e){let t=z[e];t&&this.updateOptions({localization:t})}_triggerEvent(e){var t,i;e.viewMode=this.optionsStore.currentView;const n=e.type===u.events.change;if(n){const{date:n,oldDate:s,isClear:a}=e;if(n&&s&&n.isSame(s)||!a&&!n&&!s)return;this._handleAfterChangeEvent(e),null===(t=this.optionsStore.input)||void 0===t||t.dispatchEvent(new CustomEvent(e.type,{detail:e})),null===(i=this.optionsStore.input)||void 0===i||i.dispatchEvent(new CustomEvent("change",{detail:e}))}if(this.optionsStore.element.dispatchEvent(new CustomEvent(e.type,{detail:e})),window.jQuery){const t=window.jQuery;n&&this.optionsStore.input?t(this.optionsStore.input).trigger(e):t(this.optionsStore.element).trigger(e)}this._publish(e)}_publish(e){Array.isArray(this._subscribers[e.type])&&this._subscribers[e.type].forEach(t=>{t(e)})}_viewUpdate(){this._triggerEvent({type:u.events.update,viewDate:this.optionsStore.viewDate.clone})}_unsubscribe(e,t){this._subscribers[e].splice(t,1)}_initializeOptions(e,t,i=!1){var n;let s=b.deepCopy(e);s=b._mergeOptions(s,t),i&&(s=b._dataToOptions(this.optionsStore.element,s)),b._validateConflicts(s),s.viewDate=s.viewDate.setLocale(s.localization.locale),this.optionsStore.viewDate.isSame(s.viewDate)||(this.optionsStore.viewDate=s.viewDate),s.display.components.year&&(this.optionsStore.minimumCalendarViewMode=2),s.display.components.month&&(this.optionsStore.minimumCalendarViewMode=1),s.display.components.date&&(this.optionsStore.minimumCalendarViewMode=0),this.optionsStore.currentCalendarViewMode=Math.max(this.optionsStore.minimumCalendarViewMode,this.optionsStore.currentCalendarViewMode),p[this.optionsStore.currentCalendarViewMode].name!==s.display.viewMode&&(this.optionsStore.currentCalendarViewMode=Math.max(p.findIndex(e=>e.name===s.display.viewMode),this.optionsStore.minimumCalendarViewMode)),(null===(n=this.display)||void 0===n?void 0:n.isVisible)&&this.display._update("all"),this.optionsStore.options=s}_initializeInput(){if("INPUT"==this.optionsStore.element.tagName)this.optionsStore.input=this.optionsStore.element;else{let e=this.optionsStore.element.dataset.tdTargetInput;this.optionsStore.input=null==e||"nearest"==e?this.optionsStore.element.querySelector("input"):this.optionsStore.element.querySelector(e)}this.optionsStore.input&&(this.optionsStore.input.addEventListener("change",this._inputChangeEvent),this.optionsStore.options.allowInputToggle&&this.optionsStore.input.addEventListener("click",this._toggleClickEvent),this.optionsStore.input.value&&this._inputChangeEvent())}_initializeToggle(){if(this.optionsStore.options.display.inline)return;let e=this.optionsStore.element.dataset.tdTargetToggle;"nearest"==e&&(e='[data-td-toggle="datetimepicker"]'),this._toggle=null==e?this.optionsStore.element:this.optionsStore.element.querySelector(e),this._toggle.addEventListener("click",this._toggleClickEvent)}_handleAfterChangeEvent(e){var t,i;!this.optionsStore.options.promptTimeOnDateChange||this.optionsStore.options.display.inline||this.optionsStore.options.display.sideBySide||!this.display._hasTime||null!==(t=this.display.widget)&&void 0!==t&&t.getElementsByClassName(u.css.show)[0].classList.contains(u.css.timeContainer)||!e.oldDate&&this.optionsStore.options.useCurrent||e.oldDate&&(null===(i=e.date)||void 0===i?void 0:i.isSame(e.oldDate))||(clearTimeout(this._currentPromptTimeTimeout),this._currentPromptTimeTimeout=setTimeout(()=>{this.display.widget&&this._eventEmitters.action.emit({e:{currentTarget:this.display.widget.querySelector(`.${u.css.switch} div`)},action:M.togglePicker})},this.optionsStore.options.promptTimeOnDateChangeTransitionDelay))}}const z={};e.DateTime=r,e.DefaultOptions=v,e.Namespace=u,e.TempusDominus=N,e.extend=function(e,t){return e.$i||(e.load(t,{TempusDominus:N,Dates:A,Display:P},this),e.$i=!0),this},e.loadLocale=(e=>{z[e.name]||(z[e.name]=e.localization)}),e.locale=(e=>{let t=z[e];t&&(v.localization=t)}),Object.defineProperty(e,"__esModule",{value:!0})});