text: !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){"use strict";(function(e){
  /**!
   * @fileOverview Kickass library to create and place poppers near their reference elements.
   * @version 1.16.1
   * @license
   * Copyright (c) 2016 Federico Zivolo and contributors
   *
   * Permission is hereby granted, free of charge, to any person obtaining a copy
   * of this software and associated documentation files (the "Software"), to deal
   * in the Software without restriction, including without limitation the rights
   * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   * copies of the Software, and to permit persons to whom the Software is
   * furnished to do so, subject to the following conditions:
   *
   * The above copyright notice and this permission notice shall be included in all
   * copies or substantial portions of the Software.
   *
   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
   * SOFTWARE.
   */
  var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function s(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function a(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=s(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:l(a(e))}function f(e){return e&&e.referenceNode?e.referenceNode:e}var c=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function p(e){return 11===e?c:10===e?d:c||d}function u(e){if(!e)return document.documentElement;for(var t=p(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?u(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var s,a,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&u(s.firstElementChild)!==s?u(l):l;var f=h(e);return f.host?m(f.host,t):m(e,h(t).host)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function b(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t,"top"),o=g(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function v(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function w(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],p(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function _(e){var t=e.body,n=e.documentElement,r=p(10)&&getComputedStyle(n);return{height:w("Height",t,n,r),width:w("Width",t,n,r)}}var y=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},E=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),C=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function D(e){return T({},e,{right:e.left+e.width,bottom:e.top+e.height})}function N(e){var t={};try{if(p(10)){t=e.getBoundingClientRect();var n=g(e,"top"),r=g(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?_(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,l=i.height||e.clientHeight||o.height,f=e.offsetWidth-a,c=e.offsetHeight-l;if(f||c){var d=s(e);f-=v(d,"x"),c-=v(d,"y"),o.width-=f,o.height-=c}return D(o)}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=p(10),o="HTML"===t.nodeName,i=N(e),a=N(t),f=l(e),c=s(t),d=parseFloat(c.borderTopWidth),u=parseFloat(c.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=D({top:i.top-a.top-d,left:i.left-a.left-u,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var m=parseFloat(c.marginTop),g=parseFloat(c.marginLeft);h.top-=d-m,h.bottom-=d-m,h.left-=u-g,h.right-=u-g,h.marginTop=m,h.marginLeft=g}return(r&&!n?t.contains(f):t===f&&"BODY"!==f.nodeName)&&(h=b(h,t)),h}function O(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=A(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),s=t?0:g(n),a=t?0:g(n,"left"),l={top:s-r.top+r.marginTop,left:a-r.left+r.marginLeft,width:o,height:i};return D(l)}function x(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===s(e,"position"))return!0;var n=a(e);return!!n&&x(n)}function I(e){if(!e||!e.parentElement||p())return document.documentElement;for(var t=e.parentElement;t&&"none"===s(t,"transform");)t=t.parentElement;return t||document.documentElement}function S(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=o?I(e):m(e,f(t));if("viewport"===r)i=O(s,o);else{var c=void 0;"scrollParent"===r?"BODY"===(c=l(a(t))).nodeName&&(c=e.ownerDocument.documentElement):c="window"===r?e.ownerDocument.documentElement:r;var d=A(c,s,o);if("HTML"!==c.nodeName||x(s))i=d;else{var p=_(e.ownerDocument),u=p.height,h=p.width;i.top+=d.top-d.marginTop,i.bottom=u+d.top,i.left+=d.left-d.marginLeft,i.right=h+d.left}}var g="number"==typeof(n=n||0);return i.left+=g?n:n.left||0,i.top+=g?n:n.top||0,i.right-=g?n:n.right||0,i.bottom-=g?n:n.bottom||0,i}function P(e){return e.width*e.height}function L(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var s=S(n,r,i,o),a={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},l=Object.keys(a).map((function(e){return T({key:e},a[e],{area:P(a[e])})})).sort((function(e,t){return t.area-e.area})),f=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),c=f.length>0?f[0].key:l[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function j(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?I(t):m(t,f(n));return A(n,o,r)}function H(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function F(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function k(e,t,n){n=n.split("-")[0];var r=H(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),s=i?"top":"left",a=i?"left":"top",l=i?"height":"width",f=i?"width":"height";return o[s]=t[s]+t[l]/2-r[l]/2,o[a]=n===a?t[a]-r[f]:t[F(a)],o}function M(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function W(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=M(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=D(t.offsets.popper),t.offsets.reference=D(t.offsets.reference),t=n(t,e))})),t}function R(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=j(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=L(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=k(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=W(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function B(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function q(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function Q(){return this.state.isDestroyed=!0,B(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[q("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function U(e){var t=e.ownerDocument;return t?t.defaultView:window}function K(e,t,n,r){n.updateBound=r,U(e).addEventListener("resize",n.updateBound,{passive:!0});var o=l(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,s=i?t.ownerDocument.defaultView:t;s.addEventListener(n,r,{passive:!0}),i||e(l(s.parentNode),n,r,o),o.push(s)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function $(){this.state.eventsEnabled||(this.state=K(this.reference,this.options,this.state,this.scheduleUpdate))}function V(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,U(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Y(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function z(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Y(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var G=n&&/Firefox/i.test(navigator.userAgent);function J(e,t,n){var r=M(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var X=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Z=X.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(e),r=Z.slice(n+1).concat(Z.slice(0,n));return t?r.reverse():r}var te="flip",ne="clockwise",re="counterclockwise";function oe(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),s=e.split(/(\+|\-)/).map((function(e){return e.trim()})),a=s.indexOf(M(s,(function(e){return-1!==e.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,f=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(f=f.map((function(e,r){var o=(1===r?!i:i)?"height":"width",s=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return e;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=r}return D(a)[t]/100*i}if("vh"===s||"vw"===s){return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){Y(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",f=a?"width":"height",c={start:C({},l,i[l]),end:C({},l,i[l]+i[f]-s[f])};e.offsets.popper=T({},s,c[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,s=o.reference,a=r.split("-")[0],l=void 0;return l=Y(+n)?[+n,0]:oe(n,i,s,a),"left"===a?(i.top+=l[0],i.left-=l[1]):"right"===a?(i.top+=l[0],i.left+=l[1]):"top"===a?(i.left+=l[0],i.top-=l[1]):"bottom"===a&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||u(e.instance.popper);e.instance.reference===n&&(n=u(n));var r=q("transform"),o=e.instance.popper.style,i=o.top,s=o.left,a=o[r];o.top="",o.left="",o[r]="";var l=S(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=s,o[r]=a,t.boundaries=l;var f=t.priority,c=e.offsets.popper,d={primary:function(e){var n=c[e];return c[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(c[e],l[e])),C({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=c[n];return c[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(c[n],l[e]-("right"===e?c.width:c.height))),C({},n,r)}};return f.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=T({},c,d[t](e))})),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",f=s?"width":"height";return n[a]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[f]),n[l]>i(r[a])&&(e.offsets.popper[l]=i(r[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!J(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,l=i.reference,f=-1!==["left","right"].indexOf(o),c=f?"height":"width",d=f?"Top":"Left",p=d.toLowerCase(),u=f?"left":"top",h=f?"bottom":"right",m=H(r)[c];l[h]-m<a[p]&&(e.offsets.popper[p]-=a[p]-(l[h]-m)),l[p]+m>a[h]&&(e.offsets.popper[p]+=l[p]+m-a[h]),e.offsets.popper=D(e.offsets.popper);var g=l[p]+l[c]/2-m/2,b=s(e.instance.popper),v=parseFloat(b["margin"+d]),w=parseFloat(b["border"+d+"Width"]),_=g-e.offsets.popper[p]-v-w;return _=Math.max(Math.min(a[c]-m,_),0),e.arrowElement=r,e.offsets.arrow=(C(n={},p,Math.round(_)),C(n,u,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(B(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=S(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=F(r),i=e.placement.split("-")[1]||"",s=[];switch(t.behavior){case te:s=[r,o];break;case ne:s=ee(r);break;case re:s=ee(r,!0);break;default:s=t.behavior}return s.forEach((function(a,l){if(r!==a||s.length===l+1)return e;r=e.placement.split("-")[0],o=F(r);var f=e.offsets.popper,c=e.offsets.reference,d=Math.floor,p="left"===r&&d(f.right)>d(c.left)||"right"===r&&d(f.left)<d(c.right)||"top"===r&&d(f.bottom)>d(c.top)||"bottom"===r&&d(f.top)<d(c.bottom),u=d(f.left)<d(n.left),h=d(f.right)>d(n.right),m=d(f.top)<d(n.top),g=d(f.bottom)>d(n.bottom),b="left"===r&&u||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,v=-1!==["top","bottom"].indexOf(r),w=!!t.flipVariations&&(v&&"start"===i&&u||v&&"end"===i&&h||!v&&"start"===i&&m||!v&&"end"===i&&g),_=!!t.flipVariationsByContent&&(v&&"start"===i&&h||v&&"end"===i&&u||!v&&"start"===i&&g||!v&&"end"===i&&m),y=w||_;(p||b||y)&&(e.flipped=!0,(p||b)&&(r=s[l+1]),y&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=T({},e.offsets.popper,k(e.instance.popper,e.offsets.reference,e.placement)),e=W(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=i[n]-(a?o[s?"width":"height"]:0),e.placement=F(t),e.offsets.popper=D(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!J(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=M(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=M(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:t.gpuAcceleration,a=u(e.instance.popper),l=N(a),f={position:o.position},c=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,s=Math.floor,a=function(e){return e},l=i(o.width),f=i(r.width),c=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=t?c||d||l%2==f%2?i:s:a,u=t?i:a;return{left:p(l%2==1&&f%2==1&&!d&&t?r.left-1:r.left),top:u(r.top),bottom:u(r.bottom),right:p(r.right)}}(e,window.devicePixelRatio<2||!G),d="bottom"===n?"top":"bottom",p="right"===r?"left":"right",h=q("transform"),m=void 0,g=void 0;if(g="bottom"===d?"HTML"===a.nodeName?-a.clientHeight+c.bottom:-l.height+c.bottom:c.top,m="right"===p?"HTML"===a.nodeName?-a.clientWidth+c.right:-l.width+c.right:c.left,s&&h)f[h]="translate3d("+m+"px, "+g+"px, 0)",f[d]=0,f[p]=0,f.willChange="transform";else{var b="bottom"===d?-1:1,v="right"===p?-1:1;f[d]=g*b,f[p]=m*v,f.willChange=d+", "+p}var w={"x-placement":e.placement};return e.attributes=T({},w,e.attributes),e.styles=T({},f,e.styles),e.arrowStyles=T({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return z(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&z(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=j(o,t,e,n.positionFixed),s=L(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",s),z(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},se=function(){function e(t,n){var r=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};y(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=T({},e.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(T({},e.Defaults.modifiers,s.modifiers)).forEach((function(t){r.options.modifiers[t]=T({},e.Defaults.modifiers[t]||{},s.modifiers?s.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return T({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return E(e,[{key:"update",value:function(){return R.call(this)}},{key:"destroy",value:function(){return Q.call(this)}},{key:"enableEventListeners",value:function(){return $.call(this)}},{key:"disableEventListeners",value:function(){return V.call(this)}}]),e}();se.Utils=("undefined"!=typeof window?window:e).PopperUtils,se.placements=X,se.Defaults=ie,t.a=se}).call(this,n(2))},function(e,t,n){n(5),n(3),e.exports=n(4)},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){!function(e){"use strict";var t=function(t){this.element=e(t)};function n(n){return this.each((function(){var r=e(this),o=r.data("bs.tab");o||r.data("bs.tab",o=new t(this)),"string"==typeof n&&o[n]()}))}t.VERSION="3.4.1",t.TRANSITION_DURATION=150,t.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.data("target");if(r||(r=(r=t.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var o=n.find(".active:last a"),i=e.Event("hide.bs.tab",{relatedTarget:t[0]}),s=e.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(i),t.trigger(s),!s.isDefaultPrevented()&&!i.isDefaultPrevented()){var a=e(document).find(r);this.activate(t.closest("li"),n),this.activate(a,a.parent(),(function(){o.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:o[0]})}))}}},t.prototype.activate=function(n,r,o){var i=r.find("> .active"),s=o&&e.support.transition&&(i.length&&i.hasClass("fade")||!!r.find("> .fade").length);function a(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}i.length&&s?i.one("bsTransitionEnd",a).emulateTransitionEnd(t.TRANSITION_DURATION):a(),i.removeClass("in")};var r=e.fn.tab;e.fn.tab=n,e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=r,this};var o=function(t){t.preventDefault(),n.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery)},function(e,t){window.BS3_COMPAT=!0,function(e){if(e.fn.tab.Constructor.VERSION.match(/^3\./)){var t=e.fn.tab.noConflict();if(e.fn.tab.Constructor.VERSION.match(/^4\./)){var n=e.fn.tab.noConflict();e(document).off("click.bs.tab.data-api"),e(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',(function(t){t.preventDefault(),e(this).tab("show")}));var r=e.fn.tab;e.fn.tab=o,e.fn.tab.Constructor=n.Constructor,e.fn.tab.noConflict=function(){return e.fn.tab=r,o}}else(console.warn||console.error||console.log)("bs3compat.js couldn't find bs4 tab impl; bs3 tabs will not be properly supported")}else(console.warn||console.error||console.log)("bs3compat.js couldn't find bs3 tab impl; bs3 tabs will not be properly supported");function o(r){0===e(this).closest(".nav").find(".nav-item, .nav-link").length?t.call(e(this),r):n.call(e(this),r)}}(jQuery),function(e){if(e.fn.dropdown.Constructor.prototype._detectNavbar){var t=e.fn.dropdown.Constructor.prototype._detectNavbar;e.fn.dropdown.Constructor.prototype._detectNavbar=function(){return t.apply(this,this.arguments)&&!(e(this._element).closest(".navbar").filter(".navbar-fixed-bottom, .fixed-bottom").length>0)}}else(console.warn||console.error||console.log)("bs3compat.js couldn't detect the dropdown plugin's _detectNavbar method")}(jQuery)},function(e,t,n){"use strict";n.r(t);var r=window.jQuery;function o(e){let t=!1;return r(this).one(i.TRANSITION_END,()=>{t=!0}),setTimeout(()=>{t||i.triggerTransitionEnd(this)},e),this}const i={TRANSITION_END:"bsTransitionEnd",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=r(e).css("transition-duration"),n=r(e).css("transition-delay");const o=parseFloat(t),i=parseFloat(n);return o||i?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){r(e).trigger("transitionend")},supportsTransitionEnd:()=>Boolean("transitionend"),isElement:e=>(e[0]||e).nodeType,typeCheckConfig(e,t,n){for(const o in n)if(Object.prototype.hasOwnProperty.call(n,o)){const s=n[o],a=t[o],l=a&&i.isElement(a)?"element":(r=a,{}.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(s).test(l))throw new Error(`${e.toUpperCase()}: `+`Option "${o}" provided type "${l}" `+`but expected type "${s}".`)}var r},findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?i.findShadowRoot(e.parentNode):null},jQueryDetection(){if(void 0===r)throw new TypeError("rstrap's JavaScript requires jQuery. jQuery must be included before rstrap's JavaScript.");const e=r.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error("rstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};i.jQueryDetection(),r.fn.emulateTransitionEnd=o,r.event.special[i.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle(e){if(r(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var s=i;const a="collapse",l="bs.collapse",f=r.fn[a],c={toggle:!0,parent:""},d={toggle:"boolean",parent:"(string|element)"},p={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},u="show",h="collapse",m="collapsing",g="collapsed",b="width",v="height",w=".show, .collapsing",_='[data-toggle="collapse"]';class y{constructor(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll(`[data-toggle="collapse"][href="#${e.id}"],`+`[data-toggle="collapse"][data-target="#${e.id}"]`));const n=[].slice.call(document.querySelectorAll(_));for(let t=0,r=n.length;t<r;t++){const r=n[t],o=s.getSelectorFromElement(r),i=[].slice.call(document.querySelectorAll(o)).filter(t=>t===e);null!==o&&i.length>0&&(this._selector=o,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}static get VERSION(){return"4.4.1"}static get Default(){return c}toggle(){r(this._element).hasClass(u)?this.hide():this.show()}show(){if(this._isTransitioning||r(this._element).hasClass(u))return;let e,t;if(this._parent&&(e=[].slice.call(this._parent.querySelectorAll(w)).filter(e=>"string"==typeof this._config.parent?e.getAttribute("data-parent")===this._config.parent:e.classList.contains(h)),0===e.length&&(e=null)),e&&(t=r(e).not(this._selector).data(l),t&&t._isTransitioning))return;const n=r.Event(p.SHOW);if(r(this._element).trigger(n),n.isDefaultPrevented())return;e&&(y._jQueryInterface.call(r(e).not(this._selector),"hide"),t||r(e).data(l,null));const o=this._getDimension();r(this._element).removeClass(h).addClass(m),this._element.style[o]=0,this._triggerArray.length&&r(this._triggerArray).removeClass(g).attr("aria-expanded",!0),this.setTransitioning(!0);const i=`scroll${o[0].toUpperCase()+o.slice(1)}`,a=s.getTransitionDurationFromElement(this._element);r(this._element).one(s.TRANSITION_END,()=>{r(this._element).removeClass(m).addClass(h).addClass(u),this._element.style[o]="",this.setTransitioning(!1),r(this._element).trigger(p.SHOWN)}).emulateTransitionEnd(a),this._element.style[o]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!r(this._element).hasClass(u))return;const e=r.Event(p.HIDE);if(r(this._element).trigger(e),e.isDefaultPrevented())return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,s.reflow(this._element),r(this._element).addClass(m).removeClass(h).removeClass(u);const n=this._triggerArray.length;if(n>0)for(let e=0;e<n;e++){const t=this._triggerArray[e],n=s.getSelectorFromElement(t);if(null!==n){r([].slice.call(document.querySelectorAll(n))).hasClass(u)||r(t).addClass(g).attr("aria-expanded",!1)}}this.setTransitioning(!0);this._element.style[t]="";const o=s.getTransitionDurationFromElement(this._element);r(this._element).one(s.TRANSITION_END,()=>{this.setTransitioning(!1),r(this._element).removeClass(m).addClass(h).trigger(p.HIDDEN)}).emulateTransitionEnd(o)}setTransitioning(e){this._isTransitioning=e}dispose(){r.removeData(this._element,l),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null}_getConfig(e){return(e={...c,...e}).toggle=Boolean(e.toggle),s.typeCheckConfig(a,e,d),e}_getDimension(){return r(this._element).hasClass(b)?b:v}_getParent(){let e;s.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);const t=`[data-toggle="collapse"][data-parent="${this._config.parent}"]`,n=[].slice.call(e.querySelectorAll(t));return r(n).each((e,t)=>{this._addAriaAndCollapsedClass(y._getTargetFromElement(t),[t])}),e}_addAriaAndCollapsedClass(e,t){const n=r(e).hasClass(u);t.length&&r(t).toggleClass(g,!n).attr("aria-expanded",n)}static _getTargetFromElement(e){const t=s.getSelectorFromElement(e);return t?document.querySelector(t):null}static _jQueryInterface(e){return this.each((function(){const t=r(this);let n=t.data(l);const o={...c,...t.data(),..."object"==typeof e&&e?e:{}};if(!n&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),n||(n=new y(this,o),t.data(l,n)),"string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}r(document).on(p.CLICK_DATA_API,_,(function(e){"A"===e.currentTarget.tagName&&e.preventDefault();const t=r(this),n=s.getSelectorFromElement(this),o=[].slice.call(document.querySelectorAll(n));r(o).each((function(){const e=r(this),n=e.data(l)?"toggle":t.data();y._jQueryInterface.call(e,n)}))})),r.fn[a]=y._jQueryInterface,r.fn[a].Constructor=y,r.fn[a].noConflict=()=>(r.fn[a]=f,y._jQueryInterface);var E=y,C=n(0);const T=r.fn.dropdown,D=new RegExp("38|40|27"),N={HIDE:"hide.bs.dropdown",HIDDEN:"hidden.bs.dropdown",SHOW:"show.bs.dropdown",SHOWN:"shown.bs.dropdown",CLICK:"click.bs.dropdown",CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},A="disabled",O="show",x="dropup",I="dropright",S="dropleft",P="dropdown-menu-right",L="position-static",j='[data-toggle="dropdown"]',H=".dropdown form",F=".dropdown-menu",k=".navbar-nav",M=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",W="top-start",R="top-end",B="bottom-start",q="bottom-end",Q="right-start",U="left-start",K={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},$={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"};class V{constructor(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}static get VERSION(){return"4.4.1"}static get Default(){return K}static get DefaultType(){return $}toggle(){if(this._element.disabled||r(this._element).hasClass(A))return;const e=r(this._menu).hasClass(O);V._clearMenus(),e||this.show(!0)}show(e=!1){if(this._element.disabled||r(this._element).hasClass(A)||r(this._menu).hasClass(O))return;const t={relatedTarget:this._element},n=r.Event(N.SHOW,t),o=V._getParentFromElement(this._element);if(r(o).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar&&e){if(void 0===C.a)throw new TypeError("rstrap's dropdowns require Popper.js (https://popper.js.org/)");let e=this._element;"parent"===this._config.reference?e=o:s.isElement(this._config.reference)&&(e=this._config.reference,void 0!==this._config.reference.jquery&&(e=this._config.reference[0])),"scrollParent"!==this._config.boundary&&r(o).addClass(L),this._popper=new C.a(e,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===r(o).closest(k).length&&r(document.body).children().on("mouseover",null,r.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),r(this._menu).toggleClass(O),r(o).toggleClass(O).trigger(r.Event(N.SHOWN,t))}}hide(){if(this._element.disabled||r(this._element).hasClass(A)||!r(this._menu).hasClass(O))return;const e={relatedTarget:this._element},t=r.Event(N.HIDE,e),n=V._getParentFromElement(this._element);r(n).trigger(t),t.isDefaultPrevented()||(this._popper&&this._popper.destroy(),r(this._menu).toggleClass(O),r(n).toggleClass(O).trigger(r.Event(N.HIDDEN,e)))}dispose(){r.removeData(this._element,"bs.dropdown"),r(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)}update(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()}_addEventListeners(){r(this._element).on(N.CLICK,e=>{e.preventDefault(),e.stopPropagation(),this.toggle()})}_getConfig(e){return e={...this.constructor.Default,...r(this._element).data(),...e},s.typeCheckConfig("dropdown",e,this.constructor.DefaultType),e}_getMenuElement(){if(!this._menu){const e=V._getParentFromElement(this._element);e&&(this._menu=e.querySelector(F))}return this._menu}_getPlacement(){const e=r(this._element.parentNode);let t=B;return e.hasClass(x)?(t=W,r(this._menu).hasClass(P)&&(t=R)):e.hasClass(I)?t=Q:e.hasClass(S)?t=U:r(this._menu).hasClass(P)&&(t=q),t}_detectNavbar(){return r(this._element).closest(".navbar").length>0}_getOffset(){const e={};return"function"==typeof this._config.offset?e.fn=e=>(e.offsets={...e.offsets,...this._config.offset(e.offsets,this._element)||{}},e):e.offset=this._config.offset,e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),{...e,...this._config.popperConfig}}static _jQueryInterface(e){return this.each((function(){let t=r(this).data("bs.dropdown");if(t||(t=new V(this,"object"==typeof e?e:null),r(this).data("bs.dropdown",t)),"string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static _clearMenus(e){if(e&&(3===e.which||"keyup"===e.type&&9!==e.which))return;const t=[].slice.call(document.querySelectorAll(j));for(let n=0,o=t.length;n<o;n++){const o=V._getParentFromElement(t[n]),i=r(t[n]).data("bs.dropdown"),s={relatedTarget:t[n]};if(e&&"click"===e.type&&(s.clickEvent=e),!i)continue;const a=i._menu;if(!r(o).hasClass(O))continue;if(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&r.contains(o,e.target))continue;const l=r.Event(N.HIDE,s);r(o).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&r(document.body).children().off("mouseover",null,r.noop),t[n].setAttribute("aria-expanded","false"),i._popper&&i._popper.destroy(),r(a).removeClass(O),r(o).removeClass(O).trigger(r.Event(N.HIDDEN,s)))}}static _getParentFromElement(e){let t;const n=s.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode}static _dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||r(e.target).closest(F).length):!D.test(e.which))return;if(e.preventDefault(),e.stopPropagation(),this.disabled||r(this).hasClass(A))return;const t=V._getParentFromElement(this),n=r(t).hasClass(O);if(!n&&27===e.which)return;if(!n||n&&(27===e.which||32===e.which)){if(27===e.which){const e=t.querySelector(j);r(e).trigger("focus")}return void r(this).trigger("click")}const o=[].slice.call(t.querySelectorAll(M)).filter(e=>r(e).is(":visible"));if(0===o.length)return;let i=o.indexOf(e.target);38===e.which&&i>0&&i--,40===e.which&&i<o.length-1&&i++,i<0&&(i=0),o[i].focus()}}r(document).on(N.KEYDOWN_DATA_API,j,V._dataApiKeydownHandler).on(N.KEYDOWN_DATA_API,F,V._dataApiKeydownHandler).on(`${N.CLICK_DATA_API} ${N.KEYUP_DATA_API}`,V._clearMenus).on(N.CLICK_DATA_API,j,(function(e){e.preventDefault(),e.stopPropagation(),V._jQueryInterface.call(r(this),"toggle")})).on(N.CLICK_DATA_API,H,e=>{e.stopPropagation()}),r.fn.dropdown=V._jQueryInterface,r.fn.dropdown.Constructor=V,r.fn.dropdown.noConflict=()=>(r.fn.dropdown=T,V._jQueryInterface);var Y=V;const z=r.fn.tab,G={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},J="dropdown-menu",X="active",Z="disabled",ee="fade",te="show",ne=".dropdown",re=".nav, .list-group",oe=".active",ie="> li > .active",se='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',ae=".dropdown-toggle",le="> .dropdown-menu .active";class fe{constructor(e){this._element=e}static get VERSION(){return"4.4.1"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&r(this._element).hasClass(X)||r(this._element).hasClass(Z))return;let e,t;const n=r(this._element).closest(re)[0],o=s.getSelectorFromElement(this._element);if(n){const e="UL"===n.nodeName||"OL"===n.nodeName?ie:oe;t=r.makeArray(r(n).find(e)),t=t[t.length-1]}const i=r.Event(G.HIDE,{relatedTarget:this._element}),a=r.Event(G.SHOW,{relatedTarget:t});if(t&&r(t).trigger(i),r(this._element).trigger(a),a.isDefaultPrevented()||i.isDefaultPrevented())return;o&&(e=document.querySelector(o)),this._activate(this._element,n);const l=()=>{const e=r.Event(G.HIDDEN,{relatedTarget:this._element}),n=r.Event(G.SHOWN,{relatedTarget:t});r(t).trigger(e),r(this._element).trigger(n)};e?this._activate(e,e.parentNode,l):l()}dispose(){r.removeData(this._element,"bs.tab"),this._element=null}_activate(e,t,n){const o=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?r(t).children(oe):r(t).find(ie))[0],i=n&&o&&r(o).hasClass(ee),a=()=>this._transitionComplete(e,o,n);if(o&&i){const e=s.getTransitionDurationFromElement(o);r(o).removeClass(te).one(s.TRANSITION_END,a).emulateTransitionEnd(e)}else a()}_transitionComplete(e,t,n){if(t){r(t).removeClass(X);const e=r(t.parentNode).find(le)[0];e&&r(e).removeClass(X),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(r(e).addClass(X),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),s.reflow(e),e.classList.contains(ee)&&e.classList.add(te),e.parentNode&&r(e.parentNode).hasClass(J)){const t=r(e).closest(ne)[0];if(t){const e=[].slice.call(t.querySelectorAll(ae));r(e).addClass(X)}e.setAttribute("aria-expanded",!0)}n&&n()}static _jQueryInterface(e){return this.each((function(){const t=r(this);let n=t.data("bs.tab");if(n||(n=new fe(this),t.data("bs.tab",n)),"string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}r(document).on(G.CLICK_DATA_API,se,(function(e){e.preventDefault(),fe._jQueryInterface.call(r(this),"show")})),r.fn.tab=fe._jQueryInterface,r.fn.tab.Constructor=fe,r.fn.tab.noConflict=()=>(r.fn.tab=z,fe._jQueryInterface);var ce=fe;n.d(t,"Util",(function(){return s})),n.d(t,"Collapse",(function(){return E})),n.d(t,"Dropdown",(function(){return Y})),n.d(t,"Tab",(function(){return ce}))}]);