var H="top",U="bottom",q="right",j="left",un="auto",lt=[H,U,q,j],Re="start",Je="end",Vs="clippingParents",oo="viewport",qe="popper",Hs="reference",Yn=lt.reduce(function(t,e){return t.concat([e+"-"+Re,e+"-"+Je])},[]),so=[].concat(lt,[un]).reduce(function(t,e){return t.concat([e,e+"-"+Re,e+"-"+Je])},[]),js="beforeRead",Ws="read",Fs="afterRead",zs="beforeMain",Ks="main",Ys="afterMain",Us="beforeWrite",qs="write",Gs="afterWrite",Xs=[js,Ws,Fs,zs,Ks,Ys,Us,qs,Gs];function ue(t){return t?(t.nodeName||"").toLowerCase():null}function G(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Ve(t){var e=G(t).Element;return t instanceof e||t instanceof Element}function J(t){var e=G(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function io(t){if(typeof ShadowRoot>"u")return!1;var e=G(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Vr(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var o=e.styles[n]||{},s=e.attributes[n]||{},i=e.elements[n];!J(i)||!ue(i)||(Object.assign(i.style,o),Object.keys(s).forEach(function(r){var a=s[r];a===!1?i.removeAttribute(r):i.setAttribute(r,a===!0?"":a)}))})}function Hr(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(o){var s=e.elements[o],i=e.attributes[o]||{},r=Object.keys(e.styles.hasOwnProperty(o)?e.styles[o]:n[o]),a=r.reduce(function(c,f){return c[f]="",c},{});!J(s)||!ue(s)||(Object.assign(s.style,a),Object.keys(i).forEach(function(c){s.removeAttribute(c)}))})}}const ro={name:"applyStyles",enabled:!0,phase:"write",fn:Vr,effect:Hr,requires:["computeStyles"]};function le(t){return t.split("-")[0]}var Me=Math.max,Xt=Math.min,et=Math.round;function Un(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Qs(){return!/^((?!chrome|android).)*safari/i.test(Un())}function tt(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var o=t.getBoundingClientRect(),s=1,i=1;e&&J(t)&&(s=t.offsetWidth>0&&et(o.width)/t.offsetWidth||1,i=t.offsetHeight>0&&et(o.height)/t.offsetHeight||1);var r=Ve(t)?G(t):window,a=r.visualViewport,c=!Qs()&&n,f=(o.left+(c&&a?a.offsetLeft:0))/s,d=(o.top+(c&&a?a.offsetTop:0))/i,g=o.width/s,w=o.height/i;return{width:g,height:w,top:d,right:f+g,bottom:d+w,left:f,x:f,y:d}}function ao(t){var e=tt(t),n=t.offsetWidth,o=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:o}}function Zs(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&io(n)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function me(t){return G(t).getComputedStyle(t)}function jr(t){return["table","td","th"].indexOf(ue(t))>=0}function Ce(t){return((Ve(t)?t.ownerDocument:t.document)||window.document).documentElement}function dn(t){return ue(t)==="html"?t:t.assignedSlot||t.parentNode||(io(t)?t.host:null)||Ce(t)}function Yo(t){return!J(t)||me(t).position==="fixed"?null:t.offsetParent}function Wr(t){var e=/firefox/i.test(Un()),n=/Trident/i.test(Un());if(n&&J(t)){var o=me(t);if(o.position==="fixed")return null}var s=dn(t);for(io(s)&&(s=s.host);J(s)&&["html","body"].indexOf(ue(s))<0;){var i=me(s);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return s;s=s.parentNode}return null}function At(t){for(var e=G(t),n=Yo(t);n&&jr(n)&&me(n).position==="static";)n=Yo(n);return n&&(ue(n)==="html"||ue(n)==="body"&&me(n).position==="static")?e:n||Wr(t)||e}function lo(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function _t(t,e,n){return Me(t,Xt(e,n))}function Fr(t,e,n){var o=_t(t,e,n);return o>n?n:o}function Js(){return{top:0,right:0,bottom:0,left:0}}function ei(t){return Object.assign({},Js(),t)}function ti(t,e){return e.reduce(function(n,o){return n[o]=t,n},{})}var zr=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,ei(typeof e!="number"?e:ti(e,lt))};function Kr(t){var e,n=t.state,o=t.name,s=t.options,i=n.elements.arrow,r=n.modifiersData.popperOffsets,a=le(n.placement),c=lo(a),f=[j,q].indexOf(a)>=0,d=f?"height":"width";if(!(!i||!r)){var g=zr(s.padding,n),w=ao(i),m=c==="y"?H:j,C=c==="y"?U:q,b=n.rects.reference[d]+n.rects.reference[c]-r[c]-n.rects.popper[d],_=r[c]-n.rects.reference[c],k=At(i),x=k?c==="y"?k.clientHeight||0:k.clientWidth||0:0,$=b/2-_/2,v=g[m],A=x-w[d]-g[C],T=x/2-w[d]/2+$,S=_t(v,T,A),M=c;n.modifiersData[o]=(e={},e[M]=S,e.centerOffset=S-T,e)}}function Yr(t){var e=t.state,n=t.options,o=n.element,s=o===void 0?"[data-popper-arrow]":o;s!=null&&(typeof s=="string"&&(s=e.elements.popper.querySelector(s),!s)||Zs(e.elements.popper,s)&&(e.elements.arrow=s))}const ni={name:"arrow",enabled:!0,phase:"main",fn:Kr,effect:Yr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function nt(t){return t.split("-")[1]}var Ur={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qr(t,e){var n=t.x,o=t.y,s=e.devicePixelRatio||1;return{x:et(n*s)/s||0,y:et(o*s)/s||0}}function Uo(t){var e,n=t.popper,o=t.popperRect,s=t.placement,i=t.variation,r=t.offsets,a=t.position,c=t.gpuAcceleration,f=t.adaptive,d=t.roundOffsets,g=t.isFixed,w=r.x,m=w===void 0?0:w,C=r.y,b=C===void 0?0:C,_=typeof d=="function"?d({x:m,y:b}):{x:m,y:b};m=_.x,b=_.y;var k=r.hasOwnProperty("x"),x=r.hasOwnProperty("y"),$=j,v=H,A=window;if(f){var T=At(n),S="clientHeight",M="clientWidth";if(T===G(n)&&(T=Ce(n),me(T).position!=="static"&&a==="absolute"&&(S="scrollHeight",M="scrollWidth")),T=T,s===H||(s===j||s===q)&&i===Je){v=U;var I=g&&T===A&&A.visualViewport?A.visualViewport.height:T[S];b-=I-o.height,b*=c?1:-1}if(s===j||(s===H||s===U)&&i===Je){$=q;var D=g&&T===A&&A.visualViewport?A.visualViewport.width:T[M];m-=D-o.width,m*=c?1:-1}}var B=Object.assign({position:a},f&&Ur),se=d===!0?qr({x:m,y:b},G(n)):{x:m,y:b};if(m=se.x,b=se.y,c){var V;return Object.assign({},B,(V={},V[v]=x?"0":"",V[$]=k?"0":"",V.transform=(A.devicePixelRatio||1)<=1?"translate("+m+"px, "+b+"px)":"translate3d("+m+"px, "+b+"px, 0)",V))}return Object.assign({},B,(e={},e[v]=x?b+"px":"",e[$]=k?m+"px":"",e.transform="",e))}function Gr(t){var e=t.state,n=t.options,o=n.gpuAcceleration,s=o===void 0?!0:o,i=n.adaptive,r=i===void 0?!0:i,a=n.roundOffsets,c=a===void 0?!0:a,f={placement:le(e.placement),variation:nt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Uo(Object.assign({},f,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:c})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Uo(Object.assign({},f,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const co={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Gr,data:{}};var Vt={passive:!0};function Xr(t){var e=t.state,n=t.instance,o=t.options,s=o.scroll,i=s===void 0?!0:s,r=o.resize,a=r===void 0?!0:r,c=G(e.elements.popper),f=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&f.forEach(function(d){d.addEventListener("scroll",n.update,Vt)}),a&&c.addEventListener("resize",n.update,Vt),function(){i&&f.forEach(function(d){d.removeEventListener("scroll",n.update,Vt)}),a&&c.removeEventListener("resize",n.update,Vt)}}const uo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Xr,data:{}};var Qr={left:"right",right:"left",bottom:"top",top:"bottom"};function Ut(t){return t.replace(/left|right|bottom|top/g,function(e){return Qr[e]})}var Zr={start:"end",end:"start"};function qo(t){return t.replace(/start|end/g,function(e){return Zr[e]})}function fo(t){var e=G(t),n=e.pageXOffset,o=e.pageYOffset;return{scrollLeft:n,scrollTop:o}}function ho(t){return tt(Ce(t)).left+fo(t).scrollLeft}function Jr(t,e){var n=G(t),o=Ce(t),s=n.visualViewport,i=o.clientWidth,r=o.clientHeight,a=0,c=0;if(s){i=s.width,r=s.height;var f=Qs();(f||!f&&e==="fixed")&&(a=s.offsetLeft,c=s.offsetTop)}return{width:i,height:r,x:a+ho(t),y:c}}function ea(t){var e,n=Ce(t),o=fo(t),s=(e=t.ownerDocument)==null?void 0:e.body,i=Me(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=Me(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-o.scrollLeft+ho(t),c=-o.scrollTop;return me(s||n).direction==="rtl"&&(a+=Me(n.clientWidth,s?s.clientWidth:0)-i),{width:i,height:r,x:a,y:c}}function po(t){var e=me(t),n=e.overflow,o=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+o)}function oi(t){return["html","body","#document"].indexOf(ue(t))>=0?t.ownerDocument.body:J(t)&&po(t)?t:oi(dn(t))}function Et(t,e){var n;e===void 0&&(e=[]);var o=oi(t),s=o===((n=t.ownerDocument)==null?void 0:n.body),i=G(o),r=s?[i].concat(i.visualViewport||[],po(o)?o:[]):o,a=e.concat(r);return s?a:a.concat(Et(dn(r)))}function qn(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ta(t,e){var n=tt(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Go(t,e,n){return e===oo?qn(Jr(t,n)):Ve(e)?ta(e,n):qn(ea(Ce(t)))}function na(t){var e=Et(dn(t)),n=["absolute","fixed"].indexOf(me(t).position)>=0,o=n&&J(t)?At(t):t;return Ve(o)?e.filter(function(s){return Ve(s)&&Zs(s,o)&&ue(s)!=="body"}):[]}function oa(t,e,n,o){var s=e==="clippingParents"?na(t):[].concat(e),i=[].concat(s,[n]),r=i[0],a=i.reduce(function(c,f){var d=Go(t,f,o);return c.top=Me(d.top,c.top),c.right=Xt(d.right,c.right),c.bottom=Xt(d.bottom,c.bottom),c.left=Me(d.left,c.left),c},Go(t,r,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function si(t){var e=t.reference,n=t.element,o=t.placement,s=o?le(o):null,i=o?nt(o):null,r=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,c;switch(s){case H:c={x:r,y:e.y-n.height};break;case U:c={x:r,y:e.y+e.height};break;case q:c={x:e.x+e.width,y:a};break;case j:c={x:e.x-n.width,y:a};break;default:c={x:e.x,y:e.y}}var f=s?lo(s):null;if(f!=null){var d=f==="y"?"height":"width";switch(i){case Re:c[f]=c[f]-(e[d]/2-n[d]/2);break;case Je:c[f]=c[f]+(e[d]/2-n[d]/2);break}}return c}function ot(t,e){e===void 0&&(e={});var n=e,o=n.placement,s=o===void 0?t.placement:o,i=n.strategy,r=i===void 0?t.strategy:i,a=n.boundary,c=a===void 0?Vs:a,f=n.rootBoundary,d=f===void 0?oo:f,g=n.elementContext,w=g===void 0?qe:g,m=n.altBoundary,C=m===void 0?!1:m,b=n.padding,_=b===void 0?0:b,k=ei(typeof _!="number"?_:ti(_,lt)),x=w===qe?Hs:qe,$=t.rects.popper,v=t.elements[C?x:w],A=oa(Ve(v)?v:v.contextElement||Ce(t.elements.popper),c,d,r),T=tt(t.elements.reference),S=si({reference:T,element:$,placement:s}),M=qn(Object.assign({},$,S)),I=w===qe?M:T,D={top:A.top-I.top+k.top,bottom:I.bottom-A.bottom+k.bottom,left:A.left-I.left+k.left,right:I.right-A.right+k.right},B=t.modifiersData.offset;if(w===qe&&B){var se=B[s];Object.keys(D).forEach(function(V){var Se=[q,U].indexOf(V)>=0?1:-1,xe=[H,U].indexOf(V)>=0?"y":"x";D[V]+=se[xe]*Se})}return D}function sa(t,e){e===void 0&&(e={});var n=e,o=n.placement,s=n.boundary,i=n.rootBoundary,r=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,f=c===void 0?so:c,d=nt(o),g=d?a?Yn:Yn.filter(function(C){return nt(C)===d}):lt,w=g.filter(function(C){return f.indexOf(C)>=0});w.length===0&&(w=g);var m=w.reduce(function(C,b){return C[b]=ot(t,{placement:b,boundary:s,rootBoundary:i,padding:r})[le(b)],C},{});return Object.keys(m).sort(function(C,b){return m[C]-m[b]})}function ia(t){if(le(t)===un)return[];var e=Ut(t);return[qo(t),e,qo(e)]}function ra(t){var e=t.state,n=t.options,o=t.name;if(!e.modifiersData[o]._skip){for(var s=n.mainAxis,i=s===void 0?!0:s,r=n.altAxis,a=r===void 0?!0:r,c=n.fallbackPlacements,f=n.padding,d=n.boundary,g=n.rootBoundary,w=n.altBoundary,m=n.flipVariations,C=m===void 0?!0:m,b=n.allowedAutoPlacements,_=e.options.placement,k=le(_),x=k===_,$=c||(x||!C?[Ut(_)]:ia(_)),v=[_].concat($).reduce(function(Ke,we){return Ke.concat(le(we)===un?sa(e,{placement:we,boundary:d,rootBoundary:g,padding:f,flipVariations:C,allowedAutoPlacements:b}):we)},[]),A=e.rects.reference,T=e.rects.popper,S=new Map,M=!0,I=v[0],D=0;D=0,xe=Se?"width":"height",Y=ot(e,{placement:B,boundary:d,rootBoundary:g,altBoundary:w,padding:f}),ie=Se?V?q:j:V?U:H;A[xe]>T[xe]&&(ie=Ut(ie));var It=Ut(ie),$e=[];if(i&&$e.push(Y[se]<=0),a&&$e.push(Y[ie]<=0,Y[It]<=0),$e.every(function(Ke){return Ke})){I=B,M=!1;break}S.set(B,$e)}if(M)for(var Pt=C?3:1,An=function(we){var wt=v.find(function(Bt){var Le=S.get(Bt);if(Le)return Le.slice(0,we).every(function(Tn){return Tn})});if(wt)return I=wt,"break"},gt=Pt;gt>0;gt--){var Mt=An(gt);if(Mt==="break")break}e.placement!==I&&(e.modifiersData[o]._skip=!0,e.placement=I,e.reset=!0)}}const ii={name:"flip",enabled:!0,phase:"main",fn:ra,requiresIfExists:["offset"],data:{_skip:!1}};function Xo(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Qo(t){return[H,q,U,j].some(function(e){return t[e]>=0})}function aa(t){var e=t.state,n=t.name,o=e.rects.reference,s=e.rects.popper,i=e.modifiersData.preventOverflow,r=ot(e,{elementContext:"reference"}),a=ot(e,{altBoundary:!0}),c=Xo(r,o),f=Xo(a,s,i),d=Qo(c),g=Qo(f);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:f,isReferenceHidden:d,hasPopperEscaped:g},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":g})}const ri={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:aa};function la(t,e,n){var o=le(t),s=[j,H].indexOf(o)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,r=i[0],a=i[1];return r=r||0,a=(a||0)*s,[j,q].indexOf(o)>=0?{x:a,y:r}:{x:r,y:a}}function ca(t){var e=t.state,n=t.options,o=t.name,s=n.offset,i=s===void 0?[0,0]:s,r=so.reduce(function(d,g){return d[g]=la(g,e.rects,i),d},{}),a=r[e.placement],c=a.x,f=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=f),e.modifiersData[o]=r}const ai={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ca};function ua(t){var e=t.state,n=t.name;e.modifiersData[n]=si({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const mo={name:"popperOffsets",enabled:!0,phase:"read",fn:ua,data:{}};function da(t){return t==="x"?"y":"x"}function fa(t){var e=t.state,n=t.options,o=t.name,s=n.mainAxis,i=s===void 0?!0:s,r=n.altAxis,a=r===void 0?!1:r,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,g=n.padding,w=n.tether,m=w===void 0?!0:w,C=n.tetherOffset,b=C===void 0?0:C,_=ot(e,{boundary:c,rootBoundary:f,padding:g,altBoundary:d}),k=le(e.placement),x=nt(e.placement),$=!x,v=lo(k),A=da(v),T=e.modifiersData.popperOffsets,S=e.rects.reference,M=e.rects.popper,I=typeof b=="function"?b(Object.assign({},e.rects,{placement:e.placement})):b,D=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),B=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,se={x:0,y:0};if(T){if(i){var V,Se=v==="y"?H:j,xe=v==="y"?U:q,Y=v==="y"?"height":"width",ie=T[v],It=ie+_[Se],$e=ie-_[xe],Pt=m?-M[Y]/2:0,An=x===Re?S[Y]:M[Y],gt=x===Re?-M[Y]:-S[Y],Mt=e.elements.arrow,Ke=m&&Mt?ao(Mt):{width:0,height:0},we=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Js(),wt=we[Se],Bt=we[xe],Le=_t(0,S[Y],Ke[Y]),Tn=$?S[Y]/2-Pt-Le-wt-D.mainAxis:An-Le-wt-D.mainAxis,Dr=$?-S[Y]/2+Pt+Le+Bt+D.mainAxis:gt+Le+Bt+D.mainAxis,Cn=e.elements.arrow&&At(e.elements.arrow),Ir=Cn?v==="y"?Cn.clientTop||0:Cn.clientLeft||0:0,Bo=(V=B?.[v])!=null?V:0,Pr=ie+Tn-Bo-Ir,Mr=ie+Dr-Bo,Ro=_t(m?Xt(It,Pr):It,ie,m?Me($e,Mr):$e);T[v]=Ro,se[v]=Ro-ie}if(a){var Vo,Br=v==="x"?H:j,Rr=v==="x"?U:q,Ne=T[A],Rt=A==="y"?"height":"width",Ho=Ne+_[Br],jo=Ne-_[Rr],On=[H,j].indexOf(k)!==-1,Wo=(Vo=B?.[A])!=null?Vo:0,Fo=On?Ho:Ne-S[Rt]-M[Rt]-Wo+D.altAxis,zo=On?Ne+S[Rt]+M[Rt]-Wo-D.altAxis:jo,Ko=m&&On?Fr(Fo,Ne,zo):_t(m?Fo:Ho,Ne,m?zo:jo);T[A]=Ko,se[A]=Ko-Ne}e.modifiersData[o]=se}}const li={name:"preventOverflow",enabled:!0,phase:"main",fn:fa,requiresIfExists:["offset"]};function ha(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function pa(t){return t===G(t)||!J(t)?fo(t):ha(t)}function ma(t){var e=t.getBoundingClientRect(),n=et(e.width)/t.offsetWidth||1,o=et(e.height)/t.offsetHeight||1;return n!==1||o!==1}function ga(t,e,n){n===void 0&&(n=!1);var o=J(e),s=J(e)&&ma(e),i=Ce(e),r=tt(t,s,n),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!n)&&((ue(e)!=="body"||po(i))&&(a=pa(e)),J(e)?(c=tt(e,!0),c.x+=e.clientLeft,c.y+=e.clientTop):i&&(c.x=ho(i))),{x:r.left+a.scrollLeft-c.x,y:r.top+a.scrollTop-c.y,width:r.width,height:r.height}}function wa(t){var e=new Map,n=new Set,o=[];t.forEach(function(i){e.set(i.name,i)});function s(i){n.add(i.name);var r=[].concat(i.requires||[],i.requiresIfExists||[]);r.forEach(function(a){if(!n.has(a)){var c=e.get(a);c&&s(c)}}),o.push(i)}return t.forEach(function(i){n.has(i.name)||s(i)}),o}function ba(t){var e=wa(t);return Xs.reduce(function(n,o){return n.concat(e.filter(function(s){return s.phase===o}))},[])}function va(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function _a(t){var e=t.reduce(function(n,o){var s=n[o.name];return n[o.name]=s?Object.assign({},s,o,{options:Object.assign({},s.options,o.options),data:Object.assign({},s.data,o.data)}):o,n},{});return Object.keys(e).map(function(n){return e[n]})}var Zo={placement:"bottom",modifiers:[],strategy:"absolute"};function Jo(){for(var t=arguments.length,e=new Array(t),n=0;n(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(e,n)=>`#${CSS.escape(n)}`)),t),ka=t=>t==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),Sa=t=>{do t+=Math.floor(Math.random()*Ca);while(document.getElementById(t));return t},xa=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const o=Number.parseFloat(e),s=Number.parseFloat(n);return!o&&!s?0:(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*Oa)},di=t=>{t.dispatchEvent(new Event(Gn))},fe=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),ye=t=>fe(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(ui(t)):null,ct=t=>{if(!fe(t)||t.getClientRects().length===0)return!1;const e=getComputedStyle(t).getPropertyValue("visibility")==="visible",n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const o=t.closest("summary");if(o&&o.parentNode!==n||o===null)return!1}return e},Ae=t=>!t||t.nodeType!==Node.ELEMENT_NODE||t.classList.contains("disabled")?!0:typeof t.disabled<"u"?t.disabled:t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false",fi=t=>{if(!document.documentElement.attachShadow)return null;if(typeof t.getRootNode=="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?fi(t.parentNode):null},Qt=()=>{},Tt=t=>{t.offsetHeight},hi=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Sn=[],$a=t=>{document.readyState==="loading"?(Sn.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Sn)e()}),Sn.push(t)):t()},ee=()=>document.documentElement.dir==="rtl",oe=t=>{$a(()=>{const e=hi();if(e){const n=t.NAME,o=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=o,t.jQueryInterface)}})},z=(t,e=[],n=t)=>typeof t=="function"?t.call(...e):n,pi=(t,e,n=!0)=>{if(!n){z(t);return}const s=xa(e)+5;let i=!1;const r=({target:a})=>{a===e&&(i=!0,e.removeEventListener(Gn,r),z(t))};e.addEventListener(Gn,r),setTimeout(()=>{i||di(e)},s)},wo=(t,e,n,o)=>{const s=t.length;let i=t.indexOf(e);return i===-1?!n&&o?t[s-1]:t[0]:(i+=n?1:-1,o&&(i=(i+s)%s),t[Math.max(0,Math.min(i,s-1))])},La=/[^.]*(?=\..*)\.|.*/,Na=/\..*/,Da=/::\d+$/,xn={};let es=1;const mi={mouseenter:"mouseover",mouseleave:"mouseout"},Ia=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 gi(t,e){return e&&`${e}::${es++}`||t.uidEvent||es++}function wi(t){const e=gi(t);return t.uidEvent=e,xn[e]=xn[e]||{},xn[e]}function Pa(t,e){return function n(o){return bo(o,{delegateTarget:t}),n.oneOff&&u.off(t,o.type,e),e.apply(t,[o])}}function Ma(t,e,n){return function o(s){const i=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of i)if(a===r)return bo(s,{delegateTarget:r}),o.oneOff&&u.off(t,s.type,e,n),n.apply(r,[s])}}function bi(t,e,n=null){return Object.values(t).find(o=>o.callable===e&&o.delegationSelector===n)}function vi(t,e,n){const o=typeof e=="string",s=o?n:e||n;let i=_i(t);return Ia.has(i)||(i=t),[o,s,i]}function ts(t,e,n,o,s){if(typeof e!="string"||!t)return;let[i,r,a]=vi(e,n,o);e in mi&&(r=(C=>function(b){if(!b.relatedTarget||b.relatedTarget!==b.delegateTarget&&!b.delegateTarget.contains(b.relatedTarget))return C.call(this,b)})(r));const c=wi(t),f=c[a]||(c[a]={}),d=bi(f,r,i?n:null);if(d){d.oneOff=d.oneOff&&s;return}const g=gi(r,e.replace(La,"")),w=i?Ma(t,n,r):Pa(t,r);w.delegationSelector=i?n:null,w.callable=r,w.oneOff=s,w.uidEvent=g,f[g]=w,t.addEventListener(a,w,i)}function Xn(t,e,n,o,s){const i=bi(e[n],o,s);i&&(t.removeEventListener(n,i,!!s),delete e[n][i.uidEvent])}function Ba(t,e,n,o){const s=e[n]||{};for(const[i,r]of Object.entries(s))i.includes(o)&&Xn(t,e,n,r.callable,r.delegationSelector)}function _i(t){return t=t.replace(Na,""),mi[t]||t}const u={on(t,e,n,o){ts(t,e,n,o,!1)},one(t,e,n,o){ts(t,e,n,o,!0)},off(t,e,n,o){if(typeof e!="string"||!t)return;const[s,i,r]=vi(e,n,o),a=r!==e,c=wi(t),f=c[r]||{},d=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(f).length)return;Xn(t,c,r,i,s?n:null);return}if(d)for(const g of Object.keys(c))Ba(t,c,g,e.slice(1));for(const[g,w]of Object.entries(f)){const m=g.replace(Da,"");(!a||e.includes(m))&&Xn(t,c,r,w.callable,w.delegationSelector)}},trigger(t,e,n){if(typeof e!="string"||!t)return null;const o=hi(),s=_i(e),i=e!==s;let r=null,a=!0,c=!0,f=!1;i&&o&&(r=o.Event(e,n),o(t).trigger(r),a=!r.isPropagationStopped(),c=!r.isImmediatePropagationStopped(),f=r.isDefaultPrevented());const d=bo(new Event(e,{bubbles:a,cancelable:!0}),n);return f&&d.preventDefault(),c&&t.dispatchEvent(d),d.defaultPrevented&&r&&r.preventDefault(),d}};function bo(t,e={}){for(const[n,o]of Object.entries(e))try{t[n]=o}catch{Object.defineProperty(t,n,{configurable:!0,get(){return o}})}return t}function ns(t){if(t==="true")return!0;if(t==="false")return!1;if(t===Number(t).toString())return Number(t);if(t===""||t==="null")return null;if(typeof t!="string")return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function $n(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const he={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${$n(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${$n(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter(o=>o.startsWith("bs")&&!o.startsWith("bsConfig"));for(const o of n){let s=o.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1),e[s]=ns(t.dataset[o])}return e},getDataAttribute(t,e){return ns(t.getAttribute(`data-bs-${$n(e)}`))}};class Ct{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,n){const o=fe(n)?he.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof o=="object"?o:{},...fe(n)?he.getDataAttributes(n):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const[o,s]of Object.entries(n)){const i=e[o],r=fe(i)?"element":ka(i);if(!new RegExp(s).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${o}" provided type "${r}" but expected type "${s}".`)}}}const Ra="5.3.8";class re extends Ct{constructor(e,n){super(),e=ye(e),e&&(this._element=e,this._config=this._getConfig(n),kn.set(this._element,this.constructor.DATA_KEY,this))}dispose(){kn.remove(this._element,this.constructor.DATA_KEY),u.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,n,o=!0){pi(e,n,o)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return kn.get(ye(e),this.DATA_KEY)}static getOrCreateInstance(e,n={}){return this.getInstance(e)||new this(e,typeof n=="object"?n:null)}static get VERSION(){return Ra}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 Ln=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&n!=="#"?n.trim():null}return e?e.split(",").map(n=>ui(n)).join(","):null},p={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(n=>n.matches(e))},parents(t,e){const n=[];let o=t.parentNode.closest(e);for(;o;)n.push(o),o=o.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(n=>!Ae(n)&&ct(n))},getSelectorFromElement(t){const e=Ln(t);return e&&p.findOne(e)?e:null},getElementFromSelector(t){const e=Ln(t);return e?p.findOne(e):null},getMultipleElementsFromSelector(t){const e=Ln(t);return e?p.find(e):[]}},hn=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,o=t.NAME;u.on(document,n,`[data-bs-dismiss="${o}"]`,function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),Ae(this))return;const i=p.getElementFromSelector(this)||this.closest(`.${o}`);t.getOrCreateInstance(i)[e]()})},Va="alert",Ha="bs.alert",Ei=`.${Ha}`,ja=`close${Ei}`,Wa=`closed${Ei}`,Fa="fade",za="show";class pn extends re{static get NAME(){return Va}close(){if(u.trigger(this._element,ja).defaultPrevented)return;this._element.classList.remove(za);const n=this._element.classList.contains(Fa);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),u.trigger(this._element,Wa),this.dispose()}static jQueryInterface(e){return this.each(function(){const n=pn.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}hn(pn,"close");oe(pn);const Ka="button",Ya="bs.button",Ua=`.${Ya}`,qa=".data-api",Ga="active",os='[data-bs-toggle="button"]',Xa=`click${Ua}${qa}`;class mn extends re{static get NAME(){return Ka}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Ga))}static jQueryInterface(e){return this.each(function(){const n=mn.getOrCreateInstance(this);e==="toggle"&&n[e]()})}}u.on(document,Xa,os,t=>{t.preventDefault();const e=t.target.closest(os);mn.getOrCreateInstance(e).toggle()});oe(mn);const Qa="swipe",ut=".bs.swipe",Za=`touchstart${ut}`,Ja=`touchmove${ut}`,el=`touchend${ut}`,tl=`pointerdown${ut}`,nl=`pointerup${ut}`,ol="touch",sl="pen",il="pointer-event",rl=40,al={endCallback:null,leftCallback:null,rightCallback:null},ll={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Zt extends Ct{constructor(e,n){super(),this._element=e,!(!e||!Zt.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return al}static get DefaultType(){return ll}static get NAME(){return Qa}dispose(){u.off(this._element,ut)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),z(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<=rl)return;const n=e/this._deltaX;this._deltaX=0,n&&z(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(u.on(this._element,tl,e=>this._start(e)),u.on(this._element,nl,e=>this._end(e)),this._element.classList.add(il)):(u.on(this._element,Za,e=>this._start(e)),u.on(this._element,Ja,e=>this._move(e)),u.on(this._element,el,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===sl||e.pointerType===ol)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const cl="carousel",ul="bs.carousel",Oe=`.${ul}`,yi=".data-api",dl="ArrowLeft",fl="ArrowRight",hl=500,bt="next",Ye="prev",Ge="left",qt="right",pl=`slide${Oe}`,Nn=`slid${Oe}`,ml=`keydown${Oe}`,gl=`mouseenter${Oe}`,wl=`mouseleave${Oe}`,bl=`dragstart${Oe}`,vl=`load${Oe}${yi}`,_l=`click${Oe}${yi}`,Ai="carousel",Ht="active",El="slide",yl="carousel-item-end",Al="carousel-item-start",Tl="carousel-item-next",Cl="carousel-item-prev",Ti=".active",Ci=".carousel-item",Ol=Ti+Ci,kl=".carousel-item img",Sl=".carousel-indicators",xl="[data-bs-slide], [data-bs-slide-to]",$l='[data-bs-ride="carousel"]',Ll={[dl]:qt,[fl]:Ge},Nl={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Dl={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ot extends re{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=p.findOne(Sl,this._element),this._addEventListeners(),this._config.ride===Ai&&this.cycle()}static get Default(){return Nl}static get DefaultType(){return Dl}static get NAME(){return cl}next(){this._slide(bt)}nextWhenVisible(){!document.hidden&&ct(this._element)&&this.next()}prev(){this._slide(Ye)}pause(){this._isSliding&&di(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){u.one(this._element,Nn,()=>this.cycle());return}this.cycle()}}to(e){const n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding){u.one(this._element,Nn,()=>this.to(e));return}const o=this._getItemIndex(this._getActive());if(o===e)return;const s=e>o?bt:Ye;this._slide(s,n[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&u.on(this._element,ml,e=>this._keydown(e)),this._config.pause==="hover"&&(u.on(this._element,gl,()=>this.pause()),u.on(this._element,wl,()=>this._maybeEnableCycle())),this._config.touch&&Zt.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const o of p.find(kl,this._element))u.on(o,bl,s=>s.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(Ge)),rightCallback:()=>this._slide(this._directionToOrder(qt)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),hl+this._config.interval))}};this._swipeHelper=new Zt(this._element,n)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const n=Ll[e.key];n&&(e.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const n=p.findOne(Ti,this._indicatorsElement);n.classList.remove(Ht),n.removeAttribute("aria-current");const o=p.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);o&&(o.classList.add(Ht),o.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const n=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(e,n=null){if(this._isSliding)return;const o=this._getActive(),s=e===bt,i=n||wo(this._getItems(),o,s,this._config.wrap);if(i===o)return;const r=this._getItemIndex(i),a=m=>u.trigger(this._element,m,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(o),to:r});if(a(pl).defaultPrevented||!o||!i)return;const f=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=i;const d=s?Al:yl,g=s?Tl:Cl;i.classList.add(g),Tt(i),o.classList.add(d),i.classList.add(d);const w=()=>{i.classList.remove(d,g),i.classList.add(Ht),o.classList.remove(Ht,g,d),this._isSliding=!1,a(Nn)};this._queueCallback(w,o,this._isAnimated()),f&&this.cycle()}_isAnimated(){return this._element.classList.contains(El)}_getActive(){return p.findOne(Ol,this._element)}_getItems(){return p.find(Ci,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return ee()?e===Ge?Ye:bt:e===Ge?bt:Ye}_orderToDirection(e){return ee()?e===Ye?Ge:qt:e===Ye?qt:Ge}static jQueryInterface(e){return this.each(function(){const n=Ot.getOrCreateInstance(this,e);if(typeof e=="number"){n.to(e);return}if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}u.on(document,_l,xl,function(t){const e=p.getElementFromSelector(this);if(!e||!e.classList.contains(Ai))return;t.preventDefault();const n=Ot.getOrCreateInstance(e),o=this.getAttribute("data-bs-slide-to");if(o){n.to(o),n._maybeEnableCycle();return}if(he.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});u.on(window,vl,()=>{const t=p.find($l);for(const e of t)Ot.getOrCreateInstance(e)});oe(Ot);const Il="collapse",Pl="bs.collapse",kt=`.${Pl}`,Ml=".data-api",Bl=`show${kt}`,Rl=`shown${kt}`,Vl=`hide${kt}`,Hl=`hidden${kt}`,jl=`click${kt}${Ml}`,Dn="show",Qe="collapse",jt="collapsing",Wl="collapsed",Fl=`:scope .${Qe} .${Qe}`,zl="collapse-horizontal",Kl="width",Yl="height",Ul=".collapse.show, .collapse.collapsing",Qn='[data-bs-toggle="collapse"]',ql={parent:null,toggle:!0},Gl={parent:"(null|element)",toggle:"boolean"};class yt extends re{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const o=p.find(Qn);for(const s of o){const i=p.getSelectorFromElement(s),r=p.find(i).filter(a=>a===this._element);i!==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 ql}static get DefaultType(){return Gl}static get NAME(){return Il}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Ul).filter(a=>a!==this._element).map(a=>yt.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||u.trigger(this._element,Bl).defaultPrevented)return;for(const a of e)a.hide();const o=this._getDimension();this._element.classList.remove(Qe),this._element.classList.add(jt),this._element.style[o]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(jt),this._element.classList.add(Qe,Dn),this._element.style[o]="",u.trigger(this._element,Rl)},r=`scroll${o[0].toUpperCase()+o.slice(1)}`;this._queueCallback(s,this._element,!0),this._element.style[o]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown()||u.trigger(this._element,Vl).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,Tt(this._element),this._element.classList.add(jt),this._element.classList.remove(Qe,Dn);for(const s of this._triggerArray){const i=p.getElementFromSelector(s);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([s],!1)}this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(jt),this._element.classList.add(Qe),u.trigger(this._element,Hl)};this._element.style[n]="",this._queueCallback(o,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Dn)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=ye(e.parent),e}_getDimension(){return this._element.classList.contains(zl)?Kl:Yl}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Qn);for(const n of e){const o=p.getElementFromSelector(n);o&&this._addAriaAndCollapsedClass([n],this._isShown(o))}}_getFirstLevelChildren(e){const n=p.find(Fl,this._config.parent);return p.find(e,this._config.parent).filter(o=>!n.includes(o))}_addAriaAndCollapsedClass(e,n){if(e.length)for(const o of e)o.classList.toggle(Wl,!n),o.setAttribute("aria-expanded",n)}static jQueryInterface(e){const n={};return typeof e=="string"&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){const o=yt.getOrCreateInstance(this,n);if(typeof e=="string"){if(typeof o[e]>"u")throw new TypeError(`No method named "${e}"`);o[e]()}})}}u.on(document,jl,Qn,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();for(const e of p.getMultipleElementsFromSelector(this))yt.getOrCreateInstance(e,{toggle:!1}).toggle()});oe(yt);const ss="dropdown",Xl="bs.dropdown",je=`.${Xl}`,vo=".data-api",Ql="Escape",is="Tab",Zl="ArrowUp",rs="ArrowDown",Jl=2,ec=`hide${je}`,tc=`hidden${je}`,nc=`show${je}`,oc=`shown${je}`,Oi=`click${je}${vo}`,ki=`keydown${je}${vo}`,sc=`keyup${je}${vo}`,Xe="show",ic="dropup",rc="dropend",ac="dropstart",lc="dropup-center",cc="dropdown-center",Ie='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',uc=`${Ie}.${Xe}`,Gt=".dropdown-menu",dc=".navbar",fc=".navbar-nav",hc=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",pc=ee()?"top-end":"top-start",mc=ee()?"top-start":"top-end",gc=ee()?"bottom-end":"bottom-start",wc=ee()?"bottom-start":"bottom-end",bc=ee()?"left-start":"right-start",vc=ee()?"right-start":"left-start",_c="top",Ec="bottom",yc={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Ac={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ce extends re{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=p.next(this._element,Gt)[0]||p.prev(this._element,Gt)[0]||p.findOne(Gt,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return yc}static get DefaultType(){return Ac}static get NAME(){return ss}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Ae(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!u.trigger(this._element,nc,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(fc))for(const o of[].concat(...document.body.children))u.on(o,"mouseover",Qt);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Xe),this._element.classList.add(Xe),u.trigger(this._element,oc,e)}}hide(){if(Ae(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(!u.trigger(this._element,ec,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))u.off(o,"mouseover",Qt);this._popper&&this._popper.destroy(),this._menu.classList.remove(Xe),this._element.classList.remove(Xe),this._element.setAttribute("aria-expanded","false"),he.removeDataAttribute(this._menu,"popper"),u.trigger(this._element,tc,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!fe(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${ss.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof ci>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let e=this._element;this._config.reference==="parent"?e=this._parent:fe(this._config.reference)?e=ye(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const n=this._getPopperConfig();this._popper=go(e,this._menu,n)}_isShown(){return this._menu.classList.contains(Xe)}_getPlacement(){const e=this._parent;if(e.classList.contains(rc))return bc;if(e.classList.contains(ac))return vc;if(e.classList.contains(lc))return _c;if(e.classList.contains(cc))return Ec;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(ic)?n?mc:pc:n?wc:gc}_detectNavbar(){return this._element.closest(dc)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,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||this._config.display==="static")&&(he.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...z(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:n}){const o=p.find(hc,this._menu).filter(s=>ct(s));o.length&&wo(o,n,e===rs,!o.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const n=ce.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}static clearMenus(e){if(e.button===Jl||e.type==="keyup"&&e.key!==is)return;const n=p.find(uc);for(const o of n){const s=ce.getInstance(o);if(!s||s._config.autoClose===!1)continue;const i=e.composedPath(),r=i.includes(s._menu);if(i.includes(s._element)||s._config.autoClose==="inside"&&!r||s._config.autoClose==="outside"&&r||s._menu.contains(e.target)&&(e.type==="keyup"&&e.key===is||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:s._element};e.type==="click"&&(a.clickEvent=e),s._completeHide(a)}}static dataApiKeydownHandler(e){const n=/input|textarea/i.test(e.target.tagName),o=e.key===Ql,s=[Zl,rs].includes(e.key);if(!s&&!o||n&&!o)return;e.preventDefault();const i=this.matches(Ie)?this:p.prev(this,Ie)[0]||p.next(this,Ie)[0]||p.findOne(Ie,e.delegateTarget.parentNode),r=ce.getOrCreateInstance(i);if(s){e.stopPropagation(),r.show(),r._selectMenuItem(e);return}r._isShown()&&(e.stopPropagation(),r.hide(),i.focus())}}u.on(document,ki,Ie,ce.dataApiKeydownHandler);u.on(document,ki,Gt,ce.dataApiKeydownHandler);u.on(document,Oi,ce.clearMenus);u.on(document,sc,ce.clearMenus);u.on(document,Oi,Ie,function(t){t.preventDefault(),ce.getOrCreateInstance(this).toggle()});oe(ce);const Si="backdrop",Tc="fade",as="show",ls=`mousedown.bs.${Si}`,Cc={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Oc={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class xi extends Ct{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Cc}static get DefaultType(){return Oc}static get NAME(){return Si}show(e){if(!this._config.isVisible){z(e);return}this._append();const n=this._getElement();this._config.isAnimated&&Tt(n),n.classList.add(as),this._emulateAnimation(()=>{z(e)})}hide(e){if(!this._config.isVisible){z(e);return}this._getElement().classList.remove(as),this._emulateAnimation(()=>{this.dispose(),z(e)})}dispose(){this._isAppended&&(u.off(this._element,ls),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(Tc),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=ye(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),u.on(e,ls,()=>{z(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){pi(e,this._getElement(),this._config.isAnimated)}}const kc="focustrap",Sc="bs.focustrap",Jt=`.${Sc}`,xc=`focusin${Jt}`,$c=`keydown.tab${Jt}`,Lc="Tab",Nc="forward",cs="backward",Dc={autofocus:!0,trapElement:null},Ic={autofocus:"boolean",trapElement:"element"};class $i extends Ct{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Dc}static get DefaultType(){return Ic}static get NAME(){return kc}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),u.off(document,Jt),u.on(document,xc,e=>this._handleFocusin(e)),u.on(document,$c,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,u.off(document,Jt))}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const o=p.focusableChildren(n);o.length===0?n.focus():this._lastTabNavDirection===cs?o[o.length-1].focus():o[0].focus()}_handleKeydown(e){e.key===Lc&&(this._lastTabNavDirection=e.shiftKey?cs:Nc)}}const us=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ds=".sticky-top",Wt="padding-right",fs="margin-right";class Zn{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,Wt,n=>n+e),this._setElementAttributes(us,Wt,n=>n+e),this._setElementAttributes(ds,fs,n=>n-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Wt),this._resetElementAttributes(us,Wt),this._resetElementAttributes(ds,fs)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,n,o){const s=this.getWidth(),i=r=>{if(r!==this._element&&window.innerWidth>r.clientWidth+s)return;this._saveInitialAttribute(r,n);const a=window.getComputedStyle(r).getPropertyValue(n);r.style.setProperty(n,`${o(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,n){const o=e.style.getPropertyValue(n);o&&he.setDataAttribute(e,n,o)}_resetElementAttributes(e,n){const o=s=>{const i=he.getDataAttribute(s,n);if(i===null){s.style.removeProperty(n);return}he.removeDataAttribute(s,n),s.style.setProperty(n,i)};this._applyManipulationCallback(e,o)}_applyManipulationCallback(e,n){if(fe(e)){n(e);return}for(const o of p.find(e,this._element))n(o)}}const Pc="modal",Mc="bs.modal",te=`.${Mc}`,Bc=".data-api",Rc="Escape",Vc=`hide${te}`,Hc=`hidePrevented${te}`,Li=`hidden${te}`,Ni=`show${te}`,jc=`shown${te}`,Wc=`resize${te}`,Fc=`click.dismiss${te}`,zc=`mousedown.dismiss${te}`,Kc=`keydown.dismiss${te}`,Yc=`click${te}${Bc}`,hs="modal-open",Uc="fade",ps="show",In="modal-static",qc=".modal.show",Gc=".modal-dialog",Xc=".modal-body",Qc='[data-bs-toggle="modal"]',Zc={backdrop:!0,focus:!0,keyboard:!0},Jc={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class st extends re{constructor(e,n){super(e,n),this._dialog=p.findOne(Gc,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Zn,this._addEventListeners()}static get Default(){return Zc}static get DefaultType(){return Jc}static get NAME(){return Pc}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||u.trigger(this._element,Ni,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(hs),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||u.trigger(this._element,Vc).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ps),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){u.off(window,te),u.off(this._dialog,te),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new xi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new $i({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 n=p.findOne(Xc,this._dialog);n&&(n.scrollTop=0),Tt(this._element),this._element.classList.add(ps);const o=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,u.trigger(this._element,jc,{relatedTarget:e})};this._queueCallback(o,this._dialog,this._isAnimated())}_addEventListeners(){u.on(this._element,Kc,e=>{if(e.key===Rc){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),u.on(window,Wc,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),u.on(this._element,zc,e=>{u.one(this._element,Fc,n=>{if(!(this._element!==e.target||this._element!==n.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(hs),this._resetAdjustments(),this._scrollBar.reset(),u.trigger(this._element,Li)})}_isAnimated(){return this._element.classList.contains(Uc)}_triggerBackdropTransition(){if(u.trigger(this._element,Hc).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,o=this._element.style.overflowY;o==="hidden"||this._element.classList.contains(In)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(In),this._queueCallback(()=>{this._element.classList.remove(In),this._queueCallback(()=>{this._element.style.overflowY=o},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),o=n>0;if(o&&!e){const s=ee()?"paddingLeft":"paddingRight";this._element.style[s]=`${n}px`}if(!o&&e){const s=ee()?"paddingRight":"paddingLeft";this._element.style[s]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,n){return this.each(function(){const o=st.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof o[e]>"u")throw new TypeError(`No method named "${e}"`);o[e](n)}})}}u.on(document,Yc,Qc,function(t){const e=p.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),u.one(e,Ni,s=>{s.defaultPrevented||u.one(e,Li,()=>{ct(this)&&this.focus()})});const n=p.findOne(qc);n&&st.getInstance(n).hide(),st.getOrCreateInstance(e).toggle(this)});hn(st);oe(st);const eu="offcanvas",tu="bs.offcanvas",ge=`.${tu}`,Di=".data-api",nu=`load${ge}${Di}`,ou="Escape",ms="show",gs="showing",ws="hiding",su="offcanvas-backdrop",Ii=".offcanvas.show",iu=`show${ge}`,ru=`shown${ge}`,au=`hide${ge}`,bs=`hidePrevented${ge}`,Pi=`hidden${ge}`,lu=`resize${ge}`,cu=`click${ge}${Di}`,uu=`keydown.dismiss${ge}`,du='[data-bs-toggle="offcanvas"]',fu={backdrop:!0,keyboard:!0,scroll:!1},hu={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Te extends re{constructor(e,n){super(e,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return fu}static get DefaultType(){return hu}static get NAME(){return eu}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||u.trigger(this._element,iu,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Zn().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(gs);const o=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(ms),this._element.classList.remove(gs),u.trigger(this._element,ru,{relatedTarget:e})};this._queueCallback(o,this._element,!0)}hide(){if(!this._isShown||u.trigger(this._element,au).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(ws),this._backdrop.hide();const n=()=>{this._element.classList.remove(ms,ws),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Zn().reset(),u.trigger(this._element,Pi)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){u.trigger(this._element,bs);return}this.hide()},n=!!this._config.backdrop;return new xi({className:su,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new $i({trapElement:this._element})}_addEventListeners(){u.on(this._element,uu,e=>{if(e.key===ou){if(this._config.keyboard){this.hide();return}u.trigger(this._element,bs)}})}static jQueryInterface(e){return this.each(function(){const n=Te.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}u.on(document,cu,du,function(t){const e=p.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Ae(this))return;u.one(e,Pi,()=>{ct(this)&&this.focus()});const n=p.findOne(Ii);n&&n!==e&&Te.getInstance(n).hide(),Te.getOrCreateInstance(e).toggle(this)});u.on(window,nu,()=>{for(const t of p.find(Ii))Te.getOrCreateInstance(t).show()});u.on(window,lu,()=>{for(const t of p.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&Te.getOrCreateInstance(t).hide()});hn(Te);oe(Te);const pu=/^aria-[\w-]*$/i,Mi={"*":["class","dir","id","lang","role",pu],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:[]},mu=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),gu=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,wu=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?mu.has(n)?!!gu.test(t.nodeValue):!0:e.filter(o=>o instanceof RegExp).some(o=>o.test(n))};function bu(t,e,n){if(!t.length)return t;if(n&&typeof n=="function")return n(t);const s=new window.DOMParser().parseFromString(t,"text/html"),i=[].concat(...s.body.querySelectorAll("*"));for(const r of i){const a=r.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){r.remove();continue}const c=[].concat(...r.attributes),f=[].concat(e["*"]||[],e[a]||[]);for(const d of c)wu(d,f)||r.removeAttribute(d.nodeName)}return s.body.innerHTML}const vu="TemplateFactory",_u={allowList:Mi,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Eu={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},yu={entry:"(string|element|function|null)",selector:"(string|element)"};class Au extends Ct{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return _u}static get DefaultType(){return Eu}static get NAME(){return vu}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[s,i]of Object.entries(this._config.content))this._setContent(e,i,s);const n=e.children[0],o=this._resolvePossibleFunction(this._config.extraClass);return o&&n.classList.add(...o.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[n,o]of Object.entries(e))super._typeCheckConfig({selector:n,entry:o},yu)}_setContent(e,n,o){const s=p.findOne(o,e);if(s){if(n=this._resolvePossibleFunction(n),!n){s.remove();return}if(fe(n)){this._putElementInTemplate(ye(n),s);return}if(this._config.html){s.innerHTML=this._maybeSanitize(n);return}s.textContent=n}}_maybeSanitize(e){return this._config.sanitize?bu(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return z(e,[void 0,this])}_putElementInTemplate(e,n){if(this._config.html){n.innerHTML="",n.append(e);return}n.textContent=e.textContent}}const Tu="tooltip",Cu=new Set(["sanitize","allowList","sanitizeFn"]),Pn="fade",Ou="modal",Ft="show",ku=".tooltip-inner",vs=`.${Ou}`,_s="hide.bs.modal",vt="hover",Mn="focus",Bn="click",Su="manual",xu="hide",$u="hidden",Lu="show",Nu="shown",Du="inserted",Iu="click",Pu="focusin",Mu="focusout",Bu="mouseenter",Ru="mouseleave",Vu={AUTO:"auto",TOP:"top",RIGHT:ee()?"left":"right",BOTTOM:"bottom",LEFT:ee()?"right":"left"},Hu={allowList:Mi,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"},ju={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 dt extends re{constructor(e,n){if(typeof ci>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");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 Hu}static get DefaultType(){return ju}static get NAME(){return Tu}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),u.off(this._element.closest(vs),_s,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 e=u.trigger(this._element,this.constructor.eventName(Lu)),o=(fi(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!o)return;this._disposePopper();const s=this._getTipElement();this._element.setAttribute("aria-describedby",s.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(s),u.trigger(this._element,this.constructor.eventName(Du))),this._popper=this._createPopper(s),s.classList.add(Ft),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))u.on(a,"mouseover",Qt);const r=()=>{u.trigger(this._element,this.constructor.eventName(Nu)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(r,this.tip,this._isAnimated())}hide(){if(!this._isShown()||u.trigger(this._element,this.constructor.eventName(xu)).defaultPrevented)return;if(this._getTipElement().classList.remove(Ft),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))u.off(s,"mouseover",Qt);this._activeTrigger[Bn]=!1,this._activeTrigger[Mn]=!1,this._activeTrigger[vt]=!1,this._isHovered=null;const o=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),u.trigger(this._element,this.constructor.eventName($u)))};this._queueCallback(o,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(e){const n=this._getTemplateFactory(e).toHtml();if(!n)return null;n.classList.remove(Pn,Ft),n.classList.add(`bs-${this.constructor.NAME}-auto`);const o=Sa(this.constructor.NAME).toString();return n.setAttribute("id",o),this._isAnimated()&&n.classList.add(Pn),n}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Au({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ku]: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(Pn)}_isShown(){return this.tip&&this.tip.classList.contains(Ft)}_createPopper(e){const n=z(this._config.placement,[this,e,this._element]),o=Vu[n.toUpperCase()];return go(this._element,e,this._getPopperConfig(o))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_resolvePossibleFunction(e){return z(e,[this._element,this._element])}_getPopperConfig(e){const n={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:o=>{this._getTipElement().setAttribute("data-popper-placement",o.state.placement)}}]};return{...n,...z(this._config.popperConfig,[void 0,n])}}_setListeners(){const e=this._config.trigger.split(" ");for(const n of e)if(n==="click")u.on(this._element,this.constructor.eventName(Iu),this._config.selector,o=>{const s=this._initializeOnDelegatedTarget(o);s._activeTrigger[Bn]=!(s._isShown()&&s._activeTrigger[Bn]),s.toggle()});else if(n!==Su){const o=n===vt?this.constructor.eventName(Bu):this.constructor.eventName(Pu),s=n===vt?this.constructor.eventName(Ru):this.constructor.eventName(Mu);u.on(this._element,o,this._config.selector,i=>{const r=this._initializeOnDelegatedTarget(i);r._activeTrigger[i.type==="focusin"?Mn:vt]=!0,r._enter()}),u.on(this._element,s,this._config.selector,i=>{const r=this._initializeOnDelegatedTarget(i);r._activeTrigger[i.type==="focusout"?Mn:vt]=r._element.contains(i.relatedTarget),r._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},u.on(this._element.closest(vs),_s,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(){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(e,n){clearTimeout(this._timeout),this._timeout=setTimeout(e,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const n=he.getDataAttributes(this._element);for(const o of Object.keys(n))Cu.has(o)&&delete n[o];return e={...n,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:ye(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[n,o]of Object.entries(this._config))this.constructor.Default[n]!==o&&(e[n]=o);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 n=dt.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}oe(dt);const Wu="popover",Fu=".popover-header",zu=".popover-body",Ku={...dt.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Yu={...dt.DefaultType,content:"(null|string|element|function)"};class _o extends dt{static get Default(){return Ku}static get DefaultType(){return Yu}static get NAME(){return Wu}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Fu]:this._getTitle(),[zu]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const n=_o.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}oe(_o);const Uu="scrollspy",qu="bs.scrollspy",Eo=`.${qu}`,Gu=".data-api",Xu=`activate${Eo}`,Es=`click${Eo}`,Qu=`load${Eo}${Gu}`,Zu="dropdown-item",Ue="active",Ju='[data-bs-spy="scroll"]',Rn="[href]",ed=".nav, .list-group",ys=".nav-link",td=".nav-item",nd=".list-group-item",od=`${ys}, ${td} > ${ys}, ${nd}`,sd=".dropdown",id=".dropdown-toggle",rd={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ad={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class gn extends re{constructor(e,n){super(e,n),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 rd}static get DefaultType(){return ad}static get NAME(){return Uu}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=ye(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(n=>Number.parseFloat(n))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(u.off(this._config.target,Es),u.on(this._config.target,Es,Rn,e=>{const n=this._observableSections.get(e.target.hash);if(n){e.preventDefault();const o=this._rootElement||window,s=n.offsetTop-this._element.offsetTop;if(o.scrollTo){o.scrollTo({top:s,behavior:"smooth"});return}o.scrollTop=s}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),e)}_observerCallback(e){const n=r=>this._targetLinks.get(`#${r.target.id}`),o=r=>{this._previousScrollData.visibleEntryTop=r.target.offsetTop,this._process(n(r))},s=(this._rootElement||document.documentElement).scrollTop,i=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const r of e){if(!r.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(r));continue}const a=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(o(r),!s)return;continue}!i&&!a&&o(r)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=p.find(Rn,this._config.target);for(const n of e){if(!n.hash||Ae(n))continue;const o=p.findOne(decodeURI(n.hash),this._element);ct(o)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,o))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Ue),this._activateParents(e),u.trigger(this._element,Xu,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Zu)){p.findOne(id,e.closest(sd)).classList.add(Ue);return}for(const n of p.parents(e,ed))for(const o of p.prev(n,od))o.classList.add(Ue)}_clearActiveClass(e){e.classList.remove(Ue);const n=p.find(`${Rn}.${Ue}`,e);for(const o of n)o.classList.remove(Ue)}static jQueryInterface(e){return this.each(function(){const n=gn.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}u.on(window,Qu,()=>{for(const t of p.find(Ju))gn.getOrCreateInstance(t)});oe(gn);const ld="tab",cd="bs.tab",We=`.${cd}`,ud=`hide${We}`,dd=`hidden${We}`,fd=`show${We}`,hd=`shown${We}`,pd=`click${We}`,md=`keydown${We}`,gd=`load${We}`,wd="ArrowLeft",As="ArrowRight",bd="ArrowUp",Ts="ArrowDown",Vn="Home",Cs="End",Pe="active",Os="fade",Hn="show",vd="dropdown",Bi=".dropdown-toggle",_d=".dropdown-menu",jn=`:not(${Bi})`,Ed='.list-group, .nav, [role="tablist"]',yd=".nav-item, .list-group-item",Ad=`.nav-link${jn}, .list-group-item${jn}, [role="tab"]${jn}`,Ri='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Wn=`${Ad}, ${Ri}`,Td=`.${Pe}[data-bs-toggle="tab"], .${Pe}[data-bs-toggle="pill"], .${Pe}[data-bs-toggle="list"]`;class it extends re{constructor(e){super(e),this._parent=this._element.closest(Ed),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),u.on(this._element,md,n=>this._keydown(n)))}static get NAME(){return ld}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),o=n?u.trigger(n,ud,{relatedTarget:e}):null;u.trigger(e,fd,{relatedTarget:n}).defaultPrevented||o&&o.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,n){if(!e)return;e.classList.add(Pe),this._activate(p.getElementFromSelector(e));const o=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Hn);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),u.trigger(e,hd,{relatedTarget:n})};this._queueCallback(o,e,e.classList.contains(Os))}_deactivate(e,n){if(!e)return;e.classList.remove(Pe),e.blur(),this._deactivate(p.getElementFromSelector(e));const o=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Hn);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),u.trigger(e,dd,{relatedTarget:n})};this._queueCallback(o,e,e.classList.contains(Os))}_keydown(e){if(![wd,As,bd,Ts,Vn,Cs].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=this._getChildren().filter(s=>!Ae(s));let o;if([Vn,Cs].includes(e.key))o=n[e.key===Vn?0:n.length-1];else{const s=[As,Ts].includes(e.key);o=wo(n,e.target,s,!0)}o&&(o.focus({preventScroll:!0}),it.getOrCreateInstance(o).show())}_getChildren(){return p.find(Wn,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,n){this._setAttributeIfNotExists(e,"role","tablist");for(const o of n)this._setInitialAttributesOnChild(o)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const n=this._elemIsActive(e),o=this._getOuterElement(e);e.setAttribute("aria-selected",n),o!==e&&this._setAttributeIfNotExists(o,"role","presentation"),n||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const n=p.getElementFromSelector(e);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,n){const o=this._getOuterElement(e);if(!o.classList.contains(vd))return;const s=(i,r)=>{const a=p.findOne(i,o);a&&a.classList.toggle(r,n)};s(Bi,Pe),s(_d,Hn),o.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,n,o){e.hasAttribute(n)||e.setAttribute(n,o)}_elemIsActive(e){return e.classList.contains(Pe)}_getInnerElement(e){return e.matches(Wn)?e:p.findOne(Wn,e)}_getOuterElement(e){return e.closest(yd)||e}static jQueryInterface(e){return this.each(function(){const n=it.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}u.on(document,pd,Ri,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!Ae(this)&&it.getOrCreateInstance(this).show()});u.on(window,gd,()=>{for(const t of p.find(Td))it.getOrCreateInstance(t)});oe(it);const Cd="toast",Od="bs.toast",ke=`.${Od}`,kd=`mouseover${ke}`,Sd=`mouseout${ke}`,xd=`focusin${ke}`,$d=`focusout${ke}`,Ld=`hide${ke}`,Nd=`hidden${ke}`,Dd=`show${ke}`,Id=`shown${ke}`,Pd="fade",ks="hide",zt="show",Kt="showing",Md={animation:"boolean",autohide:"boolean",delay:"number"},Bd={animation:!0,autohide:!0,delay:5e3};class wn extends re{constructor(e,n){super(e,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Bd}static get DefaultType(){return Md}static get NAME(){return Cd}show(){if(u.trigger(this._element,Dd).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Pd);const n=()=>{this._element.classList.remove(Kt),u.trigger(this._element,Id),this._maybeScheduleHide()};this._element.classList.remove(ks),Tt(this._element),this._element.classList.add(zt,Kt),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||u.trigger(this._element,Ld).defaultPrevented)return;const n=()=>{this._element.classList.add(ks),this._element.classList.remove(Kt,zt),u.trigger(this._element,Nd)};this._element.classList.add(Kt),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(zt),super.dispose()}isShown(){return this._element.classList.contains(zt)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,n){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const o=e.relatedTarget;this._element===o||this._element.contains(o)||this._maybeScheduleHide()}_setListeners(){u.on(this._element,kd,e=>this._onInteraction(e,!0)),u.on(this._element,Sd,e=>this._onInteraction(e,!1)),u.on(this._element,xd,e=>this._onInteraction(e,!0)),u.on(this._element,$d,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const n=wn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}hn(wn);oe(wn);function Vi(t,e,n){if(typeof t=="function"?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}function Rd(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ss(t,e){return t.get(Vi(t,e))}function Vd(t,e,n){Rd(t,e),e.set(t,n)}function Hd(t,e,n){return t.set(Vi(t,e),n),n}const jd=100,h={},Wd=()=>{h.previousActiveElement instanceof HTMLElement?(h.previousActiveElement.focus(),h.previousActiveElement=null):document.body&&document.body.focus()},Fd=t=>new Promise(e=>{if(!t)return e();const n=window.scrollX,o=window.scrollY;h.restoreFocusTimeout=setTimeout(()=>{Wd(),e()},jd),window.scrollTo(n,o)}),Hi="swal2-",zd=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error","draggable","dragging"],l=zd.reduce((t,e)=>(t[e]=Hi+e,t),{}),Kd=["success","warning","info","question","error"],en=Kd.reduce((t,e)=>(t[e]=Hi+e,t),{}),ji="SweetAlert2:",yo=t=>t.charAt(0).toUpperCase()+t.slice(1),W=t=>{console.warn(`${ji} ${typeof t=="object"?t.join(" "):t}`)},Fe=t=>{console.error(`${ji} ${t}`)},xs=[],Yd=t=>{xs.includes(t)||(xs.push(t),W(t))},Wi=(t,e=null)=>{Yd(`"${t}" is deprecated and will be removed in the next major release.${e?` Use "${e}" instead.`:""}`)},bn=t=>typeof t=="function"?t():t,Ao=t=>t&&typeof t.toPromise=="function",St=t=>Ao(t)?t.toPromise():Promise.resolve(t),To=t=>t&&Promise.resolve(t)===t,F=()=>document.body.querySelector(`.${l.container}`),xt=t=>{const e=F();return e?e.querySelector(t):null},Q=t=>xt(`.${t}`),y=()=>Q(l.popup),ft=()=>Q(l.icon),Ud=()=>Q(l["icon-content"]),Fi=()=>Q(l.title),Co=()=>Q(l["html-container"]),zi=()=>Q(l.image),Oo=()=>Q(l["progress-steps"]),vn=()=>Q(l["validation-message"]),de=()=>xt(`.${l.actions} .${l.confirm}`),ht=()=>xt(`.${l.actions} .${l.cancel}`),ze=()=>xt(`.${l.actions} .${l.deny}`),qd=()=>Q(l["input-label"]),pt=()=>xt(`.${l.loader}`),$t=()=>Q(l.actions),Ki=()=>Q(l.footer),_n=()=>Q(l["timer-progress-bar"]),ko=()=>Q(l.close),Gd=` a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls], summary `,So=()=>{const t=y();if(!t)return[];const e=t.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),n=Array.from(e).sort((i,r)=>{const a=parseInt(i.getAttribute("tabindex")||"0"),c=parseInt(r.getAttribute("tabindex")||"0");return a>c?1:ai.getAttribute("tabindex")!=="-1");return[...new Set(n.concat(s))].filter(i=>K(i))},xo=()=>pe(document.body,l.shown)&&!pe(document.body,l["toast-shown"])&&!pe(document.body,l["no-backdrop"]),En=()=>{const t=y();return t?pe(t,l.toast):!1},Xd=()=>{const t=y();return t?t.hasAttribute("data-loading"):!1},Z=(t,e)=>{if(t.textContent="",e){const o=new DOMParser().parseFromString(e,"text/html"),s=o.querySelector("head");s&&Array.from(s.childNodes).forEach(r=>{t.appendChild(r)});const i=o.querySelector("body");i&&Array.from(i.childNodes).forEach(r=>{r instanceof HTMLVideoElement||r instanceof HTMLAudioElement?t.appendChild(r.cloneNode(!0)):t.appendChild(r)})}},pe=(t,e)=>{if(!e)return!1;const n=e.split(/\s+/);for(let o=0;o{Array.from(t.classList).forEach(n=>{!Object.values(l).includes(n)&&!Object.values(en).includes(n)&&!Object.values(e.showClass||{}).includes(n)&&t.classList.remove(n)})},X=(t,e,n)=>{if(Qd(t,e),!e.customClass)return;const o=e.customClass[n];if(o){if(typeof o!="string"&&!o.forEach){W(`Invalid type of customClass.${n}! Expected string or iterable object, got "${typeof o}"`);return}E(t,o)}},yn=(t,e)=>{if(!e)return null;switch(e){case"select":case"textarea":case"file":return t.querySelector(`.${l.popup} > .${l[e]}`);case"checkbox":return t.querySelector(`.${l.popup} > .${l.checkbox} input`);case"radio":return t.querySelector(`.${l.popup} > .${l.radio} input:checked`)||t.querySelector(`.${l.popup} > .${l.radio} input:first-child`);case"range":return t.querySelector(`.${l.popup} > .${l.range} input`);default:return t.querySelector(`.${l.popup} > .${l.input}`)}},Yi=t=>{if(t.focus(),t.type!=="file"){const e=t.value;t.value="",t.value=e}},Ui=(t,e,n)=>{!t||!e||(typeof e=="string"&&(e=e.split(/\s+/).filter(Boolean)),e.forEach(o=>{Array.isArray(t)?t.forEach(s=>{n?s.classList.add(o):s.classList.remove(o)}):n?t.classList.add(o):t.classList.remove(o)}))},E=(t,e)=>{Ui(t,e,!0)},ne=(t,e)=>{Ui(t,e,!1)},ve=(t,e)=>{const n=Array.from(t.children);for(let o=0;o{n===`${parseInt(`${n}`)}`&&(n=parseInt(n)),n||parseInt(`${n}`)===0?t.style.setProperty(e,typeof n=="number"?`${n}px`:n):t.style.removeProperty(e)},P=(t,e="flex")=>{t&&(t.style.display=e)},R=t=>{t&&(t.style.display="none")},$o=(t,e="block")=>{t&&new MutationObserver(()=>{Lt(t,t.innerHTML,e)}).observe(t,{childList:!0,subtree:!0})},$s=(t,e,n,o)=>{const s=t.querySelector(e);s&&s.style.setProperty(n,o)},Lt=(t,e,n="flex")=>{e?P(t,n):R(t)},K=t=>!!(t&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)),Zd=()=>!K(de())&&!K(ze())&&!K(ht()),Jn=t=>t.scrollHeight>t.clientHeight,Jd=(t,e)=>{let n=t;for(;n&&n!==e;){if(Jn(n))return!0;n=n.parentElement}return!1},qi=t=>{const e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),o=parseFloat(e.getPropertyValue("transition-duration")||"0");return n>0||o>0},Lo=(t,e=!1)=>{const n=_n();n&&K(n)&&(e&&(n.style.transition="none",n.style.width="100%"),setTimeout(()=>{n.style.transition=`width ${t/1e3}s linear`,n.style.width="0%"},10))},ef=()=>{const t=_n();if(!t)return;const e=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";const n=parseInt(window.getComputedStyle(t).width),o=e/n*100;t.style.width=`${o}%`},tf=()=>typeof window>"u"||typeof document>"u",nf=`

    `.replace(/(^|\n)\s*/g,""),of=()=>{const t=F();return t?(t.remove(),ne([document.documentElement,document.body],[l["no-backdrop"],l["toast-shown"],l["has-column"]]),!0):!1},De=()=>{h.currentInstance&&h.currentInstance.resetValidationMessage()},sf=()=>{const t=y();if(!t)return;const e=ve(t,l.input),n=ve(t,l.file),o=t.querySelector(`.${l.range} input`),s=t.querySelector(`.${l.range} output`),i=ve(t,l.select),r=t.querySelector(`.${l.checkbox} input`),a=ve(t,l.textarea);e&&(e.oninput=De),n&&(n.onchange=De),i&&(i.onchange=De),r&&(r.onchange=De),a&&(a.oninput=De),o&&s&&(o.oninput=()=>{De(),s.value=o.value},o.onchange=()=>{De(),s.value=o.value})},rf=t=>{if(typeof t=="string"){const e=document.querySelector(t);if(!e)throw new Error(`Target element "${t}" not found`);return e}return t},af=t=>{const e=y();e&&(e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true"))},lf=t=>{window.getComputedStyle(t).direction==="rtl"&&(E(F(),l.rtl),h.isRTL=!0)},cf=t=>{const e=of();if(tf()){Fe("SweetAlert2 requires document to initialize");return}const n=document.createElement("div");n.className=l.container,e&&E(n,l["no-transition"]),Z(n,nf),n.dataset.swal2Theme=t.theme;const o=rf(t.target||"body");o.appendChild(n),t.topLayer&&(n.setAttribute("popover",""),n.showPopover()),af(t),lf(o),sf()},No=(t,e)=>{t instanceof HTMLElement?e.appendChild(t):typeof t=="object"?uf(t,e):t&&Z(e,t)},uf=(t,e)=>{"jquery"in t?df(e,t):Z(e,t.toString())},df=(t,e)=>{if(t.textContent="",0 in e)for(let n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},ff=(t,e)=>{const n=$t(),o=pt();!n||!o||(!e.showConfirmButton&&!e.showDenyButton&&!e.showCancelButton?R(n):P(n),X(n,e,"actions"),hf(n,o,e),Z(o,e.loaderHtml||""),X(o,e,"loader"))};function hf(t,e,n){const o=de(),s=ze(),i=ht();!o||!s||!i||(zn(o,"confirm",n),zn(s,"deny",n),zn(i,"cancel",n),pf(o,s,i,n),n.reverseButtons&&(n.toast?(t.insertBefore(i,o),t.insertBefore(s,o)):(t.insertBefore(i,e),t.insertBefore(s,e),t.insertBefore(o,e))))}function pf(t,e,n,o){if(!o.buttonsStyling){ne([t,e,n],l.styled);return}E([t,e,n],l.styled),o.confirmButtonColor&&t.style.setProperty("--swal2-confirm-button-background-color",o.confirmButtonColor),o.denyButtonColor&&e.style.setProperty("--swal2-deny-button-background-color",o.denyButtonColor),o.cancelButtonColor&&n.style.setProperty("--swal2-cancel-button-background-color",o.cancelButtonColor),Fn(t),Fn(e),Fn(n)}function Fn(t){const e=window.getComputedStyle(t);if(e.getPropertyValue("--swal2-action-button-focus-box-shadow"))return;const n=e.backgroundColor.replace(/rgba?\((\d+), (\d+), (\d+).*/,"rgba($1, $2, $3, 0.5)");t.style.setProperty("--swal2-action-button-focus-box-shadow",e.getPropertyValue("--swal2-outline").replace(/ rgba\(.*/,` ${n}`))}function zn(t,e,n){const o=yo(e);Lt(t,n[`show${o}Button`],"inline-block"),Z(t,n[`${e}ButtonText`]||""),t.setAttribute("aria-label",n[`${e}ButtonAriaLabel`]||""),t.className=l[e],X(t,n,`${e}Button`)}const mf=(t,e)=>{const n=ko();n&&(Z(n,e.closeButtonHtml||""),X(n,e,"closeButton"),Lt(n,e.showCloseButton),n.setAttribute("aria-label",e.closeButtonAriaLabel||""))},gf=(t,e)=>{const n=F();n&&(wf(n,e.backdrop),bf(n,e.position),vf(n,e.grow),X(n,e,"container"))};function wf(t,e){typeof e=="string"?t.style.background=e:e||E([document.documentElement,document.body],l["no-backdrop"])}function bf(t,e){e&&(e in l?E(t,l[e]):(W('The "position" parameter is not valid, defaulting to "center"'),E(t,l.center)))}function vf(t,e){e&&E(t,l[`grow-${e}`])}var O={innerParams:new WeakMap,domCache:new WeakMap};const _f=["input","file","range","select","radio","checkbox","textarea"],Ef=(t,e)=>{const n=y();if(!n)return;const o=O.innerParams.get(t),s=!o||e.input!==o.input;_f.forEach(i=>{const r=ve(n,l[i]);r&&(Tf(i,e.inputAttributes),r.className=l[i],s&&R(r))}),e.input&&(s&&yf(e),Cf(e))},yf=t=>{if(!t.input)return;if(!L[t.input]){Fe(`Unexpected type of input! Expected ${Object.keys(L).join(" | ")}, got "${t.input}"`);return}const e=Gi(t.input);if(!e)return;const n=L[t.input](e,t);P(e),t.inputAutoFocus&&setTimeout(()=>{Yi(n)})},Af=t=>{for(let e=0;e{const n=y();if(!n)return;const o=yn(n,t);if(o){Af(o);for(const s in e)o.setAttribute(s,e[s])}},Cf=t=>{if(!t.input)return;const e=Gi(t.input);e&&X(e,t,"input")},Do=(t,e)=>{!t.placeholder&&e.inputPlaceholder&&(t.placeholder=e.inputPlaceholder)},Nt=(t,e,n)=>{if(n.inputLabel){const o=document.createElement("label"),s=l["input-label"];o.setAttribute("for",t.id),o.className=s,typeof n.customClass=="object"&&E(o,n.customClass.inputLabel),o.innerText=n.inputLabel,e.insertAdjacentElement("beforebegin",o)}},Gi=t=>{const e=y();if(e)return ve(e,l[t]||l.input)},tn=(t,e)=>{["string","number"].includes(typeof e)?t.value=`${e}`:To(e)||W(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof e}"`)},L={};L.text=L.email=L.password=L.number=L.tel=L.url=L.search=L.date=L["datetime-local"]=L.time=L.week=L.month=(t,e)=>{const n=t;return tn(n,e.inputValue),Nt(n,n,e),Do(n,e),n.type=e.input,n};L.file=(t,e)=>{const n=t;return Nt(n,n,e),Do(n,e),n};L.range=(t,e)=>{const n=t,o=n.querySelector("input"),s=n.querySelector("output");return o&&(tn(o,e.inputValue),o.type=e.input,Nt(o,t,e)),s&&tn(s,e.inputValue),t};L.select=(t,e)=>{const n=t;if(n.textContent="",e.inputPlaceholder){const o=document.createElement("option");Z(o,e.inputPlaceholder),o.value="",o.disabled=!0,o.selected=!0,n.appendChild(o)}return Nt(n,n,e),n};L.radio=t=>{const e=t;return e.textContent="",t};L.checkbox=(t,e)=>{const n=y();if(!n)throw new Error("Popup not found");const o=yn(n,"checkbox");if(!o)throw new Error("Checkbox input not found");o.value="1",o.checked=!!e.inputValue;const i=t.querySelector("span");if(i){const r=e.inputPlaceholder||e.inputLabel;r&&Z(i,r)}return o};L.textarea=(t,e)=>{const n=t;tn(n,e.inputValue),Do(n,e),Nt(n,n,e);const o=s=>parseInt(window.getComputedStyle(s).marginLeft)+parseInt(window.getComputedStyle(s).marginRight);return setTimeout(()=>{if("MutationObserver"in window){const s=y();if(!s)return;const i=parseInt(window.getComputedStyle(s).width),r=()=>{if(!document.body.contains(n))return;const a=n.offsetWidth+o(n),c=y();c&&(a>i?c.style.width=`${a}px`:Be(c,"width",e.width))};new MutationObserver(r).observe(n,{attributes:!0,attributeFilter:["style"]})}}),n};const Of=(t,e)=>{const n=Co();n&&($o(n),X(n,e,"htmlContainer"),e.html?(No(e.html,n),P(n,"block")):e.text?(n.textContent=e.text,P(n,"block")):R(n),Ef(t,e))},kf=(t,e)=>{const n=Ki();n&&($o(n),Lt(n,!!e.footer,"block"),e.footer&&No(e.footer,n),X(n,e,"footer"))},Sf=(t,e)=>{const n=O.innerParams.get(t),o=ft();if(!o)return;if(n&&e.icon===n.icon){Ns(o,e),Ls(o,e);return}if(!e.icon&&!e.iconHtml){R(o);return}if(e.icon&&Object.keys(en).indexOf(e.icon)===-1){Fe(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${e.icon}"`),R(o);return}P(o),Ns(o,e),Ls(o,e),E(o,e.showClass&&e.showClass.icon),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",Xi)},Ls=(t,e)=>{for(const[n,o]of Object.entries(en))e.icon!==n&&ne(t,o);E(t,e.icon&&en[e.icon]),Lf(t,e),Xi(),X(t,e,"icon")},Xi=()=>{const t=y();if(!t)return;const e=window.getComputedStyle(t).getPropertyValue("background-color"),n=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let o=0;o` ${t.animation?'
    ':""}
    ${t.animation?'
    ':""} ${t.animation?'
    ':""} `,$f=` `,Ns=(t,e)=>{if(!e.icon&&!e.iconHtml)return;let n=t.innerHTML,o="";e.iconHtml?o=Ds(e.iconHtml):e.icon==="success"?(o=xf(e),n=n.replace(/ style=".*?"/g,"")):e.icon==="error"?o=$f:e.icon&&(o=Ds({question:"?",warning:"!",info:"i"}[e.icon])),n.trim()!==o.trim()&&Z(t,o)},Lf=(t,e)=>{if(e.iconColor){t.style.color=e.iconColor,t.style.borderColor=e.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])$s(t,n,"background-color",e.iconColor);$s(t,".swal2-success-ring","border-color",e.iconColor)}},Ds=t=>`
    ${t}
    `,Nf=(t,e)=>{const n=zi();if(n){if(!e.imageUrl){R(n);return}P(n,""),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt||""),Be(n,"width",e.imageWidth),Be(n,"height",e.imageHeight),n.className=l.image,X(n,e,"image")}};let Io=!1,Qi=0,Zi=0,Ji=0,er=0;const Df=t=>{t.addEventListener("mousedown",nn),document.body.addEventListener("mousemove",on),t.addEventListener("mouseup",sn),t.addEventListener("touchstart",nn),document.body.addEventListener("touchmove",on),t.addEventListener("touchend",sn)},If=t=>{t.removeEventListener("mousedown",nn),document.body.removeEventListener("mousemove",on),t.removeEventListener("mouseup",sn),t.removeEventListener("touchstart",nn),document.body.removeEventListener("touchmove",on),t.removeEventListener("touchend",sn)},nn=t=>{const e=y();if(!e)return;const n=ft();if(t.target===e||n&&n.contains(t.target)){Io=!0;const o=tr(t);Qi=o.clientX,Zi=o.clientY,Ji=parseInt(e.style.insetInlineStart)||0,er=parseInt(e.style.insetBlockStart)||0,E(e,"swal2-dragging")}},on=t=>{const e=y();if(e&&Io){let{clientX:n,clientY:o}=tr(t);const s=n-Qi;e.style.insetInlineStart=`${Ji+(h.isRTL?-s:s)}px`,e.style.insetBlockStart=`${er+(o-Zi)}px`}},sn=()=>{const t=y();Io=!1,ne(t,"swal2-dragging")},tr=t=>{let e=0,n=0;return t.type.startsWith("mouse")?(e=t.clientX,n=t.clientY):t.type.startsWith("touch")&&(e=t.touches[0].clientX,n=t.touches[0].clientY),{clientX:e,clientY:n}},Pf=(t,e)=>{const n=F(),o=y();if(!(!n||!o)){if(e.toast){Be(n,"width",e.width),o.style.width="100%";const s=pt();s&&o.insertBefore(s,ft())}else Be(o,"width",e.width);Be(o,"padding",e.padding),e.color&&(o.style.color=e.color),e.background&&(o.style.background=e.background),R(vn()),Mf(o,e),e.draggable&&!e.toast?(E(o,l.draggable),Df(o)):(ne(o,l.draggable),If(o))}},Mf=(t,e)=>{const n=e.showClass||{};t.className=`${l.popup} ${K(t)?n.popup:""}`,e.toast?(E([document.documentElement,document.body],l["toast-shown"]),E(t,l.toast)):E(t,l.modal),X(t,e,"popup"),typeof e.customClass=="string"&&E(t,e.customClass),e.icon&&E(t,l[`icon-${e.icon}`])},Bf=(t,e)=>{const n=Oo();if(!n)return;const{progressSteps:o,currentProgressStep:s}=e;if(!o||o.length===0||s===void 0){R(n);return}P(n),n.textContent="",s>=o.length&&W("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),o.forEach((i,r)=>{const a=Rf(i);if(n.appendChild(a),r===s&&E(a,l["active-progress-step"]),r!==o.length-1){const c=Vf(e);n.appendChild(c)}})},Rf=t=>{const e=document.createElement("li");return E(e,l["progress-step"]),Z(e,t),e},Vf=t=>{const e=document.createElement("li");return E(e,l["progress-step-line"]),t.progressStepsDistance&&Be(e,"width",t.progressStepsDistance),e},Hf=(t,e)=>{const n=Fi();n&&($o(n),Lt(n,!!(e.title||e.titleText),"block"),e.title&&No(e.title,n),e.titleText&&(n.innerText=e.titleText),X(n,e,"title"))},nr=(t,e)=>{var n;Pf(t,e),gf(t,e),Bf(t,e),Sf(t,e),Nf(t,e),Hf(t,e),mf(t,e),Of(t,e),ff(t,e),kf(t,e);const o=y();typeof e.didRender=="function"&&o&&e.didRender(o),(n=h.eventEmitter)===null||n===void 0||n.emit("didRender",o)},jf=()=>K(y()),or=()=>{var t;return(t=de())===null||t===void 0?void 0:t.click()},Wf=()=>{var t;return(t=ze())===null||t===void 0?void 0:t.click()},Ff=()=>{var t;return(t=ht())===null||t===void 0?void 0:t.click()},mt=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),sr=t=>{if(t.keydownTarget&&t.keydownHandlerAdded&&t.keydownHandler){const e=t.keydownHandler;t.keydownTarget.removeEventListener("keydown",e,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1}},zf=(t,e,n)=>{if(sr(t),!e.toast){const o=i=>Yf(e,i,n);t.keydownHandler=o;const s=e.keydownListenerCapture?window:y();if(s){t.keydownTarget=s,t.keydownListenerCapture=e.keydownListenerCapture;const i=o;t.keydownTarget.addEventListener("keydown",i,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0}}},eo=(t,e)=>{var n;const o=So();if(o.length){t=t+e,t===-2&&(t=o.length-1),t===o.length?t=0:t===-1&&(t=o.length-1),o[t].focus();return}(n=y())===null||n===void 0||n.focus()},ir=["ArrowRight","ArrowDown"],Kf=["ArrowLeft","ArrowUp"],Yf=(t,e,n)=>{t&&(e.isComposing||e.keyCode===229||(t.stopKeydownPropagation&&e.stopPropagation(),e.key==="Enter"?Uf(e,t):e.key==="Tab"?qf(e):[...ir,...Kf].includes(e.key)?Gf(e.key):e.key==="Escape"&&Xf(e,t,n)))},Uf=(t,e)=>{if(!bn(e.allowEnterKey))return;const n=y();if(!n||!e.input)return;const o=yn(n,e.input);if(t.target&&o&&t.target instanceof HTMLElement&&t.target.outerHTML===o.outerHTML){if(["textarea","file"].includes(e.input))return;or(),t.preventDefault()}},qf=t=>{const e=t.target,n=So();let o=-1;for(let s=0;s{const e=$t(),n=de(),o=ze(),s=ht();if(!e||!n||!o||!s)return;const i=[n,o,s];if(document.activeElement instanceof HTMLElement&&!i.includes(document.activeElement))return;const r=ir.includes(t)?"nextElementSibling":"previousElementSibling";let a=document.activeElement;if(a){for(let c=0;c{t.preventDefault(),bn(e.allowEscapeKey)&&n(mt.esc)};var rt={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const Qf=()=>{const t=F();Array.from(document.body.children).forEach(n=>{n.contains(t)||(n.hasAttribute("aria-hidden")&&n.setAttribute("data-previous-aria-hidden",n.getAttribute("aria-hidden")||""),n.setAttribute("aria-hidden","true"))})},rr=()=>{Array.from(document.body.children).forEach(e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")||""),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")})},ar=typeof window<"u"&&!!window.GestureEvent,Zf=()=>{if(ar&&!pe(document.body,l.iosfix)){const t=document.body.scrollTop;document.body.style.top=`${t*-1}px`,E(document.body,l.iosfix),Jf()}},Jf=()=>{const t=F();if(!t)return;let e;t.ontouchstart=n=>{e=eh(n)},t.ontouchmove=n=>{e&&(n.preventDefault(),n.stopPropagation())}},eh=t=>{const e=t.target,n=F(),o=Co();return!n||!o||th(t)||nh(t)?!1:e===n||!Jn(n)&&e instanceof HTMLElement&&!Jd(e,o)&&e.tagName!=="INPUT"&&e.tagName!=="TEXTAREA"&&!(Jn(o)&&o.contains(e))},th=t=>!!(t.touches&&t.touches.length&&t.touches[0].touchType==="stylus"),nh=t=>t.touches&&t.touches.length>1,oh=()=>{if(pe(document.body,l.iosfix)){const t=parseInt(document.body.style.top,10);ne(document.body,l.iosfix),document.body.style.top="",document.body.scrollTop=t*-1}},sh=()=>{const t=document.createElement("div");t.className=l["scrollbar-measure"],document.body.appendChild(t);const e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e};let Ze=null;const ih=t=>{Ze===null&&(document.body.scrollHeight>window.innerHeight||t==="scroll")&&(Ze=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${Ze+sh()}px`)},rh=()=>{Ze!==null&&(document.body.style.paddingRight=`${Ze}px`,Ze=null)};function lr(t,e,n,o){En()?Is(t,o):(Fd(n).then(()=>Is(t,o)),sr(h)),ar?(e.setAttribute("style","display:none !important"),e.removeAttribute("class"),e.innerHTML=""):e.remove(),xo()&&(rh(),oh(),rr()),ah()}function ah(){ne([document.documentElement,document.body],[l.shown,l["height-auto"],l["no-backdrop"],l["toast-shown"]])}function _e(t){t=ch(t);const e=rt.swalPromiseResolve.get(this),n=lh(this);this.isAwaitingPromise?t.isDismissed||(Dt(this),e(t)):n&&e(t)}const lh=t=>{const e=y();if(!e)return!1;const n=O.innerParams.get(t);if(!n||pe(e,n.hideClass.popup))return!1;ne(e,n.showClass.popup),E(e,n.hideClass.popup);const o=F();return ne(o,n.showClass.backdrop),E(o,n.hideClass.backdrop),uh(t,e,n),!0};function cr(t){const e=rt.swalPromiseReject.get(this);Dt(this),e&&e(t)}const Dt=t=>{t.isAwaitingPromise&&(delete t.isAwaitingPromise,O.innerParams.get(t)||t._destroy())},ch=t=>typeof t>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},t),uh=(t,e,n)=>{var o;const s=F(),i=qi(e);typeof n.willClose=="function"&&n.willClose(e),(o=h.eventEmitter)===null||o===void 0||o.emit("willClose",e),i&&s?dh(t,e,s,!!n.returnFocus,n.didClose):s&&lr(t,s,!!n.returnFocus,n.didClose)},dh=(t,e,n,o,s)=>{h.swalCloseEventFinishedCallback=lr.bind(null,t,n,o,s);const i=function(r){if(r.target===e){var a;(a=h.swalCloseEventFinishedCallback)===null||a===void 0||a.call(h),delete h.swalCloseEventFinishedCallback,e.removeEventListener("animationend",i),e.removeEventListener("transitionend",i)}};e.addEventListener("animationend",i),e.addEventListener("transitionend",i)},Is=(t,e)=>{setTimeout(()=>{var n;typeof e=="function"&&e.bind(t.params)(),(n=h.eventEmitter)===null||n===void 0||n.emit("didClose"),t._destroy&&t._destroy()})},at=t=>{let e=y();if(e||new no,e=y(),!e)return;const n=pt();En()?R(ft()):fh(e,t),P(n),e.setAttribute("data-loading","true"),e.setAttribute("aria-busy","true"),e.focus()},fh=(t,e)=>{const n=$t(),o=pt();!n||!o||(!e&&K(de())&&(e=de()),P(n),e&&(R(e),o.setAttribute("data-button-to-replace",e.className),n.insertBefore(o,e)),E([t,n],l.loading))},hh=(t,e)=>{e.input==="select"||e.input==="radio"?bh(t,e):["text","email","number","tel","textarea"].some(n=>n===e.input)&&(Ao(e.inputValue)||To(e.inputValue))&&(at(de()),vh(t,e))},ph=(t,e)=>{const n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return mh(n);case"radio":return gh(n);case"file":return wh(n);default:return e.inputAutoTrim?n.value.trim():n.value}},mh=t=>t.checked?1:0,gh=t=>t.checked?t.value:null,wh=t=>t.files&&t.files.length?t.getAttribute("multiple")!==null?t.files:t.files[0]:null,bh=(t,e)=>{const n=y();if(!n)return;const o=s=>{e.input==="select"?_h(n,rn(s),e):e.input==="radio"&&Eh(n,rn(s),e)};Ao(e.inputOptions)||To(e.inputOptions)?(at(de()),St(e.inputOptions).then(s=>{t.hideLoading(),o(s)})):typeof e.inputOptions=="object"?o(e.inputOptions):Fe(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof e.inputOptions}`)},vh=(t,e)=>{const n=t.getInput();n&&(R(n),St(e.inputValue).then(o=>{n.value=e.input==="number"?`${parseFloat(o)||0}`:`${o}`,P(n),n.focus(),t.hideLoading()}).catch(o=>{Fe(`Error in inputValue promise: ${o}`),n.value="",P(n),n.focus(),t.hideLoading()}))};function _h(t,e,n){const o=ve(t,l.select);if(!o)return;const s=(i,r,a)=>{const c=document.createElement("option");c.value=a,Z(c,r),c.selected=ur(a,n.inputValue),i.appendChild(c)};e.forEach(i=>{const r=i[0],a=i[1];if(Array.isArray(a)){const c=document.createElement("optgroup");c.label=r,c.disabled=!1,o.appendChild(c),a.forEach(f=>s(c,f[1],f[0]))}else s(o,a,r)}),o.focus()}function Eh(t,e,n){const o=ve(t,l.radio);if(!o)return;e.forEach(i=>{const r=i[0],a=i[1],c=document.createElement("input"),f=document.createElement("label");c.type="radio",c.name=l.radio,c.value=r,ur(r,n.inputValue)&&(c.checked=!0);const d=document.createElement("span");Z(d,a),d.className=l.label,f.appendChild(c),f.appendChild(d),o.appendChild(f)});const s=o.querySelectorAll("input");s.length&&s[0].focus()}const rn=t=>{const e=[];return t instanceof Map?t.forEach((n,o)=>{let s=n;typeof s=="object"&&(s=rn(s)),e.push([o,s])}):Object.keys(t).forEach(n=>{let o=t[n];typeof o=="object"&&(o=rn(o)),e.push([n,o])}),e},ur=(t,e)=>!!e&&e!==null&&e!==void 0&&e.toString()===t.toString(),yh=t=>{const e=O.innerParams.get(t);t.disableButtons(),e.input?dr(t,"confirm"):Mo(t,!0)},Ah=t=>{const e=O.innerParams.get(t);t.disableButtons(),e.returnInputValueOnDeny?dr(t,"deny"):Po(t,!1)},Th=(t,e)=>{t.disableButtons(),e(mt.cancel)},dr=(t,e)=>{const n=O.innerParams.get(t);if(!n.input){Fe(`The "input" parameter is needed to be set when using returnInputValueOn${yo(e)}`);return}const o=t.getInput(),s=ph(t,n);n.inputValidator?Ch(t,s,e):o&&!o.checkValidity()?(t.enableButtons(),t.showValidationMessage(n.validationMessage||o.validationMessage)):e==="deny"?Po(t,s):Mo(t,s)},Ch=(t,e,n)=>{const o=O.innerParams.get(t);t.disableInput(),Promise.resolve().then(()=>St(o.inputValidator(e,o.validationMessage))).then(i=>{t.enableButtons(),t.enableInput(),i?t.showValidationMessage(i):n==="deny"?Po(t,e):Mo(t,e)})},Po=(t,e)=>{const n=O.innerParams.get(t);n.showLoaderOnDeny&&at(ze()),n.preDeny?(t.isAwaitingPromise=!0,Promise.resolve().then(()=>St(n.preDeny(e,n.validationMessage))).then(s=>{s===!1?(t.hideLoading(),Dt(t)):t.close({isDenied:!0,value:typeof s>"u"?e:s})}).catch(s=>fr(t,s))):t.close({isDenied:!0,value:e})},Ps=(t,e)=>{t.close({isConfirmed:!0,value:e})},fr=(t,e)=>{t.rejectPromise(e)},Mo=(t,e)=>{const n=O.innerParams.get(t);n.showLoaderOnConfirm&&at(),n.preConfirm?(t.resetValidationMessage(),t.isAwaitingPromise=!0,Promise.resolve().then(()=>St(n.preConfirm(e,n.validationMessage))).then(s=>{K(vn())||s===!1?(t.hideLoading(),Dt(t)):Ps(t,typeof s>"u"?e:s)}).catch(s=>fr(t,s))):Ps(t,e)};function an(){const t=O.innerParams.get(this);if(!t)return;const e=O.domCache.get(this);R(e.loader),En()?t.icon&&P(ft()):Oh(e),ne([e.popup,e.actions],l.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.denyButton.disabled=!1,e.cancelButton.disabled=!1}const Oh=t=>{const e=t.loader.getAttribute("data-button-to-replace"),n=e?t.popup.getElementsByClassName(e):[];n.length?P(n[0],"inline-block"):Zd()&&R(t.actions)};function hr(){const t=O.innerParams.get(this),e=O.domCache.get(this);return e?yn(e.popup,t.input):null}function pr(t,e,n){const o=O.domCache.get(t);e.forEach(s=>{o[s].disabled=n})}function mr(t,e){const n=y();if(!(!n||!t))if(t.type==="radio"){const o=n.querySelectorAll(`[name="${l.radio}"]`);for(let s=0;sObject.prototype.hasOwnProperty.call(Ee,t),Ar=t=>kh.indexOf(t)!==-1,Tr=t=>Sh[t],$h=t=>{yr(t)||W(`Unknown parameter "${t}"`)},Lh=t=>{xh.includes(t)&&W(`The parameter "${t}" is incompatible with toasts`)},Nh=t=>{const e=Tr(t);e&&Wi(t,e)},Cr=t=>{t.backdrop===!1&&t.allowOutsideClick&&W('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),t.theme&&!["light","dark","auto","minimal","borderless","bootstrap-4","bootstrap-4-light","bootstrap-4-dark","bootstrap-5","bootstrap-5-light","bootstrap-5-dark","material-ui","material-ui-light","material-ui-dark","embed-iframe","bulma","bulma-light","bulma-dark"].includes(t.theme)&&W(`Invalid theme "${t.theme}"`);for(const e in t)$h(e),t.toast&&Lh(e),Nh(e)};function Or(t){const e=F(),n=y(),o=O.innerParams.get(this);if(!n||pe(n,o.hideClass.popup)){W("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");return}const s=Dh(t),i=Object.assign({},o,s);Cr(i),e&&(e.dataset.swal2Theme=i.theme),nr(this,i),O.innerParams.set(this,i),Object.defineProperties(this,{params:{value:Object.assign({},this.params,t),writable:!1,enumerable:!0}})}const Dh=t=>{const e={};return Object.keys(t).forEach(n=>{if(Ar(n)){const o=t;e[n]=o[n]}else W(`Invalid parameter to update: ${n}`)}),e};function kr(){var t;const e=O.domCache.get(this),n=O.innerParams.get(this);if(!n){Sr(this);return}e.popup&&h.swalCloseEventFinishedCallback&&(h.swalCloseEventFinishedCallback(),delete h.swalCloseEventFinishedCallback),typeof n.didDestroy=="function"&&n.didDestroy(),(t=h.eventEmitter)===null||t===void 0||t.emit("didDestroy"),Ih(this)}const Ih=t=>{Sr(t),delete t.params,delete h.keydownHandler,delete h.keydownTarget,delete h.currentInstance},Sr=t=>{t.isAwaitingPromise?(Kn(O,t),t.isAwaitingPromise=!0):(Kn(rt,t),Kn(O,t),delete t.isAwaitingPromise,delete t.disableButtons,delete t.enableButtons,delete t.getInput,delete t.disableInput,delete t.enableInput,delete t.hideLoading,delete t.disableLoading,delete t.showValidationMessage,delete t.resetValidationMessage,delete t.close,delete t.closePopup,delete t.closeModal,delete t.closeToast,delete t.rejectPromise,delete t.update,delete t._destroy)},Kn=(t,e)=>{for(const n in t)t[n].delete(e)};var Ph=Object.freeze({__proto__:null,_destroy:kr,close:_e,closeModal:_e,closePopup:_e,closeToast:_e,disableButtons:wr,disableInput:vr,disableLoading:an,enableButtons:gr,enableInput:br,getInput:hr,handleAwaitingPromise:Dt,hideLoading:an,rejectPromise:cr,resetValidationMessage:Er,showValidationMessage:_r,update:Or});const Mh=(t,e,n)=>{t.toast?Bh(t,e,n):(Vh(e),Hh(e),jh(t,e,n))},Bh=(t,e,n)=>{e.popup.onclick=()=>{t&&(Rh(t)||t.timer||t.input)||n(mt.close)}},Rh=t=>!!(t.showConfirmButton||t.showDenyButton||t.showCancelButton||t.showCloseButton);let ln=!1;const Vh=t=>{t.popup.onmousedown=()=>{t.container.onmouseup=function(e){t.container.onmouseup=()=>{},e.target===t.container&&(ln=!0)}}},Hh=t=>{t.container.onmousedown=e=>{e.target===t.container&&e.preventDefault(),t.popup.onmouseup=function(n){t.popup.onmouseup=()=>{},(n.target===t.popup||n.target instanceof HTMLElement&&t.popup.contains(n.target))&&(ln=!0)}}},jh=(t,e,n)=>{e.container.onclick=o=>{if(ln){ln=!1;return}o.target===e.container&&bn(t.allowOutsideClick)&&n(mt.backdrop)}},Wh=t=>typeof t=="object"&&t.jquery,Ms=t=>t instanceof Element||Wh(t),Fh=t=>{const e={};return typeof t[0]=="object"&&!Ms(t[0])?Object.assign(e,t[0]):["title","html","icon"].forEach((n,o)=>{const s=t[o];typeof s=="string"||Ms(s)?e[n]=s:s!==void 0&&Fe(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof s}`)}),e};function zh(...t){return new this(...t)}function Kh(t){class e extends this{_main(o,s){return super._main(o,Object.assign({},t,s))}}return e}const Yh=()=>h.timeout&&h.timeout.getTimerLeft(),xr=()=>{if(h.timeout)return ef(),h.timeout.stop()},$r=()=>{if(h.timeout){const t=h.timeout.start();return Lo(t),t}},Uh=()=>{const t=h.timeout;return t&&(t.running?xr():$r())},qh=t=>{if(h.timeout){const e=h.timeout.increase(t);return Lo(e,!0),e}},Gh=()=>!!(h.timeout&&h.timeout.isRunning());let Bs=!1;const to={};function Xh(t="data-swal-template"){to[t]=this,Bs||(document.body.addEventListener("click",Qh),Bs=!0)}const Qh=t=>{for(let e=t.target;e&&e!==document;e=e.parentNode)for(const n in to){const o=e.getAttribute&&e.getAttribute(n);if(o){to[n].fire({template:o});return}}};class Zh{constructor(){this.events={}}_getHandlersByEventName(e){return typeof this.events[e]>"u"&&(this.events[e]=[]),this.events[e]}on(e,n){const o=this._getHandlersByEventName(e);o.includes(n)||o.push(n)}once(e,n){const o=(...s)=>{this.removeListener(e,o),n.apply(this,s)};this.on(e,o)}emit(e,...n){this._getHandlersByEventName(e).forEach(o=>{try{o.apply(this,n)}catch(s){console.error(s)}})}removeListener(e,n){const o=this._getHandlersByEventName(e),s=o.indexOf(n);s>-1&&o.splice(s,1)}removeAllListeners(e){this.events[e]!==void 0&&(this.events[e].length=0)}reset(){this.events={}}}h.eventEmitter=new Zh;const Jh=(t,e)=>{h.eventEmitter&&h.eventEmitter.on(t,e)},ep=(t,e)=>{h.eventEmitter&&h.eventEmitter.once(t,e)},tp=(t,e)=>{if(h.eventEmitter){if(!t){h.eventEmitter.reset();return}e?h.eventEmitter.removeListener(t,e):h.eventEmitter.removeAllListeners(t)}};var np=Object.freeze({__proto__:null,argsToParams:Fh,bindClickHandler:Xh,clickCancel:Ff,clickConfirm:or,clickDeny:Wf,enableLoading:at,fire:zh,getActions:$t,getCancelButton:ht,getCloseButton:ko,getConfirmButton:de,getContainer:F,getDenyButton:ze,getFocusableElements:So,getFooter:Ki,getHtmlContainer:Co,getIcon:ft,getIconContent:Ud,getImage:zi,getInputLabel:qd,getLoader:pt,getPopup:y,getProgressSteps:Oo,getTimerLeft:Yh,getTimerProgressBar:_n,getTitle:Fi,getValidationMessage:vn,increaseTimer:qh,isDeprecatedParameter:Tr,isLoading:Xd,isTimerRunning:Gh,isUpdatableParameter:Ar,isValidParameter:yr,isVisible:jf,mixin:Kh,off:tp,on:Jh,once:ep,resumeTimer:$r,showLoading:at,stopTimer:xr,toggleTimer:Uh});class op{constructor(e,n){this.callback=e,this.remaining=n,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(e){const n=this.running;return n&&this.stop(),this.remaining+=e,n&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const Lr=["swal-title","swal-html","swal-footer"],sp=t=>{const e=typeof t.template=="string"?document.querySelector(t.template):t.template;if(!e)return{};const n=e.content;return fp(n),Object.assign(ip(n),rp(n),ap(n),lp(n),cp(n),up(n),dp(n,Lr))},ip=t=>{const e={};return Array.from(t.querySelectorAll("swal-param")).forEach(o=>{He(o,["name","value"]);const s=o.getAttribute("name"),i=o.getAttribute("value");!s||!i||(s in Ee&&typeof Ee[s]=="boolean"?e[s]=i!=="false":s in Ee&&typeof Ee[s]=="object"?e[s]=JSON.parse(i):e[s]=i)}),e},rp=t=>{const e={};return Array.from(t.querySelectorAll("swal-function-param")).forEach(o=>{const s=o.getAttribute("name"),i=o.getAttribute("value");!s||!i||(e[s]=new Function(`return ${i}`)())}),e},ap=t=>{const e={};return Array.from(t.querySelectorAll("swal-button")).forEach(o=>{He(o,["type","color","aria-label"]);const s=o.getAttribute("type");if(!(!s||!["confirm","cancel","deny"].includes(s))){if(e[`${s}ButtonText`]=o.innerHTML,e[`show${yo(s)}Button`]=!0,o.hasAttribute("color")){const i=o.getAttribute("color");i!==null&&(e[`${s}ButtonColor`]=i)}if(o.hasAttribute("aria-label")){const i=o.getAttribute("aria-label");i!==null&&(e[`${s}ButtonAriaLabel`]=i)}}}),e},lp=t=>{const e={},n=t.querySelector("swal-image");return n&&(He(n,["src","width","height","alt"]),n.hasAttribute("src")&&(e.imageUrl=n.getAttribute("src")||void 0),n.hasAttribute("width")&&(e.imageWidth=n.getAttribute("width")||void 0),n.hasAttribute("height")&&(e.imageHeight=n.getAttribute("height")||void 0),n.hasAttribute("alt")&&(e.imageAlt=n.getAttribute("alt")||void 0)),e},cp=t=>{const e={},n=t.querySelector("swal-icon");return n&&(He(n,["type","color"]),n.hasAttribute("type")&&(e.icon=n.getAttribute("type")),n.hasAttribute("color")&&(e.iconColor=n.getAttribute("color")),e.iconHtml=n.innerHTML),e},up=t=>{const e={},n=t.querySelector("swal-input");n&&(He(n,["type","label","placeholder","value"]),e.input=n.getAttribute("type")||"text",n.hasAttribute("label")&&(e.inputLabel=n.getAttribute("label")),n.hasAttribute("placeholder")&&(e.inputPlaceholder=n.getAttribute("placeholder")),n.hasAttribute("value")&&(e.inputValue=n.getAttribute("value")));const o=Array.from(t.querySelectorAll("swal-input-option"));return o.length&&(e.inputOptions={},o.forEach(s=>{He(s,["value"]);const i=s.getAttribute("value");if(!i)return;const r=s.innerHTML;e.inputOptions[i]=r})),e},dp=(t,e)=>{const n={};for(const o in e){const s=e[o],i=t.querySelector(s);i&&(He(i,[]),n[s.replace(/^swal-/,"")]=i.innerHTML.trim())}return n},fp=t=>{const e=Lr.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(t.children).forEach(n=>{const o=n.tagName.toLowerCase();e.includes(o)||W(`Unrecognized element <${o}>`)})},He=(t,e)=>{Array.from(t.attributes).forEach(n=>{e.indexOf(n.name)===-1&&W([`Unrecognized attribute "${n.name}" on <${t.tagName.toLowerCase()}>.`,`${e.length?`Allowed attributes are: ${e.join(", ")}`:"To set the value, use HTML within the element."}`])})},Nr=10,hp=t=>{var e,n;const o=F(),s=y();if(!o||!s)return;typeof t.willOpen=="function"&&t.willOpen(s),(e=h.eventEmitter)===null||e===void 0||e.emit("willOpen",s);const r=window.getComputedStyle(document.body).overflowY;if(gp(o,s,t),setTimeout(()=>{pp(o,s)},Nr),xo()&&(mp(o,t.scrollbarPadding!==void 0?t.scrollbarPadding:!1,r),Qf()),!En()&&!h.previousActiveElement&&(h.previousActiveElement=document.activeElement),typeof t.didOpen=="function"){const a=t.didOpen;setTimeout(()=>a(s))}(n=h.eventEmitter)===null||n===void 0||n.emit("didOpen",s)},cn=t=>{const e=y();if(!e||t.target!==e)return;const n=F();n&&(e.removeEventListener("animationend",cn),e.removeEventListener("transitionend",cn),n.style.overflowY="auto",ne(n,l["no-transition"]))},pp=(t,e)=>{qi(e)?(t.style.overflowY="hidden",e.addEventListener("animationend",cn),e.addEventListener("transitionend",cn)):t.style.overflowY="auto"},mp=(t,e,n)=>{Zf(),e&&n!=="hidden"&&ih(n),setTimeout(()=>{t.scrollTop=0})},gp=(t,e,n)=>{var o;(o=n.showClass)!==null&&o!==void 0&&o.backdrop&&E(t,n.showClass.backdrop),n.animation?(e.style.setProperty("opacity","0","important"),P(e,"grid"),setTimeout(()=>{var s;(s=n.showClass)!==null&&s!==void 0&&s.popup&&E(e,n.showClass.popup),e.style.removeProperty("opacity")},Nr)):P(e,"grid"),E([document.documentElement,document.body],l.shown),n.heightAuto&&n.backdrop&&!n.toast&&E([document.documentElement,document.body],l["height-auto"])};var Rs={email:(t,e)=>/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid email address"),url:(t,e)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid URL")};function wp(t){t.inputValidator||(t.input==="email"&&(t.inputValidator=Rs.email),t.input==="url"&&(t.inputValidator=Rs.url))}function bp(t){(!t.target||typeof t.target=="string"&&!document.querySelector(t.target)||typeof t.target!="string"&&!t.target.appendChild)&&(W('Target parameter is not valid, defaulting to "body"'),t.target="body")}function vp(t){wp(t),t.showLoaderOnConfirm&&!t.preConfirm&&W(`showLoaderOnConfirm is set to true, but preConfirm is not defined. showLoaderOnConfirm should be used together with preConfirm, see usage example: https://sweetalert2.github.io/#ajax-request`),bp(t),typeof t.title=="string"&&(t.title=t.title.split(` `).join("
    ")),cf(t)}let ae;var Yt=new WeakMap;class N{constructor(...e){if(Vd(this,Yt,Promise.resolve({isConfirmed:!1,isDenied:!1,isDismissed:!0})),typeof window>"u")return;ae=this;const n=Object.freeze(this.constructor.argsToParams(e));this.params=n,this.isAwaitingPromise=!1,Hd(Yt,this,this._main(ae.params))}_main(e,n={}){if(Cr(Object.assign({},n,e)),h.currentInstance){const i=rt.swalPromiseResolve.get(h.currentInstance),{isAwaitingPromise:r}=h.currentInstance;h.currentInstance._destroy(),r||i({isDismissed:!0}),xo()&&rr()}h.currentInstance=ae;const o=Ep(e,n);vp(o),Object.freeze(o),h.timeout&&(h.timeout.stop(),delete h.timeout),clearTimeout(h.restoreFocusTimeout);const s=yp(ae);return nr(ae,o),O.innerParams.set(ae,o),_p(ae,s,o)}then(e){return Ss(Yt,this).then(e)}finally(e){return Ss(Yt,this).finally(e)}}const _p=(t,e,n)=>new Promise((o,s)=>{const i=r=>{t.close({isDismissed:!0,dismiss:r,isConfirmed:!1,isDenied:!1})};rt.swalPromiseResolve.set(t,o),rt.swalPromiseReject.set(t,s),e.confirmButton.onclick=()=>{yh(t)},e.denyButton.onclick=()=>{Ah(t)},e.cancelButton.onclick=()=>{Th(t,i)},e.closeButton.onclick=()=>{i(mt.close)},Mh(n,e,i),zf(h,n,i),hh(t,n),hp(n),Ap(h,n,i),Tp(e,n),setTimeout(()=>{e.container.scrollTop=0})}),Ep=(t,e)=>{const n=sp(t),o=Object.assign({},Ee,e,n,t);return o.showClass=Object.assign({},Ee.showClass,o.showClass),o.hideClass=Object.assign({},Ee.hideClass,o.hideClass),o.animation===!1&&(o.showClass={backdrop:"swal2-noanimation"},o.hideClass={}),o},yp=t=>{const e={popup:y(),container:F(),actions:$t(),confirmButton:de(),denyButton:ze(),cancelButton:ht(),loader:pt(),closeButton:ko(),validationMessage:vn(),progressSteps:Oo()};return O.domCache.set(t,e),e},Ap=(t,e,n)=>{const o=_n();R(o),e.timer&&(t.timeout=new op(()=>{n("timer"),delete t.timeout},e.timer),e.timerProgressBar&&o&&(P(o),X(o,e,"timerProgressBar"),setTimeout(()=>{t.timeout&&t.timeout.running&&Lo(e.timer)})))},Tp=(t,e)=>{if(!e.toast){if(!bn(e.allowEnterKey)){Wi("allowEnterKey"),kp();return}Cp(t)||Op(t,e)||eo(-1,1)}},Cp=t=>{const e=Array.from(t.popup.querySelectorAll("[autofocus]"));for(const n of e)if(n instanceof HTMLElement&&K(n))return n.focus(),!0;return!1},Op=(t,e)=>e.focusDeny&&K(t.denyButton)?(t.denyButton.focus(),!0):e.focusCancel&&K(t.cancelButton)?(t.cancelButton.focus(),!0):e.focusConfirm&&K(t.confirmButton)?(t.confirmButton.focus(),!0):!1,kp=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};N.prototype.disableButtons=wr;N.prototype.enableButtons=gr;N.prototype.getInput=hr;N.prototype.disableInput=vr;N.prototype.enableInput=br;N.prototype.hideLoading=an;N.prototype.disableLoading=an;N.prototype.showValidationMessage=_r;N.prototype.resetValidationMessage=Er;N.prototype.close=_e;N.prototype.closePopup=_e;N.prototype.closeModal=_e;N.prototype.closeToast=_e;N.prototype.rejectPromise=cr;N.prototype.update=Or;N.prototype._destroy=kr;Object.assign(N,np);Object.keys(Ph).forEach(t=>{N[t]=function(...e){if(ae&&ae[t])return ae[t](...e)}});N.DismissReason=mt;N.version="11.26.17";const no=N;no.default=no;typeof document<"u"&&(function(t,e){var n=t.createElement("style");if(t.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=e);else try{n.innerHTML=e}catch{n.innerText=e}})(document,':root{--swal2-outline: 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-backdrop-transition: background-color 0.15s;--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-icon-zoom: 1;--swal2-icon-animations: true;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-border: 1px solid #d9d9d9;--swal2-input-border-radius: 0.1875em;--swal2-input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-background: transparent;--swal2-input-transition: border-color 0.2s, box-shadow 0.2s;--swal2-input-hover-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-focus-border: 1px solid #b4dbed;--swal2-input-focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-footer-border-color: #eee;--swal2-footer-background: transparent;--swal2-footer-color: inherit;--swal2-timer-progress-bar-background: rgba(0, 0, 0, 0.3);--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc;--swal2-close-button-transition: color 0.2s, box-shadow 0.2s;--swal2-close-button-outline: initial;--swal2-close-button-box-shadow: inset 0 0 0 3px transparent;--swal2-close-button-focus-box-shadow: inset var(--swal2-outline);--swal2-close-button-hover-transform: none;--swal2-actions-justify-content: center;--swal2-actions-width: auto;--swal2-actions-margin: 1.25em auto 0;--swal2-actions-padding: 0;--swal2-actions-border-radius: 0;--swal2-actions-background: transparent;--swal2-action-button-transition: background-color 0.2s, box-shadow 0.2s;--swal2-action-button-hover: black 10%;--swal2-action-button-active: black 10%;--swal2-confirm-button-box-shadow: none;--swal2-confirm-button-border-radius: 0.25em;--swal2-confirm-button-background-color: #7066e0;--swal2-confirm-button-color: #fff;--swal2-deny-button-box-shadow: none;--swal2-deny-button-border-radius: 0.25em;--swal2-deny-button-background-color: #dc3741;--swal2-deny-button-color: #fff;--swal2-cancel-button-box-shadow: none;--swal2-cancel-button-border-radius: 0.25em;--swal2-cancel-button-background-color: #6e7881;--swal2-cancel-button-color: #fff;--swal2-toast-show-animation: swal2-toast-show 0.5s;--swal2-toast-hide-animation: swal2-toast-hide 0.1s forwards;--swal2-toast-border: none;--swal2-toast-box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.075), 0 1px 2px hsl(0deg 0% 0% / 0.075), 1px 2px 4px hsl(0deg 0% 0% / 0.075), 1px 3px 8px hsl(0deg 0% 0% / 0.075), 2px 4px 16px hsl(0deg 0% 0% / 0.075)}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px var(--swal2-backdrop)}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:var(--swal2-container-padding);overflow-x:hidden;transition:var(--swal2-backdrop-transition);-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container)[popover]{width:auto;border:0}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);font-family:inherit;font-size:1rem;container-name:swal2-popup}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:var(--swal2-title-padding);color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;overflow-wrap:break-word;cursor:initial}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:var(--swal2-actions-justify-content);width:var(--swal2-actions-width);margin:var(--swal2-actions-margin);padding:var(--swal2-actions-padding);border-radius:var(--swal2-actions-border-radius);background:var(--swal2-actions-background)}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:var(--swal2-action-button-transition);border:none;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border-radius:var(--swal2-confirm-button-border-radius);background:initial;background-color:var(--swal2-confirm-button-background-color);box-shadow:var(--swal2-confirm-button-box-shadow);color:var(--swal2-confirm-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border-radius:var(--swal2-deny-button-border-radius);background:initial;background-color:var(--swal2-deny-button-background-color);box-shadow:var(--swal2-deny-button-box-shadow);color:var(--swal2-deny-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):active{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border-radius:var(--swal2-cancel-button-border-radius);background:initial;background-color:var(--swal2-cancel-button-background-color);box-shadow:var(--swal2-cancel-button-box-shadow);color:var(--swal2-cancel-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):active{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none;box-shadow:var(--swal2-action-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-styled)[disabled]:not(.swal2-loading){opacity:.4}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);background:var(--swal2-footer-background);color:var(--swal2-footer-color);font-size:1em;text-align:center;cursor:initial}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:var(--swal2-timer-progress-bar-background)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:var(--swal2-close-button-transition);border:none;border-radius:var(--swal2-border-radius);outline:var(--swal2-close-button-outline);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:var(--swal2-close-button-hover-transform);background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:var(--swal2-close-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:var(--swal2-html-container-padding);overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;overflow-wrap:break-word;word-break:break-word;cursor:initial}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:var(--swal2-input-transition);border:var(--swal2-input-border);border-radius:var(--swal2-input-border-radius);background:var(--swal2-input-background);box-shadow:var(--swal2-input-box-shadow);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):hover,div:where(.swal2-container) input:where(.swal2-file):hover,div:where(.swal2-container) textarea:where(.swal2-textarea):hover{box-shadow:var(--swal2-input-hover-box-shadow)}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:var(--swal2-input-focus-border);outline:none;box-shadow:var(--swal2-input-focus-box-shadow)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:var(--swal2-background)}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:var(--swal2-input-background);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:var(--swal2-input-background);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:var(--swal2-background);color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;zoom:var(--swal2-icon-zoom);border:.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}}div:where(.swal2-icon).swal2-warning{border-color:#f8bb86;color:#f8bb86}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}}div:where(.swal2-icon).swal2-info{border-color:#3fc3ee;color:#3fc3ee}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}}div:where(.swal2-icon).swal2-question{border-color:#87adbd;color:#87adbd}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;border:var(--swal2-toast-border);background:var(--swal2-background);box-shadow:var(--swal2-toast-box-shadow);pointer-events:all}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}@container swal2-popup style(--swal2-icon-animations:true){.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}}.swal2-toast.swal2-show{animation:var(--swal2-toast-show-animation)}.swal2-toast.swal2-hide{animation:var(--swal2-toast-hide-animation)}@keyframes swal2-show{0%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}100%{transform:translate3d(0, 0, 0) scale(1);opacity:1}}@keyframes swal2-hide{0%{transform:translate3d(0, 0, 0) scale(1);opacity:1}100%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}');export{st as M,no as S,dt as T};