1 line
No EOL
85 KiB
JavaScript
1 line
No EOL
85 KiB
JavaScript
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=2)}([function(e,t){e.exports=jQuery},function(e,t,n){"use strict";(function(e){var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,i=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),i))}};function r(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?e:l(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function h(e){return 11===e?u:10===e?f:u||f}function d(e){if(!e)return document.documentElement;for(var t=h(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?d(n):n:e?e.ownerDocument.documentElement:document.documentElement}function p(e){return null!==e.parentNode?p(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,o=n?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a,s,l=r.commonAncestorContainer;if(e!==l&&t!==l||i.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&d(a.firstElementChild)!==a?d(l):l;var c=p(e);return c.host?m(c.host,t):m(e,p(t).host)}function g(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[t]}return e[t]}function v(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function y(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],h(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function _(e){var t=e.body,n=e.documentElement,i=h(10)&&getComputedStyle(n);return{height:y("Height",t,n,i),width:y("Width",t,n,i)}}var b=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},E=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),w=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function C(e){return T({},e,{right:e.left+e.width,bottom:e.top+e.height})}function S(e){var t={};try{if(h(10)){t=e.getBoundingClientRect();var n=g(e,"top"),i=g(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?_(e.ownerDocument):{},s=r.width||e.clientWidth||o.width,l=r.height||e.clientHeight||o.height,c=e.offsetWidth-s,u=e.offsetHeight-l;if(c||u){var f=a(e);c-=v(f,"x"),u-=v(f,"y"),o.width-=c,o.height-=u}return C(o)}function O(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=h(10),o="HTML"===t.nodeName,r=S(e),s=S(t),c=l(e),u=a(t),f=parseFloat(u.borderTopWidth,10),d=parseFloat(u.borderLeftWidth,10);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var p=C({top:r.top-s.top-f,left:r.left-s.left-d,width:r.width,height:r.height});if(p.marginTop=0,p.marginLeft=0,!i&&o){var m=parseFloat(u.marginTop,10),v=parseFloat(u.marginLeft,10);p.top-=f-m,p.bottom-=f-m,p.left-=d-v,p.right-=d-v,p.marginTop=m,p.marginLeft=v}return(i&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(p=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=g(t,"top"),o=g(t,"left"),r=n?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=o*r,e.right+=o*r,e}(p,t)),p}function D(e){if(!e||!e.parentElement||h())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function k(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},u=o?D(e):m(e,c(t));if("viewport"===i)r=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=O(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:g(n),s=t?0:g(n,"left");return C({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:o,height:r})}(u,o);else{var f=void 0;"scrollParent"===i?"BODY"===(f=l(s(t))).nodeName&&(f=e.ownerDocument.documentElement):f="window"===i?e.ownerDocument.documentElement:i;var h=O(f,u,o);if("HTML"!==f.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===a(t,"position"))return!0;var i=s(t);return!!i&&e(i)}(u))r=h;else{var d=_(e.ownerDocument),p=d.height,v=d.width;r.top+=h.top-h.marginTop,r.bottom=p+h.top,r.left+=h.left-h.marginLeft,r.right=v+h.left}}var y="number"==typeof(n=n||0);return r.left+=y?n:n.left||0,r.top+=y?n:n.top||0,r.right-=y?n:n.right||0,r.bottom-=y?n:n.bottom||0,r}function I(e,t,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=k(n,i,r,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return T({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,f=e.split("-")[1];return u+(f?"-"+f:"")}function A(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return O(n,i?D(t):m(t,c(n)),i)}function N(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function P(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function j(e,t,n){n=n.split("-")[0];var i=N(e),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),a=r?"top":"left",s=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[a]=t[a]+t[l]/2-i[l]/2,o[s]=n===s?t[s]-i[c]:t[P(s)],o}function x(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function L(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var i=x(e,(function(e){return e[t]===n}));return e.indexOf(i)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&r(n)&&(t.offsets.popper=C(t.offsets.popper),t.offsets.reference=C(t.offsets.reference),t=n(t,e))})),t}function M(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=I(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=j(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=L(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function F(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function H(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var o=t[i],r=o?""+o+n:e;if(void 0!==document.body.style[r])return r}return null}function R(){return this.state.isDestroyed=!0,F(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[H("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function W(e){var t=e.ownerDocument;return t?t.defaultView:window}function U(e,t,n,i){n.updateBound=i,W(e).addEventListener("resize",n.updateBound,{passive:!0});var o=l(e);return function e(t,n,i,o){var r="BODY"===t.nodeName,a=r?t.ownerDocument.defaultView:t;a.addEventListener(n,i,{passive:!0}),r||e(l(a.parentNode),n,i,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function B(){this.state.eventsEnabled||(this.state=U(this.reference,this.options,this.state,this.scheduleUpdate))}function K(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,W(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function q(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function V(e,t){Object.keys(t).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&q(t[n])&&(i="px"),e.style[n]=t[n]+i}))}var Y=n&&/Firefox/i.test(navigator.userAgent);function Q(e,t,n){var i=x(e,(function(e){return e.name===t})),o=!!i&&e.some((function(e){return e.name===n&&e.enabled&&e.order<i.order}));if(!o){var r="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var z=["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"],X=z.slice(3);function G(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=X.indexOf(e),i=X.slice(n+1).concat(X.slice(0,n));return t?i.reverse():i}var $={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Z(e,t,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(x(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,i){var o=(1===i?!r:r)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,i){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return C(s)[t]/100*r}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r}return r}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,i){q(n)&&(o[t]+=n*("-"===e[i-1]?-1:1))}))})),o}var J={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var o=e.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:w({},l,r[l]),end:w({},l,r[l]+r[c]-a[c])};e.offsets.popper=T({},a,u[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,o=e.offsets,r=o.popper,a=o.reference,s=i.split("-")[0],l=void 0;return l=q(+n)?[+n,0]:Z(n,r,a,s),"left"===s?(r.top+=l[0],r.left-=l[1]):"right"===s?(r.top+=l[0],r.left+=l[1]):"top"===s?(r.left+=l[0],r.top-=l[1]):"bottom"===s&&(r.left+=l[0],r.top+=l[1]),e.popper=r,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||d(e.instance.popper);e.instance.reference===n&&(n=d(n));var i=H("transform"),o=e.instance.popper.style,r=o.top,a=o.left,s=o[i];o.top="",o.left="",o[i]="";var l=k(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=r,o.left=a,o[i]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,f={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),w({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(i=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),w({},n,i)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=T({},u,f[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,o=e.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<r(i[l])&&(e.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[s])&&(e.offsets.popper[l]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Q(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],r=e.offsets,s=r.popper,l=r.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",f=c?"Top":"Left",h=f.toLowerCase(),d=c?"left":"top",p=c?"bottom":"right",m=N(i)[u];l[p]-m<s[h]&&(e.offsets.popper[h]-=s[h]-(l[p]-m)),l[h]+m>s[p]&&(e.offsets.popper[h]+=l[h]+m-s[p]),e.offsets.popper=C(e.offsets.popper);var g=l[h]+l[u]/2-m/2,v=a(e.instance.popper),y=parseFloat(v["margin"+f],10),_=parseFloat(v["border"+f+"Width"],10),b=g-e.offsets.popper[h]-y-_;return b=Math.max(Math.min(s[u]-m,b),0),e.arrowElement=i,e.offsets.arrow=(w(n={},h,Math.round(b)),w(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(F(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=k(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],o=P(i),r=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case $.FLIP:a=[i,o];break;case $.CLOCKWISE:a=G(i);break;case $.COUNTERCLOCKWISE:a=G(i,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(i!==s||a.length===l+1)return e;i=e.placement.split("-")[0],o=P(i);var c=e.offsets.popper,u=e.offsets.reference,f=Math.floor,h="left"===i&&f(c.right)>f(u.left)||"right"===i&&f(c.left)<f(u.right)||"top"===i&&f(c.bottom)>f(u.top)||"bottom"===i&&f(c.top)<f(u.bottom),d=f(c.left)<f(n.left),p=f(c.right)>f(n.right),m=f(c.top)<f(n.top),g=f(c.bottom)>f(n.bottom),v="left"===i&&d||"right"===i&&p||"top"===i&&m||"bottom"===i&&g,y=-1!==["top","bottom"].indexOf(i),_=!!t.flipVariations&&(y&&"start"===r&&d||y&&"end"===r&&p||!y&&"start"===r&&m||!y&&"end"===r&&g),b=!!t.flipVariationsByContent&&(y&&"start"===r&&p||y&&"end"===r&&d||!y&&"start"===r&&g||!y&&"end"===r&&m),E=_||b;(h||v||E)&&(e.flipped=!0,(h||v)&&(i=a[l+1]),E&&(r=function(e){return"end"===e?"start":"start"===e?"end":e}(r)),e.placement=i+(r?"-"+r:""),e.offsets.popper=T({},e.offsets.popper,j(e.instance.popper,e.offsets.reference,e.placement)),e=L(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,o=i.popper,r=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=r[n]-(s?o[a?"width":"height"]:0),e.placement=P(t),e.offsets.popper=C(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Q(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=x(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,o=e.offsets.popper,r=x(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==r?r:t.gpuAcceleration,s=d(e.instance.popper),l=S(s),c={position:o.position},u=function(e,t){var n=e.offsets,i=n.popper,o=n.reference,r=Math.round,a=Math.floor,s=function(e){return e},l=r(o.width),c=r(i.width),u=-1!==["left","right"].indexOf(e.placement),f=-1!==e.placement.indexOf("-"),h=t?u||f||l%2==c%2?r:a:s,d=t?r:s;return{left:h(l%2==1&&c%2==1&&!f&&t?i.left-1:i.left),top:d(i.top),bottom:d(i.bottom),right:h(i.right)}}(e,window.devicePixelRatio<2||!Y),f="bottom"===n?"top":"bottom",h="right"===i?"left":"right",p=H("transform"),m=void 0,g=void 0;if(g="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===h?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&p)c[p]="translate3d("+m+"px, "+g+"px, 0)",c[f]=0,c[h]=0,c.willChange="transform";else{var v="bottom"===f?-1:1,y="right"===h?-1:1;c[f]=g*v,c[h]=m*y,c.willChange=f+", "+h}var _={"x-placement":e.placement};return e.attributes=T({},_,e.attributes),e.styles=T({},c,e.styles),e.arrowStyles=T({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return V(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&V(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,o){var r=A(o,t,e,n.positionFixed),a=I(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),V(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ee=function(){function e(t,n){var i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};b(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=o(this.update.bind(this)),this.options=T({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(T({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){i.options.modifiers[t]=T({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return T({name:e},i.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&r(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return E(e,[{key:"update",value:function(){return M.call(this)}},{key:"destroy",value:function(){return R.call(this)}},{key:"enableEventListeners",value:function(){return B.call(this)}},{key:"disableEventListeners",value:function(){return K.call(this)}}]),e}();ee.Utils=("undefined"!=typeof window?window:e).PopperUtils,ee.placements=z,ee.Defaults=J,t.a=ee}).call(this,n(3))},function(e,t,n){n(5),n(6),e.exports=n(11)},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(i=window)}e.exports=i},function(e,t,n){var i,o,r;o=[n(0)],void 0===(r="function"==typeof(i=function(e){e.extend({highlight:function(t,n,i,o,r,a){if(3===t.nodeType){var s=(a?e.removeDiacritcs(t.data):t.data).match(n);if(s){var l=document.createElement(i||"span");l.className=o||"highlight";var c=t.data.indexOf(s[1],s.index),u=t.splitText(c);u.splitText(s[1].length);var f=u.cloneNode(!0);return l.appendChild(f),u.parentNode.replaceChild(l,u),"function"==typeof r&&r(l),1}}else if(1===t.nodeType&&t.childNodes&&!/(script|style)/i.test(t.tagName)&&(t.tagName!==i.toUpperCase()||t.className!==o))for(var h=0;h<t.childNodes.length;h++)h+=e.highlight(t.childNodes[h],n,i,o,r,a);return 0},removeDiacritcs:function(e){return e.replace(/[\u00c0-\u00c6]/g,"A").replace(/[\u00e0-\u00e6]/g,"a").replace(/[\u00c7]/g,"C").replace(/[\u00e7]/g,"c").replace(/[\u00c8-\u00cb]/g,"E").replace(/[\u00e8-\u00eb]/g,"e").replace(/[\u00cc-\u00cf]/g,"I").replace(/[\u00ec-\u00ef]/g,"i").replace(/[\u00d1|\u0147]/g,"N").replace(/[\u00f1|\u0148]/g,"n").replace(/[\u00d2-\u00d8|\u0150]/g,"O").replace(/[\u00f2-\u00f8|\u0151]/g,"o").replace(/[\u0160]/g,"S").replace(/[\u0161]/g,"s").replace(/[\u00d9-\u00dc]/g,"U").replace(/[\u00f9-\u00fc]/g,"u").replace(/[\u00dd]/g,"Y").replace(/[\u00fd]/g,"y")}}),e.fn.unhighlight=function(t){var n={className:"highlight",element:"span"};return e.extend(n,t),this.find(n.element+"."+n.className).each((function(){var e=this.parentNode;e.replaceChild(this.firstChild,this),e.normalize()})).end()},e.fn.highlight=function(t,n,i){var o={className:"highlight",element:"span",caseSensitive:!1,wordsOnly:!1,wordsBoundary:"\\b",ignoreDiacritics:!1};if(e.extend(o,n),"string"==typeof t&&(t=[t]),t=e.grep(t,(function(e){return""!=e})),0===(t=e.map(t,(function(t){return o.ignoreDiacritics&&(t=e.removeDiacritcs(t)),t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}))).length)return this;var r=o.caseSensitive?"":"i",a="("+t.join("|")+")";o.wordsOnly&&(a=(o.wordsBoundaryStart||o.wordsBoundary)+a+(o.wordsBoundaryEnd||o.wordsBoundary));var s=new RegExp(a,r);return this.each((function(){e.highlight(this,s,o.element,o.className,i,o.ignoreDiacritics)}))}})?i.apply(t,o):i)||(e.exports=r)},function(e,t,n){"use strict";n.r(t);var i=n(0),o=n.n(i),r="transitionend";function a(e){var t=this,n=!1;return o()(this).one(s.TRANSITION_END,(function(){n=!0})),setTimeout((function(){n||s.triggerTransitionEnd(t)}),e),this}var s={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=o()(e).css("transition-duration"),n=o()(e).css("transition-delay"),i=parseFloat(t),r=parseFloat(n);return i||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){o()(e).trigger(r)},supportsTransitionEnd:function(){return Boolean(r)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=t[i],a=r&&s.isElement(r)?"element":(l=r,{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(a))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(i,'" provided type "').concat(a,'" ')+'but expected type "'.concat(o,'".'))}var l},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?s.findShadowRoot(e.parentNode):null}};o.a.fn.emulateTransitionEnd=a,o.a.event.special[s.TRANSITION_END]={bindType:r,delegateType:r,handle:function(e){if(o()(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var l=s;function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var p="collapse",m="bs.collapse",g=".".concat(m),v=o.a.fn[p],y={toggle:!0,parent:""},_={toggle:"boolean",parent:"(string|element)"},b={SHOW:"show".concat(g),SHOWN:"shown".concat(g),HIDE:"hide".concat(g),HIDDEN:"hidden".concat(g),CLICK_DATA_API:"click".concat(g).concat(".data-api")},E="show",w="collapse",T="collapsing",C="collapsed",S="width",O="height",D={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},k=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._isTransitioning=!1,this._element=t,this._config=this._getConfig(n),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'.concat(t.id,'"],')+'[data-toggle="collapse"][data-target="#'.concat(t.id,'"]')));for(var i=[].slice.call(document.querySelectorAll(D.DATA_TOGGLE)),o=0,r=i.length;o<r;o++){var a=i[o],s=l.getSelectorFromElement(a),c=[].slice.call(document.querySelectorAll(s)).filter((function(e){return e===t}));null!==s&&c.length>0&&(this._selector=s,this._triggerArray.push(a))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t,n,i;return t=e,i=[{key:"_getTargetFromElement",value:function(e){var t=l.getSelectorFromElement(e);return t?document.querySelector(t):null}},{key:"_jQueryInterface",value:function(t){return this.each((function(){var n=o()(this),i=n.data(m),r=f({},y,{},n.data(),{},"object"===c(t)&&t?t:{});if(!i&&r.toggle&&/show|hide/.test(t)&&(r.toggle=!1),i||(i=new e(this,r),n.data(m,i)),"string"==typeof t){if(void 0===i[t])throw new TypeError('No method named "'.concat(t,'"'));i[t]()}}))}},{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return y}}],(n=[{key:"toggle",value:function(){o()(this._element).hasClass(E)?this.hide():this.show()}},{key:"show",value:function(){var t,n,i=this;if(!(this._isTransitioning||o()(this._element).hasClass(E)||(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(D.ACTIVES)).filter((function(e){return"string"==typeof i._config.parent?e.getAttribute("data-parent")===i._config.parent:e.classList.contains(w)}))).length&&(t=null),t&&(n=o()(t).not(this._selector).data(m))&&n._isTransitioning))){var r=o.a.Event(b.SHOW);if(o()(this._element).trigger(r),!r.isDefaultPrevented()){t&&(e._jQueryInterface.call(o()(t).not(this._selector),"hide"),n||o()(t).data(m,null));var a=this._getDimension();o()(this._element).removeClass(w).addClass(T),this._element.style[a]=0,this._triggerArray.length&&o()(this._triggerArray).removeClass(C).attr("aria-expanded",!0),this.setTransitioning(!0);var s=a[0].toUpperCase()+a.slice(1),c="scroll".concat(s),u=l.getTransitionDurationFromElement(this._element);o()(this._element).one(l.TRANSITION_END,(function(){o()(i._element).removeClass(T).addClass(w).addClass(E),i._element.style[a]="",i.setTransitioning(!1),o()(i._element).trigger(b.SHOWN)})).emulateTransitionEnd(u),this._element.style[a]="".concat(this._element[c],"px")}}}},{key:"hide",value:function(){var e=this;if(!this._isTransitioning&&o()(this._element).hasClass(E)){var t=o.a.Event(b.HIDE);if(o()(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]="".concat(this._element.getBoundingClientRect()[n],"px"),l.reflow(this._element),o()(this._element).addClass(T).removeClass(w).removeClass(E);var i=this._triggerArray.length;if(i>0)for(var r=0;r<i;r++){var a=this._triggerArray[r],s=l.getSelectorFromElement(a);null!==s&&(o()([].slice.call(document.querySelectorAll(s))).hasClass(E)||o()(a).addClass(C).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[n]="";var c=l.getTransitionDurationFromElement(this._element);o()(this._element).one(l.TRANSITION_END,(function(){e.setTransitioning(!1),o()(e._element).removeClass(T).addClass(w).trigger(b.HIDDEN)})).emulateTransitionEnd(c)}}}},{key:"setTransitioning",value:function(e){this._isTransitioning=e}},{key:"dispose",value:function(){o.a.removeData(this._element,m),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null}},{key:"_getConfig",value:function(e){return(e=f({},y,{},e)).toggle=Boolean(e.toggle),l.typeCheckConfig(p,e,_),e}},{key:"_getDimension",value:function(){return o()(this._element).hasClass(S)?S:O}},{key:"_getParent",value:function(){var t,n=this;l.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var i='[data-toggle="collapse"][data-parent="'.concat(this._config.parent,'"]'),r=[].slice.call(t.querySelectorAll(i));return o()(r).each((function(t,i){n._addAriaAndCollapsedClass(e._getTargetFromElement(i),[i])})),t}},{key:"_addAriaAndCollapsedClass",value:function(e,t){var n=o()(e).hasClass(E);t.length&&o()(t).toggleClass(C,!n).attr("aria-expanded",n)}}])&&d(t.prototype,n),i&&d(t,i),e}();o()(document).on(b.CLICK_DATA_API,D.DATA_TOGGLE,(function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var t=o()(this),n=l.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(n));o()(i).each((function(){var e=o()(this),n=e.data(m)?"toggle":t.data();k._jQueryInterface.call(e,n)}))})),o.a.fn[p]=k._jQueryInterface,o.a.fn[p].Constructor=k,o.a.fn[p].noConflict=function(){return o.a.fn[p]=v,k._jQueryInterface};var I=n(1);function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(n,!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var L=".".concat("bs.dropdown"),M=o.a.fn.dropdown,F=new RegExp("".concat(38,"|").concat(40,"|").concat(27)),H={HIDE:"hide".concat(L),HIDDEN:"hidden".concat(L),SHOW:"show".concat(L),SHOWN:"shown".concat(L),CLICK:"click".concat(L),CLICK_DATA_API:"click".concat(L).concat(".data-api"),KEYDOWN_DATA_API:"keydown".concat(L).concat(".data-api"),KEYUP_DATA_API:"keyup".concat(L).concat(".data-api")},R="disabled",W="show",U="dropup",B="dropright",K="dropleft",q="dropdown-menu-right",V="position-static",Y='[data-toggle="dropdown"]',Q=".dropdown form",z=".dropdown-menu",X=".navbar-nav",G=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",$="top-start",Z="top-end",J="bottom-start",ee="bottom-end",te="right-start",ne="left-start",ie={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},oe={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},re=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._element=t,this._popper=null,this._config=this._getConfig(n),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t,n,i;return t=e,i=[{key:"_jQueryInterface",value:function(t){return this.each((function(){var n=o()(this).data("bs.dropdown"),i="object"===A(t)?t:null;if(n||(n=new e(this,i),o()(this).data("bs.dropdown",n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'.concat(t,'"'));n[t]()}}))}},{key:"_clearMenus",value:function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var n=[].slice.call(document.querySelectorAll(Y)),i=0,r=n.length;i<r;i++){var a=e._getParentFromElement(n[i]),s=o()(n[i]).data("bs.dropdown"),l={relatedTarget:n[i]};if(t&&"click"===t.type&&(l.clickEvent=t),s){var c=s._menu;if(o()(a).hasClass(W)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&o.a.contains(a,t.target))){var u=o.a.Event(H.HIDE,l);o()(a).trigger(u),u.isDefaultPrevented()||("ontouchstart"in document.documentElement&&o()(document.body).children().off("mouseover",null,o.a.noop),n[i].setAttribute("aria-expanded","false"),o()(c).removeClass(W),o()(a).removeClass(W).trigger(o.a.Event(H.HIDDEN,l)))}}}}},{key:"_getParentFromElement",value:function(e){var t,n=l.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode}},{key:"_dataApiKeydownHandler",value:function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||o()(t.target).closest(z).length)):F.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!o()(this).hasClass(R))){var n=e._getParentFromElement(this),i=o()(n).hasClass(W);if(i&&(!i||27!==t.which&&32!==t.which)){var r=[].slice.call(n.querySelectorAll(G));if(0!==r.length){var a=r.indexOf(t.target);38===t.which&&a>0&&a--,40===t.which&&a<r.length-1&&a++,a<0&&(a=0),r[a].focus()}}else{if(27===t.which){var s=n.querySelector(Y);o()(s).trigger("focus")}o()(this).trigger("click")}}}},{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return ie}},{key:"DefaultType",get:function(){return oe}}],(n=[{key:"toggle",value:function(){if(!this._element.disabled&&!o()(this._element).hasClass(R)){var t=e._getParentFromElement(this._element),n=o()(this._menu).hasClass(W);if(e._clearMenus(),!n){var i={relatedTarget:this._element},r=o.a.Event(H.SHOW,i);if(o()(t).trigger(r),!r.isDefaultPrevented()){if(!this._inNavbar){if(void 0===I.a)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=t:l.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&o()(t).addClass(V),this._popper=new I.a(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===o()(t).closest(X).length&&o()(document.body).children().on("mouseover",null,o.a.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),o()(this._menu).toggleClass(W),o()(t).toggleClass(W).trigger(o.a.Event(H.SHOWN,i))}}}}},{key:"show",value:function(){if(!(this._element.disabled||o()(this._element).hasClass(R)||o()(this._menu).hasClass(W))){var t={relatedTarget:this._element},n=o.a.Event(H.SHOW,t),i=e._getParentFromElement(this._element);o()(i).trigger(n),n.isDefaultPrevented()||(o()(this._menu).toggleClass(W),o()(i).toggleClass(W).trigger(o.a.Event(H.SHOWN,t)))}}},{key:"hide",value:function(){if(!this._element.disabled&&!o()(this._element).hasClass(R)&&o()(this._menu).hasClass(W)){var t={relatedTarget:this._element},n=o.a.Event(H.HIDE,t),i=e._getParentFromElement(this._element);o()(i).trigger(n),n.isDefaultPrevented()||(o()(this._menu).toggleClass(W),o()(i).toggleClass(W).trigger(o.a.Event(H.HIDDEN,t)))}}},{key:"dispose",value:function(){o.a.removeData(this._element,"bs.dropdown"),o()(this._element).off(L),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)}},{key:"update",value:function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()}},{key:"_addEventListeners",value:function(){var e=this;o()(this._element).on(H.CLICK,(function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}))}},{key:"_getConfig",value:function(e){return e=P({},this.constructor.Default,{},o()(this._element).data(),{},e),l.typeCheckConfig("dropdown",e,this.constructor.DefaultType),e}},{key:"_getMenuElement",value:function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(z))}return this._menu}},{key:"_getPlacement",value:function(){var e=o()(this._element.parentNode),t=J;return e.hasClass(U)?(t=$,o()(this._menu).hasClass(q)&&(t=Z)):e.hasClass(B)?t=te:e.hasClass(K)?t=ne:o()(this._menu).hasClass(q)&&(t=ee),t}},{key:"_detectNavbar",value:function(){return o()(this._element).closest(".navbar").length>0}},{key:"_getOffset",value:function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=P({},t.offsets,{},e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t}},{key:"_getPopperConfig",value:function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),e}}])&&x(t.prototype,n),i&&x(t,i),e}();o()(document).on(H.KEYDOWN_DATA_API,Y,re._dataApiKeydownHandler).on(H.KEYDOWN_DATA_API,z,re._dataApiKeydownHandler).on("".concat(H.CLICK_DATA_API," ").concat(H.KEYUP_DATA_API),re._clearMenus).on(H.CLICK_DATA_API,Y,(function(e){e.preventDefault(),e.stopPropagation(),re._jQueryInterface.call(o()(this),"toggle")})).on(H.CLICK_DATA_API,Q,(function(e){e.stopPropagation()})),o.a.fn.dropdown=re._jQueryInterface,o.a.fn.dropdown.Constructor=re,o.a.fn.dropdown.noConflict=function(){return o.a.fn.dropdown=M,re._jQueryInterface};function ae(e){return(ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?se(n,!0).forEach((function(t){ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):se(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ue(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var fe=".".concat("bs.carousel"),he=o.a.fn.carousel,de={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},pe={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},me="next",ge="prev",ve="left",ye="right",_e={SLIDE:"slide".concat(fe),SLID:"slid".concat(fe),KEYDOWN:"keydown".concat(fe),MOUSEENTER:"mouseenter".concat(fe),MOUSELEAVE:"mouseleave".concat(fe),TOUCHSTART:"touchstart".concat(fe),TOUCHMOVE:"touchmove".concat(fe),TOUCHEND:"touchend".concat(fe),POINTERDOWN:"pointerdown".concat(fe),POINTERUP:"pointerup".concat(fe),DRAG_START:"dragstart".concat(fe),LOAD_DATA_API:"load".concat(fe).concat(".data-api"),CLICK_DATA_API:"click".concat(fe).concat(".data-api")},be="carousel",Ee="active",we="slide",Te="carousel-item-right",Ce="carousel-item-left",Se="carousel-item-next",Oe="carousel-item-prev",De="pointer-event",ke={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},Ie={TOUCH:"touch",PEN:"pen"},Ae=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(n),this._element=t,this._indicatorsElement=this._element.querySelector(ke.INDICATORS),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t,n,i;return t=e,i=[{key:"_jQueryInterface",value:function(t){return this.each((function(){var n=o()(this).data("bs.carousel"),i=le({},de,{},o()(this).data());"object"===ae(t)&&(i=le({},i,{},t));var r="string"==typeof t?t:i.slide;if(n||(n=new e(this,i),o()(this).data("bs.carousel",n)),"number"==typeof t)n.to(t);else if("string"==typeof r){if(void 0===n[r])throw new TypeError('No method named "'.concat(r,'"'));n[r]()}else i.interval&&i.ride&&(n.pause(),n.cycle())}))}},{key:"_dataApiClickHandler",value:function(t){var n=l.getSelectorFromElement(this);if(n){var i=o()(n)[0];if(i&&o()(i).hasClass(be)){var r=le({},o()(i).data(),{},o()(this).data()),a=this.getAttribute("data-slide-to");a&&(r.interval=!1),e._jQueryInterface.call(o()(i),r),a&&o()(i).data("bs.carousel").to(a),t.preventDefault()}}}},{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return de}}],(n=[{key:"next",value:function(){this._isSliding||this._slide(me)}},{key:"nextWhenVisible",value:function(){!document.hidden&&o()(this._element).is(":visible")&&"hidden"!==o()(this._element).css("visibility")&&this.next()}},{key:"prev",value:function(){this._isSliding||this._slide(ge)}},{key:"pause",value:function(e){e||(this._isPaused=!0),this._element.querySelector(ke.NEXT_PREV)&&(l.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}},{key:"cycle",value:function(e){e||(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))}},{key:"to",value:function(e){var t=this;this._activeElement=this._element.querySelector(ke.ACTIVE_ITEM);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)o()(this._element).one(_e.SLID,(function(){return t.to(e)}));else{if(n===e)return this.pause(),void this.cycle();var i=e>n?me:ge;this._slide(i,this._items[e])}}},{key:"dispose",value:function(){o()(this._element).off(fe),o.a.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null}},{key:"_getConfig",value:function(e){return e=le({},de,{},e),l.typeCheckConfig("carousel",e,pe),e}},{key:"_handleSwipe",value:function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;t>0&&this.prev(),t<0&&this.next()}}},{key:"_addEventListeners",value:function(){var e=this;this._config.keyboard&&o()(this._element).on(_e.KEYDOWN,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&o()(this._element).on(_e.MOUSEENTER,(function(t){return e.pause(t)})).on(_e.MOUSELEAVE,(function(t){return e.cycle(t)})),this._config.touch&&this._addTouchEventListeners()}},{key:"_addTouchEventListeners",value:function(){var e=this;if(this._touchSupported){var t=function(t){e._pointerEvent&&Ie[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},n=function(t){e._pointerEvent&&Ie[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),500+e._config.interval))};o()(this._element.querySelectorAll(ke.ITEM_IMG)).on(_e.DRAG_START,(function(e){return e.preventDefault()})),this._pointerEvent?(o()(this._element).on(_e.POINTERDOWN,(function(e){return t(e)})),o()(this._element).on(_e.POINTERUP,(function(e){return n(e)})),this._element.classList.add(De)):(o()(this._element).on(_e.TOUCHSTART,(function(e){return t(e)})),o()(this._element).on(_e.TOUCHMOVE,(function(t){return function(t){t.originalEvent.touches&&t.originalEvent.touches.length>1?e.touchDeltaX=0:e.touchDeltaX=t.originalEvent.touches[0].clientX-e.touchStartX}(t)})),o()(this._element).on(_e.TOUCHEND,(function(e){return n(e)})))}}},{key:"_keydown",value:function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}}},{key:"_getItemIndex",value:function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(ke.ITEM)):[],this._items.indexOf(e)}},{key:"_getItemByDirection",value:function(e,t){var n=e===me,i=e===ge,o=this._getItemIndex(t),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return t;var a=(o+(e===ge?-1:1))%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]}},{key:"_triggerSlideEvent",value:function(e,t){var n=this._getItemIndex(e),i=this._getItemIndex(this._element.querySelector(ke.ACTIVE_ITEM)),r=o.a.Event(_e.SLIDE,{relatedTarget:e,direction:t,from:i,to:n});return o()(this._element).trigger(r),r}},{key:"_setActiveIndicatorElement",value:function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(ke.ACTIVE));o()(t).removeClass(Ee);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&o()(n).addClass(Ee)}}},{key:"_slide",value:function(e,t){var n,i,r,a=this,s=this._element.querySelector(ke.ACTIVE_ITEM),c=this._getItemIndex(s),u=t||s&&this._getItemByDirection(e,s),f=this._getItemIndex(u),h=Boolean(this._interval);if(e===me?(n=Ce,i=Se,r=ve):(n=Te,i=Oe,r=ye),u&&o()(u).hasClass(Ee))this._isSliding=!1;else if(!this._triggerSlideEvent(u,r).isDefaultPrevented()&&s&&u){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(u);var d=o.a.Event(_e.SLID,{relatedTarget:u,direction:r,from:c,to:f});if(o()(this._element).hasClass(we)){o()(u).addClass(i),l.reflow(u),o()(s).addClass(n),o()(u).addClass(n);var p=parseInt(u.getAttribute("data-interval"),10);p?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=p):this._config.interval=this._config.defaultInterval||this._config.interval;var m=l.getTransitionDurationFromElement(s);o()(s).one(l.TRANSITION_END,(function(){o()(u).removeClass("".concat(n," ").concat(i)).addClass(Ee),o()(s).removeClass("".concat(Ee," ").concat(i," ").concat(n)),a._isSliding=!1,setTimeout((function(){return o()(a._element).trigger(d)}),0)})).emulateTransitionEnd(m)}else o()(s).removeClass(Ee),o()(u).addClass(Ee),this._isSliding=!1,o()(this._element).trigger(d);h&&this.cycle()}}}])&&ue(t.prototype,n),i&&ue(t,i),e}();o()(document).on(_e.CLICK_DATA_API,ke.DATA_SLIDE,Ae._dataApiClickHandler),o()(window).on(_e.LOAD_DATA_API,(function(){for(var e=[].slice.call(document.querySelectorAll(ke.DATA_RIDE)),t=0,n=e.length;t<n;t++){var i=o()(e[t]);Ae._jQueryInterface.call(i,i.data())}})),o.a.fn.carousel=Ae._jQueryInterface,o.a.fn.carousel.Constructor=Ae,o.a.fn.carousel.noConflict=function(){return o.a.fn.carousel=he,Ae._jQueryInterface};var Ne=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Pe={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},je=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,xe=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function Le(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);for(var i=(new window.DOMParser).parseFromString(e,"text/html"),o=Object.keys(t),r=[].slice.call(i.body.querySelectorAll("*")),a=function(e,n){var i=r[e],a=i.nodeName.toLowerCase();if(-1===o.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var s=[].slice.call(i.attributes),l=[].concat(t["*"]||[],t[a]||[]);s.forEach((function(e){(function(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===Ne.indexOf(n)||Boolean(e.nodeValue.match(je)||e.nodeValue.match(xe));for(var i=t.filter((function(e){return e instanceof RegExp})),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1})(e,l)||i.removeAttribute(e.nodeName)}))},s=0,l=r.length;s<l;s++)a(s);return i.body.innerHTML}function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(n,!0).forEach((function(t){He(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function He(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Re(e){return(Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function We(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var Ue=".".concat("bs.tooltip"),Be=o.a.fn.tooltip,Ke=new RegExp("(^|\\s)".concat("bs-tooltip","\\S+"),"g"),qe=["sanitize","whiteList","sanitizeFn"],Ve={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},Ye={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Qe={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",sanitize:!0,sanitizeFn:null,whiteList:Pe},ze="show",Xe="out",Ge={HIDE:"hide".concat(Ue),HIDDEN:"hidden".concat(Ue),SHOW:"show".concat(Ue),SHOWN:"shown".concat(Ue),INSERTED:"inserted".concat(Ue),CLICK:"click".concat(Ue),FOCUSIN:"focusin".concat(Ue),FOCUSOUT:"focusout".concat(Ue),MOUSEENTER:"mouseenter".concat(Ue),MOUSELEAVE:"mouseleave".concat(Ue)},$e="fade",Ze="show",Je=".tooltip-inner",et=".arrow",tt="hover",nt="focus",it="click",ot="manual",rt=function(){function e(t,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),void 0===I.a)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(n),this.tip=null,this._setListeners()}var t,n,i;return t=e,i=[{key:"_jQueryInterface",value:function(t){return this.each((function(){var n=o()(this).data("bs.tooltip"),i="object"===Re(t)&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new e(this,i),o()(this).data("bs.tooltip",n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'.concat(t,'"'));n[t]()}}))}},{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Qe}},{key:"NAME",get:function(){return"tooltip"}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return Ge}},{key:"EVENT_KEY",get:function(){return Ue}},{key:"DefaultType",get:function(){return Ve}}],(n=[{key:"enable",value:function(){this._isEnabled=!0}},{key:"disable",value:function(){this._isEnabled=!1}},{key:"toggleEnabled",value:function(){this._isEnabled=!this._isEnabled}},{key:"toggle",value:function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=o()(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),o()(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(o()(this.getTipElement()).hasClass(Ze))return void this._leave(null,this);this._enter(null,this)}}},{key:"dispose",value:function(){clearTimeout(this._timeout),o.a.removeData(this.element,this.constructor.DATA_KEY),o()(this.element).off(this.constructor.EVENT_KEY),o()(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&o()(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null}},{key:"show",value:function(){var e=this;if("none"===o()(this.element).css("display"))throw new Error("Please use show on visible elements");var t=o.a.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){o()(this.element).trigger(t);var n=l.findShadowRoot(this.element),i=o.a.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!i)return;var r=this.getTipElement(),a=l.getUID(this.constructor.NAME);r.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&o()(r).addClass($e);var s="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,c=this._getAttachment(s);this.addAttachmentClass(c);var u=this._getContainer();o()(r).data(this.constructor.DATA_KEY,this),o.a.contains(this.element.ownerDocument.documentElement,this.tip)||o()(r).appendTo(u),o()(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new I.a(this.element,r,{placement:c,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:et},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),o()(r).addClass(Ze),"ontouchstart"in document.documentElement&&o()(document.body).children().on("mouseover",null,o.a.noop);var f=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,o()(e.element).trigger(e.constructor.Event.SHOWN),t===Xe&&e._leave(null,e)};if(o()(this.tip).hasClass($e)){var h=l.getTransitionDurationFromElement(this.tip);o()(this.tip).one(l.TRANSITION_END,f).emulateTransitionEnd(h)}else f()}}},{key:"hide",value:function(e){var t=this,n=this.getTipElement(),i=o.a.Event(this.constructor.Event.HIDE),r=function(){t._hoverState!==ze&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),o()(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(o()(this.element).trigger(i),!i.isDefaultPrevented()){if(o()(n).removeClass(Ze),"ontouchstart"in document.documentElement&&o()(document.body).children().off("mouseover",null,o.a.noop),this._activeTrigger[it]=!1,this._activeTrigger[nt]=!1,this._activeTrigger[tt]=!1,o()(this.tip).hasClass($e)){var a=l.getTransitionDurationFromElement(n);o()(n).one(l.TRANSITION_END,r).emulateTransitionEnd(a)}else r();this._hoverState=""}}},{key:"update",value:function(){null!==this._popper&&this._popper.scheduleUpdate()}},{key:"isWithContent",value:function(){return Boolean(this.getTitle())}},{key:"addAttachmentClass",value:function(e){o()(this.getTipElement()).addClass("".concat("bs-tooltip","-").concat(e))}},{key:"getTipElement",value:function(){return this.tip=this.tip||o()(this.config.template)[0],this.tip}},{key:"setContent",value:function(){var e=this.getTipElement();this.setElementContent(o()(e.querySelectorAll(Je)),this.getTitle()),o()(e).removeClass("".concat($e," ").concat(Ze))}},{key:"setElementContent",value:function(e,t){"object"!==Re(t)||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=Le(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?o()(t).parent().is(e)||e.empty().append(t):e.text(o()(t).text())}},{key:"getTitle",value:function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e}},{key:"_getOffset",value:function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=Fe({},t.offsets,{},e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t}},{key:"_getContainer",value:function(){return!1===this.config.container?document.body:l.isElement(this.config.container)?o()(this.config.container):o()(document).find(this.config.container)}},{key:"_getAttachment",value:function(e){return Ye[e.toUpperCase()]}},{key:"_setListeners",value:function(){var e=this;this.config.trigger.split(" ").forEach((function(t){if("click"===t)o()(e.element).on(e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if(t!==ot){var n=t===tt?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,i=t===tt?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;o()(e.element).on(n,e.config.selector,(function(t){return e._enter(t)})).on(i,e.config.selector,(function(t){return e._leave(t)}))}})),o()(this.element).closest(".modal").on("hide.bs.modal",(function(){e.element&&e.hide()})),this.config.selector?this.config=Fe({},this.config,{trigger:"manual",selector:""}):this._fixTitle()}},{key:"_fixTitle",value:function(){var e=Re(this.element.getAttribute("data-original-title"));(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))}},{key:"_enter",value:function(e,t){var n=this.constructor.DATA_KEY;(t=t||o()(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),o()(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?nt:tt]=!0),o()(t.getTipElement()).hasClass(Ze)||t._hoverState===ze?t._hoverState=ze:(clearTimeout(t._timeout),t._hoverState=ze,t.config.delay&&t.config.delay.show?t._timeout=setTimeout((function(){t._hoverState===ze&&t.show()}),t.config.delay.show):t.show())}},{key:"_leave",value:function(e,t){var n=this.constructor.DATA_KEY;(t=t||o()(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),o()(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?nt:tt]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=Xe,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout((function(){t._hoverState===Xe&&t.hide()}),t.config.delay.hide):t.hide())}},{key:"_isWithActiveTrigger",value:function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}},{key:"_getConfig",value:function(e){var t=o()(this.element).data();return Object.keys(t).forEach((function(e){-1!==qe.indexOf(e)&&delete t[e]})),"number"==typeof(e=Fe({},this.constructor.Default,{},t,{},"object"===Re(e)&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),l.typeCheckConfig("tooltip",e,this.constructor.DefaultType),e.sanitize&&(e.template=Le(e.template,e.whiteList,e.sanitizeFn)),e}},{key:"_getDelegateConfig",value:function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e}},{key:"_cleanTipClass",value:function(){var e=o()(this.getTipElement()),t=e.attr("class").match(Ke);null!==t&&t.length&&e.removeClass(t.join(""))}},{key:"_handlePopperPlacementChange",value:function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))}},{key:"_fixTransition",value:function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(o()(e).removeClass($e),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)}}])&&We(t.prototype,n),i&&We(t,i),e}();o.a.fn.tooltip=rt._jQueryInterface,o.a.fn.tooltip.Constructor=rt,o.a.fn.tooltip.noConflict=function(){return o.a.fn.tooltip=Be,rt._jQueryInterface};var at=rt;function st(e){return(st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function lt(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ct(e,t){return!t||"object"!==st(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ut(e){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ft(e,t){return(ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ht(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function dt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ht(n,!0).forEach((function(t){pt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ht(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mt=".".concat("bs.popover"),gt=o.a.fn.popover,vt=new RegExp("(^|\\s)".concat("bs-popover","\\S+"),"g"),yt=dt({},at.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>'}),_t=dt({},at.DefaultType,{content:"(string|element|function)"}),bt="fade",Et="show",wt=".popover-header",Tt=".popover-body",Ct={HIDE:"hide".concat(mt),HIDDEN:"hidden".concat(mt),SHOW:"show".concat(mt),SHOWN:"shown".concat(mt),INSERTED:"inserted".concat(mt),CLICK:"click".concat(mt),FOCUSIN:"focusin".concat(mt),FOCUSOUT:"focusout".concat(mt),MOUSEENTER:"mouseenter".concat(mt),MOUSELEAVE:"mouseleave".concat(mt)},St=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ct(this,ut(t).apply(this,arguments))}var n,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ft(e,t)}(t,e),n=t,r=[{key:"_jQueryInterface",value:function(e){return this.each((function(){var n=o()(this).data("bs.popover"),i="object"===st(e)?e:null;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,i),o()(this).data("bs.popover",n)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method named "'.concat(e,'"'));n[e]()}}))}},{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return yt}},{key:"NAME",get:function(){return"popover"}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return Ct}},{key:"EVENT_KEY",get:function(){return mt}},{key:"DefaultType",get:function(){return _t}}],(i=[{key:"isWithContent",value:function(){return this.getTitle()||this._getContent()}},{key:"addAttachmentClass",value:function(e){o()(this.getTipElement()).addClass("".concat("bs-popover","-").concat(e))}},{key:"getTipElement",value:function(){return this.tip=this.tip||o()(this.config.template)[0],this.tip}},{key:"setContent",value:function(){var e=o()(this.getTipElement());this.setElementContent(e.find(wt),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(Tt),t),e.removeClass("".concat(bt," ").concat(Et))}},{key:"_getContent",value:function(){return this.element.getAttribute("data-content")||this.config.content}},{key:"_cleanTipClass",value:function(){var e=o()(this.getTipElement()),t=e.attr("class").match(vt);null!==t&&t.length>0&&e.removeClass(t.join(""))}}])&<(n.prototype,i),r&<(n,r),t}(at);o.a.fn.popover=St._jQueryInterface,o.a.fn.popover.Constructor=St,o.a.fn.popover.noConflict=function(){return o.a.fn.popover=gt,St._jQueryInterface};function Ot(e){return(Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Dt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function kt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dt(n,!0).forEach((function(t){It(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function It(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function At(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var Nt=".".concat("bs.modal"),Pt=o.a.fn.modal,jt={backdrop:!0,keyboard:!0,focus:!0,show:!0},xt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Lt={HIDE:"hide".concat(Nt),HIDDEN:"hidden".concat(Nt),SHOW:"show".concat(Nt),SHOWN:"shown".concat(Nt),FOCUSIN:"focusin".concat(Nt),RESIZE:"resize".concat(Nt),CLICK_DISMISS:"click.dismiss".concat(Nt),KEYDOWN_DISMISS:"keydown.dismiss".concat(Nt),MOUSEUP_DISMISS:"mouseup.dismiss".concat(Nt),MOUSEDOWN_DISMISS:"mousedown.dismiss".concat(Nt),CLICK_DATA_API:"click".concat(Nt).concat(".data-api")},Mt="modal-dialog-scrollable",Ft="modal-scrollbar-measure",Ht="modal-backdrop",Rt="modal-open",Wt="fade",Ut="show",Bt={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},Kt=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._config=this._getConfig(n),this._element=t,this._dialog=t.querySelector(Bt.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t,n,i;return t=e,i=[{key:"_jQueryInterface",value:function(t,n){return this.each((function(){var i=o()(this).data("bs.modal"),r=kt({},jt,{},o()(this).data(),{},"object"===Ot(t)&&t?t:{});if(i||(i=new e(this,r),o()(this).data("bs.modal",i)),"string"==typeof t){if(void 0===i[t])throw new TypeError('No method named "'.concat(t,'"'));i[t](n)}else r.show&&i.show(n)}))}},{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return jt}}],(n=[{key:"toggle",value:function(e){return this._isShown?this.hide():this.show(e)}},{key:"show",value:function(e){var t=this;if(!this._isShown&&!this._isTransitioning){o()(this._element).hasClass(Wt)&&(this._isTransitioning=!0);var n=o.a.Event(Lt.SHOW,{relatedTarget:e});o()(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),o()(this._element).on(Lt.CLICK_DISMISS,Bt.DATA_DISMISS,(function(e){return t.hide(e)})),o()(this._dialog).on(Lt.MOUSEDOWN_DISMISS,(function(){o()(t._element).one(Lt.MOUSEUP_DISMISS,(function(e){o()(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return t._showElement(e)})))}}},{key:"hide",value:function(e){var t=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var n=o.a.Event(Lt.HIDE);if(o()(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=o()(this._element).hasClass(Wt);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),o()(document).off(Lt.FOCUSIN),o()(this._element).removeClass(Ut),o()(this._element).off(Lt.CLICK_DISMISS),o()(this._dialog).off(Lt.MOUSEDOWN_DISMISS),i){var r=l.getTransitionDurationFromElement(this._element);o()(this._element).one(l.TRANSITION_END,(function(e){return t._hideModal(e)})).emulateTransitionEnd(r)}else this._hideModal()}}}},{key:"dispose",value:function(){[window,this._element,this._dialog].forEach((function(e){return o()(e).off(Nt)})),o()(document).off(Lt.FOCUSIN),o.a.removeData(this._element,"bs.modal"),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null}},{key:"handleUpdate",value:function(){this._adjustDialog()}},{key:"_getConfig",value:function(e){return e=kt({},jt,{},e),l.typeCheckConfig("modal",e,xt),e}},{key:"_showElement",value:function(e){var t=this,n=o()(this._element).hasClass(Wt);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),o()(this._dialog).hasClass(Mt)?this._dialog.querySelector(Bt.MODAL_BODY).scrollTop=0:this._element.scrollTop=0,n&&l.reflow(this._element),o()(this._element).addClass(Ut),this._config.focus&&this._enforceFocus();var i=o.a.Event(Lt.SHOWN,{relatedTarget:e}),r=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,o()(t._element).trigger(i)};if(n){var a=l.getTransitionDurationFromElement(this._dialog);o()(this._dialog).one(l.TRANSITION_END,r).emulateTransitionEnd(a)}else r()}},{key:"_enforceFocus",value:function(){var e=this;o()(document).off(Lt.FOCUSIN).on(Lt.FOCUSIN,(function(t){document!==t.target&&e._element!==t.target&&0===o()(e._element).has(t.target).length&&e._element.focus()}))}},{key:"_setEscapeEvent",value:function(){var e=this;this._isShown&&this._config.keyboard?o()(this._element).on(Lt.KEYDOWN_DISMISS,(function(t){27===t.which&&(t.preventDefault(),e.hide())})):this._isShown||o()(this._element).off(Lt.KEYDOWN_DISMISS)}},{key:"_setResizeEvent",value:function(){var e=this;this._isShown?o()(window).on(Lt.RESIZE,(function(t){return e.handleUpdate(t)})):o()(window).off(Lt.RESIZE)}},{key:"_hideModal",value:function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop((function(){o()(document.body).removeClass(Rt),e._resetAdjustments(),e._resetScrollbar(),o()(e._element).trigger(Lt.HIDDEN)}))}},{key:"_removeBackdrop",value:function(){this._backdrop&&(o()(this._backdrop).remove(),this._backdrop=null)}},{key:"_showBackdrop",value:function(e){var t=this,n=o()(this._element).hasClass(Wt)?Wt:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Ht,n&&this._backdrop.classList.add(n),o()(this._backdrop).appendTo(document.body),o()(this._element).on(Lt.CLICK_DISMISS,(function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._element.focus():t.hide())})),n&&l.reflow(this._backdrop),o()(this._backdrop).addClass(Ut),!e)return;if(!n)return void e();var i=l.getTransitionDurationFromElement(this._backdrop);o()(this._backdrop).one(l.TRANSITION_END,e).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){o()(this._backdrop).removeClass(Ut);var r=function(){t._removeBackdrop(),e&&e()};if(o()(this._element).hasClass(Wt)){var a=l.getTransitionDurationFromElement(this._backdrop);o()(this._backdrop).one(l.TRANSITION_END,r).emulateTransitionEnd(a)}else r()}else e&&e()}},{key:"_adjustDialog",value:function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft="".concat(this._scrollbarWidth,"px")),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight="".concat(this._scrollbarWidth,"px"))}},{key:"_resetAdjustments",value:function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}},{key:"_checkScrollbar",value:function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()}},{key:"_setScrollbar",value:function(){var e=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(Bt.FIXED_CONTENT)),n=[].slice.call(document.querySelectorAll(Bt.STICKY_CONTENT));o()(t).each((function(t,n){var i=n.style.paddingRight,r=o()(n).css("padding-right");o()(n).data("padding-right",i).css("padding-right","".concat(parseFloat(r)+e._scrollbarWidth,"px"))})),o()(n).each((function(t,n){var i=n.style.marginRight,r=o()(n).css("margin-right");o()(n).data("margin-right",i).css("margin-right","".concat(parseFloat(r)-e._scrollbarWidth,"px"))}));var i=document.body.style.paddingRight,r=o()(document.body).css("padding-right");o()(document.body).data("padding-right",i).css("padding-right","".concat(parseFloat(r)+this._scrollbarWidth,"px"))}o()(document.body).addClass(Rt)}},{key:"_resetScrollbar",value:function(){var e=[].slice.call(document.querySelectorAll(Bt.FIXED_CONTENT));o()(e).each((function(e,t){var n=o()(t).data("padding-right");o()(t).removeData("padding-right"),t.style.paddingRight=n||""}));var t=[].slice.call(document.querySelectorAll("".concat(Bt.STICKY_CONTENT)));o()(t).each((function(e,t){var n=o()(t).data("margin-right");void 0!==n&&o()(t).css("margin-right",n).removeData("margin-right")}));var n=o()(document.body).data("padding-right");o()(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""}},{key:"_getScrollbarWidth",value:function(){var e=document.createElement("div");e.className=Ft,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t}}])&&At(t.prototype,n),i&&At(t,i),e}();o()(document).on(Lt.CLICK_DATA_API,Bt.DATA_TOGGLE,(function(e){var t,n=this,i=l.getSelectorFromElement(this);i&&(t=document.querySelector(i));var r=o()(t).data("bs.modal")?"toggle":kt({},o()(t).data(),{},o()(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var a=o()(t).one(Lt.SHOW,(function(e){e.isDefaultPrevented()||a.one(Lt.HIDDEN,(function(){o()(n).is(":visible")&&n.focus()}))}));Kt._jQueryInterface.call(o()(t),r,this)})),o.a.fn.modal=Kt._jQueryInterface,o.a.fn.modal.Constructor=Kt,o.a.fn.modal.noConflict=function(){return o.a.fn.modal=Pt,Kt._jQueryInterface};function qt(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var Vt=".".concat("bs.tab"),Yt=o.a.fn.tab,Qt={HIDE:"hide".concat(Vt),HIDDEN:"hidden".concat(Vt),SHOW:"show".concat(Vt),SHOWN:"shown".concat(Vt),CLICK_DATA_API:"click".concat(Vt).concat(".data-api")},zt="dropdown-menu",Xt="active",Gt="disabled",$t="fade",Zt="show",Jt=".dropdown",en=".nav, .list-group",tn=".active",nn="> li > .active",on='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',rn=".dropdown-toggle",an="> .dropdown-menu .active",sn=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._element=t}var t,n,i;return t=e,i=[{key:"_jQueryInterface",value:function(t){return this.each((function(){var n=o()(this),i=n.data("bs.tab");if(i||(i=new e(this),n.data("bs.tab",i)),"string"==typeof t){if(void 0===i[t])throw new TypeError('No method named "'.concat(t,'"'));i[t]()}}))}},{key:"VERSION",get:function(){return"4.3.1"}}],(n=[{key:"show",value:function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&o()(this._element).hasClass(Xt)||o()(this._element).hasClass(Gt))){var t,n,i=o()(this._element).closest(en)[0],r=l.getSelectorFromElement(this._element);if(i){var a="UL"===i.nodeName||"OL"===i.nodeName?nn:tn;n=(n=o.a.makeArray(o()(i).find(a)))[n.length-1]}var s=o.a.Event(Qt.HIDE,{relatedTarget:this._element}),c=o.a.Event(Qt.SHOW,{relatedTarget:n});if(n&&o()(n).trigger(s),o()(this._element).trigger(c),!c.isDefaultPrevented()&&!s.isDefaultPrevented()){r&&(t=document.querySelector(r)),this._activate(this._element,i);var u=function(){var t=o.a.Event(Qt.HIDDEN,{relatedTarget:e._element}),i=o.a.Event(Qt.SHOWN,{relatedTarget:n});o()(n).trigger(t),o()(e._element).trigger(i)};t?this._activate(t,t.parentNode,u):u()}}}},{key:"dispose",value:function(){o.a.removeData(this._element,"bs.tab"),this._element=null}},{key:"_activate",value:function(e,t,n){var i=this,r=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?o()(t).children(tn):o()(t).find(nn))[0],a=n&&r&&o()(r).hasClass($t),s=function(){return i._transitionComplete(e,r,n)};if(r&&a){var c=l.getTransitionDurationFromElement(r);o()(r).removeClass(Zt).one(l.TRANSITION_END,s).emulateTransitionEnd(c)}else s()}},{key:"_transitionComplete",value:function(e,t,n){if(t){o()(t).removeClass(Xt);var i=o()(t.parentNode).find(an)[0];i&&o()(i).removeClass(Xt),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(o()(e).addClass(Xt),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),l.reflow(e),e.classList.contains($t)&&e.classList.add(Zt),e.parentNode&&o()(e.parentNode).hasClass(zt)){var r=o()(e).closest(Jt)[0];if(r){var a=[].slice.call(r.querySelectorAll(rn));o()(a).addClass(Xt)}e.setAttribute("aria-expanded",!0)}n&&n()}}])&&qt(t.prototype,n),i&&qt(t,i),e}();o()(document).on(Qt.CLICK_DATA_API,on,(function(e){e.preventDefault(),sn._jQueryInterface.call(o()(this),"show")})),o.a.fn.tab=sn._jQueryInterface,o.a.fn.tab.Constructor=sn,o.a.fn.tab.noConflict=function(){return o.a.fn.tab=Yt,sn._jQueryInterface};var ln,cn,un,fn;n(4);ln=o()("nav .dropdown"),cn=function(){ln.removeClass("open").find(".navbar-touch-caret").attr("aria-expanded",!1).find(".fa-caret-up").toggleClass("fa-caret-up fa-caret-down"),ln.find(".dropdown-menu").attr("aria-hidden",!0)},un=function(e){cn(),e.addClass("open"),e.find(".navbar-touch-caret").attr("aria-expanded",!0).find(".fa-caret-down").toggleClass("fa-caret-down fa-caret-up"),e.find(".dropdown-menu").attr("aria-hidden",!1)},fn=function(){var e=o()("body").data("grid-float-breakpoint-width")||768;return o()(document).width()>e||!1},ln.hover((function(){fn()&&un(o()(this))}),(function(){fn()&&cn()})).keydown((function(e){switch(e.keyCode){case 13:cn();break;case 32:case 40:e.preventDefault(),un(o()(this));break;case 27:cn()}})),o()("nav .nav-item").keydown((function(e){var t=o()(this).next().find("a"),n=o()(this).prev().find("a");switch(e.keyCode){case 39:t.length&&(t.focus(),cn());break;case 37:n.length&&(n.focus(),cn())}})),o()(".maori").attr("lang","mi"),o()(".nonvisual-indicator").addClass("sr-only").removeClass("nonvisual-indicator"),function(){function e(e){return"sitemap-cache-".concat(e)}function t(e,t){o()("#children-".concat(e)).html(t)}function n(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=i;null===i&&"undefined"!=typeof Storage&&null!==sessionStorage.getItem(e(n))&&(o=sessionStorage.getItem(e(n))),t(n,o)}function i(i,o){return"undefined"!=typeof Storage&&null!==sessionStorage.getItem(e(o))?(n(o),!1):(function(e,n){var i=e.data("loading-message");t(n,'<div class="sitemap-loading">\n <i class="fa fa-spinner fa-pulse" aria-hidden="true"></i>\n <span class="sr-only">'.concat(i,"</span>\n </div>"))}(i,o),!0)}o()(".sitemap-page").on("click","a.sitemap__collapse-action",(function(t){t.preventDefault();var r=o()(this),a=r.data("page-id");!function(e){e.toggleClass("collapsed").attr("aria-expanded",(function(e,t){return"true"!==t}));var t=e.find(".sr-only"),n=t.text(),i=t.attr("data-collapse-text");e.find(".toggleIco").toggleClass("fa-minus fa-plus"),t.text(i),t.attr("data-collapse-text",n)}(r),o.a.ajax({cache:!0,url:"".concat(window.location.pathname,"/page/").concat(a),beforeSend:function(){return i(r,a)},success:function(t){"undefined"!=typeof Storage&&sessionStorage.setItem(e(a),t),n(a,t)}})})),o()(document).ready((function(){o()(".sitemap__collapse-action").removeAttr("aria-selected")}))}(),o()("article[data-highlight]").each((function(){var e=o()(this).data("highlight");o()(this).highlight(e,{element:"mark",className:"highlight"})})),o()("input.number").on("keyup",(function(){var e=o()(this).val();o()(this).val(e.replace(/[a-zA-Z]/g,""))})),o()(".userform, .comments-holder-container form").each((function(){if("function"==typeof o()(this).validate){var e=o()(this).validate().settings;e.highlight=function(e){"checkbox"===o()(e).prop("type")||"radio"===o()(e).prop("type")?o()(e).parents(".form-group").find(".form-check input").addClass("is-invalid"):o()(e).addClass("is-invalid"),o()(e).closest(".form-group").addClass("has-error")},e.unhighlight=function(e){"checkbox"===o()(e).prop("type")||"radio"===o()(e).prop("type")?o()(e).parents(".form-group").find(".form-check input").removeClass("is-invalid"):o()(e).removeClass("is-invalid"),o()(e).closest(".form-group").removeClass("has-error")},e.errorElement="span",e.errorClass="invalid-feedback",e.errorPlacement=function(e,t){t.parent(".input-group").length||"checkbox"===t.prop("type")||"radio"===t.prop("type")?e.insertAfter(t.parents(".form-group:first").children().last()):e.insertAfter(t)}}})),o()(".comment-reply-link").click((function(){o()(this).attr("aria-expanded",(function(e,t){return"true"!==t}))})),o()("#main img").addClass("img-responsive"),o()("#main div .captionImage.right").removeClass("right").addClass("pull-right"),o()("#main div .captionImage.left").removeClass("left").addClass("pull-left"),o()("#main div .captionImage.center").removeClass("center").addClass("center-block"),o()("#main img.center").removeClass("center").addClass("center-block")},function(e,t){},,,,,function(e,t){}]); |