1!function(){"use strict";var e={d:function(t,n){for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{afterMain:function(){return w},afterRead:function(){return _},afterWrite:function(){return C},applyStyles:function(){return N},arrow:function(){return Y},auto:function(){return r},basePlacements:function(){return a},beforeMain:function(){return b},beforeRead:function(){return g},beforeWrite:function(){return E},bottom:function(){return i},clippingParents:function(){return u},computeStyles:function(){return te},createPopper:function(){return Le},createPopperBase:function(){return Oe},createPopperLite:function(){return Ne},detectOverflow:function(){return ge},end:function(){return c},eventListeners:function(){return ie},flip:function(){return ve},hide:function(){return ye},left:function(){return s},main:function(){return y},modifierPhases:function(){return T},offset:function(){return we},placements:function(){return m},popper:function(){return p},popperGenerator:function(){return ke},popperOffsets:function(){return Ee},preventOverflow:function(){return Ae},read:function(){return v},reference:function(){return h},right:function(){return o},start:function(){return l},top:function(){return n},variationPlacements:function(){return f},viewport:function(){return d},write:function(){return A}});var n="top",i="bottom",o="right",s="left",r="auto",a=[n,i,o,s],l="start",c="end",u="clippingParents",d="viewport",p="popper",h="reference",f=a.reduce((function(e,t){return e.concat([t+"-"+l,t+"-"+c])}),[]),m=[].concat(a,[r]).reduce((function(e,t){return e.concat([t,t+"-"+l,t+"-"+c])}),[]),g="beforeRead",v="read",_="afterRead",b="beforeMain",y="main",w="afterMain",E="beforeWrite",A="write",C="afterWrite",T=[g,v,_,b,y,w,E,A,C];function x(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function k(e){return e instanceof S(e).Element||e instanceof Element}function O(e){return e instanceof S(e).HTMLElement||e instanceof HTMLElement}function L(e){return"undefined"!=typeof ShadowRoot&&(e instanceof S(e).ShadowRoot||e instanceof ShadowRoot)}var N={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},o=t.elements[e];
vendor: 8,946 bytes, line 1
1O(o)&&x(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],o=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});O(i)&&x(i)&&(Object.assign(i.style,s),Object.keys(o).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function I(e){return e.split("-")[0]}var D=Math.max,$=Math.min,M=Math.round;function P(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function F(){return!/^((?!chrome|android).)*safari/i.test(P())}function j(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),o=1,s=1;t&&O(e)&&(o=e.offsetWidth>0&&M(i.width)/e.offsetWidth||1,s=e.offsetHeight>0&&M(i.height)/e.offsetHeight||1);var r=(k(e)?S(e):window).visualViewport,a=!F()&&n,l=(i.left+(a&&r?r.offsetLeft:0))/o,c=(i.top+(a&&r?r.offsetTop:0))/s,u=i.width/o,d=i.height/s;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function B(e){var t=j(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function q(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&L(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function H(e){return S(e).getComputedStyle(e)}function R(e){return["table","td","th"].indexOf(x(e))>=0}function z(e){return((k(e)?e.ownerDocument:e.document)||window.document).documentElement}function W(e){return"html"===x(e)?e:e.assignedSlot||e.parentNode||(L(e)?e.host:null)||z(e)}function V(e){return O(e)&&"fixed"!==H(e).position?e.offsetParent:null}function K(e){for(var t=S(e),n=V(e);n&&R(n)&&"static"===H(n).position;)n=V(n);return n&&("html"===x(n)||"body"===x(n)&&"static"===H(n).position)?t:n||function(e){var t=/firefox/i.test(P());if(/Trident/i.test(P())&&O(e)&&"fixed"===H(e).position)return null;var n=W(e);for(L(n)&&(n=n.host);O(n)&&["html","body"].indexOf(x(n))<0;){var i=H(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function G(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function U(e,t,n){return D(e,$(t,n))}function J(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function X(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Y={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,l=e.name,c=e.options,u=r.elements.arrow,d=r.modifiersData.popperOffsets,p=I(r.placement),h=G(p),f=[s,o].indexOf(p)>=0?"height":"width";if(u&&d){var m=function(e,t){return J("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:X(e,a))}(c.padding,r),g=B(u),v="y"===h?n:s,_="y"===h?i:o,b=r.rects.reference[f]+r.rects.reference[h]-d[h]-r.rects.popper[f],y=d[h]-r.rects.reference[h],w=K(u),E=w?"y"===h?w.clientHeight||0:w.clientWidth||0:0,A=b/2-y/2,C=m[v],T=E-g[f]-m[_],x=E/2-g[f]/2+A,S=U(C,x,T),k=h;r.modifiersData[l]=((t={})[k]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&q(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Q(e){return e.split("-")[1]}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var t,r=e.popper,a=e.popperRect,l=e.placement,u=e.variation,d=e.offsets,p=e.position,h=e.gpuAcceleration,f=e.adaptive,m=e.roundOffsets,g=e.isFixed,v=d.x,_=void 0===v?0:v,b=d.y,y=void 0===b?0:b,w="function"==typeof m?m({x:_,y:y}):{x:_,y:y};_=w.x,y=w.y;var E=d.hasOwnProperty("x"),A=d.hasOwnProperty("y"),C=s,T=n,x=window;if(f){var k=K(r),O="clientHeight",L="clientWidth";k===S(r)&&"static"!==H(k=z(r)).position&&"absolute"===p&&(O="scrollHeight",L="scrollWidth"),(l===n||(l===s||l===o)&&u===c)&&(T=i,y-=(g&&k===x&&x.visualViewport?x.visualViewport.height:k[O])-a.height,y*=h?1:-1),l!==s&&(l!==n&&l!==i||u!==c)||(C=o,_-=(g&&k===x&&x.visualViewport?x.visualViewport.width:k[L])-a.width,_*=h?1:-1)}var N,I=Object.assign({position:p},f&&Z),D=!0===m?function(e,t){var n=e.x,i=e.y,o=t.devicePixelRatio||1;return{x:M(n*o)/o||0,y:M(i*o)/o||0}}({x:_,y:y},S(r)):{x:_,y:y};return _=D.x,y=D.y,h?Object.assign({},I,((N={})[T]=A?"0":"",N[C]=E?"0":"",N.transform=(x.devicePixelRatio||1)<=1?"translate("+_+"px, "+y+"px)":"translate3d("+_+"px, "+y+"px, 0)",N)):Object.assign({},I,((t={})[T]=A?y+"px":"",t[C]=E?_+"px":"",t.transform="",t))}var te={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=void 0===i||i,s=n.adaptive,r=void 0===s||s,a=n.roundOffsets,l=void 0===a||a,c={placement:I(t.placement),variation:Q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ee(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ee(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ne={passive:!0},ie={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,s=void 0===o||o,r=i.resize,a=void 0===r||r,l=S(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach((function(e){e.addEventListener("scroll",n.update,ne)})),a&&l.addEventListener("resize",n.update,ne),function(){s&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ne)})),a&&l.removeEventListener("resize",n.update,ne)}},data:{}},oe={left:"right",right:"left",bottom:"top",top:"bottom"};function se(e){return e.replace(/left|right|bottom|top/g,(function(e){return oe[e]}))}var re={start:"end",end:"start"};function ae(e){return e.replace(/start|end/g,(function(e){return re[e]}))}function le(e){var t=S(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ce(e){return j(z(e)).left+le(e).scrollLeft}function ue(e){var t=H(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function de(e){return["html","body","#document"].indexOf(x(e))>=0?e.ownerDocument.body:O(e)&&ue(e)?e:de(W(e))}function pe(e,t){var n;void 0===t&&(t=[]);var i=de(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),s=S(i),r=o?[s].concat(s.visualViewport||[],ue(i)?i:[]):i,a=t.concat(r);return o?a:a.concat(pe(W(r)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function fe(e,t,n){return t===d?he(function(e,t){var n=S(e),i=z(e),o=n.visualViewport,s=i.clientWidth,r=i.clientHeight,a=0,l=0;if(o){s=o.width,r=o.height;var c=F();(c||!c&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:r,x:a+ce(e),y:l}}(e,n)):k(t)?function(e,t){var n=j(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):he(function(e){var t,n=z(e),i=le(e),o=null==(t=e.ownerDocument)?void 0:t.body,s=D(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),r=D(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+ce(e),l=-i.scrollTop;return"rtl"===H(o||n).direction&&(a+=D(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:r,x:a,y:l}}(z(e)))}function me(e){var t,r=e.reference,a=e.element,u=e.placement,d=u?I(u):null,p=u?Q(u):null,h=r.x+r.width/2-a.width/2,f=r.y+r.height/2-a.height/2;switch(d){case n:t={x:h,y:r.y-a.height};break;case i:t={x:h,y:r.y+r.height};break;case o:t={x:r.x+r.width,y:f};break;case s:t={x:r.x-a.width,y:f};break;default:t={x:r.x,y:r.y}}var m=d?G(d):null;if(null!=m){var g="y"===m?"height":"width";switch(p){case l:t[m]=t[m]-(r[g]/2-a[g]/2);break;case c:t[m]=t[m]+(r[g]/2-a[g]/2)}}return t}function ge(e,t){void 0===t&&(t={});var s=t,r=s.placement,l=void 0===r?e.placement:r,c=s.strategy,f=void 0===c?e.
vendor: 5,541 bytes, line 1
1strategy:c,m=s.boundary,g=void 0===m?u:m,v=s.rootBoundary,_=void 0===v?d:v,b=s.elementContext,y=void 0===b?p:b,w=s.altBoundary,E=void 0!==w&&w,A=s.padding,C=void 0===A?0:A,T=J("number"!=typeof C?C:X(C,a)),S=y===p?h:p,L=e.rects.popper,N=e.elements[E?S:y],I=function(e,t,n,i){var o="clippingParents"===t?function(e){var t=pe(W(e)),n=["absolute","fixed"].indexOf(H(e).position)>=0&&O(e)?K(e):e;return k(n)?t.filter((function(e){return k(e)&&q(e,n)&&"body"!==x(e)})):[]}(e):[].concat(t),s=[].concat(o,[n]),r=s[0],a=s.reduce((function(t,n){var o=fe(e,n,i);return t.top=D(o.top,t.top),t.right=$(o.right,t.right),t.bottom=$(o.bottom,t.bottom),t.left=D(o.left,t.left),t}),fe(e,r,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(k(N)?N:N.contextElement||z(e.elements.popper),g,_,f),M=j(e.elements.reference),P=me({reference:M,element:L,strategy:"absolute",placement:l}),F=he(Object.assign({},L,P)),B=y===p?F:M,R={top:I.top-B.top+T.top,bottom:B.bottom-I.bottom+T.bottom,left:I.left-B.left+T.left,right:B.right-I.right+T.right},V=e.modifiersData.offset;if(y===p&&V){var G=V[l];Object.keys(R).forEach((function(e){var t=[o,i].indexOf(e)>=0?1:-1,s=[n,i].indexOf(e)>=0?"y":"x";R[e]+=G[s]*t}))}return R}var ve={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,c=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var d=c.mainAxis,p=void 0===d||d,h=c.altAxis,g=void 0===h||h,v=c.fallbackPlacements,_=c.padding,b=c.boundary,y=c.rootBoundary,w=c.altBoundary,E=c.flipVariations,A=void 0===E||E,C=c.allowedAutoPlacements,T=t.options.placement,x=I(T),S=v||(x!==T&&A?function(e){if(I(e)===r)return[];var t=se(e);return[ae(e),t,ae(t)]}(T):[se(T)]),k=[T].concat(S).reduce((function(e,n){return e.concat(I(n)===r?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=n.boundary,s=n.rootBoundary,r=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?m:c,d=Q(i),p=d?l?f:f.filter((function(e){return Q(e)===d})):a,h=p.filter((function(e){return u.indexOf(e)>=0}));0===h.length&&(h=p);var g=h.reduce((function(t,n){return t[n]=ge(e,{placement:n,boundary:o,rootBoundary:s,padding:r})[I(n)],t}),{});return Object.keys(g).sort((function(e,t){return g[e]-g[t]}))}(t,{placement:n,boundary:b,rootBoundary:y,padding:_,flipVariations:A,allowedAutoPlacements:C}):n)}),[]),O=t.rects.reference,L=t.rects.popper,N=new Map,D=!0,$=k[0],M=0;M<k.length;M++){var P=k[M],F=I(P),j=Q(P)===l,B=[n,i].indexOf(F)>=0,q=B?"width":"height",H=ge(t,{placement:P,boundary:b,rootBoundary:y,altBoundary:w,padding:_}),R=B?j?o:s:j?i:n;O[q]>L[q]&&(R=se(R));var z=se(R),W=[];if(p&&W.push(H[F]<=0),g&&W.push(H[R]<=0,H[z]<=0),W.every((function(e){return e}))){$=P,D=!1;break}N.set(P,W)}if(D)for(var V=function(e){var t=k.find((function(t){var n=N.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return $=t,"break"},K=A?3:1;K>0&&"break"!==V(K);K--);t.placement!==$&&(t.modifiersData[u]._skip=!0,t.placement=$,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function _e(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function be(e){return[n,o,i,s].some((function(t){return e[t]>=0}))}var ye={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,r=ge(t,{elementContext:"reference"}),a=ge(t,{altBoundary:!0}),l=_e(r,i),c=_e(a,o,s),u=be(l),d=be(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},we={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,r=e.name,a=i.offset,l=void 0===a?[0,0]:a,c=m.reduce((function(e,i){return e[i]=function(e,t,i){var r=I(e),a=[s,n].indexOf(r)>=0?-1:1,l="function"==typeof i?i(Object.assign({},t,{placement:e})):i,c=l[0],u=l[1];return c=c||0,u=(u||0)*a,[s,o].indexOf(r)>=0?{x:u,y:c}:{x:c,y:u}}(i,t.rects,l),e}),{}),u=c[t.placement],d=u.x,p=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=c}},Ee={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=me({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Ae={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,a=e.name,c=r.mainAxis,u=void 0===c||c,d=r.altAxis,p=void 0!==d&&d,h=r.boundary,f=r.rootBoundary,m=r.altBoundary,g=r.padding,v=r.tether,_=void 0===v||v,b=r.tetherOffset,y=void 0===b?0:b,w=ge(t,{boundary:h,rootBoundary:f,padding:g,altBoundary:m}),E=I(t.placement),A=Q(t.placement),C=!A,T=G(E),x="x"===T?"y":"x",S=t.modifiersData.popperOffsets,k=t.rects.reference,O=t.rects.popper,L="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,N="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(u){var F,j="y"===T?n:s,q="y"===T?i:o,H="y"===T?"height":"width",R=S[T],z=R+w[j],W=R-w[q],V=_?-O[H]/2:0,J=A===l?k[H]:O[H],X=A===l?-O[H]:-k[H],Y=t.elements.arrow,Z=_&&Y?B(Y):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0}
vendor: 14,214 bytes, line 1
1,te=ee[j],ne=ee[q],ie=U(0,k[H],Z[H]),oe=C?k[H]/2-V-ie-te-N.mainAxis:J-ie-te-N.mainAxis,se=C?-k[H]/2+V+ie+ne+N.mainAxis:X+ie+ne+N.mainAxis,re=t.elements.arrow&&K(t.elements.arrow),ae=re?"y"===T?re.clientTop||0:re.clientLeft||0:0,le=null!=(F=null==M?void 0:M[T])?F:0,ce=R+se-le,ue=U(_?$(z,R+oe-le-ae):z,R,_?D(W,ce):W);S[T]=ue,P[T]=ue-R}if(p){var de,pe="x"===T?n:s,he="x"===T?i:o,fe=S[x],me="y"===x?"height":"width",ve=fe+w[pe],_e=fe-w[he],be=-1!==[n,s].indexOf(E),ye=null!=(de=null==M?void 0:M[x])?de:0,we=be?ve:fe-k[me]-O[me]-ye+N.altAxis,Ee=be?fe+k[me]+O[me]-ye-N.altAxis:_e,Ae=_&&be?function(e,t,n){var i=U(e,t,n);return i>n?n:i}(we,fe,Ee):U(_?we:ve,fe,_?Ee:_e);S[x]=Ae,P[x]=Ae-fe}t.modifiersData[a]=P}},requiresIfExists:["offset"]};function Ce(e,t,n){void 0===n&&(n=!1);var i,o,s=O(t),r=O(t)&&function(e){var t=e.getBoundingClientRect(),n=M(t.width)/e.offsetWidth||1,i=M(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=z(t),l=j(e,r,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(s||!s&&!n)&&(("body"!==x(t)||ue(a))&&(c=(i=t)!==S(i)&&O(i)?{scrollLeft:(o=i).scrollLeft,scrollTop:o.scrollTop}:le(i)),O(t)?((u=j(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=ce(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Te(e){var t=new Map,n=new Set,i=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&o(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),i}var xe={placement:"bottom",modifiers:[],strategy:"absolute"};function Se(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function ke(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,o=t.defaultOptions,s=void 0===o?xe:o;return function(e,t,n){void 0===n&&(n=s);var o,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},xe,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var o="function"==typeof n?n(a.options):n;d(),a.options=Object.assign({},s,a.options,o),a.scrollParents={reference:k(e)?pe(e):e.contextElement?pe(e.contextElement):[],popper:pe(t)};var r,c,p=function(e){var t=Te(e);return T.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((r=[].concat(i,a.options.modifiers),c=r.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return a.orderedModifiers=p.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var s=o({state:a,name:t,instance:u,options:i});l.push(s||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(Se(t,n)){a.rects={reference:Ce(t,K(n),"fixed"===a.options.strategy),popper:B(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var o=a.orderedModifiers[i],s=o.fn,r=o.options,l=void 0===r?{}:r,d=o.name;"function"==typeof s&&(a=s({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return r||(r=new Promise((function(e){Promise.resolve().then((function(){r=void 0,e(o())}))}))),r}),destroy:function(){d(),c=!0}};if(!Se(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Oe=ke(),Le=ke({defaultModifiers:[ie,Ee,te,N,we,ve,Ae,Y,ye]}),Ne=ke({defaultModifiers:[ie,Ee,te,N]});const Ie=new Map,De={set(e,t,n){Ie.has(e)||Ie.set(e,new Map);const i=Ie.get(e);i.has(t)||0===i.size?i.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get(e,t){return Ie.has(e)&&Ie.get(e).get(t)||null},remove(e,t){if(!Ie.has(e))return;const n=Ie.get(e);n.delete(t),0===n.size&&Ie.delete(e)}},$e="transitionend",Me=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),Pe=e=>{e.dispatchEvent(new Event($e))},Fe=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),je=e=>Fe(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(Me(e)):null,Be=e=>{if(!Fe(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},qe=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),He=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?He(e.parentNode):null},Re=()=>{},ze=e=>{e.offsetHeight},We=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ve=[],Ke=()=>"rtl"===document.documentElement.dir,Ge=e=>{var t;t=()=>{const t=We();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}},"loading"===document.readyState?(Ve.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of Ve)e()})),Ve.push(t)):t()},Ue=(e,t=[],n=e)=>"function"==typeof e?e(...t):n,Je=(e,t,n=!0)=>{if(!n)return void Ue(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),o=Number.parseFloat(n);return i||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let o=!1;const s=({target:n})=>{n===t&&(o=!0,t.removeEventListener($e,s),Ue(e))};t.addEventListener($e,s),setTimeout((()=>{o||Pe(t)}),i)},Xe=(e,t,n,i)=>{const o=e.length;let s=e.indexOf(t);return-1===s?!n&&i?e[o-1]:e[0]:(s+=n?1:-1,i&&(s=(s+o)%o),e[Math.max(0,Math.min(s,o-1))])},Ye=/[^.]*(?=\..*)\.|.*/,Qe=/\..*/,Ze=/::\d+$/,et={};let tt=1;const nt={mouseenter:"mouseover",mouseleave:"mouseout"},it=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ot(e,t){return t&&`${t}::${tt++}`||e.uidEvent||tt++}function st(e){const t=ot(e);return e.uidEvent=t,et[t]=et[t]||{},et[t]}function rt(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function at(e,t,n){const i="string"==typeof t,o=i?n:t||n;let s=dt(e);return it.has(s)||(s=e),[i,o,s]}function lt(e,t,n,i,o){if("string"!=typeof t||!e)return;let[s,r,a]=at(t,n,i);if(t in nt){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};r=e(r)}const l=st(e),c=l[a]||(l[a]={}),u=rt(c,r,s?n:null);if(u)return void(u.oneOff=u.oneOff&&o);const d=ot(r,t.replace(Ye,"")),p=s?function(e,t,n){return function i(o){const s=e.querySelectorAll(t);for(let{target:r}=o;r&&r!==this;r=r.parentNode)for(const a of s)if(a===r)return ht(o,{delegateTarget:r}),i.oneOff&&pt.off(e,o.type,t,n),n.apply(r,[o])}}(e,n,r):function(e,t){return function n(i){return ht(i,{delegateTarget:e}),n.oneOff&&pt.off(e,i.type,t),t.apply(e,[i])}}(e,r);p.delegationSelector=s?n:null,p.callable=r,p.oneOff=o,p.uidEvent=d,c[d]=p,e.addEventListener(a,p,s)}function ct(e,t,n,i,o){const s=rt(t[n],i,o);s&&(e.removeEventListener(n,s,Boolean(o)),delete t[n][s.uidEvent])}function ut(e,t,n,i){const o=t[n]||{};for(const[s,r]of Object.entries(o))s.includes(i)&&ct(e,t,n,r.callable,r.delegationSelector)}function dt(e){return e=e.replace(Qe,""),nt[e]||e}const pt={on(e,t,n,i){lt(e,t,n,i,!1)},one(e,t,n,i){lt(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[o,s,r]=at(t,n,i),a=r!==t,l=st(e),c=l[r]||{},u=t.startsWith(".");if(void 0===s){if(u)for(const n of Object.keys(l))ut(e,l,n,t.slice(1));for(const[n,i]of Object.entries(c)){const o=n.replace(Ze,"");a&&!t.includes(o)||ct(e,l,r,i.callable,i.delegationSelector)}}else{if(!Object.keys(c).length)return;ct(e,l,r,s,o?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=We();let o=null,s=!0,r=!0,a=!1;t!==dt(t)&&i&&(o=i.Event(t,n),i(e).trigger(o),s=!o.isPropagationStopped(),r=!o.isImmediatePropagationStopped(),a=o.isDefaultPrevented());const l=ht(new Event(t,{bubbles:s,cancelable:!0}),n);return a&&l.preventDefault(),r&&e.dispatchEvent(l),l.defaultPrevented&&o&&o.preventDefault(),l}};function ht(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch(t){Object.defineProperty(e,n,{configurable:!0,get(){return i}})}return e}function ft(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function mt(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const gt={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${mt(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${mt(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const i of n){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=ft(e.dataset[i])}return t},getDataAttribute(e,t){return ft(e.getAttribute(`data-bs-${mt(t)}`))}};class vt{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=Fe(t)?gt.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...Fe(t)?gt.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[i,o]of Object.entries(t)){const t=e[i],s=Fe(t)?"element":null==(n=t)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${s}" but expected type "${o}".`)}var n}}class _t extends vt{constructor(e,t){super(),(e=je(e))&&(this._element=e,this._config=this._getConfig(t),De.set(this._element,this.constructor.DATA_KEY,this))}dispose(){De.remove(this._element,this.constructor.DATA_KEY),pt.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){Je(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return De.get(je(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.1"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const bt=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return Me(t)},yt={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter((e=>e.matches(t)))},parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!qe(e)&&Be(e)))},getSelectorFromElement(e){const t=bt(e);return t&&yt.findOne(t)?t:null},getElementFromSelector(e){const t=bt(e);return t?yt.findOne(t):null},getMultipleElementsFromSelector(e){const t=bt(e);return t?yt.find(t):[]}},wt=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;pt.on(document,n,`[data-bs-dismiss="${i}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),qe(this))return;const o=yt.getElementFromSelector(this)||this.closest(`.${i}`);e.getOrCreateInstance(o)[t]()}))},Et=".bs.alert",At=`close${Et}`,Ct=`closed${Et}`;class Tt extends _t{static get NAME(){return"alert"}close(){if(pt.trigger(this._element,At).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),pt.trigger(this._element,Ct),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=Tt.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method n
1amed "${e}"`);t[e](this)}}))}}wt(Tt,"close"),Ge(Tt);const xt='[data-bs-toggle="button"]';class St extends _t{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=St.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}pt.on(document,"click.bs.button.data-api",xt,(e=>{e.preventDefault();const t=e.target.closest(xt);St.getOrCreateInstance(t).toggle()})),Ge(St);const kt=".bs.swipe",Ot=`touchstart${kt}`,Lt=`touchmove${kt}`,Nt=`touchend${kt}`,It=`pointerdown${kt}`,Dt=`pointerup${kt}`,$t={endCallback:null,leftCallback:null,rightCallback:null},Mt={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Pt extends vt{constructor(e,t){super(),this._element=e,e&&Pt.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return $t}static get DefaultType(){return Mt}static get NAME(){return"swipe"}dispose(){pt.off(this._element,kt)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Ue(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&Ue(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(pt.on(this._element,It,(e=>this._start(e))),pt.on(this._element,Dt,(e=>this._end(e))),this._element.classList.add("pointer-event")):(pt.on(this._element,Ot,(e=>this._start(e))),pt.on(this._element,Lt,(e=>this._move(e))),pt.on(this._element,Nt,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Ft=".bs.carousel",jt=".data-api",Bt="next",qt="prev",Ht="left",Rt="right",zt=`slide${Ft}`,Wt=`slid${Ft}`,Vt=`keydown${Ft}`,Kt=`mouseenter${Ft}`,Gt=`mouseleave${Ft}`,Ut=`dragstart${Ft}`,Jt=`load${Ft}${jt}`,Xt=`click${Ft}${jt}`,Yt="carousel",Qt="active",Zt=".active",en=".carousel-item",tn=Zt+en,nn={ArrowLeft:Rt,ArrowRight:Ht},on={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},sn={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class rn extends _t{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=yt.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===Yt&&this.cycle()}static get Default(){return on}static get DefaultType(){return sn}static get NAME(){return"carousel"}next(){this._slide(Bt)}nextWhenVisible(){!document.hidden&&Be(this._element)&&this.next()}prev(){this._slide(qt)}pause(){this._isSliding&&Pe(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?pt.one(this._element,Wt,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void pt.one(this._element,Wt,(()=>this.to(e)));const n=this._getItemIndex(this._getActive());if(n===e)return;const i=e>n?Bt:qt;this._slide(i,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&pt.on(this._element,Vt,(e=>this._keydown(e))),"hover"===this._config.pause&&(pt.on(this._element,Kt,(()=>this.pause())),pt.on(this._element,Gt,(()=>this._maybeEnableCycle()))),this._config.touch&&Pt.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of yt.find(".carousel-item img",this._element))pt.on(e,
vendor: 8,023 bytes, line 1
1Ut,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(Ht)),rightCallback:()=>this._slide(this._directionToOrder(Rt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new Pt(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=nn[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=yt.findOne(Zt,this._indicatorsElement);t.classList.remove(Qt),t.removeAttribute("aria-current");const n=yt.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(Qt),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const n=this._getActive(),i=e===Bt,o=t||Xe(this._getItems(),n,i,this._config.wrap);if(o===n)return;const s=this._getItemIndex(o),r=t=>pt.trigger(this._element,t,{relatedTarget:o,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:s});if(r(zt).defaultPrevented)return;if(!n||!o)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=o;const l=i?"carousel-item-start":"carousel-item-end",c=i?"carousel-item-next":"carousel-item-prev";o.classList.add(c),ze(o),n.classList.add(l),o.classList.add(l),this._queueCallback((()=>{o.classList.remove(l,c),o.classList.add(Qt),n.classList.remove(Qt,c,l),this._isSliding=!1,r(Wt)}),n,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return yt.findOne(tn,this._element)}_getItems(){return yt.find(en,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Ke()?e===Ht?qt:Bt:e===Ht?Bt:qt}_orderToDirection(e){return Ke()?e===qt?Ht:Rt:e===qt?Rt:Ht}static jQueryInterface(e){return this.each((function(){const t=rn.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}pt.on(document,Xt,"[data-bs-slide], [data-bs-slide-to]",(function(e){const t=yt.getElementFromSelector(this);if(!t||!t.classList.contains(Yt))return;e.preventDefault();const n=rn.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");return i?(n.to(i),void n._maybeEnableCycle()):"next"===gt.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),pt.on(window,Jt,(()=>{const e=yt.find('[data-bs-ride="carousel"]');for(const t of e)rn.getOrCreateInstance(t)})),Ge(rn);const an=".bs.collapse",ln=`show${an}`,cn=`shown${an}`,un=`hide${an}`,dn=`hidden${an}`,pn=`click${an}.data-api`,hn="show",fn="collapse",mn="collapsing",gn=`:scope .${fn} .${fn}`,vn='[data-bs-toggle="collapse"]',bn={parent:null,toggle:!0},yn={parent:"(null|element)",toggle:"boolean"};class wn extends _t{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=yt.find(vn);for(const e of n){const t=yt.getSelectorFromElement(e),n=yt.find(t).filter((e=>e===this._element));null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return bn}static get DefaultType(){return yn}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>wn.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(pt.trigger(this._element,ln).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(fn),this._element.classList.add(mn),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(mn),this._element.classList.add(fn,hn),this._element.style[t]="",pt.trigger(this._element,cn)}),this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(pt.trigger(this._element,un).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,ze(this._element),this._element.classList.add(mn),this._element.classList.remove(fn,hn);for(const e of this._triggerArray){const t=yt.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(mn),this._element.classList.add(fn),pt.trigger(this._element,dn)}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(hn)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=je(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(vn);for(const t of e){const e=yt.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=yt.find(gn,this._config.parent);return yt.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=wn.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}pt.on(document,pn,vn,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of yt.getMultipleElementsFromSelector(this))wn.getOrCreateInstance(e,{toggle:!1}).toggle()})),Ge(wn);const En="dropdown",An=".bs.dropdown",Cn=".data-api",Tn="ArrowUp",xn="ArrowDown",Sn=`hide${An}`,kn=`hidden${An}`,On=`show${An}`,Ln=`shown${An}`,Nn=`click${An}${Cn}`,In=`keydown${An}${Cn}`,Dn=`keyup${An}${Cn}`,$n="show",Mn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Pn=`${Mn}.${$n}`,Fn=".dropdown-menu",jn=Ke()?"top-end":"top-start",Bn=Ke()?"top-start":"top-end",qn=Ke()?"bottom-end":"bottom-start",Hn=Ke()?"bottom-start":"bottom-end",Rn=Ke()?"left-start":"right-start",zn=Ke()?"right-start":"left-start",Wn={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Vn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Kn extends _t{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=yt.next(this._element,Fn)[0]||yt.prev(this._element,Fn)[0]||yt.findOne(Fn,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Wn}static get DefaultType(){return Vn}static get NAME(){return En}toggle(){return this._isShown()?this.hide():this.show()}show(){if(qe(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!pt.trigger(this._element,On,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".
1navbar-nav"))for(const e of[].concat(...document.body.children))pt.on(e,"mouseover",Re);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add($n),this._element.classList.add($n),pt.trigger(this._element,Ln,e)}}hide(){if(qe(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!pt.trigger(this._element,Sn,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))pt.off(e,"mouseover",Re);this._popper&&this._popper.destroy(),this._menu.classList.remove($n),this._element.classList.remove($n),this._element.setAttribute("aria-expanded","false"),gt.removeDataAttribute(this._menu,"popper"),pt.trigger(this._element,kn,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!Fe(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${En.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===t)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:Fe(this._config.reference)?e=je(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const n=this._getPopperConfig();this._popper=Le(e,this._menu,n)}_isShown(){return this._menu.classList.contains($n)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return Rn;if(e.classList.contains("dropstart"))return zn;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?Bn:jn:t?Hn:qn}
vendor: 24,964 bytes, line 1
1_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(gt.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Ue(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const n=yt.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>Be(e)));n.length&&Xe(n,t,e===xn,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=Kn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=yt.find(Pn);for(const n of t){const t=Kn.getInstance(n);if(!t||!1===t._config.autoClose)continue;const i=e.composedPath(),o=i.includes(t._menu);if(i.includes(t._element)||"inside"===t._config.autoClose&&!o||"outside"===t._config.autoClose&&o)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const s={relatedTarget:t._element};"click"===e.type&&(s.clickEvent=e),t._completeHide(s)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,i=[Tn,xn].includes(e.key);if(!i&&!n)return;if(t&&!n)return;e.preventDefault();const o=this.matches(Mn)?this:yt.prev(this,Mn)[0]||yt.next(this,Mn)[0]||yt.findOne(Mn,e.delegateTarget.parentNode),s=Kn.getOrCreateInstance(o);if(i)return e.stopPropagation(),s.show(),void s._selectMenuItem(e);s._isShown()&&(e.stopPropagation(),s.hide(),o.focus())}}pt.on(document,In,Mn,Kn.dataApiKeydownHandler),pt.on(document,In,Fn,Kn.dataApiKeydownHandler),pt.on(document,Nn,Kn.clearMenus),pt.on(document,Dn,Kn.clearMenus),pt.on(document,Nn,Mn,(function(e){e.preventDefault(),Kn.getOrCreateInstance(this).toggle()})),Ge(Kn);const Gn="backdrop",Un="show",Jn=`mousedown.bs.${Gn}`,Xn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Yn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Qn extends vt{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Xn}static get DefaultType(){return Yn}static get NAME(){return Gn}show(e){if(!this._config.isVisible)return void Ue(e);this._append();const t=this._getElement();this._config.isAnimated&&ze(t),t.classList.add(Un),this._emulateAnimation((()=>{Ue(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(Un),this._emulateAnimation((()=>{this.dispose(),Ue(e)}))):Ue(e)}dispose(){this._isAppended&&(pt.off(this._element,Jn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=je(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),pt.on(e,Jn,(()=>{Ue(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){Je(e,this._getElement(),this._config.isAnimated)}}const Zn=".bs.focustrap",ei=`focusin${Zn}`,ti=`keydown.tab${Zn}`,ni="backward",ii={autofocus:!0,trapElement:null},oi={autofocus:"boolean",trapElement:"element"};class si extends vt{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ii}static get DefaultType(){return oi}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),pt.off(document,Zn),pt.on(document,ei,(e=>this._handleFocusin(e))),pt.on(document,ti,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,pt.off(document,Zn))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=yt.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===ni?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?ni:"forward")}}const ri=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ai=".sticky-top",li="padding-right",ci="margin-right";class ui{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,li,(t=>t+e)),this._setElementAttributes(ri,li,(t=>t+e)),this._setElementAttributes(ai,ci,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,li),this._resetElementAttributes(ri,li),this._resetElementAttributes(ai,ci)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const i=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const o=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(o))}px`)}))}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&>.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=gt.getDataAttribute(e,t);null!==n?(gt.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(Fe(e))t(e);else for(const n of yt.find(e,this._element))t(n)}}const di=".bs.modal",pi=`hide${di}`,hi=`hidePrevented${di}`,fi=`hidden${di}`,mi=`show${di}`,gi=`shown${di}`,vi=`resize${di}`,_i=`click.dismiss${di}`,bi=`mousedown.dismiss${di}`,yi=`keydown.dismiss${di}`,wi=`click${di}.data-api`,Ei="modal-open",Ai="show",Ci="modal-static",Ti={backdrop:!0,focus:!0,keyboard:!0},xi={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Si extends _t{constructor(e,t){super(e,t),this._dialog=yt.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ui,this._addEventListeners()}static get Default(){return Ti}static get DefaultType(){return xi}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||pt.trigger(this._element,mi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ei),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){this._isShown&&!this._isTransitioning&&(pt.trigger(this._element,pi).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Ai),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){pt.off(window,di),pt.off(this._dialog,di),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Qn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new si({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=yt.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),ze(this._element),this._element.classList.add(Ai),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,pt.trigger(this._element,gi,{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){pt.on(this._element,yi,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),pt.on(window,vi,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),pt.on(this._element,bi,(e=>{pt.one(this._element,_i,(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Ei),this._resetAdjustments(),this._scrollBar.reset(),pt.trigger(this._element,fi)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(pt.trigger(this._element,hi).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Ci)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Ci),this._queueCallback((()=>{this._element.classList.remove(Ci),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=Ke()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=Ke()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=Si.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}}))}}pt.on(document,wi,'[data-bs-toggle="modal"]',(function(e){const t=yt.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),pt.one(t,mi,(e=>{e.defaultPrevented||pt.one(t,fi,(()=>{Be(this)&&this.focus()}))}));const n=yt.findOne(".modal.show");n&&Si.getInstance(n).hide(),Si.getOrCreateInstance(t).toggle(this)})),wt(Si),Ge(Si);const ki=".bs.offcanvas",Oi=".data-api",Li=`load${ki}${Oi}`,Ni="show",Ii="showing",Di="hiding",$i=".offcanvas.show",Mi=`show${ki}`,Pi=`shown${ki}`,Fi=`hide${ki}`,ji=`hidePrevented${ki}`,Bi=`hidden${ki}`,qi=`resize${ki}`,Hi=`click${ki}${Oi}`,Ri=`keydown.dismiss${ki}`,zi={backdrop:!0,keyboard:!0,scroll:!1},Wi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Vi extends _t{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return zi}static get DefaultType(){return Wi}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||pt.trigger(this._element,Mi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new ui).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ii),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Ni),this._element.classList.remove(Ii),pt.trigger(this._element,Pi,{relatedTarget:e})}),this._element,!0))}hide(){this._isShown&&(pt.trigger(this._element,Fi).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Di),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Ni,Di),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new ui).reset(),pt.trigger(this._element,Bi)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new Qn({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():pt.trigger(this._element,ji)}:null})}_initializeFocusTrap(){return new si({trapElement:this._element})}_addEventListeners(){pt.on(this._element,Ri,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():pt.trigger(this._element,ji))}))}static jQueryInterface(e){return this.each((function(){const t=Vi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}pt.on(document,Hi,'[data-bs-toggle="offcanvas"]',(function(e){const t=yt.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),qe(this))return;pt.one(t,Bi,(()=>{Be(this)&&this.focus()}));const n=yt.findOne($i);n&&n!==t&&Vi.getInstance(n).hide(),Vi.getOrCreateInstance(t).toggle(this)})),pt.on(window,Li,(()=>{for(const e of yt.find($i))Vi.getOrCreateInstance(e).show()})),pt.on(window,qi,(()=>{for(const e of yt.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Vi.getOrCreateInstance(e).hide()})),wt(Vi),Ge(Vi);const Ki={"*":["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:[]},Gi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Ui=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Ji=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!Gi.has(n)||Boolean(Ui.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(n)))},Xi={allowList:Ki,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Yi={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Qi={entry:"(string|element|function|null)",selector:"(string|element)"};class Zi extends vt{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Xi}static get DefaultType(){return Yi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},Qi)}_setContent(e,t,n){const i=yt.findOne(n,e);i&&((t=this._resolvePossibleFunction(t))?Fe(t)?this._putElementInTemplate(je(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const i=(new window.DOMParser).parseFromString(e,"text/html"),o=[].concat(...i.body.querySelectorAll("*"));for(const e of o){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const i=[].concat(...e.attributes),o=[].concat(t["*"]||[],t[n]||[]);for(const t of i)Ji(t,o)||e.removeAttribute(t.nodeName)}return i.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Ue(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const eo=new Set(["sanitize","allowList","sanitizeFn"]),to="fade",no="show",io=".modal",oo="hide.bs.modal",so="hover",ro="focus",ao={AUTO:"auto",TOP:"top",RIGHT:Ke()?"left":"right",BOTTOM:"bottom",LEFT:Ke()?"right":"left"},lo={allowList:Ki,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},co={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class uo extends _t{constructor(e,n){if(void 0===t)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return lo}static get DefaultType(){return co}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),pt.off(this._element.closest(io),oo,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=pt.trigger(this._element,this.constructor.eventName("show")),t=(He(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(n),pt.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(no),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))pt.on(e,"mouseover",Re);this._queueCallback((()=>{pt.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!pt.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(no),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))pt.off(e,"mouseover",Re);this._activeTrigger.click=!1,this._activeTrigger[ro]=!1,this._activeTrigger[so]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),pt.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(to,no),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(to),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Zi({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(to)}_isShown(){return this.tip&&this.tip.classList.contains(no)}_createPopper(e){const t=Ue(this._config.placement,[this,e,this._element]),n=ao[t.toUpperCase()];return Le(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Ue(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...Ue(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)pt.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===so?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===so?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");pt.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?ro:so]=!0,t._enter()})),pt.on(this._element,n,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?ro:so]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},pt.on(this._element.closest(io),oo,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=gt.getDataAttributes(this._element);for(const e of Object.keys(t))eo.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:je(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=uo.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method n
1amed "${e}"`);t[e]()}}))}}Ge(uo);const po={...uo.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},ho={...uo.DefaultType,content:"(null|string|element|function)"};class fo extends uo{static get Default(){return po}static get DefaultType(){return ho}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=fo.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Ge(fo);const mo=".bs.scrollspy",go=`activate${mo}`,vo=`click${mo}`,_o=`load${mo}.data-api`,bo="active",yo="[href]",wo=".nav-link",Eo=`${wo}, .nav-item > ${wo}, .list-group-item`,Ao={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Co={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class To extends _t{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Ao}static get DefaultType(){return Co}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=je(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(pt.off(this._config.target,vo),pt.on(this._config.target,vo,yo,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,i=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:i,behavior:"smooth"});n.scrollTop=i}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},i=(this._rootElement||document.documentElement).scrollTop,o=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const e=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&e){if(n(s),!i)return}else o||e||n(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=yt.find(yo,this._config.target);for(const t of e){if(!t.hash||qe(t))continue;const e=yt.findOne(decodeURI(t.hash),this._element);Be(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(bo),this._activateParents(e),pt.trigger(this._element,go,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))yt.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(bo);else for(const t of yt.parents(e,".nav, .list-group"))for(const e of yt.prev(t,Eo))e.classList.add(bo)}_clearActiveClass(e){e.classList.remove(bo);const t=yt.find(`${yo}.${bo}`,e);for(const e of t)e.classList.remove(bo)}static jQueryInterface(e){return this.each((function(){const t=To.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method n
1amed "${e}"`);t[e]()}}))}}pt.on(window,_o,(()=>{for(const e of yt.find('[data-bs-spy="scroll"]'))To.getOrCreateInstance(e)})),Ge(To);const xo=".bs.tab",So=`hide${xo}`,ko=`hidden${xo}`,Oo=`show${xo}`,Lo=`shown${xo}`,No=`click${xo}`,Io=`keydown${xo}`,Do=`load${xo}`,$o="ArrowLeft",Mo="ArrowRight",Po="ArrowUp",Fo="ArrowDown",jo="Home",Bo="End",qo="active",Ho="fade",Ro="show",zo=":not(.dropdown-toggle)",Wo='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Vo=`.nav-link${zo}, .list-group-item${zo}, [role="tab"]${zo}, ${Wo}`,Ko=`.${qo}[data-bs-toggle="tab"], .${qo}[data-bs-toggle="pill"], .${qo}[data-bs-toggle="list"]`;class Go extends _t{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),pt.on(this._element,Io,(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?pt.trigger(t,So,{relatedTarget:e}):null;pt.trigger(e,Oo,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(qo),this._activate(yt.getElementFromSelector(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),pt.trigger(e,Lo,{relatedTarget:t})):e.classList.add(Ro)}),e,e.classList.contains(Ho)))}_deactivate(e,t){e&&(e.classList.remove(qo),e.blur(),this._deactivate(yt.getElementFromSelector(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),pt.trigger(e,ko,{relatedTarget:t})):e.classList.remove(Ro)}),e,e.classList.contains(Ho)))}_keydown(e){if(![$o,Mo,Po,Fo,jo,Bo].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter((e=>!qe(e)));let n;if([jo,Bo].includes(e.key))n=t[e.key===jo?0:t.length-1];else{const i=[Mo,Fo].includes(e.key);n=Xe(t,e.target,i,!0)}n&&(n.focus({preventScroll:!0}),Go.getOrCreateInstance(n).show())}_getChildren(){return yt.find(Vo,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=yt.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const i=(e,i)=>{const o=yt.findOne(e,n);o&&o.classList.toggle(i,t)};i(".dropdown-toggle",qo),i(".dropdown-menu",Ro),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(qo)}_getInnerElement(e){return e.matches(Vo)?e:yt.findOne(Vo,e)}
vendor: 5,288 bytes, line 1
1_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=Go.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}pt.on(document,No,Wo,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),qe(this)||Go.getOrCreateInstance(this).show()})),pt.on(window,Do,(()=>{for(const e of yt.find(Ko))Go.getOrCreateInstance(e)})),Ge(Go);const Uo=".bs.toast",Jo=`mouseover${Uo}`,Xo=`mouseout${Uo}`,Yo=`focusin${Uo}`,Qo=`focusout${Uo}`,Zo=`hide${Uo}`,es=`hidden${Uo}`,ts=`show${Uo}`,ns=`shown${Uo}`,is="hide",os="show",ss="showing",rs={animation:"boolean",autohide:"boolean",delay:"number"},as={animation:!0,autohide:!0,delay:5e3};class ls extends _t{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return as}static get DefaultType(){return rs}static get NAME(){return"toast"}show(){pt.trigger(this._element,ts).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(is),ze(this._element),this._element.classList.add(os,ss),this._queueCallback((()=>{this._element.classList.remove(ss),pt.trigger(this._element,ns),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(pt.trigger(this._element,Zo).defaultPrevented||(this._element.classList.add(ss),this._queueCallback((()=>{this._element.classList.add(is),this._element.classList.remove(ss,os),pt.trigger(this._element,es)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(os),super.dispose()}isShown(){return this._element.classList.contains(os)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){pt.on(this._element,Jo,(e=>this._onInteraction(e,!0))),pt.on(this._element,Xo,(e=>this._onInteraction(e,!1))),pt.on(this._element,Yo,(e=>this._onInteraction(e,!0))),pt.on(this._element,Qo,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=ls.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}wt(ls),Ge(ls);class cs{constructor(){this.nonce=bullhorn_frontend_data.nonce,this.filterText="",this.countryFilter="",this.employmentTypeFilter="",this.categoryFilter="",this.initialLoad=!0,this.filtersSetUp=!1,document.getElementById("bullhornJobs")&&(this.renderSearchForm(),this.buildFiltersOnce().then(),this.fetchJobListings().then()),document.querySelectorAll(".open-application-modal")&&this.setupApplicationModal()}renderSearchForm(){const e=document.getElementById("bullhornJobs");e&&(e.querySelector(".bullhorn-search-form-container")||(e.innerHTML='\n <div class="row">\n <div class="offcanvas offcanvas-start" tabindex="-1" id="bullhornFiltersDrawer" aria-labelledby="bullhornFiltersDrawerLabel">\n <div class="offcanvas-header">\n <h5 class="offcanvas-title" id="bullhornFiltersDrawerLabel">Filters</h5>\n <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>\n </div>\n <div class="offcanvas-body">\n <div class="bullhorn-filters">\n <div class="flex-container mb-3">\n <h5>Filters</h5>\n <span><a class="bullhorn-search-form-clear">Reset</a></span>\n </div>\n \n \x3c!-- Employment Type Filters --\x3e\n <div class="mb-3">\n <h6>Contract Type:</h6>\n <div id="employmentTypeCanvas"></div>\n </div>\n \n \x3c!-- Country Filters --\x3e\n <div class="mb-3">\n <h6>Location:</h6>\n <div id="countryFilterCanvas"></div>\n </div>\n \n \x3c!-- Category Filters --\x3e\n <div class="mb-3">\n <h6>Job Category:</h6>\n <div id="categoryFilterCanvas"></div>\n </div>\n </div>\n </div>\n </div>\n \n \x3c!-- Filters Column for desktop --\x3e\n <div class="col-md-3 mb-3 d-none d-md-block">\n <div class="bullhorn-filters">\n <div class="flex-container">\n <h5>Filters</h5>
1\n <span><a class="bullhorn-search-form-clear">Reset</a></span>\n </div>\n \n \x3c!-- Employment Type Filters --\x3e\n <div class="mb-3">\n <h6>Contract Type:</h6>\n <div id="employmentType"></div>\n </div>\n \n \x3c!-- Country Filters --\x3e\n <div class="mb-3">\n <h6>Location:</h6>\n <div id="countryFilter"></div>\n </div>\n \n \x3c!-- Category Filters --\x3e\n <div class="mb-3">\n <h6>Job Category:</h6>\n <div id="categoryFilter"></div>\n </div>\n </div>\n </div>\n \n \x3c!-- Job Listings Column --\x3e\n <div class="col-md-9">\n <div class="bullhorn-search-form-container my-3">\n <form class="bullhorn-search-form">\n <label for="bullhornSearch" class="visually-hidden">Search vacancies</label>\n <input type="text" name="bullhorn-search" id="bullhornSearch" placeholder="Search for a vacancy" value="">\n </form>\n \n <div class="d-md-none text-end">\n <button class="filter-btn" type="button" data-bs-toggle="offcanvas" data-bs-target="#bullhornFiltersDrawer" aria-controls="bullhornFiltersDrawer">\n <img src="./../../../wp-content/plugins/bostonair-bullhorn-jobs-plugin/frontend/assets/images/filter.svg" alt="Filters" style="width: 30px; height: 30px; vertical-align: middle;" />\n </button>\n </div>\n </div>\n \n <div class="job-listings-container">\n <div class="bullhorn-search__loading-spinner" style="display: none;">\n <div class="bullhorn-search__loading-spinner-wrapper">\n <i class="fas fa-spinner fa-spin"></i>\n </div>\n </div>\n \x3c!-- Job listings will be dynamically populated here --\x3e\n </div>\n </div>\n </div>\n '),this.setupSearchForm())}async fetchJobListings(e=1,t=24){const n=this.filterText||"",i=this.employmentTypeFilter||"",o=this.countryFilter||"",s=this.categoryFilter||"";this.showSpinner();try{const r=await wp.apiFetch({path:`/bullhorn/v1/job-listings?page=${e}&per_page=${t}&filter_text=${n}&employment_type_filter=${i}&country_filter=${o}&categories=${s}`,method:"GET",headers:{"X-WP-Nonce":this.nonce}});if(r){const n="bullhornJobs";this.displayJobListings(n,r),this.displayPagination(n,r.total,e,t),this.initialLoad=!1}else console.error("Fetching job listings failed.")}catch(e){this.hideSpinner(),console.error("Error fetching job listings:",e)}finally{this.hideSpinner()}}displayJobListings(e,t){const n=document.getElementById(e);if(!n)return void console.warn(`Container with ID "${e}" not found. To display job listings please create a parent container div with the ID provided in bullhorn settings otherwise please use default ID: #bullhornJobs`);let i=n.querySelector(".job-listings-container");i||(i=document.createElement("div"),i.className="job-listings-container",n.appendChild(i));const o=i.querySelector(".bullhorn-search__loading-spinner");i.innerHTML="",o&&i.appendChild(o);const s=this.createNoResultsFoundElement();i.appendChild(s),s.style.display="none";const r=document.createElement("div");if(r.className="row",0===t.data.length){const e=this.createNoResultsElement();i.appendChild(e)}else t.data.forEach((e=>{const t=this.createJobTile(e);r.appendChild(t)})),i.appendChild(r)}async fetchAllJobsForFilters(e=200){let t=1,n=[],i=null;for(;;){var o;const s=await wp.apiFetch({path:`/bullhorn/v1/job-listings?page=${t}&per_page=${e}`,method:"GET",headers:{"X-WP-Nonce":this.nonce}});if(!s||!s.data||0===s.data.length)break;if(n=n.concat(s.data),i=null!==(o=s.total)&&void 0!==o?o:i,s.data.length<e)break;if(i&&t>=Math.ceil(i/e))break;t++}return n}async buildFiltersOnce(){if(!this.filtersSetUp)try{const e=await this.fetchAllJobsForFilters(200);this.setupFilters(e),this.filtersSetUp=!0}catch(e){console.error("Error building filters:",e)}}createJobTile(e){const t=document.createElement("div");t.className="job-tile col-12 col-md-6 col-lg-4 mb-4";const n=document.createElement("div");
1n.className="card h-100 d-flex flex-column p-3";const i=new Date,o=new Date(e.dateAdded),s=Math.floor((i-o)/864e5),r=document.createElement("p");if(r.className="date-card-text text-muted mb-3",s<=7){const e=document.createElement("span");e.className="badge",e.textContent="New",r.appendChild(e)}const a=document.createElement("a");a.className="text-decoration-none",a.href=`/recruitment/latest-vacancies/${e.id}`;const l=document.createElement("h5");l.className="card-title",l.textContent=e.title||"No title",a.appendChild(l);const c=document.createElement("div");c.className="mt-auto";const u=document.createElement("p");u.className="card-text card-location mb-1",u.textContent=e.address?.countryName||"";const d=document.createElement("p");d.className="card-text card-city mb-1",d.textContent=e.address?.city||"";const p=document.createElement("p");p.className="card-text card-time mb-3",p.textContent=e.employmentType||"";const h=document.createElement("a");return h.className="btn btn-primary has-arrow",h.href=`/recruitment/latest-vacancies/${e.id}`,h.textContent="Find out more",n.appendChild(r),n.appendChild(a),c.appendChild(d),c.appendChild(u),c.appendChild(p),c.appendChild(h),n.appendChild(c),t.appendChild(n),t}displayPagination(e,t,n,i){const o=document.getElementById(e);if(!o)return;o.querySelectorAll(".pagination-container").forEach((e=>e.remove()));const s=Math.ceil(t/i);if(s<=1)return;const r=document.createElement("div");r.className="pagination-container d-flex justify-content-center my-3 flex-wrap";const a=document.createElement("ul");a.className="pagination";const l=(e,t,n=!1,o=!1)=>{const s=document.createElement("li");s.className=`page-item${n?" disabled":""}${o?" active":""}`;const r=document.createElement("button");return r.className="page-link",r.textContent=e,r.disabled=n,n||o||r.addEventListener("click",(()=>{this.fetchJobListings(t,i).then(),document.getElementById("bullhornSearch")?.scrollIntoView({block:"center",behavior:"smooth"})})),s.appendChild(r),s};a.appendChild(l("â¹",n-1,1===n));for(let e=1;e<=s;e++)a.appendChild(l(e,e,!1,e===n));a.appendChild(l("âº",n+1,n===s)),r.appendChild(a),o.appendChild(r)}showSpinner(){const e=document.querySelector(".bullhorn-search__loading-spinner"),t=document.querySelector(".job-listings-container"),n=document.querySelector(".pagination-container");e&&(e.style.display="block"),t&&t.classList.add("loading"),n&&n.classList.add("loading")}hideSpinner(){const e=document.querySelector(".bullhorn-search__loading-spinner"),t=document.querySelector(".job-listings-container"),n=document.querySelector(".pagination-container");e&&(e.style.display="none"),t&&t.classList.remove("loading"),n&&n.classList.remove("loading")}setupFilters(e){const t=document.getElementById("countryFilter"),n=document.getElementById("employmentType"),i=document.getElementById("categoryFilter"),o=document.getElementById("countryFilterCanvas"),s=document.getElementById("employmentTypeCanvas"),r=document.getElementById("categoryFilterCanvas"),a=[],l=[],c=[];[t,n,i,o,s,r].forEach((e=>e.innerHTML="")),e.forEach((e=>{const t=e.address?.countryID,n=e.address?.countryName;t&&!a.some((e=>e.value===t))&&a.push({value:t,label:n});const i=e.employmentType;i&&!l.some((e=>e.value===i))&&l.push({value:i,label:i}),e.categories?.data&&e.categories.data.forEach((e=>{c.some((t=>t.value===e.id))||c.push({value:e.id,label:e.name})}))})),a.sort(((e,t)=>e.label.localeCompare(t.label))),l.sort(((e,t)=>e.label.localeCompare(t.label))),c.sort(((e,t)=>e.label.localeCompare(t.label))),[{element:t,group:"country",data:a,suffix:"desktop"},{element:o,group:"country",data:a,suffix:"mobile"},{element:n,group:"employmentType",data:l,suffix:"desktop"},{element:s,group:"employmentType",data:l,suffix:"mobile"},{element:i,group:"category",data:c,suffix:"desktop"},{element:r,group:"category",data:c,suffix:"mobile"}].forEach((({element:e,group:t,data:n,suffix:i})=>{if(e){const o=this.createFilterSection({data:n,groupName:t,suffix:i});e.appendChild(o)}}));const u=()=>{const e=[...document.querySelectorAll('input[name="country-desktop"]:checked'),...document.querySelectorAll('input[name="country-mobile"]:checked')].map((e=>e.value)),t=[...document.querySelectorAll('input[name="employmentType-desktop"]:checked'),...document.querySelectorAll('input[name="employmentType-mobile"]:checked')].map((e=>e.value)),n=[...document.querySelectorAll('input[name="category-desktop"]:checked'),...document.querySelectorAll('input[name="category-mobile"]:checked')].map((e=>e.value));this.countryFilter=e,this.employmentTypeFilter=t,this.categoryFilter=n,this.applyFilters()};document.querySelectorAll(".form-check-input").forEach((e=>{e.addEventListener("change",u)}))}createFilterSection({data:e,groupName:t,suffix:n=""}){const i=document.createElement("div");if(i.className="filter-group",e.forEach(((e,o)=>{const s=document.createElement("div");s.className="filter-item",o>=5&&s.classList.add("hidden");const r=`${t}-${n}-${e.value}`;s.innerHTML=`\n <input type="checkbox" id="${r}" value="${e.value}" class="form-check-input" name="${t}-${n}">\n <label for="${r}" class="form-check-label">${e.label}</label>\n `,i.appendChild(s)})),e.length>5){const e=this.createToggleButton(i);i.appendChild(e)}return i}createToggleButton(e){const t=document.createElement("button");return t.className="btn btn-link btn-sm filter-toggle",t.textContent="Show more",t.type="button",t.addEventListener("click",(()=>{const n=t.classList.toggle("expanded");e.querySelectorAll(".filter-item").forEach(((e,t)=>{t>=5&&e.classList.toggle("hidden",!n)})),t.textContent=n?"Show less":"Show more"})),t}setupSearchForm(){const e=document.querySelector(".bullhorn-search-form");if(e){e.addEventListener("submit",(e=>{e.preventDefault()}));const t=document.getElementById("bullhornSearch");let n;const i=500;t.addEventListener("keyup",(()=>{this.filterText=t.value,clearTimeout(n),n=setTimeout((()=>{this.applyFilters()}),i)})),document.querySelectorAll(".bullhorn-search-form-clear").forEach((e=>{e.addEventListener("click",(e=>{e.preventDefault(),t.value="",this.filterText="",this.countryFilter="",this.employmentTypeFilter="",this.categoryFilter="",document.querySelectorAll('.bullhorn-filters input[type="checkbox"]').forEach((e=>e.checked=!1)),this.applyFilters(),t.focus()}))}))}}applyFilters(){this.initialLoad||this.fetchJobListings(1,25).then()}createNoResultsElement(){const e=document.createElement("div");return e.className="no-results-message",e.textContent="No results.",e}createNoResultsFoundElement(){const e=document.createElement("div");return e.style.display="none",e.className="no-results-found",e.textContent="No results matched your search.",e}createApplicationForm(e){const t=document.createElement("form");return t.className="application-form",t.setAttribute("enctype","multipart/form-data"),t.innerHTML='\n <div class="container">\n <div class="row">\n <div class="col-12 col-md-6 mb-3">\n <label for="firstName" class="form-label">First Name: <span style="color: #dc3545;">*</span></label>\n <input type="text" class="form-control" id="firstName" name="first-name" required autocomplete="false">\n </div>\n <div class="col-12 col-md-6 mb-3">\n <label for="lastName" class="form-label">Last Name: <span style="color: #dc3545;">*</span></label>\n <input type="text" class="form-control" id="lastName" name="last-name" required>\n </div>\n <div class="col-12 col-md-6 mb-3">\n <label for="phoneNumber" class="form-label">Phone Number: <span style="color: #dc3545;">*</span></label>\n <input type="text" class="form-control" id="phoneNumber" name="phone-number" required>\n </div>\n <div class="col-12 col-md-6 mb-3">\n <label for="email" class="form-label">Email: <span style="color: #dc3545;">*</span></label>\n <input type="email" class="form-control" id="email" name="email" required autocomplete="false">\n </div>\n <div class="col-12 col-md-6 mb-3">\n <label for="city" class="form-label">City: <span style="color: #dc3545;">*</span></label>\n <input type="text" class="form-control" id="city" name="city" required autocomplete="false">\n </div>\n <div class="col-12 col-md-6 mb-3">\n <label for="countrySelect" class="form-label">Country: <span style="color: #dc3545;">*</span></label>\n <select class="country-select form-select" name="countryID" id="countrySelect" required>\n <option selected value="2378"></option>\n <option value="2185">Afghanistan</option>\n <option value="2407">Ã
land Islands</option>\n <option value="2186">Albania</option>\n <option value="2187">Algeria</option>\n <option value="2408">American Samoa</option>\n <option value="2188">Andorra</option>\n <option value="2189">Angola</option>\n <option value="2409">Anguilla</option>\n <option value="2190">Antarctica</option>\n <option value="2191">Antigua and Barbuda</option>\n <option value="2192">Argentina</option>\n <option value="2193">Armenia</option>\n <option value="2373">Aruba</option>\n <option value="2194">Australia</option>\n <option value="2195">Austria</option>\n <option value="2196">Azerbaijan</option>\n <option value="2197">Bahamas</option>\n <option value="2198">Bahrain</option>\n <option value="2199">Bangladesh</option>\n <option value="2200">Barbados</option>\n <option value="2201">Belarus</option>\n <option value="2202">Belgium</option>\n <option value="2203">Belize</option>\n <option value="2204">Benin</option>\n <option value="2372">Bermuda</option>\n <option value="2205">Bhutan</option>\n <option value="2206">Bolivia; Plurinational State</option>\n <option value="2207">Bosnia and Herzegovina</option>\n <option value="2208">Botswana</option>\n <option value="2410">Bouvet Island</option>\n <option value="2209">Brazil</option>\n <option value="2210">British Indian Ocean Territory</option>\n <option value="2411">Brunei Darussalam</option>\n <option value="2211">Bulgaria</option>\n <option value="2212">Burkina Faso</option>\n <option value="2385">Burma</option>\n <option value="2213">Burundi</option>\n <option value="2214">Cambodia</option>\n <option value="2215">Cameroon</option>\n <option value="2216">Canada</option>\n <option value="2217">Cape Verde</option>\n <option value="2379">Cayman Islands</option>\n <option value="2218">Central African Republic</option>\n <option value="2219">Chad</option>\n <option value="2386">Channel Islands</option>\n <option value="2220">Chile</option>\n <option value="2221">China</option>\n <option value="2412">Christmas Island</option>\n <option value="2413">Cocos (Keeling) Islands</option>\n <option value="2222">Colombia</option>\n <option value="2223">Comoros</option>\n <option value="2368">Congo; Democratic Republic of</option>\n <option value="2383">Congo; Republic of</option>\n <option value="2414">Cook Islands</option>\n <option value="2226">Costa Rica</option>\n <option value="2227">Cote D\'Ivoire</option>\n <option value="2228">Croatia</option>\n <option value="2229">Cuba</option>\n <option value="2387">Curacao</option>\n <option value="2230">Cyprus</option>\n <option value="2231">Czech Republic</option>\n <option value="2232">Denmark</option>\n <option value="2233">Djibouti</option>\n <option value="2234">Dominica</option>\n <option value="2235">Dominican Republic</option>\n <option value="2236">Ecuador</option>\n <option value="2237">Egypt</option>\n <option value="2238">El Salvador</option>\n <option value="2239">Equatorial Guinea</option>\n <option value="2240">Eritrea</option>\n <option value="2241">Estonia</option>\n <option value="2242">Ethiopia</option>\n <option value="2415">Falkland Islands (Malvinas)</option>\n <option value="2388">Faroe Islands</option>\n <option value="2243">Fiji</option>\n <option value="2244">Finland</option>\n <option value="2245">France</option>\n <option value="2246">Gabon</option>\n <option value="2389">Gambia</option>\n <option value="2248">Georgia</option>\n <option value="2249">Germany</option>\n <option value="2250">Ghana</option>\n <option value="2390">Gibraltar</option>\n <option value="2251">Greece</option>\n <option value="2252">Greenland</option>\n <option value="2253">Grenada</option>\n <option value="2419">Guadeloupe</option>\n <option value="2376">Guam</option>\n <option value="2371">Guatemala</option>\n <option value="2420">Guernsey</option>\n <option value="2255">Guinea</option>\n <option value="2256">Guinea-Bissau</option>\n <option value="2257">Guyana</option>\n <option value="2258">Haiti</option>\n <option value="2421">Heard and McDonald Islands</option>\n <option value="2362">Holy See (Vatican City State)</option>\n <option value="2259">Honduras</option>\n <option value="2377">Hong Kong</option>\n <option value="2260">Hungary</option>\n <option value="2261">Iceland</option>\n <option value="2262">India</option>\n <option value="2263">Indonesia</option>\n <option value="2264">Iran; Islamic Republic of</option>\n <option value="2265">Iraq</option>\n <option value="2266">Ireland</option>\n <option value="2445">Isle of Man</option>\n <option value="2267">Israel</option>\n <option value="2268">Italy</option>\n <option value="2269">Jamaica</option>\n <option value="2270">Japan</option>\n <option value="2422">Jersey</option>\n <option value="2271">Jordan</option>\n <option value="2272">Kazakhstan</option>\n <option value="2273">Kenya</option>\n <option value="2391">Kir
1ibati</option>\n <option value="2274">Korea; Democratic People\'s Republic Of (North)</option>\n <option value="2275">Korea; Republic Of (South)</option>\n <option value="2392">Kosovo</option>\n <option value="2276">Kuwait</option>\n <option value="2277">Kyrgyzstan</option>\n <option value="2278">Lao People\'s Democratic Republic</option>\n <option value="2279">Latvia</option>\n <option value="2280">Lebanon</option>\n <option value="2281">Lesotho</option>\n <option value="2282">Liberia</option>\n <option value="2380">Libyan Arab Jamahiriya</option>\n <option value="2284">Liechtenstein</option>\n <option value="2285">Lithuania</option>\n <option value="2286">Luxembourg</option>\n <option value="2287">Macau</option>\n <option value="2288">Macedonia</option>\n <option value="2367">Macedonia; the Former Yugoslav Republic</option>\n <option value="2289">Madagascar</option>\n <option value="2290">Malawi</option>\n <option value="2291">Malaysia</option>\n <option value="2384">Maldives; Repulic of</option>\n <option value="2292">Mali</option>\n <option value="2293">Malta</option>\n <option value="2394">Marshall Islands</option>\n <option value="2423">Martinique</option>\n <option value="2294">Mauritania</option>\n <option value="2295">Mauritius</option>\n <option value="2393">Mayotte</option>\n <option value="2296">Mexico</option>\n <option value="2297">Micronesia; Federated States of</option>\n <option value="2395">Moldova; Republic of</option>\n <option value="2299">Monaco</option>\n <option value="2300">Mongolia</option>\n <option value="2396">Montenegro</option>\n <option value="2424">Montserrat</option>\n <option value="2301">Morocco</option>\n <option value="2302">Mozambique</option>\n <option value="2303">Myanmar</option>\n <option value="2304">Namibia</option>\n <option value="2397">Nauru</option>\n <option value="2305">Nepal</option>\n <option value="2306">Netherlands</option>\n <option value="2425">Netherlands Antilles</option>\n <option value="2426">New Caledonia</option>\n <option value="2307">New Zealand</option>\n <option value="2308">Nicaragua</option>\n <option value="2309">Niger</option>\n <option value="2310">Nigeria</option>\n <option value="2427">Niue</option>\n <option value="2430">Norfolk Island</option>\n <option value="2428">Northern Mariana Islands</option>\n <option value="2311">Norway</option>\n <option value="2312">Oman</option>\n <option value="2313">Pakistan</option>\n <option value="2314">Palau</option>\n <option value="2430">Palestinian Territory; Occupied</option>\n <option value="2315">Panama</option>\n <option value="2316">Papua New Guinea</option>\n <option value="2317">Paraguay</option>\n <option value="2318">Peru</option>\n <option value="2319">Philippines</option>\n <option value="2431">Pitcairn</option>\n <option value="2320">Poland</option>\n <option value="2321">Portugal</option>\n <option value="2374">Puerto Rico</option>\n <option value="2322">Qatar</option>\n <option value="2398">Reunion</option>\n <option value="2323">Romania</option>\n <option value="2324">Russian Federation</option>\n <option value="2325">Rwanda</option>\n <option value="2432">Saint Barthélemy</option>\n <option value="2433">Saint Helena; Ascension and Tristan Da Cunha</option>\n <option value="2399">Saint Kitts and Nevis</option>\n <option value="2326">Saint Lucia</option>\n <option value="2434">Saint Martin</option>\n <option value="2435">Saint Pierre And Miquelon</option>\n <option value="2400">Saint Vincent and Grenadines</option>\n <option value="2401">Samoa</option>\n <option value="2327">San Marino</option>\n <option value="2403">Sao Tome and Principe</option>\n <option value="2328">Saudi Arabia</option>\n <option value="2329">Senegal</option>\n <option value="2402">Serbia</option>\n <option value="2331">Seychelles</option>\n <option value="2332">Sierra Leone</option>\n <option value="2333">Singapore</option>\n <option value="2334">Slovakia</option>\n <option value="2335">Slovenia</option>\n <option value="2336">Solomon Islands</option>\n <option value="2337">Somalia</option>\n <option value="2338">South Africa</option>\n <option value="2436">South Georgia and the South Sandwich Islands</option>\n <option value="2339">Spain</option>\n <option value="2340">Sri Lanka</option>\n <option value="2341">Sudan</option>\n <option value="2342">Suriname</option>\n <option value="2437">Svalbard And Jan Mayen</option>\n <option value="2343">Swaziland</option>\n <option value="2344">Sweden</option>\n <option value="2345">Switzerland</option>\n <option value="2381">Syrian Arab Republic</option>\n <option value="2375">Taiwan</option>\n <option value="2348">Tajikistan</option>\n <option value="2349">Tanzania</option>\n <option value="2350">Thailand</option>\n <option value="2404">Timor-Leste</option>\n <option value="2351">Togo</option>\n <option value="2438">Tokelau</option>\n <option value="2405">Tonga</option>\n <option value="2352">Trinidad and Tobago</option>\n <option value="2353">Tunisia</option>\n <option value="2354">Turkey</option>\n <option value="2355">Turkmenistan</option>\n <option value="2439">Turks and Caicos Islands</option>\n <option value="2440">Tuvalu</option>\n <option value="2356">Uganda</option>\n <option value="2357">Ukraine</option>\n <option value="2358">United Arab Emirates</option>\n <option value="2359">United Kingdom</option>\n <option value="1">United States</option>\n <option value="2441">United States Minor Outlying Islands</option>\n <option value="2360">Uruguay</option>\n <option value="2361">Uzbekistan</option>\n <option value="2406">Vanuatu</option>\n <option value="2363">Venezuela; Bolivarian Republic of</option>\n <option value="2364">Vietnam</option>\n <option value="2446">Virgin Islands; British</option>\n <option value="2442">Virgin Islands; U.S.</option>\n <option value="2443">Wallis and Futuna</option>\n <option value="2444">Western Sahara</option>\n <option value="2382">Yemen</option>\n <option value="2369">Zambia</option>\n <option value="2370">Zimbabwe</option>\n </select>\n </div>\n <div class="col-12 col-md-6 mb-3">\n <label for="resume" class="form-label">Resume / CV: <span style="color: #dc3545;">*</span></label>\n <input type="file" class="form-control" id="resume" name="resume" accept=".pdf,.doc,.docx" required>\n </div>\n <div class="col-12 col-md-6 mb-3">\n <label for="otherDocuments" class="form-label">Other Documents:</label>\n <input type="file" class="form-control" id="otherDocuments" name="other-documents" accept=".pdf,.doc,.docx,.jpeg,.jpg,.png" multiple>\n </div>\n <div class="col-12">\n <div class="GDPR-container">\n <input id="GDPRCheck" class="form-check-input" type="checkbox" required>\n <label for="GDPRCheck" class="form-label">I agree to the privacy policy and consent to the processing of my personal data for recruitment & marketing purposes.</label>\n </div>\n </div>\n <div class="col-12">\n <button type="submit" id="submit" class="btn btn-primary">Submit Application</button>\n </div>\n </div>\n </div>\n ',t}setupApplicationForm(e,t,n){const i=document.createElement("div");function o(t,n){const i=e.querySelector(`#${t}`);i.addEventListener("change",(e=>{const t=e.target.files[0];t&&(t.size/1024/1024).toFixed(2)>n&&(alert(`File size exceeds the maximum allowed size of ${n}MB.`),i.value="")}
1))}i.className="message-box",n.querySelector(".modal-body").insertBefore(i,n.querySelector(".modal-body").firstChild),o("otherDocuments",5),o("resume",2),e.addEventListener("submit",(i=>{i.preventDefault();const o=new FormData;o.append("jobId",t);const s=["resume"];for(const t of e.elements)if(s.includes(t.name)||o.append(t.name,t.value),"file"===t.type&&t.files.length>0)if("other-documents"===t.name)for(let e=0;e<t.files.length;e++)o.append(`other-documents-${e+1}`,t.files[e]);else o.append(t.name,t.files[0]);const r=e.querySelectorAll(":required");for(const e of r)if(!e.validity.valid||""===e.value.trim())return void alert(`${e.name} is required!`);this.submitFormData(o,e,n)}))}setupApplicationModal(){const e=document.querySelectorAll(".open-application-modal"),t=document.getElementById("applicationModal");t&&(e.forEach((e=>{e.addEventListener("click",(n=>{n.preventDefault();const i=e.getAttribute("data-job-id");if(!i)return;const o=t.querySelector(".modal-body");o.innerHTML="";const s=this.createApplicationForm(i);o.appendChild(s),this.setupApplicationForm(s,i,t),new Si(t).show()}))})),t.addEventListener("hide.bs.modal",(()=>{document.activeElement&&document.activeElement.blur()})))}submitFormData(e,t,n){const i=t.querySelector("#submit");i.innerHTML="Submitting Application",i.disabled=!0,wp.apiFetch({path:"/bullhorn/v1/job-applications",method:"POST",headers:{"X-WP-Nonce":this.nonce},body:e}).then((e=>{const i=n.querySelector(".message-box");e.success?(i.innerHTML=`<div class="alert alert-success">${e.message}</div>`,t.reset(),n.scrollTo({top:0,behavior:"smooth"})):(Array.isArray(e.message)?i.innerHTML=`<div class="alert alert-danger">${e.message.join("<br>")}</div>`:i.innerHTML=`<div class="alert alert-danger">${e.message}</div>`,n.scrollTo({top:0,behavior:"smooth"}))})).catch((e=>{console.error("ERROR: ",e)})).finally((()=>{i.innerHTML="Submit Application",i.disabled=!1}))}}document.addEventListener("DOMContentLoaded",(()=>{new cs}))}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.