/*!

* Mekari UI (https://bitbucket.org/mekariuitoolkit/mekari-ui-toolkit#readme)
* Copyright 2011-2021 Mekari
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/

!function(t,e){“object”==typeof exports&&“undefined”!=typeof module?e(exports,require(“jquery”)):“function”==typeof define&&define.amd?define([“exports”,“jquery”],e):e((t=t||self)[“mekari-ui”]={},t.jQuery)}(this,function(t,e){“use strict”;e=e&&e.hasOwnProperty(“default”)?e.default:e;const n=“transitionend”;function i(t){let n=!1;return e(this).one(o.TRANSITION_END,()=>{n=!0}),setTimeout(()=>{n||o.triggerTransitionEnd(this)},t),this}const o={TRANSITION_END:“bsTransitionEnd”,getUID(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement(t){let e=t.getAttribute(“data-target”);if(!e||“#”===e){const n=t.getAttribute(“href”);e=n&&“#”!==n?n.trim():“”}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement(t){if(!t)return 0;let n=e(t).css(“transition-duration”),i=e(t).css(“transition-delay”);const o=parseFloat(n),s=parseFloat(i);return o||s?(n=n.split(“,”)[0],i=i.split(“,”)[0],1e3*(parseFloat(n)+parseFloat(i))):0},reflow:t=>t.offsetHeight,triggerTransitionEnd(t){e(t).trigger(n)},supportsTransitionEnd:()=>Boolean(n),isElement:t=>(t[0]||t).nodeType,typeCheckConfig(t,e,n){for(const s in n)if(Object.prototype.hasOwnProperty.call(n,s)){const r=n[s],a=e[s],l=a&&o.isElement(a)?“element”:null===(i=a)||“undefined”==typeof i?`${i}`:{}.toString.call(i).match(/s([a-z]+)/i)[1].toLowerCase();if(!new RegExp®.test(l))throw new Error(`${t.toUpperCase()}: `+`Option “${s}” provided type “${l}” `+`but expected type “${r}”.`)}var i},findShadowRoot(t){if(!document.documentElement.attachShadow)return null;if(“function”==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?o.findShadowRoot(t.parentNode):null},jQueryDetection(){if(“undefined”==typeof e)throw new TypeError(“Bootstrap’s JavaScript requires jQuery. jQuery must be included before Bootstrap’s JavaScript.”);const t=e.fn.jquery.split(“ ”)[0].split(“.”);if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error(“Bootstrap’s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0”)}};o.jQueryDetection(),e.fn.emulateTransitionEnd=i,e.event.special[o.TRANSITION_END]={bindType:n,delegateType:n,handle(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};const s=“4.5.2”,r=“bs.alert”,a=`.${r}`,l=e.fn.alert,c=`close${a}`,h=`closed${a}`,d=`click${a}.data-api`,f=“alert”,u=“fade”,p=“show”;class g{constructor(t){this._element=t}static get VERSION(){return s}close(t){let e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)}dispose(){e.removeData(this._element,r),this._element=null}_getRootElement(t){const n=o.getSelectorFromElement(t);let i=!1;return n&&(i=document.querySelector(n)),i||(i=e(t).closest(`.${f}`)[0]),i}_triggerCloseEvent(t){const n=e.Event©;return e(t).trigger(n),n}_removeElement(t){if(e(t).removeClass(p),!e(t).hasClass(u))return void this._destroyElement(t);const n=o.getTransitionDurationFromElement(t);e(t).one(o.TRANSITION_END,e=>this._destroyElement(t,e)).emulateTransitionEnd(n)}_destroyElement(t){e(t).detach().trigger(h).remove()}static _jQueryInterface(t){return this.each(function(){const n=e(this);let i=n.data®;i||(i=new g(this),n.data(r,i)),“close”===t&&i[t](this)})}static _handleDismiss(t){return function(e){e&&e.preventDefault(),t.close(this)}}}e(document).on(d,‘[data-dismiss=“alert”]’,g._handleDismiss(new g)),e.fn.alert=g._jQueryInterface,e.fn.alert.Constructor=g,e.fn.alert.noConflict=()=>(e.fn.alert=l,g._jQueryInterface);const m=“4.5.2”,_=“bs.button”,v=`.${_}`,b=e.fn.button,y=“active”,w=‘[data-toggle=“buttons”]’,E=‘input:not([type=“hidden”])’,T=“.active”,C=`click${v}.data-api`,S=`focus${v}.data-api `+`blur${v}.data-api`,N=`load${v}.data-api`;class D{constructor(t){this._element=t}static get VERSION(){return m}toggle(){let t=!0,n=!0;const i=e(this._element).closest(w)[0];if(i){const o=this._element.querySelector(E);if(o){if(“radio”===o.type)if(o.checked&&this._element.classList.contains(y))t=!1;else{const t=i.querySelector(T);t&&e(t).removeClass(y)}t&&(“checkbox”!==o.type&&“radio”!==o.type||(o.checked=!this._element.classList.contains(y)),e(o).trigger(“change”)),o.focus(),n=!1}}this._element.hasAttribute(“disabled”)||this._element.classList.contains(“disabled”)||(n&&this._element.setAttribute(“aria-pressed”,!this._element.classList.contains(y)),t&&e(this._element).toggleClass(y))}dispose(){e.removeData(this.element,),this._element=null}static _jQueryInterface(t){return this.each(function(){let n=e(this).data(_);n||(n=new D(this),e(this).data(_,n)),“toggle”===t&&n[t]()})}}e(document).on(C,‘[data-toggle^=“button”]’,t=>{let n=t.target;const i=n;if(e(n).hasClass(“btn”)||(n=e(n).closest(“.btn”)[0]),!n||n.hasAttribute(“disabled”)||n.classList.contains(“disabled”))t.preventDefault();else{const o=n.querySelector(E);if(o&&(o.hasAttribute(“disabled”)||o.classList.contains(“disabled”)))return void t.preventDefault();(“LABEL”!==i.tagName||o&&“checkbox”!==o.type)&&D._jQueryInterface.call(e(n),“toggle”)}}).on(S,‘[data-toggle^=“button”]’,t=>{const n=e(t.target).closest(“.btn”)[0];e(n).toggleClass(“focus”,/^focus(in)?$/.test(t.type))}),e(window).on(N,()=>{let t=[].slice.call(document.querySelectorAll(‘[data-toggle=“buttons”] .btn’));for(let e=0,n=t.length;e(e.fn.button=b,D._jQueryInterface);const A=“collapse”,k=“4.5.2”,O=“bs.collapse”,$=`.${O}`,x=e.fn[A],I={toggle:!0,parent:“”},L={toggle:“boolean”,parent:“(string|element)”},j=`show${$}`,F=`shown${$}`,P=`hide${$}`,R=`hidden${$}`,M=`click${$}.data-api`,H=“show”,B=“collapse”,q=“collapsing”,W=“collapsed”,U=“width”,Q=“height”,V=“.show, .collapsing”,Y=‘[data-toggle=“collapse”]’;class K{constructor(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll(`[data-toggle=“collapse”][href=“#${t.id}”],`+`[data-toggle=“collapse”][data-target=“#${t.id}”]`));const n=[].slice.call(document.querySelectorAll(Y));for(let e=0,i=n.length;ee===t);null!==s&&r.length>0&&(this._selector=s,this._triggerArray.push(i))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}static get VERSION(){return k}static get Default(){return I}toggle(){e(this._element).hasClass(H)?this.hide():this.show()}show(){if(this._isTransitioning||e(this._element).hasClass(H))return;let t,n;if(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(V)).filter(t=>“string”==typeof this._config.parent?t.getAttribute(“data-parent”)===this._config.parent:t.classList.contains(B))).length&&(t=null),t&&(n=e(t).not(this._selector).data(O))&&n._isTransitioning)return;const i=e.Event(j);if(e(this._element).trigger(i),i.isDefaultPrevented())return;t&&(K._jQueryInterface.call(e(t).not(this._selector),“hide”),n||e(t).data(O,null));const s=this._getDimension();e(this._element).removeClass(B).addClass(q),this._element.style[s]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(W).attr(“aria-expanded”,!0),this.setTransitioning(!0);const r=`scroll${s[0].toUpperCase()+s.slice(1)}`,a=o.getTransitionDurationFromElement(this._element);e(this._element).one(o.TRANSITION_END,()=>{e(this._element).removeClass(q).addClass(`${B} ${H}`),this._element.style[s]=“”,this.setTransitioning(!1),e(this._element).trigger(F)}).emulateTransitionEnd(a),this._element.style[s]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!e(this._element).hasClass(H))return;const t=e.Event(P);if(e(this._element).trigger(t),t.isDefaultPrevented())return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,o.reflow(this._element),e(this._element).addClass(q).removeClass(`${B} ${H}`);const i=this._triggerArray.length;if(i>0)for(let t=0;t{this.setTransitioning(!1),e(this._element).removeClass(q).addClass(B).trigger(R)}).emulateTransitionEnd(s)}setTransitioning(t){this._isTransitioning=t}dispose(){e.removeData(this._element,O),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null}_getConfig(t){return(t={…I,…t}).toggle=Boolean(t.toggle),o.typeCheckConfig(A,t,L),t}_getDimension(){return e(this._element).hasClass(U)?U:Q}_getParent(){let t;o.isElement(this._config.parent)?(t=this._config.parent,“undefined”!=typeof this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);const n=`[data-toggle=“collapse”][data-parent=“${this._config.parent}”]`,i=[].slice.call(t.querySelectorAll(n));return e(i).each((t,e)=>{this._addAriaAndCollapsedClass(K._getTargetFromElement(e),[e])}),t}_addAriaAndCollapsedClass(t,n){const i=e(t).hasClass(H);n.length&&e(n).toggleClass(W,!i).attr(“aria-expanded”,i)}static _getTargetFromElement(t){const e=o.getSelectorFromElement(t);return e?document.querySelector(e):null}static _jQueryInterface(t){return this.each(function(){const n=e(this);let i=n.data(O);const o={…I,…n.data(),…“object”==typeof t&&t?t:{}};if(!i&&o.toggle&&“string”==typeof t&&/show|hide/.test(t)&&(o.toggle=!1),i||(i=new K(this,o),n.data(O,i)),“string”==typeof t){if(“undefined”==typeof i[t])throw new TypeError(`No method named “${t}”`);i[t]()}})}}e(document).on(M,Y,function(t){“A”===t.currentTarget.tagName&&t.preventDefault();const n=e(this),i=o.getSelectorFromElement(this),s=[].slice.call(document.querySelectorAll(i));e(s).each(function(){const t=e(this),i=t.data(O)?“toggle”:n.data();K._jQueryInterface.call(t,i)})}),e.fn[A]=K._jQueryInterface,e.fn[A].Constructor=K,e.fn[A].noConflict=()=>(e.fn[A]=x,K._jQueryInterface);for(var z=“undefined”!=typeof window&&“undefined”!=typeof document,G=[“Edge”,“Trident”,“Firefox”],J=0,X=0;X=0){J=1;break}var Z=z&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},J))}};function tt(t){return t&&“[object Function]”==={}.toString.call(t)}function et(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function nt(t){return“HTML”===t.nodeName?t:t.parentNode||t.host}function it(t){if(!t)return document.body;switch(t.nodeName){case“HTML”:case“BODY”:return t.ownerDocument.body;case“#document”:return t.body}var e=et(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:it(nt(t))}var ot=z&&!(!window.MSInputMethodContext||!document.documentMode),st=z&&/MSIE 10/.test(navigator.userAgent);function rt(t){return 11===t?ot:10===t?st:ot||st}function at(t){if(!t)return document.documentElement;for(var e=rt(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&“BODY”!==i&&“HTML”!==i?-1!==[“TH”,“TD”,“TABLE”].indexOf(n.nodeName)&&“static”===et(n,“position”)?at(n):n:t?t.ownerDocument.documentElement:document.documentElement}function lt(t){return null!==t.parentNode?lt(t.parentNode):t}function ct(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,s=document.createRange();s.setStart(i,0),s.setEnd(o,0);var r,a,l=s.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return“BODY”===(a=(r=l).nodeName)||“HTML”!==a&&at(r.firstElementChild)!==r?at(l):l;var c=lt(t);return c.host?ct(c.host,e):ct(t,lt(e).host)}function ht(t){var e=“top”===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:“top”)?“scrollTop”:“scrollLeft”,n=t.nodeName;if(“BODY”===n||“HTML”===n){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}return t[e]}function dt(t,e){var n=“x”===e?“Left”:“Top”,i=“Left”===n?“Right”:“Bottom”;return parseFloat(t[“border”n“Width”],10)+parseFloat(t[“border”i“Width”],10)}function ft(t,e,n,i){return Math.max(e[“offset”+t],e[“scroll”+t],n[“client”+t],n[“offset”+t],n[“scroll”+t],rt(10)?parseInt(n[“offset”+t])+parseInt(i[“margin”+(“Height”===t?“Top”:“Left”)])+parseInt(i[“margin”+(“Height”===t?“Bottom”:“Right”)]):0)}function ut(t){var e=t.body,n=t.documentElement,i=rt(10)&&getComputedStyle(n);return{height:ft(“Height”,e,n,i),width:ft(“Width”,e,n,i)}}var pt=function(t,e){if(!(t instanceof e))throw new TypeError(“Cannot call a class as a function”)},gt=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],i=rt(10),o=“HTML”===e.nodeName,s=bt(t),r=bt(e),a=it(t),l=et(e),c=parseFloat(l.borderTopWidth,10),h=parseFloat(l.borderLeftWidth,10);n&&o&&(r.top=Math.max(r.top,0),r.left=Math.max(r.left,0));var d=vt({top:s.top-r.top-c,left:s.left-r.left-h,width:s.width,height:s.height});if(d.marginTop=0,d.marginLeft=0,!i&&o){var f=parseFloat(l.marginTop,10),u=parseFloat(l.marginLeft,10);d.top-=c-f,d.bottom-=c-f,d.left-=h-u,d.right-=h-u,d.marginTop=f,d.marginLeft=u}return(i&&!n?e.contains(a):e===a&&“BODY”!==a.nodeName)&&(d=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=ht(e,“top”),o=ht(e,“left”),s=n?-1:1;return t.top+=i*s,t.bottom+=i*s,t.left+=o*s,t.right+=o*s,t}(d,e)),d}function wt(t){if(!t||!t.parentElement||rt())return document.documentElement;for(var e=t.parentElement;e&&“none”===et(e,“transform”);)e=e.parentElement;return e||document.documentElement}function Et(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},r=o?wt(t):ct(t,e);if(“viewport”===i)s=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=yt(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),s=Math.max(n.clientHeight,window.innerHeight||0),r=e?0:ht(n),a=e?0:ht(n,“left”);return vt({top:r-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:o,height:s})}(r,o);else{var a=void 0;“scrollParent”===i?“BODY”===(a=it(nt(e))).nodeName&&(a=t.ownerDocument.documentElement):a=“window”===i?t.ownerDocument.documentElement:i;var l=yt(a,r,o);if(“HTML”!==a.nodeName||function t(e){var n=e.nodeName;if(“BODY”===n||“HTML”===n)return!1;if(“fixed”===et(e,“position”))return!0;var i=nt(e);return!!i&&t(i)}®)s=l;else{var c=ut(t.ownerDocument),h=c.height,d=c.width;s.top+=l.top-l.marginTop,s.bottom=h+l.top,s.left+=l.left-l.marginLeft,s.right=d+l.left}}var f=“number”==typeof(n=n||0);return s.left+=f?n:n.left||0,s.top+=f?n:n.top||0,s.right-=f?n:n.right||0,s.bottom-=f?n:n.bottom||0,s}function Tt(t,e,n,i,o){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf(“auto”))return t;var r=Et(n,i,s,o),a={top:{width:r.width,height:e.top-r.top},right:{width:r.right-e.right,height:r.height},bottom:{width:r.width,height:r.bottom-e.bottom},left:{width:e.left-r.left,height:r.height}},l=Object.keys(a).map(function(t){return _t({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),h=c.length>0?c[0].key:l[0].key,d=t.split(“-”)[1];return h+(d?“-”+d:“”)}function Ct(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return yt(n,i?wt(e):ct(e,n),i)}function St(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function Nt(t){var e={left:“right”,right:“left”,bottom:“top”,top:“bottom”};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function Dt(t,e,n){n=n.split(“-”)[0];var i=St(t),o={width:i.width,height:i.height},s=-1!==[“right”,“left”].indexOf(n),r=s?“top”:“left”,a=s?“left”:“top”,l=s?“height”:“width”,c=s?“width”:“height”;return o[r]=e[r]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[c]:e[Nt(a)],o}function At(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function kt(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=At(t,function(t){return t[e]===n});return t.indexOf(i)}(t,“name”,n))).forEach(function(t){t.function&&console.warn(“`modifier.function` is deprecated, use `modifier.fn`!”);var n=t.function||t.fn;t.enabled&&tt(n)&&(e.offsets.popper=vt(e.offsets.popper),e.offsets.reference=vt(e.offsets.reference),e=n(e,t))}),e}function Ot(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function $t(t){for(var e=[!1,“ms”,“Webkit”,“Moz”,“O”],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;ie“`”,r=“`”n“`”;console.warn(r+“ modifier is required by ”s“ modifier in order to work, be sure to include it before ”s“!”)}return o}var Mt=[“auto-start”,“auto”,“auto-end”,“top-start”,“top”,“top-end”,“right-start”,“right”,“right-end”,“bottom-end”,“bottom”,“bottom-start”,“left-end”,“left”,“left-start”],Ht=Mt.slice(3);function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Ht.indexOf(t),i=Ht.slice(n+1).concat(Ht.slice(0,n));return e?i.reverse():i}var qt={FLIP:“flip”,CLOCKWISE:“clockwise”,COUNTERCLOCKWISE:“counterclockwise”};function Wt(t,e,n,i){var o=[0,0],s=-1!==[“right”,“left”].indexOf(i),r=t.split(/(+|-)/).map(function(t){return t.trim()}),a=r.indexOf(At(r,function(t){return-1!==t.search(/,|s/)}));r[a]&&-1===r[a].indexOf(“,”)&&console.warn(“Offsets separated by white space(s) are deprecated, use a comma (,) instead.”);var l=/s*,s*|s+/,c=-1!==a?[r.slice(0,a).concat([r[a].split(l)[0]]),[r[a].split(l)[1]].concat(r.slice(a+1))]:[r];return(c=c.map(function(t,i){var o=(1===i?!s:s)?“height”:“width”,r=!1;return t.reduce(function(t,e){return“”===t[t.length-1]&&-1!==[“+”,“-”].indexOf(e)?(t[t.length-1]=e,r=!0,t):r?(t[t.length-1]+=e,r=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var o=t.match(/((?:-|+)?d*.?d*)(.*)/),s=+o[1],r=o[2];if(!s)return t;if(0===r.indexOf(“%”)){var a=void 0;switch®{case“%p”:a=n;break;case“%”:case“%r”:default:a=i}return vt(a)[e]/100*s}if(“vh”===r||“vw”===r){return(“vh”===r?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*s}return s}(t,o,e,n)})})).forEach(function(t,e){t.forEach(function(n,i){jt(n)&&(o[e]+=n*(“-”===t[i-1]?-1:1))})}),o}var Ut={placement:“bottom”,positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split(“-”)[0],i=e.split(“-”)[1];if(i){var o=t.offsets,s=o.reference,r=o.popper,a=-1!==[“bottom”,“top”].indexOf(n),l=a?“left”:“top”,c=a?“width”:“height”,h={start:mt({},l,s[l]),end:mt({},l,s[l]+s[c]-r[c])};t.offsets.popper=_t({},r,h[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,s=o.popper,r=o.reference,a=i.split(“-”)[0],l=void 0;return l=jt(+n)?[+n,0]:Wt(n,s,r,a),“left”===a?(s.top+=l[0],s.left-=l[1]):“right”===a?(s.top+=l[0],s.left+=l[1]):“top”===a?(s.left+=l[0],s.top-=l[1]):“bottom”===a&&(s.left+=l[0],s.top+=l[1]),t.popper=s,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||at(t.instance.popper);t.instance.reference===n&&(n=at(n));var i=$t(“transform”),o=t.instance.popper.style,s=o.top,r=o.left,a=o[i];o.top=“”,o.left=“”,o[i]=“”;var l=Et(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=s,o.left=r,o[i]=a,e.boundaries=l;var c=e.priority,h=t.offsets.popper,d={primary:function(t){var n=h[t];return h[t]l[t]&&!e.escapeWithReference&&(i=Math.min(h[n],l[t]-(“right”===t?h.width:h.height))),mt({},n,i)}};return c.forEach(function(t){var e=-1!==[“left”,“top”].indexOf(t)?“primary”:“secondary”;h=_t({},h,d[e](t))}),t.offsets.popper=h,t},priority:[“left”,“right”,“top”,“bottom”],padding:5,boundariesElement:“scrollParent”},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split(“-”)[0],s=Math.floor,r=-1!==[“top”,“bottom”].indexOf(o),a=r?“right”:“bottom”,l=r?“left”:“top”,c=r?“width”:“height”;return n[a]s(i[a])&&(t.offsets.popper[l]=s(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!Rt(t.instance.modifiers,“arrow”,“keepTogether”))return t;var i=e.element;if(“string”==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn(“WARNING: `arrow.element` must be child of its popper element!”),t;var o=t.placement.split(“-”)[0],s=t.offsets,r=s.popper,a=s.reference,l=-1!==[“left”,“right”].indexOf(o),c=l?“height”:“width”,h=l?“Top”:“Left”,d=h.toLowerCase(),f=l?“left”:“top”,u=l?“bottom”:“right”,p=St(i)[c];a[u]-pr[u]&&(t.offsets.popper[d]+=a[d]+p-r[u]),t.offsets.popper=vt(t.offsets.popper);var g=a[d]+a[c]/2-p/2,m=et(t.instance.popper),_=parseFloat(m[“margin”+h],10),v=parseFloat(m[“border”h“Width”],10),b=g-t.offsets.popper[d]-_-v;return b=Math.max(Math.min(r[c]-p,b),0),t.arrowElement=i,t.offsets.arrow=(mt(n={},d,Math.round(b)),mt(n,f,“”),n),t},element:“[x-arrow]”},flip:{order:600,enabled:!0,fn:function(t,e){if(Ot(t.instance.modifiers,“inner”))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=Et(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split(“-”)[0],o=Nt(i),s=t.placement.split(“-”)[1]||“”,r=[];switch(e.behavior){case qt.FLIP:r=[i,o];break;case qt.CLOCKWISE:r=Bt(i);break;case qt.COUNTERCLOCKWISE:r=Bt(i,!0);break;default:r=e.behavior}return r.forEach(function(a,l){if(i!==a||r.length===l+1)return t;i=t.placement.split(“-”)[0],o=Nt(i);var c=t.offsets.popper,h=t.offsets.reference,d=Math.floor,f=“left”===i&&d(c.right)>d(h.left)||“right”===i&&d(c.left)d(h.top)||“bottom”===i&&d(c.top)d(n.right),g=d(c.top)d(n.bottom),_=“left”===i&&u||“right”===i&&p||“top”===i&&g||“bottom”===i&&m,v=-1!==[“top”,“bottom”].indexOf(i),b=!!e.flipVariations&&(v&&“start”===s&&u||v&&“end”===s&&p||!v&&“start”===s&&g||!v&&“end”===s&&m),y=!!e.flipVariationsByContent&&(v&&“start”===s&&p||v&&“end”===s&&u||!v&&“start”===s&&m||!v&&“end”===s&&g),w=b||y;(f||_||w)&&(t.flipped=!0,(f||_)&&(i=r[l+1]),w&&(s=function(t){return“end”===t?“start”:“start”===t?“end”:t}(s)),t.placement=i+(s?“-”+s:“”),t.offsets.popper=_t({},t.offsets.popper,Dt(t.instance.popper,t.offsets.reference,t.placement)),t=kt(t.instance.modifiers,t,“flip”))}),t},behavior:“flip”,padding:5,boundariesElement:“viewport”,flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split(“-”)[0],i=t.offsets,o=i.popper,s=i.reference,r=-1!==[“left”,“right”].indexOf(n),a=-1===[“top”,“left”].indexOf(n);return o[r?“left”:“top”]=s[n]-(a?o[r?“width”:“height”]:0),t.placement=Nt(e),t.offsets.popper=vt(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Rt(t.instance.modifiers,“hide”,“preventOverflow”))return t;var e=t.offsets.reference,n=At(t.instance.modifiers,function(t){return“preventOverflow”===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.rightp“px, ”g“px, 0)”,c[d]=0,c[f]=0,c.willChange=“transform”;else{var m=“bottom”===d?-1:1,_=“right”===f?-1:1;c[d]=g*m,c[f]=p*_,c.willChange=d+“, ”+f}var v={“x-placement”:t.placement};return t.attributes=_t({},v,t.attributes),t.styles=_t({},c,t.styles),t.arrowStyles=_t({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:“bottom”,y:“right”},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return Ft(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&Ft(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,o){var s=Ct(o,e,t,n.positionFixed),r=Tt(n.placement,s,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute(“x-placement”,r),Ft(e,{position:n.positionFixed?“fixed”:“absolute”}),n},gpuAcceleration:void 0}}},Qt=function(){function t(e,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};pt(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Z(this.update.bind(this)),this.options=_t({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(_t({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){i.options.modifiers[e]=_t({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return _t({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&tt(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return gt(t,[{key:“update”,value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=Ct(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=Tt(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=Dt(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?“fixed”:“absolute”,t=kt(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:“destroy”,value:function(){return function(){return this.state.isDestroyed=!0,Ot(this.modifiers,“applyStyle”)&&(this.popper.removeAttribute(“x-placement”),this.popper.style.position=“”,this.popper.style.top=“”,this.popper.style.left=“”,this.popper.style.right=“”,this.popper.style.bottom=“”,this.popper.style.willChange=“”,this.popper.style[$t(“transform”)]=“”),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:“enableEventListeners”,value:function(){return function(){this.state.eventsEnabled||(this.state=It(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:“disableEventListeners”,value:function(){return Lt.call(this)}}]),t}();Qt.Utils=(“undefined”!=typeof window?window:global).PopperUtils,Qt.placements=Mt,Qt.Defaults=Ut;const Vt=“dropdown”,Yt=“4.5.2”,Kt=“bs.dropdown”,zt=`.${Kt}`,Gt=e.fn[Vt],Jt=27,Xt=32,Zt=9,te=38,ee=40,ne=3,ie=new RegExp(`${te}|${ee}|${Jt}`),oe=`hide${zt}`,se=`hidden${zt}`,re=`show${zt}`,ae=`shown${zt}`,le=`click${zt}`,ce=`click${zt}.data-api`,he=`keydown${zt}.data-api`,de=`keyup${zt}.data-api`,fe=“disabled”,ue=“show”,pe=“dropup”,ge=“dropright”,me=“dropleft”,_e=“dropdown-menu-right”,ve=“position-static”,be=‘[data-toggle=“dropdown”]’,ye=“.dropdown-menu”,we=“.navbar-nav”,Ee=“.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)”,Te=“top-start”,Ce=“top-end”,Se=“bottom-start”,Ne=“bottom-end”,De=“right-start”,Ae=“left-start”,ke={offset:0,flip:!0,boundary:“scrollParent”,reference:“toggle”,display:“dynamic”,popperConfig:null},Oe={offset:“(number|string|function)”,flip:“boolean”,boundary:“(string|element)”,reference:“(string|element)”,display:“string”,popperConfig:“(null|object)”};class $e{constructor(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}static get VERSION(){return Yt}static get Default(){return ke}static get DefaultType(){return Oe}toggle(){if(this._element.disabled||e(this._element).hasClass(fe))return;const t=e(this._menu).hasClass(ue);$e._clearMenus(),t||this.show(!0)}show(t=!1){if(this._element.disabled||e(this._element).hasClass(fe)||e(this._menu).hasClass(ue))return;const n={relatedTarget:this._element},i=e.Event(re,n),s=$e._getParentFromElement(this._element);if(e(s).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar&&t){if(“undefined”==typeof Qt)throw new TypeError(“Bootstrap’s dropdowns require Popper.js (https://popper.js.org/)”);let t=this._element;“parent”===this._config.reference?t=s:o.isElement(this._config.reference)&&(t=this._config.reference,“undefined”!=typeof this._config.reference.jquery&&(t=this._config.reference[0])),“scrollParent”!==this._config.boundary&&e(s).addClass(ve),this._popper=new Qt(t,this._menu,this._getPopperConfig())}“ontouchstart”in document.documentElement&&0===e(s).closest(we).length&&e(document.body).children().on(“mouseover”,null,e.noop),this._element.focus(),this._element.setAttribute(“aria-expanded”,!0),e(this._menu).toggleClass(ue),e(s).toggleClass(ue).trigger(e.Event(ae,n))}}hide(){if(this._element.disabled||e(this._element).hasClass(fe)||!e(this._menu).hasClass(ue))return;const t={relatedTarget:this._element},n=e.Event(oe,t),i=$e._getParentFromElement(this._element);e(i).trigger(n),n.isDefaultPrevented()||(this._popper&&this._popper.destroy(),e(this._menu).toggleClass(ue),e(i).toggleClass(ue).trigger(e.Event(se,t)))}dispose(){e.removeData(this._element,Kt),e(this._element).off(zt),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)}update(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()}_addEventListeners(){e(this._element).on(le,t=>{t.preventDefault(),t.stopPropagation(),this.toggle()})}_getConfig(t){return t={…this.constructor.Default,…e(this._element).data(),…t},o.typeCheckConfig(Vt,t,this.constructor.DefaultType),t}_getMenuElement(){if(!this._menu){const t=$e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(ye))}return this._menu}_getPlacement(){const t=e(this._element.parentNode);let n=Se;return t.hasClass(pe)?n=e(this._menu).hasClass(_e)?Ce:Te:t.hasClass(ge)?n=De:t.hasClass(me)?n=Ae:e(this._menu).hasClass(_e)&&(n=Ne),n}_detectNavbar(){return e(this._element).closest(“.navbar”).length>0}_getOffset(){const t={};return“function”==typeof this._config.offset?t.fn=t=>(t.offsets={…t.offsets,…this._config.offset(t.offsets,this._element)||{}},t):t.offset=this._config.offset,t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return“static”===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),{…t,…this._config.popperConfig}}static _jQueryInterface(t){return this.each(function(){let n=e(this).data(Kt);if(n||(n=new $e(this,“object”==typeof t?t:null),e(this).data(Kt,n)),“string”==typeof t){if(“undefined”==typeof n[t])throw new TypeError(`No method named “${t}”`);n[t]()}})}static _clearMenus(t){if(t&&(t.which===ne||“keyup”===t.type&&t.which!==Zt))return;const n=[].slice.call(document.querySelectorAll(be));for(let i=0,o=n.length;ie(t).is(“:visible”));if(0===o.length)return;let s=o.indexOf(t.target);t.which===te&&s>0&&s–,t.which===ee&&s{t.stopPropagation()}),e.fn[Vt]=$e._jQueryInterface,e.fn[Vt].Constructor=$e,e.fn[Vt].noConflict=()=>(e.fn[Vt]=Gt,$e._jQueryInterface);const xe=“modal”,Ie=“4.5.2”,Le=“bs.modal”,je=`.${Le}`,Fe=e.fn[xe],Pe=27,Re={backdrop:!0,keyboard:!0,focus:!0,show:!0},Me={backdrop:“(boolean|string)”,keyboard:“boolean”,focus:“boolean”,show:“boolean”},He=`hide${je}`,Be=`hidePrevented${je}`,qe=`hidden${je}`,We=`show${je}`,Ue=`shown${je}`,Qe=`focusin${je}`,Ve=`resize${je}`,Ye=`click.dismiss${je}`,Ke=`keydown.dismiss${je}`,ze=`mouseup.dismiss${je}`,Ge=`mousedown.dismiss${je}`,Je=`click${je}.data-api`,Xe=“modal-dialog-scrollable”,Ze=“modal-scrollbar-measure”,tn=“modal-backdrop”,en=“modal-open”,nn=“fade”,on=“show”,sn=“modal-static”,rn=“.modal-dialog”,an=“.modal-body”,ln=‘[data-dismiss=“modal”]’,cn=“.fixed-top, .fixed-bottom, .is-fixed, .sticky-top”,hn=“.sticky-top”;class dn{constructor(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(rn),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}static get VERSION(){return Ie}static get Default(){return Re}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;e(this._element).hasClass(nn)&&(this._isTransitioning=!0);const n=e.Event(We,{relatedTarget:t});e(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),e(this._element).on(Ye,ln,t=>this.hide(t)),e(this._dialog).on(Ge,()=>{e(this._element).one(ze,t=>{e(t.target).is(this._element)&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(t)))}hide(t){if(t&&t.preventDefault(),!this._isShown||this._isTransitioning)return;const n=e.Event(He);if(e(this._element).trigger(n),!this._isShown||n.isDefaultPrevented())return;this._isShown=!1;const i=e(this._element).hasClass(nn);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),e(document).off(Qe),e(this._element).removeClass(on),e(this._element).off(Ye),e(this._dialog).off(Ge),i){const t=o.getTransitionDurationFromElement(this._element);e(this._element).one(o.TRANSITION_END,t=>this._hideModal(t)).emulateTransitionEnd(t)}else this._hideModal()}dispose(){[window,this._element,this._dialog].forEach(t=>e(t).off(je)),e(document).off(Qe),e.removeData(this._element,Le),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}handleUpdate(){this._adjustDialog()}_getConfig(t){return t={…Re,…t},o.typeCheckConfig(xe,t,Me),t}_triggerBackdropTransition(){if(“static”===this._config.backdrop){const t=e.Event(Be);if(e(this._element).trigger(t),t.defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight;n||(this._element.style.overflowY=“hidden”),this._element.classList.add(sn);const i=o.getTransitionDurationFromElement(this._dialog);e(this._element).off(o.TRANSITION_END),e(this._element).one(o.TRANSITION_END,()=>{this._element.classList.remove(sn),n||e(this._element).one(o.TRANSITION_END,()=>{this._element.style.overflowY=“”}).emulateTransitionEnd(this._element,i)}).emulateTransitionEnd(i),this._element.focus()}else this.hide()}_showElement(t){const n=e(this._element).hasClass(nn),i=this._dialog?this._dialog.querySelector(an):null;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”),e(this._dialog).hasClass(Xe)&&i?i.scrollTop=0:this._element.scrollTop=0,n&&o.reflow(this._element),e(this._element).addClass(on),this._config.focus&&this._enforceFocus();const s=e.Event(Ue,{relatedTarget:t}),r=()=>{this._config.focus&&this._element.focus(),this._isTransitioning=!1,e(this._element).trigger(s)};if(n){const t=o.getTransitionDurationFromElement(this._dialog);e(this._dialog).one(o.TRANSITION_END,r).emulateTransitionEnd(t)}else r()}_enforceFocus(){e(document).off(Qe).on(Qe,t=>{document!==t.target&&this._element!==t.target&&0===e(this._element).has(t.target).length&&this._element.focus()})}_setEscapeEvent(){this._isShown?e(this._element).on(Ke,t=>{this._config.keyboard&&t.which===Pe?(t.preventDefault(),this.hide()):this._config.keyboard||t.which!==Pe||this._triggerBackdropTransition()}):this._isShown||e(this._element).off(Ke)}_setResizeEvent(){this._isShown?e(window).on(Ve,t=>this.handleUpdate(t)):e(window).off(Ve)}_hideModal(){this._element.style.display=“none”,this._element.setAttribute(“aria-hidden”,!0),this._element.removeAttribute(“aria-modal”),this._element.removeAttribute(“role”),this._isTransitioning=!1,this._showBackdrop(()=>{e(document.body).removeClass(en),this._resetAdjustments(),this._resetScrollbar(),e(this._element).trigger(qe)})}_removeBackdrop(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)}_showBackdrop(t){const n=e(this._element).hasClass(nn)?nn:“”;if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement(“div”),this._backdrop.className=tn,n&&this._backdrop.classList.add(n),e(this._backdrop).appendTo(document.body),e(this._element).on(Ye,t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&this._triggerBackdropTransition()}),n&&o.reflow(this._backdrop),e(this._backdrop).addClass(on),!t)return;if(!n)return void t();const i=o.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(o.TRANSITION_END,t).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass(on);const n=()=>{this._removeBackdrop(),t&&t()};if(e(this._element).hasClass(nn)){const t=o.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(o.TRANSITION_END,n).emulateTransitionEnd(t)}else n()}else t&&t()}_adjustDialog(){const 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`)}_resetAdjustments(){this._element.style.paddingLeft=“”,this._element.style.paddingRight=“”}_checkScrollbar(){const t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right){const i=n.style.paddingRight,o=e(n).css(“padding-right”);e(n).data(“padding-right”,i).css(“padding-right”,`${parseFloat(o)+this._scrollbarWidth}px`)}),e(n).each((t,n)=>{const i=n.style.marginRight,o=e(n).css(“margin-right”);e(n).data(“margin-right”,i).css(“margin-right”,`${parseFloat(o)-this._scrollbarWidth}px`)});const i=document.body.style.paddingRight,o=e(document.body).css(“padding-right”);e(document.body).data(“padding-right”,i).css(“padding-right”,`${parseFloat(o)+this._scrollbarWidth}px`)}e(document.body).addClass(en)}_resetScrollbar(){const t=[].slice.call(document.querySelectorAll(cn));e(t).each((t,n)=>{const i=e(n).data(“padding-right”);e(n).removeData(“padding-right”),n.style.paddingRight=i||“”});const n=[].slice.call(document.querySelectorAll(`${hn}`));e(n).each((t,n)=>{const i=e(n).data(“margin-right”);“undefined”!=typeof i&&e(n).css(“margin-right”,i).removeData(“margin-right”)});const i=e(document.body).data(“padding-right”);e(document.body).removeData(“padding-right”),document.body.style.paddingRight=i||“”}_getScrollbarWidth(){const t=document.createElement(“div”);t.className=Ze,document.body.appendChild(t);const e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e}static _jQueryInterface(t,n){return this.each(function(){let i=e(this).data(Le);const o={…Re,…e(this).data(),…“object”==typeof t&&t?t:{}};if(i||(i=new dn(this,o),e(this).data(Le,i)),“string”==typeof t){if(“undefined”==typeof i[t])throw new TypeError(`No method named “${t}”`);i[t](n)}else o.show&&i.show(n)})}}e(document).on(Je,‘[data-toggle=“modal”]’,function(t){let n;const i=o.getSelectorFromElement(this);i&&(n=document.querySelector(i));const s=e(n).data(Le)?“toggle”:{…e(n).data(),…e(this).data()};“A”!==this.tagName&&“AREA”!==this.tagName||t.preventDefault();const r=e(n).one(We,t=>{t.isDefaultPrevented()||r.one(qe,()=>{e(this).is(“:visible”)&&this.focus()})});dn._jQueryInterface.call(e(n),s,this)}),e.fn[xe]=dn._jQueryInterface,e.fn[xe].Constructor=dn,e.fn[xe].noConflict=()=>(e.fn[xe]=Fe,dn._jQueryInterface);const fn=[“background”,“cite”,“href”,“itemtype”,“longdesc”,“poster”,“src”,“xlink:href”],un={“*”:[“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:[]},pn=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,gn=/^data:(?:image/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video/(?:mpeg|mp4|ogg|webm)|audio/(?:mp3|oga|ogg|opus));base64,[d+/a-z]+=*$/i;function mn(t,e){const n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===fn.indexOf(n)||Boolean(t.nodeValue.match(pn)||t.nodeValue.match(gn));const i=e.filter(t=>t instanceof RegExp);for(let t=0,e=i.length;t{mn(t,a)||n.removeAttribute(t.nodeName)})}return i.body.innerHTML}const vn=“tooltip”,bn=“4.5.2”,yn=“bs.tooltip”,wn=`.${yn}`,En=e.fn[vn],Tn=“bs-tooltip”,Cn=new RegExp(`(^|\s)${Tn}\S+`,“g”),Sn=[“sanitize”,“whiteList”,“sanitizeFn”],Nn={animation:“boolean”,template:“string”,title:“(string|element|function)”,trigger:“string”,delay:“(number|object)”,html:“boolean”,selector:“(string|boolean)”,placement:“(string|function)”,offset:“(number|string|function)”,container:“(string|element|boolean)”,fallbackPlacement:“(string|array)”,boundary:“(string|element)”,sanitize:“boolean”,sanitizeFn:“(null|function)”,whiteList:“object”,popperConfig:“(null|object)”},Dn={AUTO:“auto”,TOP:“top”,RIGHT:“right”,BOTTOM:“bottom”,LEFT:“left”},An={animation:!0,template:‘

’,trigger:“hover focus”,title:“”,delay:0,html:!1,selector:!1,placement:“top”,offset:0,container:!1,fallbackPlacement:“flip”,boundary:“scrollParent”,sanitize:!0,sanitizeFn:null,whiteList:un,popperConfig:null},kn=“show”,On=“out”,$n={HIDE:`hide${wn}`,HIDDEN:`hidden${wn}`,SHOW:`show${wn}`,SHOWN:`shown${wn}`,INSERTED:`inserted${wn}`,CLICK:`click${wn}`,FOCUSIN:`focusin${wn}`,FOCUSOUT:`focusout${wn}`,MOUSEENTER:`mouseenter${wn}`,MOUSELEAVE:`mouseleave${wn}`},xn=“fade”,In=“show”,Ln=“.tooltip-inner”,jn=“.arrow”,Fn=“hover”,Pn=“focus”,Rn=“click”,Mn=“manual”;class Hn{constructor(t,e){if(“undefined”==typeof Qt)throw new TypeError(“Bootstrap’s tooltips require Popper.js (https://popper.js.org/)”);this._isEnabled=!0,this._timeout=0,this._hoverState=“”,this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}static get VERSION(){return bn}static get Default(){return An}static get NAME(){return vn}static get DATA_KEY(){return yn}static get Event(){return $n}static get EVENT_KEY(){return wn}static get DefaultType(){return Nn}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const n=this.constructor.DATA_KEY;let i=e(t.currentTarget).data(n);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(e(this.getTipElement()).hasClass(In))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(“.modal”).off(“hide.bs.modal”,this._hideModalHandler),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null}show(){if(“none”===e(this.element).css(“display”))throw new Error(“Please use show on visible elements”);const t=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(t);const n=o.findShadowRoot(this.element),i=e.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!i)return;const s=this.getTipElement(),r=o.getUID(this.constructor.NAME);s.setAttribute(“id”,r),this.element.setAttribute(“aria-describedby”,r),this.setContent(),this.config.animation&&e(s).addClass(xn);const a=“function”==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,l=this._getAttachment(a);this.addAttachmentClass(l);const c=this._getContainer();e(s).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(s).appendTo©,e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new Qt(this.element,s,this._getPopperConfig(l)),e(s).addClass(In),“ontouchstart”in document.documentElement&&e(document.body).children().on(“mouseover”,null,e.noop);const h=()=>{this.config.animation&&this._fixTransition();const t=this._hoverState;this._hoverState=null,e(this.element).trigger(this.constructor.Event.SHOWN),t===On&&this._leave(null,this)};if(e(this.tip).hasClass(xn)){const t=o.getTransitionDurationFromElement(this.tip);e(this.tip).one(o.TRANSITION_END,h).emulateTransitionEnd(t)}else h()}}hide(t){const n=this.getTipElement(),i=e.Event(this.constructor.Event.HIDE),s=()=>{this._hoverState!==kn&&n.parentNode&&n.parentNode.removeChild(n),this._cleanTipClass(),this.element.removeAttribute(“aria-describedby”),e(this.element).trigger(this.constructor.Event.HIDDEN),null!==this._popper&&this._popper.destroy(),t&&t()};if(e(this.element).trigger(i),!i.isDefaultPrevented()){if(e(n).removeClass(In),“ontouchstart”in document.documentElement&&e(document.body).children().off(“mouseover”,null,e.noop),this._activeTrigger[Rn]=!1,this._activeTrigger[Pn]=!1,this._activeTrigger[Fn]=!1,e(this.tip).hasClass(xn)){const t=o.getTransitionDurationFromElement(n);e(n).one(o.TRANSITION_END,s).emulateTransitionEnd(t)}else s();this._hoverState=“”}}update(){null!==this._popper&&this._popper.scheduleUpdate()}isWithContent(){return Boolean(this.getTitle())}addAttachmentClass(t){e(this.getTipElement()).addClass(`${Tn}-${t}`)}getTipElement(){return this.tip=this.tip||e(this.config.template)[0],this.tip}setContent(){const t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(Ln)),this.getTitle()),e(t).removeClass(`${xn} ${In}`)}setElementContent(t,n){“object”!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=_n(n,this.config.whiteList,this.config.sanitizeFn)),t.html(n)):t.text(n):this.config.html?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text())}getTitle(){let 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}_getPopperConfig(t){return{…{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:jn},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:t=>{t.originalPlacement!==t.placement&&this._handlePopperPlacementChange(t)},onUpdate:t=>this._handlePopperPlacementChange(t)},…this.config.popperConfig}}_getOffset(){const t={};return“function”==typeof this.config.offset?t.fn=t=>(t.offsets={…t.offsets,…this.config.offset(t.offsets,this.element)||{}},t):t.offset=this.config.offset,t}_getContainer(){return!1===this.config.container?document.body:o.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)}_getAttachment(t){return Dn[t.toUpperCase()]}_setListeners(){this.config.trigger.split(“ ”).forEach(t=>{if(“click”===t)e(this.element).on(this.constructor.Event.CLICK,this.config.selector,t=>this.toggle(t));else if(t!==Mn){const n=t===Fn?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=t===Fn?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;e(this.element).on(n,this.config.selector,t=>this._enter(t)).on(i,this.config.selector,t=>this._leave(t))}}),this._hideModalHandler=()=>{this.element&&this.hide()},e(this.element).closest(“.modal”).on(“hide.bs.modal”,this._hideModalHandler),this.config.selector?this.config={…this.config,trigger:“manual”,selector:“”}:this._fixTitle()}_fixTitle(){const 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”,“”))}_enter(t,n){const i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger[“focusin”===t.type?Pn:Fn]=!0),e(n.getTipElement()).hasClass(In)||n._hoverState===kn?n._hoverState=kn:(clearTimeout(n._timeout),n._hoverState=kn,n.config.delay&&n.config.delay.show?n._timeout=setTimeout(()=>{n._hoverState===kn&&n.show()},n.config.delay.show):n.show())}_leave(t,n){const i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger[“focusout”===t.type?Pn:Fn]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=On,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout(()=>{n._hoverState===On&&n.hide()},n.config.delay.hide):n.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const n=e(this.element).data();return Object.keys(n).forEach(t=>{-1!==Sn.indexOf(t)&&delete n[t]}),“number”==typeof(t={…this.constructor.Default,…n,…“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()),o.typeCheckConfig(vn,t,this.constructor.DefaultType),t.sanitize&&(t.template=_n(t.template,t.whiteList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};if(this.config)for(const e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t}_cleanTipClass(){const t=e(this.getTipElement()),n=t.attr(“class”).match(Cn);null!==n&&n.length&&t.removeClass(n.join(“”))}_handlePopperPlacementChange(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))}_fixTransition(){const t=this.getTipElement(),n=this.config.animation;null===t.getAttribute(“x-placement”)&&(e(t).removeClass(xn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)}static _jQueryInterface(t){return this.each(function(){let n=e(this).data(yn);const i=“object”==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new Hn(this,i),e(this).data(yn,n)),“string”==typeof t)){if(“undefined”==typeof n[t])throw new TypeError(`No method named “${t}”`);n[t]()}})}}e.fn[vn]=Hn._jQueryInterface,e.fn[vn].Constructor=Hn,e.fn[vn].noConflict=()=>(e.fn[vn]=En,Hn._jQueryInterface);const Bn=“popover”,qn=“4.5.2”,Wn=“bs.popover”,Un=`.${Wn}`,Qn=e.fn[Bn],Vn=“bs-popover”,Yn=new RegExp(`(^|\s)${Vn}\S+`,“g”),Kn={…Hn.Default,placement:“right”,trigger:“click”,content:“”,template:‘’},zn={…Hn.DefaultType,content:“(string|element|function)”},Gn=“fade”,Jn=“show”,Xn=“.popover-header”,Zn=“.popover-body”,ti={HIDE:`hide${Un}`,HIDDEN:`hidden${Un}`,SHOW:`show${Un}`,SHOWN:`shown${Un}`,INSERTED:`inserted${Un}`,CLICK:`click${Un}`,FOCUSIN:`focusin${Un}`,FOCUSOUT:`focusout${Un}`,MOUSEENTER:`mouseenter${Un}`,MOUSELEAVE:`mouseleave${Un}`};class ei extends Hn{static get VERSION(){return qn}static get Default(){return Kn}static get NAME(){return Bn}static get DATA_KEY(){return Wn}static get Event(){return ti}static get EVENT_KEY(){return Un}static get DefaultType(){return zn}isWithContent(){return this.getTitle()||this._getContent()}addAttachmentClass(t){e(this.getTipElement()).addClass(`${Vn}-${t}`)}getTipElement(){return this.tip=this.tip||e(this.config.template)[0],this.tip}setContent(){const t=e(this.getTipElement());this.setElementContent(t.find(Xn),this.getTitle());let n=this._getContent();“function”==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(Zn),n),t.removeClass(`${Gn} ${Jn}`)}_getContent(){return this.element.getAttribute(“data-content”)||this.config.content}_cleanTipClass(){const t=e(this.getTipElement()),n=t.attr(“class”).match(Yn);null!==n&&n.length>0&&t.removeClass(n.join(“”))}static _jQueryInterface(t){return this.each(function(){let n=e(this).data(Wn);const i=“object”==typeof t?t:null;if((n||!/dispose|hide/.test(t))&&(n||(n=new ei(this,i),e(this).data(Wn,n)),“string”==typeof t)){if(“undefined”==typeof n[t])throw new TypeError(`No method named “${t}”`);n[t]()}})}}e.fn[Bn]=ei._jQueryInterface,e.fn[Bn].Constructor=ei,e.fn[Bn].noConflict=()=>(e.fn[Bn]=Qn,ei._jQueryInterface);const ni=“scrollspy”,ii=“4.5.2”,oi=“bs.scrollspy”,si=`.${oi}`,ri=e.fn[ni],ai={offset:10,method:“auto”,target:“”},li={offset:“number”,method:“string”,target:“(string|element)”},ci=`activate${si}`,hi=`scroll${si}`,di=`load${si}.data-api`,fi=“dropdown-item”,ui=“active”,pi=“.nav, .list-group”,gi=“.nav-link”,mi=“.nav-item”,_i=“.list-group-item”,vi=“.dropdown”,bi=“.dropdown-item”,yi=“.dropdown-toggle”,wi=“offset”,Ei=“position”;class Ti{constructor(t,n){this._element=t,this._scrollElement=“BODY”===t.tagName?window:t,this._config=this._getConfig(n),this._selector=`${this._config.target} ${gi},`+`${this._config.target} ${_i},`+`${this._config.target} ${bi}`,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(hi,t=>this._process(t)),this.refresh(),this._process()}static get VERSION(){return ii}static get Default(){return ai}refresh(){const t=this._scrollElement===this._scrollElement.window?wi:Ei,n=“auto”===this._config.method?t:this._config.method,i=n===Ei?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(t=>{let s;const r=o.getSelectorFromElement(t);if(r&&(s=document.querySelector®),s){const t=s.getBoundingClientRect();if(t.width||t.height)return[e(s)[n]().top+i,r]}return null}).filter(t=>t).sort((t,e)=>t[0]-e[0]).forEach(t=>{this._offsets.push(t[0]),this._targets.push(t[1])})}dispose(){e.removeData(this._element,oi),e(this._scrollElement).off(si),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null}_getConfig(t){if(“string”!=typeof(t={…ai,…“object”==typeof t&&t?t:{}}).target&&o.isElement(t.target)){let n=e(t.target).attr(“id”);n||(n=o.getUID(ni),e(t.target).attr(“id”,n)),t.target=`#${n}`}return o.typeCheckConfig(ni,t,li),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e–;){this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(“undefined”==typeof this._offsets[e+1]||t`${e}[data-target=“${t}”],$e`),i=e([].slice.call(document.querySelectorAll(n.join(“,”))));i.hasClass(fi)?(i.closest(vi).find(yi).addClass(ui),i.addClass(ui)):(i.addClass(ui),i.parents(pi).prev(`${gi}, ${_i}`).addClass(ui),i.parents(pi).prev(mi).children(gi).addClass(ui)),e(this._scrollElement).trigger(ci,{relatedTarget:t})}_clear(){[].slice.call(document.querySelectorAll(this._selector)).filter(t=>t.classList.contains(ui)).forEach(t=>t.classList.remove(ui))}static _jQueryInterface(t){return this.each(function(){let n=e(this).data(oi);if(n||(n=new Ti(this,“object”==typeof t&&t),e(this).data(oi,n)),“string”==typeof t){if(“undefined”==typeof n)throw new TypeError(`No method named “${t}”`);n()}})}}e(window).on(di,()=>{const t=[].slice.call(document.querySelectorAll(‘'));for(let n=t.length;n–;){const i=e(t);Ti._jQueryInterface.call(i,i.data())}}),e.fn=Ti._jQueryInterface,e.fn.Constructor=Ti,e.fn.noConflict=()=>(e.fn=ri,Ti._jQueryInterface);const Ci=“4.5.2”,Si=“bs.tab”,Ni=`.${Si}`,Di=e.fn.tab,Ai=`hide${Ni}`,ki=`hidden${Ni}`,Oi=`show${Ni}`,$i=`shown${Ni}`,xi=`click${Ni}.data-api`,Ii=“dropdown-menu”,Li=“active”,ji=“disabled”,Fi=“fade”,Pi=“show”,Ri=“.dropdown”,Mi=“.nav, .list-group”,Hi=“.active”,Bi=“> li > .active”,qi=“.dropdown-toggle”,Wi=“> .dropdown-menu .active”;class Ui{constructor(t){this._element=t}static get VERSION(){return Ci}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass(Li)||e(this._element).hasClass(ji))return;let t,n;const i=e(this._element).closest(Mi),s=o.getSelectorFromElement(this._element);if(i){const t=“UL”===i.nodeName||“OL”===i.nodeName?Bi:Hi;n=(n=e.makeArray(e(i).find(t)))}const r=e.Event(Ai,{relatedTarget:this._element}),a=e.Event(Oi,{relatedTarget:n});if(n&&e(n).trigger®,e(this._element).trigger(a),a.isDefaultPrevented()||r.isDefaultPrevented())return;s&&(t=document.querySelector(s)),this._activate(this._element,i);const l=()=>{const t=e.Event(ki,{relatedTarget:this._element}),i=e.Event($i,{relatedTarget:n});e(n).trigger(t),e(this._element).trigger(i)};t?this._activate(t,t.parentNode,l):l()}dispose(){e.removeData(this._element,Si),this._element=null}_activate(t,n,i){const s=(!n||“UL”!==n.nodeName&&“OL”!==n.nodeName?e(n).children(Hi):e(n).find(Bi)),r=i&&s&&e(s).hasClass(Fi),a=()=>this._transitionComplete(t,s,i);if(s&&r){const t=o.getTransitionDurationFromElement(s);e(s).removeClass(Pi).one(o.TRANSITION_END,a).emulateTransitionEnd(t)}else a()}_transitionComplete(t,n,i){if(n){e(n).removeClass(Li);const t=e(n.parentNode).find(Wi);t&&e(t).removeClass(Li),“tab”===n.getAttribute(“role”)&&n.setAttribute(“aria-selected”,!1)}if(e(t).addClass(Li),“tab”===t.getAttribute(“role”)&&t.setAttribute(“aria-selected”,!0),o.reflow(t),t.classList.contains(Fi)&&t.classList.add(Pi),t.parentNode&&e(t.parentNode).hasClass(Ii)){const n=e(t).closest(Ri);if(n){const t=[].slice.call(n.querySelectorAll(qi));e(t).addClass(Li)}t.setAttribute(“aria-expanded”,!0)}i&&i()}static _jQueryInterface(t){return this.each(function(){const n=e(this);let i=n.data(Si);if(i||(i=new Ui(this),n.data(Si,i)),“string”==typeof t){if(“undefined”==typeof i)throw new TypeError(`No method named “${t}”`);i()}})}}e(document).on(xi,’, [data-toggle=“pill”], [data-toggle=“list”]',function(t){t.preventDefault(),Ui._jQueryInterface.call(e(this),“show”)}),e.fn.tab=Ui._jQueryInterface,e.fn.tab.Constructor=Ui,e.fn.tab.noConflict=()=>(e.fn.tab=Di,Ui._jQueryInterface);var Qi=function(){var t=e(“.dropdown-with-pill”),n=e(“.dropdown-with-select”),i=e(“.dropdown-action–search”);t.each(function(){var t=e(this).find(“.dropdown-selected-list”),n=e(this).find(“.dropdown-menu-list”),i=n.attr(“data-select-name”),o=e(this).find(“.dropdown-menu .is-selected”).map(function(){return e(this).attr(“data-val”)}).get();t.length||(e(this).append(“<div class='dropdown-selected-list'></div>”),t=e(this).find(“.dropdown-selected-list”));var s=o,r=Array.isArray(s),a=0;for(s=r?s:s();;){var l;if®{if(a>=s.length)break;l=s}else{if((a=s.next()).done)break;l=a.value}var c=l,h=e(this).find(“.dropdown-item[data-val=‘”c“’]”).attr(“data-id”);t.append(“<span class='badge badge-smoke' data-id='”h“' data-val='”c“'>”c“ <i class='ic ic-reset'></i></span><input type='hidden' value='”h“' name='”i“'>”)}var d=e(“.dropdown-with-pill .badge .ic”);Vi(d),n.bind(“DOMNodeInserted”,function(t){t.target!==n&&t.target.addEventListener(“click”,Yi)})}),n.each(function(){var t=e(this).find(“.dropdown-menu-list”).attr(“data-select-name”),n=e(this).find(“.dropdown-menu .is-selected”),i=n.attr(“data-id”),o=n.text();o?(e(this).find(“.dropdown-toggle”).html(o),e(this).append(“<div class='dropdown-selected-list'><input type='hidden' value='”i“' name='”t“'></div>”)):e(this).append(“<div class='dropdown-selected-list'><input type='hidden' value='' name='”t“'></div>”)});var o=e(“.dropdown-with-pill .dropdown-item”),s=e(“.dropdown-with-select .dropdown-item”);o.click(Yi),s.click(Yi),i.each(function(){var t=e(this).find(“input”),n=t.closest(“.dropdown-menu”);t.keyup(function(t){var i=n.find(“.dropdown-menu-list .dropdown-item”).not(“.text-link”),o=t.currentTarget.value.toLocaleLowerCase();i.each(function(){e(this).text().toLocaleLowerCase().includes(o)?e(this).removeClass(“d-none”):e(this).addClass(“d-none”)});var s=n.find(“.dropdown-menu-list .dropdown-item.d-none”).not(“.text-link”),r=n.find(“span.dropdown-not-found”);s.length===i.length?r.length?r.removeClass(“d-none”):n.append('<span class=“dropdown-not-found”>No data found</span>'):r.addClass(“d-none”)})})},Vi=function(t){t.click(function(){var t=e(this).closest(“.badge”),n=t.attr(“data-val”),i=t.attr(“data-id”);t.closest(“.dropdown-selected-list”).find(“input[value=‘”i“’]”).remove(),t.closest(“.dropdown-with-pill”).find(“.is-selected[data-val=‘”n“’]”).removeClass(“is-selected”),t.remove()})},Yi=function(){var t,n=e(event.currentTarget);if(n.closest(“.dropdown”).hasClass(“dropdown-with-select”)?t=“.dropdown-with-select”:n.closest(“.dropdown”).hasClass(“dropdown-with-pill”)&&(t=“.dropdown-with-pill”),!n.hasClass(“dropdown-action”)){var i=n.closest(t),o=i.find(“.dropdown-selected-list”);“.dropdown-with-select”==t&&i.find(“.dropdown-item”).removeClass(“is-selected”),n.addClass(“is-selected”);var s=n.attr(“data-id”),r=i.find(“.dropdown-menu-list”).attr(“data-select-name”);if(“.dropdown-with-pill”==t){var a=n.attr(“data-val”);o.append(“<span class='badge badge-smoke' data-id='”s“' data-val='”a“'>”a“<i class='ic ic-reset'></i></span> <input type='hidden' value='”s“' name='”r“'>”);var l=o.find(“.badge[data-val=‘”a“’] .ic”);Vi(l)}else“.dropdown-with-select”==t&&(i.find(“.dropdown-toggle”).addClass(“selected”).html(n.text()),o.html(“<input type='hidden' value='”s“' name='”r“'>”))}};e(document).ready(function(){Qi()});var Ki=function(){zi()},zi=function(){e(“.checkallbox-wrapper”).each(function(){var t=e(this).attr(“data-checkall”),n=e(this).find(“.checkallbox-parent[data-checkall = '”t“‘]”),i=e(this).find(“input[data-checkall = '”t“']”).not(“.checkallbox-parent”);Gi(n,i),Ji(n,i),Xi(n,i)})},Gi=function(t,n){var i=n.length;n.filter(function(){return!0===e(this).is(“:checked”)}).length===i&&i>0?t.prop(“checked”,!0):t.prop(“checked”,!1)},Ji=function(t,n){t.change(function(){e(this).is(“:checked”)?n.prop(“checked”,!0):n.prop(“checked”,!1)})},Xi=function(t,e){e.change(function(){Gi(t,e)})};e(document).ready(function(){Ki()});var Zi=function(){e(’').tooltip({trigger:“hover”})};e(document).ready(function(){Zi()}),t.Alert=g,t.Button=D,t.Collapse=K,t.Dropdown=$e,t.MekariDropdown=Qi,t.MekariForm=Ki,t.MekariTooltip=Zi,t.Modal=dn,t.Popover=ei,t.Scrollspy=Ti,t.Tab=Ui,t.Tooltip=Hn,t.Util=o,Object.defineProperty(t,“__esModule”,{value:!0})}); //# sourceMappingURL=mekari-ui.bundle.min.js.map