if(function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.Popper=t()}(this,function(){"use strict";function ut(n){return n&&"[object Function]"==={}.toString.call(n)}function e(n,t){if(1!==n.nodeType)return[];var i=window.getComputedStyle(n,null);return t?i[t]:i}function y(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function o(n){if(!n||-1!==["HTML","BODY","#document"].indexOf(n.nodeName))return window.document.body;var t=e(n),i=t.overflow,r=t.overflowX,u=t.overflowY;return/(auto|scroll)/.test(i+u+r)?n:o(y(n))}function r(n){var t=n&&n.offsetParent,i=t&&t.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(t.nodeName)&&"static"===e(t,"position")?r(t):t:window.document.documentElement}function ri(n){var t=n.nodeName;return"BODY"!==t&&("HTML"===t||r(n.firstElementChild)===n)}function p(n){return null===n.parentNode?n:p(n.parentNode)}function h(n,t){var i,f;if(!n||!n.nodeType||!t||!t.nodeType)return window.document.documentElement;var e=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=e?n:t,s=e?t:n,u=document.createRange();return(u.setStart(o,0),u.setEnd(s,0),i=u.commonAncestorContainer,n!==i&&t!==i||o.contains(s))?ri(i)?i:r(i):(f=p(n),f.host?h(f.host,t):h(n,p(t).host))}function u(n){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top",t="top"===f?"scrollTop":"scrollLeft",i=n.nodeName,r,u;return"BODY"===i||"HTML"===i?(r=window.document.documentElement,u=window.document.scrollingElement||r,u[t]):n[t]}function ui(n,t){var e=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=u(t,"top"),f=u(t,"left"),i=e?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=f*i,n.right+=f*i,n}function ft(n,t){var i="x"===t?"Left":"Top",r="Left"==i?"Right":"Bottom";return+n["border"+i+"Width"].split("px")[0]+ +n["border"+r+"Width"].split("px")[0]}function et(n,t,r,u){return i(t["offset"+n],r["client"+n],r["offset"+n],l()?r["offset"+n]+u["margin"+("Height"===n?"Top":"Left")]+u["margin"+("Height"===n?"Bottom":"Right")]:0)}function ot(){var t=window.document.body,n=window.document.documentElement,i=l()&&window.getComputedStyle(n);return{height:et("Height",t,n,i),width:et("Width",t,n,i)}}function t(t){return n({},t,{right:t.left+t.width,bottom:t.top+t.height})}function w(n){var i={},f,o,c;if(l())try{i=n.getBoundingClientRect();f=u(n,"top");o=u(n,"left");i.top+=f;i.left+=o;i.bottom+=f;i.right+=o}catch(n){}else i=n.getBoundingClientRect();var r={left:i.left,top:i.top,width:i.right-i.left,height:i.bottom-i.top},a="HTML"===n.nodeName?ot():{},v=a.width||n.clientWidth||r.right-r.left,y=a.height||n.clientHeight||r.bottom-r.top,s=n.offsetWidth-v,h=n.offsetHeight-y;return(s||h)&&(c=e(n),s-=ft(c,"x"),h-=ft(c,"y"),r.width-=s,r.height-=h),t(r)}function b(n,i){var y=l(),b="HTML"===i.nodeName,u=w(n),p=w(i),c=o(n),f=e(i),a=+f.borderTopWidth.split("px")[0],v=+f.borderLeftWidth.split("px")[0],r=t({top:u.top-p.top-a,left:u.left-p.left-v,width:u.width,height:u.height}),s,h;return(r.marginTop=0,r.marginLeft=0,!y&&b)&&(s=+f.marginTop.split("px")[0],h=+f.marginLeft.split("px")[0],r.top-=a-s,r.bottom-=a-s,r.left-=v-h,r.right-=v-h,r.marginTop=s,r.marginLeft=h),(y?i.contains(c):i===c&&"BODY"!==c.nodeName)&&(r=ui(r,i)),r}function fi(n){var r=window.document.documentElement,f=b(n,r),e=i(r.clientWidth,window.innerWidth||0),o=i(r.clientHeight,window.innerHeight||0),s=u(r),h=u(r,"left"),c={top:s-f.top+f.marginTop,left:h-f.left+f.marginLeft,width:e,height:o};return t(c)}function st(n){var t=n.nodeName;return"BODY"===t||"HTML"===t?!1:"fixed"===e(n,"position")||st(y(n))}function k(n,t,i,r){var u={top:0,left:0},s=h(n,t),e,f;if("viewport"===r)u=fi(s);else if("scrollParent"===r?(e=o(y(n)),"BODY"===e.nodeName&&(e=window.document.documentElement)):e="window"===r?window.document.documentElement:r,f=b(e,s),"HTML"!==e.nodeName||st(s))u=f;else{var c=ot(),l=c.height,a=c.width;u.top+=f.top-f.marginTop;u.bottom=l+f.top;u.left+=f.left-f.marginLeft;u.right=a+f.left}return u.left+=i,u.top+=i,u.right-=i,u.bottom-=i,u}function ei(n){var t=n.width,i=n.height;return t*i}function ht(t,i,r,u,f){var l=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var e=k(r,u,l,f),o={top:{width:e.width,height:i.top-e.top},right:{width:e.right-i.right,height:e.height},bottom:{width:e.width,height:e.bottom-i.bottom},left:{width:i.left-e.left,height:e.height}},s=Object.keys(o).map(function(t){return n({key:t},o[t],{area:ei(o[t])})}).sort(function(n,t){return t.area-n.area}),h=s.filter(function(n){var t=n.width,i=n.height;return t>=r.clientWidth&&i>=r.clientHeight}),a=0<h.length?h[0].key:s[0].key,c=t.split("-")[1];return a+(c?"-"+c:"")}function ct(n,t,i){var r=h(t,i);return b(i,r)}function lt(n){var t=window.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 c(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 at(n,t,i){i=i.split("-")[0];var r=lt(n),e={width:r.width,height:r.height},u=-1!==["right","left"].indexOf(i),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[c(f)],e}function s(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function oi(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=s(n,function(n){return n[t]===i});return n.indexOf(r)}function vt(n,i,r){var u=void 0===r?n:n.slice(0,oi(n,"name",r));return u.forEach(function(n){n.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=n.function||n.fn;n.enabled&&ut(r)&&(i.offsets.popper=t(i.offsets.popper),i.offsets.reference=t(i.offsets.reference),i=r(i,n))}),i}function si(){if(!this.state.isDestroyed){var n={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=ct(this.state,this.popper,this.reference);n.placement=ht(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.offsets.popper=at(this.popper,n.offsets.reference,n.placement);n.offsets.popper.position="absolute";n=vt(this.modifiers,n);this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}function yt(n,t){return n.some(function(n){var i=n.name,r=n.enabled;return r&&i===t})}function pt(n){for(var i,r,u=[!1,"ms","Webkit","Moz","O"],f=n.charAt(0).toUpperCase()+n.slice(1),t=0;t<u.length-1;t++)if(i=u[t],r=i?""+i+f:n,"undefined"!=typeof window.document.body.style[r])return r;return null}function hi(){return this.state.isDestroyed=!0,yt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[pt("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function wt(n,t,i,r){var f="BODY"===n.nodeName,u=f?window:n;u.addEventListener(t,i,{passive:!0});f||wt(o(u.parentNode),t,i,r);r.push(u)}function ci(n,t,i,r){i.updateBound=r;window.addEventListener("resize",i.updateBound,{passive:!0});var u=o(n);return wt(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function li(){this.state.eventsEnabled||(this.state=ci(this.reference,this.options,this.state,this.scheduleUpdate))}function ai(n,t){return window.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 vi(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=ai(this.reference,this.state))}function d(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function g(n,t){Object.keys(t).forEach(function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&d(t[i])&&(r="px");n.style[i]=t[i]+r})}function yi(n,t){Object.keys(t).forEach(function(i){var r=t[i];!1===r?n.removeAttribute(i):n.setAttribute(i,t[i])})}function bt(n,t,i){var u=s(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;return f||(r="`"+t+"`",console.warn("`"+i+"` modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),f}function pi(n){return"end"===n?"start":"start"===n?"end":n}function kt(n){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1],t=it.indexOf(n),i=it.slice(t+1).concat(it.slice(0,t));return r?i.reverse():i}function wi(n,r,u,f){var h=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+h[1],e=h[2],s,c,l;if(!o)return n;if(0===e.indexOf("%")){switch(e){case"%p":s=u;break;case"%":case"%r":default:s=f}return c=t(s),c[r]/100*o}return"vh"===e||"vw"===e?(l="vh"===e?i(document.documentElement.clientHeight,window.innerHeight||0):i(document.documentElement.clientWidth,window.innerWidth||0),l/100*o):o}function bi(n,t,i,r){var h=[0,0],c=-1!==["right","left"].indexOf(r),u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(s(u,function(n){return-1!==n.search(/,|\s/)})),o,e;return u[f]&&-1===u[f].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),o=/\s*,\s*|\s+/,e=-1===f?[u]:[u.slice(0,f).concat([u[f].split(o)[0]]),[u[f].split(o)[1]].concat(u.slice(f+1))],e=e.map(function(n,r){var f=(1===r?!c:c)?"height":"width",u=!1;return n.reduce(function(n,t){return""===n[n.length-1]&&-1!==["+","-"].indexOf(t)?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return wi(n,f,t,i)})}),e.forEach(function(n,t){n.forEach(function(i,r){d(i)&&(h[t]+=i*("-"===n[r-1]?-1:1))})}),h}for(var dt=Math.min,f=Math.floor,i=Math.max,ki=["native code","[object MutationObserverConstructor]"],di=function(n){return ki.some(function(t){return-1<(n||"").toString().indexOf(t)})},gt="undefined"!=typeof window,ni=["Edge","Trident","Firefox"],ti=0,nt=0;nt<ni.length;nt+=1)if(gt&&0<=navigator.userAgent.indexOf(ni[nt])){ti=1;break}var tt,gi=gt&&di(window.MutationObserver),nr=gi?function(n){var t=!1,i=0,r=document.createElement("span"),u=new MutationObserver(function(){n();t=!1});return u.observe(r,{attributes:!0}),function(){t||(t=!0,r.setAttribute("x-index",i),++i)}}:function(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},ti))}},l=function(){return void 0==tt&&(tt=-1!==navigator.appVersion.indexOf("MSIE 10")),tt},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},n=Object.assign||function(n){for(var t,r,i=1;i<arguments.length;i++)for(r in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},ii=["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"],it=ii.slice(3),rt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},v=function(){function t(i,r){var u=this,f=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},e;tr(this,t);this.scheduleUpdate=function(){return requestAnimationFrame(u.update)};this.update=nr(this.update.bind(this));this.options=n({},t.Defaults,f);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=i.jquery?i[0]:i;this.popper=r.jquery?r[0]:r;this.options.modifiers={};Object.keys(n({},t.Defaults.modifiers,f.modifiers)).forEach(function(i){u.options.modifiers[i]=n({},t.Defaults.modifiers[i]||{},f.modifiers?f.modifiers[i]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(t){return n({name:t},u.options.modifiers[t])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){n.enabled&&ut(n.onLoad)&&n.onLoad(u.reference,u.popper,u.options,n,u.state)});this.update();e=this.options.eventsEnabled;e&&this.enableEventListeners();this.state.eventsEnabled=e}return ir(t,[{key:"update",value:function(){return si.call(this)}},{key:"destroy",value:function(){return hi.call(this)}},{key:"enableEventListeners",value:function(){return li.call(this)}},{key:"disableEventListeners",value:function(){return vi.call(this)}}]),t}();return v.Utils=("undefined"==typeof window?global:window).PopperUtils,v.placements=ii,v.Defaults={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var u=t.placement,c=u.split("-")[0],f=u.split("-")[1];if(f){var e=t.offsets,r=e.reference,o=e.popper,s=-1!==["bottom","top"].indexOf(c),i=s?"left":"top",h=s?"width":"height",l={start:a({},i,r[i]),end:a({},i,r[i]+r[h]-o[h])};t.offsets.popper=n({},o,l[f])}return t}},offset:{order:200,enabled:!0,fn:function(n,t){var r,f=t.offset,o=n.placement,e=n.offsets,i=e.popper,s=e.reference,u=o.split("-")[0];return r=d(+f)?[+f,0]:bi(f,i,s,u),"left"===u?(i.top+=r[0],i.left-=r[1]):"right"===u?(i.top+=r[0],i.left+=r[1]):"top"===u?(i.left+=r[0],i.top-=r[1]):"bottom"===u&&(i.left+=r[0],i.top+=r[1]),n.popper=i,n},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,u){var o=u.boundariesElement||r(t.instance.popper),e;t.instance.reference===o&&(o=r(o));e=k(t.instance.popper,t.instance.reference,u.padding,o);u.boundaries=e;var s=u.priority,f=t.offsets.popper,h={primary:function(n){var t=f[n];return f[n]<e[n]&&!u.escapeWithReference&&(t=i(f[n],e[n])),a({},n,t)},secondary:function(n){var t="right"===n?"left":"top",i=f[t];return f[n]>e[n]&&!u.escapeWithReference&&(i=dt(f[t],e[n]-("right"===n?f.width:f.height))),a({},t,i)}};return s.forEach(function(t){var i=-1===["left","top"].indexOf(t)?"secondary":"primary";f=n({},f,h[i](t))}),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(n){var s=n.offsets,u=s.popper,i=s.reference,h=n.placement.split("-")[0],r=f,e=-1!==["top","bottom"].indexOf(h),o=e?"right":"bottom",t=e?"left":"top",c=e?"width":"height";return u[o]<r(i[t])&&(n.offsets.popper[t]=r(i[t])-u[c]),u[t]>r(i[o])&&(n.offsets.popper[t]=r(i[o])),n}},arrow:{order:500,enabled:!0,fn:function(n,r){var f,y,l;if(!bt(n.instance.modifiers,"arrow","keepTogether"))return n;if(f=r.element,"string"==typeof f){if(f=n.instance.popper.querySelector(f),!f)return n}else if(!n.instance.popper.contains(f))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var p=n.placement.split("-")[0],v=n.offsets,s=v.popper,e=v.reference,h=-1!==["left","right"].indexOf(p),a=h?"height":"width",u=h?"top":"left",w=h?"left":"top",c=h?"bottom":"right",o=lt(f)[a];return e[c]-o<s[u]&&(n.offsets.popper[u]-=s[u]-(e[c]-o)),e[u]+o>s[c]&&(n.offsets.popper[u]+=e[u]+o-s[c]),y=e[u]+e[a]/2-o/2,l=y-t(n.offsets.popper)[u],l=i(dt(s[a]-o,l),0),n.arrowElement=f,n.offsets.arrow={},n.offsets.arrow[u]=Math.round(l),n.offsets.arrow[w]="",n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,i){if(yt(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var o=k(t.instance.popper,t.instance.reference,i.padding,i.boundariesElement),r=t.placement.split("-")[0],s=c(r),u=t.placement.split("-")[1]||"",e=[];switch(i.behavior){case rt.FLIP:e=[r,s];break;case rt.CLOCKWISE:e=kt(r);break;case rt.COUNTERCLOCKWISE:e=kt(r,!0);break;default:e=i.behavior}return e.forEach(function(h,l){if(r!==h||e.length===l+1)return t;r=t.placement.split("-")[0];s=c(r);var v=t.offsets.popper,y=t.offsets.reference,a=f,w="left"===r&&a(v.right)>a(y.left)||"right"===r&&a(v.left)<a(y.right)||"top"===r&&a(v.bottom)>a(y.top)||"bottom"===r&&a(v.top)<a(y.bottom),b=a(v.left)<a(o.left),k=a(v.right)>a(o.right),d=a(v.top)<a(o.top),g=a(v.bottom)>a(o.bottom),nt="left"===r&&b||"right"===r&&k||"top"===r&&d||"bottom"===r&&g,p=-1!==["top","bottom"].indexOf(r),tt=!!i.flipVariations&&(p&&"start"===u&&b||p&&"end"===u&&k||!p&&"start"===u&&d||!p&&"end"===u&&g);(w||nt||tt)&&(t.flipped=!0,(w||nt)&&(r=e[l+1]),tt&&(u=pi(u)),t.placement=r+(u?"-"+u:""),t.offsets.popper=n({},t.offsets.popper,at(t.instance.popper,t.offsets.reference,t.placement)),t=vt(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(n){var i=n.placement,u=i.split("-")[0],f=n.offsets,r=f.popper,o=f.reference,e=-1!==["left","right"].indexOf(u),s=-1===["top","left"].indexOf(u);return r[e?"left":"top"]=o[i]-(s?r[e?"width":"height"]:0),n.placement=c(i),n.offsets.popper=t(r),n}},hide:{order:800,enabled:!0,fn:function(n){if(!bt(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=s(n.instance.modifiers,function(n){return"preventOverflow"===n.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(!0===n.hide)return n;n.hide=!0;n.attributes["x-out-of-boundaries"]=""}else{if(!1===n.hide)return n;n.hide=!1;n.attributes["x-out-of-boundaries"]=!1}return n}},computeStyle:{order:850,enabled:!0,fn:function(t,i){var g=i.x,nt=i.y,e=t.offsets.popper,l=s(t.instance.modifiers,function(n){return"applyStyle"===n.name}).gpuAcceleration,b,k,d;void 0!==l&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,v,tt=void 0===l?i.gpuAcceleration:l,it=r(t.instance.popper),y=w(it),u={position:e.position},c={left:f(e.left),top:f(e.top),bottom:f(e.bottom),right:f(e.right)},o="bottom"===g?"top":"bottom",h="right"===nt?"left":"right",p=pt("transform");return(v="bottom"==o?-y.height+c.bottom:c.top,a="right"==h?-y.width+c.right:c.left,tt&&p)?(u[p]="translate3d("+a+"px, "+v+"px, 0)",u[o]=0,u[h]=0,u.willChange="transform"):(b="bottom"==o?-1:1,k="right"==h?-1:1,u[o]=v*b,u[h]=a*k,u.willChange=o+", "+h),d={"x-placement":t.placement},t.attributes=n({},d,t.attributes),t.styles=n({},u,t.styles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(n){return g(n.instance.popper,n.styles),yi(n.instance.popper,n.attributes),n.offsets.arrow&&g(n.arrowElement,n.offsets.arrow),n},onLoad:function(n,t,i,r,u){var f=ct(u,t,n),e=ht(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),g(t,{position:"absolute"}),i},gpuAcceleration:void 0}}},v}),typeof jQuery=="undefined")throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");(function(n){var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||t[0]==1&&t[1]==9&&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");})(jQuery),function(){function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function e(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function i(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t=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}}(),n=function(n){function f(n){return{}.toString.call(n).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function e(n){return(n[0]||n).nodeType}function o(){return{bindType:t.end,delegateType:t.end,handle:function(t){return n(t.target).is(this)?t.handleObj.handler.apply(this,arguments):undefined}}}function s(){var t,n;if(window.QUnit)return!1;t=document.createElement("bootstrap");for(n in r)if(t.style[n]!==undefined)return{end:r[n]};return!1}function h(t){var u=this,r=!1;n(this).one(i.TRANSITION_END,function(){r=!0});return setTimeout(function(){r||i.triggerTransitionEnd(u)},t),this}function c(){t=s();n.fn.emulateTransitionEnd=h;i.supportsTransitionEnd()&&(n.event.special[i.TRANSITION_END]=o())}var t=!1,u=1e6,r={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},i={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(Math.random()*u);while(document.getElementById(n));return n},getSelectorFromElement:function(t){var i=t.getAttribute("data-target"),r;i&&i!=="#"||(i=t.getAttribute("href")||"");try{return r=n(i),r.length>0?i:null}catch(u){return null}},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(i){n(i).trigger(t.end)},supportsTransitionEnd:function(){return Boolean(t)},typeCheckConfig:function(n,t,i){var r;for(r in i)if(i.hasOwnProperty(r)){var o=i[r],u=t[r],s=u&&e(u)?"element":f(u);if(!new RegExp(o).test(s))throw new Error(n.toUpperCase()+": "+('Option "'+r+'" provided type "'+s+'" ')+('but expected type "'+o+'".'));}}};return c(),i}(jQuery),o=function(r){var f="alert",c="4.0.0-beta",e="bs.alert",o="."+e,l=r.fn[f],a=150,s={CLOSE:"close"+o,CLOSED:"closed"+o,CLICK_DATA_API:"click"+o+".data-api"},h={ALERT:"alert",FADE:"fade",SHOW:"show"},u=function(){function u(n){i(this,u);this._element=n}return u.prototype.close=function(n){n=n||this._element;var t=this._getRootElement(n),i=this._triggerCloseEvent(t);i.isDefaultPrevented()||this._removeElement(t)},u.prototype.dispose=function(){r.removeData(this._element,e);this._element=null},u.prototype._getRootElement=function(t){var u=n.getSelectorFromElement(t),i=!1;return u&&(i=r(u)[0]),i||(i=r(t).closest("."+h.ALERT)[0]),i},u.prototype._triggerCloseEvent=function(n){var t=r.Event(s.CLOSE);return r(n).trigger(t),t},u.prototype._removeElement=function(t){var i=this;if(r(t).removeClass(h.SHOW),!n.supportsTransitionEnd()||!r(t).hasClass(h.FADE)){this._destroyElement(t);return}r(t).one(n.TRANSITION_END,function(n){return i._destroyElement(t,n)}).emulateTransitionEnd(a)},u.prototype._destroyElement=function(n){r(n).detach().trigger(s.CLOSED).remove()},u._jQueryInterface=function(n){return this.each(function(){var i=r(this),t=i.data(e);t||(t=new u(this),i.data(e,t));n==="close"&&t[n](this)})},u._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},t(u,null,[{key:"VERSION",get:function(){return c}}]),u}();r(document).on(s.CLICK_DATA_API,{DISMISS:'[data-dismiss="alert"]'}.DISMISS,u._handleDismiss(new u));return r.fn[f]=u._jQueryInterface,r.fn[f].Constructor=u,r.fn[f].noConflict=function(){return r.fn[f]=l,u._jQueryInterface},u}(jQuery),s=function(n){var f="button",l="4.0.0-beta",o="bs.button",s="."+o,h=".data-api",a=n.fn[f],r={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},u={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},c={CLICK_DATA_API:"click"+s+h,FOCUS_BLUR_DATA_API:"focus"+s+h+" "+("blur"+s+h)},e=function(){function f(n){i(this,f);this._element=n}return f.prototype.toggle=function(){var f=!0,o=!0,i=n(this._element).closest(u.DATA_TOGGLE)[0],t,e;if(i&&(t=n(this._element).find(u.INPUT)[0],t)){if(t.type==="radio"&&(t.checked&&n(this._element).hasClass(r.ACTIVE)?f=!1:(e=n(i).find(u.ACTIVE)[0],e&&n(e).removeClass(r.ACTIVE))),f){if(t.hasAttribute("disabled")||i.hasAttribute("disabled")||t.classList.contains("disabled")||i.classList.contains("disabled"))return;t.checked=!n(this._element).hasClass(r.ACTIVE);n(t).trigger("change")}t.focus();o=!1}o&&this._element.setAttribute("aria-pressed",!n(this._element).hasClass(r.ACTIVE));f&&n(this._element).toggleClass(r.ACTIVE)},f.prototype.dispose=function(){n.removeData(this._element,o);this._element=null},f._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(o);i||(i=new f(this),n(this).data(o,i));t==="toggle"&&i[t]()})},t(f,null,[{key:"VERSION",get:function(){return l}}]),f}();n(document).on(c.CLICK_DATA_API,u.DATA_TOGGLE_CARROT,function(t){t.preventDefault();var i=t.target;n(i).hasClass(r.BUTTON)||(i=n(i).closest(u.BUTTON));e._jQueryInterface.call(n(i),"toggle")}).on(c.FOCUS_BLUR_DATA_API,u.DATA_TOGGLE_CARROT,function(t){var i=n(t.target).closest(u.BUTTON)[0];n(i).toggleClass(r.FOCUS,/^focus(in)?$/.test(t.type))});return n.fn[f]=e._jQueryInterface,n.fn[f].Constructor=e,n.fn[f].noConflict=function(){return n.fn[f]=a,e._jQueryInterface},e}(jQuery),h=function(u){var c="carousel",p="4.0.0-beta",a="bs.carousel",o="."+a,y=".data-api",w=u.fn[c],b=600,k=37,d=39,g=500,v={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},nt={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},e={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},s={SLIDE:"slide"+o,SLID:"slid"+o,KEYDOWN:"keydown"+o,MOUSEENTER:"mouseenter"+o,MOUSELEAVE:"mouseleave"+o,TOUCHEND:"touchend"+o,LOAD_DATA_API:"load"+o+y,CLICK_DATA_API:"click"+o+y},f={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"},h={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"]'},l=function(){function l(n,t){i(this,l);this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this._config=this._getConfig(t);this._element=u(n)[0];this._indicatorsElement=u(this._element).find(h.INDICATORS)[0];this._addEventListeners()}return l.prototype.next=function(){this._isSliding||this._slide(e.NEXT)},l.prototype.nextWhenVisible=function(){document.hidden||this.next()},l.prototype.prev=function(){this._isSliding||this._slide(e.PREV)},l.prototype.pause=function(t){t||(this._isPaused=!0);u(this._element).find(h.NEXT_PREV)[0]&&n.supportsTransitionEnd()&&(n.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},l.prototype.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))},l.prototype.to=function(n){var r=this,t,i;if(this._activeElement=u(this._element).find(h.ACTIVE_ITEM)[0],t=this._getItemIndex(this._activeElement),!(n>this._items.length-1)&&!(n<0)){if(this._isSliding){u(this._element).one(s.SLID,function(){return r.to(n)});return}if(t===n){this.pause();this.cycle();return}i=n>t?e.NEXT:e.PREV;this._slide(i,this._items[n])}},l.prototype.dispose=function(){u(this._element).off(o);u.removeData(this._element,a);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},l.prototype._getConfig=function(t){return t=u.extend({},v,t),n.typeCheckConfig(c,t,nt),t},l.prototype._addEventListeners=function(){var n=this;if(this._config.keyboard)u(this._element).on(s.KEYDOWN,function(t){return n._keydown(t)});if(this._config.pause==="hover"){u(this._element).on(s.MOUSEENTER,function(t){return n.pause(t)}).on(s.MOUSELEAVE,function(t){return n.cycle(t)});if("ontouchstart"in document.documentElement)u(this._element).on(s.TOUCHEND,function(){n.pause();n.touchTimeout&&clearTimeout(n.touchTimeout);n.touchTimeout=setTimeout(function(t){return n.cycle(t)},g+n._config.interval)})}},l.prototype._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case k:n.preventDefault();this.prev();break;case d:n.preventDefault();this.next();break;default:return}},l.prototype._getItemIndex=function(n){return this._items=u.makeArray(u(n).parent().find(h.ITEM)),this._items.indexOf(n)},l.prototype._getItemByDirection=function(n,t){var f=n===e.NEXT,o=n===e.PREV,i=this._getItemIndex(t),s=this._items.length-1,h=o&&i===0||f&&i===s,u,r;return h&&!this._config.wrap?t:(u=n===e.PREV?-1:1,r=(i+u)%this._items.length,r===-1?this._items[this._items.length-1]:this._items[r])},l.prototype._triggerSlideEvent=function(n,t){var r=this._getItemIndex(n),f=this._getItemIndex(u(this._element).find(h.ACTIVE_ITEM)[0]),i=u.Event(s.SLIDE,{relatedTarget:n,direction:t,from:f,to:r});return u(this._element).trigger(i),i},l.prototype._setActiveIndicatorElement=function(n){if(this._indicatorsElement){u(this._indicatorsElement).find(h.ACTIVE).removeClass(f.ACTIVE);var t=this._indicatorsElement.children[this._getItemIndex(n)];t&&u(t).addClass(f.ACTIVE)}},l.prototype._slide=function(t,i){var y=this,o=u(this._element).find(h.ACTIVE_ITEM)[0],k=this._getItemIndex(o),r=i||o&&this._getItemByDirection(t,o),d=this._getItemIndex(r),p=Boolean(this._interval),c=void 0,l=void 0,a=void 0,w,v;if(t===e.NEXT?(c=f.LEFT,l=f.NEXT,a=e.LEFT):(c=f.RIGHT,l=f.PREV,a=e.RIGHT),r&&u(r).hasClass(f.ACTIVE)){this._isSliding=!1;return}(w=this._triggerSlideEvent(r,a),w.isDefaultPrevented())||o&&r&&(this._isSliding=!0,p&&this.pause(),this._setActiveIndicatorElement(r),v=u.Event(s.SLID,{relatedTarget:r,direction:a,from:k,to:d}),n.supportsTransitionEnd()&&u(this._element).hasClass(f.SLIDE)?(u(r).addClass(l),n.reflow(r),u(o).addClass(c),u(r).addClass(c),u(o).one(n.TRANSITION_END,function(){u(r).removeClass(c+" "+l).addClass(f.ACTIVE);u(o).removeClass(f.ACTIVE+" "+l+" "+c);y._isSliding=!1;setTimeout(function(){return u(y._element).trigger(v)},0)}).emulateTransitionEnd(b)):(u(o).removeClass(f.ACTIVE),u(r).addClass(f.ACTIVE),this._isSliding=!1,u(this._element).trigger(v)),p&&this.cycle())},l._jQueryInterface=function(n){return this.each(function(){var t=u(this).data(a),f=u.extend({},v,u(this).data()),i;if((typeof n=="undefined"?"undefined":r(n))==="object"&&u.extend(f,n),i=typeof n=="string"?n:f.slide,t||(t=new l(this,f),u(this).data(a,t)),typeof n=="number")t.to(n);else if(typeof i=="string"){if(t[i]===undefined)throw new Error('No method named "'+i+'"');t[i]()}else f.interval&&(t.pause(),t.cycle())})},l._dataApiClickHandler=function(t){var o=n.getSelectorFromElement(this),i,e,r;o&&(i=u(o)[0],i&&u(i).hasClass(f.CAROUSEL))&&(e=u.extend({},u(i).data(),u(this).data()),r=this.getAttribute("data-slide-to"),r&&(e.interval=!1),l._jQueryInterface.call(u(i),e),r&&u(i).data(a).to(r),t.preventDefault())},t(l,null,[{key:"VERSION",get:function(){return p}},{key:"Default",get:function(){return v}}]),l}();u(document).on(s.CLICK_DATA_API,h.DATA_SLIDE,l._dataApiClickHandler);u(window).on(s.LOAD_DATA_API,function(){u(h.DATA_RIDE).each(function(){var n=u(this);l._jQueryInterface.call(n,n.data())})});return u.fn[c]=l._jQueryInterface,u.fn[c].Constructor=l,u.fn[c].noConflict=function(){return u.fn[c]=w,l._jQueryInterface},l}(jQuery),c=function(u){var o="collapse",p="4.0.0-beta",e="bs.collapse",s="."+e,w=u.fn[o],y=600,l={toggle:!0,parent:""},b={toggle:"boolean",parent:"string"},h={SHOW:"show"+s,SHOWN:"shown"+s,HIDE:"hide"+s,HIDDEN:"hidden"+s,CLICK_DATA_API:"click"+s+".data-api"},f={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},a={WIDTH:"width",HEIGHT:"height"},v={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},c=function(){function s(t,r){var e,f,o,h;for(i(this,s),this._isTransitioning=!1,this._element=t,this._config=this._getConfig(r),this._triggerArray=u.makeArray(u('[data-toggle="collapse"][href="#'+t.id+'"],'+('[data-toggle="collapse"][data-target="#'+t.id+'"]'))),e=u(v.DATA_TOGGLE),f=0;f<e.length;f++)o=e[f],h=n.getSelectorFromElement(o),h!==null&&u(h).filter(t).length>0&&this._triggerArray.push(o);this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}return s.prototype.toggle=function(){u(this._element).hasClass(f.SHOW)?this.hide():this.show()},s.prototype.show=function(){var o=this,t,r,c,i,l,a,p;if(!this._isTransitioning&&!u(this._element).hasClass(f.SHOW)&&(t=void 0,r=void 0,this._parent&&(t=u.makeArray(u(this._parent).children().children(v.ACTIVES)),t.length||(t=null)),!t||(r=u(t).data(e),!r||!r._isTransitioning))&&(c=u.Event(h.SHOW),u(this._element).trigger(c),!c.isDefaultPrevented())){if(t&&(s._jQueryInterface.call(u(t),"hide"),r||u(t).data(e,null)),i=this._getDimension(),u(this._element).removeClass(f.COLLAPSE).addClass(f.COLLAPSING),this._element.style[i]=0,this._triggerArray.length&&u(this._triggerArray).removeClass(f.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0),l=function(){u(o._element).removeClass(f.COLLAPSING).addClass(f.COLLAPSE).addClass(f.SHOW);o._element.style[i]="";o.setTransitioning(!1);u(o._element).trigger(h.SHOWN)},!n.supportsTransitionEnd()){l();return}a=i[0].toUpperCase()+i.slice(1);p="scroll"+a;u(this._element).one(n.TRANSITION_END,l).emulateTransitionEnd(y);this._element.style[i]=this._element[p]+"px"}},s.prototype.hide=function(){var c=this,r,t,i,e,o,l,s;if(!this._isTransitioning&&u(this._element).hasClass(f.SHOW)&&(r=u.Event(h.HIDE),u(this._element).trigger(r),!r.isDefaultPrevented())){if(t=this._getDimension(),this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",n.reflow(this._element),u(this._element).addClass(f.COLLAPSING).removeClass(f.COLLAPSE).removeClass(f.SHOW),this._triggerArray.length)for(i=0;i<this._triggerArray.length;i++)e=this._triggerArray[i],o=n.getSelectorFromElement(e),o!==null&&(l=u(o),l.hasClass(f.SHOW)||u(e).addClass(f.COLLAPSED).attr("aria-expanded",!1));if(this.setTransitioning(!0),s=function(){c.setTransitioning(!1);u(c._element).removeClass(f.COLLAPSING).addClass(f.COLLAPSE).trigger(h.HIDDEN)},this._element.style[t]="",!n.supportsTransitionEnd()){s();return}u(this._element).one(n.TRANSITION_END,s).emulateTransitionEnd(y)}},s.prototype.setTransitioning=function(n){this._isTransitioning=n},s.prototype.dispose=function(){u.removeData(this._element,e);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},s.prototype._getConfig=function(t){return t=u.extend({},l,t),t.toggle=Boolean(t.toggle),n.typeCheckConfig(o,t,b),t},s.prototype._getDimension=function(){var n=u(this._element).hasClass(a.WIDTH);return n?a.WIDTH:a.HEIGHT},s.prototype._getParent=function(){var t=this,n=u(this._config.parent)[0],i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return u(n).find(i).each(function(n,i){t._addAriaAndCollapsedClass(s._getTargetFromElement(i),[i])}),n},s.prototype._addAriaAndCollapsedClass=function(n,t){if(n){var i=u(n).hasClass(f.SHOW);t.length&&u(t).toggleClass(f.COLLAPSED,!i).attr("aria-expanded",i)}},s._getTargetFromElement=function(t){var i=n.getSelectorFromElement(t);return i?u(i)[0]:null},s._jQueryInterface=function(n){return this.each(function(){var i=u(this),t=i.data(e),f=u.extend({},l,i.data(),(typeof n=="undefined"?"undefined":r(n))==="object"&&n);if(!t&&f.toggle&&/show|hide/.test(n)&&(f.toggle=!1),t||(t=new s(this,f),i.data(e,t)),typeof n=="string"){if(t[n]===undefined)throw new Error('No method named "'+n+'"');t[n]()}})},t(s,null,[{key:"VERSION",get:function(){return p}},{key:"Default",get:function(){return l}}]),s}();u(document).on(h.CLICK_DATA_API,v.DATA_TOGGLE,function(t){/input|textarea/i.test(t.target.tagName)||t.preventDefault();var i=u(this),r=n.getSelectorFromElement(this);u(r).each(function(){var n=u(this),t=n.data(e),r=t?"toggle":i.data();c._jQueryInterface.call(n,r)})});return u.fn[o]=c._jQueryInterface,u.fn[o].Constructor=c,u.fn[o].noConflict=function(){return u.fn[o]=w,c._jQueryInterface},c}(jQuery),l=function(u){if(typeof Popper=="undefined")throw new Error("Bootstrap dropdown require Popper.js (https://popper.js.org)");var c="dropdown",d="4.0.0-beta",a="bs.dropdown",o="."+a,y=".data-api",g=u.fn[c],v=27,p=32,w=9,b=38,k=40,nt=3,tt=new RegExp(b+"|"+k+"|"+v),e={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,CLICK:"click"+o,CLICK_DATA_API:"click"+o+y,KEYDOWN_DATA_API:"keydown"+o+y,KEYUP_DATA_API:"keyup"+o+y},f={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left"},s={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled)"},l={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end"},it={placement:l.BOTTOM,offset:0,flip:!0},rt={placement:"string",offset:"(number|string)",flip:"boolean"},h=function(){function h(n,t){i(this,h);this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}return h.prototype.toggle=function(){var n,o,t,i,r;if(!this._element.disabled&&!u(this._element).hasClass(f.DISABLED)&&(n=h._getParentFromElement(this._element),o=u(this._menu).hasClass(f.SHOW),h._clearMenus(),!o)&&(t={relatedTarget:this._element},i=u.Event(e.SHOW,t),u(n).trigger(i),!i.isDefaultPrevented())){if(r=this._element,u(n).hasClass(f.DROPUP)&&(u(this._menu).hasClass(f.MENULEFT)||u(this._menu).hasClass(f.MENURIGHT))&&(r=n),this._popper=new Popper(r,this._menu,this._getPopperConfig()),"ontouchstart"in document.documentElement&&!u(n).closest(s.NAVBAR_NAV).length)u("body").children().on("mouseover",null,u.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);u(this._menu).toggleClass(f.SHOW);u(n).toggleClass(f.SHOW).trigger(u.Event(e.SHOWN,t))}},h.prototype.dispose=function(){u.removeData(this._element,a);u(this._element).off(o);this._element=null;this._menu=null;this._popper!==null&&this._popper.destroy();this._popper=null},h.prototype.update=function(){this._inNavbar=this._detectNavbar();this._popper!==null&&this._popper.scheduleUpdate()},h.prototype._addEventListeners=function(){var n=this;u(this._element).on(e.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},h.prototype._getConfig=function(t){var i=u(this._element).data();return i.placement!==undefined&&(i.placement=l[i.placement.toUpperCase()]),t=u.extend({},this.constructor.Default,u(this._element).data(),t),n.typeCheckConfig(c,t,this.constructor.DefaultType),t},h.prototype._getMenuElement=function(){if(!this._menu){var n=h._getParentFromElement(this._element);this._menu=u(n).find(s.MENU)[0]}return this._menu},h.prototype._getPlacement=function(){var t=u(this._element).parent(),n=this._config.placement;return t.hasClass(f.DROPUP)||this._config.placement===l.TOP?(n=l.TOP,u(this._menu).hasClass(f.MENURIGHT)&&(n=l.TOPEND)):u(this._menu).hasClass(f.MENURIGHT)&&(n=l.BOTTOMEND),n},h.prototype._detectNavbar=function(){return u(this._element).closest(".navbar").length>0},h.prototype._getPopperConfig=function(){var n={placement:this._getPlacement(),modifiers:{offset:{offset:this._config.offset},flip:{enabled:this._config.flip}}};return this._inNavbar&&(n.modifiers.applyStyle={enabled:!this._inNavbar}),n},h._jQueryInterface=function(n){return this.each(function(){var t=u(this).data(a),i=(typeof n=="undefined"?"undefined":r(n))==="object"?n:null;if(t||(t=new h(this,i),u(this).data(a,t)),typeof n=="string"){if(t[n]===undefined)throw new Error('No method named "'+n+'"');t[n]()}})},h._clearMenus=function(n){var i,t,v,o;if(!n||n.which!==nt&&(n.type!=="keyup"||n.which===w))for(i=u.makeArray(u(s.DATA_TOGGLE)),t=0;t<i.length;t++){var r=h._getParentFromElement(i[t]),c=u(i[t]).data(a),l={relatedTarget:i[t]};c&&(v=c._menu,u(r).hasClass(f.SHOW))&&(n&&(n.type==="click"&&/input|textarea/i.test(n.target.tagName)||n.type==="keyup"&&n.which===w)&&u.contains(r,n.target)||(o=u.Event(e.HIDE,l),u(r).trigger(o),o.isDefaultPrevented())||("ontouchstart"in document.documentElement&&u("body").children().off("mouseover",null,u.noop),i[t].setAttribute("aria-expanded","false"),u(v).removeClass(f.SHOW),u(r).removeClass(f.SHOW).trigger(u.Event(e.HIDDEN,l))))}},h._getParentFromElement=function(t){var i=void 0,r=n.getSelectorFromElement(t);return r&&(i=u(r)[0]),i||t.parentNode},h._dataApiKeydownHandler=function(n){var r,e,o,i,t;if(tt.test(n.which)&&(!/button/i.test(n.target.tagName)||n.which!==p)&&!/input|textarea/i.test(n.target.tagName)&&(n.preventDefault(),n.stopPropagation(),!this.disabled&&!u(this).hasClass(f.DISABLED))){if(r=h._getParentFromElement(this),e=u(r).hasClass(f.SHOW),!e&&(n.which!==v||n.which!==p)||e&&(n.which===v||n.which===p)){n.which===v&&(o=u(r).find(s.DATA_TOGGLE)[0],u(o).trigger("focus"));u(this).trigger("click");return}(i=u(r).find(s.VISIBLE_ITEMS).get(),i.length)&&(t=i.indexOf(n.target),n.which===b&&t>0&&t--,n.which===k&&t<i.length-1&&t++,t<0&&(t=0),i[t].focus())}},t(h,null,[{key:"VERSION",get:function(){return d}},{key:"Default",get:function(){return it}},{key:"DefaultType",get:function(){return rt}}]),h}();u(document).on(e.KEYDOWN_DATA_API,s.DATA_TOGGLE,h._dataApiKeydownHandler).on(e.KEYDOWN_DATA_API,s.MENU,h._dataApiKeydownHandler).on(e.CLICK_DATA_API+" "+e.KEYUP_DATA_API,h._clearMenus).on(e.CLICK_DATA_API,s.DATA_TOGGLE,function(n){n.preventDefault();n.stopPropagation();h._jQueryInterface.call(u(this),"toggle")}).on(e.CLICK_DATA_API,s.FORM_CHILD,function(n){n.stopPropagation()});return u.fn[c]=h._jQueryInterface,u.fn[c].Constructor=h,u.fn[c].noConflict=function(){return u.fn[c]=g,h._jQueryInterface},h}(jQuery),a=function(u){var h="modal",p="4.0.0-beta",c="bs.modal",o="."+c,w=u.fn[h],a=300,v=150,b=27,y={backdrop:!0,keyboard:!0,focus:!0,show:!0},k={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},f={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,FOCUSIN:"focusin"+o,RESIZE:"resize"+o,CLICK_DISMISS:"click.dismiss"+o,KEYDOWN_DISMISS:"keydown.dismiss"+o,MOUSEUP_DISMISS:"mouseup.dismiss"+o,MOUSEDOWN_DISMISS:"mousedown.dismiss"+o,CLICK_DATA_API:"click"+o+".data-api"},e={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},s={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},l=function(){function l(n,t){i(this,l);this._config=this._getConfig(t);this._element=n;this._dialog=u(n).find(s.DIALOG)[0];this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._originalBodyPadding=0;this._scrollbarWidth=0}return l.prototype.toggle=function(n){return this._isShown?this.hide():this.show(n)},l.prototype.show=function(t){var i=this,r;if(!this._isTransitioning&&(n.supportsTransitionEnd()&&u(this._element).hasClass(e.FADE)&&(this._isTransitioning=!0),r=u.Event(f.SHOW,{relatedTarget:t}),u(this._element).trigger(r),!this._isShown&&!r.isDefaultPrevented())){this._isShown=!0;this._checkScrollbar();this._setScrollbar();u(document.body).addClass(e.OPEN);this._setEscapeEvent();this._setResizeEvent();u(this._element).on(f.CLICK_DISMISS,s.DATA_DISMISS,function(n){return i.hide(n)});u(this._dialog).on(f.MOUSEDOWN_DISMISS,function(){u(i._element).one(f.MOUSEUP_DISMISS,function(n){u(n.target).is(i._element)&&(i._ignoreBackdropClick=!0)})});this._showBackdrop(function(){return i._showElement(t)})}},l.prototype.hide=function(t){var o=this,i,r;(t&&t.preventDefault(),!this._isTransitioning&&this._isShown)&&(i=n.supportsTransitionEnd()&&u(this._element).hasClass(e.FADE),i&&(this._isTransitioning=!0),r=u.Event(f.HIDE),u(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented())&&(this._isShown=!1,this._setEscapeEvent(),this._setResizeEvent(),u(document).off(f.FOCUSIN),u(this._element).removeClass(e.SHOW),u(this._element).off(f.CLICK_DISMISS),u(this._dialog).off(f.MOUSEDOWN_DISMISS),i?u(this._element).one(n.TRANSITION_END,function(n){return o._hideModal(n)}).emulateTransitionEnd(a):this._hideModal())},l.prototype.dispose=function(){u.removeData(this._element,c);u(window,document,this._element,this._backdrop).off(o);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null},l.prototype.handleUpdate=function(){this._adjustDialog()},l.prototype._getConfig=function(t){return t=u.extend({},y,t),n.typeCheckConfig(h,t,k),t},l.prototype._showElement=function(t){var i=this,o=n.supportsTransitionEnd()&&u(this._element).hasClass(e.FADE),s,r;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&&n.reflow(this._element);u(this._element).addClass(e.SHOW);this._config.focus&&this._enforceFocus();s=u.Event(f.SHOWN,{relatedTarget:t});r=function(){i._config.focus&&i._element.focus();i._isTransitioning=!1;u(i._element).trigger(s)};o?u(this._dialog).one(n.TRANSITION_END,r).emulateTransitionEnd(a):r()},l.prototype._enforceFocus=function(){var n=this;u(document).off(f.FOCUSIN).on(f.FOCUSIN,function(t){document===t.target||n._element===t.target||u(n._element).has(t.target).length||n._element.focus()})},l.prototype._setEscapeEvent=function(){var n=this;if(this._isShown&&this._config.keyboard)u(this._element).on(f.KEYDOWN_DISMISS,function(t){t.which===b&&(t.preventDefault(),n.hide())});else this._isShown||u(this._element).off(f.KEYDOWN_DISMISS)},l.prototype._setResizeEvent=function(){var n=this;if(this._isShown)u(window).on(f.RESIZE,function(t){return n.handleUpdate(t)});else u(window).off(f.RESIZE)},l.prototype._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._isTransitioning=!1;this._showBackdrop(function(){u(document.body).removeClass(e.OPEN);n._resetAdjustments();n._resetScrollbar();u(n._element).trigger(f.HIDDEN)})},l.prototype._removeBackdrop=function(){this._backdrop&&(u(this._backdrop).remove(),this._backdrop=null)},l.prototype._showBackdrop=function(t){var i=this,r=u(this._element).hasClass(e.FADE)?e.FADE:"",o,s;if(this._isShown&&this._config.backdrop){o=n.supportsTransitionEnd()&&r;this._backdrop=document.createElement("div");this._backdrop.className=e.BACKDROP;r&&u(this._backdrop).addClass(r);u(this._backdrop).appendTo(document.body);u(this._element).on(f.CLICK_DISMISS,function(n){if(i._ignoreBackdropClick){i._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&(i._config.backdrop==="static"?i._element.focus():i.hide())});if(o&&n.reflow(this._backdrop),u(this._backdrop).addClass(e.SHOW),!t)return;if(!o){t();return}u(this._backdrop).one(n.TRANSITION_END,t).emulateTransitionEnd(v)}else!this._isShown&&this._backdrop?(u(this._backdrop).removeClass(e.SHOW),s=function(){i._removeBackdrop();t&&t()},n.supportsTransitionEnd()&&u(this._element).hasClass(e.FADE)?u(this._backdrop).one(n.TRANSITION_END,s).emulateTransitionEnd(v):s()):t&&t()},l.prototype._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")},l.prototype._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},l.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},l.prototype._setScrollbar=function(){var n=this,t,i;this._isBodyOverflowing&&(u(s.FIXED_CONTENT).each(function(t,i){var r=u(i)[0].style.paddingRight,f=u(i).css("padding-right");u(i).data("padding-right",r).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),u(s.NAVBAR_TOGGLER).each(function(t,i){var r=u(i)[0].style.marginRight,f=u(i).css("margin-right");u(i).data("margin-right",r).css("margin-right",parseFloat(f)+n._scrollbarWidth+"px")}),t=document.body.style.paddingRight,i=u("body").css("padding-right"),u("body").data("padding-right",t).css("padding-right",parseFloat(i)+this._scrollbarWidth+"px"))},l.prototype._resetScrollbar=function(){u(s.FIXED_CONTENT).each(function(n,t){var i=u(t).data("padding-right");typeof i!="undefined"&&u(t).css("padding-right",i).removeData("padding-right")});u(s.NAVBAR_TOGGLER).each(function(n,t){var i=u(t).data("margin-right");typeof i!="undefined"&&u(t).css("margin-right",i).removeData("margin-right")});var n=u("body").data("padding-right");typeof n!="undefined"&&u("body").css("padding-right",n).removeData("padding-right")},l.prototype._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=e.SCROLLBAR_MEASURER,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},l._jQueryInterface=function(n,t){return this.each(function(){var i=u(this).data(c),f=u.extend({},l.Default,u(this).data(),(typeof n=="undefined"?"undefined":r(n))==="object"&&n);if(i||(i=new l(this,f),u(this).data(c,i)),typeof n=="string"){if(i[n]===undefined)throw new Error('No method named "'+n+'"');i[n](t)}else f.show&&i.show(t)})},t(l,null,[{key:"VERSION",get:function(){return p}},{key:"Default",get:function(){return y}}]),l}();u(document).on(f.CLICK_DATA_API,s.DATA_TOGGLE,function(t){var r=this,i=void 0,e=n.getSelectorFromElement(this),o,s;e&&(i=u(e)[0]);o=u(i).data(c)?"toggle":u.extend({},u(i).data(),u(this).data());(this.tagName==="A"||this.tagName==="AREA")&&t.preventDefault();s=u(i).one(f.SHOW,function(n){if(!n.isDefaultPrevented())s.one(f.HIDDEN,function(){u(r).is(":visible")&&r.focus()})});l._jQueryInterface.call(u(i),o,this)});return u.fn[h]=l._jQueryInterface,u.fn[h].Constructor=l,u.fn[h].noConflict=function(){return u.fn[h]=w,l._jQueryInterface},l}(jQuery),v=function(u){var e="scrollspy",y="4.0.0-beta",h="bs.scrollspy",c="."+h,p=u.fn[e],v={offset:10,method:"auto",target:""},w={offset:"number",method:"string",target:"(string|element)"},l={ACTIVATE:"activate"+c,SCROLL:"scroll"+c,LOAD_DATA_API:"load"+c+".data-api"},o={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},f={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},a={OFFSET:"offset",POSITION:"position"},s=function(){function s(n,t){var r=this;i(this,s);this._element=n;this._scrollElement=n.tagName==="BODY"?window:n;this._config=this._getConfig(t);this._selector=this._config.target+" "+f.NAV_LINKS+","+(this._config.target+" "+f.LIST_ITEMS+",")+(this._config.target+" "+f.DROPDOWN_ITEMS);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;u(this._scrollElement).on(l.SCROLL,function(n){return r._process(n)});this.refresh();this._process()}return s.prototype.refresh=function(){var t=this,f=this._scrollElement!==this._scrollElement.window?a.POSITION:a.OFFSET,i=this._config.method==="auto"?f:this._config.method,e=i===a.POSITION?this._getScrollTop():0,r;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();r=u.makeArray(u(this._selector));r.map(function(t){var r=void 0,f=n.getSelectorFromElement(t),o;return(f&&(r=u(f)[0]),r&&(o=r.getBoundingClientRect(),o.width||o.height))?[u(r)[i]().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])})},s.prototype.dispose=function(){u.removeData(this._element,h);u(this._scrollElement).off(c);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},s.prototype._getConfig=function(t){if(t=u.extend({},v,t),typeof t.target!="string"){var i=u(t.target).attr("id");i||(i=n.getUID(e),u(t.target).attr("id",i));t.target="#"+i}return n.typeCheckConfig(e,t,w),t},s.prototype._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},s.prototype._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},s.prototype._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},s.prototype._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),f=this._config.offset+r-this._getOffsetHeight(),i,n,u;if(this._scrollHeight!==r&&this.refresh(),t>=f){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(n=this._offsets.length;n--;)u=this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&(this._offsets[n+1]===undefined||t<this._offsets[n+1]),u&&this._activate(this._targets[n])},s.prototype._activate=function(n){var i,t;this._activeTarget=n;this._clear();i=this._selector.split(",");i=i.map(function(t){return t+'[data-target="'+n+'"],'+(t+'[href="'+n+'"]')});t=u(i.join(","));t.hasClass(o.DROPDOWN_ITEM)?(t.closest(f.DROPDOWN).find(f.DROPDOWN_TOGGLE).addClass(o.ACTIVE),t.addClass(o.ACTIVE)):(t.addClass(o.ACTIVE),t.parents(f.NAV_LIST_GROUP).prev(f.NAV_LINKS+", "+f.LIST_ITEMS).addClass(o.ACTIVE));u(this._scrollElement).trigger(l.ACTIVATE,{relatedTarget:n})},s.prototype._clear=function(){u(this._selector).filter(f.ACTIVE).removeClass(o.ACTIVE)},s._jQueryInterface=function(n){return this.each(function(){var t=u(this).data(h),i=(typeof n=="undefined"?"undefined":r(n))==="object"&&n;if(t||(t=new s(this,i),u(this).data(h,t)),typeof n=="string"){if(t[n]===undefined)throw new Error('No method named "'+n+'"');t[n]()}})},t(s,null,[{key:"VERSION",get:function(){return y}},{key:"Default",get:function(){return v}}]),s}();u(window).on(l.LOAD_DATA_API,function(){for(var i=u.makeArray(u(f.DATA_SPY)),t,n=i.length;n--;)t=u(i[n]),s._jQueryInterface.call(t,t.data())});return u.fn[e]=s._jQueryInterface,u.fn[e].Constructor=s,u.fn[e].noConflict=function(){return u.fn[e]=p,s._jQueryInterface},s}(jQuery),y=function(r){var e="tab",l="4.0.0-beta",c="bs.tab",o="."+c,a=r.fn[e],v=150,s={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,CLICK_DATA_API:"click"+o+".data-api"},u={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},f={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},h=function(){function e(n){i(this,e);this._element=n}return e.prototype.show=function(){var l=this,o,h,c;if((!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!r(this._element).hasClass(u.ACTIVE))&&!r(this._element).hasClass(u.DISABLED)){var i=void 0,t=void 0,e=r(this._element).closest(f.NAV_LIST_GROUP)[0],a=n.getSelectorFromElement(this._element);(e&&(t=r.makeArray(r(e).find(f.ACTIVE)),t=t[t.length-1]),o=r.Event(s.HIDE,{relatedTarget:this._element}),h=r.Event(s.SHOW,{relatedTarget:t}),t&&r(t).trigger(o),r(this._element).trigger(h),h.isDefaultPrevented()||o.isDefaultPrevented())||(a&&(i=r(a)[0]),this._activate(this._element,e),c=function(){var n=r.Event(s.HIDDEN,{relatedTarget:l._element}),i=r.Event(s.SHOWN,{relatedTarget:t});r(t).trigger(n);r(l._element).trigger(i)},i?this._activate(i,i.parentNode,c):c())}},e.prototype.dispose=function(){r.removeData(this._element,c);this._element=null},e.prototype._activate=function(t,i,e){var c=this,o=r(i).find(f.ACTIVE)[0],s=e&&n.supportsTransitionEnd()&&o&&r(o).hasClass(u.FADE),h=function(){return c._transitionComplete(t,o,s,e)};o&&s?r(o).one(n.TRANSITION_END,h).emulateTransitionEnd(v):h();o&&r(o).removeClass(u.SHOW)},e.prototype._transitionComplete=function(t,i,e,o){var s,h;i&&(r(i).removeClass(u.ACTIVE),s=r(i.parentNode).find(f.DROPDOWN_ACTIVE_CHILD)[0],s&&r(s).removeClass(u.ACTIVE),i.setAttribute("aria-expanded",!1));r(t).addClass(u.ACTIVE);t.setAttribute("aria-expanded",!0);e?(n.reflow(t),r(t).addClass(u.SHOW)):r(t).removeClass(u.FADE);t.parentNode&&r(t.parentNode).hasClass(u.DROPDOWN_MENU)&&(h=r(t).closest(f.DROPDOWN)[0],h&&r(h).find(f.DROPDOWN_TOGGLE).addClass(u.ACTIVE),t.setAttribute("aria-expanded",!0));o&&o()},e._jQueryInterface=function(n){return this.each(function(){var i=r(this),t=i.data(c);if(t||(t=new e(this),i.data(c,t)),typeof n=="string"){if(t[n]===undefined)throw new Error('No method named "'+n+'"');t[n]()}})},t(e,null,[{key:"VERSION",get:function(){return l}}]),e}();r(document).on(s.CLICK_DATA_API,f.DATA_TOGGLE,function(n){n.preventDefault();h._jQueryInterface.call(r(this),"show")});return r.fn[e]=h._jQueryInterface,r.fn[e].Constructor=h,r.fn[e].noConflict=function(){return r.fn[e]=a,h._jQueryInterface},h}(jQuery),u=function(u){if(typeof Popper=="undefined")throw new Error("Bootstrap tooltips require Popper.js (https://popper.js.org)");var h="tooltip",y="4.0.0-beta",c="bs.tooltip",f="."+c,p=u.fn[h],w=150,a="bs-tooltip",b=new RegExp("(^|\\s)"+a+"\\S+","g"),k={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)"},d={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},g={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"},s={SHOW:"show",OUT:"out"},nt={HIDE:"hide"+f,HIDDEN:"hidden"+f,SHOW:"show"+f,SHOWN:"shown"+f,INSERTED:"inserted"+f,CLICK:"click"+f,FOCUSIN:"focusin"+f,FOCUSOUT:"focusout"+f,MOUSEENTER:"mouseenter"+f,MOUSELEAVE:"mouseleave"+f},e={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 l(n,t){i(this,l);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()}return l.prototype.enable=function(){this._isEnabled=!0},l.prototype.disable=function(){this._isEnabled=!1},l.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},l.prototype.toggle=function(n){if(n){var i=this.constructor.DATA_KEY,t=u(n.currentTarget).data(i);t||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),u(n.currentTarget).data(i,t));t._activeTrigger.click=!t._activeTrigger.click;t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(u(this.getTipElement()).hasClass(e.SHOW)){this._leave(null,this);return}this._enter(null,this)}},l.prototype.dispose=function(){clearTimeout(this._timeout);u.removeData(this.element,this.constructor.DATA_KEY);u(this.element).off(this.constructor.EVENT_KEY);u(this.element).closest(".modal").off("hide.bs.modal");this.tip&&u(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.prototype.show=function(){var t=this,r,c,i,f,a,o,y,h;if(u(this.element).css("display")==="none")throw new Error("Please use show on visible elements");if(r=u.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(u(this.element).trigger(r),c=u.contains(this.element.ownerDocument.documentElement,this.element),r.isDefaultPrevented()||!c)return;if(i=this.getTipElement(),f=n.getUID(this.constructor.NAME),i.setAttribute("id",f),this.element.setAttribute("aria-describedby",f),this.setContent(),this.config.animation&&u(i).addClass(e.FADE),a=typeof this.config.placement=="function"?this.config.placement.call(this,i,this.element):this.config.placement,o=this._getAttachment(a),this.addAttachmentClass(o),y=this.config.container===!1?document.body:u(this.config.container),u(i).data(this.constructor.DATA_KEY,this),u.contains(this.element.ownerDocument.documentElement,this.tip)||u(i).appendTo(y),u(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new Popper(this.element,i,{placement:o,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:v.ARROW}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){t._handlePopperPlacementChange(n)}}),u(i).addClass(e.SHOW),"ontouchstart"in document.documentElement)u("body").children().on("mouseover",null,u.noop);h=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null;u(t.element).trigger(t.constructor.Event.SHOWN);n===s.OUT&&t._leave(null,t)};n.supportsTransitionEnd()&&u(this.tip).hasClass(e.FADE)?u(this.tip).one(n.TRANSITION_END,h).emulateTransitionEnd(l._TRANSITION_DURATION):h()}},l.prototype.hide=function(t){var i=this,r=this.getTipElement(),f=u.Event(this.constructor.Event.HIDE),h=function(){i._hoverState!==s.SHOW&&r.parentNode&&r.parentNode.removeChild(r);i._cleanTipClass();i.element.removeAttribute("aria-describedby");u(i.element).trigger(i.constructor.Event.HIDDEN);i._popper!==null&&i._popper.destroy();t&&t()};(u(this.element).trigger(f),f.isDefaultPrevented())||(u(r).removeClass(e.SHOW),"ontouchstart"in document.documentElement&&u("body").children().off("mouseover",null,u.noop),this._activeTrigger[o.CLICK]=!1,this._activeTrigger[o.FOCUS]=!1,this._activeTrigger[o.HOVER]=!1,n.supportsTransitionEnd()&&u(this.tip).hasClass(e.FADE)?u(r).one(n.TRANSITION_END,h).emulateTransitionEnd(w):h(),this._hoverState="")},l.prototype.update=function(){this._popper!==null&&this._popper.scheduleUpdate()},l.prototype.isWithContent=function(){return Boolean(this.getTitle())},l.prototype.addAttachmentClass=function(n){u(this.getTipElement()).addClass(a+"-"+n)},l.prototype.getTipElement=function(){return this.tip=this.tip||u(this.config.template)[0]},l.prototype.setContent=function(){var n=u(this.getTipElement());this.setElementContent(n.find(v.TOOLTIP_INNER),this.getTitle());n.removeClass(e.FADE+" "+e.SHOW)},l.prototype.setElementContent=function(n,t){var i=this.config.html;(typeof t=="undefined"?"undefined":r(t))==="object"&&(t.nodeType||t.jquery)?i?u(t).parent().is(n)||n.empty().append(t):n.text(u(t).text()):n[i?"html":"text"](t)},l.prototype.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.prototype._getAttachment=function(n){return d[n.toUpperCase()]},l.prototype._setListeners=function(){var n=this,t=this.config.trigger.split(" ");t.forEach(function(t){if(t==="click")u(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(t!==o.MANUAL){var i=t===o.HOVER?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,r=t===o.HOVER?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;u(n.element).on(i,n.config.selector,function(t){return n._enter(t)}).on(r,n.config.selector,function(t){return n._leave(t)})}u(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})});this.config.selector?this.config=u.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},l.prototype._fixTitle=function(){var n=r(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.prototype._enter=function(n,t){var i=this.constructor.DATA_KEY;if(t=t||u(n.currentTarget).data(i),t||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),u(n.currentTarget).data(i,t)),n&&(t._activeTrigger[n.type==="focusin"?o.FOCUS:o.HOVER]=!0),u(t.getTipElement()).hasClass(e.SHOW)||t._hoverState===s.SHOW){t._hoverState=s.SHOW;return}if(clearTimeout(t._timeout),t._hoverState=s.SHOW,!t.config.delay||!t.config.delay.show){t.show();return}t._timeout=setTimeout(function(){t._hoverState===s.SHOW&&t.show()},t.config.delay.show)},l.prototype._leave=function(n,t){var i=this.constructor.DATA_KEY;if(t=t||u(n.currentTarget).data(i),t||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),u(n.currentTarget).data(i,t)),n&&(t._activeTrigger[n.type==="focusout"?o.FOCUS:o.HOVER]=!1),!t._isWithActiveTrigger()){if(clearTimeout(t._timeout),t._hoverState=s.OUT,!t.config.delay||!t.config.delay.hide){t.hide();return}t._timeout=setTimeout(function(){t._hoverState===s.OUT&&t.hide()},t.config.delay.hide)}},l.prototype._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},l.prototype._getConfig=function(t){return t=u.extend({},this.constructor.Default,u(this.element).data(),t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t.title&&typeof t.title=="number"&&(t.title=t.title.toString()),t.content&&typeof t.content=="number"&&(t.content=t.content.toString()),n.typeCheckConfig(h,t,this.constructor.DefaultType),t},l.prototype._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.prototype._cleanTipClass=function(){var t=u(this.getTipElement()),n=t.attr("class").match(b);n!==null&&n.length>0&&t.removeClass(n.join(""))},l.prototype._handlePopperPlacementChange=function(n){this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},l.prototype._fixTransition=function(){var n=this.getTipElement(),t=this.config.animation;n.getAttribute("x-placement")===null&&(u(n).removeClass(e.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},l._jQueryInterface=function(n){return this.each(function(){var t=u(this).data(c),i=(typeof n=="undefined"?"undefined":r(n))==="object"&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new l(this,i),u(this).data(c,t)),typeof n=="string")){if(t[n]===undefined)throw new Error('No method named "'+n+'"');t[n]()}})},t(l,null,[{key:"VERSION",get:function(){return y}},{key:"Default",get:function(){return g}},{key:"NAME",get:function(){return h}},{key:"DATA_KEY",get:function(){return c}},{key:"Event",get:function(){return nt}},{key:"EVENT_KEY",get:function(){return f}},{key:"DefaultType",get:function(){return k}}]),l}();return u.fn[h]=l._jQueryInterface,u.fn[h].Constructor=l,u.fn[h].noConflict=function(){return u.fn[h]=p,l._jQueryInterface},l}(jQuery),p=function(n){var s="popover",y="4.0.0-beta",h="bs.popover",o="."+h,p=n.fn[s],l="bs-popover",w=new RegExp("(^|\\s)"+l+"\\S+","g"),b=n.extend({},u.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>'}),k=n.extend({},u.DefaultType,{content:"(string|element|function)"}),a={FADE:"fade",SHOW:"show"},v={TITLE:".popover-header",CONTENT:".popover-body"},d={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,INSERTED:"inserted"+o,CLICK:"click"+o,FOCUSIN:"focusin"+o,FOCUSOUT:"focusout"+o,MOUSEENTER:"mouseenter"+o,MOUSELEAVE:"mouseleave"+o},c=function(u){function c(){return i(this,c),f(this,u.apply(this,arguments))}return e(c,u),c.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},c.prototype.addAttachmentClass=function(t){n(this.getTipElement()).addClass(l+"-"+t)},c.prototype.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0]},c.prototype.setContent=function(){var t=n(this.getTipElement());this.setElementContent(t.find(v.TITLE),this.getTitle());this.setElementContent(t.find(v.CONTENT),this._getContent());t.removeClass(a.FADE+" "+a.SHOW)},c.prototype._getContent=function(){return this.element.getAttribute("data-content")||(typeof this.config.content=="function"?this.config.content.call(this.element):this.config.content)},c.prototype._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(w);t!==null&&t.length>0&&i.removeClass(t.join(""))},c._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(h),u=(typeof t=="undefined"?"undefined":r(t))==="object"?t:null;if((i||!/destroy|hide/.test(t))&&(i||(i=new c(this,u),n(this).data(h,i)),typeof t=="string")){if(i[t]===undefined)throw new Error('No method named "'+t+'"');i[t]()}})},t(c,null,[{key:"VERSION",get:function(){return y}},{key:"Default",get:function(){return b}},{key:"NAME",get:function(){return s}},{key:"DATA_KEY",get:function(){return h}},{key:"Event",get:function(){return d}},{key:"EVENT_KEY",get:function(){return o}},{key:"DefaultType",get:function(){return k}}]),c}(u);return n.fn[s]=c._jQueryInterface,n.fn[s].Constructor=c,n.fn[s].noConflict=function(){return n.fn[s]=p,c._jQueryInterface},c}(jQuery)}(),function(n){jQuery.sessionTimeout=function(t){function e(t){switch(t){case"start":u=setTimeout(function(){n.each(i.closeModals,function(t,i){n("#"+i).modal("hide")});document.title=i.titleMessage;n("#sessionTimeout-dialog").modal("show");o("start")},i.warnAfter);break;case"stop":clearTimeout(u)}}function o(n){switch(n){case"start":f=setTimeout(function(){window.location=i.redirUrl},i.redirAfter-i.warnAfter);break;case"stop":clearTimeout(f)}}var r={title:"Your session is about to expire!",message:"For security purposes, your current session will be ending in 5 minutes. Click to continue your session.",titleMessage:"Warning: Time Out",stayConnectedBtn:"Stay connected",logoutBtn:"OK",closeModals:[],keepAliveUrl:"/keep-alive",redirUrl:"/timed-out",logoutUrl:"/log-out",warnAfter:9e5,redirAfter:12e5},i=r,u,f;t&&(i=n.extend(r,t));n("body").append('<div class="modal fade" id="sessionTimeout-dialog"  role="dialog" aria-label="Session End"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><p class="h4 modal-title cbos-heading-overline cbos-heading-overline--center" aria-lable="Ending Session Title">'+i.title+'<\/p><\/div><div class="modal-body small" aria-lable="Ending Session Message">'+i.message+'<\/div><div class="modal-footer"><div class="btn-group"><button id="sessionTimeout-dialog-keepalive" type="button" class="cbos-btn--primary cbos-btn--small" data-dismiss="modal" aria-lable="Stay Connected Button">'+i.stayConnectedBtn+"<\/button><\/div><\/div><\/div><\/div><\/div>");n("#sessionTimeout-dialog-logout").on("click",function(){window.location=i.logoutUrl});n("#sessionTimeout-dialog").on("hide.bs.modal",function(){n.ajax({type:"POST",url:i.keepAliveUrl});o("stop");e("start")});e("start")}}(jQuery),function(n){"use strict";function tt(){y(!0)}var t={};n.respond=t;t.update=function(){};var f=[],it=function(){var t=!1;try{t=new n.XMLHttpRequest}catch(i){t=new n.ActiveXObject("Microsoft.XMLHTTP")}return function(){return t}}(),p=function(n,t){var i=it();i&&(i.open("GET",n,!0),i.onreadystatechange=function(){i.readyState===4&&(i.status===200||i.status===304)&&t(i.responseText)},i.readyState!==4)&&i.send(null)},w=function(n){return n.replace(t.regex.minmaxwh,"").match(t.regex.other)};if(t.ajax=p,t.queue=f,t.unsupportedmq=w,t.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,comments:/\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,maxw:/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,minmaxwh:/\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,other:/\([^\)]*\)/g},t.mediaQueriesSupported=n.matchMedia&&n.matchMedia("only all")!==null&&n.matchMedia("only all").matches,!t.mediaQueriesSupported){var i=n.document,r=i.documentElement,e=[],o=[],u=[],c={},b=30,s=i.getElementsByTagName("head")[0]||r,rt=i.getElementsByTagName("base")[0],h=s.getElementsByTagName("link"),l,k,a,v=function(){var f,t=i.createElement("div"),n=i.body,o=r.style.fontSize,e=n&&n.style.fontSize,u=!1;return t.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=u=i.createElement("body"),n.style.background="none"),r.style.fontSize="100%",n.style.fontSize="100%",n.appendChild(t),u&&r.insertBefore(n,r.firstChild),f=t.offsetWidth,u?r.removeChild(n):n.removeChild(t),r.style.fontSize=o,e&&(n.style.fontSize=e),a=parseFloat(f)},y=function(t){var rt="clientWidth",ut=r[rt],ft=i.compatMode==="CSS1Compat"&&ut||i.body[rt]||ut,p={},ct=h[h.length-1],et=(new Date).getTime(),tt,g,nt,f,it;if(t&&l&&et-l<b){n.clearTimeout(k);k=n.setTimeout(y,b);return}l=et;for(tt in e)if(e.hasOwnProperty(tt)){var c=e[tt],w=c.minw,d=c.maxw,ot=w===null,st=d===null,ht="em";!w||(w=parseFloat(w)*(w.indexOf(ht)>-1?a||v():1));!d||(d=parseFloat(d)*(d.indexOf(ht)>-1?a||v():1));c.hasquery&&(ot&&st||!(ot||ft>=w)||!(st||ft<=d))||(p[c.media]||(p[c.media]=[]),p[c.media].push(o[c.rules]))}for(g in u)u.hasOwnProperty(g)&&u[g]&&u[g].parentNode===s&&s.removeChild(u[g]);u.length=0;for(nt in p)p.hasOwnProperty(nt)&&(f=i.createElement("style"),it=p[nt].join("\n"),f.type="text/css",f.media=nt,s.insertBefore(f,ct.nextSibling),f.styleSheet?f.styleSheet.cssText=it:f.appendChild(i.createTextNode(it)),u.push(f))},d=function(n,i,r){var h=n.replace(t.regex.comments,"").replace(t.regex.keyframes,"").match(t.regex.media),c=h&&h.length||0,l,a,f,v,u,p,b,s;for(i=i.substring(0,i.lastIndexOf("/")),l=function(n){return n.replace(t.regex.urls,"$1"+i+"$2$3")},a=!c&&r,i.length&&(i+="/"),a&&(c=1),f=0;f<c;f++)for(a?(v=r,o.push(l(n))):(v=h[f].match(t.regex.findStyles)&&RegExp.$1,o.push(RegExp.$2&&l(RegExp.$2))),p=v.split(","),b=p.length,s=0;s<b;s++)(u=p[s],w(u))||e.push({media:u.split("(")[0].match(t.regex.only)&&RegExp.$2||"all",rules:o.length-1,hasquery:u.indexOf("(")>-1,minw:u.match(t.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:u.match(t.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});y()},g=function(){if(f.length){var t=f.shift();p(t.href,function(i){d(i,t.href,t.media);c[t.href]=!0;n.setTimeout(function(){g()},0)})}},nt=function(){for(var r=0;r<h.length;r++){var i=h[r],t=i.href,u=i.media,e=i.rel&&i.rel.toLowerCase()==="stylesheet";!t||!e||c[t]||(i.styleSheet&&i.styleSheet.rawCssText?(d(i.styleSheet.rawCssText,t,u),c[t]=!0):(/^([a-zA-Z:]*\/\/)/.test(t)||rt)&&t.replace(RegExp.$1,"").split("/")[0]!==n.location.host||(t.substring(0,2)==="//"&&(t=n.location.protocol+t),f.push({href:t,media:u})))}g()};nt();t.update=nt;t.getEmValue=v;n.addEventListener?n.addEventListener("resize",tt,!1):n.attachEvent&&n.attachEvent("onresize",tt)}}(this)