(function(n,t){typeof exports=="object"&&typeof module!="undefined"?t(exports,require("jquery")):typeof define=="function"&&define.amd?define(["exports","jquery"],t):t(n.bootstrap={},n.jQuery)})(this,function(n,t){"use strict";function at(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function f(n,t,i){return t&&at(n.prototype,t),i&&at(n,i),n}function ai(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function r(n){for(var i,r,t=1;t<arguments.length;t++)i=arguments[t]!=null?arguments[t]:{},r=Object.keys(i),typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(n){return Object.getOwnPropertyDescriptor(i,n).enumerable}))),r.forEach(function(t){ai(n,t,i[t])});return n}function vi(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t}function ki(n){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1;n()}))}}function di(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},yt))}}function bt(n){return n&&{}.toString.call(n)==="[object Function]"}function s(n,t){if(n.nodeType!==1)return[];var i=getComputedStyle(n,null);return t?i[t]:i}function tt(n){return n.nodeName==="HTML"?n:n.parentNode||n.host}function v(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=s(n),i=t.overflow,r=t.overflowX,u=t.overflowY;return/(auto|scroll|overlay)/.test(i+u+r)?n:v(tt(n))}function h(n){return n===11?it:n===10?rt:it||rt}function c(n){var r,t,i;if(!n)return document.documentElement;for(r=h(10)?document.body:null,t=n.offsetParent;t===r&&n.nextElementSibling;)t=(n=n.nextElementSibling).offsetParent;return(i=t&&t.nodeName,!i||i==="BODY"||i==="HTML")?n?n.ownerDocument.documentElement:document.documentElement:["TD","TABLE"].indexOf(t.nodeName)!==-1&&s(t,"position")==="static"?c(t):t}function gi(n){var t=n.nodeName;return t==="BODY"?!1:t==="HTML"||c(n.firstElementChild)===n}function ut(n){return n.parentNode!==null?ut(n.parentNode):n}function b(n,t){var i,u;if(!n||!n.nodeType||!t||!t.nodeType)return document.documentElement;var f=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,e=f?n:t,o=f?t:n,r=document.createRange();return(r.setStart(e,0),r.setEnd(o,0),i=r.commonAncestorContainer,n!==i&&t!==i||e.contains(o))?gi(i)?i:c(i):(u=ut(n),u.host?b(u.host,t):b(n,ut(t).host))}function l(n){var f=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"top",t=f==="top"?"scrollTop":"scrollLeft",i=n.nodeName,r,u;return i==="BODY"||i==="HTML"?(r=n.ownerDocument.documentElement,u=n.ownerDocument.scrollingElement||r,u[t]):n[t]}function nr(n,t){var f=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1,r=l(t,"top"),u=l(t,"left"),i=f?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}function kt(n,t){var i=t==="x"?"Left":"Top",r=i==="Left"?"Right":"Bottom";return parseFloat(n["border"+i+"Width"],10)+parseFloat(n["border"+r+"Width"],10)}function dt(n,t,i,r){return Math.max(t["offset"+n],t["scroll"+n],i["client"+n],i["offset"+n],i["scroll"+n],h(10)?i["offset"+n]+r["margin"+(n==="Height"?"Top":"Left")]+r["margin"+(n==="Height"?"Bottom":"Right")]:0)}function gt(){var t=document.body,n=document.documentElement,i=h(10)&&getComputedStyle(n);return{height:dt("Height",t,n,i),width:dt("Width",t,n,i)}}function o(n){return u({},n,{right:n.left+n.width,bottom:n.top+n.height})}function ft(n){var t={},r,u,c;try{h(10)?(t=n.getBoundingClientRect(),r=l(n,"top"),u=l(n,"left"),t.top+=r,t.left+=u,t.bottom+=r,t.right+=u):t=n.getBoundingClientRect()}catch(p){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a=n.nodeName==="HTML"?gt():{},v=a.width||n.clientWidth||i.right-i.left,y=a.height||n.clientHeight||i.bottom-i.top,f=n.offsetWidth-v,e=n.offsetHeight-y;return(f||e)&&(c=s(n),f-=kt(c,"x"),e-=kt(c,"y"),i.width-=f,i.height-=e),o(i)}function et(n,t){var p=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1,w=h(10),b=t.nodeName==="HTML",u=ft(n),r=ft(t),l=v(n),f=s(t),a=parseFloat(f.borderTopWidth,10),y=parseFloat(f.borderLeftWidth,10),i,e,c;return p&&t.nodeName==="HTML"&&(r.top=Math.max(r.top,0),r.left=Math.max(r.left,0)),i=o({top:u.top-r.top-a,left:u.left-r.left-y,width:u.width,height:u.height}),i.marginTop=0,i.marginLeft=0,!w&&b&&(e=parseFloat(f.marginTop,10),c=parseFloat(f.marginLeft,10),i.top-=a-e,i.bottom-=a-e,i.left-=y-c,i.right-=y-c,i.marginTop=e,i.marginLeft=c),(w&&!p?t.contains(l):t===l&&l.nodeName!=="BODY")&&(i=nr(i,t)),i}function rr(n){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1,t=n.ownerDocument.documentElement,i=et(n,t),u=Math.max(t.clientWidth,window.innerWidth||0),f=Math.max(t.clientHeight,window.innerHeight||0),e=r?0:l(t),s=r?0:l(t,"left"),h={top:e-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:u,height:f};return o(h)}function ni(n){var t=n.nodeName;return t==="BODY"||t==="HTML"?!1:s(n,"position")==="fixed"?!0:ni(tt(n))}function ti(n){if(!n||!n.parentElement||h())return document.documentElement;for(var t=n.parentElement;t&&s(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function ot(n,t,i,r){var o=arguments.length>4&&arguments[4]!==undefined?arguments[4]:!1,u={top:0,left:0},s=o?ti(n):b(n,t),e,f;if(r==="viewport")u=rr(s,o);else if(e=void 0,r==="scrollParent"?(e=v(tt(t)),e.nodeName==="BODY"&&(e=n.ownerDocument.documentElement)):e=r==="window"?n.ownerDocument.documentElement:r,f=et(e,s,o),e.nodeName!=="HTML"||ni(s))u=f;else{var h=gt(),c=h.height,l=h.width;u.top+=f.top-f.marginTop;u.bottom=c+f.top;u.left+=f.left-f.marginLeft;u.right=l+f.left}return u.left+=i,u.top+=i,u.right-=i,u.bottom-=i,u}function ur(n){var t=n.width,i=n.height;return t*i}function ii(n,t,i,r,f){var l=arguments.length>5&&arguments[5]!==undefined?arguments[5]:0;if(n.indexOf("auto")===-1)return n;var e=ot(i,r,l,f),o={top:{width:e.width,height:t.top-e.top},right:{width:e.right-t.right,height:e.height},bottom:{width:e.width,height:e.bottom-t.bottom},left:{width:t.left-e.left,height:e.height}},s=Object.keys(o).map(function(n){return u({key:n},o[n],{area:ur(o[n])})}).sort(function(n,t){return t.area-n.area}),h=s.filter(function(n){var t=n.width,r=n.height;return t>=i.clientWidth&&r>=i.clientHeight}),a=h.length>0?h[0].key:s[0].key,c=n.split("-")[1];return a+(c?"-"+c:"")}function ri(n,t,i){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null,u=r?ti(t):b(t,i);return et(i,u,r)}function ui(n){var t=getComputedStyle(n),i=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:n.offsetWidth+r,height:n.offsetHeight+i}}function k(n){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(n){return t[n]})}function fi(n,t,i){i=i.split("-")[0];var r=ui(n),e={width:r.width,height:r.height},u=["right","left"].indexOf(i)!==-1,o=u?"top":"left",f=u?"left":"top",s=u?"height":"width",h=u?"width":"height";return e[o]=t[o]+t[s]/2-r[s]/2,e[f]=i===f?t[f]-r[h]:t[k(f)],e}function y(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function fr(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=y(n,function(n){return n[t]===i});return n.indexOf(r)}function ei(n,t,i){var r=i===undefined?n:n.slice(0,fr(n,"name",i));return r.forEach(function(n){n["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=n["function"]||n.fn;n.enabled&&bt(i)&&(t.offsets.popper=o(t.offsets.popper),t.offsets.reference=o(t.offsets.reference),t=i(t,n))}),t}function er(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};if(n.offsets.reference=ri(this.state,this.popper,this.reference,this.options.positionFixed),n.placement=ii(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),n.originalPlacement=n.placement,n.positionFixed=this.options.positionFixed,n.offsets.popper=fi(this.popper,n.offsets.reference,n.placement),n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",n=ei(this.modifiers,n),this.state.isCreated)this.options.onUpdate(n);else{this.state.isCreated=!0;this.options.onCreate(n)}}}function oi(n,t){return n.some(function(n){var i=n.name,r=n.enabled;return r&&i===t})}function st(n){for(var i,r,u=[!1,"ms","Webkit","Moz","O"],f=n.charAt(0).toUpperCase()+n.slice(1),t=0;t<u.length;t++)if(i=u[t],r=i?""+i+f:n,typeof document.body.style[r]!="undefined")return r;return null}function or(){return this.state.isDestroyed=!0,oi(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[st("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function si(n){var t=n.ownerDocument;return t?t.defaultView:window}function hi(n,t,i,r){var f=n.nodeName==="BODY",u=f?n.ownerDocument.defaultView:n;u.addEventListener(t,i,{passive:!0});f||hi(v(u.parentNode),t,i,r);r.push(u)}function sr(n,t,i,r){i.updateBound=r;si(n).addEventListener("resize",i.updateBound,{passive:!0});var u=v(n);return hi(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function hr(){this.state.eventsEnabled||(this.state=sr(this.reference,this.options,this.state,this.scheduleUpdate))}function cr(n,t){return si(n).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(n){n.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function lr(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=cr(this.reference,this.state))}function ht(n){return n!==""&&!isNaN(parseFloat(n))&&isFinite(n)}function ct(n,t){Object.keys(t).forEach(function(i){var r="";["width","height","top","right","bottom","left"].indexOf(i)!==-1&&ht(t[i])&&(r="px");n.style[i]=t[i]+r})}function ar(n,t){Object.keys(t).forEach(function(i){var r=t[i];r!==!1?n.setAttribute(i,t[i]):n.removeAttribute(i)})}function vr(n){return ct(n.instance.popper,n.styles),ar(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&ct(n.arrowElement,n.arrowStyles),n}function yr(n,t,i,r,u){var f=ri(u,t,n,i.positionFixed),e=ii(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),ct(t,{position:i.positionFixed?"fixed":"absolute"}),i}function pr(n,t){var k=t.x,d=t.y,r=n.offsets.popper,s=y(n.instance.modifiers,function(n){return n.name==="applyStyle"}).gpuAcceleration,p,w,b;s!==undefined&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var g=s!==undefined?s:t.gpuAcceleration,nt=c(n.instance.popper),a=ft(nt),i={position:r.position},o={left:Math.floor(r.left),top:Math.round(r.top),bottom:Math.round(r.bottom),right:Math.floor(r.right)},f=k==="bottom"?"top":"bottom",e=d==="right"?"left":"right",v=st("transform"),h=void 0,l=void 0;return l=f==="bottom"?-a.height+o.bottom:o.top,h=e==="right"?-a.width+o.right:o.left,g&&v?(i[v]="translate3d("+h+"px, "+l+"px, 0)",i[f]=0,i[e]=0,i.willChange="transform"):(p=f==="bottom"?-1:1,w=e==="right"?-1:1,i[f]=l*p,i[e]=h*w,i.willChange=f+", "+e),b={"x-placement":n.placement},n.attributes=u({},b,n.attributes),n.styles=u({},i,n.styles),n.arrowStyles=u({},n.offsets.arrow,n.arrowStyles),n}function ci(n,t,i){var u=y(n,function(n){var i=n.name;return i===t}),f=!!u&&n.some(function(n){return n.name===i&&n.enabled&&n.order<u.order}),r,e;return f||(r="`"+t+"`",e="`"+i+"`",console.warn(e+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),f}function wr(n,t){var h,r;if(!ci(n.instance.modifiers,"arrow","keepTogether"))return n;if(r=t.element,typeof r=="string"){if(r=n.instance.popper.querySelector(r),!r)return n}else if(!n.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var k=n.placement.split("-")[0],w=n.offsets,e=w.popper,u=w.reference,c=["left","right"].indexOf(k)!==-1,v=c?"height":"width",y=c?"Top":"Left",i=y.toLowerCase(),d=c?"left":"top",l=c?"bottom":"right",f=ui(r)[v];u[l]-f<e[i]&&(n.offsets.popper[i]-=e[i]-(u[l]-f));u[i]+f>e[l]&&(n.offsets.popper[i]+=u[i]+f-e[l]);n.offsets.popper=o(n.offsets.popper);var g=u[i]+u[v]/2-f/2,b=s(n.instance.popper),nt=parseFloat(b["margin"+y],10),tt=parseFloat(b["border"+y+"Width"],10),p=g-n.offsets.popper[i]-nt-tt;return p=Math.max(Math.min(e[v]-f,p),0),n.arrowElement=r,n.offsets.arrow=(h={},a(h,i,Math.round(p)),a(h,d,""),h),n}function br(n){return n==="end"?"start":n==="start"?"end":n}function li(n){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1,t=d.indexOf(n),i=d.slice(t+1).concat(d.slice(0,t));return r?i.reverse():i}function kr(n,t){if(oi(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var e=ot(n.instance.popper,n.instance.reference,t.padding,t.boundariesElement,n.positionFixed),i=n.placement.split("-")[0],o=k(i),r=n.placement.split("-")[1]||"",f=[];switch(t.behavior){case g.FLIP:f=[i,o];break;case g.CLOCKWISE:f=li(i);break;case g.COUNTERCLOCKWISE:f=li(i,!0);break;default:f=t.behavior}return f.forEach(function(s,h){if(i!==s||f.length===h+1)return n;i=n.placement.split("-")[0];o=k(i);var l=n.offsets.popper,a=n.offsets.reference,c=Math.floor,y=i==="left"&&c(l.right)>c(a.left)||i==="right"&&c(l.left)<c(a.right)||i==="top"&&c(l.bottom)>c(a.top)||i==="bottom"&&c(l.top)<c(a.bottom),p=c(l.left)<c(e.left),w=c(l.right)>c(e.right),b=c(l.top)<c(e.top),d=c(l.bottom)>c(e.bottom),g=i==="left"&&p||i==="right"&&w||i==="top"&&b||i==="bottom"&&d,v=["top","bottom"].indexOf(i)!==-1,nt=!!t.flipVariations&&(v&&r==="start"&&p||v&&r==="end"&&w||!v&&r==="start"&&b||!v&&r==="end"&&d);(y||g||nt)&&(n.flipped=!0,(y||g)&&(i=f[h+1]),nt&&(r=br(r)),n.placement=i+(r?"-"+r:""),n.offsets.popper=u({},n.offsets.popper,fi(n.instance.popper,n.offsets.reference,n.placement)),n=ei(n.instance.modifiers,n,"flip"))}),n}function dr(n){var o=n.offsets,u=o.popper,i=o.reference,s=n.placement.split("-")[0],r=Math.floor,f=["top","bottom"].indexOf(s)!==-1,e=f?"right":"bottom",t=f?"left":"top",h=f?"width":"height";return u[e]<r(i[t])&&(n.offsets.popper[t]=r(i[t])-u[h]),u[t]>r(i[e])&&(n.offsets.popper[t]=r(i[e])),n}function gr(n,t,i,r){var h=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),f=+h[1],u=h[2],e,c,s;if(!f)return n;if(u.indexOf("%")===0){e=void 0;switch(u){case"%p":e=i;break;case"%":case"%r":default:e=r}return c=o(e),c[t]/100*f}return u==="vh"||u==="vw"?(s=void 0,s=u==="vh"?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0),s/100*f):f}function nu(n,t,i,r){var s=[0,0],h=["right","left"].indexOf(r)!==-1,u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(y(u,function(n){return n.search(/,|\s/)!==-1})),o,e;return u[f]&&u[f].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),o=/\s*,\s*|\s+/,e=f!==-1?[u.slice(0,f).concat([u[f].split(o)[0]]),[u[f].split(o)[1]].concat(u.slice(f+1))]:[u],e=e.map(function(n,r){var f=(r===1?!h:h)?"height":"width",u=!1;return n.reduce(function(n,t){return n[n.length-1]===""&&["+","-"].indexOf(t)!==-1?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return gr(n,f,t,i)})}),e.forEach(function(n,t){n.forEach(function(i,r){ht(i)&&(s[t]+=i*(n[r-1]==="-"?-1:1))})}),s}function tu(n,t){var f=t.offset,o=n.placement,e=n.offsets,i=e.popper,s=e.reference,u=o.split("-")[0],r=void 0;return r=ht(+f)?[+f,0]:nu(f,i,s,u),u==="left"?(i.top+=r[0],i.left-=r[1]):u==="right"?(i.top+=r[0],i.left+=r[1]):u==="top"?(i.left+=r[0],i.top-=r[1]):u==="bottom"&&(i.left+=r[0],i.top+=r[1]),n.popper=i,n}function iu(n,t){var e=t.boundariesElement||c(n.instance.popper),f;n.instance.reference===e&&(e=c(e));var o=st("transform"),r=n.instance.popper.style,s=r.top,h=r.left,l=r[o];r.top="";r.left="";r[o]="";f=ot(n.instance.popper,n.instance.reference,t.padding,e,n.positionFixed);r.top=s;r.left=h;r[o]=l;t.boundaries=f;var v=t.priority,i=n.offsets.popper,y={primary:function(n){var r=i[n];return i[n]<f[n]&&!t.escapeWithReference&&(r=Math.max(i[n],f[n])),a({},n,r)},secondary:function(n){var r=n==="right"?"left":"top",u=i[r];return i[n]>f[n]&&!t.escapeWithReference&&(u=Math.min(i[r],f[n]-(n==="right"?i.width:i.height))),a({},r,u)}};return v.forEach(function(n){var t=["left","top"].indexOf(n)!==-1?"primary":"secondary";i=u({},i,y[t](n))}),n.offsets.popper=i,n}function ru(n){var r=n.placement,c=r.split("-")[0],f=r.split("-")[1];if(f){var e=n.offsets,i=e.reference,o=e.popper,s=["bottom","top"].indexOf(c)!==-1,t=s?"left":"top",h=s?"width":"height",l={start:a({},t,i[t]),end:a({},t,i[t]+i[h]-o[h])};n.offsets.popper=u({},o,l[f])}return n}function uu(n){if(!ci(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=y(n.instance.modifiers,function(n){return n.name==="preventOverflow"}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(n.hide===!0)return n;n.hide=!0;n.attributes["x-out-of-boundaries"]=""}else{if(n.hide===!1)return n;n.hide=!1;n.attributes["x-out-of-boundaries"]=!1}return n}function fu(n){var r=n.placement,t=r.split("-")[0],u=n.offsets,i=u.popper,e=u.reference,f=["left","right"].indexOf(t)!==-1,s=["top","left"].indexOf(t)===-1;return i[f?"left":"top"]=e[t]-(s?i[f?"width":"height"]:0),n.placement=k(r),n.offsets.popper=o(i),n}var w,pt,wt,it,rt,lt,d,g;t=t&&t.hasOwnProperty("default")?t["default"]:t;var i=function(n){function f(n){return{}.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase()}function e(){return{bindType:i,delegateType:i,handle:function(t){return n(t.target).is(this)?t.handleObj.handler.apply(this,arguments):undefined}}}function o(i){var u=this,r=!1;n(this).one(t.TRANSITION_END,function(){r=!0});return setTimeout(function(){r||t.triggerTransitionEnd(u)},i),this}function s(){n.fn.emulateTransitionEnd=o;n.event.special[t.TRANSITION_END]=e()}var i="transitionend",r=1e6,u=1e3,t={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(Math.random()*r);while(document.getElementById(n));return n},getSelectorFromElement:function(n){var t=n.getAttribute("data-target");t&&t!=="#"||(t=n.getAttribute("href")||"");try{return document.querySelector(t)?t:null}catch(i){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var i=n(t).css("transition-duration"),r=parseFloat(i);return r?(i=i.split(",")[0],parseFloat(i)*u):0},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(i)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,i,r){for(var u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var o=r[u],e=i[u],s=e&&t.isElement(e)?"element":f(e);if(!new RegExp(o).test(s))throw new Error(n.toUpperCase()+": "+('Option "'+u+'" provided type "'+s+'" ')+('but expected type "'+o+'".'));}}};return s(),t}(t),yi=function(n){var r="alert",h="4.1.3",u="bs.alert",e="."+u,c=n.fn[r],o={CLOSE:"close"+e,CLOSED:"closed"+e,CLICK_DATA_API:"click"+e+".data-api"},s={ALERT:"alert",FADE:"fade",SHOW:"show"},t=function(){function t(n){this._element=n}var r=t.prototype;return r.close=function(n){var t=this._element,i;(n&&(t=this._getRootElement(n)),i=this._triggerCloseEvent(t),i.isDefaultPrevented())||this._removeElement(t)},r.dispose=function(){n.removeData(this._element,u);this._element=null},r._getRootElement=function(t){var u=i.getSelectorFromElement(t),r=!1;return u&&(r=document.querySelector(u)),r||(r=n(t).closest("."+s.ALERT)[0]),r},r._triggerCloseEvent=function(t){var i=n.Event(o.CLOSE);return n(t).trigger(i),i},r._removeElement=function(t){var u=this,r;if(n(t).removeClass(s.SHOW),!n(t).hasClass(s.FADE)){this._destroyElement(t);return}r=i.getTransitionDurationFromElement(t);n(t).one(i.TRANSITION_END,function(n){return u._destroyElement(t,n)}).emulateTransitionEnd(r)},r._destroyElement=function(t){n(t).detach().trigger(o.CLOSED).remove()},t._jQueryInterface=function(i){return this.each(function(){var f=n(this),r=f.data(u);r||(r=new t(this),f.data(u,r));i==="close"&&r[i](this)})},t._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},f(t,null,[{key:"VERSION",get:function(){return h}}]),t}();n(document).on(o.CLICK_DATA_API,{DISMISS:'[data-dismiss="alert"]'}.DISMISS,t._handleDismiss(new t));return n.fn[r]=t._jQueryInterface,n.fn[r].Constructor=t,n.fn[r].noConflict=function(){return n.fn[r]=c,t._jQueryInterface},t}(t),pi=function(n){var r="button",c="4.1.3",e="bs.button",o="."+e,s=".data-api",l=n.fn[r],t={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},i={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},h={CLICK_DATA_API:"click"+o+s,FOCUS_BLUR_DATA_API:"focus"+o+s+" "+("blur"+o+s)},u=function(){function r(n){this._element=n}var u=r.prototype;return u.toggle=function(){var f=!0,o=!0,u=n(this._element).closest(i.DATA_TOGGLE)[0],r,e;if(u&&(r=this._element.querySelector(i.INPUT),r)){if(r.type==="radio"&&(r.checked&&this._element.classList.contains(t.ACTIVE)?f=!1:(e=u.querySelector(i.ACTIVE),e&&n(e).removeClass(t.ACTIVE))),f){if(r.hasAttribute("disabled")||u.hasAttribute("disabled")||r.classList.contains("disabled")||u.classList.contains("disabled"))return;r.checked=!this._element.classList.contains(t.ACTIVE);n(r).trigger("change")}r.focus();o=!1}o&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(t.ACTIVE));f&&n(this._element).toggleClass(t.ACTIVE)},u.dispose=function(){n.removeData(this._element,e);this._element=null},r._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(e);i||(i=new r(this),n(this).data(e,i));t==="toggle"&&i[t]()})},f(r,null,[{key:"VERSION",get:function(){return c}}]),r}();n(document).on(h.CLICK_DATA_API,i.DATA_TOGGLE_CARROT,function(r){r.preventDefault();var f=r.target;n(f).hasClass(t.BUTTON)||(f=n(f).closest(i.BUTTON));u._jQueryInterface.call(n(f),"toggle")}).on(h.FOCUS_BLUR_DATA_API,i.DATA_TOGGLE_CARROT,function(r){var u=n(r.target).closest(i.BUTTON)[0];n(u).toggleClass(t.FOCUS,/^focus(in)?$/.test(r.type))});return n.fn[r]=u._jQueryInterface,n.fn[r].Constructor=u,n.fn[r].noConflict=function(){return n.fn[r]=l,u._jQueryInterface},u}(t),wi=function(n){var h="carousel",y="4.1.3",l="bs.carousel",e="."+l,v=".data-api",p=n.fn[h],w=37,b=39,k=500,a={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},d={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},u={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},o={SLIDE:"slide"+e,SLID:"slid"+e,KEYDOWN:"keydown"+e,MOUSEENTER:"mouseenter"+e,MOUSELEAVE:"mouseleave"+e,TOUCHEND:"touchend"+e,LOAD_DATA_API:"load"+e+v,CLICK_DATA_API:"click"+e+v},t={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item"},s={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},c=function(){function v(t,i){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this._config=this._getConfig(i);this._element=n(t)[0];this._indicatorsElement=this._element.querySelector(s.INDICATORS);this._addEventListeners()}var c=v.prototype;return c.next=function(){this._isSliding||this._slide(u.NEXT)},c.nextWhenVisible=function(){!document.hidden&&n(this._element).is(":visible")&&n(this._element).css("visibility")!=="hidden"&&this.next()},c.prev=function(){this._isSliding||this._slide(u.PREV)},c.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(s.NEXT_PREV)&&(i.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},c.cycle=function(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},c.to=function(t){var f=this,i,r;if(this._activeElement=this._element.querySelector(s.ACTIVE_ITEM),i=this._getItemIndex(this._activeElement),!(t>this._items.length-1)&&!(t<0)){if(this._isSliding){n(this._element).one(o.SLID,function(){return f.to(t)});return}if(i===t){this.pause();this.cycle();return}r=t>i?u.NEXT:u.PREV;this._slide(r,this._items[t])}},c.dispose=function(){n(this._element).off(e);n.removeData(this._element,l);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},c._getConfig=function(n){return n=r({},a,n),i.typeCheckConfig(h,n,d),n},c._addEventListeners=function(){var t=this;if(this._config.keyboard)n(this._element).on(o.KEYDOWN,function(n){return t._keydown(n)});if(this._config.pause==="hover"){n(this._element).on(o.MOUSEENTER,function(n){return t.pause(n)}).on(o.MOUSELEAVE,function(n){return t.cycle(n)});if("ontouchstart"in document.documentElement)n(this._element).on(o.TOUCHEND,function(){t.pause();t.touchTimeout&&clearTimeout(t.touchTimeout);t.touchTimeout=setTimeout(function(n){return t.cycle(n)},k+t._config.interval)})}},c._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case w:n.preventDefault();this.prev();break;case b:n.preventDefault();this.next()}},c._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(s.ITEM)):[],this._items.indexOf(n)},c._getItemByDirection=function(n,t){var e=n===u.NEXT,o=n===u.PREV,i=this._getItemIndex(t),s=this._items.length-1,h=o&&i===0||e&&i===s,f,r;return h&&!this._config.wrap?t:(f=n===u.PREV?-1:1,r=(i+f)%this._items.length,r===-1?this._items[this._items.length-1]:this._items[r])},c._triggerSlideEvent=function(t,i){var u=this._getItemIndex(t),f=this._getItemIndex(this._element.querySelector(s.ACTIVE_ITEM)),r=n.Event(o.SLIDE,{relatedTarget:t,direction:i,from:f,to:u});return n(this._element).trigger(r),r},c._setActiveIndicatorElement=function(i){var u,r;this._indicatorsElement&&(u=[].slice.call(this._indicatorsElement.querySelectorAll(s.ACTIVE)),n(u).removeClass(t.ACTIVE),r=this._indicatorsElement.children[this._getItemIndex(i)],r&&n(r).addClass(t.ACTIVE))},c._slide=function(r,f){var y=this,h=this._element.querySelector(s.ACTIVE_ITEM),k=this._getItemIndex(h),e=f||h&&this._getItemByDirection(r,h),d=this._getItemIndex(e),p=Boolean(this._interval),c,l,a,w,v,b;if(r===u.NEXT?(c=t.LEFT,l=t.NEXT,a=u.LEFT):(c=t.RIGHT,l=t.PREV,a=u.RIGHT),e&&n(e).hasClass(t.ACTIVE)){this._isSliding=!1;return}(w=this._triggerSlideEvent(e,a),w.isDefaultPrevented())||h&&e&&(this._isSliding=!0,p&&this.pause(),this._setActiveIndicatorElement(e),v=n.Event(o.SLID,{relatedTarget:e,direction:a,from:k,to:d}),n(this._element).hasClass(t.SLIDE)?(n(e).addClass(l),i.reflow(e),n(h).addClass(c),n(e).addClass(c),b=i.getTransitionDurationFromElement(h),n(h).one(i.TRANSITION_END,function(){n(e).removeClass(c+" "+l).addClass(t.ACTIVE);n(h).removeClass(t.ACTIVE+" "+l+" "+c);y._isSliding=!1;setTimeout(function(){return n(y._element).trigger(v)},0)}).emulateTransitionEnd(b)):(n(h).removeClass(t.ACTIVE),n(e).addClass(t.ACTIVE),this._isSliding=!1,n(this._element).trigger(v)),p&&this.cycle())},v._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(l),u=r({},a,n(this).data()),f;if(typeof t=="object"&&(u=r({},u,t)),f=typeof t=="string"?t:u.slide,i||(i=new v(this,u),n(this).data(l,i)),typeof t=="number")i.to(t);else if(typeof f=="string"){if(typeof i[f]=="undefined")throw new TypeError('No method named "'+f+'"');i[f]()}else u.interval&&(i.pause(),i.cycle())})},v._dataApiClickHandler=function(u){var s=i.getSelectorFromElement(this),f,o,e;s&&(f=n(s)[0],f&&n(f).hasClass(t.CAROUSEL))&&(o=r({},n(f).data(),n(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),v._jQueryInterface.call(n(f),o),e&&n(f).data(l).to(e),u.preventDefault())},f(v,null,[{key:"VERSION",get:function(){return y}},{key:"Default",get:function(){return a}}]),v}();n(document).on(o.CLICK_DATA_API,s.DATA_SLIDE,c._dataApiClickHandler);n(window).on(o.LOAD_DATA_API,function(){for(var i,r=[].slice.call(document.querySelectorAll(s.DATA_RIDE)),t=0,u=r.length;t<u;t++)i=n(r[t]),c._jQueryInterface.call(i,i.data())});return n.fn[h]=c._jQueryInterface,n.fn[h].Constructor=c,n.fn[h].noConflict=function(){return n.fn[h]=p,c._jQueryInterface},c}(t),bi=function(n){var e="collapse",v="4.1.3",u="bs.collapse",o="."+u,y=n.fn[e],c={toggle:!0,parent:""},p={toggle:"boolean",parent:"(string|element)"},s={SHOW:"show"+o,SHOWN:"shown"+o,HIDE:"hide"+o,HIDDEN:"hidden"+o,CLICK_DATA_API:"click"+o+".data-api"},t={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},l={WIDTH:"width",HEIGHT:"height"},a={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},h=function(){function h(t,r){var f,u,o;for(this._isTransitioning=!1,this._element=t,this._config=this._getConfig(r),this._triggerArray=n.makeArray(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],'+('[data-toggle="collapse"][data-target="#'+t.id+'"]'))),f=[].slice.call(document.querySelectorAll(a.DATA_TOGGLE)),u=0,o=f.length;u<o;u++){var s=f[u],e=i.getSelectorFromElement(s),h=[].slice.call(document.querySelectorAll(e)).filter(function(n){return n===t});e!==null&&h.length>0&&(this._selector=e,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var o=h.prototype;return o.toggle=function(){n(this._element).hasClass(t.SHOW)?this.hide():this.show()},o.show=function(){var e=this,r,o,c,f;if(!this._isTransitioning&&!n(this._element).hasClass(t.SHOW)&&(this._parent&&(r=[].slice.call(this._parent.querySelectorAll(a.ACTIVES)).filter(function(n){return n.getAttribute("data-parent")===e._config.parent}),r.length===0&&(r=null)),!r||(o=n(r).not(this._selector).data(u),!o||!o._isTransitioning))&&(c=n.Event(s.SHOW),n(this._element).trigger(c),!c.isDefaultPrevented())){r&&(h._jQueryInterface.call(n(r).not(this._selector),"hide"),o||n(r).data(u,null));f=this._getDimension();n(this._element).removeClass(t.COLLAPSE).addClass(t.COLLAPSING);this._element.style[f]=0;this._triggerArray.length&&n(this._triggerArray).removeClass(t.COLLAPSED).attr("aria-expanded",!0);this.setTransitioning(!0);var l=function(){n(e._element).removeClass(t.COLLAPSING).addClass(t.COLLAPSE).addClass(t.SHOW);e._element.style[f]="";e.setTransitioning(!1);n(e._element).trigger(s.SHOWN)},v=f[0].toUpperCase()+f.slice(1),y="scroll"+v,p=i.getTransitionDurationFromElement(this._element);n(this._element).one(i.TRANSITION_END,l).emulateTransitionEnd(p);this._element.style[f]=this._element[y]+"px"}},o.hide=function(){var c=this,f,r,e,u,o,h,l,a,v;if(!this._isTransitioning&&n(this._element).hasClass(t.SHOW)&&(f=n.Event(s.HIDE),n(this._element).trigger(f),!f.isDefaultPrevented())){if(r=this._getDimension(),this._element.style[r]=this._element.getBoundingClientRect()[r]+"px",i.reflow(this._element),n(this._element).addClass(t.COLLAPSING).removeClass(t.COLLAPSE).removeClass(t.SHOW),e=this._triggerArray.length,e>0)for(u=0;u<e;u++)o=this._triggerArray[u],h=i.getSelectorFromElement(o),h!==null&&(l=n([].slice.call(document.querySelectorAll(h))),l.hasClass(t.SHOW)||n(o).addClass(t.COLLAPSED).attr("aria-expanded",!1));this.setTransitioning(!0);a=function(){c.setTransitioning(!1);n(c._element).removeClass(t.COLLAPSING).addClass(t.COLLAPSE).trigger(s.HIDDEN)};this._element.style[r]="";v=i.getTransitionDurationFromElement(this._element);n(this._element).one(i.TRANSITION_END,a).emulateTransitionEnd(v)}},o.setTransitioning=function(n){this._isTransitioning=n},o.dispose=function(){n.removeData(this._element,u);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},o._getConfig=function(n){return n=r({},c,n),n.toggle=Boolean(n.toggle),i.typeCheckConfig(e,n,p),n},o._getDimension=function(){var t=n(this._element).hasClass(l.WIDTH);return t?l.WIDTH:l.HEIGHT},o._getParent=function(){var f=this,t=null,r,u;return i.isElement(this._config.parent)?(t=this._config.parent,typeof this._config.parent.jquery!="undefined"&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent),r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',u=[].slice.call(t.querySelectorAll(r)),n(u).each(function(n,t){f._addAriaAndCollapsedClass(h._getTargetFromElement(t),[t])}),t},o._addAriaAndCollapsedClass=function(i,r){if(i){var u=n(i).hasClass(t.SHOW);r.length&&n(r).toggleClass(t.COLLAPSED,!u).attr("aria-expanded",u)}},h._getTargetFromElement=function(n){var t=i.getSelectorFromElement(n);return t?document.querySelector(t):null},h._jQueryInterface=function(t){return this.each(function(){var f=n(this),i=f.data(u),e=r({},c,f.data(),typeof t=="object"&&t?t:{});if(!i&&e.toggle&&/show|hide/.test(t)&&(e.toggle=!1),i||(i=new h(this,e),f.data(u,i)),typeof t=="string"){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},f(h,null,[{key:"VERSION",get:function(){return v}},{key:"Default",get:function(){return c}}]),h}();n(document).on(s.CLICK_DATA_API,a.DATA_TOGGLE,function(t){t.currentTarget.tagName==="A"&&t.preventDefault();var r=n(this),f=i.getSelectorFromElement(this),e=[].slice.call(document.querySelectorAll(f));n(e).each(function(){var t=n(this),i=t.data(u),f=i?"toggle":r.data();h._jQueryInterface.call(t,f)})});return n.fn[e]=h._jQueryInterface,n.fn[e].Constructor=h,n.fn[e].noConflict=function(){return n.fn[e]=y,h._jQueryInterface},h}(t),p=typeof window!="undefined"&&typeof document!="undefined",vt=["Edge","Trident","Firefox"],yt=0;for(w=0;w<vt.length;w+=1)if(p&&navigator.userAgent.indexOf(vt[w])>=0){yt=1;break}pt=p&&window.Promise;wt=pt?ki:di;it=p&&!!(window.MSInputMethodContext&&document.documentMode);rt=p&&/MSIE 10/.test(navigator.userAgent);var tr=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},ir=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),a=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},u=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n};lt=["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"];d=lt.slice(3);g={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};var eu={shift:{order:100,enabled:!0,fn:ru},offset:{order:200,enabled:!0,fn:tu,offset:0},preventOverflow:{order:300,enabled:!0,fn:iu,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:dr},arrow:{order:500,enabled:!0,fn:wr,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:kr,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:fu},hide:{order:800,enabled:!0,fn:uu},computeStyle:{order:850,enabled:!0,fn:pr,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:vr,onLoad:yr,gpuAcceleration:undefined}},ou={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:eu},e=function(){function n(t,i){var r=this,f=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},e;tr(this,n);this.scheduleUpdate=function(){return requestAnimationFrame(r.update)};this.update=wt(this.update.bind(this));this.options=u({},n.Defaults,f);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=t&&t.jquery?t[0]:t;this.popper=i&&i.jquery?i[0]:i;this.options.modifiers={};Object.keys(u({},n.Defaults.modifiers,f.modifiers)).forEach(function(t){r.options.modifiers[t]=u({},n.Defaults.modifiers[t]||{},f.modifiers?f.modifiers[t]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(n){return u({name:n},r.options.modifiers[n])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){if(n.enabled&&bt(n.onLoad))n.onLoad(r.reference,r.popper,r.options,n,r.state)});this.update();e=this.options.eventsEnabled;e&&this.enableEventListeners();this.state.eventsEnabled=e}return ir(n,[{key:"update",value:function(){return er.call(this)}},{key:"destroy",value:function(){return or.call(this)}},{key:"enableEventListeners",value:function(){return hr.call(this)}},{key:"disableEventListeners",value:function(){return lr.call(this)}}]),n}();e.Utils=(typeof window!="undefined"?window:global).PopperUtils;e.placements=lt;e.Defaults=ou;var su=function(n){var c="dropdown",d="4.1.3",a="bs.dropdown",s="."+a,y=".data-api",g=n.fn[c],v=27,p=32,k=9,w=38,b=40,nt=3,tt=new RegExp(w+"|"+b+"|"+v),u={HIDE:"hide"+s,HIDDEN:"hidden"+s,SHOW:"show"+s,SHOWN:"shown"+s,CLICK:"click"+s,CLICK_DATA_API:"click"+s+y,KEYDOWN_DATA_API:"keydown"+s+y,KEYUP_DATA_API:"keyup"+s+y},t={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},o={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},l={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},it={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},rt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},h=function(){function h(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var y=h.prototype;return y.toggle=function(){var r,l,s,c,f;if(!this._element.disabled&&!n(this._element).hasClass(t.DISABLED)&&(r=h._getParentFromElement(this._element),l=n(this._menu).hasClass(t.SHOW),h._clearMenus(),!l)&&(s={relatedTarget:this._element},c=n.Event(u.SHOW,s),n(r).trigger(c),!c.isDefaultPrevented())){if(!this._inNavbar){if(typeof e=="undefined")throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");f=this._element;this._config.reference==="parent"?f=r:i.isElement(this._config.reference)&&(f=this._config.reference,typeof this._config.reference.jquery!="undefined"&&(f=this._config.reference[0]));this._config.boundary!=="scrollParent"&&n(r).addClass(t.POSITION_STATIC);this._popper=new e(f,this._menu,this._getPopperConfig())}if("ontouchstart"in document.documentElement&&n(r).closest(o.NAVBAR_NAV).length===0)n(document.body).children().on("mouseover",null,n.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);n(this._menu).toggleClass(t.SHOW);n(r).toggleClass(t.SHOW).trigger(n.Event(u.SHOWN,s))}},y.dispose=function(){n.removeData(this._element,a);n(this._element).off(s);this._element=null;this._menu=null;this._popper!==null&&(this._popper.destroy(),this._popper=null)},y.update=function(){this._inNavbar=this._detectNavbar();this._popper!==null&&this._popper.scheduleUpdate()},y._addEventListeners=function(){var t=this;n(this._element).on(u.CLICK,function(n){n.preventDefault();n.stopPropagation();t.toggle()})},y._getConfig=function(t){return t=r({},this.constructor.Default,n(this._element).data(),t),i.typeCheckConfig(c,t,this.constructor.DefaultType),t},y._getMenuElement=function(){if(!this._menu){var n=h._getParentFromElement(this._element);n&&(this._menu=n.querySelector(o.MENU))}return this._menu},y._getPlacement=function(){var r=n(this._element.parentNode),i=l.BOTTOM;return r.hasClass(t.DROPUP)?(i=l.TOP,n(this._menu).hasClass(t.MENURIGHT)&&(i=l.TOPEND)):r.hasClass(t.DROPRIGHT)?i=l.RIGHT:r.hasClass(t.DROPLEFT)?i=l.LEFT:n(this._menu).hasClass(t.MENURIGHT)&&(i=l.BOTTOMEND),i},y._detectNavbar=function(){return n(this._element).closest(".navbar").length>0},y._getPopperConfig=function(){var i=this,n={},t;return typeof this._config.offset=="function"?n.fn=function(n){return n.offsets=r({},n.offsets,i._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset,t={placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}},this._config.display==="static"&&(t.modifiers.applyStyle={enabled:!1}),t},h._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(a),r=typeof t=="object"?t:null;if(i||(i=new h(this,r),n(this).data(a,i)),typeof t=="string"){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},h._clearMenus=function(i){var f,r,l,y,c;if(!i||i.which!==nt&&(i.type!=="keyup"||i.which===k))for(f=[].slice.call(document.querySelectorAll(o.DATA_TOGGLE)),r=0,l=f.length;r<l;r++){var e=h._getParentFromElement(f[r]),v=n(f[r]).data(a),s={relatedTarget:f[r]};(i&&i.type==="click"&&(s.clickEvent=i),v)&&(y=v._menu,n(e).hasClass(t.SHOW))&&(i&&(i.type==="click"&&/input|textarea/i.test(i.target.tagName)||i.type==="keyup"&&i.which===k)&&n.contains(e,i.target)||(c=n.Event(u.HIDE,s),n(e).trigger(c),c.isDefaultPrevented())||("ontouchstart"in document.documentElement&&n(document.body).children().off("mouseover",null,n.noop),f[r].setAttribute("aria-expanded","false"),n(y).removeClass(t.SHOW),n(e).removeClass(t.SHOW).trigger(n.Event(u.HIDDEN,s))))}},h._getParentFromElement=function(n){var t,r=i.getSelectorFromElement(n);return r&&(t=document.querySelector(r)),t||n.parentNode},h._dataApiKeydownHandler=function(i){var f,e,s,u,r;if((/input|textarea/i.test(i.target.tagName)?i.which!==p&&(i.which===v||(i.which===b||i.which===w)&&!n(i.target).closest(o.MENU).length):tt.test(i.which))&&(i.preventDefault(),i.stopPropagation(),!this.disabled&&!n(this).hasClass(t.DISABLED))){if(f=h._getParentFromElement(this),e=n(f).hasClass(t.SHOW),!e&&(i.which!==v||i.which!==p)||e&&(i.which===v||i.which===p)){i.which===v&&(s=f.querySelector(o.DATA_TOGGLE),n(s).trigger("focus"));n(this).trigger("click");return}(u=[].slice.call(f.querySelectorAll(o.VISIBLE_ITEMS)),u.length!==0)&&(r=u.indexOf(i.target),i.which===w&&r>0&&r--,i.which===b&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())}},f(h,null,[{key:"VERSION",get:function(){return d}},{key:"Default",get:function(){return it}},{key:"DefaultType",get:function(){return rt}}]),h}();n(document).on(u.KEYDOWN_DATA_API,o.DATA_TOGGLE,h._dataApiKeydownHandler).on(u.KEYDOWN_DATA_API,o.MENU,h._dataApiKeydownHandler).on(u.CLICK_DATA_API+" "+u.KEYUP_DATA_API,h._clearMenus).on(u.CLICK_DATA_API,o.DATA_TOGGLE,function(t){t.preventDefault();t.stopPropagation();h._jQueryInterface.call(n(this),"toggle")}).on(u.CLICK_DATA_API,o.FORM_CHILD,function(n){n.stopPropagation()});return n.fn[c]=h._jQueryInterface,n.fn[c].Constructor=h,n.fn[c].noConflict=function(){return n.fn[c]=g,h._jQueryInterface},h}(t,e),hu=function(n){var s="modal",a="4.1.3",h="bs.modal",e="."+h,v=n.fn[s],y=27,l={backdrop:!0,keyboard:!0,focus:!0,show:!0},p={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},t={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,FOCUSIN:"focusin"+e,RESIZE:"resize"+e,CLICK_DISMISS:"click.dismiss"+e,KEYDOWN_DISMISS:"keydown.dismiss"+e,MOUSEUP_DISMISS:"mouseup.dismiss"+e,MOUSEDOWN_DISMISS:"mousedown.dismiss"+e,CLICK_DATA_API:"click"+e+".data-api"},u={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},o={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},c=function(){function v(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(o.DIALOG);this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._scrollbarWidth=0}var c=v.prototype;return c.toggle=function(n){return this._isShown?this.hide():this.show(n)},c.show=function(i){var r=this,f;if(!this._isTransitioning&&!this._isShown&&(n(this._element).hasClass(u.FADE)&&(this._isTransitioning=!0),f=n.Event(t.SHOW,{relatedTarget:i}),n(this._element).trigger(f),!this._isShown&&!f.isDefaultPrevented())){this._isShown=!0;this._checkScrollbar();this._setScrollbar();this._adjustDialog();n(document.body).addClass(u.OPEN);this._setEscapeEvent();this._setResizeEvent();n(this._element).on(t.CLICK_DISMISS,o.DATA_DISMISS,function(n){return r.hide(n)});n(this._dialog).on(t.MOUSEDOWN_DISMISS,function(){n(r._element).one(t.MOUSEUP_DISMISS,function(t){n(t.target).is(r._element)&&(r._ignoreBackdropClick=!0)})});this._showBackdrop(function(){return r._showElement(i)})}},c.hide=function(r){var s=this,f,e,o;(r&&r.preventDefault(),!this._isTransitioning&&this._isShown)&&(f=n.Event(t.HIDE),n(this._element).trigger(f),this._isShown&&!f.isDefaultPrevented())&&(this._isShown=!1,e=n(this._element).hasClass(u.FADE),e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),n(document).off(t.FOCUSIN),n(this._element).removeClass(u.SHOW),n(this._element).off(t.CLICK_DISMISS),n(this._dialog).off(t.MOUSEDOWN_DISMISS),e?(o=i.getTransitionDurationFromElement(this._element),n(this._element).one(i.TRANSITION_END,function(n){return s._hideModal(n)}).emulateTransitionEnd(o)):this._hideModal())},c.dispose=function(){n.removeData(this._element,h);n(window,document,this._element,this._backdrop).off(e);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null},c.handleUpdate=function(){this._adjustDialog()},c._getConfig=function(n){return n=r({},l,n),i.typeCheckConfig(s,n,p),n},c._showElement=function(r){var f=this,o=n(this._element).hasClass(u.FADE),s,e,h;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element);this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.scrollTop=0;o&&i.reflow(this._element);n(this._element).addClass(u.SHOW);this._config.focus&&this._enforceFocus();s=n.Event(t.SHOWN,{relatedTarget:r});e=function(){f._config.focus&&f._element.focus();f._isTransitioning=!1;n(f._element).trigger(s)};o?(h=i.getTransitionDurationFromElement(this._element),n(this._dialog).one(i.TRANSITION_END,e).emulateTransitionEnd(h)):e()},c._enforceFocus=function(){var i=this;n(document).off(t.FOCUSIN).on(t.FOCUSIN,function(t){document!==t.target&&i._element!==t.target&&n(i._element).has(t.target).length===0&&i._element.focus()})},c._setEscapeEvent=function(){var i=this;if(this._isShown&&this._config.keyboard)n(this._element).on(t.KEYDOWN_DISMISS,function(n){n.which===y&&(n.preventDefault(),i.hide())});else this._isShown||n(this._element).off(t.KEYDOWN_DISMISS)},c._setResizeEvent=function(){var i=this;if(this._isShown)n(window).on(t.RESIZE,function(n){return i.handleUpdate(n)});else n(window).off(t.RESIZE)},c._hideModal=function(){var i=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._isTransitioning=!1;this._showBackdrop(function(){n(document.body).removeClass(u.OPEN);i._resetAdjustments();i._resetScrollbar();n(i._element).trigger(t.HIDDEN)})},c._removeBackdrop=function(){this._backdrop&&(n(this._backdrop).remove(),this._backdrop=null)},c._showBackdrop=function(r){var f=this,e=n(this._element).hasClass(u.FADE)?u.FADE:"",s,o,h;if(this._isShown&&this._config.backdrop){this._backdrop=document.createElement("div");this._backdrop.className=u.BACKDROP;e&&this._backdrop.classList.add(e);n(this._backdrop).appendTo(document.body);n(this._element).on(t.CLICK_DISMISS,function(n){if(f._ignoreBackdropClick){f._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&(f._config.backdrop==="static"?f._element.focus():f.hide())});if(e&&i.reflow(this._backdrop),n(this._backdrop).addClass(u.SHOW),!r)return;if(!e){r();return}s=i.getTransitionDurationFromElement(this._backdrop);n(this._backdrop).one(i.TRANSITION_END,r).emulateTransitionEnd(s)}else!this._isShown&&this._backdrop?(n(this._backdrop).removeClass(u.SHOW),o=function(){f._removeBackdrop();r&&r()},n(this._element).hasClass(u.FADE)?(h=i.getTransitionDurationFromElement(this._backdrop),n(this._backdrop).one(i.TRANSITION_END,o).emulateTransitionEnd(h)):o()):r&&r()},c._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},c._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},c._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},c._setScrollbar=function(){var t=this,i,r,u,f;this._isBodyOverflowing&&(i=[].slice.call(document.querySelectorAll(o.FIXED_CONTENT)),r=[].slice.call(document.querySelectorAll(o.STICKY_CONTENT)),n(i).each(function(i,r){var u=r.style.paddingRight,f=n(r).css("padding-right");n(r).data("padding-right",u).css("padding-right",parseFloat(f)+t._scrollbarWidth+"px")}),n(r).each(function(i,r){var u=r.style.marginRight,f=n(r).css("margin-right");n(r).data("margin-right",u).css("margin-right",parseFloat(f)-t._scrollbarWidth+"px")}),u=document.body.style.paddingRight,f=n(document.body).css("padding-right"),n(document.body).data("padding-right",u).css("padding-right",parseFloat(f)+this._scrollbarWidth+"px"))},c._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(o.FIXED_CONTENT)),i,t;n(r).each(function(t,i){var r=n(i).data("padding-right");n(i).removeData("padding-right");i.style.paddingRight=r?r:""});i=[].slice.call(document.querySelectorAll(""+o.STICKY_CONTENT));n(i).each(function(t,i){var r=n(i).data("margin-right");typeof r!="undefined"&&n(i).css("margin-right",r).removeData("margin-right")});t=n(document.body).data("padding-right");n(document.body).removeData("padding-right");document.body.style.paddingRight=t?t:""},c._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=u.SCROLLBAR_MEASURER,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},v._jQueryInterface=function(t,i){return this.each(function(){var u=n(this).data(h),f=r({},l,n(this).data(),typeof t=="object"&&t?t:{});if(u||(u=new v(this,f),n(this).data(h,u)),typeof t=="string"){if(typeof u[t]=="undefined")throw new TypeError('No method named "'+t+'"');u[t](i)}else f.show&&u.show(i)})},f(v,null,[{key:"VERSION",get:function(){return a}},{key:"Default",get:function(){return l}}]),v}();n(document).on(t.CLICK_DATA_API,o.DATA_TOGGLE,function(u){var e=this,f,o=i.getSelectorFromElement(this),s,l;o&&(f=document.querySelector(o));s=n(f).data(h)?"toggle":r({},n(f).data(),n(this).data());(this.tagName==="A"||this.tagName==="AREA")&&u.preventDefault();l=n(f).one(t.SHOW,function(i){if(!i.isDefaultPrevented())l.one(t.HIDDEN,function(){n(e).is(":visible")&&e.focus()})});c._jQueryInterface.call(n(f),s,this)});return n.fn[s]=c._jQueryInterface,n.fn[s].Constructor=c,n.fn[s].noConflict=function(){return n.fn[s]=v,c._jQueryInterface},c}(t),nt=function(n){var h="tooltip",y="4.1.3",c="bs.tooltip",t="."+c,p=n.fn[h],a="bs-tooltip",w=new RegExp("(^|\\s)"+a+"\\S+","g"),b={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},k={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},d={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},s={SHOW:"show",OUT:"out"},g={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},u={FADE:"fade",SHOW:"show"},v={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},o={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},l=function(){function p(n,t){if(typeof e=="undefined")throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var l=p.prototype;return l.enable=function(){this._isEnabled=!0},l.disable=function(){this._isEnabled=!1},l.toggleEnabled=function(){this._isEnabled=!this._isEnabled},l.toggle=function(t){if(this._isEnabled)if(t){var r=this.constructor.DATA_KEY,i=n(t.currentTarget).data(r);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(n(this.getTipElement()).hasClass(u.SHOW)){this._leave(null,this);return}this._enter(null,this)}},l.dispose=function(){clearTimeout(this._timeout);n.removeData(this.element,this.constructor.DATA_KEY);n(this.element).off(this.constructor.EVENT_KEY);n(this.element).closest(".modal").off("hide.bs.modal");this.tip&&n(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;this._popper!==null&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},l.show=function(){var t=this,f,l,r,o,a,h,y,c,p;if(n(this.element).css("display")==="none")throw new Error("Please use show on visible elements");if(f=n.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(n(this.element).trigger(f),l=n.contains(this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!l)return;if(r=this.getTipElement(),o=i.getUID(this.constructor.NAME),r.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&n(r).addClass(u.FADE),a=typeof this.config.placement=="function"?this.config.placement.call(this,r,this.element):this.config.placement,h=this._getAttachment(a),this.addAttachmentClass(h),y=this.config.container===!1?document.body:n(document).find(this.config.container),n(r).data(this.constructor.DATA_KEY,this),n.contains(this.element.ownerDocument.documentElement,this.tip)||n(r).appendTo(y),n(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new e(this.element,r,{placement:h,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:v.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){t._handlePopperPlacementChange(n)}}),n(r).addClass(u.SHOW),"ontouchstart"in document.documentElement)n(document.body).children().on("mouseover",null,n.noop);c=function(){t.config.animation&&t._fixTransition();var i=t._hoverState;t._hoverState=null;n(t.element).trigger(t.constructor.Event.SHOWN);i===s.OUT&&t._leave(null,t)};n(this.tip).hasClass(u.FADE)?(p=i.getTransitionDurationFromElement(this.tip),n(this.tip).one(i.TRANSITION_END,c).emulateTransitionEnd(p)):c()}},l.hide=function(t){var r=this,f=this.getTipElement(),e=n.Event(this.constructor.Event.HIDE),h=function(){r._hoverState!==s.SHOW&&f.parentNode&&f.parentNode.removeChild(f);r._cleanTipClass();r.element.removeAttribute("aria-describedby");n(r.element).trigger(r.constructor.Event.HIDDEN);r._popper!==null&&r._popper.destroy();t&&t()},c;(n(this.element).trigger(e),e.isDefaultPrevented())||(n(f).removeClass(u.SHOW),"ontouchstart"in document.documentElement&&n(document.body).children().off("mouseover",null,n.noop),this._activeTrigger[o.CLICK]=!1,this._activeTrigger[o.FOCUS]=!1,this._activeTrigger[o.HOVER]=!1,n(this.tip).hasClass(u.FADE)?(c=i.getTransitionDurationFromElement(f),n(f).one(i.TRANSITION_END,h).emulateTransitionEnd(c)):h(),this._hoverState="")},l.update=function(){this._popper!==null&&this._popper.scheduleUpdate()},l.isWithContent=function(){return Boolean(this.getTitle())},l.addAttachmentClass=function(t){n(this.getTipElement()).addClass(a+"-"+t)},l.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},l.setContent=function(){var t=this.getTipElement();this.setElementContent(n(t.querySelectorAll(v.TOOLTIP_INNER)),this.getTitle());n(t).removeClass(u.FADE+" "+u.SHOW)},l.setElementContent=function(t,i){var r=this.config.html;typeof i=="object"&&(i.nodeType||i.jquery)?r?n(i).parent().is(t)||t.empty().append(i):t.text(n(i).text()):t[r?"html":"text"](i)},l.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n=typeof this.config.title=="function"?this.config.title.call(this.element):this.config.title),n},l._getAttachment=function(n){return k[n.toUpperCase()]},l._setListeners=function(){var t=this,i=this.config.trigger.split(" ");i.forEach(function(i){if(i==="click")n(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(n){return t.toggle(n)});else if(i!==o.MANUAL){var r=i===o.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,u=i===o.HOVER?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;n(t.element).on(r,t.config.selector,function(n){return t._enter(n)}).on(u,t.config.selector,function(n){return t._leave(n)})}n(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})});this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},l._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||n!=="string")&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},l._enter=function(t,i){var r=this.constructor.DATA_KEY;if(i=i||n(t.currentTarget).data(r),i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i)),t&&(i._activeTrigger[t.type==="focusin"?o.FOCUS:o.HOVER]=!0),n(i.getTipElement()).hasClass(u.SHOW)||i._hoverState===s.SHOW){i._hoverState=s.SHOW;return}if(clearTimeout(i._timeout),i._hoverState=s.SHOW,!i.config.delay||!i.config.delay.show){i.show();return}i._timeout=setTimeout(function(){i._hoverState===s.SHOW&&i.show()},i.config.delay.show)},l._leave=function(t,i){var r=this.constructor.DATA_KEY;if(i=i||n(t.currentTarget).data(r),i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i)),t&&(i._activeTrigger[t.type==="focusout"?o.FOCUS:o.HOVER]=!1),!i._isWithActiveTrigger()){if(clearTimeout(i._timeout),i._hoverState=s.OUT,!i.config.delay||!i.config.delay.hide){i.hide();return}i._timeout=setTimeout(function(){i._hoverState===s.OUT&&i.hide()},i.config.delay.hide)}},l._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},l._getConfig=function(t){return t=r({},this.constructor.Default,n(this.element).data(),typeof t=="object"&&t?t:{}),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),i.typeCheckConfig(h,t,this.constructor.DefaultType),t},l._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},l._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(w);t!==null&&t.length&&i.removeClass(t.join(""))},l._handlePopperPlacementChange=function(n){var t=n.instance;this.tip=t.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},l._fixTransition=function(){var t=this.getTipElement(),i=this.config.animation;t.getAttribute("x-placement")===null&&(n(t).removeClass(u.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},p._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(c),r=typeof t=="object"&&t;if((i||!/dispose|hide/.test(t))&&(i||(i=new p(this,r),n(this).data(c,i)),typeof t=="string")){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},f(p,null,[{key:"VERSION",get:function(){return y}},{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return h}},{key:"DATA_KEY",get:function(){return c}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return b}}]),p}();return n.fn[h]=l._jQueryInterface,n.fn[h].Constructor=l,n.fn[h].noConflict=function(){return n.fn[h]=p,l._jQueryInterface},l}(t,e),cu=function(n){var i="popover",c="4.1.3",u="bs.popover",t="."+u,l=n.fn[i],o="bs-popover",a=new RegExp("(^|\\s)"+o+"\\S+","g"),v=r({},nt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>'}),y=r({},nt.DefaultType,{content:"(string|element|function)"}),s={FADE:"fade",SHOW:"show"},h={TITLE:".popover-header",CONTENT:".popover-body"},p={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},e=function(r){function e(){return r.apply(this,arguments)||this}vi(e,r);var l=e.prototype;return l.isWithContent=function(){return this.getTitle()||this._getContent()},l.addAttachmentClass=function(t){n(this.getTipElement()).addClass(o+"-"+t)},l.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},l.setContent=function(){var i=n(this.getTipElement()),t;this.setElementContent(i.find(h.TITLE),this.getTitle());t=this._getContent();typeof t=="function"&&(t=t.call(this.element));this.setElementContent(i.find(h.CONTENT),t);i.removeClass(s.FADE+" "+s.SHOW)},l._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},l._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(a);t!==null&&t.length>0&&i.removeClass(t.join(""))},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(u),r=typeof t=="object"?t:null;if((i||!/destroy|hide/.test(t))&&(i||(i=new e(this,r),n(this).data(u,i)),typeof t=="string")){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},f(e,null,[{key:"VERSION",get:function(){return c}},{key:"Default",get:function(){return v}},{key:"NAME",get:function(){return i}},{key:"DATA_KEY",get:function(){return u}},{key:"Event",get:function(){return p}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return y}}]),e}(nt);return n.fn[i]=e._jQueryInterface,n.fn[i].Constructor=e,n.fn[i].noConflict=function(){return n.fn[i]=l,e._jQueryInterface},e}(t),lu=function(n){var u="scrollspy",v="4.1.3",s="bs.scrollspy",h="."+s,y=n.fn[u],a={offset:10,method:"auto",target:""},p={offset:"number",method:"string",target:"(string|element)"},c={ACTIVATE:"activate"+h,SCROLL:"scroll"+h,LOAD_DATA_API:"load"+h+".data-api"},e={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},t={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},l={OFFSET:"offset",POSITION:"position"},o=function(){function y(i,r){var u=this;this._element=i;this._scrollElement=i.tagName==="BODY"?window:i;this._config=this._getConfig(r);this._selector=this._config.target+" "+t.NAV_LINKS+","+(this._config.target+" "+t.LIST_ITEMS+",")+(this._config.target+" "+t.DROPDOWN_ITEMS);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;n(this._scrollElement).on(c.SCROLL,function(n){return u._process(n)});this.refresh();this._process()}var o=y.prototype;return o.refresh=function(){var t=this,f=this._scrollElement===this._scrollElement.window?l.OFFSET:l.POSITION,r=this._config.method==="auto"?f:this._config.method,e=r===l.POSITION?this._getScrollTop():0,u;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();u=[].slice.call(document.querySelectorAll(this._selector));u.map(function(t){var u,f=i.getSelectorFromElement(t),o;return(f&&(u=document.querySelector(f)),u&&(o=u.getBoundingClientRect(),o.width||o.height))?[n(u)[r]().top+e,f]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(n){t._offsets.push(n[0]);t._targets.push(n[1])})},o.dispose=function(){n.removeData(this._element,s);n(this._scrollElement).off(h);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},o._getConfig=function(t){if(t=r({},a,typeof t=="object"&&t?t:{}),typeof t.target!="string"){var f=n(t.target).attr("id");f||(f=i.getUID(u),n(t.target).attr("id",f));t.target="#"+f}return i.typeCheckConfig(u,t,p),t},o._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},o._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},o._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},o._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),e=this._config.offset+r-this._getOffsetHeight(),i,u,n,f;if(this._scrollHeight!==r&&this.refresh(),t>=e){i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i);return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(u=this._offsets.length,n=u;n--;)f=this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&(typeof this._offsets[n+1]=="undefined"||t<this._offsets[n+1]),f&&this._activate(this._targets[n])},o._activate=function(i){var u,r;this._activeTarget=i;this._clear();u=this._selector.split(",");u=u.map(function(n){return n+'[data-target="'+i+'"],'+(n+'[href="'+i+'"]')});r=n([].slice.call(document.querySelectorAll(u.join(","))));r.hasClass(e.DROPDOWN_ITEM)?(r.closest(t.DROPDOWN).find(t.DROPDOWN_TOGGLE).addClass(e.ACTIVE),r.addClass(e.ACTIVE)):(r.addClass(e.ACTIVE),r.parents(t.NAV_LIST_GROUP).prev(t.NAV_LINKS+", "+t.LIST_ITEMS).addClass(e.ACTIVE),r.parents(t.NAV_LIST_GROUP).prev(t.NAV_ITEMS).children(t.NAV_LINKS).addClass(e.ACTIVE));n(this._scrollElement).trigger(c.ACTIVATE,{relatedTarget:i})},o._clear=function(){var i=[].slice.call(document.querySelectorAll(this._selector));n(i).filter(t.ACTIVE).removeClass(e.ACTIVE)},y._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(s),r=typeof t=="object"&&t;if(i||(i=new y(this,r),n(this).data(s,i)),typeof t=="string"){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},f(y,null,[{key:"VERSION",get:function(){return v}},{key:"Default",get:function(){return a}}]),y}();n(window).on(c.LOAD_DATA_API,function(){for(var i,r=[].slice.call(document.querySelectorAll(t.DATA_SPY)),f=r.length,u=f;u--;)i=n(r[u]),o._jQueryInterface.call(i,i.data())});return n.fn[u]=o._jQueryInterface,n.fn[u].Constructor=o,n.fn[u].noConflict=function(){return n.fn[u]=y,o._jQueryInterface},o}(t),au=function(n){var u="tab",c="4.1.3",h="bs.tab",e="."+h,l=n.fn[u],o={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,CLICK_DATA_API:"click"+e+".data-api"},t={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},r={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},s=function(){function u(n){this._element=n}var e=u.prototype;return e.show=function(){var a=this,e,u,f,s,v,h,c,l;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&n(this._element).hasClass(t.ACTIVE)||n(this._element).hasClass(t.DISABLED)||(f=n(this._element).closest(r.NAV_LIST_GROUP)[0],s=i.getSelectorFromElement(this._element),f&&(v=f.nodeName==="UL"?r.ACTIVE_UL:r.ACTIVE,u=n.makeArray(n(f).find(v)),u=u[u.length-1]),h=n.Event(o.HIDE,{relatedTarget:this._element}),c=n.Event(o.SHOW,{relatedTarget:u}),u&&n(u).trigger(h),n(this._element).trigger(c),c.isDefaultPrevented()||h.isDefaultPrevented())||(s&&(e=document.querySelector(s)),this._activate(this._element,f),l=function(){var t=n.Event(o.HIDDEN,{relatedTarget:a._element}),i=n.Event(o.SHOWN,{relatedTarget:u});n(u).trigger(t);n(a._element).trigger(i)},e?this._activate(e,e.parentNode,l):l())},e.dispose=function(){n.removeData(this._element,h);this._element=null},e._activate=function(u,f,e){var l=this,s,c;s=f.nodeName==="UL"?n(f).find(r.ACTIVE_UL):n(f).children(r.ACTIVE);var o=s[0],a=e&&o&&n(o).hasClass(t.FADE),h=function(){return l._transitionComplete(u,o,e)};o&&a?(c=i.getTransitionDurationFromElement(o),n(o).one(i.TRANSITION_END,h).emulateTransitionEnd(c)):h()},e._transitionComplete=function(u,f,e){var o,s,h;f&&(n(f).removeClass(t.SHOW+" "+t.ACTIVE),o=n(f.parentNode).find(r.DROPDOWN_ACTIVE_CHILD)[0],o&&n(o).removeClass(t.ACTIVE),f.getAttribute("role")==="tab"&&f.setAttribute("aria-selected",!1));n(u).addClass(t.ACTIVE);u.getAttribute("role")==="tab"&&u.setAttribute("aria-selected",!0);i.reflow(u);n(u).addClass(t.SHOW);u.parentNode&&n(u.parentNode).hasClass(t.DROPDOWN_MENU)&&(s=n(u).closest(r.DROPDOWN)[0],s&&(h=[].slice.call(s.querySelectorAll(r.DROPDOWN_TOGGLE)),n(h).addClass(t.ACTIVE)),u.setAttribute("aria-expanded",!0));e&&e()},u._jQueryInterface=function(t){return this.each(function(){var r=n(this),i=r.data(h);if(i||(i=new u(this),r.data(h,i)),typeof t=="string"){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},f(u,null,[{key:"VERSION",get:function(){return c}}]),u}();n(document).on(o.CLICK_DATA_API,r.DATA_TOGGLE,function(t){t.preventDefault();s._jQueryInterface.call(n(this),"show")});return n.fn[u]=s._jQueryInterface,n.fn[u].Constructor=s,n.fn[u].noConflict=function(){return n.fn[u]=l,s._jQueryInterface},s}(t);(function(n){if(typeof n=="undefined")throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=n.fn.jquery.split(" ")[0].split("."),i=9;if(t[0]<2&&t[1]<i||t[0]===1&&t[1]===i&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");})(t);n.Util=i;n.Alert=yi;n.Button=pi;n.Carousel=wi;n.Collapse=bi;n.Dropdown=su;n.Modal=hu;n.Popover=cu;n.Scrollspy=lu;n.Tab=au;n.Tooltip=nt;Object.defineProperty(n,"__esModule",{value:!0})})