!function(e){var t={};function i(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)i.d(n,o,function(t){return e[t]}.bind(null,o));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="../",i(i.s=8)}([function(e,t){e.exports=jQuery},function(e,t,i){"use strict";i.r(t),function(e){
/**!
 * @fileOverview Kickass library to create and place poppers near their reference elements.
 * @version 1.16.1
 * @license
 * Copyright (c) 2016 Federico Zivolo and contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
var i="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,n=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(i&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=i&&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()}),n))}};function s(e){return e&&"[object Function]"==={}.toString.call(e)}function r(e,t){if(1!==e.nodeType)return[];var i=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?i[t]:i}function a(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=r(e),i=t.overflow,n=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(i+o+n)?e:l(a(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var d=i&&!(!window.MSInputMethodContext||!document.documentMode),u=i&&/MSIE 10/.test(navigator.userAgent);function h(e){return 11===e?d:10===e?u:d||u}function f(e){if(!e)return document.documentElement;for(var t=h(10)?document.body:null,i=e.offsetParent||null;i===t&&e.nextElementSibling;)i=(e=e.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===r(i,"position")?f(i):i: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 i=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?e:t,o=i?t:e,s=document.createRange();s.setStart(n,0),s.setEnd(o,0);var r,a,l=s.commonAncestorContainer;if(e!==l&&t!==l||n.contains(o))return"BODY"===(a=(r=l).nodeName)||"HTML"!==a&&f(r.firstElementChild)!==r?f(l):l;var c=p(e);return c.host?m(c.host,t):m(e,p(t).host)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",i="top"===t?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var o=e.ownerDocument.documentElement,s=e.ownerDocument.scrollingElement||o;return s[i]}return e[i]}function v(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=g(t,"top"),o=g(t,"left"),s=i?-1:1;return e.top+=n*s,e.bottom+=n*s,e.left+=o*s,e.right+=o*s,e}function b(e,t){var i="x"===t?"Left":"Top",n="Left"===i?"Right":"Bottom";return parseFloat(e["border"+i+"Width"])+parseFloat(e["border"+n+"Width"])}function _(e,t,i,n){return Math.max(t["offset"+e],t["scroll"+e],i["client"+e],i["offset"+e],i["scroll"+e],h(10)?parseInt(i["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,i=e.documentElement,n=h(10)&&getComputedStyle(i);return{height:_("Height",t,i,n),width:_("Width",t,i,n)}}var y=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},E=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),C=function(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e},I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e};function k(e){return I({},e,{right:e.left+e.width,bottom:e.top+e.height})}function T(e){var t={};try{if(h(10)){t=e.getBoundingClientRect();var i=g(e,"top"),n=g(e,"left");t.top+=i,t.left+=n,t.bottom+=i,t.right+=n}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},s="HTML"===e.nodeName?w(e.ownerDocument):{},a=s.width||e.clientWidth||o.width,l=s.height||e.clientHeight||o.height,c=e.offsetWidth-a,d=e.offsetHeight-l;if(c||d){var u=r(e);c-=b(u,"x"),d-=b(u,"y"),o.width-=c,o.height-=d}return k(o)}function x(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=h(10),o="HTML"===t.nodeName,s=T(e),a=T(t),c=l(e),d=r(t),u=parseFloat(d.borderTopWidth),f=parseFloat(d.borderLeftWidth);i&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=k({top:s.top-a.top-u,left:s.left-a.left-f,width:s.width,height:s.height});if(p.marginTop=0,p.marginLeft=0,!n&&o){var m=parseFloat(d.marginTop),g=parseFloat(d.marginLeft);p.top-=u-m,p.bottom-=u-m,p.left-=f-g,p.right-=f-g,p.marginTop=m,p.marginLeft=g}return(n&&!i?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(p=v(p,t)),p}function S(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e.ownerDocument.documentElement,n=x(e,i),o=Math.max(i.clientWidth,window.innerWidth||0),s=Math.max(i.clientHeight,window.innerHeight||0),r=t?0:g(i),a=t?0:g(i,"left"),l={top:r-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:s};return k(l)}function N(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===r(e,"position"))return!0;var i=a(e);return!!i&&N(i)}function O(e){if(!e||!e.parentElement||h())return document.documentElement;for(var t=e.parentElement;t&&"none"===r(t,"transform");)t=t.parentElement;return t||document.documentElement}function A(e,t,i,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},r=o?O(e):m(e,c(t));if("viewport"===n)s=S(r,o);else{var d=void 0;"scrollParent"===n?"BODY"===(d=l(a(t))).nodeName&&(d=e.ownerDocument.documentElement):d="window"===n?e.ownerDocument.documentElement:n;var u=x(d,r,o);if("HTML"!==d.nodeName||N(r))s=u;else{var h=w(e.ownerDocument),f=h.height,p=h.width;s.top+=u.top-u.marginTop,s.bottom=f+u.top,s.left+=u.left-u.marginLeft,s.right=p+u.left}}var g="number"==typeof(i=i||0);return s.left+=g?i:i.left||0,s.top+=g?i:i.top||0,s.right-=g?i:i.right||0,s.bottom-=g?i:i.bottom||0,s}function D(e){return e.width*e.height}function L(e,t,i,n,o){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var r=A(i,n,s,o),a={top:{width:r.width,height:t.top-r.top},right:{width:r.right-t.right,height:r.height},bottom:{width:r.width,height:r.bottom-t.bottom},left:{width:t.left-r.left,height:r.height}},l=Object.keys(a).map((function(e){return I({key:e},a[e],{area:D(a[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,n=e.height;return t>=i.clientWidth&&n>=i.clientHeight})),d=c.length>0?c[0].key:l[0].key,u=e.split("-")[1];return d+(u?"-"+u:"")}function $(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?O(t):m(t,c(i));return x(i,o,n)}function H(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),n=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+n,height:e.offsetHeight+i}}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 z(e,t,i){i=i.split("-")[0];var n=H(e),o={width:n.width,height:n.height},s=-1!==["right","left"].indexOf(i),r=s?"top":"left",a=s?"left":"top",l=s?"height":"width",c=s?"width":"height";return o[r]=t[r]+t[l]/2-n[l]/2,o[a]=i===a?t[a]-n[c]:t[P(a)],o}function j(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function R(e,t,i){return(void 0===i?e:e.slice(0,function(e,t,i){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===i}));var n=j(e,(function(e){return e[t]===i}));return e.indexOf(n)}(e,"name",i))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=e.function||e.fn;e.enabled&&s(i)&&(t.offsets.popper=k(t.offsets.popper),t.offsets.reference=k(t.offsets.reference),t=i(t,e))})),t}function M(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=$(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=L(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=z(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=R(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function B(e,t){return e.some((function(e){var i=e.name;return e.enabled&&i===t}))}function W(e){for(var t=[!1,"ms","Webkit","Moz","O"],i=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var o=t[n],s=o?""+o+i:e;if(void 0!==document.body.style[s])return s}return null}function F(){return this.state.isDestroyed=!0,B(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[W("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function U(e){var t=e.ownerDocument;return t?t.defaultView:window}function q(e,t,i,n){i.updateBound=n,U(e).addEventListener("resize",i.updateBound,{passive:!0});var o=l(e);return function e(t,i,n,o){var s="BODY"===t.nodeName,r=s?t.ownerDocument.defaultView:t;r.addEventListener(i,n,{passive:!0}),s||e(l(r.parentNode),i,n,o),o.push(r)}(o,"scroll",i.updateBound,i.scrollParents),i.scrollElement=o,i.eventsEnabled=!0,i}function V(){this.state.eventsEnabled||(this.state=q(this.reference,this.options,this.state,this.scheduleUpdate))}function Q(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,U(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function K(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Y(e,t){Object.keys(t).forEach((function(i){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&K(t[i])&&(n="px"),e.style[i]=t[i]+n}))}var G=i&&/Firefox/i.test(navigator.userAgent);function X(e,t,i){var n=j(e,(function(e){return e.name===t})),o=!!n&&e.some((function(e){return e.name===i&&e.enabled&&e.order<n.order}));if(!o){var s="`"+t+"`",r="`"+i+"`";console.warn(r+" modifier is required by "+s+" modifier in order to work, be sure to include it before "+s+"!")}return o}var J=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Z=J.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=Z.indexOf(e),n=Z.slice(i+1).concat(Z.slice(0,i));return t?n.reverse():n}var te="flip",ie="clockwise",ne="counterclockwise";function oe(e,t,i,n){var o=[0,0],s=-1!==["right","left"].indexOf(n),r=e.split(/(\+|\-)/).map((function(e){return e.trim()})),a=r.indexOf(j(r,(function(e){return-1!==e.search(/,|\s/)})));r[a]&&-1===r[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[r.slice(0,a).concat([r[a].split(l)[0]]),[r[a].split(l)[1]].concat(r.slice(a+1))]:[r];return(c=c.map((function(e,n){var o=(1===n?!s:s)?"height":"width",r=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,r=!0,e):r?(e[e.length-1]+=t,r=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,i,n){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+o[1],r=o[2];if(!s)return e;if(0===r.indexOf("%")){var a=void 0;switch(r){case"%p":a=i;break;case"%":case"%r":default:a=n}return k(a)[t]/100*s}if("vh"===r||"vw"===r){return("vh"===r?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*s}return s}(e,o,t,i)}))}))).forEach((function(e,t){e.forEach((function(i,n){K(i)&&(o[t]+=i*("-"===e[n-1]?-1:1))}))})),o}var se={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,i=t.split("-")[0],n=t.split("-")[1];if(n){var o=e.offsets,s=o.reference,r=o.popper,a=-1!==["bottom","top"].indexOf(i),l=a?"left":"top",c=a?"width":"height",d={start:C({},l,s[l]),end:C({},l,s[l]+s[c]-r[c])};e.offsets.popper=I({},r,d[n])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var i=t.offset,n=e.placement,o=e.offsets,s=o.popper,r=o.reference,a=n.split("-")[0],l=void 0;return l=K(+i)?[+i,0]:oe(i,s,r,a),"left"===a?(s.top+=l[0],s.left-=l[1]):"right"===a?(s.top+=l[0],s.left+=l[1]):"top"===a?(s.left+=l[0],s.top-=l[1]):"bottom"===a&&(s.left+=l[0],s.top+=l[1]),e.popper=s,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var i=t.boundariesElement||f(e.instance.popper);e.instance.reference===i&&(i=f(i));var n=W("transform"),o=e.instance.popper.style,s=o.top,r=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=A(e.instance.popper,e.instance.reference,t.padding,i,e.positionFixed);o.top=s,o.left=r,o[n]=a,t.boundaries=l;var c=t.priority,d=e.offsets.popper,u={primary:function(e){var i=d[e];return d[e]<l[e]&&!t.escapeWithReference&&(i=Math.max(d[e],l[e])),C({},e,i)},secondary:function(e){var i="right"===e?"left":"top",n=d[i];return d[e]>l[e]&&!t.escapeWithReference&&(n=Math.min(d[i],l[e]-("right"===e?d.width:d.height))),C({},i,n)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=I({},d,u[t](e))})),e.offsets.popper=d,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,i=t.popper,n=t.reference,o=e.placement.split("-")[0],s=Math.floor,r=-1!==["top","bottom"].indexOf(o),a=r?"right":"bottom",l=r?"left":"top",c=r?"width":"height";return i[a]<s(n[l])&&(e.offsets.popper[l]=s(n[l])-i[c]),i[l]>s(n[a])&&(e.offsets.popper[l]=s(n[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var i;if(!X(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],s=e.offsets,a=s.popper,l=s.reference,c=-1!==["left","right"].indexOf(o),d=c?"height":"width",u=c?"Top":"Left",h=u.toLowerCase(),f=c?"left":"top",p=c?"bottom":"right",m=H(n)[d];l[p]-m<a[h]&&(e.offsets.popper[h]-=a[h]-(l[p]-m)),l[h]+m>a[p]&&(e.offsets.popper[h]+=l[h]+m-a[p]),e.offsets.popper=k(e.offsets.popper);var g=l[h]+l[d]/2-m/2,v=r(e.instance.popper),b=parseFloat(v["margin"+u]),_=parseFloat(v["border"+u+"Width"]),w=g-e.offsets.popper[h]-b-_;return w=Math.max(Math.min(a[d]-m,w),0),e.arrowElement=n,e.offsets.arrow=(C(i={},h,Math.round(w)),C(i,f,""),i),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(B(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var i=A(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],o=P(n),s=e.placement.split("-")[1]||"",r=[];switch(t.behavior){case te:r=[n,o];break;case ie:r=ee(n);break;case ne:r=ee(n,!0);break;default:r=t.behavior}return r.forEach((function(a,l){if(n!==a||r.length===l+1)return e;n=e.placement.split("-")[0],o=P(n);var c=e.offsets.popper,d=e.offsets.reference,u=Math.floor,h="left"===n&&u(c.right)>u(d.left)||"right"===n&&u(c.left)<u(d.right)||"top"===n&&u(c.bottom)>u(d.top)||"bottom"===n&&u(c.top)<u(d.bottom),f=u(c.left)<u(i.left),p=u(c.right)>u(i.right),m=u(c.top)<u(i.top),g=u(c.bottom)>u(i.bottom),v="left"===n&&f||"right"===n&&p||"top"===n&&m||"bottom"===n&&g,b=-1!==["top","bottom"].indexOf(n),_=!!t.flipVariations&&(b&&"start"===s&&f||b&&"end"===s&&p||!b&&"start"===s&&m||!b&&"end"===s&&g),w=!!t.flipVariationsByContent&&(b&&"start"===s&&p||b&&"end"===s&&f||!b&&"start"===s&&g||!b&&"end"===s&&m),y=_||w;(h||v||y)&&(e.flipped=!0,(h||v)&&(n=r[l+1]),y&&(s=function(e){return"end"===e?"start":"start"===e?"end":e}(s)),e.placement=n+(s?"-"+s:""),e.offsets.popper=I({},e.offsets.popper,z(e.instance.popper,e.offsets.reference,e.placement)),e=R(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,i=t.split("-")[0],n=e.offsets,o=n.popper,s=n.reference,r=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return o[r?"left":"top"]=s[i]-(a?o[r?"width":"height"]:0),e.placement=P(t),e.offsets.popper=k(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!X(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,i=j(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.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 i=t.x,n=t.y,o=e.offsets.popper,s=j(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==s&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var r=void 0!==s?s:t.gpuAcceleration,a=f(e.instance.popper),l=T(a),c={position:o.position},d=function(e,t){var i=e.offsets,n=i.popper,o=i.reference,s=Math.round,r=Math.floor,a=function(e){return e},l=s(o.width),c=s(n.width),d=-1!==["left","right"].indexOf(e.placement),u=-1!==e.placement.indexOf("-"),h=t?d||u||l%2==c%2?s:r:a,f=t?s:a;return{left:h(l%2==1&&c%2==1&&!u&&t?n.left-1:n.left),top:f(n.top),bottom:f(n.bottom),right:h(n.right)}}(e,window.devicePixelRatio<2||!G),u="bottom"===i?"top":"bottom",h="right"===n?"left":"right",p=W("transform"),m=void 0,g=void 0;if(g="bottom"===u?"HTML"===a.nodeName?-a.clientHeight+d.bottom:-l.height+d.bottom:d.top,m="right"===h?"HTML"===a.nodeName?-a.clientWidth+d.right:-l.width+d.right:d.left,r&&p)c[p]="translate3d("+m+"px, "+g+"px, 0)",c[u]=0,c[h]=0,c.willChange="transform";else{var v="bottom"===u?-1:1,b="right"===h?-1:1;c[u]=g*v,c[h]=m*b,c.willChange=u+", "+h}var _={"x-placement":e.placement};return e.attributes=I({},_,e.attributes),e.styles=I({},c,e.styles),e.arrowStyles=I({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,i;return Y(e.instance.popper,e.styles),t=e.instance.popper,i=e.attributes,Object.keys(i).forEach((function(e){!1!==i[e]?t.setAttribute(e,i[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&Y(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,i,n,o){var s=$(o,t,e,i.positionFixed),r=L(i.placement,s,t,e,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",r),Y(t,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},re=function(){function e(t,i){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};y(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=o(this.update.bind(this)),this.options=I({},e.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(I({},e.Defaults.modifiers,r.modifiers)).forEach((function(t){n.options.modifiers[t]=I({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return I({name:e},n.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&s(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return E(e,[{key:"update",value:function(){return M.call(this)}},{key:"destroy",value:function(){return F.call(this)}},{key:"enableEventListeners",value:function(){return V.call(this)}},{key:"disableEventListeners",value:function(){return Q.call(this)}}]),e}();re.Utils=("undefined"!=typeof window?window:e).PopperUtils,re.placements=J,re.Defaults=se,t.default=re}.call(this,i(3))},function(e,t,i){
/*!
  * Bootstrap v4.6.0 (https://getbootstrap.com/)
  * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */
!function(e,t,i){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=n(t),s=n(i);function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,i){return t&&r(e.prototype,t),i&&r(e,i),e}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}function c(e){var t=this,i=!1;return o.default(this).one(d.TRANSITION_END,(function(){i=!0})),setTimeout((function(){i||d.triggerTransitionEnd(t)}),e),this}var d={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 i=e.getAttribute("href");t=i&&"#"!==i?i.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=o.default(e).css("transition-duration"),i=o.default(e).css("transition-delay"),n=parseFloat(t),s=parseFloat(i);return n||s?(t=t.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(t)+parseFloat(i))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){o.default(e).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var o=i[n],s=t[n],r=s&&d.isElement(s)?"element":null==(a=s)?""+a:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(r))throw new Error(e.toUpperCase()+': Option "'+n+'" provided type "'+r+'" but expected type "'+o+'".')}var a},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?d.findShadowRoot(e.parentNode):null},jQueryDetection:function(){if(void 0===o.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=o.default.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};d.jQueryDetection(),o.default.fn.emulateTransitionEnd=c,o.default.event.special[d.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(e){if(o.default(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var u="alert",h=o.default.fn[u],f=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){o.default.removeData(this._element,"bs.alert"),this._element=null},t._getRootElement=function(e){var t=d.getSelectorFromElement(e),i=!1;return t&&(i=document.querySelector(t)),i||(i=o.default(e).closest(".alert")[0]),i},t._triggerCloseEvent=function(e){var t=o.default.Event("close.bs.alert");return o.default(e).trigger(t),t},t._removeElement=function(e){var t=this;if(o.default(e).removeClass("show"),o.default(e).hasClass("fade")){var i=d.getTransitionDurationFromElement(e);o.default(e).one(d.TRANSITION_END,(function(i){return t._destroyElement(e,i)})).emulateTransitionEnd(i)}else this._destroyElement(e)},t._destroyElement=function(e){o.default(e).detach().trigger("closed.bs.alert").remove()},e._jQueryInterface=function(t){return this.each((function(){var i=o.default(this),n=i.data("bs.alert");n||(n=new e(this),i.data("bs.alert",n)),"close"===t&&n[t](this)}))},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}}]),e}();o.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',f._handleDismiss(new f)),o.default.fn[u]=f._jQueryInterface,o.default.fn[u].Constructor=f,o.default.fn[u].noConflict=function(){return o.default.fn[u]=h,f._jQueryInterface};var p=o.default.fn.button,m=function(){function e(e){this._element=e,this.shouldAvoidTriggerChange=!1}var t=e.prototype;return t.toggle=function(){var e=!0,t=!0,i=o.default(this._element).closest('[data-toggle="buttons"]')[0];if(i){var n=this._element.querySelector('input:not([type="hidden"])');if(n){if("radio"===n.type)if(n.checked&&this._element.classList.contains("active"))e=!1;else{var s=i.querySelector(".active");s&&o.default(s).removeClass("active")}e&&("checkbox"!==n.type&&"radio"!==n.type||(n.checked=!this._element.classList.contains("active")),this.shouldAvoidTriggerChange||o.default(n).trigger("change")),n.focus(),t=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),e&&o.default(this._element).toggleClass("active"))},t.dispose=function(){o.default.removeData(this._element,"bs.button"),this._element=null},e._jQueryInterface=function(t,i){return this.each((function(){var n=o.default(this),s=n.data("bs.button");s||(s=new e(this),n.data("bs.button",s)),s.shouldAvoidTriggerChange=i,"toggle"===t&&s[t]()}))},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}}]),e}();o.default(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(e){var t=e.target,i=t;if(o.default(t).hasClass("btn")||(t=o.default(t).closest(".btn")[0]),!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))e.preventDefault();else{var n=t.querySelector('input:not([type="hidden"])');if(n&&(n.hasAttribute("disabled")||n.classList.contains("disabled")))return void e.preventDefault();"INPUT"!==i.tagName&&"LABEL"===t.tagName||m._jQueryInterface.call(o.default(t),"toggle","INPUT"===i.tagName)}})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){var t=o.default(e.target).closest(".btn")[0];o.default(t).toggleClass("focus",/^focus(in)?$/.test(e.type))})),o.default(window).on("load.bs.button.data-api",(function(){for(var e=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),t=0,i=e.length;t<i;t++){var n=e[t],o=n.querySelector('input:not([type="hidden"])');o.checked||o.hasAttribute("checked")?n.classList.add("active"):n.classList.remove("active")}for(var s=0,r=(e=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;s<r;s++){var a=e[s];"true"===a.getAttribute("aria-pressed")?a.classList.add("active"):a.classList.remove("active")}})),o.default.fn.button=m._jQueryInterface,o.default.fn.button.Constructor=m,o.default.fn.button.noConflict=function(){return o.default.fn.button=p,m._jQueryInterface};var g="carousel",v=".bs.carousel",b=o.default.fn[g],_={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},w={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},y={TOUCH:"touch",PEN:"pen"},E=function(){function e(e,t){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(t),this._element=e,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=e.prototype;return t.next=function(){this._isSliding||this._slide("next")},t.nextWhenVisible=function(){var e=o.default(this._element);!document.hidden&&e.is(":visible")&&"hidden"!==e.css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide("prev")},t.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(d.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(e){var t=this;this._activeElement=this._element.querySelector(".active.carousel-item");var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)o.default(this._element).one("slid.bs.carousel",(function(){return t.to(e)}));else{if(i===e)return this.pause(),void this.cycle();var n=e>i?"next":"prev";this._slide(n,this._items[e])}},t.dispose=function(){o.default(this._element).off(v),o.default.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},t._getConfig=function(e){return e=l({},_,e),d.typeCheckConfig(g,e,w),e},t._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t>0&&this.prev(),t<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&o.default(this._element).on("keydown.bs.carousel",(function(t){return e._keydown(t)})),"hover"===this._config.pause&&o.default(this._element).on("mouseenter.bs.carousel",(function(t){return e.pause(t)})).on("mouseleave.bs.carousel",(function(t){return e.cycle(t)})),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var t=function(t){e._pointerEvent&&y[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},i=function(t){e._pointerEvent&&y[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.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(function(e){return e.preventDefault()})),this._pointerEvent?(o.default(this._element).on("pointerdown.bs.carousel",(function(e){return t(e)})),o.default(this._element).on("pointerup.bs.carousel",(function(e){return i(e)})),this._element.classList.add("pointer-event")):(o.default(this._element).on("touchstart.bs.carousel",(function(e){return t(e)})),o.default(this._element).on("touchmove.bs.carousel",(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.default(this._element).on("touchend.bs.carousel",(function(e){return i(e)})))}},t._keydown=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()}},t._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(e)},t._getItemByDirection=function(e,t){var i="next"===e,n="prev"===e,o=this._getItemIndex(t),s=this._items.length-1;if((n&&0===o||i&&o===s)&&!this._config.wrap)return t;var r=(o+("prev"===e?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]},t._triggerSlideEvent=function(e,t){var i=this._getItemIndex(e),n=this._getItemIndex(this._element.querySelector(".active.carousel-item")),s=o.default.Event("slide.bs.carousel",{relatedTarget:e,direction:t,from:n,to:i});return o.default(this._element).trigger(s),s},t._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));o.default(t).removeClass("active");var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&o.default(i).addClass("active")}},t._updateInterval=function(){var e=this._activeElement||this._element.querySelector(".active.carousel-item");if(e){var t=parseInt(e.getAttribute("data-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}},t._slide=function(e,t){var i,n,s,r=this,a=this._element.querySelector(".active.carousel-item"),l=this._getItemIndex(a),c=t||a&&this._getItemByDirection(e,a),u=this._getItemIndex(c),h=Boolean(this._interval);if("next"===e?(i="carousel-item-left",n="carousel-item-next",s="left"):(i="carousel-item-right",n="carousel-item-prev",s="right"),c&&o.default(c).hasClass("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(c,s).isDefaultPrevented()&&a&&c){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(c),this._activeElement=c;var f=o.default.Event("slid.bs.carousel",{relatedTarget:c,direction:s,from:l,to:u});if(o.default(this._element).hasClass("slide")){o.default(c).addClass(n),d.reflow(c),o.default(a).addClass(i),o.default(c).addClass(i);var p=d.getTransitionDurationFromElement(a);o.default(a).one(d.TRANSITION_END,(function(){o.default(c).removeClass(i+" "+n).addClass("active"),o.default(a).removeClass("active "+n+" "+i),r._isSliding=!1,setTimeout((function(){return o.default(r._element).trigger(f)}),0)})).emulateTransitionEnd(p)}else o.default(a).removeClass("active"),o.default(c).addClass("active"),this._isSliding=!1,o.default(this._element).trigger(f);h&&this.cycle()}},e._jQueryInterface=function(t){return this.each((function(){var i=o.default(this).data("bs.carousel"),n=l({},_,o.default(this).data());"object"==typeof t&&(n=l({},n,t));var s="string"==typeof t?t:n.slide;if(i||(i=new e(this,n),o.default(this).data("bs.carousel",i)),"number"==typeof t)i.to(t);else if("string"==typeof s){if(void 0===i[s])throw new TypeError('No method named "'+s+'"');i[s]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}))},e._dataApiClickHandler=function(t){var i=d.getSelectorFromElement(this);if(i){var n=o.default(i)[0];if(n&&o.default(n).hasClass("carousel")){var s=l({},o.default(n).data(),o.default(this).data()),r=this.getAttribute("data-slide-to");r&&(s.interval=!1),e._jQueryInterface.call(o.default(n),s),r&&o.default(n).data("bs.carousel").to(r),t.preventDefault()}}},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return _}}]),e}();o.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",E._dataApiClickHandler),o.default(window).on("load.bs.carousel.data-api",(function(){for(var e=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),t=0,i=e.length;t<i;t++){var n=o.default(e[t]);E._jQueryInterface.call(n,n.data())}})),o.default.fn[g]=E._jQueryInterface,o.default.fn[g].Constructor=E,o.default.fn[g].noConflict=function(){return o.default.fn[g]=b,E._jQueryInterface};var C="collapse",I=o.default.fn[C],k={toggle:!0,parent:""},T={toggle:"boolean",parent:"(string|element)"},x=function(){function e(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var i=[].slice.call(document.querySelectorAll('[data-toggle="collapse"]')),n=0,o=i.length;n<o;n++){var s=i[n],r=d.getSelectorFromElement(s),a=[].slice.call(document.querySelectorAll(r)).filter((function(t){return t===e}));null!==r&&a.length>0&&(this._selector=r,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=e.prototype;return t.toggle=function(){o.default(this._element).hasClass("show")?this.hide():this.show()},t.show=function(){var t,i,n=this;if(!(this._isTransitioning||o.default(this._element).hasClass("show")||(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(e){return"string"==typeof n._config.parent?e.getAttribute("data-parent")===n._config.parent:e.classList.contains("collapse")}))).length&&(t=null),t&&(i=o.default(t).not(this._selector).data("bs.collapse"))&&i._isTransitioning))){var s=o.default.Event("show.bs.collapse");if(o.default(this._element).trigger(s),!s.isDefaultPrevented()){t&&(e._jQueryInterface.call(o.default(t).not(this._selector),"hide"),i||o.default(t).data("bs.collapse",null));var r=this._getDimension();o.default(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[r]=0,this._triggerArray.length&&o.default(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0);var a="scroll"+(r[0].toUpperCase()+r.slice(1)),l=d.getTransitionDurationFromElement(this._element);o.default(this._element).one(d.TRANSITION_END,(function(){o.default(n._element).removeClass("collapsing").addClass("collapse show"),n._element.style[r]="",n.setTransitioning(!1),o.default(n._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(l),this._element.style[r]=this._element[a]+"px"}}},t.hide=function(){var e=this;if(!this._isTransitioning&&o.default(this._element).hasClass("show")){var t=o.default.Event("hide.bs.collapse");if(o.default(this._element).trigger(t),!t.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",d.reflow(this._element),o.default(this._element).addClass("collapsing").removeClass("collapse show");var n=this._triggerArray.length;if(n>0)for(var s=0;s<n;s++){var r=this._triggerArray[s],a=d.getSelectorFromElement(r);null!==a&&(o.default([].slice.call(document.querySelectorAll(a))).hasClass("show")||o.default(r).addClass("collapsed").attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[i]="";var l=d.getTransitionDurationFromElement(this._element);o.default(this._element).one(d.TRANSITION_END,(function(){e.setTransitioning(!1),o.default(e._element).removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")})).emulateTransitionEnd(l)}}},t.setTransitioning=function(e){this._isTransitioning=e},t.dispose=function(){o.default.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(e){return(e=l({},k,e)).toggle=Boolean(e.toggle),d.typeCheckConfig(C,e,T),e},t._getDimension=function(){return o.default(this._element).hasClass("width")?"width":"height"},t._getParent=function(){var t,i=this;d.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 n='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',s=[].slice.call(t.querySelectorAll(n));return o.default(s).each((function(t,n){i._addAriaAndCollapsedClass(e._getTargetFromElement(n),[n])})),t},t._addAriaAndCollapsedClass=function(e,t){var i=o.default(e).hasClass("show");t.length&&o.default(t).toggleClass("collapsed",!i).attr("aria-expanded",i)},e._getTargetFromElement=function(e){var t=d.getSelectorFromElement(e);return t?document.querySelector(t):null},e._jQueryInterface=function(t){return this.each((function(){var i=o.default(this),n=i.data("bs.collapse"),s=l({},k,i.data(),"object"==typeof t&&t?t:{});if(!n&&s.toggle&&"string"==typeof t&&/show|hide/.test(t)&&(s.toggle=!1),n||(n=new e(this,s),i.data("bs.collapse",n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return k}}]),e}();o.default(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var t=o.default(this),i=d.getSelectorFromElement(this),n=[].slice.call(document.querySelectorAll(i));o.default(n).each((function(){var e=o.default(this),i=e.data("bs.collapse")?"toggle":t.data();x._jQueryInterface.call(e,i)}))})),o.default.fn[C]=x._jQueryInterface,o.default.fn[C].Constructor=x,o.default.fn[C].noConflict=function(){return o.default.fn[C]=I,x._jQueryInterface};var S="dropdown",N=o.default.fn[S],O=new RegExp("38|40|27"),A={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},D={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},L=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=e.prototype;return t.toggle=function(){if(!this._element.disabled&&!o.default(this._element).hasClass("disabled")){var t=o.default(this._menu).hasClass("show");e._clearMenus(),t||this.show(!0)}},t.show=function(t){if(void 0===t&&(t=!1),!(this._element.disabled||o.default(this._element).hasClass("disabled")||o.default(this._menu).hasClass("show"))){var i={relatedTarget:this._element},n=o.default.Event("show.bs.dropdown",i),r=e._getParentFromElement(this._element);if(o.default(r).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar&&t){if(void 0===s.default)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var a=this._element;"parent"===this._config.reference?a=r:d.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&o.default(r).addClass("position-static"),this._popper=new s.default(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===o.default(r).closest(".navbar-nav").length&&o.default(document.body).children().on("mouseover",null,o.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),o.default(this._menu).toggleClass("show"),o.default(r).toggleClass("show").trigger(o.default.Event("shown.bs.dropdown",i))}}},t.hide=function(){if(!this._element.disabled&&!o.default(this._element).hasClass("disabled")&&o.default(this._menu).hasClass("show")){var t={relatedTarget:this._element},i=o.default.Event("hide.bs.dropdown",t),n=e._getParentFromElement(this._element);o.default(n).trigger(i),i.isDefaultPrevented()||(this._popper&&this._popper.destroy(),o.default(this._menu).toggleClass("show"),o.default(n).toggleClass("show").trigger(o.default.Event("hidden.bs.dropdown",t)))}},t.dispose=function(){o.default.removeData(this._element,"bs.dropdown"),o.default(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;o.default(this._element).on("click.bs.dropdown",(function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}))},t._getConfig=function(e){return e=l({},this.constructor.Default,o.default(this._element).data(),e),d.typeCheckConfig(S,e,this.constructor.DefaultType),e},t._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(".dropdown-menu"))}return this._menu},t._getPlacement=function(){var e=o.default(this._element.parentNode),t="bottom-start";return e.hasClass("dropup")?t=o.default(this._menu).hasClass("dropdown-menu-right")?"top-end":"top-start":e.hasClass("dropright")?t="right-start":e.hasClass("dropleft")?t="left-start":o.default(this._menu).hasClass("dropdown-menu-right")&&(t="bottom-end"),t},t._detectNavbar=function(){return o.default(this._element).closest(".navbar").length>0},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},t._getPopperConfig=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}),l({},e,this._config.popperConfig)},e._jQueryInterface=function(t){return this.each((function(){var i=o.default(this).data("bs.dropdown");if(i||(i=new e(this,"object"==typeof t?t:null),o.default(this).data("bs.dropdown",i)),"string"==typeof t){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}}))},e._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var i=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),n=0,s=i.length;n<s;n++){var r=e._getParentFromElement(i[n]),a=o.default(i[n]).data("bs.dropdown"),l={relatedTarget:i[n]};if(t&&"click"===t.type&&(l.clickEvent=t),a){var c=a._menu;if(o.default(r).hasClass("show")&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&o.default.contains(r,t.target))){var d=o.default.Event("hide.bs.dropdown",l);o.default(r).trigger(d),d.isDefaultPrevented()||("ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),i[n].setAttribute("aria-expanded","false"),a._popper&&a._popper.destroy(),o.default(c).removeClass("show"),o.default(r).removeClass("show").trigger(o.default.Event("hidden.bs.dropdown",l)))}}}},e._getParentFromElement=function(e){var t,i=d.getSelectorFromElement(e);return i&&(t=document.querySelector(i)),t||e.parentNode},e._dataApiKeydownHandler=function(t){if(!(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||o.default(t.target).closest(".dropdown-menu").length):!O.test(t.which))&&!this.disabled&&!o.default(this).hasClass("disabled")){var i=e._getParentFromElement(this),n=o.default(i).hasClass("show");if(n||27!==t.which){if(t.preventDefault(),t.stopPropagation(),!n||27===t.which||32===t.which)return 27===t.which&&o.default(i.querySelector('[data-toggle="dropdown"]')).trigger("focus"),void o.default(this).trigger("click");var s=[].slice.call(i.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter((function(e){return o.default(e).is(":visible")}));if(0!==s.length){var r=s.indexOf(t.target);38===t.which&&r>0&&r--,40===t.which&&r<s.length-1&&r++,r<0&&(r=0),s[r].focus()}}}},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return A}},{key:"DefaultType",get:function(){return D}}]),e}();o.default(document).on("keydown.bs.dropdown.data-api",'[data-toggle="dropdown"]',L._dataApiKeydownHandler).on("keydown.bs.dropdown.data-api",".dropdown-menu",L._dataApiKeydownHandler).on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api",L._clearMenus).on("click.bs.dropdown.data-api",'[data-toggle="dropdown"]',(function(e){e.preventDefault(),e.stopPropagation(),L._jQueryInterface.call(o.default(this),"toggle")})).on("click.bs.dropdown.data-api",".dropdown form",(function(e){e.stopPropagation()})),o.default.fn[S]=L._jQueryInterface,o.default.fn[S].Constructor=L,o.default.fn[S].noConflict=function(){return o.default.fn[S]=N,L._jQueryInterface};var $=o.default.fn.modal,H={backdrop:!0,keyboard:!0,focus:!0,show:!0},P={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},z=function(){function e(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t=e.prototype;return t.toggle=function(e){return this._isShown?this.hide():this.show(e)},t.show=function(e){var t=this;if(!this._isShown&&!this._isTransitioning){o.default(this._element).hasClass("fade")&&(this._isTransitioning=!0);var i=o.default.Event("show.bs.modal",{relatedTarget:e});o.default(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),o.default(this._element).on("click.dismiss.bs.modal",'[data-dismiss="modal"]',(function(e){return t.hide(e)})),o.default(this._dialog).on("mousedown.dismiss.bs.modal",(function(){o.default(t._element).one("mouseup.dismiss.bs.modal",(function(e){o.default(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return t._showElement(e)})))}},t.hide=function(e){var t=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var i=o.default.Event("hide.bs.modal");if(o.default(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var n=o.default(this._element).hasClass("fade");if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),o.default(document).off("focusin.bs.modal"),o.default(this._element).removeClass("show"),o.default(this._element).off("click.dismiss.bs.modal"),o.default(this._dialog).off("mousedown.dismiss.bs.modal"),n){var s=d.getTransitionDurationFromElement(this._element);o.default(this._element).one(d.TRANSITION_END,(function(e){return t._hideModal(e)})).emulateTransitionEnd(s)}else this._hideModal()}}},t.dispose=function(){[window,this._element,this._dialog].forEach((function(e){return o.default(e).off(".bs.modal")})),o.default(document).off("focusin.bs.modal"),o.default.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},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(e){return e=l({},H,e),d.typeCheckConfig("modal",e,P),e},t._triggerBackdropTransition=function(){var e=this,t=o.default.Event("hidePrevented.bs.modal");if(o.default(this._element).trigger(t),!t.isDefaultPrevented()){var i=this._element.scrollHeight>document.documentElement.clientHeight;i||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var n=d.getTransitionDurationFromElement(this._dialog);o.default(this._element).off(d.TRANSITION_END),o.default(this._element).one(d.TRANSITION_END,(function(){e._element.classList.remove("modal-static"),i||o.default(e._element).one(d.TRANSITION_END,(function(){e._element.style.overflowY=""})).emulateTransitionEnd(e._element,n)})).emulateTransitionEnd(n),this._element.focus()}},t._showElement=function(e){var t=this,i=o.default(this._element).hasClass("fade"),n=this._dialog?this._dialog.querySelector(".modal-body"):null;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),this._element.setAttribute("role","dialog"),o.default(this._dialog).hasClass("modal-dialog-scrollable")&&n?n.scrollTop=0:this._element.scrollTop=0,i&&d.reflow(this._element),o.default(this._element).addClass("show"),this._config.focus&&this._enforceFocus();var s=o.default.Event("shown.bs.modal",{relatedTarget:e}),r=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,o.default(t._element).trigger(s)};if(i){var a=d.getTransitionDurationFromElement(this._dialog);o.default(this._dialog).one(d.TRANSITION_END,r).emulateTransitionEnd(a)}else r()},t._enforceFocus=function(){var e=this;o.default(document).off("focusin.bs.modal").on("focusin.bs.modal",(function(t){document!==t.target&&e._element!==t.target&&0===o.default(e._element).has(t.target).length&&e._element.focus()}))},t._setEscapeEvent=function(){var e=this;this._isShown?o.default(this._element).on("keydown.dismiss.bs.modal",(function(t){e._config.keyboard&&27===t.which?(t.preventDefault(),e.hide()):e._config.keyboard||27!==t.which||e._triggerBackdropTransition()})):this._isShown||o.default(this._element).off("keydown.dismiss.bs.modal")},t._setResizeEvent=function(){var e=this;this._isShown?o.default(window).on("resize.bs.modal",(function(t){return e.handleUpdate(t)})):o.default(window).off("resize.bs.modal")},t._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){o.default(document.body).removeClass("modal-open"),e._resetAdjustments(),e._resetScrollbar(),o.default(e._element).trigger("hidden.bs.modal")}))},t._removeBackdrop=function(){this._backdrop&&(o.default(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(e){var t=this,i=o.default(this._element).hasClass("fade")?"fade":"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),o.default(this._backdrop).appendTo(document.body),o.default(this._element).on("click.dismiss.bs.modal",(function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._triggerBackdropTransition():t.hide())})),i&&d.reflow(this._backdrop),o.default(this._backdrop).addClass("show"),!e)return;if(!i)return void e();var n=d.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(d.TRANSITION_END,e).emulateTransitionEnd(n)}else if(!this._isShown&&this._backdrop){o.default(this._backdrop).removeClass("show");var s=function(){t._removeBackdrop(),e&&e()};if(o.default(this._element).hasClass("fade")){var r=d.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(d.TRANSITION_END,s).emulateTransitionEnd(r)}else s()}else e&&e()},t._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),i=[].slice.call(document.querySelectorAll(".sticky-top"));o.default(t).each((function(t,i){var n=i.style.paddingRight,s=o.default(i).css("padding-right");o.default(i).data("padding-right",n).css("padding-right",parseFloat(s)+e._scrollbarWidth+"px")})),o.default(i).each((function(t,i){var n=i.style.marginRight,s=o.default(i).css("margin-right");o.default(i).data("margin-right",n).css("margin-right",parseFloat(s)-e._scrollbarWidth+"px")}));var n=document.body.style.paddingRight,s=o.default(document.body).css("padding-right");o.default(document.body).data("padding-right",n).css("padding-right",parseFloat(s)+this._scrollbarWidth+"px")}o.default(document.body).addClass("modal-open")},t._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top"));o.default(e).each((function(e,t){var i=o.default(t).data("padding-right");o.default(t).removeData("padding-right"),t.style.paddingRight=i||""}));var t=[].slice.call(document.querySelectorAll(".sticky-top"));o.default(t).each((function(e,t){var i=o.default(t).data("margin-right");void 0!==i&&o.default(t).css("margin-right",i).removeData("margin-right")}));var i=o.default(document.body).data("padding-right");o.default(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},t._getScrollbarWidth=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},e._jQueryInterface=function(t,i){return this.each((function(){var n=o.default(this).data("bs.modal"),s=l({},H,o.default(this).data(),"object"==typeof t&&t?t:{});if(n||(n=new e(this,s),o.default(this).data("bs.modal",n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t](i)}else s.show&&n.show(i)}))},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return H}}]),e}();o.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(e){var t,i=this,n=d.getSelectorFromElement(this);n&&(t=document.querySelector(n));var s=o.default(t).data("bs.modal")?"toggle":l({},o.default(t).data(),o.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var r=o.default(t).one("show.bs.modal",(function(e){e.isDefaultPrevented()||r.one("hidden.bs.modal",(function(){o.default(i).is(":visible")&&i.focus()}))}));z._jQueryInterface.call(o.default(t),s,this)})),o.default.fn.modal=z._jQueryInterface,o.default.fn.modal.Constructor=z,o.default.fn.modal.noConflict=function(){return o.default.fn.modal=$,z._jQueryInterface};var j=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],R={"*":["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","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},M=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,B=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function W(e,t,i){if(0===e.length)return e;if(i&&"function"==typeof i)return i(e);for(var n=(new window.DOMParser).parseFromString(e,"text/html"),o=Object.keys(t),s=[].slice.call(n.body.querySelectorAll("*")),r=function(e,i){var n=s[e],r=n.nodeName.toLowerCase();if(-1===o.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var a=[].slice.call(n.attributes),l=[].concat(t["*"]||[],t[r]||[]);a.forEach((function(e){(function(e,t){var i=e.nodeName.toLowerCase();if(-1!==t.indexOf(i))return-1===j.indexOf(i)||Boolean(e.nodeValue.match(M)||e.nodeValue.match(B));for(var n=t.filter((function(e){return e instanceof RegExp})),o=0,s=n.length;o<s;o++)if(i.match(n[o]))return!0;return!1})(e,l)||n.removeAttribute(e.nodeName)}))},a=0,l=s.length;a<l;a++)r(a);return n.body.innerHTML}var F="tooltip",U=o.default.fn[F],q=new RegExp("(^|\\s)bs-tooltip\\S+","g"),V=["sanitize","whiteList","sanitizeFn"],Q={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)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},K={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Y={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",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:R,popperConfig:null},G={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},X=function(){function e(e,t){if(void 0===s.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var t=e.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,i=o.default(e.currentTarget).data(t);i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),o.default(e.currentTarget).data(t,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(o.default(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),o.default.removeData(this.element,this.constructor.DATA_KEY),o.default(this.element).off(this.constructor.EVENT_KEY),o.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&o.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===o.default(this.element).css("display"))throw new Error("Please use show on visible elements");var t=o.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){o.default(this.element).trigger(t);var i=d.findShadowRoot(this.element),n=o.default.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;var r=this.getTipElement(),a=d.getUID(this.constructor.NAME);r.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&o.default(r).addClass("fade");var l="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,c=this._getAttachment(l);this.addAttachmentClass(c);var u=this._getContainer();o.default(r).data(this.constructor.DATA_KEY,this),o.default.contains(this.element.ownerDocument.documentElement,this.tip)||o.default(r).appendTo(u),o.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new s.default(this.element,r,this._getPopperConfig(c)),o.default(r).addClass("show"),o.default(r).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&o.default(document.body).children().on("mouseover",null,o.default.noop);var h=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,o.default(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};if(o.default(this.tip).hasClass("fade")){var f=d.getTransitionDurationFromElement(this.tip);o.default(this.tip).one(d.TRANSITION_END,h).emulateTransitionEnd(f)}else h()}},t.hide=function(e){var t=this,i=this.getTipElement(),n=o.default.Event(this.constructor.Event.HIDE),s=function(){"show"!==t._hoverState&&i.parentNode&&i.parentNode.removeChild(i),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),o.default(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(o.default(this.element).trigger(n),!n.isDefaultPrevented()){if(o.default(i).removeClass("show"),"ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,o.default(this.tip).hasClass("fade")){var r=d.getTransitionDurationFromElement(i);o.default(i).one(d.TRANSITION_END,s).emulateTransitionEnd(r)}else s();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(e){o.default(this.getTipElement()).addClass("bs-tooltip-"+e)},t.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},t.setContent=function(){var e=this.getTipElement();this.setElementContent(o.default(e.querySelectorAll(".tooltip-inner")),this.getTitle()),o.default(e).removeClass("fade show")},t.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=W(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?o.default(t).parent().is(e)||e.empty().append(t):e.text(o.default(t).text())},t.getTitle=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},t._getPopperConfig=function(e){var t=this;return l({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},this.config.popperConfig)},t._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:d.isElement(this.config.container)?o.default(this.config.container):o.default(document).find(this.config.container)},t._getAttachment=function(e){return K[e.toUpperCase()]},t._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(t){if("click"===t)o.default(e.element).on(e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if("manual"!==t){var i="hover"===t?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,n="hover"===t?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;o.default(e.element).on(i,e.config.selector,(function(t){return e._enter(t)})).on(n,e.config.selector,(function(t){return e._leave(t)}))}})),this._hideModalHandler=function(){e.element&&e.hide()},o.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var e=typeof 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",""))},t._enter=function(e,t){var i=this.constructor.DATA_KEY;(t=t||o.default(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),o.default(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusin"===e.type?"focus":"hover"]=!0),o.default(t.getTipElement()).hasClass("show")||"show"===t._hoverState?t._hoverState="show":(clearTimeout(t._timeout),t._hoverState="show",t.config.delay&&t.config.delay.show?t._timeout=setTimeout((function(){"show"===t._hoverState&&t.show()}),t.config.delay.show):t.show())},t._leave=function(e,t){var i=this.constructor.DATA_KEY;(t=t||o.default(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),o.default(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusout"===e.type?"focus":"hover"]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout((function(){"out"===t._hoverState&&t.hide()}),t.config.delay.hide):t.hide())},t._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},t._getConfig=function(e){var t=o.default(this.element).data();return Object.keys(t).forEach((function(e){-1!==V.indexOf(e)&&delete t[e]})),"number"==typeof(e=l({},this.constructor.Default,t,"object"==typeof 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()),d.typeCheckConfig(F,e,this.constructor.DefaultType),e.sanitize&&(e.template=W(e.template,e.whiteList,e.sanitizeFn)),e},t._getDelegateConfig=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},t._cleanTipClass=function(){var e=o.default(this.getTipElement()),t=e.attr("class").match(q);null!==t&&t.length&&e.removeClass(t.join(""))},t._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},t._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(o.default(e).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},e._jQueryInterface=function(t){return this.each((function(){var i=o.default(this),n=i.data("bs.tooltip"),s="object"==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new e(this,s),i.data("bs.tooltip",n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return Y}},{key:"NAME",get:function(){return F}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return G}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Q}}]),e}();o.default.fn[F]=X._jQueryInterface,o.default.fn[F].Constructor=X,o.default.fn[F].noConflict=function(){return o.default.fn[F]=U,X._jQueryInterface};var J="popover",Z=o.default.fn[J],ee=new RegExp("(^|\\s)bs-popover\\S+","g"),te=l({},X.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>'}),ie=l({},X.DefaultType,{content:"(string|element|function)"}),ne={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},oe=function(e){var t,i;function n(){return e.apply(this,arguments)||this}i=e,(t=n).prototype=Object.create(i.prototype),t.prototype.constructor=t,t.__proto__=i;var s=n.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(e){o.default(this.getTipElement()).addClass("bs-popover-"+e)},s.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},s.setContent=function(){var e=o.default(this.getTipElement());this.setElementContent(e.find(".popover-header"),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(".popover-body"),t),e.removeClass("fade show")},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var e=o.default(this.getTipElement()),t=e.attr("class").match(ee);null!==t&&t.length>0&&e.removeClass(t.join(""))},n._jQueryInterface=function(e){return this.each((function(){var t=o.default(this).data("bs.popover"),i="object"==typeof e?e:null;if((t||!/dispose|hide/.test(e))&&(t||(t=new n(this,i),o.default(this).data("bs.popover",t)),"string"==typeof e)){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}}))},a(n,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return te}},{key:"NAME",get:function(){return J}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return ne}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return ie}}]),n}(X);o.default.fn[J]=oe._jQueryInterface,o.default.fn[J].Constructor=oe,o.default.fn[J].noConflict=function(){return o.default.fn[J]=Z,oe._jQueryInterface};var se="scrollspy",re=o.default.fn[se],ae={offset:10,method:"auto",target:""},le={offset:"number",method:"string",target:"(string|element)"},ce=function(){function e(e,t){var i=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,o.default(this._scrollElement).on("scroll.bs.scrollspy",(function(e){return i._process(e)})),this.refresh(),this._process()}var t=e.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?t:this._config.method,n="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(e){var t,s=d.getSelectorFromElement(e);if(s&&(t=document.querySelector(s)),t){var r=t.getBoundingClientRect();if(r.width||r.height)return[o.default(t)[i]().top+n,s]}return null})).filter((function(e){return e})).sort((function(e,t){return e[0]-t[0]})).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))},t.dispose=function(){o.default.removeData(this._element,"bs.scrollspy"),o.default(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(e){if("string"!=typeof(e=l({},ae,"object"==typeof e&&e?e:{})).target&&d.isElement(e.target)){var t=o.default(e.target).attr("id");t||(t=d.getUID(se),o.default(e.target).attr("id",t)),e.target="#"+t}return d.typeCheckConfig(se,e,le),e},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),i=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&e>=this._offsets[o]&&(void 0===this._offsets[o+1]||e<this._offsets[o+1])&&this._activate(this._targets[o])}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map((function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'})),i=o.default([].slice.call(document.querySelectorAll(t.join(","))));i.hasClass("dropdown-item")?(i.closest(".dropdown").find(".dropdown-toggle").addClass("active"),i.addClass("active")):(i.addClass("active"),i.parents(".nav, .list-group").prev(".nav-link, .list-group-item").addClass("active"),i.parents(".nav, .list-group").prev(".nav-item").children(".nav-link").addClass("active")),o.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:e})},t._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(e){return e.classList.contains("active")})).forEach((function(e){return e.classList.remove("active")}))},e._jQueryInterface=function(t){return this.each((function(){var i=o.default(this).data("bs.scrollspy");if(i||(i=new e(this,"object"==typeof t&&t),o.default(this).data("bs.scrollspy",i)),"string"==typeof t){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}}))},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return ae}}]),e}();o.default(window).on("load.bs.scrollspy.data-api",(function(){for(var e=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),t=e.length;t--;){var i=o.default(e[t]);ce._jQueryInterface.call(i,i.data())}})),o.default.fn[se]=ce._jQueryInterface,o.default.fn[se].Constructor=ce,o.default.fn[se].noConflict=function(){return o.default.fn[se]=re,ce._jQueryInterface};var de=o.default.fn.tab,ue=function(){function e(e){this._element=e}var t=e.prototype;return t.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&o.default(this._element).hasClass("active")||o.default(this._element).hasClass("disabled"))){var t,i,n=o.default(this._element).closest(".nav, .list-group")[0],s=d.getSelectorFromElement(this._element);if(n){var r="UL"===n.nodeName||"OL"===n.nodeName?"> li > .active":".active";i=(i=o.default.makeArray(o.default(n).find(r)))[i.length-1]}var a=o.default.Event("hide.bs.tab",{relatedTarget:this._element}),l=o.default.Event("show.bs.tab",{relatedTarget:i});if(i&&o.default(i).trigger(a),o.default(this._element).trigger(l),!l.isDefaultPrevented()&&!a.isDefaultPrevented()){s&&(t=document.querySelector(s)),this._activate(this._element,n);var c=function(){var t=o.default.Event("hidden.bs.tab",{relatedTarget:e._element}),n=o.default.Event("shown.bs.tab",{relatedTarget:i});o.default(i).trigger(t),o.default(e._element).trigger(n)};t?this._activate(t,t.parentNode,c):c()}}},t.dispose=function(){o.default.removeData(this._element,"bs.tab"),this._element=null},t._activate=function(e,t,i){var n=this,s=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?o.default(t).children(".active"):o.default(t).find("> li > .active"))[0],r=i&&s&&o.default(s).hasClass("fade"),a=function(){return n._transitionComplete(e,s,i)};if(s&&r){var l=d.getTransitionDurationFromElement(s);o.default(s).removeClass("show").one(d.TRANSITION_END,a).emulateTransitionEnd(l)}else a()},t._transitionComplete=function(e,t,i){if(t){o.default(t).removeClass("active");var n=o.default(t.parentNode).find("> .dropdown-menu .active")[0];n&&o.default(n).removeClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(o.default(e).addClass("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),d.reflow(e),e.classList.contains("fade")&&e.classList.add("show"),e.parentNode&&o.default(e.parentNode).hasClass("dropdown-menu")){var s=o.default(e).closest(".dropdown")[0];if(s){var r=[].slice.call(s.querySelectorAll(".dropdown-toggle"));o.default(r).addClass("active")}e.setAttribute("aria-expanded",!0)}i&&i()},e._jQueryInterface=function(t){return this.each((function(){var i=o.default(this),n=i.data("bs.tab");if(n||(n=new e(this),i.data("bs.tab",n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}}]),e}();o.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(e){e.preventDefault(),ue._jQueryInterface.call(o.default(this),"show")})),o.default.fn.tab=ue._jQueryInterface,o.default.fn.tab.Constructor=ue,o.default.fn.tab.noConflict=function(){return o.default.fn.tab=de,ue._jQueryInterface};var he=o.default.fn.toast,fe={animation:"boolean",autohide:"boolean",delay:"number"},pe={animation:!0,autohide:!0,delay:500},me=function(){function e(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var t=e.prototype;return t.show=function(){var e=this,t=o.default.Event("show.bs.toast");if(o.default(this._element).trigger(t),!t.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var i=function(){e._element.classList.remove("showing"),e._element.classList.add("show"),o.default(e._element).trigger("shown.bs.toast"),e._config.autohide&&(e._timeout=setTimeout((function(){e.hide()}),e._config.delay))};if(this._element.classList.remove("hide"),d.reflow(this._element),this._element.classList.add("showing"),this._config.animation){var n=d.getTransitionDurationFromElement(this._element);o.default(this._element).one(d.TRANSITION_END,i).emulateTransitionEnd(n)}else i()}},t.hide=function(){if(this._element.classList.contains("show")){var e=o.default.Event("hide.bs.toast");o.default(this._element).trigger(e),e.isDefaultPrevented()||this._close()}},t.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),o.default(this._element).off("click.dismiss.bs.toast"),o.default.removeData(this._element,"bs.toast"),this._element=null,this._config=null},t._getConfig=function(e){return e=l({},pe,o.default(this._element).data(),"object"==typeof e&&e?e:{}),d.typeCheckConfig("toast",e,this.constructor.DefaultType),e},t._setListeners=function(){var e=this;o.default(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',(function(){return e.hide()}))},t._close=function(){var e=this,t=function(){e._element.classList.add("hide"),o.default(e._element).trigger("hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){var i=d.getTransitionDurationFromElement(this._element);o.default(this._element).one(d.TRANSITION_END,t).emulateTransitionEnd(i)}else t()},t._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},e._jQueryInterface=function(t){return this.each((function(){var i=o.default(this),n=i.data("bs.toast");if(n||(n=new e(this,"object"==typeof t&&t),i.data("bs.toast",n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t](this)}}))},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"DefaultType",get:function(){return fe}},{key:"Default",get:function(){return pe}}]),e}();o.default.fn.toast=me._jQueryInterface,o.default.fn.toast.Constructor=me,o.default.fn.toast.noConflict=function(){return o.default.fn.toast=he,me._jQueryInterface},e.Alert=f,e.Button=m,e.Carousel=E,e.Collapse=x,e.Dropdown=L,e.Modal=z,e.Popover=oe,e.Scrollspy=ce,e.Tab=ue,e.Toast=me,e.Tooltip=X,e.Util=d,Object.defineProperty(e,"__esModule",{value:!0})}(t,i(0),i(1))},function(e,t){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){var n,o;
/*!
 * Bootstrap-select v1.13.18 (https://developer.snapappointments.com/bootstrap-select)
 *
 * Copyright 2012-2020 SnapAppointments, LLC
 * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
 */void 0===this&&void 0!==window&&window,n=[i(0)],void 0===(o=function(e){return function(e){!function(e){"use strict";var t=["sanitize","whiteList","sanitizeFn"],i=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],n={"*":["class","dir","id","lang","role","tabindex","style",/^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:[]},o=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,s=/^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 r(t,n){var r=t.nodeName.toLowerCase();if(-1!==e.inArray(r,n))return-1===e.inArray(r,i)||Boolean(t.nodeValue.match(o)||t.nodeValue.match(s));for(var a=e(n).filter((function(e,t){return t instanceof RegExp})),l=0,c=a.length;l<c;l++)if(r.match(a[l]))return!0;return!1}function a(e,t,i){if(i&&"function"==typeof i)return i(e);for(var n=Object.keys(t),o=0,s=e.length;o<s;o++)for(var a=e[o].querySelectorAll("*"),l=0,c=a.length;l<c;l++){var d=a[l],u=d.nodeName.toLowerCase();if(-1!==n.indexOf(u))for(var h=[].slice.call(d.attributes),f=[].concat(t["*"]||[],t[u]||[]),p=0,m=h.length;p<m;p++){var g=h[p];r(g,f)||d.removeAttribute(g.nodeName)}else d.parentNode.removeChild(d)}}"classList"in document.createElement("_")||function(t){if("Element"in t){var i=t.Element.prototype,n=Object,o=function(){var t=e(this);return{add:function(e){return e=Array.prototype.slice.call(arguments).join(" "),t.addClass(e)},remove:function(e){return e=Array.prototype.slice.call(arguments).join(" "),t.removeClass(e)},toggle:function(e,i){return t.toggleClass(e,i)},contains:function(e){return t.hasClass(e)}}};if(n.defineProperty){var s={get:o,enumerable:!0,configurable:!0};try{n.defineProperty(i,"classList",s)}catch(e){void 0!==e.number&&-2146823252!==e.number||(s.enumerable=!1,n.defineProperty(i,"classList",s))}}else n.prototype.__defineGetter__&&i.__defineGetter__("classList",o)}}(window);var l,c,d,u=document.createElement("_");if(u.classList.add("c1","c2"),!u.classList.contains("c2")){var h=DOMTokenList.prototype.add,f=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){Array.prototype.forEach.call(arguments,h.bind(this))},DOMTokenList.prototype.remove=function(){Array.prototype.forEach.call(arguments,f.bind(this))}}if(u.classList.toggle("c3",!1),u.classList.contains("c3")){var p=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:p.call(this,e)}}function m(e,t){var i,n=e.selectedOptions,o=[];if(t){for(var s=0,r=n.length;s<r;s++)(i=n[s]).disabled||"OPTGROUP"===i.parentNode.tagName&&i.parentNode.disabled||o.push(i);return o}return n}function g(e,t){for(var i,n=[],o=t||e.selectedOptions,s=0,r=o.length;s<r;s++)(i=o[s]).disabled||"OPTGROUP"===i.parentNode.tagName&&i.parentNode.disabled||n.push(i.value);return e.multiple?n:n.length?n[0]:null}u=null,String.prototype.startsWith||(l=function(){try{var e={},t=Object.defineProperty,i=t(e,e,e)&&t}catch(e){}return i}(),c={}.toString,d=function(e){if(null==this)throw new TypeError;var t=String(this);if(e&&"[object RegExp]"==c.call(e))throw new TypeError;var i=t.length,n=String(e),o=n.length,s=arguments.length>1?arguments[1]:void 0,r=s?Number(s):0;r!=r&&(r=0);var a=Math.min(Math.max(r,0),i);if(o+a>i)return!1;for(var l=-1;++l<o;)if(t.charCodeAt(a+l)!=n.charCodeAt(l))return!1;return!0},l?l(String.prototype,"startsWith",{value:d,configurable:!0,writable:!0}):String.prototype.startsWith=d),Object.keys||(Object.keys=function(e,t,i){for(t in i=[],e)i.hasOwnProperty.call(e,t)&&i.push(t);return i}),HTMLSelectElement&&!HTMLSelectElement.prototype.hasOwnProperty("selectedOptions")&&Object.defineProperty(HTMLSelectElement.prototype,"selectedOptions",{get:function(){return this.querySelectorAll(":checked")}});var v={useDefault:!1,_set:e.valHooks.select.set};e.valHooks.select.set=function(t,i){return i&&!v.useDefault&&e(t).data("selected",!0),v._set.apply(this,arguments)};var b=null,_=function(){try{return new Event("change"),!0}catch(e){return!1}}();function w(e,t,i,n){for(var o=["display","subtext","tokens"],s=!1,r=0;r<o.length;r++){var a=o[r],l=e[a];if(l&&(l=l.toString(),"display"===a&&(l=l.replace(/<[^>]+>/g,"")),n&&(l=T(l)),l=l.toUpperCase(),s="contains"===i?l.indexOf(t)>=0:l.startsWith(t)))break}return s}function y(e){return parseInt(e,10)||0}e.fn.triggerNative=function(e){var t,i=this[0];i.dispatchEvent?(_?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event")).initEvent(e,!0,!1),i.dispatchEvent(t)):i.fireEvent?((t=document.createEventObject()).eventType=e,i.fireEvent("on"+e,t)):this.trigger(e)};var E={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"},C=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,I=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");function k(e){return E[e]}function T(e){return(e=e.toString())&&e.replace(C,k).replace(I,"")}var x,S,N,O,A,D=(x={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},S=function(e){return x[e]},N="(?:"+Object.keys(x).join("|")+")",O=RegExp(N),A=RegExp(N,"g"),function(e){return e=null==e?"":""+e,O.test(e)?e.replace(A,S):e}),L={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},$=27,H=13,P=32,z=9,j=38,R=40,M={success:!1,major:"3"};try{M.full=(e.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split("."),M.major=M.full[0],M.success=!0}catch(e){}var B=0,W=".bs.select",F={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title",ICONBASE:"glyphicon",TICKICON:"glyphicon-ok"},U={MENU:"."+F.MENU},q={div:document.createElement("div"),span:document.createElement("span"),i:document.createElement("i"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode(" "),fragment:document.createDocumentFragment()};q.noResults=q.li.cloneNode(!1),q.noResults.className="no-results",q.a.setAttribute("role","option"),q.a.className="dropdown-item",q.subtext.className="text-muted",q.text=q.span.cloneNode(!1),q.text.className="text",q.checkMark=q.span.cloneNode(!1);var V=new RegExp(j+"|"+R),Q=new RegExp("^"+z+"$|"+$),K={li:function(e,t,i){var n=q.li.cloneNode(!1);return e&&(1===e.nodeType||11===e.nodeType?n.appendChild(e):n.innerHTML=e),void 0!==t&&""!==t&&(n.className=t),null!=i&&n.classList.add("optgroup-"+i),n},a:function(e,t,i){var n=q.a.cloneNode(!0);return e&&(11===e.nodeType?n.appendChild(e):n.insertAdjacentHTML("beforeend",e)),void 0!==t&&""!==t&&n.classList.add.apply(n.classList,t.split(/\s+/)),i&&n.setAttribute("style",i),n},text:function(e,t){var i,n,o=q.text.cloneNode(!1);if(e.content)o.innerHTML=e.content;else{if(o.textContent=e.text,e.icon){var s=q.whitespace.cloneNode(!1);(n=(!0===t?q.i:q.span).cloneNode(!1)).className=this.options.iconBase+" "+e.icon,q.fragment.appendChild(n),q.fragment.appendChild(s)}e.subtext&&((i=q.subtext.cloneNode(!1)).textContent=e.subtext,o.appendChild(i))}if(!0===t)for(;o.childNodes.length>0;)q.fragment.appendChild(o.childNodes[0]);else q.fragment.appendChild(o);return q.fragment},label:function(e){var t,i,n=q.text.cloneNode(!1);if(n.innerHTML=e.display,e.icon){var o=q.whitespace.cloneNode(!1);(i=q.span.cloneNode(!1)).className=this.options.iconBase+" "+e.icon,q.fragment.appendChild(i),q.fragment.appendChild(o)}return e.subtext&&((t=q.subtext.cloneNode(!1)).textContent=e.subtext,n.appendChild(t)),q.fragment.appendChild(n),q.fragment}};function Y(e,t){e.length||(q.noResults.innerHTML=this.options.noneResultsText.replace("{0}",'"'+D(t)+'"'),this.$menuInner[0].firstChild.appendChild(q.noResults))}var G=function(t,i){var n=this;v.useDefault||(e.valHooks.select.set=v._set,v.useDefault=!0),this.$element=e(t),this.$newElement=null,this.$button=null,this.$menu=null,this.options=i,this.selectpicker={main:{},search:{},current:{},view:{},isSearching:!1,keydown:{keyHistory:"",resetKeyHistory:{start:function(){return setTimeout((function(){n.selectpicker.keydown.keyHistory=""}),800)}}}},this.sizeInfo={},null===this.options.title&&(this.options.title=this.$element.attr("title"));var o=this.options.windowPadding;"number"==typeof o&&(this.options.windowPadding=[o,o,o,o]),this.val=G.prototype.val,this.render=G.prototype.render,this.refresh=G.prototype.refresh,this.setStyle=G.prototype.setStyle,this.selectAll=G.prototype.selectAll,this.deselectAll=G.prototype.deselectAll,this.destroy=G.prototype.destroy,this.remove=G.prototype.remove,this.show=G.prototype.show,this.hide=G.prototype.hide,this.init()};function X(i){var n,o=arguments,s=i;if([].shift.apply(o),!M.success){try{M.full=(e.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split(".")}catch(e){G.BootstrapVersion?M.full=G.BootstrapVersion.split(" ")[0].split("."):(M.full=[M.major,"0","0"],console.warn("There was an issue retrieving Bootstrap's version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.",e))}M.major=M.full[0],M.success=!0}if("4"===M.major){var r=[];G.DEFAULTS.style===F.BUTTONCLASS&&r.push({name:"style",className:"BUTTONCLASS"}),G.DEFAULTS.iconBase===F.ICONBASE&&r.push({name:"iconBase",className:"ICONBASE"}),G.DEFAULTS.tickIcon===F.TICKICON&&r.push({name:"tickIcon",className:"TICKICON"}),F.DIVIDER="dropdown-divider",F.SHOW="show",F.BUTTONCLASS="btn-light",F.POPOVERHEADER="popover-header",F.ICONBASE="",F.TICKICON="bs-ok-default";for(var a=0;a<r.length;a++)i=r[a],G.DEFAULTS[i.name]=F[i.className]}var l=this.each((function(){var i=e(this);if(i.is("select")){var r=i.data("selectpicker"),a="object"==typeof s&&s;if(r){if(a)for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(r.options[l]=a[l])}else{var c=i.data();for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&-1!==e.inArray(d,t)&&delete c[d];var u=e.extend({},G.DEFAULTS,e.fn.selectpicker.defaults||{},c,a);u.template=e.extend({},G.DEFAULTS.template,e.fn.selectpicker.defaults?e.fn.selectpicker.defaults.template:{},c.template,a.template),i.data("selectpicker",r=new G(this,u))}"string"==typeof s&&(n=r[s]instanceof Function?r[s].apply(r,o):r.options[s])}}));return void 0!==n?n:l}G.VERSION="1.13.18",G.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(e,t){return 1==e?"{0} item selected":"{0} items selected"},maxOptionsText:function(e,t){return[1==e?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==t?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:F.BUTTONCLASS,size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:F.ICONBASE,tickIcon:F.TICKICON,showTick:!1,template:{caret:'<span class="caret"></span>'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1,sanitize:!0,sanitizeFn:null,whiteList:n},G.prototype={constructor:G,init:function(){var e=this,t=this.$element.attr("id"),i=this.$element[0],n=i.form;B++,this.selectId="bs-select-"+B,i.classList.add("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),i.classList.contains("show-tick")&&(this.options.showTick=!0),this.$newElement=this.createDropdown(),this.buildData(),this.$element.after(this.$newElement).prependTo(this.$newElement),n&&null===i.form&&(n.id||(n.id="form-"+this.selectId),i.setAttribute("form",n.id)),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(U.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),i.classList.remove("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu[0].classList.add(F.MENURIGHT),void 0!==t&&this.$button.attr("data-id",t),this.checkDisabled(),this.clickListener(),this.options.liveSearch?(this.liveSearchListener(),this.focusedParent=this.$searchbox[0]):this.focusedParent=this.$menuInner[0],this.setStyle(),this.render(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide"+W,(function(){if(e.isVirtual()){var t=e.$menuInner[0],i=t.firstChild.cloneNode(!1);t.replaceChild(i,t.firstChild),t.scrollTop=0}})),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(t){e.$element.trigger("hide"+W,t)},"hidden.bs.dropdown":function(t){e.$element.trigger("hidden"+W,t)},"show.bs.dropdown":function(t){e.$element.trigger("show"+W,t)},"shown.bs.dropdown":function(t){e.$element.trigger("shown"+W,t)}}),i.hasAttribute("required")&&this.$element.on("invalid"+W,(function(){e.$button[0].classList.add("bs-invalid"),e.$element.on("shown"+W+".invalid",(function(){e.$element.val(e.$element.val()).off("shown"+W+".invalid")})).on("rendered"+W,(function(){this.validity.valid&&e.$button[0].classList.remove("bs-invalid"),e.$element.off("rendered"+W)})),e.$button.on("blur"+W,(function(){e.$element.trigger("focus").trigger("blur"),e.$button.off("blur"+W)}))})),setTimeout((function(){e.buildList(),e.$element.trigger("loaded"+W)}))},createDropdown:function(){var t=this.multiple||this.options.showTick?" show-tick":"",i=this.multiple?' aria-multiselectable="true"':"",n="",o=this.autofocus?" autofocus":"";M.major<4&&this.$element.parent().hasClass("input-group")&&(n=" input-group-btn");var s,r="",a="",l="",c="";return this.options.header&&(r='<div class="'+F.POPOVERHEADER+'"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>"),this.options.liveSearch&&(a='<div class="bs-searchbox"><input type="search" class="form-control" autocomplete="off"'+(null===this.options.liveSearchPlaceholder?"":' placeholder="'+D(this.options.liveSearchPlaceholder)+'"')+' role="combobox" aria-label="Search" aria-controls="'+this.selectId+'" aria-autocomplete="list"></div>'),this.multiple&&this.options.actionsBox&&(l='<div class="bs-actionsbox"><div class="btn-group btn-group-sm btn-block"><button type="button" class="actions-btn bs-select-all btn '+F.BUTTONCLASS+'">'+this.options.selectAllText+'</button><button type="button" class="actions-btn bs-deselect-all btn '+F.BUTTONCLASS+'">'+this.options.deselectAllText+"</button></div></div>"),this.multiple&&this.options.doneButton&&(c='<div class="bs-donebutton"><div class="btn-group btn-block"><button type="button" class="btn btn-sm '+F.BUTTONCLASS+'">'+this.options.doneButtonText+"</button></div></div>"),s='<div class="dropdown bootstrap-select'+t+n+'"><button type="button" tabindex="-1" class="'+this.options.styleBase+' dropdown-toggle" '+("static"===this.options.display?'data-display="static"':"")+'data-toggle="dropdown"'+o+' role="combobox" aria-owns="'+this.selectId+'" aria-haspopup="listbox" aria-expanded="false"><div class="filter-option"><div class="filter-option-inner"><div class="filter-option-inner-inner"></div></div> </div>'+("4"===M.major?"":'<span class="bs-caret">'+this.options.template.caret+"</span>")+'</button><div class="'+F.MENU+" "+("4"===M.major?"":F.SHOW)+'">'+r+a+l+'<div class="inner '+F.SHOW+'" role="listbox" id="'+this.selectId+'" tabindex="-1" '+i+'><ul class="'+F.MENU+" inner "+("4"===M.major?F.SHOW:"")+'" role="presentation"></ul></div>'+c+"</div></div>",e(s)},setPositionData:function(){this.selectpicker.view.canHighlight=[],this.selectpicker.view.size=0,this.selectpicker.view.firstHighlightIndex=!1;for(var e=0;e<this.selectpicker.current.data.length;e++){var t=this.selectpicker.current.data[e],i=!0;"divider"===t.type?(i=!1,t.height=this.sizeInfo.dividerHeight):"optgroup-label"===t.type?(i=!1,t.height=this.sizeInfo.dropdownHeaderHeight):t.height=this.sizeInfo.liHeight,t.disabled&&(i=!1),this.selectpicker.view.canHighlight.push(i),i&&(this.selectpicker.view.size++,t.posinset=this.selectpicker.view.size,!1===this.selectpicker.view.firstHighlightIndex&&(this.selectpicker.view.firstHighlightIndex=e)),t.position=(0===e?0:this.selectpicker.current.data[e-1].position)+t.height}},isVirtual:function(){return!1!==this.options.virtualScroll&&this.selectpicker.main.elements.length>=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(t,i,n){var o,s,r=this,l=0,c=[];if(this.selectpicker.isSearching=t,this.selectpicker.current=t?this.selectpicker.search:this.selectpicker.main,this.setPositionData(),i)if(n)l=this.$menuInner[0].scrollTop;else if(!r.multiple){var d=r.$element[0],u=(d.options[d.selectedIndex]||{}).liIndex;if("number"==typeof u&&!1!==r.options.size){var h=r.selectpicker.main.data[u],f=h&&h.position;f&&(l=f-(r.sizeInfo.menuInnerHeight+r.sizeInfo.liHeight)/2)}}function p(e,i){var n,l,d,u,h,f,p,m,g,v,b=r.selectpicker.current.elements.length,_=[],w=!0,y=r.isVirtual();r.selectpicker.view.scrollTop=e,n=Math.ceil(r.sizeInfo.menuInnerHeight/r.sizeInfo.liHeight*1.5),l=Math.round(b/n)||1;for(var E=0;E<l;E++){var C=(E+1)*n;if(E===l-1&&(C=b),_[E]=[E*n+(E?1:0),C],!b)break;void 0===h&&e-1<=r.selectpicker.current.data[C-1].position-r.sizeInfo.menuInnerHeight&&(h=E)}if(void 0===h&&(h=0),f=[r.selectpicker.view.position0,r.selectpicker.view.position1],d=Math.max(0,h-1),u=Math.min(l-1,h+1),r.selectpicker.view.position0=!1===y?0:Math.max(0,_[d][0])||0,r.selectpicker.view.position1=!1===y?b:Math.min(b,_[u][1])||0,p=f[0]!==r.selectpicker.view.position0||f[1]!==r.selectpicker.view.position1,void 0!==r.activeIndex&&(s=r.selectpicker.main.elements[r.prevActiveIndex],c=r.selectpicker.main.elements[r.activeIndex],o=r.selectpicker.main.elements[r.selectedIndex],i&&(r.activeIndex!==r.selectedIndex&&r.defocusItem(c),r.activeIndex=void 0),r.activeIndex&&r.activeIndex!==r.selectedIndex&&r.defocusItem(o)),void 0!==r.prevActiveIndex&&r.prevActiveIndex!==r.activeIndex&&r.prevActiveIndex!==r.selectedIndex&&r.defocusItem(s),(i||p)&&(m=r.selectpicker.view.visibleElements?r.selectpicker.view.visibleElements.slice():[],r.selectpicker.view.visibleElements=!1===y?r.selectpicker.current.elements:r.selectpicker.current.elements.slice(r.selectpicker.view.position0,r.selectpicker.view.position1),r.setOptionStatus(),(t||!1===y&&i)&&(g=m,v=r.selectpicker.view.visibleElements,w=!(g.length===v.length&&g.every((function(e,t){return e===v[t]})))),(i||!0===y)&&w)){var I,k,T=r.$menuInner[0],x=document.createDocumentFragment(),S=T.firstChild.cloneNode(!1),N=r.selectpicker.view.visibleElements,O=[];T.replaceChild(S,T.firstChild),E=0;for(var A=N.length;E<A;E++){var D,L,$=N[E];r.options.sanitize&&(D=$.lastChild)&&(L=r.selectpicker.current.data[E+r.selectpicker.view.position0])&&L.content&&!L.sanitized&&(O.push(D),L.sanitized=!0),x.appendChild($)}if(r.options.sanitize&&O.length&&a(O,r.options.whiteList,r.options.sanitizeFn),!0===y?(I=0===r.selectpicker.view.position0?0:r.selectpicker.current.data[r.selectpicker.view.position0-1].position,k=r.selectpicker.view.position1>b-1?0:r.selectpicker.current.data[b-1].position-r.selectpicker.current.data[r.selectpicker.view.position1-1].position,T.firstChild.style.marginTop=I+"px",T.firstChild.style.marginBottom=k+"px"):(T.firstChild.style.marginTop=0,T.firstChild.style.marginBottom=0),T.firstChild.appendChild(x),!0===y&&r.sizeInfo.hasScrollBar){var H=T.firstChild.offsetWidth;if(i&&H<r.sizeInfo.menuInnerInnerWidth&&r.sizeInfo.totalMenuWidth>r.sizeInfo.selectWidth)T.firstChild.style.minWidth=r.sizeInfo.menuInnerInnerWidth+"px";else if(H>r.sizeInfo.menuInnerInnerWidth){r.$menu[0].style.minWidth=0;var P=T.firstChild.offsetWidth;P>r.sizeInfo.menuInnerInnerWidth&&(r.sizeInfo.menuInnerInnerWidth=P,T.firstChild.style.minWidth=r.sizeInfo.menuInnerInnerWidth+"px"),r.$menu[0].style.minWidth=""}}}if(r.prevActiveIndex=r.activeIndex,r.options.liveSearch){if(t&&i){var z,j=0;r.selectpicker.view.canHighlight[j]||(j=1+r.selectpicker.view.canHighlight.slice(1).indexOf(!0)),z=r.selectpicker.view.visibleElements[j],r.defocusItem(r.selectpicker.view.currentActive),r.activeIndex=(r.selectpicker.current.data[j]||{}).index,r.focusItem(z)}}else r.$menuInner.trigger("focus")}p(l,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",(function(e,t){r.noScroll||p(this.scrollTop,t),r.noScroll=!1})),e(window).off("resize"+W+"."+this.selectId+".createView").on("resize"+W+"."+this.selectId+".createView",(function(){r.$newElement.hasClass(F.SHOW)&&p(r.$menuInner[0].scrollTop)}))},focusItem:function(e,t,i){if(e){t=t||this.selectpicker.main.data[this.activeIndex];var n=e.firstChild;n&&(n.setAttribute("aria-setsize",this.selectpicker.view.size),n.setAttribute("aria-posinset",t.posinset),!0!==i&&(this.focusedParent.setAttribute("aria-activedescendant",n.id),e.classList.add("active"),n.classList.add("active")))}},defocusItem:function(e){e&&(e.classList.remove("active"),e.firstChild&&e.firstChild.classList.remove("active"))},setPlaceholder:function(){var e=this,t=!1;if(this.options.title&&!this.multiple){this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option")),t=!0;var i=this.$element[0],n=!1,o=!this.selectpicker.view.titleOption.parentNode,s=i.selectedIndex,r=i.options[s],a=window.performance&&window.performance.getEntriesByType("navigation"),l=a&&a.length?"back_forward"!==a[0].type:2!==window.performance.navigation.type;o&&(this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",n=!r||0===s&&!1===r.defaultSelected&&void 0===this.$element.data("selected")),(o||0!==this.selectpicker.view.titleOption.index)&&i.insertBefore(this.selectpicker.view.titleOption,i.firstChild),n&&l?i.selectedIndex=0:"complete"!==document.readyState&&window.addEventListener("pageshow",(function(){e.selectpicker.view.displayedValue!==i.value&&e.render()}))}return t},buildData:function(){var e=':not([hidden]):not([data-hidden="true"])',t=[],i=0,n=this.setPlaceholder()?1:0;this.options.hideDisabled&&(e+=":not(:disabled)");var o=this.$element[0].querySelectorAll("select > *"+e);function s(e){var i=t[t.length-1];i&&"divider"===i.type&&(i.optID||e.optID)||((e=e||{}).type="divider",t.push(e))}function r(e,i){if((i=i||{}).divider="true"===e.getAttribute("data-divider"),i.divider)s({optID:i.optID});else{var n=t.length,o=e.style.cssText,r=o?D(o):"",a=(e.className||"")+(i.optgroupClass||"");i.optID&&(a="opt "+a),i.optionClass=a.trim(),i.inlineStyle=r,i.text=e.textContent,i.content=e.getAttribute("data-content"),i.tokens=e.getAttribute("data-tokens"),i.subtext=e.getAttribute("data-subtext"),i.icon=e.getAttribute("data-icon"),e.liIndex=n,i.display=i.content||i.text,i.type="option",i.index=n,i.option=e,i.selected=!!e.selected,i.disabled=i.disabled||!!e.disabled,t.push(i)}}function a(o,a){var l=a[o],c=!(o-1<n)&&a[o-1],d=a[o+1],u=l.querySelectorAll("option"+e);if(u.length){var h,f,p={display:D(l.label),subtext:l.getAttribute("data-subtext"),icon:l.getAttribute("data-icon"),type:"optgroup-label",optgroupClass:" "+(l.className||"")};i++,c&&s({optID:i}),p.optID=i,t.push(p);for(var m=0,g=u.length;m<g;m++){var v=u[m];0===m&&(f=(h=t.length-1)+g),r(v,{headerIndex:h,lastIndex:f,optID:p.optID,optgroupClass:p.optgroupClass,disabled:l.disabled})}d&&s({optID:i})}}for(var l=o.length,c=n;c<l;c++){var d=o[c];"OPTGROUP"!==d.tagName?r(d,{}):a(c,o)}this.selectpicker.main.data=this.selectpicker.current.data=t},buildList:function(){var e=this,t=this.selectpicker.main.data,i=[],n=0;function o(t){var o,s=0;switch(t.type){case"divider":o=K.li(!1,F.DIVIDER,t.optID?t.optID+"div":void 0);break;case"option":(o=K.li(K.a(K.text.call(e,t),t.optionClass,t.inlineStyle),"",t.optID)).firstChild&&(o.firstChild.id=e.selectId+"-"+t.index);break;case"optgroup-label":o=K.li(K.label.call(e,t),"dropdown-header"+t.optgroupClass,t.optID)}t.element=o,i.push(o),t.display&&(s+=t.display.length),t.subtext&&(s+=t.subtext.length),t.icon&&(s+=1),s>n&&(n=s,e.selectpicker.view.widestOption=i[i.length-1])}!e.options.showTick&&!e.multiple||q.checkMark.parentNode||(q.checkMark.className=this.options.iconBase+" "+e.options.tickIcon+" check-mark",q.a.appendChild(q.checkMark));for(var s=t.length,r=0;r<s;r++)o(t[r]);this.selectpicker.main.elements=this.selectpicker.current.elements=i},findLis:function(){return this.$menuInner.find(".inner > li")},render:function(){var e,t,i=this.$element[0],n=this.setPlaceholder()&&0===i.selectedIndex,o=m(i,this.options.hideDisabled),s=o.length,r=this.$button[0],l=r.querySelector(".filter-option-inner-inner"),c=document.createTextNode(this.options.multipleSeparator),d=q.fragment.cloneNode(!1),u=!1;if(r.classList.toggle("bs-placeholder",this.multiple?!s:!g(i,o)),this.multiple||1!==o.length||(this.selectpicker.view.displayedValue=g(i,o)),"static"===this.options.selectedTextFormat)d=K.text.call(this,{text:this.options.title},!0);else if((e=this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")&&s>1)&&(e=(t=this.options.selectedTextFormat.split(">")).length>1&&s>t[1]||1===t.length&&s>=2),!1===e){if(!n){for(var h=0;h<s&&h<50;h++){var f=o[h],p=this.selectpicker.main.data[f.liIndex],v={};this.multiple&&h>0&&d.appendChild(c.cloneNode(!1)),f.title?v.text=f.title:p&&(p.content&&this.options.showContent?(v.content=p.content.toString(),u=!0):(this.options.showIcon&&(v.icon=p.icon),this.options.showSubtext&&!this.multiple&&p.subtext&&(v.subtext=" "+p.subtext),v.text=f.textContent.trim())),d.appendChild(K.text.call(this,v,!0))}s>49&&d.appendChild(document.createTextNode("..."))}}else{var b=':not([hidden]):not([data-hidden="true"]):not([data-divider="true"])';this.options.hideDisabled&&(b+=":not(:disabled)");var _=this.$element[0].querySelectorAll("select > option"+b+", optgroup"+b+" option"+b).length,w="function"==typeof this.options.countSelectedText?this.options.countSelectedText(s,_):this.options.countSelectedText;d=K.text.call(this,{text:w.replace("{0}",s.toString()).replace("{1}",_.toString())},!0)}if(null==this.options.title&&(this.options.title=this.$element.attr("title")),d.childNodes.length||(d=K.text.call(this,{text:void 0!==this.options.title?this.options.title:this.options.noneSelectedText},!0)),r.title=d.textContent.replace(/<[^>]*>?/g,"").trim(),this.options.sanitize&&u&&a([d],this.options.whiteList,this.options.sanitizeFn),l.innerHTML="",l.appendChild(d),M.major<4&&this.$newElement[0].classList.contains("bs3-has-addon")){var y=r.querySelector(".filter-expand"),E=l.cloneNode(!0);E.className="filter-expand",y?r.replaceChild(E,y):r.appendChild(E)}this.$element.trigger("rendered"+W)},setStyle:function(e,t){var i,n=this.$button[0],o=this.$newElement[0],s=this.options.style.trim();this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,"")),M.major<4&&(o.classList.add("bs3"),o.parentNode.classList&&o.parentNode.classList.contains("input-group")&&(o.previousElementSibling||o.nextElementSibling)&&(o.previousElementSibling||o.nextElementSibling).classList.contains("input-group-addon")&&o.classList.add("bs3-has-addon")),i=e?e.trim():s,"add"==t?i&&n.classList.add.apply(n.classList,i.split(" ")):"remove"==t?i&&n.classList.remove.apply(n.classList,i.split(" ")):(s&&n.classList.remove.apply(n.classList,s.split(" ")),i&&n.classList.add.apply(n.classList,i.split(" ")))},liHeight:function(t){if(t||!1!==this.options.size&&!Object.keys(this.sizeInfo).length){var i,n=q.div.cloneNode(!1),o=q.div.cloneNode(!1),s=q.div.cloneNode(!1),r=document.createElement("ul"),a=q.li.cloneNode(!1),l=q.li.cloneNode(!1),c=q.a.cloneNode(!1),d=q.span.cloneNode(!1),u=this.options.header&&this.$menu.find("."+F.POPOVERHEADER).length>0?this.$menu.find("."+F.POPOVERHEADER)[0].cloneNode(!0):null,h=this.options.liveSearch?q.div.cloneNode(!1):null,f=this.options.actionsBox&&this.multiple&&this.$menu.find(".bs-actionsbox").length>0?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,p=this.options.doneButton&&this.multiple&&this.$menu.find(".bs-donebutton").length>0?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null,m=this.$element.find("option")[0];if(this.sizeInfo.selectWidth=this.$newElement[0].offsetWidth,d.className="text",c.className="dropdown-item "+(m?m.className:""),n.className=this.$menu[0].parentNode.className+" "+F.SHOW,n.style.width=0,"auto"===this.options.width&&(o.style.minWidth=0),o.className=F.MENU+" "+F.SHOW,s.className="inner "+F.SHOW,r.className=F.MENU+" inner "+("4"===M.major?F.SHOW:""),a.className=F.DIVIDER,l.className="dropdown-header",d.appendChild(document.createTextNode("​")),this.selectpicker.current.data.length)for(var g=0;g<this.selectpicker.current.data.length;g++){var v=this.selectpicker.current.data[g];if("option"===v.type){i=v.element;break}}else i=q.li.cloneNode(!1),c.appendChild(d),i.appendChild(c);if(l.appendChild(d.cloneNode(!0)),this.selectpicker.view.widestOption&&r.appendChild(this.selectpicker.view.widestOption.cloneNode(!0)),r.appendChild(i),r.appendChild(a),r.appendChild(l),u&&o.appendChild(u),h){var b=document.createElement("input");h.className="bs-searchbox",b.className="form-control",h.appendChild(b),o.appendChild(h)}f&&o.appendChild(f),s.appendChild(r),o.appendChild(s),p&&o.appendChild(p),n.appendChild(o),document.body.appendChild(n);var _,w=i.offsetHeight,E=l?l.offsetHeight:0,C=u?u.offsetHeight:0,I=h?h.offsetHeight:0,k=f?f.offsetHeight:0,T=p?p.offsetHeight:0,x=e(a).outerHeight(!0),S=!!window.getComputedStyle&&window.getComputedStyle(o),N=o.offsetWidth,O=S?null:e(o),A={vert:y(S?S.paddingTop:O.css("paddingTop"))+y(S?S.paddingBottom:O.css("paddingBottom"))+y(S?S.borderTopWidth:O.css("borderTopWidth"))+y(S?S.borderBottomWidth:O.css("borderBottomWidth")),horiz:y(S?S.paddingLeft:O.css("paddingLeft"))+y(S?S.paddingRight:O.css("paddingRight"))+y(S?S.borderLeftWidth:O.css("borderLeftWidth"))+y(S?S.borderRightWidth:O.css("borderRightWidth"))},D={vert:A.vert+y(S?S.marginTop:O.css("marginTop"))+y(S?S.marginBottom:O.css("marginBottom"))+2,horiz:A.horiz+y(S?S.marginLeft:O.css("marginLeft"))+y(S?S.marginRight:O.css("marginRight"))+2};s.style.overflowY="scroll",_=o.offsetWidth-N,document.body.removeChild(n),this.sizeInfo.liHeight=w,this.sizeInfo.dropdownHeaderHeight=E,this.sizeInfo.headerHeight=C,this.sizeInfo.searchHeight=I,this.sizeInfo.actionsHeight=k,this.sizeInfo.doneButtonHeight=T,this.sizeInfo.dividerHeight=x,this.sizeInfo.menuPadding=A,this.sizeInfo.menuExtras=D,this.sizeInfo.menuWidth=N,this.sizeInfo.menuInnerInnerWidth=N-A.horiz,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth,this.sizeInfo.scrollBarWidth=_,this.sizeInfo.selectHeight=this.$newElement[0].offsetHeight,this.setPositionData()}},getSelectPosition:function(){var t,i=e(window),n=this.$newElement.offset(),o=e(this.options.container);this.options.container&&o.length&&!o.is("body")?((t=o.offset()).top+=parseInt(o.css("borderTopWidth")),t.left+=parseInt(o.css("borderLeftWidth"))):t={top:0,left:0};var s=this.options.windowPadding;this.sizeInfo.selectOffsetTop=n.top-t.top-i.scrollTop(),this.sizeInfo.selectOffsetBot=i.height()-this.sizeInfo.selectOffsetTop-this.sizeInfo.selectHeight-t.top-s[2],this.sizeInfo.selectOffsetLeft=n.left-t.left-i.scrollLeft(),this.sizeInfo.selectOffsetRight=i.width()-this.sizeInfo.selectOffsetLeft-this.sizeInfo.selectWidth-t.left-s[1],this.sizeInfo.selectOffsetTop-=s[0],this.sizeInfo.selectOffsetLeft-=s[3]},setMenuSize:function(e){this.getSelectPosition();var t,i,n,o,s,r,a,l,c=this.sizeInfo.selectWidth,d=this.sizeInfo.liHeight,u=this.sizeInfo.headerHeight,h=this.sizeInfo.searchHeight,f=this.sizeInfo.actionsHeight,p=this.sizeInfo.doneButtonHeight,m=this.sizeInfo.dividerHeight,g=this.sizeInfo.menuPadding,v=0;if(this.options.dropupAuto&&(a=d*this.selectpicker.current.elements.length+g.vert,l=this.sizeInfo.selectOffsetTop-this.sizeInfo.selectOffsetBot>this.sizeInfo.menuExtras.vert&&a+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot,!0===this.selectpicker.isSearching&&(l=this.selectpicker.dropup),this.$newElement.toggleClass(F.DROPUP,l),this.selectpicker.dropup=l),"auto"===this.options.size)o=this.selectpicker.current.elements.length>3?3*this.sizeInfo.liHeight+this.sizeInfo.menuExtras.vert-2:0,i=this.sizeInfo.selectOffsetBot-this.sizeInfo.menuExtras.vert,n=o+u+h+f+p,r=Math.max(o-g.vert,0),this.$newElement.hasClass(F.DROPUP)&&(i=this.sizeInfo.selectOffsetTop-this.sizeInfo.menuExtras.vert),s=i,t=i-u-h-f-p-g.vert;else if(this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size){for(var b=0;b<this.options.size;b++)"divider"===this.selectpicker.current.data[b].type&&v++;t=(i=d*this.options.size+v*m+g.vert)-g.vert,s=i+u+h+f+p,n=r=""}this.$menu.css({"max-height":s+"px",overflow:"hidden","min-height":n+"px"}),this.$menuInner.css({"max-height":t+"px","overflow-y":"auto","min-height":r+"px"}),this.sizeInfo.menuInnerHeight=Math.max(t,1),this.selectpicker.current.data.length&&this.selectpicker.current.data[this.selectpicker.current.data.length-1].position>this.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth),"auto"===this.options.dropdownAlignRight&&this.$menu.toggleClass(F.MENURIGHT,this.sizeInfo.selectOffsetLeft>this.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRight<this.sizeInfo.totalMenuWidth-c),this.dropdown&&this.dropdown._popper&&this.dropdown._popper.update()},setSize:function(t){if(this.liHeight(t),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size){var i=this,n=e(window);this.setMenuSize(),this.options.liveSearch&&this.$searchbox.off("input.setMenuSize propertychange.setMenuSize").on("input.setMenuSize propertychange.setMenuSize",(function(){return i.setMenuSize()})),"auto"===this.options.size?n.off("resize"+W+"."+this.selectId+".setMenuSize scroll"+W+"."+this.selectId+".setMenuSize").on("resize"+W+"."+this.selectId+".setMenuSize scroll"+W+"."+this.selectId+".setMenuSize",(function(){return i.setMenuSize()})):this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size&&n.off("resize"+W+"."+this.selectId+".setMenuSize scroll"+W+"."+this.selectId+".setMenuSize")}this.createView(!1,!0,t)},setWidth:function(){var e=this;"auto"===this.options.width?requestAnimationFrame((function(){e.$menu.css("min-width","0"),e.$element.on("loaded"+W,(function(){e.liHeight(),e.setMenuSize();var t=e.$newElement.clone().appendTo("body"),i=t.css("width","auto").children("button").outerWidth();t.remove(),e.sizeInfo.selectWidth=Math.max(e.sizeInfo.totalMenuWidth,i),e.$newElement.css("width",e.sizeInfo.selectWidth+"px")}))})):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement[0].classList.remove("fit-width")},selectPosition:function(){this.$bsContainer=e('<div class="bs-container" />');var t,i,n,o=this,s=e(this.options.container),r=function(r){var a={},l=o.options.display||!!e.fn.dropdown.Constructor.Default&&e.fn.dropdown.Constructor.Default.display;o.$bsContainer.addClass(r.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(F.DROPUP,r.hasClass(F.DROPUP)),t=r.offset(),s.is("body")?i={top:0,left:0}:((i=s.offset()).top+=parseInt(s.css("borderTopWidth"))-s.scrollTop(),i.left+=parseInt(s.css("borderLeftWidth"))-s.scrollLeft()),n=r.hasClass(F.DROPUP)?0:r[0].offsetHeight,(M.major<4||"static"===l)&&(a.top=t.top-i.top+n,a.left=t.left-i.left),a.width=r[0].offsetWidth,o.$bsContainer.css(a)};this.$button.on("click.bs.dropdown.data-api",(function(){o.isDisabled()||(r(o.$newElement),o.$bsContainer.appendTo(o.options.container).toggleClass(F.SHOW,!o.$button.hasClass(F.SHOW)).append(o.$menu))})),e(window).off("resize"+W+"."+this.selectId+" scroll"+W+"."+this.selectId).on("resize"+W+"."+this.selectId+" scroll"+W+"."+this.selectId,(function(){o.$newElement.hasClass(F.SHOW)&&r(o.$newElement)})),this.$element.on("hide"+W,(function(){o.$menu.data("height",o.$menu.height()),o.$bsContainer.detach()}))},setOptionStatus:function(e){if(this.noScroll=!1,this.selectpicker.view.visibleElements&&this.selectpicker.view.visibleElements.length)for(var t=0;t<this.selectpicker.view.visibleElements.length;t++){var i=this.selectpicker.current.data[t+this.selectpicker.view.position0],n=i.option;n&&(!0!==e&&this.setDisabled(i.index,i.disabled),this.setSelected(i.index,n.selected))}},setSelected:function(e,t){var i,n,o=this.selectpicker.main.elements[e],s=this.selectpicker.main.data[e],r=void 0!==this.activeIndex,a=this.activeIndex===e||t&&!this.multiple&&!r;s.selected=t,n=o.firstChild,t&&(this.selectedIndex=e),o.classList.toggle("selected",t),a?(this.focusItem(o,s),this.selectpicker.view.currentActive=o,this.activeIndex=e):this.defocusItem(o),n&&(n.classList.toggle("selected",t),t?n.setAttribute("aria-selected",!0):this.multiple?n.setAttribute("aria-selected",!1):n.removeAttribute("aria-selected")),a||r||!t||void 0===this.prevActiveIndex||(i=this.selectpicker.main.elements[this.prevActiveIndex],this.defocusItem(i))},setDisabled:function(e,t){var i,n=this.selectpicker.main.elements[e];this.selectpicker.main.data[e].disabled=t,i=n.firstChild,n.classList.toggle(F.DISABLED,t),i&&("4"===M.major&&i.classList.toggle(F.DISABLED,t),t?(i.setAttribute("aria-disabled",t),i.setAttribute("tabindex",-1)):(i.removeAttribute("aria-disabled"),i.setAttribute("tabindex",0)))},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){this.isDisabled()?(this.$newElement[0].classList.add(F.DISABLED),this.$button.addClass(F.DISABLED).attr("aria-disabled",!0)):this.$button[0].classList.contains(F.DISABLED)&&(this.$newElement[0].classList.remove(F.DISABLED),this.$button.removeClass(F.DISABLED).attr("aria-disabled",!1))},clickListener:function(){var t=this,i=e(document);function n(){t.options.liveSearch?t.$searchbox.trigger("focus"):t.$menuInner.trigger("focus")}function o(){t.dropdown&&t.dropdown._popper&&t.dropdown._popper.state.isCreated?n():requestAnimationFrame(o)}i.data("spaceSelect",!1),this.$button.on("keyup",(function(e){/(32)/.test(e.keyCode.toString(10))&&i.data("spaceSelect")&&(e.preventDefault(),i.data("spaceSelect",!1))})),this.$newElement.on("show.bs.dropdown",(function(){M.major>3&&!t.dropdown&&(t.dropdown=t.$button.data("bs.dropdown"),t.dropdown._menu=t.$menu[0])})),this.$button.on("click.bs.dropdown.data-api",(function(){t.$newElement.hasClass(F.SHOW)||t.setSize()})),this.$element.on("shown"+W,(function(){t.$menuInner[0].scrollTop!==t.selectpicker.view.scrollTop&&(t.$menuInner[0].scrollTop=t.selectpicker.view.scrollTop),M.major>3?requestAnimationFrame(o):n()})),this.$menuInner.on("mouseenter","li a",(function(e){var i=this.parentElement,n=t.isVirtual()?t.selectpicker.view.position0:0,o=Array.prototype.indexOf.call(i.parentElement.children,i),s=t.selectpicker.current.data[o+n];t.focusItem(i,s,!0)})),this.$menuInner.on("click","li a",(function(i,n){var o=e(this),s=t.$element[0],r=t.isVirtual()?t.selectpicker.view.position0:0,a=t.selectpicker.current.data[o.parent().index()+r],l=a.index,c=g(s),d=s.selectedIndex,u=s.options[d],h=!0;if(t.multiple&&1!==t.options.maxOptions&&i.stopPropagation(),i.preventDefault(),!t.isDisabled()&&!o.parent().hasClass(F.DISABLED)){var f=a.option,p=e(f),v=f.selected,_=p.parent("optgroup"),w=_.find("option"),y=t.options.maxOptions,E=_.data("maxOptions")||!1;if(l===t.activeIndex&&(n=!0),n||(t.prevActiveIndex=t.activeIndex,t.activeIndex=void 0),t.multiple){if(f.selected=!v,t.setSelected(l,!v),t.focusedParent.focus(),!1!==y||!1!==E){var C=y<m(s).length,I=E<_.find("option:selected").length;if(y&&C||E&&I)if(y&&1==y)s.selectedIndex=-1,f.selected=!0,t.setOptionStatus(!0);else if(E&&1==E){for(var k=0;k<w.length;k++){var T=w[k];T.selected=!1,t.setSelected(T.liIndex,!1)}f.selected=!0,t.setSelected(l,!0)}else{var x="string"==typeof t.options.maxOptionsText?[t.options.maxOptionsText,t.options.maxOptionsText]:t.options.maxOptionsText,S="function"==typeof x?x(y,E):x,N=S[0].replace("{n}",y),O=S[1].replace("{n}",E),A=e('<div class="notify"></div>');S[2]&&(N=N.replace("{var}",S[2][y>1?0:1]),O=O.replace("{var}",S[2][E>1?0:1])),f.selected=!1,t.$menu.append(A),y&&C&&(A.append(e("<div>"+N+"</div>")),h=!1,t.$element.trigger("maxReached"+W)),E&&I&&(A.append(e("<div>"+O+"</div>")),h=!1,t.$element.trigger("maxReachedGrp"+W)),setTimeout((function(){t.setSelected(l,!1)}),10),A[0].classList.add("fadeOut"),setTimeout((function(){A.remove()}),1050)}}}else u&&(u.selected=!1),f.selected=!0,t.setSelected(l,!0);!t.multiple||t.multiple&&1===t.options.maxOptions?t.$button.trigger("focus"):t.options.liveSearch&&t.$searchbox.trigger("focus"),h&&(t.multiple||d!==s.selectedIndex)&&(b=[f.index,p.prop("selected"),c],t.$element.triggerNative("change"))}})),this.$menu.on("click","li."+F.DISABLED+" a, ."+F.POPOVERHEADER+", ."+F.POPOVERHEADER+" :not(.close)",(function(i){i.currentTarget==this&&(i.preventDefault(),i.stopPropagation(),t.options.liveSearch&&!e(i.target).hasClass("close")?t.$searchbox.trigger("focus"):t.$button.trigger("focus"))})),this.$menuInner.on("click",".divider, .dropdown-header",(function(e){e.preventDefault(),e.stopPropagation(),t.options.liveSearch?t.$searchbox.trigger("focus"):t.$button.trigger("focus")})),this.$menu.on("click","."+F.POPOVERHEADER+" .close",(function(){t.$button.trigger("click")})),this.$searchbox.on("click",(function(e){e.stopPropagation()})),this.$menu.on("click",".actions-btn",(function(i){t.options.liveSearch?t.$searchbox.trigger("focus"):t.$button.trigger("focus"),i.preventDefault(),i.stopPropagation(),e(this).hasClass("bs-select-all")?t.selectAll():t.deselectAll()})),this.$button.on("focus"+W,(function(e){var i=t.$element[0].getAttribute("tabindex");void 0!==i&&e.originalEvent&&e.originalEvent.isTrusted&&(this.setAttribute("tabindex",i),t.$element[0].setAttribute("tabindex",-1),t.selectpicker.view.tabindex=i)})).on("blur"+W,(function(e){void 0!==t.selectpicker.view.tabindex&&e.originalEvent&&e.originalEvent.isTrusted&&(t.$element[0].setAttribute("tabindex",t.selectpicker.view.tabindex),this.setAttribute("tabindex",-1),t.selectpicker.view.tabindex=void 0)})),this.$element.on("change"+W,(function(){t.render(),t.$element.trigger("changed"+W,b),b=null})).on("focus"+W,(function(){t.options.mobile||t.$button[0].focus()}))},liveSearchListener:function(){var e=this;this.$button.on("click.bs.dropdown.data-api",(function(){e.$searchbox.val()&&(e.$searchbox.val(""),e.selectpicker.search.previousValue=void 0)})),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",(function(e){e.stopPropagation()})),this.$searchbox.on("input propertychange",(function(){var t=e.$searchbox[0].value;if(e.selectpicker.search.elements=[],e.selectpicker.search.data=[],t){var i=[],n=t.toUpperCase(),o={},s=[],r=e._searchStyle(),a=e.options.liveSearchNormalize;a&&(n=T(n));for(var l=0;l<e.selectpicker.main.data.length;l++){var c=e.selectpicker.main.data[l];o[l]||(o[l]=w(c,n,r,a)),o[l]&&void 0!==c.headerIndex&&-1===s.indexOf(c.headerIndex)&&(c.headerIndex>0&&(o[c.headerIndex-1]=!0,s.push(c.headerIndex-1)),o[c.headerIndex]=!0,s.push(c.headerIndex),o[c.lastIndex+1]=!0),o[l]&&"optgroup-label"!==c.type&&s.push(l)}l=0;for(var d=s.length;l<d;l++){var u=s[l],h=s[l-1],f=(c=e.selectpicker.main.data[u],e.selectpicker.main.data[h]);("divider"!==c.type||"divider"===c.type&&f&&"divider"!==f.type&&d-1!==l)&&(e.selectpicker.search.data.push(c),i.push(e.selectpicker.main.elements[u]))}e.activeIndex=void 0,e.noScroll=!0,e.$menuInner.scrollTop(0),e.selectpicker.search.elements=i,e.createView(!0),Y.call(e,i,t)}else e.selectpicker.search.previousValue&&(e.$menuInner.scrollTop(0),e.createView(!1));e.selectpicker.search.previousValue=t}))},_searchStyle:function(){return this.options.liveSearchStyle||"contains"},val:function(e){var t=this.$element[0];if(void 0!==e){var i=g(t);if(b=[null,null,i],this.$element.val(e).trigger("changed"+W,b),this.$newElement.hasClass(F.SHOW))if(this.multiple)this.setOptionStatus(!0);else{var n=(t.options[t.selectedIndex]||{}).liIndex;"number"==typeof n&&(this.setSelected(this.selectedIndex,!1),this.setSelected(n,!0))}return this.render(),b=null,this.$element}return this.$element.val()},changeAll:function(e){if(this.multiple){void 0===e&&(e=!0);var t=this.$element[0],i=0,n=0,o=g(t);t.classList.add("bs-select-hidden");for(var s=0,r=this.selectpicker.current.data,a=r.length;s<a;s++){var l=r[s],c=l.option;c&&!l.disabled&&"divider"!==l.type&&(l.selected&&i++,c.selected=e,!0===e&&n++)}t.classList.remove("bs-select-hidden"),i!==n&&(this.setOptionStatus(),b=[null,null,o],this.$element.triggerNative("change"))}},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},toggle:function(e){(e=e||window.event)&&e.stopPropagation(),this.$button.trigger("click.bs.dropdown.data-api")},keydown:function(t){var i,n,o,s,r,a=e(this),l=a.hasClass("dropdown-toggle"),c=(l?a.closest(".dropdown"):a.closest(U.MENU)).data("this"),d=c.findLis(),u=!1,h=t.which===z&&!l&&!c.options.selectOnTab,f=V.test(t.which)||h,p=c.$menuInner[0].scrollTop,m=!0===c.isVirtual()?c.selectpicker.view.position0:0;if(!(t.which>=112&&t.which<=123))if(!(n=c.$newElement.hasClass(F.SHOW))&&(f||t.which>=48&&t.which<=57||t.which>=96&&t.which<=105||t.which>=65&&t.which<=90)&&(c.$button.trigger("click.bs.dropdown.data-api"),c.options.liveSearch))c.$searchbox.trigger("focus");else{if(t.which===$&&n&&(t.preventDefault(),c.$button.trigger("click.bs.dropdown.data-api").trigger("focus")),f){if(!d.length)return;-1!==(i=(o=c.selectpicker.main.elements[c.activeIndex])?Array.prototype.indexOf.call(o.parentElement.children,o):-1)&&c.defocusItem(o),t.which===j?(-1!==i&&i--,i+m<0&&(i+=d.length),c.selectpicker.view.canHighlight[i+m]||-1==(i=c.selectpicker.view.canHighlight.slice(0,i+m).lastIndexOf(!0)-m)&&(i=d.length-1)):(t.which===R||h)&&(++i+m>=c.selectpicker.view.canHighlight.length&&(i=c.selectpicker.view.firstHighlightIndex),c.selectpicker.view.canHighlight[i+m]||(i=i+1+c.selectpicker.view.canHighlight.slice(i+m+1).indexOf(!0))),t.preventDefault();var g=m+i;t.which===j?0===m&&i===d.length-1?(c.$menuInner[0].scrollTop=c.$menuInner[0].scrollHeight,g=c.selectpicker.current.elements.length-1):u=(r=(s=c.selectpicker.current.data[g]).position-s.height)<p:(t.which===R||h)&&(i===c.selectpicker.view.firstHighlightIndex?(c.$menuInner[0].scrollTop=0,g=c.selectpicker.view.firstHighlightIndex):u=(r=(s=c.selectpicker.current.data[g]).position-c.sizeInfo.menuInnerHeight)>p),o=c.selectpicker.current.elements[g],c.activeIndex=c.selectpicker.current.data[g].index,c.focusItem(o),c.selectpicker.view.currentActive=o,u&&(c.$menuInner[0].scrollTop=r),c.options.liveSearch?c.$searchbox.trigger("focus"):a.trigger("focus")}else if(!a.is("input")&&!Q.test(t.which)||t.which===P&&c.selectpicker.keydown.keyHistory){var v,b,_=[];t.preventDefault(),c.selectpicker.keydown.keyHistory+=L[t.which],c.selectpicker.keydown.resetKeyHistory.cancel&&clearTimeout(c.selectpicker.keydown.resetKeyHistory.cancel),c.selectpicker.keydown.resetKeyHistory.cancel=c.selectpicker.keydown.resetKeyHistory.start(),b=c.selectpicker.keydown.keyHistory,/^(.)\1+$/.test(b)&&(b=b.charAt(0));for(var y=0;y<c.selectpicker.current.data.length;y++){var E=c.selectpicker.current.data[y];w(E,b,"startsWith",!0)&&c.selectpicker.view.canHighlight[y]&&_.push(E.index)}if(_.length){var C=0;d.removeClass("active").find("a").removeClass("active"),1===b.length&&(-1===(C=_.indexOf(c.activeIndex))||C===_.length-1?C=0:C++),v=_[C],p-(s=c.selectpicker.main.data[v]).position>0?(r=s.position-s.height,u=!0):(r=s.position-c.sizeInfo.menuInnerHeight,u=s.position>p+c.sizeInfo.menuInnerHeight),o=c.selectpicker.main.elements[v],c.activeIndex=_[C],c.focusItem(o),o&&o.firstChild.focus(),u&&(c.$menuInner[0].scrollTop=r),a.trigger("focus")}}n&&(t.which===P&&!c.selectpicker.keydown.keyHistory||t.which===H||t.which===z&&c.options.selectOnTab)&&(t.which!==P&&t.preventDefault(),c.options.liveSearch&&t.which===P||(c.$menuInner.find(".active a").trigger("click",!0),a.trigger("focus"),c.options.liveSearch||(t.preventDefault(),e(document).data("spaceSelect",!0))))}},mobile:function(){this.options.mobile=!0,this.$element[0].classList.add("mobile-device")},refresh:function(){var t=e.extend({},this.options,this.$element.data());this.options=t,this.checkDisabled(),this.buildData(),this.setStyle(),this.render(),this.buildList(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed"+W)},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.selectpicker.view.titleOption&&this.selectpicker.view.titleOption.parentNode&&this.selectpicker.view.titleOption.parentNode.removeChild(this.selectpicker.view.titleOption),this.$element.off(W).removeData("selectpicker").removeClass("bs-select-hidden selectpicker"),e(window).off(W+"."+this.selectId)}};var J=e.fn.selectpicker;function Z(){if(e.fn.dropdown){var t=e.fn.dropdown.Constructor._dataApiKeydownHandler||e.fn.dropdown.Constructor.prototype.keydown;return t.apply(this,arguments)}}e.fn.selectpicker=X,e.fn.selectpicker.Constructor=G,e.fn.selectpicker.noConflict=function(){return e.fn.selectpicker=J,this},e(document).off("keydown.bs.dropdown.data-api").on("keydown.bs.dropdown.data-api",':not(.bootstrap-select) > [data-toggle="dropdown"]',Z).on("keydown.bs.dropdown.data-api",":not(.bootstrap-select) > .dropdown-menu",Z).on("keydown"+W,'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',G.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',(function(e){e.stopPropagation()})),e(window).on("load"+W+".data-api",(function(){e(".selectpicker").each((function(){var t=e(this);X.call(t,t.data())}))}))}(e)}(e)}.apply(t,n))||(e.exports=o)},function(e,t,i){var n=i(6),o=i(7);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var s={insert:"head",singleton:!1};n(o,s);e.exports=o.locals||{}},function(e,t,i){"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},s=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),r=[];function a(e){for(var t=-1,i=0;i<r.length;i++)if(r[i].identifier===e){t=i;break}return t}function l(e,t){for(var i={},n=[],o=0;o<e.length;o++){var s=e[o],l=t.base?s[0]+t.base:s[0],c=i[l]||0,d="".concat(l," ").concat(c);i[l]=c+1;var u=a(d),h={css:s[1],media:s[2],sourceMap:s[3]};-1!==u?(r[u].references++,r[u].updater(h)):r.push({identifier:d,updater:g(h,t),references:1}),n.push(d)}return n}function c(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=i.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var r=s(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function h(e,t,i,n){var o=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=u(t,o);else{var s=document.createTextNode(o),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(s,r[t]):e.appendChild(s)}}function f(e,t,i){var n=i.css,o=i.media,s=i.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),s&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var p=null,m=0;function g(e,t){var i,n,o;if(t.singleton){var s=m++;i=p||(p=c(t)),n=h.bind(null,i,s,!1),o=h.bind(null,i,s,!0)}else i=c(t),n=f.bind(null,i,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var i=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var o=a(i[n]);r[o].references--}for(var s=l(e,t),c=0;c<i.length;c++){var d=a(i[c]);0===r[d].references&&(r[d].updater(),r.splice(d,1))}i=s}}}},function(e,t,i){},function(e,t,i){"use strict";i.r(t);i(2),i(4);!function(e,t,i){e.resizeAction=function(t,i){var n=!0;e(window).on("resize",(function(){t.call(this)?n&&(i.call(this,n),n=!n):n||(i.call(this,n),n=!n)}))},t.behaviors.toggleGrid={attach:function(t,i){e(".view-style a.style-btn",t).click((function(t){t.preventDefault(),e(this).hasClass("line")?e(this).closest(".view").addClass("style-line"):e(this).closest(".view").removeClass("style-line")}))}},t.behaviors.mobileMenu={attach:function(t,i){e(".mobile-menu-btn",t).on("click",(function(){e("body",t).toggleClass("menu-open"),e(".mobile-header-wrapper").slideToggle()}))}},t.behaviors.toggleFeed={attach:function(t,i){e(".feed-link",t).on("click",(function(){e("body",t).addClass("open-feed"),window.scrollTo({top:0})}))}},t.behaviors.toggleGrid={attach:function(t,i){var n=e("body",t);e(".show-filter",t).on("click",(function(t){t.preventDefault(),n.addClass("open-filter"),window.scrollTo({top:0}),e(".catalog-filter").fadeIn()})),e(".close-btn",t).on("click",(function(){n.hasClass("open-filter")&&e(".catalog-filter").fadeOut(),n.removeClass("open-feed open-filter")}))}},t.behaviors.catalogFilters={attach:function(t){e(".apply-catalog-filters",t).once().on("click",(function(){var t=e("#catalog-filter-parent .close-btn:visible");0!==t.length&&t.click()}))}},t.behaviors.socialFeed={attach:function(t,i){var n=e("body");if(e(t).hasClass("dashboard")){var o=e(t);o.on("click",".feed-link",(function(){n.addClass("open-feed"),window.scrollTo({top:0})})),o.on("click",".close-btn",(function(){n.removeClass("open-feed")}))}}},t.behaviors.activitiesListDropdown={attach:function(t,i){e(".opigno-lp-step-module",t).on("click",".module-title",(function(){var t=e(this);t.toggleClass("open"),t.siblings(".passed-activities").slideToggle(),t.siblings(".activities-list").slideToggle()})),e(".show-activity-list",t).on("click",(function(){window.innerWidth<=991&&(e(this).fadeOut((function(){e(this).siblings(".opigno-lp-step-activity",t).fadeIn()})),e(".lp_progress_wrapper, .opigno_activity__wrapper",t).fadeOut())}))}},t.behaviors.expandInnerTable={attach:function(t,i){e(".details-btn",t).once().on("click",(function(t){t.preventDefault(),e(this).toggleClass("active").closest("tr").next().find(".inner-table").slideToggle()}))}},t.behaviors.frontpageSlider={attach:function(t,i){if(e("body.anonymous-slider",t).length){var n=0,o=0;e(".anonymous-slider .slider-item",t).not(":eq(".concat(n,")")).addClass("hide").hide(),e(".anonymous-slider .slider-item",t).each((function(){e(this).attr("data-id",n),n+=1})),setInterval((function(){o=o<n-1?o+=1:o=0,e('.anonymous-slider .slider-item:not([data-id="'.concat(o,'"])')).addClass("hide").fadeOut("slow"),e('.anonymous-slider .slider-item[data-id="'.concat(o,'"]')).removeClass("hide").fadeIn("slow")}),2e3)}}},t.behaviors.anonymousUserForms={attach:function(t,i){e("body.anonymous-slider").length&&e("#user-sidebar .switch-link a",t).once().click((function(i){var n=e(this).attr("href");e('.form-wrapper[data-target="'.concat(n,'"]'),t).length&&(i.preventDefault(),e(".form-wrapper[data-target]",t).not('.form-wrapper[data-target="'.concat(n,'"]')).hide(),e('.form-wrapper[data-target="'.concat(n,'"]'),t).show())}))}},t.behaviors.messges={attach:function(t,i){var n=e(".private-message-thread-messages",t);t===document&&n.scrollTop(n.prop("scrollHeight")),e(".show-message-list",t).on("click",(function(i){i.preventDefault(),e("body",t).toggleClass("open-message-list")}))}},t.behaviors.activateSelectpicker={attach:function(t){e(".selectpicker",t).each((function(){e(this).hasClass("processed")||(e(this).selectpicker(),e(this).addClass("processed"))}))}},t.behaviors.yourCommunities={attach:function(t,i){e(".your-community",t).on("click",".content-box__title",(function(){window.innerWidth<1200&&e(this).toggleClass("expanded").next(".communities-list").slideToggle()}))}},e.resizeAction((function(){return window.innerWidth>991}),(function(t){t&&(e("body").removeClass("open-filter menu-open open-message-list"),e(".mobile-header-wrapper, .catalog-filter, .opigno-lp-step-activity, .lp_progress_wrapper, .opigno_activity__wrapper").removeAttr("style"))})),e.resizeAction((function(){return window.innerWidth>=1200}),(function(t){t&&(e(".your-community .content-box__title").removeClass("expanded"),e(".communities-list").removeAttr("style"))}))}(jQuery,Drupal,drupalSettings);i(5)}]);