File "bootstrap.min.js"
Full Path: /home/humancap/cl.humancap.com.my/documentation/assets/javascripts/bootstrap.min.js
File size: 25.91 KB
MIME-type: text/plain
Charset: utf-8
/*!
* Bootstrap util.js v4.3.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e=e||self).Util=t(e.jQuery)}(this,(function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t="transitionend";function n(t){var n=this,i=!1;return e(this).one(r.TRANSITION_END,(function(){i=!0})),setTimeout((function(){i||r.triggerTransitionEnd(n)}),t),this}var r={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var n=e(t).css("transition-duration"),r=e(t).css("transition-delay"),i=parseFloat(n),o=parseFloat(r);return i||o?(n=n.split(",")[0],r=r.split(",")[0],1e3*(parseFloat(n)+parseFloat(r))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(n){e(n).trigger(t)},supportsTransitionEnd:function(){return Boolean(t)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],s=t[i],l=s&&r.isElement(s)?"element":(a=s,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(l))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+l+'" but expected type "'+o+'".')}var a},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?r.findShadowRoot(e.parentNode):null}};return e.fn.emulateTransitionEnd=n,e.event.special[r.TRANSITION_END]={bindType:t,delegateType:t,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}},r})),
/*!
* Bootstrap alert.js v4.3.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","./util.js"],t):(e=e||self).Alert=t(e.jQuery,e.Util)}(this,(function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e=e&&e.hasOwnProperty("default")?e.default:e,t=t&&t.hasOwnProperty("default")?t.default:t;var r="bs.alert",i=e.fn.alert,o={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},s="alert",l="fade",a="show",u=function(){function i(e){this._element=e}var u,c,f,h=i.prototype;return h.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},h.dispose=function(){e.removeData(this._element,r),this._element=null},h._getRootElement=function(n){var r=t.getSelectorFromElement(n),i=!1;return r&&(i=document.querySelector(r)),i||(i=e(n).closest("."+s)[0]),i},h._triggerCloseEvent=function(t){var n=e.Event(o.CLOSE);return e(t).trigger(n),n},h._removeElement=function(n){var r=this;if(e(n).removeClass(a),e(n).hasClass(l)){var i=t.getTransitionDurationFromElement(n);e(n).one(t.TRANSITION_END,(function(e){return r._destroyElement(n,e)})).emulateTransitionEnd(i)}else this._destroyElement(n)},h._destroyElement=function(t){e(t).detach().trigger(o.CLOSED).remove()},i._jQueryInterface=function(t){return this.each((function(){var n=e(this),o=n.data(r);o||(o=new i(this),n.data(r,o)),"close"===t&&o[t](this)}))},i._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},u=i,f=[{key:"VERSION",get:function(){return"4.3.1"}}],(c=null)&&n(u.prototype,c),f&&n(u,f),i}();return e(document).on(o.CLICK_DATA_API,'[data-dismiss="alert"]',u._handleDismiss(new u)),e.fn.alert=u._jQueryInterface,e.fn.alert.Constructor=u,e.fn.alert.noConflict=function(){return e.fn.alert=i,u._jQueryInterface},u})),
/*!
* Bootstrap button.js v4.3.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e=e||self).Button=t(e.jQuery)}(this,(function(e){"use strict";function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e=e&&e.hasOwnProperty("default")?e.default:e;var n="button",r="bs.button",i=e.fn[n],o="active",s="btn",l="focus",a='[data-toggle^="button"]',u='[data-toggle="buttons"]',c='input:not([type="hidden"])',f=".active",h=".btn",d={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},g=function(){function n(e){this._element=e}var i,s,l,a=n.prototype;return a.toggle=function(){var t=!0,n=!0,r=e(this._element).closest(u)[0];if(r){var i=this._element.querySelector(c);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(o))t=!1;else{var s=r.querySelector(f);s&&e(s).removeClass(o)}if(t){if(i.hasAttribute("disabled")||r.hasAttribute("disabled")||i.classList.contains("disabled")||r.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(o),e(i).trigger("change")}i.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(o)),t&&e(this._element).toggleClass(o)},a.dispose=function(){e.removeData(this._element,r),this._element=null},n._jQueryInterface=function(t){return this.each((function(){var i=e(this).data(r);i||(i=new n(this),e(this).data(r,i)),"toggle"===t&&i[t]()}))},i=n,l=[{key:"VERSION",get:function(){return"4.3.1"}}],(s=null)&&t(i.prototype,s),l&&t(i,l),n}();return e(document).on(d.CLICK_DATA_API,a,(function(t){t.preventDefault();var n=t.target;e(n).hasClass(s)||(n=e(n).closest(h)),g._jQueryInterface.call(e(n),"toggle")})).on(d.FOCUS_BLUR_DATA_API,a,(function(t){var n=e(t.target).closest(h)[0];e(n).toggleClass(l,/^focus(in)?$/.test(t.type))})),e.fn[n]=g._jQueryInterface,e.fn[n].Constructor=g,e.fn[n].noConflict=function(){return e.fn[n]=i,g._jQueryInterface},g})),
/*!
* Bootstrap collapse.js v4.3.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","./util.js"],t):(e=e||self).Collapse=t(e.jQuery,e.Util)}(this,(function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){r(e,t,n[t])}))}return e}e=e&&e.hasOwnProperty("default")?e.default:e,t=t&&t.hasOwnProperty("default")?t.default:t;var o="collapse",s="bs.collapse",l="."+s,a=e.fn[o],u={toggle:!0,parent:""},c={toggle:"boolean",parent:"(string|element)"},f={SHOW:"show"+l,SHOWN:"shown"+l,HIDE:"hide"+l,HIDDEN:"hidden"+l,CLICK_DATA_API:"click.bs.collapse.data-api"},h="show",d="collapse",g="collapsing",_="collapsed",p="width",m="height",y=".show, .collapsing",v='[data-toggle="collapse"]',b=function(){function r(e,n){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(n),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var r=[].slice.call(document.querySelectorAll(v)),i=0,o=r.length;i<o;i++){var s=r[i],l=t.getSelectorFromElement(s),a=[].slice.call(document.querySelectorAll(l)).filter((function(t){return t===e}));null!==l&&a.length>0&&(this._selector=l,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var l,a,b,C=r.prototype;return C.toggle=function(){e(this._element).hasClass(h)?this.hide():this.show()},C.show=function(){var n,i,o=this;if(!this._isTransitioning&&!e(this._element).hasClass(h)&&(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(y)).filter((function(e){return"string"==typeof o._config.parent?e.getAttribute("data-parent")===o._config.parent:e.classList.contains(d)}))).length&&(n=null),!(n&&(i=e(n).not(this._selector).data(s))&&i._isTransitioning))){var l=e.Event(f.SHOW);if(e(this._element).trigger(l),!l.isDefaultPrevented()){n&&(r._jQueryInterface.call(e(n).not(this._selector),"hide"),i||e(n).data(s,null));var a=this._getDimension();e(this._element).removeClass(d).addClass(g),this._element.style[a]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(_).attr("aria-expanded",!0),this.setTransitioning(!0);var u="scroll"+(a[0].toUpperCase()+a.slice(1)),c=t.getTransitionDurationFromElement(this._element);e(this._element).one(t.TRANSITION_END,(function(){e(o._element).removeClass(g).addClass(d).addClass(h),o._element.style[a]="",o.setTransitioning(!1),e(o._element).trigger(f.SHOWN)})).emulateTransitionEnd(c),this._element.style[a]=this._element[u]+"px"}}},C.hide=function(){var n=this;if(!this._isTransitioning&&e(this._element).hasClass(h)){var r=e.Event(f.HIDE);if(e(this._element).trigger(r),!r.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",t.reflow(this._element),e(this._element).addClass(g).removeClass(d).removeClass(h);var o=this._triggerArray.length;if(o>0)for(var s=0;s<o;s++){var l=this._triggerArray[s],a=t.getSelectorFromElement(l);if(null!==a)e([].slice.call(document.querySelectorAll(a))).hasClass(h)||e(l).addClass(_).attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[i]="";var u=t.getTransitionDurationFromElement(this._element);e(this._element).one(t.TRANSITION_END,(function(){n.setTransitioning(!1),e(n._element).removeClass(g).addClass(d).trigger(f.HIDDEN)})).emulateTransitionEnd(u)}}},C.setTransitioning=function(e){this._isTransitioning=e},C.dispose=function(){e.removeData(this._element,s),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},C._getConfig=function(e){return(e=i({},u,e)).toggle=Boolean(e.toggle),t.typeCheckConfig(o,e,c),e},C._getDimension=function(){return e(this._element).hasClass(p)?p:m},C._getParent=function(){var n,i=this;t.isElement(this._config.parent)?(n=this._config.parent,void 0!==this._config.parent.jquery&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent);var o='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',s=[].slice.call(n.querySelectorAll(o));return e(s).each((function(e,t){i._addAriaAndCollapsedClass(r._getTargetFromElement(t),[t])})),n},C._addAriaAndCollapsedClass=function(t,n){var r=e(t).hasClass(h);n.length&&e(n).toggleClass(_,!r).attr("aria-expanded",r)},r._getTargetFromElement=function(e){var n=t.getSelectorFromElement(e);return n?document.querySelector(n):null},r._jQueryInterface=function(t){return this.each((function(){var n=e(this),o=n.data(s),l=i({},u,n.data(),"object"==typeof t&&t?t:{});if(!o&&l.toggle&&/show|hide/.test(t)&&(l.toggle=!1),o||(o=new r(this,l),n.data(s,o)),"string"==typeof t){if(void 0===o[t])throw new TypeError('No method named "'+t+'"');o[t]()}}))},l=r,b=[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return u}}],(a=null)&&n(l.prototype,a),b&&n(l,b),r}();return e(document).on(f.CLICK_DATA_API,v,(function(n){"A"===n.currentTarget.tagName&&n.preventDefault();var r=e(this),i=t.getSelectorFromElement(this),o=[].slice.call(document.querySelectorAll(i));e(o).each((function(){var t=e(this),n=t.data(s)?"toggle":r.data();b._jQueryInterface.call(t,n)}))})),e.fn[o]=b._jQueryInterface,e.fn[o].Constructor=b,e.fn[o].noConflict=function(){return e.fn[o]=a,b._jQueryInterface},b})),
/*!
* Bootstrap dropdown.js v4.3.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("popper.js"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","popper.js","./util.js"],t):(e=e||self).Dropdown=t(e.jQuery,e.Popper,e.Util)}(this,(function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}e=e&&e.hasOwnProperty("default")?e.default:e,t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n;var s="dropdown",l="bs.dropdown",a="."+l,u=e.fn[s],c=new RegExp("38|40|27"),f={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,CLICK:"click"+a,CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},h="disabled",d="show",g="dropup",_="dropright",p="dropleft",m="dropdown-menu-right",y="position-static",v='[data-toggle="dropdown"]',b=".dropdown form",C=".dropdown-menu",E=".navbar-nav",w=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",A="top-start",D="top-end",T="bottom-start",O="bottom-end",j="right-start",I="left-start",S={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},P={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},N=function(){function i(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var u,b,N,q=i.prototype;return q.toggle=function(){if(!this._element.disabled&&!e(this._element).hasClass(h)){var r=i._getParentFromElement(this._element),o=e(this._menu).hasClass(d);if(i._clearMenus(),!o){var s={relatedTarget:this._element},l=e.Event(f.SHOW,s);if(e(r).trigger(l),!l.isDefaultPrevented()){if(!this._inNavbar){if(void 0===t)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=r:n.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e(r).addClass(y),this._popper=new t(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(r).closest(E).length&&e(document.body).children().on("mouseover",null,e.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),e(this._menu).toggleClass(d),e(r).toggleClass(d).trigger(e.Event(f.SHOWN,s))}}}},q.show=function(){if(!(this._element.disabled||e(this._element).hasClass(h)||e(this._menu).hasClass(d))){var t={relatedTarget:this._element},n=e.Event(f.SHOW,t),r=i._getParentFromElement(this._element);e(r).trigger(n),n.isDefaultPrevented()||(e(this._menu).toggleClass(d),e(r).toggleClass(d).trigger(e.Event(f.SHOWN,t)))}},q.hide=function(){if(!this._element.disabled&&!e(this._element).hasClass(h)&&e(this._menu).hasClass(d)){var t={relatedTarget:this._element},n=e.Event(f.HIDE,t),r=i._getParentFromElement(this._element);e(r).trigger(n),n.isDefaultPrevented()||(e(this._menu).toggleClass(d),e(r).toggleClass(d).trigger(e.Event(f.HIDDEN,t)))}},q.dispose=function(){e.removeData(this._element,l),e(this._element).off(a),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},q.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},q._addEventListeners=function(){var t=this;e(this._element).on(f.CLICK,(function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}))},q._getConfig=function(t){return t=o({},this.constructor.Default,e(this._element).data(),t),n.typeCheckConfig(s,t,this.constructor.DefaultType),t},q._getMenuElement=function(){if(!this._menu){var e=i._getParentFromElement(this._element);e&&(this._menu=e.querySelector(C))}return this._menu},q._getPlacement=function(){var t=e(this._element.parentNode),n=T;return t.hasClass(g)?(n=A,e(this._menu).hasClass(m)&&(n=D)):t.hasClass(_)?n=j:t.hasClass(p)?n=I:e(this._menu).hasClass(m)&&(n=O),n},q._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},q._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=o({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},q._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),e},i._jQueryInterface=function(t){return this.each((function(){var n=e(this).data(l);if(n||(n=new i(this,"object"==typeof t?t:null),e(this).data(l,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},i._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var n=[].slice.call(document.querySelectorAll(v)),r=0,o=n.length;r<o;r++){var s=i._getParentFromElement(n[r]),a=e(n[r]).data(l),u={relatedTarget:n[r]};if(t&&"click"===t.type&&(u.clickEvent=t),a){var c=a._menu;if(e(s).hasClass(d)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&e.contains(s,t.target))){var h=e.Event(f.HIDE,u);e(s).trigger(h),h.isDefaultPrevented()||("ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),n[r].setAttribute("aria-expanded","false"),e(c).removeClass(d),e(s).removeClass(d).trigger(e.Event(f.HIDDEN,u)))}}}},i._getParentFromElement=function(e){var t,r=n.getSelectorFromElement(e);return r&&(t=document.querySelector(r)),t||e.parentNode},i._dataApiKeydownHandler=function(t){if(!(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||e(t.target).closest(C).length):!c.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!e(this).hasClass(h))){var n=i._getParentFromElement(this),r=e(n).hasClass(d);if(r&&(!r||27!==t.which&&32!==t.which)){var o=[].slice.call(n.querySelectorAll(w));if(0!==o.length){var s=o.indexOf(t.target);38===t.which&&s>0&&s--,40===t.which&&s<o.length-1&&s++,s<0&&(s=0),o[s].focus()}}else{if(27===t.which){var l=n.querySelector(v);e(l).trigger("focus")}e(this).trigger("click")}}},u=i,N=[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return S}},{key:"DefaultType",get:function(){return P}}],(b=null)&&r(u.prototype,b),N&&r(u,N),i}();return e(document).on(f.KEYDOWN_DATA_API,v,N._dataApiKeydownHandler).on(f.KEYDOWN_DATA_API,C,N._dataApiKeydownHandler).on(f.CLICK_DATA_API+" "+f.KEYUP_DATA_API,N._clearMenus).on(f.CLICK_DATA_API,v,(function(t){t.preventDefault(),t.stopPropagation(),N._jQueryInterface.call(e(this),"toggle")})).on(f.CLICK_DATA_API,b,(function(e){e.stopPropagation()})),e.fn[s]=N._jQueryInterface,e.fn[s].Constructor=N,e.fn[s].noConflict=function(){return e.fn[s]=u,N._jQueryInterface},N})),
/*!
* Bootstrap scrollspy.js v4.3.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","./util.js"],t):(e=e||self).ScrollSpy=t(e.jQuery,e.Util)}(this,(function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e=e&&e.hasOwnProperty("default")?e.default:e,t=t&&t.hasOwnProperty("default")?t.default:t;var i="scrollspy",o="bs.scrollspy",s="."+o,l=e.fn[i],a={offset:10,method:"auto",target:""},u={offset:"number",method:"string",target:"(string|element)"},c={ACTIVATE:"activate"+s,SCROLL:"scroll"+s,LOAD_DATA_API:"load.bs.scrollspy.data-api"},f="dropdown-item",h="active",d='[data-spy="scroll"]',g=".nav, .list-group",_=".nav-link",p=".nav-item",m=".list-group-item",y=".dropdown",v=".dropdown-item",b=".dropdown-toggle",C="offset",E="position",w=function(){function l(t,n){var r=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" "+_+","+this._config.target+" "+m+","+this._config.target+" "+v,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(c.SCROLL,(function(e){return r._process(e)})),this.refresh(),this._process()}var d,w,A,D=l.prototype;return D.refresh=function(){var n=this,r=this._scrollElement===this._scrollElement.window?C:E,i="auto"===this._config.method?r:this._config.method,o=i===E?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(n){var r,s=t.getSelectorFromElement(n);if(s&&(r=document.querySelector(s)),r){var l=r.getBoundingClientRect();if(l.width||l.height)return[e(r)[i]().top+o,s]}return null})).filter((function(e){return e})).sort((function(e,t){return e[0]-t[0]})).forEach((function(e){n._offsets.push(e[0]),n._targets.push(e[1])}))},D.dispose=function(){e.removeData(this._element,o),e(this._scrollElement).off(s),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},D._getConfig=function(n){if(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){r(e,t,n[t])}))}return e}({},a,"object"==typeof n&&n?n:{}),"string"!=typeof n.target){var o=e(n.target).attr("id");o||(o=t.getUID(i),e(n.target).attr("id",o)),n.target="#"+o}return t.typeCheckConfig(i,n,u),n},D._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},D._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},D._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},D._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;){this._activeTarget!==this._targets[i]&&e>=this._offsets[i]&&(void 0===this._offsets[i+1]||e<this._offsets[i+1])&&this._activate(this._targets[i])}}},D._activate=function(t){this._activeTarget=t,this._clear();var n=this._selector.split(",").map((function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'})),r=e([].slice.call(document.querySelectorAll(n.join(","))));r.hasClass(f)?(r.closest(y).find(b).addClass(h),r.addClass(h)):(r.addClass(h),r.parents(g).prev(_+", "+m).addClass(h),r.parents(g).prev(p).children(_).addClass(h)),e(this._scrollElement).trigger(c.ACTIVATE,{relatedTarget:t})},D._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(e){return e.classList.contains(h)})).forEach((function(e){return e.classList.remove(h)}))},l._jQueryInterface=function(t){return this.each((function(){var n=e(this).data(o);if(n||(n=new l(this,"object"==typeof t&&t),e(this).data(o,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},d=l,A=[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return a}}],(w=null)&&n(d.prototype,w),A&&n(d,A),l}();return e(window).on(c.LOAD_DATA_API,(function(){for(var t=[].slice.call(document.querySelectorAll(d)),n=t.length;n--;){var r=e(t[n]);w._jQueryInterface.call(r,r.data())}})),e.fn[i]=w._jQueryInterface,e.fn[i].Constructor=w,e.fn[i].noConflict=function(){return e.fn[i]=l,w._jQueryInterface},w}));