!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=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;n2&&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;i1&&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&&(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[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]-ms[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.top)||"bottom"===i&&f(c.top)f(n.right),m=f(c.top)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.bottomn.right||t.top>n.bottom||t.right2&&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;h0&&(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;r0&&a--,40===t.which&&a0}},{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;t0,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
',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=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;tdocument.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.righte||!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,'
\n \n '.concat(i,"\n
"))}(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){}]);