var Z="top",nt="bottom",it="right",J="left",Fe="auto",re=[Z,nt,it,J],zt="start",Zt="end",Ci="clippingParents",Tn="viewport",Gt="popper",Oi="reference",mn=re.reduce(function(n,t){return n.concat([t+"-"+zt,t+"-"+Zt])},[]),Cn=[].concat(re,[Fe]).reduce(function(n,t){return n.concat([t,t+"-"+zt,t+"-"+Zt])},[]),wi="beforeRead",Ni="read",Si="afterRead",Li="beforeMain",Di="main",$i="afterMain",Ii="beforeWrite",Mi="write",xi="afterWrite",Pi=[wi,Ni,Si,Li,Di,$i,Ii,Mi,xi];function gt(n){return n?(n.nodeName||"").toLowerCase():null}function st(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var t=n.ownerDocument;return t&&t.defaultView||window}return n}function Wt(n){var t=st(n).Element;return n instanceof t||n instanceof Element}function ot(n){var t=st(n).HTMLElement;return n instanceof t||n instanceof HTMLElement}function On(n){if(typeof ShadowRoot>"u")return!1;var t=st(n).ShadowRoot;return n instanceof t||n instanceof ShadowRoot}function Os(n){var t=n.state;Object.keys(t.elements).forEach(function(e){var i=t.styles[e]||{},s=t.attributes[e]||{},o=t.elements[e];!ot(o)||!gt(o)||(Object.assign(o.style,i),Object.keys(s).forEach(function(r){var a=s[r];a===!1?o.removeAttribute(r):o.setAttribute(r,a===!0?"":a)}))})}function ws(n){var t=n.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(i){var s=t.elements[i],o=t.attributes[i]||{},r=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:e[i]),a=r.reduce(function(u,d){return u[d]="",u},{});!ot(s)||!gt(s)||(Object.assign(s.style,a),Object.keys(o).forEach(function(u){s.removeAttribute(u)}))})}}const wn={name:"applyStyles",enabled:!0,phase:"write",fn:Os,effect:ws,requires:["computeStyles"]};function _t(n){return n.split("-")[0]}var Ht=Math.max,He=Math.min,Jt=Math.round;function gn(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Ri(){return!/^((?!chrome|android).)*safari/i.test(gn())}function te(n,t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var i=n.getBoundingClientRect(),s=1,o=1;t&&ot(n)&&(s=n.offsetWidth>0&&Jt(i.width)/n.offsetWidth||1,o=n.offsetHeight>0&&Jt(i.height)/n.offsetHeight||1);var r=Wt(n)?st(n):window,a=r.visualViewport,u=!Ri()&&e,d=(i.left+(u&&a?a.offsetLeft:0))/s,l=(i.top+(u&&a?a.offsetTop:0))/o,g=i.width/s,m=i.height/o;return{width:g,height:m,top:l,right:d+g,bottom:l+m,left:d,x:d,y:l}}function Nn(n){var t=te(n),e=n.offsetWidth,i=n.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:n.offsetLeft,y:n.offsetTop,width:e,height:i}}function ki(n,t){var e=t.getRootNode&&t.getRootNode();if(n.contains(t))return!0;if(e&&On(e)){var i=t;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ct(n){return st(n).getComputedStyle(n)}function Ns(n){return["table","td","th"].indexOf(gt(n))>=0}function It(n){return((Wt(n)?n.ownerDocument:n.document)||window.document).documentElement}function je(n){return gt(n)==="html"?n:n.assignedSlot||n.parentNode||(On(n)?n.host:null)||It(n)}function Bn(n){return!ot(n)||Ct(n).position==="fixed"?null:n.offsetParent}function Ss(n){var t=/firefox/i.test(gn()),e=/Trident/i.test(gn());if(e&&ot(n)){var i=Ct(n);if(i.position==="fixed")return null}var s=je(n);for(On(s)&&(s=s.host);ot(s)&&["html","body"].indexOf(gt(s))<0;){var o=Ct(s);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return s;s=s.parentNode}return null}function ge(n){for(var t=st(n),e=Bn(n);e&&Ns(e)&&Ct(e).position==="static";)e=Bn(e);return e&&(gt(e)==="html"||gt(e)==="body"&&Ct(e).position==="static")?t:e||Ss(n)||t}function Sn(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function pe(n,t,e){return Ht(n,He(t,e))}function Ls(n,t,e){var i=pe(n,t,e);return i>e?e:i}function Vi(){return{top:0,right:0,bottom:0,left:0}}function Hi(n){return Object.assign({},Vi(),n)}function zi(n,t){return t.reduce(function(e,i){return e[i]=n,e},{})}var Ds=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,Hi(typeof t!="number"?t:zi(t,re))};function $s(n){var t,e=n.state,i=n.name,s=n.options,o=e.elements.arrow,r=e.modifiersData.popperOffsets,a=_t(e.placement),u=Sn(a),d=[J,it].indexOf(a)>=0,l=d?"height":"width";if(!(!o||!r)){var g=Ds(s.padding,e),m=Nn(o),E=u==="y"?Z:J,S=u==="y"?nt:it,y=e.rects.reference[l]+e.rects.reference[u]-r[u]-e.rects.popper[l],O=r[u]-e.rects.reference[u],L=ge(o),V=L?u==="y"?L.clientHeight||0:L.clientWidth||0:0,M=y/2-O/2,v=g[E],w=V-m[l]-g[S],N=V/2-m[l]/2+M,$=pe(v,N,w),W=u;e.modifiersData[i]=(t={},t[W]=$,t.centerOffset=$-N,t)}}function Is(n){var t=n.state,e=n.options,i=e.element,s=i===void 0?"[data-popper-arrow]":i;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||ki(t.elements.popper,s)&&(t.elements.arrow=s))}const Wi={name:"arrow",enabled:!0,phase:"main",fn:$s,effect:Is,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ee(n){return n.split("-")[1]}var Ms={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xs(n,t){var e=n.x,i=n.y,s=t.devicePixelRatio||1;return{x:Jt(e*s)/s||0,y:Jt(i*s)/s||0}}function Fn(n){var t,e=n.popper,i=n.popperRect,s=n.placement,o=n.variation,r=n.offsets,a=n.position,u=n.gpuAcceleration,d=n.adaptive,l=n.roundOffsets,g=n.isFixed,m=r.x,E=m===void 0?0:m,S=r.y,y=S===void 0?0:S,O=typeof l=="function"?l({x:E,y}):{x:E,y};E=O.x,y=O.y;var L=r.hasOwnProperty("x"),V=r.hasOwnProperty("y"),M=J,v=Z,w=window;if(d){var N=ge(e),$="clientHeight",W="clientWidth";if(N===st(e)&&(N=It(e),Ct(N).position!=="static"&&a==="absolute"&&($="scrollHeight",W="scrollWidth")),N=N,s===Z||(s===J||s===it)&&o===Zt){v=nt;var k=g&&N===w&&w.visualViewport?w.visualViewport.height:N[$];y-=k-i.height,y*=u?1:-1}if(s===J||(s===Z||s===nt)&&o===Zt){M=it;var H=g&&N===w&&w.visualViewport?w.visualViewport.width:N[W];E-=H-i.width,E*=u?1:-1}}var z=Object.assign({position:a},d&&Ms),G=l===!0?xs({x:E,y},st(e)):{x:E,y};if(E=G.x,y=G.y,u){var Y;return Object.assign({},z,(Y={},Y[v]=V?"0":"",Y[M]=L?"0":"",Y.transform=(w.devicePixelRatio||1)<=1?"translate("+E+"px, "+y+"px)":"translate3d("+E+"px, "+y+"px, 0)",Y))}return Object.assign({},z,(t={},t[v]=V?y+"px":"",t[M]=L?E+"px":"",t.transform="",t))}function Ps(n){var t=n.state,e=n.options,i=e.gpuAcceleration,s=i===void 0?!0:i,o=e.adaptive,r=o===void 0?!0:o,a=e.roundOffsets,u=a===void 0?!0:a,d={placement:_t(t.placement),variation:ee(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Fn(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Fn(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Ln={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ps,data:{}};var Le={passive:!0};function Rs(n){var t=n.state,e=n.instance,i=n.options,s=i.scroll,o=s===void 0?!0:s,r=i.resize,a=r===void 0?!0:r,u=st(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(l){l.addEventListener("scroll",e.update,Le)}),a&&u.addEventListener("resize",e.update,Le),function(){o&&d.forEach(function(l){l.removeEventListener("scroll",e.update,Le)}),a&&u.removeEventListener("resize",e.update,Le)}}const Dn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Rs,data:{}};var ks={left:"right",right:"left",bottom:"top",top:"bottom"};function Re(n){return n.replace(/left|right|bottom|top/g,function(t){return ks[t]})}var Vs={start:"end",end:"start"};function jn(n){return n.replace(/start|end/g,function(t){return Vs[t]})}function $n(n){var t=st(n),e=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:e,scrollTop:i}}function In(n){return te(It(n)).left+$n(n).scrollLeft}function Hs(n,t){var e=st(n),i=It(n),s=e.visualViewport,o=i.clientWidth,r=i.clientHeight,a=0,u=0;if(s){o=s.width,r=s.height;var d=Ri();(d||!d&&t==="fixed")&&(a=s.offsetLeft,u=s.offsetTop)}return{width:o,height:r,x:a+In(n),y:u}}function zs(n){var t,e=It(n),i=$n(n),s=(t=n.ownerDocument)==null?void 0:t.body,o=Ht(e.scrollWidth,e.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=Ht(e.scrollHeight,e.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+In(n),u=-i.scrollTop;return Ct(s||e).direction==="rtl"&&(a+=Ht(e.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:u}}function Mn(n){var t=Ct(n),e=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+s+i)}function Bi(n){return["html","body","#document"].indexOf(gt(n))>=0?n.ownerDocument.body:ot(n)&&Mn(n)?n:Bi(je(n))}function _e(n,t){var e;t===void 0&&(t=[]);var i=Bi(n),s=i===((e=n.ownerDocument)==null?void 0:e.body),o=st(i),r=s?[o].concat(o.visualViewport||[],Mn(i)?i:[]):i,a=t.concat(r);return s?a:a.concat(_e(je(r)))}function En(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Ws(n,t){var e=te(n,!1,t==="fixed");return e.top=e.top+n.clientTop,e.left=e.left+n.clientLeft,e.bottom=e.top+n.clientHeight,e.right=e.left+n.clientWidth,e.width=n.clientWidth,e.height=n.clientHeight,e.x=e.left,e.y=e.top,e}function Kn(n,t,e){return t===Tn?En(Hs(n,e)):Wt(t)?Ws(t,e):En(zs(It(n)))}function Bs(n){var t=_e(je(n)),e=["absolute","fixed"].indexOf(Ct(n).position)>=0,i=e&&ot(n)?ge(n):n;return Wt(i)?t.filter(function(s){return Wt(s)&&ki(s,i)&>(s)!=="body"}):[]}function Fs(n,t,e,i){var s=t==="clippingParents"?Bs(n):[].concat(t),o=[].concat(s,[e]),r=o[0],a=o.reduce(function(u,d){var l=Kn(n,d,i);return u.top=Ht(l.top,u.top),u.right=He(l.right,u.right),u.bottom=He(l.bottom,u.bottom),u.left=Ht(l.left,u.left),u},Kn(n,r,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Fi(n){var t=n.reference,e=n.element,i=n.placement,s=i?_t(i):null,o=i?ee(i):null,r=t.x+t.width/2-e.width/2,a=t.y+t.height/2-e.height/2,u;switch(s){case Z:u={x:r,y:t.y-e.height};break;case nt:u={x:r,y:t.y+t.height};break;case it:u={x:t.x+t.width,y:a};break;case J:u={x:t.x-e.width,y:a};break;default:u={x:t.x,y:t.y}}var d=s?Sn(s):null;if(d!=null){var l=d==="y"?"height":"width";switch(o){case zt:u[d]=u[d]-(t[l]/2-e[l]/2);break;case Zt:u[d]=u[d]+(t[l]/2-e[l]/2);break}}return u}function ne(n,t){t===void 0&&(t={});var e=t,i=e.placement,s=i===void 0?n.placement:i,o=e.strategy,r=o===void 0?n.strategy:o,a=e.boundary,u=a===void 0?Ci:a,d=e.rootBoundary,l=d===void 0?Tn:d,g=e.elementContext,m=g===void 0?Gt:g,E=e.altBoundary,S=E===void 0?!1:E,y=e.padding,O=y===void 0?0:y,L=Hi(typeof O!="number"?O:zi(O,re)),V=m===Gt?Oi:Gt,M=n.rects.popper,v=n.elements[S?V:m],w=Fs(Wt(v)?v:v.contextElement||It(n.elements.popper),u,l,r),N=te(n.elements.reference),$=Fi({reference:N,element:M,strategy:"absolute",placement:s}),W=En(Object.assign({},M,$)),k=m===Gt?W:N,H={top:w.top-k.top+L.top,bottom:k.bottom-w.bottom+L.bottom,left:w.left-k.left+L.left,right:k.right-w.right+L.right},z=n.modifiersData.offset;if(m===Gt&&z){var G=z[s];Object.keys(H).forEach(function(Y){var dt=[it,nt].indexOf(Y)>=0?1:-1,ht=[Z,nt].indexOf(Y)>=0?"y":"x";H[Y]+=G[ht]*dt})}return H}function js(n,t){t===void 0&&(t={});var e=t,i=e.placement,s=e.boundary,o=e.rootBoundary,r=e.padding,a=e.flipVariations,u=e.allowedAutoPlacements,d=u===void 0?Cn:u,l=ee(i),g=l?a?mn:mn.filter(function(S){return ee(S)===l}):re,m=g.filter(function(S){return d.indexOf(S)>=0});m.length===0&&(m=g);var E=m.reduce(function(S,y){return S[y]=ne(n,{placement:y,boundary:s,rootBoundary:o,padding:r})[_t(y)],S},{});return Object.keys(E).sort(function(S,y){return E[S]-E[y]})}function Ks(n){if(_t(n)===Fe)return[];var t=Re(n);return[jn(n),t,jn(t)]}function Ys(n){var t=n.state,e=n.options,i=n.name;if(!t.modifiersData[i]._skip){for(var s=e.mainAxis,o=s===void 0?!0:s,r=e.altAxis,a=r===void 0?!0:r,u=e.fallbackPlacements,d=e.padding,l=e.boundary,g=e.rootBoundary,m=e.altBoundary,E=e.flipVariations,S=E===void 0?!0:E,y=e.allowedAutoPlacements,O=t.options.placement,L=_t(O),V=L===O,M=u||(V||!S?[Re(O)]:Ks(O)),v=[O].concat(M).reduce(function(x,C){return x.concat(_t(C)===Fe?js(t,{placement:C,boundary:l,rootBoundary:g,padding:d,flipVariations:S,allowedAutoPlacements:y}):C)},[]),w=t.rects.reference,N=t.rects.popper,$=new Map,W=!0,k=v[0],H=0;H=0,ht=dt?"width":"height",U=ne(t,{placement:z,boundary:l,rootBoundary:g,altBoundary:m,padding:d}),q=dt?Y?it:J:Y?nt:Z;w[ht]>N[ht]&&(q=Re(q));var p=Re(q),h=[];if(o&&h.push(U[G]<=0),a&&h.push(U[q]<=0,U[p]<=0),h.every(function(x){return x})){k=z,W=!1;break}$.set(z,h)}if(W)for(var b=S?3:1,R=function(C){var D=v.find(function(B){var F=$.get(B);if(F)return F.slice(0,C).every(function(ut){return ut})});if(D)return k=D,"break"},I=b;I>0;I--){var T=R(I);if(T==="break")break}t.placement!==k&&(t.modifiersData[i]._skip=!0,t.placement=k,t.reset=!0)}}const ji={name:"flip",enabled:!0,phase:"main",fn:Ys,requiresIfExists:["offset"],data:{_skip:!1}};function Yn(n,t,e){return e===void 0&&(e={x:0,y:0}),{top:n.top-t.height-e.y,right:n.right-t.width+e.x,bottom:n.bottom-t.height+e.y,left:n.left-t.width-e.x}}function Un(n){return[Z,it,nt,J].some(function(t){return n[t]>=0})}function Us(n){var t=n.state,e=n.name,i=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,r=ne(t,{elementContext:"reference"}),a=ne(t,{altBoundary:!0}),u=Yn(r,i),d=Yn(a,s,o),l=Un(u),g=Un(d);t.modifiersData[e]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:l,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":g})}const Ki={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Us};function Gs(n,t,e){var i=_t(n),s=[J,Z].indexOf(i)>=0?-1:1,o=typeof e=="function"?e(Object.assign({},t,{placement:n})):e,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[J,it].indexOf(i)>=0?{x:a,y:r}:{x:r,y:a}}function qs(n){var t=n.state,e=n.options,i=n.name,s=e.offset,o=s===void 0?[0,0]:s,r=Cn.reduce(function(l,g){return l[g]=Gs(g,t.rects,o),l},{}),a=r[t.placement],u=a.x,d=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[i]=r}const Yi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:qs};function Xs(n){var t=n.state,e=n.name;t.modifiersData[e]=Fi({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const xn={name:"popperOffsets",enabled:!0,phase:"read",fn:Xs,data:{}};function Qs(n){return n==="x"?"y":"x"}function Zs(n){var t=n.state,e=n.options,i=n.name,s=e.mainAxis,o=s===void 0?!0:s,r=e.altAxis,a=r===void 0?!1:r,u=e.boundary,d=e.rootBoundary,l=e.altBoundary,g=e.padding,m=e.tether,E=m===void 0?!0:m,S=e.tetherOffset,y=S===void 0?0:S,O=ne(t,{boundary:u,rootBoundary:d,padding:g,altBoundary:l}),L=_t(t.placement),V=ee(t.placement),M=!V,v=Sn(L),w=Qs(v),N=t.modifiersData.popperOffsets,$=t.rects.reference,W=t.rects.popper,k=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,H=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,G={x:0,y:0};if(N){if(o){var Y,dt=v==="y"?Z:J,ht=v==="y"?nt:it,U=v==="y"?"height":"width",q=N[v],p=q+O[dt],h=q-O[ht],b=E?-W[U]/2:0,R=V===zt?$[U]:W[U],I=V===zt?-W[U]:-$[U],T=t.elements.arrow,x=E&&T?Nn(T):{width:0,height:0},C=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Vi(),D=C[dt],B=C[ht],F=pe(0,$[U],x[U]),ut=M?$[U]/2-b-F-D-H.mainAxis:R-F-D-H.mainAxis,Qe=M?-$[U]/2+b+F+B+H.mainAxis:I+F+B+H.mainAxis,ce=t.elements.arrow&&ge(t.elements.arrow),Ze=ce?v==="y"?ce.clientTop||0:ce.clientLeft||0:0,ye=(Y=z==null?void 0:z[v])!=null?Y:0,Pt=q+ut-ye-Ze,et=q+Qe-ye,Et=pe(E?He(p,Pt):p,q,E?Ht(h,et):h);N[v]=Et,G[v]=Et-q}if(a){var ue,Te=v==="x"?Z:J,Je=v==="x"?nt:it,pt=N[w],j=w==="y"?"height":"width",fe=pt+O[Te],Ce=pt-O[Je],jt=[Z,J].indexOf(L)!==-1,Oe=(ue=z==null?void 0:z[w])!=null?ue:0,we=jt?fe:pt-$[j]-W[j]-Oe+H.altAxis,Ne=jt?pt+$[j]+W[j]-Oe-H.altAxis:Ce,wt=E&&jt?Ls(we,pt,Ne):pe(E?we:fe,pt,E?Ne:Ce);N[w]=wt,G[w]=wt-pt}t.modifiersData[i]=G}}const Ui={name:"preventOverflow",enabled:!0,phase:"main",fn:Zs,requiresIfExists:["offset"]};function Js(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function tr(n){return n===st(n)||!ot(n)?$n(n):Js(n)}function er(n){var t=n.getBoundingClientRect(),e=Jt(t.width)/n.offsetWidth||1,i=Jt(t.height)/n.offsetHeight||1;return e!==1||i!==1}function nr(n,t,e){e===void 0&&(e=!1);var i=ot(t),s=ot(t)&&er(t),o=It(t),r=te(n,s,e),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!e)&&((gt(t)!=="body"||Mn(o))&&(a=tr(t)),ot(t)?(u=te(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=In(o))),{x:r.left+a.scrollLeft-u.x,y:r.top+a.scrollTop-u.y,width:r.width,height:r.height}}function ir(n){var t=new Map,e=new Set,i=[];n.forEach(function(o){t.set(o.name,o)});function s(o){e.add(o.name);var r=[].concat(o.requires||[],o.requiresIfExists||[]);r.forEach(function(a){if(!e.has(a)){var u=t.get(a);u&&s(u)}}),i.push(o)}return n.forEach(function(o){e.has(o.name)||s(o)}),i}function sr(n){var t=ir(n);return Pi.reduce(function(e,i){return e.concat(t.filter(function(s){return s.phase===i}))},[])}function rr(n){var t;return function(){return t||(t=new Promise(function(e){Promise.resolve().then(function(){t=void 0,e(n())})})),t}}function or(n){var t=n.reduce(function(e,i){var s=e[i.name];return e[i.name]=s?Object.assign({},s,i,{options:Object.assign({},s.options,i.options),data:Object.assign({},s.data,i.data)}):i,e},{});return Object.keys(t).map(function(e){return t[e]})}var Gn={placement:"bottom",modifiers:[],strategy:"absolute"};function qn(){for(var n=arguments.length,t=new Array(n),e=0;e(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),n),hr=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),pr=n=>{do n+=Math.floor(Math.random()*fr);while(document.getElementById(n));return n},_r=n=>{if(!n)return 0;let{transitionDuration:t,transitionDelay:e}=window.getComputedStyle(n);const i=Number.parseFloat(t),s=Number.parseFloat(e);return!i&&!s?0:(t=t.split(",")[0],e=e.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(e))*dr)},Xi=n=>{n.dispatchEvent(new Event(vn))},yt=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),Lt=n=>yt(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(qi(n)):null,oe=n=>{if(!yt(n)||n.getClientRects().length===0)return!1;const t=getComputedStyle(n).getPropertyValue("visibility")==="visible",e=n.closest("details:not([open])");if(!e)return t;if(e!==n){const i=n.closest("summary");if(i&&i.parentNode!==e||i===null)return!1}return t},Dt=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",Qi=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?Qi(n.parentNode):null},ze=()=>{},Ee=n=>{n.offsetHeight},Zi=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,en=[],mr=n=>{document.readyState==="loading"?(en.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of en)t()}),en.push(n)):n()},at=()=>document.documentElement.dir==="rtl",ct=n=>{mr(()=>{const t=Zi();if(t){const e=n.NAME,i=t.fn[e];t.fn[e]=n.jQueryInterface,t.fn[e].Constructor=n,t.fn[e].noConflict=()=>(t.fn[e]=i,n.jQueryInterface)}})},tt=(n,t=[],e=n)=>typeof n=="function"?n(...t):e,Ji=(n,t,e=!0)=>{if(!e){tt(n);return}const i=5,s=_r(t)+i;let o=!1;const r=({target:a})=>{a===t&&(o=!0,t.removeEventListener(vn,r),tt(n))};t.addEventListener(vn,r),setTimeout(()=>{o||Xi(t)},s)},Rn=(n,t,e,i)=>{const s=n.length;let o=n.indexOf(t);return o===-1?!e&&i?n[s-1]:n[0]:(o+=e?1:-1,i&&(o=(o+s)%s),n[Math.max(0,Math.min(o,s-1))])},gr=/[^.]*(?=\..*)\.|.*/,Er=/\..*/,vr=/::\d+$/,nn={};let Xn=1;const ts={mouseenter:"mouseover",mouseleave:"mouseout"},br=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 es(n,t){return t&&`${t}::${Xn++}`||n.uidEvent||Xn++}function ns(n){const t=es(n);return n.uidEvent=t,nn[t]=nn[t]||{},nn[t]}function Ar(n,t){return function e(i){return kn(i,{delegateTarget:n}),e.oneOff&&c.off(n,i.type,t),t.apply(n,[i])}}function yr(n,t,e){return function i(s){const o=n.querySelectorAll(t);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return kn(s,{delegateTarget:r}),i.oneOff&&c.off(n,s.type,t,e),e.apply(r,[s])}}function is(n,t,e=null){return Object.values(n).find(i=>i.callable===t&&i.delegationSelector===e)}function ss(n,t,e){const i=typeof t=="string",s=i?e:t||e;let o=rs(n);return br.has(o)||(o=n),[i,s,o]}function Qn(n,t,e,i,s){if(typeof t!="string"||!n)return;let[o,r,a]=ss(t,e,i);t in ts&&(r=(S=>function(y){if(!y.relatedTarget||y.relatedTarget!==y.delegateTarget&&!y.delegateTarget.contains(y.relatedTarget))return S.call(this,y)})(r));const u=ns(n),d=u[a]||(u[a]={}),l=is(d,r,o?e:null);if(l){l.oneOff=l.oneOff&&s;return}const g=es(r,t.replace(gr,"")),m=o?yr(n,e,r):Ar(n,r);m.delegationSelector=o?e:null,m.callable=r,m.oneOff=s,m.uidEvent=g,d[g]=m,n.addEventListener(a,m,o)}function bn(n,t,e,i,s){const o=is(t[e],i,s);o&&(n.removeEventListener(e,o,!!s),delete t[e][o.uidEvent])}function Tr(n,t,e,i){const s=t[e]||{};for(const[o,r]of Object.entries(s))o.includes(i)&&bn(n,t,e,r.callable,r.delegationSelector)}function rs(n){return n=n.replace(Er,""),ts[n]||n}const c={on(n,t,e,i){Qn(n,t,e,i,!1)},one(n,t,e,i){Qn(n,t,e,i,!0)},off(n,t,e,i){if(typeof t!="string"||!n)return;const[s,o,r]=ss(t,e,i),a=r!==t,u=ns(n),d=u[r]||{},l=t.startsWith(".");if(typeof o<"u"){if(!Object.keys(d).length)return;bn(n,u,r,o,s?e:null);return}if(l)for(const g of Object.keys(u))Tr(n,u,g,t.slice(1));for(const[g,m]of Object.entries(d)){const E=g.replace(vr,"");(!a||t.includes(E))&&bn(n,u,r,m.callable,m.delegationSelector)}},trigger(n,t,e){if(typeof t!="string"||!n)return null;const i=Zi(),s=rs(t),o=t!==s;let r=null,a=!0,u=!0,d=!1;o&&i&&(r=i.Event(t,e),i(n).trigger(r),a=!r.isPropagationStopped(),u=!r.isImmediatePropagationStopped(),d=r.isDefaultPrevented());const l=kn(new Event(t,{bubbles:a,cancelable:!0}),e);return d&&l.preventDefault(),u&&n.dispatchEvent(l),l.defaultPrevented&&r&&r.preventDefault(),l}};function kn(n,t={}){for(const[e,i]of Object.entries(t))try{n[e]=i}catch{Object.defineProperty(n,e,{configurable:!0,get(){return i}})}return n}function Zn(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function sn(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const Tt={setDataAttribute(n,t,e){n.setAttribute(`data-bs-${sn(t)}`,e)},removeDataAttribute(n,t){n.removeAttribute(`data-bs-${sn(t)}`)},getDataAttributes(n){if(!n)return{};const t={},e=Object.keys(n.dataset).filter(i=>i.startsWith("bs")&&!i.startsWith("bsConfig"));for(const i of e){let s=i.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),t[s]=Zn(n.dataset[i])}return t},getDataAttribute(n,t){return Zn(n.getAttribute(`data-bs-${sn(t)}`))}};class ve{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(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=yt(e)?Tt.getDataAttribute(e,"config"):{};return{...this.constructor.Default,...typeof i=="object"?i:{},...yt(e)?Tt.getDataAttributes(e):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[i,s]of Object.entries(e)){const o=t[i],r=yt(o)?"element":hr(o);if(!new RegExp(s).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${s}".`)}}}const Cr="5.3.3";class ft extends ve{constructor(t,e){super(),t=Lt(t),t&&(this._element=t,this._config=this._getConfig(e),tn.set(this._element,this.constructor.DATA_KEY,this))}dispose(){tn.remove(this._element,this.constructor.DATA_KEY),c.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){Ji(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return tn.get(Lt(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,typeof e=="object"?e:null)}static get VERSION(){return Cr}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const rn=n=>{let t=n.getAttribute("data-bs-target");if(!t||t==="#"){let e=n.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),t=e&&e!=="#"?e.trim():null}return t?t.split(",").map(e=>qi(e)).join(","):null},_={find(n,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,n))},findOne(n,t=document.documentElement){return Element.prototype.querySelector.call(t,n)},children(n,t){return[].concat(...n.children).filter(e=>e.matches(t))},parents(n,t){const e=[];let i=n.parentNode.closest(t);for(;i;)e.push(i),i=i.parentNode.closest(t);return e},prev(n,t){let e=n.previousElementSibling;for(;e;){if(e.matches(t))return[e];e=e.previousElementSibling}return[]},next(n,t){let e=n.nextElementSibling;for(;e;){if(e.matches(t))return[e];e=e.nextElementSibling}return[]},focusableChildren(n){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,n).filter(e=>!Dt(e)&&oe(e))},getSelectorFromElement(n){const t=rn(n);return t&&_.findOne(t)?t:null},getElementFromSelector(n){const t=rn(n);return t?_.findOne(t):null},getMultipleElementsFromSelector(n){const t=rn(n);return t?_.find(t):[]}},Ye=(n,t="hide")=>{const e=`click.dismiss${n.EVENT_KEY}`,i=n.NAME;c.on(document,e,`[data-bs-dismiss="${i}"]`,function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),Dt(this))return;const o=_.getElementFromSelector(this)||this.closest(`.${i}`);n.getOrCreateInstance(o)[t]()})},Or="alert",wr="bs.alert",os=`.${wr}`,Nr=`close${os}`,Sr=`closed${os}`,Lr="fade",Dr="show";class Ue extends ft{static get NAME(){return Or}close(){if(c.trigger(this._element,Nr).defaultPrevented)return;this._element.classList.remove(Dr);const e=this._element.classList.contains(Lr);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),c.trigger(this._element,Sr),this.dispose()}static jQueryInterface(t){return this.each(function(){const e=Ue.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}Ye(Ue,"close");ct(Ue);const $r="button",Ir="bs.button",Mr=`.${Ir}`,xr=".data-api",Pr="active",Jn='[data-bs-toggle="button"]',Rr=`click${Mr}${xr}`;class Ge extends ft{static get NAME(){return $r}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Pr))}static jQueryInterface(t){return this.each(function(){const e=Ge.getOrCreateInstance(this);t==="toggle"&&e[t]()})}}c.on(document,Rr,Jn,n=>{n.preventDefault();const t=n.target.closest(Jn);Ge.getOrCreateInstance(t).toggle()});ct(Ge);const kr="swipe",ae=".bs.swipe",Vr=`touchstart${ae}`,Hr=`touchmove${ae}`,zr=`touchend${ae}`,Wr=`pointerdown${ae}`,Br=`pointerup${ae}`,Fr="touch",jr="pen",Kr="pointer-event",Yr=40,Ur={endCallback:null,leftCallback:null,rightCallback:null},Gr={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class We extends ve{constructor(t,e){super(),this._element=t,!(!t||!We.isSupported())&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Ur}static get DefaultType(){return Gr}static get NAME(){return kr}dispose(){c.off(this._element,ae)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),tt(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=Yr)return;const e=t/this._deltaX;this._deltaX=0,e&&tt(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(c.on(this._element,Wr,t=>this._start(t)),c.on(this._element,Br,t=>this._end(t)),this._element.classList.add(Kr)):(c.on(this._element,Vr,t=>this._start(t)),c.on(this._element,Hr,t=>this._move(t)),c.on(this._element,zr,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===jr||t.pointerType===Fr)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const qr="carousel",Xr="bs.carousel",Mt=`.${Xr}`,as=".data-api",Qr="ArrowLeft",Zr="ArrowRight",Jr=500,de="next",Yt="prev",qt="left",ke="right",to=`slide${Mt}`,on=`slid${Mt}`,eo=`keydown${Mt}`,no=`mouseenter${Mt}`,io=`mouseleave${Mt}`,so=`dragstart${Mt}`,ro=`load${Mt}${as}`,oo=`click${Mt}${as}`,ls="carousel",De="active",ao="slide",lo="carousel-item-end",co="carousel-item-start",uo="carousel-item-next",fo="carousel-item-prev",cs=".active",us=".carousel-item",ho=cs+us,po=".carousel-item img",_o=".carousel-indicators",mo="[data-bs-slide], [data-bs-slide-to]",go='[data-bs-ride="carousel"]',Eo={[Qr]:ke,[Zr]:qt},vo={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},bo={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class be extends ft{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=_.findOne(_o,this._element),this._addEventListeners(),this._config.ride===ls&&this.cycle()}static get Default(){return vo}static get DefaultType(){return bo}static get NAME(){return qr}next(){this._slide(de)}nextWhenVisible(){!document.hidden&&oe(this._element)&&this.next()}prev(){this._slide(Yt)}pause(){this._isSliding&&Xi(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){c.one(this._element,on,()=>this.cycle());return}this.cycle()}}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding){c.one(this._element,on,()=>this.to(t));return}const i=this._getItemIndex(this._getActive());if(i===t)return;const s=t>i?de:Yt;this._slide(s,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&c.on(this._element,eo,t=>this._keydown(t)),this._config.pause==="hover"&&(c.on(this._element,no,()=>this.pause()),c.on(this._element,io,()=>this._maybeEnableCycle())),this._config.touch&&We.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const i of _.find(po,this._element))c.on(i,so,s=>s.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(qt)),rightCallback:()=>this._slide(this._directionToOrder(ke)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Jr+this._config.interval))}};this._swipeHelper=new We(this._element,e)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Eo[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=_.findOne(cs,this._indicatorsElement);e.classList.remove(De),e.removeAttribute("aria-current");const i=_.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(De),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const i=this._getActive(),s=t===de,o=e||Rn(this._getItems(),i,s,this._config.wrap);if(o===i)return;const r=this._getItemIndex(o),a=E=>c.trigger(this._element,E,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:r});if(a(to).defaultPrevented||!i||!o)return;const d=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=o;const l=s?co:lo,g=s?uo:fo;o.classList.add(g),Ee(o),i.classList.add(l),o.classList.add(l);const m=()=>{o.classList.remove(l,g),o.classList.add(De),i.classList.remove(De,g,l),this._isSliding=!1,a(on)};this._queueCallback(m,i,this._isAnimated()),d&&this.cycle()}_isAnimated(){return this._element.classList.contains(ao)}_getActive(){return _.findOne(ho,this._element)}_getItems(){return _.find(us,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return at()?t===qt?Yt:de:t===qt?de:Yt}_orderToDirection(t){return at()?t===Yt?qt:ke:t===Yt?ke:qt}static jQueryInterface(t){return this.each(function(){const e=be.getOrCreateInstance(this,t);if(typeof t=="number"){e.to(t);return}if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}c.on(document,oo,mo,function(n){const t=_.getElementFromSelector(this);if(!t||!t.classList.contains(ls))return;n.preventDefault();const e=be.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");if(i){e.to(i),e._maybeEnableCycle();return}if(Tt.getDataAttribute(this,"slide")==="next"){e.next(),e._maybeEnableCycle();return}e.prev(),e._maybeEnableCycle()});c.on(window,ro,()=>{const n=_.find(go);for(const t of n)be.getOrCreateInstance(t)});ct(be);const Ao="collapse",yo="bs.collapse",Ae=`.${yo}`,To=".data-api",Co=`show${Ae}`,Oo=`shown${Ae}`,wo=`hide${Ae}`,No=`hidden${Ae}`,So=`click${Ae}${To}`,an="show",Qt="collapse",$e="collapsing",Lo="collapsed",Do=`:scope .${Qt} .${Qt}`,$o="collapse-horizontal",Io="width",Mo="height",xo=".collapse.show, .collapse.collapsing",An='[data-bs-toggle="collapse"]',Po={parent:null,toggle:!0},Ro={parent:"(null|element)",toggle:"boolean"};class me extends ft{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=_.find(An);for(const s of i){const o=_.getSelectorFromElement(s),r=_.find(o).filter(a=>a===this._element);o!==null&&r.length&&this._triggerArray.push(s)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Po}static get DefaultType(){return Ro}static get NAME(){return Ao}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(xo).filter(a=>a!==this._element).map(a=>me.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||c.trigger(this._element,Co).defaultPrevented)return;for(const a of t)a.hide();const i=this._getDimension();this._element.classList.remove(Qt),this._element.classList.add($e),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove($e),this._element.classList.add(Qt,an),this._element.style[i]="",c.trigger(this._element,Oo)},r=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback(s,this._element,!0),this._element.style[i]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown()||c.trigger(this._element,wo).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,Ee(this._element),this._element.classList.add($e),this._element.classList.remove(Qt,an);for(const s of this._triggerArray){const o=_.getElementFromSelector(s);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([s],!1)}this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove($e),this._element.classList.add(Qt),c.trigger(this._element,No)};this._element.style[e]="",this._queueCallback(i,this._element,!0)}_isShown(t=this._element){return t.classList.contains(an)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=Lt(t.parent),t}_getDimension(){return this._element.classList.contains($o)?Io:Mo}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(An);for(const e of t){const i=_.getElementFromSelector(e);i&&this._addAriaAndCollapsedClass([e],this._isShown(i))}}_getFirstLevelChildren(t){const e=_.find(Do,this._config.parent);return _.find(t,this._config.parent).filter(i=>!e.includes(i))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const i of t)i.classList.toggle(Lo,!e),i.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return typeof t=="string"&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){const i=me.getOrCreateInstance(this,e);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t]()}})}}c.on(document,So,An,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const t of _.getMultipleElementsFromSelector(this))me.getOrCreateInstance(t,{toggle:!1}).toggle()});ct(me);const ti="dropdown",ko="bs.dropdown",Bt=`.${ko}`,Vn=".data-api",Vo="Escape",ei="Tab",Ho="ArrowUp",ni="ArrowDown",zo=2,Wo=`hide${Bt}`,Bo=`hidden${Bt}`,Fo=`show${Bt}`,jo=`shown${Bt}`,fs=`click${Bt}${Vn}`,ds=`keydown${Bt}${Vn}`,Ko=`keyup${Bt}${Vn}`,Xt="show",Yo="dropup",Uo="dropend",Go="dropstart",qo="dropup-center",Xo="dropdown-center",kt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Qo=`${kt}.${Xt}`,Ve=".dropdown-menu",Zo=".navbar",Jo=".navbar-nav",ta=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",ea=at()?"top-end":"top-start",na=at()?"top-start":"top-end",ia=at()?"bottom-end":"bottom-start",sa=at()?"bottom-start":"bottom-end",ra=at()?"left-start":"right-start",oa=at()?"right-start":"left-start",aa="top",la="bottom",ca={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},ua={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class mt extends ft{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=_.next(this._element,Ve)[0]||_.prev(this._element,Ve)[0]||_.findOne(Ve,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ca}static get DefaultType(){return ua}static get NAME(){return ti}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Dt(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!c.trigger(this._element,Fo,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Jo))for(const i of[].concat(...document.body.children))c.on(i,"mouseover",ze);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Xt),this._element.classList.add(Xt),c.trigger(this._element,jo,t)}}hide(){if(Dt(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!c.trigger(this._element,Wo,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))c.off(i,"mouseover",ze);this._popper&&this._popper.destroy(),this._menu.classList.remove(Xt),this._element.classList.remove(Xt),this._element.setAttribute("aria-expanded","false"),Tt.removeDataAttribute(this._menu,"popper"),c.trigger(this._element,Bo,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!yt(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${ti.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof Gi>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:yt(this._config.reference)?t=Lt(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=Pn(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Xt)}_getPlacement(){const t=this._parent;if(t.classList.contains(Uo))return ra;if(t.classList.contains(Go))return oa;if(t.classList.contains(qo))return aa;if(t.classList.contains(Xo))return la;const e=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Yo)?e?na:ea:e?sa:ia}_detectNavbar(){return this._element.closest(Zo)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Tt.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...tt(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const i=_.find(ta,this._menu).filter(s=>oe(s));i.length&&Rn(i,e,t===ni,!i.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){const e=mt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(t.button===zo||t.type==="keyup"&&t.key!==ei)return;const e=_.find(Qo);for(const i of e){const s=mt.getInstance(i);if(!s||s._config.autoClose===!1)continue;const o=t.composedPath(),r=o.includes(s._menu);if(o.includes(s._element)||s._config.autoClose==="inside"&&!r||s._config.autoClose==="outside"&&r||s._menu.contains(t.target)&&(t.type==="keyup"&&t.key===ei||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:s._element};t.type==="click"&&(a.clickEvent=t),s._completeHide(a)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),i=t.key===Vo,s=[Ho,ni].includes(t.key);if(!s&&!i||e&&!i)return;t.preventDefault();const o=this.matches(kt)?this:_.prev(this,kt)[0]||_.next(this,kt)[0]||_.findOne(kt,t.delegateTarget.parentNode),r=mt.getOrCreateInstance(o);if(s){t.stopPropagation(),r.show(),r._selectMenuItem(t);return}r._isShown()&&(t.stopPropagation(),r.hide(),o.focus())}}c.on(document,ds,kt,mt.dataApiKeydownHandler);c.on(document,ds,Ve,mt.dataApiKeydownHandler);c.on(document,fs,mt.clearMenus);c.on(document,Ko,mt.clearMenus);c.on(document,fs,kt,function(n){n.preventDefault(),mt.getOrCreateInstance(this).toggle()});ct(mt);const hs="backdrop",fa="fade",ii="show",si=`mousedown.bs.${hs}`,da={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ha={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ps extends ve{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return da}static get DefaultType(){return ha}static get NAME(){return hs}show(t){if(!this._config.isVisible){tt(t);return}this._append();const e=this._getElement();this._config.isAnimated&&Ee(e),e.classList.add(ii),this._emulateAnimation(()=>{tt(t)})}hide(t){if(!this._config.isVisible){tt(t);return}this._getElement().classList.remove(ii),this._emulateAnimation(()=>{this.dispose(),tt(t)})}dispose(){this._isAppended&&(c.off(this._element,si),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(fa),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Lt(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),c.on(t,si,()=>{tt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Ji(t,this._getElement(),this._config.isAnimated)}}const pa="focustrap",_a="bs.focustrap",Be=`.${_a}`,ma=`focusin${Be}`,ga=`keydown.tab${Be}`,Ea="Tab",va="forward",ri="backward",ba={autofocus:!0,trapElement:null},Aa={autofocus:"boolean",trapElement:"element"};class _s extends ve{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ba}static get DefaultType(){return Aa}static get NAME(){return pa}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),c.off(document,Be),c.on(document,ma,t=>this._handleFocusin(t)),c.on(document,ga,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,c.off(document,Be))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const i=_.focusableChildren(e);i.length===0?e.focus():this._lastTabNavDirection===ri?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){t.key===Ea&&(this._lastTabNavDirection=t.shiftKey?ri:va)}}const oi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ai=".sticky-top",Ie="padding-right",li="margin-right";class yn{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ie,e=>e+t),this._setElementAttributes(oi,Ie,e=>e+t),this._setElementAttributes(ai,li,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ie),this._resetElementAttributes(oi,Ie),this._resetElementAttributes(ai,li)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const s=this.getWidth(),o=r=>{if(r!==this._element&&window.innerWidth>r.clientWidth+s)return;this._saveInitialAttribute(r,e);const a=window.getComputedStyle(r).getPropertyValue(e);r.style.setProperty(e,`${i(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,o)}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);i&&Tt.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){const i=s=>{const o=Tt.getDataAttribute(s,e);if(o===null){s.style.removeProperty(e);return}Tt.removeDataAttribute(s,e),s.style.setProperty(e,o)};this._applyManipulationCallback(t,i)}_applyManipulationCallback(t,e){if(yt(t)){e(t);return}for(const i of _.find(t,this._element))e(i)}}const ya="modal",Ta="bs.modal",lt=`.${Ta}`,Ca=".data-api",Oa="Escape",wa=`hide${lt}`,Na=`hidePrevented${lt}`,ms=`hidden${lt}`,gs=`show${lt}`,Sa=`shown${lt}`,La=`resize${lt}`,Da=`click.dismiss${lt}`,$a=`mousedown.dismiss${lt}`,Ia=`keydown.dismiss${lt}`,Ma=`click${lt}${Ca}`,ci="modal-open",xa="fade",ui="show",ln="modal-static",Pa=".modal.show",Ra=".modal-dialog",ka=".modal-body",Va='[data-bs-toggle="modal"]',Ha={backdrop:!0,focus:!0,keyboard:!0},za={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ie extends ft{constructor(t,e){super(t,e),this._dialog=_.findOne(Ra,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new yn,this._addEventListeners()}static get Default(){return Ha}static get DefaultType(){return za}static get NAME(){return ya}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||c.trigger(this._element,gs,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ci),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||c.trigger(this._element,wa).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ui),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){c.off(window,lt),c.off(this._dialog,lt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ps({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new _s({trapElement:this._element})}_showElement(t){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 e=_.findOne(ka,this._dialog);e&&(e.scrollTop=0),Ee(this._element),this._element.classList.add(ui);const i=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,c.trigger(this._element,Sa,{relatedTarget:t})};this._queueCallback(i,this._dialog,this._isAnimated())}_addEventListeners(){c.on(this._element,Ia,t=>{if(t.key===Oa){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),c.on(window,La,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),c.on(this._element,$a,t=>{c.one(this._element,Da,e=>{if(!(this._element!==t.target||this._element!==e.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_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(ci),this._resetAdjustments(),this._scrollBar.reset(),c.trigger(this._element,ms)})}_isAnimated(){return this._element.classList.contains(xa)}_triggerBackdropTransition(){if(c.trigger(this._element,Na).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;i==="hidden"||this._element.classList.contains(ln)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(ln),this._queueCallback(()=>{this._element.classList.remove(ln),this._queueCallback(()=>{this._element.style.overflowY=i},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;if(i&&!t){const s=at()?"paddingLeft":"paddingRight";this._element.style[s]=`${e}px`}if(!i&&t){const s=at()?"paddingRight":"paddingLeft";this._element.style[s]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const i=ie.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t](e)}})}}c.on(document,Ma,Va,function(n){const t=_.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),c.one(t,gs,s=>{s.defaultPrevented||c.one(t,ms,()=>{oe(this)&&this.focus()})});const e=_.findOne(Pa);e&&ie.getInstance(e).hide(),ie.getOrCreateInstance(t).toggle(this)});Ye(ie);ct(ie);const Wa="offcanvas",Ba="bs.offcanvas",Ot=`.${Ba}`,Es=".data-api",Fa=`load${Ot}${Es}`,ja="Escape",fi="show",di="showing",hi="hiding",Ka="offcanvas-backdrop",vs=".offcanvas.show",Ya=`show${Ot}`,Ua=`shown${Ot}`,Ga=`hide${Ot}`,pi=`hidePrevented${Ot}`,bs=`hidden${Ot}`,qa=`resize${Ot}`,Xa=`click${Ot}${Es}`,Qa=`keydown.dismiss${Ot}`,Za='[data-bs-toggle="offcanvas"]',Ja={backdrop:!0,keyboard:!0,scroll:!1},tl={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class $t extends ft{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Ja}static get DefaultType(){return tl}static get NAME(){return Wa}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||c.trigger(this._element,Ya,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new yn().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(di);const i=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(fi),this._element.classList.remove(di),c.trigger(this._element,Ua,{relatedTarget:t})};this._queueCallback(i,this._element,!0)}hide(){if(!this._isShown||c.trigger(this._element,Ga).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(hi),this._backdrop.hide();const e=()=>{this._element.classList.remove(fi,hi),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new yn().reset(),c.trigger(this._element,bs)};this._queueCallback(e,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){c.trigger(this._element,pi);return}this.hide()},e=!!this._config.backdrop;return new ps({className:Ka,isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?t:null})}_initializeFocusTrap(){return new _s({trapElement:this._element})}_addEventListeners(){c.on(this._element,Qa,t=>{if(t.key===ja){if(this._config.keyboard){this.hide();return}c.trigger(this._element,pi)}})}static jQueryInterface(t){return this.each(function(){const e=$t.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}c.on(document,Xa,Za,function(n){const t=_.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Dt(this))return;c.one(t,bs,()=>{oe(this)&&this.focus()});const e=_.findOne(vs);e&&e!==t&&$t.getInstance(e).hide(),$t.getOrCreateInstance(t).toggle(this)});c.on(window,Fa,()=>{for(const n of _.find(vs))$t.getOrCreateInstance(n).show()});c.on(window,qa,()=>{for(const n of _.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&$t.getOrCreateInstance(n).hide()});Ye($t);ct($t);const el=/^aria-[\w-]*$/i,As={"*":["class","dir","id","lang","role",el],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],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:[]},nl=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),il=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,sl=(n,t)=>{const e=n.nodeName.toLowerCase();return t.includes(e)?nl.has(e)?!!il.test(n.nodeValue):!0:t.filter(i=>i instanceof RegExp).some(i=>i.test(e))};function rl(n,t,e){if(!n.length)return n;if(e&&typeof e=="function")return e(n);const s=new window.DOMParser().parseFromString(n,"text/html"),o=[].concat(...s.body.querySelectorAll("*"));for(const r of o){const a=r.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){r.remove();continue}const u=[].concat(...r.attributes),d=[].concat(t["*"]||[],t[a]||[]);for(const l of u)sl(l,d)||r.removeAttribute(l.nodeName)}return s.body.innerHTML}const ol="TemplateFactory",al={allowList:As,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},ll={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},cl={entry:"(string|element|function|null)",selector:"(string|element)"};class ul extends ve{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return al}static get DefaultType(){return ll}static get NAME(){return ol}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[s,o]of Object.entries(this._config.content))this._setContent(t,o,s);const e=t.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&e.classList.add(...i.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t))super._typeCheckConfig({selector:e,entry:i},cl)}_setContent(t,e,i){const s=_.findOne(i,t);if(s){if(e=this._resolvePossibleFunction(e),!e){s.remove();return}if(yt(e)){this._putElementInTemplate(Lt(e),s);return}if(this._config.html){s.innerHTML=this._maybeSanitize(e);return}s.textContent=e}}_maybeSanitize(t){return this._config.sanitize?rl(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return tt(t,[this])}_putElementInTemplate(t,e){if(this._config.html){e.innerHTML="",e.append(t);return}e.textContent=t.textContent}}const fl="tooltip",dl=new Set(["sanitize","allowList","sanitizeFn"]),cn="fade",hl="modal",Me="show",pl=".tooltip-inner",_i=`.${hl}`,mi="hide.bs.modal",he="hover",un="focus",_l="click",ml="manual",gl="hide",El="hidden",vl="show",bl="shown",Al="inserted",yl="click",Tl="focusin",Cl="focusout",Ol="mouseenter",wl="mouseleave",Nl={AUTO:"auto",TOP:"top",RIGHT:at()?"left":"right",BOTTOM:"bottom",LEFT:at()?"right":"left"},Sl={allowList:As,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:'',title:"",trigger:"hover focus"},Ll={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 le extends ft{constructor(t,e){if(typeof Gi>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),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 Sl}static get DefaultType(){return Ll}static get NAME(){return fl}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),c.off(this._element.closest(_i),mi,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(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=c.trigger(this._element,this.constructor.eventName(vl)),i=(Qi(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!i)return;this._disposePopper();const s=this._getTipElement();this._element.setAttribute("aria-describedby",s.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(s),c.trigger(this._element,this.constructor.eventName(Al))),this._popper=this._createPopper(s),s.classList.add(Me),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))c.on(a,"mouseover",ze);const r=()=>{c.trigger(this._element,this.constructor.eventName(bl)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(r,this.tip,this._isAnimated())}hide(){if(!this._isShown()||c.trigger(this._element,this.constructor.eventName(gl)).defaultPrevented)return;if(this._getTipElement().classList.remove(Me),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))c.off(s,"mouseover",ze);this._activeTrigger[_l]=!1,this._activeTrigger[un]=!1,this._activeTrigger[he]=!1,this._isHovered=null;const i=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),c.trigger(this._element,this.constructor.eventName(El)))};this._queueCallback(i,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(cn,Me),e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=pr(this.constructor.NAME).toString();return e.setAttribute("id",i),this._isAnimated()&&e.classList.add(cn),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new ul({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[pl]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(cn)}_isShown(){return this.tip&&this.tip.classList.contains(Me)}_createPopper(t){const e=tt(this._config.placement,[this,t,this._element]),i=Nl[e.toUpperCase()];return Pn(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_resolvePossibleFunction(t){return tt(t,[this._element])}_getPopperConfig(t){const e={placement:t,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:i=>{this._getTipElement().setAttribute("data-popper-placement",i.state.placement)}}]};return{...e,...tt(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if(e==="click")c.on(this._element,this.constructor.eventName(yl),this._config.selector,i=>{this._initializeOnDelegatedTarget(i).toggle()});else if(e!==ml){const i=e===he?this.constructor.eventName(Ol):this.constructor.eventName(Tl),s=e===he?this.constructor.eventName(wl):this.constructor.eventName(Cl);c.on(this._element,i,this._config.selector,o=>{const r=this._initializeOnDelegatedTarget(o);r._activeTrigger[o.type==="focusin"?un:he]=!0,r._enter()}),c.on(this._element,s,this._config.selector,o=>{const r=this._initializeOnDelegatedTarget(o);r._activeTrigger[o.type==="focusout"?un:he]=r._element.contains(o.relatedTarget),r._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},c.on(this._element.closest(_i),mi,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}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(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=Tt.getDataAttributes(this._element);for(const i of Object.keys(e))dl.has(i)&&delete e[i];return t={...e,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:Lt(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,i]of Object.entries(this._config))this.constructor.Default[e]!==i&&(t[e]=i);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const e=le.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}ct(le);const Dl="popover",$l=".popover-header",Il=".popover-body",Ml={...le.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},xl={...le.DefaultType,content:"(null|string|element|function)"};class Hn extends le{static get Default(){return Ml}static get DefaultType(){return xl}static get NAME(){return Dl}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[$l]:this._getTitle(),[Il]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const e=Hn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}ct(Hn);const Pl="scrollspy",Rl="bs.scrollspy",zn=`.${Rl}`,kl=".data-api",Vl=`activate${zn}`,gi=`click${zn}`,Hl=`load${zn}${kl}`,zl="dropdown-item",Ut="active",Wl='[data-bs-spy="scroll"]',fn="[href]",Bl=".nav, .list-group",Ei=".nav-link",Fl=".nav-item",jl=".list-group-item",Kl=`${Ei}, ${Fl} > ${Ei}, ${jl}`,Yl=".dropdown",Ul=".dropdown-toggle",Gl={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ql={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class qe extends ft{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Gl}static get DefaultType(){return ql}static get NAME(){return Pl}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=Lt(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(e=>Number.parseFloat(e))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(c.off(this._config.target,gi),c.on(this._config.target,gi,fn,t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window,s=e.offsetTop-this._element.offsetTop;if(i.scrollTo){i.scrollTo({top:s,behavior:"smooth"});return}i.scrollTop=s}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),t)}_observerCallback(t){const e=r=>this._targetLinks.get(`#${r.target.id}`),i=r=>{this._previousScrollData.visibleEntryTop=r.target.offsetTop,this._process(e(r))},s=(this._rootElement||document.documentElement).scrollTop,o=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const r of t){if(!r.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(r));continue}const a=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&a){if(i(r),!s)return;continue}!o&&!a&&i(r)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=_.find(fn,this._config.target);for(const e of t){if(!e.hash||Dt(e))continue;const i=_.findOne(decodeURI(e.hash),this._element);oe(i)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,i))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Ut),this._activateParents(t),c.trigger(this._element,Vl,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(zl)){_.findOne(Ul,t.closest(Yl)).classList.add(Ut);return}for(const e of _.parents(t,Bl))for(const i of _.prev(e,Kl))i.classList.add(Ut)}_clearActiveClass(t){t.classList.remove(Ut);const e=_.find(`${fn}.${Ut}`,t);for(const i of e)i.classList.remove(Ut)}static jQueryInterface(t){return this.each(function(){const e=qe.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}c.on(window,Hl,()=>{for(const n of _.find(Wl))qe.getOrCreateInstance(n)});ct(qe);const Xl="tab",Ql="bs.tab",Ft=`.${Ql}`,Zl=`hide${Ft}`,Jl=`hidden${Ft}`,tc=`show${Ft}`,ec=`shown${Ft}`,nc=`click${Ft}`,ic=`keydown${Ft}`,sc=`load${Ft}`,rc="ArrowLeft",vi="ArrowRight",oc="ArrowUp",bi="ArrowDown",dn="Home",Ai="End",Vt="active",yi="fade",hn="show",ac="dropdown",ys=".dropdown-toggle",lc=".dropdown-menu",pn=`:not(${ys})`,cc='.list-group, .nav, [role="tablist"]',uc=".nav-item, .list-group-item",fc=`.nav-link${pn}, .list-group-item${pn}, [role="tab"]${pn}`,Ts='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',_n=`${fc}, ${Ts}`,dc=`.${Vt}[data-bs-toggle="tab"], .${Vt}[data-bs-toggle="pill"], .${Vt}[data-bs-toggle="list"]`;class se extends ft{constructor(t){super(t),this._parent=this._element.closest(cc),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),c.on(this._element,ic,e=>this._keydown(e)))}static get NAME(){return Xl}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),i=e?c.trigger(e,Zl,{relatedTarget:t}):null;c.trigger(t,tc,{relatedTarget:e}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(Vt),this._activate(_.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(hn);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),c.trigger(t,ec,{relatedTarget:e})};this._queueCallback(i,t,t.classList.contains(yi))}_deactivate(t,e){if(!t)return;t.classList.remove(Vt),t.blur(),this._deactivate(_.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(hn);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),c.trigger(t,Jl,{relatedTarget:e})};this._queueCallback(i,t,t.classList.contains(yi))}_keydown(t){if(![rc,vi,oc,bi,dn,Ai].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter(s=>!Dt(s));let i;if([dn,Ai].includes(t.key))i=e[t.key===dn?0:e.length-1];else{const s=[vi,bi].includes(t.key);i=Rn(e,t.target,s,!0)}i&&(i.focus({preventScroll:!0}),se.getOrCreateInstance(i).show())}_getChildren(){return _.find(_n,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const i of e)this._setInitialAttributesOnChild(i)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",e),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=_.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains(ac))return;const s=(o,r)=>{const a=_.findOne(o,i);a&&a.classList.toggle(r,e)};s(ys,Vt),s(lc,hn),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(Vt)}_getInnerElement(t){return t.matches(_n)?t:_.findOne(_n,t)}_getOuterElement(t){return t.closest(uc)||t}static jQueryInterface(t){return this.each(function(){const e=se.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}c.on(document,nc,Ts,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Dt(this)&&se.getOrCreateInstance(this).show()});c.on(window,sc,()=>{for(const n of _.find(dc))se.getOrCreateInstance(n)});ct(se);const hc="toast",pc="bs.toast",xt=`.${pc}`,_c=`mouseover${xt}`,mc=`mouseout${xt}`,gc=`focusin${xt}`,Ec=`focusout${xt}`,vc=`hide${xt}`,bc=`hidden${xt}`,Ac=`show${xt}`,yc=`shown${xt}`,Tc="fade",Ti="hide",xe="show",Pe="showing",Cc={animation:"boolean",autohide:"boolean",delay:"number"},Oc={animation:!0,autohide:!0,delay:5e3};class Xe extends ft{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Oc}static get DefaultType(){return Cc}static get NAME(){return hc}show(){if(c.trigger(this._element,Ac).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Tc);const e=()=>{this._element.classList.remove(Pe),c.trigger(this._element,yc),this._maybeScheduleHide()};this._element.classList.remove(Ti),Ee(this._element),this._element.classList.add(xe,Pe),this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown()||c.trigger(this._element,vc).defaultPrevented)return;const e=()=>{this._element.classList.add(Ti),this._element.classList.remove(Pe,xe),c.trigger(this._element,bc)};this._element.classList.add(Pe),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(xe),super.dispose()}isShown(){return this._element.classList.contains(xe)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=e;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=e;break}}if(e){this._clearTimeout();return}const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){c.on(this._element,_c,t=>this._onInteraction(t,!0)),c.on(this._element,mc,t=>this._onInteraction(t,!1)),c.on(this._element,gc,t=>this._onInteraction(t,!0)),c.on(this._element,Ec,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const e=Xe.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}Ye(Xe);ct(Xe);var wc={exports:{}};(function(n){(function(t,e){var i=e(t,t.document,Date);t.lazySizes=i,n.exports&&(n.exports=i)})(typeof window<"u"?window:{},function(e,i,s){var o,r;if(function(){var p,h={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};r=e.lazySizesConfig||e.lazysizesConfig||{};for(p in h)p in r||(r[p]=h[p])}(),!i||!i.getElementsByClassName)return{init:function(){},cfg:r,noSupport:!0};var a=i.documentElement,u=e.HTMLPictureElement,d="addEventListener",l="getAttribute",g=e[d].bind(e),m=e.setTimeout,E=e.requestAnimationFrame||m,S=e.requestIdleCallback,y=/^picture$/i,O=["load","error","lazyincluded","_lazyloaded"],L={},V=Array.prototype.forEach,M=function(p,h){return L[h]||(L[h]=new RegExp("(\\s|^)"+h+"(\\s|$)")),L[h].test(p[l]("class")||"")&&L[h]},v=function(p,h){M(p,h)||p.setAttribute("class",(p[l]("class")||"").trim()+" "+h)},w=function(p,h){var b;(b=M(p,h))&&p.setAttribute("class",(p[l]("class")||"").replace(b," "))},N=function(p,h,b){var R=b?d:"removeEventListener";b&&N(p,h),O.forEach(function(I){p[R](I,h)})},$=function(p,h,b,R,I){var T=i.createEvent("Event");return b||(b={}),b.instance=o,T.initEvent(h,!R,!I),T.detail=b,p.dispatchEvent(T),T},W=function(p,h){var b;!u&&(b=e.picturefill||r.pf)?(h&&h.src&&!p[l]("srcset")&&p.setAttribute("srcset",h.src),b({reevaluate:!0,elements:[p]})):h&&h.src&&(p.src=h.src)},k=function(p,h){return(getComputedStyle(p,null)||{})[h]},H=function(p,h,b){for(b=b||p.offsetWidth;b49?function(){S(T,{timeout:I}),I!==r.ricTimeout&&(I=r.ricTimeout)}:G(function(){m(T)},!0);return function(C){var D;(C=C===!0)&&(I=33),!h&&(h=!0,D=R-(s.now()-b),D<0&&(D=0),C||D<9?x():m(x,D))}},dt=function(p){var h,b,R=99,I=function(){h=null,p()},T=function(){var x=s.now()-b;x0,X&&k(K,"overflow")!="visible"&&(P=K.getBoundingClientRect(),X=B>P.left&&DP.top-1&&C500&&a.clientWidth>500?500:370:r.expand,o._defEx=At,Rt=At*r.expFactor,Kt=r.hFac,ut=null,Pt2&&R>2&&!i.hidden?(Pt=Rt,Et=0):R>1&&Et>1&&et<6?Pt=At:Pt=ye),Nt!==Q&&(T=innerWidth+Q*Kt,x=innerHeight+Q,vt=Q*-1,Nt=Q),P=rt[A].getBoundingClientRect(),(F=P.bottom)>=vt&&(C=P.top)<=x&&(B=P.right)>=vt*Kt&&(D=P.left)<=T&&(F||B||D||C)&&(r.loadHidden||Te(rt[A]))&&(h&&et<3&&!bt&&(R<3||Et<4)||Je(rt[A],Q))){if(wt(rt[A]),X=!0,et>9)break}else!X&&h&&!K&&et<4&&Et<4&&R>2&&(p[0]||r.preloadAfterLoad)&&(p[0]||!bt&&(F||B||D||C||rt[A][l](r.sizesAttr)!="auto"))&&(K=p[0]||rt[A])}K&&!X&&wt(K)}},j=Y(pt),fe=function(f){var A=f.target;if(A._lazyCache){delete A._lazyCache;return}ue(f),v(A,r.loadedClass),w(A,r.loadingClass),N(A,jt),$(A,"lazyloaded")},Ce=G(fe),jt=function(f){Ce({target:f.target})},Oe=function(f,A){var P=f.getAttribute("data-load-mode")||r.iframeLoadMode;P==0?f.contentWindow.location.replace(A):P==1&&(f.src=A)},we=function(f){var A,P=f[l](r.srcsetAttr);(A=r.customMedia[f[l]("data-media")||f[l]("media")])&&f.setAttribute("media",A),P&&f.setAttribute("srcset",P)},Ne=G(function(f,A,P,K,X){var Q,vt,bt,Nt,At,Rt;(At=$(f,"lazybeforeunveil",A)).defaultPrevented||(K&&(P?v(f,r.autosizesClass):f.setAttribute("sizes",K)),vt=f[l](r.srcsetAttr),Q=f[l](r.srcAttr),X&&(bt=f.parentNode,Nt=bt&&y.test(bt.nodeName||"")),Rt=A.firesLoad||"src"in f&&(vt||Q||Nt),At={target:f},v(f,r.loadingClass),Rt&&(clearTimeout(b),b=m(ue,2500),N(f,jt,!0)),Nt&&V.call(bt.getElementsByTagName("source"),we),vt?f.setAttribute("srcset",vt):Q&&!Nt&&(ce.test(f.nodeName)?Oe(f,Q):f.src=Q),X&&(vt||Nt)&&W(f,{src:Q})),f._lazyRace&&delete f._lazyRace,w(f,r.lazyClass),z(function(){var Kt=f.complete&&f.naturalWidth>1;(!Rt||Kt)&&(Kt&&v(f,r.fastLoadedClass),fe(At),f._lazyCache=!0,m(function(){"_lazyCache"in f&&delete f._lazyCache},9)),f.loading=="lazy"&&et--},!0)}),wt=function(f){if(!f._lazyRace){var A,P=Qe.test(f.nodeName),K=P&&(f[l](r.sizesAttr)||f[l]("sizes")),X=K=="auto";(X||!h)&&P&&(f[l]("src")||f.srcset)&&!f.complete&&!M(f,r.errorClass)&&M(f,r.lazyClass)||(A=$(f,"lazyunveilread").detail,X&&U.updateElem(f,!0,f.offsetWidth),f._lazyRace=!0,et++,Ne(f,A,X,K,P))}},Cs=dt(function(){r.loadMode=3,j()}),Wn=function(){r.loadMode==3&&(r.loadMode=2),Cs()},Se=function(){if(!h){if(s.now()-I<999){m(Se,999);return}h=!0,r.loadMode=3,j(),g("scroll",Wn,!0)}};return{_:function(){I=s.now(),o.elements=i.getElementsByClassName(r.lazyClass),p=i.getElementsByClassName(r.lazyClass+" "+r.preloadClass),g("scroll",j,!0),g("resize",j,!0),g("pageshow",function(f){if(f.persisted){var A=i.querySelectorAll("."+r.loadingClass);A.length&&A.forEach&&E(function(){A.forEach(function(P){P.complete&&wt(P)})})}}),e.MutationObserver?new MutationObserver(j).observe(a,{childList:!0,subtree:!0,attributes:!0}):(a[d]("DOMNodeInserted",j,!0),a[d]("DOMAttrModified",j,!0),setInterval(j,999)),g("hashchange",j,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(f){i[d](f,j,!0)}),/d$|^c/.test(i.readyState)?Se():(g("load",Se),i[d]("DOMContentLoaded",j),m(Se,2e4)),o.elements.length?(pt(),z._lsFlush()):j()},checkElems:j,unveil:wt,_aLSL:Wn}}(),U=function(){var p,h=G(function(T,x,C,D){var B,F,ut;if(T._lazysizesWidth=D,D+="px",T.setAttribute("sizes",D),y.test(x.nodeName||""))for(B=x.getElementsByTagName("source"),F=0,ut=B.length;FPage was generated in 0.01102089881897