function openNavSearch(){document.getElementById("myNavSearch").style.height="100%"}function closeNavSearch(){document.getElementById("myNavSearch").style.height="0%"}function openNav(){$("body").toggleClass("slide-open");document.getElementById("myNav").style.height="100%"}function closeNav(){document.getElementById("myNav").style.height="0%"}jQuery.fn.ownmenu=function(n){function v(){window.innerWidth<=767?(s(),o(),r==!0&&(f(),r=!1)):(h(),e(),i.align=="right"?(f(),r=!0):l())}function e(){if(navigator.userAgent.match(/Mobi/i)||window.navigator.msMaxTouchPoints>0||i.submenuTrigger=="click"){$(t).find("a").on("click touchstart",function(n){if(n.stopPropagation(),n.preventDefault(),$(this).parent("li").siblings("li").find(".dropdown, .megamenu").stop(!0,!0).fadeOut(i.speed),$(this).siblings(".dropdown, .megamenu").css("display")=="none")return $(this).siblings(".dropdown, .megamenu").stop(!0,!0).delay(i.delay).fadeIn(i.speed),!1;$(this).siblings(".dropdown, .megamenu").stop(!0,!0).fadeOut(i.speed);$(this).siblings(".dropdown").find(".dropdown").stop(!0,!0).fadeOut(i.speed);window.location.href=$(this).attr("href")});$(t).find("li").bind("mouseleave",function(){$(this).children(".dropdown, .megamenu").stop(!0,!0).fadeOut(i.speed)});i.hideClickOut==!0&&$(document).bind("click.menu touchstart.menu",function(n){$(n.target).closest(t).length==0&&$(t).find(".dropdown, .megamenu").fadeOut(i.speed)})}else $(t).find("li").bind("mouseenter",function(){$(this).children(".dropdown, .megamenu").stop(!0,!0).delay(i.delay).fadeIn(i.speed)}).bind("mouseleave",function(){$(this).children(".dropdown, .megamenu").stop(!0,!0).delay(i.hideDelay).fadeOut(i.speed)})}function o(){$(t).find("li:not(.showhide)").each(function(){$(this).children(".dropdown, .megamenu").length>0&&$(this).children("a").bind("click",function(){if($(this).siblings(".dropdown, .megamenu").css("display")=="none")return $(this).siblings(".dropdown, .megamenu").delay(i.delay).slideDown(i.speed).focus(),$(this).parent("li").siblings("li").find(".dropdown, .megamenu").slideUp(i.speed),!1;$(this).siblings(".dropdown, .megamenu").slideUp(i.speed).focus();firstItemClick=1})})}function s(){$(t).children("li:not(.showhide)").hide(0);$(t).children("li.showhide").show(0);$(t).children("li.showhide").bind("click",function(){$(t).children("li").is(":hidden")?$(t).children("li").slideDown(i.speed):($(t).children("li:not(.showhide)").slideUp(i.speed),$(t).children("li.showhide").show(0),$(t).find(".dropdown, .megamenu").hide(i.speed))})}function h(){$(t).children("li").show(0);$(t).children("li.showhide").hide(0)}function f(){var i,n;for($(t).children("li").addClass("jsright"),i=$(t).children("li"),$(t).children("li:not(.showhide)").detach(),n=i.length;n>=1;n--)$(t).append(i[n]);c()}function c(){var i,n,r,u;for($(t).children("li").removeClass("last"),i=$(t).children("li"),n=1;n<=i.length;n++)if($(i[n]).children(".dropdown, .megamenu").length>0){for(r=0,u=1;u<=n;u++)r=r+$(i[u]).outerWidth();$(i[n]).children(".dropdown, .megamenu").outerWidth()>r&&$(i[n]).addClass("last")}}function l(){var n;$(t).children("li").removeClass("fix-sub");var i=$(t).children("li"),r=$(t).outerWidth();for(n=1;n<=i.length;n++)$(i[n]).children(".dropdown, .megamenu").length>0&&$(i[n]).position().left+$(i[n]).children(".dropdown, .megamenu").outerWidth()>r&&$(i[n]).addClass("fix-sub")}function a(){$(t).find("li, a").unbind();$(document).unbind("click.menu touchstart.menu");$(t).find(".dropdown, .megamenu").hide(0)}var i={indicator:!0,speed:100,delay:0,hideDelay:0,hideClickOut:!0,align:"left",submenuTrigger:"hover"};$.extend(i,n);var t=$(".ownmenu"),u=window.innerWidth,r=!1;$(t).prepend("<li class='showhide'><span class='title'><\/span><span class='icon fa fa-bars'><\/span><\/li>");i.indicator==!0&&$(t).find("a").each(function(){$(this).siblings(".dropdown, .megamenu").length>0&&$(this).append("<span class='indicator'><i class='fa fa-angle-right'><\/i><\/span>")});v();$(window).resize(function(){u<=767&&window.innerWidth>767&&(a(),h(),e(),i.align=="right"&&r==!1&&(f(),r=!0));u>767&&window.innerWidth<=767&&(a(),s(),o(),r==!0&&(f(),r=!1));i.align=="right"?u>767&&window.innerWidth>767&&c():u>767&&window.innerWidth>767&&l();u=window.innerWidth})},function(n,t){typeof exports=="object"&&typeof module!="undefined"?t(exports,require("jquery")):typeof define=="function"&&define.amd?define(["exports","jquery"],t):(n=n||self,t(n.bootstrap={},n.jQuery))}(this,function(n,t){"use strict";function hf(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function o(n,t,i){return t&&hf(n.prototype,t),i&&hf(n,i),n}function ss(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function cf(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function r(n){for(var i,t=1;t<arguments.length;t++)i=arguments[t]!=null?arguments[t]:{},t%2?cf(Object(i),!0).forEach(function(t){ss(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):cf(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function hs(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t}function as(n){return n===null||typeof n=="undefined"?""+n:{}.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase()}function vs(){return{bindType:gi,delegateType:gi,handle:function(n){return t(n.target).is(this)?n.handleObj.handler.apply(this,arguments):undefined}}}function ys(n){var u=this,r=!1;t(this).one(i.TRANSITION_END,function(){r=!0});return setTimeout(function(){r||i.triggerTransitionEnd(u)},n),this}function ps(){t.fn.emulateTransitionEnd=ys;t.event.special[i.TRANSITION_END]=vs()}function wl(n){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1;n()}))}}function bl(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},kf))}}function ne(n){return n&&{}.toString.call(n)==="[object Function]"}function k(n,t){if(n.nodeType!==1)return[];var r=n.ownerDocument.defaultView,i=r.getComputedStyle(n,null);return t?i[t]:i}function su(n){return n.nodeName==="HTML"?n:n.parentNode||n.host}function ri(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=k(n),i=t.overflow,r=t.overflowX,u=t.overflowY;return/(auto|scroll|overlay)/.test(i+u+r)?n:ri(su(n))}function te(n){return n&&n.referenceNode?n.referenceNode:n}function st(n){return n===11?hu:n===10?cu:hu||cu}function ht(n){var r,t,i;if(!n)return document.documentElement;for(r=st(10)?document.body:null,t=n.offsetParent||null;t===r&&n.nextElementSibling;)t=(n=n.nextElementSibling).offsetParent;return(i=t&&t.nodeName,!i||i==="BODY"||i==="HTML")?n?n.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(t.nodeName)!==-1&&k(t,"position")==="static"?ht(t):t}function kl(n){var t=n.nodeName;return t==="BODY"?!1:t==="HTML"||ht(n.firstElementChild)===n}function lu(n){return n.parentNode!==null?lu(n.parentNode):n}function or(n,t){var i,u;if(!n||!n.nodeType||!t||!t.nodeType)return document.documentElement;var f=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,e=f?n:t,o=f?t:n,r=document.createRange();return(r.setStart(e,0),r.setEnd(o,0),i=r.commonAncestorContainer,n!==i&&t!==i||e.contains(o))?kl(i)?i:ht(i):(u=lu(n),u.host?or(u.host,t):or(n,lu(t).host))}function ct(n){var f=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"top",t=f==="top"?"scrollTop":"scrollLeft",i=n.nodeName,r,u;return i==="BODY"||i==="HTML"?(r=n.ownerDocument.documentElement,u=n.ownerDocument.scrollingElement||r,u[t]):n[t]}function dl(n,t){var f=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1,r=ct(t,"top"),u=ct(t,"left"),i=f?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}function ie(n,t){var i=t==="x"?"Left":"Top",r=i==="Left"?"Right":"Bottom";return parseFloat(n["border"+i+"Width"],10)+parseFloat(n["border"+r+"Width"],10)}function re(n,t,i,r){return Math.max(t["offset"+n],t["scroll"+n],i["client"+n],i["offset"+n],i["scroll"+n],st(10)?parseInt(i["offset"+n])+parseInt(r["margin"+(n==="Height"?"Top":"Left")])+parseInt(r["margin"+(n==="Height"?"Bottom":"Right")]):0)}function ue(n){var i=n.body,t=n.documentElement,r=st(10)&&getComputedStyle(t);return{height:re("Height",i,t,r),width:re("Width",i,t,r)}}function v(n){return e({},n,{right:n.left+n.width,bottom:n.top+n.height})}function au(n){var t={},r,u,o;try{st(10)?(t=n.getBoundingClientRect(),r=ct(n,"top"),u=ct(n,"left"),t.top+=r,t.left+=u,t.bottom+=r,t.right+=u):t=n.getBoundingClientRect()}catch(l){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},s=n.nodeName==="HTML"?ue(n.ownerDocument):{},h=s.width||n.clientWidth||i.width,c=s.height||n.clientHeight||i.height,f=n.offsetWidth-h,e=n.offsetHeight-c;return(f||e)&&(o=k(n),f-=ie(o,"x"),e-=ie(o,"y"),i.width-=f,i.height-=e),v(i)}function vu(n,t){var l=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1,a=st(10),y=t.nodeName==="HTML",u=au(n),r=au(t),s=ri(n),f=k(t),h=parseFloat(f.borderTopWidth,10),c=parseFloat(f.borderLeftWidth,10),i,e,o;return l&&y&&(r.top=Math.max(r.top,0),r.left=Math.max(r.left,0)),i=v({top:u.top-r.top-h,left:u.left-r.left-c,width:u.width,height:u.height}),i.marginTop=0,i.marginLeft=0,!a&&y&&(e=parseFloat(f.marginTop,10),o=parseFloat(f.marginLeft,10),i.top-=h-e,i.bottom-=h-e,i.left-=c-o,i.right-=c-o,i.marginTop=e,i.marginLeft=o),(a&&!l?t.contains(s):t===s&&s.nodeName!=="BODY")&&(i=dl(i,t)),i}function ta(n){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1,t=n.ownerDocument.documentElement,i=vu(n,t),u=Math.max(t.clientWidth,window.innerWidth||0),f=Math.max(t.clientHeight,window.innerHeight||0),e=r?0:ct(t),o=r?0:ct(t,"left"),s={top:e-i.top+i.marginTop,left:o-i.left+i.marginLeft,width:u,height:f};return v(s)}function fe(n){var i=n.nodeName,t;return i==="BODY"||i==="HTML"?!1:k(n,"position")==="fixed"?!0:(t=su(n),!t)?!1:fe(t)}function ee(n){if(!n||!n.parentElement||st())return document.documentElement;for(var t=n.parentElement;t&&k(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function yu(n,t,i,r){var s=arguments.length>4&&arguments[4]!==undefined?arguments[4]:!1,u={top:0,left:0},h=s?ee(n):or(n,te(t)),e,f,o;if(r==="viewport")u=ta(h,s);else if(e=void 0,r==="scrollParent"?(e=ri(su(t)),e.nodeName==="BODY"&&(e=n.ownerDocument.documentElement)):e=r==="window"?n.ownerDocument.documentElement:r,f=vu(e,h,s),e.nodeName!=="HTML"||fe(h))u=f;else{var c=ue(n.ownerDocument),l=c.height,a=c.width;u.top+=f.top-f.marginTop;u.bottom=l+f.top;u.left+=f.left-f.marginLeft;u.right=a+f.left}return i=i||0,o=typeof i=="number",u.left+=o?i:i.left||0,u.top+=o?i:i.top||0,u.right-=o?i:i.right||0,u.bottom-=o?i:i.bottom||0,u}function ia(n){var t=n.width,i=n.height;return t*i}function oe(n,t,i,r,u){var l=arguments.length>5&&arguments[5]!==undefined?arguments[5]:0;if(n.indexOf("auto")===-1)return n;var f=yu(i,r,l,u),o={top:{width:f.width,height:t.top-f.top},right:{width:f.right-t.right,height:f.height},bottom:{width:f.width,height:f.bottom-t.bottom},left:{width:t.left-f.left,height:f.height}},s=Object.keys(o).map(function(n){return e({key:n},o[n],{area:ia(o[n])})}).sort(function(n,t){return t.area-n.area}),h=s.filter(function(n){var t=n.width,r=n.height;return t>=i.clientWidth&&r>=i.clientHeight}),a=h.length>0?h[0].key:s[0].key,c=n.split("-")[1];return a+(c?"-"+c:"")}function se(n,t,i){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null,u=r?ee(t):or(t,te(i));return vu(i,u,r)}function he(n){var i=n.ownerDocument.defaultView,t=i.getComputedStyle(n),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),u=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:n.offsetWidth+u,height:n.offsetHeight+r}}function sr(n){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(n){return t[n]})}function ce(n,t,i){i=i.split("-")[0];var r=he(n),e={width:r.width,height:r.height},u=["right","left"].indexOf(i)!==-1,o=u?"top":"left",f=u?"left":"top",s=u?"height":"width",h=u?"width":"height";return e[o]=t[o]+t[s]/2-r[s]/2,e[f]=i===f?t[f]-r[h]:t[sr(f)],e}function ui(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function ra(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=ui(n,function(n){return n[t]===i});return n.indexOf(r)}function le(n,t,i){var r=i===undefined?n:n.slice(0,ra(n,"name",i));return r.forEach(function(n){n["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=n["function"]||n.fn;n.enabled&&ne(i)&&(t.offsets.popper=v(t.offsets.popper),t.offsets.reference=v(t.offsets.reference),t=i(t,n))}),t}function ua(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};if(n.offsets.reference=se(this.state,this.popper,this.reference,this.options.positionFixed),n.placement=oe(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),n.originalPlacement=n.placement,n.positionFixed=this.options.positionFixed,n.offsets.popper=ce(this.popper,n.offsets.reference,n.placement),n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",n=le(this.modifiers,n),this.state.isCreated)this.options.onUpdate(n);else{this.state.isCreated=!0;this.options.onCreate(n)}}}function ae(n,t){return n.some(function(n){var i=n.name,r=n.enabled;return r&&i===t})}function pu(n){for(var u=[!1,"ms","Webkit","Moz","O"],f=n.charAt(0).toUpperCase()+n.slice(1),i,r,t=0;t<u.length;t++)if(i=u[t],r=i?""+i+f:n,typeof document.body.style[r]!="undefined")return r;return null}function fa(){return this.state.isDestroyed=!0,ae(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[pu("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function ve(n){var t=n.ownerDocument;return t?t.defaultView:window}function ye(n,t,i,r){var f=n.nodeName==="BODY",u=f?n.ownerDocument.defaultView:n;u.addEventListener(t,i,{passive:!0});f||ye(ri(u.parentNode),t,i,r);r.push(u)}function ea(n,t,i,r){i.updateBound=r;ve(n).addEventListener("resize",i.updateBound,{passive:!0});var u=ri(n);return ye(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function oa(){this.state.eventsEnabled||(this.state=ea(this.reference,this.options,this.state,this.scheduleUpdate))}function sa(n,t){return ve(n).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(n){n.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function ha(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=sa(this.reference,this.state))}function wu(n){return n!==""&&!isNaN(parseFloat(n))&&isFinite(n)}function bu(n,t){Object.keys(t).forEach(function(i){var r="";["width","height","top","right","bottom","left"].indexOf(i)!==-1&&wu(t[i])&&(r="px");n.style[i]=t[i]+r})}function ca(n,t){Object.keys(t).forEach(function(i){var r=t[i];r!==!1?n.setAttribute(i,t[i]):n.removeAttribute(i)})}function la(n){return bu(n.instance.popper,n.styles),ca(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&bu(n.arrowElement,n.arrowStyles),n}function aa(n,t,i,r,u){var f=se(u,t,n,i.positionFixed),e=oe(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),bu(t,{position:i.positionFixed?"fixed":"absolute"}),i}function va(n,t){var u=n.offsets,i=u.popper,l=u.reference,r=Math.round,a=Math.floor,f=function(n){return n},e=r(l.width),o=r(i.width),v=["left","right"].indexOf(n.placement)!==-1,s=n.placement.indexOf("-")!==-1,y=e%2==o%2,p=e%2==1&&o%2==1,h=t?v||s||y?r:a:f,c=t?r:f;return{left:h(p&&!s&&t?i.left-1:i.left),top:c(i.top),bottom:c(i.bottom),right:h(i.right)}}function ya(n,t){var w=t.x,b=t.y,k=n.offsets.popper,s=ui(n.instance.modifiers,function(n){return n.name==="applyStyle"}).gpuAcceleration,v,y,p;s!==undefined&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var d=s!==undefined?s:t.gpuAcceleration,u=ht(n.instance.popper),l=au(u),i={position:k.position},r=va(n,window.devicePixelRatio<2||!pe),f=w==="bottom"?"top":"bottom",o=b==="right"?"left":"right",a=pu("transform"),h=void 0,c=void 0;return c=f==="bottom"?u.nodeName==="HTML"?-u.clientHeight+r.bottom:-l.height+r.bottom:r.top,h=o==="right"?u.nodeName==="HTML"?-u.clientWidth+r.right:-l.width+r.right:r.left,d&&a?(i[a]="translate3d("+h+"px, "+c+"px, 0)",i[f]=0,i[o]=0,i.willChange="transform"):(v=f==="bottom"?-1:1,y=o==="right"?-1:1,i[f]=c*v,i[o]=h*y,i.willChange=f+", "+o),p={"x-placement":n.placement},n.attributes=e({},p,n.attributes),n.styles=e({},i,n.styles),n.arrowStyles=e({},n.offsets.arrow,n.arrowStyles),n}function we(n,t,i){var u=ui(n,function(n){var i=n.name;return i===t}),f=!!u&&n.some(function(n){return n.name===i&&n.enabled&&n.order<u.order}),r,e;return f||(r="`"+t+"`",e="`"+i+"`",console.warn(e+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),f}function pa(n,t){var o,r;if(!we(n.instance.modifiers,"arrow","keepTogether"))return n;if(r=t.element,typeof r=="string"){if(r=n.instance.popper.querySelector(r),!r)return n}else if(!n.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var w=n.placement.split("-")[0],y=n.offsets,e=y.popper,u=y.reference,s=["left","right"].indexOf(w)!==-1,c=s?"height":"width",l=s?"Top":"Left",i=l.toLowerCase(),b=s?"left":"top",h=s?"bottom":"right",f=he(r)[c];u[h]-f<e[i]&&(n.offsets.popper[i]-=e[i]-(u[h]-f));u[i]+f>e[h]&&(n.offsets.popper[i]+=u[i]+f-e[h]);n.offsets.popper=v(n.offsets.popper);var d=u[i]+u[c]/2-f/2,p=k(n.instance.popper),g=parseFloat(p["margin"+l],10),nt=parseFloat(p["border"+l+"Width"],10),a=d-n.offsets.popper[i]-g-nt;return a=Math.max(Math.min(e[c]-f,a),0),n.arrowElement=r,n.offsets.arrow=(o={},lt(o,i,Math.round(a)),lt(o,b,""),o),n}function wa(n){return n==="end"?"start":n==="start"?"end":n}function be(n){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1,t=hr.indexOf(n),i=hr.slice(t+1).concat(hr.slice(0,t));return r?i.reverse():i}function ba(n,t){if(ae(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var f=yu(n.instance.popper,n.instance.reference,t.padding,t.boundariesElement,n.positionFixed),i=n.placement.split("-")[0],o=sr(i),r=n.placement.split("-")[1]||"",u=[];switch(t.behavior){case cr.FLIP:u=[i,o];break;case cr.CLOCKWISE:u=be(i);break;case cr.COUNTERCLOCKWISE:u=be(i,!0);break;default:u=t.behavior}return u.forEach(function(s,h){if(i!==s||u.length===h+1)return n;i=n.placement.split("-")[0];o=sr(i);var l=n.offsets.popper,v=n.offsets.reference,c=Math.floor,k=i==="left"&&c(l.right)>c(v.left)||i==="right"&&c(l.left)<c(v.right)||i==="top"&&c(l.bottom)>c(v.top)||i==="bottom"&&c(l.top)<c(v.bottom),y=c(l.left)<c(f.left),p=c(l.right)>c(f.right),w=c(l.top)<c(f.top),b=c(l.bottom)>c(f.bottom),d=i==="left"&&y||i==="right"&&p||i==="top"&&w||i==="bottom"&&b,a=["top","bottom"].indexOf(i)!==-1,nt=!!t.flipVariations&&(a&&r==="start"&&y||a&&r==="end"&&p||!a&&r==="start"&&w||!a&&r==="end"&&b),tt=!!t.flipVariationsByContent&&(a&&r==="start"&&p||a&&r==="end"&&y||!a&&r==="start"&&b||!a&&r==="end"&&w),g=nt||tt;(k||d||g)&&(n.flipped=!0,(k||d)&&(i=u[h+1]),g&&(r=wa(r)),n.placement=i+(r?"-"+r:""),n.offsets.popper=e({},n.offsets.popper,ce(n.instance.popper,n.offsets.reference,n.placement)),n=le(n.instance.modifiers,n,"flip"))}),n}function ka(n){var o=n.offsets,u=o.popper,i=o.reference,s=n.placement.split("-")[0],r=Math.floor,f=["top","bottom"].indexOf(s)!==-1,e=f?"right":"bottom",t=f?"left":"top",h=f?"width":"height";return u[e]<r(i[t])&&(n.offsets.popper[t]=r(i[t])-u[h]),u[t]>r(i[e])&&(n.offsets.popper[t]=r(i[e])),n}function da(n,t,i,r){var s=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),f=+s[1],u=s[2],e,h,o;if(!f)return n;if(u.indexOf("%")===0){e=void 0;switch(u){case"%p":e=i;break;case"%":case"%r":default:e=r}return h=v(e),h[t]/100*f}return u==="vh"||u==="vw"?(o=void 0,o=u==="vh"?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0),o/100*f):f}function ga(n,t,i,r){var s=[0,0],h=["right","left"].indexOf(r)!==-1,u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(ui(u,function(n){return n.search(/,|\s/)!==-1})),o,e;return u[f]&&u[f].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),o=/\s*,\s*|\s+/,e=f!==-1?[u.slice(0,f).concat([u[f].split(o)[0]]),[u[f].split(o)[1]].concat(u.slice(f+1))]:[u],e=e.map(function(n,r){var f=(r===1?!h:h)?"height":"width",u=!1;return n.reduce(function(n,t){return n[n.length-1]===""&&["+","-"].indexOf(t)!==-1?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return da(n,f,t,i)})}),e.forEach(function(n,t){n.forEach(function(i,r){wu(i)&&(s[t]+=i*(n[r-1]==="-"?-1:1))})}),s}function nv(n,t){var f=t.offset,o=n.placement,e=n.offsets,i=e.popper,s=e.reference,u=o.split("-")[0],r=void 0;return r=wu(+f)?[+f,0]:ga(f,i,s,u),u==="left"?(i.top+=r[0],i.left-=r[1]):u==="right"?(i.top+=r[0],i.left+=r[1]):u==="top"?(i.left+=r[0],i.top-=r[1]):u==="bottom"&&(i.left+=r[0],i.top+=r[1]),n.popper=i,n}function tv(n,t){var f=t.boundariesElement||ht(n.instance.popper),u;n.instance.reference===f&&(f=ht(f));var o=pu("transform"),r=n.instance.popper.style,s=r.top,h=r.left,c=r[o];r.top="";r.left="";r[o]="";u=yu(n.instance.popper,n.instance.reference,t.padding,f,n.positionFixed);r.top=s;r.left=h;r[o]=c;t.boundaries=u;var l=t.priority,i=n.offsets.popper,a={primary:function(n){var r=i[n];return i[n]<u[n]&&!t.escapeWithReference&&(r=Math.max(i[n],u[n])),lt({},n,r)},secondary:function(n){var r=n==="right"?"left":"top",f=i[r];return i[n]>u[n]&&!t.escapeWithReference&&(f=Math.min(i[r],u[n]-(n==="right"?i.width:i.height))),lt({},r,f)}};return l.forEach(function(n){var t=["left","top"].indexOf(n)!==-1?"primary":"secondary";i=e({},i,a[t](n))}),n.offsets.popper=i,n}function iv(n){var r=n.placement,c=r.split("-")[0],u=r.split("-")[1];if(u){var f=n.offsets,i=f.reference,o=f.popper,s=["bottom","top"].indexOf(c)!==-1,t=s?"left":"top",h=s?"width":"height",l={start:lt({},t,i[t]),end:lt({},t,i[t]+i[h]-o[h])};n.offsets.popper=e({},o,l[u])}return n}function rv(n){if(!we(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=ui(n.instance.modifiers,function(n){return n.name==="preventOverflow"}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(n.hide===!0)return n;n.hide=!0;n.attributes["x-out-of-boundaries"]=""}else{if(n.hide===!1)return n;n.hide=!1;n.attributes["x-out-of-boundaries"]=!1}return n}function uv(n){var r=n.placement,t=r.split("-")[0],u=n.offsets,i=u.popper,e=u.reference,f=["left","right"].indexOf(t)!==-1,o=["top","left"].indexOf(t)===-1;return i[f?"left":"top"]=e[t]-(o?i[f?"width":"height"]:0),n.placement=sr(r),n.offsets.popper=v(i),n}function up(n,t){var r=n.nodeName.toLowerCase(),u,i,f;if(t.indexOf(r)!==-1)return tp.indexOf(r)!==-1?Boolean(n.nodeValue.match(ip)||n.nodeValue.match(rp)):!0;for(u=t.filter(function(n){return n instanceof RegExp}),i=0,f=u.length;i<f;i++)if(r.match(u[i]))return!0;return!1}function vo(n,t,i){var r,e,o;if(n.length===0)return n;if(i&&typeof i=="function")return i(n);var s=new window.DOMParser,u=s.parseFromString(n,"text/html"),h=Object.keys(t),f=[].slice.call(u.body.querySelectorAll("*")),c=function(n){var i=f[n],e=i.nodeName.toLowerCase(),r,u;if(h.indexOf(i.nodeName.toLowerCase())===-1)return i.parentNode.removeChild(i),"continue";r=[].slice.call(i.attributes);u=[].concat(t["*"]||[],t[e]||[]);r.forEach(function(n){up(n,u)||i.removeAttribute(n.nodeName)})};for(r=0,e=f.length;r<e;r++)o=c(r),o==="continue";return u.body.innerHTML}var i,ot,kf,df,gf,hu,cu,pe,ku,hr,cr;t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t["default"]:t;var gi="transitionend",cs=1e6,ls=1e3;i={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(Math.random()*cs);while(document.getElementById(n));return n},getSelectorFromElement:function(n){var t=n.getAttribute("data-target"),i;t&&t!=="#"||(i=n.getAttribute("href"),t=i&&i!=="#"?i.trim():"");try{return document.querySelector(t)?t:null}catch(r){return null}},getTransitionDurationFromElement:function(n){if(!n)return 0;var i=t(n).css("transition-duration"),r=t(n).css("transition-delay"),u=parseFloat(i),f=parseFloat(r);return!u&&!f?0:(i=i.split(",")[0],r=r.split(",")[0],(parseFloat(i)+parseFloat(r))*ls)},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(gi)},supportsTransitionEnd:function(){return Boolean(gi)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,t,r){var u;for(u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var e=r[u],f=t[u],o=f&&i.isElement(f)?"element":as(f);if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+": "+('Option "'+u+'" provided type "'+o+'" ')+('but expected type "'+e+'".'));}},findShadowRoot:function(n){if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){var t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?i.findShadowRoot(n.parentNode):null},jQueryDetection:function(){if(typeof t=="undefined")throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=t.fn.jquery.split(" ")[0].split("."),i=9;if(n[0]<2&&n[1]<i||n[0]===1&&n[1]===i&&n[2]<1||n[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}};i.jQueryDetection();ps();var bt="alert",ws="4.5.0",nr="bs.alert",iu="."+nr,bs=t.fn[bt],ks="close"+iu,ds="closed"+iu,gs="click"+iu+".data-api",nh="alert",th="fade",ih="show",rt=function(){function n(n){this._element=n}var r=n.prototype;return r.close=function(n){var t=this._element,i;(n&&(t=this._getRootElement(n)),i=this._triggerCloseEvent(t),i.isDefaultPrevented())||this._removeElement(t)},r.dispose=function(){t.removeData(this._element,nr);this._element=null},r._getRootElement=function(n){var u=i.getSelectorFromElement(n),r=!1;return u&&(r=document.querySelector(u)),r||(r=t(n).closest("."+nh)[0]),r},r._triggerCloseEvent=function(n){var i=t.Event(ks);return t(n).trigger(i),i},r._removeElement=function(n){var u=this,r;if(t(n).removeClass(ih),!t(n).hasClass(th)){this._destroyElement(n);return}r=i.getTransitionDurationFromElement(n);t(n).one(i.TRANSITION_END,function(t){return u._destroyElement(n,t)}).emulateTransitionEnd(r)},r._destroyElement=function(n){t(n).detach().trigger(ds).remove()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(nr);r||(r=new n(this),u.data(nr,r));i==="close"&&r[i](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},o(n,null,[{key:"VERSION",get:function(){return ws}}]),n}();t(document).on(gs,'[data-dismiss="alert"]',rt._handleDismiss(new rt));t.fn[bt]=rt._jQueryInterface;t.fn[bt].Constructor=rt;t.fn[bt].noConflict=function(){return t.fn[bt]=bs,rt._jQueryInterface};var kt="button",rh="4.5.0",tr="bs.button",ir="."+tr,rr=".data-api",uh=t.fn[kt],l="active",fh="btn",eh="focus",lf='[data-toggle^="button"]',oh='[data-toggle="buttons"]',sh='[data-toggle="button"]',hh='[data-toggle="buttons"] .btn',ru='input:not([type="hidden"])',ch=".active",af=".btn",lh="click"+ir+rr,ah="focus"+ir+rr+" "+("blur"+ir+rr),vh="load"+ir+rr,dt=function(){function n(n){this._element=n}var i=n.prototype;return i.toggle=function(){var i=!0,u=!0,f=t(this._element).closest(oh)[0],n,r;f&&(n=this._element.querySelector(ru),n&&(n.type==="radio"&&(n.checked&&this._element.classList.contains(l)?i=!1:(r=f.querySelector(ch),r&&t(r).removeClass(l))),i&&((n.type==="checkbox"||n.type==="radio")&&(n.checked=!this._element.classList.contains(l)),t(n).trigger("change")),n.focus(),u=!1));this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(u&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(l)),i&&t(this._element).toggleClass(l))},i.dispose=function(){t.removeData(this._element,tr);this._element=null},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(tr);r||(r=new n(this),t(this).data(tr,r));i==="toggle"&&r[i]()})},o(n,null,[{key:"VERSION",get:function(){return rh}}]),n}();t(document).on(lh,lf,function(n){var i=n.target,u=i,r;if(t(i).hasClass(fh)||(i=t(i).closest(af)[0]),!i||i.hasAttribute("disabled")||i.classList.contains("disabled"))n.preventDefault();else{if(r=i.querySelector(ru),r&&(r.hasAttribute("disabled")||r.classList.contains("disabled"))){n.preventDefault();return}u.tagName==="LABEL"&&r&&r.type==="checkbox"&&n.preventDefault();dt._jQueryInterface.call(t(i),"toggle")}}).on(ah,lf,function(n){var i=t(n.target).closest(af)[0];t(i).toggleClass(eh,/^focus(in)?$/.test(n.type))});t(window).on(vh,function(){for(var n=[].slice.call(document.querySelectorAll(hh)),i,f,r,o,u,t=0,e=n.length;t<e;t++)i=n[t],f=i.querySelector(ru),f.checked||f.hasAttribute("checked")?i.classList.add(l):i.classList.remove(l);for(n=[].slice.call(document.querySelectorAll(sh)),r=0,o=n.length;r<o;r++)u=n[r],u.getAttribute("aria-pressed")==="true"?u.classList.add(l):u.classList.remove(l)});t.fn[kt]=dt._jQueryInterface;t.fn[kt].Constructor=dt;t.fn[kt].noConflict=function(){return t.fn[kt]=uh,dt._jQueryInterface};var ut="carousel",yh="4.5.0",gt="bs.carousel",u="."+gt,vf=".data-api",ph=t.fn[ut],wh=37,bh=39,kh=500,dh=40,uu={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},gh={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},ur="next",fr="prev",nc="left",tc="right",ic="slide"+u,yf="slid"+u,rc="keydown"+u,uc="mouseenter"+u,fc="mouseleave"+u,ec="touchstart"+u,oc="touchmove"+u,sc="touchend"+u,hc="pointerdown"+u,cc="pointerup"+u,lc="dragstart"+u,ac="load"+u+vf,vc="click"+u+vf,yc="carousel",p="active",pc="slide",wc="carousel-item-right",bc="carousel-item-left",kc="carousel-item-next",dc="carousel-item-prev",gc="pointer-event",nl=".active",fu=".active.carousel-item",tl=".carousel-item",il=".carousel-item img",rl=".carousel-item-next, .carousel-item-prev",ul=".carousel-indicators",fl='[data-ride="carousel"]',pf={TOUCH:"touch",PEN:"pen"},ft=function(){function f(n,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=n;this._indicatorsElement=this._element.querySelector(ul);this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var n=f.prototype;return n.next=function(){this._isSliding||this._slide(ur)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&t(this._element).css("visibility")!=="hidden"&&this.next()},n.prev=function(){this._isSliding||this._slide(fr)},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(rl)&&(i.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},n.cycle=function(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(n){var u=this,i,r;if(this._activeElement=this._element.querySelector(fu),i=this._getItemIndex(this._activeElement),!(n>this._items.length-1)&&!(n<0)){if(this._isSliding){t(this._element).one(yf,function(){return u.to(n)});return}if(i===n){this.pause();this.cycle();return}r=n>i?ur:fr;this._slide(r,this._items[n])}},n.dispose=function(){t(this._element).off(u);t.removeData(this._element,gt);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},n._getConfig=function(n){return n=r(r({},uu),n),i.typeCheckConfig(ut,n,gh),n},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX),n;t<=dh||(n=t/this.touchDeltaX,this.touchDeltaX=0,n>0&&this.prev(),n<0&&this.next())},n._addEventListeners=function(){var n=this;if(this._config.keyboard)t(this._element).on(rc,function(t){return n._keydown(t)});if(this._config.pause==="hover")t(this._element).on(uc,function(t){return n.pause(t)}).on(fc,function(t){return n.cycle(t)});this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var n=this;if(this._touchSupported){var i=function(t){n._pointerEvent&&pf[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},u=function(t){n.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-n.touchStartX},r=function(t){n._pointerEvent&&pf[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX);n._handleSwipe();n._config.pause==="hover"&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},kh+n._config.interval))};t(this._element.querySelectorAll(il)).on(lc,function(n){return n.preventDefault()});if(this._pointerEvent){t(this._element).on(hc,function(n){return i(n)});t(this._element).on(cc,function(n){return r(n)});this._element.classList.add(gc)}else{t(this._element).on(ec,function(n){return i(n)});t(this._element).on(oc,function(n){return u(n)});t(this._element).on(sc,function(n){return r(n)})}}},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case wh:n.preventDefault();this.prev();break;case bh:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(tl)):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var f=n===ur,e=n===fr,i=this._getItemIndex(t),o=this._items.length-1,s=e&&i===0||f&&i===o,u,r;return s&&!this._config.wrap?t:(u=n===fr?-1:1,r=(i+u)%this._items.length,r===-1?this._items[this._items.length-1]:this._items[r])},n._triggerSlideEvent=function(n,i){var u=this._getItemIndex(n),f=this._getItemIndex(this._element.querySelector(fu)),r=t.Event(ic,{relatedTarget:n,direction:i,from:f,to:u});return t(this._element).trigger(r),r},n._setActiveIndicatorElement=function(n){var r,i;this._indicatorsElement&&(r=[].slice.call(this._indicatorsElement.querySelectorAll(nl)),t(r).removeClass(p),i=this._indicatorsElement.children[this._getItemIndex(n)],i&&t(i).addClass(p))},n._slide=function(n,r){var l=this,f=this._element.querySelector(fu),w=this._getItemIndex(f),u=r||f&&this._getItemByDirection(n,f),b=this._getItemIndex(u),a=Boolean(this._interval),e,o,s,v,h,c,y;if(n===ur?(e=bc,o=kc,s=nc):(e=wc,o=dc,s=tc),u&&t(u).hasClass(p)){this._isSliding=!1;return}(v=this._triggerSlideEvent(u,s),v.isDefaultPrevented())||f&&u&&(this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(u),h=t.Event(yf,{relatedTarget:u,direction:s,from:w,to:b}),t(this._element).hasClass(pc)?(t(u).addClass(o),i.reflow(u),t(f).addClass(e),t(u).addClass(e),c=parseInt(u.getAttribute("data-interval"),10),c?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=c):this._config.interval=this._config.defaultInterval||this._config.interval,y=i.getTransitionDurationFromElement(f),t(f).one(i.TRANSITION_END,function(){t(u).removeClass(e+" "+o).addClass(p);t(f).removeClass(p+" "+o+" "+e);l._isSliding=!1;setTimeout(function(){return t(l._element).trigger(h)},0)}).emulateTransitionEnd(y)):(t(f).removeClass(p),t(u).addClass(p),this._isSliding=!1,t(this._element).trigger(h)),a&&this.cycle())},f._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(gt),u=r(r({},uu),t(this).data()),e;if(typeof n=="object"&&(u=r(r({},u),n)),e=typeof n=="string"?n:u.slide,i||(i=new f(this,u),t(this).data(gt,i)),typeof n=="number")i.to(n);else if(typeof e=="string"){if(typeof i[e]=="undefined")throw new TypeError('No method named "'+e+'"');i[e]()}else u.interval&&u.ride&&(i.pause(),i.cycle())})},f._dataApiClickHandler=function(n){var s=i.getSelectorFromElement(this),u,o,e;s&&(u=t(s)[0],u&&t(u).hasClass(yc))&&(o=r(r({},t(u).data()),t(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),f._jQueryInterface.call(t(u),o),e&&t(u).data(gt).to(e),n.preventDefault())},o(f,null,[{key:"VERSION",get:function(){return yh}},{key:"Default",get:function(){return uu}}]),f}();t(document).on(vc,"[data-slide], [data-slide-to]",ft._dataApiClickHandler);t(window).on(ac,function(){for(var r=[].slice.call(document.querySelectorAll(fl)),i,n=0,u=r.length;n<u;n++)i=t(r[n]),ft._jQueryInterface.call(i,i.data())});t.fn[ut]=ft._jQueryInterface;t.fn[ut].Constructor=ft;t.fn[ut].noConflict=function(){return t.fn[ut]=ph,ft._jQueryInterface};var et="collapse",el="4.5.0",w="bs.collapse",ni="."+w,ol=t.fn[et],eu={toggle:!0,parent:""},sl={toggle:"boolean",parent:"(string|element)"},hl="show"+ni,cl="shown"+ni,ll="hide"+ni,al="hidden"+ni,vl="click"+ni+".data-api",b="show",ti="collapse",er="collapsing",ou="collapsed",wf="width",yl="height",pl=".show, .collapsing",bf='[data-toggle="collapse"]',ii=function(){function u(n,t){var u,r,e;for(this._isTransitioning=!1,this._element=n,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+n.id+'"],'+('[data-toggle="collapse"][data-target="#'+n.id+'"]'))),u=[].slice.call(document.querySelectorAll(bf)),r=0,e=u.length;r<e;r++){var o=u[r],f=i.getSelectorFromElement(o),s=[].slice.call(document.querySelectorAll(f)).filter(function(t){return t===n});f!==null&&s.length>0&&(this._selector=f,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var n=u.prototype;return n.toggle=function(){t(this._element).hasClass(b)?this.hide():this.show()},n.show=function(){var r=this,n,e,o,f;if(!this._isTransitioning&&!t(this._element).hasClass(b)&&(this._parent&&(n=[].slice.call(this._parent.querySelectorAll(pl)).filter(function(n){return typeof r._config.parent=="string"?n.getAttribute("data-parent")===r._config.parent:n.classList.contains(ti)}),n.length===0&&(n=null)),!n||(e=t(n).not(this._selector).data(w),!e||!e._isTransitioning))&&(o=t.Event(hl),t(this._element).trigger(o),!o.isDefaultPrevented())){n&&(u._jQueryInterface.call(t(n).not(this._selector),"hide"),e||t(n).data(w,null));f=this._getDimension();t(this._element).removeClass(ti).addClass(er);this._element.style[f]=0;this._triggerArray.length&&t(this._triggerArray).removeClass(ou).attr("aria-expanded",!0);this.setTransitioning(!0);var s=function(){t(r._element).removeClass(er).addClass(ti+" "+b);r._element.style[f]="";r.setTransitioning(!1);t(r._element).trigger(cl)},h=f[0].toUpperCase()+f.slice(1),c="scroll"+h,l=i.getTransitionDurationFromElement(this._element);t(this._element).one(i.TRANSITION_END,s).emulateTransitionEnd(l);this._element.style[f]=this._element[c]+"px"}},n.hide=function(){var s=this,u,n,f,r,e,o,h,c,l;if(!this._isTransitioning&&t(this._element).hasClass(b)&&(u=t.Event(ll),t(this._element).trigger(u),!u.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",i.reflow(this._element),t(this._element).addClass(er).removeClass(ti+" "+b),f=this._triggerArray.length,f>0)for(r=0;r<f;r++)e=this._triggerArray[r],o=i.getSelectorFromElement(e),o!==null&&(h=t([].slice.call(document.querySelectorAll(o))),h.hasClass(b)||t(e).addClass(ou).attr("aria-expanded",!1));this.setTransitioning(!0);c=function(){s.setTransitioning(!1);t(s._element).removeClass(er).addClass(ti).trigger(al)};this._element.style[n]="";l=i.getTransitionDurationFromElement(this._element);t(this._element).one(i.TRANSITION_END,c).emulateTransitionEnd(l)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){t.removeData(this._element,w);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return n=r(r({},eu),n),n.toggle=Boolean(n.toggle),i.typeCheckConfig(et,n,sl),n},n._getDimension=function(){var n=t(this._element).hasClass(wf);return n?wf:yl},n._getParent=function(){var e=this,n,r,f;return i.isElement(this._config.parent)?(n=this._config.parent,typeof this._config.parent.jquery!="undefined"&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent),r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',f=[].slice.call(n.querySelectorAll(r)),t(f).each(function(n,t){e._addAriaAndCollapsedClass(u._getTargetFromElement(t),[t])}),n},n._addAriaAndCollapsedClass=function(n,i){var r=t(n).hasClass(b);i.length&&t(i).toggleClass(ou,!r).attr("aria-expanded",r)},u._getTargetFromElement=function(n){var t=i.getSelectorFromElement(n);return t?document.querySelector(t):null},u._jQueryInterface=function(n){return this.each(function(){var f=t(this),i=f.data(w),e=r(r(r({},eu),f.data()),typeof n=="object"&&n?n:{});if(!i&&e.toggle&&typeof n=="string"&&/show|hide/.test(n)&&(e.toggle=!1),i||(i=new u(this,e),f.data(w,i)),typeof n=="string"){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n]()}})},o(u,null,[{key:"VERSION",get:function(){return el}},{key:"Default",get:function(){return eu}}]),u}();t(document).on(vl,bf,function(n){n.currentTarget.tagName==="A"&&n.preventDefault();var r=t(this),u=i.getSelectorFromElement(this),f=[].slice.call(document.querySelectorAll(u));t(f).each(function(){var n=t(this),i=n.data(w),u=i?"toggle":r.data();ii._jQueryInterface.call(n,u)})});t.fn[et]=ii._jQueryInterface;t.fn[et].Constructor=ii;t.fn[et].noConflict=function(){return t.fn[et]=ol,ii._jQueryInterface};ot=typeof window!="undefined"&&typeof document!="undefined"&&typeof navigator!="undefined";kf=function(){for(var t=["Edge","Trident","Firefox"],n=0;n<t.length;n+=1)if(ot&&navigator.userAgent.indexOf(t[n])>=0)return 1;return 0}();df=ot&&window.Promise;gf=df?wl:bl;hu=ot&&!!(window.MSInputMethodContext&&document.documentMode);cu=ot&&/MSIE 10/.test(navigator.userAgent);var gl=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},na=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),lt=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},e=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n};pe=ot&&/Firefox/i.test(navigator.userAgent);ku=["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"];hr=ku.slice(3);cr={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};var fv={shift:{order:100,enabled:!0,fn:iv},offset:{order:200,enabled:!0,fn:nv,offset:0},preventOverflow:{order:300,enabled:!0,fn:tv,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:ka},arrow:{order:500,enabled:!0,fn:pa,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:ba,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:uv},hide:{order:800,enabled:!0,fn:rv},computeStyle:{order:850,enabled:!0,fn:ya,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:la,onLoad:aa,gpuAcceleration:undefined}},ev={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:fv},d=function(){function n(t,i){var r=this,u=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},f;gl(this,n);this.scheduleUpdate=function(){return requestAnimationFrame(r.update)};this.update=gf(this.update.bind(this));this.options=e({},n.Defaults,u);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(e({},n.Defaults.modifiers,u.modifiers)).forEach(function(t){r.options.modifiers[t]=e({},n.Defaults.modifiers[t]||{},u.modifiers?u.modifiers[t]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(n){return e({name:n},r.options.modifiers[n])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){if(n.enabled&&ne(n.onLoad))n.onLoad(r.reference,r.popper,r.options,n,r.state)});this.update();f=this.options.eventsEnabled;f&&this.enableEventListeners();this.state.eventsEnabled=f}return na(n,[{key:"update",value:function(){return ua.call(this)}},{key:"destroy",value:function(){return fa.call(this)}},{key:"enableEventListeners",value:function(){return oa.call(this)}},{key:"disableEventListeners",value:function(){return ha.call(this)}}]),n}();d.Utils=(typeof window!="undefined"?window:global).PopperUtils;d.placements=ku;d.Defaults=ev;var at="dropdown",ov="4.5.0",fi="bs.dropdown",a="."+fi,du=".data-api",sv=t.fn[at],ei=27,ke=32,de=9,gu=38,nf=40,hv=3,cv=new RegExp(gu+"|"+nf+"|"+ei),ge="hide"+a,no="hidden"+a,lv="show"+a,av="shown"+a,vv="click"+a,tf="click"+a+du,to="keydown"+a+du,yv="keyup"+a+du,lr="disabled",s="show",pv="dropup",wv="dropright",bv="dropleft",io="dropdown-menu-right",kv="position-static",ar='[data-toggle="dropdown"]',rf=".dropdown-menu",dv=".navbar-nav",gv=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",ny="top-start",ty="top-end",iy="bottom-start",ry="bottom-end",uy="right-start",fy="left-start",ey={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},oy={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},y=function(){function n(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var u=n.prototype;return u.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(lr)){var i=t(this._menu).hasClass(s);(n._clearMenus(),i)||this.show(!0)}},u.show=function(r){var f;if(r===void 0&&(r=!1),!this._element.disabled&&!t(this._element).hasClass(lr)&&!t(this._menu).hasClass(s)){var e={relatedTarget:this._element},o=t.Event(lv,e),u=n._getParentFromElement(this._element);if(t(u).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar&&r){if(typeof d=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");f=this._element;this._config.reference==="parent"?f=u:i.isElement(this._config.reference)&&(f=this._config.reference,typeof this._config.reference.jquery!="undefined"&&(f=this._config.reference[0]));this._config.boundary!=="scrollParent"&&t(u).addClass(kv);this._popper=new d(f,this._menu,this._getPopperConfig())}if("ontouchstart"in document.documentElement&&t(u).closest(dv).length===0)t(document.body).children().on("mouseover",null,t.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);t(this._menu).toggleClass(s);t(u).toggleClass(s).trigger(t.Event(av,e))}}},u.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(lr)&&t(this._menu).hasClass(s)){var i={relatedTarget:this._element},r=t.Event(ge,i),u=n._getParentFromElement(this._element);(t(u).trigger(r),r.isDefaultPrevented())||(this._popper&&this._popper.destroy(),t(this._menu).toggleClass(s),t(u).toggleClass(s).trigger(t.Event(no,i)))}},u.dispose=function(){t.removeData(this._element,fi);t(this._element).off(a);this._element=null;this._menu=null;this._popper!==null&&(this._popper.destroy(),this._popper=null)},u.update=function(){this._inNavbar=this._detectNavbar();this._popper!==null&&this._popper.scheduleUpdate()},u._addEventListeners=function(){var n=this;t(this._element).on(vv,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},u._getConfig=function(n){return n=r(r(r({},this.constructor.Default),t(this._element).data()),n),i.typeCheckConfig(at,n,this.constructor.DefaultType),n},u._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(rf))}return this._menu},u._getPlacement=function(){var i=t(this._element.parentNode),n=iy;return i.hasClass(pv)?n=t(this._menu).hasClass(io)?ty:ny:i.hasClass(wv)?n=uy:i.hasClass(bv)?n=fy:t(this._menu).hasClass(io)&&(n=ry),n},u._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},u._getOffset=function(){var t=this,n={};return typeof this._config.offset=="function"?n.fn=function(n){return n.offsets=r(r({},n.offsets),t._config.offset(n.offsets,t._element)||{}),n}:n.offset=this._config.offset,n},u._getPopperConfig=function(){var n={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return this._config.display==="static"&&(n.modifiers.applyStyle={enabled:!1}),r(r({},n),this._config.popperConfig)},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(fi),u=typeof i=="object"?i:null;if(r||(r=new n(this,u),t(this).data(fi,r)),typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError('No method named "'+i+'"');r[i]()}})},n._clearMenus=function(i){var u,r,c,l,h;if(!i||i.which!==hv&&(i.type!=="keyup"||i.which===de))for(u=[].slice.call(document.querySelectorAll(ar)),r=0,c=u.length;r<c;r++){var f=n._getParentFromElement(u[r]),e=t(u[r]).data(fi),o={relatedTarget:u[r]};(i&&i.type==="click"&&(o.clickEvent=i),e)&&(l=e._menu,t(f).hasClass(s))&&(i&&(i.type==="click"&&/input|textarea/i.test(i.target.tagName)||i.type==="keyup"&&i.which===de)&&t.contains(f,i.target)||(h=t.Event(ge,o),t(f).trigger(h),h.isDefaultPrevented())||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),u[r].setAttribute("aria-expanded","false"),e._popper&&e._popper.destroy(),t(l).removeClass(s),t(f).removeClass(s).trigger(t.Event(no,o))))}},n._getParentFromElement=function(n){var t,r=i.getSelectorFromElement(n);return r&&(t=document.querySelector(r)),t||n.parentNode},n._dataApiKeydownHandler=function(i){var f,e,u,r;if((/input|textarea/i.test(i.target.tagName)?i.which!==ke&&(i.which===ei||(i.which===nf||i.which===gu)&&!t(i.target).closest(rf).length):cv.test(i.which))&&!this.disabled&&!t(this).hasClass(lr)&&(f=n._getParentFromElement(this),e=t(f).hasClass(s),e||i.which!==ei)){if(i.preventDefault(),i.stopPropagation(),!e||e&&(i.which===ei||i.which===ke)){i.which===ei&&t(f.querySelector(ar)).trigger("focus");t(this).trigger("click");return}(u=[].slice.call(f.querySelectorAll(gv)).filter(function(n){return t(n).is(":visible")}),u.length!==0)&&(r=u.indexOf(i.target),i.which===gu&&r>0&&r--,i.which===nf&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())}},o(n,null,[{key:"VERSION",get:function(){return ov}},{key:"Default",get:function(){return ey}},{key:"DefaultType",get:function(){return oy}}]),n}();t(document).on(to,ar,y._dataApiKeydownHandler).on(to,rf,y._dataApiKeydownHandler).on(tf+" "+yv,y._clearMenus).on(tf,ar,function(n){n.preventDefault();n.stopPropagation();y._jQueryInterface.call(t(this),"toggle")}).on(tf,".dropdown form",function(n){n.stopPropagation()});t.fn[at]=y._jQueryInterface;t.fn[at].Constructor=y;t.fn[at].noConflict=function(){return t.fn[at]=sv,y._jQueryInterface};var vt="modal",sy="4.5.0",oi="bs.modal",f="."+oi,hy=t.fn[vt],ro=27,uf={backdrop:!0,keyboard:!0,focus:!0,show:!0},cy={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},ly="hide"+f,ay="hidePrevented"+f,uo="hidden"+f,fo="show"+f,vy="shown"+f,vr="focusin"+f,eo="resize"+f,ff="click.dismiss"+f,oo="keydown.dismiss"+f,yy="mouseup.dismiss"+f,so="mousedown.dismiss"+f,py="click"+f+".data-api",wy="modal-dialog-scrollable",by="modal-scrollbar-measure",ky="modal-backdrop",ho="modal-open",yt="fade",yr="show",co="modal-static",dy=".modal-dialog",gy=".modal-body",np='[data-dismiss="modal"]',lo=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ao=".sticky-top",si=function(){function u(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(dy);this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._isTransitioning=!1;this._scrollbarWidth=0}var n=u.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var i=this,r;if(!this._isShown&&!this._isTransitioning&&(t(this._element).hasClass(yt)&&(this._isTransitioning=!0),r=t.Event(fo,{relatedTarget:n}),t(this._element).trigger(r),!this._isShown&&!r.isDefaultPrevented())){this._isShown=!0;this._checkScrollbar();this._setScrollbar();this._adjustDialog();this._setEscapeEvent();this._setResizeEvent();t(this._element).on(ff,np,function(n){return i.hide(n)});t(this._dialog).on(so,function(){t(i._element).one(yy,function(n){t(n.target).is(i._element)&&(i._ignoreBackdropClick=!0)})});this._showBackdrop(function(){return i._showElement(n)})}},n.hide=function(n){var e=this,r,u,f;(n&&n.preventDefault(),this._isShown&&!this._isTransitioning)&&(r=t.Event(ly),t(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented())&&(this._isShown=!1,u=t(this._element).hasClass(yt),u&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(vr),t(this._element).removeClass(yr),t(this._element).off(ff),t(this._dialog).off(so),u?(f=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,function(n){return e._hideModal(n)}).emulateTransitionEnd(f)):this._hideModal())},n.dispose=function(){[window,this._element,this._dialog].forEach(function(n){return t(n).off(f)});t(document).off(vr);t.removeData(this._element,oi);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},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(n){return n=r(r({},uf),n),i.typeCheckConfig(vt,n,cy),n},n._triggerBackdropTransition=function(){var u=this,n,r;if(this._config.backdrop==="static"){if(n=t.Event(ay),t(this._element).trigger(n),n.defaultPrevented)return;this._element.classList.add(co);r=i.getTransitionDurationFromElement(this._element);t(this._element).one(i.TRANSITION_END,function(){u._element.classList.remove(co)}).emulateTransitionEnd(r);this._element.focus()}else this.hide()},n._showElement=function(n){var r=this,f=t(this._element).hasClass(yt),e=this._dialog?this._dialog.querySelector(gy):null,o,u,s;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);t(this._dialog).hasClass(wy)&&e?e.scrollTop=0:this._element.scrollTop=0;f&&i.reflow(this._element);t(this._element).addClass(yr);this._config.focus&&this._enforceFocus();o=t.Event(vy,{relatedTarget:n});u=function(){r._config.focus&&r._element.focus();r._isTransitioning=!1;t(r._element).trigger(o)};f?(s=i.getTransitionDurationFromElement(this._dialog),t(this._dialog).one(i.TRANSITION_END,u).emulateTransitionEnd(s)):u()},n._enforceFocus=function(){var n=this;t(document).off(vr).on(vr,function(i){document!==i.target&&n._element!==i.target&&t(n._element).has(i.target).length===0&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;if(this._isShown)t(this._element).on(oo,function(t){n._config.keyboard&&t.which===ro?(t.preventDefault(),n.hide()):n._config.keyboard||t.which!==ro||n._triggerBackdropTransition()});else this._isShown||t(this._element).off(oo)},n._setResizeEvent=function(){var n=this;if(this._isShown)t(window).on(eo,function(t){return n.handleUpdate(t)});else t(window).off(eo)},n._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._element.removeAttribute("aria-modal");this._isTransitioning=!1;this._showBackdrop(function(){t(document.body).removeClass(ho);n._resetAdjustments();n._resetScrollbar();t(n._element).trigger(uo)})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var r=this,u=t(this._element).hasClass(yt)?yt:"",e,f,o;if(this._isShown&&this._config.backdrop){this._backdrop=document.createElement("div");this._backdrop.className=ky;u&&this._backdrop.classList.add(u);t(this._backdrop).appendTo(document.body);t(this._element).on(ff,function(n){if(r._ignoreBackdropClick){r._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&r._triggerBackdropTransition()});if(u&&i.reflow(this._backdrop),t(this._backdrop).addClass(yr),!n)return;if(!u){n();return}e=i.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(i.TRANSITION_END,n).emulateTransitionEnd(e)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass(yr),f=function(){r._removeBackdrop();n&&n()},t(this._element).hasClass(yt)?(o=i.getTransitionDurationFromElement(this._backdrop),t(this._backdrop).one(i.TRANSITION_END,f).emulateTransitionEnd(o)):f()):n&&n()},n._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},n._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(n.left+n.right)<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var n=this,i,r,u,f;this._isBodyOverflowing&&(i=[].slice.call(document.querySelectorAll(lo)),r=[].slice.call(document.querySelectorAll(ao)),t(i).each(function(i,r){var u=r.style.paddingRight,f=t(r).css("padding-right");t(r).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),t(r).each(function(i,r){var u=r.style.marginRight,f=t(r).css("margin-right");t(r).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),u=document.body.style.paddingRight,f=t(document.body).css("padding-right"),t(document.body).data("padding-right",u).css("padding-right",parseFloat(f)+this._scrollbarWidth+"px"));t(document.body).addClass(ho)},n._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(lo)),i,n;t(r).each(function(n,i){var r=t(i).data("padding-right");t(i).removeData("padding-right");i.style.paddingRight=r?r:""});i=[].slice.call(document.querySelectorAll(""+ao));t(i).each(function(n,i){var r=t(i).data("margin-right");typeof r!="undefined"&&t(i).css("margin-right",r).removeData("margin-right")});n=t(document.body).data("padding-right");t(document.body).removeData("padding-right");document.body.style.paddingRight=n?n:""},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=by,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},u._jQueryInterface=function(n,i){return this.each(function(){var f=t(this).data(oi),e=r(r(r({},uf),t(this).data()),typeof n=="object"&&n?n:{});if(f||(f=new u(this,e),t(this).data(oi,f)),typeof n=="string"){if(typeof f[n]=="undefined")throw new TypeError('No method named "'+n+'"');f[n](i)}else e.show&&f.show(i)})},o(u,null,[{key:"VERSION",get:function(){return sy}},{key:"Default",get:function(){return uf}}]),u}();t(document).on(py,'[data-toggle="modal"]',function(n){var f=this,u,e=i.getSelectorFromElement(this),o,s;e&&(u=document.querySelector(e));o=t(u).data(oi)?"toggle":r(r({},t(u).data()),t(this).data());(this.tagName==="A"||this.tagName==="AREA")&&n.preventDefault();s=t(u).one(fo,function(n){if(!n.isDefaultPrevented())s.one(uo,function(){t(f).is(":visible")&&f.focus()})});si._jQueryInterface.call(t(u),o,this)});t.fn[vt]=si._jQueryInterface;t.fn[vt].Constructor=si;t.fn[vt].noConflict=function(){return t.fn[vt]=hy,si._jQueryInterface};var tp=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],ip=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,rp=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;var g="tooltip",fp="4.5.0",pr="bs.tooltip",h="."+pr,ep=t.fn[g],yo="bs-tooltip",op=new RegExp("(^|\\s)"+yo+"\\S+","g"),sp=["sanitize","whiteList","sanitizeFn"],hp={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},cp={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},lp={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["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:[]},popperConfig:null},hi="show",ef="out",ap={HIDE:"hide"+h,HIDDEN:"hidden"+h,SHOW:"show"+h,SHOWN:"shown"+h,INSERTED:"inserted"+h,CLICK:"click"+h,FOCUSIN:"focusin"+h,FOCUSOUT:"focusout"+h,MOUSEENTER:"mouseenter"+h,MOUSELEAVE:"mouseleave"+h},ci="fade",li="show",vp=".tooltip-inner",yp=".arrow",ai="hover",of="focus",pp="click",wp="manual",nt=function(){function u(n,t){if(typeof d=="undefined")throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var n=u.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(n){if(this._isEnabled)if(n){var r=this.constructor.DATA_KEY,i=t(n.currentTarget).data(r);i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(li)){this._leave(null,this);return}this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout);t.removeData(this.element,this.constructor.DATA_KEY);t(this.element).off(this.constructor.EVENT_KEY);t(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler);this.tip&&t(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},n.show=function(){var n=this,u,f,h,r,e,c,o,l,s,a;if(t(this.element).css("display")==="none")throw new Error("Please use show on visible elements");if(u=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(t(this.element).trigger(u),f=i.findShadowRoot(this.element),h=t.contains(f!==null?f:this.element.ownerDocument.documentElement,this.element),u.isDefaultPrevented()||!h)return;if(r=this.getTipElement(),e=i.getUID(this.constructor.NAME),r.setAttribute("id",e),this.element.setAttribute("aria-describedby",e),this.setContent(),this.config.animation&&t(r).addClass(ci),c=typeof this.config.placement=="function"?this.config.placement.call(this,r,this.element):this.config.placement,o=this._getAttachment(c),this.addAttachmentClass(o),l=this._getContainer(),t(r).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(r).appendTo(l),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new d(this.element,r,this._getPopperConfig(o)),t(r).addClass(li),"ontouchstart"in document.documentElement)t(document.body).children().on("mouseover",null,t.noop);s=function(){n.config.animation&&n._fixTransition();var i=n._hoverState;n._hoverState=null;t(n.element).trigger(n.constructor.Event.SHOWN);i===ef&&n._leave(null,n)};t(this.tip).hasClass(ci)?(a=i.getTransitionDurationFromElement(this.tip),t(this.tip).one(i.TRANSITION_END,s).emulateTransitionEnd(a)):s()}},n.hide=function(n){var r=this,u=this.getTipElement(),f=t.Event(this.constructor.Event.HIDE),e=function(){r._hoverState!==hi&&u.parentNode&&u.parentNode.removeChild(u);r._cleanTipClass();r.element.removeAttribute("aria-describedby");t(r.element).trigger(r.constructor.Event.HIDDEN);r._popper!==null&&r._popper.destroy();n&&n()},o;(t(this.element).trigger(f),f.isDefaultPrevented())||(t(u).removeClass(li),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[pp]=!1,this._activeTrigger[of]=!1,this._activeTrigger[ai]=!1,t(this.tip).hasClass(ci)?(o=i.getTransitionDurationFromElement(u),t(u).one(i.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},n.update=function(){this._popper!==null&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){t(this.getTipElement()).addClass(yo+"-"+n)},n.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},n.setContent=function(){var n=this.getTipElement();this.setElementContent(t(n.querySelectorAll(vp)),this.getTitle());t(n).removeClass(ci+" "+li)},n.setElementContent=function(n,i){if(typeof i=="object"&&(i.nodeType||i.jquery)){this.config.html?t(i).parent().is(n)||n.empty().append(i):n.text(t(i).text());return}this.config.html?(this.config.sanitize&&(i=vo(i,this.config.whiteList,this.config.sanitizeFn)),n.html(i)):n.text(i)},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n=typeof this.config.title=="function"?this.config.title.call(this.element):this.config.title),n},n._getPopperConfig=function(n){var t=this,i={placement:n,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:yp},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){return t._handlePopperPlacementChange(n)}};return r(r({},i),this.config.popperConfig)},n._getOffset=function(){var t=this,n={};return typeof this.config.offset=="function"?n.fn=function(n){return n.offsets=r(r({},n.offsets),t.config.offset(n.offsets,t.element)||{}),n}:n.offset=this.config.offset,n},n._getContainer=function(){return this.config.container===!1?document.body:i.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},n._getAttachment=function(n){return cp[n.toUpperCase()]},n._setListeners=function(){var n=this,i=this.config.trigger.split(" ");i.forEach(function(i){if(i==="click")t(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(i!==wp){var r=i===ai?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=i===ai?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;t(n.element).on(r,n.config.selector,function(t){return n._enter(t)}).on(u,n.config.selector,function(t){return n._leave(t)})}});this._hideModalHandler=function(){n.element&&n.hide()};t(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler);this.config.selector?this.config=r(r({},this.config),{},{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||n!=="string")&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(n,i){var r=this.constructor.DATA_KEY;if(i=i||t(n.currentTarget).data(r),i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i)),n&&(i._activeTrigger[n.type==="focusin"?of:ai]=!0),t(i.getTipElement()).hasClass(li)||i._hoverState===hi){i._hoverState=hi;return}if(clearTimeout(i._timeout),i._hoverState=hi,!i.config.delay||!i.config.delay.show){i.show();return}i._timeout=setTimeout(function(){i._hoverState===hi&&i.show()},i.config.delay.show)},n._leave=function(n,i){var r=this.constructor.DATA_KEY;if(i=i||t(n.currentTarget).data(r),i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i)),n&&(i._activeTrigger[n.type==="focusout"?of:ai]=!1),!i._isWithActiveTrigger()){if(clearTimeout(i._timeout),i._hoverState=ef,!i.config.delay||!i.config.delay.hide){i.hide();return}i._timeout=setTimeout(function(){i._hoverState===ef&&i.hide()},i.config.delay.hide)}},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){var u=t(this.element).data();return Object.keys(u).forEach(function(n){sp.indexOf(n)!==-1&&delete u[n]}),n=r(r(r({},this.constructor.Default),u),typeof n=="object"&&n?n:{}),typeof n.delay=="number"&&(n.delay={show:n.delay,hide:n.delay}),typeof n.title=="number"&&(n.title=n.title.toString()),typeof n.content=="number"&&(n.content=n.content.toString()),i.typeCheckConfig(g,n,this.constructor.DefaultType),n.sanitize&&(n.template=vo(n.template,n.whiteList,n.sanitizeFn)),n},n._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},n._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(op);n!==null&&n.length&&i.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){this.tip=n.instance.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),i=this.config.animation;n.getAttribute("x-placement")===null&&(t(n).removeClass(ci),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},u._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(pr),r=typeof n=="object"&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new u(this,r),t(this).data(pr,i)),typeof n=="string")){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n]()}})},o(u,null,[{key:"VERSION",get:function(){return fp}},{key:"Default",get:function(){return lp}},{key:"NAME",get:function(){return g}},{key:"DATA_KEY",get:function(){return pr}},{key:"Event",get:function(){return ap}},{key:"EVENT_KEY",get:function(){return h}},{key:"DefaultType",get:function(){return hp}}]),u}();t.fn[g]=nt._jQueryInterface;t.fn[g].Constructor=nt;t.fn[g].noConflict=function(){return t.fn[g]=ep,nt._jQueryInterface};var pt="popover",bp="4.5.0",wr="bs.popover",c="."+wr,kp=t.fn[pt],po="bs-popover",dp=new RegExp("(^|\\s)"+po+"\\S+","g"),gp=r(r({},nt.Default),{},{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>'}),nw=r(r({},nt.DefaultType),{},{content:"(string|element|function)"}),tw="fade",iw="show",rw=".popover-header",uw=".popover-body",fw={HIDE:"hide"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,INSERTED:"inserted"+c,CLICK:"click"+c,FOCUSIN:"focusin"+c,FOCUSOUT:"focusout"+c,MOUSEENTER:"mouseenter"+c,MOUSELEAVE:"mouseleave"+c},br=function(n){function i(){return n.apply(this,arguments)||this}hs(i,n);var r=i.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(n){t(this.getTipElement()).addClass(po+"-"+n)},r.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},r.setContent=function(){var i=t(this.getTipElement()),n;this.setElementContent(i.find(rw),this.getTitle());n=this._getContent();typeof n=="function"&&(n=n.call(this.element));this.setElementContent(i.find(uw),n);i.removeClass(tw+" "+iw)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(dp);n!==null&&n.length>0&&i.removeClass(n.join(""))},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(wr),u=typeof n=="object"?n:null;if((r||!/dispose|hide/.test(n))&&(r||(r=new i(this,u),t(this).data(wr,r)),typeof n=="string")){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},o(i,null,[{key:"VERSION",get:function(){return bp}},{key:"Default",get:function(){return gp}},{key:"NAME",get:function(){return pt}},{key:"DATA_KEY",get:function(){return wr}},{key:"Event",get:function(){return fw}},{key:"EVENT_KEY",get:function(){return c}},{key:"DefaultType",get:function(){return nw}}]),i}(nt);t.fn[pt]=br._jQueryInterface;t.fn[pt].Constructor=br;t.fn[pt].noConflict=function(){return t.fn[pt]=kp,br._jQueryInterface};var tt="scrollspy",ew="4.5.0",kr="bs.scrollspy",dr="."+kr,ow=t.fn[tt],wo={offset:10,method:"auto",target:""},sw={offset:"number",method:"string",target:"(string|element)"},hw="activate"+dr,cw="scroll"+dr,lw="load"+dr+".data-api",aw="dropdown-item",it="active",vw='[data-spy="scroll"]',bo=".nav, .list-group",sf=".nav-link",yw=".nav-item",ko=".list-group-item",pw=".dropdown",ww=".dropdown-item",bw=".dropdown-toggle",kw="offset",go="position",vi=function(){function u(n,i){var r=this;this._element=n;this._scrollElement=n.tagName==="BODY"?window:n;this._config=this._getConfig(i);this._selector=this._config.target+" "+sf+","+(this._config.target+" "+ko+",")+(this._config.target+" "+ww);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;t(this._scrollElement).on(cw,function(n){return r._process(n)});this.refresh();this._process()}var n=u.prototype;return n.refresh=function(){var n=this,f=this._scrollElement===this._scrollElement.window?kw:go,r=this._config.method==="auto"?f:this._config.method,e=r===go?this._getScrollTop():0,u;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();u=[].slice.call(document.querySelectorAll(this._selector));u.map(function(n){var u,f=i.getSelectorFromElement(n),o;return(f&&(u=document.querySelector(f)),u&&(o=u.getBoundingClientRect(),o.width||o.height))?[t(u)[r]().top+e,f]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(t){n._offsets.push(t[0]);n._targets.push(t[1])})},n.dispose=function(){t.removeData(this._element,kr);t(this._scrollElement).off(dr);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},n._getConfig=function(n){if(n=r(r({},wo),typeof n=="object"&&n?n:{}),typeof n.target!="string"&&i.isElement(n.target)){var u=t(n.target).attr("id");u||(u=i.getUID(tt),t(n.target).attr("id",u));n.target="#"+u}return i.typeCheckConfig(tt,n,sw),n},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),f=this._config.offset+r-this._getOffsetHeight(),i,n,u;if(this._scrollHeight!==r&&this.refresh(),t>=f){i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i);return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(n=this._offsets.length;n--;)u=this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&(typeof this._offsets[n+1]=="undefined"||t<this._offsets[n+1]),u&&this._activate(this._targets[n])},n._activate=function(n){this._activeTarget=n;this._clear();var r=this._selector.split(",").map(function(t){return t+'[data-target="'+n+'"],'+t+'[href="'+n+'"]'}),i=t([].slice.call(document.querySelectorAll(r.join(","))));i.hasClass(aw)?(i.closest(pw).find(bw).addClass(it),i.addClass(it)):(i.addClass(it),i.parents(bo).prev(sf+", "+ko).addClass(it),i.parents(bo).prev(yw).children(sf).addClass(it));t(this._scrollElement).trigger(hw,{relatedTarget:n})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(n){return n.classList.contains(it)}).forEach(function(n){return n.classList.remove(it)})},u._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(kr),r=typeof n=="object"&&n;if(i||(i=new u(this,r),t(this).data(kr,i)),typeof n=="string"){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n]()}})},o(u,null,[{key:"VERSION",get:function(){return ew}},{key:"Default",get:function(){return wo}}]),u}();t(window).on(lw,function(){for(var r=[].slice.call(document.querySelectorAll(vw)),u=r.length,i,n=u;n--;)i=t(r[n]),vi._jQueryInterface.call(i,i.data())});t.fn[tt]=vi._jQueryInterface;t.fn[tt].Constructor=vi;t.fn[tt].noConflict=function(){return t.fn[tt]=ow,vi._jQueryInterface};var yi="tab",dw="4.5.0",gr="bs.tab",pi="."+gr,gw=t.fn[yi],nb="hide"+pi,tb="hidden"+pi,ib="show"+pi,rb="shown"+pi,ub="click"+pi+".data-api",fb="dropdown-menu",wi="active",eb="disabled",ns="fade",ts="show",ob=".dropdown",sb=".nav, .list-group",is=".active",rs="> li > .active",hb=".dropdown-toggle",cb="> .dropdown-menu .active",bi=function(){function n(n){this._element=n}var r=n.prototype;return r.show=function(){var h=this,u,n,r,f,c,e,o,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(wi)||t(this._element).hasClass(eb)||(r=t(this._element).closest(sb)[0],f=i.getSelectorFromElement(this._element),r&&(c=r.nodeName==="UL"||r.nodeName==="OL"?rs:is,n=t.makeArray(t(r).find(c)),n=n[n.length-1]),e=t.Event(nb,{relatedTarget:this._element}),o=t.Event(ib,{relatedTarget:n}),n&&t(n).trigger(e),t(this._element).trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(f&&(u=document.querySelector(f)),this._activate(this._element,r),s=function(){var i=t.Event(tb,{relatedTarget:h._element}),r=t.Event(rb,{relatedTarget:n});t(n).trigger(i);t(h._element).trigger(r)},u?this._activate(u,u.parentNode,s):s())},r.dispose=function(){t.removeData(this._element,gr);this._element=null},r._activate=function(n,r,u){var s=this,h=r&&(r.nodeName==="UL"||r.nodeName==="OL")?t(r).find(rs):t(r).children(is),f=h[0],c=u&&f&&t(f).hasClass(ns),e=function(){return s._transitionComplete(n,f,u)},o;f&&c?(o=i.getTransitionDurationFromElement(f),t(f).removeClass(ts).one(i.TRANSITION_END,e).emulateTransitionEnd(o)):e()},r._transitionComplete=function(n,r,u){var f,e,o;r&&(t(r).removeClass(wi),f=t(r.parentNode).find(cb)[0],f&&t(f).removeClass(wi),r.getAttribute("role")==="tab"&&r.setAttribute("aria-selected",!1));t(n).addClass(wi);n.getAttribute("role")==="tab"&&n.setAttribute("aria-selected",!0);i.reflow(n);n.classList.contains(ns)&&n.classList.add(ts);n.parentNode&&t(n.parentNode).hasClass(fb)&&(e=t(n).closest(ob)[0],e&&(o=[].slice.call(e.querySelectorAll(hb)),t(o).addClass(wi)),n.setAttribute("aria-expanded",!0));u&&u()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(gr);if(r||(r=new n(this),u.data(gr,r)),typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError('No method named "'+i+'"');r[i]()}})},o(n,null,[{key:"VERSION",get:function(){return dw}}]),n}();t(document).on(ub,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(n){n.preventDefault();bi._jQueryInterface.call(t(this),"show")});t.fn[yi]=bi._jQueryInterface;t.fn[yi].Constructor=bi;t.fn[yi].noConflict=function(){return t.fn[yi]=gw,bi._jQueryInterface};var wt="toast",lb="4.5.0",nu="bs.toast",ki="."+nu,ab=t.fn[wt],us="click.dismiss"+ki,vb="hide"+ki,yb="hidden"+ki,pb="show"+ki,wb="shown"+ki,bb="fade",fs="hide",di="show",es="showing",kb={animation:"boolean",autohide:"boolean",delay:"number"},os={animation:!0,autohide:!0,delay:500},db='[data-dismiss="toast"]',tu=function(){function u(n,t){this._element=n;this._config=this._getConfig(t);this._timeout=null;this._setListeners()}var n=u.prototype;return n.show=function(){var n=this,u=t.Event(pb),r,f;(t(this._element).trigger(u),u.isDefaultPrevented())||(this._config.animation&&this._element.classList.add(bb),r=function(){n._element.classList.remove(es);n._element.classList.add(di);t(n._element).trigger(wb);n._config.autohide&&(n._timeout=setTimeout(function(){n.hide()},n._config.delay))},this._element.classList.remove(fs),i.reflow(this._element),this._element.classList.add(es),this._config.animation?(f=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,r).emulateTransitionEnd(f)):r())},n.hide=function(){if(this._element.classList.contains(di)){var n=t.Event(vb);(t(this._element).trigger(n),n.isDefaultPrevented())||this._close()}},n.dispose=function(){clearTimeout(this._timeout);this._timeout=null;this._element.classList.contains(di)&&this._element.classList.remove(di);t(this._element).off(us);t.removeData(this._element,nu);this._element=null;this._config=null},n._getConfig=function(n){return n=r(r(r({},os),t(this._element).data()),typeof n=="object"&&n?n:{}),i.typeCheckConfig(wt,n,this.constructor.DefaultType),n},n._setListeners=function(){var n=this;t(this._element).on(us,db,function(){return n.hide()})},n._close=function(){var n=this,r=function(){n._element.classList.add(fs);t(n._element).trigger(yb)},u;this._element.classList.remove(di);this._config.animation?(u=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,r).emulateTransitionEnd(u)):r()},u._jQueryInterface=function(n){return this.each(function(){var r=t(this),i=r.data(nu),f=typeof n=="object"&&n;if(i||(i=new u(this,f),r.data(nu,i)),typeof n=="string"){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n](this)}})},o(u,null,[{key:"VERSION",get:function(){return lb}},{key:"DefaultType",get:function(){return kb}},{key:"Default",get:function(){return os}}]),u}();t.fn[wt]=tu._jQueryInterface;t.fn[wt].Constructor=tu;t.fn[wt].noConflict=function(){return t.fn[wt]=ab,tu._jQueryInterface};n.Alert=rt;n.Button=dt;n.Carousel=ft;n.Collapse=ii;n.Dropdown=y;n.Modal=si;n.Popover=br;n.Scrollspy=vi;n.Tab=bi;n.Toast=tu;n.Tooltip=nt;n.Util=i;Object.defineProperty(n,"__esModule",{value:!0})});$(document).ready(function(n){"use strict";n().ownmenu()});$("img[id='editProfileImg']").click(function(){$("input[id='txtUploadFile']").click()});$(".imgtext").click(function(){$("input[id='txtUploadFile']").click()});$("#txtUploadFile").on("change",function(n){var t=n.target.files,r,i,u,f,e;if(t.length>0)if(window.FormData!==undefined){for(r=new FormData,i=0;i<t.length;i++){if(u=/^image\/(gif|jpe?g|png|bmp)$/i,t[0].type.length&&!u.test(t[0].type)){alert("Please upload only jpg/jpeg/png/bmp image files");return}if(t[0].size&&t[0].size>5e4){alert("Image size should not be morethan 50 KB");return}r.append("file"+i,t[i])}$("#editProfileImg").attr("src","/CustomFileResize/userimage/default?height=150&width=150");f=$("#__AjaxAntiForgeryForm");e=$('input[name="__RequestVerificationToken"]',f).val();r.append("__RequestVerificationToken",e);date=new Date;$.ajax({type:"POST",url:"/UserProfile/UploadFile?file=null",contentType:!1,processData:!1,data:r,success:function(n){$("#editProfileImg").attr("src",n+"&"+date.getTime())},error:function(n,t,i,r){var u="Error  "+t+" "+i+" "+r;n.responseText&&n.responseText[0]=="{"&&(u=JSON.parse(n.responseText).Message);console.log(u)}})}else alert("This browser doesn't support HTML5 file uploads!")});$.fn.modal.Constructor.prototype.enforceFocus=function(){};$(document).ready(function(){});$(document).ready(function(){});$(document).ready(function(){$("#back-top").hide();$(function(){$(window).scroll(function(){$(this).scrollTop()>125?$("#back-top").fadeIn():$("#back-top").fadeOut()});$("#back-top").click(function(){return $("html, body").animate({scrollTop:0},"slow"),!1})})});$(document).ready(function(){function f(i){var r=i.touches[0].clientX;n=i.touches[0].clientX;t=i.touches[0].clientY}function e(i){if(n&&t){var e=i.touches[0].clientX,o=i.touches[0].clientY,u=n-e,f=t-o;Math.abs(u)>Math.abs(f)?u>0&&r():f>0;n=null;t=null}}function r(){$("body").removeClass("slide-open")}function u(){var n=$("#__AjaxAntiForgeryForm"),t=$('input[name="__RequestVerificationToken"]',n).val();$.ajax({url:"/notification/getcount",type:"POST",data:{__RequestVerificationToken:t},success:function(n){n!=null&&n=="0"?($("span.notification-count").hide(),$("span.n-count").hide()):($("span.notification-count").show(),$("span.n-count").show(),$(".notification-count").text(n),$(".n-count").text(n))}})}var o=$("body"),i,n,t;$("#mobile_nav").on("click",function(){$("body").toggleClass("slide-open")});$("html").on("touchstart",function(n){($(n.target).attr("id")=="mob-overlay"||$(n.target).attr("id")=="mob-header")&&$(n.target).length&&(r(),n.preventDefault())});i=document.getElementById("ch-body");i.addEventListener("touchstart",f,!1);i.addEventListener("touchmove",e,!1);n=null;t=null;$(".open-sub-menu").on("click",function(){$(this).next().toggleClass("displaySubMenu");$(this).toggleClass("mnu-rotate")});$(document).ready(function(){var n=$("#checkId").val();n&&(u(),window.setInterval(u,6e4))})});window.FontAwesomeKitConfig={asyncLoading:{enabled:!1},autoA11y:{enabled:!0},baseUrl:"https://kit-free.fontawesome.com",detectConflictsUntil:null,license:"free",method:"css",minify:{enabled:!0},v4FontFaceShim:{enabled:!0},v4shim:{enabled:!0},version:"latest"};!function(){function h(n){var t,u=[],i=document,e=i.documentElement.doScroll,f="DOMContentLoaded",r=(e?/^loaded|^c/:/^loaded|^i|^c/).test(i.readyState);r||i.addEventListener(f,t=function(){for(i.removeEventListener(f,t),r=1;t=u.shift();)t()});r?setTimeout(n,0):u.push(n)}function c(n){var r,t,u,i;prefixesArray=n||["fa"];prefixesSelectorString="."+Array.prototype.join.call(n,",.");r=document.querySelectorAll(prefixesSelectorString);Array.prototype.forEach.call(r,function(n){t=n.getAttribute("title");n.setAttribute("aria-hidden","true");u=!n.nextElementSibling||!n.nextElementSibling.classList.contains("sr-only");t&&u&&((i=document.createElement("span")).innerHTML=t,i.classList.add("sr-only"),n.parentNode.insertBefore(i,n.nextSibling))})}function i(n,t){var i=t&&t.addOn||"",r=t&&t.baseFilename||n.license+i,u=t&&t.minify?".min":"",f=t&&t.fileSuffix||n.method,e=t&&t.subdir||n.method;return n.baseUrl+"/releases/"+("latest"===n.version?"latest":"v".concat(n.version))+"/"+e+"/"+r+u+"."+f}var s,t,n,a,f,v,r,u;!function(){function u(n){for(var i=(this.el=n).className.replace(/^\s+|\s+$/g,"").split(/\s+/),t=0;t<i.length;t++)f.call(this,i[t])}if(!(void 0===window.Element||"classList"in document.documentElement)){var n,t,i,r=Array.prototype,f=r.push,e=r.splice,o=r.join;u.prototype={add:function(n){this.contains(n)||(f.call(this,n),this.el.className=this.toString())},contains:function(n){return-1!=this.el.className.indexOf(n)},item:function(n){return this[n]||null},remove:function(n){if(this.contains(n)){for(var t=0;t<this.length&&this[t]!=n;t++);e.call(this,t,1);this.el.className=this.toString()}},toString:function(){return o.call(this," ")},toggle:function(n){return this.contains(n)?this.remove(n):this.add(n),this.contains(n)}};window.DOMTokenList=u;n=Element.prototype;t="classList";i=function(){return new u(this)};Object.defineProperty?Object.defineProperty(n,t,{get:i}):n.__defineGetter__(t,i)}}();var e=function(n,t){var i=document.createElement("link");i.href=n;i.media="all";i.rel="stylesheet";t&&t.detectingConflicts&&t.detectionIgnoreAttr&&i.setAttributeNode(document.createAttribute(t.detectionIgnoreAttr));document.getElementsByTagName("head")[0].appendChild(i)},o=function(n,t){!function(n,t){function h(){i.addEventListener&&i.removeEventListener("load",h);i.media=c||"all"}var r,f=t&&t.before||void 0,c=t&&t.media||void 0,u=window.document,i=u.createElement("link"),e,o,s;(t&&t.detectingConflicts&&t.detectionIgnoreAttr&&i.setAttributeNode(document.createAttribute(t.detectionIgnoreAttr)),f)?r=f:(e=(u.body||u.getElementsByTagName("head")[0]).childNodes,r=e[e.length-1]);o=u.styleSheets;i.rel="stylesheet";i.href=n;i.media="only x",function n(t){if(u.body)return t();setTimeout(function(){n(t)})}(function(){r.parentNode.insertBefore(i,f?r:r.nextSibling)});s=function(n){for(var r=i.href,t=o.length;t--;)if(o[t].href===r)return n();setTimeout(function(){s(n)})};i.addEventListener&&i.addEventListener("load",h);(i.onloadcssdefined=s)(h)}(n,t)},l=function(n,t,i){var f=t&&void 0!==t.autoFetchSvg?t.autoFetchSvg:void 0,e=t&&void 0!==t.async?t.async:void 0,u=t&&void 0!==t.autoA11y?t.autoA11y:void 0,r=document.createElement("script"),o=document.scripts[0];r.src=n;void 0!==u&&r.setAttribute("data-auto-a11y",u?"true":"false");f&&(r.setAttributeNode(document.createAttribute("data-auto-fetch-svg")),r.setAttribute("data-fetch-svg-from",t.fetchSvgFrom));e&&r.setAttributeNode(document.createAttribute("defer"));i&&i.detectingConflicts&&i.detectionIgnoreAttr&&r.setAttributeNode(document.createAttribute(i.detectionIgnoreAttr));o.parentNode.appendChild(r)};try{window.FontAwesomeKitConfig&&(r=window.FontAwesomeKitConfig,u={detectingConflicts:r.detectConflictsUntil&&new Date<=new Date(r.detectConflictsUntil),detectionIgnoreAttr:"data-fa-detection-ignore",detectionTimeoutAttr:"data-fa-detection-timeout",detectionTimeout:null},"js"===r.method&&(a=u,f={async:(n=r).asyncLoading.enabled,autoA11y:n.autoA11y.enabled},"pro"===n.license&&(f.autoFetchSvg=!0,f.fetchSvgFrom=n.baseUrl+"/releases/"+("latest"===n.version?"latest":"v".concat(n.version))+"/svgs"),n.v4shim.enabled&&l(i(n,{addOn:"-v4-shims",minify:n.minify.enabled})),l(i(n,{minify:n.minify.enabled}),f,a)),"css"===r.method&&function(n,t){var u,f=c.bind(c,["fa","fab","fas","far","fal","fad"]),r;n.autoA11y.enabled&&(h(f),u=f,"undefined"!=typeof MutationObserver&&new MutationObserver(u).observe(document,{childList:!0,subtree:!0}));n.v4shim.enabled&&(n.license,n.asyncLoading.enabled?o(i(n,{addOn:"-v4-shims",minify:n.minify.enabled}),t):e(i(n,{addOn:"-v4-shims",minify:n.minify.enabled}),t));n.v4FontFaceShim.enabled&&(n.asyncLoading.enabled?o(i(n,{addOn:"-v4-font-face",minify:n.minify.enabled}),t):e(i(n,{addOn:"-v4-font-face",minify:n.minify.enabled}),t));r=i(n,{minify:n.minify.enabled});n.asyncLoading.enabled?o(r,t):e(r,t)}(r,u),u.detectingConflicts&&((v=document.currentScript.getAttribute(u.detectionTimeoutAttr))&&(u.detectionTimeout=v),document.currentScript.setAttributeNode(document.createAttribute(u.detectionIgnoreAttr)),s=r,t=u,h(function(){var n=document.createElement("script");t&&t.detectionIgnoreAttr&&n.setAttributeNode(document.createAttribute(t.detectionIgnoreAttr));t&&t.detectionTimeoutAttr&&t.detectionTimeout&&n.setAttribute(t.detectionTimeoutAttr,t.detectionTimeout);n.src=i(s,{baseFilename:"conflict-detection",fileSuffix:"js",subdir:"js",minify:s.minify.enabled});n.async=!0;document.body.appendChild(n)})))}catch(l){}}()