text: /*!
    * CoreUI v3.3.0 (https://coreui.io)
    * Copyright 2020 creativeLabs Łukasz Holeczek
    * Licensed under MIT (https://coreui.io)
    */
  !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@popperjs/core"),require("perfect-scrollbar")):"function"==typeof define&&define.amd?define(["@popperjs/core","perfect-scrollbar"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).coreui=e(t.createPopper,t.PerfectScrollbar)}(this,(function(t,e){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=n(e);function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var c,u,f,d,h="transitionend",p=function(t){do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t},g=function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():null}return e},m=function(t){var e=g(t);return e&&document.querySelector(e)?e:null},_=function(t){var e=g(t);return e?document.querySelector(e):null},v=function(t){if(!t)return 0;var e=window.getComputedStyle(t),n=e.transitionDuration,i=e.transitionDelay,o=parseFloat(n),r=parseFloat(i);return o||r?(n=n.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(n)+parseFloat(i))):0},y=function(t){t.dispatchEvent(new Event(h))},b=function(t){return(t[0]||t).nodeType},w=function(t,e){var n=!1,i=e+5;t.addEventListener(h,(function e(){n=!0,t.removeEventListener(h,e)})),setTimeout((function(){n||y(t)}),i)},E=function(t,e,n){Object.keys(n).forEach((function(i){var o,r=n[i],s=e[i],a=s&&b(s)?"element":null==(o=s)?""+o:{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(a))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+r+'".')}))},k=function(t){if(!t)return!1;if(t.style&&t.parentNode&&t.parentNode.style){var e=getComputedStyle(t),n=getComputedStyle(t.parentNode);return"none"!==e.display&&"none"!==n.display&&"hidden"!==e.visibility}return!1},L=function(){return function(){}},C=function(t){return t.offsetHeight},T=function(){var t=window.jQuery;return t&&!document.body.hasAttribute("data-no-jquery")?t:null},A=(c={},u=1,{set:function(t,e,n){"undefined"==typeof t.key&&(t.key={key:e,id:u},u++),c[t.key.id]=n},get:function(t,e){if(!t||"undefined"==typeof t.key)return null;var n=t.key;return n.key===e?c[n.id]:null},delete:function(t,e){if("undefined"!=typeof t.key){var n=t.key;n.key===e&&(delete c[n.id],delete t.key)}}}),S=function(t,e,n){A.set(t,e,n)},O=function(t,e){return A.get(t,e)},N=function(t,e){A.delete(t,e)},I=Element.prototype.querySelectorAll,D=Element.prototype.querySelector,j=(f=new CustomEvent("Bootstrap",{cancelable:!0}),(d=document.createElement("div")).addEventListener("Bootstrap",(function(){return null})),f.preventDefault(),d.dispatchEvent(f),f.defaultPrevented),P=/:scope\b/;(function(){var t=document.createElement("div");try{t.querySelectorAll(":scope *")}catch(t){return!1}return!0})()||(I=function(t){if(!P.test(t))return this.querySelectorAll(t);var e=Boolean(this.id);e||(this.id=p("scope"));var n=null;try{t=t.replace(P,"#"+this.id),n=this.querySelectorAll(t)}finally{e||this.removeAttribute("id")}return n},D=function(t){if(!P.test(t))return this.querySelector(t);var e=I.call(this,t);return"undefined"!=typeof e[0]?e[0]:null});var x=T(),R=/[^.]*(?=\..*)\.|.*/,M=/\..*/,B=/::\d+$/,H={},U=1,Q={mouseenter:"mouseover",mouseleave:"mouseout"},q=["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"];function F(t,e){return e&&e+"::"+U++||t.uidEvent||U++}function V(t){var e=F(t);return t.uidEvent=e,H[e]=H[e]||{},H[e]}function W(t,e,n){void 0===n&&(n=null);for(var i=Object.keys(t),o=0,r=i.length;o<r;o++){var s=t[i[o]];if(s.originalHandler===e&&s.delegationSelector===n)return s}return null}function z(t,e,n){var i="string"==typeof e,o=i?n:e,r=t.replace(M,""),s=Q[r];return s&&(r=s),q.indexOf(r)>-1||(r=t),[i,o,r]}function X(t,e,n,i,o){if("string"==typeof e&&t){n||(n=i,i=null);var r=z(e,n,i),s=r[0],a=r[1],l=r[2],c=V(t),u=c[l]||(c[l]={}),f=W(u,a,s?n:null);if(f)f.oneOff=f.oneOff&&o;else{var d=F(a,e.replace(R,"")),h=s?function(t,e,n){return function i(o){for(var r=t.querySelectorAll(e),s=o.target;s&&s!==this;s=s.parentNode)for(var a=r.length;a--;)if(r[a]===s)return o.delegateTarget=s,i.oneOff&&Y.off(t,o.type,n),n.apply(s,[o]);return null}}(t,n,i):function(t,e){return function n(i){return i.delegateTarget=t,n.oneOff&&Y.off(t,i.type,e),e.apply(t,[i])}}(t,n);h.delegationSelector=s?n:null,h.originalHandler=a,h.oneOff=o,h.uidEvent=d,u[d]=h,t.addEventListener(l,h,s)}}}function K(t,e,n,i,o){var r=W(e[n],i,o);r&&(t.removeEventListener(n,r,Boolean(o)),delete e[n][r.uidEvent])}var Y={on:function(t,e,n,i){X(t,e,n,i,!1)},one:function(t,e,n,i){X(t,e,n,i,!0)},off:function(t,e,n,i){if("string"==typeof e&&t){var o=z(e,n,i),r=o[0],s=o[1],a=o[2],l=a!==e,c=V(t),u="."===e.charAt(0);if("undefined"==typeof s){u&&Object.keys(c).forEach((function(n){!function(t,e,n,i){var o=e[n]||{};Object.keys(o).forEach((function(r){if(r.indexOf(i)>-1){var s=o[r];K(t,e,n,s.originalHandler,s.delegationSelector)}}))}(t,c,n,e.slice(1))}));var f=c[a]||{};Object.keys(f).forEach((function(n){var i=n.replace(B,"");if(!l||e.indexOf(i)>-1){var o=f[n];K(t,c,a,o.originalHandler,o.delegationSelector)}}))}else{if(!c||!c[a])return;K(t,c,a,s,r?n:null)}}},trigger:function(t,e,n){if("string"!=typeof e||!t)return null;var i,o=e.replace(M,""),r=e!==o,s=q.indexOf(o)>-1,a=!0,l=!0,c=!1,u=null;return r&&x&&(i=x.Event(e,n),x(t).trigger(i),a=!i.isPropagationStopped(),l=!i.isImmediatePropagationStopped(),c=i.isDefaultPrevented()),s?(u=document.createEvent("HTMLEvents")).initEvent(o,a,!0):u=new CustomEvent(e,{bubbles:a,cancelable:!0}),"undefined"!=typeof n&&Object.keys(n).forEach((function(t){Object.defineProperty(u,t,{get:function(){return n[t]}})})),c&&(u.preventDefault(),j||Object.defineProperty(u,"defaultPrevented",{get:function(){return!0}})),l&&t.dispatchEvent(u),u.defaultPrevented&&"undefined"!=typeof i&&i.preventDefault(),u}},$="asyncLoad",G="coreui.asyncLoad",J="c-active",Z="c-show",tt=".c-sidebar-nav-dropdown",et=".c-xhr-link, .c-sidebar-nav-link",nt={defaultPage:"main.html",errorPage:"404.html",subpagesDirectory:"views/"},it=function(){function t(t,e){this._config=this._getConfig(e),this._element=t;var n=location.hash.replace(/^#/,"");""!==n?this._setUpUrl(n):this._setUpUrl(this._config.defaultPage),this._addEventListeners()}var e=t.prototype;return e._getConfig=function(t){return t=l(l({},nt),t)},e._loadPage=function(t){var e=this,n=this._element,i=this._config,o=new XMLHttpRequest;o.open("GET",i.subpagesDirectory+t);var r=new CustomEvent("xhr",{detail:{url:t,status:o.status}});n.dispatchEvent(r),o.onload=function(s){if(200===o.status){r=new CustomEvent("xhr",{detail:{url:t,status:o.status}}),n.dispatchEvent(r);var a=document.createElement("div");a.innerHTML=s.target.response;var l=Array.from(a.querySelectorAll("script")).map((function(t){return t.attributes.getNamedItem("src").nodeValue}));a.querySelectorAll("script").forEach((function(t){return t.remove(t)})),window.scrollTo(0,0),n.innerHTML="",n.appendChild(a),(c=document.querySelectorAll(".view-script")).length&&c.forEach((function(t){t.remove()})),l.length&&function t(n,i){void 0===i&&(i=0);var o=document.createElement("script");o.type="text/javascript",o.src=n[i],o.className="view-script",o.onload=o.onreadystatechange=function(){e.readyState&&"complete"!==e.readyState||n.length>i+1&&t(n,i+1)},document.getElementsByTagName("body")[0].appendChild(o)}(l),window.location.hash=t}else window.location.href=i.errorPage;var c},o.send()},e._setUpUrl=function(t){t=t.replace(/^\//,"").split("?")[0],Array.from(document.querySelectorAll(et)).forEach((function(t){t.classList.remove(J)})),Array.from(document.querySelectorAll(et)).forEach((function(t){t.classList.remove(J)})),Array.from(document.querySelectorAll(tt)).forEach((function(t){t.classList.remove(Z)})),Array.from(document.querySelectorAll(tt)).forEach((function(e){Array.from(e.querySelectorAll('a[href*="'+t+'"]')).length>0&&e.classList.add(Z)})),Array.from(document.querySelectorAll('.c-sidebar-nav-item a[href*="'+t+'"]')).forEach((function(t){t.classList.add(J)})),this._loadPage(t)},e._loadBlank=function(t){window.open(t)},e._loadTop=function(t){window.location=t},e._update=function(t){"#"!==t.href&&("undefined"!=typeof t.dataset.toggle&&"null"!==t.dataset.toggle||("_top"===t.target?this._loadTop(t.href):"_blank"===t.target?this._loadBlank(t.href):this._setUpUrl(t.getAttribute("href"))))},e._addEventListeners=function(){var t=this;Y.on(document,"click.coreui.asyncLoad.data-api",et,(function(e){e.preventDefault();var n=e.target;n.classList.contains("c-sidebar-nav-link")||(n=n.closest(et)),n.classList.contains("c-sidebar-nav-dropdown-toggle")||"#"===n.getAttribute("href")||t._update(n)}))},t._asyncLoadInterface=function(e,n){var i=O(e,G);if(i||(i=new t(e,"object"==typeof n&&n)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}},t.jQueryInterface=function(e){return this.each((function(){t._asyncLoadInterface(this,e)}))},r(t,null,[{key:"VERSION",get:function(){return"3.2.2"}},{key:"Default",get:function(){return nt}}]),t}(),ot=T();if(ot){var rt=ot.fn[$];ot.fn[$]=it.jQueryInterface,ot.fn[$].Constructor=it,ot.fn[$].noConflict=function(){return ot.fn[$]=rt,it.jQueryInterface}}var st="coreui.alert",at=function(){function t(t){this._element=t,this._element&&S(t,st,this)}var e=t.prototype;return e.close=function(t){var e=t?this._getRootElement(t):this._element,n=this._triggerCloseEvent(e);null===n||n.defaultPrevented||this._removeElement(e)},e.dispose=function(){N(this._element,st),this._element=null},e._getRootElement=function(t){return _(t)||t.closest(".alert")},e._triggerCloseEvent=function(t){return Y.trigger(t,"close.coreui.alert")},e._removeElement=function(t){var e=this;if(t.classList.remove("show"),t.classList.contains("fade")){var n=v(t);Y.one(t,h,(function(){return e._destroyElement(t)})),w(t,n)}else this._destroyElement(t)},e._destroyElement=function(t){t.parentNode&&t.parentNode.removeChild(t),Y.trigger(t,"closed.coreui.alert")},t.jQueryInterface=function(e){return this.each((function(){var n=O(this,st);n||(n=new t(this)),"close"===e&&n[e](this)}))},t.handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},t.getInstance=function(t){return O(t,st)},r(t,null,[{key:"VERSION",get:function(){return"3.2.2"}}]),t}();Y.on(document,"click.coreui.alert.data-api",'[data-dismiss="alert"]',at.handleDismiss(new at));var lt=T();if(lt){var ct=lt.fn.alert;lt.fn.alert=at.jQueryInterface,lt.fn.alert.Constructor=at,lt.fn.alert.noConflict=function(){return lt.fn.alert=ct,at.jQueryInterface}}var ut={matches:function(t,e){return t.matches(e)},find:function(t,e){var n;return void 0===e&&(e=document.documentElement),(n=[]).concat.apply(n,I.call(e,t))},findOne:function(t,e){return void 0===e&&(e=document.documentElement),D.call(e,t)},children:function(t,e){var n,i=(n=[]).concat.apply(n,t.children);return i.filter((function(t){return t.matches(e)}))},parents:function(t,e){for(var n=[],i=t.parentNode;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)this.matches(i,e)&&n.push(i),i=i.parentNode;return n},prev:function(t,e){for(var n=t.previousElementSibling;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next:function(t,e){for(var n=t.nextElementSibling;n;){if(this.matches(n,e))return[n];n=n.nextElementSibling}return[]}},ft="coreui.button",dt="active",ht="disabled",pt="focus",gt='[data-toggle^="button"]',mt=".btn",_t=function(){function t(t){this._element=t,S(t,ft,this)}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=this._element.closest('[data-toggle="buttons"]');if(n){var i=ut.findOne('input:not([type="hidden"])',this._element);if(i&&"radio"===i.type){if(i.checked&&this._element.classList.contains(dt))t=!1;else{var o=ut.findOne(".active",n);o&&o.classList.remove(dt)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains(ht)||n.classList.contains(ht))return;i.checked=!this._element.classList.contains(dt),Y.trigger(i,"change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(dt)),t&&this._element.classList.toggle(dt)},e.dispose=function(){N(this._element,ft),this._element=null},t.jQueryInterface=function(e){return this.each((function(){var n=O(this,ft);n||(n=new t(this)),"toggle"===e&&n[e]()}))},t.getInstance=function(t){return O(t,ft)},r(t,null,[{key:"VERSION",get:function(){return"3.2.2"}}]),t}();Y.on(document,"click.coreui.button.data-api",gt,(function(t){t.preventDefault();var e=t.target.closest(mt),n=O(e,ft);n||(n=new _t(e)),n.toggle()})),Y.on(document,"focus.coreui.button.data-api",gt,(function(t){var e=t.target.closest(mt);e&&e.classList.add(pt)})),Y.on(document,"blur.coreui.button.data-api",gt,(function(t){var e=t.target.closest(mt);e&&e.classList.remove(pt)}));var vt=T();if(vt){var yt=vt.fn.button;vt.fn.button=_t.jQueryInterface,vt.fn.button.Constructor=_t,vt.fn.button.noConflict=function(){return vt.fn.button=yt,_t.jQueryInterface}}function bt(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function wt(t){return t.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}))}var Et={setDataAttribute:function(t,e,n){t.setAttribute("data-"+wt(e),n)},removeDataAttribute:function(t,e){t.removeAttribute("data-"+wt(e))},getDataAttributes:function(t){if(!t)return{};var e=l({},t.dataset);return Object.keys(e).forEach((function(t){e[t]=bt(e[t])})),e},getDataAttribute:function(t,e){return bt(t.getAttribute("data-"+wt(e)))},offset:function(t){var e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},position:function(t){return{top:t.offsetTop,left:t.offsetLeft}},toggleClass:function(t,e){t&&(t.classList.contains(e)?t.classList.remove(e):t.classList.add(e))}},kt="carousel",Lt="coreui.carousel",Ct="."+Lt,Tt={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},At={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},St="next",Ot="prev",Nt="slid"+Ct,It="active",Dt=".active.carousel-item",jt={TOUCH:"touch",PEN:"pen"},Pt=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=ut.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners(),S(t,Lt,this)}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(St)},e.nextWhenVisible=function(){!document.hidden&&k(this._element)&&this.next()},e.prev=function(){this._isSliding||this._slide(Ot)},e.pause=function(t){t||(this._isPaused=!0),ut.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(y(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=ut.findOne(Dt,this._element);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)Y.one(this._element,Nt,(function(){return e.to(t)}));else{if(n===t)return this.pause(),void this.cycle();var i=t>n?St:Ot;this._slide(i,this._items[t])}},e.dispose=function(){Y.off(this._element,Ct),N(this._element,Lt),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=l(l({},Tt),t),E(kt,t,At),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&Y.on(this._element,"keydown.coreui.carousel",(function(e){return t._keydown(e)})),"hover"===this._config.pause&&(Y.on(this._element,"mouseenter.coreui.carousel",(function(e){return t.pause(e)})),Y.on(this._element,"mouseleave.coreui.carousel",(function(e){return t.cycle(e)}))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this,e=function(e){t._pointerEvent&&jt[e.pointerType.toUpperCase()]?t.touchStartX=e.clientX:t._pointerEvent||(t.touchStartX=e.touches[0].clientX)},n=function(e){t._pointerEvent&&jt[e.pointerType.toUpperCase()]&&(t.touchDeltaX=e.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(e){return t.cycle(e)}),500+t._config.interval))};ut.find(".carousel-item img",this._element).forEach((function(t){Y.on(t,"dragstart.coreui.carousel",(function(t){return t.preventDefault()}))})),this._pointerEvent?(Y.on(this._element,"pointerdown.coreui.carousel",(function(t){return e(t)})),Y.on(this._element,"pointerup.coreui.carousel",(function(t){return n(t)})),this._element.classList.add("pointer-event")):(Y.on(this._element,"touchstart.coreui.carousel",(function(t){return e(t)})),Y.on(this._element,"touchmove.coreui.carousel",(function(e){return function(e){e.touches&&e.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.touches[0].clientX-t.touchStartX}(e)})),Y.on(this._element,"touchend.coreui.carousel",(function(t){return n(t)})))},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.key){case"ArrowLeft":t.preventDefault(),this.prev();break;case"ArrowRight":t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?ut.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=t===St,i=t===Ot,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+(t===Ot?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(ut.findOne(Dt,this._element));return Y.trigger(this._element,"slide.coreui.carousel",{relatedTarget:t,direction:e,from:i,to:n})},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){for(var e=ut.find(".active",this._indicatorsElement),n=0;n<e.length;n++)e[n].classList.remove(It);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&i.classList.add(It)}},e._slide=function(t,e){var n,i,o,r=this,s=ut.findOne(Dt,this._element),a=this._getItemIndex(s),l=e||s&&this._getItemByDirection(t,s),c=this._getItemIndex(l),u=Boolean(this._interval);if(t===St?(n="carousel-item-left",i="carousel-item-next",o="left"):(n="carousel-item-right",i="carousel-item-prev",o="right"),l&&l.classList.contains(It))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).defaultPrevented&&s&&l){if(this._isSliding=!0,u&&this.pause(),this._setActiveIndicatorElement(l),this._element.classList.contains("slide")){l.classList.add(i),C(l),s.classList.add(n),l.classList.add(n);var f=parseInt(l.getAttribute("data-interval"),10);f?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=f):this._config.interval=this._config.defaultInterval||this._config.interval;var d=v(s);Y.one(s,h,(function(){l.classList.remove(n,i),l.classList.add(It),s.classList.remove(It,i,n),r._isSliding=!1,setTimeout((function(){Y.trigger(r._element,Nt,{relatedTarget:l,direction:o,from:a,to:c})}),0)})),w(s,d)}else s.classList.remove(It),l.classList.add(It),this._isSliding=!1,Y.trigger(this._element,Nt,{relatedTarget:l,direction:o,from:a,to:c});u&&this.cycle()}},t.carouselInterface=function(e,n){var i=O(e,Lt),o=l(l({},Tt),Et.getDataAttributes(e));"object"==typeof n&&(o=l(l({},o),n));var r="string"==typeof n?n:o.slide;if(i||(i=new t(e,o)),"number"==typeof n)i.to(n);else if("string"==typeof r){if("undefined"==typeof i[r])throw new TypeError('No method named "'+r+'"');i[r]()}else o.interval&&o.ride&&(i.pause(),i.cycle())},t.jQueryInterface=function(e){return this.each((function(){t.carouselInterface(this,e)}))},t.dataApiClickHandler=function(e){var n=_(this);if(n&&n.classList.contains("carousel")){var i=l(l({},Et.getDataAttributes(n)),Et.getDataAttributes(this)),o=this.getAttribute("data-slide-to");o&&(i.interval=!1),t.carouselInterface(n,i),o&&O(n,Lt).to(o),e.preventDefault()}},t.getInstance=function(t){return O(t,Lt)},r(t,null,[{key:"VERSION",get:function(){return"3.2.2"}},{key:"Default",get:function(){return Tt}}]),t}();Y.on(document,"click.coreui.carousel.data-api","[data-slide], [data-slide-to]",Pt.dataApiClickHandler),Y.on(window,"load.coreui.carousel.data-api",(function(){for(var t=ut.find('[data-ride="carousel"]'),e=0,n=t.length;e<n;e++)Pt.carouselInterface(t[e],O(t[e],Lt))}));var xt=T();if(xt){var Rt=xt.fn[kt];xt.fn[kt]=Pt.jQueryInterface,xt.fn[kt].Constructor=Pt,xt.fn[kt].noConflict=function(){return xt.fn[kt]=Rt,Pt.jQueryInterface}}var Mt="class-toggler",Bt="coreui.class-toggler",Ht={addClass:"(null|array|string)",breakpoints:"(null|array|string)",removeClass:"(null|array|string)",responsive:"(null|boolean)",target:"(null|string)",toggleClass:"(null|array|string)"},Ut={addClass:null,breakpoints:["","sm","md","lg","xl"],removeClass:null,responsive:!1,target:"body",toggleClass:null},Qt="classremoved",qt="classtoggle",Ft=".c-class-toggler",Vt=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),S(t,Bt,this)}var e=t.prototype;return e.add=function(){var t=this,e=this._target();this._config.addClass.replace(/\s/g,"").split(",").forEach((function(n){e.classList.add(n),t._customEvent("classadded",e,!0,n)}))},e.remove=function(){var t=this,e=this._target();this._config.removeClass.replace(/\s/g,"").split(",").forEach((function(n){t._config.responsive?t._updateResponsiveClassNames(n).forEach((function(n){e.classList.remove(n),t._customEvent(Qt,e,!1,n)})):(e.classList.remove(n),t._customEvent(Qt,e,!1,n))}))},e.toggle=function(){var t=this,e=this._target(),n=this._config.toggleClass.replace(/\s/g,"").split(",");this._config.responsive?n.forEach((function(n){t._updateResponsiveClassNames(n).filter((function(t){return e.classList.contains(t)})).length?t._updateResponsiveClassNames(n).forEach((function(n){t._config.removeClass=n,t.remove(),t._customEvent(qt,e,!1,n)})):(t._config.addClass=n,t.add(),t._customEvent(qt,e,!0,n))})):n.forEach((function(n){e.classList.contains(n)?(t._config.removeClass=n,t.remove(),t._customEvent(qt,e,!1,n)):(t._config.addClass=n,t.add(),t._customEvent(qt,e,!0,n))}))},e.class=function(){this._config.toggleClass=this._config.class,this._element.getAttribute("responsive")&&(this._config.responsive=this._element.getAttribute("responsive")),this.toggle()},e._target=function(){return"body"===this._config.target?document.querySelector(this._config.target):"_parent"===this._config.target?this._element.parentNode:document.querySelector(this._config.target)},e._customEvent=function(t,e,n,i){var o=new CustomEvent(t,{detail:{target:e,add:n,className:i}});e.dispatchEvent(o)},e._breakpoint=function(t){return this._config.breakpoints.filter((function(t){return t.length>0})).filter((function(e){return t.includes(e)}))[0]},e._breakpoints=function(t){var e=this._config.breakpoints;return e.slice(0,e.indexOf(e.filter((function(t){return t.length>0})).filter((function(e){return t.includes(e)}))[0])+1)},e._updateResponsiveClassNames=function(t){var e=this._breakpoint(t);return this._breakpoints(t).map((function(n){return n.length>0?t.replace(e,n):t.replace("-"+e,n)}))},e._includesResponsiveClass=function(t){var e=this;return this._updateResponsiveClassNames(t).filter((function(t){return e._config.target.contains(t)}))},e._getConfig=function(t){return t=l(l(l({},this.constructor.Default),Et.getDataAttributes(this._element)),t),E(Mt,t,this.constructor.DefaultType),t},t.classTogglerInterface=function(e,n){var i=O(e,Bt);if(i||(i=new t(e,"object"==typeof n&&n)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}},t.jQueryInterface=function(e){return this.each((function(){t.classTogglerInterface(this,e)}))},r(t,null,[{key:"VERSION",get:function(){return"3.2.2"}},{key:"Default",get:function(){return Ut}},{key:"DefaultType",get:function(){return Ht}}]),t}();Y.on(document,"click.coreui.class-toggler.data-api",Ft,(function(t){t.preventDefault(),t.stopPropagation();var e=t.target;e.classList.contains("c-class-toggler")||(e=e.closest(Ft)),"undefined"!=typeof e.dataset.addClass&&Vt.classTogglerInterface(e,"add"),"undefined"!=typeof e.dataset.removeClass&&Vt.classTogglerInterface(e,"remove"),"undefined"!=typeof e.dataset.toggleClass&&Vt.classTogglerInterface(e,"toggle"),"undefined"!=typeof e.dataset.class&&Vt.classTogglerInterface(e,"class")}));var Wt=T();if(Wt){var zt=Wt.fn[Mt];Wt.fn[Mt]=Vt.jQueryInterface,Wt.fn[Mt].Constructor=Vt,Wt.fn[Mt].noConflict=function(){return Wt.fn[Mt]=zt,Vt.jQueryInterface}}var Xt="collapse",Kt="coreui.collapse",Yt={toggle:!0,parent:""},$t={toggle:"boolean",parent:"(string|element)"},Gt="show",Jt="collapse",Zt="collapsing",te="collapsed",ee="width",ne='[data-toggle="collapse"]',ie=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=ut.find(ne+'[href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]');for(var n=ut.find(ne),i=0,o=n.length;i<o;i++){var r=n[i],s=m(r),a=ut.find(s).filter((function(e){return e===t}));null!==s&&a.length&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle(),S(t,Kt,this)}var e=t.prototype;return e.toggle=function(){this._element.classList.contains(Gt)?this.hide():this.show()},e.show=function(){var e=this;if(!this._isTransitioning&&!this._element.classList.contains(Gt)){var n,i;this._parent&&0===(n=ut.find(".show, .collapsing",this._parent).filter((function(t){return"string"==typeof e._config.parent?t.getAttribute("data-parent")===e._config.parent:t.classList.contains(Jt)}))).length&&(n=null);var o=ut.findOne(this._selector);if(n){var r=n.filter((function(t){return o!==t}));if((i=r[0]?O(r[0],Kt):null)&&i._isTransitioning)return}if(!Y.trigger(this._element,"show.coreui.collapse").defaultPrevented){n&&n.forEach((function(e){o!==e&&t.collapseInterface(e,"hide"),i||S(e,Kt,null)}));var s=this._getDimension();this._element.classList.remove(Jt),this._element.classList.add(Zt),this._element.style[s]=0,this._triggerArray.length&&this._triggerArray.forEach((function(t){t.classList.remove(te),t.setAttribute("aria-expanded",!0)})),this.setTransitioning(!0);var a="scroll"+(s[0].toUpperCase()+s.slice(1)),l=v(this._element);Y.one(this._element,h,(function(){e._element.classList.remove(Zt),e._element.classList.add(Jt,Gt),e._element.style[s]="",e.setTransitioning(!1),Y.trigger(e._element,"shown.coreui.collapse")})),w(this._element,l),this._element.style[s]=this._element[a]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&this._element.classList.contains(Gt)&&!Y.trigger(this._element,"hide.coreui.collapse").defaultPrevented){var e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",C(this._element),this._element.classList.add(Zt),this._element.classList.remove(Jt,Gt);var n=this._triggerArray.length;if(n>0)for(var i=0;i<n;i++){var o=this._triggerArray[i],r=_(o);r&&!r.classList.contains(Gt)&&(o.classList.add(te),o.setAttribute("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[e]="";var s=v(this._element);Y.one(this._element,h,(function(){t.setTransitioning(!1),t._element.classList.remove(Zt),t._element.classList.add(Jt),Y.trigger(t._element,"hidden.coreui.collapse")})),w(this._element,s)}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){N(this._element,Kt),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=l(l({},Yt),t)).toggle=Boolean(t.toggle),E(Xt,t,$t),t},e._getDimension=function(){return this._element.classList.contains(ee)?ee:"height"},e._getParent=function(){var t=this,e=this._config.parent;b(e)?"undefined"==typeof e.jquery&&"undefined"==typeof e[0]||(e=e[0]):e=ut.findOne(e);var n=ne+'[data-parent="'+e+'"]';return ut.find(n,e).forEach((function(e){var n=_(e);t._addAriaAndCollapsedClass(n,[e])})),e},e._addAriaAndCollapsedClass=function(t,e){if(t&&e.length){var n=t.classList.contains(Gt);e.forEach((function(t){n?t.classList.remove(te):t.classList.add(te),t.setAttribute("aria-expanded",n)}))}},t.collapseInterface=function(e,n){var i=O(e,Kt),o=l(l(l({},Yt),Et.getDataAttributes(e)),"object"==typeof n&&n?n:{});if(!i&&o.toggle&&"string"==typeof n&&/show|hide/.test(n)&&(o.toggle=!1),i||(i=new t(e,o)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}},t.jQueryInterface=function(e){return this.each((function(){t.collapseInterface(this,e)}))},t.getInstance=function(t){return O(t,Kt)},r(t,null,[{key:"VERSION",get:function(){return"3.2.2"}},{key:"Default",get:function(){return Yt}}]),t}();Y.on(document,"click.coreui.collapse.data-api",ne,(function(t){"A"===t.target.tagName&&t.preventDefault();var e=Et.getDataAttributes(this),n=m(this);ut.find(n).forEach((function(t){var n,i=O(t,Kt);i?(null===i._parent&&"string"==typeof e.parent&&(i._config.parent=e.parent,i._parent=i._getParent()),n="toggle"):n=e,ie.collapseInterface(t,n)}))}));var oe=T();if(oe){var re=oe.fn[Xt];oe.fn[Xt]=ie.jQueryInterface,oe.fn[Xt].Constructor=ie,oe.fn[Xt].noConflict=function(){return oe.fn[Xt]=re,ie.jQueryInterface}}var se="dropdown",ae="coreui.dropdown",le="."+ae,ce="Escape",ue="Space",fe="ArrowUp",de="ArrowDown",he=new RegExp("ArrowUp|ArrowDown|Escape"),pe="hide"+le,ge="hidden"+le,me="click.coreui.dropdown.data-api",_e="keydown.coreui.dropdown.data-api",ve="disabled",ye="show",be="dropdown-menu-right",we='[data-toggle="dropdown"]',Ee=".dropdown-menu",ke={offset:[0,0],flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},Le={offset:"(array|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},Ce=function(){function e(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._inHeader=this._detectHeader(),this._addEventListeners(),S(t,ae,this)}var n=e.prototype;return n.toggle=function(){if(!this._element.disabled&&!this._element.classList.contains(ve)){var t=this._menu.classList.contains(ye);e.clearMenus(),t||this.show()}},n.show=function(){if(!(this._element.disabled||this._element.classList.contains(ve)||this._menu.classList.contains(ye))){var n=e.getParentFromElement(this._element),i={relatedTarget:this._element};if(!Y.trigger(n,"show.coreui.dropdown",i).defaultPrevented){if(!this._inNavbar&&!this._inHeader){if("undefined"==typeof t.createPopper)throw new TypeError("CoreUI's dropdowns require Popper.js (https://popper.js.org)");var o=this._element;"parent"===this._config.reference?o=n:b(this._config.reference)&&(o=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(o=this._config.reference[0])),"scrollParent"!==this._config.boundary&&n.classList.add("position-static"),this._popper=t.createPopper(o,this._menu,this._getPopperConfig())}var r,s;if("ontouchstart"in document.documentElement&&!n.closest(".navbar-nav"))(r=[]).concat.apply(r,document.body.children).forEach((function(t){return Y.on(t,"mouseover",null,(function(){}))}));if("ontouchstart"in document.documentElement&&!n.closest(".c-header-nav"))(s=[]).concat.apply(s,document.body.children).forEach((function(t){return Y.on(t,"mouseover",null,(function(){}))}));this._element.focus(),this._element.setAttribute("aria-expanded",!0),Et.toggleClass(this._menu,ye),Et.toggleClass(n,ye),Y.trigger(n,"shown.coreui.dropdown",i)}}},n.hide=function(){if(!this._element.disabled&&!this._element.classList.contains(ve)&&this._menu.classList.contains(ye)){var t=e.getParentFromElement(this._element),n={relatedTarget:this._element};Y.trigger(t,pe,n).defaultPrevented||(this._popper&&this._popper.destroy(),Et.toggleClass(this._menu,ye),Et.toggleClass(t,ye),Y.trigger(t,ge,n))}},n.dispose=function(){N(this._element,ae),Y.off(this._element,le),this._element=null,this._menu=null,this._popper&&(this._popper.destroy(),this._popper=null)},n.update=function(){this._inNavbar=this._detectNavbar(),this._inHeader=this._detectHeader(),this._popper&&this._popper.update()},n._addEventListeners=function(){var t=this;Y.on(this._element,"click.coreui.dropdown",(function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}))},n._getConfig=function(t){return t=l(l(l({},this.constructor.Default),Et.getDataAttributes(this._element)),t),E(se,t,this.constructor.DefaultType),t},n._getMenuElement=function(){var t=e.getParentFromElement(this._element);return ut.findOne(Ee,t)},n._getPlacement=function(){var t=this._element.parentNode,e="bottom-start";return t.classList.contains("dropup")?(e="top-start",this._menu.classList.contains(be)&&(e="top-end")):t.classList.contains("dropright")?e="right-start":t.classList.contains("dropleft")?e="left-start":this._menu.classList.contains(be)&&(e="bottom-end"),e},n._detectNavbar=function(){return Boolean(this._element.closest(".navbar"))},n._detectHeader=function(){return Boolean(this._element.closest(".c-header"))},n._getOffset=function(){var t=this;return"function"==typeof this._config.offset?function(e){var n=e.placement,i=e.reference,o=e.popper;return t._config.offset({placement:n,reference:i,popper:o})}:this._config.offset},n._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:[{name:"offset",options:{offset:this._getOffset()}},{name:"flip",enabled:this._config.flip},{name:"preventOverflow",options:{boundary:this._config.boundary}}]};return"static"===this._config.display&&(t.modifiers={name:"applyStyles",enabled:!1}),l(l({},t),this._config.popperConfig)},e.dropdownInterface=function(t,n){var i=O(t,ae);if(i||(i=new e(t,"object"==typeof n?n:null)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}},e.jQueryInterface=function(t){return this.each((function(){e.dropdownInterface(this,t)}))},e.clearMenus=function(t){if(!t||2!==t.button&&("keyup"!==t.type||"Tab"===t.key))for(var n=ut.find(we),i=0,o=n.length;i<o;i++){var r=e.getParentFromElement(n[i]),s=O(n[i],ae),a={relatedTarget:n[i]};if(t&&"click"===t.type&&(a.clickEvent=t),s){var l=s._menu;if(r.classList.contains(ye))if(!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&"Tab"===t.key)&&r.contains(t.target)))if(!Y.trigger(r,pe,a).defaultPrevented){var c;if("ontouchstart"in document.documentElement)(c=[]).concat.apply(c,document.body.children).forEach((function(t){return Y.off(t,"mouseover",null,(function(){}))}));n[i].setAttribute("aria-expanded","false"),s._popper&&s._popper.destroy(),l.classList.remove(ye),r.classList.remove(ye),Y.trigger(r,ge,a)}}}},e.getParentFromElement=function(t){return _(t)||t.parentNode},e.dataApiKeydownHandler=function(t){if(!(/input|textarea/i.test(t.target.tagName)?t.key===ue||t.key!==ce&&(t.key!==de&&t.key!==fe||t.target.closest(Ee)):!he.test(t.key))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!this.classList.contains(ve))){var n=e.getParentFromElement(this),i=n.classList.contains(ye);if(t.key===ce)return(this.matches(we)?this:ut.prev(this,we)[0]).focus(),void e.clearMenus();if(i&&t.key!==ue){var o=ut.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",n).filter(k);if(o.length){var r=o.indexOf(t.target);t.key===fe&&r>0&&r--,t.key===de&&r<o.length-1&&r++,o[r=-1===r?0:r].focus()}}else e.clearMenus()}},e.getInstance=function(t){return O(t,ae)},r(e,null,[{key:"VERSION",get:function(){return"3.2.2"}},{key:"Default",get:function(){return ke}},{key:"DefaultType",get:function(){return Le}}]),e}();Y.on(document,_e,we,Ce.dataApiKeydownHandler),Y.on(document,_e,Ee,Ce.dataApiKeydownHandler),Y.on(document,me,Ce.clearMenus),Y.on(document,"keyup.coreui.dropdown.data-api",Ce.clearMenus),Y.on(document,me,we,(function(t){t.preventDefault(),t.stopPropagation(),Ce.dropdownInterface(this,"toggle")})),Y.on(document,me,".dropdown form",(function(t){return t.stopPropagation()}));var Te=T();if(Te){var Ae=Te.fn[se];Te.fn[se]=Ce.jQueryInterface,Te.fn[se].Constructor=Ce,Te.fn[se].noConflict=function(){return Te.fn[se]=Ae,Ce.jQueryInterface}}var Se="modal",Oe="coreui.modal",Ne="."+Oe,Ie="Escape",De={backdrop:!0,keyboard:!0,focus:!0,show:!0},je={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Pe="hidden"+Ne,xe="show"+Ne,Re="focusin"+Ne,Me="resize"+Ne,Be="click.dismiss"+Ne,He="keydown.dismiss"+Ne,Ue="mousedown.dismiss"+Ne,Qe="modal-open",qe="fade",Fe="show",Ve="modal-static",We=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ze=".sticky-top",Xe=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=ut.findOne(".modal-dialog",t),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0,S(t,Oe,this)}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){this._element.classList.contains(qe)&&(this._isTransitioning=!0);var n=Y.trigger(this._element,xe,{relatedTarget:t});this._isShown||n.defaultPrevented||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),Y.on(this._element,Be,'[data-dismiss="modal"]',(function(t){return e.hide(t)})),Y.on(this._dialog,Ue,(function(){Y.one(e._element,"mouseup.dismiss.coreui.modal",(function(t){t.target===e._element&&(e._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return e._showElement(t)})))}},e.hide=function(t){var e=this;if((t&&t.preventDefault(),this._isShown&&!this._isTransitioning)&&!Y.trigger(this._element,"hide.coreui.modal").defaultPrevented){this._isShown=!1;var n=this._element.classList.contains(qe);if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),Y.off(document,Re),this._element.classList.remove(Fe),Y.off(this._element,Be),Y.off(this._dialog,Ue),n){var i=v(this._element);Y.one(this._element,h,(function(t){return e._hideModal(t)})),w(this._element,i)}else this._hideModal()}},e.dispose=function(){[window,this._element,this._dialog].forEach((function(t){return Y.off(t,Ne)})),Y.off(document,Re),N(this._element,Oe),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=l(l({},De),t),E(Se,t,je),t},e._showElement=function(t){var e=this,n=this._element.classList.contains(qe),i=ut.findOne(".modal-body",this._dialog);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.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),n&&C(this._element),this._element.classList.add(Fe),this._config.focus&&this._enforceFocus();var o=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,Y.trigger(e._element,"shown.coreui.modal",{relatedTarget:t})};if(n){var r=v(this._dialog);Y.one(this._dialog,h,o),w(this._dialog,r)}else o()},e._enforceFocus=function(){var t=this;Y.off(document,Re),Y.on(document,Re,(function(e){document===e.target||t._element===e.target||t._element.contains(e.target)||t._element.focus()}))},e._setEscapeEvent=function(){var t=this;this._isShown?Y.on(this._element,He,(function(e){t._config.keyboard&&e.key===Ie?(e.preventDefault(),t.hide()):t._config.keyboard||e.key!==Ie||t._triggerBackdropTransition()})):Y.off(this._element,He)},e._setResizeEvent=function(){var t=this;this._isShown?Y.on(window,Me,(function(){return t._adjustDialog()})):Y.off(window,Me)},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){document.body.classList.remove(Qe),t._resetAdjustments(),t._resetScrollbar(),Y.trigger(t._element,Pe)}))},e._removeBackdrop=function(){this._backdrop.parentNode.removeChild(this._backdrop),this._backdrop=null},e._showBackdrop=function(t){var e=this,n=this._element.classList.contains(qe)?qe:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),document.body.appendChild(this._backdrop),Y.on(this._element,Be,(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&e._triggerBackdropTransition()})),n&&C(this._backdrop),this._backdrop.classList.add(Fe),!n)return void t();var i=v(this._backdrop);Y.one(this._backdrop,h,t),w(this._backdrop,i)}else if(!this._isShown&&this._backdrop){this._backdrop.classList.remove(Fe);var o=function(){e._removeBackdrop(),t()};if(this._element.classList.contains(qe)){var r=v(this._backdrop);Y.one(this._backdrop,h,o),w(this._backdrop,r)}else o()}else t()},e._triggerBackdropTransition=function(){var t=this;if("static"===this._config.backdrop){if(Y.trigger(this._element,"hidePrevented.coreui.modal").defaultPrevented)return;var e=this._element.scrollHeight>document.documentElement.clientHeight;e||(this._element.style.overflowY="hidden"),this._element.classList.add(Ve);var n=v(this._dialog);Y.off(this._element,h),Y.one(this._element,h,(function(){t._element.classList.remove(Ve),e||(Y.one(t._element,h,(function(){t._element.style.overflowY=""})),w(t._element,n))})),w(this._element,n),this._element.focus()}else this.hide()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){ut.find(We).forEach((function(e){var n=e.style.paddingRight,i=window.getComputedStyle(e)["padding-right"];Et.setDataAttribute(e,"padding-right",n),e.style.paddingRight=parseFloat(i)+t._scrollbarWidth+"px"})),ut.find(ze).forEach((function(e){var n=e.style.marginRight,i=window.getComputedStyle(e)["margin-right"];Et.setDataAttribute(e,"margin-right",n),e.style.marginRight=parseFloat(i)-t._scrollbarWidth+"px"}));var e=document.body.style.paddingRight,n=window.getComputedStyle(document.body)["padding-right"];Et.setDataAttribute(document.body,"padding-right",e),document.body.style.paddingRight=parseFloat(n)+this._scrollbarWidth+"px"}document.body.classList.add(Qe)},e._resetScrollbar=function(){ut.find(We).forEach((function(t){var e=Et.getDataAttribute(t,"padding-right");"undefined"!=typeof e&&(Et.removeDataAttribute(t,"padding-right"),t.style.paddingRight=e)})),ut.find(".sticky-top").forEach((function(t){var e=Et.getDataAttribute(t,"margin-right");"undefined"!=typeof e&&(Et.removeDataAttribute(t,"margin-right"),t.style.marginRight=e)}));var t=Et.getDataAttribute(document.body,"padding-right");"undefined"==typeof t?document.body.style.paddingRight="":(Et.removeDataAttribute(document.body,"padding-right"),document.body.style.paddingRight=t)},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t.jQueryInterface=function(e,n){return this.each((function(){var i=O(this,Oe),o=l(l(l({},De),Et.getDataAttributes(this)),"object"==typeof e&&e?e:{});if(i||(i=new t(this,o)),"string"==typeof e){if("undefined"==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e](n)}else o.show&&i.show(n)}))},t.getInstance=function(t){return O(t,Oe)},r(t,null,[{key:"VERSION",get:function(){return"3.2.2"}},{key:"Default",get:function(){return De}}]),t}();Y.on(document,"click.coreui.modal.data-api",'[data-toggle="modal"]',(function(t){var e=this,n=_(this);"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault(),Y.one(n,xe,(function(t){t.defaultPrevented||Y.one(n,Pe,(function(){k(e)&&e.focus()}))}));var i=O(n,Oe);if(!i){var o=l(l({},Et.getDataAttributes(n)),Et.getDataAttributes(this));i=new Xe(n,o)}i.show(this)}));var Ke=T();if(Ke){var Ye=Ke.fn.modal;Ke.fn.modal=Xe.jQueryInterface,Ke.fn.modal.Constructor=Xe,Ke.fn.modal.noConflict=function(){return Ke.fn.modal=Ye,Xe.jQueryInterface}}var $e=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Ge=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,Je=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Ze={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function tn(t,e,n){var i;if(!t.length)return t;if(n&&"function"==typeof n)return n(t);for(var o=(new window.DOMParser).parseFromString(t,"text/html"),r=Object.keys(e),s=(i=[]).concat.apply(i,o.body.querySelectorAll("*")),a=function(t,n){var i,o=s[t],a=o.nodeName.toLowerCase();if(-1===r.indexOf(a))return o.parentNode.removeChild(o),"continue";var l=(i=[]).concat.apply(i,o.attributes),c=[].concat(e["*"]||[],e[a]||[]);l.forEach((function(t){(function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===$e.indexOf(n)||Boolean(t.nodeValue.match(Ge)||t.nodeValue.match(Je));for(var i=e.filter((function(t){return t instanceof RegExp})),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1})(t,c)||o.removeAttribute(t.nodeName)}))},l=0,c=s.length;l<c;l++)a(l);return o.body.innerHTML}var en="tooltip",nn="coreui.tooltip",on="."+nn,rn=new RegExp("(^|\\s)bs-tooltip\\S+","g"),sn=["sanitize","whiteList","sanitizeFn"],an={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|function)",container:"(string|element|boolean)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},ln={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},cn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:Ze,popperConfig:null},un={HIDE:"hide"+on,HIDDEN:"hidden"+on,SHOW:"show"+on,SHOWN:"shown"+on,INSERTED:"inserted"+on,CLICK:"click"+on,FOCUSIN:"focusin"+on,FOCUSOUT:"focusout"+on,MOUSEENTER:"mouseenter"+on,MOUSELEAVE:"mouseleave"+on},fn="fade",dn="show",hn="show",pn="out",gn="hover",mn="focus",_n=function(){function e(e,n){if("undefined"==typeof t.createPopper)throw new TypeError("CoreUI's tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(n),this.tip=null,this._setListeners(),S(e,this.constructor.DATA_KEY,this)}var n=e.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=O(t.delegateTarget,e);n||(n=new this.constructor(t.delegateTarget,this._getDelegateConfig()),S(t.delegateTarget,e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(this.getTipElement().classList.contains(dn))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout),N(this.element,this.constructor.DATA_KEY),Y.off(this.element,this.constructor.EVENT_KEY),Y.off(this.element.closest(".modal"),"hide.coreui.modal",this._hideModalHandler),this.tip&&this.tip.parentNode.removeChild(this.tip),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},n.show=function(){var e=this;if("none"===this.element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var n=Y.trigger(this.element,this.constructor.Event.SHOW),i=function t(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var n=e.getRootNode();return n instanceof ShadowRoot?n:null}return e instanceof ShadowRoot?e:e.parentNode?t(e.parentNode):null}(this.element),o=null===i?this.element.ownerDocument.documentElement.contains(this.element):i.contains(this.element);if(n.defaultPrevented||!o)return;var r=this.getTipElement(),s=p(this.constructor.NAME);r.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&r.classList.add(fn);var a,l="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,c=this._getAttachment(l),u=this._getContainer();if(S(r,this.constructor.DATA_KEY,this),this.element.ownerDocument.documentElement.contains(this.tip)||u.appendChild(r),Y.trigger(this.element,this.constructor.Event.INSERTED),this._popper=t.createPopper(this.element,r,this._getPopperConfig(c)),r.classList.add(dn),"ontouchstart"in document.documentElement)(a=[]).concat.apply(a,document.body.children).forEach((function(t){Y.on(t,"mouseover",(function(){}))}));var f=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,Y.trigger(e.element,e.constructor.Event.SHOWN),t===pn&&e._leave(null,e)};if(this.tip.classList.contains(fn)){var d=v(this.tip);Y.one(this.tip,h,f),w(this.tip,d)}else f()}},n.hide=function(){var t=this,e=this.getTipElement(),n=function(){t._hoverState!==hn&&e.parentNode&&e.parentNode.removeChild(e),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),Y.trigger(t.element,t.constructor.Event.HIDDEN),t._popper.destroy()};if(!Y.trigger(this.element,this.constructor.Event.HIDE).defaultPrevented){var i;if(e.classList.remove(dn),"ontouchstart"in document.documentElement)(i=[]).concat.apply(i,document.body.children).forEach((function(t){return Y.off(t,"mouseover",L)}));if(this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this.tip.classList.contains(fn)){var o=v(e);Y.one(e,h,n),w(e,o)}else n();this._hoverState=""}},n.update=function(){null!==this._popper&&this._popper.update()},n.isWithContent=function(){return Boolean(this.getTitle())},n.getTipElement=function(){if(this.tip)return this.tip;var t=document.createElement("div");return t.innerHTML=this.config.template,this.tip=t.children[0],this.tip},n.setContent=function(){var t=this.getTipElement();this.setElementContent(ut.findOne(".tooltip-inner",t),this.getTitle()),t.classList.remove(fn,dn)},n.setElementContent=function(t,e){if(null!==t)return"object"==typeof e&&b(e)?(e.jquery&&(e=e[0]),void(this.config.html?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.textContent=e.textContent)):void(this.config.html?(this.config.sanitize&&(e=tn(e,this.config.whiteList,this.config.sanitizeFn)),t.innerHTML=e):t.textContent=e)},n.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},n._getPopperConfig=function(t){var e=this;return l(l({},{placement:t,modifiers:[{name:"offset",options:{offset:this._getOffset()}},{name:"arrow",options:{element:"."+this.constructor.NAME+"-arrow"}},{name:"preventOverflow",options:{boundary:this.config.boundary}}],onFirstUpdate:function(t){t.originalPlacement!==t.placement&&e._popper.update()}}),this.config.popperConfig)},n._getOffset=function(){var t=this;return"function"==typeof this.config.offset?function(e){var n=e.placement,i=e.reference,o=e.popper;return t.config.offset({placement:n,reference:i,popper:o})}:this.config.offset},n._getContainer=function(){return!1===this.config.container?document.body:b(this.config.container)?this.config.container:ut.findOne(this.config.container)},n._getAttachment=function(t){return ln[t.toUpperCase()]},n._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)Y.on(t.element,t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if("manual"!==e){var n=e===gn?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===gn?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;Y.on(t.element,n,t.config.selector,(function(e){return t._enter(e)})),Y.on(t.element,i,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},Y.on(this.element.closest(".modal"),"hide.coreui.modal",this._hideModalHandler),this.config.selector?this.config=l(l({},this.config),{},{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||O(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),S(t.delegateTarget,n,e)),t&&(e._activeTrigger["focusin"===t.type?mn:gn]=!0),e.getTipElement().classList.contains(dn)||e._hoverState===hn?e._hoverState=hn:(clearTimeout(e._timeout),e._hoverState=hn,e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){e._hoverState===hn&&e.show()}),e.config.delay.show):e.show())},n._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||O(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),S(t.delegateTarget,n,e)),t&&(e._activeTrigger["focusout"===t.type?mn:gn]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=pn,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){e._hoverState===pn&&e.hide()}),e.config.delay.hide):e.hide())},n._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},n._getConfig=function(t){var e=Et.getDataAttributes(this.element);return Object.keys(e).forEach((function(t){-1!==sn.indexOf(t)&&delete e[t]})),t&&"object"==typeof t.container&&t.container.jquery&&(t.container=t.container[0]),"number"==typeof(t=l(l(l({},this.constructor.Default),e),"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),E(en,t,this.constructor.DefaultType),t.sanitize&&(t.template=tn(t.template,t.whiteList,t.sanitizeFn)),t},n._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},n._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(rn);null!==e&&e.length>0&&e.map((function(t){return t.trim()})).forEach((function(e){return t.classList.remove(e)}))},n._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("data-popper-placement")&&(t.classList.remove(fn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},e.jQueryInterface=function(t){return this.each((function(){var n=O(this,nn),i="object"==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new e(this,i)),"string"==typeof t)){if("undefined"==typeof n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},e.getInstance=function(t){return O(t,nn)},r(e,null,[{key:"VERSION",get:function(){return"3.2.2"}},{key:"Default",get:function(){return cn}},{key:"NAME",get:function(){return en}},{key:"DATA_KEY",get:function(){return nn}},{key:"Event",get:function(){return un}},{key:"EVENT_KEY",get:function(){return on}},{key:"DefaultType",get:function(){return an}}]),e}(),vn=T();if(vn){var yn=vn.fn.tooltip;vn.fn.tooltip=_n.jQueryInterface,vn.fn.tooltip.Constructor=_n,vn.fn.tooltip.noConflict=function(){return vn.fn.tooltip=yn,_n.jQueryInterface}}var bn="popover",wn="coreui.popover",En="."+wn,kn=new RegExp("(^|\\s)bs-popover\\S+","g"),Ln=l(l({},_n.Default),{},{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Cn=l(l({},_n.DefaultType),{},{content:"(string|element|function)"}),Tn={HIDE:"hide"+En,HIDDEN:"hidden"+En,SHOW:"show"+En,SHOWN:"shown"+En,INSERTED:"inserted"+En,CLICK:"click"+En,FOCUSIN:"focusin"+En,FOCUSOUT:"focusout"+En,MOUSEENTER:"mouseenter"+En,MOUSELEAVE:"mouseleave"+En},An=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=i.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.setContent=function(){var t=this.getTipElement();this.setElementContent(ut.findOne(".popover-header",t),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(ut.findOne(".popover-body",t),e),t.classList.remove("fade","show")},o._addAttachmentClass=function(t){this.getTipElement().classList.add("bs-popover-"+t)},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(kn);null!==e&&e.length>0&&e.map((function(t){return t.trim()})).forEach((function(e){return t.classList.remove(e)}))},i.jQueryInterface=function(t){return this.each((function(){var e=O(this,wn),n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new i(this,n),S(this,wn,e)),"string"==typeof t)){if("undefined"==typeof e[t])throw new TypeError('No method named "'+t+'"');e[t]()}}))},i.getInstance=function(t){return O(t,wn)},r(i,null,[{key:"VERSION",get:function(){return"3.2.2"}},{key:"Default",get:function(){return Ln}},{key:"NAME",get:function(){return bn}},{key:"DATA_KEY",get:function(){return wn}},{key:"Event",get:function(){return Tn}},{key:"EVENT_KEY",get:function(){return En}},{key:"DefaultType",get:function(){return Cn}}]),i}(_n),Sn=T();if(Sn){var On=Sn.fn.popover;Sn.fn.popover=An.jQueryInterface,Sn.fn.popover.Constructor=An,Sn.fn.popover.noConflict=function(){return Sn.fn.popover=On,An.jQueryInterface}}var Nn="scrollspy",In="coreui.scrollspy",Dn="."+In,jn={offset:10,method:"auto",target:""},Pn={offset:"number",method:"string",target:"(string|element)"},xn="dropdown-item",Rn="active",Mn=".nav-link",Bn="position",Hn=function(){function t(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+".nav-link, "+this._config.target+" "+".list-group-item, "+this._config.target+" ."+xn,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,Y.on(this._scrollElement,"scroll.coreui.scrollspy",(function(t){return n._process(t)})),this.refresh(),this._process(),S(t,In,this)}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":Bn,n="auto"===this._config.method?e:this._config.method,i=n===Bn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),ut.find(this._selector).map((function(t){var e=m(t),o=e?ut.findOne(e):null;if(o){var r=o.getBoundingClientRect();if(r.width||r.height)return[Et[n](o).top+i,e]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},e.dispose=function(){N(this._element,In),Y.off(this._scrollElement,Dn),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(t){if("string"!=typeof(t=l(l({},jn),"object"==typeof t&&t?t:{})).target&&b(t.target)){var e=t.target.id;e||(e=p(Nn),t.target.id=e),t.target="#"+e}return E(Nn,t,Pn),t},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,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var 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(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map((function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'})),n=ut.findOne(e.join(","));n.classList.contains(xn)?(ut.findOne(".dropdown-toggle",n.closest(".dropdown")).classList.add(Rn),n.classList.add(Rn)):(n.classList.add(Rn),ut.parents(n,".nav, .list-group").forEach((function(t){ut.prev(t,".nav-link, .list-group-item").forEach((function(t){return t.classList.add(Rn)})),ut.prev(t,".nav-item").forEach((function(t){ut.children(t,Mn).forEach((function(t){return t.classList.add(Rn)}))}))}))),Y.trigger(this._scrollElement,"activate.coreui.scrollspy",{relatedTarget:t})},e._clear=function(){ut.find(this._selector).filter((function(t){return t.classList.contains(Rn)})).forEach((function(t){return t.classList.remove(Rn)}))},t.jQueryInterface=function(e){return this.each((function(){var n=O(this,In);if(n||(n=new t(this,"object"==typeof e&&e)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t.getInstance=function(t){return O(t,In)},r(t,null,[{key:"VERSION",get:function(){return"3.2.2"}},{key:"Default",get:function(){return jn}}]),t}();Y.on(window,"load.coreui.scrollspy.data-api",(function(){ut.find('[data-spy="scroll"]').forEach((function(t){return new Hn(t,Et.getDataAttributes(t))}))}));var Un=T();if(Un){var Qn=Un.fn[Nn];Un.fn[Nn]=Hn.jQueryInterface,Un.fn[Nn].Constructor=Hn,Un.fn[Nn].noConflict=function(){return Un.fn[Nn]=Qn,Hn.jQueryInterface}}var qn="sidebar",Fn="coreui.sidebar",Vn={activeLinksExact:!0,breakpoints:{xs:"c-sidebar-show",sm:"c-sidebar-sm-show",md:"c-sidebar-md-show",lg:"c-sidebar-lg-show",xl:"c-sidebar-xl-show",xxl:"c-sidebar-xxl-show"},dropdownAccordion:!0},Wn={activeLinksExact:"boolean",breakpoints:"object",dropdownAccordion:"(string|boolean)"},zn="c-active",Xn="c-sidebar-nav-dropdown",Kn="c-show",Yn="c-sidebar-minimized",$n="c-sidebar-unfoldable",Gn="click.coreui.sidebar.data-api",Jn=".c-sidebar-nav-dropdown-toggle",Zn=".c-sidebar-nav-dropdown",ti=".c-sidebar-nav-link",ei=".c-sidebar-nav",ni=".c-sidebar",ii=function(){function t(t,e){if("undefined"==typeof i.default)throw new TypeError("CoreUI's sidebar require Perfect Scrollbar");this._element=t,this._config=this._getConfig(e),this._open=this._isVisible(),this._mobile=this._isMobile(),this._overlaid=this._isOverlaid(),this._minimize=this._isMinimized(),this._unfoldable=this._isUnfoldable(),this._setActiveLink(),this._ps=null,this._backdrop=null,this._psInit(),this._addEventListeners(),S(t,Fn,this)}var e=t.prototype;return e.open=function(t){var e=this;Y.trigger(this._element,"open.coreui.sidebar"),this._isMobile()?(this._addClassName(this._firstBreakpointClassName()),this._showBackdrop(),Y.one(this._element,h,(function(){e._addClickOutListener()}))):t?(this._addClassName(this._getBreakpointClassName(t)),this._isOverlaid()&&Y.one(this._element,h,(function(){e._addClickOutListener()}))):(this._addClassName(this._firstBreakpointClassName()),this._isOverlaid()&&Y.one(this._element,h,(function(){e._addClickOutListener()})));var n=v(this._element);Y.one(this._element,h,(function(){!0===e._isVisible()&&(e._open=!0,Y.trigger(e._element,"opened.coreui.sidebar"))})),w(this._element,n)},e.close=function(t){var e=this;Y.trigger(this._element,"close.coreui.sidebar"),this._isMobile()?(this._element.classList.remove(this._firstBreakpointClassName()),this._removeBackdrop(),this._removeClickOutListener()):t?(this._element.classList.remove(this._getBreakpointClassName(t)),this._isOverlaid()&&this._removeClickOutListener()):(this._element.classList.remove(this._firstBreakpointClassName()),this._isOverlaid()&&this._removeClickOutListener());var n=v(this._element);Y.one(this._element,h,(function(){!1===e._isVisible()&&(e._open=!1,Y.trigger(e._element,"closed.coreui.sidebar"))})),w(this._element,n)},e.toggle=function(t){this._open?this.close(t):this.open(t)},e.minimize=function(){this._isMobile()||(this._addClassName(Yn),this._minimize=!0,this._psDestroy())},e.unfoldable=function(){this._isMobile()||(this._addClassName($n),this._unfoldable=!0)},e.reset=function(){this._element.classList.contains(Yn)&&(this._element.classList.remove(Yn),this._minimize=!1,Y.one(this._element,h,this._psInit())),this._element.classList.contains($n)&&(this._element.classList.remove($n),this._unfoldable=!1)},e._getConfig=function(t){return t=l(l(l({},this.constructor.Default),Et.getDataAttributes(this._element)),t),E(qn,t,this.constructor.DefaultType),t},e._isMobile=function(){return Boolean(window.getComputedStyle(this._element,null).getPropertyValue("--is-mobile"))},e._isIOS=function(){var t=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"];if(Boolean(navigator.platform))for(;t.length;)if(navigator.platform===t.pop())return!0;return!1},e._isMinimized=function(){return this._element.classList.contains(Yn)},e._isOverlaid=function(){return this._element.classList.contains("c-sidebar-overlaid")},e._isUnfoldable=function(){return this._element.classList.contains($n)},e._isVisible=function(){var t=this._element.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)},e._addClassName=function(t){this._element.classList.add(t)},e._firstBreakpointClassName=function(){return Object.keys(Vn.breakpoints).map((function(t){return Vn.breakpoints[t]}))[0]},e._getBreakpointClassName=function(t){return Vn.breakpoints[t]},e._removeBackdrop=function(){this._backdrop&&(this._backdrop.parentNode.removeChild(this._backdrop),this._backdrop=null)},e._showBackdrop=function(){this._backdrop||(this._backdrop=document.createElement("div"),this._backdrop.className="c-sidebar-backdrop",this._backdrop.classList.add("c-fade"),document.body.appendChild(this._backdrop),C(this._backdrop),this._backdrop.classList.add(Kn))},e._clickOutListener=function(t,e){null===t.target.closest(ni)&&(t.preventDefault(),t.stopPropagation(),e.close())},e._addClickOutListener=function(){var t=this;Y.on(document,Gn,(function(e){t._clickOutListener(e,t)}))},e._removeClickOutListener=function(){Y.off(document,Gn)},e._getAllSiblings=function(t,e){var n=[];t=t.parentNode.firstChild;do{3!==t.nodeType&&8!==t.nodeType&&(e&&!e(t)||n.push(t))}while(t=t.nextSibling);return n},e._toggleDropdown=function(t,e){var n=t.target;n.classList.contains("c-sidebar-nav-dropdown-toggle")||(n=n.closest(Jn));var i=n.closest(ei).dataset;"undefined"!=typeof i.dropdownAccordion&&(Vn.dropdownAccordion=JSON.parse(i.dropdownAccordion)),!0===Vn.dropdownAccordion&&this._getAllSiblings(n.parentElement,(function(t){return Boolean(t.classList.contains(Xn))})).forEach((function(t){t!==n.parentNode&&t.classList.contains(Xn)&&t.classList.remove(Kn)})),n.parentNode.classList.toggle(Kn),e._psUpdate()},e._psInit=function(){this._element.querySelector(ei)&&!this._isIOS()&&(this._ps=new i.default(this._element.querySelector(ei),{suppressScrollX:!0,wheelPropagation:!1}))},e._psUpdate=function(){this._ps&&this._ps.update()},e._psDestroy=function(){this._ps&&(this._ps.destroy(),this._ps=null)},e._getParents=function(t,e){for(var n=[];t&&t!==document;t=t.parentNode)e?t.matches(e)&&n.push(t):n.push(t);return n},e._setActiveLink=function(){var t=this;Array.from(this._element.querySelectorAll(ti)).forEach((function(e){var n;"#"===(n=/\\?.*=/.test(String(window.location))||/\\?./.test(String(window.location))?String(window.location).split("?")[0]:/#./.test(String(window.location))?String(window.location).split("#")[0]:String(window.location)).slice(-1)&&(n=n.slice(0,-1));var i=e.closest(ei).dataset;"undefined"!=typeof i.activeLinksExact&&(Vn.activeLinksExact=JSON.parse(i.activeLinksExact)),Vn.activeLinksExact&&e.href===n&&(e.classList.add(zn),Array.from(t._getParents(e,Zn)).forEach((function(t){t.classList.add(Kn)}))),!Vn.activeLinksExact&&e.href.startsWith(n)&&(e.classList.add(zn),Array.from(t._getParents(e,Zn)).forEach((function(t){t.classList.add(Kn)})))}))},e._addEventListeners=function(){var t=this;this._mobile&&this._open&&this._addClickOutListener(),this._overlaid&&this._open&&this._addClickOutListener(),Y.on(this._element,"classtoggle",(function(e){if(e.detail.className===Yn&&(t._element.classList.contains(Yn)?t.minimize():t.reset()),e.detail.className===$n&&(t._element.classList.contains($n)?t.unfoldable():t.reset()),"undefined"!=typeof Object.keys(Vn.breakpoints).find((function(t){return Vn.breakpoints[t]===e.detail.className}))){var n=e.detail.className,i=Object.keys(Vn.breakpoints).find((function(t){return Vn.breakpoints[t]===n}));e.detail.add?t.open(i):t.close(i)}})),Y.on(this._element,Gn,Jn,(function(e){e.preventDefault(),t._toggleDropdown(e,t)})),Y.on(this._element,Gn,ti,(function(){t._isMobile()&&t.close()}))},t._sidebarInterface=function(e,n){var i=O(e,Fn);if(i||(i=new t(e,"object"==typeof n&&n)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}},t.jQueryInterface=function(e){return this.each((function(){t._sidebarInterface(this,e)}))},t.getInstance=function(t){return O(t,Fn)},r(t,null,[{key:"VERSION",get:function(){return"3.2.2"}},{key:"Default",get:function(){return Vn}},{key:"DefaultType",get:function(){return Wn}}]),t}();Y.on(window,"load.coreui.sidebar.data-api",(function(){Array.from(document.querySelectorAll(ni)).forEach((function(t){ii._sidebarInterface(t)}))}));var oi=T();if(oi){var ri=oi.fn.sidebar;oi.fn.sidebar=ii.jQueryInterface,oi.fn.sidebar.Constructor=ii,oi.fn.sidebar.noConflict=function(){return oi.fn.sidebar=ri,ii.jQueryInterface}}var si="coreui.tab",ai="active",li="fade",ci="show",ui=".active",fi=":scope > li > .active",di=function(){function t(t){this._element=t,S(this._element,si,this)}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(ai)||this._element.classList.contains("disabled"))){var e,n=_(this._element),i=this._element.closest(".nav, .list-group");if(i){var o="UL"===i.nodeName||"OL"===i.nodeName?fi:ui;e=(e=ut.find(o,i))[e.length-1]}var r=null;if(e&&(r=Y.trigger(e,"hide.coreui.tab",{relatedTarget:this._element})),!(Y.trigger(this._element,"show.coreui.tab",{relatedTarget:e}).defaultPrevented||null!==r&&r.defaultPrevented)){this._activate(this._element,i);var s=function(){Y.trigger(e,"hidden.coreui.tab",{relatedTarget:t._element}),Y.trigger(t._element,"shown.coreui.tab",{relatedTarget:e})};n?this._activate(n,n.parentNode,s):s()}}},e.dispose=function(){N(this._element,si),this._element=null},e._activate=function(t,e,n){var i=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?ut.children(e,ui):ut.find(fi,e))[0],r=n&&o&&o.classList.contains(li),s=function(){return i._transitionComplete(t,o,n)};if(o&&r){var a=v(o);o.classList.remove(ci),Y.one(o,h,s),w(o,a)}else s()},e._transitionComplete=function(t,e,n){if(e){e.classList.remove(ai);var i=ut.findOne(":scope > .dropdown-menu .active",e.parentNode);i&&i.classList.remove(ai),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}(t.classList.add(ai),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),C(t),t.classList.contains(li)&&t.classList.add(ci),t.parentNode&&t.parentNode.classList.contains("dropdown-menu"))&&(t.closest(".dropdown")&&ut.find(".dropdown-toggle").forEach((function(t){return t.classList.add(ai)})),t.setAttribute("aria-expanded",!0));n&&n()},t.jQueryInterface=function(e){return this.each((function(){var n=O(this,si)||new t(this);if("string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t.getInstance=function(t){return O(t,si)},r(t,null,[{key:"VERSION",get:function(){return"3.2.2"}}]),t}();Y.on(document,"click.coreui.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventDefault(),(O(this,si)||new di(this)).show()}));var hi=T();if(hi){var pi=hi.fn.tab;hi.fn.tab=di.jQueryInterface,hi.fn.tab.Constructor=di,hi.fn.tab.noConflict=function(){return hi.fn.tab=pi,di.jQueryInterface}}var gi,mi,_i,vi,yi,bi="toast",wi="coreui.toast",Ei="."+wi,ki="click.dismiss"+Ei,Li="hide",Ci="show",Ti="showing",Ai={animation:"boolean",autohide:"boolean",delay:"number"},Si={animation:!0,autohide:!0,delay:5e3},Oi=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners(),S(t,wi,this)}var e=t.prototype;return e.show=function(){var t=this;if(!Y.trigger(this._element,"show.coreui.toast").defaultPrevented){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var e=function(){t._element.classList.remove(Ti),t._element.classList.add(Ci),Y.trigger(t._element,"shown.coreui.toast"),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove(Li),C(this._element),this._element.classList.add(Ti),this._config.animation){var n=v(this._element);Y.one(this._element,h,e),w(this._element,n)}else e()}},e.hide=function(){var t=this;if(this._element.classList.contains(Ci)&&!Y.trigger(this._element,"hide.coreui.toast").defaultPrevented){var e=function(){t._element.classList.add(Li),Y.trigger(t._element,"hidden.coreui.toast")};if(this._element.classList.remove(Ci),this._config.animation){var n=v(this._element);Y.one(this._element,h,e),w(this._element,n)}else e()}},e.dispose=function(){this._clearTimeout(),this._element.classList.contains(Ci)&&this._element.classList.remove(Ci),Y.off(this._element,ki),N(this._element,wi),this._element=null,this._config=null},e._getConfig=function(t){return t=l(l(l({},Si),Et.getDataAttributes(this._element)),"object"==typeof t&&t?t:{}),E(bi,t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;Y.on(this._element,ki,'[data-dismiss="toast"]',(function(){return t.hide()}))},e._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t.jQueryInterface=function(e){return this.each((function(){var n=O(this,wi);if(n||(n=new t(this,"object"==typeof e&&e)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e](this)}}))},t.getInstance=function(t){return O(t,wi)},r(t,null,[{key:"VERSION",get:function(){return"3.2.2"}},{key:"DefaultType",get:function(){return Ai}},{key:"Default",get:function(){return Si}}]),t}(),Ni=T();if(Ni){var Ii=Ni.fn.toast;Ni.fn.toast=Oi.jQueryInterface,Ni.fn.toast.Constructor=Oi,Ni.fn.toast.noConflict=function(){return Ni.fn.toast=Ii,Oi.jQueryInterface}}return Array.from||(Array.from=(gi=Object.prototype.toString,mi=function(t){return"function"==typeof t||"[object Function]"===gi.call(t)},_i=Math.pow(2,53)-1,vi=function(t){var e=function(t){var e=Number(t);return isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e}(t);return Math.min(Math.max(e,0),_i)},function(t){var e=this,n=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var i,o=arguments.length>1?arguments[1]:void 0;if("undefined"!=typeof o){if(!mi(o))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(i=arguments[2])}for(var r,s=vi(n.length),a=mi(e)?Object(new e(s)):new Array(s),l=0;l<s;)r=n[l],a[l]=o?"undefined"==typeof i?o(r,l):o.call(i,r,l):r,l+=1;return a.length=s,a})),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}),function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}}(),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null==this)throw new TypeError('"this" is null or not defined');var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var i=arguments[1],o=0;o<n;){var r=e[o];if(t.call(i,r,o,e))return r;o++}}}),"function"!=typeof Object.assign&&(Object.assign=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),i=1;i<arguments.length;i++){var o=arguments[i];if(null!=o)for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r])}return n}),yi=function(){function t(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){return e.reject(n)}))}))}var e=setTimeout;function n(t){return Boolean(t&&"undefined"!=typeof t.length)}function i(){}function o(t){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],u(t,this)}function r(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,o._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var i;try{i=n(t._value)}catch(t){return void a(e.promise,t)}s(e.promise,i)}else(1===t._state?s:a)(e.promise,t._value)}))):t._deferreds.push(e)}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof o)return t._state=3,t._value=e,void l(t);if("function"==typeof n)return void u((i=n,r=e,function(){i.apply(r,arguments)}),t)}t._state=1,t._value=e,l(t)}catch(e){a(t,e)}var i,r}function a(t,e){t._state=2,t._value=e,l(t)}function l(t){2===t._state&&0===t._deferreds.length&&o._immediateFn((function(){t._handled||o._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)r(t,t._deferreds[e]);t._deferreds=null}function c(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function u(t,e){var n=!1;try{t((function(t){n||(n=!0,s(e,t))}),(function(t){n||(n=!0,a(e,t))}))}catch(t){if(n)return;n=!0,a(e,t)}}o.prototype.catch=function(t){return this.then(null,t)},o.prototype.then=function(t,e){var n=new this.constructor(i);return r(this,new c(t,e,n)),n},o.prototype.finally=t,o.all=function(t){return new o((function(e,i){if(!n(t))return i(new TypeError("Promise.all accepts an array"));var o=Array.prototype.slice.call(t);if(0===o.length)return e([]);var r=o.length;function s(t,n){try{if(n&&("object"==typeof n||"function"==typeof n)){var a=n.then;if("function"==typeof a)return void a.call(n,(function(e){s(t,e)}),i)}o[t]=n,0==--r&&e(o)}catch(t){i(t)}}for(var a=0;a<o.length;a++)s(a,o[a])}))},o.resolve=function(t){return t&&"object"==typeof t&&t.constructor===o?t:new o((function(e){e(t)}))},o.reject=function(t){return new o((function(e,n){n(t)}))},o.race=function(t){return new o((function(e,i){if(!n(t))return i(new TypeError("Promise.race accepts an array"));for(var r=0,s=t.length;r<s;r++)o.resolve(t[r]).then(e,i)}))},o._immediateFn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){e(t,0)},o._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var f=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}();"Promise"in f?f.Promise.prototype.finally||(f.Promise.prototype.finally=t):f.Promise=o},"object"==typeof exports&&"undefined"!=typeof module?yi():"function"==typeof define&&define.amd?define(yi):yi(),function(){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}"function"==typeof window.CustomEvent||this.CustomEvent.toString().indexOf("CustomEventConstructor")>-1||(t.prototype=window.Event.prototype,window.CustomEvent=t)}(),{AsyncLoad:it,Alert:at,Button:_t,Carousel:Pt,ClassToggler:Vt,Collapse:ie,Dropdown:Ce,Modal:Xe,Popover:An,Scrollspy:Hn,Sidebar:ii,Tab:di,Toast:Oi,Tooltip:_n}}));
  //# sourceMappingURL=coreui.min.js.map
  