function _classCallCheck(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var bootstrap=function(n,t,i){"use strict";function e(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}t=t&&t.hasOwnProperty("default")?t.default:t;i=i&&i.hasOwnProperty("default")?i.default:i;var r=function(){function u(n){return{}.toString.call(n).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function f(){return{bindType:i.end,delegateType:i.end,handle:function(n){if(t(n.target).is(this))return n.handleObj.handler.apply(this,arguments)}}}function e(){var t,n;if(window.QUnit)return!1;t=document.createElement("bootstrap");for(n in r)if("undefined"!=typeof t.style[n])return{end:r[n]};return!1}function o(i){var u=this,r=!1;return t(this).one(n.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||n.triggerTransitionEnd(u)},i),this}var i=!1,r={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n},getSelectorFromElement:function(n){var i=n.getAttribute("data-target");i&&"#"!==i||(i=n.getAttribute("href")||"");try{return t(document).find(i).length>0?i:null}catch(n){return null}},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(i.end)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(t,i,r){var f;for(f in r)if(Object.prototype.hasOwnProperty.call(r,f)){var o=r[f],e=i[f],s=e&&n.isElement(e)?"element":u(e);if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+f+'" provided type "'+s+'" but expected type "'+o+'".');}}};return i=e(),t.fn.emulateTransitionEnd=o,n.supportsTransitionEnd()&&(t.event.special[n.TRANSITION_END]=f()),n}(),u=function(n,t,i){return t&&e(n.prototype,t),i&&e(n,i),n},o=function(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t},s=function(){var i="alert",o=t.fn[i],f={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},e={ALERT:"alert",FADE:"fade",SHOW:"show"},n=function(){function n(n){this._element=n}var i=n.prototype;return i.close=function(n){n=n||this._element;var t=this._getRootElement(n);this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},i.dispose=function(){t.removeData(this._element,"bs.alert");this._element=null},i._getRootElement=function(n){var u=r.getSelectorFromElement(n),i=!1;return u&&(i=t(u)[0]),i||(i=t(n).closest("."+e.ALERT)[0]),i},i._triggerCloseEvent=function(n){var i=t.Event(f.CLOSE);return t(n).trigger(i),i},i._removeElement=function(n){var i=this;t(n).removeClass(e.SHOW);r.supportsTransitionEnd()&&t(n).hasClass(e.FADE)?t(n).one(r.TRANSITION_END,function(t){return i._destroyElement(n,t)}).emulateTransitionEnd(150):this._destroyElement(n)},i._destroyElement=function(n){t(n).detach().trigger(f.CLOSED).remove()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data("bs.alert");r||(r=new n(this),u.data("bs.alert",r));"close"===i&&r[i](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},u(n,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}}]),n}();return t(document).on(f.CLICK_DATA_API,{DISMISS:'[data-dismiss="alert"]'}.DISMISS,n._handleDismiss(new n)),t.fn[i]=n._jQueryInterface,t.fn[i].Constructor=n,t.fn[i].noConflict=function(){return t.fn[i]=o,n._jQueryInterface},n}(),h=function(){var r="button",o=t.fn[r],n={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},i={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},e={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},f=function(){function r(n){this._element=n}var f=r.prototype;return f.toggle=function(){var f=!0,o=!0,u=t(this._element).closest(i.DATA_TOGGLE)[0],r,e;if(u&&(r=t(this._element).find(i.INPUT)[0],r)){if("radio"===r.type&&(r.checked&&t(this._element).hasClass(n.ACTIVE)?f=!1:(e=t(u).find(i.ACTIVE)[0],e&&t(e).removeClass(n.ACTIVE))),f){if(r.hasAttribute("disabled")||u.hasAttribute("disabled")||r.classList.contains("disabled")||u.classList.contains("disabled"))return;r.checked=!t(this._element).hasClass(n.ACTIVE);t(r).trigger("change")}r.focus();o=!1}o&&this._element.setAttribute("aria-pressed",!t(this._element).hasClass(n.ACTIVE));f&&t(this._element).toggleClass(n.ACTIVE)},f.dispose=function(){t.removeData(this._element,"bs.button");this._element=null},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.button");i||(i=new r(this),t(this).data("bs.button",i));"toggle"===n&&i[n]()})},u(r,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}}]),r}();return t(document).on(e.CLICK_DATA_API,i.DATA_TOGGLE_CARROT,function(r){r.preventDefault();var u=r.target;t(u).hasClass(n.BUTTON)||(u=t(u).closest(i.BUTTON));f._jQueryInterface.call(t(u),"toggle")}).on(e.FOCUS_BLUR_DATA_API,i.DATA_TOGGLE_CARROT,function(r){var u=t(r.target).closest(i.BUTTON)[0];t(u).toggleClass(n.FOCUS,/^focus(in)?$/.test(r.type))}),t.fn[r]=f._jQueryInterface,t.fn[r].Constructor=f,t.fn[r].noConflict=function(){return t.fn[r]=o,f._jQueryInterface},f}(),c=function(){var s="carousel",c="bs.carousel",o="."+c,a=t.fn[s],l={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},v={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},i={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},f={SLIDE:"slide"+o,SLID:"slid"+o,KEYDOWN:"keydown"+o,MOUSEENTER:"mouseenter"+o,MOUSELEAVE:"mouseleave"+o,TOUCHEND:"touchend"+o,LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},n={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item"},e={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},h=function(){function a(n,i){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this._config=this._getConfig(i);this._element=t(n)[0];this._indicatorsElement=t(this._element).find(e.INDICATORS)[0];this._addEventListeners()}var h=a.prototype;return h.next=function(){this._isSliding||this._slide(i.NEXT)},h.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},h.prev=function(){this._isSliding||this._slide(i.PREV)},h.pause=function(n){n||(this._isPaused=!0);t(this._element).find(e.NEXT_PREV)[0]&&r.supportsTransitionEnd()&&(r.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},h.cycle=function(n){n||(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))},h.to=function(n){var o=this,r,u;if(this._activeElement=t(this._element).find(e.ACTIVE_ITEM)[0],r=this._getItemIndex(this._activeElement),!(n>this._items.length-1||n<0))if(this._isSliding)t(this._element).one(f.SLID,function(){return o.to(n)});else{if(r===n)return this.pause(),void this.cycle();u=n>r?i.NEXT:i.PREV;this._slide(u,this._items[n])}},h.dispose=function(){t(this._element).off(o);t.removeData(this._element,c);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},h._getConfig=function(n){return n=t.extend({},l,n),r.typeCheckConfig(s,n,v),n},h._addEventListeners=function(){var n=this;this._config.keyboard&&t(this._element).on(f.KEYDOWN,function(t){return n._keydown(t)});"hover"===this._config.pause&&(t(this._element).on(f.MOUSEENTER,function(t){return n.pause(t)}).on(f.MOUSELEAVE,function(t){return n.cycle(t)}),"ontouchstart"in document.documentElement&&t(this._element).on(f.TOUCHEND,function(){n.pause();n.touchTimeout&&clearTimeout(n.touchTimeout);n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval)}))},h._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case 37:n.preventDefault();this.prev();break;case 39:n.preventDefault();this.next();break;default:return}},h._getItemIndex=function(n){return this._items=t.makeArray(t(n).parent().find(e.ITEM)),this._items.indexOf(n)},h._getItemByDirection=function(n,t){var f=n===i.NEXT,e=n===i.PREV,r=this._getItemIndex(t),o=this._items.length-1,u;return(e&&0===r||f&&r===o)&&!this._config.wrap?t:(u=(r+(n===i.PREV?-1:1))%this._items.length,-1===u?this._items[this._items.length-1]:this._items[u])},h._triggerSlideEvent=function(n,i){var u=this._getItemIndex(n),o=this._getItemIndex(t(this._element).find(e.ACTIVE_ITEM)[0]),r=t.Event(f.SLIDE,{relatedTarget:n,direction:i,from:o,to:u});return t(this._element).trigger(r),r},h._setActiveIndicatorElement=function(i){if(this._indicatorsElement){t(this._indicatorsElement).find(e.ACTIVE).removeClass(n.ACTIVE);var r=this._indicatorsElement.children[this._getItemIndex(i)];r&&t(r).addClass(n.ACTIVE)}},h._slide=function(u,o){var c,l,a,y=this,h=t(this._element).find(e.ACTIVE_ITEM)[0],w=this._getItemIndex(h),s=o||h&&this._getItemByDirection(u,h),b=this._getItemIndex(s),p=Boolean(this._interval),v;(u===i.NEXT?(c=n.LEFT,l=n.NEXT,a=i.LEFT):(c=n.RIGHT,l=n.PREV,a=i.RIGHT),s&&t(s).hasClass(n.ACTIVE))?this._isSliding=!1:!this._triggerSlideEvent(s,a).isDefaultPrevented()&&h&&s&&(this._isSliding=!0,p&&this.pause(),this._setActiveIndicatorElement(s),v=t.Event(f.SLID,{relatedTarget:s,direction:a,from:w,to:b}),r.supportsTransitionEnd()&&t(this._element).hasClass(n.SLIDE)?(t(s).addClass(l),r.reflow(s),t(h).addClass(c),t(s).addClass(c),t(h).one(r.TRANSITION_END,function(){t(s).removeClass(c+" "+l).addClass(n.ACTIVE);t(h).removeClass(n.ACTIVE+" "+l+" "+c);y._isSliding=!1;setTimeout(function(){return t(y._element).trigger(v)},0)}).emulateTransitionEnd(600)):(t(h).removeClass(n.ACTIVE),t(s).addClass(n.ACTIVE),this._isSliding=!1,t(this._element).trigger(v)),p&&this.cycle())},a._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(c),u=t.extend({},l,t(this).data()),r;if("object"==typeof n&&t.extend(u,n),r="string"==typeof n?n:u.slide,i||(i=new a(this,u),t(this).data(c,i)),"number"==typeof n)i.to(n);else if("string"==typeof r){if("undefined"==typeof i[r])throw new Error('No method named "'+r+'"');i[r]()}else u.interval&&(i.pause(),i.cycle())})},a._dataApiClickHandler=function(i){var o=r.getSelectorFromElement(this),u,e,f;o&&(u=t(o)[0],u&&t(u).hasClass(n.CAROUSEL)&&(e=t.extend({},t(u).data(),t(this).data()),f=this.getAttribute("data-slide-to"),f&&(e.interval=!1),a._jQueryInterface.call(t(u),e),f&&t(u).data(c).to(f),i.preventDefault()))},u(a,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return l}}]),a}();return t(document).on(f.CLICK_DATA_API,e.DATA_SLIDE,h._dataApiClickHandler),t(window).on(f.LOAD_DATA_API,function(){t(e.DATA_RIDE).each(function(){var n=t(this);h._jQueryInterface.call(n,n.data())})}),t.fn[s]=h._jQueryInterface,t.fn[s].Constructor=h,t.fn[s].noConflict=function(){return t.fn[s]=a,h._jQueryInterface},h}(),l=function(){var i="collapse",f="bs.collapse",l=t.fn[i],s={toggle:!0,parent:""},a={toggle:"boolean",parent:"(string|element)"},e={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},n={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},h={WIDTH:"width",HEIGHT:"height"},c={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},o=function(){function l(n,i){var f,u,e,o;for(this._isTransitioning=!1,this._element=n,this._config=this._getConfig(i),this._triggerArray=t.makeArray(t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]')),f=t(c.DATA_TOGGLE),u=0;u<f.length;u++)e=f[u],o=r.getSelectorFromElement(e),null!==o&&t(o).filter(n).length>0&&this._triggerArray.push(e);this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var o=l.prototype;return o.toggle=function(){t(this._element).hasClass(n.SHOW)?this.hide():this.show()},o.show=function(){var o=this,i,s,h,u,a,v;this._isTransitioning||t(this._element).hasClass(n.SHOW)||(this._parent&&((i=t.makeArray(t(this._parent).children().children(c.ACTIVES))).length||(i=null)),i&&(s=t(i).data(f))&&s._isTransitioning)||(h=t.Event(e.SHOW),(t(this._element).trigger(h),h.isDefaultPrevented())||(i&&(l._jQueryInterface.call(t(i),"hide"),s||t(i).data(f,null)),u=this._getDimension(),t(this._element).removeClass(n.COLLAPSE).addClass(n.COLLAPSING),this._element.style[u]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(n.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0),a=function(){t(o._element).removeClass(n.COLLAPSING).addClass(n.COLLAPSE).addClass(n.SHOW);o._element.style[u]="";o.setTransitioning(!1);t(o._element).trigger(e.SHOWN)},r.supportsTransitionEnd()?(v="scroll"+(u[0].toUpperCase()+u.slice(1)),t(this._element).one(r.TRANSITION_END,a).emulateTransitionEnd(600),this._element.style[u]=this._element[v]+"px"):a()))},o.hide=function(){var c=this,f,i,u,o,s,h;if(!this._isTransitioning&&t(this._element).hasClass(n.SHOW)&&(f=t.Event(e.HIDE),t(this._element).trigger(f),!f.isDefaultPrevented())){if(i=this._getDimension(),this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",r.reflow(this._element),t(this._element).addClass(n.COLLAPSING).removeClass(n.COLLAPSE).removeClass(n.SHOW),this._triggerArray.length)for(u=0;u<this._triggerArray.length;u++)o=this._triggerArray[u],s=r.getSelectorFromElement(o),null!==s&&(t(s).hasClass(n.SHOW)||t(o).addClass(n.COLLAPSED).attr("aria-expanded",!1));this.setTransitioning(!0);h=function(){c.setTransitioning(!1);t(c._element).removeClass(n.COLLAPSING).addClass(n.COLLAPSE).trigger(e.HIDDEN)};this._element.style[i]="";r.supportsTransitionEnd()?t(this._element).one(r.TRANSITION_END,h).emulateTransitionEnd(600):h()}},o.setTransitioning=function(n){this._isTransitioning=n},o.dispose=function(){t.removeData(this._element,f);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},o._getConfig=function(n){return n=t.extend({},s,n),n.toggle=Boolean(n.toggle),r.typeCheckConfig(i,n,a),n},o._getDimension=function(){return t(this._element).hasClass(h.WIDTH)?h.WIDTH:h.HEIGHT},o._getParent=function(){var u=this,n=null,i;return r.isElement(this._config.parent)?(n=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(n=this._config.parent[0])):n=t(this._config.parent)[0],i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',t(n).find(i).each(function(n,t){u._addAriaAndCollapsedClass(l._getTargetFromElement(t),[t])}),n},o._addAriaAndCollapsedClass=function(i,r){if(i){var u=t(i).hasClass(n.SHOW);r.length&&t(r).toggleClass(n.COLLAPSED,!u).attr("aria-expanded",u)}},l._getTargetFromElement=function(n){var i=r.getSelectorFromElement(n);return i?t(i)[0]:null},l._jQueryInterface=function(n){return this.each(function(){var r=t(this),i=r.data(f),u=t.extend({},s,r.data(),"object"==typeof n&&n);if(!i&&u.toggle&&/show|hide/.test(n)&&(u.toggle=!1),i||(i=new l(this,u),r.data(f,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new Error('No method named "'+n+'"');i[n]()}})},u(l,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return s}}]),l}();return t(document).on(e.CLICK_DATA_API,c.DATA_TOGGLE,function(n){"A"===n.currentTarget.tagName&&n.preventDefault();var i=t(this),u=r.getSelectorFromElement(this);t(u).each(function(){var n=t(this),r=n.data(f)?"toggle":i.data();o._jQueryInterface.call(n,r)})}),t.fn[i]=o._jQueryInterface,t.fn[i].Constructor=o,t.fn[i].noConflict=function(){return t.fn[i]=l,o._jQueryInterface},o}(),a=function(){if("undefined"==typeof i)throw new Error("Bootstrap dropdown require Popper.js (https://popper.js.org)");var s="dropdown",c="bs.dropdown",h="."+c,a=t.fn[s],v=new RegExp("38|40|27"),f={HIDE:"hide"+h,HIDDEN:"hidden"+h,SHOW:"show"+h,SHOWN:"shown"+h,CLICK:"click"+h,CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},n={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left"},e={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled)"},l={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end"},y={offset:0,flip:!0},p={offset:"(number|string|function)",flip:"boolean"},o=function(){function o(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var a=o.prototype;return a.toggle=function(){var r,c,u,s,h;this._element.disabled||t(this._element).hasClass(n.DISABLED)||(r=o._getParentFromElement(this._element),c=t(this._menu).hasClass(n.SHOW),(o._clearMenus(),c)||(u={relatedTarget:this._element},s=t.Event(f.SHOW,u),(t(r).trigger(s),s.isDefaultPrevented())||(h=this._element,t(r).hasClass(n.DROPUP)&&(t(this._menu).hasClass(n.MENULEFT)||t(this._menu).hasClass(n.MENURIGHT))&&(h=r),this._popper=new i(h,this._menu,this._getPopperConfig()),"ontouchstart"in document.documentElement&&!t(r).closest(e.NAVBAR_NAV).length&&t("body").children().on("mouseover",null,t.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),t(this._menu).toggleClass(n.SHOW),t(r).toggleClass(n.SHOW).trigger(t.Event(f.SHOWN,u)))))},a.dispose=function(){t.removeData(this._element,c);t(this._element).off(h);this._element=null;this._menu=null;null!==this._popper&&this._popper.destroy();this._popper=null},a.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},a._addEventListeners=function(){var n=this;t(this._element).on(f.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},a._getConfig=function(n){return n=t.extend({},this.constructor.Default,t(this._element).data(),n),r.typeCheckConfig(s,n,this.constructor.DefaultType),n},a._getMenuElement=function(){if(!this._menu){var n=o._getParentFromElement(this._element);this._menu=t(n).find(e.MENU)[0]}return this._menu},a._getPlacement=function(){var r=t(this._element).parent(),i=l.BOTTOM;return r.hasClass(n.DROPUP)?(i=l.TOP,t(this._menu).hasClass(n.MENURIGHT)&&(i=l.TOPEND)):t(this._menu).hasClass(n.MENURIGHT)&&(i=l.BOTTOMEND),i},a._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},a._getPopperConfig=function(){var r=this,n={},i;return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=t.extend({},n.offsets,r._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset,i={placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip}}},this._inNavbar&&(i.modifiers.applyStyle={enabled:!this._inNavbar}),i},o._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(c),r="object"==typeof n?n:null;if(i||(i=new o(this,r),t(this).data(c,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new Error('No method named "'+n+'"');i[n]()}})},o._clearMenus=function(i){var u,r,v,h;if(!i||3!==i.which&&("keyup"!==i.type||9===i.which))for(u=t.makeArray(t(e.DATA_TOGGLE)),r=0;r<u.length;r++){var s=o._getParentFromElement(u[r]),l=t(u[r]).data(c),a={relatedTarget:u[r]};l&&(v=l._menu,!t(s).hasClass(n.SHOW)||i&&("click"===i.type&&/input|textarea/i.test(i.target.tagName)||"keyup"===i.type&&9===i.which)&&t.contains(s,i.target)||(h=t.Event(f.HIDE,a),t(s).trigger(h),h.isDefaultPrevented()||("ontouchstart"in document.documentElement&&t("body").children().off("mouseover",null,t.noop),u[r].setAttribute("aria-expanded","false"),t(v).removeClass(n.SHOW),t(s).removeClass(n.SHOW).trigger(t.Event(f.HIDDEN,a)))))}},o._getParentFromElement=function(n){var i,u=r.getSelectorFromElement(n);return u&&(i=t(u)[0]),i||n.parentNode},o._dataApiKeydownHandler=function(i){var f,s,u,r,h;!v.test(i.which)||/button/i.test(i.target.tagName)&&32===i.which||/input|textarea/i.test(i.target.tagName)||(i.preventDefault(),i.stopPropagation(),this.disabled||t(this).hasClass(n.DISABLED))||(f=o._getParentFromElement(this),s=t(f).hasClass(n.SHOW),(s||27===i.which&&32===i.which)&&(!s||27!==i.which&&32!==i.which)?(u=t(f).find(e.VISIBLE_ITEMS).get(),u.length&&(r=u.indexOf(i.target),38===i.which&&r>0&&r--,40===i.which&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())):(27===i.which&&(h=t(f).find(e.DATA_TOGGLE)[0],t(h).trigger("focus")),t(this).trigger("click")))},u(o,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return y}},{key:"DefaultType",get:function(){return p}}]),o}();return t(document).on(f.KEYDOWN_DATA_API,e.DATA_TOGGLE,o._dataApiKeydownHandler).on(f.KEYDOWN_DATA_API,e.MENU,o._dataApiKeydownHandler).on(f.CLICK_DATA_API+" "+f.KEYUP_DATA_API,o._clearMenus).on(f.CLICK_DATA_API,e.DATA_TOGGLE,function(n){n.preventDefault();n.stopPropagation();o._jQueryInterface.call(t(this),"toggle")}).on(f.CLICK_DATA_API,e.FORM_CHILD,function(n){n.stopPropagation()}),t.fn[s]=o._jQueryInterface,t.fn[s].Constructor=o,t.fn[s].noConflict=function(){return t.fn[s]=a,o._jQueryInterface},o}(),v=function(){var e="modal",h=".bs.modal",c=t.fn[e],s={backdrop:!0,keyboard:!0,focus:!0,show:!0},l={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},n={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},i={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},f={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},o=function(){function c(n,i){this._config=this._getConfig(i);this._element=n;this._dialog=t(n).find(f.DIALOG)[0];this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._originalBodyPadding=0;this._scrollbarWidth=0}var o=c.prototype;return o.toggle=function(n){return this._isShown?this.hide():this.show(n)},o.show=function(u){var e=this,o;this._isTransitioning||this._isShown||(r.supportsTransitionEnd()&&t(this._element).hasClass(i.FADE)&&(this._isTransitioning=!0),o=t.Event(n.SHOW,{relatedTarget:u}),t(this._element).trigger(o),this._isShown||o.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),t(document.body).addClass(i.OPEN),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(n.CLICK_DISMISS,f.DATA_DISMISS,function(n){return e.hide(n)}),t(this._dialog).on(n.MOUSEDOWN_DISMISS,function(){t(e._element).one(n.MOUSEUP_DISMISS,function(n){t(n.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(u)})))},o.hide=function(u){var o=this,f,e;(u&&u.preventDefault(),!this._isTransitioning&&this._isShown)&&(f=t.Event(n.HIDE),(t(this._element).trigger(f),this._isShown&&!f.isDefaultPrevented())&&(this._isShown=!1,e=r.supportsTransitionEnd()&&t(this._element).hasClass(i.FADE),e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(n.FOCUSIN),t(this._element).removeClass(i.SHOW),t(this._element).off(n.CLICK_DISMISS),t(this._dialog).off(n.MOUSEDOWN_DISMISS),e?t(this._element).one(r.TRANSITION_END,function(n){return o._hideModal(n)}).emulateTransitionEnd(300):this._hideModal()))},o.dispose=function(){t.removeData(this._element,"bs.modal");t(window,document,this._element,this._backdrop).off(h);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null},o.handleUpdate=function(){this._adjustDialog()},o._getConfig=function(n){return n=t.extend({},s,n),r.typeCheckConfig(e,n,l),n},o._showElement=function(u){var f=this,o=r.supportsTransitionEnd()&&t(this._element).hasClass(i.FADE),s,e;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;o&&r.reflow(this._element);t(this._element).addClass(i.SHOW);this._config.focus&&this._enforceFocus();s=t.Event(n.SHOWN,{relatedTarget:u});e=function(){f._config.focus&&f._element.focus();f._isTransitioning=!1;t(f._element).trigger(s)};o?t(this._dialog).one(r.TRANSITION_END,e).emulateTransitionEnd(300):e()},o._enforceFocus=function(){var i=this;t(document).off(n.FOCUSIN).on(n.FOCUSIN,function(n){document===n.target||i._element===n.target||t(i._element).has(n.target).length||i._element.focus()})},o._setEscapeEvent=function(){var i=this;this._isShown&&this._config.keyboard?t(this._element).on(n.KEYDOWN_DISMISS,function(n){27===n.which&&(n.preventDefault(),i.hide())}):this._isShown||t(this._element).off(n.KEYDOWN_DISMISS)},o._setResizeEvent=function(){var i=this;this._isShown?t(window).on(n.RESIZE,function(n){return i.handleUpdate(n)}):t(window).off(n.RESIZE)},o._hideModal=function(){var r=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._isTransitioning=!1;this._showBackdrop(function(){t(document.body).removeClass(i.OPEN);r._resetAdjustments();r._resetScrollbar();t(r._element).trigger(n.HIDDEN)})},o._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},o._showBackdrop=function(u){var f=this,e=t(this._element).hasClass(i.FADE)?i.FADE:"",o,s;if(this._isShown&&this._config.backdrop){if(o=r.supportsTransitionEnd()&&e,this._backdrop=document.createElement("div"),this._backdrop.className=i.BACKDROP,e&&t(this._backdrop).addClass(e),t(this._backdrop).appendTo(document.body),t(this._element).on(n.CLICK_DISMISS,function(n){f._ignoreBackdropClick?f._ignoreBackdropClick=!1:n.target===n.currentTarget&&("static"===f._config.backdrop?f._element.focus():f.hide())}),o&&r.reflow(this._backdrop),t(this._backdrop).addClass(i.SHOW),!u)return;if(!o)return void u();t(this._backdrop).one(r.TRANSITION_END,u).emulateTransitionEnd(150)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass(i.SHOW),s=function(){f._removeBackdrop();u&&u()},r.supportsTransitionEnd()&&t(this._element).hasClass(i.FADE)?t(this._backdrop).one(r.TRANSITION_END,s).emulateTransitionEnd(150):s()):u&&u()},o._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},o._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},o._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},o._setScrollbar=function(){var n=this,i,r;this._isBodyOverflowing&&(t(f.FIXED_CONTENT).each(function(i,r){var u=t(r)[0].style.paddingRight,f=t(r).css("padding-right");t(r).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),t(f.STICKY_CONTENT).each(function(i,r){var u=t(r)[0].style.marginRight,f=t(r).css("margin-right");t(r).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),t(f.NAVBAR_TOGGLER).each(function(i,r){var u=t(r)[0].style.marginRight,f=t(r).css("margin-right");t(r).data("margin-right",u).css("margin-right",parseFloat(f)+n._scrollbarWidth+"px")}),i=document.body.style.paddingRight,r=t("body").css("padding-right"),t("body").data("padding-right",i).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px"))},o._resetScrollbar=function(){t(f.FIXED_CONTENT).each(function(n,i){var r=t(i).data("padding-right");"undefined"!=typeof r&&t(i).css("padding-right",r).removeData("padding-right")});t(f.STICKY_CONTENT+", "+f.NAVBAR_TOGGLER).each(function(n,i){var r=t(i).data("margin-right");"undefined"!=typeof r&&t(i).css("margin-right",r).removeData("margin-right")});var n=t("body").data("padding-right");"undefined"!=typeof n&&t("body").css("padding-right",n).removeData("padding-right")},o._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=i.SCROLLBAR_MEASURER,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},c._jQueryInterface=function(n,i){return this.each(function(){var r=t(this).data("bs.modal"),u=t.extend({},c.Default,t(this).data(),"object"==typeof n&&n);if(r||(r=new c(this,u),t(this).data("bs.modal",r)),"string"==typeof n){if("undefined"==typeof r[n])throw new Error('No method named "'+n+'"');r[n](i)}else u.show&&r.show(i)})},u(c,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return s}}]),c}();return t(document).on(n.CLICK_DATA_API,f.DATA_TOGGLE,function(i){var u,f=this,e=r.getSelectorFromElement(this),s,h;e&&(u=t(e)[0]);s=t(u).data("bs.modal")?"toggle":t.extend({},t(u).data(),t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||i.preventDefault();h=t(u).one(n.SHOW,function(i){i.isDefaultPrevented()||h.one(n.HIDDEN,function(){t(f).is(":visible")&&f.focus()})});o._jQueryInterface.call(t(u),s,this)}),t.fn[e]=o._jQueryInterface,t.fn[e].Constructor=o,t.fn[e].noConflict=function(){return t.fn[e]=c,o._jQueryInterface},o}(),f=function(){if("undefined"==typeof i)throw new Error("Bootstrap tooltips require Popper.js (https://popper.js.org)");var s="tooltip",n=".bs.tooltip",l=t.fn[s],a=new RegExp("(^|\\s)bs-tooltip\\S+","g"),v={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)"},y={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},p={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:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip"},o={SHOW:"show",OUT:"out"},w={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,INSERTED:"inserted"+n,CLICK:"click"+n,FOCUSIN:"focusin"+n,FOCUSOUT:"focusout"+n,MOUSEENTER:"mouseenter"+n,MOUSELEAVE:"mouseleave"+n},f={FADE:"fade",SHOW:"show"},c={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},e={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},h=function(){function l(n,t){this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var h=l.prototype;return h.enable=function(){this._isEnabled=!0},h.disable=function(){this._isEnabled=!1},h.toggleEnabled=function(){this._isEnabled=!this._isEnabled},h.toggle=function(n){if(this._isEnabled)if(n){var r=this.constructor.DATA_KEY,i=t(n.currentTarget).data(r);i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(f.SHOW))return void this._leave(null,this);this._enter(null,this)}},h.dispose=function(){clearTimeout(this._timeout);t.removeData(this.element,this.constructor.DATA_KEY);t(this.element).off(this.constructor.EVENT_KEY);t(this.element).closest(".modal").off("hide.bs.modal");this.tip&&t(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;null!==this._popper&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},h.show=function(){var n=this,e,v,u,s,y,h,p,a;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");if(e=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(t(this.element).trigger(e),v=t.contains(this.element.ownerDocument.documentElement,this.element),e.isDefaultPrevented()||!v)return;u=this.getTipElement();s=r.getUID(this.constructor.NAME);u.setAttribute("id",s);this.element.setAttribute("aria-describedby",s);this.setContent();this.config.animation&&t(u).addClass(f.FADE);y="function"==typeof this.config.placement?this.config.placement.call(this,u,this.element):this.config.placement;h=this._getAttachment(y);this.addAttachmentClass(h);p=!1===this.config.container?document.body:t(this.config.container);t(u).data(this.constructor.DATA_KEY,this);t.contains(this.element.ownerDocument.documentElement,this.tip)||t(u).appendTo(p);t(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new i(this.element,u,{placement:h,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:c.ARROW}},onCreate:function(t){t.originalPlacement!==t.placement&&n._handlePopperPlacementChange(t)},onUpdate:function(t){n._handlePopperPlacementChange(t)}});t(u).addClass(f.SHOW);"ontouchstart"in document.documentElement&&t("body").children().on("mouseover",null,t.noop);a=function(){n.config.animation&&n._fixTransition();var i=n._hoverState;n._hoverState=null;t(n.element).trigger(n.constructor.Event.SHOWN);i===o.OUT&&n._leave(null,n)};r.supportsTransitionEnd()&&t(this.tip).hasClass(f.FADE)?t(this.tip).one(r.TRANSITION_END,a).emulateTransitionEnd(l._TRANSITION_DURATION):a()}},h.hide=function(n){var i=this,u=this.getTipElement(),s=t.Event(this.constructor.Event.HIDE),h=function(){i._hoverState!==o.SHOW&&u.parentNode&&u.parentNode.removeChild(u);i._cleanTipClass();i.element.removeAttribute("aria-describedby");t(i.element).trigger(i.constructor.Event.HIDDEN);null!==i._popper&&i._popper.destroy();n&&n()};t(this.element).trigger(s);s.isDefaultPrevented()||(t(u).removeClass(f.SHOW),"ontouchstart"in document.documentElement&&t("body").children().off("mouseover",null,t.noop),this._activeTrigger[e.CLICK]=!1,this._activeTrigger[e.FOCUS]=!1,this._activeTrigger[e.HOVER]=!1,r.supportsTransitionEnd()&&t(this.tip).hasClass(f.FADE)?t(u).one(r.TRANSITION_END,h).emulateTransitionEnd(150):h(),this._hoverState="")},h.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},h.isWithContent=function(){return Boolean(this.getTitle())},h.addAttachmentClass=function(n){t(this.getTipElement()).addClass("bs-tooltip-"+n)},h.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},h.setContent=function(){var n=t(this.getTipElement());this.setElementContent(n.find(c.TOOLTIP_INNER),this.getTitle());n.removeClass(f.FADE+" "+f.SHOW)},h.setElementContent=function(n,i){var r=this.config.html;"object"==typeof i&&(i.nodeType||i.jquery)?r?t(i).parent().is(n)||n.empty().append(i):n.text(t(i).text()):n[r?"html":"text"](i)},h.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),n},h._getAttachment=function(n){return y[n.toUpperCase()]},h._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)t(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(i!==e.MANUAL){var r=i===e.HOVER?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=i===e.HOVER?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;t(n.element).on(r,n.config.selector,function(t){return n._enter(t)}).on(u,n.config.selector,function(t){return n._leave(t)})}t(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})});this.config.selector?this.config=t.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},h._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==n)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},h._enter=function(n,i){var r=this.constructor.DATA_KEY;(i=i||t(n.currentTarget).data(r))||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));n&&(i._activeTrigger["focusin"===n.type?e.FOCUS:e.HOVER]=!0);t(i.getTipElement()).hasClass(f.SHOW)||i._hoverState===o.SHOW?i._hoverState=o.SHOW:(clearTimeout(i._timeout),i._hoverState=o.SHOW,i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){i._hoverState===o.SHOW&&i.show()},i.config.delay.show):i.show())},h._leave=function(n,i){var r=this.constructor.DATA_KEY;(i=i||t(n.currentTarget).data(r))||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));n&&(i._activeTrigger["focusout"===n.type?e.FOCUS:e.HOVER]=!1);i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=o.OUT,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){i._hoverState===o.OUT&&i.hide()},i.config.delay.hide):i.hide())},h._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},h._getConfig=function(n){return"number"==typeof(n=t.extend({},this.constructor.Default,t(this.element).data(),n)).delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.toString()),"number"==typeof n.content&&(n.content=n.content.toString()),r.typeCheckConfig(s,n,this.constructor.DefaultType),n},h._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},h._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(a);null!==n&&n.length>0&&i.removeClass(n.join(""))},h._handlePopperPlacementChange=function(n){this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},h._fixTransition=function(){var n=this.getTipElement(),i=this.config.animation;null===n.getAttribute("x-placement")&&(t(n).removeClass(f.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},l._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.tooltip"),r="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new l(this,r),t(this).data("bs.tooltip",i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new Error('No method named "'+n+'"');i[n]()}})},u(l,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return p}},{key:"NAME",get:function(){return s}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return w}},{key:"EVENT_KEY",get:function(){return n}},{key:"DefaultType",get:function(){return v}}]),l}();return t.fn[s]=h._jQueryInterface,t.fn[s].Constructor=h,t.fn[s].noConflict=function(){return t.fn[s]=l,h._jQueryInterface},h}(),y=function(){var i="popover",n=".bs.popover",h=t.fn[i],c=new RegExp("(^|\\s)bs-popover\\S+","g"),l=t.extend({},f.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>'}),a=t.extend({},f.DefaultType,{content:"(string|element|function)"}),e={FADE:"fade",SHOW:"show"},s={TITLE:".popover-header",CONTENT:".popover-body"},v={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,INSERTED:"inserted"+n,CLICK:"click"+n,FOCUSIN:"focusin"+n,FOCUSOUT:"focusout"+n,MOUSEENTER:"mouseenter"+n,MOUSELEAVE:"mouseleave"+n},r=function(r){function f(){return r.apply(this,arguments)||this}o(f,r);var h=f.prototype;return h.isWithContent=function(){return this.getTitle()||this._getContent()},h.addAttachmentClass=function(n){t(this.getTipElement()).addClass("bs-popover-"+n)},h.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},h.setContent=function(){var n=t(this.getTipElement());this.setElementContent(n.find(s.TITLE),this.getTitle());this.setElementContent(n.find(s.CONTENT),this._getContent());n.removeClass(e.FADE+" "+e.SHOW)},h._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},h._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(c);null!==n&&n.length>0&&i.removeClass(n.join(""))},f._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.popover"),r="object"==typeof n?n:null;if((i||!/destroy|hide/.test(n))&&(i||(i=new f(this,r),t(this).data("bs.popover",i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new Error('No method named "'+n+'"');i[n]()}})},u(f,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return l}},{key:"NAME",get:function(){return i}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return v}},{key:"EVENT_KEY",get:function(){return n}},{key:"DefaultType",get:function(){return a}}]),f}(f);return t.fn[i]=r._jQueryInterface,t.fn[i].Constructor=r,t.fn[i].noConflict=function(){return t.fn[i]=h,r._jQueryInterface},r}(),p=function(){var i="scrollspy",c=t.fn[i],h={offset:10,method:"auto",target:""},l={offset:"number",method:"string",target:"(string|element)"},o={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},f={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},n={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},s={OFFSET:"offset",POSITION:"position"},e=function(){function c(i,r){var u=this;this._element=i;this._scrollElement="BODY"===i.tagName?window:i;this._config=this._getConfig(r);this._selector=this._config.target+" "+n.NAV_LINKS+","+this._config.target+" "+n.LIST_ITEMS+","+this._config.target+" "+n.DROPDOWN_ITEMS;this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;t(this._scrollElement).on(o.SCROLL,function(n){return u._process(n)});this.refresh();this._process()}var e=c.prototype;return e.refresh=function(){var n=this,u=this._scrollElement!==this._scrollElement.window?s.POSITION:s.OFFSET,i="auto"===this._config.method?u:this._config.method,f=i===s.POSITION?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();t.makeArray(t(this._selector)).map(function(n){var u,e=r.getSelectorFromElement(n),o;return(e&&(u=t(e)[0]),u)&&(o=u.getBoundingClientRect(),o.width||o.height)?[t(u)[i]().top+f,e]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(t){n._offsets.push(t[0]);n._targets.push(t[1])})},e.dispose=function(){t.removeData(this._element,"bs.scrollspy");t(this._scrollElement).off(".bs.scrollspy");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(n){if("string"!=typeof(n=t.extend({},h,n)).target){var u=t(n.target).attr("id");u||(u=r.getUID(i),t(n.target).attr("id",u));n.target="#"+u}return r.typeCheckConfig(i,n,l),n},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 t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),u=this._config.offset+r-this._getOffsetHeight(),i,n;if(this._scrollHeight!==r&&this.refresh(),t>=u)i=this._targets[this._targets.length-1],this._activeTarget!==i&&this._activate(i);else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(n=this._offsets.length;n--;)this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&("undefined"==typeof this._offsets[n+1]||t<this._offsets[n+1])&&this._activate(this._targets[n])}},e._activate=function(i){var u,r;this._activeTarget=i;this._clear();u=this._selector.split(",");u=u.map(function(n){return n+'[data-target="'+i+'"],'+n+'[href="'+i+'"]'});r=t(u.join(","));r.hasClass(f.DROPDOWN_ITEM)?(r.closest(n.DROPDOWN).find(n.DROPDOWN_TOGGLE).addClass(f.ACTIVE),r.addClass(f.ACTIVE)):(r.addClass(f.ACTIVE),r.parents(n.NAV_LIST_GROUP).prev(n.NAV_LINKS+", "+n.LIST_ITEMS).addClass(f.ACTIVE),r.parents(n.NAV_LIST_GROUP).prev(n.NAV_ITEMS).children(n.NAV_LINKS).addClass(f.ACTIVE));t(this._scrollElement).trigger(o.ACTIVATE,{relatedTarget:i})},e._clear=function(){t(this._selector).filter(n.ACTIVE).removeClass(f.ACTIVE)},c._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.scrollspy"),r="object"==typeof n&&n;if(i||(i=new c(this,r),t(this).data("bs.scrollspy",i)),"string"==typeof n){if("undefined"==typeof i[n])throw new Error('No method named "'+n+'"');i[n]()}})},u(c,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return h}}]),c}();return t(window).on(o.LOAD_DATA_API,function(){for(var u,i=t.makeArray(t(n.DATA_SPY)),r=i.length;r--;)u=t(i[r]),e._jQueryInterface.call(u,u.data())}),t.fn[i]=e._jQueryInterface,t.fn[i].Constructor=e,t.fn[i].noConflict=function(){return t.fn[i]=c,e._jQueryInterface},e}(),w=function(){var o=t.fn.tab,f={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},n={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},i={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},e=function(){function e(n){this._element=n}var o=e.prototype;return o.show=function(){var a=this,o,u,e,s,v,h,c,l;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(n.ACTIVE)||t(this._element).hasClass(n.DISABLED)||(e=t(this._element).closest(i.NAV_LIST_GROUP)[0],s=r.getSelectorFromElement(this._element),e&&(v="UL"===e.nodeName?i.ACTIVE_UL:i.ACTIVE,u=t.makeArray(t(e).find(v)),u=u[u.length-1]),h=t.Event(f.HIDE,{relatedTarget:this._element}),c=t.Event(f.SHOW,{relatedTarget:u}),(u&&t(u).trigger(h),t(this._element).trigger(c),c.isDefaultPrevented()||h.isDefaultPrevented())||(s&&(o=t(s)[0]),this._activate(this._element,e),l=function(){var n=t.Event(f.HIDDEN,{relatedTarget:a._element}),i=t.Event(f.SHOWN,{relatedTarget:u});t(u).trigger(n);t(a._element).trigger(i)},o?this._activate(o,o.parentNode,l):l()))},o.dispose=function(){t.removeData(this._element,"bs.tab");this._element=null},o._activate=function(u,f,e){var c,l=this,o=(c="UL"===f.nodeName?t(f).find(i.ACTIVE_UL):t(f).children(i.ACTIVE))[0],s=e&&r.supportsTransitionEnd()&&o&&t(o).hasClass(n.FADE),h=function(){return l._transitionComplete(u,o,s,e)};o&&s?t(o).one(r.TRANSITION_END,h).emulateTransitionEnd(150):h();o&&t(o).removeClass(n.SHOW)},o._transitionComplete=function(u,f,e,o){var s,h;f&&(t(f).removeClass(n.ACTIVE),s=t(f.parentNode).find(i.DROPDOWN_ACTIVE_CHILD)[0],s&&t(s).removeClass(n.ACTIVE),"tab"===f.getAttribute("role")&&f.setAttribute("aria-selected",!1));(t(u).addClass(n.ACTIVE),"tab"===u.getAttribute("role")&&u.setAttribute("aria-selected",!0),e?(r.reflow(u),t(u).addClass(n.SHOW)):t(u).removeClass(n.FADE),u.parentNode&&t(u.parentNode).hasClass(n.DROPDOWN_MENU))&&(h=t(u).closest(i.DROPDOWN)[0],h&&t(h).find(i.DROPDOWN_TOGGLE).addClass(n.ACTIVE),u.setAttribute("aria-expanded",!0));o&&o()},e._jQueryInterface=function(n){return this.each(function(){var r=t(this),i=r.data("bs.tab");if(i||(i=new e(this),r.data("bs.tab",i)),"string"==typeof n){if("undefined"==typeof i[n])throw new Error('No method named "'+n+'"');i[n]()}})},u(e,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}}]),e}();return t(document).on(f.CLICK_DATA_API,i.DATA_TOGGLE,function(n){n.preventDefault();e._jQueryInterface.call(t(this),"show")}),t.fn.tab=e._jQueryInterface,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=o,e._jQueryInterface},e}();return function(){if("undefined"==typeof t)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=t.fn.jquery.split(" ")[0].split(".");if(n[0]<2&&n[1]<9||1===n[0]&&9===n[1]&&n[2]<1||n[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}(),n.Util=r,n.Alert=s,n.Button=h,n.Carousel=c,n.Collapse=l,n.Dropdown=a,n.Modal=v,n.Popover=y,n.Scrollspy=p,n.Tab=w,n.Tooltip=f,n}({},$,Popper),_typeof,_createClass;if("undefined"==typeof jQuery)throw new Error("Material's JavaScript requires jQuery");+function(){var n=jQuery.fn.jquery.split(" ")[0].split(".");if(n[0]<3||n[0]>=4)throw new Error("Material's JavaScript requires at least jQuery v3.0.0 but less than v4.0.0");}(),function(n){this.Picker=n(jQuery)}(function(n){function t(f,h,l,a){function g(){return t._.node("div",t._.node("div",t._.node("div",t._.node("div",v.component.nodes(y.open),w.box),w.wrap),w.frame),w.holder,'tabindex="-1"')}function rt(){b.data(h,v).addClass(w.input).val(b.data("value")?v.get("select",p.format):f.value);p.editable||b.on("focus."+y.id+" click."+y.id,function(n){n.preventDefault();v.open()}).on("keydown."+y.id,it);i(f,{haspopup:!0,expanded:!1,readonly:!1,owns:f.id+"_root"})}function ut(){i(v.$root[0],"hidden",!0)}function nt(){v.$holder.on({keydown:it,"focus.toOpen":tt,blur:function(){b.removeClass(w.target)},focusin:function(n){v.$root.removeClass(w.focused);n.stopPropagation()},"mousedown click":function(t){var i=t.target;i!=v.$holder[0]&&(t.stopPropagation(),"mousedown"!=t.type||n(i).is("input, select, textarea, button, option")||(t.preventDefault(),v.$holder[0].focus()))}}).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var r=n(this),t=r.data(),u=r.hasClass(w.navDisabled)||r.hasClass(w.disabled),i=e();i=i&&(i.type||i.href);(u||i&&!n.contains(v.$root[0],i))&&v.$holder[0].focus();!u&&t.nav?v.set("highlight",v.component.item.highlight,{nav:t.nav}):!u&&"pick"in t?(v.set("select",t.pick),p.closeOnSelect&&v.close(!0)):t.clear?(v.clear(),p.closeOnClear&&v.close(!0)):t.close&&v.close(!0)})}function ft(){var t;!0===p.hiddenName?(t=f.name,f.name=""):(t=["string"==typeof p.hiddenPrefix?p.hiddenPrefix:"","string"==typeof p.hiddenSuffix?p.hiddenSuffix:"_submit"],t=t[0]+f.name+t[1]);v._hidden=n('<input type=hidden name="'+t+'"'+(b.data("value")||f.value?' value="'+v.get("select",p.formatSubmit)+'"':"")+">")[0];b.on("change."+y.id,function(){v._hidden.value=f.value?v.get("select",p.formatSubmit):""})}function et(){k&&c?v.$holder.find("."+w.frame).one("transitionend",function(){v.$holder[0].focus()}):v.$holder[0].focus()}function tt(n){n.stopPropagation();b.addClass(w.target);v.$root.addClass(w.focused);v.open()}function it(n){var t=n.keyCode,i=/^(8|46)$/.test(t);return 27==t?(v.close(!0),!1):void((32==t||i||!y.open&&v.component.key[t])&&(n.preventDefault(),n.stopPropagation(),i?v.clear().close():v.open()))}if(!f)return t;var k=!1,y={id:f.id||"P"+Math.abs(~~(Math.random()*new Date))},p=l?n.extend(!0,{},l.defaults,a):a||{},w=n.extend({},t.klasses(),p.klass),b=n(f),d=function(){return this.start()},v=d.prototype={constructor:d,$node:b,start:function(){return y&&y.start?v:(y.methods={},y.start=!0,y.open=!1,y.type=f.type,f.autofocus=f==e(),f.readOnly=!p.editable,f.id=f.id||y.id,"text"!=f.type&&(f.type="text"),v.component=new l(v,p),v.$root=n('<div class="'+w.picker+'" id="'+f.id+'_root" />'),ut(),v.$holder=n(g()).appendTo(v.$root),nt(),p.formatSubmit&&ft(),rt(),p.containerHidden?n(p.containerHidden).append(v._hidden):b.after(v._hidden),p.container?n(p.container).append(v.$root):b.after(v.$root),v.on({start:v.component.onStart,render:v.component.onRender,stop:v.component.onStop,open:v.component.onOpen,close:v.component.onClose,set:v.component.onSet}).on({start:p.onStart,render:p.onRender,stop:p.onStop,open:p.onOpen,close:p.onClose,set:p.onSet}),k=s(v.$holder[0]),f.autofocus&&v.open(),v.trigger("start").trigger("render"))},render:function(t){return t?(v.$holder=n(g()),nt(),v.$root.html(v.$holder)):v.$root.find("."+w.box).html(v.component.nodes(y.open)),v.trigger("render")},stop:function(){return y.start?(v.close(),v._hidden&&v._hidden.parentNode.removeChild(v._hidden),v.$root.remove(),b.removeClass(w.input).removeData(h),setTimeout(function(){b.off("."+y.id)},0),f.type=y.type,f.readOnly=!1,v.trigger("stop"),y.methods={},y.start=!1,v):v},open:function(e){return y.open?v:(b.addClass(w.active),i(f,"expanded",!0),setTimeout(function(){v.$root.addClass(w.opened);i(v.$root[0],"hidden",!1)},0),!1!==e&&(y.open=!0,k&&r.css("overflow","hidden").css("padding-right","+="+u()),et(),o.on("click."+y.id+" focusin."+y.id,function(n){var t=n.target;t!=f&&t!=document&&3!=n.which&&v.close(t===v.$holder[0])}).on("keydown."+y.id,function(i){var r=i.keyCode,u=v.component.key[r],f=i.target;27==r?v.close(!0):f!=v.$holder[0]||!u&&13!=r?n.contains(v.$root[0],f)&&13==r&&(i.preventDefault(),f.click()):(i.preventDefault(),u?t._.trigger(v.component.key.go,v,[t._.trigger(u)]):v.$root.find("."+w.highlighted).hasClass(w.disabled)||(v.set("select",v.component.item.highlight),p.closeOnSelect&&v.close(!0)))})),v.trigger("open"))},close:function(n){return n&&(p.editable?f.focus():(v.$holder.off("focus.toOpen").focus(),setTimeout(function(){v.$holder.on("focus.toOpen",tt)},0))),b.removeClass(w.active),i(f,"expanded",!1),setTimeout(function(){v.$root.removeClass(w.opened+" "+w.focused);i(v.$root[0],"hidden",!0)},0),y.open?(y.open=!1,k&&r.css("overflow","").css("padding-right","-="+u()),o.off("."+y.id),v.trigger("close")):v},clear:function(n){return v.set("clear",null,n)},set:function(t,i,r){var u,f,o=n.isPlainObject(t),e=o?t:{};if(r=o&&n.isPlainObject(i)?i:r||{},t){o||(e[t]=i);for(u in e)f=e[u],u in v.component.item&&(void 0===f&&(f=null),v.component.set(u,f,r)),("select"==u||"clear"==u)&&b.val("clear"==u?"":v.get(u,p.format)).trigger("change");v.render()}return r.muted?v:v.trigger("set",e)},get:function(n,i){if(n=n||"value",null!=y[n])return y[n];if("valueSubmit"==n){if(v._hidden)return v._hidden.value;n="value"}if("value"==n)return f.value;if(n in v.component.item){if("string"==typeof i){var r=v.component.get(n);return r?t._.trigger(v.component.formats.toString,v.component,[i,r]):""}return v.component.get(n)}},on:function(t,i,r){var u,e,o=n.isPlainObject(t),f=o?t:{};if(t){o||(f[t]=i);for(u in f)e=f[u],r&&(u="_"+u),y.methods[u]=y.methods[u]||[],y.methods[u].push(e)}return v},off:function(){var n,t,i=arguments;for(n=0,namesCount=i.length;n<namesCount;n+=1)(t=i[n])in y.methods&&delete y.methods[t];return v},trigger:function(n,i){var r=function(n){var r=y.methods[n];r&&r.map(function(n){t._.trigger(n,v,[i])})};return r("_"+n),r(n),v}};return new d}function s(n){var t,i="position";return n.currentStyle?t=n.currentStyle[i]:window.getComputedStyle&&(t=getComputedStyle(n)[i]),"fixed"==t}function u(){var t,i,u;return r.height()<=h.height()?0:(t=n('<div style="visibility:hidden;width:100px" />').appendTo("body"),i=t[0].offsetWidth,t.css("overflow","scroll"),u=n('<div style="width:100%" />').appendTo(t)[0].offsetWidth,t.remove(),i-u)}function i(t,i,r){if(n.isPlainObject(i))for(var u in i)f(t,u,i[u]);else f(t,i,r)}function f(n,t,i){n.setAttribute(("role"==t?"":"aria-")+t,i)}function e(){try{return document.activeElement}catch(n){}}var h=n(window),o=n(document),r=n(document.documentElement),c=null!=document.documentElement.style.transition;return t.klasses=function(n){return n=n||"picker",{picker:n,opened:n+"--opened",focused:n+"--focused",input:n+"__input",active:n+"__input--active",target:n+"__input--target",holder:n+"__holder",frame:n+"__frame",wrap:n+"__wrap",box:n+"__box"}},t._={group:function(n){for(var i,u="",r=t._.trigger(n.min,n);r<=t._.trigger(n.max,n,[r]);r+=n.i)i=t._.trigger(n.item,n,[r]),u+=t._.node(n.node,i[0],i[1],i[2]);return u},node:function(t,i,r,u){return i?(i=n.isArray(i)?i.join(""):i,r=r?' class="'+r+'"':"",u=u?" "+u:"","<"+t+r+u+">"+i+"<\/"+t+">"):""},lead:function(n){return(10>n?"0":"")+n},trigger:function(n,t,i){return"function"==typeof n?n.apply(t,i||[]):n},digits:function(n){return/\d/.test(n[1])?2:1},isDate:function(n){return{}.toString.call(n).indexOf("Date")>-1&&this.isInteger(n.getDate())},isInteger:function(n){return{}.toString.call(n).indexOf("Number")>-1&&n%1==0},ariaAttr:function(t,i){var r,u;n.isPlainObject(t)||(t={attribute:i});i="";for(r in t)u=("role"==r?"":"aria-")+r,i+=null==t[r]?"":u+'="'+t[r]+'"';return i}},t.extend=function(i,r){n.fn[i]=function(u,f){var e=this.data(i);return"picker"==u?e:e&&"string"==typeof u?t._.trigger(e[u],e,[f]):this.each(function(){n(this).data(i)||new t(this,i,r,u)})};n.fn[i].defaults=r.defaults},t}),function(n){n(Picker,jQuery)}(function(n,t){function r(n,t){var i=this,r=n.$node[0],o=r.value,u=n.$node.data("value"),f=u||o,s=u?t.formatSubmit:t.format,e=function(){return r.currentStyle?"rtl"==r.currentStyle.direction:"rtl"==getComputedStyle(n.$root[0]).direction};i.settings=t;i.$node=n.$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=(t.disable||[]).slice(0);i.item.enable=-function(n){return!0===n[0]?n.shift():-1}(i.item.disable);i.set("min",t.min).set("max",t.max).set("now");f?i.set("select",f,{format:s,defaultValue:!0}):i.set("select",null).set("highlight",i.item.now);i.key={40:7,38:-7,39:function(){return e()?-1:1},37:function(){return e()?1:-1},go:function(n){var t=i.item.highlight,r=new Date(t.year,t.month,t.date+n);i.set("highlight",r,{interval:n});this.render()}};n.on("render",function(){n.$root.find("."+t.klass.selectMonth).on("change",function(){var i=this.value;i&&(n.set("highlight",[n.get("view").year,i,n.get("highlight").date]),n.$root.find("."+t.klass.selectMonth).trigger("focus"))});n.$root.find("."+t.klass.selectYear).on("change",function(){var i=this.value;i&&(n.set("highlight",[i,n.get("view").month,n.get("highlight").date]),n.$root.find("."+t.klass.selectYear).trigger("focus"))})},1).on("open",function(){var r="";i.disabled(i.get("now"))&&(r=":not(."+t.klass.buttonToday+")");n.$root.find("button"+r+", select").attr("disabled",!1)},1).on("close",function(){n.$root.find("button, select").attr("disabled",!0)},1)}var i=n._;r.prototype.set=function(n,t,i){var r=this,u=r.item;return null===t?("clear"==n&&(n="select"),u[n]=t,r):(u["enable"==n?"disable":"flip"==n?"enable":n]=r.queue[n].split(" ").map(function(u){return t=r[u](n,t,i)}).pop(),"select"==n?r.set("highlight",u.select,i):"highlight"==n?r.set("view",u.highlight,i):n.match(/^(flip|min|max|disable|enable)$/)&&(u.select&&r.disabled(u.select)&&r.set("select",u.select,i),u.highlight&&r.disabled(u.highlight)&&r.set("highlight",u.highlight,i)),r)};r.prototype.get=function(n){return this.item[n]};r.prototype.create=function(n,r,u){var f,e=this;return(r=void 0===r?n:r)==-1/0||r==1/0?f=r:t.isPlainObject(r)&&i.isInteger(r.pick)?r=r.obj:t.isArray(r)?(r=new Date(r[0],r[1],r[2]),r=i.isDate(r)?r:e.create().obj):r=i.isInteger(r)||i.isDate(r)?e.normalize(new Date(r),u):e.now(n,r,u),{year:f||r.getFullYear(),month:f||r.getMonth(),date:f||r.getDate(),day:f||r.getDay(),obj:f||r,pick:f||r.getTime()}};r.prototype.createRange=function(n,r){var f=this,u=function(n){return!0===n||t.isArray(n)||i.isDate(n)?f.create(n):n};return i.isInteger(n)||(n=u(n)),i.isInteger(r)||(r=u(r)),i.isInteger(n)&&t.isPlainObject(r)?n=[r.year,r.month,r.date+n]:i.isInteger(r)&&t.isPlainObject(n)&&(r=[n.year,n.month,n.date+r]),{from:u(n),to:u(r)}};r.prototype.withinRange=function(n,t){return n=this.createRange(n.from,n.to),t.pick>=n.from.pick&&t.pick<=n.to.pick};r.prototype.overlapRanges=function(n,t){var i=this;return n=i.createRange(n.from,n.to),t=i.createRange(t.from,t.to),i.withinRange(n,t.from)||i.withinRange(n,t.to)||i.withinRange(t,n.from)||i.withinRange(t,n.to)};r.prototype.now=function(n,t,i){return t=new Date,i&&i.rel&&t.setDate(t.getDate()+i.rel),this.normalize(t,i)};r.prototype.navigate=function(n,i,r){var s,f,u,e,c=t.isArray(i),h=t.isPlainObject(i),o=this.item.view;if(c||h){for(h?(f=i.year,u=i.month,e=i.date):(f=+i[0],u=+i[1],e=+i[2]),r&&r.nav&&o&&o.month!==u&&(f=o.year,u=o.month),f=(s=new Date(f,u+(r&&r.nav?r.nav:0),1)).getFullYear(),u=s.getMonth();new Date(f,u,e).getMonth()!==u;)e-=1;i=[f,u,e]}return i};r.prototype.normalize=function(n){return n.setHours(0,0,0,0),n};r.prototype.measure=function(n,t){var r=this;return t?"string"==typeof t?t=r.parse(n,t):i.isInteger(t)&&(t=r.now(n,t,{rel:t})):t="min"==n?-1/0:1/0,t};r.prototype.viewset=function(n,t){return this.create([t.year,t.month,1])};r.prototype.validate=function(n,r,u){var c,l,v,y,f=this,a=r,e=u&&u.interval?u.interval:1,h=-1===f.item.enable,o=f.item.min,s=f.item.max,p=h&&f.item.disable.filter(function(n){if(t.isArray(n)){var u=f.create(n).pick;u<r.pick?c=!0:u>r.pick&&(l=!0)}return i.isInteger(n)}).length;if((!u||!u.nav&&!u.defaultValue)&&(!h&&f.disabled(r)||h&&f.disabled(r)&&(p||c||l)||!h&&(r.pick<=o.pick||r.pick>=s.pick)))for(h&&!p&&(!l&&e>0||!c&&0>e)&&(e*=-1);f.disabled(r)&&(Math.abs(e)>1&&(r.month<a.month||r.month>a.month)&&(r=a,e=e>0?1:-1),r.pick<=o.pick?(v=!0,e=1,r=f.create([o.year,o.month,o.date+(r.pick===o.pick?0:-1)])):r.pick>=s.pick&&(y=!0,e=-1,r=f.create([s.year,s.month,s.date+(r.pick===s.pick?0:1)])),!v||!y);)r=f.create([r.year,r.month,r.date+e]);return r};r.prototype.disabled=function(n){var r=this,u=r.item.disable.filter(function(u){return i.isInteger(u)?n.day===(r.settings.firstDay?u:u-1)%7:t.isArray(u)||i.isDate(u)?n.pick===r.create(u).pick:t.isPlainObject(u)?r.withinRange(u,n):void 0});return u=u.length&&!u.filter(function(n){return t.isArray(n)&&"inverted"==n[3]||t.isPlainObject(n)&&n.inverted}).length,-1===r.item.enable?!u:u||n.pick<r.item.min.pick||n.pick>r.item.max.pick};r.prototype.parse=function(n,t,r){var f=this,u={};return t&&"string"==typeof t?(r&&r.format||(r=r||{},r.format=f.settings.format),f.formats.toArray(r.format).map(function(n){var r=f.formats[n],e=r?i.trigger(r,f,[t,u]):n.replace(/^!/,"").length;r&&(u[n]=t.substr(0,e));t=t.substr(e)}),[u.yyyy||u.yy,+(u.mm||u.m)-1,u.dd||u.d]):t};r.prototype.formats=function(){function n(n,t,i){var r=n.match(/[^\x00-\x7F]+|\w+/)[0];return i.mm||i.m||(i.m=t.indexOf(r)+1),r.length}function t(n){return n.match(/\w+/)[0].length}return{d:function(n,t){return n?i.digits(n):t.date},dd:function(n,t){return n?2:i.lead(t.date)},ddd:function(n,i){return n?t(n):this.settings.weekdaysShort[i.day]},dddd:function(n,i){return n?t(n):this.settings.weekdaysFull[i.day]},m:function(n,t){return n?i.digits(n):t.month+1},mm:function(n,t){return n?2:i.lead(t.month+1)},mmm:function(t,i){var r=this.settings.monthsShort;return t?n(t,r,i):r[i.month]},mmmm:function(t,i){var r=this.settings.monthsFull;return t?n(t,r,i):r[i.month]},yy:function(n,t){return n?2:(""+t.year).slice(2)},yyyy:function(n,t){return n?4:t.year},toArray:function(n){return n.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(n,t){var r=this;return r.formats.toArray(n).map(function(n){return i.trigger(r.formats[n],r,[0,t])||n.replace(/^!/,"")}).join("")}}}();r.prototype.isDateExact=function(n,r){var u=this;return i.isInteger(n)&&i.isInteger(r)||"boolean"==typeof n&&"boolean"==typeof r?n===r:(i.isDate(n)||t.isArray(n))&&(i.isDate(r)||t.isArray(r))?u.create(n).pick===u.create(r).pick:!(!t.isPlainObject(n)||!t.isPlainObject(r))&&u.isDateExact(n.from,r.from)&&u.isDateExact(n.to,r.to)};r.prototype.isDateOverlap=function(n,r){var u=this,f=u.settings.firstDay?1:0;return i.isInteger(n)&&(i.isDate(r)||t.isArray(r))?(n=n%7+f)===u.create(r).day+1:i.isInteger(r)&&(i.isDate(n)||t.isArray(n))?(r=r%7+f)===u.create(n).day+1:!(!t.isPlainObject(n)||!t.isPlainObject(r))&&u.overlapRanges(n,r)};r.prototype.flipEnable=function(n){var t=this.item;t.enable=n||(-1==t.enable?1:-1)};r.prototype.deactivate=function(n,r){var f=this,u=f.item.disable.slice(0);return"flip"==r?f.flipEnable():!1===r?(f.flipEnable(1),u=[]):!0===r?(f.flipEnable(-1),u=[]):r.map(function(n){for(var e,r=0;r<u.length;r+=1)if(f.isDateExact(n,u[r])){e=!0;break}e||(i.isInteger(n)||i.isDate(n)||t.isArray(n)||t.isPlainObject(n)&&n.from&&n.to)&&u.push(n)}),u};r.prototype.activate=function(n,r){var f=this,u=f.item.disable,e=u.length;return"flip"==r?f.flipEnable():!0===r?(f.flipEnable(1),u=[]):!1===r?(f.flipEnable(-1),u=[]):r.map(function(n){for(var o,s,h,r=0;e>r;r+=1){if(s=u[r],f.isDateExact(s,n)){o=u[r]=null;h=!0;break}if(f.isDateOverlap(s,n)){t.isPlainObject(n)?(n.inverted=!0,o=n):t.isArray(n)?(o=n)[3]||o.push("inverted"):i.isDate(n)&&(o=[n.getFullYear(),n.getMonth(),n.getDate(),"inverted"]);break}}if(o)for(r=0;e>r;r+=1)if(f.isDateExact(u[r],n)){u[r]=null;break}if(h)for(r=0;e>r;r+=1)if(f.isDateOverlap(u[r],n)){u[r]=null;break}o&&u.push(o)}),u.filter(function(n){return null!=n})};r.prototype.nodes=function(n){var r=this,t=r.settings,f=r.item,s=f.now,h=f.select,c=f.highlight,u=f.view,y=f.disable,e=f.min,o=f.max,p=function(n,r){return t.firstDay&&(n.push(n.shift()),r.push(r.shift())),i.node("thead",i.node("tr",i.group({min:0,max:6,i:1,node:"th",item:function(i){return[n[i],t.klass.weekdays,'scope=col title="'+r[i]+'"']}})))}((t.showWeekdaysFull?t.weekdaysFull:t.weekdaysShort).slice(0),t.weekdaysFull.slice(0)),l=function(n){return i.node("div"," ",t.klass["nav"+(n?"Next":"Prev")]+(n&&u.year>=o.year&&u.month>=o.month||!n&&u.year<=e.year&&u.month<=e.month?" "+t.klass.navDisabled:""),"data-nav="+(n||-1)+" "+i.ariaAttr({role:"button",controls:r.$node[0].id+"_table"})+' title="'+(n?t.labelMonthNext:t.labelMonthPrev)+'"')},a=function(){var f=t.showMonthsShort?t.monthsShort:t.monthsFull;return t.selectMonths?i.node("select",i.group({min:0,max:11,i:1,node:"option",item:function(n){return[f[n],0,"value="+n+(u.month==n?" selected":"")+(u.year==e.year&&n<e.month||u.year==o.year&&n>o.month?" disabled":"")]}}),t.klass.selectMonth,(n?"":"disabled")+" "+i.ariaAttr({controls:r.$node[0].id+"_table"})+' title="'+t.labelMonthSelect+'"'):i.node("div",f[u.month],t.klass.month)},v=function(){var h=u.year,l=!0===t.selectYears?5:~~(t.selectYears/2),v,y;if(l){var c=e.year,a=o.year,f=h-l,s=h+l;return(c>f&&(s+=c-f,f=c),s>a)&&(v=f-c,y=s-a,f-=v>y?y:v,s=a),i.node("select",i.group({min:f,max:s,i:1,node:"option",item:function(n){return[n,0,"value="+n+(h==n?" selected":"")]}}),t.klass.selectYear,(n?"":"disabled")+" "+i.ariaAttr({controls:r.$node[0].id+"_table"})+' title="'+t.labelYearSelect+'"')}return i.node("div",h,t.klass.year)};return i.node("div",(t.selectYears?v()+a():a()+v())+l()+l(1),t.klass.header)+i.node("table",p+i.node("tbody",i.group({min:0,max:5,i:1,node:"tr",item:function(n){var f=t.firstDay&&0===r.create([u.year,u.month,1]).day?-7:0;return[i.group({min:7*n-u.day+f+1,max:function(){return this.min+7-1},i:1,node:"td",item:function(n){n=r.create([u.year,u.month,n+(t.firstDay?1:0)]);var f=h&&h.pick==n.pick,l=c&&c.pick==n.pick,a=y&&r.disabled(n)||n.pick<e.pick||n.pick>o.pick,v=i.trigger(r.formats.toString,r,[t.format,n]);return[i.node("div",n.date,function(i){return i.push(u.month==n.month?t.klass.infocus:t.klass.outfocus),s.pick==n.pick&&i.push(t.klass.now),f&&i.push(t.klass.selected),l&&i.push(t.klass.highlighted),a&&i.push(t.klass.disabled),i.join(" ")}([t.klass.day]),"data-pick="+n.pick+" "+i.ariaAttr({role:"gridcell",label:v,selected:!(!f||r.$node.val()!==v)||null,activedescendant:!!l||null,disabled:!!a||null})),"",i.ariaAttr({role:"presentation"})]}})]}})),t.klass.table,'id="'+r.$node[0].id+'_table" '+i.ariaAttr({role:"grid",controls:r.$node[0].id,readonly:!0}))+i.node("div",i.node("button",t.today,t.klass.buttonToday,"type=button data-pick="+s.pick+(n&&!r.disabled(s)?"":" disabled")+" "+i.ariaAttr({controls:r.$node[0].id}))+i.node("button",t.clear,t.klass.buttonClear,"type=button data-clear=1"+(n?"":" disabled")+" "+i.ariaAttr({controls:r.$node[0].id}))+i.node("button",t.close,t.klass.buttonClose,"type=button data-close=true "+(n?"":" disabled")+" "+i.ariaAttr({controls:r.$node[0].id})),t.klass.footer)};r.defaults=function(n){return{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:n+"table",header:n+"header",navPrev:n+"nav--prev",navNext:n+"nav--next",navDisabled:n+"nav--disabled",month:n+"month",year:n+"year",selectMonth:n+"select--month",selectYear:n+"select--year",weekdays:n+"weekday",day:n+"day",disabled:n+"day--disabled",selected:n+"day--selected",highlighted:n+"day--highlighted",now:n+"day--today",infocus:n+"day--infocus",outfocus:n+"day--outfocus",footer:n+"footer",buttonClear:n+"button--clear",buttonToday:n+"button--today",buttonClose:n+"button--close"}}}(n.klasses().picker+"__");n.extend("pickadate",r)}),function(n,t){function i(t){this.element=t;this.$element=n(t);this.init()}var r="textareaAutoSize",u="plugin_"+r,f=function(n){return n.replace(/\s/g,"").length>0};i.prototype={init:function(){var i=parseInt(this.$element.css("paddingBottom"))+parseInt(this.$element.css("paddingTop"))+parseInt(this.$element.css("borderTopWidth"))+parseInt(this.$element.css("borderBottomWidth"))||0;f(this.element.value)&&this.$element.height(this.element.scrollHeight-i);this.$element.on("input keyup",function(){var r=n(t),u=r.scrollTop();n(this).height(0).height(this.scrollHeight-i);r.scrollTop(u)})}};n.fn[r]=function(t){return this.each(function(){n.data(this,u)||n.data(this,u,new i(this,t))}),this}}(jQuery,window,document),function(n,t){"use strict";"function"==typeof define&&define.amd?define([],function(){return t.apply(n)}):"object"==typeof exports?module.exports=t.call(n):n.Waves=t.call(n)}("object"==typeof global?global:this,function(){"use strict";function c(n){return null!==n&&n===n.window}function l(n){return c(n)?n:9===n.nodeType&&n.defaultView}function f(n){var t=typeof n;return"function"===t||"object"===t&&!!n}function a(n){return f(n)&&n.nodeType>0}function r(n){var t=s.call(n);return"[object String]"===t?p(n):f(n)&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(t)&&n.hasOwnProperty("length")?n:a(n)?[n]:[]}function e(n){var t,i,r={top:0,left:0},u=n&&n.ownerDocument;return t=u.documentElement,void 0!==n.getBoundingClientRect&&(r=n.getBoundingClientRect()),i=l(u),{top:r.top+i.pageYOffset-t.clientTop,left:r.left+i.pageXOffset-t.clientLeft}}function u(n){var i="",t;for(t in n)n.hasOwnProperty(t)&&(i+=t+":"+n[t]+";");return i}function v(t,i,r,f){var e;if(r){f.classList.remove("waves-wrapping");r.classList.remove("waves-rippling");var c=r.getAttribute("data-x"),l=r.getAttribute("data-y"),o=r.getAttribute("data-scale"),s=r.getAttribute("data-translate"),h=350-(Date.now()-Number(r.getAttribute("data-hold")));0>h&&(h=0);"mousemove"===t.type&&(h=150);e="mousemove"===t.type?2500:n.duration;setTimeout(function(){var n={top:l+"px",left:c+"px",opacity:"0","-webkit-transition-duration":e+"ms","-moz-transition-duration":e+"ms","-o-transition-duration":e+"ms","transition-duration":e+"ms","-webkit-transform":o+" "+s,"-moz-transform":o+" "+s,"-ms-transform":o+" "+s,"-o-transform":o+" "+s,transform:o+" "+s};r.setAttribute("style",u(n));setTimeout(function(){try{f.removeChild(r);i.removeChild(f)}catch(n){return!1}},e)},h)}}function y(n){if(!1===i.allowEvent(n))return null;for(var r=null,t=n.target||n.srcElement;null!==t.parentElement;){if(t.classList.contains("waves-effect")&&!(t instanceof SVGElement)){r=t;break}t=t.parentElement}return r}function o(t){var r=y(t);if(null!==r){if(r.disabled||r.getAttribute("disabled")||r.classList.contains("disabled"))return;if(i.registerEvent(t),"touchstart"===t.type&&n.delay){var e=!1,u=setTimeout(function(){u=null;n.show(t,r)},n.delay),f=function(i){u&&(clearTimeout(u),u=null,n.show(t,r));e||(e=!0,n.hide(i,r))};r.addEventListener("touchmove",function(n){u&&(clearTimeout(u),u=null);f(n)},!1);r.addEventListener("touchend",f,!1);r.addEventListener("touchcancel",f,!1)}else n.show(t,r),h&&(r.addEventListener("touchend",n.hide,!1),r.addEventListener("touchcancel",n.hide,!1)),r.addEventListener("mouseup",n.hide,!1),r.addEventListener("mouseleave",n.hide,!1)}}var t=t||{},p=document.querySelectorAll.bind(document),s=Object.prototype.toString,h="ontouchstart"in window,n={duration:750,delay:200,show:function(t,i,r){var v,o,l,s,f,a;if(2===t.button)return!1;i=i||this;v=document.createElement("div");v.className="waves-wrap waves-wrapping";i.appendChild(v);o=document.createElement("div");o.className="waves-ripple waves-rippling";v.appendChild(o);var y=e(i),h=0,c=0;"touches"in t&&t.touches.length?(h=t.touches[0].pageY-y.top,c=t.touches[0].pageX-y.left):(h=t.pageY-y.top,c=t.pageX-y.left);c=c>=0?c:0;h=h>=0?h:0;l="scale("+i.clientWidth/100*3+")";s="translate(0,0)";r&&(s="translate("+r.x+"px, "+r.y+"px)");o.setAttribute("data-hold",Date.now());o.setAttribute("data-x",c);o.setAttribute("data-y",h);o.setAttribute("data-scale",l);o.setAttribute("data-translate",s);f={top:h+"px",left:c+"px"};o.classList.add("waves-notransition");o.setAttribute("style",u(f));o.classList.remove("waves-notransition");f["-webkit-transform"]=l+" "+s;f["-moz-transform"]=l+" "+s;f["-ms-transform"]=l+" "+s;f["-o-transform"]=l+" "+s;f.transform=l+" "+s;f.opacity="1";a="mousemove"===t.type?2500:n.duration;f["-webkit-transition-duration"]=a+"ms";f["-moz-transition-duration"]=a+"ms";f["-o-transition-duration"]=a+"ms";f["transition-duration"]=a+"ms";o.setAttribute("style",u(f))},hide:function(n,t){for(var u=(t=t||this).getElementsByClassName("waves-wrapping"),r=t.getElementsByClassName("waves-rippling"),i=0,f=r.length;f>i;i++)v(n,t,r[i],u[i])}},w={input:function(n){var i=n.parentNode,t;if("i"!==i.tagName.toLowerCase()||!i.classList.contains("waves-effect")){t=document.createElement("i");t.className=n.className+" waves-input-wrapper";n.className="waves-button-input";i.replaceChild(t,n);t.appendChild(n);var r=window.getComputedStyle(n,null),u=r.color,f=r.backgroundColor;t.setAttribute("style","color:"+u+";background:"+f);n.setAttribute("style","background-color:rgba(0,0,0,0);")}},img:function(n){var t=n.parentNode,i;"i"===t.tagName.toLowerCase()&&t.classList.contains("waves-effect")||(i=document.createElement("i"),t.replaceChild(i,n),i.appendChild(n))}},i={touches:0,allowEvent:function(n){var t=!0;return/^(mousedown|mousemove)$/.test(n.type)&&i.touches&&(t=!1),t},registerEvent:function(n){var t=n.type;"touchstart"===t?i.touches+=1:/^(touchend|touchcancel)$/.test(t)&&setTimeout(function(){i.touches&&(i.touches-=1)},500)}};return t.init=function(t){var r=document.body;"duration"in(t=t||{})&&(n.duration=t.duration);"delay"in t&&(n.delay=t.delay);h&&(r.addEventListener("touchstart",o,!1),r.addEventListener("touchcancel",i.registerEvent,!1),r.addEventListener("touchend",i.registerEvent,!1));r.addEventListener("mousedown",o,!1)},t.attach=function(n,t){n=r(n);"[object Array]"===s.call(t)&&(t=t.join(" "));t=t?" "+t:"";for(var i,u,f=0,e=n.length;e>f;f++)i=n[f],u=i.tagName.toLowerCase(),-1!==["input","img"].indexOf(u)&&(w[u](i),i=i.parentElement),-1===i.className.indexOf("waves-effect")&&(i.className+=" waves-effect"+t)},t.ripple=function(t,i){var l=(t=r(t)).length,a;if(i=i||{},i.wait=i.wait||0,i.position=i.position||null,l)for(var u,o,s,f={},h=0,c={type:"mousedown",button:1};l>h;h++)(u=t[h],o=i.position||{x:u.clientWidth/2,y:u.clientHeight/2},s=e(u),f.x=s.left+o.x,f.y=s.top+o.y,c.pageX=f.x,c.pageY=f.y,n.show(c,u),i.wait>=0&&null!==i.wait)&&(a={type:"mouseup",button:1},setTimeout(function(t,i){return function(){n.hide(t,i)}}(a,u),i.wait))},t.calm=function(t){for(var u={type:"mouseup",button:1},i=0,f=(t=r(t)).length;f>i;i++)n.hide(u,t[i])},t.displayEffect=function(n){console.error("Waves.displayEffect() has been deprecated and will be removed in future version. Please use Waves.init() to initialize Waves effect");t.init(n)},t}),function(n){"use strict";var t=function(n,t){this._element=n;this._options=t},i;if(void 0===n.fn.pickadate)throw new Error("Material's JavaScript requires pickadate.js");t.DEFAULTS={cancel:"Cancel",closeOnCancel:!0,closeOnSelect:!1,container:"body",disable:[],firstDay:0,format:"d/m/yyyy",formatSubmit:"",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"},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:!1,onOpen:!1,onRender:!1,onSet:!1,onStart:!1,onStop:!1,selectMonths:!1,selectYears:!1,today:"",weekdaysFull:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysShort:["S","M","T","W","T","F","S"]};t.prototype.display=function(t,i,r){n(".picker-date-display",i).remove();n(".picker-wrap",i).prepend('<div class="picker-date-display"><div class="picker-date-display-top"><span class="picker-year-display">'+t.get(r,"yyyy")+'<\/span><\/div><div class="picker-date-display-bottom"><span class="picker-weekday-display">'+t.get(r,"dddd")+'<\/span><span class="picker-day-display">'+t.get(r,"d")+'<\/span><span class="picker-month-display">'+t.get(r,"mmm")+"<\/span><\/div><\/div>")};t.prototype.show=function(){var t=this,i,r;n(this._element).pickadate({clear:t._options.cancel,close:t._options.ok,closeOnClear:t._options.closeOnCancel,closeOnSelect:t._options.closeOnSelect,container:t._options.container,disable:t._options.disable,firstDay:t._options.firstDay,format:t._options.format,formatSubmit:t._options.formatSubmit,klass:t._options.klass,max:t._options.max,min:t._options.min,monthsFull:t._options.monthsFull,monthsShort:t._options.monthsShort,onClose:t._options.onClose,onOpen:t._options.onOpen,onRender:t._options.onRender,onSet:t._options.onSet,onStart:t._options.onStart,onStop:t._options.onStop,selectMonths:t._options.selectMonths,selectYears:t._options.selectYears,today:t._options.today,weekdaysFull:t._options.weekdaysFull,weekdaysShort:t._options.weekdaysShort});i=n(this._element).pickadate("picker");r=(i.$node,i.$root);i.on({close:function(){n(document.activeElement).blur()},open:function(){n(".picker__date-display",r).length||t.display(i,r,"highlight")},set:function(){null!==i.get("select")&&t.display(i,r,"select")}})};i=n.fn.pickdate;n.fn.pickdate=function(i){return this.each(function(){var r=n(this).data("bs.pickdate"),u=n.extend({},t.DEFAULTS,n(this).data(),"object"==typeof i&&i);r||n(this).data("bs.pickdate",r=new t(this,u));r.show()})};n.fn.pickdate.Constructor=t;n.fn.pickdate.noConflict=function(){return n.fn.pickdate=i,this}}(jQuery);$(function(){$(".textarea-autosize").length&&void 0!==$.fn.textareaAutoSize&&$(".textarea-autosize").textareaAutoSize()});$(function(){$(".waves-attach").length&&"undefined"!=typeof Waves&&(Waves.attach(".waves-attach"),Waves.init({duration:300}))});_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};_createClass=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}();+function(){(function(n){var i={SHOW:"show",SHOW_PREDECESSOR:"show-predecessor"},r={HIDE:"hide.bs.collapse",SHOW:"show.bs.collapse"},t={PANEL:".expansion-panel",PANEL_BODY:".expansion-panel .collapse"};n(document).on(""+r.HIDE,t.PANEL_BODY,function(r){var f=n(r.target).closest(t.PANEL),u;f.removeClass(i.SHOW);u=f.prev(t.PANEL);u.length&&u.removeClass(i.SHOW_PREDECESSOR)}).on(""+r.SHOW,t.PANEL_BODY,function(r){var f=n(r.target).closest(t.PANEL),u;f.addClass(i.SHOW);u=f.prev(t.PANEL);u.length&&u.addClass(i.SHOW_PREDECESSOR)})})(jQuery),function(n){var f="md.floatinglabel",t="floatinglabel",o=n.fn[t],i={IS_FOCUSED:"is-focused",HAS_VALUE:"has-value"},u={CHANGE:"change.md.floatinglabel",FOCUSIN:"focusin.md.floatinglabel",FOCUSOUT:"focusout.md.floatinglabel"},e={DATA_PARENT:".floating-label",DATA_TOGGLE:".floating-label .form-control"},r=function(){function t(n){_classCallCheck(this,t);this._element=n}return t.prototype.change=function(t){n(this._element).val()||n(this._element).is("select")&&""!==n("option:first-child",n(this._element)).html().replace(" ","")?n(t).addClass(i.HAS_VALUE):n(t).removeClass(i.HAS_VALUE)},t.prototype.focusin=function(t){n(t).addClass(i.IS_FOCUSED)},t.prototype.focusout=function(t){n(t).removeClass(i.IS_FOCUSED)},t._jQueryInterface=function(i){return this.each(function(){var u=i||"change",r=n(this).data(f);if(r||(r=new t(this),n(this).data(f,r)),"string"==typeof u){if(void 0===r[u])throw new Error('No method named "'+u+'"');r[u](n(this).closest(e.DATA_PARENT))}})},t}();n(document).on(u.CHANGE+" "+u.FOCUSIN+" "+u.FOCUSOUT,e.DATA_TOGGLE,function(t){r._jQueryInterface.call(n(this),t.type)});n.fn[t]=r._jQueryInterface;n.fn[t].Constructor=r;n.fn[t].noConflict=function(){return n.fn[t]=o,r._jQueryInterface}}(jQuery),function(t){var r=".md.navdrawer",f="navdrawer",h=t.fn[f],u={BACKDROP:"navdrawer-backdrop",OPEN:"navdrawer-open",SHOW:"show"},s={breakpoint:1280,keyboard:!0,show:!0,type:"default"},c={keyboard:"boolean",show:"boolean",type:"string"},i={CLICK_DATA_API:"click.md.navdrawer.data-api",CLICK_DISMISS:"click.dismiss"+r,FOCUSIN:"focusin"+r,HIDDEN:"hidden"+r,HIDE:"hide"+r,KEYDOWN_DISMISS:"keydown.dismiss"+r,MOUSEDOWN_DISMISS:"mousedown.dismiss"+r,MOUSEUP_DISMISS:"mouseup.dismiss"+r,SHOW:"show"+r,SHOWN:"shown"+r},o={CONTENT:".navdrawer-content",DATA_DISMISS:'[data-dismiss="navdrawer"]',DATA_TOGGLE:'[data-toggle="navdrawer"]'},e=function(){function r(n,i){_classCallCheck(this,r);this._backdrop=null;this._config=this._getConfig(i);this._content=t(n).find(o.CONTENT)[0];this._element=n;this._ignoreBackdropClick=!1;this._isShown=!1}return r.prototype.hide=function(n){n&&n.preventDefault();var f=u.OPEN+"-"+this._config.type,r=t.Event(i.HIDE);t(this._element).trigger(r);this._isShown&&!r.isDefaultPrevented()&&(this._isShown=!1,this._setEscapeEvent(),t(document).off(i.FOCUSIN),t(this._content).off(i.MOUSEDOWN_DISMISS),t(this._element).off(i.CLICK_DISMISS).removeClass(u.SHOW),this._hideNavdrawer(f))},r.prototype.show=function(n){var r=this,e=t.Event(i.SHOW,{relatedTarget:n});t(this._element).trigger(e);this._isShown||e.isDefaultPrevented()||(this._isShown=!0,t(document.body).addClass(u.OPEN+"-"+this._config.type),this._setEscapeEvent(),t(this._element).addClass(f+"-"+this._config.type),t(this._element).on(i.CLICK_DISMISS,o.DATA_DISMISS,t.proxy(this.hide,this)),t(this._content).on(i.MOUSEDOWN_DISMISS,function(){t(r._element).one(i.MOUSEUP_DISMISS,function(n){t(n.target).is(r._element)&&(r._ignoreBackdropClick=!0)})}),this._showBackdrop(),this._showElement(n))},r.prototype.toggle=function(n){return this._isShown?this.hide():this.show(n)},r.prototype._enforceFocus=function(){var n=this;t(document).off(i.FOCUSIN).on(i.FOCUSIN,function(i){("default"===n._config.type||t(window).width()<=n._config.breakpoint)&&(n._element===i.target||t(n._element).has(i.target).length||n._element.focus())})},r.prototype._getConfig=function(i){return i=t.extend({},s,i),n.typeCheckConfig(f,i,c),i},r.prototype._hideNavdrawer=function(n){var r=this;this._showBackdrop(function(){t(document.body).removeClass(n);r._element.setAttribute("aria-hidden","true");r._element.style.display="none";t(r._element).trigger(i.HIDDEN)})},r.prototype._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},r.prototype._setEscapeEvent=function(){var n=this;this._isShown&&this._config.keyboard?t(this._element).on(i.KEYDOWN_DISMISS,function(t){27===t.which&&n.hide()}):this._isShown||t(this._element).off(i.KEYDOWN_DISMISS)},r.prototype._showBackdrop=function(r){var f=this,e=n.supportsTransitionEnd(),o;if(this._isShown){if(this._backdrop=document.createElement("div"),t(this._backdrop).addClass(u.BACKDROP).addClass(u.BACKDROP+"-"+this._config.type).appendTo(document.body),t(this._element).on(i.CLICK_DISMISS,function(n){f._ignoreBackdropClick?f._ignoreBackdropClick=!1:n.target===n.currentTarget&&f.hide()}),e&&n.reflow(this._backdrop),t(this._backdrop).addClass(u.SHOW),!r)return;if(!e)return void r();t(this._backdrop).one(n.TRANSITION_END,r).emulateTransitionEnd(487.5)}else this._backdrop&&!this._isShown?(t(this._backdrop).removeClass(u.SHOW),o=function(){f._removeBackdrop();r&&r()},e?t(this._backdrop).one(n.TRANSITION_END,o).emulateTransitionEnd(487.5):o()):r&&r()},r.prototype._showElement=function(r){var e=this,o=n.supportsTransitionEnd(),s,f;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element);this._element.removeAttribute("aria-hidden");this._element.style.display="block";o&&n.reflow(this._element);t(this._element).addClass(u.SHOW);this._enforceFocus();s=t.Event(i.SHOWN,{relatedTarget:r});f=function(){e._element.focus();t(e._element).trigger(s)};o?t(this._content).one(n.TRANSITION_END,f).emulateTransitionEnd(292.5):f()},r._jQueryInterface=function(n,i){return this.each(function(){var f=t.extend({},r.Default,t(this).data(),"object"===(void 0===n?"undefined":_typeof(n))&&n),u=t(this).data("md.navdrawer");if(u||(u=new r(this,f),t(this).data("md.navdrawer",u)),"string"==typeof n){if(void 0===u[n])throw new Error('No method named "'+n+'"');u[n](i)}else f.show&&u.show(i)})},_createClass(r,null,[{key:"Default",get:function(){return s}}]),r}();t(document).on(i.CLICK_DATA_API,o.DATA_TOGGLE,function(r){var f=this,o=n.getSelectorFromElement(this),u=void 0,s,h;o&&(u=t(o)[0]);s=t(u).data("md.navdrawer")?"toggle":t.extend({},t(u).data(),t(this).data());"A"===this.tagName&&r.preventDefault();h=t(u).one(i.SHOW,function(n){n.isDefaultPrevented()||h.one(i.HIDDEN,function(){t(f).is(":visible")&&f.focus()})});e._jQueryInterface.call(t(u),s,this)});t.fn[f]=e._jQueryInterface;t.fn[f].Constructor=e;t.fn[f].noConflict=function(){return t.fn[f]=h,e._jQueryInterface}}(jQuery),function(n){var t=".md.controlfocus",f={FOCUS:"focus"},u={IS_MOUSEDOWN:!1},i={BLUR:"blur"+t,FOCUS:"focus"+t,MOUSEDOWN:"mousedown"+t,MOUSEUP:"mouseup"+t},r={CONTROL:".custom-control",INPUT:".custom-control-input"};n(document).on(""+i.BLUR,r.INPUT,function(t){n(t.target).removeClass(f.FOCUS)}).on(""+i.FOCUS,r.INPUT,function(t){!1===u.IS_MOUSEDOWN&&n(t.target).addClass(f.FOCUS)}).on(""+i.MOUSEDOWN,r.CONTROL,function(){u.IS_MOUSEDOWN=!0}).on(""+i.MOUSEUP,r.CONTROL,function(){setTimeout(function(){u.IS_MOUSEDOWN=!1},1)})}(jQuery),function(t){var r="tabswitch",e=t.fn[r],i={ANIMATE:"animate",DROPDOWN_ITEM:"dropdown-item",INDICATOR:"nav-tabs-indicator",MATERIAL:"nav-tabs-material",SCROLLABLE:"nav-tabs-scrollable",SHOW:"show"},u={DATA_TOGGLE:'.nav-tabs [data-toggle="tab"]',DROPDOWN:".dropdown",NAV:".nav-tabs"},f=function(){function r(n){if(_classCallCheck(this,r),void 0===t.fn.tab)throw new Error("Material's JavaScript requires Bootstrap's tab.js");this._nav=n;this._navindicator=null}return r.prototype.switch=function(r,f){var c=this,e=t(this._nav).offset().left,o=t(this._nav).scrollLeft(),l=t(this._nav).outerWidth(),a=n.supportsTransitionEnd(),s,v,h;this._navindicator||this._createIndicator(e,o,l,f);t(r).hasClass(i.DROPDOWN_ITEM)&&(r=t(r).closest(u.DROPDOWN));s=t(r).offset().left;v=t(r).outerWidth();t(this._navindicator).addClass(i.SHOW);n.reflow(this._navindicator);a&&t(this._nav).addClass(i.ANIMATE);t(this._navindicator).css({left:s+o-e,right:l-(s+o-e+v)});h=function(){t(c._nav).removeClass(i.ANIMATE);t(c._navindicator).removeClass(i.SHOW)};a?t(this._navindicator).one(n.TRANSITION_END,h).emulateTransitionEnd(390):h()},r.prototype._createIndicator=function(n,r,f,e){if(this._navindicator=document.createElement("div"),t(this._navindicator).addClass(i.INDICATOR).appendTo(this._nav),void 0!==e){t(e).hasClass(i.DROPDOWN_ITEM)&&(e=t(e).closest(u.DROPDOWN));var o=t(e).offset().left,s=t(e).outerWidth();t(this._navindicator).css({left:o+r-n,right:f-(o+r-n+s)})}t(this._nav).addClass(i.MATERIAL)},r._jQueryInterface=function(n){return this.each(function(){var f=t(this).closest(u.NAV)[0],i;f&&(i=t(f).data("md.tabswitch"),i||(i=new r(f),t(f).data("md.tabswitch",i)),i.switch(this,n))})},r}();t(document).on({SHOW_BS_TAB:"show.bs.tab"}.SHOW_BS_TAB,u.DATA_TOGGLE,function(n){f._jQueryInterface.call(t(n.target),n.relatedTarget)});t.fn[r]=f._jQueryInterface;t.fn[r].Constructor=f;t.fn[r].noConflict=function(){return t.fn[r]=e,f._jQueryInterface}}(jQuery);var n=function(n){function u(){return{bindType:t.end,delegateType:t.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}}function f(n){return(n[0]||n).nodeType}function e(n){return{}.toString.call(n).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function o(t){var u=this,r=!1;return n(this).one(i.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||i.triggerTransitionEnd(u)},t),this}function s(){var t,n;if(window.QUnit)return!1;t=document.createElement("material");for(n in r)if(void 0!==t.style[n])return{end:r[n]};return!1}var t=!1,r={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},i={TRANSITION_END:"mdTransitionEnd",getSelectorFromElement:function(n){var t=n.getAttribute("data-target");return t||(t=n.getAttribute("href")||"",t=/^#[a-z]/i.test(t)?t:null),t},getUID:function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n},reflow:function(n){new Function("md","return md")(n.offsetHeight)},supportsTransitionEnd:function(){return Boolean(t)},triggerTransitionEnd:function(i){n(i).trigger(t.end)},typeCheckConfig:function(n,t,i){var r;for(r in i)if(i.hasOwnProperty(r)){var o=i[r],u=t[r],s=u&&f(u)?"element":e(u);if(!new RegExp(o).test(s))throw new Error(n.toUpperCase()+': Option "'+r+'" provided type "'+s+'" but expected type "'+o+'".');}}};return t=s(),n.fn.emulateTransitionEnd=o,i.supportsTransitionEnd()&&(n.event.special[i.TRANSITION_END]=u()),i}(jQuery)}();$(function(){$(".floating-label > .form-control").floatinglabel();$("#exampleInputDatePicker1").pickdate();$("#exampleInputDatePicker2").pickdate({cancel:"Clear",closeOnCancel:!1,closeOnSelect:!0,container:"",firstDay:1,format:"You selecte!d: dddd, d mm, yy",formatSubmit:"dd/mmmm/yyyy",ok:"Close",onClose:function(){console.log("Datepicker closes")},onOpen:function(){console.log("Datepicker opens")},selectMonths:!0,selectYears:10,today:"Today"});$("#exampleInputDatePicker3").pickdate({max:!0,min:-10});$("#exampleInputDatePicker4").pickdate({max:new Date(2016,1,13),min:new Date(2016,0,3)});$("#exampleInputDatePicker5").pickdate({max:[2016,1,13],min:[2016,0,3]});$("#exampleInputDatePicker6").pickdate({disable:[new Date(2016,0,16),new Date(2016,0,20),[2016,0,24]]});$("#exampleInputDatePicker7").pickdate({disable:[1,2,3]});$("#exampleInputDatePicker8").pickdate({disable:[{from:new Date(2016,0,16),to:[2016,0,24]}]});$("#exampleInputDatePicker9").pickdate({disable:[{from:-10,to:!0}]});$("#exampleInputDatePicker10").pickdate({disable:[{from:[2016,0,16],to:10}]})})