Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bootstrap.native

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap.native - npm Package Compare versions

Comparing version 3.0.14-b to 3.0.14-c

4

dist/bootstrap-native-v5-esm.min.js

@@ -1,2 +0,2 @@

// Native JavaScript for Bootstrap v3.0.14b | 2021 © dnp_theme | MIT-License
var t="webkitTransition"in document.head.style?"webkitTransitionEnd":"transitionend",e="webkitTransition"in document.head.style||"transition"in document.head.style,n="webkitTransition"in document.head.style?"webkitTransitionDuration":"transitionDuration",o="webkitTransition"in document.head.style?"webkitTransitionProperty":"transitionProperty";function i(t){var i=getComputedStyle(t),a=i[o],r=i[n],s=r.indexOf("ms")>-1?1:1e3,l=e&&a&&"none"!==a?parseFloat(r)*s:0;return isNaN(l)?0:l}function a(e,n){var o=0,a=new Event(t),r=i(e);r?(e.addEventListener(t,(function i(a){a.target===e&&(n.apply(e,[a]),e.removeEventListener(t,i),o=1)})),setTimeout((function(){!o&&e.dispatchEvent(a)}),r+17)):n.apply(e,[a])}function r(t,e){var n=e&&e instanceof Element?e:document;return t instanceof Element?t:n.querySelector(t)}function s(t,e){return t.classList.contains(e)}function l(t,e){t.classList.remove(e)}function c(t,e){var n=new CustomEvent(t,{cancelable:!0});return e instanceof Object&&Object.keys(e).forEach((function(t){Object.defineProperty(n,t,{value:e[t]})})),n}function d(t){var e,n,o,i=c("close.bs.alert"),d=c("closed.bs.alert");function u(){f(),o.dispatchEvent(d),o.parentNode.removeChild(o)}function p(t){var i=t.target;o&&(n===i||n.contains(i))&&e.close()}function f(t){n[t=t?"addEventListener":"removeEventListener"]("click",p)}var m=function(t){e=this,(n=r(t)).Alert&&n.Alert.dispose(),o=n.closest(".alert"),f(1),n.Alert=this},h=m.prototype;return h.close=function(){if(o&&s(o,"show")){if(o.dispatchEvent(i),i.defaultPrevented)return;l(o,"show"),s(o,"fade")?a(o,u):u(),this.dispose()}},h.dispose=function(){f(),delete n.Alert},new m(t)}var u={component:"Alert",selector:'[data-bs-dismiss="alert"]',constructor:d};function p(t,e){t.classList.add(e)}var f="data-bs-toggle";function m(t){var e,n,o;function i(t){e.toggle.apply(n,[t])}function a(t){n[t=t?"addEventListener":"removeEventListener"]("click",i)}var c=function(t){e=this,(n=r(t)).Button&&n.Button.dispose(),o=s(n,"active"),n.setAttribute("aria-pressed",!!o||"false"),a(1),n.Button=e},d=c.prototype;return d.toggle=function(t){if(t.preventDefault(),!s(n,"disabled")){var e=(o=s(n,"active"))?"false":"true";(o?l:p)(n,"active"),n.setAttribute("aria-pressed",e)}},d.dispose=function(){a(),delete n.Button},new c(t)}var h={component:"Button",selector:'[data-bs-toggle="button"]',constructor:m},v=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t,e)}),e)}catch(t){}return t}()&&{passive:!0};function g(t){var e=t.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight;return e.top<=n&&e.bottom>=0}function b(t){return r(t.getAttribute("data-bs-target")||t.getAttribute("href"))||t.closest(t.getAttribute("data-bs-parent"))||r(t.getAttribute("data-bs-container"))}function y(t){return"true"===t||"false"!==t&&(isNaN(t)?""===t||"null"===t?null:t:+t)}function w(t,e,n){var o={},i={},a=Object.assign({},t.dataset),s=["target","parent","container"];return Object.keys(a).map((function(e){var n=e.replace("bs","").replace(/[A-Z]/,(function(t){return t.toLowerCase()}));i[n]=s.includes(n)?b(t):y(a[e])})),Object.keys(n).map((function(e){n[e]=s.includes(e)?n[e]instanceof Element?n[e]:"parent"===e?t.closest(n[e]):r(n[e]):y(n[e])})),Object.keys(e).map((function(t){o[t]=t in n?n[t]:t in i?i[t]:e[t]})),o}function E(t,e){var n,o,d,u,f,m,h={pause:"hover",keyboard:!1,touch:!0,interval:5e3},b=c("slide.bs.carousel"),y=c("slid.bs.carousel"),E={},T="left",A=!1,C=!1,L=0,N=null,k=!1,x=0,H=0,P=0;function M(){var t=L,e=Y(),i="left"===T?"next":"prev",a="left"===T?"start":"end";C&&n.Carousel&&(C=!1,p(d[t],"active"),l(d[e],"active"),l(d[t],"carousel-item-"+i),l(d[t],"carousel-item-"+a),l(d[e],"carousel-item-"+a),n.dispatchEvent(y),document.hidden||!E.interval||s(n,"paused")||o.cycle())}function B(){s(n,"paused")||(p(n,"paused"),!C&&(clearInterval(N),N=null))}function D(){!A&&s(n,"paused")&&(l(n,"paused"),C||(clearInterval(N),N=null,o.cycle()))}function S(t){t.preventDefault();var e=t.target;C||e&&!s(e,"active")&&e.getAttribute("data-bs-slide-to")&&o.to(+e.getAttribute("data-bs-slide-to"))}function O(t){t.preventDefault();var e=t.currentTarget||t.srcElement;m[1]&&e===m[1]?o.next():m[1]&&e===m[0]&&o.prev()}function W(t){var e=t.which;if(g(n))switch(e){case 39:o.next();break;case 37:o.prev();break;default:return}}function z(t){k||(x=t.changedTouches[0].pageX,n.contains(t.target)&&(k=!0,F(1)))}function R(t){if(k)return H=t.changedTouches[0].pageX,"touchmove"===t.type&&t.changedTouches.length>1?(t.preventDefault(),!1):void 0}function I(t){if(k&&!C&&(P=H||t.changedTouches[0].pageX,k)){if((!n.contains(t.target)||!n.contains(t.relatedTarget))&&Math.abs(x-P)<75)return!1;H<x?L++:H>x&&L--,k=!1,o.to(L),F()}}function j(t){Array.from(f).map((function(t){return l(t,"active")})),f[t]&&p(f[t],"active")}function F(t){n[t=t?"addEventListener":"removeEventListener"]("touchmove",R,v),n[t]("touchend",I,v)}function X(t){t=t?"addEventListener":"removeEventListener",E.pause&&E.interval&&(n[t]("mouseenter",B),n[t]("mouseleave",D),n[t]("touchstart",B,v),n[t]("touchend",D,v)),E.touch&&d.length>1&&n[t]("touchstart",z,v),m.map((function(e){return e&&e[t]("click",O)})),u&&u[t]("click",S),E.keyboard&&window[t]("keydown",W)}function Y(){return Array.from(d).indexOf(n.getElementsByClassName("carousel-item active")[0])||0}var q=function(t,e){o=this,e=e||{},n=r(t),d=n.getElementsByClassName("carousel-item"),n.Carousel&&n.Carousel.dispose(),d.length<2||(m=[r(".carousel-control-prev",n),r(".carousel-control-next",n)],u=r(".carousel-indicators",n),f=u&&u.getElementsByTagName("LI")||[],(E=w(n,h,e)).interval=!0===E.interval?h.interval:E.interval,Y()<0&&(d.length&&p(d[0],"active"),f.length&&j(0)),X(1),E.interval&&o.cycle(),n.Carousel=o)},V=q.prototype;return V.cycle=function(){N&&(clearInterval(N),N=null),A&&(l(n,"paused"),A=!A),N=setInterval((function(){g(n)&&(L++,o.to(L))}),E.interval)},V.pause=function(){E.interval&&!A&&(clearInterval(N),N=null,p(n,"paused"),A=!A)},V.next=function(){!C&&L++,o.to(L)},V.prev=function(){!C&&L--,o.to(L)},V.to=function(t){var e=Y();if(!C&&e!==t){e<t||0===e&&t===d.length-1?T="left":(e>t||e===d.length-1&&0===t)&&(T="right"),t<0?t=d.length-1:t>=d.length&&(t=0);var r="left"===T?"next":"prev",c="left"===T?"start":"end",u={relatedTarget:d[t],direction:T,from:e,to:t};Object.keys(u).map((function(t){b[t]=u[t],y[t]=u[t]})),n.dispatchEvent(b),b.defaultPrevented||(L=t,clearInterval(N),N=null,C=!0,j(t),i(d[t])&&s(n,"slide")?(p(d[t],"carousel-item-"+r),d[t].offsetWidth,p(d[t],"carousel-item-"+c),p(d[e],"carousel-item-"+c),a(d[t],M)):(p(d[t],"active"),l(d[e],"active"),setTimeout((function(){C=!1,n&&E.interval&&!s(n,"paused")&&o.cycle(),n.dispatchEvent(y)}),100)))}},V.dispose=function(){var t=["start","end","prev","next"];Array.from(d).map((function(e,n){s(e,"active")&&j(n),t.map((function(t){return l(e,"carousel-item-"+t)}))})),X(),clearInterval(N),delete n.Carousel},new q(t,e)}var T={component:"Carousel",selector:'[data-bs-ride="carousel"]',constructor:E};function A(t,e){var n,o,i,d,u=c("show.bs.collapse"),m=c("shown.bs.collapse"),h=c("hide.bs.collapse"),v=c("hidden.bs.collapse");function g(t){var e=t.collapse,n=t.element;e.dispatchEvent(h),h.defaultPrevented||(e.isAnimating=!0,d&&(d.isAnimating=!0),e.style.height=e.scrollHeight+"px",l(e,"collapse"),l(e,"show"),p(e,"collapsing"),e.offsetWidth,e.style.height="0px",a(e,(function(){e.isAnimating=!1,d&&(d.isAnimating=!1),e.setAttribute("aria-expanded","false"),n.setAttribute("aria-expanded","false"),l(e,"collapsing"),p(e,"collapse"),e.style.height="",e.dispatchEvent(v)})))}function y(t){o[t=t?"addEventListener":"removeEventListener"]("click",w)}function w(t){var e=t.target;n.toggle(),(t&&"A"===e.tagName&&"collapse"===e.getAttribute(f)||"A"===o.tagName)&&t.preventDefault()}var E=function(t,e){n=this,e=e||{},(o=r(t)).Collapse&&o.Collapse.dispose(),i=r(e.target)||b(o),d=o.closest(e.parent)||b(i),i&&(i.isAnimating=!1),d&&(d.isAnimating=!1),y(1),o.Collapse=n},T=E.prototype;return T.toggle=function(){s(i,"show")?this.hide():this.show()},T.hide=function(){i.isAnimating||(g({collapse:i,element:o}),p(o,"collapsed"))},T.show=function(){var t,e;d&&(e=d.getElementsByClassName("collapse show")[0],t=Array.from(d.querySelectorAll('[data-bs-toggle="collapse"]')).find((function(t){return!s(t,"collapsed")}))),d&&(!d||d.isAnimating)||i.isAnimating||(t&&e!==i&&(g({collapse:e,element:t}),p(t,"collapsed")),i.dispatchEvent(u),u.defaultPrevented||(i.isAnimating=!0,d&&(d.isAnimating=!0),p(i,"collapsing"),l(i,"collapse"),i.style.height=i.scrollHeight+"px",a(i,(function(){i.isAnimating=!1,d&&(d.isAnimating=!1),i.setAttribute("aria-expanded","true"),o.setAttribute("aria-expanded","true"),l(i,"collapsing"),p(i,"collapse"),p(i,"show"),i.style.height="",i.dispatchEvent(m)}))),l(o,"collapsed"))},T.dispose=function(){y(),d&&delete d.isAnimating,delete i.isAnimating,delete o.Collapse},new E(t,e)}var C={component:"Collapse",selector:'[data-bs-toggle="collapse"]',constructor:A},L=["dropdown","dropup","dropstart","dropend"];function N(t){return t&&(t.href&&"#"===t.href.slice(-1)||t.parentNode&&t.parentNode.href&&"#"===t.parentNode.href.slice(-1))}function k(t){t.focus?t.focus():t.setActive()}var x=L[0],H='[data-bs-toggle="'+x+'"]';function P(t){var e,n,o,i,a,d,u,m,h,g,b,y=L[1],w=L[2],E=L[3],T=["d-block","invisible"],A=[x,y],C=[w,E],P=c("show.bs."+x),M=c("shown.bs."+x),B=c("hide.bs."+x),D=c("hidden.bs."+x);function S(t){var e=L.filter((function(t){return d.includes(t)}))[0];if(!t)return o.className=d.join(" "),void(h&&!s(i,"dropdown-menu-end")?p:l)(i,"dropdown-menu-end");T.map((function(t){return p(i,t)}));var r=new RegExp("\\b("+x+"|"+y+"|"+w+"|"+E+")+"),c=n.offsetWidth,f=n.offsetHeight,v=i.offsetWidth,g=i.offsetHeight,b=document.documentElement.clientWidth||document.body.clientWidth,N=document.documentElement.clientHeight||document.body.clientHeight,k=n.getBoundingClientRect(),H=k.left+c-v<0,P=k.left-v<0,M=k.left+v>=b,B=k.left+v+c>=b,D=k.top+g>=N,S=k.top+g+f>=N,O=k.top-g<0;e=C.includes(e)&&P&&B?x:e,e=C.includes(e)&&D?y:e,!s(o,e=(e=(e=(e=e===w&&P&&!D?E:e)===E&&B&&!D?w:e)===y&&O&&!S?x:e)===x&&S&&!O?y:e)&&(o.className=o.className.replace(r,e));var W=u&&m||e!==E?l:p;if((u&&m||e!==w?l:p)(o,"dropleft"),W(o,"dropright"),A.includes(e)){var z=M?p:l;a?H&&p(o,"position-static"):z(i,"dropdown-menu-end")}T.map((function(t){return l(i,t)}))}function O(){var t=n.open?"addEventListener":"removeEventListener";document[t]("click",R),document[t]("focus",R),document[t]("keydown",j),document[t]("keyup",F),window[t]("scroll",X,v),window[t]("resize",X,v)}function W(t){n[t=t?"addEventListener":"removeEventListener"]("click",I)}function z(){B.relatedTarget=b,o.dispatchEvent(B),B.defaultPrevented||(l(i,"show"),l(o,"show"),S(),n.setAttribute("aria-expanded",!1),n.open=!1,k(n),setTimeout((function(){return O()}),1),D.relatedTarget=b,o.dispatchEvent(D))}function R(t){var e=t.target,a=e.getAttribute(f)===x||null!==e.closest(H),r=o.contains(e)&&("form"===e.tagName||null!==e.closest("form"));"click"===t.type&&N(e)&&t.preventDefault(),("focus"!==t.type||e!==n&&e!==i&&!i.contains(e))&&(r||a||(b=e,z()))}function I(t){b=n,e.toggle(),N(t.target)&&t.preventDefault()}function j(t){38!==t.which&&40!==t.which||t.preventDefault()}function F(t){var o=t.which,a=document.activeElement,r=a===n,s=i.contains(a),l=a.parentNode===i||a.parentNode.parentNode===i,c=g.indexOf(a);l&&(c=r?0:38===o?c>1?c-1:0:40===o&&c<g.length-1?c+1:c,g[c]&&k(g[c])),(g.length&&l||!g.length&&(s||r)||!s)&&n.open&&27===o&&(b=null,e.toggle())}function X(){n.open&&S(1)}var Y=function(t){e=this,(n=r(t)).Dropdown&&n.Dropdown.dispose(),o=n.parentNode,i=r(".dropdown-menu",o),a=o.parentNode.closest(".btn-group,.btn-group-vertical"),d=Array.from(o.classList),u=d.includes("dropleft"),m=d.includes("dropright"),h=s(i,"dropdown-menu-end"),b=null,g=[],Array.from(i.children).map((function(t){t.children.length&&"A"===t.children[0].tagName&&g.push(t.children[0]),"A"===t.tagName&&g.push(t)})),n.open=!1,W(1),n.Dropdown=this},q=Y.prototype;return q.toggle=function(){var t,e;s(o,"show")&&n.open?z():(t=r(L.map((function(t){return"."+t+".show"})).join(",")),(e=t&&r(H,t))&&e.Dropdown.toggle(),P.relatedTarget=b,o.dispatchEvent(P),P.defaultPrevented||(S(1),p(i,"show"),p(o,"show"),n.setAttribute("aria-expanded",!0),n.open=!0,setTimeout((function(){k(i.getElementsByTagName("INPUT")[0]||n),O(),M.relatedTarget=b,o.dispatchEvent(M)}),1)))},q.dispose=function(){s(o,"show")&&n.open&&z(),W(),delete n.Dropdown,delete n.open},new Y(t)}var M={backdrop:!0,keyboard:!0};function B(t,e){var n,o,d,u,f,m,h,g=Array.from(document.getElementsByClassName("fixed-top")).concat(Array.from(document.getElementsByClassName("fixed-bottom"))),y=c("show.bs.modal"),E=c("shown.bs.modal"),T=c("hide.bs.modal"),A=c("hidden.bs.modal"),C={},L=!1;function N(){var t,e,n=s(document.body,"modal-open"),o=parseInt(getComputedStyle(document.body).paddingRight),i=document.documentElement.clientHeight!==document.documentElement.scrollHeight||document.body.clientHeight!==document.body.scrollHeight,a=d.clientHeight!==d.scrollHeight,r=((e=document.createElement("div")).className="modal-scrollbar-measure",document.body.appendChild(e),t=e.offsetWidth-e.clientWidth,document.body.removeChild(e),t);d.style.paddingRight=!a&&r?r+"px":"",document.body.style.paddingRight=a||i?o+(n?0:r)+"px":"",g.length&&g.map((function(t){var e=getComputedStyle(t).paddingRight;t.style.paddingRight=a||i?parseInt(e)+(n?0:r)+"px":parseInt(e)+"px"}))}function x(){var t=r(".modal-backdrop");t&&!document.getElementsByClassName("modal show")[0]&&(document.body.removeChild(t),t=null),L=!1,null===t&&(l(document.body,"modal-open"),document.body.style.paddingRight="",d.style.paddingRight="",g.length&&g.map((function(t){t.style.paddingRight=""})))}function H(t){t=t?"addEventListener":"removeEventListener",window[t]("resize",W,v),d[t]("click",R),document[t]("keydown",z)}function P(t){o[t=t?"addEventListener":"removeEventListener"]("click",O)}function B(){d.style.display="block",N(),!document.getElementsByClassName("modal show")[0]&&p(document.body,"modal-open"),p(d,"show"),d.setAttribute("aria-hidden",!1),m?a(d,D):D()}function D(){k(d),L=!1,H(1),E.relatedTarget=h,d.dispatchEvent(E)}function S(t){var e=r(".modal-backdrop");d.style.display="",o&&k(o),!t&&e&&m&&s(e,"show")&&!r(".modal.show")?(l(e,"show"),a(e,x)):x(),H(),A.relatedTarget=h,d.dispatchEvent(A)}function O(t){var e=t.target;if(!L){var i=d.getAttribute("id"),a=b(o);!s(d,"show")&&o.contains(e)&&a.id===i&&(h=o,n.show(),t.preventDefault())}}function W(){n.update()}function z(t){var e=t.which;!L&&C.keyboard&&27==e&&s(d,"show")&&n.hide()}function R(t){if(!L){var e=t.target,o=document.getSelection().toString().length,i=u.contains(e),r="modal"===e.getAttribute("data-bs-dismiss")||e.closest('[data-bs-dismiss="modal"]');o&&!i||(f&&!i?(p(d,"modal-static"),L=!0,a(u,I)):!r&&(o||f||i)||(n.hide(),h=r?e:null,t.preventDefault()))}}function I(){var t=i(u)+17;l(d,"modal-static"),setTimeout((function(){return L=!1}),t)}var j=function(t,e){n=this,e=e||{},o=r(t),d=s(o,"modal")?o:b(o),u=r(".modal-dialog",d),s(o,"modal")&&(o=null),(o||d).Modal&&(o||d).Modal.dispose(),C=w(d,M,e),f="static"===C.backdrop,m=s(d,"fade"),o?(P(1),d.modalTrigger=o,o.Modal=n):d.Modal=n},F=j.prototype;return F.toggle=function(){s(d,"show")?n.hide():n.show()},F.show=function(){if((!s(d,"show")||L)&&(y.relatedTarget=h,d.dispatchEvent(y),!y.defaultPrevented)){L=!0;var t=document.getElementsByClassName("modal show")[0],e=C.backdrop?function(){var t=r(".modal-backdrop");if(null===t){var e=document.createElement("div");e.setAttribute("class","modal-backdrop"+(m?" fade":"")),t=e,document.body.appendChild(t)}return t}():null,n=0;t&&t!==d&&(t.modalTrigger&&t.modalTrigger.Modal.hide(),t.Modal&&t.Modal.hide()),!e||t||s(e,"show")||(e.offsetWidth,n=i(e),p(e,"show")),t?B():setTimeout((function(){return B()}),e&&n?n:0)}},F.hide=function(t){(s(d,"show")||L)&&(T.relatedTarget=h,d.dispatchEvent(T),T.defaultPrevented||(L=!0,l(d,"show"),d.setAttribute("aria-hidden",!0),m&&1!==t?a(d,(function(){S()})):S(t)))},F.update=function(){s(d,"show")&&N()},F.dispose=function(){this.hide(1),o&&(delete d.modalTrigger,P(o)),delete(o||d).Modal},new j(t,e)}var D={top:"top",bottom:"bottom",left:"start",right:"end"};function S(t,e){return e.contains(t)}function O(t){return[SVGElement,HTMLImageElement,HTMLVideoElement].some((function(e){return t instanceof e}))}function W(t,e,n,o,i){var a,r,s,l,c,d,u,p=e.offsetWidth,f=e.offsetHeight,m=document.documentElement.clientWidth||document.body.clientWidth,h=document.documentElement.clientHeight||document.body.clientHeight,v=t.getBoundingClientRect(),g=o===document.body?{x:window.pageXOffset,y:window.pageYOffset}:{x:o.offsetLeft+o.scrollLeft,y:o.offsetTop+o.scrollTop},b=v.right-v.left,y=v.bottom-v.top,w=e.classList.contains("popover"),E=e.getElementsByClassName((w?"popover":"tooltip")+"-arrow")[0],T=v.top+y/2-f/2<0,A=v.left+b/2-p/2<0,C=v.left+p/2+b/2>=m,L=v.top+f/2+y/2>=h,N=v.top-f<0,k=v.left-p<0,x=v.top+f+y>=h,H=v.left+p+b>=m;n="right"===(n="left"===(n="bottom"===(n="top"===(n=("left"===n||"right"===n)&&k&&H?"top":n)&&N?"bottom":n)&&x?"top":n)&&k?"right":n)&&H?"left":n,-1===e.className.indexOf(n)&&(e.className=e.className.replace(/\b(top|bottom|start|end)+/,D[n])),c=E?E.offsetWidth:0,d=E?E.offsetHeight:0,u=w?.8*c:c/2,"left"===n||"right"===n?(r="left"===n?v.left+g.x-p-(w?c:0):v.left+g.x+b,T?(a=v.top+g.y,s=y/2-c):L?(a=v.top+g.y-f+y,s=f-y/2-c):(a=v.top+g.y-f/2+y/2,s=f/2-(w?.9*d:d/2)),l=null):"top"!==n&&"bottom"!==n||(i&&O(t)?(a="top"===n?i.pageY-f-(w?c:d):i.pageY+d,i.clientX-p/2<0?(r=0,l=i.pageX-(w?.8*c:c/2)):i.clientX+.51*p>m?(r=m-1.009*p,l=p-(m-i.pageX)-u):(r=i.pageX-p/2,l=p/2-(w?.8*c:c/2))):(a="top"===n?v.top+g.y-f-(w?d:0):v.top+g.y+y,A?(r=0,l=v.left+b/2-(w?.8*c:c/2)):C?(r=m-p,l=p-(m-v.left)+b/2-(w?.8*c:c/2)):(r=v.left+g.x-p/2+b/2,l=p/2-(w?.8*c:c/2))),s=null),e.style.top=a+"px",e.style.left=r+"px",E.style.top=null!==s?s+"px":"",E.style.left=null!==l?l+"px":""}var z=1;function R(t,e){return t[e]||z++}var I={template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',title:null,content:null,sanitizeFn:null,customClass:null,dismissible:!1,animation:!0,trigger:"hover",placement:"top",delay:200};function j(t,e){var n,o,d,u,f=/(iPhone|iPod|iPad)/.test(navigator.userAgent),m=c("show.bs.popover"),h=c("shown.bs.popover"),g=c("hide.bs.popover"),b=c("hidden.bs.popover"),y=null,E={},T=!0,A=null,C='<button type="button" class="btn-close"></button>';function L(t){t.target===r(".btn-close",y)&&n.hide()}function N(t){W(o,y,E.placement,E.container,t)}function k(){o.focus()}function x(){n.show()}function H(){n.hide()}function P(){n.toggle()}function M(t){var e=t.target;y&&y.contains(e)||e===o||o.contains(e)||n.hide()}function B(){z(),delete o.Popover}function z(t){t=t?"addEventListener":"removeEventListener","hover"===E.trigger?(o[t]("mousedown",x),o[t]("mouseenter",x),O(o)&&o[t]("mousemove",N,v),!E.dismissible&&o[t]("mouseleave",H)):"click"===E.trigger?o[t](E.trigger,P):"focus"===E.trigger&&(f&&o[t]("click",k),o[t]("focusin",x))}function j(t){t=t?"addEventListener":"removeEventListener",E.dismissible?document[t]("click",L):("focus"===E.trigger&&o[t]("focusout",H),"hover"===E.trigger&&document[t]("touchstart",M,v)),O(o)||(window[t]("scroll",N,v),window[t]("resize",N,v))}function F(){j(1),o.dispatchEvent(h)}function X(t){j(),o.removeAttribute("aria-describedby"),E.container.removeChild(y),A=null,o.dispatchEvent(b)}var Y=function(t,e){n=this,e=e||{},(o=r(t)).Popover&&o.Popover.dispose();var i=o.closest(".modal"),a=o.closest(".fixed-top")||o.closest(".fixed-bottom");I.container=i||a||document.body,(E=w(o,I,e)).content&&(u="bs-popover-"+D[E.placement],d="popover-"+R(o),function(){var t=E.title,e=E.content;t=t?t.trim():null,e=e?e.trim():null,E.sanitizeFn&&(t=t?E.sanitizeFn(t):null,e=e?E.sanitizeFn(e):null,E.template=E.template?E.sanitizeFn(E.template):null,C=E.sanitizeFn(C)),(y=document.createElement("div")).setAttribute("id",d),o.setAttribute("aria-describedby","#"+d);var n=document.createElement("div");n.innerHTML=E.template.trim(),y.className=n.firstChild.className,y.innerHTML=n.firstChild.innerHTML;var i=r(".popover-header",y),a=r(".popover-body",y);E.dismissible&&(e=null===(t=t?t+C:t)?+C:e),t&&i&&(i.innerHTML=t.trim()),e&&a&&(a.innerHTML=e.trim()),!s(y,"popover")&&p(y,"popover"),E.animation&&!s(y,"fade")&&p(y,"fade"),E.customClass&&!s(y,E.customClass)&&p(y,E.customClass),!s(y,u)&&p(y,u)}(),z(1),o.Popover=n)},q=Y.prototype;return q.toggle=function(){S(y,E.container)?n.hide():n.show()},q.show=function(){clearTimeout(A),A=setTimeout((function(){if(!S(y,E.container)){if(o.dispatchEvent(m),m.defaultPrevented)return;E.container.appendChild(y),N(),!s(y,"show")&&p(y,"show"),E.animation?a(y,F):F()}}),17)},q.hide=function(){clearTimeout(A),A=setTimeout((function(){if(S(y,E.container)&&s(y,"show")){if(o.dispatchEvent(g),g.defaultPrevented)return;l(y,"show"),E.animation?a(y,X):X()}}),E.delay+50)},q.enable=function(){T||(z(1),T=!T)},q.disable=function(){T&&(S(y,E.container)&&E.animation?(n.hide(),setTimeout(z,i(y)+E.delay+17)):z(),T=!T)},q.toggleEnabled=function(){T?n.disable():n.enable()},q.dispose=function(){E.animation&&S(y,E.container)?(E.delay=0,n.hide(),a(y,B)):B()},new Y(t,e)}var F=[];function X(t,e){var n,o,i,a,d,u,f,m,h,g,y,w=c("activate.bs.scrollspy"),E=0,T=[],A=[];function C(){var t,e,n,o=u.getElementsByTagName("A");(y=f?d.pageYOffset:d.scrollTop,E!==o.length||L(d)!==h)&&(T=[],A=[],h=L(d),g=h-(f?window.innerHeight:i.getBoundingClientRect().height),Array.from(o).map((function(o){t=o.getAttribute("href"),(e=t&&"#"===t.charAt(0)&&"#"!==t.slice(-1)&&r(t))&&(T.push(o),n=e.getBoundingClientRect(),A.push((f?n.top+y:e.offsetTop)-a))})),E=T.length)}function L(t){return t.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}function N(t){Array.from(t.getElementsByTagName("A")).map((function(t){return s(t,"active")&&l(t,"active")}))}function k(t){N(u),m=t,p(t,"active");for(var e=[];t.parentNode!==document.body;)t=t.parentNode,["dropdown-menu","nav"].some((function(e){return s(t,e)}))&&e.push(t);e.map((function(t){var e=t.previousElementSibling;e&&!s(e,"active")&&p(e,"active")})),w.relatedTarget=t,i.dispatchEvent(w)}function x(t){var e=t?"addEventListener":"removeEventListener",i=F.indexOf(F.find((function(t){return t.id===n}))),a={id:n,self:o};!t&&i>-1&&F.splice(i,1),f&&(!t||F.length)&&t||d[e]("scroll",H,v),t&&F.push(a)}function H(){F.map((function(t){return t.self.refresh()}))}var P=function(t,e){o=this,e=e||{},(i=r(t)).ScrollSpy&&i.ScrollSpy.dispose(),u=r(e.target)||b(i),d=i.clientHeight<i.scrollHeight?i:window,u&&(a=+(e.offset||i.getAttribute("data-bs-offset"))||10,f=d===window,n=R(i),x(1),o.refresh(),i.ScrollSpy=o)},M=P.prototype;return M.refresh=function(){if(C(),y>=g){var t=T[E-1];m!==t&&k(t)}else{if(m&&y<A[0]&&A[0]>0)return m=null,void N(u);T.map((function(t,e){m!==t&&y>=A[e]&&(void 0===A[e+1]||y<A[e+1])&&k(t)}))}},M.dispose=function(){x(),delete i.ScrollSpy},new P(t,e)}function Y(t){var n,o,i,d,u,f,m,h,v,g,b,y,w=c("show.bs.tab"),E=c("shown.bs.tab"),T=c("hide.bs.tab"),A=c("hidden.bs.tab");function C(){g.style.height="",l(g,"collapsing"),h.isAnimating=!1}function N(){g?y?C():setTimeout((function(){g.style.height=u+"px",g.offsetWidth,a(g,C)}),50):h.isAnimating=!1,E.relatedTarget=f,i.dispatchEvent(E)}function k(){g&&(m.style.float="left",d.style.float="left",b=m.scrollHeight),w.relatedTarget=f,A.relatedTarget=i,i.dispatchEvent(w),w.defaultPrevented||(p(d,"active"),l(m,"active"),g&&(u=d.scrollHeight,y=u===b,p(g,"collapsing"),g.style.height=b+"px",g.offsetHeight,m.style.float="",d.style.float=""),s(d,"fade")?setTimeout((function(){p(d,"show"),a(d,(function(){N()}))}),20):N(),f.dispatchEvent(A))}function x(){var t,e=h.getElementsByClassName("active");return 1!==e.length||L.some((function(t){return s(e[0].parentNode,t)}))?e.length>1&&(t=e[e.length-1]):t=e[0],t}function H(){return r(x().getAttribute("href"))}function P(t){o[t=t?"addEventListener":"removeEventListener"]("click",M)}function M(t){t.preventDefault(),i=t.currentTarget,!h.isAnimating&&n.show()}var B=function(t){n=this,(o=r(t)).Tab&&o.Tab.dispose(),h=o.closest(".nav"),v=h&&r("."+L[0]+"-toggle",h),m=H(),g=e&&m.closest(".tab-content"),b=m.scrollHeight,h.isAnimating=!1,P(1),o.Tab=this},D=B.prototype;return D.show=function(){if(!s(i,"active")){if(d=r(i.getAttribute("href")),f=x(),m=H(),T.relatedTarget=i,f.dispatchEvent(T),T.defaultPrevented)return;h.isAnimating=!0,l(f,"active"),f.setAttribute("aria-selected","false"),p(i,"active"),i.setAttribute("aria-selected","true"),v&&(s(o.parentNode,"dropdown-menu")?!s(v,"active")&&p(v,"active"):s(v,"active")&&l(v,"active")),s(m,"fade")?(l(m,"show"),a(m,k)):k()}},D.dispose=function(){P(),delete o.Tab},new B(t)}function q(t,e){var n,o,i,d={animation:!0,autohide:!0,delay:500},u=c("show.bs.toast"),f=c("hide.bs.toast"),m=c("shown.bs.toast"),h=c("hidden.bs.toast"),v=null,g={};function b(){g.animation||(l(i,"showing"),p(i,"show")),i.dispatchEvent(m),g.autohide&&n.hide()}function y(){p(i,"hide"),i.dispatchEvent(h)}function E(){l(i,"show"),g.animation?(i.offsetWidth,a(i,y)):y()}function T(t){o[t=t?"addEventListener":"removeEventListener"]("click",A)}function A(){n.hide()}function C(){clearTimeout(v),T(),delete o.Toast}var L=function(t,e){n=this,e=e||{},o=r(t),i=o.closest(".toast"),o.Toast&&o.Toast.dispose(),g=w(o,d,e),T(1),o.Toast=n},N=L.prototype;return N.show=function(){if(i&&s(i,"hide")){if(i.dispatchEvent(u),u.defaultPrevented)return;p(i,"fade"),clearTimeout(v),v=setTimeout((function(){return l(i,"hide"),void(g.animation?(i.offsetWidth,p(i,"showing"),p(i,"show"),a(i,b)):b())}),10)}},N.hide=function(t){if(i&&s(i,"show")){if(i.dispatchEvent(f),f.defaultPrevented)return;clearTimeout(v),v=setTimeout(E,t?10:g.delay)}},N.dispose=function(){n.hide(),g.animation?a(i,C):C()},new L(t,e)}function V(t,e){var n,o,d,u,f={title:null,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',placement:"top",animation:!0,customClass:null,delay:200,sanitizeFn:null},m=c("show.bs.tooltip"),h=c("shown.bs.tooltip"),g=c("hide.bs.tooltip"),b=c("hidden.bs.tooltip"),y=null,E=null,T=!0,A={};function C(t){W(o,y,A.placement,A.container,t)}function L(t){var e=t.target;y.contains(e)||e===o||o.contains(e)||n.hide()}function N(){n.show()}function k(){n.hide()}function x(){B(),o.hasAttribute("data-original-title")&&z(),delete o.Tooltip}function H(t){t=t?"addEventListener":"removeEventListener",document[t]("touchstart",L,v),O(o)||(window[t]("scroll",C,v),window[t]("resize",C,v))}function P(){H(1),o.dispatchEvent(h)}function M(){H(),o.removeAttribute("aria-describedby"),A.container.removeChild(y),E=null,o.dispatchEvent(b)}function B(t){t=t?"addEventListener":"removeEventListener",O(o)&&o[t]("mousemove",C,v),o[t]("mousedown",N),o[t]("mouseenter",N),o[t]("mouseleave",k)}function z(t){var e=["data-original-title","title"];o.setAttribute(e[t?0:1],t||o.getAttribute(e[0])),o.removeAttribute(e[t?1:0])}var I=function(t,e){n=this,e=e||{},(o=r(t)).Tooltip&&o.Tooltip.dispose();var i=o.closest(".modal"),a=o.closest(".fixed-top")||o.closest(".fixed-bottom");f.title=o.getAttribute("title"),f.container=i||a||document.body,(A=w(o,f,e)).title&&(d="tooltip-"+R(o),u="bs-tooltip-"+D[A.placement],o.hasAttribute("title")&&z(A.title),function(){var t=A.title.trim();if(A.sanitizeFn&&(t=A.sanitizeFn(t),A.template=A.sanitizeFn(A.template)),t){(y=document.createElement("div")).setAttribute("id",d),o.setAttribute("aria-describedby","#"+d);var e=document.createElement("div");e.innerHTML=A.template.trim(),y.className=e.firstChild.className,y.innerHTML=e.firstChild.innerHTML,r(".tooltip-inner",y).innerHTML=t,y.setAttribute("role","tooltip"),!s(y,"tooltip")&&p(y,"tooltip"),A.animation&&!s(y,"fade")&&p(y,"fade"),A.customClass&&!s(y,A.customClass)&&p(y,A.customClass),!s(y,u)&&p(y,u)}}(),B(1),o.Tooltip=n)},j=I.prototype;return j.show=function(){clearTimeout(E),E=setTimeout((function(){if(!S(y,A.container)){if(o.dispatchEvent(m),m.defaultPrevented)return;A.container.appendChild(y),C(),!s(y,"show")&&p(y,"show"),A.animation?a(y,P):P()}}),20)},j.hide=function(){clearTimeout(E),E=setTimeout((function(){if(S(y,A.container)){if(o.dispatchEvent(g),g.defaultPrevented)return;l(y,"show"),A.animation?a(y,M):M()}}),A.delay)},j.toggle=function(){S(y,A.container)?n.hide():n.show()},j.enable=function(){T||(B(1),T=!T)},j.disable=function(){T&&(!S(y,A.container)&&A.animation?(n.hide(),setTimeout(B,i(y)+A.delay+17)):B(),T=!T)},j.toggleEnabled=function(){T?n.disable():n.enable()},j.dispose=function(){A.animation&&S(y,A.container)?(A.delay=0,n.hide(),a(y,x)):x()},new I(t,e)}var G={Alert:u,Button:h,Carousel:T,Collapse:C,Dropdown:{component:"Dropdown",selector:H,constructor:P},Modal:{component:"Modal",selector:'[data-bs-toggle="modal"]',constructor:B},Popover:{component:"Popover",selector:'[data-bs-toggle="popover"],[data-tip="popover"]',constructor:j},ScrollSpy:{component:"ScrollSpy",selector:'[data-bs-spy="scroll"]',constructor:X},Tab:{component:"Tab",selector:'[data-bs-toggle="tab"]',constructor:Y},Toast:{component:"Toast",selector:'[data-bs-dismiss="toast"]',constructor:q},Tooltip:{component:"Tooltip",selector:'[data-bs-toggle="tooltip"],[data-tip="tooltip"]',constructor:V}};function U(t,e){Array.from(e).map((function(e){return new t(e)}))}function Z(t,e){Array.from(e).map((function(e){return e[t]&&e[t].dispose()}))}function J(t,e){void 0===t&&(t=0),void 0===e&&(e=0);var n=e?U:Z;for(var o in t=t instanceof Element?t:document,G)n(e?G[o].constructor:o,t.querySelectorAll(G[o].selector))}document.body?J(0,1):document.addEventListener("DOMContentLoaded",(function(){return J(0,1)}),{once:!0});var K={Alert:d,Button:m,Carousel:E,Collapse:A,Dropdown:P,Modal:B,Popover:j,ScrollSpy:X,Tab:Y,Toast:q,Tooltip:V,Callback:J,Version:"3.0.14b"};export default K;
// Native JavaScript for Bootstrap v3.0.14c | 2021 © dnp_theme | MIT-License
var t="webkitTransition"in document.head.style?"webkitTransitionEnd":"transitionend",e="webkitTransition"in document.head.style||"transition"in document.head.style,n="webkitTransition"in document.head.style?"webkitTransitionDuration":"transitionDuration",o="webkitTransition"in document.head.style?"webkitTransitionProperty":"transitionProperty";function i(t){var i=getComputedStyle(t),a=i[o],r=i[n],s=r.indexOf("ms")>-1?1:1e3,l=e&&a&&"none"!==a?parseFloat(r)*s:0;return isNaN(l)?0:l}function a(e,n){var o=0,a=new Event(t),r=i(e);r?(e.addEventListener(t,(function i(a){a.target===e&&(n.apply(e,[a]),e.removeEventListener(t,i),o=1)})),setTimeout((function(){!o&&e.dispatchEvent(a)}),r+17)):n.apply(e,[a])}function r(t,e){var n=e&&e instanceof Element?e:document;return t instanceof Element?t:n.querySelector(t)}function s(t,e){return t.classList.contains(e)}function l(t,e){t.classList.remove(e)}function c(t,e){var n=new CustomEvent(t,{cancelable:!0});return e instanceof Object&&Object.keys(e).forEach((function(t){Object.defineProperty(n,t,{value:e[t]})})),n}function d(t){var e,n,o,i=c("close.bs.alert"),d=c("closed.bs.alert");function u(){f(),o.dispatchEvent(d),o.parentNode.removeChild(o)}function p(t){var i=t.target;o&&(n===i||n.contains(i))&&e.close()}function f(t){n[t=t?"addEventListener":"removeEventListener"]("click",p)}var m=function(t){e=this,(n=r(t)).Alert&&n.Alert.dispose(),o=n.closest(".alert"),f(1),n.Alert=this},h=m.prototype;return h.close=function(){if(o&&s(o,"show")){if(o.dispatchEvent(i),i.defaultPrevented)return;l(o,"show"),s(o,"fade")?a(o,u):u(),this.dispose()}},h.dispose=function(){f(),delete n.Alert},new m(t)}var u={component:"Alert",selector:'[data-bs-dismiss="alert"]',constructor:d};function p(t,e){t.classList.add(e)}var f="data-bs-toggle";function m(t){var e,n,o;function i(t){e.toggle.apply(n,[t])}function a(t){n[t=t?"addEventListener":"removeEventListener"]("click",i)}var c=function(t){e=this,(n=r(t)).Button&&n.Button.dispose(),o=s(n,"active"),n.setAttribute("aria-pressed",!!o||"false"),a(1),n.Button=e},d=c.prototype;return d.toggle=function(t){if(t.preventDefault(),!s(n,"disabled")){var e=(o=s(n,"active"))?"false":"true";(o?l:p)(n,"active"),n.setAttribute("aria-pressed",e)}},d.dispose=function(){a(),delete n.Button},new c(t)}var h={component:"Button",selector:'[data-bs-toggle="button"]',constructor:m},v=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t,e)}),e)}catch(t){}return t}()&&{passive:!0};function g(t){var e=t.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight;return e.top<=n&&e.bottom>=0}function b(t){return"true"===t||"false"!==t&&(isNaN(t)?""===t||"null"===t?null:t:+t)}function y(t){return r(t.getAttribute("data-bs-target")||t.getAttribute("href"))||t.closest(t.getAttribute("data-bs-parent"))||r(t.getAttribute("data-bs-container"))}function w(t,e,n){var o={},i={},a=Object.assign({},t.dataset),s=["target","parent","container"];return Object.keys(a).map((function(e){var n=e.replace("bs","").replace(/[A-Z]/,(function(t){return t.toLowerCase()}));i[n]=s.includes(n)?y(t):b(a[e])})),Object.keys(n).map((function(e){n[e]=s.includes(e)?n[e]instanceof Element?n[e]:"parent"===e?t.closest(n[e]):r(n[e]):b(n[e])})),Object.keys(e).map((function(t){o[t]=t in n?n[t]:t in i?i[t]:e[t]})),o}function E(t,e){var n,o,d,u,f,m,h={pause:"hover",keyboard:!1,touch:!0,interval:5e3},b=c("slide.bs.carousel"),y=c("slid.bs.carousel"),E={},T="left",A=!1,C=!1,L=0,N=null,k=!1,x=0,H=0,P=0;function M(){var t=L,e=Y(),i="left"===T?"next":"prev",a="left"===T?"start":"end";C&&n.Carousel&&(C=!1,p(d[t],"active"),l(d[e],"active"),l(d[t],"carousel-item-"+i),l(d[t],"carousel-item-"+a),l(d[e],"carousel-item-"+a),n.dispatchEvent(y),document.hidden||!E.interval||s(n,"paused")||o.cycle())}function B(){s(n,"paused")||(p(n,"paused"),!C&&(clearInterval(N),N=null))}function D(){!A&&s(n,"paused")&&(l(n,"paused"),C||(clearInterval(N),N=null,o.cycle()))}function S(t){t.preventDefault();var e=t.target;C||e&&!s(e,"active")&&e.getAttribute("data-bs-slide-to")&&o.to(+e.getAttribute("data-bs-slide-to"))}function O(t){t.preventDefault();var e=t.currentTarget||t.srcElement;m[1]&&e===m[1]?o.next():m[1]&&e===m[0]&&o.prev()}function W(t){var e=t.which;if(g(n))switch(e){case 39:o.next();break;case 37:o.prev();break;default:return}}function z(t){k||(x=t.changedTouches[0].pageX,n.contains(t.target)&&(k=!0,F(1)))}function R(t){if(k)return H=t.changedTouches[0].pageX,"touchmove"===t.type&&t.changedTouches.length>1?(t.preventDefault(),!1):void 0}function I(t){if(k&&!C&&(P=H||t.changedTouches[0].pageX,k)){if((!n.contains(t.target)||!n.contains(t.relatedTarget))&&Math.abs(x-P)<75)return!1;H<x?L++:H>x&&L--,k=!1,o.to(L),F()}}function j(t){Array.from(f).map((function(t){return l(t,"active")})),f[t]&&p(f[t],"active")}function F(t){n[t=t?"addEventListener":"removeEventListener"]("touchmove",R,v),n[t]("touchend",I,v)}function X(t){t=t?"addEventListener":"removeEventListener",E.pause&&E.interval&&(n[t]("mouseenter",B),n[t]("mouseleave",D),n[t]("touchstart",B,v),n[t]("touchend",D,v)),E.touch&&d.length>1&&n[t]("touchstart",z,v),m.map((function(e){return e&&e[t]("click",O)})),u&&u[t]("click",S),E.keyboard&&window[t]("keydown",W)}function Y(){return Array.from(d).indexOf(n.getElementsByClassName("carousel-item active")[0])||0}var q=function(t,e){o=this,e=e||{},n=r(t),d=n.getElementsByClassName("carousel-item"),n.Carousel&&n.Carousel.dispose(),d.length<2||(m=[r(".carousel-control-prev",n),r(".carousel-control-next",n)],u=r(".carousel-indicators",n),f=u&&u.getElementsByTagName("LI")||[],(E=w(n,h,e)).interval=!0===E.interval?h.interval:E.interval,Y()<0&&(d.length&&p(d[0],"active"),f.length&&j(0)),X(1),E.interval&&o.cycle(),n.Carousel=o)},V=q.prototype;return V.cycle=function(){N&&(clearInterval(N),N=null),A&&(l(n,"paused"),A=!A),N=setInterval((function(){g(n)&&(L++,o.to(L))}),E.interval)},V.pause=function(){E.interval&&!A&&(clearInterval(N),N=null,p(n,"paused"),A=!A)},V.next=function(){!C&&L++,o.to(L)},V.prev=function(){!C&&L--,o.to(L)},V.to=function(t){var e=Y();if(!C&&e!==t){e<t||0===e&&t===d.length-1?T="left":(e>t||e===d.length-1&&0===t)&&(T="right"),t<0?t=d.length-1:t>=d.length&&(t=0);var r="left"===T?"next":"prev",c="left"===T?"start":"end",u={relatedTarget:d[t],direction:T,from:e,to:t};Object.keys(u).map((function(t){b[t]=u[t],y[t]=u[t]})),n.dispatchEvent(b),b.defaultPrevented||(L=t,clearInterval(N),N=null,C=!0,j(t),i(d[t])&&s(n,"slide")?(p(d[t],"carousel-item-"+r),d[t].offsetWidth,p(d[t],"carousel-item-"+c),p(d[e],"carousel-item-"+c),a(d[t],M)):(p(d[t],"active"),l(d[e],"active"),setTimeout((function(){C=!1,n&&E.interval&&!s(n,"paused")&&o.cycle(),n.dispatchEvent(y)}),100)))}},V.dispose=function(){var t=["start","end","prev","next"];Array.from(d).map((function(e,n){s(e,"active")&&j(n),t.map((function(t){return l(e,"carousel-item-"+t)}))})),X(),clearInterval(N),delete n.Carousel},new q(t,e)}var T={component:"Carousel",selector:'[data-bs-ride="carousel"]',constructor:E};function A(t,e){var n,o,i,d,u=c("show.bs.collapse"),m=c("shown.bs.collapse"),h=c("hide.bs.collapse"),v=c("hidden.bs.collapse");function g(t){var e=t.collapse,n=t.element;e.dispatchEvent(h),h.defaultPrevented||(e.isAnimating=!0,d&&(d.isAnimating=!0),e.style.height=e.scrollHeight+"px",l(e,"collapse"),l(e,"show"),p(e,"collapsing"),e.offsetWidth,e.style.height="0px",a(e,(function(){e.isAnimating=!1,d&&(d.isAnimating=!1),e.setAttribute("aria-expanded","false"),n.setAttribute("aria-expanded","false"),l(e,"collapsing"),p(e,"collapse"),e.style.height="",e.dispatchEvent(v)})))}function b(t){o[t=t?"addEventListener":"removeEventListener"]("click",w)}function w(t){var e=t.target;n.toggle(),(t&&"A"===e.tagName&&"collapse"===e.getAttribute(f)||"A"===o.tagName)&&t.preventDefault()}var E=function(t,e){n=this,e=e||{},(o=r(t)).Collapse&&o.Collapse.dispose(),i=r(e.target)||y(o),d=o.closest(e.parent)||y(i),i&&(i.isAnimating=!1),d&&(d.isAnimating=!1),b(1),o.Collapse=n},T=E.prototype;return T.toggle=function(){s(i,"show")?this.hide():this.show()},T.hide=function(){i.isAnimating||(g({collapse:i,element:o}),p(o,"collapsed"))},T.show=function(){var t,e;d&&(e=d.getElementsByClassName("collapse show")[0],t=Array.from(d.querySelectorAll('[data-bs-toggle="collapse"]')).find((function(t){return!s(t,"collapsed")}))),d&&(!d||d.isAnimating)||i.isAnimating||(t&&e!==i&&(g({collapse:e,element:t}),p(t,"collapsed")),i.dispatchEvent(u),u.defaultPrevented||(i.isAnimating=!0,d&&(d.isAnimating=!0),p(i,"collapsing"),l(i,"collapse"),i.style.height=i.scrollHeight+"px",a(i,(function(){i.isAnimating=!1,d&&(d.isAnimating=!1),i.setAttribute("aria-expanded","true"),o.setAttribute("aria-expanded","true"),l(i,"collapsing"),p(i,"collapse"),p(i,"show"),i.style.height="",i.dispatchEvent(m)}))),l(o,"collapsed"))},T.dispose=function(){b(),d&&delete d.isAnimating,delete i.isAnimating,delete o.Collapse},new E(t,e)}var C={component:"Collapse",selector:'[data-bs-toggle="collapse"]',constructor:A},L=["dropdown","dropup","dropstart","dropend"];function N(t){return t&&(t.href&&"#"===t.href.slice(-1)||t.parentNode&&t.parentNode.href&&"#"===t.parentNode.href.slice(-1))}function k(t){t.focus?t.focus():t.setActive()}var x=L[0],H='[data-bs-toggle="'+x+'"]';function P(t){var e,n,o,i,a,d,u,m,h,g,b,y=L[1],w=L[2],E=L[3],T=["d-block","invisible"],A=[x,y],C=[w,E],P=c("show.bs."+x),M=c("shown.bs."+x),B=c("hide.bs."+x),D=c("hidden.bs."+x);function S(t){var e=L.filter((function(t){return d.includes(t)}))[0];if(!t)return o.className=d.join(" "),void(h&&!s(i,"dropdown-menu-end")?p:l)(i,"dropdown-menu-end");T.map((function(t){return p(i,t)}));var r=new RegExp("\\b("+x+"|"+y+"|"+w+"|"+E+")+"),c=n.offsetWidth,f=n.offsetHeight,v=i.offsetWidth,g=i.offsetHeight,b=document.documentElement.clientWidth||document.body.clientWidth,N=document.documentElement.clientHeight||document.body.clientHeight,k=n.getBoundingClientRect(),H=k.left+c-v<0,P=k.left-v<0,M=k.left+v>=b,B=k.left+v+c>=b,D=k.top+g>=N,S=k.top+g+f>=N,O=k.top-g<0;e=C.includes(e)&&P&&B?x:e,e=C.includes(e)&&D?y:e,!s(o,e=(e=(e=(e=e===w&&P&&!D?E:e)===E&&B&&!D?w:e)===y&&O&&!S?x:e)===x&&S&&!O?y:e)&&(o.className=o.className.replace(r,e));var W=u&&m||e!==E?l:p;if((u&&m||e!==w?l:p)(o,"dropleft"),W(o,"dropright"),A.includes(e)){var z=M?p:l;a?H&&p(o,"position-static"):z(i,"dropdown-menu-end")}T.map((function(t){return l(i,t)}))}function O(){var t=n.open?"addEventListener":"removeEventListener";document[t]("click",R),document[t]("focus",R),document[t]("keydown",j),document[t]("keyup",F),window[t]("scroll",X,v),window[t]("resize",X,v)}function W(t){n[t=t?"addEventListener":"removeEventListener"]("click",I)}function z(){B.relatedTarget=b,o.dispatchEvent(B),B.defaultPrevented||(l(i,"show"),l(o,"show"),S(),n.setAttribute("aria-expanded",!1),n.open=!1,k(n),setTimeout((function(){return O()}),1),D.relatedTarget=b,o.dispatchEvent(D))}function R(t){var e=t.target,a=e.getAttribute(f)===x||null!==e.closest(H),r=o.contains(e)&&("form"===e.tagName||null!==e.closest("form"));"click"===t.type&&N(e)&&t.preventDefault(),("focus"!==t.type||e!==n&&e!==i&&!i.contains(e))&&(r||a||(b=e,z()))}function I(t){b=n,e.toggle(),N(t.target)&&t.preventDefault()}function j(t){38!==t.which&&40!==t.which||t.preventDefault()}function F(t){var o=t.which,a=document.activeElement,r=a===n,s=i.contains(a),l=a.parentNode===i||a.parentNode.parentNode===i,c=g.indexOf(a);l&&(c=r?0:38===o?c>1?c-1:0:40===o&&c<g.length-1?c+1:c,g[c]&&k(g[c])),(g.length&&l||!g.length&&(s||r)||!s)&&n.open&&27===o&&(b=null,e.toggle())}function X(){n.open&&S(1)}var Y=function(t){e=this,(n=r(t)).Dropdown&&n.Dropdown.dispose(),o=n.parentNode,i=r(".dropdown-menu",o),a=o.parentNode.closest(".btn-group,.btn-group-vertical"),d=Array.from(o.classList),u=d.includes("dropleft"),m=d.includes("dropright"),h=s(i,"dropdown-menu-end"),b=null,g=[],Array.from(i.children).map((function(t){t.children.length&&"A"===t.children[0].tagName&&g.push(t.children[0]),"A"===t.tagName&&g.push(t)})),n.open=!1,W(1),n.Dropdown=this},q=Y.prototype;return q.toggle=function(){var t,e;s(o,"show")&&n.open?z():(t=r(L.map((function(t){return"."+t+".show"})).join(",")),(e=t&&r(H,t))&&e.Dropdown.toggle(),P.relatedTarget=b,o.dispatchEvent(P),P.defaultPrevented||(S(1),p(i,"show"),p(o,"show"),n.setAttribute("aria-expanded",!0),n.open=!0,setTimeout((function(){k(i.getElementsByTagName("INPUT")[0]||n),O(),M.relatedTarget=b,o.dispatchEvent(M)}),1)))},q.dispose=function(){s(o,"show")&&n.open&&z(),W(),delete n.Dropdown,delete n.open},new Y(t)}var M={backdrop:!0,keyboard:!0};function B(t,e){var n,o,d,u,f,m,h,g=Array.from(document.getElementsByClassName("fixed-top")).concat(Array.from(document.getElementsByClassName("fixed-bottom"))),b=c("show.bs.modal"),E=c("shown.bs.modal"),T=c("hide.bs.modal"),A=c("hidden.bs.modal"),C={},L=!1;function N(){var t,e,n=s(document.body,"modal-open"),o=parseInt(getComputedStyle(document.body).paddingRight),i=document.documentElement.clientHeight!==document.documentElement.scrollHeight||document.body.clientHeight!==document.body.scrollHeight,a=d.clientHeight!==d.scrollHeight,r=((e=document.createElement("div")).className="modal-scrollbar-measure",document.body.appendChild(e),t=e.offsetWidth-e.clientWidth,document.body.removeChild(e),t);d.style.paddingRight=!a&&r?r+"px":"",document.body.style.paddingRight=a||i?o+(n?0:r)+"px":"",g.length&&g.map((function(t){var e=getComputedStyle(t).paddingRight;t.style.paddingRight=a||i?parseInt(e)+(n?0:r)+"px":parseInt(e)+"px"}))}function x(){var t=r(".modal-backdrop");t&&!document.getElementsByClassName("modal show")[0]&&(document.body.removeChild(t),t=null),L=!1,null===t&&(l(document.body,"modal-open"),document.body.style.paddingRight="",d.style.paddingRight="",g.length&&g.map((function(t){t.style.paddingRight=""})))}function H(t){t=t?"addEventListener":"removeEventListener",window[t]("resize",W,v),d[t]("click",R),document[t]("keydown",z)}function P(t){o[t=t?"addEventListener":"removeEventListener"]("click",O)}function B(){d.style.display="block",N(),!document.getElementsByClassName("modal show")[0]&&p(document.body,"modal-open"),p(d,"show"),d.setAttribute("aria-hidden",!1),m?a(d,D):D()}function D(){k(d),L=!1,H(1),E.relatedTarget=h,d.dispatchEvent(E)}function S(t){var e=r(".modal-backdrop");d.style.display="",o&&k(o),!t&&e&&m&&s(e,"show")&&!r(".modal.show")?(l(e,"show"),a(e,x)):x(),H(),A.relatedTarget=h,d.dispatchEvent(A)}function O(t){var e=t.target;if(!L){var i=d.getAttribute("id"),a=y(o);!s(d,"show")&&o.contains(e)&&a.id===i&&(h=o,n.show(),t.preventDefault())}}function W(){n.update()}function z(t){var e=t.which;!L&&C.keyboard&&27==e&&s(d,"show")&&n.hide()}function R(t){if(!L){var e=t.target,o=document.getSelection().toString().length,i=u.contains(e),r="modal"===e.getAttribute("data-bs-dismiss")||e.closest('[data-bs-dismiss="modal"]');o&&!i||(f&&!i?(p(d,"modal-static"),L=!0,a(u,I)):!r&&(o||f||i)||(n.hide(),h=r?e:null,t.preventDefault()))}}function I(){var t=i(u)+17;l(d,"modal-static"),setTimeout((function(){return L=!1}),t)}var j=function(t,e){n=this,e=e||{},o=r(t),d=s(o,"modal")?o:y(o),u=r(".modal-dialog",d),s(o,"modal")&&(o=null),(o||d).Modal&&(o||d).Modal.dispose(),C=w(d,M,e),f="static"===C.backdrop,m=s(d,"fade"),o?(P(1),d.modalTrigger=o,o.Modal=n):d.Modal=n},F=j.prototype;return F.toggle=function(){s(d,"show")?n.hide():n.show()},F.show=function(){if((!s(d,"show")||L)&&(b.relatedTarget=h,d.dispatchEvent(b),!b.defaultPrevented)){L=!0;var t=document.getElementsByClassName("modal show")[0],e=C.backdrop?function(){var t=r(".modal-backdrop");if(null===t){var e=document.createElement("div");e.setAttribute("class","modal-backdrop"+(m?" fade":"")),t=e,document.body.appendChild(t)}return t}():null,n=0;t&&t!==d&&(t.modalTrigger&&t.modalTrigger.Modal.hide(),t.Modal&&t.Modal.hide()),!e||t||s(e,"show")||(e.offsetWidth,n=i(e),p(e,"show")),t?B():setTimeout((function(){return B()}),e&&n?n:0)}},F.hide=function(t){(s(d,"show")||L)&&(T.relatedTarget=h,d.dispatchEvent(T),T.defaultPrevented||(L=!0,l(d,"show"),d.setAttribute("aria-hidden",!0),m&&1!==t?a(d,(function(){S()})):S(t)))},F.update=function(){s(d,"show")&&N()},F.dispose=function(){this.hide(1),o&&(delete d.modalTrigger,P(o)),delete(o||d).Modal},new j(t,e)}var D={top:"top",bottom:"bottom",left:"start",right:"end"};function S(t,e){return e.contains(t)}function O(t){return[SVGElement,HTMLImageElement,HTMLVideoElement].some((function(e){return t instanceof e}))}function W(t,e,n,o,i){var a,r,s,l,c,d,u,p=e.offsetWidth,f=e.offsetHeight,m=document.documentElement.clientWidth||document.body.clientWidth,h=document.documentElement.clientHeight||document.body.clientHeight,v=t.getBoundingClientRect(),g=o===document.body?{x:window.pageXOffset,y:window.pageYOffset}:{x:o.offsetLeft+o.scrollLeft,y:o.offsetTop+o.scrollTop},b=v.right-v.left,y=v.bottom-v.top,w=e.classList.contains("popover"),E=e.getElementsByClassName((w?"popover":"tooltip")+"-arrow")[0],T=v.top+y/2-f/2<0,A=v.left+b/2-p/2<0,C=v.left+p/2+b/2>=m,L=v.top+f/2+y/2>=h,N=v.top-f<0,k=v.left-p<0,x=v.top+f+y>=h,H=v.left+p+b>=m;n="right"===(n="left"===(n="bottom"===(n="top"===(n=("left"===n||"right"===n)&&k&&H?"top":n)&&N?"bottom":n)&&x?"top":n)&&k?"right":n)&&H?"left":n,-1===e.className.indexOf(n)&&(e.className=e.className.replace(/\b(top|bottom|start|end)+/,D[n])),c=E?E.offsetWidth:0,d=E?E.offsetHeight:0,u=w?.8*c:c/2,"left"===n||"right"===n?(r="left"===n?v.left+g.x-p-(w?c:0):v.left+g.x+b,T?(a=v.top+g.y,s=y/2-c):L?(a=v.top+g.y-f+y,s=f-y/2-c):(a=v.top+g.y-f/2+y/2,s=f/2-(w?.9*d:d/2)),l=null):"top"!==n&&"bottom"!==n||(i&&O(t)?(a="top"===n?i.pageY-f-(w?c:d):i.pageY+d,i.clientX-p/2<0?(r=0,l=i.pageX-(w?.8*c:c/2)):i.clientX+.51*p>m?(r=m-1.009*p,l=p-(m-i.pageX)-u):(r=i.pageX-p/2,l=p/2-(w?.8*c:c/2))):(a="top"===n?v.top+g.y-f-(w?d:0):v.top+g.y+y,A?(r=0,l=v.left+b/2-(w?.8*c:c/2)):C?(r=m-p,l=p-(m-v.left)+b/2-(w?.8*c:c/2)):(r=v.left+g.x-p/2+b/2,l=p/2-(w?.8*c:c/2))),s=null),e.style.top=a+"px",e.style.left=r+"px",E.style.top=null!==s?s+"px":"",E.style.left=null!==l?l+"px":""}var z=1;function R(t,e){return t[e]||z++}var I={template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',title:null,content:null,sanitizeFn:null,customClass:null,dismissible:!1,animation:!0,trigger:"hover",placement:"top",delay:200};function j(t,e){var n,o,d,u,f=/(iPhone|iPod|iPad)/.test(navigator.userAgent),m=c("show.bs.popover"),h=c("shown.bs.popover"),g=c("hide.bs.popover"),b=c("hidden.bs.popover"),y=null,E={},T=!0,A=null,C='<button type="button" class="btn-close"></button>';function L(t){t.target===r(".btn-close",y)&&n.hide()}function N(t){W(o,y,E.placement,E.container,t)}function k(){o.focus()}function x(){n.show()}function H(){n.hide()}function P(){n.toggle()}function M(t){var e=t.target;y&&y.contains(e)||e===o||o.contains(e)||n.hide()}function B(){z(),delete o.Popover}function z(t){t=t?"addEventListener":"removeEventListener","hover"===E.trigger?(o[t]("mousedown",x),o[t]("mouseenter",x),O(o)&&o[t]("mousemove",N,v),!E.dismissible&&o[t]("mouseleave",H)):"click"===E.trigger?o[t](E.trigger,P):"focus"===E.trigger&&(f&&o[t]("click",k),o[t]("focusin",x))}function j(t){t=t?"addEventListener":"removeEventListener",E.dismissible?document[t]("click",L):("focus"===E.trigger&&o[t]("focusout",H),"hover"===E.trigger&&document[t]("touchstart",M,v)),O(o)||(window[t]("scroll",N,v),window[t]("resize",N,v))}function F(){j(1),o.dispatchEvent(h)}function X(t){j(),o.removeAttribute("aria-describedby"),E.container.removeChild(y),A=null,o.dispatchEvent(b)}var Y=function(t,e){n=this,e=e||{},(o=r(t)).Popover&&o.Popover.dispose();var i=o.closest(".modal"),a=o.closest(".fixed-top")||o.closest(".fixed-bottom");I.container=i||a||document.body,(E=w(o,I,e)).content&&(u="bs-popover-"+D[E.placement],d="popover-"+R(o),function(){var t=E.title,e=E.content;t=t?t.trim():null,e=e?e.trim():null,E.sanitizeFn&&(t=t?E.sanitizeFn(t):null,e=e?E.sanitizeFn(e):null,E.template=E.template?E.sanitizeFn(E.template):null,C=E.sanitizeFn(C)),(y=document.createElement("div")).setAttribute("id",d),o.setAttribute("aria-describedby","#"+d);var n=document.createElement("div");n.innerHTML=E.template.trim(),y.className=n.firstChild.className,y.innerHTML=n.firstChild.innerHTML;var i=r(".popover-header",y),a=r(".popover-body",y);E.dismissible&&(e=null===(t=t?t+C:t)?+C:e),t&&i&&(i.innerHTML=t.trim()),e&&a&&(a.innerHTML=e.trim()),!s(y,"popover")&&p(y,"popover"),E.animation&&!s(y,"fade")&&p(y,"fade"),E.customClass&&!s(y,E.customClass)&&p(y,E.customClass),!s(y,u)&&p(y,u)}(),z(1),o.Popover=n)},q=Y.prototype;return q.toggle=function(){S(y,E.container)?n.hide():n.show()},q.show=function(){clearTimeout(A),A=setTimeout((function(){if(!S(y,E.container)){if(o.dispatchEvent(m),m.defaultPrevented)return;E.container.appendChild(y),N(),!s(y,"show")&&p(y,"show"),E.animation?a(y,F):F()}}),17)},q.hide=function(){clearTimeout(A),A=setTimeout((function(){if(S(y,E.container)&&s(y,"show")){if(o.dispatchEvent(g),g.defaultPrevented)return;l(y,"show"),E.animation?a(y,X):X()}}),E.delay+50)},q.enable=function(){T||(z(1),T=!T)},q.disable=function(){T&&(S(y,E.container)&&E.animation?(n.hide(),setTimeout(z,i(y)+E.delay+17)):z(),T=!T)},q.toggleEnabled=function(){T?n.disable():n.enable()},q.dispose=function(){E.animation&&S(y,E.container)?(E.delay=0,n.hide(),a(y,B)):B()},new Y(t,e)}var F=[];function X(t,e){var n,o,i,a,d,u,f,m,h,g,b,w=c("activate.bs.scrollspy"),E=0,T=[],A=[];function C(){var t,e,n,o=u.getElementsByTagName("A");(b=f?d.pageYOffset:d.scrollTop,E!==o.length||L(d)!==h)&&(T=[],A=[],h=L(d),g=h-(f?window.innerHeight:i.getBoundingClientRect().height),Array.from(o).map((function(o){t=o.getAttribute("href"),(e=t&&"#"===t.charAt(0)&&"#"!==t.slice(-1)&&r(t))&&(T.push(o),n=e.getBoundingClientRect(),A.push((f?n.top+b:e.offsetTop)-a))})),E=T.length)}function L(t){return t.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}function N(t){Array.from(t.getElementsByTagName("A")).map((function(t){return s(t,"active")&&l(t,"active")}))}function k(t){N(u),m=t,p(t,"active");for(var e=[];t.parentNode!==document.body;)t=t.parentNode,["dropdown-menu","nav"].some((function(e){return s(t,e)}))&&e.push(t);e.map((function(t){var e=t.previousElementSibling;e&&!s(e,"active")&&p(e,"active")})),w.relatedTarget=t,i.dispatchEvent(w)}function x(t){var e=t?"addEventListener":"removeEventListener",i=F.indexOf(F.find((function(t){return t.id===n}))),a={id:n,self:o};!t&&i>-1&&F.splice(i,1),f&&(!t||F.length)&&t||d[e]("scroll",H,v),t&&F.push(a)}function H(){F.map((function(t){return t.self.refresh()}))}var P=function(t,e){o=this,e=e||{},(i=r(t)).ScrollSpy&&i.ScrollSpy.dispose(),u=r(e.target)||y(i),d=i.clientHeight<i.scrollHeight?i:window,u&&(a=+(e.offset||i.getAttribute("data-bs-offset"))||10,f=d===window,n=R(i),x(1),o.refresh(),i.ScrollSpy=o)},M=P.prototype;return M.refresh=function(){if(C(),b>=g){var t=T[E-1];m!==t&&k(t)}else{if(m&&b<A[0]&&A[0]>0)return m=null,void N(u);T.map((function(t,e){m!==t&&b>=A[e]&&(void 0===A[e+1]||b<A[e+1])&&k(t)}))}},M.dispose=function(){x(),delete i.ScrollSpy},new P(t,e)}function Y(t){var n,o,i,d,u,f,m,h,v,g,b,y,w=c("show.bs.tab"),E=c("shown.bs.tab"),T=c("hide.bs.tab"),A=c("hidden.bs.tab");function C(){g.style.height="",l(g,"collapsing"),h.isAnimating=!1}function N(){g?y?C():setTimeout((function(){g.style.height=u+"px",g.offsetWidth,a(g,C)}),50):h.isAnimating=!1,E.relatedTarget=f,i.dispatchEvent(E)}function k(){g&&(m.style.float="left",d.style.float="left",b=m.scrollHeight),w.relatedTarget=f,A.relatedTarget=i,i.dispatchEvent(w),w.defaultPrevented||(p(d,"active"),l(m,"active"),g&&(u=d.scrollHeight,y=u===b,p(g,"collapsing"),g.style.height=b+"px",g.offsetHeight,m.style.float="",d.style.float=""),s(d,"fade")?setTimeout((function(){p(d,"show"),a(d,(function(){N()}))}),20):N(),f.dispatchEvent(A))}function x(){var t,e=h.getElementsByClassName("active");return 1!==e.length||L.some((function(t){return s(e[0].parentNode,t)}))?e.length>1&&(t=e[e.length-1]):t=e[0],t}function H(){return r(x().getAttribute("href"))}function P(t){o[t=t?"addEventListener":"removeEventListener"]("click",M)}function M(t){t.preventDefault(),i=t.currentTarget,!h.isAnimating&&n.show()}var B=function(t){n=this,(o=r(t)).Tab&&o.Tab.dispose(),h=o.closest(".nav"),v=h&&r("."+L[0]+"-toggle",h),m=H(),g=e&&m.closest(".tab-content"),b=m.scrollHeight,h.isAnimating=!1,P(1),o.Tab=this},D=B.prototype;return D.show=function(){if(!s(i,"active")){if(d=r(i.getAttribute("href")),f=x(),m=H(),T.relatedTarget=i,f.dispatchEvent(T),T.defaultPrevented)return;h.isAnimating=!0,l(f,"active"),f.setAttribute("aria-selected","false"),p(i,"active"),i.setAttribute("aria-selected","true"),v&&(s(o.parentNode,"dropdown-menu")?!s(v,"active")&&p(v,"active"):s(v,"active")&&l(v,"active")),s(m,"fade")?(l(m,"show"),a(m,k)):k()}},D.dispose=function(){P(),delete o.Tab},new B(t)}function q(t,e){var n,o,i,d={animation:!0,autohide:!0,delay:500},u=c("show.bs.toast"),f=c("hide.bs.toast"),m=c("shown.bs.toast"),h=c("hidden.bs.toast"),v=null,g={};function b(){g.animation||(l(i,"showing"),p(i,"show")),i.dispatchEvent(m),g.autohide&&n.hide()}function y(){p(i,"hide"),i.dispatchEvent(h)}function E(){l(i,"show"),g.animation?(i.offsetWidth,a(i,y)):y()}function T(t){o[t=t?"addEventListener":"removeEventListener"]("click",A)}function A(){n.hide()}function C(){clearTimeout(v),T(),delete o.Toast}var L=function(t,e){n=this,e=e||{},o=r(t),i=o.closest(".toast"),o.Toast&&o.Toast.dispose(),g=w(o,d,e),T(1),o.Toast=n},N=L.prototype;return N.show=function(){if(i&&s(i,"hide")){if(i.dispatchEvent(u),u.defaultPrevented)return;p(i,"fade"),clearTimeout(v),v=setTimeout((function(){return l(i,"hide"),void(g.animation?(i.offsetWidth,p(i,"showing"),p(i,"show"),a(i,b)):b())}),10)}},N.hide=function(t){if(i&&s(i,"show")){if(i.dispatchEvent(f),f.defaultPrevented)return;clearTimeout(v),v=setTimeout(E,t?10:g.delay)}},N.dispose=function(){n.hide(),g.animation?a(i,C):C()},new L(t,e)}function V(t,e){var n,o,d,u,f={title:null,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',placement:"top",animation:!0,customClass:null,delay:200,sanitizeFn:null},m=c("show.bs.tooltip"),h=c("shown.bs.tooltip"),g=c("hide.bs.tooltip"),b=c("hidden.bs.tooltip"),y=null,E=null,T=!0,A={};function C(t){W(o,y,A.placement,A.container,t)}function L(t){var e=t.target;y.contains(e)||e===o||o.contains(e)||n.hide()}function N(){n.show()}function k(){n.hide()}function x(){B(),o.hasAttribute("data-original-title")&&z(),delete o.Tooltip}function H(t){t=t?"addEventListener":"removeEventListener",document[t]("touchstart",L,v),O(o)||(window[t]("scroll",C,v),window[t]("resize",C,v))}function P(){H(1),o.dispatchEvent(h)}function M(){H(),o.removeAttribute("aria-describedby"),A.container.removeChild(y),E=null,o.dispatchEvent(b)}function B(t){t=t?"addEventListener":"removeEventListener",O(o)&&o[t]("mousemove",C,v),o[t]("mousedown",N),o[t]("mouseenter",N),o[t]("mouseleave",k)}function z(t){var e=["data-original-title","title"];o.setAttribute(e[t?0:1],t||o.getAttribute(e[0])),o.removeAttribute(e[t?1:0])}var I=function(t,e){n=this,e=e||{},(o=r(t)).Tooltip&&o.Tooltip.dispose();var i=o.closest(".modal"),a=o.closest(".fixed-top")||o.closest(".fixed-bottom");f.title=o.getAttribute("title"),f.container=i||a||document.body,(A=w(o,f,e)).title&&(d="tooltip-"+R(o),u="bs-tooltip-"+D[A.placement],o.hasAttribute("title")&&z(A.title),function(){var t=A.title.trim();if(A.sanitizeFn&&(t=A.sanitizeFn(t),A.template=A.sanitizeFn(A.template)),t){(y=document.createElement("div")).setAttribute("id",d),o.setAttribute("aria-describedby","#"+d);var e=document.createElement("div");e.innerHTML=A.template.trim(),y.className=e.firstChild.className,y.innerHTML=e.firstChild.innerHTML,r(".tooltip-inner",y).innerHTML=t,y.setAttribute("role","tooltip"),!s(y,"tooltip")&&p(y,"tooltip"),A.animation&&!s(y,"fade")&&p(y,"fade"),A.customClass&&!s(y,A.customClass)&&p(y,A.customClass),!s(y,u)&&p(y,u)}}(),B(1),o.Tooltip=n)},j=I.prototype;return j.show=function(){clearTimeout(E),E=setTimeout((function(){if(!S(y,A.container)){if(o.dispatchEvent(m),m.defaultPrevented)return;A.container.appendChild(y),C(),!s(y,"show")&&p(y,"show"),A.animation?a(y,P):P()}}),20)},j.hide=function(){clearTimeout(E),E=setTimeout((function(){if(S(y,A.container)){if(o.dispatchEvent(g),g.defaultPrevented)return;l(y,"show"),A.animation?a(y,M):M()}}),A.delay)},j.toggle=function(){S(y,A.container)?n.hide():n.show()},j.enable=function(){T||(B(1),T=!T)},j.disable=function(){T&&(!S(y,A.container)&&A.animation?(n.hide(),setTimeout(B,i(y)+A.delay+17)):B(),T=!T)},j.toggleEnabled=function(){T?n.disable():n.enable()},j.dispose=function(){A.animation&&S(y,A.container)?(A.delay=0,n.hide(),a(y,x)):x()},new I(t,e)}var G={Alert:u,Button:h,Carousel:T,Collapse:C,Dropdown:{component:"Dropdown",selector:H,constructor:P},Modal:{component:"Modal",selector:'[data-bs-toggle="modal"]',constructor:B},Popover:{component:"Popover",selector:'[data-bs-toggle="popover"],[data-tip="popover"]',constructor:j},ScrollSpy:{component:"ScrollSpy",selector:'[data-bs-spy="scroll"]',constructor:X},Tab:{component:"Tab",selector:'[data-bs-toggle="tab"]',constructor:Y},Toast:{component:"Toast",selector:'[data-bs-dismiss="toast"]',constructor:q},Tooltip:{component:"Tooltip",selector:'[data-bs-toggle="tooltip"],[data-tip="tooltip"]',constructor:V}};function U(t,e){Array.from(e).map((function(e){return new t(e)}))}function Z(t){for(var e in t=t instanceof Element?t:document,G){var n=G[e],o=n.constructor,i=n.selector;U(o,t.querySelectorAll(i))}}document.body?Z():document.addEventListener("DOMContentLoaded",(function(){return Z()}),{once:!0});var J={Alert:d,Button:m,Carousel:E,Collapse:A,Dropdown:P,Modal:B,Popover:j,ScrollSpy:X,Tab:Y,Toast:q,Tooltip:V,initCallback:Z,Version:"3.0.14c"};export default J;

@@ -1,2 +0,2 @@

// Native JavaScript for Bootstrap v3.0.14b | 2021 © dnp_theme | MIT-License
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).BSN=t()}(this,(function(){"use strict";var e="webkitTransition"in document.head.style?"webkitTransitionEnd":"transitionend",t="webkitTransition"in document.head.style||"transition"in document.head.style,n="webkitTransition"in document.head.style?"webkitTransitionDuration":"transitionDuration",o="webkitTransition"in document.head.style?"webkitTransitionProperty":"transitionProperty";function i(e){var i=getComputedStyle(e),a=i[o],r=i[n],s=r.indexOf("ms")>-1?1:1e3,l=t&&a&&"none"!==a?parseFloat(r)*s:0;return isNaN(l)?0:l}function a(t,n){var o=0,a=new Event(e),r=i(t);r?(t.addEventListener(e,(function i(a){a.target===t&&(n.apply(t,[a]),t.removeEventListener(e,i),o=1)})),setTimeout((function(){!o&&t.dispatchEvent(a)}),r+17)):n.apply(t,[a])}function r(e,t){var n=t&&t instanceof Element?t:document;return e instanceof Element?e:n.querySelector(e)}function s(e,t){return e.classList.contains(t)}function l(e,t){e.classList.remove(t)}function c(e,t){var n=new CustomEvent(e,{cancelable:!0});return t instanceof Object&&Object.keys(t).forEach((function(e){Object.defineProperty(n,e,{value:t[e]})})),n}function d(e){var t,n,o,i=c("close.bs.alert"),d=c("closed.bs.alert");function u(){p(),o.dispatchEvent(d),o.parentNode.removeChild(o)}function f(e){var i=e.target;o&&(n===i||n.contains(i))&&t.close()}function p(e){n[e=e?"addEventListener":"removeEventListener"]("click",f)}var m=function(e){t=this,(n=r(e)).Alert&&n.Alert.dispose(),o=n.closest(".alert"),p(1),n.Alert=this},h=m.prototype;return h.close=function(){if(o&&s(o,"show")){if(o.dispatchEvent(i),i.defaultPrevented)return;l(o,"show"),s(o,"fade")?a(o,u):u(),this.dispose()}},h.dispose=function(){p(),delete n.Alert},new m(e)}var u={component:"Alert",selector:'[data-bs-dismiss="alert"]',constructor:d};function f(e,t){e.classList.add(t)}var p="data-bs-toggle";function m(e){var t,n,o;function i(e){t.toggle.apply(n,[e])}function a(e){n[e=e?"addEventListener":"removeEventListener"]("click",i)}var c=function(e){t=this,(n=r(e)).Button&&n.Button.dispose(),o=s(n,"active"),n.setAttribute("aria-pressed",!!o||"false"),a(1),n.Button=t},d=c.prototype;return d.toggle=function(e){if(e.preventDefault(),!s(n,"disabled")){var t=(o=s(n,"active"))?"false":"true";(o?l:f)(n,"active"),n.setAttribute("aria-pressed",t)}},d.dispose=function(){a(),delete n.Button},new c(e)}var h={component:"Button",selector:'[data-bs-toggle="button"]',constructor:m},v=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});document.addEventListener("DOMContentLoaded",(function e(){document.removeEventListener("DOMContentLoaded",e,t)}),t)}catch(e){}return e}()&&{passive:!0};function g(e){var t=e.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight;return t.top<=n&&t.bottom>=0}function b(e){return r(e.getAttribute("data-bs-target")||e.getAttribute("href"))||e.closest(e.getAttribute("data-bs-parent"))||r(e.getAttribute("data-bs-container"))}function y(e){return"true"===e||"false"!==e&&(isNaN(e)?""===e||"null"===e?null:e:+e)}function w(e,t,n){var o={},i={},a=Object.assign({},e.dataset),s=["target","parent","container"];return Object.keys(a).map((function(t){var n=t.replace("bs","").replace(/[A-Z]/,(function(e){return e.toLowerCase()}));i[n]=s.includes(n)?b(e):y(a[t])})),Object.keys(n).map((function(t){n[t]=s.includes(t)?n[t]instanceof Element?n[t]:"parent"===t?e.closest(n[t]):r(n[t]):y(n[t])})),Object.keys(t).map((function(e){o[e]=e in n?n[e]:e in i?i[e]:t[e]})),o}function E(e,t){var n,o,d,u,p,m,h={pause:"hover",keyboard:!1,touch:!0,interval:5e3},b=c("slide.bs.carousel"),y=c("slid.bs.carousel"),E={},T="left",A=!1,C=!1,L=0,N=null,k=!1,x=0,H=0,P=0;function B(){var e=L,t=Y(),i="left"===T?"next":"prev",a="left"===T?"start":"end";C&&n.Carousel&&(C=!1,f(d[e],"active"),l(d[t],"active"),l(d[e],"carousel-item-"+i),l(d[e],"carousel-item-"+a),l(d[t],"carousel-item-"+a),n.dispatchEvent(y),document.hidden||!E.interval||s(n,"paused")||o.cycle())}function M(){s(n,"paused")||(f(n,"paused"),!C&&(clearInterval(N),N=null))}function S(){!A&&s(n,"paused")&&(l(n,"paused"),C||(clearInterval(N),N=null,o.cycle()))}function D(e){e.preventDefault();var t=e.target;C||t&&!s(t,"active")&&t.getAttribute("data-bs-slide-to")&&o.to(+t.getAttribute("data-bs-slide-to"))}function O(e){e.preventDefault();var t=e.currentTarget||e.srcElement;m[1]&&t===m[1]?o.next():m[1]&&t===m[0]&&o.prev()}function W(e){var t=e.which;if(g(n))switch(t){case 39:o.next();break;case 37:o.prev();break;default:return}}function z(e){k||(x=e.changedTouches[0].pageX,n.contains(e.target)&&(k=!0,F(1)))}function R(e){if(k)return H=e.changedTouches[0].pageX,"touchmove"===e.type&&e.changedTouches.length>1?(e.preventDefault(),!1):void 0}function I(e){if(k&&!C&&(P=H||e.changedTouches[0].pageX,k)){if((!n.contains(e.target)||!n.contains(e.relatedTarget))&&Math.abs(x-P)<75)return!1;H<x?L++:H>x&&L--,k=!1,o.to(L),F()}}function j(e){Array.from(p).map((function(e){return l(e,"active")})),p[e]&&f(p[e],"active")}function F(e){n[e=e?"addEventListener":"removeEventListener"]("touchmove",R,v),n[e]("touchend",I,v)}function X(e){e=e?"addEventListener":"removeEventListener",E.pause&&E.interval&&(n[e]("mouseenter",M),n[e]("mouseleave",S),n[e]("touchstart",M,v),n[e]("touchend",S,v)),E.touch&&d.length>1&&n[e]("touchstart",z,v),m.map((function(t){return t&&t[e]("click",O)})),u&&u[e]("click",D),E.keyboard&&window[e]("keydown",W)}function Y(){return Array.from(d).indexOf(n.getElementsByClassName("carousel-item active")[0])||0}var q=function(e,t){o=this,t=t||{},n=r(e),d=n.getElementsByClassName("carousel-item"),n.Carousel&&n.Carousel.dispose(),d.length<2||(m=[r(".carousel-control-prev",n),r(".carousel-control-next",n)],u=r(".carousel-indicators",n),p=u&&u.getElementsByTagName("LI")||[],(E=w(n,h,t)).interval=!0===E.interval?h.interval:E.interval,Y()<0&&(d.length&&f(d[0],"active"),p.length&&j(0)),X(1),E.interval&&o.cycle(),n.Carousel=o)},V=q.prototype;return V.cycle=function(){N&&(clearInterval(N),N=null),A&&(l(n,"paused"),A=!A),N=setInterval((function(){g(n)&&(L++,o.to(L))}),E.interval)},V.pause=function(){E.interval&&!A&&(clearInterval(N),N=null,f(n,"paused"),A=!A)},V.next=function(){!C&&L++,o.to(L)},V.prev=function(){!C&&L--,o.to(L)},V.to=function(e){var t=Y();if(!C&&t!==e){t<e||0===t&&e===d.length-1?T="left":(t>e||t===d.length-1&&0===e)&&(T="right"),e<0?e=d.length-1:e>=d.length&&(e=0);var r="left"===T?"next":"prev",c="left"===T?"start":"end",u={relatedTarget:d[e],direction:T,from:t,to:e};Object.keys(u).map((function(e){b[e]=u[e],y[e]=u[e]})),n.dispatchEvent(b),b.defaultPrevented||(L=e,clearInterval(N),N=null,C=!0,j(e),i(d[e])&&s(n,"slide")?(f(d[e],"carousel-item-"+r),d[e].offsetWidth,f(d[e],"carousel-item-"+c),f(d[t],"carousel-item-"+c),a(d[e],B)):(f(d[e],"active"),l(d[t],"active"),setTimeout((function(){C=!1,n&&E.interval&&!s(n,"paused")&&o.cycle(),n.dispatchEvent(y)}),100)))}},V.dispose=function(){var e=["start","end","prev","next"];Array.from(d).map((function(t,n){s(t,"active")&&j(n),e.map((function(e){return l(t,"carousel-item-"+e)}))})),X(),clearInterval(N),delete n.Carousel},new q(e,t)}var T={component:"Carousel",selector:'[data-bs-ride="carousel"]',constructor:E};function A(e,t){var n,o,i,d,u=c("show.bs.collapse"),m=c("shown.bs.collapse"),h=c("hide.bs.collapse"),v=c("hidden.bs.collapse");function g(e){var t=e.collapse,n=e.element;t.dispatchEvent(h),h.defaultPrevented||(t.isAnimating=!0,d&&(d.isAnimating=!0),t.style.height=t.scrollHeight+"px",l(t,"collapse"),l(t,"show"),f(t,"collapsing"),t.offsetWidth,t.style.height="0px",a(t,(function(){t.isAnimating=!1,d&&(d.isAnimating=!1),t.setAttribute("aria-expanded","false"),n.setAttribute("aria-expanded","false"),l(t,"collapsing"),f(t,"collapse"),t.style.height="",t.dispatchEvent(v)})))}function y(e){o[e=e?"addEventListener":"removeEventListener"]("click",w)}function w(e){var t=e.target;n.toggle(),(e&&"A"===t.tagName&&"collapse"===t.getAttribute(p)||"A"===o.tagName)&&e.preventDefault()}var E=function(e,t){n=this,t=t||{},(o=r(e)).Collapse&&o.Collapse.dispose(),i=r(t.target)||b(o),d=o.closest(t.parent)||b(i),i&&(i.isAnimating=!1),d&&(d.isAnimating=!1),y(1),o.Collapse=n},T=E.prototype;return T.toggle=function(){s(i,"show")?this.hide():this.show()},T.hide=function(){i.isAnimating||(g({collapse:i,element:o}),f(o,"collapsed"))},T.show=function(){var e,t;d&&(t=d.getElementsByClassName("collapse show")[0],e=Array.from(d.querySelectorAll('[data-bs-toggle="collapse"]')).find((function(e){return!s(e,"collapsed")}))),d&&(!d||d.isAnimating)||i.isAnimating||(e&&t!==i&&(g({collapse:t,element:e}),f(e,"collapsed")),i.dispatchEvent(u),u.defaultPrevented||(i.isAnimating=!0,d&&(d.isAnimating=!0),f(i,"collapsing"),l(i,"collapse"),i.style.height=i.scrollHeight+"px",a(i,(function(){i.isAnimating=!1,d&&(d.isAnimating=!1),i.setAttribute("aria-expanded","true"),o.setAttribute("aria-expanded","true"),l(i,"collapsing"),f(i,"collapse"),f(i,"show"),i.style.height="",i.dispatchEvent(m)}))),l(o,"collapsed"))},T.dispose=function(){y(),d&&delete d.isAnimating,delete i.isAnimating,delete o.Collapse},new E(e,t)}var C={component:"Collapse",selector:'[data-bs-toggle="collapse"]',constructor:A},L=["dropdown","dropup","dropstart","dropend"];function N(e){return e&&(e.href&&"#"===e.href.slice(-1)||e.parentNode&&e.parentNode.href&&"#"===e.parentNode.href.slice(-1))}function k(e){e.focus?e.focus():e.setActive()}var x=L[0],H="["+p+'="'+x+'"]';function P(e){var t,n,o,i,a,d,u,m,h,g,b,y=L[1],w=L[2],E=L[3],T=["d-block","invisible"],A=[x,y],C=[w,E],P=c("show.bs."+x),B=c("shown.bs."+x),M=c("hide.bs."+x),S=c("hidden.bs."+x);function D(e){var t=L.filter((function(e){return d.includes(e)}))[0];if(!e)return o.className=d.join(" "),void(h&&!s(i,"dropdown-menu-end")?f:l)(i,"dropdown-menu-end");T.map((function(e){return f(i,e)}));var r=new RegExp("\\b("+x+"|"+y+"|"+w+"|"+E+")+"),c=n.offsetWidth,p=n.offsetHeight,v=i.offsetWidth,g=i.offsetHeight,b=document.documentElement.clientWidth||document.body.clientWidth,N=document.documentElement.clientHeight||document.body.clientHeight,k=n.getBoundingClientRect(),H=k.left+c-v<0,P=k.left-v<0,B=k.left+v>=b,M=k.left+v+c>=b,S=k.top+g>=N,D=k.top+g+p>=N,O=k.top-g<0;t=C.includes(t)&&P&&M?x:t,t=C.includes(t)&&S?y:t,!s(o,t=(t=(t=(t=t===w&&P&&!S?E:t)===E&&M&&!S?w:t)===y&&O&&!D?x:t)===x&&D&&!O?y:t)&&(o.className=o.className.replace(r,t));var W=u&&m||t!==E?l:f;if((u&&m||t!==w?l:f)(o,"dropleft"),W(o,"dropright"),A.includes(t)){var z=B?f:l;a?H&&f(o,"position-static"):z(i,"dropdown-menu-end")}T.map((function(e){return l(i,e)}))}function O(){var e=n.open?"addEventListener":"removeEventListener";document[e]("click",R),document[e]("focus",R),document[e]("keydown",j),document[e]("keyup",F),window[e]("scroll",X,v),window[e]("resize",X,v)}function W(e){n[e=e?"addEventListener":"removeEventListener"]("click",I)}function z(){M.relatedTarget=b,o.dispatchEvent(M),M.defaultPrevented||(l(i,"show"),l(o,"show"),D(),n.setAttribute("aria-expanded",!1),n.open=!1,k(n),setTimeout((function(){return O()}),1),S.relatedTarget=b,o.dispatchEvent(S))}function R(e){var t=e.target,a=t.getAttribute(p)===x||null!==t.closest(H),r=o.contains(t)&&("form"===t.tagName||null!==t.closest("form"));"click"===e.type&&N(t)&&e.preventDefault(),("focus"!==e.type||t!==n&&t!==i&&!i.contains(t))&&(r||a||(b=t,z()))}function I(e){b=n,t.toggle(),N(e.target)&&e.preventDefault()}function j(e){38!==e.which&&40!==e.which||e.preventDefault()}function F(e){var o=e.which,a=document.activeElement,r=a===n,s=i.contains(a),l=a.parentNode===i||a.parentNode.parentNode===i,c=g.indexOf(a);l&&(c=r?0:38===o?c>1?c-1:0:40===o&&c<g.length-1?c+1:c,g[c]&&k(g[c])),(g.length&&l||!g.length&&(s||r)||!s)&&n.open&&27===o&&(b=null,t.toggle())}function X(){n.open&&D(1)}var Y=function(e){t=this,(n=r(e)).Dropdown&&n.Dropdown.dispose(),o=n.parentNode,i=r(".dropdown-menu",o),a=o.parentNode.closest(".btn-group,.btn-group-vertical"),d=Array.from(o.classList),u=d.includes("dropleft"),m=d.includes("dropright"),h=s(i,"dropdown-menu-end"),b=null,g=[],Array.from(i.children).map((function(e){e.children.length&&"A"===e.children[0].tagName&&g.push(e.children[0]),"A"===e.tagName&&g.push(e)})),n.open=!1,W(1),n.Dropdown=this},q=Y.prototype;return q.toggle=function(){var e,t;s(o,"show")&&n.open?z():(e=r(L.map((function(e){return"."+e+".show"})).join(",")),(t=e&&r(H,e))&&t.Dropdown.toggle(),P.relatedTarget=b,o.dispatchEvent(P),P.defaultPrevented||(D(1),f(i,"show"),f(o,"show"),n.setAttribute("aria-expanded",!0),n.open=!0,setTimeout((function(){k(i.getElementsByTagName("INPUT")[0]||n),O(),B.relatedTarget=b,o.dispatchEvent(B)}),1)))},q.dispose=function(){s(o,"show")&&n.open&&z(),W(),delete n.Dropdown,delete n.open},new Y(e)}var B={backdrop:!0,keyboard:!0};function M(e,t){var n,o,d,u,p,m,h,g=Array.from(document.getElementsByClassName("fixed-top")).concat(Array.from(document.getElementsByClassName("fixed-bottom"))),y=c("show.bs.modal"),E=c("shown.bs.modal"),T=c("hide.bs.modal"),A=c("hidden.bs.modal"),C={},L=!1;function N(){var e,t,n=s(document.body,"modal-open"),o=parseInt(getComputedStyle(document.body).paddingRight),i=document.documentElement.clientHeight!==document.documentElement.scrollHeight||document.body.clientHeight!==document.body.scrollHeight,a=d.clientHeight!==d.scrollHeight,r=((t=document.createElement("div")).className="modal-scrollbar-measure",document.body.appendChild(t),e=t.offsetWidth-t.clientWidth,document.body.removeChild(t),e);d.style.paddingRight=!a&&r?r+"px":"",document.body.style.paddingRight=a||i?o+(n?0:r)+"px":"",g.length&&g.map((function(e){var t=getComputedStyle(e).paddingRight;e.style.paddingRight=a||i?parseInt(t)+(n?0:r)+"px":parseInt(t)+"px"}))}function x(){var e=r(".modal-backdrop");e&&!document.getElementsByClassName("modal show")[0]&&(document.body.removeChild(e),e=null),L=!1,null===e&&(l(document.body,"modal-open"),document.body.style.paddingRight="",d.style.paddingRight="",g.length&&g.map((function(e){e.style.paddingRight=""})))}function H(e){e=e?"addEventListener":"removeEventListener",window[e]("resize",W,v),d[e]("click",R),document[e]("keydown",z)}function P(e){o[e=e?"addEventListener":"removeEventListener"]("click",O)}function M(){d.style.display="block",N(),!document.getElementsByClassName("modal show")[0]&&f(document.body,"modal-open"),f(d,"show"),d.setAttribute("aria-hidden",!1),m?a(d,S):S()}function S(){k(d),L=!1,H(1),E.relatedTarget=h,d.dispatchEvent(E)}function D(e){var t=r(".modal-backdrop");d.style.display="",o&&k(o),!e&&t&&m&&s(t,"show")&&!r(".modal.show")?(l(t,"show"),a(t,x)):x(),H(),A.relatedTarget=h,d.dispatchEvent(A)}function O(e){var t=e.target;if(!L){var i=d.getAttribute("id"),a=b(o);!s(d,"show")&&o.contains(t)&&a.id===i&&(h=o,n.show(),e.preventDefault())}}function W(){n.update()}function z(e){var t=e.which;!L&&C.keyboard&&27==t&&s(d,"show")&&n.hide()}function R(e){if(!L){var t=e.target,o=document.getSelection().toString().length,i=u.contains(t),r="modal"===t.getAttribute("data-bs-dismiss")||t.closest('[data-bs-dismiss="modal"]');o&&!i||(p&&!i?(f(d,"modal-static"),L=!0,a(u,I)):!r&&(o||p||i)||(n.hide(),h=r?t:null,e.preventDefault()))}}function I(){var e=i(u)+17;l(d,"modal-static"),setTimeout((function(){return L=!1}),e)}var j=function(e,t){n=this,t=t||{},o=r(e),d=s(o,"modal")?o:b(o),u=r(".modal-dialog",d),s(o,"modal")&&(o=null),(o||d).Modal&&(o||d).Modal.dispose(),C=w(d,B,t),p="static"===C.backdrop,m=s(d,"fade"),o?(P(1),d.modalTrigger=o,o.Modal=n):d.Modal=n},F=j.prototype;return F.toggle=function(){s(d,"show")?n.hide():n.show()},F.show=function(){if((!s(d,"show")||L)&&(y.relatedTarget=h,d.dispatchEvent(y),!y.defaultPrevented)){L=!0;var e=document.getElementsByClassName("modal show")[0],t=C.backdrop?function(){var e=r(".modal-backdrop");if(null===e){var t=document.createElement("div");t.setAttribute("class","modal-backdrop"+(m?" fade":"")),e=t,document.body.appendChild(e)}return e}():null,n=0;e&&e!==d&&(e.modalTrigger&&e.modalTrigger.Modal.hide(),e.Modal&&e.Modal.hide()),!t||e||s(t,"show")||(t.offsetWidth,n=i(t),f(t,"show")),e?M():setTimeout((function(){return M()}),t&&n?n:0)}},F.hide=function(e){(s(d,"show")||L)&&(T.relatedTarget=h,d.dispatchEvent(T),T.defaultPrevented||(L=!0,l(d,"show"),d.setAttribute("aria-hidden",!0),m&&1!==e?a(d,(function(){D()})):D(e)))},F.update=function(){s(d,"show")&&N()},F.dispose=function(){this.hide(1),o&&(delete d.modalTrigger,P(o)),delete(o||d).Modal},new j(e,t)}var S={top:"top",bottom:"bottom",left:"start",right:"end"};function D(e,t){return t.contains(e)}function O(e){return[SVGElement,HTMLImageElement,HTMLVideoElement].some((function(t){return e instanceof t}))}function W(e,t,n,o,i){var a,r,s,l,c,d,u,f=t.offsetWidth,p=t.offsetHeight,m=document.documentElement.clientWidth||document.body.clientWidth,h=document.documentElement.clientHeight||document.body.clientHeight,v=e.getBoundingClientRect(),g=o===document.body?{x:window.pageXOffset,y:window.pageYOffset}:{x:o.offsetLeft+o.scrollLeft,y:o.offsetTop+o.scrollTop},b=v.right-v.left,y=v.bottom-v.top,w=t.classList.contains("popover"),E=t.getElementsByClassName((w?"popover":"tooltip")+"-arrow")[0],T=v.top+y/2-p/2<0,A=v.left+b/2-f/2<0,C=v.left+f/2+b/2>=m,L=v.top+p/2+y/2>=h,N=v.top-p<0,k=v.left-f<0,x=v.top+p+y>=h,H=v.left+f+b>=m;n="right"===(n="left"===(n="bottom"===(n="top"===(n=("left"===n||"right"===n)&&k&&H?"top":n)&&N?"bottom":n)&&x?"top":n)&&k?"right":n)&&H?"left":n,-1===t.className.indexOf(n)&&(t.className=t.className.replace(/\b(top|bottom|start|end)+/,S[n])),c=E?E.offsetWidth:0,d=E?E.offsetHeight:0,u=w?.8*c:c/2,"left"===n||"right"===n?(r="left"===n?v.left+g.x-f-(w?c:0):v.left+g.x+b,T?(a=v.top+g.y,s=y/2-c):L?(a=v.top+g.y-p+y,s=p-y/2-c):(a=v.top+g.y-p/2+y/2,s=p/2-(w?.9*d:d/2)),l=null):"top"!==n&&"bottom"!==n||(i&&O(e)?(a="top"===n?i.pageY-p-(w?c:d):i.pageY+d,i.clientX-f/2<0?(r=0,l=i.pageX-(w?.8*c:c/2)):i.clientX+.51*f>m?(r=m-1.009*f,l=f-(m-i.pageX)-u):(r=i.pageX-f/2,l=f/2-(w?.8*c:c/2))):(a="top"===n?v.top+g.y-p-(w?d:0):v.top+g.y+y,A?(r=0,l=v.left+b/2-(w?.8*c:c/2)):C?(r=m-f,l=f-(m-v.left)+b/2-(w?.8*c:c/2)):(r=v.left+g.x-f/2+b/2,l=f/2-(w?.8*c:c/2))),s=null),t.style.top=a+"px",t.style.left=r+"px",E.style.top=null!==s?s+"px":"",E.style.left=null!==l?l+"px":""}var z=1;function R(e,t){return e[t]||z++}var I={template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',title:null,content:null,sanitizeFn:null,customClass:null,dismissible:!1,animation:!0,trigger:"hover",placement:"top",delay:200};function j(e,t){var n,o,d,u,p=/(iPhone|iPod|iPad)/.test(navigator.userAgent),m=c("show.bs.popover"),h=c("shown.bs.popover"),g=c("hide.bs.popover"),b=c("hidden.bs.popover"),y=null,E={},T=!0,A=null,C='<button type="button" class="btn-close"></button>';function L(e){e.target===r(".btn-close",y)&&n.hide()}function N(e){W(o,y,E.placement,E.container,e)}function k(){o.focus()}function x(){n.show()}function H(){n.hide()}function P(){n.toggle()}function B(e){var t=e.target;y&&y.contains(t)||t===o||o.contains(t)||n.hide()}function M(){z(),delete o.Popover}function z(e){e=e?"addEventListener":"removeEventListener","hover"===E.trigger?(o[e]("mousedown",x),o[e]("mouseenter",x),O(o)&&o[e]("mousemove",N,v),!E.dismissible&&o[e]("mouseleave",H)):"click"===E.trigger?o[e](E.trigger,P):"focus"===E.trigger&&(p&&o[e]("click",k),o[e]("focusin",x))}function j(e){e=e?"addEventListener":"removeEventListener",E.dismissible?document[e]("click",L):("focus"===E.trigger&&o[e]("focusout",H),"hover"===E.trigger&&document[e]("touchstart",B,v)),O(o)||(window[e]("scroll",N,v),window[e]("resize",N,v))}function F(){j(1),o.dispatchEvent(h)}function X(e){j(),o.removeAttribute("aria-describedby"),E.container.removeChild(y),A=null,o.dispatchEvent(b)}var Y=function(e,t){n=this,t=t||{},(o=r(e)).Popover&&o.Popover.dispose();var i=o.closest(".modal"),a=o.closest(".fixed-top")||o.closest(".fixed-bottom");I.container=i||a||document.body,(E=w(o,I,t)).content&&(u="bs-popover-"+S[E.placement],d="popover-"+R(o),function(){var e=E.title,t=E.content;e=e?e.trim():null,t=t?t.trim():null,E.sanitizeFn&&(e=e?E.sanitizeFn(e):null,t=t?E.sanitizeFn(t):null,E.template=E.template?E.sanitizeFn(E.template):null,C=E.sanitizeFn(C)),(y=document.createElement("div")).setAttribute("id",d),o.setAttribute("aria-describedby","#"+d);var n=document.createElement("div");n.innerHTML=E.template.trim(),y.className=n.firstChild.className,y.innerHTML=n.firstChild.innerHTML;var i=r(".popover-header",y),a=r(".popover-body",y);E.dismissible&&(t=null===(e=e?e+C:e)?+C:t),e&&i&&(i.innerHTML=e.trim()),t&&a&&(a.innerHTML=t.trim()),!s(y,"popover")&&f(y,"popover"),E.animation&&!s(y,"fade")&&f(y,"fade"),E.customClass&&!s(y,E.customClass)&&f(y,E.customClass),!s(y,u)&&f(y,u)}(),z(1),o.Popover=n)},q=Y.prototype;return q.toggle=function(){D(y,E.container)?n.hide():n.show()},q.show=function(){clearTimeout(A),A=setTimeout((function(){if(!D(y,E.container)){if(o.dispatchEvent(m),m.defaultPrevented)return;E.container.appendChild(y),N(),!s(y,"show")&&f(y,"show"),E.animation?a(y,F):F()}}),17)},q.hide=function(){clearTimeout(A),A=setTimeout((function(){if(D(y,E.container)&&s(y,"show")){if(o.dispatchEvent(g),g.defaultPrevented)return;l(y,"show"),E.animation?a(y,X):X()}}),E.delay+50)},q.enable=function(){T||(z(1),T=!T)},q.disable=function(){T&&(D(y,E.container)&&E.animation?(n.hide(),setTimeout(z,i(y)+E.delay+17)):z(),T=!T)},q.toggleEnabled=function(){T?n.disable():n.enable()},q.dispose=function(){E.animation&&D(y,E.container)?(E.delay=0,n.hide(),a(y,M)):M()},new Y(e,t)}var F=[];function X(e,t){var n,o,i,a,d,u,p,m,h,g,y,w=c("activate.bs.scrollspy"),E=0,T=[],A=[];function C(){var e,t,n,o=u.getElementsByTagName("A");(y=p?d.pageYOffset:d.scrollTop,E!==o.length||L(d)!==h)&&(T=[],A=[],h=L(d),g=h-(p?window.innerHeight:i.getBoundingClientRect().height),Array.from(o).map((function(o){e=o.getAttribute("href"),(t=e&&"#"===e.charAt(0)&&"#"!==e.slice(-1)&&r(e))&&(T.push(o),n=t.getBoundingClientRect(),A.push((p?n.top+y:t.offsetTop)-a))})),E=T.length)}function L(e){return e.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}function N(e){Array.from(e.getElementsByTagName("A")).map((function(e){return s(e,"active")&&l(e,"active")}))}function k(e){N(u),m=e,f(e,"active");for(var t=[];e.parentNode!==document.body;)e=e.parentNode,["dropdown-menu","nav"].some((function(t){return s(e,t)}))&&t.push(e);t.map((function(e){var t=e.previousElementSibling;t&&!s(t,"active")&&f(t,"active")})),w.relatedTarget=e,i.dispatchEvent(w)}function x(e){var t=e?"addEventListener":"removeEventListener",i=F.indexOf(F.find((function(e){return e.id===n}))),a={id:n,self:o};!e&&i>-1&&F.splice(i,1),p&&(!e||F.length)&&e||d[t]("scroll",H,v),e&&F.push(a)}function H(){F.map((function(e){return e.self.refresh()}))}var P=function(e,t){o=this,t=t||{},(i=r(e)).ScrollSpy&&i.ScrollSpy.dispose(),u=r(t.target)||b(i),d=i.clientHeight<i.scrollHeight?i:window,u&&(a=+(t.offset||i.getAttribute("data-bs-offset"))||10,p=d===window,n=R(i),x(1),o.refresh(),i.ScrollSpy=o)},B=P.prototype;return B.refresh=function(){if(C(),y>=g){var e=T[E-1];m!==e&&k(e)}else{if(m&&y<A[0]&&A[0]>0)return m=null,void N(u);T.map((function(e,t){m!==e&&y>=A[t]&&(void 0===A[t+1]||y<A[t+1])&&k(e)}))}},B.dispose=function(){x(),delete i.ScrollSpy},new P(e,t)}function Y(e){var n,o,i,d,u,p,m,h,v,g,b,y,w=c("show.bs.tab"),E=c("shown.bs.tab"),T=c("hide.bs.tab"),A=c("hidden.bs.tab");function C(){g.style.height="",l(g,"collapsing"),h.isAnimating=!1}function N(){g?y?C():setTimeout((function(){g.style.height=u+"px",g.offsetWidth,a(g,C)}),50):h.isAnimating=!1,E.relatedTarget=p,i.dispatchEvent(E)}function k(){g&&(m.style.float="left",d.style.float="left",b=m.scrollHeight),w.relatedTarget=p,A.relatedTarget=i,i.dispatchEvent(w),w.defaultPrevented||(f(d,"active"),l(m,"active"),g&&(u=d.scrollHeight,y=u===b,f(g,"collapsing"),g.style.height=b+"px",g.offsetHeight,m.style.float="",d.style.float=""),s(d,"fade")?setTimeout((function(){f(d,"show"),a(d,(function(){N()}))}),20):N(),p.dispatchEvent(A))}function x(){var e,t=h.getElementsByClassName("active");return 1!==t.length||L.some((function(e){return s(t[0].parentNode,e)}))?t.length>1&&(e=t[t.length-1]):e=t[0],e}function H(){return r(x().getAttribute("href"))}function P(e){o[e=e?"addEventListener":"removeEventListener"]("click",B)}function B(e){e.preventDefault(),i=e.currentTarget,!h.isAnimating&&n.show()}var M=function(e){n=this,(o=r(e)).Tab&&o.Tab.dispose(),h=o.closest(".nav"),v=h&&r("."+L[0]+"-toggle",h),m=H(),g=t&&m.closest(".tab-content"),b=m.scrollHeight,h.isAnimating=!1,P(1),o.Tab=this},S=M.prototype;return S.show=function(){if(!s(i,"active")){if(d=r(i.getAttribute("href")),p=x(),m=H(),T.relatedTarget=i,p.dispatchEvent(T),T.defaultPrevented)return;h.isAnimating=!0,l(p,"active"),p.setAttribute("aria-selected","false"),f(i,"active"),i.setAttribute("aria-selected","true"),v&&(s(o.parentNode,"dropdown-menu")?!s(v,"active")&&f(v,"active"):s(v,"active")&&l(v,"active")),s(m,"fade")?(l(m,"show"),a(m,k)):k()}},S.dispose=function(){P(),delete o.Tab},new M(e)}function q(e,t){var n,o,i,d={animation:!0,autohide:!0,delay:500},u=c("show.bs.toast"),p=c("hide.bs.toast"),m=c("shown.bs.toast"),h=c("hidden.bs.toast"),v=null,g={};function b(){g.animation||(l(i,"showing"),f(i,"show")),i.dispatchEvent(m),g.autohide&&n.hide()}function y(){f(i,"hide"),i.dispatchEvent(h)}function E(){l(i,"show"),g.animation?(i.offsetWidth,a(i,y)):y()}function T(e){o[e=e?"addEventListener":"removeEventListener"]("click",A)}function A(){n.hide()}function C(){clearTimeout(v),T(),delete o.Toast}var L=function(e,t){n=this,t=t||{},o=r(e),i=o.closest(".toast"),o.Toast&&o.Toast.dispose(),g=w(o,d,t),T(1),o.Toast=n},N=L.prototype;return N.show=function(){if(i&&s(i,"hide")){if(i.dispatchEvent(u),u.defaultPrevented)return;f(i,"fade"),clearTimeout(v),v=setTimeout((function(){return l(i,"hide"),void(g.animation?(i.offsetWidth,f(i,"showing"),f(i,"show"),a(i,b)):b())}),10)}},N.hide=function(e){if(i&&s(i,"show")){if(i.dispatchEvent(p),p.defaultPrevented)return;clearTimeout(v),v=setTimeout(E,e?10:g.delay)}},N.dispose=function(){n.hide(),g.animation?a(i,C):C()},new L(e,t)}function V(e,t){var n,o,d,u,p={title:null,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',placement:"top",animation:!0,customClass:null,delay:200,sanitizeFn:null},m=c("show.bs.tooltip"),h=c("shown.bs.tooltip"),g=c("hide.bs.tooltip"),b=c("hidden.bs.tooltip"),y=null,E=null,T=!0,A={};function C(e){W(o,y,A.placement,A.container,e)}function L(e){var t=e.target;y.contains(t)||t===o||o.contains(t)||n.hide()}function N(){n.show()}function k(){n.hide()}function x(){M(),o.hasAttribute("data-original-title")&&z(),delete o.Tooltip}function H(e){e=e?"addEventListener":"removeEventListener",document[e]("touchstart",L,v),O(o)||(window[e]("scroll",C,v),window[e]("resize",C,v))}function P(){H(1),o.dispatchEvent(h)}function B(){H(),o.removeAttribute("aria-describedby"),A.container.removeChild(y),E=null,o.dispatchEvent(b)}function M(e){e=e?"addEventListener":"removeEventListener",O(o)&&o[e]("mousemove",C,v),o[e]("mousedown",N),o[e]("mouseenter",N),o[e]("mouseleave",k)}function z(e){var t=["data-original-title","title"];o.setAttribute(t[e?0:1],e||o.getAttribute(t[0])),o.removeAttribute(t[e?1:0])}var I=function(e,t){n=this,t=t||{},(o=r(e)).Tooltip&&o.Tooltip.dispose();var i=o.closest(".modal"),a=o.closest(".fixed-top")||o.closest(".fixed-bottom");p.title=o.getAttribute("title"),p.container=i||a||document.body,(A=w(o,p,t)).title&&(d="tooltip-"+R(o),u="bs-tooltip-"+S[A.placement],o.hasAttribute("title")&&z(A.title),function(){var e=A.title.trim();if(A.sanitizeFn&&(e=A.sanitizeFn(e),A.template=A.sanitizeFn(A.template)),e){(y=document.createElement("div")).setAttribute("id",d),o.setAttribute("aria-describedby","#"+d);var t=document.createElement("div");t.innerHTML=A.template.trim(),y.className=t.firstChild.className,y.innerHTML=t.firstChild.innerHTML,r(".tooltip-inner",y).innerHTML=e,y.setAttribute("role","tooltip"),!s(y,"tooltip")&&f(y,"tooltip"),A.animation&&!s(y,"fade")&&f(y,"fade"),A.customClass&&!s(y,A.customClass)&&f(y,A.customClass),!s(y,u)&&f(y,u)}}(),M(1),o.Tooltip=n)},j=I.prototype;return j.show=function(){clearTimeout(E),E=setTimeout((function(){if(!D(y,A.container)){if(o.dispatchEvent(m),m.defaultPrevented)return;A.container.appendChild(y),C(),!s(y,"show")&&f(y,"show"),A.animation?a(y,P):P()}}),20)},j.hide=function(){clearTimeout(E),E=setTimeout((function(){if(D(y,A.container)){if(o.dispatchEvent(g),g.defaultPrevented)return;l(y,"show"),A.animation?a(y,B):B()}}),A.delay)},j.toggle=function(){D(y,A.container)?n.hide():n.show()},j.enable=function(){T||(M(1),T=!T)},j.disable=function(){T&&(!D(y,A.container)&&A.animation?(n.hide(),setTimeout(M,i(y)+A.delay+17)):M(),T=!T)},j.toggleEnabled=function(){T?n.disable():n.enable()},j.dispose=function(){A.animation&&D(y,A.container)?(A.delay=0,n.hide(),a(y,x)):x()},new I(e,t)}var G={Alert:u,Button:h,Carousel:T,Collapse:C,Dropdown:{component:"Dropdown",selector:H,constructor:P},Modal:{component:"Modal",selector:'[data-bs-toggle="modal"]',constructor:M},Popover:{component:"Popover",selector:'[data-bs-toggle="popover"],[data-tip="popover"]',constructor:j},ScrollSpy:{component:"ScrollSpy",selector:'[data-bs-spy="scroll"]',constructor:X},Tab:{component:"Tab",selector:'[data-bs-toggle="tab"]',constructor:Y},Toast:{component:"Toast",selector:'[data-bs-dismiss="toast"]',constructor:q},Tooltip:{component:"Tooltip",selector:'[data-bs-toggle="tooltip"],[data-tip="tooltip"]',constructor:V}};function U(e,t){Array.from(t).map((function(t){return new e(t)}))}function Z(e,t){Array.from(t).map((function(t){return t[e]&&t[e].dispose()}))}function J(e,t){void 0===e&&(e=0),void 0===t&&(t=0);var n=t?U:Z;for(var o in e=e instanceof Element?e:document,G)n(t?G[o].constructor:o,e.querySelectorAll(G[o].selector))}return document.body?J(0,1):document.addEventListener("DOMContentLoaded",(function(){return J(0,1)}),{once:!0}),{Alert:d,Button:m,Carousel:E,Collapse:A,Dropdown:P,Modal:M,Popover:j,ScrollSpy:X,Tab:Y,Toast:q,Tooltip:V,Callback:J,Version:"3.0.14b"}}));
// Native JavaScript for Bootstrap v3.0.14c | 2021 © dnp_theme | MIT-License
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).BSN=t()}(this,(function(){"use strict";var e="webkitTransition"in document.head.style?"webkitTransitionEnd":"transitionend",t="webkitTransition"in document.head.style||"transition"in document.head.style,n="webkitTransition"in document.head.style?"webkitTransitionDuration":"transitionDuration",o="webkitTransition"in document.head.style?"webkitTransitionProperty":"transitionProperty";function i(e){var i=getComputedStyle(e),a=i[o],r=i[n],s=r.indexOf("ms")>-1?1:1e3,l=t&&a&&"none"!==a?parseFloat(r)*s:0;return isNaN(l)?0:l}function a(t,n){var o=0,a=new Event(e),r=i(t);r?(t.addEventListener(e,(function i(a){a.target===t&&(n.apply(t,[a]),t.removeEventListener(e,i),o=1)})),setTimeout((function(){!o&&t.dispatchEvent(a)}),r+17)):n.apply(t,[a])}function r(e,t){var n=t&&t instanceof Element?t:document;return e instanceof Element?e:n.querySelector(e)}function s(e,t){return e.classList.contains(t)}function l(e,t){e.classList.remove(t)}function c(e,t){var n=new CustomEvent(e,{cancelable:!0});return t instanceof Object&&Object.keys(t).forEach((function(e){Object.defineProperty(n,e,{value:t[e]})})),n}function d(e){var t,n,o,i=c("close.bs.alert"),d=c("closed.bs.alert");function u(){p(),o.dispatchEvent(d),o.parentNode.removeChild(o)}function f(e){var i=e.target;o&&(n===i||n.contains(i))&&t.close()}function p(e){n[e=e?"addEventListener":"removeEventListener"]("click",f)}var m=function(e){t=this,(n=r(e)).Alert&&n.Alert.dispose(),o=n.closest(".alert"),p(1),n.Alert=this},h=m.prototype;return h.close=function(){if(o&&s(o,"show")){if(o.dispatchEvent(i),i.defaultPrevented)return;l(o,"show"),s(o,"fade")?a(o,u):u(),this.dispose()}},h.dispose=function(){p(),delete n.Alert},new m(e)}var u={component:"Alert",selector:'[data-bs-dismiss="alert"]',constructor:d};function f(e,t){e.classList.add(t)}var p="data-bs-toggle";function m(e){var t,n,o;function i(e){t.toggle.apply(n,[e])}function a(e){n[e=e?"addEventListener":"removeEventListener"]("click",i)}var c=function(e){t=this,(n=r(e)).Button&&n.Button.dispose(),o=s(n,"active"),n.setAttribute("aria-pressed",!!o||"false"),a(1),n.Button=t},d=c.prototype;return d.toggle=function(e){if(e.preventDefault(),!s(n,"disabled")){var t=(o=s(n,"active"))?"false":"true";(o?l:f)(n,"active"),n.setAttribute("aria-pressed",t)}},d.dispose=function(){a(),delete n.Button},new c(e)}var h={component:"Button",selector:'[data-bs-toggle="button"]',constructor:m},v=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});document.addEventListener("DOMContentLoaded",(function e(){document.removeEventListener("DOMContentLoaded",e,t)}),t)}catch(e){}return e}()&&{passive:!0};function g(e){var t=e.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight;return t.top<=n&&t.bottom>=0}function b(e){return"true"===e||"false"!==e&&(isNaN(e)?""===e||"null"===e?null:e:+e)}function y(e){return r(e.getAttribute("data-bs-target")||e.getAttribute("href"))||e.closest(e.getAttribute("data-bs-parent"))||r(e.getAttribute("data-bs-container"))}function w(e,t,n){var o={},i={},a=Object.assign({},e.dataset),s=["target","parent","container"];return Object.keys(a).map((function(t){var n=t.replace("bs","").replace(/[A-Z]/,(function(e){return e.toLowerCase()}));i[n]=s.includes(n)?y(e):b(a[t])})),Object.keys(n).map((function(t){n[t]=s.includes(t)?n[t]instanceof Element?n[t]:"parent"===t?e.closest(n[t]):r(n[t]):b(n[t])})),Object.keys(t).map((function(e){o[e]=e in n?n[e]:e in i?i[e]:t[e]})),o}function E(e,t){var n,o,d,u,p,m,h={pause:"hover",keyboard:!1,touch:!0,interval:5e3},b=c("slide.bs.carousel"),y=c("slid.bs.carousel"),E={},T="left",A=!1,C=!1,L=0,N=null,k=!1,x=0,H=0,P=0;function B(){var e=L,t=Y(),i="left"===T?"next":"prev",a="left"===T?"start":"end";C&&n.Carousel&&(C=!1,f(d[e],"active"),l(d[t],"active"),l(d[e],"carousel-item-"+i),l(d[e],"carousel-item-"+a),l(d[t],"carousel-item-"+a),n.dispatchEvent(y),document.hidden||!E.interval||s(n,"paused")||o.cycle())}function M(){s(n,"paused")||(f(n,"paused"),!C&&(clearInterval(N),N=null))}function S(){!A&&s(n,"paused")&&(l(n,"paused"),C||(clearInterval(N),N=null,o.cycle()))}function D(e){e.preventDefault();var t=e.target;C||t&&!s(t,"active")&&t.getAttribute("data-bs-slide-to")&&o.to(+t.getAttribute("data-bs-slide-to"))}function O(e){e.preventDefault();var t=e.currentTarget||e.srcElement;m[1]&&t===m[1]?o.next():m[1]&&t===m[0]&&o.prev()}function W(e){var t=e.which;if(g(n))switch(t){case 39:o.next();break;case 37:o.prev();break;default:return}}function z(e){k||(x=e.changedTouches[0].pageX,n.contains(e.target)&&(k=!0,F(1)))}function R(e){if(k)return H=e.changedTouches[0].pageX,"touchmove"===e.type&&e.changedTouches.length>1?(e.preventDefault(),!1):void 0}function I(e){if(k&&!C&&(P=H||e.changedTouches[0].pageX,k)){if((!n.contains(e.target)||!n.contains(e.relatedTarget))&&Math.abs(x-P)<75)return!1;H<x?L++:H>x&&L--,k=!1,o.to(L),F()}}function j(e){Array.from(p).map((function(e){return l(e,"active")})),p[e]&&f(p[e],"active")}function F(e){n[e=e?"addEventListener":"removeEventListener"]("touchmove",R,v),n[e]("touchend",I,v)}function X(e){e=e?"addEventListener":"removeEventListener",E.pause&&E.interval&&(n[e]("mouseenter",M),n[e]("mouseleave",S),n[e]("touchstart",M,v),n[e]("touchend",S,v)),E.touch&&d.length>1&&n[e]("touchstart",z,v),m.map((function(t){return t&&t[e]("click",O)})),u&&u[e]("click",D),E.keyboard&&window[e]("keydown",W)}function Y(){return Array.from(d).indexOf(n.getElementsByClassName("carousel-item active")[0])||0}var q=function(e,t){o=this,t=t||{},n=r(e),d=n.getElementsByClassName("carousel-item"),n.Carousel&&n.Carousel.dispose(),d.length<2||(m=[r(".carousel-control-prev",n),r(".carousel-control-next",n)],u=r(".carousel-indicators",n),p=u&&u.getElementsByTagName("LI")||[],(E=w(n,h,t)).interval=!0===E.interval?h.interval:E.interval,Y()<0&&(d.length&&f(d[0],"active"),p.length&&j(0)),X(1),E.interval&&o.cycle(),n.Carousel=o)},V=q.prototype;return V.cycle=function(){N&&(clearInterval(N),N=null),A&&(l(n,"paused"),A=!A),N=setInterval((function(){g(n)&&(L++,o.to(L))}),E.interval)},V.pause=function(){E.interval&&!A&&(clearInterval(N),N=null,f(n,"paused"),A=!A)},V.next=function(){!C&&L++,o.to(L)},V.prev=function(){!C&&L--,o.to(L)},V.to=function(e){var t=Y();if(!C&&t!==e){t<e||0===t&&e===d.length-1?T="left":(t>e||t===d.length-1&&0===e)&&(T="right"),e<0?e=d.length-1:e>=d.length&&(e=0);var r="left"===T?"next":"prev",c="left"===T?"start":"end",u={relatedTarget:d[e],direction:T,from:t,to:e};Object.keys(u).map((function(e){b[e]=u[e],y[e]=u[e]})),n.dispatchEvent(b),b.defaultPrevented||(L=e,clearInterval(N),N=null,C=!0,j(e),i(d[e])&&s(n,"slide")?(f(d[e],"carousel-item-"+r),d[e].offsetWidth,f(d[e],"carousel-item-"+c),f(d[t],"carousel-item-"+c),a(d[e],B)):(f(d[e],"active"),l(d[t],"active"),setTimeout((function(){C=!1,n&&E.interval&&!s(n,"paused")&&o.cycle(),n.dispatchEvent(y)}),100)))}},V.dispose=function(){var e=["start","end","prev","next"];Array.from(d).map((function(t,n){s(t,"active")&&j(n),e.map((function(e){return l(t,"carousel-item-"+e)}))})),X(),clearInterval(N),delete n.Carousel},new q(e,t)}var T={component:"Carousel",selector:'[data-bs-ride="carousel"]',constructor:E};function A(e,t){var n,o,i,d,u=c("show.bs.collapse"),m=c("shown.bs.collapse"),h=c("hide.bs.collapse"),v=c("hidden.bs.collapse");function g(e){var t=e.collapse,n=e.element;t.dispatchEvent(h),h.defaultPrevented||(t.isAnimating=!0,d&&(d.isAnimating=!0),t.style.height=t.scrollHeight+"px",l(t,"collapse"),l(t,"show"),f(t,"collapsing"),t.offsetWidth,t.style.height="0px",a(t,(function(){t.isAnimating=!1,d&&(d.isAnimating=!1),t.setAttribute("aria-expanded","false"),n.setAttribute("aria-expanded","false"),l(t,"collapsing"),f(t,"collapse"),t.style.height="",t.dispatchEvent(v)})))}function b(e){o[e=e?"addEventListener":"removeEventListener"]("click",w)}function w(e){var t=e.target;n.toggle(),(e&&"A"===t.tagName&&"collapse"===t.getAttribute(p)||"A"===o.tagName)&&e.preventDefault()}var E=function(e,t){n=this,t=t||{},(o=r(e)).Collapse&&o.Collapse.dispose(),i=r(t.target)||y(o),d=o.closest(t.parent)||y(i),i&&(i.isAnimating=!1),d&&(d.isAnimating=!1),b(1),o.Collapse=n},T=E.prototype;return T.toggle=function(){s(i,"show")?this.hide():this.show()},T.hide=function(){i.isAnimating||(g({collapse:i,element:o}),f(o,"collapsed"))},T.show=function(){var e,t;d&&(t=d.getElementsByClassName("collapse show")[0],e=Array.from(d.querySelectorAll('[data-bs-toggle="collapse"]')).find((function(e){return!s(e,"collapsed")}))),d&&(!d||d.isAnimating)||i.isAnimating||(e&&t!==i&&(g({collapse:t,element:e}),f(e,"collapsed")),i.dispatchEvent(u),u.defaultPrevented||(i.isAnimating=!0,d&&(d.isAnimating=!0),f(i,"collapsing"),l(i,"collapse"),i.style.height=i.scrollHeight+"px",a(i,(function(){i.isAnimating=!1,d&&(d.isAnimating=!1),i.setAttribute("aria-expanded","true"),o.setAttribute("aria-expanded","true"),l(i,"collapsing"),f(i,"collapse"),f(i,"show"),i.style.height="",i.dispatchEvent(m)}))),l(o,"collapsed"))},T.dispose=function(){b(),d&&delete d.isAnimating,delete i.isAnimating,delete o.Collapse},new E(e,t)}var C={component:"Collapse",selector:'[data-bs-toggle="collapse"]',constructor:A},L=["dropdown","dropup","dropstart","dropend"];function N(e){return e&&(e.href&&"#"===e.href.slice(-1)||e.parentNode&&e.parentNode.href&&"#"===e.parentNode.href.slice(-1))}function k(e){e.focus?e.focus():e.setActive()}var x=L[0],H="["+p+'="'+x+'"]';function P(e){var t,n,o,i,a,d,u,m,h,g,b,y=L[1],w=L[2],E=L[3],T=["d-block","invisible"],A=[x,y],C=[w,E],P=c("show.bs."+x),B=c("shown.bs."+x),M=c("hide.bs."+x),S=c("hidden.bs."+x);function D(e){var t=L.filter((function(e){return d.includes(e)}))[0];if(!e)return o.className=d.join(" "),void(h&&!s(i,"dropdown-menu-end")?f:l)(i,"dropdown-menu-end");T.map((function(e){return f(i,e)}));var r=new RegExp("\\b("+x+"|"+y+"|"+w+"|"+E+")+"),c=n.offsetWidth,p=n.offsetHeight,v=i.offsetWidth,g=i.offsetHeight,b=document.documentElement.clientWidth||document.body.clientWidth,N=document.documentElement.clientHeight||document.body.clientHeight,k=n.getBoundingClientRect(),H=k.left+c-v<0,P=k.left-v<0,B=k.left+v>=b,M=k.left+v+c>=b,S=k.top+g>=N,D=k.top+g+p>=N,O=k.top-g<0;t=C.includes(t)&&P&&M?x:t,t=C.includes(t)&&S?y:t,!s(o,t=(t=(t=(t=t===w&&P&&!S?E:t)===E&&M&&!S?w:t)===y&&O&&!D?x:t)===x&&D&&!O?y:t)&&(o.className=o.className.replace(r,t));var W=u&&m||t!==E?l:f;if((u&&m||t!==w?l:f)(o,"dropleft"),W(o,"dropright"),A.includes(t)){var z=B?f:l;a?H&&f(o,"position-static"):z(i,"dropdown-menu-end")}T.map((function(e){return l(i,e)}))}function O(){var e=n.open?"addEventListener":"removeEventListener";document[e]("click",R),document[e]("focus",R),document[e]("keydown",j),document[e]("keyup",F),window[e]("scroll",X,v),window[e]("resize",X,v)}function W(e){n[e=e?"addEventListener":"removeEventListener"]("click",I)}function z(){M.relatedTarget=b,o.dispatchEvent(M),M.defaultPrevented||(l(i,"show"),l(o,"show"),D(),n.setAttribute("aria-expanded",!1),n.open=!1,k(n),setTimeout((function(){return O()}),1),S.relatedTarget=b,o.dispatchEvent(S))}function R(e){var t=e.target,a=t.getAttribute(p)===x||null!==t.closest(H),r=o.contains(t)&&("form"===t.tagName||null!==t.closest("form"));"click"===e.type&&N(t)&&e.preventDefault(),("focus"!==e.type||t!==n&&t!==i&&!i.contains(t))&&(r||a||(b=t,z()))}function I(e){b=n,t.toggle(),N(e.target)&&e.preventDefault()}function j(e){38!==e.which&&40!==e.which||e.preventDefault()}function F(e){var o=e.which,a=document.activeElement,r=a===n,s=i.contains(a),l=a.parentNode===i||a.parentNode.parentNode===i,c=g.indexOf(a);l&&(c=r?0:38===o?c>1?c-1:0:40===o&&c<g.length-1?c+1:c,g[c]&&k(g[c])),(g.length&&l||!g.length&&(s||r)||!s)&&n.open&&27===o&&(b=null,t.toggle())}function X(){n.open&&D(1)}var Y=function(e){t=this,(n=r(e)).Dropdown&&n.Dropdown.dispose(),o=n.parentNode,i=r(".dropdown-menu",o),a=o.parentNode.closest(".btn-group,.btn-group-vertical"),d=Array.from(o.classList),u=d.includes("dropleft"),m=d.includes("dropright"),h=s(i,"dropdown-menu-end"),b=null,g=[],Array.from(i.children).map((function(e){e.children.length&&"A"===e.children[0].tagName&&g.push(e.children[0]),"A"===e.tagName&&g.push(e)})),n.open=!1,W(1),n.Dropdown=this},q=Y.prototype;return q.toggle=function(){var e,t;s(o,"show")&&n.open?z():(e=r(L.map((function(e){return"."+e+".show"})).join(",")),(t=e&&r(H,e))&&t.Dropdown.toggle(),P.relatedTarget=b,o.dispatchEvent(P),P.defaultPrevented||(D(1),f(i,"show"),f(o,"show"),n.setAttribute("aria-expanded",!0),n.open=!0,setTimeout((function(){k(i.getElementsByTagName("INPUT")[0]||n),O(),B.relatedTarget=b,o.dispatchEvent(B)}),1)))},q.dispose=function(){s(o,"show")&&n.open&&z(),W(),delete n.Dropdown,delete n.open},new Y(e)}var B={backdrop:!0,keyboard:!0};function M(e,t){var n,o,d,u,p,m,h,g=Array.from(document.getElementsByClassName("fixed-top")).concat(Array.from(document.getElementsByClassName("fixed-bottom"))),b=c("show.bs.modal"),E=c("shown.bs.modal"),T=c("hide.bs.modal"),A=c("hidden.bs.modal"),C={},L=!1;function N(){var e,t,n=s(document.body,"modal-open"),o=parseInt(getComputedStyle(document.body).paddingRight),i=document.documentElement.clientHeight!==document.documentElement.scrollHeight||document.body.clientHeight!==document.body.scrollHeight,a=d.clientHeight!==d.scrollHeight,r=((t=document.createElement("div")).className="modal-scrollbar-measure",document.body.appendChild(t),e=t.offsetWidth-t.clientWidth,document.body.removeChild(t),e);d.style.paddingRight=!a&&r?r+"px":"",document.body.style.paddingRight=a||i?o+(n?0:r)+"px":"",g.length&&g.map((function(e){var t=getComputedStyle(e).paddingRight;e.style.paddingRight=a||i?parseInt(t)+(n?0:r)+"px":parseInt(t)+"px"}))}function x(){var e=r(".modal-backdrop");e&&!document.getElementsByClassName("modal show")[0]&&(document.body.removeChild(e),e=null),L=!1,null===e&&(l(document.body,"modal-open"),document.body.style.paddingRight="",d.style.paddingRight="",g.length&&g.map((function(e){e.style.paddingRight=""})))}function H(e){e=e?"addEventListener":"removeEventListener",window[e]("resize",W,v),d[e]("click",R),document[e]("keydown",z)}function P(e){o[e=e?"addEventListener":"removeEventListener"]("click",O)}function M(){d.style.display="block",N(),!document.getElementsByClassName("modal show")[0]&&f(document.body,"modal-open"),f(d,"show"),d.setAttribute("aria-hidden",!1),m?a(d,S):S()}function S(){k(d),L=!1,H(1),E.relatedTarget=h,d.dispatchEvent(E)}function D(e){var t=r(".modal-backdrop");d.style.display="",o&&k(o),!e&&t&&m&&s(t,"show")&&!r(".modal.show")?(l(t,"show"),a(t,x)):x(),H(),A.relatedTarget=h,d.dispatchEvent(A)}function O(e){var t=e.target;if(!L){var i=d.getAttribute("id"),a=y(o);!s(d,"show")&&o.contains(t)&&a.id===i&&(h=o,n.show(),e.preventDefault())}}function W(){n.update()}function z(e){var t=e.which;!L&&C.keyboard&&27==t&&s(d,"show")&&n.hide()}function R(e){if(!L){var t=e.target,o=document.getSelection().toString().length,i=u.contains(t),r="modal"===t.getAttribute("data-bs-dismiss")||t.closest('[data-bs-dismiss="modal"]');o&&!i||(p&&!i?(f(d,"modal-static"),L=!0,a(u,I)):!r&&(o||p||i)||(n.hide(),h=r?t:null,e.preventDefault()))}}function I(){var e=i(u)+17;l(d,"modal-static"),setTimeout((function(){return L=!1}),e)}var j=function(e,t){n=this,t=t||{},o=r(e),d=s(o,"modal")?o:y(o),u=r(".modal-dialog",d),s(o,"modal")&&(o=null),(o||d).Modal&&(o||d).Modal.dispose(),C=w(d,B,t),p="static"===C.backdrop,m=s(d,"fade"),o?(P(1),d.modalTrigger=o,o.Modal=n):d.Modal=n},F=j.prototype;return F.toggle=function(){s(d,"show")?n.hide():n.show()},F.show=function(){if((!s(d,"show")||L)&&(b.relatedTarget=h,d.dispatchEvent(b),!b.defaultPrevented)){L=!0;var e=document.getElementsByClassName("modal show")[0],t=C.backdrop?function(){var e=r(".modal-backdrop");if(null===e){var t=document.createElement("div");t.setAttribute("class","modal-backdrop"+(m?" fade":"")),e=t,document.body.appendChild(e)}return e}():null,n=0;e&&e!==d&&(e.modalTrigger&&e.modalTrigger.Modal.hide(),e.Modal&&e.Modal.hide()),!t||e||s(t,"show")||(t.offsetWidth,n=i(t),f(t,"show")),e?M():setTimeout((function(){return M()}),t&&n?n:0)}},F.hide=function(e){(s(d,"show")||L)&&(T.relatedTarget=h,d.dispatchEvent(T),T.defaultPrevented||(L=!0,l(d,"show"),d.setAttribute("aria-hidden",!0),m&&1!==e?a(d,(function(){D()})):D(e)))},F.update=function(){s(d,"show")&&N()},F.dispose=function(){this.hide(1),o&&(delete d.modalTrigger,P(o)),delete(o||d).Modal},new j(e,t)}var S={top:"top",bottom:"bottom",left:"start",right:"end"};function D(e,t){return t.contains(e)}function O(e){return[SVGElement,HTMLImageElement,HTMLVideoElement].some((function(t){return e instanceof t}))}function W(e,t,n,o,i){var a,r,s,l,c,d,u,f=t.offsetWidth,p=t.offsetHeight,m=document.documentElement.clientWidth||document.body.clientWidth,h=document.documentElement.clientHeight||document.body.clientHeight,v=e.getBoundingClientRect(),g=o===document.body?{x:window.pageXOffset,y:window.pageYOffset}:{x:o.offsetLeft+o.scrollLeft,y:o.offsetTop+o.scrollTop},b=v.right-v.left,y=v.bottom-v.top,w=t.classList.contains("popover"),E=t.getElementsByClassName((w?"popover":"tooltip")+"-arrow")[0],T=v.top+y/2-p/2<0,A=v.left+b/2-f/2<0,C=v.left+f/2+b/2>=m,L=v.top+p/2+y/2>=h,N=v.top-p<0,k=v.left-f<0,x=v.top+p+y>=h,H=v.left+f+b>=m;n="right"===(n="left"===(n="bottom"===(n="top"===(n=("left"===n||"right"===n)&&k&&H?"top":n)&&N?"bottom":n)&&x?"top":n)&&k?"right":n)&&H?"left":n,-1===t.className.indexOf(n)&&(t.className=t.className.replace(/\b(top|bottom|start|end)+/,S[n])),c=E?E.offsetWidth:0,d=E?E.offsetHeight:0,u=w?.8*c:c/2,"left"===n||"right"===n?(r="left"===n?v.left+g.x-f-(w?c:0):v.left+g.x+b,T?(a=v.top+g.y,s=y/2-c):L?(a=v.top+g.y-p+y,s=p-y/2-c):(a=v.top+g.y-p/2+y/2,s=p/2-(w?.9*d:d/2)),l=null):"top"!==n&&"bottom"!==n||(i&&O(e)?(a="top"===n?i.pageY-p-(w?c:d):i.pageY+d,i.clientX-f/2<0?(r=0,l=i.pageX-(w?.8*c:c/2)):i.clientX+.51*f>m?(r=m-1.009*f,l=f-(m-i.pageX)-u):(r=i.pageX-f/2,l=f/2-(w?.8*c:c/2))):(a="top"===n?v.top+g.y-p-(w?d:0):v.top+g.y+y,A?(r=0,l=v.left+b/2-(w?.8*c:c/2)):C?(r=m-f,l=f-(m-v.left)+b/2-(w?.8*c:c/2)):(r=v.left+g.x-f/2+b/2,l=f/2-(w?.8*c:c/2))),s=null),t.style.top=a+"px",t.style.left=r+"px",E.style.top=null!==s?s+"px":"",E.style.left=null!==l?l+"px":""}var z=1;function R(e,t){return e[t]||z++}var I={template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',title:null,content:null,sanitizeFn:null,customClass:null,dismissible:!1,animation:!0,trigger:"hover",placement:"top",delay:200};function j(e,t){var n,o,d,u,p=/(iPhone|iPod|iPad)/.test(navigator.userAgent),m=c("show.bs.popover"),h=c("shown.bs.popover"),g=c("hide.bs.popover"),b=c("hidden.bs.popover"),y=null,E={},T=!0,A=null,C='<button type="button" class="btn-close"></button>';function L(e){e.target===r(".btn-close",y)&&n.hide()}function N(e){W(o,y,E.placement,E.container,e)}function k(){o.focus()}function x(){n.show()}function H(){n.hide()}function P(){n.toggle()}function B(e){var t=e.target;y&&y.contains(t)||t===o||o.contains(t)||n.hide()}function M(){z(),delete o.Popover}function z(e){e=e?"addEventListener":"removeEventListener","hover"===E.trigger?(o[e]("mousedown",x),o[e]("mouseenter",x),O(o)&&o[e]("mousemove",N,v),!E.dismissible&&o[e]("mouseleave",H)):"click"===E.trigger?o[e](E.trigger,P):"focus"===E.trigger&&(p&&o[e]("click",k),o[e]("focusin",x))}function j(e){e=e?"addEventListener":"removeEventListener",E.dismissible?document[e]("click",L):("focus"===E.trigger&&o[e]("focusout",H),"hover"===E.trigger&&document[e]("touchstart",B,v)),O(o)||(window[e]("scroll",N,v),window[e]("resize",N,v))}function F(){j(1),o.dispatchEvent(h)}function X(e){j(),o.removeAttribute("aria-describedby"),E.container.removeChild(y),A=null,o.dispatchEvent(b)}var Y=function(e,t){n=this,t=t||{},(o=r(e)).Popover&&o.Popover.dispose();var i=o.closest(".modal"),a=o.closest(".fixed-top")||o.closest(".fixed-bottom");I.container=i||a||document.body,(E=w(o,I,t)).content&&(u="bs-popover-"+S[E.placement],d="popover-"+R(o),function(){var e=E.title,t=E.content;e=e?e.trim():null,t=t?t.trim():null,E.sanitizeFn&&(e=e?E.sanitizeFn(e):null,t=t?E.sanitizeFn(t):null,E.template=E.template?E.sanitizeFn(E.template):null,C=E.sanitizeFn(C)),(y=document.createElement("div")).setAttribute("id",d),o.setAttribute("aria-describedby","#"+d);var n=document.createElement("div");n.innerHTML=E.template.trim(),y.className=n.firstChild.className,y.innerHTML=n.firstChild.innerHTML;var i=r(".popover-header",y),a=r(".popover-body",y);E.dismissible&&(t=null===(e=e?e+C:e)?+C:t),e&&i&&(i.innerHTML=e.trim()),t&&a&&(a.innerHTML=t.trim()),!s(y,"popover")&&f(y,"popover"),E.animation&&!s(y,"fade")&&f(y,"fade"),E.customClass&&!s(y,E.customClass)&&f(y,E.customClass),!s(y,u)&&f(y,u)}(),z(1),o.Popover=n)},q=Y.prototype;return q.toggle=function(){D(y,E.container)?n.hide():n.show()},q.show=function(){clearTimeout(A),A=setTimeout((function(){if(!D(y,E.container)){if(o.dispatchEvent(m),m.defaultPrevented)return;E.container.appendChild(y),N(),!s(y,"show")&&f(y,"show"),E.animation?a(y,F):F()}}),17)},q.hide=function(){clearTimeout(A),A=setTimeout((function(){if(D(y,E.container)&&s(y,"show")){if(o.dispatchEvent(g),g.defaultPrevented)return;l(y,"show"),E.animation?a(y,X):X()}}),E.delay+50)},q.enable=function(){T||(z(1),T=!T)},q.disable=function(){T&&(D(y,E.container)&&E.animation?(n.hide(),setTimeout(z,i(y)+E.delay+17)):z(),T=!T)},q.toggleEnabled=function(){T?n.disable():n.enable()},q.dispose=function(){E.animation&&D(y,E.container)?(E.delay=0,n.hide(),a(y,M)):M()},new Y(e,t)}var F=[];function X(e,t){var n,o,i,a,d,u,p,m,h,g,b,w=c("activate.bs.scrollspy"),E=0,T=[],A=[];function C(){var e,t,n,o=u.getElementsByTagName("A");(b=p?d.pageYOffset:d.scrollTop,E!==o.length||L(d)!==h)&&(T=[],A=[],h=L(d),g=h-(p?window.innerHeight:i.getBoundingClientRect().height),Array.from(o).map((function(o){e=o.getAttribute("href"),(t=e&&"#"===e.charAt(0)&&"#"!==e.slice(-1)&&r(e))&&(T.push(o),n=t.getBoundingClientRect(),A.push((p?n.top+b:t.offsetTop)-a))})),E=T.length)}function L(e){return e.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}function N(e){Array.from(e.getElementsByTagName("A")).map((function(e){return s(e,"active")&&l(e,"active")}))}function k(e){N(u),m=e,f(e,"active");for(var t=[];e.parentNode!==document.body;)e=e.parentNode,["dropdown-menu","nav"].some((function(t){return s(e,t)}))&&t.push(e);t.map((function(e){var t=e.previousElementSibling;t&&!s(t,"active")&&f(t,"active")})),w.relatedTarget=e,i.dispatchEvent(w)}function x(e){var t=e?"addEventListener":"removeEventListener",i=F.indexOf(F.find((function(e){return e.id===n}))),a={id:n,self:o};!e&&i>-1&&F.splice(i,1),p&&(!e||F.length)&&e||d[t]("scroll",H,v),e&&F.push(a)}function H(){F.map((function(e){return e.self.refresh()}))}var P=function(e,t){o=this,t=t||{},(i=r(e)).ScrollSpy&&i.ScrollSpy.dispose(),u=r(t.target)||y(i),d=i.clientHeight<i.scrollHeight?i:window,u&&(a=+(t.offset||i.getAttribute("data-bs-offset"))||10,p=d===window,n=R(i),x(1),o.refresh(),i.ScrollSpy=o)},B=P.prototype;return B.refresh=function(){if(C(),b>=g){var e=T[E-1];m!==e&&k(e)}else{if(m&&b<A[0]&&A[0]>0)return m=null,void N(u);T.map((function(e,t){m!==e&&b>=A[t]&&(void 0===A[t+1]||b<A[t+1])&&k(e)}))}},B.dispose=function(){x(),delete i.ScrollSpy},new P(e,t)}function Y(e){var n,o,i,d,u,p,m,h,v,g,b,y,w=c("show.bs.tab"),E=c("shown.bs.tab"),T=c("hide.bs.tab"),A=c("hidden.bs.tab");function C(){g.style.height="",l(g,"collapsing"),h.isAnimating=!1}function N(){g?y?C():setTimeout((function(){g.style.height=u+"px",g.offsetWidth,a(g,C)}),50):h.isAnimating=!1,E.relatedTarget=p,i.dispatchEvent(E)}function k(){g&&(m.style.float="left",d.style.float="left",b=m.scrollHeight),w.relatedTarget=p,A.relatedTarget=i,i.dispatchEvent(w),w.defaultPrevented||(f(d,"active"),l(m,"active"),g&&(u=d.scrollHeight,y=u===b,f(g,"collapsing"),g.style.height=b+"px",g.offsetHeight,m.style.float="",d.style.float=""),s(d,"fade")?setTimeout((function(){f(d,"show"),a(d,(function(){N()}))}),20):N(),p.dispatchEvent(A))}function x(){var e,t=h.getElementsByClassName("active");return 1!==t.length||L.some((function(e){return s(t[0].parentNode,e)}))?t.length>1&&(e=t[t.length-1]):e=t[0],e}function H(){return r(x().getAttribute("href"))}function P(e){o[e=e?"addEventListener":"removeEventListener"]("click",B)}function B(e){e.preventDefault(),i=e.currentTarget,!h.isAnimating&&n.show()}var M=function(e){n=this,(o=r(e)).Tab&&o.Tab.dispose(),h=o.closest(".nav"),v=h&&r("."+L[0]+"-toggle",h),m=H(),g=t&&m.closest(".tab-content"),b=m.scrollHeight,h.isAnimating=!1,P(1),o.Tab=this},S=M.prototype;return S.show=function(){if(!s(i,"active")){if(d=r(i.getAttribute("href")),p=x(),m=H(),T.relatedTarget=i,p.dispatchEvent(T),T.defaultPrevented)return;h.isAnimating=!0,l(p,"active"),p.setAttribute("aria-selected","false"),f(i,"active"),i.setAttribute("aria-selected","true"),v&&(s(o.parentNode,"dropdown-menu")?!s(v,"active")&&f(v,"active"):s(v,"active")&&l(v,"active")),s(m,"fade")?(l(m,"show"),a(m,k)):k()}},S.dispose=function(){P(),delete o.Tab},new M(e)}function q(e,t){var n,o,i,d={animation:!0,autohide:!0,delay:500},u=c("show.bs.toast"),p=c("hide.bs.toast"),m=c("shown.bs.toast"),h=c("hidden.bs.toast"),v=null,g={};function b(){g.animation||(l(i,"showing"),f(i,"show")),i.dispatchEvent(m),g.autohide&&n.hide()}function y(){f(i,"hide"),i.dispatchEvent(h)}function E(){l(i,"show"),g.animation?(i.offsetWidth,a(i,y)):y()}function T(e){o[e=e?"addEventListener":"removeEventListener"]("click",A)}function A(){n.hide()}function C(){clearTimeout(v),T(),delete o.Toast}var L=function(e,t){n=this,t=t||{},o=r(e),i=o.closest(".toast"),o.Toast&&o.Toast.dispose(),g=w(o,d,t),T(1),o.Toast=n},N=L.prototype;return N.show=function(){if(i&&s(i,"hide")){if(i.dispatchEvent(u),u.defaultPrevented)return;f(i,"fade"),clearTimeout(v),v=setTimeout((function(){return l(i,"hide"),void(g.animation?(i.offsetWidth,f(i,"showing"),f(i,"show"),a(i,b)):b())}),10)}},N.hide=function(e){if(i&&s(i,"show")){if(i.dispatchEvent(p),p.defaultPrevented)return;clearTimeout(v),v=setTimeout(E,e?10:g.delay)}},N.dispose=function(){n.hide(),g.animation?a(i,C):C()},new L(e,t)}function V(e,t){var n,o,d,u,p={title:null,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',placement:"top",animation:!0,customClass:null,delay:200,sanitizeFn:null},m=c("show.bs.tooltip"),h=c("shown.bs.tooltip"),g=c("hide.bs.tooltip"),b=c("hidden.bs.tooltip"),y=null,E=null,T=!0,A={};function C(e){W(o,y,A.placement,A.container,e)}function L(e){var t=e.target;y.contains(t)||t===o||o.contains(t)||n.hide()}function N(){n.show()}function k(){n.hide()}function x(){M(),o.hasAttribute("data-original-title")&&z(),delete o.Tooltip}function H(e){e=e?"addEventListener":"removeEventListener",document[e]("touchstart",L,v),O(o)||(window[e]("scroll",C,v),window[e]("resize",C,v))}function P(){H(1),o.dispatchEvent(h)}function B(){H(),o.removeAttribute("aria-describedby"),A.container.removeChild(y),E=null,o.dispatchEvent(b)}function M(e){e=e?"addEventListener":"removeEventListener",O(o)&&o[e]("mousemove",C,v),o[e]("mousedown",N),o[e]("mouseenter",N),o[e]("mouseleave",k)}function z(e){var t=["data-original-title","title"];o.setAttribute(t[e?0:1],e||o.getAttribute(t[0])),o.removeAttribute(t[e?1:0])}var I=function(e,t){n=this,t=t||{},(o=r(e)).Tooltip&&o.Tooltip.dispose();var i=o.closest(".modal"),a=o.closest(".fixed-top")||o.closest(".fixed-bottom");p.title=o.getAttribute("title"),p.container=i||a||document.body,(A=w(o,p,t)).title&&(d="tooltip-"+R(o),u="bs-tooltip-"+S[A.placement],o.hasAttribute("title")&&z(A.title),function(){var e=A.title.trim();if(A.sanitizeFn&&(e=A.sanitizeFn(e),A.template=A.sanitizeFn(A.template)),e){(y=document.createElement("div")).setAttribute("id",d),o.setAttribute("aria-describedby","#"+d);var t=document.createElement("div");t.innerHTML=A.template.trim(),y.className=t.firstChild.className,y.innerHTML=t.firstChild.innerHTML,r(".tooltip-inner",y).innerHTML=e,y.setAttribute("role","tooltip"),!s(y,"tooltip")&&f(y,"tooltip"),A.animation&&!s(y,"fade")&&f(y,"fade"),A.customClass&&!s(y,A.customClass)&&f(y,A.customClass),!s(y,u)&&f(y,u)}}(),M(1),o.Tooltip=n)},j=I.prototype;return j.show=function(){clearTimeout(E),E=setTimeout((function(){if(!D(y,A.container)){if(o.dispatchEvent(m),m.defaultPrevented)return;A.container.appendChild(y),C(),!s(y,"show")&&f(y,"show"),A.animation?a(y,P):P()}}),20)},j.hide=function(){clearTimeout(E),E=setTimeout((function(){if(D(y,A.container)){if(o.dispatchEvent(g),g.defaultPrevented)return;l(y,"show"),A.animation?a(y,B):B()}}),A.delay)},j.toggle=function(){D(y,A.container)?n.hide():n.show()},j.enable=function(){T||(M(1),T=!T)},j.disable=function(){T&&(!D(y,A.container)&&A.animation?(n.hide(),setTimeout(M,i(y)+A.delay+17)):M(),T=!T)},j.toggleEnabled=function(){T?n.disable():n.enable()},j.dispose=function(){A.animation&&D(y,A.container)?(A.delay=0,n.hide(),a(y,x)):x()},new I(e,t)}var G={Alert:u,Button:h,Carousel:T,Collapse:C,Dropdown:{component:"Dropdown",selector:H,constructor:P},Modal:{component:"Modal",selector:'[data-bs-toggle="modal"]',constructor:M},Popover:{component:"Popover",selector:'[data-bs-toggle="popover"],[data-tip="popover"]',constructor:j},ScrollSpy:{component:"ScrollSpy",selector:'[data-bs-spy="scroll"]',constructor:X},Tab:{component:"Tab",selector:'[data-bs-toggle="tab"]',constructor:Y},Toast:{component:"Toast",selector:'[data-bs-dismiss="toast"]',constructor:q},Tooltip:{component:"Tooltip",selector:'[data-bs-toggle="tooltip"],[data-tip="tooltip"]',constructor:V}};function U(e,t){Array.from(t).map((function(t){return new e(t)}))}function Z(e){for(var t in e=e instanceof Element?e:document,G){var n=G[t],o=n.constructor,i=n.selector;U(o,e.querySelectorAll(i))}}return document.body?Z():document.addEventListener("DOMContentLoaded",(function(){return Z()}),{once:!0}),{Alert:d,Button:m,Carousel:E,Collapse:A,Dropdown:P,Modal:M,Popover:j,ScrollSpy:X,Tab:Y,Toast:q,Tooltip:V,initCallback:Z,Version:"3.0.14c"}}));

@@ -1,2 +0,2 @@

// Native JavaScript for Bootstrap v3.0.14b | 2021 © dnp_theme | MIT-License
var t="webkitTransition"in document.head.style?"webkitTransitionEnd":"transitionend",e="webkitTransition"in document.head.style||"transition"in document.head.style,i="webkitTransition"in document.head.style?"webkitTransitionDuration":"transitionDuration",n="webkitTransition"in document.head.style?"webkitTransitionProperty":"transitionProperty";function o(t){var o=getComputedStyle(t),a=o[n],s=o[i],l=s.indexOf("ms")>-1?1:1e3,c=e&&a&&"none"!==a?parseFloat(s)*l:0;return isNaN(c)?0:c}function a(e,i){var n=0,a=new Event(t),s=o(e);s?(e.addEventListener(t,(function o(a){a.target===e&&(i.apply(e,[a]),e.removeEventListener(t,o),n=1)})),setTimeout((function(){!n&&e.dispatchEvent(a)}),s+17)):i.apply(e,[a])}function s(t,e){var i=e&&e instanceof Element?e:document;return t instanceof Element?t:i.querySelector(t)}function l(t,e,i){var n=new CustomEvent(t+".bs."+e,{cancelable:!0});return void 0!==i&&Object.keys(i).forEach((function(t){Object.defineProperty(n,t,{value:i[t]})})),n}function c(t){this&&this.dispatchEvent(t)}function r(t){var e,i=this,n=l("close","alert"),o=l("closed","alert");function r(e){t[e=e?"addEventListener":"removeEventListener"]("click",d,!1)}function d(n){e=n&&n.target.closest(".alert"),(t=s('[data-dismiss="alert"]',e))&&e&&(t===n.target||t.contains(n.target))&&i.close()}function u(){r(),e.parentNode.removeChild(e),c.call(e,o)}i.close=function(){if(e&&t&&e.classList.contains("show")){if(c.call(e,n),n.defaultPrevented)return;i.dispose(),e.classList.remove("show"),e.classList.contains("fade")?a(e,u):u()}},i.dispose=function(){r(),delete t.Alert},t=s(t),e=t.closest(".alert"),t.Alert&&t.Alert.dispose(),t.Alert||r(1),i.element=t,t.Alert=i}function d(t){var e,i=l("change","button");function n(n){var o,a="LABEL"===n.target.tagName?n.target:n.target.closest("LABEL")?n.target.closest("LABEL"):null;if(o=a&&a.getElementsByTagName("INPUT")[0]){if(c.call(o,i),c.call(t,i),"checkbox"===o.type){if(i.defaultPrevented)return;o.checked?(a.classList.remove("active"),o.getAttribute("checked"),o.removeAttribute("checked"),o.checked=!1):(a.classList.add("active"),o.getAttribute("checked"),o.setAttribute("checked","checked"),o.checked=!0),t.toggled||(t.toggled=!0)}if("radio"===o.type&&!t.toggled){if(i.defaultPrevented)return;(!o.checked||0===n.screenX&&0==n.screenY)&&(a.classList.add("active"),a.classList.add("focus"),o.setAttribute("checked","checked"),o.checked=!0,t.toggled=!0,Array.from(e).map((function(t){var e=t.getElementsByTagName("INPUT")[0];t!==a&&t.classList.contains("active")&&(c.call(e,i),t.classList.remove("active"),e.removeAttribute("checked"),e.checked=!1)})))}setTimeout((function(){t.toggled=!1}),50)}}function o(t){32===(t.which||t.keyCode)&&t.target===document.activeElement&&n(t)}function a(t){32===(t.which||t.keyCode)&&t.preventDefault()}function r(t){if("INPUT"===t.target.tagName){var e="focusin"===t.type?"add":"remove";t.target.closest(".btn").classList[e]("focus")}}function d(e){t[e=e?"addEventListener":"removeEventListener"]("click",n,!1),t[e]("keyup",o,!1),t[e]("keydown",a,!1),t[e]("focusin",r,!1),t[e]("focusout",r,!1)}this.dispose=function(){d(),delete t.Button},(t=s(t)).Button&&t.Button.dispose(),(e=t.getElementsByClassName("btn")).length&&(t.Button||d(1),t.toggled=!1,t.Button=this,Array.from(e).map((function(t){!t.classList.contains("active")&&s("input:checked",t)&&t.classList.add("active"),t.classList.contains("active")&&!s("input:checked",t)&&t.classList.remove("active")})))}var u="onmouseleave"in document?["mouseenter","mouseleave"]:["mouseover","mouseout"],m=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t,e)}),e)}catch(t){}return t}()&&{passive:!0};function f(t,e){e=e||{};var i,n,r,d,f,h,g,p,v,L=this;function b(){!1===n.interval||t.classList.contains("paused")||(t.classList.add("paused"),!i.isSliding&&(clearInterval(i.timer),i.timer=null))}function y(){!1!==n.interval&&t.classList.contains("paused")&&(t.classList.remove("paused"),!i.isSliding&&(clearInterval(i.timer),i.timer=null),!i.isSliding&&L.cycle())}function w(t){if(t.preventDefault(),!i.isSliding){var e=t.target;if(!e||e.classList.contains("active")||!e.getAttribute("data-slide-to"))return!1;i.index=parseInt(e.getAttribute("data-slide-to")),L.slideTo(i.index)}}function A(t){if(t.preventDefault(),!i.isSliding){var e=t.currentTarget||t.srcElement;e===g?i.index++:e===h&&i.index--,L.slideTo(i.index)}}function T(t){var e=t.which;if(!i.isSliding){switch(e){case 39:i.index++;break;case 37:i.index--;break;default:return}L.slideTo(i.index)}}function E(e){e=e?"addEventListener":"removeEventListener",n.pause&&n.interval&&(t[e](u[0],b,!1),t[e](u[1],y,!1),t[e]("touchstart",b,m),t[e]("touchend",y,m)),n.touch&&f.length>1&&t[e]("touchstart",x,m),g&&g[e]("click",A,!1),h&&h[e]("click",A,!1),p&&p[e]("click",w,!1),n.keyboard&&window[e]("keydown",T,!1)}function k(e){t[e=e?"addEventListener":"removeEventListener"]("touchmove",C,m),t[e]("touchend",N,m)}function x(e){i.isTouch||(i.touchPosition.startX=e.changedTouches[0].pageX,t.contains(e.target)&&(i.isTouch=!0,k(1)))}function C(t){if(i.isTouch)return i.touchPosition.currentX=t.changedTouches[0].pageX,"touchmove"===t.type&&t.changedTouches.length>1?(t.preventDefault(),!1):void 0;t.preventDefault()}function N(e){if(i.isTouch&&!i.isSliding&&(i.touchPosition.endX=i.touchPosition.currentX||e.changedTouches[0].pageX,i.isTouch)){if((!t.contains(e.target)||!t.contains(e.relatedTarget))&&Math.abs(i.touchPosition.startX-i.touchPosition.endX)<75)return!1;i.touchPosition.currentX<i.touchPosition.startX?i.index++:i.touchPosition.currentX>i.touchPosition.startX&&i.index--,i.isTouch=!1,L.slideTo(i.index),k()}}function P(t){Array.from(v).map((function(t){t.classList.remove("active")})),v[t]&&v[t].classList.add("active")}function H(e){if(i.touchPosition){var o=i.index,a=e&&e.target!==f[o]?1e3*e.elapsedTime+100:20,s=L.getActiveIndex(),l="left"===i.direction?"next":"prev";i.isSliding&&setTimeout((function(){i.touchPosition&&(i.isSliding=!1,f[o].classList.add("active"),f[s].classList.remove("active"),f[o].classList.remove("carousel-item-"+l),f[o].classList.remove("carousel-item-"+i.direction),f[s].classList.remove("carousel-item-"+i.direction),c.call(t,d),document.hidden||!n.interval||t.classList.contains("paused")||L.cycle())}),a)}}if(L.cycle=function(){i.timer&&(clearInterval(i.timer),i.timer=null),i.timer=setInterval((function(){var e=i.index||L.getActiveIndex();(function(t){var e=t.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight;return e.top<=i&&e.bottom>=0})(t)&&(e++,L.slideTo(e))}),n.interval)},L.slideTo=function(e){if(!i.isSliding){var s,u,m=L.getActiveIndex();m!==e&&(m<e||0===m&&e===f.length-1?i.direction="left":(m>e||m===f.length-1&&0===e)&&(i.direction="right"),e<0?e=f.length-1:e>=f.length&&(e=0),s="left"===i.direction?"next":"prev",u={relatedTarget:f[e],direction:i.direction,from:m,to:e},r=l("slide","carousel",u),d=l("slid","carousel",u),c.call(t,r),r.defaultPrevented||(i.index=e,i.isSliding=!0,clearInterval(i.timer),i.timer=null,P(e),o(f[e])&&t.classList.contains("slide")?(f[e].classList.add("carousel-item-"+s),f[e].offsetWidth,f[e].classList.add("carousel-item-"+i.direction),f[m].classList.add("carousel-item-"+i.direction),a(f[e],H)):(f[e].classList.add("active"),f[e].offsetWidth,f[m].classList.remove("active"),setTimeout((function(){i.isSliding=!1,n.interval&&t&&!t.classList.contains("paused")&&L.cycle(),c.call(t,d)}),100))))}},L.getActiveIndex=function(){return Array.from(f).indexOf(t.getElementsByClassName("carousel-item active")[0])||0},L.dispose=function(){var e=["left","right","prev","next"];Array.from(f).map((function(t,i){t.classList.contains("active")&&P(i),e.map((function(e){return t.classList.remove("carousel-item-"+e)}))})),clearInterval(i.timer),E(),i={},n={},delete t.Carousel},(t=s(t)).Carousel&&t.Carousel.dispose(),f=t.getElementsByClassName("carousel-item"),h=t.getElementsByClassName("carousel-control-prev")[0],g=t.getElementsByClassName("carousel-control-next")[0],p=t.getElementsByClassName("carousel-indicators")[0],v=p&&p.getElementsByTagName("LI")||[],!(f.length<2)){var S=t.getAttribute("data-interval"),B="false"===S?0:parseInt(S),I="false"===t.getAttribute("data-touch")?0:1,M="hover"===t.getAttribute("data-pause")||!1,D="true"===t.getAttribute("data-keyboard")||!1,X=e.interval,W=e.touch;(n={}).keyboard=!0===e.keyboard||D,n.pause=!("hover"!==e.pause&&!M)&&"hover",n.touch=W||I,n.interval="number"==typeof X?X:!1===X||0===B||!1===B?0:isNaN(B)?5e3:B,L.getActiveIndex()<0&&(f.length&&f[0].classList.add("active"),v.length&&P(0)),(i={}).direction="left",i.index=0,i.timer=null,i.isSliding=!1,i.isTouch=!1,i.touchPosition={startX:0,currentX:0,endX:0},E(1),n.interval&&L.cycle(),t.Carousel=L}}function h(t,e){e=e||{};var i,n,o,r,d,u,m=this,f=null,h=null;function g(t,e){c.call(t,d),d.defaultPrevented||(t.isAnimating=!0,t.style.height=t.scrollHeight+"px",t.classList.remove("collapse"),t.classList.remove("show"),t.classList.add("collapsing"),t.offsetWidth,t.style.height="0px",a(t,(function(){t.isAnimating=!1,t.setAttribute("aria-expanded","false"),e.setAttribute("aria-expanded","false"),t.classList.remove("collapsing"),t.classList.add("collapse"),t.style.height="",c.call(t,u)})))}m.toggle=function(e){(e&&"A"===e.target.tagName||"A"===t.tagName)&&e.preventDefault(),(t.contains(e.target)||e.target===t)&&(h.classList.contains("show")?m.hide():m.show())},m.hide=function(){h.isAnimating||(g(h,t),t.classList.add("collapsed"))},m.show=function(){var e,l;f&&(i=f.getElementsByClassName("collapse show")[0],n=i&&(s('[data-target="#'+i.id+'"]',f)||s('[href="#'+i.id+'"]',f))),h.isAnimating||(n&&i!==h&&(g(i,n),n.classList.add("collapsed")),e=h,l=t,c.call(e,o),o.defaultPrevented||(e.isAnimating=!0,e.classList.add("collapsing"),e.classList.remove("collapse"),e.style.height=e.scrollHeight+"px",a(e,(function(){e.isAnimating=!1,e.setAttribute("aria-expanded","true"),l.setAttribute("aria-expanded","true"),e.classList.remove("collapsing"),e.classList.add("collapse"),e.classList.add("show"),e.style.height="",c.call(e,r)}))),t.classList.remove("collapsed"))},m.dispose=function(){t.removeEventListener("click",m.toggle,!1),delete t.Collapse},(t=s(t)).Collapse&&t.Collapse.dispose();var p=t.getAttribute("data-parent");o=l("show","collapse"),r=l("shown","collapse"),d=l("hide","collapse"),u=l("hidden","collapse"),null!==(h=s(e.target||t.getAttribute("data-target")||t.getAttribute("href")))&&(h.isAnimating=!1),f=t.closest(e.parent||p),t.Collapse||t.addEventListener("click",m.toggle,!1),t.Collapse=m}function g(t){t.focus?t.focus():t.setActive()}function p(t,e){var i,n,o,a,r,d,u,m=this,f=null,h=[];function p(t){(t.href&&"#"===t.href.slice(-1)||t.parentNode&&t.parentNode.href&&"#"===t.parentNode.href.slice(-1))&&this.preventDefault()}function v(){var e=t.open?"addEventListener":"removeEventListener";document[e]("click",L,!1),document[e]("keydown",y,!1),document[e]("keyup",w,!1),document[e]("focus",L,!1)}function L(e){var i=e.target,n=i&&(i.getAttribute("data-toggle")||i.parentNode&&i.parentNode.getAttribute&&i.parentNode.getAttribute("data-toggle"));("focus"!==e.type||i!==t&&i!==d&&!d.contains(i))&&(i!==d&&!d.contains(i)||!u&&!n)&&(f=i===t||t.contains(i)?t:null,m.hide(),p.call(e,i))}function b(e){f=t,m.show(),p.call(e,e.target)}function y(t){var e=t.which||t.keyCode;38!==e&&40!==e||t.preventDefault()}function w(e){var i=e.which||e.keyCode,n=document.activeElement,o=n===t,a=d.contains(n),s=n.parentNode===d||n.parentNode.parentNode===d,l=h.indexOf(n);s&&(l=o?0:38===i?l>1?l-1:0:40===i&&l<h.length-1?l+1:l,h[l]&&g(h[l])),(h.length&&s||!h.length&&(a||o)||!a)&&t.open&&27===i&&(m.toggle(),f=null)}m.show=function(){i=l("show","dropdown",{relatedTarget:f}),c.call(r,i),i.defaultPrevented||(d.classList.add("show"),r.classList.add("show"),t.setAttribute("aria-expanded",!0),t.open=!0,t.removeEventListener("click",b,!1),setTimeout((function(){g(d.getElementsByTagName("INPUT")[0]||t),v(),n=l("shown","dropdown",{relatedTarget:f}),c.call(r,n)}),1))},m.hide=function(){o=l("hide","dropdown",{relatedTarget:f}),c.call(r,o),o.defaultPrevented||(d.classList.remove("show"),r.classList.remove("show"),t.setAttribute("aria-expanded",!1),t.open=!1,v(),g(t),setTimeout((function(){t.Dropdown&&t.addEventListener("click",b,!1)}),1),a=l("hidden","dropdown",{relatedTarget:f}),c.call(r,a))},m.toggle=function(){r.classList.contains("show")&&t.open?m.hide():m.show()},m.dispose=function(){r.classList.contains("show")&&t.open&&m.hide(),t.removeEventListener("click",b,!1),delete t.Dropdown},(t=s(t)).Dropdown&&t.Dropdown.dispose(),r=t.parentNode,d=s(".dropdown-menu",r),Array.from(d.children).map((function(t){t.children.length&&"A"===t.children[0].tagName&&h.push(t.children[0]),"A"===t.tagName&&h.push(t)})),t.Dropdown||(!("tabindex"in d)&&d.setAttribute("tabindex","0"),t.addEventListener("click",b,!1)),u=!0===e||"true"===t.getAttribute("data-persist")||!1,t.open=!1,t.Dropdown=m}function v(t,e){e=e||{};var i,n,r,d,u,f,h,p,v,L=this,b=null,y={};function w(){var t,e,n=document.body.classList.contains("modal-open"),o=parseInt(getComputedStyle(document.body).paddingRight),a=document.documentElement.clientHeight!==document.documentElement.scrollHeight||document.body.clientHeight!==document.body.scrollHeight,s=i.clientHeight!==i.scrollHeight;(e=document.createElement("div")).className="modal-scrollbar-measure",document.body.appendChild(e),t=e.offsetWidth-e.clientWidth,document.body.removeChild(e),f=t,i.style.paddingRight=!s&&f?f+"px":"",document.body.style.paddingRight=s||a?o+(n?0:f)+"px":"",v.length&&v.map((function(t){var e=getComputedStyle(t).paddingRight;t.style.paddingRight=s||a?parseInt(e)+(n?0:f)+"px":parseInt(e)+"px"}))}function A(){(h=s(".modal-backdrop"))&&!document.getElementsByClassName("modal show")[0]&&(document.body.removeChild(h),h=null),null===h&&(document.body.classList.remove("modal-open"),document.body.style.paddingRight="",i.style.paddingRight="",v.length&&v.map((function(t){t.style.paddingRight=""})))}function T(t){t=t?"addEventListener":"removeEventListener",window[t]("resize",L.update,m),i[t]("click",P,!1),document[t]("keydown",N,!1)}function E(){i.style.display="block",w(),!document.getElementsByClassName("modal show")[0]&&document.body.classList.add("modal-open"),i.classList.add("show"),i.setAttribute("aria-hidden",!1),i.classList.contains("fade")?a(i,k):k()}function k(){g(i),i.isAnimating=!1,T(1),r=l("shown","modal",{relatedTarget:b}),c.call(i,r)}function x(e){i.style.display="",t&&g(t),h=s(".modal-backdrop"),1!==e&&h&&h.classList.contains("show")&&!document.getElementsByClassName("modal show")[0]?(h.classList.remove("show"),a(h,A)):A(),T(),i.isAnimating=!1,u=l("hidden","modal"),c.call(i,u)}function C(e){if(!i.isAnimating){var n=e.target,o="#"+i.getAttribute("id"),a=n.getAttribute("data-target")||n.getAttribute("href"),s=t.getAttribute("data-target")||t.getAttribute("href");!i.classList.contains("show")&&(n===t&&a===o||t.contains(n)&&s===o)&&(i.modalTrigger=t,b=t,L.show(),e.preventDefault())}}function N(t){var e=t.which;!i.isAnimating&&y.keyboard&&27==e&&i.classList.contains("show")&&L.hide()}function P(t){if(!i.isAnimating){var e=t.target,n="modal"===e.getAttribute("data-dismiss"),o=e.closest('[data-dismiss="modal"]');i.classList.contains("show")&&(o||n||e===i&&"static"!==y.backdrop)&&(L.hide(),b=null,t.preventDefault())}}L.toggle=function(){i.classList.contains("show")?L.hide():L.show()},L.show=function(){if(!(i.classList.contains("show")&&i.isAnimating||(n=l("show","modal",{relatedTarget:b}),c.call(i,n),n.defaultPrevented))){i.isAnimating=!0;var t,e=document.getElementsByClassName("modal show")[0];e&&e!==i&&(e.modalTrigger&&e.modalTrigger.Modal.hide(),e.Modal&&e.Modal.hide()),y.backdrop&&(t=document.createElement("div"),null===(h=s(".modal-backdrop"))&&(t.setAttribute("class","modal-backdrop"+(y.animation?" fade":"")),h=t,document.body.appendChild(h)),h=h),!h||e||h.classList.contains("show")||(h.offsetWidth,p=o(h),h.classList.add("show")),e?E():setTimeout(E,h&&p?p:0)}},L.hide=function(t){i.classList.contains("show")&&(d=l("hide","modal"),c.call(i,d),d.defaultPrevented||(i.isAnimating=!0,i.classList.remove("show"),i.setAttribute("aria-hidden",!0),i.classList.contains("fade")&&1!==t?a(i,x):x()))},L.setContent=function(t){s(".modal-content",i).innerHTML=t},L.update=function(){i.classList.contains("show")&&w()},L.dispose=function(){L.hide(1),t?(t.removeEventListener("click",C,!1),delete t.Modal):delete i.Modal},t=s(t);var H=s(t.getAttribute("data-target")||t.getAttribute("href"));i=t.classList.contains("modal")?t:H,v=Array.from(document.getElementsByClassName("fixed-top")).concat(Array.from(document.getElementsByClassName("fixed-bottom"))),t.classList.contains("modal")&&(t=null),t&&t.Modal&&t.Modal.dispose(),i&&i.Modal&&i.Modal.dispose(),y.keyboard=!1!==e.keyboard&&"false"!==i.getAttribute("data-keyboard"),y.backdrop="static"!==e.backdrop&&"static"!==i.getAttribute("data-backdrop")||"static",y.backdrop=!1!==e.backdrop&&"false"!==i.getAttribute("data-backdrop")&&y.backdrop,y.animation=!!i.classList.contains("fade"),y.content=e.content,i.isAnimating=!1,t&&!t.Modal&&t.addEventListener("click",C,!1),y.content&&L.setContent(y.content.trim()),t?(i.modalTrigger=t,t.Modal=L):i.Modal=L}var L="mousedown";function b(){return{y:window.pageYOffset||document.documentElement.scrollTop,x:window.pageXOffset||document.documentElement.scrollLeft}}function y(t,e,i,n){var o,a,s,l,c,r,d=e.offsetWidth,u=e.offsetHeight,m=document.documentElement.clientWidth||document.body.clientWidth,f=document.documentElement.clientHeight||document.body.clientHeight,h=t.getBoundingClientRect(),g=n===document.body?b():{x:n.offsetLeft+n.scrollLeft,y:n.offsetTop+n.scrollTop},p=h.right-h.left,v=h.bottom-h.top,L=e.classList.contains("popover"),y=e.getElementsByClassName("arrow")[0],w=h.top+v/2-u/2<0,A=h.left+p/2-d/2<0,T=h.left+d/2+p/2>=m,E=h.top+u/2+v/2>=f,k=h.top-u<0,x=h.left-d<0,C=h.top+u+v>=f,N=h.left+d+p>=m;i="right"===(i="left"===(i="bottom"===(i="top"===(i=("left"===i||"right"===i)&&x&&N?"top":i)&&k?"bottom":i)&&C?"top":i)&&x?"right":i)&&N?"left":i,-1===e.className.indexOf(i)&&(e.className=e.className.replace(/\b(top|bottom|left|right)+/,i)),c=y.offsetWidth,r=y.offsetHeight,"left"===i||"right"===i?(a="left"===i?h.left+g.x-d-(L?c:0):h.left+g.x+p,w?(o=h.top+g.y,s=v/2-c):E?(o=h.top+g.y-u+v,s=u-v/2-c):(o=h.top+g.y-u/2+v/2,s=u/2-(L?.9*r:r/2))):"top"!==i&&"bottom"!==i||(o="top"===i?h.top+g.y-u-(L?r:0):h.top+g.y+v,A?(a=0,l=h.left+p/2-c):T?(a=m-1.01*d,l=d-(m-h.left)+p/2-c/2):(a=h.left+g.x-d/2+p/2,l=d/2-(L?c:c/2))),e.style.top=o+"px",e.style.left=a+"px",s&&(y.style.top=s+"px"),l&&(y.style.left=l+"px")}function w(t,e){e=e||{};var i,n,o,r,d,f,h,g,p,v,b,w,A,T,E,k,x,C,N,P=this,H=null,S=0,B=/(iPhone|iPod|iPad)/.test(navigator.userAgent),I={};function M(t){null!==H&&t.target===s(".close",H)&&P.hide()}function D(){return{0:e.title||t.getAttribute("data-title")||null,1:e.content||t.getAttribute("data-content")||null}}function X(){null===H&&t.focus()}function W(e){e=e?"addEventListener":"removeEventListener","hover"===I.trigger?(t[e](L,P.show),t[e](u[0],P.show),I.dismissible||t[e](u[1],P.hide)):"click"==I.trigger?t[e](I.trigger,P.toggle):"focus"==I.trigger&&(B&&t[e]("click",X,!1),t[e](I.trigger,P.toggle))}function O(e){H&&H.contains(e.target)||e.target===t||t.contains(e.target)||P.hide()}function R(e){e=e?"addEventListener":"removeEventListener",I.dismissible?document[e]("click",M,!1):("focus"==I.trigger&&t[e]("blur",P.hide),"hover"==I.trigger&&document[e]("touchstart",O,m)),window[e]("resize",P.hide,m)}function z(){R(1),c.call(t,b)}function U(){R(),I.container.removeChild(H),S=null,H=null,c.call(t,A)}P.toggle=function(){null===H?P.show():P.hide()},P.show=function(){clearTimeout(S),S=setTimeout((function(){if(null===H){if(c.call(t,v),v.defaultPrevented)return;!function(){i=D()[0]||null,n=(n=D()[1])?n.trim():null,H=document.createElement("div");var t=document.createElement("div");if(t.classList.add("arrow"),H.appendChild(t),null!==n&&null===I.template){if(H.setAttribute("role","tooltip"),null!==i){var e=document.createElement("h3");e.classList.add("popover-header"),e.innerHTML=I.dismissible?i+p:i,H.appendChild(e)}var o=document.createElement("div");o.classList.add("popover-body"),o.innerHTML=I.dismissible&&null===i?n+p:n,H.appendChild(o)}else{var a=document.createElement("div");a.innerHTML=I.template.trim(),H.className=a.firstChild.className,H.innerHTML=a.firstChild.innerHTML;var l=s(".popover-header",H),c=s(".popover-body",H);i&&l&&(l.innerHTML=i.trim()),n&&c&&(c.innerHTML=n.trim())}I.container.appendChild(H),H.style.display="block",!H.classList.contains("popover")&&H.classList.add("popover"),!H.classList.contains(I.animation)&&H.classList.add(I.animation),!H.classList.contains(N)&&H.classList.add(N)}(),y(t,H,I.placement,I.container),!H.classList.contains("show")&&H.classList.add("show"),I.animation?a(H,z):z()}}),20)},P.hide=function(){clearTimeout(S),S=setTimeout((function(){if(H&&null!==H&&H.classList.contains("show")){if(c.call(t,w),w.defaultPrevented)return;H.classList.remove("show"),I.animation?a(H,U):U()}}),I.delay)},P.dispose=function(){P.hide(),W(),delete t.Popover},(t=s(t)).Popover&&t.Popover.dispose(),o=t.getAttribute("data-trigger"),r=t.getAttribute("data-animation"),d=t.getAttribute("data-placement"),f=t.getAttribute("data-dismissible"),h=t.getAttribute("data-delay"),g=t.getAttribute("data-container"),p='<button type="button" class="close">×</button>',v=l("show","popover"),b=l("shown","popover"),w=l("hide","popover"),A=l("hidden","popover"),T=s(e.container),E=s(g),k=t.closest(".modal"),x=t.closest(".fixed-top"),C=t.closest(".fixed-bottom"),I.template=e.template?e.template:null,I.trigger=e.trigger?e.trigger:o||"hover",I.animation=e.animation&&"fade"!==e.animation?e.animation:r||"fade",I.placement=e.placement?e.placement:d||"top",I.delay=parseInt(e.delay||h)||200,I.dismissible=!(!e.dismissible&&"true"!==f),I.container=T||(E||(x||(C||(k||document.body)))),N="bs-popover-"+I.placement;var j=D();i=j[0],((n=j[1])||I.template)&&(t.Popover||W(1),t.Popover=P)}function A(t,e){e=e||{};var i,n,o,a,r,d,u=this,f={};function h(){var e,o,a;(n=r.getElementsByTagName("A"),i.scrollTop=i.isWindow?b().y:t.scrollTop,i.length!==n.length||p()!==i.scrollHeight)&&(i.items=[],i.offsets=[],i.scrollHeight=p(),i.maxScroll=i.scrollHeight-(i.isWindow?window.innerHeight:t.getBoundingClientRect().height),Array.from(n).map((function(t){e=t.getAttribute("href"),(o=e&&"#"===e.charAt(0)&&"#"!==e.slice(-1)&&s(e))&&(i.items.push(t),a=o.getBoundingClientRect(),i.offsets.push((i.isWindow?a.top+i.scrollTop:o.offsetTop)-f.offset))})),i.length=i.items.length)}function g(t){d[t=t?"addEventListener":"removeEventListener"]("scroll",u.refresh,m),window[t]("resize",u.refresh,m)}function p(){return d.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}function v(){Array.from(n).map((function(t){return t.classList.contains("active")&&t.classList.remove("active")}))}function L(e){v(),i.activeItem=e,e.classList.add("active");for(var n=[];e.parentNode!==document.body;)e=e.parentNode,["dropdown-menu","nav"].some((function(t){return e.classList.contains(t)}))&&n.push(e);n.map((function(t){var e=t.previousElementSibling;e&&!e.classList.contains("active")&&e.classList.add("active")})),c.call(t,l("activate","scrollspy",{relatedTarget:i.activeItem}))}u.refresh=function(){if(h(),i.scrollTop>=i.maxScroll){var t=i.items[i.length-1];i.activeItem!==t&&L(t)}else{if(i.activeItem&&i.scrollTop<i.offsets[0]&&i.offsets[0]>0)return i.activeItem=null,void v();for(var e=i.length;e--;)i.activeItem!==i.items[e]&&i.scrollTop>=i.offsets[e]&&(void 0===i.offsets[e+1]||i.scrollTop<i.offsets[e+1])&&L(i.items[e])}},u.dispose=function(){g(),delete t.ScrollSpy},(t=s(t)).ScrollSpy&&t.ScrollSpy.dispose(),o=t.getAttribute("data-target"),a=t.getAttribute("data-offset"),r=s(e.target||o),d=t.clientHeight<t.scrollHeight?t:window,r&&(f.offset=+(e.offset||a)||10,(i={}).length=0,i.items=[],i.offsets=[],i.isWindow=d===window,i.activeItem=null,i.scrollHeight=0,i.maxScroll=0,!t.ScrollSpy&&g(1),u.refresh(),t.ScrollSpy=u)}function T(t,i){i=i||{};var n,o,r,d,u,m,f,h,g,p,v,L,b,y,w,A=this,T=!1;function E(){T.style.height="",T.classList.remove("collapsing"),o.isAnimating=!1}function k(){T?b?E():setTimeout((function(){T.style.height=y+"px",T.offsetWidth,a(T,E)}),50):o.isAnimating=!1,u=l("shown","tab",{relatedTarget:g}),c.call(h,u)}function x(){T&&(p.style.float="left",v.style.float="left",L=p.scrollHeight),d=l("show","tab",{relatedTarget:g}),f=l("hidden","tab",{relatedTarget:h}),c.call(h,d),d.defaultPrevented||(v.classList.add("active"),p.classList.remove("active"),T&&(y=v.scrollHeight,b=y===L,T.classList.add("collapsing"),T.style.height=L+"px",T.offsetHeight,p.style.float="",v.style.float=""),v.classList.contains("fade")?setTimeout((function(){v.classList.add("show"),a(v,k)}),20):k(),c.call(g,f))}function C(){var t,e=o.getElementsByClassName("active");return 1!==e.length||e[0].parentNode.classList.contains("dropdown")?e.length>1&&(t=e[e.length-1]):t=e[0],t}function N(){return s(C().getAttribute("href"))}function P(t){t.preventDefault(),h=t.currentTarget,!o.isAnimating&&A.show()}A.show=function(){if(!(h=h||t).classList.contains("active")){if(v=s(h.getAttribute("href")),g=C(),p=N(),m=l("hide","tab",{relatedTarget:h}),c.call(g,m),m.defaultPrevented)return;o.isAnimating=!0,g.classList.remove("active"),g.setAttribute("aria-selected","false"),h.classList.add("active"),h.setAttribute("aria-selected","true"),r&&(t.parentNode.classList.contains("dropdown-menu")?r.classList.contains("active")||r.classList.add("active"):r.classList.contains("active")&&r.classList.remove("active")),p.classList.contains("fade")?(p.classList.remove("show"),a(p,x)):x()}},A.dispose=function(){t.removeEventListener("click",P,!1),delete t.Tab},(t=s(t)).Tab&&t.Tab.dispose(),n=t.getAttribute("data-height"),o=t.closest(".nav"),r=o&&s(".dropdown-toggle",o),w=!(!e||!1===i.height||"false"===n),o.isAnimating=!1,t.Tab||t.addEventListener("click",P,!1),w&&(T=N().parentNode),t.Tab=A}function E(t,e){e=e||{};var i,n,o,r,d,u,m,f,h=this,g=0,p={};function v(){i.classList.remove("showing"),i.classList.add("show"),c.call(i,m),p.autohide&&h.hide()}function L(){i.classList.add("hide"),c.call(i,f)}function b(){i.classList.remove("show"),p.animation?a(i,L):L()}function y(){clearTimeout(g),t.removeEventListener("click",h.hide,!1),delete t.Toast}h.show=function(){if(i&&!i.classList.contains("show")){if(c.call(i,d),d.defaultPrevented)return;p.animation&&i.classList.add("fade"),i.classList.remove("hide"),i.offsetWidth,i.classList.add("showing"),p.animation?a(i,v):v()}},h.hide=function(t){if(i&&i.classList.contains("show")){if(c.call(i,u),u.defaultPrevented)return;t?b():g=setTimeout(b,p.delay)}},h.dispose=function(){p.animation?a(i,y):y()},(t=s(t)).Toast&&t.Toast.dispose(),i=t.closest(".toast"),n=t.getAttribute("data-animation"),o=t.getAttribute("data-autohide"),r=t.getAttribute("data-delay"),d=l("show","toast"),u=l("hide","toast"),m=l("shown","toast"),f=l("hidden","toast"),p.animation=!1===e.animation||"false"===n?0:1,p.autohide=!1===e.autohide||"false"===o?0:1,p.delay=parseInt(e.delay||r)||500,t.Toast||t.addEventListener("click",h.hide,!1),t.Toast=h}function k(t,e){e=e||{};var i,n,o,r,d,f,h,g,p,v,b,w,A,T,E,k=this,x=null,C=0,N={};function P(){return t.getAttribute("title")||t.getAttribute("data-title")||t.getAttribute("data-original-title")}function H(e){x&&x.contains(e.target)||e.target===t||t.contains(e.target)||k.hide()}function S(t){t=t?"addEventListener":"removeEventListener",document[t]("touchstart",H,m),window[t]("resize",k.hide,m)}function B(){S(1),c.call(t,h)}function I(){S(),N.container.removeChild(x),x=null,C=null,c.call(t,p)}function M(e){t[e=e?"addEventListener":"removeEventListener"](L,k.show,!1),t[e](u[0],k.show,!1),t[e](u[1],k.hide,!1)}k.show=function(){clearTimeout(C),C=setTimeout((function(){if(null===x){if(c.call(t,f),f.defaultPrevented)return;!1!==function(){if(i=P()){if(x=document.createElement("div"),N.template){var t=document.createElement("div");t.innerHTML=N.template.trim(),x.className=t.firstChild.className,x.innerHTML=t.firstChild.innerHTML,s(".tooltip-inner",x).innerHTML=i.trim()}else{var e=document.createElement("div");e.classList.add("arrow"),x.appendChild(e);var n=document.createElement("div");n.classList.add("tooltip-inner"),x.appendChild(n),n.innerHTML=i}x.style.left="0",x.style.top="0",x.setAttribute("role","tooltip"),!x.classList.contains("tooltip")&&x.classList.add("tooltip"),!x.classList.contains(N.animation)&&x.classList.add(N.animation),!x.classList.contains(E)&&x.classList.add(E),N.container.appendChild(x)}}()&&(y(t,x,N.placement,N.container),!x.classList.contains("show")&&x.classList.add("show"),N.animation?a(x,B):B())}}),20)},k.hide=function(){clearTimeout(C),C=setTimeout((function(){if(x&&x.classList.contains("show")){if(c.call(t,g),g.defaultPrevented)return;x.classList.remove("show"),N.animation?a(x,I):I()}}),N.delay)},k.toggle=function(){x?k.hide():k.show()},k.dispose=function(){M(),k.hide(),t.setAttribute("title",t.getAttribute("data-original-title")),t.removeAttribute("data-original-title"),delete t.Tooltip},(t=s(t)).Tooltip&&t.Tooltip.dispose(),n=t.getAttribute("data-animation"),o=t.getAttribute("data-placement"),r=t.getAttribute("data-delay"),d=t.getAttribute("data-container"),f=l("show","tooltip"),h=l("shown","tooltip"),g=l("hide","tooltip"),p=l("hidden","tooltip"),v=s(e.container),b=s(d),w=t.closest(".modal"),A=t.closest(".fixed-top"),T=t.closest(".fixed-bottom"),N.animation=e.animation&&"fade"!==e.animation?e.animation:n||"fade",N.placement=e.placement?e.placement:o||"top",N.template=e.template?e.template:null,N.delay=parseInt(e.delay||r)||200,N.container=v||(b||(A||(T||(w||document.body)))),E="bs-tooltip-"+N.placement,(i=P())&&(t.Tooltip||(t.setAttribute("data-original-title",i),t.removeAttribute("title"),M(1)),t.Tooltip=k)}var x={};function C(t,e){Array.from(e).map((function(e){return new t(e)}))}function N(t){for(var e in t=t||document,x)C(x[e][0],t.querySelectorAll(x[e][1]))}function P(t,e){Array.from(e).map((function(e){return e[t].dispose()}))}x.Alert=[r,'[data-dismiss="alert"]'],x.Button=[d,'[data-toggle="buttons"]'],x.Carousel=[f,'[data-ride="carousel"]'],x.Collapse=[h,'[data-toggle="collapse"]'],x.Dropdown=[p,'[data-toggle="dropdown"]'],x.Modal=[v,'[data-toggle="modal"]'],x.Popover=[w,'[data-toggle="popover"],[data-tip="popover"]'],x.ScrollSpy=[A,'[data-spy="scroll"]'],x.Tab=[T,'[data-toggle="tab"]'],x.Toast=[E,'[data-dismiss="toast"]'],x.Tooltip=[k,'[data-toggle="tooltip"],[data-tip="tooltip"]'],document.body?N():document.addEventListener("DOMContentLoaded",(function t(){N(),document.removeEventListener("DOMContentLoaded",t,!1)}),!1);var H={Alert:r,Button:d,Carousel:f,Collapse:h,Dropdown:p,Modal:v,Popover:w,ScrollSpy:A,Tab:T,Toast:E,Tooltip:k,initCallback:N,removeDataAPI:function(t){for(var e in t=t||document,x)P(e,t.querySelectorAll(x[e][1]))},componentsInit:x,Version:"3.0.14b"};export default H;
// Native JavaScript for Bootstrap v3.0.14c | 2021 © dnp_theme | MIT-License
var t="webkitTransition"in document.head.style?"webkitTransitionEnd":"transitionend",e="webkitTransition"in document.head.style||"transition"in document.head.style,i="webkitTransition"in document.head.style?"webkitTransitionDuration":"transitionDuration",n="webkitTransition"in document.head.style?"webkitTransitionProperty":"transitionProperty";function o(t){var o=getComputedStyle(t),a=o[n],s=o[i],l=s.indexOf("ms")>-1?1:1e3,c=e&&a&&"none"!==a?parseFloat(s)*l:0;return isNaN(c)?0:c}function a(e,i){var n=0,a=new Event(t),s=o(e);s?(e.addEventListener(t,(function o(a){a.target===e&&(i.apply(e,[a]),e.removeEventListener(t,o),n=1)})),setTimeout((function(){!n&&e.dispatchEvent(a)}),s+17)):i.apply(e,[a])}function s(t,e){var i=e&&e instanceof Element?e:document;return t instanceof Element?t:i.querySelector(t)}function l(t,e,i){var n=new CustomEvent(t+".bs."+e,{cancelable:!0});return void 0!==i&&Object.keys(i).forEach((function(t){Object.defineProperty(n,t,{value:i[t]})})),n}function c(t){this&&this.dispatchEvent(t)}function r(t){var e,i=this,n=l("close","alert"),o=l("closed","alert");function r(e){t[e=e?"addEventListener":"removeEventListener"]("click",d,!1)}function d(n){e=n&&n.target.closest(".alert"),(t=s('[data-dismiss="alert"]',e))&&e&&(t===n.target||t.contains(n.target))&&i.close()}function u(){r(),e.parentNode.removeChild(e),c.call(e,o)}i.close=function(){if(e&&t&&e.classList.contains("show")){if(c.call(e,n),n.defaultPrevented)return;i.dispose(),e.classList.remove("show"),e.classList.contains("fade")?a(e,u):u()}},i.dispose=function(){r(),delete t.Alert},t=s(t),e=t.closest(".alert"),t.Alert&&t.Alert.dispose(),t.Alert||r(1),i.element=t,t.Alert=i}function d(t){var e,i=l("change","button");function n(n){var o,a="LABEL"===n.target.tagName?n.target:n.target.closest("LABEL")?n.target.closest("LABEL"):null;if(o=a&&a.getElementsByTagName("INPUT")[0]){if(c.call(o,i),c.call(t,i),"checkbox"===o.type){if(i.defaultPrevented)return;o.checked?(a.classList.remove("active"),o.getAttribute("checked"),o.removeAttribute("checked"),o.checked=!1):(a.classList.add("active"),o.getAttribute("checked"),o.setAttribute("checked","checked"),o.checked=!0),t.toggled||(t.toggled=!0)}if("radio"===o.type&&!t.toggled){if(i.defaultPrevented)return;(!o.checked||0===n.screenX&&0==n.screenY)&&(a.classList.add("active"),a.classList.add("focus"),o.setAttribute("checked","checked"),o.checked=!0,t.toggled=!0,Array.from(e).map((function(t){var e=t.getElementsByTagName("INPUT")[0];t!==a&&t.classList.contains("active")&&(c.call(e,i),t.classList.remove("active"),e.removeAttribute("checked"),e.checked=!1)})))}setTimeout((function(){t.toggled=!1}),50)}}function o(t){32===(t.which||t.keyCode)&&t.target===document.activeElement&&n(t)}function a(t){32===(t.which||t.keyCode)&&t.preventDefault()}function r(t){if("INPUT"===t.target.tagName){var e="focusin"===t.type?"add":"remove";t.target.closest(".btn").classList[e]("focus")}}function d(e){t[e=e?"addEventListener":"removeEventListener"]("click",n,!1),t[e]("keyup",o,!1),t[e]("keydown",a,!1),t[e]("focusin",r,!1),t[e]("focusout",r,!1)}this.dispose=function(){d(),delete t.Button},(t=s(t)).Button&&t.Button.dispose(),(e=t.getElementsByClassName("btn")).length&&(t.Button||d(1),t.toggled=!1,t.Button=this,Array.from(e).map((function(t){!t.classList.contains("active")&&s("input:checked",t)&&t.classList.add("active"),t.classList.contains("active")&&!s("input:checked",t)&&t.classList.remove("active")})))}var u="onmouseleave"in document?["mouseenter","mouseleave"]:["mouseover","mouseout"],m=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t,e)}),e)}catch(t){}return t}()&&{passive:!0};function f(t,e){e=e||{};var i,n,r,d,f,h,g,p,v,L=this;function b(){!1===n.interval||t.classList.contains("paused")||(t.classList.add("paused"),!i.isSliding&&(clearInterval(i.timer),i.timer=null))}function y(){!1!==n.interval&&t.classList.contains("paused")&&(t.classList.remove("paused"),!i.isSliding&&(clearInterval(i.timer),i.timer=null),!i.isSliding&&L.cycle())}function w(t){if(t.preventDefault(),!i.isSliding){var e=t.target;if(!e||e.classList.contains("active")||!e.getAttribute("data-slide-to"))return!1;i.index=parseInt(e.getAttribute("data-slide-to")),L.slideTo(i.index)}}function A(t){if(t.preventDefault(),!i.isSliding){var e=t.currentTarget||t.srcElement;e===g?i.index++:e===h&&i.index--,L.slideTo(i.index)}}function T(t){var e=t.which;if(!i.isSliding){switch(e){case 39:i.index++;break;case 37:i.index--;break;default:return}L.slideTo(i.index)}}function E(e){e=e?"addEventListener":"removeEventListener",n.pause&&n.interval&&(t[e](u[0],b,!1),t[e](u[1],y,!1),t[e]("touchstart",b,m),t[e]("touchend",y,m)),n.touch&&f.length>1&&t[e]("touchstart",x,m),g&&g[e]("click",A,!1),h&&h[e]("click",A,!1),p&&p[e]("click",w,!1),n.keyboard&&window[e]("keydown",T,!1)}function k(e){t[e=e?"addEventListener":"removeEventListener"]("touchmove",C,m),t[e]("touchend",N,m)}function x(e){i.isTouch||(i.touchPosition.startX=e.changedTouches[0].pageX,t.contains(e.target)&&(i.isTouch=!0,k(1)))}function C(t){if(i.isTouch)return i.touchPosition.currentX=t.changedTouches[0].pageX,"touchmove"===t.type&&t.changedTouches.length>1?(t.preventDefault(),!1):void 0;t.preventDefault()}function N(e){if(i.isTouch&&!i.isSliding&&(i.touchPosition.endX=i.touchPosition.currentX||e.changedTouches[0].pageX,i.isTouch)){if((!t.contains(e.target)||!t.contains(e.relatedTarget))&&Math.abs(i.touchPosition.startX-i.touchPosition.endX)<75)return!1;i.touchPosition.currentX<i.touchPosition.startX?i.index++:i.touchPosition.currentX>i.touchPosition.startX&&i.index--,i.isTouch=!1,L.slideTo(i.index),k()}}function P(t){Array.from(v).map((function(t){t.classList.remove("active")})),v[t]&&v[t].classList.add("active")}function H(e){if(i.touchPosition){var o=i.index,a=e&&e.target!==f[o]?1e3*e.elapsedTime+100:20,s=L.getActiveIndex(),l="left"===i.direction?"next":"prev";i.isSliding&&setTimeout((function(){i.touchPosition&&(i.isSliding=!1,f[o].classList.add("active"),f[s].classList.remove("active"),f[o].classList.remove("carousel-item-"+l),f[o].classList.remove("carousel-item-"+i.direction),f[s].classList.remove("carousel-item-"+i.direction),c.call(t,d),document.hidden||!n.interval||t.classList.contains("paused")||L.cycle())}),a)}}if(L.cycle=function(){i.timer&&(clearInterval(i.timer),i.timer=null),i.timer=setInterval((function(){var e=i.index||L.getActiveIndex();(function(t){var e=t.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight;return e.top<=i&&e.bottom>=0})(t)&&(e++,L.slideTo(e))}),n.interval)},L.slideTo=function(e){if(!i.isSliding){var s,u,m=L.getActiveIndex();m!==e&&(m<e||0===m&&e===f.length-1?i.direction="left":(m>e||m===f.length-1&&0===e)&&(i.direction="right"),e<0?e=f.length-1:e>=f.length&&(e=0),s="left"===i.direction?"next":"prev",u={relatedTarget:f[e],direction:i.direction,from:m,to:e},r=l("slide","carousel",u),d=l("slid","carousel",u),c.call(t,r),r.defaultPrevented||(i.index=e,i.isSliding=!0,clearInterval(i.timer),i.timer=null,P(e),o(f[e])&&t.classList.contains("slide")?(f[e].classList.add("carousel-item-"+s),f[e].offsetWidth,f[e].classList.add("carousel-item-"+i.direction),f[m].classList.add("carousel-item-"+i.direction),a(f[e],H)):(f[e].classList.add("active"),f[e].offsetWidth,f[m].classList.remove("active"),setTimeout((function(){i.isSliding=!1,n.interval&&t&&!t.classList.contains("paused")&&L.cycle(),c.call(t,d)}),100))))}},L.getActiveIndex=function(){return Array.from(f).indexOf(t.getElementsByClassName("carousel-item active")[0])||0},L.dispose=function(){var e=["left","right","prev","next"];Array.from(f).map((function(t,i){t.classList.contains("active")&&P(i),e.map((function(e){return t.classList.remove("carousel-item-"+e)}))})),clearInterval(i.timer),E(),i={},n={},delete t.Carousel},(t=s(t)).Carousel&&t.Carousel.dispose(),f=t.getElementsByClassName("carousel-item"),h=t.getElementsByClassName("carousel-control-prev")[0],g=t.getElementsByClassName("carousel-control-next")[0],p=t.getElementsByClassName("carousel-indicators")[0],v=p&&p.getElementsByTagName("LI")||[],!(f.length<2)){var S=t.getAttribute("data-interval"),B="false"===S?0:parseInt(S),I="false"===t.getAttribute("data-touch")?0:1,M="hover"===t.getAttribute("data-pause")||!1,D="true"===t.getAttribute("data-keyboard")||!1,X=e.interval,W=e.touch;(n={}).keyboard=!0===e.keyboard||D,n.pause=!("hover"!==e.pause&&!M)&&"hover",n.touch=W||I,n.interval="number"==typeof X?X:!1===X||0===B||!1===B?0:isNaN(B)?5e3:B,L.getActiveIndex()<0&&(f.length&&f[0].classList.add("active"),v.length&&P(0)),(i={}).direction="left",i.index=0,i.timer=null,i.isSliding=!1,i.isTouch=!1,i.touchPosition={startX:0,currentX:0,endX:0},E(1),n.interval&&L.cycle(),t.Carousel=L}}function h(t,e){e=e||{};var i,n,o,r,d,u,m=this,f=null,h=null;function g(t,e){c.call(t,d),d.defaultPrevented||(t.isAnimating=!0,t.style.height=t.scrollHeight+"px",t.classList.remove("collapse"),t.classList.remove("show"),t.classList.add("collapsing"),t.offsetWidth,t.style.height="0px",a(t,(function(){t.isAnimating=!1,t.setAttribute("aria-expanded","false"),e.setAttribute("aria-expanded","false"),t.classList.remove("collapsing"),t.classList.add("collapse"),t.style.height="",c.call(t,u)})))}m.toggle=function(e){(e&&"A"===e.target.tagName||"A"===t.tagName)&&e.preventDefault(),(t.contains(e.target)||e.target===t)&&(h.classList.contains("show")?m.hide():m.show())},m.hide=function(){h.isAnimating||(g(h,t),t.classList.add("collapsed"))},m.show=function(){var e,l;f&&(i=f.getElementsByClassName("collapse show")[0],n=i&&(s('[data-target="#'+i.id+'"]',f)||s('[href="#'+i.id+'"]',f))),h.isAnimating||(n&&i!==h&&(g(i,n),n.classList.add("collapsed")),e=h,l=t,c.call(e,o),o.defaultPrevented||(e.isAnimating=!0,e.classList.add("collapsing"),e.classList.remove("collapse"),e.style.height=e.scrollHeight+"px",a(e,(function(){e.isAnimating=!1,e.setAttribute("aria-expanded","true"),l.setAttribute("aria-expanded","true"),e.classList.remove("collapsing"),e.classList.add("collapse"),e.classList.add("show"),e.style.height="",c.call(e,r)}))),t.classList.remove("collapsed"))},m.dispose=function(){t.removeEventListener("click",m.toggle,!1),delete t.Collapse},(t=s(t)).Collapse&&t.Collapse.dispose();var p=t.getAttribute("data-parent");o=l("show","collapse"),r=l("shown","collapse"),d=l("hide","collapse"),u=l("hidden","collapse"),null!==(h=s(e.target||t.getAttribute("data-target")||t.getAttribute("href")))&&(h.isAnimating=!1),f=t.closest(e.parent||p),t.Collapse||t.addEventListener("click",m.toggle,!1),t.Collapse=m}function g(t){t.focus?t.focus():t.setActive()}function p(t,e){var i,n,o,a,r,d,u,m=this,f=null,h=[];function p(t){(t.href&&"#"===t.href.slice(-1)||t.parentNode&&t.parentNode.href&&"#"===t.parentNode.href.slice(-1))&&this.preventDefault()}function v(){var e=t.open?"addEventListener":"removeEventListener";document[e]("click",L,!1),document[e]("keydown",y,!1),document[e]("keyup",w,!1),document[e]("focus",L,!1)}function L(e){var i=e.target,n=i&&(i.getAttribute("data-toggle")||i.parentNode&&i.parentNode.getAttribute&&i.parentNode.getAttribute("data-toggle"));("focus"!==e.type||i!==t&&i!==d&&!d.contains(i))&&(i!==d&&!d.contains(i)||!u&&!n)&&(f=i===t||t.contains(i)?t:null,m.hide(),p.call(e,i))}function b(e){f=t,m.show(),p.call(e,e.target)}function y(t){var e=t.which||t.keyCode;38!==e&&40!==e||t.preventDefault()}function w(e){var i=e.which||e.keyCode,n=document.activeElement,o=n===t,a=d.contains(n),s=n.parentNode===d||n.parentNode.parentNode===d,l=h.indexOf(n);s&&(l=o?0:38===i?l>1?l-1:0:40===i&&l<h.length-1?l+1:l,h[l]&&g(h[l])),(h.length&&s||!h.length&&(a||o)||!a)&&t.open&&27===i&&(m.toggle(),f=null)}m.show=function(){i=l("show","dropdown",{relatedTarget:f}),c.call(r,i),i.defaultPrevented||(d.classList.add("show"),r.classList.add("show"),t.setAttribute("aria-expanded",!0),t.open=!0,t.removeEventListener("click",b,!1),setTimeout((function(){g(d.getElementsByTagName("INPUT")[0]||t),v(),n=l("shown","dropdown",{relatedTarget:f}),c.call(r,n)}),1))},m.hide=function(){o=l("hide","dropdown",{relatedTarget:f}),c.call(r,o),o.defaultPrevented||(d.classList.remove("show"),r.classList.remove("show"),t.setAttribute("aria-expanded",!1),t.open=!1,v(),g(t),setTimeout((function(){t.Dropdown&&t.addEventListener("click",b,!1)}),1),a=l("hidden","dropdown",{relatedTarget:f}),c.call(r,a))},m.toggle=function(){r.classList.contains("show")&&t.open?m.hide():m.show()},m.dispose=function(){r.classList.contains("show")&&t.open&&m.hide(),t.removeEventListener("click",b,!1),delete t.Dropdown},(t=s(t)).Dropdown&&t.Dropdown.dispose(),r=t.parentNode,d=s(".dropdown-menu",r),Array.from(d.children).map((function(t){t.children.length&&"A"===t.children[0].tagName&&h.push(t.children[0]),"A"===t.tagName&&h.push(t)})),t.Dropdown||(!("tabindex"in d)&&d.setAttribute("tabindex","0"),t.addEventListener("click",b,!1)),u=!0===e||"true"===t.getAttribute("data-persist")||!1,t.open=!1,t.Dropdown=m}function v(t,e){e=e||{};var i,n,r,d,u,f,h,p,v,L=this,b=null,y={};function w(){var t,e,n=document.body.classList.contains("modal-open"),o=parseInt(getComputedStyle(document.body).paddingRight),a=document.documentElement.clientHeight!==document.documentElement.scrollHeight||document.body.clientHeight!==document.body.scrollHeight,s=i.clientHeight!==i.scrollHeight;(e=document.createElement("div")).className="modal-scrollbar-measure",document.body.appendChild(e),t=e.offsetWidth-e.clientWidth,document.body.removeChild(e),f=t,i.style.paddingRight=!s&&f?f+"px":"",document.body.style.paddingRight=s||a?o+(n?0:f)+"px":"",v.length&&v.map((function(t){var e=getComputedStyle(t).paddingRight;t.style.paddingRight=s||a?parseInt(e)+(n?0:f)+"px":parseInt(e)+"px"}))}function A(){(h=s(".modal-backdrop"))&&!document.getElementsByClassName("modal show")[0]&&(document.body.removeChild(h),h=null),null===h&&(document.body.classList.remove("modal-open"),document.body.style.paddingRight="",i.style.paddingRight="",v.length&&v.map((function(t){t.style.paddingRight=""})))}function T(t){t=t?"addEventListener":"removeEventListener",window[t]("resize",L.update,m),i[t]("click",P,!1),document[t]("keydown",N,!1)}function E(){i.style.display="block",w(),!document.getElementsByClassName("modal show")[0]&&document.body.classList.add("modal-open"),i.classList.add("show"),i.setAttribute("aria-hidden",!1),i.classList.contains("fade")?a(i,k):k()}function k(){g(i),i.isAnimating=!1,T(1),r=l("shown","modal",{relatedTarget:b}),c.call(i,r)}function x(e){i.style.display="",t&&g(t),h=s(".modal-backdrop"),1!==e&&h&&h.classList.contains("show")&&!document.getElementsByClassName("modal show")[0]?(h.classList.remove("show"),a(h,A)):A(),T(),i.isAnimating=!1,u=l("hidden","modal"),c.call(i,u)}function C(e){if(!i.isAnimating){var n=e.target,o="#"+i.getAttribute("id"),a=n.getAttribute("data-target")||n.getAttribute("href"),s=t.getAttribute("data-target")||t.getAttribute("href");!i.classList.contains("show")&&(n===t&&a===o||t.contains(n)&&s===o)&&(i.modalTrigger=t,b=t,L.show(),e.preventDefault())}}function N(t){var e=t.which;!i.isAnimating&&y.keyboard&&27==e&&i.classList.contains("show")&&L.hide()}function P(t){if(!i.isAnimating){var e=t.target,n="modal"===e.getAttribute("data-dismiss"),o=e.closest('[data-dismiss="modal"]');i.classList.contains("show")&&(o||n||e===i&&"static"!==y.backdrop)&&(L.hide(),b=null,t.preventDefault())}}L.toggle=function(){i.classList.contains("show")?L.hide():L.show()},L.show=function(){if(!(i.classList.contains("show")&&i.isAnimating||(n=l("show","modal",{relatedTarget:b}),c.call(i,n),n.defaultPrevented))){i.isAnimating=!0;var t,e=document.getElementsByClassName("modal show")[0];e&&e!==i&&(e.modalTrigger&&e.modalTrigger.Modal.hide(),e.Modal&&e.Modal.hide()),y.backdrop&&(t=document.createElement("div"),null===(h=s(".modal-backdrop"))&&(t.setAttribute("class","modal-backdrop"+(y.animation?" fade":"")),h=t,document.body.appendChild(h)),h=h),!h||e||h.classList.contains("show")||(h.offsetWidth,p=o(h),h.classList.add("show")),e?E():setTimeout(E,h&&p?p:0)}},L.hide=function(t){i.classList.contains("show")&&(d=l("hide","modal"),c.call(i,d),d.defaultPrevented||(i.isAnimating=!0,i.classList.remove("show"),i.setAttribute("aria-hidden",!0),i.classList.contains("fade")&&1!==t?a(i,x):x()))},L.setContent=function(t){s(".modal-content",i).innerHTML=t},L.update=function(){i.classList.contains("show")&&w()},L.dispose=function(){L.hide(1),t?(t.removeEventListener("click",C,!1),delete t.Modal):delete i.Modal},t=s(t);var H=s(t.getAttribute("data-target")||t.getAttribute("href"));i=t.classList.contains("modal")?t:H,v=Array.from(document.getElementsByClassName("fixed-top")).concat(Array.from(document.getElementsByClassName("fixed-bottom"))),t.classList.contains("modal")&&(t=null),t&&t.Modal&&t.Modal.dispose(),i&&i.Modal&&i.Modal.dispose(),y.keyboard=!1!==e.keyboard&&"false"!==i.getAttribute("data-keyboard"),y.backdrop="static"!==e.backdrop&&"static"!==i.getAttribute("data-backdrop")||"static",y.backdrop=!1!==e.backdrop&&"false"!==i.getAttribute("data-backdrop")&&y.backdrop,y.animation=!!i.classList.contains("fade"),y.content=e.content,i.isAnimating=!1,t&&!t.Modal&&t.addEventListener("click",C,!1),y.content&&L.setContent(y.content.trim()),t?(i.modalTrigger=t,t.Modal=L):i.Modal=L}var L="mousedown";function b(){return{y:window.pageYOffset||document.documentElement.scrollTop,x:window.pageXOffset||document.documentElement.scrollLeft}}function y(t,e,i,n){var o,a,s,l,c,r,d=e.offsetWidth,u=e.offsetHeight,m=document.documentElement.clientWidth||document.body.clientWidth,f=document.documentElement.clientHeight||document.body.clientHeight,h=t.getBoundingClientRect(),g=n===document.body?b():{x:n.offsetLeft+n.scrollLeft,y:n.offsetTop+n.scrollTop},p=h.right-h.left,v=h.bottom-h.top,L=e.classList.contains("popover"),y=e.getElementsByClassName("arrow")[0],w=h.top+v/2-u/2<0,A=h.left+p/2-d/2<0,T=h.left+d/2+p/2>=m,E=h.top+u/2+v/2>=f,k=h.top-u<0,x=h.left-d<0,C=h.top+u+v>=f,N=h.left+d+p>=m;i="right"===(i="left"===(i="bottom"===(i="top"===(i=("left"===i||"right"===i)&&x&&N?"top":i)&&k?"bottom":i)&&C?"top":i)&&x?"right":i)&&N?"left":i,-1===e.className.indexOf(i)&&(e.className=e.className.replace(/\b(top|bottom|left|right)+/,i)),c=y.offsetWidth,r=y.offsetHeight,"left"===i||"right"===i?(a="left"===i?h.left+g.x-d-(L?c:0):h.left+g.x+p,w?(o=h.top+g.y,s=v/2-c):E?(o=h.top+g.y-u+v,s=u-v/2-c):(o=h.top+g.y-u/2+v/2,s=u/2-(L?.9*r:r/2))):"top"!==i&&"bottom"!==i||(o="top"===i?h.top+g.y-u-(L?r:0):h.top+g.y+v,A?(a=0,l=h.left+p/2-c):T?(a=m-1.01*d,l=d-(m-h.left)+p/2-c/2):(a=h.left+g.x-d/2+p/2,l=d/2-(L?c:c/2))),e.style.top=o+"px",e.style.left=a+"px",s&&(y.style.top=s+"px"),l&&(y.style.left=l+"px")}function w(t,e){e=e||{};var i,n,o,r,d,f,h,g,p,v,b,w,A,T,E,k,x,C,N,P=this,H=null,S=0,B=/(iPhone|iPod|iPad)/.test(navigator.userAgent),I={};function M(t){null!==H&&t.target===s(".close",H)&&P.hide()}function D(){return{0:e.title||t.getAttribute("data-title")||null,1:e.content||t.getAttribute("data-content")||null}}function X(){null===H&&t.focus()}function W(e){e=e?"addEventListener":"removeEventListener","hover"===I.trigger?(t[e](L,P.show),t[e](u[0],P.show),I.dismissible||t[e](u[1],P.hide)):"click"==I.trigger?t[e](I.trigger,P.toggle):"focus"==I.trigger&&(B&&t[e]("click",X,!1),t[e](I.trigger,P.toggle))}function O(e){H&&H.contains(e.target)||e.target===t||t.contains(e.target)||P.hide()}function R(e){e=e?"addEventListener":"removeEventListener",I.dismissible?document[e]("click",M,!1):("focus"==I.trigger&&t[e]("blur",P.hide),"hover"==I.trigger&&document[e]("touchstart",O,m)),window[e]("resize",P.hide,m)}function z(){R(1),c.call(t,b)}function U(){R(),I.container.removeChild(H),S=null,H=null,c.call(t,A)}P.toggle=function(){null===H?P.show():P.hide()},P.show=function(){clearTimeout(S),S=setTimeout((function(){if(null===H){if(c.call(t,v),v.defaultPrevented)return;!function(){i=D()[0]||null,n=(n=D()[1])?n.trim():null,H=document.createElement("div");var t=document.createElement("div");if(t.classList.add("arrow"),H.appendChild(t),null!==n&&null===I.template){if(H.setAttribute("role","tooltip"),null!==i){var e=document.createElement("h3");e.classList.add("popover-header"),e.innerHTML=I.dismissible?i+p:i,H.appendChild(e)}var o=document.createElement("div");o.classList.add("popover-body"),o.innerHTML=I.dismissible&&null===i?n+p:n,H.appendChild(o)}else{var a=document.createElement("div");a.innerHTML=I.template.trim(),H.className=a.firstChild.className,H.innerHTML=a.firstChild.innerHTML;var l=s(".popover-header",H),c=s(".popover-body",H);i&&l&&(l.innerHTML=i.trim()),n&&c&&(c.innerHTML=n.trim())}I.container.appendChild(H),H.style.display="block",!H.classList.contains("popover")&&H.classList.add("popover"),!H.classList.contains(I.animation)&&H.classList.add(I.animation),!H.classList.contains(N)&&H.classList.add(N)}(),y(t,H,I.placement,I.container),!H.classList.contains("show")&&H.classList.add("show"),I.animation?a(H,z):z()}}),20)},P.hide=function(){clearTimeout(S),S=setTimeout((function(){if(H&&null!==H&&H.classList.contains("show")){if(c.call(t,w),w.defaultPrevented)return;H.classList.remove("show"),I.animation?a(H,U):U()}}),I.delay)},P.dispose=function(){P.hide(),W(),delete t.Popover},(t=s(t)).Popover&&t.Popover.dispose(),o=t.getAttribute("data-trigger"),r=t.getAttribute("data-animation"),d=t.getAttribute("data-placement"),f=t.getAttribute("data-dismissible"),h=t.getAttribute("data-delay"),g=t.getAttribute("data-container"),p='<button type="button" class="close">×</button>',v=l("show","popover"),b=l("shown","popover"),w=l("hide","popover"),A=l("hidden","popover"),T=s(e.container),E=s(g),k=t.closest(".modal"),x=t.closest(".fixed-top"),C=t.closest(".fixed-bottom"),I.template=e.template?e.template:null,I.trigger=e.trigger?e.trigger:o||"hover",I.animation=e.animation&&"fade"!==e.animation?e.animation:r||"fade",I.placement=e.placement?e.placement:d||"top",I.delay=parseInt(e.delay||h)||200,I.dismissible=!(!e.dismissible&&"true"!==f),I.container=T||(E||(x||(C||(k||document.body)))),N="bs-popover-"+I.placement;var j=D();i=j[0],((n=j[1])||I.template)&&(t.Popover||W(1),t.Popover=P)}function A(t,e){e=e||{};var i,n,o,a,r,d,u=this,f={};function h(){var e,o,a;(n=r.getElementsByTagName("A"),i.scrollTop=i.isWindow?b().y:t.scrollTop,i.length!==n.length||p()!==i.scrollHeight)&&(i.items=[],i.offsets=[],i.scrollHeight=p(),i.maxScroll=i.scrollHeight-(i.isWindow?window.innerHeight:t.getBoundingClientRect().height),Array.from(n).map((function(t){e=t.getAttribute("href"),(o=e&&"#"===e.charAt(0)&&"#"!==e.slice(-1)&&s(e))&&(i.items.push(t),a=o.getBoundingClientRect(),i.offsets.push((i.isWindow?a.top+i.scrollTop:o.offsetTop)-f.offset))})),i.length=i.items.length)}function g(t){d[t=t?"addEventListener":"removeEventListener"]("scroll",u.refresh,m),window[t]("resize",u.refresh,m)}function p(){return d.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}function v(){Array.from(n).map((function(t){return t.classList.contains("active")&&t.classList.remove("active")}))}function L(e){v(),i.activeItem=e,e.classList.add("active");for(var n=[];e.parentNode!==document.body;)e=e.parentNode,["dropdown-menu","nav"].some((function(t){return e.classList.contains(t)}))&&n.push(e);n.map((function(t){var e=t.previousElementSibling;e&&!e.classList.contains("active")&&e.classList.add("active")})),c.call(t,l("activate","scrollspy",{relatedTarget:i.activeItem}))}u.refresh=function(){if(h(),i.scrollTop>=i.maxScroll){var t=i.items[i.length-1];i.activeItem!==t&&L(t)}else{if(i.activeItem&&i.scrollTop<i.offsets[0]&&i.offsets[0]>0)return i.activeItem=null,void v();for(var e=i.length;e--;)i.activeItem!==i.items[e]&&i.scrollTop>=i.offsets[e]&&(void 0===i.offsets[e+1]||i.scrollTop<i.offsets[e+1])&&L(i.items[e])}},u.dispose=function(){g(),delete t.ScrollSpy},(t=s(t)).ScrollSpy&&t.ScrollSpy.dispose(),o=t.getAttribute("data-target"),a=t.getAttribute("data-offset"),r=s(e.target||o),d=t.clientHeight<t.scrollHeight?t:window,r&&(f.offset=+(e.offset||a)||10,(i={}).length=0,i.items=[],i.offsets=[],i.isWindow=d===window,i.activeItem=null,i.scrollHeight=0,i.maxScroll=0,!t.ScrollSpy&&g(1),u.refresh(),t.ScrollSpy=u)}function T(t,i){i=i||{};var n,o,r,d,u,m,f,h,g,p,v,L,b,y,w,A=this,T=!1;function E(){T.style.height="",T.classList.remove("collapsing"),o.isAnimating=!1}function k(){T?b?E():setTimeout((function(){T.style.height=y+"px",T.offsetWidth,a(T,E)}),50):o.isAnimating=!1,u=l("shown","tab",{relatedTarget:g}),c.call(h,u)}function x(){T&&(p.style.float="left",v.style.float="left",L=p.scrollHeight),d=l("show","tab",{relatedTarget:g}),f=l("hidden","tab",{relatedTarget:h}),c.call(h,d),d.defaultPrevented||(v.classList.add("active"),p.classList.remove("active"),T&&(y=v.scrollHeight,b=y===L,T.classList.add("collapsing"),T.style.height=L+"px",T.offsetHeight,p.style.float="",v.style.float=""),v.classList.contains("fade")?setTimeout((function(){v.classList.add("show"),a(v,k)}),20):k(),c.call(g,f))}function C(){var t,e=o.getElementsByClassName("active");return 1!==e.length||e[0].parentNode.classList.contains("dropdown")?e.length>1&&(t=e[e.length-1]):t=e[0],t}function N(){return s(C().getAttribute("href"))}function P(t){t.preventDefault(),h=t.currentTarget,!o.isAnimating&&A.show()}A.show=function(){if(!(h=h||t).classList.contains("active")){if(v=s(h.getAttribute("href")),g=C(),p=N(),m=l("hide","tab",{relatedTarget:h}),c.call(g,m),m.defaultPrevented)return;o.isAnimating=!0,g.classList.remove("active"),g.setAttribute("aria-selected","false"),h.classList.add("active"),h.setAttribute("aria-selected","true"),r&&(t.parentNode.classList.contains("dropdown-menu")?r.classList.contains("active")||r.classList.add("active"):r.classList.contains("active")&&r.classList.remove("active")),p.classList.contains("fade")?(p.classList.remove("show"),a(p,x)):x()}},A.dispose=function(){t.removeEventListener("click",P,!1),delete t.Tab},(t=s(t)).Tab&&t.Tab.dispose(),n=t.getAttribute("data-height"),o=t.closest(".nav"),r=o&&s(".dropdown-toggle",o),w=!(!e||!1===i.height||"false"===n),o.isAnimating=!1,t.Tab||t.addEventListener("click",P,!1),w&&(T=N().parentNode),t.Tab=A}function E(t,e){e=e||{};var i,n,o,r,d,u,m,f,h=this,g=0,p={};function v(){i.classList.remove("showing"),i.classList.add("show"),c.call(i,m),p.autohide&&h.hide()}function L(){i.classList.add("hide"),c.call(i,f)}function b(){i.classList.remove("show"),p.animation?a(i,L):L()}function y(){clearTimeout(g),t.removeEventListener("click",h.hide,!1),delete t.Toast}h.show=function(){if(i&&!i.classList.contains("show")){if(c.call(i,d),d.defaultPrevented)return;p.animation&&i.classList.add("fade"),i.classList.remove("hide"),i.offsetWidth,i.classList.add("showing"),p.animation?a(i,v):v()}},h.hide=function(t){if(i&&i.classList.contains("show")){if(c.call(i,u),u.defaultPrevented)return;t?b():g=setTimeout(b,p.delay)}},h.dispose=function(){p.animation?a(i,y):y()},(t=s(t)).Toast&&t.Toast.dispose(),i=t.closest(".toast"),n=t.getAttribute("data-animation"),o=t.getAttribute("data-autohide"),r=t.getAttribute("data-delay"),d=l("show","toast"),u=l("hide","toast"),m=l("shown","toast"),f=l("hidden","toast"),p.animation=!1===e.animation||"false"===n?0:1,p.autohide=!1===e.autohide||"false"===o?0:1,p.delay=parseInt(e.delay||r)||500,t.Toast||t.addEventListener("click",h.hide,!1),t.Toast=h}function k(t,e){e=e||{};var i,n,o,r,d,f,h,g,p,v,b,w,A,T,E,k=this,x=null,C=0,N={};function P(){return t.getAttribute("title")||t.getAttribute("data-title")||t.getAttribute("data-original-title")}function H(e){x&&x.contains(e.target)||e.target===t||t.contains(e.target)||k.hide()}function S(t){t=t?"addEventListener":"removeEventListener",document[t]("touchstart",H,m),window[t]("resize",k.hide,m)}function B(){S(1),c.call(t,h)}function I(){S(),N.container.removeChild(x),x=null,C=null,c.call(t,p)}function M(e){t[e=e?"addEventListener":"removeEventListener"](L,k.show,!1),t[e](u[0],k.show,!1),t[e](u[1],k.hide,!1)}k.show=function(){clearTimeout(C),C=setTimeout((function(){if(null===x){if(c.call(t,f),f.defaultPrevented)return;!1!==function(){if(i=P()){if(x=document.createElement("div"),N.template){var t=document.createElement("div");t.innerHTML=N.template.trim(),x.className=t.firstChild.className,x.innerHTML=t.firstChild.innerHTML,s(".tooltip-inner",x).innerHTML=i.trim()}else{var e=document.createElement("div");e.classList.add("arrow"),x.appendChild(e);var n=document.createElement("div");n.classList.add("tooltip-inner"),x.appendChild(n),n.innerHTML=i}x.style.left="0",x.style.top="0",x.setAttribute("role","tooltip"),!x.classList.contains("tooltip")&&x.classList.add("tooltip"),!x.classList.contains(N.animation)&&x.classList.add(N.animation),!x.classList.contains(E)&&x.classList.add(E),N.container.appendChild(x)}}()&&(y(t,x,N.placement,N.container),!x.classList.contains("show")&&x.classList.add("show"),N.animation?a(x,B):B())}}),20)},k.hide=function(){clearTimeout(C),C=setTimeout((function(){if(x&&x.classList.contains("show")){if(c.call(t,g),g.defaultPrevented)return;x.classList.remove("show"),N.animation?a(x,I):I()}}),N.delay)},k.toggle=function(){x?k.hide():k.show()},k.dispose=function(){M(),k.hide(),t.setAttribute("title",t.getAttribute("data-original-title")),t.removeAttribute("data-original-title"),delete t.Tooltip},(t=s(t)).Tooltip&&t.Tooltip.dispose(),n=t.getAttribute("data-animation"),o=t.getAttribute("data-placement"),r=t.getAttribute("data-delay"),d=t.getAttribute("data-container"),f=l("show","tooltip"),h=l("shown","tooltip"),g=l("hide","tooltip"),p=l("hidden","tooltip"),v=s(e.container),b=s(d),w=t.closest(".modal"),A=t.closest(".fixed-top"),T=t.closest(".fixed-bottom"),N.animation=e.animation&&"fade"!==e.animation?e.animation:n||"fade",N.placement=e.placement?e.placement:o||"top",N.template=e.template?e.template:null,N.delay=parseInt(e.delay||r)||200,N.container=v||(b||(A||(T||(w||document.body)))),E="bs-tooltip-"+N.placement,(i=P())&&(t.Tooltip||(t.setAttribute("data-original-title",i),t.removeAttribute("title"),M(1)),t.Tooltip=k)}var x={};function C(t,e){Array.from(e).map((function(e){return new t(e)}))}function N(t){for(var e in t=t||document,x)C(x[e][0],t.querySelectorAll(x[e][1]))}function P(t,e){Array.from(e).map((function(e){return e[t].dispose()}))}x.Alert=[r,'[data-dismiss="alert"]'],x.Button=[d,'[data-toggle="buttons"]'],x.Carousel=[f,'[data-ride="carousel"]'],x.Collapse=[h,'[data-toggle="collapse"]'],x.Dropdown=[p,'[data-toggle="dropdown"]'],x.Modal=[v,'[data-toggle="modal"]'],x.Popover=[w,'[data-toggle="popover"],[data-tip="popover"]'],x.ScrollSpy=[A,'[data-spy="scroll"]'],x.Tab=[T,'[data-toggle="tab"]'],x.Toast=[E,'[data-dismiss="toast"]'],x.Tooltip=[k,'[data-toggle="tooltip"],[data-tip="tooltip"]'],document.body?N():document.addEventListener("DOMContentLoaded",(function t(){N(),document.removeEventListener("DOMContentLoaded",t,!1)}),!1);var H={Alert:r,Button:d,Carousel:f,Collapse:h,Dropdown:p,Modal:v,Popover:w,ScrollSpy:A,Tab:T,Toast:E,Tooltip:k,initCallback:N,removeDataAPI:function(t){for(var e in t=t||document,x)P(e,t.querySelectorAll(x[e][1]))},componentsInit:x,Version:"3.0.14c"};export default H;

@@ -1,2 +0,2 @@

// Native JavaScript for Bootstrap v3.0.14b | 2021 © dnp_theme | MIT-License
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).BSN=e()}(this,(function(){"use strict";var t="webkitTransition"in document.head.style?"webkitTransitionEnd":"transitionend",e="webkitTransition"in document.head.style||"transition"in document.head.style,i="webkitTransition"in document.head.style?"webkitTransitionDuration":"transitionDuration",n="webkitTransition"in document.head.style?"webkitTransitionProperty":"transitionProperty";function o(t){var o=getComputedStyle(t),a=o[n],s=o[i],l=s.indexOf("ms")>-1?1:1e3,c=e&&a&&"none"!==a?parseFloat(s)*l:0;return isNaN(c)?0:c}function a(e,i){var n=0,a=new Event(t),s=o(e);s?(e.addEventListener(t,(function o(a){a.target===e&&(i.apply(e,[a]),e.removeEventListener(t,o),n=1)})),setTimeout((function(){!n&&e.dispatchEvent(a)}),s+17)):i.apply(e,[a])}function s(t,e){var i=e&&e instanceof Element?e:document;return t instanceof Element?t:i.querySelector(t)}function l(t,e,i){var n=new CustomEvent(t+".bs."+e,{cancelable:!0});return void 0!==i&&Object.keys(i).forEach((function(t){Object.defineProperty(n,t,{value:i[t]})})),n}function c(t){this&&this.dispatchEvent(t)}function r(t){var e,i=this,n=l("close","alert"),o=l("closed","alert");function r(e){t[e=e?"addEventListener":"removeEventListener"]("click",d,!1)}function d(n){e=n&&n.target.closest(".alert"),(t=s('[data-dismiss="alert"]',e))&&e&&(t===n.target||t.contains(n.target))&&i.close()}function u(){r(),e.parentNode.removeChild(e),c.call(e,o)}i.close=function(){if(e&&t&&e.classList.contains("show")){if(c.call(e,n),n.defaultPrevented)return;i.dispose(),e.classList.remove("show"),e.classList.contains("fade")?a(e,u):u()}},i.dispose=function(){r(),delete t.Alert},t=s(t),e=t.closest(".alert"),t.Alert&&t.Alert.dispose(),t.Alert||r(1),i.element=t,t.Alert=i}function d(t){var e,i=l("change","button");function n(n){var o,a="LABEL"===n.target.tagName?n.target:n.target.closest("LABEL")?n.target.closest("LABEL"):null;if(o=a&&a.getElementsByTagName("INPUT")[0]){if(c.call(o,i),c.call(t,i),"checkbox"===o.type){if(i.defaultPrevented)return;o.checked?(a.classList.remove("active"),o.getAttribute("checked"),o.removeAttribute("checked"),o.checked=!1):(a.classList.add("active"),o.getAttribute("checked"),o.setAttribute("checked","checked"),o.checked=!0),t.toggled||(t.toggled=!0)}if("radio"===o.type&&!t.toggled){if(i.defaultPrevented)return;(!o.checked||0===n.screenX&&0==n.screenY)&&(a.classList.add("active"),a.classList.add("focus"),o.setAttribute("checked","checked"),o.checked=!0,t.toggled=!0,Array.from(e).map((function(t){var e=t.getElementsByTagName("INPUT")[0];t!==a&&t.classList.contains("active")&&(c.call(e,i),t.classList.remove("active"),e.removeAttribute("checked"),e.checked=!1)})))}setTimeout((function(){t.toggled=!1}),50)}}function o(t){32===(t.which||t.keyCode)&&t.target===document.activeElement&&n(t)}function a(t){32===(t.which||t.keyCode)&&t.preventDefault()}function r(t){if("INPUT"===t.target.tagName){var e="focusin"===t.type?"add":"remove";t.target.closest(".btn").classList[e]("focus")}}function d(e){t[e=e?"addEventListener":"removeEventListener"]("click",n,!1),t[e]("keyup",o,!1),t[e]("keydown",a,!1),t[e]("focusin",r,!1),t[e]("focusout",r,!1)}this.dispose=function(){d(),delete t.Button},(t=s(t)).Button&&t.Button.dispose(),(e=t.getElementsByClassName("btn")).length&&(t.Button||d(1),t.toggled=!1,t.Button=this,Array.from(e).map((function(t){!t.classList.contains("active")&&s("input:checked",t)&&t.classList.add("active"),t.classList.contains("active")&&!s("input:checked",t)&&t.classList.remove("active")})))}var u="onmouseleave"in document?["mouseenter","mouseleave"]:["mouseover","mouseout"],m=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t,e)}),e)}catch(t){}return t}()&&{passive:!0};function f(t,e){e=e||{};var i,n,r,d,f,h,g,p,v,L=this;function b(){!1===n.interval||t.classList.contains("paused")||(t.classList.add("paused"),!i.isSliding&&(clearInterval(i.timer),i.timer=null))}function y(){!1!==n.interval&&t.classList.contains("paused")&&(t.classList.remove("paused"),!i.isSliding&&(clearInterval(i.timer),i.timer=null),!i.isSliding&&L.cycle())}function w(t){if(t.preventDefault(),!i.isSliding){var e=t.target;if(!e||e.classList.contains("active")||!e.getAttribute("data-slide-to"))return!1;i.index=parseInt(e.getAttribute("data-slide-to")),L.slideTo(i.index)}}function A(t){if(t.preventDefault(),!i.isSliding){var e=t.currentTarget||t.srcElement;e===g?i.index++:e===h&&i.index--,L.slideTo(i.index)}}function T(t){var e=t.which;if(!i.isSliding){switch(e){case 39:i.index++;break;case 37:i.index--;break;default:return}L.slideTo(i.index)}}function E(e){e=e?"addEventListener":"removeEventListener",n.pause&&n.interval&&(t[e](u[0],b,!1),t[e](u[1],y,!1),t[e]("touchstart",b,m),t[e]("touchend",y,m)),n.touch&&f.length>1&&t[e]("touchstart",x,m),g&&g[e]("click",A,!1),h&&h[e]("click",A,!1),p&&p[e]("click",w,!1),n.keyboard&&window[e]("keydown",T,!1)}function k(e){t[e=e?"addEventListener":"removeEventListener"]("touchmove",C,m),t[e]("touchend",N,m)}function x(e){i.isTouch||(i.touchPosition.startX=e.changedTouches[0].pageX,t.contains(e.target)&&(i.isTouch=!0,k(1)))}function C(t){if(i.isTouch)return i.touchPosition.currentX=t.changedTouches[0].pageX,"touchmove"===t.type&&t.changedTouches.length>1?(t.preventDefault(),!1):void 0;t.preventDefault()}function N(e){if(i.isTouch&&!i.isSliding&&(i.touchPosition.endX=i.touchPosition.currentX||e.changedTouches[0].pageX,i.isTouch)){if((!t.contains(e.target)||!t.contains(e.relatedTarget))&&Math.abs(i.touchPosition.startX-i.touchPosition.endX)<75)return!1;i.touchPosition.currentX<i.touchPosition.startX?i.index++:i.touchPosition.currentX>i.touchPosition.startX&&i.index--,i.isTouch=!1,L.slideTo(i.index),k()}}function P(t){Array.from(v).map((function(t){t.classList.remove("active")})),v[t]&&v[t].classList.add("active")}function H(e){if(i.touchPosition){var o=i.index,a=e&&e.target!==f[o]?1e3*e.elapsedTime+100:20,s=L.getActiveIndex(),l="left"===i.direction?"next":"prev";i.isSliding&&setTimeout((function(){i.touchPosition&&(i.isSliding=!1,f[o].classList.add("active"),f[s].classList.remove("active"),f[o].classList.remove("carousel-item-"+l),f[o].classList.remove("carousel-item-"+i.direction),f[s].classList.remove("carousel-item-"+i.direction),c.call(t,d),document.hidden||!n.interval||t.classList.contains("paused")||L.cycle())}),a)}}if(L.cycle=function(){i.timer&&(clearInterval(i.timer),i.timer=null),i.timer=setInterval((function(){var e=i.index||L.getActiveIndex();(function(t){var e=t.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight;return e.top<=i&&e.bottom>=0})(t)&&(e++,L.slideTo(e))}),n.interval)},L.slideTo=function(e){if(!i.isSliding){var s,u,m=L.getActiveIndex();m!==e&&(m<e||0===m&&e===f.length-1?i.direction="left":(m>e||m===f.length-1&&0===e)&&(i.direction="right"),e<0?e=f.length-1:e>=f.length&&(e=0),s="left"===i.direction?"next":"prev",u={relatedTarget:f[e],direction:i.direction,from:m,to:e},r=l("slide","carousel",u),d=l("slid","carousel",u),c.call(t,r),r.defaultPrevented||(i.index=e,i.isSliding=!0,clearInterval(i.timer),i.timer=null,P(e),o(f[e])&&t.classList.contains("slide")?(f[e].classList.add("carousel-item-"+s),f[e].offsetWidth,f[e].classList.add("carousel-item-"+i.direction),f[m].classList.add("carousel-item-"+i.direction),a(f[e],H)):(f[e].classList.add("active"),f[e].offsetWidth,f[m].classList.remove("active"),setTimeout((function(){i.isSliding=!1,n.interval&&t&&!t.classList.contains("paused")&&L.cycle(),c.call(t,d)}),100))))}},L.getActiveIndex=function(){return Array.from(f).indexOf(t.getElementsByClassName("carousel-item active")[0])||0},L.dispose=function(){var e=["left","right","prev","next"];Array.from(f).map((function(t,i){t.classList.contains("active")&&P(i),e.map((function(e){return t.classList.remove("carousel-item-"+e)}))})),clearInterval(i.timer),E(),i={},n={},delete t.Carousel},(t=s(t)).Carousel&&t.Carousel.dispose(),f=t.getElementsByClassName("carousel-item"),h=t.getElementsByClassName("carousel-control-prev")[0],g=t.getElementsByClassName("carousel-control-next")[0],p=t.getElementsByClassName("carousel-indicators")[0],v=p&&p.getElementsByTagName("LI")||[],!(f.length<2)){var S=t.getAttribute("data-interval"),B="false"===S?0:parseInt(S),I="false"===t.getAttribute("data-touch")?0:1,M="hover"===t.getAttribute("data-pause")||!1,D="true"===t.getAttribute("data-keyboard")||!1,X=e.interval,W=e.touch;(n={}).keyboard=!0===e.keyboard||D,n.pause=!("hover"!==e.pause&&!M)&&"hover",n.touch=W||I,n.interval="number"==typeof X?X:!1===X||0===B||!1===B?0:isNaN(B)?5e3:B,L.getActiveIndex()<0&&(f.length&&f[0].classList.add("active"),v.length&&P(0)),(i={}).direction="left",i.index=0,i.timer=null,i.isSliding=!1,i.isTouch=!1,i.touchPosition={startX:0,currentX:0,endX:0},E(1),n.interval&&L.cycle(),t.Carousel=L}}function h(t,e){e=e||{};var i,n,o,r,d,u,m=this,f=null,h=null;function g(t,e){c.call(t,d),d.defaultPrevented||(t.isAnimating=!0,t.style.height=t.scrollHeight+"px",t.classList.remove("collapse"),t.classList.remove("show"),t.classList.add("collapsing"),t.offsetWidth,t.style.height="0px",a(t,(function(){t.isAnimating=!1,t.setAttribute("aria-expanded","false"),e.setAttribute("aria-expanded","false"),t.classList.remove("collapsing"),t.classList.add("collapse"),t.style.height="",c.call(t,u)})))}m.toggle=function(e){(e&&"A"===e.target.tagName||"A"===t.tagName)&&e.preventDefault(),(t.contains(e.target)||e.target===t)&&(h.classList.contains("show")?m.hide():m.show())},m.hide=function(){h.isAnimating||(g(h,t),t.classList.add("collapsed"))},m.show=function(){var e,l;f&&(i=f.getElementsByClassName("collapse show")[0],n=i&&(s('[data-target="#'+i.id+'"]',f)||s('[href="#'+i.id+'"]',f))),h.isAnimating||(n&&i!==h&&(g(i,n),n.classList.add("collapsed")),e=h,l=t,c.call(e,o),o.defaultPrevented||(e.isAnimating=!0,e.classList.add("collapsing"),e.classList.remove("collapse"),e.style.height=e.scrollHeight+"px",a(e,(function(){e.isAnimating=!1,e.setAttribute("aria-expanded","true"),l.setAttribute("aria-expanded","true"),e.classList.remove("collapsing"),e.classList.add("collapse"),e.classList.add("show"),e.style.height="",c.call(e,r)}))),t.classList.remove("collapsed"))},m.dispose=function(){t.removeEventListener("click",m.toggle,!1),delete t.Collapse},(t=s(t)).Collapse&&t.Collapse.dispose();var p=t.getAttribute("data-parent");o=l("show","collapse"),r=l("shown","collapse"),d=l("hide","collapse"),u=l("hidden","collapse"),null!==(h=s(e.target||t.getAttribute("data-target")||t.getAttribute("href")))&&(h.isAnimating=!1),f=t.closest(e.parent||p),t.Collapse||t.addEventListener("click",m.toggle,!1),t.Collapse=m}function g(t){t.focus?t.focus():t.setActive()}function p(t,e){var i,n,o,a,r,d,u,m=this,f=null,h=[];function p(t){(t.href&&"#"===t.href.slice(-1)||t.parentNode&&t.parentNode.href&&"#"===t.parentNode.href.slice(-1))&&this.preventDefault()}function v(){var e=t.open?"addEventListener":"removeEventListener";document[e]("click",L,!1),document[e]("keydown",y,!1),document[e]("keyup",w,!1),document[e]("focus",L,!1)}function L(e){var i=e.target,n=i&&(i.getAttribute("data-toggle")||i.parentNode&&i.parentNode.getAttribute&&i.parentNode.getAttribute("data-toggle"));("focus"!==e.type||i!==t&&i!==d&&!d.contains(i))&&(i!==d&&!d.contains(i)||!u&&!n)&&(f=i===t||t.contains(i)?t:null,m.hide(),p.call(e,i))}function b(e){f=t,m.show(),p.call(e,e.target)}function y(t){var e=t.which||t.keyCode;38!==e&&40!==e||t.preventDefault()}function w(e){var i=e.which||e.keyCode,n=document.activeElement,o=n===t,a=d.contains(n),s=n.parentNode===d||n.parentNode.parentNode===d,l=h.indexOf(n);s&&(l=o?0:38===i?l>1?l-1:0:40===i&&l<h.length-1?l+1:l,h[l]&&g(h[l])),(h.length&&s||!h.length&&(a||o)||!a)&&t.open&&27===i&&(m.toggle(),f=null)}m.show=function(){i=l("show","dropdown",{relatedTarget:f}),c.call(r,i),i.defaultPrevented||(d.classList.add("show"),r.classList.add("show"),t.setAttribute("aria-expanded",!0),t.open=!0,t.removeEventListener("click",b,!1),setTimeout((function(){g(d.getElementsByTagName("INPUT")[0]||t),v(),n=l("shown","dropdown",{relatedTarget:f}),c.call(r,n)}),1))},m.hide=function(){o=l("hide","dropdown",{relatedTarget:f}),c.call(r,o),o.defaultPrevented||(d.classList.remove("show"),r.classList.remove("show"),t.setAttribute("aria-expanded",!1),t.open=!1,v(),g(t),setTimeout((function(){t.Dropdown&&t.addEventListener("click",b,!1)}),1),a=l("hidden","dropdown",{relatedTarget:f}),c.call(r,a))},m.toggle=function(){r.classList.contains("show")&&t.open?m.hide():m.show()},m.dispose=function(){r.classList.contains("show")&&t.open&&m.hide(),t.removeEventListener("click",b,!1),delete t.Dropdown},(t=s(t)).Dropdown&&t.Dropdown.dispose(),r=t.parentNode,d=s(".dropdown-menu",r),Array.from(d.children).map((function(t){t.children.length&&"A"===t.children[0].tagName&&h.push(t.children[0]),"A"===t.tagName&&h.push(t)})),t.Dropdown||(!("tabindex"in d)&&d.setAttribute("tabindex","0"),t.addEventListener("click",b,!1)),u=!0===e||"true"===t.getAttribute("data-persist")||!1,t.open=!1,t.Dropdown=m}function v(t,e){e=e||{};var i,n,r,d,u,f,h,p,v,L=this,b=null,y={};function w(){var t,e,n=document.body.classList.contains("modal-open"),o=parseInt(getComputedStyle(document.body).paddingRight),a=document.documentElement.clientHeight!==document.documentElement.scrollHeight||document.body.clientHeight!==document.body.scrollHeight,s=i.clientHeight!==i.scrollHeight;(e=document.createElement("div")).className="modal-scrollbar-measure",document.body.appendChild(e),t=e.offsetWidth-e.clientWidth,document.body.removeChild(e),f=t,i.style.paddingRight=!s&&f?f+"px":"",document.body.style.paddingRight=s||a?o+(n?0:f)+"px":"",v.length&&v.map((function(t){var e=getComputedStyle(t).paddingRight;t.style.paddingRight=s||a?parseInt(e)+(n?0:f)+"px":parseInt(e)+"px"}))}function A(){(h=s(".modal-backdrop"))&&!document.getElementsByClassName("modal show")[0]&&(document.body.removeChild(h),h=null),null===h&&(document.body.classList.remove("modal-open"),document.body.style.paddingRight="",i.style.paddingRight="",v.length&&v.map((function(t){t.style.paddingRight=""})))}function T(t){t=t?"addEventListener":"removeEventListener",window[t]("resize",L.update,m),i[t]("click",P,!1),document[t]("keydown",N,!1)}function E(){i.style.display="block",w(),!document.getElementsByClassName("modal show")[0]&&document.body.classList.add("modal-open"),i.classList.add("show"),i.setAttribute("aria-hidden",!1),i.classList.contains("fade")?a(i,k):k()}function k(){g(i),i.isAnimating=!1,T(1),r=l("shown","modal",{relatedTarget:b}),c.call(i,r)}function x(e){i.style.display="",t&&g(t),h=s(".modal-backdrop"),1!==e&&h&&h.classList.contains("show")&&!document.getElementsByClassName("modal show")[0]?(h.classList.remove("show"),a(h,A)):A(),T(),i.isAnimating=!1,u=l("hidden","modal"),c.call(i,u)}function C(e){if(!i.isAnimating){var n=e.target,o="#"+i.getAttribute("id"),a=n.getAttribute("data-target")||n.getAttribute("href"),s=t.getAttribute("data-target")||t.getAttribute("href");!i.classList.contains("show")&&(n===t&&a===o||t.contains(n)&&s===o)&&(i.modalTrigger=t,b=t,L.show(),e.preventDefault())}}function N(t){var e=t.which;!i.isAnimating&&y.keyboard&&27==e&&i.classList.contains("show")&&L.hide()}function P(t){if(!i.isAnimating){var e=t.target,n="modal"===e.getAttribute("data-dismiss"),o=e.closest('[data-dismiss="modal"]');i.classList.contains("show")&&(o||n||e===i&&"static"!==y.backdrop)&&(L.hide(),b=null,t.preventDefault())}}L.toggle=function(){i.classList.contains("show")?L.hide():L.show()},L.show=function(){if(!(i.classList.contains("show")&&i.isAnimating||(n=l("show","modal",{relatedTarget:b}),c.call(i,n),n.defaultPrevented))){i.isAnimating=!0;var t,e=document.getElementsByClassName("modal show")[0];e&&e!==i&&(e.modalTrigger&&e.modalTrigger.Modal.hide(),e.Modal&&e.Modal.hide()),y.backdrop&&(t=document.createElement("div"),null===(h=s(".modal-backdrop"))&&(t.setAttribute("class","modal-backdrop"+(y.animation?" fade":"")),h=t,document.body.appendChild(h)),h=h),!h||e||h.classList.contains("show")||(h.offsetWidth,p=o(h),h.classList.add("show")),e?E():setTimeout(E,h&&p?p:0)}},L.hide=function(t){i.classList.contains("show")&&(d=l("hide","modal"),c.call(i,d),d.defaultPrevented||(i.isAnimating=!0,i.classList.remove("show"),i.setAttribute("aria-hidden",!0),i.classList.contains("fade")&&1!==t?a(i,x):x()))},L.setContent=function(t){s(".modal-content",i).innerHTML=t},L.update=function(){i.classList.contains("show")&&w()},L.dispose=function(){L.hide(1),t?(t.removeEventListener("click",C,!1),delete t.Modal):delete i.Modal},t=s(t);var H=s(t.getAttribute("data-target")||t.getAttribute("href"));i=t.classList.contains("modal")?t:H,v=Array.from(document.getElementsByClassName("fixed-top")).concat(Array.from(document.getElementsByClassName("fixed-bottom"))),t.classList.contains("modal")&&(t=null),t&&t.Modal&&t.Modal.dispose(),i&&i.Modal&&i.Modal.dispose(),y.keyboard=!1!==e.keyboard&&"false"!==i.getAttribute("data-keyboard"),y.backdrop="static"!==e.backdrop&&"static"!==i.getAttribute("data-backdrop")||"static",y.backdrop=!1!==e.backdrop&&"false"!==i.getAttribute("data-backdrop")&&y.backdrop,y.animation=!!i.classList.contains("fade"),y.content=e.content,i.isAnimating=!1,t&&!t.Modal&&t.addEventListener("click",C,!1),y.content&&L.setContent(y.content.trim()),t?(i.modalTrigger=t,t.Modal=L):i.Modal=L}var L="mousedown";function b(){return{y:window.pageYOffset||document.documentElement.scrollTop,x:window.pageXOffset||document.documentElement.scrollLeft}}function y(t,e,i,n){var o,a,s,l,c,r,d=e.offsetWidth,u=e.offsetHeight,m=document.documentElement.clientWidth||document.body.clientWidth,f=document.documentElement.clientHeight||document.body.clientHeight,h=t.getBoundingClientRect(),g=n===document.body?b():{x:n.offsetLeft+n.scrollLeft,y:n.offsetTop+n.scrollTop},p=h.right-h.left,v=h.bottom-h.top,L=e.classList.contains("popover"),y=e.getElementsByClassName("arrow")[0],w=h.top+v/2-u/2<0,A=h.left+p/2-d/2<0,T=h.left+d/2+p/2>=m,E=h.top+u/2+v/2>=f,k=h.top-u<0,x=h.left-d<0,C=h.top+u+v>=f,N=h.left+d+p>=m;i="right"===(i="left"===(i="bottom"===(i="top"===(i=("left"===i||"right"===i)&&x&&N?"top":i)&&k?"bottom":i)&&C?"top":i)&&x?"right":i)&&N?"left":i,-1===e.className.indexOf(i)&&(e.className=e.className.replace(/\b(top|bottom|left|right)+/,i)),c=y.offsetWidth,r=y.offsetHeight,"left"===i||"right"===i?(a="left"===i?h.left+g.x-d-(L?c:0):h.left+g.x+p,w?(o=h.top+g.y,s=v/2-c):E?(o=h.top+g.y-u+v,s=u-v/2-c):(o=h.top+g.y-u/2+v/2,s=u/2-(L?.9*r:r/2))):"top"!==i&&"bottom"!==i||(o="top"===i?h.top+g.y-u-(L?r:0):h.top+g.y+v,A?(a=0,l=h.left+p/2-c):T?(a=m-1.01*d,l=d-(m-h.left)+p/2-c/2):(a=h.left+g.x-d/2+p/2,l=d/2-(L?c:c/2))),e.style.top=o+"px",e.style.left=a+"px",s&&(y.style.top=s+"px"),l&&(y.style.left=l+"px")}function w(t,e){e=e||{};var i,n,o,r,d,f,h,g,p,v,b,w,A,T,E,k,x,C,N,P=this,H=null,S=0,B=/(iPhone|iPod|iPad)/.test(navigator.userAgent),I={};function M(t){null!==H&&t.target===s(".close",H)&&P.hide()}function D(){return{0:e.title||t.getAttribute("data-title")||null,1:e.content||t.getAttribute("data-content")||null}}function X(){null===H&&t.focus()}function W(e){e=e?"addEventListener":"removeEventListener","hover"===I.trigger?(t[e](L,P.show),t[e](u[0],P.show),I.dismissible||t[e](u[1],P.hide)):"click"==I.trigger?t[e](I.trigger,P.toggle):"focus"==I.trigger&&(B&&t[e]("click",X,!1),t[e](I.trigger,P.toggle))}function O(e){H&&H.contains(e.target)||e.target===t||t.contains(e.target)||P.hide()}function R(e){e=e?"addEventListener":"removeEventListener",I.dismissible?document[e]("click",M,!1):("focus"==I.trigger&&t[e]("blur",P.hide),"hover"==I.trigger&&document[e]("touchstart",O,m)),window[e]("resize",P.hide,m)}function j(){R(1),c.call(t,b)}function z(){R(),I.container.removeChild(H),S=null,H=null,c.call(t,A)}P.toggle=function(){null===H?P.show():P.hide()},P.show=function(){clearTimeout(S),S=setTimeout((function(){if(null===H){if(c.call(t,v),v.defaultPrevented)return;!function(){i=D()[0]||null,n=(n=D()[1])?n.trim():null,H=document.createElement("div");var t=document.createElement("div");if(t.classList.add("arrow"),H.appendChild(t),null!==n&&null===I.template){if(H.setAttribute("role","tooltip"),null!==i){var e=document.createElement("h3");e.classList.add("popover-header"),e.innerHTML=I.dismissible?i+p:i,H.appendChild(e)}var o=document.createElement("div");o.classList.add("popover-body"),o.innerHTML=I.dismissible&&null===i?n+p:n,H.appendChild(o)}else{var a=document.createElement("div");a.innerHTML=I.template.trim(),H.className=a.firstChild.className,H.innerHTML=a.firstChild.innerHTML;var l=s(".popover-header",H),c=s(".popover-body",H);i&&l&&(l.innerHTML=i.trim()),n&&c&&(c.innerHTML=n.trim())}I.container.appendChild(H),H.style.display="block",!H.classList.contains("popover")&&H.classList.add("popover"),!H.classList.contains(I.animation)&&H.classList.add(I.animation),!H.classList.contains(N)&&H.classList.add(N)}(),y(t,H,I.placement,I.container),!H.classList.contains("show")&&H.classList.add("show"),I.animation?a(H,j):j()}}),20)},P.hide=function(){clearTimeout(S),S=setTimeout((function(){if(H&&null!==H&&H.classList.contains("show")){if(c.call(t,w),w.defaultPrevented)return;H.classList.remove("show"),I.animation?a(H,z):z()}}),I.delay)},P.dispose=function(){P.hide(),W(),delete t.Popover},(t=s(t)).Popover&&t.Popover.dispose(),o=t.getAttribute("data-trigger"),r=t.getAttribute("data-animation"),d=t.getAttribute("data-placement"),f=t.getAttribute("data-dismissible"),h=t.getAttribute("data-delay"),g=t.getAttribute("data-container"),p='<button type="button" class="close">×</button>',v=l("show","popover"),b=l("shown","popover"),w=l("hide","popover"),A=l("hidden","popover"),T=s(e.container),E=s(g),k=t.closest(".modal"),x=t.closest(".fixed-top"),C=t.closest(".fixed-bottom"),I.template=e.template?e.template:null,I.trigger=e.trigger?e.trigger:o||"hover",I.animation=e.animation&&"fade"!==e.animation?e.animation:r||"fade",I.placement=e.placement?e.placement:d||"top",I.delay=parseInt(e.delay||h)||200,I.dismissible=!(!e.dismissible&&"true"!==f),I.container=T||(E||(x||(C||(k||document.body)))),N="bs-popover-"+I.placement;var U=D();i=U[0],((n=U[1])||I.template)&&(t.Popover||W(1),t.Popover=P)}function A(t,e){e=e||{};var i,n,o,a,r,d,u=this,f={};function h(){var e,o,a;(n=r.getElementsByTagName("A"),i.scrollTop=i.isWindow?b().y:t.scrollTop,i.length!==n.length||p()!==i.scrollHeight)&&(i.items=[],i.offsets=[],i.scrollHeight=p(),i.maxScroll=i.scrollHeight-(i.isWindow?window.innerHeight:t.getBoundingClientRect().height),Array.from(n).map((function(t){e=t.getAttribute("href"),(o=e&&"#"===e.charAt(0)&&"#"!==e.slice(-1)&&s(e))&&(i.items.push(t),a=o.getBoundingClientRect(),i.offsets.push((i.isWindow?a.top+i.scrollTop:o.offsetTop)-f.offset))})),i.length=i.items.length)}function g(t){d[t=t?"addEventListener":"removeEventListener"]("scroll",u.refresh,m),window[t]("resize",u.refresh,m)}function p(){return d.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}function v(){Array.from(n).map((function(t){return t.classList.contains("active")&&t.classList.remove("active")}))}function L(e){v(),i.activeItem=e,e.classList.add("active");for(var n=[];e.parentNode!==document.body;)e=e.parentNode,["dropdown-menu","nav"].some((function(t){return e.classList.contains(t)}))&&n.push(e);n.map((function(t){var e=t.previousElementSibling;e&&!e.classList.contains("active")&&e.classList.add("active")})),c.call(t,l("activate","scrollspy",{relatedTarget:i.activeItem}))}u.refresh=function(){if(h(),i.scrollTop>=i.maxScroll){var t=i.items[i.length-1];i.activeItem!==t&&L(t)}else{if(i.activeItem&&i.scrollTop<i.offsets[0]&&i.offsets[0]>0)return i.activeItem=null,void v();for(var e=i.length;e--;)i.activeItem!==i.items[e]&&i.scrollTop>=i.offsets[e]&&(void 0===i.offsets[e+1]||i.scrollTop<i.offsets[e+1])&&L(i.items[e])}},u.dispose=function(){g(),delete t.ScrollSpy},(t=s(t)).ScrollSpy&&t.ScrollSpy.dispose(),o=t.getAttribute("data-target"),a=t.getAttribute("data-offset"),r=s(e.target||o),d=t.clientHeight<t.scrollHeight?t:window,r&&(f.offset=+(e.offset||a)||10,(i={}).length=0,i.items=[],i.offsets=[],i.isWindow=d===window,i.activeItem=null,i.scrollHeight=0,i.maxScroll=0,!t.ScrollSpy&&g(1),u.refresh(),t.ScrollSpy=u)}function T(t,i){i=i||{};var n,o,r,d,u,m,f,h,g,p,v,L,b,y,w,A=this,T=!1;function E(){T.style.height="",T.classList.remove("collapsing"),o.isAnimating=!1}function k(){T?b?E():setTimeout((function(){T.style.height=y+"px",T.offsetWidth,a(T,E)}),50):o.isAnimating=!1,u=l("shown","tab",{relatedTarget:g}),c.call(h,u)}function x(){T&&(p.style.float="left",v.style.float="left",L=p.scrollHeight),d=l("show","tab",{relatedTarget:g}),f=l("hidden","tab",{relatedTarget:h}),c.call(h,d),d.defaultPrevented||(v.classList.add("active"),p.classList.remove("active"),T&&(y=v.scrollHeight,b=y===L,T.classList.add("collapsing"),T.style.height=L+"px",T.offsetHeight,p.style.float="",v.style.float=""),v.classList.contains("fade")?setTimeout((function(){v.classList.add("show"),a(v,k)}),20):k(),c.call(g,f))}function C(){var t,e=o.getElementsByClassName("active");return 1!==e.length||e[0].parentNode.classList.contains("dropdown")?e.length>1&&(t=e[e.length-1]):t=e[0],t}function N(){return s(C().getAttribute("href"))}function P(t){t.preventDefault(),h=t.currentTarget,!o.isAnimating&&A.show()}A.show=function(){if(!(h=h||t).classList.contains("active")){if(v=s(h.getAttribute("href")),g=C(),p=N(),m=l("hide","tab",{relatedTarget:h}),c.call(g,m),m.defaultPrevented)return;o.isAnimating=!0,g.classList.remove("active"),g.setAttribute("aria-selected","false"),h.classList.add("active"),h.setAttribute("aria-selected","true"),r&&(t.parentNode.classList.contains("dropdown-menu")?r.classList.contains("active")||r.classList.add("active"):r.classList.contains("active")&&r.classList.remove("active")),p.classList.contains("fade")?(p.classList.remove("show"),a(p,x)):x()}},A.dispose=function(){t.removeEventListener("click",P,!1),delete t.Tab},(t=s(t)).Tab&&t.Tab.dispose(),n=t.getAttribute("data-height"),o=t.closest(".nav"),r=o&&s(".dropdown-toggle",o),w=!(!e||!1===i.height||"false"===n),o.isAnimating=!1,t.Tab||t.addEventListener("click",P,!1),w&&(T=N().parentNode),t.Tab=A}function E(t,e){e=e||{};var i,n,o,r,d,u,m,f,h=this,g=0,p={};function v(){i.classList.remove("showing"),i.classList.add("show"),c.call(i,m),p.autohide&&h.hide()}function L(){i.classList.add("hide"),c.call(i,f)}function b(){i.classList.remove("show"),p.animation?a(i,L):L()}function y(){clearTimeout(g),t.removeEventListener("click",h.hide,!1),delete t.Toast}h.show=function(){if(i&&!i.classList.contains("show")){if(c.call(i,d),d.defaultPrevented)return;p.animation&&i.classList.add("fade"),i.classList.remove("hide"),i.offsetWidth,i.classList.add("showing"),p.animation?a(i,v):v()}},h.hide=function(t){if(i&&i.classList.contains("show")){if(c.call(i,u),u.defaultPrevented)return;t?b():g=setTimeout(b,p.delay)}},h.dispose=function(){p.animation?a(i,y):y()},(t=s(t)).Toast&&t.Toast.dispose(),i=t.closest(".toast"),n=t.getAttribute("data-animation"),o=t.getAttribute("data-autohide"),r=t.getAttribute("data-delay"),d=l("show","toast"),u=l("hide","toast"),m=l("shown","toast"),f=l("hidden","toast"),p.animation=!1===e.animation||"false"===n?0:1,p.autohide=!1===e.autohide||"false"===o?0:1,p.delay=parseInt(e.delay||r)||500,t.Toast||t.addEventListener("click",h.hide,!1),t.Toast=h}function k(t,e){e=e||{};var i,n,o,r,d,f,h,g,p,v,b,w,A,T,E,k=this,x=null,C=0,N={};function P(){return t.getAttribute("title")||t.getAttribute("data-title")||t.getAttribute("data-original-title")}function H(e){x&&x.contains(e.target)||e.target===t||t.contains(e.target)||k.hide()}function S(t){t=t?"addEventListener":"removeEventListener",document[t]("touchstart",H,m),window[t]("resize",k.hide,m)}function B(){S(1),c.call(t,h)}function I(){S(),N.container.removeChild(x),x=null,C=null,c.call(t,p)}function M(e){t[e=e?"addEventListener":"removeEventListener"](L,k.show,!1),t[e](u[0],k.show,!1),t[e](u[1],k.hide,!1)}k.show=function(){clearTimeout(C),C=setTimeout((function(){if(null===x){if(c.call(t,f),f.defaultPrevented)return;!1!==function(){if(i=P()){if(x=document.createElement("div"),N.template){var t=document.createElement("div");t.innerHTML=N.template.trim(),x.className=t.firstChild.className,x.innerHTML=t.firstChild.innerHTML,s(".tooltip-inner",x).innerHTML=i.trim()}else{var e=document.createElement("div");e.classList.add("arrow"),x.appendChild(e);var n=document.createElement("div");n.classList.add("tooltip-inner"),x.appendChild(n),n.innerHTML=i}x.style.left="0",x.style.top="0",x.setAttribute("role","tooltip"),!x.classList.contains("tooltip")&&x.classList.add("tooltip"),!x.classList.contains(N.animation)&&x.classList.add(N.animation),!x.classList.contains(E)&&x.classList.add(E),N.container.appendChild(x)}}()&&(y(t,x,N.placement,N.container),!x.classList.contains("show")&&x.classList.add("show"),N.animation?a(x,B):B())}}),20)},k.hide=function(){clearTimeout(C),C=setTimeout((function(){if(x&&x.classList.contains("show")){if(c.call(t,g),g.defaultPrevented)return;x.classList.remove("show"),N.animation?a(x,I):I()}}),N.delay)},k.toggle=function(){x?k.hide():k.show()},k.dispose=function(){M(),k.hide(),t.setAttribute("title",t.getAttribute("data-original-title")),t.removeAttribute("data-original-title"),delete t.Tooltip},(t=s(t)).Tooltip&&t.Tooltip.dispose(),n=t.getAttribute("data-animation"),o=t.getAttribute("data-placement"),r=t.getAttribute("data-delay"),d=t.getAttribute("data-container"),f=l("show","tooltip"),h=l("shown","tooltip"),g=l("hide","tooltip"),p=l("hidden","tooltip"),v=s(e.container),b=s(d),w=t.closest(".modal"),A=t.closest(".fixed-top"),T=t.closest(".fixed-bottom"),N.animation=e.animation&&"fade"!==e.animation?e.animation:n||"fade",N.placement=e.placement?e.placement:o||"top",N.template=e.template?e.template:null,N.delay=parseInt(e.delay||r)||200,N.container=v||(b||(A||(T||(w||document.body)))),E="bs-tooltip-"+N.placement,(i=P())&&(t.Tooltip||(t.setAttribute("data-original-title",i),t.removeAttribute("title"),M(1)),t.Tooltip=k)}var x={};function C(t,e){Array.from(e).map((function(e){return new t(e)}))}function N(t){for(var e in t=t||document,x)C(x[e][0],t.querySelectorAll(x[e][1]))}function P(t,e){Array.from(e).map((function(e){return e[t].dispose()}))}x.Alert=[r,'[data-dismiss="alert"]'],x.Button=[d,'[data-toggle="buttons"]'],x.Carousel=[f,'[data-ride="carousel"]'],x.Collapse=[h,'[data-toggle="collapse"]'],x.Dropdown=[p,'[data-toggle="dropdown"]'],x.Modal=[v,'[data-toggle="modal"]'],x.Popover=[w,'[data-toggle="popover"],[data-tip="popover"]'],x.ScrollSpy=[A,'[data-spy="scroll"]'],x.Tab=[T,'[data-toggle="tab"]'],x.Toast=[E,'[data-dismiss="toast"]'],x.Tooltip=[k,'[data-toggle="tooltip"],[data-tip="tooltip"]'],document.body?N():document.addEventListener("DOMContentLoaded",(function t(){N(),document.removeEventListener("DOMContentLoaded",t,!1)}),!1);return{Alert:r,Button:d,Carousel:f,Collapse:h,Dropdown:p,Modal:v,Popover:w,ScrollSpy:A,Tab:T,Toast:E,Tooltip:k,initCallback:N,removeDataAPI:function(t){for(var e in t=t||document,x)P(e,t.querySelectorAll(x[e][1]))},componentsInit:x,Version:"3.0.14b"}}));
// Native JavaScript for Bootstrap v3.0.14c | 2021 © dnp_theme | MIT-License
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).BSN=e()}(this,(function(){"use strict";var t="webkitTransition"in document.head.style?"webkitTransitionEnd":"transitionend",e="webkitTransition"in document.head.style||"transition"in document.head.style,i="webkitTransition"in document.head.style?"webkitTransitionDuration":"transitionDuration",n="webkitTransition"in document.head.style?"webkitTransitionProperty":"transitionProperty";function o(t){var o=getComputedStyle(t),a=o[n],s=o[i],l=s.indexOf("ms")>-1?1:1e3,c=e&&a&&"none"!==a?parseFloat(s)*l:0;return isNaN(c)?0:c}function a(e,i){var n=0,a=new Event(t),s=o(e);s?(e.addEventListener(t,(function o(a){a.target===e&&(i.apply(e,[a]),e.removeEventListener(t,o),n=1)})),setTimeout((function(){!n&&e.dispatchEvent(a)}),s+17)):i.apply(e,[a])}function s(t,e){var i=e&&e instanceof Element?e:document;return t instanceof Element?t:i.querySelector(t)}function l(t,e,i){var n=new CustomEvent(t+".bs."+e,{cancelable:!0});return void 0!==i&&Object.keys(i).forEach((function(t){Object.defineProperty(n,t,{value:i[t]})})),n}function c(t){this&&this.dispatchEvent(t)}function r(t){var e,i=this,n=l("close","alert"),o=l("closed","alert");function r(e){t[e=e?"addEventListener":"removeEventListener"]("click",d,!1)}function d(n){e=n&&n.target.closest(".alert"),(t=s('[data-dismiss="alert"]',e))&&e&&(t===n.target||t.contains(n.target))&&i.close()}function u(){r(),e.parentNode.removeChild(e),c.call(e,o)}i.close=function(){if(e&&t&&e.classList.contains("show")){if(c.call(e,n),n.defaultPrevented)return;i.dispose(),e.classList.remove("show"),e.classList.contains("fade")?a(e,u):u()}},i.dispose=function(){r(),delete t.Alert},t=s(t),e=t.closest(".alert"),t.Alert&&t.Alert.dispose(),t.Alert||r(1),i.element=t,t.Alert=i}function d(t){var e,i=l("change","button");function n(n){var o,a="LABEL"===n.target.tagName?n.target:n.target.closest("LABEL")?n.target.closest("LABEL"):null;if(o=a&&a.getElementsByTagName("INPUT")[0]){if(c.call(o,i),c.call(t,i),"checkbox"===o.type){if(i.defaultPrevented)return;o.checked?(a.classList.remove("active"),o.getAttribute("checked"),o.removeAttribute("checked"),o.checked=!1):(a.classList.add("active"),o.getAttribute("checked"),o.setAttribute("checked","checked"),o.checked=!0),t.toggled||(t.toggled=!0)}if("radio"===o.type&&!t.toggled){if(i.defaultPrevented)return;(!o.checked||0===n.screenX&&0==n.screenY)&&(a.classList.add("active"),a.classList.add("focus"),o.setAttribute("checked","checked"),o.checked=!0,t.toggled=!0,Array.from(e).map((function(t){var e=t.getElementsByTagName("INPUT")[0];t!==a&&t.classList.contains("active")&&(c.call(e,i),t.classList.remove("active"),e.removeAttribute("checked"),e.checked=!1)})))}setTimeout((function(){t.toggled=!1}),50)}}function o(t){32===(t.which||t.keyCode)&&t.target===document.activeElement&&n(t)}function a(t){32===(t.which||t.keyCode)&&t.preventDefault()}function r(t){if("INPUT"===t.target.tagName){var e="focusin"===t.type?"add":"remove";t.target.closest(".btn").classList[e]("focus")}}function d(e){t[e=e?"addEventListener":"removeEventListener"]("click",n,!1),t[e]("keyup",o,!1),t[e]("keydown",a,!1),t[e]("focusin",r,!1),t[e]("focusout",r,!1)}this.dispose=function(){d(),delete t.Button},(t=s(t)).Button&&t.Button.dispose(),(e=t.getElementsByClassName("btn")).length&&(t.Button||d(1),t.toggled=!1,t.Button=this,Array.from(e).map((function(t){!t.classList.contains("active")&&s("input:checked",t)&&t.classList.add("active"),t.classList.contains("active")&&!s("input:checked",t)&&t.classList.remove("active")})))}var u="onmouseleave"in document?["mouseenter","mouseleave"]:["mouseover","mouseout"],m=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t,e)}),e)}catch(t){}return t}()&&{passive:!0};function f(t,e){e=e||{};var i,n,r,d,f,h,g,p,v,L=this;function b(){!1===n.interval||t.classList.contains("paused")||(t.classList.add("paused"),!i.isSliding&&(clearInterval(i.timer),i.timer=null))}function y(){!1!==n.interval&&t.classList.contains("paused")&&(t.classList.remove("paused"),!i.isSliding&&(clearInterval(i.timer),i.timer=null),!i.isSliding&&L.cycle())}function w(t){if(t.preventDefault(),!i.isSliding){var e=t.target;if(!e||e.classList.contains("active")||!e.getAttribute("data-slide-to"))return!1;i.index=parseInt(e.getAttribute("data-slide-to")),L.slideTo(i.index)}}function A(t){if(t.preventDefault(),!i.isSliding){var e=t.currentTarget||t.srcElement;e===g?i.index++:e===h&&i.index--,L.slideTo(i.index)}}function T(t){var e=t.which;if(!i.isSliding){switch(e){case 39:i.index++;break;case 37:i.index--;break;default:return}L.slideTo(i.index)}}function E(e){e=e?"addEventListener":"removeEventListener",n.pause&&n.interval&&(t[e](u[0],b,!1),t[e](u[1],y,!1),t[e]("touchstart",b,m),t[e]("touchend",y,m)),n.touch&&f.length>1&&t[e]("touchstart",x,m),g&&g[e]("click",A,!1),h&&h[e]("click",A,!1),p&&p[e]("click",w,!1),n.keyboard&&window[e]("keydown",T,!1)}function k(e){t[e=e?"addEventListener":"removeEventListener"]("touchmove",C,m),t[e]("touchend",N,m)}function x(e){i.isTouch||(i.touchPosition.startX=e.changedTouches[0].pageX,t.contains(e.target)&&(i.isTouch=!0,k(1)))}function C(t){if(i.isTouch)return i.touchPosition.currentX=t.changedTouches[0].pageX,"touchmove"===t.type&&t.changedTouches.length>1?(t.preventDefault(),!1):void 0;t.preventDefault()}function N(e){if(i.isTouch&&!i.isSliding&&(i.touchPosition.endX=i.touchPosition.currentX||e.changedTouches[0].pageX,i.isTouch)){if((!t.contains(e.target)||!t.contains(e.relatedTarget))&&Math.abs(i.touchPosition.startX-i.touchPosition.endX)<75)return!1;i.touchPosition.currentX<i.touchPosition.startX?i.index++:i.touchPosition.currentX>i.touchPosition.startX&&i.index--,i.isTouch=!1,L.slideTo(i.index),k()}}function P(t){Array.from(v).map((function(t){t.classList.remove("active")})),v[t]&&v[t].classList.add("active")}function H(e){if(i.touchPosition){var o=i.index,a=e&&e.target!==f[o]?1e3*e.elapsedTime+100:20,s=L.getActiveIndex(),l="left"===i.direction?"next":"prev";i.isSliding&&setTimeout((function(){i.touchPosition&&(i.isSliding=!1,f[o].classList.add("active"),f[s].classList.remove("active"),f[o].classList.remove("carousel-item-"+l),f[o].classList.remove("carousel-item-"+i.direction),f[s].classList.remove("carousel-item-"+i.direction),c.call(t,d),document.hidden||!n.interval||t.classList.contains("paused")||L.cycle())}),a)}}if(L.cycle=function(){i.timer&&(clearInterval(i.timer),i.timer=null),i.timer=setInterval((function(){var e=i.index||L.getActiveIndex();(function(t){var e=t.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight;return e.top<=i&&e.bottom>=0})(t)&&(e++,L.slideTo(e))}),n.interval)},L.slideTo=function(e){if(!i.isSliding){var s,u,m=L.getActiveIndex();m!==e&&(m<e||0===m&&e===f.length-1?i.direction="left":(m>e||m===f.length-1&&0===e)&&(i.direction="right"),e<0?e=f.length-1:e>=f.length&&(e=0),s="left"===i.direction?"next":"prev",u={relatedTarget:f[e],direction:i.direction,from:m,to:e},r=l("slide","carousel",u),d=l("slid","carousel",u),c.call(t,r),r.defaultPrevented||(i.index=e,i.isSliding=!0,clearInterval(i.timer),i.timer=null,P(e),o(f[e])&&t.classList.contains("slide")?(f[e].classList.add("carousel-item-"+s),f[e].offsetWidth,f[e].classList.add("carousel-item-"+i.direction),f[m].classList.add("carousel-item-"+i.direction),a(f[e],H)):(f[e].classList.add("active"),f[e].offsetWidth,f[m].classList.remove("active"),setTimeout((function(){i.isSliding=!1,n.interval&&t&&!t.classList.contains("paused")&&L.cycle(),c.call(t,d)}),100))))}},L.getActiveIndex=function(){return Array.from(f).indexOf(t.getElementsByClassName("carousel-item active")[0])||0},L.dispose=function(){var e=["left","right","prev","next"];Array.from(f).map((function(t,i){t.classList.contains("active")&&P(i),e.map((function(e){return t.classList.remove("carousel-item-"+e)}))})),clearInterval(i.timer),E(),i={},n={},delete t.Carousel},(t=s(t)).Carousel&&t.Carousel.dispose(),f=t.getElementsByClassName("carousel-item"),h=t.getElementsByClassName("carousel-control-prev")[0],g=t.getElementsByClassName("carousel-control-next")[0],p=t.getElementsByClassName("carousel-indicators")[0],v=p&&p.getElementsByTagName("LI")||[],!(f.length<2)){var S=t.getAttribute("data-interval"),B="false"===S?0:parseInt(S),I="false"===t.getAttribute("data-touch")?0:1,M="hover"===t.getAttribute("data-pause")||!1,D="true"===t.getAttribute("data-keyboard")||!1,X=e.interval,W=e.touch;(n={}).keyboard=!0===e.keyboard||D,n.pause=!("hover"!==e.pause&&!M)&&"hover",n.touch=W||I,n.interval="number"==typeof X?X:!1===X||0===B||!1===B?0:isNaN(B)?5e3:B,L.getActiveIndex()<0&&(f.length&&f[0].classList.add("active"),v.length&&P(0)),(i={}).direction="left",i.index=0,i.timer=null,i.isSliding=!1,i.isTouch=!1,i.touchPosition={startX:0,currentX:0,endX:0},E(1),n.interval&&L.cycle(),t.Carousel=L}}function h(t,e){e=e||{};var i,n,o,r,d,u,m=this,f=null,h=null;function g(t,e){c.call(t,d),d.defaultPrevented||(t.isAnimating=!0,t.style.height=t.scrollHeight+"px",t.classList.remove("collapse"),t.classList.remove("show"),t.classList.add("collapsing"),t.offsetWidth,t.style.height="0px",a(t,(function(){t.isAnimating=!1,t.setAttribute("aria-expanded","false"),e.setAttribute("aria-expanded","false"),t.classList.remove("collapsing"),t.classList.add("collapse"),t.style.height="",c.call(t,u)})))}m.toggle=function(e){(e&&"A"===e.target.tagName||"A"===t.tagName)&&e.preventDefault(),(t.contains(e.target)||e.target===t)&&(h.classList.contains("show")?m.hide():m.show())},m.hide=function(){h.isAnimating||(g(h,t),t.classList.add("collapsed"))},m.show=function(){var e,l;f&&(i=f.getElementsByClassName("collapse show")[0],n=i&&(s('[data-target="#'+i.id+'"]',f)||s('[href="#'+i.id+'"]',f))),h.isAnimating||(n&&i!==h&&(g(i,n),n.classList.add("collapsed")),e=h,l=t,c.call(e,o),o.defaultPrevented||(e.isAnimating=!0,e.classList.add("collapsing"),e.classList.remove("collapse"),e.style.height=e.scrollHeight+"px",a(e,(function(){e.isAnimating=!1,e.setAttribute("aria-expanded","true"),l.setAttribute("aria-expanded","true"),e.classList.remove("collapsing"),e.classList.add("collapse"),e.classList.add("show"),e.style.height="",c.call(e,r)}))),t.classList.remove("collapsed"))},m.dispose=function(){t.removeEventListener("click",m.toggle,!1),delete t.Collapse},(t=s(t)).Collapse&&t.Collapse.dispose();var p=t.getAttribute("data-parent");o=l("show","collapse"),r=l("shown","collapse"),d=l("hide","collapse"),u=l("hidden","collapse"),null!==(h=s(e.target||t.getAttribute("data-target")||t.getAttribute("href")))&&(h.isAnimating=!1),f=t.closest(e.parent||p),t.Collapse||t.addEventListener("click",m.toggle,!1),t.Collapse=m}function g(t){t.focus?t.focus():t.setActive()}function p(t,e){var i,n,o,a,r,d,u,m=this,f=null,h=[];function p(t){(t.href&&"#"===t.href.slice(-1)||t.parentNode&&t.parentNode.href&&"#"===t.parentNode.href.slice(-1))&&this.preventDefault()}function v(){var e=t.open?"addEventListener":"removeEventListener";document[e]("click",L,!1),document[e]("keydown",y,!1),document[e]("keyup",w,!1),document[e]("focus",L,!1)}function L(e){var i=e.target,n=i&&(i.getAttribute("data-toggle")||i.parentNode&&i.parentNode.getAttribute&&i.parentNode.getAttribute("data-toggle"));("focus"!==e.type||i!==t&&i!==d&&!d.contains(i))&&(i!==d&&!d.contains(i)||!u&&!n)&&(f=i===t||t.contains(i)?t:null,m.hide(),p.call(e,i))}function b(e){f=t,m.show(),p.call(e,e.target)}function y(t){var e=t.which||t.keyCode;38!==e&&40!==e||t.preventDefault()}function w(e){var i=e.which||e.keyCode,n=document.activeElement,o=n===t,a=d.contains(n),s=n.parentNode===d||n.parentNode.parentNode===d,l=h.indexOf(n);s&&(l=o?0:38===i?l>1?l-1:0:40===i&&l<h.length-1?l+1:l,h[l]&&g(h[l])),(h.length&&s||!h.length&&(a||o)||!a)&&t.open&&27===i&&(m.toggle(),f=null)}m.show=function(){i=l("show","dropdown",{relatedTarget:f}),c.call(r,i),i.defaultPrevented||(d.classList.add("show"),r.classList.add("show"),t.setAttribute("aria-expanded",!0),t.open=!0,t.removeEventListener("click",b,!1),setTimeout((function(){g(d.getElementsByTagName("INPUT")[0]||t),v(),n=l("shown","dropdown",{relatedTarget:f}),c.call(r,n)}),1))},m.hide=function(){o=l("hide","dropdown",{relatedTarget:f}),c.call(r,o),o.defaultPrevented||(d.classList.remove("show"),r.classList.remove("show"),t.setAttribute("aria-expanded",!1),t.open=!1,v(),g(t),setTimeout((function(){t.Dropdown&&t.addEventListener("click",b,!1)}),1),a=l("hidden","dropdown",{relatedTarget:f}),c.call(r,a))},m.toggle=function(){r.classList.contains("show")&&t.open?m.hide():m.show()},m.dispose=function(){r.classList.contains("show")&&t.open&&m.hide(),t.removeEventListener("click",b,!1),delete t.Dropdown},(t=s(t)).Dropdown&&t.Dropdown.dispose(),r=t.parentNode,d=s(".dropdown-menu",r),Array.from(d.children).map((function(t){t.children.length&&"A"===t.children[0].tagName&&h.push(t.children[0]),"A"===t.tagName&&h.push(t)})),t.Dropdown||(!("tabindex"in d)&&d.setAttribute("tabindex","0"),t.addEventListener("click",b,!1)),u=!0===e||"true"===t.getAttribute("data-persist")||!1,t.open=!1,t.Dropdown=m}function v(t,e){e=e||{};var i,n,r,d,u,f,h,p,v,L=this,b=null,y={};function w(){var t,e,n=document.body.classList.contains("modal-open"),o=parseInt(getComputedStyle(document.body).paddingRight),a=document.documentElement.clientHeight!==document.documentElement.scrollHeight||document.body.clientHeight!==document.body.scrollHeight,s=i.clientHeight!==i.scrollHeight;(e=document.createElement("div")).className="modal-scrollbar-measure",document.body.appendChild(e),t=e.offsetWidth-e.clientWidth,document.body.removeChild(e),f=t,i.style.paddingRight=!s&&f?f+"px":"",document.body.style.paddingRight=s||a?o+(n?0:f)+"px":"",v.length&&v.map((function(t){var e=getComputedStyle(t).paddingRight;t.style.paddingRight=s||a?parseInt(e)+(n?0:f)+"px":parseInt(e)+"px"}))}function A(){(h=s(".modal-backdrop"))&&!document.getElementsByClassName("modal show")[0]&&(document.body.removeChild(h),h=null),null===h&&(document.body.classList.remove("modal-open"),document.body.style.paddingRight="",i.style.paddingRight="",v.length&&v.map((function(t){t.style.paddingRight=""})))}function T(t){t=t?"addEventListener":"removeEventListener",window[t]("resize",L.update,m),i[t]("click",P,!1),document[t]("keydown",N,!1)}function E(){i.style.display="block",w(),!document.getElementsByClassName("modal show")[0]&&document.body.classList.add("modal-open"),i.classList.add("show"),i.setAttribute("aria-hidden",!1),i.classList.contains("fade")?a(i,k):k()}function k(){g(i),i.isAnimating=!1,T(1),r=l("shown","modal",{relatedTarget:b}),c.call(i,r)}function x(e){i.style.display="",t&&g(t),h=s(".modal-backdrop"),1!==e&&h&&h.classList.contains("show")&&!document.getElementsByClassName("modal show")[0]?(h.classList.remove("show"),a(h,A)):A(),T(),i.isAnimating=!1,u=l("hidden","modal"),c.call(i,u)}function C(e){if(!i.isAnimating){var n=e.target,o="#"+i.getAttribute("id"),a=n.getAttribute("data-target")||n.getAttribute("href"),s=t.getAttribute("data-target")||t.getAttribute("href");!i.classList.contains("show")&&(n===t&&a===o||t.contains(n)&&s===o)&&(i.modalTrigger=t,b=t,L.show(),e.preventDefault())}}function N(t){var e=t.which;!i.isAnimating&&y.keyboard&&27==e&&i.classList.contains("show")&&L.hide()}function P(t){if(!i.isAnimating){var e=t.target,n="modal"===e.getAttribute("data-dismiss"),o=e.closest('[data-dismiss="modal"]');i.classList.contains("show")&&(o||n||e===i&&"static"!==y.backdrop)&&(L.hide(),b=null,t.preventDefault())}}L.toggle=function(){i.classList.contains("show")?L.hide():L.show()},L.show=function(){if(!(i.classList.contains("show")&&i.isAnimating||(n=l("show","modal",{relatedTarget:b}),c.call(i,n),n.defaultPrevented))){i.isAnimating=!0;var t,e=document.getElementsByClassName("modal show")[0];e&&e!==i&&(e.modalTrigger&&e.modalTrigger.Modal.hide(),e.Modal&&e.Modal.hide()),y.backdrop&&(t=document.createElement("div"),null===(h=s(".modal-backdrop"))&&(t.setAttribute("class","modal-backdrop"+(y.animation?" fade":"")),h=t,document.body.appendChild(h)),h=h),!h||e||h.classList.contains("show")||(h.offsetWidth,p=o(h),h.classList.add("show")),e?E():setTimeout(E,h&&p?p:0)}},L.hide=function(t){i.classList.contains("show")&&(d=l("hide","modal"),c.call(i,d),d.defaultPrevented||(i.isAnimating=!0,i.classList.remove("show"),i.setAttribute("aria-hidden",!0),i.classList.contains("fade")&&1!==t?a(i,x):x()))},L.setContent=function(t){s(".modal-content",i).innerHTML=t},L.update=function(){i.classList.contains("show")&&w()},L.dispose=function(){L.hide(1),t?(t.removeEventListener("click",C,!1),delete t.Modal):delete i.Modal},t=s(t);var H=s(t.getAttribute("data-target")||t.getAttribute("href"));i=t.classList.contains("modal")?t:H,v=Array.from(document.getElementsByClassName("fixed-top")).concat(Array.from(document.getElementsByClassName("fixed-bottom"))),t.classList.contains("modal")&&(t=null),t&&t.Modal&&t.Modal.dispose(),i&&i.Modal&&i.Modal.dispose(),y.keyboard=!1!==e.keyboard&&"false"!==i.getAttribute("data-keyboard"),y.backdrop="static"!==e.backdrop&&"static"!==i.getAttribute("data-backdrop")||"static",y.backdrop=!1!==e.backdrop&&"false"!==i.getAttribute("data-backdrop")&&y.backdrop,y.animation=!!i.classList.contains("fade"),y.content=e.content,i.isAnimating=!1,t&&!t.Modal&&t.addEventListener("click",C,!1),y.content&&L.setContent(y.content.trim()),t?(i.modalTrigger=t,t.Modal=L):i.Modal=L}var L="mousedown";function b(){return{y:window.pageYOffset||document.documentElement.scrollTop,x:window.pageXOffset||document.documentElement.scrollLeft}}function y(t,e,i,n){var o,a,s,l,c,r,d=e.offsetWidth,u=e.offsetHeight,m=document.documentElement.clientWidth||document.body.clientWidth,f=document.documentElement.clientHeight||document.body.clientHeight,h=t.getBoundingClientRect(),g=n===document.body?b():{x:n.offsetLeft+n.scrollLeft,y:n.offsetTop+n.scrollTop},p=h.right-h.left,v=h.bottom-h.top,L=e.classList.contains("popover"),y=e.getElementsByClassName("arrow")[0],w=h.top+v/2-u/2<0,A=h.left+p/2-d/2<0,T=h.left+d/2+p/2>=m,E=h.top+u/2+v/2>=f,k=h.top-u<0,x=h.left-d<0,C=h.top+u+v>=f,N=h.left+d+p>=m;i="right"===(i="left"===(i="bottom"===(i="top"===(i=("left"===i||"right"===i)&&x&&N?"top":i)&&k?"bottom":i)&&C?"top":i)&&x?"right":i)&&N?"left":i,-1===e.className.indexOf(i)&&(e.className=e.className.replace(/\b(top|bottom|left|right)+/,i)),c=y.offsetWidth,r=y.offsetHeight,"left"===i||"right"===i?(a="left"===i?h.left+g.x-d-(L?c:0):h.left+g.x+p,w?(o=h.top+g.y,s=v/2-c):E?(o=h.top+g.y-u+v,s=u-v/2-c):(o=h.top+g.y-u/2+v/2,s=u/2-(L?.9*r:r/2))):"top"!==i&&"bottom"!==i||(o="top"===i?h.top+g.y-u-(L?r:0):h.top+g.y+v,A?(a=0,l=h.left+p/2-c):T?(a=m-1.01*d,l=d-(m-h.left)+p/2-c/2):(a=h.left+g.x-d/2+p/2,l=d/2-(L?c:c/2))),e.style.top=o+"px",e.style.left=a+"px",s&&(y.style.top=s+"px"),l&&(y.style.left=l+"px")}function w(t,e){e=e||{};var i,n,o,r,d,f,h,g,p,v,b,w,A,T,E,k,x,C,N,P=this,H=null,S=0,B=/(iPhone|iPod|iPad)/.test(navigator.userAgent),I={};function M(t){null!==H&&t.target===s(".close",H)&&P.hide()}function D(){return{0:e.title||t.getAttribute("data-title")||null,1:e.content||t.getAttribute("data-content")||null}}function X(){null===H&&t.focus()}function W(e){e=e?"addEventListener":"removeEventListener","hover"===I.trigger?(t[e](L,P.show),t[e](u[0],P.show),I.dismissible||t[e](u[1],P.hide)):"click"==I.trigger?t[e](I.trigger,P.toggle):"focus"==I.trigger&&(B&&t[e]("click",X,!1),t[e](I.trigger,P.toggle))}function O(e){H&&H.contains(e.target)||e.target===t||t.contains(e.target)||P.hide()}function R(e){e=e?"addEventListener":"removeEventListener",I.dismissible?document[e]("click",M,!1):("focus"==I.trigger&&t[e]("blur",P.hide),"hover"==I.trigger&&document[e]("touchstart",O,m)),window[e]("resize",P.hide,m)}function j(){R(1),c.call(t,b)}function z(){R(),I.container.removeChild(H),S=null,H=null,c.call(t,A)}P.toggle=function(){null===H?P.show():P.hide()},P.show=function(){clearTimeout(S),S=setTimeout((function(){if(null===H){if(c.call(t,v),v.defaultPrevented)return;!function(){i=D()[0]||null,n=(n=D()[1])?n.trim():null,H=document.createElement("div");var t=document.createElement("div");if(t.classList.add("arrow"),H.appendChild(t),null!==n&&null===I.template){if(H.setAttribute("role","tooltip"),null!==i){var e=document.createElement("h3");e.classList.add("popover-header"),e.innerHTML=I.dismissible?i+p:i,H.appendChild(e)}var o=document.createElement("div");o.classList.add("popover-body"),o.innerHTML=I.dismissible&&null===i?n+p:n,H.appendChild(o)}else{var a=document.createElement("div");a.innerHTML=I.template.trim(),H.className=a.firstChild.className,H.innerHTML=a.firstChild.innerHTML;var l=s(".popover-header",H),c=s(".popover-body",H);i&&l&&(l.innerHTML=i.trim()),n&&c&&(c.innerHTML=n.trim())}I.container.appendChild(H),H.style.display="block",!H.classList.contains("popover")&&H.classList.add("popover"),!H.classList.contains(I.animation)&&H.classList.add(I.animation),!H.classList.contains(N)&&H.classList.add(N)}(),y(t,H,I.placement,I.container),!H.classList.contains("show")&&H.classList.add("show"),I.animation?a(H,j):j()}}),20)},P.hide=function(){clearTimeout(S),S=setTimeout((function(){if(H&&null!==H&&H.classList.contains("show")){if(c.call(t,w),w.defaultPrevented)return;H.classList.remove("show"),I.animation?a(H,z):z()}}),I.delay)},P.dispose=function(){P.hide(),W(),delete t.Popover},(t=s(t)).Popover&&t.Popover.dispose(),o=t.getAttribute("data-trigger"),r=t.getAttribute("data-animation"),d=t.getAttribute("data-placement"),f=t.getAttribute("data-dismissible"),h=t.getAttribute("data-delay"),g=t.getAttribute("data-container"),p='<button type="button" class="close">×</button>',v=l("show","popover"),b=l("shown","popover"),w=l("hide","popover"),A=l("hidden","popover"),T=s(e.container),E=s(g),k=t.closest(".modal"),x=t.closest(".fixed-top"),C=t.closest(".fixed-bottom"),I.template=e.template?e.template:null,I.trigger=e.trigger?e.trigger:o||"hover",I.animation=e.animation&&"fade"!==e.animation?e.animation:r||"fade",I.placement=e.placement?e.placement:d||"top",I.delay=parseInt(e.delay||h)||200,I.dismissible=!(!e.dismissible&&"true"!==f),I.container=T||(E||(x||(C||(k||document.body)))),N="bs-popover-"+I.placement;var U=D();i=U[0],((n=U[1])||I.template)&&(t.Popover||W(1),t.Popover=P)}function A(t,e){e=e||{};var i,n,o,a,r,d,u=this,f={};function h(){var e,o,a;(n=r.getElementsByTagName("A"),i.scrollTop=i.isWindow?b().y:t.scrollTop,i.length!==n.length||p()!==i.scrollHeight)&&(i.items=[],i.offsets=[],i.scrollHeight=p(),i.maxScroll=i.scrollHeight-(i.isWindow?window.innerHeight:t.getBoundingClientRect().height),Array.from(n).map((function(t){e=t.getAttribute("href"),(o=e&&"#"===e.charAt(0)&&"#"!==e.slice(-1)&&s(e))&&(i.items.push(t),a=o.getBoundingClientRect(),i.offsets.push((i.isWindow?a.top+i.scrollTop:o.offsetTop)-f.offset))})),i.length=i.items.length)}function g(t){d[t=t?"addEventListener":"removeEventListener"]("scroll",u.refresh,m),window[t]("resize",u.refresh,m)}function p(){return d.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}function v(){Array.from(n).map((function(t){return t.classList.contains("active")&&t.classList.remove("active")}))}function L(e){v(),i.activeItem=e,e.classList.add("active");for(var n=[];e.parentNode!==document.body;)e=e.parentNode,["dropdown-menu","nav"].some((function(t){return e.classList.contains(t)}))&&n.push(e);n.map((function(t){var e=t.previousElementSibling;e&&!e.classList.contains("active")&&e.classList.add("active")})),c.call(t,l("activate","scrollspy",{relatedTarget:i.activeItem}))}u.refresh=function(){if(h(),i.scrollTop>=i.maxScroll){var t=i.items[i.length-1];i.activeItem!==t&&L(t)}else{if(i.activeItem&&i.scrollTop<i.offsets[0]&&i.offsets[0]>0)return i.activeItem=null,void v();for(var e=i.length;e--;)i.activeItem!==i.items[e]&&i.scrollTop>=i.offsets[e]&&(void 0===i.offsets[e+1]||i.scrollTop<i.offsets[e+1])&&L(i.items[e])}},u.dispose=function(){g(),delete t.ScrollSpy},(t=s(t)).ScrollSpy&&t.ScrollSpy.dispose(),o=t.getAttribute("data-target"),a=t.getAttribute("data-offset"),r=s(e.target||o),d=t.clientHeight<t.scrollHeight?t:window,r&&(f.offset=+(e.offset||a)||10,(i={}).length=0,i.items=[],i.offsets=[],i.isWindow=d===window,i.activeItem=null,i.scrollHeight=0,i.maxScroll=0,!t.ScrollSpy&&g(1),u.refresh(),t.ScrollSpy=u)}function T(t,i){i=i||{};var n,o,r,d,u,m,f,h,g,p,v,L,b,y,w,A=this,T=!1;function E(){T.style.height="",T.classList.remove("collapsing"),o.isAnimating=!1}function k(){T?b?E():setTimeout((function(){T.style.height=y+"px",T.offsetWidth,a(T,E)}),50):o.isAnimating=!1,u=l("shown","tab",{relatedTarget:g}),c.call(h,u)}function x(){T&&(p.style.float="left",v.style.float="left",L=p.scrollHeight),d=l("show","tab",{relatedTarget:g}),f=l("hidden","tab",{relatedTarget:h}),c.call(h,d),d.defaultPrevented||(v.classList.add("active"),p.classList.remove("active"),T&&(y=v.scrollHeight,b=y===L,T.classList.add("collapsing"),T.style.height=L+"px",T.offsetHeight,p.style.float="",v.style.float=""),v.classList.contains("fade")?setTimeout((function(){v.classList.add("show"),a(v,k)}),20):k(),c.call(g,f))}function C(){var t,e=o.getElementsByClassName("active");return 1!==e.length||e[0].parentNode.classList.contains("dropdown")?e.length>1&&(t=e[e.length-1]):t=e[0],t}function N(){return s(C().getAttribute("href"))}function P(t){t.preventDefault(),h=t.currentTarget,!o.isAnimating&&A.show()}A.show=function(){if(!(h=h||t).classList.contains("active")){if(v=s(h.getAttribute("href")),g=C(),p=N(),m=l("hide","tab",{relatedTarget:h}),c.call(g,m),m.defaultPrevented)return;o.isAnimating=!0,g.classList.remove("active"),g.setAttribute("aria-selected","false"),h.classList.add("active"),h.setAttribute("aria-selected","true"),r&&(t.parentNode.classList.contains("dropdown-menu")?r.classList.contains("active")||r.classList.add("active"):r.classList.contains("active")&&r.classList.remove("active")),p.classList.contains("fade")?(p.classList.remove("show"),a(p,x)):x()}},A.dispose=function(){t.removeEventListener("click",P,!1),delete t.Tab},(t=s(t)).Tab&&t.Tab.dispose(),n=t.getAttribute("data-height"),o=t.closest(".nav"),r=o&&s(".dropdown-toggle",o),w=!(!e||!1===i.height||"false"===n),o.isAnimating=!1,t.Tab||t.addEventListener("click",P,!1),w&&(T=N().parentNode),t.Tab=A}function E(t,e){e=e||{};var i,n,o,r,d,u,m,f,h=this,g=0,p={};function v(){i.classList.remove("showing"),i.classList.add("show"),c.call(i,m),p.autohide&&h.hide()}function L(){i.classList.add("hide"),c.call(i,f)}function b(){i.classList.remove("show"),p.animation?a(i,L):L()}function y(){clearTimeout(g),t.removeEventListener("click",h.hide,!1),delete t.Toast}h.show=function(){if(i&&!i.classList.contains("show")){if(c.call(i,d),d.defaultPrevented)return;p.animation&&i.classList.add("fade"),i.classList.remove("hide"),i.offsetWidth,i.classList.add("showing"),p.animation?a(i,v):v()}},h.hide=function(t){if(i&&i.classList.contains("show")){if(c.call(i,u),u.defaultPrevented)return;t?b():g=setTimeout(b,p.delay)}},h.dispose=function(){p.animation?a(i,y):y()},(t=s(t)).Toast&&t.Toast.dispose(),i=t.closest(".toast"),n=t.getAttribute("data-animation"),o=t.getAttribute("data-autohide"),r=t.getAttribute("data-delay"),d=l("show","toast"),u=l("hide","toast"),m=l("shown","toast"),f=l("hidden","toast"),p.animation=!1===e.animation||"false"===n?0:1,p.autohide=!1===e.autohide||"false"===o?0:1,p.delay=parseInt(e.delay||r)||500,t.Toast||t.addEventListener("click",h.hide,!1),t.Toast=h}function k(t,e){e=e||{};var i,n,o,r,d,f,h,g,p,v,b,w,A,T,E,k=this,x=null,C=0,N={};function P(){return t.getAttribute("title")||t.getAttribute("data-title")||t.getAttribute("data-original-title")}function H(e){x&&x.contains(e.target)||e.target===t||t.contains(e.target)||k.hide()}function S(t){t=t?"addEventListener":"removeEventListener",document[t]("touchstart",H,m),window[t]("resize",k.hide,m)}function B(){S(1),c.call(t,h)}function I(){S(),N.container.removeChild(x),x=null,C=null,c.call(t,p)}function M(e){t[e=e?"addEventListener":"removeEventListener"](L,k.show,!1),t[e](u[0],k.show,!1),t[e](u[1],k.hide,!1)}k.show=function(){clearTimeout(C),C=setTimeout((function(){if(null===x){if(c.call(t,f),f.defaultPrevented)return;!1!==function(){if(i=P()){if(x=document.createElement("div"),N.template){var t=document.createElement("div");t.innerHTML=N.template.trim(),x.className=t.firstChild.className,x.innerHTML=t.firstChild.innerHTML,s(".tooltip-inner",x).innerHTML=i.trim()}else{var e=document.createElement("div");e.classList.add("arrow"),x.appendChild(e);var n=document.createElement("div");n.classList.add("tooltip-inner"),x.appendChild(n),n.innerHTML=i}x.style.left="0",x.style.top="0",x.setAttribute("role","tooltip"),!x.classList.contains("tooltip")&&x.classList.add("tooltip"),!x.classList.contains(N.animation)&&x.classList.add(N.animation),!x.classList.contains(E)&&x.classList.add(E),N.container.appendChild(x)}}()&&(y(t,x,N.placement,N.container),!x.classList.contains("show")&&x.classList.add("show"),N.animation?a(x,B):B())}}),20)},k.hide=function(){clearTimeout(C),C=setTimeout((function(){if(x&&x.classList.contains("show")){if(c.call(t,g),g.defaultPrevented)return;x.classList.remove("show"),N.animation?a(x,I):I()}}),N.delay)},k.toggle=function(){x?k.hide():k.show()},k.dispose=function(){M(),k.hide(),t.setAttribute("title",t.getAttribute("data-original-title")),t.removeAttribute("data-original-title"),delete t.Tooltip},(t=s(t)).Tooltip&&t.Tooltip.dispose(),n=t.getAttribute("data-animation"),o=t.getAttribute("data-placement"),r=t.getAttribute("data-delay"),d=t.getAttribute("data-container"),f=l("show","tooltip"),h=l("shown","tooltip"),g=l("hide","tooltip"),p=l("hidden","tooltip"),v=s(e.container),b=s(d),w=t.closest(".modal"),A=t.closest(".fixed-top"),T=t.closest(".fixed-bottom"),N.animation=e.animation&&"fade"!==e.animation?e.animation:n||"fade",N.placement=e.placement?e.placement:o||"top",N.template=e.template?e.template:null,N.delay=parseInt(e.delay||r)||200,N.container=v||(b||(A||(T||(w||document.body)))),E="bs-tooltip-"+N.placement,(i=P())&&(t.Tooltip||(t.setAttribute("data-original-title",i),t.removeAttribute("title"),M(1)),t.Tooltip=k)}var x={};function C(t,e){Array.from(e).map((function(e){return new t(e)}))}function N(t){for(var e in t=t||document,x)C(x[e][0],t.querySelectorAll(x[e][1]))}function P(t,e){Array.from(e).map((function(e){return e[t].dispose()}))}x.Alert=[r,'[data-dismiss="alert"]'],x.Button=[d,'[data-toggle="buttons"]'],x.Carousel=[f,'[data-ride="carousel"]'],x.Collapse=[h,'[data-toggle="collapse"]'],x.Dropdown=[p,'[data-toggle="dropdown"]'],x.Modal=[v,'[data-toggle="modal"]'],x.Popover=[w,'[data-toggle="popover"],[data-tip="popover"]'],x.ScrollSpy=[A,'[data-spy="scroll"]'],x.Tab=[T,'[data-toggle="tab"]'],x.Toast=[E,'[data-dismiss="toast"]'],x.Tooltip=[k,'[data-toggle="tooltip"],[data-tip="tooltip"]'],document.body?N():document.addEventListener("DOMContentLoaded",(function t(){N(),document.removeEventListener("DOMContentLoaded",t,!1)}),!1);return{Alert:r,Button:d,Carousel:f,Collapse:h,Dropdown:p,Modal:v,Popover:w,ScrollSpy:A,Tab:T,Toast:E,Tooltip:k,initCallback:N,removeDataAPI:function(t){for(var e in t=t||document,x)P(e,t.querySelectorAll(x[e][1]))},componentsInit:x,Version:"3.0.14c"}}));
/*!
* Native JavaScript for Bootstrap Alert v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Alert v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Alert v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Alert v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Button v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Button v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Button v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Button v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Carousel v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Carousel v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Carousel v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Carousel v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Collapse v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Collapse v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Collapse v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Collapse v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Dropdown v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Dropdown v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Dropdown v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Dropdown v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Modal v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Modal v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Modal v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Modal v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Popover v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Popover v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Popover v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Popover v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap ScrollSpy v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap ScrollSpy v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap ScrollSpy v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap ScrollSpy v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Tab v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Tab v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Tab v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Tab v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Toast v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Toast v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Toast v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Toast v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Tooltip v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Tooltip v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

/*!
* Native JavaScript for Bootstrap Tooltip v3.0.14b (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Tooltip v3.0.14c (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2021 © dnp_theme

@@ -4,0 +4,0 @@ * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)

{
"name": "bootstrap.native",
"version": "3.0.14b",
"version": "3.0.14c",
"description": "Native JavaScript for Bootstrap, the sweetest JavaScript library without jQuery.",

@@ -80,3 +80,3 @@ "main": "dist/bootstrap-native.min.js",

"minifill": "^0.0.14",
"shorter-js": "^0.1.9alpha1"
"shorter-js": "^0.1.9"
},

@@ -88,5 +88,5 @@ "devDependencies": {

"npm-run-all": "^4.1.5",
"rollup": "^2.38.4",
"rollup": "^2.38.5",
"rollup-plugin-terser": "^5.3.1"
}
}

@@ -10,3 +10,3 @@ # BSN stands for Native JavaScript for Bootstrap

The library is around ***25Kb*** minified and ***7.5Kb*** gZipped. See <a href="http://thednp.github.io/bootstrap.native/">the demo</a> for components guidelines and examples, or the [Wiki/How to use](https://github.com/thednp/bootstrap.native/wiki/How-to-use) on how to use the library or create custom builds.
The library is around ***30Kb*** minified and ***10Kb*** gZipped. See <a href="http://thednp.github.io/bootstrap.native/">the demo</a> for components guidelines and examples, or the [Wiki/How to use](https://github.com/thednp/bootstrap.native/wiki/How-to-use) on how to use the library or create custom builds.

@@ -20,3 +20,3 @@ # BSN Wiki

* [ES5 Example](https://github.com/thednp/bootstrap.native/wiki/How-to-use#es5-basic-example) - basic component initialization with JavaScript ES5
* [ES6/ES7 Example](https://github.com/thednp/bootstrap.native/wiki/How-to-use#es6es7-basic-example) - modern application would like you to `import BSN from "bootstrap.native"`
* [ES6+ Example](https://github.com/thednp/bootstrap.native/wiki/How-to-use#es6es7-basic-example) - modern application would like you to `import BSN from "bootstrap.native"`
* [NPM Installation](https://github.com/thednp/bootstrap.native/wiki/How-to-use#npm) - just execute `npm install bootstrap.native` or mark it as dependency and take it from there

@@ -23,0 +23,0 @@ * [Custom Builds](https://github.com/thednp/bootstrap.native/wiki/How-to-use#custom-builds) - use rollup build scripts to create your own custom builds, only with the components you need

@@ -14,3 +14,3 @@ import Alert from './components-v5/alert-native.js'

import {version as Version} from '../package.json'
import {Callback} from './util/init-v5.js'
import {initCallback} from './util/init-v5.js'
import './util/init-v5.js'

@@ -31,4 +31,4 @@

Callback,
initCallback,
Version
}

@@ -34,27 +34,22 @@ import { alertInit } from '../components-v5/alert-native.js'

/*
* Callback Usage Examples
*
* // init all components with valid markup in the #main element
* BSN.Callback('#main',true)
* // remove all components with valid markup in the #main element
* BSN.Callback('#main',false)
* // equivalent to the following
* BSN.Callback('#main')
* // remove all components in the document
* BSN.Callback()
*
*/
export function Callback( lookUp = 0, init = 0 ){
const action = init ? initializeDataAPI : removeElementDataAPI
export function initCallback( lookUp ){
lookUp = lookUp instanceof Element ? lookUp : document
for (const component in componentsInit) {
action( init ? componentsInit[component].constructor : component,
lookUp.querySelectorAll( componentsInit[component].selector ) )
for (const comp in componentsInit) {
const { constructor, selector } = componentsInit[comp]
initializeDataAPI( constructor, lookUp.querySelectorAll( selector ) )
}
}
export function removeDataAPI( lookUp ){
lookUp = lookUp instanceof Element ? lookUp : document
for (const comp in componentsInit) {
const { component, selector } = componentsInit[comp]
removeElementDataAPI( component, lookUp.querySelectorAll( selector ) )
}
}
// bulk initialize all components
document.body ? Callback(0,1) :
document.addEventListener( 'DOMContentLoaded', () => Callback(0,1), { once: true })
document.body ? initCallback() :
document.addEventListener( 'DOMContentLoaded', () => initCallback(), { once: true })
import queryElement from 'shorter-js/src/misc/queryElement.js'
import normalizeValue from 'shorter-js/src/misc/normalizeValue.js'
import getTargetElement from './getTargetElement.js'
function normalizeValue( value ) {
if ( value === 'true' ) {
return true
}
if ( value === 'false' ) {
return false
}
if ( !isNaN(value) ) {
return +value
}
if ( value === '' || value === 'null' ) {
return null
}
// string / function / Element / Object
return value
}
export default function( element, defaultOptions, inputOptions ) {

@@ -26,0 +6,0 @@ const normalOptions = {}, dataOptions = {},

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc