1
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t(e.bootstrap={},e.jQuery)}(this,function(e,t){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function l(o){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},t=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.forEach(function(e){var t,n,i;t=o,i=r[n=e],n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i})}return o}for(var o,n,r,s,c,u,d,h,f,p,m,g,_,v,y,b,E,w,S,C,k,T,D,I,A,O,N,x,P,j,M,L,F,H,R,W,U,B,Q,q,$,K,Y,V,J,z,G,Z,X,ee,te,ne,ie,oe,re,ae,se,le,ce,ue,de,he,fe,pe,me,ge,_e,ve,ye,be,Ee,we=function(i){var t="transitionend";function e(e){var t=this,n=!1;return i(this).one(l.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||l.triggerTransitionEnd(t)},e),this}var l={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");t&&"#"!==t||(t=e.getAttribute("href")||"");try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=i(e).css("transition-duration");return parseFloat(t)?(t=t.split(",")[0],1e3*parseFloat(t)):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){i(e).trigger(t)},supportsTransitionEnd:function(){return Boolean(t)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=t[i],a=r&&l.isElement(r)?"element":(s=r,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(a))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+o+'".')}var s}};return i.fn.emulateTransitionEnd=e,i.event.special[l.TRANSITION_END]={bindType:t,delegateType:t,handle:function(e){if(i(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},l}(t=t&&t.hasOwnProperty("default")?t.default:t),Se=(n="alert",s="."+(r="bs.alert"),c=(o=t).fn[n],u={CLOSE:"close"+s,CLOSED:"closed"+s,CLICK_DATA_API:"click"+s+".data-api"},d="alert",h="fade",f="show",p=function(){function i(e){this._element=e}var e=i.prototype;return e.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},e.dispose=function(){o.removeData(this._element,r),this._element=null},e._getRootElement=function(e){var t=we.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n||(n=o(e).closest("."+d)[0]),n},e._triggerCloseEvent=function(e){var t=o.Event(u.CLOSE);return o(e).trigger(t),t},e._removeElement=function(t){var n=this;if(o(t).removeClass(f),o(t).hasClass(h)){var e=we.getTransitionDurationFromElement(t);o(t).one(we.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(e)}else this._destroyElement(t)},e._destroyElement=function(e){o(e).detach().trigger(u.CLOSED).remove()},i._jQueryInterface=function(n){return this.each(function(){var e=o(this),t=e.data(r);t||(t=new i(this),e.data(r,t)),"close"===n&&t[n](this)})},i._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},a(i,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),i}(),o(document).on(u.CLICK_DATA_API,'[data-dismiss="alert"]',p._handleDismiss(new p)),o.fn[n]=p._jQueryInterface,o.fn[n].Constructor=p,o.fn[n].noConflict=function(){return o.fn[n]=c,p._jQueryInterface},p),Ce=(g="button",v="."+(_="bs.button"),y=".data-api",b=(m=t).fn[g],E="active",w="btn",C='[data-toggle^="button"]',k='[data-toggle="buttons"]',T="input",D=".active",I=".btn",A={CLICK_DATA_API:"click"+v+y,FOCUS_BLUR_DATA_API:(S="focus")+v+y+" blur"+v+y},O=function(){function n(e){this._element=e}var e=n.prototype;return e.toggle=function(){var e=!0,t=!0,n=m(this._element).closest(k)[0];if(n){var i=this._element.querySelector(T);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(E))e=!1;else{var o=n.querySelector(D);o&&m(o).removeClass(E)}if(e){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(E),m(i).trigger("change")}i.focus(),t=!1}}t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(E)),e&&m(this._element).toggleClass(E)},e.dispose=function(){m.removeData(this._element,_),this._element=null},n._jQueryInterface=function(t){return this.each(function(){var e=m(this).data(_);e||(e=new n(this),m(this).data(_,e)),"toggle"===t&&e[t]()})},a(n,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),n}(),m(document).on(A.CLICK_DATA_API,C,function(e){e.preventDefault();var t=e.target;m(t).hasClass(w)||(t=m(t).closest(I)),O._jQueryInterface.call(m(t),"toggle")}).on(A.FOCUS_BLUR_DATA_API,C,function(e){var t=m(e.target).closest(I)[0];m(t).toggleClass(S,/^focus(in)?$/.test(e.type))}),m.fn[g]=O._jQueryInterface,m.fn[g].Constructor=O,m.fn[g].noConflict=function(){return m.fn[g]=b,O._jQueryInterface},O),ke=(x="carousel",j="."+(P="bs.carousel"),M=".data-api",L=(N=t).fn[x],F={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},H={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},R="next",W="prev",U="left",B="right",Q={SLIDE:"slide"+j,SLID:"slid"+j,KEYDOWN:"keydown"+j,MOUSEENTER:"mouseenter"+j,MOUSELEAVE:"mouseleave"+j,TOUCHEND:"touchend"+j,LOAD_DATA_API:"load"+j+M,CLICK_DATA_API:"click"+j+M},q="carousel",$="active",K="slide",Y="carousel-item-right",V="carousel-item-left",J="carousel-item-next",z="carousel-item-prev",G=".active",Z=".active.carousel-item",X=".carousel-item",ee=".carousel-item-next, .carousel-item-prev",te=".carousel-indicators",ne="[data-slide], [data-slide-to]",ie='[data-ride="carousel"]',oe=function(){function r(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(t),this._element=N(e)[0],this._indicatorsElement=this._element.querySelector(te),this._addEventListeners()}var e=r.prototype;return e.next=function(){this._isSliding||this._slide(R)},e.nextWhenVisible=function(){!document.hidden&&N(this._element).is(":visible")&&"hidden"!==N(this._element).css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(W)},e.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(ee)&&(we.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(e){var t=this;this._activeElement=this._element.querySelector(Z);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)N(this._element).one(Q.SLID,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();var i=n<e?R:W;this._slide(i,this._items[e])}},e.dispose=function(){N(this._element).off(j),N.removeData(this._element,P),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(e){return e=l({},F,e),we.typeCheckConfig(x,e,H),e},e._addEventListeners=function(){var t=this;this._config.keyboard&&N(this._element).on(Q.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(N(this._element).on(Q.MOUSEENTER,function(e){return t.pause(e)}).on(Q.MOUSELEAVE,function(e){return t.cycle(e)}),"ontouchstart"in document.documentElement&&N(this._element).on(Q.TOUCHEND,function(){t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval)}))},e._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},e._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(X)):[],this._items.indexOf(e)},e._getItemByDirection=function(e,t){var n=e===R,i=e===W,o=this._getItemIndex(t),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return t;var a=(o+(e===W?-1:1))%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},e._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),i=this._getItemIndex(this._element.querySelector(Z)),o=N.Event(Q.SLIDE,{relatedTarget:e,direction:t,from:i,to:n});return N(this._element).trigger(o),o},e._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(G));N(t).removeClass($);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&N(n).addClass($)}},e._slide=function(e,t){var n,i,o,r=this,a=this._element.querySelector(Z),s=this._getItemIndex(a),l=t||a&&this._getItemByDirection(e,a),c=this._getItemIndex(l),u=Boolean(this._interval);if(o=e===R?(n=V,i=J,U):(n=Y,i=z,B),l&&N(l).hasClass($))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).isDefaultPrevented()&&a&&l){this._isSliding=!0,u&&this.pause(),this._setActiveIndicatorElement(l);var d=N.Event(Q.SLID,{relatedTarget:l,direction:o,from:s,to:c});if(N(this._element).hasClass(K)){N(l).addClass(i),we.reflow(l),N(a).addClass(n),N(l).addClass(n);var h=we.getTransitionDurationFromElement(a);N(a).one(we.TRANSITION_END,function(){N(l).removeClass(n+" "+i).addClass($),N(a).removeClass($+" "+i+" "+n),r._isSliding=!1,setTimeout(function(){return N(r._element).trigger(d)},0)}).emulateTransitionEnd(h)}else N(a).removeClass($),N(l).addClass($),this._isSliding=!1,N(this._element).trigger(d);u&&this.cycle()}},r._jQueryInterface=function(i){return this.each(function(){var e=N(this).data(P),t=l({},F,N(this).data());"object"==typeof i&&(t=l({},t,i));var n="string"==typeof i?i:t.slide;if(e||(e=new r(this,t),N(this).data(P,e)),"number"==typeof i)e.to(i);else if("string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}else t.interval&&(e.pause(),e.cycle())})},r._dataApiClickHandler=function(e){var t=we.getSelectorFromElement(this);if(t){var n=N(t)[0];if(n&&N(n).hasClass(q)){var i=l({},N(n).data(),N(this).data()),o=this.getAttribute("data-slide-to");o&&(i.interval=!1),r._jQueryInterface.call(N(n),i),o&&N(n).data(P).to(o),e.preventDefault()}}},a(r,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return F}}]),r}(),N(document).on(Q.CLICK_DATA_API,ne,oe._dataApiClickHandler),N(window).on(Q.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(ie)),t=0,n=e.length;t<n;t++){var i=N(e[t]);oe._jQueryInterface.call(i,i.data())}}),N.fn[x]=oe._jQueryInterface,N.fn[x].Constructor=oe,N.fn[x].noConflict=function(){return N.fn[x]=L,oe._jQueryInterface},oe),Te=(ae="collapse",le="."+(se="bs.collapse"),ce=(re=t).fn[ae],ue={toggle:!0,parent:""},de={toggle:"boolean",parent:"(string|element)"},he={SHOW:"show"+le,SHOWN:"shown"+le,HIDE:"hide"+le,HIDDEN:"hidden"+le,CLICK_DATA_API:"click"+le+".data-api"},fe="show",pe="collapse",me="collapsing",ge="collapsed",_e="width",ve="height",ye=".show, .collapsing",be='[data-toggle="collapse"]',Ee=function(){function s(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=re.makeArray(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(be)),i=0,o=n.length;i<o;i++){var r=n[i],a=we.getSelectorFromElement(r),s=[].slice.call(document.querySelectorAll(a)).filter(function(e){return e===t});null!==a&&0<s.length&&(this._selector=a,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=s.prototype;return e.toggle=function(){re(this._element).hasClass(fe)?this.hide():this.show()},e.show=function(){var e,t,n=this;if(!this._isTransitioning&&!re(this._element).hasClass(fe)&&(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(ye)).filter(function(e){return e.getAttribute("data-parent")===n._config.parent})).length&&(e=null),!(e&&(t=re(e).not(this._selector).data(se))&&t._isTransitioning))){var i=re.Event(he.SHOW);if(re(this._element).trigger(i),!i.isDefaultPrevented()){e&&(s._jQueryInterface.call(re(e).not(this._selector),"hide"),t||re(e).data(se,null));var o=this._getDimension();re(this._element).removeClass(pe).addClass(me),this._element.style[o]=0,this._triggerArray.length&&re(this._triggerArray).removeClass(ge).attr("aria-expanded",!0),this.setTransitioning(!0);var r="scroll"+(o[0].toUpperCase()+o.slice(1)),a=we.getTransitionDurationFromElement(this._element);re(this._element).one(we.TRANSITION_END,function(){re(n._element).removeClass(me).addClass(pe).addClass(fe),n._element.style[o]="",n.setTransitioning(!1),re(n._element).trigger(he.SHOWN)}).emulateTransitionEnd(a),this._element.style[o]=this._element[r]+"px"}}},e.hide=function(){var e=this;if(!this._isTransitioning&&re(this._element).hasClass(fe)){var t=re.Event(he.HIDE);if(re(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",we.reflow(this._element),re(this._element).addClass(me).removeClass(pe).removeClass(fe);var i=this._triggerArray.length;if(0<i)for(var o=0;o<i;o++){var r=this._triggerArray[o],a=we.getSelectorFromElement(r);if(null!==a)re([].slice.call(document.querySelectorAll(a))).hasClass(fe)||re(r).addClass(ge).attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[n]="";var s=we.getTransitionDurationFromElement(this._element);re(this._element).one(we.TRANSITION_END,function(){e.setTransitioning(!1),re(e._element).removeClass(me).addClass(pe).trigger(he.HIDDEN)}).emulateTransitionEnd(s)}}},e.setTransitioning=function(e){this._isTransitioning=e},e.dispose=function(){re.removeData(this._element,se),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(e){return(e=l({},ue,e)).toggle=Boolean(e.toggle),we.typeCheckConfig(ae,e,de),e},e._getDimension=function(){return re(this._element).hasClass(_e)?_e:ve},e._getParent=function(){var n=this,e=null;we.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var t='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',i=[].slice.call(e.querySelectorAll(t));return re(i).each(function(e,t){n._addAriaAndCollapsedClass(s._getTargetFromElement(t),[t])}),e},e._addAriaAndCollapsedClass=function(e,t){if(e){var n=re(e).hasClass(fe);t.length&&re(t).toggleClass(ge,!n).attr("aria-expanded",n)}},s._getTargetFromElement=function(e){var t=we.getSelectorFromElement(e);return t?document.querySelector(t):null},s._jQueryInterface=function(i){return this.each(function(){var e=re(this),t=e.data(se),n=l({},ue,e.data(),"object"==typeof i&&i?i:{});if(!t&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),t||(t=new s(this,n),e.data(se,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},a(s,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return ue}}]),s}(),re(document).on(he.CLICK_DATA_API,be,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=re(this),t=we.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(t));re(i).each(function(){var e=re(this),t=e.data(se)?"toggle":n.data();Ee._jQueryInterface.call(e,t)})}),re.fn[ae]=Ee._jQueryInterface,re.fn[ae].Constructor=Ee,re.fn[ae].noConflict=function(){return re.fn[ae]=ce,Ee._jQueryInterface},Ee),De="undefined"!=typeof window&&"undefined"!=typeof document,Ie=["Edge","Trident","Firefox"],Ae=0,Oe=0;Oe<Ie.length;Oe+=1)if(De&&0<=navigator.userAgent.indexOf(Ie[Oe])){Ae=1;break}var Ne=De&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},Ae))}};function xe(e){return e&&"[object Function]"==={}.toString.call(e)}function Pe(e,t){if(1!==e.nodeType)return[];var n=getComputedStyle(e,null);return t?n[t]:n}function je(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function Me(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Pe(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?e:Me(je(e))}var Le=De&&!(!window.MSInputMethodContext||!document.documentMode),Fe=De&&/MSIE 10/.test(navigator.userAgent);function He(e){return 11===e?Le:10===e?Fe:Le||Fe}function Re(e){if(!e)return document.documentElement;for(var t=He(10)?document.body:null,n=e.offsetParent;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===Pe(n,"position")?Re(n):n:e?e.ownerDocument.documentElement:document.documentElement}function We(e){return null!==e.parentNode?We(e.parentNode):e}function Ue(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,o=n?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a,s,l=r.commonAncestorContainer;if(e!==l&&t!==l||i.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&Re(a.firstElementChild)!==a?Re(l):l;var c=We(e);return c.host?Ue(c.host,t):Ue(e,We(t).host)}function Be(e){var t="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"!==n&&"HTML"!==n)return e[t];var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[t]}function Qe(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function qe(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],He(10)?n["offset"+e]+i["margin"+("Height"===e?"Top":"Left")]+i["margin"+("Height"===e?"Bottom":"Right")]:0)}function $e(){var e=document.body,t=document.documentElement,n=He(10)&&getComputedStyle(t);return{height:qe("Height",e,t,n),width:qe("Width",e,t,n)}}var Ke=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}(),Ye=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function Je(e){return Ve({},e,{right:e.left+e.width,bottom:e.top+e.height})}function ze(e){var t={};try{if(He(10)){t=e.getBoundingClientRect();var n=Be(e,"top"),i=Be(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?$e():{},a=r.width||e.clientWidth||o.right-o.left,s=r.height||e.clientHeight||o.bottom-o.top,l=e.offsetWidth-a,c=e.offsetHeight-s;if(l||c){var u=Pe(e);l-=Qe(u,"x"),c-=Qe(u,"y"),o.width-=l,o.height-=c}return Je(o)}function Ge(e,t){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=He(10),o="HTML"===t.nodeName,r=ze(e),a=ze(t),s=Me(e),l=Pe(t),c=parseFloat(l.borderTopWidth,10),u=parseFloat(l.borderLeftWidth,10);n&&"HTML"===t.nodeName&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=Je({top:r.top-a.top-c,left:r.left-a.left-u,width:r.width,height:r.height});if(d.marginTop=0,d.marginLeft=0,!i&&o){var h=parseFloat(l.marginTop,10),f=parseFloat(l.marginLeft,10);d.top-=c-h,d.bottom-=c-h,d.left-=u-f,d.right-=u-f,d.marginTop=h,d.marginLeft=f}return(i&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(d=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=Be(t,"top"),o=Be(t,"left"),r=n?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=o*r,e.right+=o*r,e}(d,t)),d}function Ze(e){if(!e||!e.parentElement||He())return document.documentElement;for(var t=e.parentElement;t&&"none"===Pe(t,"transform");)t=t.parentElement;return t||document.documentElement}function Xe(e,t,n,i){var o=4<arguments.length&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},a=o?Ze(e):Ue(e,t);if("viewport"===i)r=function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=Ge(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:Be(n),s=t?0:Be(n,"left");return Je({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:o,height:r})}(a,o);else{var s=void 0;"scrollParent"===i?"BODY"===(s=Me(je(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===i?e.ownerDocument.documentElement:i;var l=Ge(s,a,o);if("HTML"!==s.nodeName||function e(t){var n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===Pe(t,"position")||e(je(t)))}(a))r=l;else{var c=$e(),u=c.height,d=c.width;r.top+=l.top-l.marginTop,r.bottom=u+l.top,r.left+=l.left-l.marginLeft,r.right=d+l.left}}return r.left+=n,r.top+=n,r.right-=n,r.bottom-=n,r}function et(e,t,i,n,o){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=Xe(i,n,r,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return Ve({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),c=l.filter(function(e){var t=e.width,n=e.height;return t>=i.clientWidth&&n>=i.clientHeight}),u=0<c.length?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function tt(e,t,n){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return Ge(n,i?Ze(t):Ue(t,n),i)}function nt(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),i=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function it(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function ot(e,t,n){n=n.split("-")[0];var i=nt(e),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),a=r?"top":"left",s=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[a]=t[a]+t[l]/2-i[l]/2,o[s]=n===s?t[s]-i[c]:t[it(s)],o}function rt(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function at(e,n,t){return(void 0===t?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=rt(e,function(e){return e[t]===n});return e.indexOf(i)}(e,"name",t))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e.function||e.fn;e.enabled&&xe(t)&&(n.offsets.popper=Je(n.offsets.popper),n.offsets.reference=Je(n.offsets.reference),n=t(n,e))}),n}function st(e,n){return e.some(function(e){var t=e.name;return e.enabled&&t===n})}function lt(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var o=t[i],r=o?""+o+n:e;if(void 0!==document.body.style[r])return r}return null}function ct(e){var t=e.ownerDocument;return t?t.defaultView:window}function ut(e,t,n,i){n.updateBound=i,ct(e).addEventListener("resize",n.updateBound,{passive:!0});var o=Me(e);return function e(t,n,i,o){var r="BODY"===t.nodeName,a=r?t.ownerDocument.defaultView:t;a.addEventListener(n,i,{passive:!0}),r||e(Me(a.parentNode),n,i,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function dt(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,ct(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function ht(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function ft(n,i){Object.keys(i).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&ht(i[e])&&(t="px"),n.style[e]=i[e]+t})}function pt(e,t,n){var i=rt(e,function(e){return e.name===t}),o=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!o){var r="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var mt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],gt=mt.slice(3);function _t(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=gt.indexOf(e),i=gt.slice(n+1).concat(gt.slice(0,n));return t?i.reverse():i}var vt="flip",yt="clockwise",bt="counterclockwise";function Et(e,o,r,t){var a=[0,0],s=-1!==["right","left"].indexOf(t),n=e.split(/(\+|\-)/).map(function(e){return e.trim()}),i=n.indexOf(rt(n,function(e){return-1!==e.search(/,|\s/)}));n[i]&&-1===n[i].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==i?[n.slice(0,i).concat([n[i].split(l)[0]]),[n[i].split(l)[1]].concat(n.slice(i+1))]:[n];return(c=c.map(function(e,t){var n=(1===t?!s:s)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,i){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return e;if(0!==a.indexOf("%"))return"vh"!==a&&"vw"!==a?r:("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return Je(s)[t]/100*r}(e,n,o,r)})})).forEach(function(n,i){n.forEach(function(e,t){ht(e)&&(a[i]+=e*("-"===n[t-1]?-1:1))})}),a}var wt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var o=e.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:Ye({},l,r[l]),end:Ye({},l,r[l]+r[c]-a[c])};e.offsets.popper=Ve({},a,u[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,o=e.offsets,r=o.popper,a=o.reference,s=i.split("-")[0],l=void 0;return l=ht(+n)?[+n,0]:Et(n,r,a,s),"left"===s?(r.top+=l[0],r.left-=l[1]):"right"===s?(r.top+=l[0],r.left+=l[1]):"top"===s?(r.left+=l[0],r.top-=l[1]):"bottom"===s&&(r.left+=l[0],r.top+=l[1]),e.popper=r,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,i){var t=i.boundariesElement||Re(e.instance.popper);e.instance.reference===t&&(t=Re(t));var n=lt("transform"),o=e.instance.popper.style,r=o.top,a=o.left,s=o[n];o.top="",o.left="",o[n]="";var l=Xe(e.instance.popper,e.instance.reference,i.padding,t,e.positionFixed);o.top=r,o.left=a,o[n]=s,i.boundaries=l;var c=i.priority,u=e.offsets.popper,d={primary:function(e){var t=u[e];return u[e]<l[e]&&!i.escapeWithReference&&(t=Math.max(u[e],l[e])),Ye({},e,t)},secondary:function(e){var t="right"===e?"left":"top",n=u[t];return u[e]>l[e]&&!i.escapeWithReference&&(n=Math.min(u[t],l[e]-("right"===e?u.width:u.height))),Ye({},t,n)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=Ve({},u,d[t](e))}),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,o=e.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<r(i[l])&&(e.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[s])&&(e.offsets.popper[l]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!pt(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],r=e.offsets,a=r.popper,s=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",u=l?"Top":"Left",d=u.toLowerCase(),h=l?"left":"top",f=l?"bottom":"right",p=nt(i)[c];s[f]-p<a[d]&&(e.offsets.popper[d]-=a[d]-(s[f]-p)),s[d]+p>a[f]&&(e.offsets.popper[d]+=s[d]+p-a[f]),e.offsets.popper=Je(e.offsets.popper);var m=s[d]+s[c]/2-p/2,g=Pe(e.instance.popper),_=parseFloat(g["margin"+u],10),v=parseFloat(g["border"+u+"Width"],10),y=m-e.offsets.popper[d]-_-v;return y=Math.max(Math.min(a[c]-p,y),0),e.arrowElement=i,e.offsets.arrow=(Ye(n={},d,Math.round(y)),Ye(n,h,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(p,m){if(st(p.instance.modifiers,"inner"))return p;if(p.flipped&&p.placement===p.originalPlacement)return p;var g=Xe(p.instance.popper,p.instance.reference,m.padding,m.boundariesElement,p.positionFixed),_=p.placement.split("-")[0],v=it(_),y=p.placement.split("-")[1]||"",b=[];switch(m.behavior){case vt:b=[_,v];break;case yt:b=_t(_);break;case bt:b=_t(_,!0);break;default:b=m.behavior}return b.forEach(function(e,t){if(_!==e||b.length===t+1)return p;_=p.placement.split("-")[0],v=it(_);var n,i=p.offsets.popper,o=p.offsets.reference,r=Math.floor,a="left"===_&&r(i.right)>r(o.left)||"right"===_&&r(i.left)<r(o.right)||"top"===_&&r(i.bottom)>r(o.top)||"bottom"===_&&r(i.top)<r(o.bottom),s=r(i.left)<r(g.left),l=r(i.right)>r(g.right),c=r(i.top)<r(g.top),u=r(i.bottom)>r(g.bottom),d="left"===_&&s||"right"===_&&l||"top"===_&&c||"bottom"===_&&u,h=-1!==["top","bottom"].indexOf(_),f=!!m.flipVariations&&(h&&"start"===y&&s||h&&"end"===y&&l||!h&&"start"===y&&c||!h&&"end"===y&&u);(a||d||f)&&(p.flipped=!0,(a||d)&&(_=b[t+1]),f&&(y="end"===(n=y)?"start":"start"===n?"end":n),p.placement=_+(y?"-"+y:""),p.offsets.popper=Ve({},p.offsets.popper,ot(p.instance.popper,p.offsets.reference,p.placement)),p=at(p.instance.modifiers,p,"flip"))}),p},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,o=i.popper,r=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=r[n]-(s?o[a?"width":"height"]:0),e.placement=it(t),e.offsets.popper=Je(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!pt(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=rt(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,o=e.offsets.popper,r=rt(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==r?r:t.gpuAcceleration,s=ze(Re(e.instance.popper)),l={position:o.position},c={left:Math.floor(o.left),top:Math.round(o.top),bottom:Math.round(o.bottom),right:Math.floor(o.right)},u="bottom"===n?"top":"bottom",d="right"===i?"left":"right",h=lt("transform"),f=void 0,p=void 0;if(p="bottom"===u?-s.height+c.bottom:c.top,f="right"===d?-s.width+c.right:c.left,a&&h)l[h]="translate3d("+f+"px, "+p+"px, 0)",l[u]=0,l[d]=0,l.willChange="transform";else{var m="bottom"===u?-1:1,g="right"===d?-1:1;l[u]=p*m,l[d]=f*g,l.willChange=u+", "+d}var _={"x-placement":e.placement};return e.attributes=Ve({},_,e.attributes),e.styles=Ve({},l,e.styles),e.arrowStyles=Ve({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return ft(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&ft(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,o){var r=tt(o,t,e,n.positionFixed),a=et(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),ft(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},St=function(){function r(e,t){var n=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=Ne(this.update.bind(this)),this.options=Ve({},r.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(Ve({},r.Defaults.modifiers,i.modifiers)).forEach(function(e){n.options.modifiers[e]=Ve({},r.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return Ve({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&xe(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return Ke(r,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=tt(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=et(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=ot(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=at(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,st(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[lt("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=ut(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return dt.call(this)}}]),r}();St.Utils=("undefined"!=typeof window?window:global).PopperUtils,St.placements=mt,St.Defaults=wt;var Ct,kt,Tt,Dt,It,At,Ot,Nt,xt,Pt,jt,Mt,Lt,Ft,Ht,Rt,Wt,Ut,Bt,Qt,qt,$t,Kt,Yt,Vt,Jt,zt,Gt,Zt,Xt,en,tn,nn,on,rn,an,sn,ln,cn,un,dn,hn,fn,pn,mn,gn,_n,vn,yn,bn,En,wn,Sn,Cn,kn,Tn,Dn,In,An,On,Nn,xn,Pn,jn,Mn,Ln,Fn,Hn,Rn,Wn,Un,Bn,Qn,qn,$n,Kn,Yn,Vn,Jn,zn,Gn,Zn,Xn,ei,ti,ni,ii,oi,ri,ai,si,li,ci,ui,di,hi,fi,pi,mi,gi,_i,vi,yi,bi,Ei,wi,Si,Ci,ki,Ti,Di,Ii,Ai,Oi,Ni,xi,Pi,ji,Mi,Li,Fi,Hi,Ri,Wi,Ui,Bi=(kt="dropdown",Dt="."+(Tt="bs.dropdown"),It=".data-api",At=(Ct=t).fn[kt],Ot=new RegExp("38|40|27"),Nt={HIDE:"hide"+Dt,HIDDEN:"hidden"+Dt,SHOW:"show"+Dt,SHOWN:"shown"+Dt,CLICK:"click"+Dt,CLICK_DATA_API:"click"+Dt+It,KEYDOWN_DATA_API:"keydown"+Dt+It,KEYUP_DATA_API:"keyup"+Dt+It},xt="disabled",Pt="show",jt="dropup",Mt="dropright",Lt="dropleft",Ft="dropdown-menu-right",Ht="position-static",Rt='[data-toggle="dropdown"]',Wt=".dropdown form",Ut=".dropdown-menu",Bt=".navbar-nav",Qt=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",qt="top-start",$t="top-end",Kt="bottom-start",Yt="bottom-end",Vt="right-start",Jt="left-start",zt={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Gt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Zt=function(){function c(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=c.prototype;return e.toggle=function(){if(!this._element.disabled&&!Ct(this._element).hasClass(xt)){var e=c._getParentFromElement(this._element),t=Ct(this._menu).hasClass(Pt);if(c._clearMenus(),!t){var n={relatedTarget:this._element},i=Ct.Event(Nt.SHOW,n);if(Ct(e).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar){if(void 0===St)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");var o=this._element;"parent"===this._config.reference?o=e:we.isElement(this._config.reference)&&(o=this._config.reference,void 0!==this._config.reference.jquery&&(o=this._config.reference[0])),"scrollParent"!==this._config.boundary&&Ct(e).addClass(Ht),this._popper=new St(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===Ct(e).closest(Bt).length&&Ct(document.body).children().on("mouseover",null,Ct.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),Ct(this._menu).toggleClass(Pt),Ct(e).toggleClass(Pt).trigger(Ct.Event(Nt.SHOWN,n))}}}},e.dispose=function(){Ct.removeData(this._element,Tt),Ct(this._element).off(Dt),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;Ct(this._element).on(Nt.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},e._getConfig=function(e){return e=l({},this.constructor.Default,Ct(this._element).data(),e),we.typeCheckConfig(kt,e,this.constructor.DefaultType),e},e._getMenuElement=function(){if(!this._menu){var e=c._getParentFromElement(this._element);e&&(this._menu=e.querySelector(Ut))}return this._menu},e._getPlacement=function(){var e=Ct(this._element.parentNode),t=Kt;return e.hasClass(jt)?(t=qt,Ct(this._menu).hasClass(Ft)&&(t=$t)):e.hasClass(Mt)?t=Vt:e.hasClass(Lt)?t=Jt:Ct(this._menu).hasClass(Ft)&&(t=Yt),t},e._detectNavbar=function(){return 0<Ct(this._element).closest(".navbar").length},e._getPopperConfig=function(){var t=this,e={};"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=l({},e.offsets,t._config.offset(e.offsets)||{}),e}:e.offset=this._config.offset;var n={placement:this._getPlacement(),modifiers:{offset:e,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(n.modifiers.applyStyle={enabled:!1}),n},c._jQueryInterface=function(t){return this.each(function(){var e=Ct(this).data(Tt);if(e||(e=new c(this,"object"==typeof t?t:null),Ct(this).data(Tt,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},c._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var t=[].slice.call(document.querySelectorAll(Rt)),n=0,i=t.length;n<i;n++){var o=c._getParentFromElement(t[n]),r=Ct(t[n]).data(Tt),a={relatedTarget:t[n]};if(e&&"click"===e.type&&(a.clickEvent=e),r){var s=r._menu;if(Ct(o).hasClass(Pt)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&Ct.contains(o,e.target))){var l=Ct.Event(Nt.HIDE,a);Ct(o).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&Ct(document.body).children().off("mouseover",null,Ct.noop),t[n].setAttribute("aria-expanded","false"),Ct(s).removeClass(Pt),Ct(o).removeClass(Pt).trigger(Ct.Event(Nt.HIDDEN,a)))}}}},c._getParentFromElement=function(e){var t,n=we.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},c._dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!(32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||Ct(e.target).closest(Ut).length)):Ot.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!Ct(this).hasClass(xt))){var t=c._getParentFromElement(this),n=Ct(t).hasClass(Pt);if((n||27===e.which&&32===e.which)&&(!n||27!==e.which&&32!==e.which)){var i=[].slice.call(t.querySelectorAll(Qt));if(0!==i.length){var o=i.indexOf(e.target);38===e.which&&0<o&&o--,40===e.which&&o<i.length-1&&o++,o<0&&(o=0),i[o].focus()}}else{if(27===e.which){var r=t.querySelector(Rt);Ct(r).trigger("focus")}Ct(this).trigger("click")}}},a(c,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return zt}},{key:"DefaultType",get:function(){return Gt}}]),c}(),Ct(document).on(Nt.KEYDOWN_DATA_API,Rt,Zt._dataApiKeydownHandler).on(Nt.KEYDOWN_DATA_API,Ut,Zt._dataApiKeydownHandler).on(Nt.CLICK_DATA_API+" "+Nt.KEYUP_DATA_API,Zt._clearMenus).on(Nt.CLICK_DATA_API,Rt,function(e){e.preventDefault(),e.stopPropagation(),Zt._jQueryInterface.call(Ct(this),"toggle")}).on(Nt.CLICK_DATA_API,Wt,function(e){e.stopPropagation()}),Ct.fn[kt]=Zt._jQueryInterface,Ct.fn[kt].Constructor=Zt,Ct.fn[kt].noConflict=function(){return Ct.fn[kt]=At,Zt._jQueryInterface},Zt),Qi=(en="modal",nn="."+(tn="bs.modal"),on=(Xt=t).fn[en],rn={backdrop:!0,keyboard:!0,focus:!0,show:!0},an={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},sn={HIDE:"hide"+nn,HIDDEN:"hidden"+nn,SHOW:"show"+nn,SHOWN:"shown"+nn,FOCUSIN:"focusin"+nn,RESIZE:"resize"+nn,CLICK_DISMISS:"click.dismiss"+nn,KEYDOWN_DISMISS:"keydown.dismiss"+nn,MOUSEUP_DISMISS:"mouseup.dismiss"+nn,MOUSEDOWN_DISMISS:"mousedown.dismiss"+nn,CLICK_DATA_API:"click"+nn+".data-api"},ln="modal-scrollbar-measure",cn="modal-backdrop",un="modal-open",dn="fade",hn="show",fn=".modal-dialog",pn='[data-toggle="modal"]',mn='[data-dismiss="modal"]',gn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",_n=".sticky-top",vn=function(){function o(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(fn),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._scrollbarWidth=0}var e=o.prototype;return e.toggle=function(e){return this._isShown?this.hide():this.show(e)},e.show=function(e){var t=this;if(!this._isTransitioning&&!this._isShown){Xt(this._element).hasClass(dn)&&(this._isTransitioning=!0);var n=Xt.Event(sn.SHOW,{relatedTarget:e});Xt(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),Xt(document.body).addClass(un),this._setEscapeEvent(),this._setResizeEvent(),Xt(this._element).on(sn.CLICK_DISMISS,mn,function(e){return t.hide(e)}),Xt(this._dialog).on(sn.MOUSEDOWN_DISMISS,function(){Xt(t._element).one(sn.MOUSEUP_DISMISS,function(e){Xt(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(e)}))}},e.hide=function(e){var t=this;if(e&&e.preventDefault(),!this._isTransitioning&&this._isShown){var n=Xt.Event(sn.HIDE);if(Xt(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=Xt(this._element).hasClass(dn);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),Xt(document).off(sn.FOCUSIN),Xt(this._element).removeClass(hn),Xt(this._element).off(sn.CLICK_DISMISS),Xt(this._dialog).off(sn.MOUSEDOWN_DISMISS),i){var o=we.getTransitionDurationFromElement(this._element);Xt(this._element).one(we.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(o)}else this._hideModal()}}},e.dispose=function(){Xt.removeData(this._element,tn),Xt(window,document,this._element,this._backdrop).off(nn),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(e){return e=l({},rn,e),we.typeCheckConfig(en,e,an),e},e._showElement=function(e){var t=this,n=Xt(this._element).hasClass(dn);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,n&&we.reflow(this._element),Xt(this._element).addClass(hn),this._config.focus&&this._enforceFocus();var i=Xt.Event(sn.SHOWN,{relatedTarget:e}),o=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,Xt(t._element).trigger(i)};if(n){var r=we.getTransitionDurationFromElement(this._element);Xt(this._dialog).one(we.TRANSITION_END,o).emulateTransitionEnd(r)}else o()},e._enforceFocus=function(){var t=this;Xt(document).off(sn.FOCUSIN).on(sn.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===Xt(t._element).has(e.target).length&&t._element.focus()})},e._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?Xt(this._element).on(sn.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||Xt(this._element).off(sn.KEYDOWN_DISMISS)},e._setResizeEvent=function(){var t=this;this._isShown?Xt(window).on(sn.RESIZE,function(e){return t.handleUpdate(e)}):Xt(window).off(sn.RESIZE)},e._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,this._showBackdrop(function(){Xt(document.body).removeClass(un),e._resetAdjustments(),e._resetScrollbar(),Xt(e._element).trigger(sn.HIDDEN)})},e._removeBackdrop=function(){this._backdrop&&(Xt(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(e){var t=this,n=Xt(this._element).hasClass(dn)?dn:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=cn,n&&this._backdrop.classList.add(n),Xt(this._backdrop).appendTo(document.body),Xt(this._element).on(sn.CLICK_DISMISS,function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._element.focus():t.hide())}),n&&we.reflow(this._backdrop),Xt(this._backdrop).addClass(hn),!e)return;if(!n)return void e();var i=we.getTransitionDurationFromElement(this._backdrop);Xt(this._backdrop).one(we.TRANSITION_END,e).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){Xt(this._backdrop).removeClass(hn);var o=function(){t._removeBackdrop(),e&&e()};if(Xt(this._element).hasClass(dn)){var r=we.getTransitionDurationFromElement(this._backdrop);Xt(this._backdrop).one(we.TRANSITION_END,o).emulateTransitionEnd(r)}else o()}else e&&e()},e._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var o=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(gn)),t=[].slice.call(document.querySelectorAll(_n));Xt(e).each(function(e,t){var n=t.style.paddingRight,i=Xt(t).css("padding-right");Xt(t).data("padding-right",n).css("padding-right",parseFloat(i)+o._scrollbarWidth+"px")}),Xt(t).each(function(e,t){var n=t.style.marginRight,i=Xt(t).css("margin-right");Xt(t).data("margin-right",n).css("margin-right",parseFloat(i)-o._scrollbarWidth+"px")});var n=document.body.style.paddingRight,i=Xt(document.body).css("padding-right");Xt(document.body).data("padding-right",n).css("padding-right",parseFloat(i)+this._scrollbarWidth+"px")}},e._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(gn));Xt(e).each(function(e,t){var n=Xt(t).data("padding-right");Xt(t).removeData("padding-right"),t.style.paddingRight=n||""});var t=[].slice.call(document.querySelectorAll(""+_n));Xt(t).each(function(e,t){var n=Xt(t).data("margin-right");void 0!==n&&Xt(t).css("margin-right",n).removeData("margin-right")});var n=Xt(document.body).data("padding-right");Xt(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},e._getScrollbarWidth=function(){var e=document.createElement("div");e.className=ln,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},o._jQueryInterface=function(n,i){return this.each(function(){var e=Xt(this).data(tn),t=l({},rn,Xt(this).data(),"object"==typeof n&&n?n:{});if(e||(e=new o(this,t),Xt(this).data(tn,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n](i)}else t.show&&e.show(i)})},a(o,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return rn}}]),o}(),Xt(document).on(sn.CLICK_DATA_API,pn,function(e){var t,n=this,i=we.getSelectorFromElement(this);i&&(t=document.querySelector(i));var o=Xt(t).data(tn)?"toggle":l({},Xt(t).data(),Xt(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var r=Xt(t).one(sn.SHOW,function(e){e.isDefaultPrevented()||r.one(sn.HIDDEN,function(){Xt(n).is(":visible")&&n.focus()})});vn._jQueryInterface.call(Xt(t),o,this)}),Xt.fn[en]=vn._jQueryInterface,Xt.fn[en].Constructor=vn,Xt.fn[en].noConflict=function(){return Xt.fn[en]=on,vn._jQueryInterface},vn),qi=(bn="tooltip",wn="."+(En="bs.tooltip"),Sn=(yn=t).fn[bn],Cn="bs-tooltip",kn=new RegExp("(^|\\s)"+Cn+"\\S+","g"),In={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!(Dn={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(Tn={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},On="out",Nn={HIDE:"hide"+wn,HIDDEN:"hidden"+wn,SHOW:(An="show")+wn,SHOWN:"shown"+wn,INSERTED:"inserted"+wn,CLICK:"click"+wn,FOCUSIN:"focusin"+wn,FOCUSOUT:"focusout"+wn,MOUSEENTER:"mouseenter"+wn,MOUSELEAVE:"mouseleave"+wn},xn="fade",Pn="show",jn=".tooltip-inner",Mn=".arrow",Ln="hover",Fn="focus",Hn="click",Rn="manual",Wn=function(){function i(e,t){if(void 0===St)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var e=i.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=yn(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),yn(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(yn(this.getTipElement()).hasClass(Pn))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),yn.removeData(this.element,this.constructor.DATA_KEY),yn(this.element).off(this.constructor.EVENT_KEY),yn(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&yn(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var t=this;if("none"===yn(this.element).css("display"))throw new Error("Please use show on visible elements");var e=yn.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){yn(this.element).trigger(e);var n=yn.contains(this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!n)return;var i=this.getTipElement(),o=we.getUID(this.constructor.NAME);i.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&yn(i).addClass(xn);var r="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,a=this._getAttachment(r);this.addAttachmentClass(a);var s=!1===this.config.container?document.body:yn(document).find(this.config.container);yn(i).data(this.constructor.DATA_KEY,this),yn.contains(this.element.ownerDocument.documentElement,this.tip)||yn(i).appendTo(s),yn(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new St(this.element,i,{placement:a,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:Mn},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){t._handlePopperPlacementChange(e)}}),yn(i).addClass(Pn),"ontouchstart"in document.documentElement&&yn(document.body).children().on("mouseover",null,yn.noop);var l=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,yn(t.element).trigger(t.constructor.Event.SHOWN),e===On&&t._leave(null,t)};if(yn(this.tip).hasClass(xn)){var c=we.getTransitionDurationFromElement(this.tip);yn(this.tip).one(we.TRANSITION_END,l).emulateTransitionEnd(c)}else l()}},e.hide=function(e){var t=this,n=this.getTipElement(),i=yn.Event(this.constructor.Event.HIDE),o=function(){t._hoverState!==An&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),yn(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(yn(this.element).trigger(i),!i.isDefaultPrevented()){if(yn(n).removeClass(Pn),"ontouchstart"in document.documentElement&&yn(document.body).children().off("mouseover",null,yn.noop),this._activeTrigger[Hn]=!1,this._activeTrigger[Fn]=!1,this._activeTrigger[Ln]=!1,yn(this.tip).hasClass(xn)){var r=we.getTransitionDurationFromElement(n);yn(n).one(we.TRANSITION_END,o).emulateTransitionEnd(r)}else o();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(e){yn(this.getTipElement()).addClass(Cn+"-"+e)},e.getTipElement=function(){return this.tip=this.tip||yn(this.config.template)[0],this.tip},e.setContent=function(){var e=this.getTipElement();this.setElementContent(yn(e.querySelectorAll(jn)),this.getTitle()),yn(e).removeClass(xn+" "+Pn)},e.setElementContent=function(e,t){var n=this.config.html;"object"==typeof t&&(t.nodeType||t.jquery)?n?yn(t).parent().is(e)||e.empty().append(t):e.text(yn(t).text()):e[n?"html":"text"](t)},e.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},e._getAttachment=function(e){return Dn[e.toUpperCase()]},e._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)yn(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(e){return i.toggle(e)});else if(e!==Rn){var t=e===Ln?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=e===Ln?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;yn(i.element).on(t,i.config.selector,function(e){return i._enter(e)}).on(n,i.config.selector,function(e){return i._leave(e)})}yn(i.element).closest(".modal").on("hide.bs.modal",function(){return i.hide()})}),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||yn(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),yn(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?Fn:Ln]=!0),yn(t.getTipElement()).hasClass(Pn)||t._hoverState===An?t._hoverState=An:(clearTimeout(t._timeout),t._hoverState=An,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===An&&t.show()},t.config.delay.show):t.show())},e._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||yn(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),yn(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?Fn:Ln]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=On,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===On&&t.hide()},t.config.delay.hide):t.hide())},e._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},e._getConfig=function(e){return"number"==typeof(e=l({},this.constructor.Default,yn(this.element).data(),"object"==typeof e&&e?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()),we.typeCheckConfig(bn,e,this.constructor.DefaultType),e},e._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},e._cleanTipClass=function(){var e=yn(this.getTipElement()),t=e.attr("class").match(kn);null!==t&&t.length&&e.removeClass(t.join(""))},e._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},e._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(yn(e).removeClass(xn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},i._jQueryInterface=function(n){return this.each(function(){var e=yn(this).data(En),t="object"==typeof n&&n;if((e||!/dispose|hide/.test(n))&&(e||(e=new i(this,t),yn(this).data(En,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},a(i,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return In}},{key:"NAME",get:function(){return bn}},{key:"DATA_KEY",get:function(){return En}},{key:"Event",get:function(){return Nn}},{key:"EVENT_KEY",get:function(){return wn}},{key:"DefaultType",get:function(){return Tn}}]),i}(),yn.fn[bn]=Wn._jQueryInterface,yn.fn[bn].Constructor=Wn,yn.fn[bn].noConflict=function(){return yn.fn[bn]=Sn,Wn._jQueryInterface},Wn),$i=(Bn="popover",qn="."+(Qn="bs.popover"),$n=(Un=t).fn[Bn],Kn="bs-popover",Yn=new RegExp("(^|\\s)"+Kn+"\\S+","g"),Vn=l({},qi.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Jn=l({},qi.DefaultType,{content:"(string|element|function)"}),zn="fade",Zn=".popover-header",Xn=".popover-body",ei={HIDE:"hide"+qn,HIDDEN:"hidden"+qn,SHOW:(Gn="show")+qn,SHOWN:"shown"+qn,INSERTED:"inserted"+qn,CLICK:"click"+qn,FOCUSIN:"focusin"+qn,FOCUSOUT:"focusout"+qn,MOUSEENTER:"mouseenter"+qn,MOUSELEAVE:"mouseleave"+qn},ti=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),(t.prototype.constructor=t).__proto__=n;var o=i.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(e){Un(this.getTipElement()).addClass(Kn+"-"+e)},o.getTipElement=function(){return this.tip=this.tip||Un(this.config.template)[0],this.tip},o.setContent=function(){var e=Un(this.getTipElement());this.setElementContent(e.find(Zn),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(Xn),t),e.removeClass(zn+" "+Gn)},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var e=Un(this.getTipElement()),t=e.attr("class").match(Yn);null!==t&&0<t.length&&e.removeClass(t.join(""))},i._jQueryInterface=function(n){return this.each(function(){var e=Un(this).data(Qn),t="object"==typeof n?n:null;if((e||!/destroy|hide/.test(n))&&(e||(e=new i(this,t),Un(this).data(Qn,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},a(i,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return Vn}},{key:"NAME",get:function(){return Bn}},{key:"DATA_KEY",get:function(){return Qn}},{key:"Event",get:function(){return ei}},{key:"EVENT_KEY",get:function(){return qn}},{key:"DefaultType",get:function(){return Jn}}]),i}(qi),Un.fn[Bn]=ti._jQueryInterface,Un.fn[Bn].Constructor=ti,Un.fn[Bn].noConflict=function(){return Un.fn[Bn]=$n,ti._jQueryInterface},ti),Ki=(ii="scrollspy",ri="."+(oi="bs.scrollspy"),ai=(ni=t).fn[ii],si={offset:10,method:"auto",target:""},li={offset:"number",method:"string",target:"(string|element)"},ci={ACTIVATE:"activate"+ri,SCROLL:"scroll"+ri,LOAD_DATA_API:"load"+ri+".data-api"},ui="dropdown-item",di="active",hi='[data-spy="scroll"]',fi=".active",pi=".nav, .list-group",mi=".nav-link",gi=".nav-item",_i=".list-group-item",vi=".dropdown",yi=".dropdown-item",bi=".dropdown-toggle",Ei="offset",wi="position",Si=function(){function n(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+mi+","+this._config.target+" "+_i+","+this._config.target+" "+yi,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,ni(this._scrollElement).on(ci.SCROLL,function(e){return n._process(e)}),this.refresh(),this._process()}var e=n.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?Ei:wi,o="auto"===this._config.method?e:this._config.method,r=o===wi?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var t,n=we.getSelectorFromElement(e);if(n&&(t=document.querySelector(n)),t){var i=t.getBoundingClientRect();if(i.width||i.height)return[ni(t)[o]().top+r,n]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function(){ni.removeData(this._element,oi),ni(this._scrollElement).off(ri),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(e){if("string"!=typeof(e=l({},si,"object"==typeof e&&e?e:{})).target){var t=ni(e.target).attr("id");t||(t=we.getUID(ii),ni(e.target).attr("id",t)),e.target="#"+t}return we.typeCheckConfig(ii,e,li),e},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),n<=e){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&e<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&e>=this._offsets[o]&&(void 0===this._offsets[o+1]||e<this._offsets[o+1])&&this._activate(this._targets[o])}}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",");e=e.map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'});var n=ni([].slice.call(document.querySelectorAll(e.join(","))));n.hasClass(ui)?(n.closest(vi).find(bi).addClass(di),n.addClass(di)):(n.addClass(di),n.parents(pi).prev(mi+", "+_i).addClass(di),n.parents(pi).prev(gi).children(mi).addClass(di)),ni(this._scrollElement).trigger(ci.ACTIVATE,{relatedTarget:t})},e._clear=function(){var e=[].slice.call(document.querySelectorAll(this._selector));ni(e).filter(fi).removeClass(di)},n._jQueryInterface=function(t){return this.each(function(){var e=ni(this).data(oi);if(e||(e=new n(this,"object"==typeof t&&t),ni(this).data(oi,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},a(n,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return si}}]),n}(),ni(window).on(ci.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(hi)),t=e.length;t--;){var n=ni(e[t]);Si._jQueryInterface.call(n,n.data())}}),ni.fn[ii]=Si._jQueryInterface,ni.fn[ii].Constructor=Si,ni.fn[ii].noConflict=function(){return ni.fn[ii]=ai,Si._jQueryInterface},Si),Yi=(Ti="."+(ki="bs.tab"),Di=(Ci=t).fn.tab,Ii={HIDE:"hide"+Ti,HIDDEN:"hidden"+Ti,SHOW:"show"+Ti,SHOWN:"shown"+Ti,CLICK_DATA_API:"click"+Ti+".data-api"},Ai="dropdown-menu",Oi="active",Ni="disabled",xi="fade",Pi="show",ji=".dropdown",Mi=".nav, .list-group",Li=".active",Fi="> li > .active",Hi='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Ri=".dropdown-toggle",Wi="> .dropdown-menu .active",Ui=function(){function i(e){this._element=e}var e=i.prototype;return e.show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&Ci(this._element).hasClass(Oi)||Ci(this._element).hasClass(Ni))){var e,i,t=Ci(this._element).closest(Mi)[0],o=we.getSelectorFromElement(this._element);if(t){var r="UL"===t.nodeName?Fi:Li;i=(i=Ci.makeArray(Ci(t).find(r)))[i.length-1]}var a=Ci.Event(Ii.HIDE,{relatedTarget:this._element}),s=Ci.Event(Ii.SHOW,{relatedTarget:i});if(i&&Ci(i).trigger(a),Ci(this._element).trigger(s),!s.isDefaultPrevented()&&!a.isDefaultPrevented()){o&&(e=document.querySelector(o)),this._activate(this._element,t);var l=function(){var e=Ci.Event(Ii.HIDDEN,{relatedTarget:n._element}),t=Ci.Event(Ii.SHOWN,{relatedTarget:i});Ci(i).trigger(e),Ci(n._element).trigger(t)};e?this._activate(e,e.parentNode,l):l()}}},e.dispose=function(){Ci.removeData(this._element,ki),this._element=null},e._activate=function(e,t,n){var i=this,o=("UL"===t.nodeName?Ci(t).find(Fi):Ci(t).children(Li))[0],r=n&&o&&Ci(o).hasClass(xi),a=function(){return i._transitionComplete(e,o,n)};if(o&&r){var s=we.getTransitionDurationFromElement(o);Ci(o).one(we.TRANSITION_END,a).emulateTransitionEnd(s)}else a()},e._transitionComplete=function(e,t,n){if(t){Ci(t).removeClass(Pi+" "+Oi);var i=Ci(t.parentNode).find(Wi)[0];i&&Ci(i).removeClass(Oi),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(Ci(e).addClass(Oi),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),we.reflow(e),Ci(e).addClass(Pi),e.parentNode&&Ci(e.parentNode).hasClass(Ai)){var o=Ci(e).closest(ji)[0];if(o){var r=[].slice.call(o.querySelectorAll(Ri));Ci(r).addClass(Oi)}e.setAttribute("aria-expanded",!0)}n&&n()},i._jQueryInterface=function(n){return this.each(function(){var e=Ci(this),t=e.data(ki);if(t||(t=new i(this),e.data(ki,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},a(i,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),i}(),Ci(document).on(Ii.CLICK_DATA_API,Hi,function(e){e.preventDefault(),Ui._jQueryInterface.call(Ci(this),"show")}),Ci.fn.tab=Ui._jQueryInterface,Ci.fn.tab.Constructor=Ui,Ci.fn.tab.noConflict=function(){return Ci.fn.tab=Di,Ui._jQueryInterface},Ui);!function(e){if(void 0===e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(t),e.Util=we,e.Alert=Se,e.Button=Ce,e.Carousel=ke,e.Collapse=Te,e.Dropdown=Bi,e.Modal=Qi,e.Popover=$i,e.Scrollspy=Ki,e.Tab=Yi,e.Tooltip=qi,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t(e.material={},e.jQuery)}(this,function(e,i){"use strict";i=i&&i.hasOwnProperty("default")?i.default:i;var n,o,t,r,a,s,l,c,u,d,h,f,p,m,g,_,v,y,b=(o="show-predecessor",t="hide"+".bs.collapse",r="show"+".bs.collapse",a=".expansion-panel",s=".expansion-panel .collapse",void(n=i)(document).on(""+t,s,function(){var e=n(this).closest(a);e.removeClass("show");var t=e.prev(a);t.length&&t.removeClass(o)}).on(""+r,s,function(){var e=n(this).closest(a);e.addClass("show");var t=e.prev(a);t.length&&t.addClass(o)})),E=(u="."+(c="md.floatinglabel"),d="floatinglabel",h=(l=i).fn[d],f="is-focused",p="has-value",m="change"+u,g="focusin"+u,_="focusout"+u,v={DATA_PARENT:".floating-label",DATA_TOGGLE:".floating-label .custom-select, .floating-label .form-control"},y=function(){function i(e){this._element=e,this._parent=l(e).closest(v.DATA_PARENT)[0]}var e=i.prototype;return e.change=function(){l(this._element).val()||l(this._element).is("select")&&""!==l("option:first-child",l(this._element)).html().replace(" ","")?l(this._parent).addClass(p):l(this._parent).removeClass(p)},e.focusin=function(){l(this._parent).addClass(f)},e.focusout=function(){l(this._parent).removeClass(f)},i._jQueryInterface=function(n){return this.each(function(){var e=n||"change",t=l(this).data(c);if(t||(t=new i(this),l(this).data(c,t)),"string"==typeof e){if(void 0===t[e])throw new Error('No method named "'+e+'"');t[e]()}})},i}(),l(document).on(m+" "+g+" "+_,v.DATA_TOGGLE,function(e){y._jQueryInterface.call(l(this),e.type)}),l.fn[d]=y._jQueryInterface,l.fn[d].Constructor=y,l.fn[d].noConflict=function(){return l.fn[d]=h,y._jQueryInterface},y);function w(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function S(o){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},t=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.forEach(function(e){var t,n,i;t=o,i=r[n=e],n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i})}return o}var C,k,T,D,I,A,O,N,x,P,j,M,L,F,H,R,W=(H="transitionend",R={TRANSITION_END:"mdTransitionEnd",getSelectorFromElement:function(e){var t=e.getAttribute("data-target");t&&"#"!==t||(t=e.getAttribute("href")||"");try{return 0<F(document).find(t).length?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=F(e).css("transition-duration");return t?(t=t.split(",")[0],1e3*parseFloat(t)):0},getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},isElement:function(e){return(e[0]||e).nodeType},reflow:function(e){return e.offsetHeight},supportsTransitionEnd:function(){return Boolean(H)},triggerTransitionEnd:function(e){F(e).trigger(H)},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=t[i],a=r&&R.isElement(r)?"element":(s=r,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(a))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+o+'".')}var s}},(F=i).fn.emulateTransitionEnd=function(e){var t=this,n=!1;return F(this).one(R.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||R.triggerTransitionEnd(t)},e),this},F.event.special[R.TRANSITION_END]={bindType:H,delegateType:H,handle:function(e){if(F(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},R),U=(T="."+(k="md.navdrawer"),D="navdrawer",I=(C=i).fn[D],A="navdrawer-backdrop",O="navdrawer-open",x={breakpoint:"",keyboard:!0,show:!0,type:"default"},P={keyboard:"boolean",show:"boolean",type:"string"},j={CLICK_DATA_API:"click"+T+".data-api",CLICK_DISMISS:"click.dismiss"+T,FOCUSIN:"focusin"+T,HIDDEN:"hidden"+T,HIDE:"hide"+T,KEYDOWN_DISMISS:"keydown.dismiss"+T,MOUSEDOWN_DISMISS:"mousedown.dismiss"+T,MOUSEUP_DISMISS:"mouseup.dismiss"+T,SHOW:(N="show")+T,SHOWN:"shown"+T},M={CONTENT:".navdrawer-content",DATA_DISMISS:'[data-dismiss="navdrawer"]',DATA_TOGGLE:'[data-toggle="navdrawer"]'},L=function(){function o(e,t){this._backdrop=null,this._config=this._getConfig(t),this._content=C(e).find(M.CONTENT)[0],this._element=e,this._ignoreBackdropClick=!1,this._isShown=!1,this._typeBreakpoint=""===this._config.breakpoint?"":"-"+this._config.breakpoint}var e,t,n=o.prototype;return n.hide=function(e){var t=this;if(e&&e.preventDefault(),!this._isTransitioning&&this._isShown){var n=C.Event(j.HIDE);if(C(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1,this._isTransitioning=!0,this._setEscapeEvent(),C(document).off(j.FOCUSIN),C(document.body).removeClass(O+"-"+this._config.type+this._typeBreakpoint),C(this._element).removeClass(N),C(this._element).off(j.CLICK_DISMISS),C(this._content).off(j.MOUSEDOWN_DISMISS);var i=W.getTransitionDurationFromElement(this._content);C(this._content).one(W.TRANSITION_END,function(e){return t._hideNavdrawer(e)}).emulateTransitionEnd(i),this._showBackdrop()}}},n.show=function(e){var t=this;if(!this._isTransitioning&&!this._isShown){this._isTransitioning=!0;var n=C.Event(j.SHOW,{relatedTarget:e});C(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._setEscapeEvent(),C(this._element).addClass(D+"-"+this._config.type+this._typeBreakpoint),C(this._element).on(j.CLICK_DISMISS,M.DATA_DISMISS,function(e){return t.hide(e)}),C(this._content).on(j.MOUSEDOWN_DISMISS,function(){C(t._element).one(j.MOUSEUP_DISMISS,function(e){C(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(),this._showElement(e))}},n.toggle=function(e){return this._isShown?this.hide():this.show(e)},n._enforceFocus=function(){var t=this;C(document).off(j.FOCUSIN).on(j.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===C(t._element).has(e.target).length&&t._element.focus()})},n._getConfig=function(e){return e=S({},x,e),W.typeCheckConfig(D,e,P),e},n._hideNavdrawer=function(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,C(this._element).trigger(j.HIDDEN)},n._removeBackdrop=function(){this._backdrop&&(C(this._backdrop).remove(),this._backdrop=null)},n._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?C(this._element).on(j.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||C(this._element).off(j.KEYDOWN_DISMISS)},n._showBackdrop=function(){var t=this;this._isShown?(this._backdrop=document.createElement("div"),C(this._backdrop).addClass(A).addClass(A+"-"+this._config.type+this._typeBreakpoint).appendTo(document.body),C(this._element).on(j.CLICK_DISMISS,function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&t.hide()}),W.reflow(this._backdrop),C(this._backdrop).addClass(N)):!this._isShown&&this._backdrop&&(C(this._backdrop).removeClass(N),this._removeBackdrop())},n._showElement=function(e){var t=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),W.reflow(this._element),C(document.body).addClass(O+"-"+this._config.type+this._typeBreakpoint),C(this._element).addClass(N),this._enforceFocus();var n=C.Event(j.SHOWN,{relatedTarget:e}),i=W.getTransitionDurationFromElement(this._content);C(this._content).one(W.TRANSITION_END,function(){t._element.focus(),t._isTransitioning=!1,C(t._element).trigger(n)}).emulateTransitionEnd(i)},o._jQueryInterface=function(n,i){return this.each(function(){var e=S({},x,C(this).data(),"object"==typeof n&&n?n:{}),t=C(this).data(k);if(t||(t=new o(this,e),C(this).data(k,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](i)}else e.show&&t.show(i)})},e=o,t=[{key:"Default",get:function(){return x}}],null&&w(e.prototype,null),w(e,t),o}(),C(document).on(j.CLICK_DATA_API,M.DATA_TOGGLE,function(e){var t,n=this,i=W.getSelectorFromElement(this);i&&(t=C(i)[0]);var o=C(t).data(k)?"toggle":S({},C(t).data(),C(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var r=C(t).one(j.SHOW,function(e){e.isDefaultPrevented()||r.one(j.HIDDEN,function(){C(n).is(":visible")&&n.focus()})});L._jQueryInterface.call(C(t),o,this)}),C.fn[D]=L._jQueryInterface,C.fn[D].Constructor=L,C.fn[D].noConflict=function(){return C.fn[D]=I,L._jQueryInterface},L);function B(e,t){return e(t={exports:{}},t.exports),t.exports}var Q,q,$,K,Y,V,J,z,G,Z,X,ee,te,ne,ie,oe,re,ae,se,le,ce,ue=B(function(e,t){var n;n=function(g){var i=g(window),_=g(document),v=g(document.documentElement),y=null!=document.documentElement.style.transition;function b(o,r,a,e){if(!o)return b;var s=!1,l={id:o.id||"P"+Math.abs(~~(Math.random()*new Date))},c=a?g.extend(!0,{},a.defaults,e):e||{},u=g.extend({},b.klasses(),c.klass),d=g(o),t=function(){return this.start()},h=t.prototype={constructor:t,$node:d,start:function(){return l&&l.start?h:(l.methods={},l.start=!0,l.open=!1,l.type=o.type,o.autofocus=o==S(),o.readOnly=!c.editable,o.id=o.id||l.id,"text"!=o.type&&(o.type="text"),h.component=new a(h,c),h.$root=g('<div class="'+u.picker+'" id="'+o.id+'_root" />'),w(h.$root[0],"hidden",!0),h.$holder=g(f()).appendTo(h.$root),p(),c.formatSubmit&&(!0===c.hiddenName?(i=o.name,o.name=""):i=(i=["string"==typeof c.hiddenPrefix?c.hiddenPrefix:"","string"==typeof c.hiddenSuffix?c.hiddenSuffix:"_submit"])[0]+o.name+i[1],h._hidden=g('<input type=hidden name="'+i+'"'+(d.data("value")||o.value?' value="'+h.get("select",c.formatSubmit)+'"':"")+">")[0],d.on("change."+l.id,function(){h._hidden.value=o.value?h.get("select",c.formatSubmit):""})),d.data(r,h).addClass(u.input).val(d.data("value")?h.get("select",c.format):o.value),c.editable||d.on("focus."+l.id+" click."+l.id,function(e){e.preventDefault(),h.open()}).on("keydown."+l.id,m),w(o,{haspopup:!0,expanded:!1,readonly:!1,owns:o.id+"_root"}),c.containerHidden?g(c.containerHidden).append(h._hidden):d.after(h._hidden),c.container?g(c.container).append(h.$root):d.after(h.$root),h.on({start:h.component.onStart,render:h.component.onRender,stop:h.component.onStop,open:h.component.onOpen,close:h.component.onClose,set:h.component.onSet}).on({start:c.onStart,render:c.onRender,stop:c.onStop,open:c.onOpen,close:c.onClose,set:c.onSet}),e=h.$holder[0],n="position",e.currentStyle?t=e.currentStyle[n]:window.getComputedStyle&&(t=getComputedStyle(e)[n]),s="fixed"==t,o.autofocus&&h.open(),h.trigger("start").trigger("render"));var e,t,n,i},render:function(e){return e?(h.$holder=g(f()),p(),h.$root.html(h.$holder)):h.$root.find("."+u.box).html(h.component.nodes(l.open)),h.trigger("render")},stop:function(){return l.start&&(h.close(),h._hidden&&h._hidden.parentNode.removeChild(h._hidden),h.$root.remove(),d.removeClass(u.input).removeData(r),setTimeout(function(){d.off("."+l.id)},0),o.type=l.type,o.readOnly=!1,h.trigger("stop"),l.methods={},l.start=!1),h},open:function(e){return l.open?h:(d.addClass(u.active),w(o,"expanded",!0),setTimeout(function(){h.$root.addClass(u.opened),w(h.$root[0],"hidden",!1)},0),!1!==e&&(l.open=!0,s&&v.css("overflow","hidden").css("padding-right","+="+E()),s&&y?h.$holder.find("."+u.frame).one("transitionend",function(){h.$holder[0].focus()}):h.$holder[0].focus(),_.on("click."+l.id+" focusin."+l.id,function(e){var t=e.target;t!=o&&t!=document&&3!=e.which&&h.close(t===h.$holder[0])}).on("keydown."+l.id,function(e){var t=e.keyCode,n=h.component.key[t],i=e.target;27==t?h.close(!0):i!=h.$holder[0]||!n&&13!=t?g.contains(h.$root[0],i)&&13==t&&(e.preventDefault(),i.click()):(e.preventDefault(),n?b._.trigger(h.component.key.go,h,[b._.trigger(n)]):h.$root.find("."+u.highlighted).hasClass(u.disabled)||(h.set("select",h.component.item.highlight),c.closeOnSelect&&h.close(!0)))})),h.trigger("open"))},close:function(e){return e&&(c.editable?o.focus():(h.$holder.off("focus.toOpen").focus(),setTimeout(function(){h.$holder.on("focus.toOpen",n)},0))),d.removeClass(u.active),w(o,"expanded",!1),setTimeout(function(){h.$root.removeClass(u.opened+" "+u.focused),w(h.$root[0],"hidden",!0)},0),l.open?(l.open=!1,s&&v.css("overflow","").css("padding-right","-="+E()),_.off("."+l.id),h.trigger("close")):h},clear:function(e){return h.set("clear",null,e)},set:function(e,t,n){var i,o,r=g.isPlainObject(e),a=r?e:{};if(n=r&&g.isPlainObject(t)?t:n||{},e){for(i in r||(a[e]=t),a)o=a[i],i in h.component.item&&(void 0===o&&(o=null),h.component.set(i,o,n)),"select"!=i&&"clear"!=i||d.val("clear"==i?"":h.get(i,c.format)).trigger("change");h.render()}return n.muted?h:h.trigger("set",a)},get:function(e,t){if(null!=l[e=e||"value"])return l[e];if("valueSubmit"==e){if(h._hidden)return h._hidden.value;e="value"}if("value"==e)return o.value;if(e in h.component.item){if("string"!=typeof t)return h.component.get(e);var n=h.component.get(e);return n?b._.trigger(h.component.formats.toString,h.component,[t,n]):""}},on:function(e,t,n){var i,o,r=g.isPlainObject(e),a=r?e:{};if(e)for(i in r||(a[e]=t),a)o=a[i],n&&(i="_"+i),l.methods[i]=l.methods[i]||[],l.methods[i].push(o);return h},off:function(){var e,t,n=arguments;for(e=0,namesCount=n.length;e<namesCount;e+=1)(t=n[e])in l.methods&&delete l.methods[t];return h},trigger:function(e,n){var t=function(e){var t=l.methods[e];t&&t.map(function(e){b._.trigger(e,h,[n])})};return t("_"+e),t(e),h}};function f(){return b._.node("div",b._.node("div",b._.node("div",b._.node("div",h.component.nodes(l.open),u.box),u.wrap),u.frame),u.holder,'tabindex="-1"')}function p(){h.$holder.on({keydown:m,"focus.toOpen":n,blur:function(){d.removeClass(u.target)},focusin:function(e){h.$root.removeClass(u.focused),e.stopPropagation()},"mousedown click":function(e){var t=e.target;t!=h.$holder[0]&&(e.stopPropagation(),"mousedown"!=e.type||g(t).is("input, select, textarea, button, option")||(e.preventDefault(),h.$holder[0].focus()))}}).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var e=g(this),t=e.data(),n=e.hasClass(u.navDisabled)||e.hasClass(u.disabled),i=S();i=i&&(i.type||i.href),(n||i&&!g.contains(h.$root[0],i))&&h.$holder[0].focus(),!n&&t.nav?h.set("highlight",h.component.item.highlight,{nav:t.nav}):!n&&"pick"in t?(h.set("select",t.pick),c.closeOnSelect&&h.close(!0)):t.clear?(h.clear(),c.closeOnClear&&h.close(!0)):t.close&&h.close(!0)})}function n(e){e.stopPropagation(),d.addClass(u.target),h.$root.addClass(u.focused),h.open()}function m(e){var t=e.keyCode,n=/^(8|46)$/.test(t);if(27==t)return h.close(!0),!1;(32==t||n||!l.open&&h.component.key[t])&&(e.preventDefault(),e.stopPropagation(),n?h.clear().close():h.open())}return new t}function E(){if(v.height()<=i.height())return 0;var e=g('<div style="visibility:hidden;width:100px" />').appendTo("body"),t=e[0].offsetWidth;e.css("overflow","scroll");var n=g('<div style="width:100%" />').appendTo(e)[0].offsetWidth;return e.remove(),t-n}function w(e,t,n){if(g.isPlainObject(t))for(var i in t)o(e,i,t[i]);else o(e,t,n)}function o(e,t,n){e.setAttribute(("role"==t?"":"aria-")+t,n)}function S(){try{return document.activeElement}catch(e){}}return b.klasses=function(e){return{picker:e=e||"picker",opened:e+"--opened",focused:e+"--focused",input:e+"__input",active:e+"__input--active",target:e+"__input--target",holder:e+"__holder",frame:e+"__frame",wrap:e+"__wrap",box:e+"__box"}},b._={group:function(e){for(var t,n="",i=b._.trigger(e.min,e);i<=b._.trigger(e.max,e,[i]);i+=e.i)t=b._.trigger(e.item,e,[i]),n+=b._.node(e.node,t[0],t[1],t[2]);return n},node:function(e,t,n,i){return t?"<"+e+(n=n?' class="'+n+'"':"")+(i=i?" "+i:"")+">"+(t=g.isArray(t)?t.join(""):t)+"</"+e+">":""},lead:function(e){return(e<10?"0":"")+e},trigger:function(e,t,n){return"function"==typeof e?e.apply(t,n||[]):e},digits:function(e){return/\d/.test(e[1])?2:1},isDate:function(e){return-1<{}.toString.call(e).indexOf("Date")&&this.isInteger(e.getDate())},isInteger:function(e){return-1<{}.toString.call(e).indexOf("Number")&&e%1==0},ariaAttr:function(e,t){for(var n in g.isPlainObject(e)||(e={attribute:t}),t="",e){var i=("role"==n?"":"aria-")+n;t+=null==e[n]?"":i+'="'+e[n]+'"'}return t}},b.extend=function(i,o){g.fn[i]=function(e,t){var n=this.data(i);return"picker"==e?n:n&&"string"==typeof e?b._.trigger(n[e],n,[t]):this.each(function(){g(this).data(i)||new b(this,i,o,e)})},g.fn[i].defaults=o.defaults},b},e.exports=n(i)}),de=Object.freeze({default:ue,__moduleExports:ue}),he=de&&ue||de,fe=(B(function(e,t){var n;n=function(e,p){var t,_=e._;function n(t,n){var e,i=this,o=t.$node[0],r=o.value,a=t.$node.data("value"),s=a||r,l=a?n.formatSubmit:n.format,c=function(){return o.currentStyle?"rtl"==o.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction};i.settings=n,i.$node=t.$node,i.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},i.item={},i.item.clear=null,i.item.disable=(n.disable||[]).slice(0),i.item.enable=-(!0===(e=i.item.disable)[0]?e.shift():-1),i.set("min",n.min).set("max",n.max).set("now"),s?i.set("select",s,{format:l,defaultValue:!0}):i.set("select",null).set("highlight",i.item.now),i.key={40:7,38:-7,39:function(){return c()?-1:1},37:function(){return c()?1:-1},go:function(e){var t=i.item.highlight,n=new Date(t.year,t.month,t.date+e);i.set("highlight",n,{interval:e}),this.render()}},t.on("render",function(){t.$root.find("."+n.klass.selectMonth).on("change",function(){var e=this.value;e&&(t.set("highlight",[t.get("view").year,e,t.get("highlight").date]),t.$root.find("."+n.klass.selectMonth).trigger("focus"))}),t.$root.find("."+n.klass.selectYear).on("change",function(){var e=this.value;e&&(t.set("highlight",[e,t.get("view").month,t.get("highlight").date]),t.$root.find("."+n.klass.selectYear).trigger("focus"))})},1).on("open",function(){var e="";i.disabled(i.get("now"))&&(e=":not(."+n.klass.buttonToday+")"),t.$root.find("button"+e+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)}n.prototype.set=function(t,n,i){var o=this,e=o.item;return null===n?("clear"==t&&(t="select"),e[t]=n):(e["enable"==t?"disable":"flip"==t?"enable":t]=o.queue[t].split(" ").map(function(e){return n=o[e](t,n,i)}).pop(),"select"==t?o.set("highlight",e.select,i):"highlight"==t?o.set("view",e.highlight,i):t.match(/^(flip|min|max|disable|enable)$/)&&(e.select&&o.disabled(e.select)&&o.set("select",e.select,i),e.highlight&&o.disabled(e.highlight)&&o.set("highlight",e.highlight,i))),o},n.prototype.get=function(e){return this.item[e]},n.prototype.create=function(e,t,n){var i;return(t=void 0===t?e:t)==-1/0||t==1/0?i=t:t=p.isPlainObject(t)&&_.isInteger(t.pick)?t.obj:p.isArray(t)?(t=new Date(t[0],t[1],t[2]),_.isDate(t)?t:this.create().obj):_.isInteger(t)||_.isDate(t)?this.normalize(new Date(t),n):this.now(e,t,n),{year:i||t.getFullYear(),month:i||t.getMonth(),date:i||t.getDate(),day:i||t.getDay(),obj:i||t,pick:i||t.getTime()}},n.prototype.createRange=function(e,t){var n=this,i=function(e){return!0===e||p.isArray(e)||_.isDate(e)?n.create(e):e};return _.isInteger(e)||(e=i(e)),_.isInteger(t)||(t=i(t)),_.isInteger(e)&&p.isPlainObject(t)?e=[t.year,t.month,t.date+e]:_.isInteger(t)&&p.isPlainObject(e)&&(t=[e.year,e.month,e.date+t]),{from:i(e),to:i(t)}},n.prototype.withinRange=function(e,t){return e=this.createRange(e.from,e.to),t.pick>=e.from.pick&&t.pick<=e.to.pick},n.prototype.overlapRanges=function(e,t){var n=this;return e=n.createRange(e.from,e.to),t=n.createRange(t.from,t.to),n.withinRange(e,t.from)||n.withinRange(e,t.to)||n.withinRange(t,e.from)||n.withinRange(t,e.to)},n.prototype.now=function(e,t,n){return t=new Date,n&&n.rel&&t.setDate(t.getDate()+n.rel),this.normalize(t,n)},n.prototype.navigate=function(e,t,n){var i,o,r,a,s=p.isArray(t),l=p.isPlainObject(t),c=this.item.view;if(s||l){for(a=l?(o=t.year,r=t.month,t.date):(o=+t[0],r=+t[1],+t[2]),n&&n.nav&&c&&c.month!==r&&(o=c.year,r=c.month),o=(i=new Date(o,r+(n&&n.nav?n.nav:0),1)).getFullYear(),r=i.getMonth();new Date(o,r,a).getMonth()!==r;)a-=1;t=[o,r,a]}return t},n.prototype.normalize=function(e){return e.setHours(0,0,0,0),e},n.prototype.measure=function(e,t){return t?"string"==typeof t?t=this.parse(e,t):_.isInteger(t)&&(t=this.now(e,t,{rel:t})):t="min"==e?-1/0:1/0,t},n.prototype.viewset=function(e,t){return this.create([t.year,t.month,1])},n.prototype.validate=function(e,n,t){var i,o,r,a,s=this,l=n,c=t&&t.interval?t.interval:1,u=-1===s.item.enable,d=s.item.min,h=s.item.max,f=u&&s.item.disable.filter(function(e){if(p.isArray(e)){var t=s.create(e).pick;t<n.pick?i=!0:t>n.pick&&(o=!0)}return _.isInteger(e)}).length;if((!t||!t.nav&&!t.defaultValue)&&(!u&&s.disabled(n)||u&&s.disabled(n)&&(f||i||o)||!u&&(n.pick<=d.pick||n.pick>=h.pick)))for(u&&!f&&(!o&&0<c||!i&&c<0)&&(c*=-1);s.disabled(n)&&(1<Math.abs(c)&&(n.month<l.month||n.month>l.month)&&(n=l,c=0<c?1:-1),n.pick<=d.pick?(r=!0,c=1,n=s.create([d.year,d.month,d.date+(n.pick===d.pick?0:-1)])):n.pick>=h.pick&&(a=!0,c=-1,n=s.create([h.year,h.month,h.date+(n.pick===h.pick?0:1)])),!r||!a);)n=s.create([n.year,n.month,n.date+c]);return n},n.prototype.disabled=function(t){var n=this,e=n.item.disable.filter(function(e){return _.isInteger(e)?t.day===(n.settings.firstDay?e:e-1)%7:p.isArray(e)||_.isDate(e)?t.pick===n.create(e).pick:p.isPlainObject(e)?n.withinRange(e,t):void 0});return e=e.length&&!e.filter(function(e){return p.isArray(e)&&"inverted"==e[3]||p.isPlainObject(e)&&e.inverted}).length,-1===n.item.enable?!e:e||t.pick<n.item.min.pick||t.pick>n.item.max.pick},n.prototype.parse=function(e,i,t){var o=this,r={};return i&&"string"==typeof i?(t&&t.format||((t=t||{}).format=o.settings.format),o.formats.toArray(t.format).map(function(e){var t=o.formats[e],n=t?_.trigger(t,o,[i,r]):e.replace(/^!/,"").length;t&&(r[e]=i.substr(0,n)),i=i.substr(n)}),[r.yyyy||r.yy,+(r.mm||r.m)-1,r.dd||r.d]):i},n.prototype.formats=function(){function i(e,t,n){var i=e.match(/[^\x00-\x7F]+|\w+/)[0];return n.mm||n.m||(n.m=t.indexOf(i)+1),i.length}function n(e){return e.match(/\w+/)[0].length}return{d:function(e,t){return e?_.digits(e):t.date},dd:function(e,t){return e?2:_.lead(t.date)},ddd:function(e,t){return e?n(e):this.settings.weekdaysShort[t.day]},dddd:function(e,t){return e?n(e):this.settings.weekdaysFull[t.day]},m:function(e,t){return e?_.digits(e):t.month+1},mm:function(e,t){return e?2:_.lead(t.month+1)},mmm:function(e,t){var n=this.settings.monthsShort;return e?i(e,n,t):n[t.month]},mmmm:function(e,t){var n=this.settings.monthsFull;return e?i(e,n,t):n[t.month]},yy:function(e,t){return e?2:(""+t.year).slice(2)},yyyy:function(e,t){return e?4:t.year},toArray:function(e){return e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(e,t){var n=this;return n.formats.toArray(e).map(function(e){return _.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}}}(),n.prototype.isDateExact=function(e,t){return _.isInteger(e)&&_.isInteger(t)||"boolean"==typeof e&&"boolean"==typeof t?e===t:(_.isDate(e)||p.isArray(e))&&(_.isDate(t)||p.isArray(t))?this.create(e).pick===this.create(t).pick:!(!p.isPlainObject(e)||!p.isPlainObject(t))&&this.isDateExact(e.from,t.from)&&this.isDateExact(e.to,t.to)},n.prototype.isDateOverlap=function(e,t){var n=this.settings.firstDay?1:0;return _.isInteger(e)&&(_.isDate(t)||p.isArray(t))?(e=e%7+n)===this.create(t).day+1:_.isInteger(t)&&(_.isDate(e)||p.isArray(e))?(t=t%7+n)===this.create(e).day+1:!(!p.isPlainObject(e)||!p.isPlainObject(t))&&this.overlapRanges(e,t)},n.prototype.flipEnable=function(e){var t=this.item;t.enable=e||(-1==t.enable?1:-1)},n.prototype.deactivate=function(e,t){var i=this,o=i.item.disable.slice(0);return"flip"==t?i.flipEnable():!1===t?(i.flipEnable(1),o=[]):!0===t?(i.flipEnable(-1),o=[]):t.map(function(e){for(var t,n=0;n<o.length;n+=1)if(i.isDateExact(e,o[n])){t=!0;break}t||(_.isInteger(e)||_.isDate(e)||p.isArray(e)||p.isPlainObject(e)&&e.from&&e.to)&&o.push(e)}),o},n.prototype.activate=function(e,t){var r=this,a=r.item.disable,s=a.length;return"flip"==t?r.flipEnable():!0===t?(r.flipEnable(1),a=[]):!1===t?(r.flipEnable(-1),a=[]):t.map(function(e){var t,n,i,o;for(i=0;i<s;i+=1){if(n=a[i],r.isDateExact(n,e)){t=a[i]=null,o=!0;break}if(r.isDateOverlap(n,e)){p.isPlainObject(e)?(e.inverted=!0,t=e):p.isArray(e)?(t=e)[3]||t.push("inverted"):_.isDate(e)&&(t=[e.getFullYear(),e.getMonth(),e.getDate(),"inverted"]);break}}if(t)for(i=0;i<s;i+=1)if(r.isDateExact(a[i],e)){a[i]=null;break}if(o)for(i=0;i<s;i+=1)if(r.isDateOverlap(a[i],e)){a[i]=null;break}t&&a.push(t)}),a.filter(function(e){return null!=e})},n.prototype.nodes=function(l){var t,n,c=this,u=c.settings,e=c.item,a=e.now,s=e.select,d=e.highlight,h=e.view,f=e.disable,p=e.min,m=e.max,i=(t=(u.showWeekdaysFull?u.weekdaysFull:u.weekdaysShort).slice(0),n=u.weekdaysFull.slice(0),u.firstDay&&(t.push(t.shift()),n.push(n.shift())),_.node("thead",_.node("tr",_.group({min:0,max:6,i:1,node:"th",item:function(e){return[t[e],u.klass.weekdays,'scope=col title="'+n[e]+'"']}})))),o=function(e){return _.node("div"," ",u.klass["nav"+(e?"Next":"Prev")]+(e&&h.year>=m.year&&h.month>=m.month||!e&&h.year<=p.year&&h.month<=p.month?" "+u.klass.navDisabled:""),"data-nav="+(e||-1)+" "+_.ariaAttr({role:"button",controls:c.$node[0].id+"_table"})+' title="'+(e?u.labelMonthNext:u.labelMonthPrev)+'"')},r=function(){var t=u.showMonthsShort?u.monthsShort:u.monthsFull;return u.selectMonths?_.node("select",_.group({min:0,max:11,i:1,node:"option",item:function(e){return[t[e],0,"value="+e+(h.month==e?" selected":"")+(h.year==p.year&&e<p.month||h.year==m.year&&e>m.month?" disabled":"")]}}),u.klass.selectMonth,(l?"":"disabled")+" "+_.ariaAttr({controls:c.$node[0].id+"_table"})+' title="'+u.labelMonthSelect+'"'):_.node("div",t[h.month],u.klass.month)},g=function(){var t=h.year,e=!0===u.selectYears?5:~~(u.selectYears/2);if(e){var n=p.year,i=m.year,o=t-e,r=t+e;if(o<n&&(r+=n-o,o=n),i<r){var a=o-n,s=r-i;o-=s<a?s:a,r=i}return _.node("select",_.group({min:o,max:r,i:1,node:"option",item:function(e){return[e,0,"value="+e+(t==e?" selected":"")]}}),u.klass.selectYear,(l?"":"disabled")+" "+_.ariaAttr({controls:c.$node[0].id+"_table"})+' title="'+u.labelYearSelect+'"')}return _.node("div",t,u.klass.year)};return _.node("div",(u.selectYears?g()+r():r()+g())+o()+o(1),u.klass.header)+_.node("table",i+_.node("tbody",_.group({min:0,max:5,i:1,node:"tr",item:function(e){var t=u.firstDay&&0===c.create([h.year,h.month,1]).day?-7:0;return[_.group({min:7*e-h.day+t+1,max:function(){return this.min+7-1},i:1,node:"td",item:function(e){e=c.create([h.year,h.month,e+(u.firstDay?1:0)]);var t,n=s&&s.pick==e.pick,i=d&&d.pick==e.pick,o=f&&c.disabled(e)||e.pick<p.pick||e.pick>m.pick,r=_.trigger(c.formats.toString,c,[u.format,e]);return[_.node("div",e.date,(t=[u.klass.day],t.push(h.month==e.month?u.klass.infocus:u.klass.outfocus),a.pick==e.pick&&t.push(u.klass.now),n&&t.push(u.klass.selected),i&&t.push(u.klass.highlighted),o&&t.push(u.klass.disabled),t.join(" ")),"data-pick="+e.pick+" "+_.ariaAttr({role:"gridcell",label:r,selected:!(!n||c.$node.val()!==r)||null,activedescendant:!!i||null,disabled:!!o||null})),"",_.ariaAttr({role:"presentation"})]}})]}})),u.klass.table,'id="'+c.$node[0].id+'_table" '+_.ariaAttr({role:"grid",controls:c.$node[0].id,readonly:!0}))+_.node("div",_.node("button",u.today,u.klass.buttonToday,"type=button data-pick="+a.pick+(l&&!c.disabled(a)?"":" disabled")+" "+_.ariaAttr({controls:c.$node[0].id}))+_.node("button",u.clear,u.klass.buttonClear,"type=button data-clear=1"+(l?"":" disabled")+" "+_.ariaAttr({controls:c.$node[0].id}))+_.node("button",u.close,u.klass.buttonClose,"type=button data-close=true "+(l?"":" disabled")+" "+_.ariaAttr({controls:c.$node[0].id})),u.klass.footer)},n.defaults={labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],today:"Today",clear:"Clear",close:"Close",closeOnSelect:!0,closeOnClear:!0,format:"d mmmm, yyyy",klass:{table:(t=e.klasses().picker+"__")+"table",header:t+"header",navPrev:t+"nav--prev",navNext:t+"nav--next",navDisabled:t+"nav--disabled",month:t+"month",year:t+"year",selectMonth:t+"select--month",selectYear:t+"select--year",weekdays:t+"weekday",day:t+"day",disabled:t+"day--disabled",selected:t+"day--selected",highlighted:t+"day--highlighted",now:t+"day--today",infocus:t+"day--infocus",outfocus:t+"day--outfocus",footer:t+"footer",buttonClear:t+"button--clear",buttonToday:t+"button--today",buttonClose:t+"button--close"}},e.extend("pickadate",n)},e.exports=n(he,i)}),q="md.pickdate",$="pickdate",K=(Q=i).fn[$],Y={cancel:"Cancel",closeOnCancel:!0,closeOnSelect:!1,container:"",containerHidden:"",disable:[],firstDay:0,format:"d/m/yyyy",formatSubmit:"",hiddenName:!1,hiddenPrefix:"",hiddenSuffix:"",klass:{buttonClear:"btn btn-outline-primary picker-button-clear",buttonClose:"btn btn-outline-primary picker-button-close",buttonToday:"btn btn-outline-primary picker-button-today",day:"picker-day",disabled:"picker-day-disabled",highlighted:"picker-day-highlighted",infocus:"picker-day-infocus",now:"picker-day-today",outfocus:"picker-day-outfocus",selected:"picker-day-selected",weekdays:"picker-weekday",box:"picker-box",footer:"picker-footer",frame:"picker-frame",header:"picker-header",holder:"picker-holder",table:"picker-table",wrap:"picker-wrap",active:"picker-input-active",input:"picker-input",month:"picker-month",navDisabled:"picker-nav-disabled",navNext:"material-icons picker-nav-next",navPrev:"material-icons picker-nav-prev",selectMonth:"picker-select-month",selectYear:"picker-select-year",year:"picker-year",focused:"picker-focused",opened:"picker-opened",picker:"picker"},labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",max:!1,min:!1,monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ok:"OK",onClose:function(){},onOpen:function(){},onRender:function(){},onSet:function(){},onStart:function(){},onStop:function(){},selectMonths:!1,selectYears:!1,today:"",weekdaysFull:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysShort:["S","M","T","W","T","F","S"]},V={cancel:"string",closeOnCancel:"boolean",closeOnSelect:"boolean",container:"string",containerHidden:"string",disable:"array",firstDay:"number",format:"string",formatSubmit:"string",hiddenName:"boolean",hiddenPrefix:"string",hiddenSuffix:"string",klass:"object",labelMonthNext:"string",labelMonthPrev:"string",labelMonthSelect:"string",labelYearSelect:"string",max:"boolean || date",min:"boolean || date",monthsFull:"array",monthsShort:"array",ok:"string",onClose:"function",onOpen:"function",onRender:"function",onSet:"function",onStart:"function",onStop:"function",selectMonths:"boolean",selectYears:"boolean || number",today:"string",weekdaysFull:"array",weekdaysShort:"array"},J=function(){function i(e,t){this._config=this._getConfig(t),this._element=e}var e=i.prototype;return e.display=function(e,t,n){Q(".picker-date-display",t).remove(),Q(".picker-wrap",t).prepend('<div class="picker-date-display"><div class="picker-date-display-top"><span class="picker-year-display">'+e.get(n,"yyyy")+'</span></div><div class="picker-date-display-bottom"><span class="picker-weekday-display">'+e.get(n,"dddd")+'</span><span class="picker-day-display">'+e.get(n,"d")+'</span><span class="picker-month-display">'+e.get(n,"mmm")+"</span></div></div>")},e.show=function(){var e=this;Q(this._element).pickadate({clear:this._config.cancel,close:this._config.ok,closeOnClear:this._config.closeOnCancel,closeOnSelect:this._config.closeOnSelect,container:this._config.container,containerHidden:this._config.containerHidden,disable:this._config.disable,firstDay:this._config.firstDay,format:this._config.format,formatSubmit:this._config.formatSubmit,klass:this._config.klass,hiddenName:this._config.hiddenName,hiddenPrefix:this._config.hiddenPrefix,hiddenSuffix:this._config.hiddenSuffix,labelMonthNext:this._config.labelMonthNext,labelMonthPrev:this._config.labelMonthPrev,labelMonthSelect:this._config.labelMonthSelect,labelYearSelect:this._config.labelYearSelect,max:this._config.max,min:this._config.min,monthsFull:this._config.monthsFull,monthsShort:this._config.monthsShort,onClose:this._config.onClose,onOpen:this._config.onOpen,onRender:this._config.onRender,onSet:this._config.onSet,onStart:this._config.onStart,onStop:this._config.onStop,selectMonths:this._config.selectMonths,selectYears:this._config.selectYears,today:this._config.today,weekdaysFull:this._config.weekdaysFull,weekdaysShort:this._config.weekdaysShort});var t=Q(this._element).pickadate("picker"),n=t.$root;t.on({close:function(){Q(document.activeElement).blur()},open:function(){Q(".picker__date-display",n).length||e.display(t,n,"highlight")},set:function(){null!==t.get("select")&&e.display(t,n,"select")}})},e._getConfig=function(e){return e=S({},Y,e),W.typeCheckConfig($,e,V),e},i._jQueryInterface=function(n){return this.each(function(){var e=S({},Y,Q(this).data(),"object"==typeof n&&n?n:{}),t=Q(this).data(q);t||(t=new i(this,e),Q(this).data(q,t)),t.show()})},i}(),Q.fn[$]=J._jQueryInterface,Q.fn[$].Constructor=J,void(Q.fn[$].noConflict=function(){return Q.fn[$]=K,J._jQueryInterface})),pe=(Z={IS_MOUSEDOWN:!"focus"},X="blur"+(G=".md.selectioncontrolfocus"),"focus"+G,"mousedown"+G,"mouseup"+G,ee=".custom-control",te=".custom-control-input",void(z=i)(document).on(""+X,te,function(){z(this).removeClass("focus")}).on("focus.md.selectioncontrolfocus",te,function(){!1===Z.IS_MOUSEDOWN&&z(this).addClass("focus")}).on("mousedown.md.selectioncontrolfocus",ee,function(){Z.IS_MOUSEDOWN=!0}).on("mouseup.md.selectioncontrolfocus",ee,function(){setTimeout(function(){Z.IS_MOUSEDOWN=!1},1)})),me=(ie="md.tabswitch",oe="tabswitch",re=(ne=i).fn[oe],ae="animate",se="dropdown-item","nav-tabs-indicator","nav-tabs-material","show",'.nav-tabs [data-toggle="tab"]',le=".dropdown",".nav-tabs",ce=function(){function i(e){this._nav=e,this._navindicator=null}var e=i.prototype;return e.switch=function(e,t){var n=this,i=ne(this._nav).offset().left,o=ne(this._nav).scrollLeft(),r=ne(this._nav).outerWidth();this._navindicator||this._createIndicator(i,o,r,t),ne(e).hasClass(se)&&(e=ne(e).closest(le));var a=ne(e).offset().left,s=ne(e).outerWidth();ne(this._navindicator).addClass("show"),W.reflow(this._navindicator),ne(this._nav).addClass(ae),ne(this._navindicator).css({left:a+o-i,right:r-(a+o-i+s)});var l=W.getTransitionDurationFromElement(this._navindicator);ne(this._navindicator).one(W.TRANSITION_END,function(){ne(n._nav).removeClass(ae),ne(n._navindicator).removeClass("show")}).emulateTransitionEnd(l)},e._createIndicator=function(e,t,n,i){if(this._navindicator=document.createElement("div"),ne(this._navindicator).addClass("nav-tabs-indicator").appendTo(this._nav),void 0!==i){ne(i).hasClass(se)&&(i=ne(i).closest(le));var o=ne(i).offset().left,r=ne(i).outerWidth();ne(this._navindicator).css({left:o+t-e,right:n-(o+t-e+r)})}ne(this._nav).addClass("nav-tabs-material")},i._jQueryInterface=function(n){return this.each(function(){var e=ne(this).closest(".nav-tabs")[0];if(e){var t=ne(e).data(ie);t||(t=new i(e),ne(e).data(ie,t)),t.switch(this,n)}})},i}(),ne(document).on("show.bs.tab",'.nav-tabs [data-toggle="tab"]',function(e){ce._jQueryInterface.call(ne(this),e.relatedTarget)}),ne.fn[oe]=ce._jQueryInterface,ne.fn[oe].Constructor=ce,ne.fn[oe].noConflict=function(){return ne.fn[oe]=re,ce._jQueryInterface},ce);e.Util=W,e.ExpansionPanel=b,e.FloatingLabel=E,e.NavDrawer=U,e.PickDate=fe,e.SelectionControlFocus=pe,e.TabSwitch=me,Object.defineProperty(e,"__esModule",{value:!0})}),function(){var e=-1<navigator.userAgent.toLowerCase().indexOf("webkit"),t=-1<navigator.userAgent.toLowerCase().indexOf("opera"),n=-1<navigator.userAgent.toLowerCase().indexOf("msie");(e||t||n)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var e,t=location.hash.substring(1);/^[A-z0-9_-]+$/.test(t)&&(e=document.getElementById(t))&&(/^(?:a|select|input|button|textarea)$/i.test(e.tagName)||(e.tabIndex=-1),e.focus())},!1)}(),jQuery(window).load(function(){jQuery(window).scroll(function(){50<jQuery(this).scrollTop()?(jQuery("#back-to-top").fadeIn(),jQuery("#back-to-top").tooltip()):jQuery("#back-to-top").fadeOut()}),jQuery("#back-to-top").click(function(){return jQuery("#back-to-top").tooltip("hide"),jQuery("body,html").animate({scrollTop:0},"slow"),!1}),jQuery("#back-to-top").is(":visible")&&jQuery("#back-to-top").tooltip("show")});
|