8 lines
108 KiB
JavaScript
Executable File
8 lines
108 KiB
JavaScript
Executable File
var P="top",k="bottom",V="right",x="left",Ie="auto",jt=[P,k,V,x],Tt="start",Pt="end",Gs="clippingParents",wn="viewport",Lt="popper",Xs="reference",hn=jt.reduce(function(e,t){return e.concat([t+"-"+Tt,t+"-"+Pt])},[]),On=[].concat(jt,[Ie]).reduce(function(e,t){return e.concat([t,t+"-"+Tt,t+"-"+Pt])},[]),Js="beforeRead",Qs="read",Zs="afterRead",tr="beforeMain",er="main",nr="afterMain",sr="beforeWrite",rr="write",ir="afterWrite",or=[Js,Qs,Zs,tr,er,nr,sr,rr,ir];function X(e){return e?(e.nodeName||"").toLowerCase():null}function H(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function wt(e){var t=H(e).Element;return e instanceof t||e instanceof Element}function B(e){var t=H(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Sn(e){if(typeof ShadowRoot>"u")return!1;var t=H(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function yi(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!B(i)||!X(i)||(Object.assign(i.style,s),Object.keys(r).forEach(function(o){var a=r[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function Ai(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(s){var r=t.elements[s],i=t.attributes[s]||{},o=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),a=o.reduce(function(u,c){return u[c]="",u},{});!B(r)||!X(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(u){r.removeAttribute(u)}))})}}const Cn={name:"applyStyles",enabled:!0,phase:"write",fn:yi,effect:Ai,requires:["computeStyles"]};function q(e){return e.split("-")[0]}var At=Math.max,Ne=Math.min,xt=Math.round;function pn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ar(){return!/^((?!chrome|android).)*safari/i.test(pn())}function Mt(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),r=1,i=1;t&&B(e)&&(r=e.offsetWidth>0&&xt(s.width)/e.offsetWidth||1,i=e.offsetHeight>0&&xt(s.height)/e.offsetHeight||1);var o=wt(e)?H(e):window,a=o.visualViewport,u=!ar()&&n,c=(s.left+(u&&a?a.offsetLeft:0))/r,l=(s.top+(u&&a?a.offsetTop:0))/i,h=s.width/r,g=s.height/i;return{width:h,height:g,top:l,right:c+h,bottom:l+g,left:c,x:c,y:l}}function Nn(e){var t=Mt(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function cr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Sn(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function nt(e){return H(e).getComputedStyle(e)}function Ti(e){return["table","td","th"].indexOf(X(e))>=0}function dt(e){return((wt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pe(e){return X(e)==="html"?e:e.assignedSlot||e.parentNode||(Sn(e)?e.host:null)||dt(e)}function rs(e){return!B(e)||nt(e).position==="fixed"?null:e.offsetParent}function wi(e){var t=/firefox/i.test(pn()),n=/Trident/i.test(pn());if(n&&B(e)){var s=nt(e);if(s.position==="fixed")return null}var r=Pe(e);for(Sn(r)&&(r=r.host);B(r)&&["html","body"].indexOf(X(r))<0;){var i=nt(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function ne(e){for(var t=H(e),n=rs(e);n&&Ti(n)&&nt(n).position==="static";)n=rs(n);return n&&(X(n)==="html"||X(n)==="body"&&nt(n).position==="static")?t:n||wi(e)||t}function Dn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Qt(e,t,n){return At(e,Ne(t,n))}function Oi(e,t,n){var s=Qt(e,t,n);return s>n?n:s}function lr(){return{top:0,right:0,bottom:0,left:0}}function ur(e){return Object.assign({},lr(),e)}function fr(e,t){return t.reduce(function(n,s){return n[s]=e,n},{})}var Si=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,ur(typeof t!="number"?t:fr(t,jt))};function Ci(e){var t,n=e.state,s=e.name,r=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,a=q(n.placement),u=Dn(a),c=[x,V].indexOf(a)>=0,l=c?"height":"width";if(!(!i||!o)){var h=Si(r.padding,n),g=Nn(i),m=u==="y"?P:x,p=u==="y"?k:V,_=n.rects.reference[l]+n.rects.reference[u]-o[u]-n.rects.popper[l],E=o[u]-n.rects.reference[u],y=ne(i),T=y?u==="y"?y.clientHeight||0:y.clientWidth||0:0,S=_/2-E/2,v=h[m],w=T-g[l]-h[p],O=T/2-g[l]/2+S,C=Qt(v,O,w),R=u;n.modifiersData[s]=(t={},t[R]=C,t.centerOffset=C-O,t)}}function Ni(e){var t=e.state,n=e.options,s=n.element,r=s===void 0?"[data-popper-arrow]":s;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||cr(t.elements.popper,r)&&(t.elements.arrow=r))}const dr={name:"arrow",enabled:!0,phase:"main",fn:Ci,effect:Ni,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function kt(e){return e.split("-")[1]}var Di={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Li(e,t){var n=e.x,s=e.y,r=t.devicePixelRatio||1;return{x:xt(n*r)/r||0,y:xt(s*r)/r||0}}function is(e){var t,n=e.popper,s=e.popperRect,r=e.placement,i=e.variation,o=e.offsets,a=e.position,u=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,h=e.isFixed,g=o.x,m=g===void 0?0:g,p=o.y,_=p===void 0?0:p,E=typeof l=="function"?l({x:m,y:_}):{x:m,y:_};m=E.x,_=E.y;var y=o.hasOwnProperty("x"),T=o.hasOwnProperty("y"),S=x,v=P,w=window;if(c){var O=ne(n),C="clientHeight",R="clientWidth";if(O===H(n)&&(O=dt(n),nt(O).position!=="static"&&a==="absolute"&&(C="scrollHeight",R="scrollWidth")),O=O,r===P||(r===x||r===V)&&i===Pt){v=k;var L=h&&O===w&&w.visualViewport?w.visualViewport.height:O[C];_-=L-s.height,_*=u?1:-1}if(r===x||(r===P||r===k)&&i===Pt){S=V;var N=h&&O===w&&w.visualViewport?w.visualViewport.width:O[R];m-=N-s.width,m*=u?1:-1}}var $=Object.assign({position:a},c&&Di),W=l===!0?Li({x:m,y:_},H(n)):{x:m,y:_};if(m=W.x,_=W.y,u){var I;return Object.assign({},$,(I={},I[v]=T?"0":"",I[S]=y?"0":"",I.transform=(w.devicePixelRatio||1)<=1?"translate("+m+"px, "+_+"px)":"translate3d("+m+"px, "+_+"px, 0)",I))}return Object.assign({},$,(t={},t[v]=T?_+"px":"",t[S]=y?m+"px":"",t.transform="",t))}function Ri(e){var t=e.state,n=e.options,s=n.gpuAcceleration,r=s===void 0?!0:s,i=n.adaptive,o=i===void 0?!0:i,a=n.roundOffsets,u=a===void 0?!0:a,c={placement:q(t.placement),variation:kt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,is(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,is(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Ln={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ri,data:{}};var pe={passive:!0};function $i(e){var t=e.state,n=e.instance,s=e.options,r=s.scroll,i=r===void 0?!0:r,o=s.resize,a=o===void 0?!0:o,u=H(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(l){l.addEventListener("scroll",n.update,pe)}),a&&u.addEventListener("resize",n.update,pe),function(){i&&c.forEach(function(l){l.removeEventListener("scroll",n.update,pe)}),a&&u.removeEventListener("resize",n.update,pe)}}const Rn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:$i,data:{}};var Ii={left:"right",right:"left",bottom:"top",top:"bottom"};function ye(e){return e.replace(/left|right|bottom|top/g,function(t){return Ii[t]})}var Pi={start:"end",end:"start"};function os(e){return e.replace(/start|end/g,function(t){return Pi[t]})}function $n(e){var t=H(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function In(e){return Mt(dt(e)).left+$n(e).scrollLeft}function xi(e,t){var n=H(e),s=dt(e),r=n.visualViewport,i=s.clientWidth,o=s.clientHeight,a=0,u=0;if(r){i=r.width,o=r.height;var c=ar();(c||!c&&t==="fixed")&&(a=r.offsetLeft,u=r.offsetTop)}return{width:i,height:o,x:a+In(e),y:u}}function Mi(e){var t,n=dt(e),s=$n(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=At(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=At(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-s.scrollLeft+In(e),u=-s.scrollTop;return nt(r||n).direction==="rtl"&&(a+=At(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:o,x:a,y:u}}function Pn(e){var t=nt(e),n=t.overflow,s=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+s)}function hr(e){return["html","body","#document"].indexOf(X(e))>=0?e.ownerDocument.body:B(e)&&Pn(e)?e:hr(Pe(e))}function Zt(e,t){var n;t===void 0&&(t=[]);var s=hr(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=H(s),o=r?[i].concat(i.visualViewport||[],Pn(s)?s:[]):s,a=t.concat(o);return r?a:a.concat(Zt(Pe(o)))}function _n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ki(e,t){var n=Mt(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function as(e,t,n){return t===wn?_n(xi(e,n)):wt(t)?ki(t,n):_n(Mi(dt(e)))}function Vi(e){var t=Zt(Pe(e)),n=["absolute","fixed"].indexOf(nt(e).position)>=0,s=n&&B(e)?ne(e):e;return wt(s)?t.filter(function(r){return wt(r)&&cr(r,s)&&X(r)!=="body"}):[]}function Hi(e,t,n,s){var r=t==="clippingParents"?Vi(e):[].concat(t),i=[].concat(r,[n]),o=i[0],a=i.reduce(function(u,c){var l=as(e,c,s);return u.top=At(l.top,u.top),u.right=Ne(l.right,u.right),u.bottom=Ne(l.bottom,u.bottom),u.left=At(l.left,u.left),u},as(e,o,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function pr(e){var t=e.reference,n=e.element,s=e.placement,r=s?q(s):null,i=s?kt(s):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,u;switch(r){case P:u={x:o,y:t.y-n.height};break;case k:u={x:o,y:t.y+t.height};break;case V:u={x:t.x+t.width,y:a};break;case x:u={x:t.x-n.width,y:a};break;default:u={x:t.x,y:t.y}}var c=r?Dn(r):null;if(c!=null){var l=c==="y"?"height":"width";switch(i){case Tt:u[c]=u[c]-(t[l]/2-n[l]/2);break;case Pt:u[c]=u[c]+(t[l]/2-n[l]/2);break}}return u}function Vt(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=s===void 0?e.placement:s,i=n.strategy,o=i===void 0?e.strategy:i,a=n.boundary,u=a===void 0?Gs:a,c=n.rootBoundary,l=c===void 0?wn:c,h=n.elementContext,g=h===void 0?Lt:h,m=n.altBoundary,p=m===void 0?!1:m,_=n.padding,E=_===void 0?0:_,y=ur(typeof E!="number"?E:fr(E,jt)),T=g===Lt?Xs:Lt,S=e.rects.popper,v=e.elements[p?T:g],w=Hi(wt(v)?v:v.contextElement||dt(e.elements.popper),u,l,o),O=Mt(e.elements.reference),C=pr({reference:O,element:S,strategy:"absolute",placement:r}),R=_n(Object.assign({},S,C)),L=g===Lt?R:O,N={top:w.top-L.top+y.top,bottom:L.bottom-w.bottom+y.bottom,left:w.left-L.left+y.left,right:L.right-w.right+y.right},$=e.modifiersData.offset;if(g===Lt&&$){var W=$[r];Object.keys(N).forEach(function(I){var _t=[V,k].indexOf(I)>=0?1:-1,mt=[P,k].indexOf(I)>=0?"y":"x";N[I]+=W[mt]*_t})}return N}function Bi(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=n.boundary,i=n.rootBoundary,o=n.padding,a=n.flipVariations,u=n.allowedAutoPlacements,c=u===void 0?On:u,l=kt(s),h=l?a?hn:hn.filter(function(p){return kt(p)===l}):jt,g=h.filter(function(p){return c.indexOf(p)>=0});g.length===0&&(g=h);var m=g.reduce(function(p,_){return p[_]=Vt(e,{placement:_,boundary:r,rootBoundary:i,padding:o})[q(_)],p},{});return Object.keys(m).sort(function(p,_){return m[p]-m[_]})}function Fi(e){if(q(e)===Ie)return[];var t=ye(e);return[os(e),t,os(t)]}function ji(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!0:o,u=n.fallbackPlacements,c=n.padding,l=n.boundary,h=n.rootBoundary,g=n.altBoundary,m=n.flipVariations,p=m===void 0?!0:m,_=n.allowedAutoPlacements,E=t.options.placement,y=q(E),T=y===E,S=u||(T||!p?[ye(E)]:Fi(E)),v=[E].concat(S).reduce(function(Ct,it){return Ct.concat(q(it)===Ie?Bi(t,{placement:it,boundary:l,rootBoundary:h,padding:c,flipVariations:p,allowedAutoPlacements:_}):it)},[]),w=t.rects.reference,O=t.rects.popper,C=new Map,R=!0,L=v[0],N=0;N<v.length;N++){var $=v[N],W=q($),I=kt($)===Tt,_t=[P,k].indexOf(W)>=0,mt=_t?"width":"height",M=Vt(t,{placement:$,boundary:l,rootBoundary:h,altBoundary:g,padding:c}),U=_t?I?V:x:I?k:P;w[mt]>O[mt]&&(U=ye(U));var le=ye(U),gt=[];if(i&>.push(M[W]<=0),a&>.push(M[U]<=0,M[le]<=0),gt.every(function(Ct){return Ct})){L=$,R=!1;break}C.set($,gt)}if(R)for(var ue=p?3:1,Ke=function(it){var qt=v.find(function(de){var Et=C.get(de);if(Et)return Et.slice(0,it).every(function(Ye){return Ye})});if(qt)return L=qt,"break"},zt=ue;zt>0;zt--){var fe=Ke(zt);if(fe==="break")break}t.placement!==L&&(t.modifiersData[s]._skip=!0,t.placement=L,t.reset=!0)}}const _r={name:"flip",enabled:!0,phase:"main",fn:ji,requiresIfExists:["offset"],data:{_skip:!1}};function cs(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ls(e){return[P,V,k,x].some(function(t){return e[t]>=0})}function Wi(e){var t=e.state,n=e.name,s=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,o=Vt(t,{elementContext:"reference"}),a=Vt(t,{altBoundary:!0}),u=cs(o,s),c=cs(a,r,i),l=ls(u),h=ls(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":h})}const mr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Wi};function Ui(e,t,n){var s=q(e),r=[x,P].indexOf(s)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],a=i[1];return o=o||0,a=(a||0)*r,[x,V].indexOf(s)>=0?{x:a,y:o}:{x:o,y:a}}function Ki(e){var t=e.state,n=e.options,s=e.name,r=n.offset,i=r===void 0?[0,0]:r,o=On.reduce(function(l,h){return l[h]=Ui(h,t.rects,i),l},{}),a=o[t.placement],u=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[s]=o}const gr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ki};function Yi(e){var t=e.state,n=e.name;t.modifiersData[n]=pr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const xn={name:"popperOffsets",enabled:!0,phase:"read",fn:Yi,data:{}};function zi(e){return e==="x"?"y":"x"}function qi(e){var t=e.state,n=e.options,s=e.name,r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!1:o,u=n.boundary,c=n.rootBoundary,l=n.altBoundary,h=n.padding,g=n.tether,m=g===void 0?!0:g,p=n.tetherOffset,_=p===void 0?0:p,E=Vt(t,{boundary:u,rootBoundary:c,padding:h,altBoundary:l}),y=q(t.placement),T=kt(t.placement),S=!T,v=Dn(y),w=zi(v),O=t.modifiersData.popperOffsets,C=t.rects.reference,R=t.rects.popper,L=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,N=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,W={x:0,y:0};if(O){if(i){var I,_t=v==="y"?P:x,mt=v==="y"?k:V,M=v==="y"?"height":"width",U=O[v],le=U+E[_t],gt=U-E[mt],ue=m?-R[M]/2:0,Ke=T===Tt?C[M]:R[M],zt=T===Tt?-R[M]:-C[M],fe=t.elements.arrow,Ct=m&&fe?Nn(fe):{width:0,height:0},it=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:lr(),qt=it[_t],de=it[mt],Et=Qt(0,C[M],Ct[M]),Ye=S?C[M]/2-ue-Et-qt-N.mainAxis:Ke-Et-qt-N.mainAxis,_i=S?-C[M]/2+ue+Et+de+N.mainAxis:zt+Et+de+N.mainAxis,ze=t.elements.arrow&&ne(t.elements.arrow),mi=ze?v==="y"?ze.clientTop||0:ze.clientLeft||0:0,Gn=(I=$==null?void 0:$[v])!=null?I:0,gi=U+Ye-Gn-mi,Ei=U+_i-Gn,Xn=Qt(m?Ne(le,gi):le,U,m?At(gt,Ei):gt);O[v]=Xn,W[v]=Xn-U}if(a){var Jn,bi=v==="x"?P:x,vi=v==="x"?k:V,bt=O[w],he=w==="y"?"height":"width",Qn=bt+E[bi],Zn=bt-E[vi],qe=[P,x].indexOf(y)!==-1,ts=(Jn=$==null?void 0:$[w])!=null?Jn:0,es=qe?Qn:bt-C[he]-R[he]-ts+N.altAxis,ns=qe?bt+C[he]+R[he]-ts-N.altAxis:Zn,ss=m&&qe?Oi(es,bt,ns):Qt(m?es:Qn,bt,m?ns:Zn);O[w]=ss,W[w]=ss-bt}t.modifiersData[s]=W}}const Er={name:"preventOverflow",enabled:!0,phase:"main",fn:qi,requiresIfExists:["offset"]};function Gi(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Xi(e){return e===H(e)||!B(e)?$n(e):Gi(e)}function Ji(e){var t=e.getBoundingClientRect(),n=xt(t.width)/e.offsetWidth||1,s=xt(t.height)/e.offsetHeight||1;return n!==1||s!==1}function Qi(e,t,n){n===void 0&&(n=!1);var s=B(t),r=B(t)&&Ji(t),i=dt(t),o=Mt(e,r,n),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(s||!s&&!n)&&((X(t)!=="body"||Pn(i))&&(a=Xi(t)),B(t)?(u=Mt(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=In(i))),{x:o.left+a.scrollLeft-u.x,y:o.top+a.scrollTop-u.y,width:o.width,height:o.height}}function Zi(e){var t=new Map,n=new Set,s=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var u=t.get(a);u&&r(u)}}),s.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),s}function to(e){var t=Zi(e);return or.reduce(function(n,s){return n.concat(t.filter(function(r){return r.phase===s}))},[])}function eo(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function no(e){var t=e.reduce(function(n,s){var r=n[s.name];return n[s.name]=r?Object.assign({},r,s,{options:Object.assign({},r.options,s.options),data:Object.assign({},r.data,s.data)}):s,n},{});return Object.keys(t).map(function(n){return t[n]})}var us={placement:"bottom",modifiers:[],strategy:"absolute"};function fs(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(s){return!(s&&typeof s.getBoundingClientRect=="function")})}function xe(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,s=n===void 0?[]:n,r=t.defaultOptions,i=r===void 0?us:r;return function(a,u,c){c===void 0&&(c=i);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},us,i),modifiersData:{},elements:{reference:a,popper:u},attributes:{},styles:{}},h=[],g=!1,m={state:l,setOptions:function(y){var T=typeof y=="function"?y(l.options):y;_(),l.options=Object.assign({},i,l.options,T),l.scrollParents={reference:wt(a)?Zt(a):a.contextElement?Zt(a.contextElement):[],popper:Zt(u)};var S=to(no([].concat(s,l.options.modifiers)));return l.orderedModifiers=S.filter(function(v){return v.enabled}),p(),m.update()},forceUpdate:function(){if(!g){var y=l.elements,T=y.reference,S=y.popper;if(fs(T,S)){l.rects={reference:Qi(T,ne(S),l.options.strategy==="fixed"),popper:Nn(S)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(N){return l.modifiersData[N.name]=Object.assign({},N.data)});for(var v=0;v<l.orderedModifiers.length;v++){if(l.reset===!0){l.reset=!1,v=-1;continue}var w=l.orderedModifiers[v],O=w.fn,C=w.options,R=C===void 0?{}:C,L=w.name;typeof O=="function"&&(l=O({state:l,options:R,name:L,instance:m})||l)}}}},update:eo(function(){return new Promise(function(E){m.forceUpdate(),E(l)})}),destroy:function(){_(),g=!0}};if(!fs(a,u))return m;m.setOptions(c).then(function(E){!g&&c.onFirstUpdate&&c.onFirstUpdate(E)});function p(){l.orderedModifiers.forEach(function(E){var y=E.name,T=E.options,S=T===void 0?{}:T,v=E.effect;if(typeof v=="function"){var w=v({state:l,name:y,instance:m,options:S}),O=function(){};h.push(w||O)}})}function _(){h.forEach(function(E){return E()}),h=[]}return m}}var so=xe(),ro=[Rn,xn,Ln,Cn],io=xe({defaultModifiers:ro}),oo=[Rn,xn,Ln,Cn,gr,_r,Er,dr,mr],Mn=xe({defaultModifiers:oo});const br=Object.freeze(Object.defineProperty({__proto__:null,afterMain:nr,afterRead:Zs,afterWrite:ir,applyStyles:Cn,arrow:dr,auto:Ie,basePlacements:jt,beforeMain:tr,beforeRead:Js,beforeWrite:sr,bottom:k,clippingParents:Gs,computeStyles:Ln,createPopper:Mn,createPopperBase:so,createPopperLite:io,detectOverflow:Vt,end:Pt,eventListeners:Rn,flip:_r,hide:mr,left:x,main:er,modifierPhases:or,offset:gr,placements:On,popper:Lt,popperGenerator:xe,popperOffsets:xn,preventOverflow:Er,read:Qs,reference:Xs,right:V,start:Tt,top:P,variationPlacements:hn,viewport:wn,write:rr},Symbol.toStringTag,{value:"Module"}));/*!
|
|
* Bootstrap v5.2.3 (https://getbootstrap.com/)
|
|
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
*/const ao=1e6,co=1e3,mn="transitionend",lo=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),uo=e=>{do e+=Math.floor(Math.random()*ao);while(document.getElementById(e));return e},vr=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t},yr=e=>{const t=vr(e);return t&&document.querySelector(t)?t:null},Q=e=>{const t=vr(e);return t?document.querySelector(t):null},fo=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),r=Number.parseFloat(n);return!s&&!r?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*co)},Ar=e=>{e.dispatchEvent(new Event(mn))},Z=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),ct=e=>Z(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(e):null,Wt=e=>{if(!Z(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const s=e.closest("summary");if(s&&s.parentNode!==n||s===null)return!1}return t},lt=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",Tr=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Tr(e.parentNode):null},De=()=>{},se=e=>{e.offsetHeight},wr=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ge=[],ho=e=>{document.readyState==="loading"?(Ge.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Ge)t()}),Ge.push(e)):e()},F=()=>document.documentElement.dir==="rtl",j=e=>{ho(()=>{const t=wr();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}})},J=e=>{typeof e=="function"&&e()},Or=(e,t,n=!0)=>{if(!n){J(e);return}const s=5,r=fo(t)+s;let i=!1;const o=({target:a})=>{a===t&&(i=!0,t.removeEventListener(mn,o),J(e))};t.addEventListener(mn,o),setTimeout(()=>{i||Ar(t)},r)},kn=(e,t,n,s)=>{const r=e.length;let i=e.indexOf(t);return i===-1?!n&&s?e[r-1]:e[0]:(i+=n?1:-1,s&&(i=(i+r)%r),e[Math.max(0,Math.min(i,r-1))])},po=/[^.]*(?=\..*)\.|.*/,_o=/\..*/,mo=/::\d+$/,Xe={};let ds=1;const Sr={mouseenter:"mouseover",mouseleave:"mouseout"},go=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 Cr(e,t){return t&&`${t}::${ds++}`||e.uidEvent||ds++}function Nr(e){const t=Cr(e);return e.uidEvent=t,Xe[t]=Xe[t]||{},Xe[t]}function Eo(e,t){return function n(s){return Vn(s,{delegateTarget:e}),n.oneOff&&d.off(e,s.type,t),t.apply(e,[s])}}function bo(e,t,n){return function s(r){const i=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return Vn(r,{delegateTarget:o}),s.oneOff&&d.off(e,r.type,t,n),n.apply(o,[r])}}function Dr(e,t,n=null){return Object.values(e).find(s=>s.callable===t&&s.delegationSelector===n)}function Lr(e,t,n){const s=typeof t=="string",r=s?n:t||n;let i=Rr(e);return go.has(i)||(i=e),[s,r,i]}function hs(e,t,n,s,r){if(typeof t!="string"||!e)return;let[i,o,a]=Lr(t,n,s);t in Sr&&(o=(p=>function(_){if(!_.relatedTarget||_.relatedTarget!==_.delegateTarget&&!_.delegateTarget.contains(_.relatedTarget))return p.call(this,_)})(o));const u=Nr(e),c=u[a]||(u[a]={}),l=Dr(c,o,i?n:null);if(l){l.oneOff=l.oneOff&&r;return}const h=Cr(o,t.replace(po,"")),g=i?bo(e,n,o):Eo(e,o);g.delegationSelector=i?n:null,g.callable=o,g.oneOff=r,g.uidEvent=h,c[h]=g,e.addEventListener(a,g,i)}function gn(e,t,n,s,r){const i=Dr(t[n],s,r);i&&(e.removeEventListener(n,i,!!r),delete t[n][i.uidEvent])}function vo(e,t,n,s){const r=t[n]||{};for(const i of Object.keys(r))if(i.includes(s)){const o=r[i];gn(e,t,n,o.callable,o.delegationSelector)}}function Rr(e){return e=e.replace(_o,""),Sr[e]||e}const d={on(e,t,n,s){hs(e,t,n,s,!1)},one(e,t,n,s){hs(e,t,n,s,!0)},off(e,t,n,s){if(typeof t!="string"||!e)return;const[r,i,o]=Lr(t,n,s),a=o!==t,u=Nr(e),c=u[o]||{},l=t.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;gn(e,u,o,i,r?n:null);return}if(l)for(const h of Object.keys(u))vo(e,u,h,t.slice(1));for(const h of Object.keys(c)){const g=h.replace(mo,"");if(!a||t.includes(g)){const m=c[h];gn(e,u,o,m.callable,m.delegationSelector)}}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const s=wr(),r=Rr(t),i=t!==r;let o=null,a=!0,u=!0,c=!1;i&&s&&(o=s.Event(t,n),s(e).trigger(o),a=!o.isPropagationStopped(),u=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());let l=new Event(t,{bubbles:a,cancelable:!0});return l=Vn(l,n),c&&l.preventDefault(),u&&e.dispatchEvent(l),l.defaultPrevented&&o&&o.preventDefault(),l}};function Vn(e,t){for(const[n,s]of Object.entries(t||{}))try{e[n]=s}catch{Object.defineProperty(e,n,{configurable:!0,get(){return s}})}return e}const ot=new Map,Je={set(e,t,n){ot.has(e)||ot.set(e,new Map);const s=ot.get(e);if(!s.has(t)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(t,n)},get(e,t){return ot.has(e)&&ot.get(e).get(t)||null},remove(e,t){if(!ot.has(e))return;const n=ot.get(e);n.delete(t),n.size===0&&ot.delete(e)}};function ps(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function Qe(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const tt={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Qe(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Qe(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of n){let r=s.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),t[r]=ps(e.dataset[s])}return t},getDataAttribute(e,t){return ps(e.getAttribute(`data-bs-${Qe(t)}`))}};class re{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,n){const s=Z(n)?tt.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...Z(n)?tt.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const s of Object.keys(n)){const r=n[s],i=t[s],o=Z(i)?"element":lo(i);if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${r}".`)}}}const yo="5.2.3";class K extends re{constructor(t,n){super(),t=ct(t),t&&(this._element=t,this._config=this._getConfig(n),Je.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Je.remove(this._element,this.constructor.DATA_KEY),d.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,s=!0){Or(t,n,s)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Je.get(ct(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return yo}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Me=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;d.on(document,n,`[data-bs-dismiss="${s}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),lt(this))return;const i=Q(this)||this.closest(`.${s}`);e.getOrCreateInstance(i)[t]()})},Ao="alert",To="bs.alert",$r=`.${To}`,wo=`close${$r}`,Oo=`closed${$r}`,So="fade",Co="show";class ke extends K{static get NAME(){return Ao}close(){if(d.trigger(this._element,wo).defaultPrevented)return;this._element.classList.remove(Co);const n=this._element.classList.contains(So);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),d.trigger(this._element,Oo),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=ke.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}Me(ke,"close");j(ke);const No="button",Do="bs.button",Lo=`.${Do}`,Ro=".data-api",$o="active",_s='[data-bs-toggle="button"]',Io=`click${Lo}${Ro}`;class Ve extends K{static get NAME(){return No}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle($o))}static jQueryInterface(t){return this.each(function(){const n=Ve.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}d.on(document,Io,_s,e=>{e.preventDefault();const t=e.target.closest(_s);Ve.getOrCreateInstance(t).toggle()});j(Ve);const b={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let s=e.parentNode.closest(t);for(;s;)n.push(s),s=s.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!lt(n)&&Wt(n))}},Po="swipe",Ut=".bs.swipe",xo=`touchstart${Ut}`,Mo=`touchmove${Ut}`,ko=`touchend${Ut}`,Vo=`pointerdown${Ut}`,Ho=`pointerup${Ut}`,Bo="touch",Fo="pen",jo="pointer-event",Wo=40,Uo={endCallback:null,leftCallback:null,rightCallback:null},Ko={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Le extends re{constructor(t,n){super(),this._element=t,!(!t||!Le.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Uo}static get DefaultType(){return Ko}static get NAME(){return Po}dispose(){d.off(this._element,Ut)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),J(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=Wo)return;const n=t/this._deltaX;this._deltaX=0,n&&J(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(d.on(this._element,Vo,t=>this._start(t)),d.on(this._element,Ho,t=>this._end(t)),this._element.classList.add(jo)):(d.on(this._element,xo,t=>this._start(t)),d.on(this._element,Mo,t=>this._move(t)),d.on(this._element,ko,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Fo||t.pointerType===Bo)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Yo="carousel",zo="bs.carousel",ht=`.${zo}`,Ir=".data-api",qo="ArrowLeft",Go="ArrowRight",Xo=500,Gt="next",Nt="prev",Rt="left",Ae="right",Jo=`slide${ht}`,Ze=`slid${ht}`,Qo=`keydown${ht}`,Zo=`mouseenter${ht}`,ta=`mouseleave${ht}`,ea=`dragstart${ht}`,na=`load${ht}${Ir}`,sa=`click${ht}${Ir}`,Pr="carousel",_e="active",ra="slide",ia="carousel-item-end",oa="carousel-item-start",aa="carousel-item-next",ca="carousel-item-prev",xr=".active",Mr=".carousel-item",la=xr+Mr,ua=".carousel-item img",fa=".carousel-indicators",da="[data-bs-slide], [data-bs-slide-to]",ha='[data-bs-ride="carousel"]',pa={[qo]:Ae,[Go]:Rt},_a={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ma={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ie extends K{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=b.findOne(fa,this._element),this._addEventListeners(),this._config.ride===Pr&&this.cycle()}static get Default(){return _a}static get DefaultType(){return ma}static get NAME(){return Yo}next(){this._slide(Gt)}nextWhenVisible(){!document.hidden&&Wt(this._element)&&this.next()}prev(){this._slide(Nt)}pause(){this._isSliding&&Ar(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){d.one(this._element,Ze,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){d.one(this._element,Ze,()=>this.to(t));return}const s=this._getItemIndex(this._getActive());if(s===t)return;const r=t>s?Gt:Nt;this._slide(r,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&d.on(this._element,Qo,t=>this._keydown(t)),this._config.pause==="hover"&&(d.on(this._element,Zo,()=>this.pause()),d.on(this._element,ta,()=>this._maybeEnableCycle())),this._config.touch&&Le.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of b.find(ua,this._element))d.on(s,ea,r=>r.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(Rt)),rightCallback:()=>this._slide(this._directionToOrder(Ae)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Xo+this._config.interval))}};this._swipeHelper=new Le(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=pa[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=b.findOne(xr,this._indicatorsElement);n.classList.remove(_e),n.removeAttribute("aria-current");const s=b.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);s&&(s.classList.add(_e),s.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const s=this._getActive(),r=t===Gt,i=n||kn(this._getItems(),s,r,this._config.wrap);if(i===s)return;const o=this._getItemIndex(i),a=m=>d.trigger(this._element,m,{relatedTarget:i,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:o});if(a(Jo).defaultPrevented||!s||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const l=r?oa:ia,h=r?aa:ca;i.classList.add(h),se(i),s.classList.add(l),i.classList.add(l);const g=()=>{i.classList.remove(l,h),i.classList.add(_e),s.classList.remove(_e,h,l),this._isSliding=!1,a(Ze)};this._queueCallback(g,s,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(ra)}_getActive(){return b.findOne(la,this._element)}_getItems(){return b.find(Mr,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return F()?t===Rt?Nt:Gt:t===Rt?Gt:Nt}_orderToDirection(t){return F()?t===Nt?Rt:Ae:t===Nt?Ae:Rt}static jQueryInterface(t){return this.each(function(){const n=ie.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}d.on(document,sa,da,function(e){const t=Q(this);if(!t||!t.classList.contains(Pr))return;e.preventDefault();const n=ie.getOrCreateInstance(t),s=this.getAttribute("data-bs-slide-to");if(s){n.to(s),n._maybeEnableCycle();return}if(tt.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});d.on(window,na,()=>{const e=b.find(ha);for(const t of e)ie.getOrCreateInstance(t)});j(ie);const ga="collapse",Ea="bs.collapse",oe=`.${Ea}`,ba=".data-api",va=`show${oe}`,ya=`shown${oe}`,Aa=`hide${oe}`,Ta=`hidden${oe}`,wa=`click${oe}${ba}`,tn="show",It="collapse",me="collapsing",Oa="collapsed",Sa=`:scope .${It} .${It}`,Ca="collapse-horizontal",Na="width",Da="height",La=".collapse.show, .collapse.collapsing",En='[data-bs-toggle="collapse"]',Ra={parent:null,toggle:!0},$a={parent:"(null|element)",toggle:"boolean"};class te extends K{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const s=b.find(En);for(const r of s){const i=yr(r),o=b.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ra}static get DefaultType(){return $a}static get NAME(){return ga}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(La).filter(a=>a!==this._element).map(a=>te.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||d.trigger(this._element,va).defaultPrevented)return;for(const a of t)a.hide();const s=this._getDimension();this._element.classList.remove(It),this._element.classList.add(me),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(me),this._element.classList.add(It,tn),this._element.style[s]="",d.trigger(this._element,ya)},o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||d.trigger(this._element,Aa).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,se(this._element),this._element.classList.add(me),this._element.classList.remove(It,tn);for(const r of this._triggerArray){const i=Q(r);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(me),this._element.classList.add(It),d.trigger(this._element,Ta)};this._element.style[n]="",this._queueCallback(s,this._element,!0)}_isShown(t=this._element){return t.classList.contains(tn)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=ct(t.parent),t}_getDimension(){return this._element.classList.contains(Ca)?Na:Da}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(En);for(const n of t){const s=Q(n);s&&this._addAriaAndCollapsedClass([n],this._isShown(s))}}_getFirstLevelChildren(t){const n=b.find(Sa,this._config.parent);return b.find(t,this._config.parent).filter(s=>!n.includes(s))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const s of t)s.classList.toggle(Oa,!n),s.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const s=te.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t]()}})}}d.on(document,wa,En,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();const t=yr(this),n=b.find(t);for(const s of n)te.getOrCreateInstance(s,{toggle:!1}).toggle()});j(te);const ms="dropdown",Ia="bs.dropdown",Ot=`.${Ia}`,Hn=".data-api",Pa="Escape",gs="Tab",xa="ArrowUp",Es="ArrowDown",Ma=2,ka=`hide${Ot}`,Va=`hidden${Ot}`,Ha=`show${Ot}`,Ba=`shown${Ot}`,kr=`click${Ot}${Hn}`,Vr=`keydown${Ot}${Hn}`,Fa=`keyup${Ot}${Hn}`,$t="show",ja="dropup",Wa="dropend",Ua="dropstart",Ka="dropup-center",Ya="dropdown-center",vt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',za=`${vt}.${$t}`,Te=".dropdown-menu",qa=".navbar",Ga=".navbar-nav",Xa=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ja=F()?"top-end":"top-start",Qa=F()?"top-start":"top-end",Za=F()?"bottom-end":"bottom-start",tc=F()?"bottom-start":"bottom-end",ec=F()?"left-start":"right-start",nc=F()?"right-start":"left-start",sc="top",rc="bottom",ic={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},oc={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class G extends K{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=b.next(this._element,Te)[0]||b.prev(this._element,Te)[0]||b.findOne(Te,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ic}static get DefaultType(){return oc}static get NAME(){return ms}toggle(){return this._isShown()?this.hide():this.show()}show(){if(lt(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!d.trigger(this._element,Ha,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Ga))for(const s of[].concat(...document.body.children))d.on(s,"mouseover",De);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add($t),this._element.classList.add($t),d.trigger(this._element,Ba,t)}}hide(){if(lt(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!d.trigger(this._element,ka,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))d.off(s,"mouseover",De);this._popper&&this._popper.destroy(),this._menu.classList.remove($t),this._element.classList.remove($t),this._element.setAttribute("aria-expanded","false"),tt.removeDataAttribute(this._menu,"popper"),d.trigger(this._element,Va,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!Z(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${ms.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof br>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:Z(this._config.reference)?t=ct(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=Mn(t,this._menu,n)}_isShown(){return this._menu.classList.contains($t)}_getPlacement(){const t=this._parent;if(t.classList.contains(Wa))return ec;if(t.classList.contains(Ua))return nc;if(t.classList.contains(Ka))return sc;if(t.classList.contains(Ya))return rc;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(ja)?n?Qa:Ja:n?tc:Za}_detectNavbar(){return this._element.closest(qa)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(tt.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...typeof this._config.popperConfig=="function"?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:n}){const s=b.find(Xa,this._menu).filter(r=>Wt(r));s.length&&kn(s,n,t===Es,!s.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=G.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===Ma||t.type==="keyup"&&t.key!==gs)return;const n=b.find(za);for(const s of n){const r=G.getInstance(s);if(!r||r._config.autoClose===!1)continue;const i=t.composedPath(),o=i.includes(r._menu);if(i.includes(r._element)||r._config.autoClose==="inside"&&!o||r._config.autoClose==="outside"&&o||r._menu.contains(t.target)&&(t.type==="keyup"&&t.key===gs||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:r._element};t.type==="click"&&(a.clickEvent=t),r._completeHide(a)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),s=t.key===Pa,r=[xa,Es].includes(t.key);if(!r&&!s||n&&!s)return;t.preventDefault();const i=this.matches(vt)?this:b.prev(this,vt)[0]||b.next(this,vt)[0]||b.findOne(vt,t.delegateTarget.parentNode),o=G.getOrCreateInstance(i);if(r){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),i.focus())}}d.on(document,Vr,vt,G.dataApiKeydownHandler);d.on(document,Vr,Te,G.dataApiKeydownHandler);d.on(document,kr,G.clearMenus);d.on(document,Fa,G.clearMenus);d.on(document,kr,vt,function(e){e.preventDefault(),G.getOrCreateInstance(this).toggle()});j(G);const bs=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",vs=".sticky-top",ge="padding-right",ys="margin-right";class bn{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ge,n=>n+t),this._setElementAttributes(bs,ge,n=>n+t),this._setElementAttributes(vs,ys,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ge),this._resetElementAttributes(bs,ge),this._resetElementAttributes(vs,ys)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,s){const r=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+r)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${s(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,i)}_saveInitialAttribute(t,n){const s=t.style.getPropertyValue(n);s&&tt.setDataAttribute(t,n,s)}_resetElementAttributes(t,n){const s=r=>{const i=tt.getDataAttribute(r,n);if(i===null){r.style.removeProperty(n);return}tt.removeDataAttribute(r,n),r.style.setProperty(n,i)};this._applyManipulationCallback(t,s)}_applyManipulationCallback(t,n){if(Z(t)){n(t);return}for(const s of b.find(t,this._element))n(s)}}const Hr="backdrop",ac="fade",As="show",Ts=`mousedown.bs.${Hr}`,cc={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},lc={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Br extends re{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return cc}static get DefaultType(){return lc}static get NAME(){return Hr}show(t){if(!this._config.isVisible){J(t);return}this._append();const n=this._getElement();this._config.isAnimated&&se(n),n.classList.add(As),this._emulateAnimation(()=>{J(t)})}hide(t){if(!this._config.isVisible){J(t);return}this._getElement().classList.remove(As),this._emulateAnimation(()=>{this.dispose(),J(t)})}dispose(){this._isAppended&&(d.off(this._element,Ts),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(ac),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=ct(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),d.on(t,Ts,()=>{J(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Or(t,this._getElement(),this._config.isAnimated)}}const uc="focustrap",fc="bs.focustrap",Re=`.${fc}`,dc=`focusin${Re}`,hc=`keydown.tab${Re}`,pc="Tab",_c="forward",ws="backward",mc={autofocus:!0,trapElement:null},gc={autofocus:"boolean",trapElement:"element"};class Fr extends re{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return mc}static get DefaultType(){return gc}static get NAME(){return uc}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),d.off(document,Re),d.on(document,dc,t=>this._handleFocusin(t)),d.on(document,hc,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,d.off(document,Re))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const s=b.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===ws?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){t.key===pc&&(this._lastTabNavDirection=t.shiftKey?ws:_c)}}const Ec="modal",bc="bs.modal",Y=`.${bc}`,vc=".data-api",yc="Escape",Ac=`hide${Y}`,Tc=`hidePrevented${Y}`,jr=`hidden${Y}`,Wr=`show${Y}`,wc=`shown${Y}`,Oc=`resize${Y}`,Sc=`click.dismiss${Y}`,Cc=`mousedown.dismiss${Y}`,Nc=`keydown.dismiss${Y}`,Dc=`click${Y}${vc}`,Os="modal-open",Lc="fade",Ss="show",en="modal-static",Rc=".modal.show",$c=".modal-dialog",Ic=".modal-body",Pc='[data-bs-toggle="modal"]',xc={backdrop:!0,focus:!0,keyboard:!0},Mc={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ht extends K{constructor(t,n){super(t,n),this._dialog=b.findOne($c,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new bn,this._addEventListeners()}static get Default(){return xc}static get DefaultType(){return Mc}static get NAME(){return Ec}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||d.trigger(this._element,Wr,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Os),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||d.trigger(this._element,Ac).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Ss),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){for(const t of[window,this._dialog])d.off(t,Y);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Br({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Fr({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=b.findOne(Ic,this._dialog);n&&(n.scrollTop=0),se(this._element),this._element.classList.add(Ss);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,d.trigger(this._element,wc,{relatedTarget:t})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){d.on(this._element,Nc,t=>{if(t.key===yc){if(this._config.keyboard){t.preventDefault(),this.hide();return}this._triggerBackdropTransition()}}),d.on(window,Oc,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),d.on(this._element,Cc,t=>{d.one(this._element,Sc,n=>{if(!(this._element!==t.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(Os),this._resetAdjustments(),this._scrollBar.reset(),d.trigger(this._element,jr)})}_isAnimated(){return this._element.classList.contains(Lc)}_triggerBackdropTransition(){if(d.trigger(this._element,Tc).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(en)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(en),this._queueCallback(()=>{this._element.classList.remove(en),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),s=n>0;if(s&&!t){const r=F()?"paddingLeft":"paddingRight";this._element.style[r]=`${n}px`}if(!s&&t){const r=F()?"paddingRight":"paddingLeft";this._element.style[r]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const s=Ht.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t](n)}})}}d.on(document,Dc,Pc,function(e){const t=Q(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),d.one(t,Wr,r=>{r.defaultPrevented||d.one(t,jr,()=>{Wt(this)&&this.focus()})});const n=b.findOne(Rc);n&&Ht.getInstance(n).hide(),Ht.getOrCreateInstance(t).toggle(this)});Me(Ht);j(Ht);const kc="offcanvas",Vc="bs.offcanvas",st=`.${Vc}`,Ur=".data-api",Hc=`load${st}${Ur}`,Bc="Escape",Cs="show",Ns="showing",Ds="hiding",Fc="offcanvas-backdrop",Kr=".offcanvas.show",jc=`show${st}`,Wc=`shown${st}`,Uc=`hide${st}`,Ls=`hidePrevented${st}`,Yr=`hidden${st}`,Kc=`resize${st}`,Yc=`click${st}${Ur}`,zc=`keydown.dismiss${st}`,qc='[data-bs-toggle="offcanvas"]',Gc={backdrop:!0,keyboard:!0,scroll:!1},Xc={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class ut extends K{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Gc}static get DefaultType(){return Xc}static get NAME(){return kc}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||d.trigger(this._element,jc,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new bn().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ns);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Cs),this._element.classList.remove(Ns),d.trigger(this._element,Wc,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||d.trigger(this._element,Uc).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ds),this._backdrop.hide();const n=()=>{this._element.classList.remove(Cs,Ds),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new bn().reset(),d.trigger(this._element,Yr)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){d.trigger(this._element,Ls);return}this.hide()},n=!!this._config.backdrop;return new Br({className:Fc,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new Fr({trapElement:this._element})}_addEventListeners(){d.on(this._element,zc,t=>{if(t.key===Bc){if(!this._config.keyboard){d.trigger(this._element,Ls);return}this.hide()}})}static jQueryInterface(t){return this.each(function(){const n=ut.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}d.on(document,Yc,qc,function(e){const t=Q(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),lt(this))return;d.one(t,Yr,()=>{Wt(this)&&this.focus()});const n=b.findOne(Kr);n&&n!==t&&ut.getInstance(n).hide(),ut.getOrCreateInstance(t).toggle(this)});d.on(window,Hc,()=>{for(const e of b.find(Kr))ut.getOrCreateInstance(e).show()});d.on(window,Kc,()=>{for(const e of b.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&ut.getOrCreateInstance(e).hide()});Me(ut);j(ut);const Jc=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Qc=/^aria-[\w-]*$/i,Zc=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,tl=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,el=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?Jc.has(n)?!!(Zc.test(e.nodeValue)||tl.test(e.nodeValue)):!0:t.filter(s=>s instanceof RegExp).some(s=>s.test(n))},zr={"*":["class","dir","id","lang","role",Qc],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function nl(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const r=new window.DOMParser().parseFromString(e,"text/html"),i=[].concat(...r.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){o.remove();continue}const u=[].concat(...o.attributes),c=[].concat(t["*"]||[],t[a]||[]);for(const l of u)el(l,c)||o.removeAttribute(l.nodeName)}return r.body.innerHTML}const sl="TemplateFactory",rl={allowList:zr,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},il={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ol={entry:"(string|element|function|null)",selector:"(string|element)"};class al extends re{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return rl}static get DefaultType(){return il}static get NAME(){return sl}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[r,i]of Object.entries(this._config.content))this._setContent(t,i,r);const n=t.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&n.classList.add(...s.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,s]of Object.entries(t))super._typeCheckConfig({selector:n,entry:s},ol)}_setContent(t,n,s){const r=b.findOne(s,t);if(r){if(n=this._resolvePossibleFunction(n),!n){r.remove();return}if(Z(n)){this._putElementInTemplate(ct(n),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(n);return}r.textContent=n}}_maybeSanitize(t){return this._config.sanitize?nl(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return typeof t=="function"?t(this):t}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const cl="tooltip",ll=new Set(["sanitize","allowList","sanitizeFn"]),nn="fade",ul="modal",Ee="show",fl=".tooltip-inner",Rs=`.${ul}`,$s="hide.bs.modal",Xt="hover",sn="focus",dl="click",hl="manual",pl="hide",_l="hidden",ml="show",gl="shown",El="inserted",bl="click",vl="focusin",yl="focusout",Al="mouseenter",Tl="mouseleave",wl={AUTO:"auto",TOP:"top",RIGHT:F()?"left":"right",BOTTOM:"bottom",LEFT:F()?"right":"left"},Ol={allowList:zr,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Sl={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 Kt extends K{constructor(t,n){if(typeof br>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,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 Ol}static get DefaultType(){return Sl}static get NAME(){return cl}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),d.off(this._element.closest(Rs),$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 t=d.trigger(this._element,this.constructor.eventName(ml)),s=(Tr(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!s)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(r),d.trigger(this._element,this.constructor.eventName(El))),this._popper=this._createPopper(r),r.classList.add(Ee),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))d.on(a,"mouseover",De);const o=()=>{d.trigger(this._element,this.constructor.eventName(gl)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||d.trigger(this._element,this.constructor.eventName(pl)).defaultPrevented)return;if(this._getTipElement().classList.remove(Ee),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))d.off(r,"mouseover",De);this._activeTrigger[dl]=!1,this._activeTrigger[sn]=!1,this._activeTrigger[Xt]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),d.trigger(this._element,this.constructor.eventName(_l)))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(nn,Ee),n.classList.add(`bs-${this.constructor.NAME}-auto`);const s=uo(this.constructor.NAME).toString();return n.setAttribute("id",s),this._isAnimated()&&n.classList.add(nn),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new al({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[fl]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(nn)}_isShown(){return this.tip&&this.tip.classList.contains(Ee)}_createPopper(t){const n=typeof this._config.placement=="function"?this._config.placement.call(this,t,this._element):this._config.placement,s=wl[n.toUpperCase()];return Mn(this._element,t,this._getPopperConfig(s))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return typeof t=="function"?t.call(this._element):t}_getPopperConfig(t){const n={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...n,...typeof this._config.popperConfig=="function"?this._config.popperConfig(n):this._config.popperConfig}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")d.on(this._element,this.constructor.eventName(bl),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(n!==hl){const s=n===Xt?this.constructor.eventName(Al):this.constructor.eventName(vl),r=n===Xt?this.constructor.eventName(Tl):this.constructor.eventName(yl);d.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?sn:Xt]=!0,o._enter()}),d.on(this._element,r,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?sn:Xt]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},d.on(this._element.closest(Rs),$s,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=tt.getDataAttributes(this._element);for(const s of Object.keys(n))ll.has(s)&&delete n[s];return t={...n,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:ct(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const n in this._config)this.constructor.Default[n]!==this._config[n]&&(t[n]=this._config[n]);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const n=Kt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}j(Kt);const Cl="popover",Nl=".popover-header",Dl=".popover-body",Ll={...Kt.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Rl={...Kt.DefaultType,content:"(null|string|element|function)"};class Bn extends Kt{static get Default(){return Ll}static get DefaultType(){return Rl}static get NAME(){return Cl}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Nl]:this._getTitle(),[Dl]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=Bn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}j(Bn);const $l="scrollspy",Il="bs.scrollspy",Fn=`.${Il}`,Pl=".data-api",xl=`activate${Fn}`,Is=`click${Fn}`,Ml=`load${Fn}${Pl}`,kl="dropdown-item",Dt="active",Vl='[data-bs-spy="scroll"]',rn="[href]",Hl=".nav, .list-group",Ps=".nav-link",Bl=".nav-item",Fl=".list-group-item",jl=`${Ps}, ${Bl} > ${Ps}, ${Fl}`,Wl=".dropdown",Ul=".dropdown-toggle",Kl={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Yl={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class He extends K{constructor(t,n){super(t,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 Kl}static get DefaultType(){return Yl}static get NAME(){return $l}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=ct(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(d.off(this._config.target,Is),d.on(this._config.target,Is,rn,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const s=this._rootElement||window,r=n.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:r,behavior:"smooth"});return}s.scrollTop=r}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=o=>this._targetLinks.get(`#${o.target.id}`),s=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(s(o),!r)return;continue}!i&&!a&&s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=b.find(rn,this._config.target);for(const n of t){if(!n.hash||lt(n))continue;const s=b.findOne(n.hash,this._element);Wt(s)&&(this._targetLinks.set(n.hash,n),this._observableSections.set(n.hash,s))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Dt),this._activateParents(t),d.trigger(this._element,xl,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(kl)){b.findOne(Ul,t.closest(Wl)).classList.add(Dt);return}for(const n of b.parents(t,Hl))for(const s of b.prev(n,jl))s.classList.add(Dt)}_clearActiveClass(t){t.classList.remove(Dt);const n=b.find(`${rn}.${Dt}`,t);for(const s of n)s.classList.remove(Dt)}static jQueryInterface(t){return this.each(function(){const n=He.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}d.on(window,Ml,()=>{for(const e of b.find(Vl))He.getOrCreateInstance(e)});j(He);const zl="tab",ql="bs.tab",St=`.${ql}`,Gl=`hide${St}`,Xl=`hidden${St}`,Jl=`show${St}`,Ql=`shown${St}`,Zl=`click${St}`,tu=`keydown${St}`,eu=`load${St}`,nu="ArrowLeft",xs="ArrowRight",su="ArrowUp",Ms="ArrowDown",yt="active",ks="fade",on="show",ru="dropdown",iu=".dropdown-toggle",ou=".dropdown-menu",an=":not(.dropdown-toggle)",au='.list-group, .nav, [role="tablist"]',cu=".nav-item, .list-group-item",lu=`.nav-link${an}, .list-group-item${an}, [role="tab"]${an}`,qr='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',cn=`${lu}, ${qr}`,uu=`.${yt}[data-bs-toggle="tab"], .${yt}[data-bs-toggle="pill"], .${yt}[data-bs-toggle="list"]`;class Bt extends K{constructor(t){super(t),this._parent=this._element.closest(au),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),d.on(this._element,tu,n=>this._keydown(n)))}static get NAME(){return zl}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),s=n?d.trigger(n,Gl,{relatedTarget:t}):null;d.trigger(t,Jl,{relatedTarget:n}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(yt),this._activate(Q(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(on);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),d.trigger(t,Ql,{relatedTarget:n})};this._queueCallback(s,t,t.classList.contains(ks))}_deactivate(t,n){if(!t)return;t.classList.remove(yt),t.blur(),this._deactivate(Q(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(on);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),d.trigger(t,Xl,{relatedTarget:n})};this._queueCallback(s,t,t.classList.contains(ks))}_keydown(t){if(![nu,xs,su,Ms].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=[xs,Ms].includes(t.key),s=kn(this._getChildren().filter(r=>!lt(r)),t.target,n,!0);s&&(s.focus({preventScroll:!0}),Bt.getOrCreateInstance(s).show())}_getChildren(){return b.find(cn,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const s of n)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",n),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=Q(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`#${t.id}`))}_toggleDropDown(t,n){const s=this._getOuterElement(t);if(!s.classList.contains(ru))return;const r=(i,o)=>{const a=b.findOne(i,s);a&&a.classList.toggle(o,n)};r(iu,yt),r(ou,on),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,s){t.hasAttribute(n)||t.setAttribute(n,s)}_elemIsActive(t){return t.classList.contains(yt)}_getInnerElement(t){return t.matches(cn)?t:b.findOne(cn,t)}_getOuterElement(t){return t.closest(cu)||t}static jQueryInterface(t){return this.each(function(){const n=Bt.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}d.on(document,Zl,qr,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!lt(this)&&Bt.getOrCreateInstance(this).show()});d.on(window,eu,()=>{for(const e of b.find(uu))Bt.getOrCreateInstance(e)});j(Bt);const fu="toast",du="bs.toast",pt=`.${du}`,hu=`mouseover${pt}`,pu=`mouseout${pt}`,_u=`focusin${pt}`,mu=`focusout${pt}`,gu=`hide${pt}`,Eu=`hidden${pt}`,bu=`show${pt}`,vu=`shown${pt}`,yu="fade",Vs="hide",be="show",ve="showing",Au={animation:"boolean",autohide:"boolean",delay:"number"},Tu={animation:!0,autohide:!0,delay:5e3};class Be extends K{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Tu}static get DefaultType(){return Au}static get NAME(){return fu}show(){if(d.trigger(this._element,bu).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(yu);const n=()=>{this._element.classList.remove(ve),d.trigger(this._element,vu),this._maybeScheduleHide()};this._element.classList.remove(Vs),se(this._element),this._element.classList.add(be,ve),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||d.trigger(this._element,gu).defaultPrevented)return;const n=()=>{this._element.classList.add(Vs),this._element.classList.remove(ve,be),d.trigger(this._element,Eu)};this._element.classList.add(ve),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(be),super.dispose()}isShown(){return this._element.classList.contains(be)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const s=t.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){d.on(this._element,hu,t=>this._onInteraction(t,!0)),d.on(this._element,pu,t=>this._onInteraction(t,!1)),d.on(this._element,_u,t=>this._onInteraction(t,!0)),d.on(this._element,mu,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=Be.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}Me(Be);j(Be);function Gr(e,t){return function(){return e.apply(t,arguments)}}const{toString:Xr}=Object.prototype,{getPrototypeOf:jn}=Object,Wn=(e=>t=>{const n=Xr.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rt=e=>(e=e.toLowerCase(),t=>Wn(t)===e),Fe=e=>t=>typeof t===e,{isArray:Yt}=Array,ee=Fe("undefined");function wu(e){return e!==null&&!ee(e)&&e.constructor!==null&&!ee(e.constructor)&&ft(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Jr=rt("ArrayBuffer");function Ou(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Jr(e.buffer),t}const Su=Fe("string"),ft=Fe("function"),Qr=Fe("number"),Un=e=>e!==null&&typeof e=="object",Cu=e=>e===!0||e===!1,we=e=>{if(Wn(e)!=="object")return!1;const t=jn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Nu=rt("Date"),Du=rt("File"),Lu=rt("Blob"),Ru=rt("FileList"),$u=e=>Un(e)&&ft(e.pipe),Iu=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Xr.call(e)===t||ft(e.toString)&&e.toString()===t)},Pu=rt("URLSearchParams"),xu=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ae(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),Yt(e))for(s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(s=0;s<o;s++)a=i[s],t.call(null,e[a],a,e)}}function Zr(e,t){t=t.toLowerCase();const n=Object.keys(e);let s=n.length,r;for(;s-- >0;)if(r=n[s],t===r.toLowerCase())return r;return null}const ti=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ei=e=>!ee(e)&&e!==ti;function vn(){const{caseless:e}=ei(this)&&this||{},t={},n=(s,r)=>{const i=e&&Zr(t,r)||r;we(t[i])&&we(s)?t[i]=vn(t[i],s):we(s)?t[i]=vn({},s):Yt(s)?t[i]=s.slice():t[i]=s};for(let s=0,r=arguments.length;s<r;s++)arguments[s]&&ae(arguments[s],n);return t}const Mu=(e,t,n,{allOwnKeys:s}={})=>(ae(t,(r,i)=>{n&&ft(r)?e[i]=Gr(r,n):e[i]=r},{allOwnKeys:s}),e),ku=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Vu=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Hu=(e,t,n,s)=>{let r,i,o;const a={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)o=r[i],(!s||s(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&jn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Bu=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},Fu=e=>{if(!e)return null;if(Yt(e))return e;let t=e.length;if(!Qr(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},ju=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&jn(Uint8Array)),Wu=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},Uu=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Ku=rt("HTMLFormElement"),Yu=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Hs=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),zu=rt("RegExp"),ni=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};ae(n,(r,i)=>{t(r,i,e)!==!1&&(s[i]=r)}),Object.defineProperties(e,s)},qu=e=>{ni(e,(t,n)=>{if(ft(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(ft(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Gu=(e,t)=>{const n={},s=r=>{r.forEach(i=>{n[i]=!0})};return Yt(e)?s(e):s(String(e).split(t)),n},Xu=()=>{},Ju=(e,t)=>(e=+e,Number.isFinite(e)?e:t),ln="abcdefghijklmnopqrstuvwxyz",Bs="0123456789",si={DIGIT:Bs,ALPHA:ln,ALPHA_DIGIT:ln+ln.toUpperCase()+Bs},Qu=(e=16,t=si.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Zu(e){return!!(e&&ft(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const tf=e=>{const t=new Array(10),n=(s,r)=>{if(Un(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const i=Yt(s)?[]:{};return ae(s,(o,a)=>{const u=n(o,r+1);!ee(u)&&(i[a]=u)}),t[r]=void 0,i}}return s};return n(e,0)},f={isArray:Yt,isArrayBuffer:Jr,isBuffer:wu,isFormData:Iu,isArrayBufferView:Ou,isString:Su,isNumber:Qr,isBoolean:Cu,isObject:Un,isPlainObject:we,isUndefined:ee,isDate:Nu,isFile:Du,isBlob:Lu,isRegExp:zu,isFunction:ft,isStream:$u,isURLSearchParams:Pu,isTypedArray:ju,isFileList:Ru,forEach:ae,merge:vn,extend:Mu,trim:xu,stripBOM:ku,inherits:Vu,toFlatObject:Hu,kindOf:Wn,kindOfTest:rt,endsWith:Bu,toArray:Fu,forEachEntry:Wu,matchAll:Uu,isHTMLForm:Ku,hasOwnProperty:Hs,hasOwnProp:Hs,reduceDescriptors:ni,freezeMethods:qu,toObjectSet:Gu,toCamelCase:Yu,noop:Xu,toFiniteNumber:Ju,findKey:Zr,global:ti,isContextDefined:ei,ALPHABET:si,generateString:Qu,isSpecCompliantForm:Zu,toJSONObject:tf};function A(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r)}f.inherits(A,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:f.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ri=A.prototype,ii={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ii[e]={value:e}});Object.defineProperties(A,ii);Object.defineProperty(ri,"isAxiosError",{value:!0});A.from=(e,t,n,s,r,i)=>{const o=Object.create(ri);return f.toFlatObject(e,o,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),A.call(o,e.message,t,n,s,r),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const ef=null;function yn(e){return f.isPlainObject(e)||f.isArray(e)}function oi(e){return f.endsWith(e,"[]")?e.slice(0,-2):e}function Fs(e,t,n){return e?e.concat(t).map(function(r,i){return r=oi(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function nf(e){return f.isArray(e)&&!e.some(yn)}const sf=f.toFlatObject(f,{},null,function(t){return/^is[A-Z]/.test(t)});function je(e,t,n){if(!f.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=f.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,E){return!f.isUndefined(E[_])});const s=n.metaTokens,r=n.visitor||l,i=n.dots,o=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&f.isSpecCompliantForm(t);if(!f.isFunction(r))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(f.isDate(p))return p.toISOString();if(!u&&f.isBlob(p))throw new A("Blob is not supported. Use a Buffer instead.");return f.isArrayBuffer(p)||f.isTypedArray(p)?u&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function l(p,_,E){let y=p;if(p&&!E&&typeof p=="object"){if(f.endsWith(_,"{}"))_=s?_:_.slice(0,-2),p=JSON.stringify(p);else if(f.isArray(p)&&nf(p)||(f.isFileList(p)||f.endsWith(_,"[]"))&&(y=f.toArray(p)))return _=oi(_),y.forEach(function(S,v){!(f.isUndefined(S)||S===null)&&t.append(o===!0?Fs([_],v,i):o===null?_:_+"[]",c(S))}),!1}return yn(p)?!0:(t.append(Fs(E,_,i),c(p)),!1)}const h=[],g=Object.assign(sf,{defaultVisitor:l,convertValue:c,isVisitable:yn});function m(p,_){if(!f.isUndefined(p)){if(h.indexOf(p)!==-1)throw Error("Circular reference detected in "+_.join("."));h.push(p),f.forEach(p,function(y,T){(!(f.isUndefined(y)||y===null)&&r.call(t,y,f.isString(T)?T.trim():T,_,g))===!0&&m(y,_?_.concat(T):[T])}),h.pop()}}if(!f.isObject(e))throw new TypeError("data must be an object");return m(e),t}function js(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Kn(e,t){this._pairs=[],e&&je(e,this,t)}const ai=Kn.prototype;ai.append=function(t,n){this._pairs.push([t,n])};ai.toString=function(t){const n=t?function(s){return t.call(this,s,js)}:js;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function rf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ci(e,t,n){if(!t)return e;const s=n&&n.encode||rf,r=n&&n.serialize;let i;if(r?i=r(t,n):i=f.isURLSearchParams(t)?t.toString():new Kn(t,n).toString(s),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class of{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){f.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Ws=of,li={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},af=typeof URLSearchParams<"u"?URLSearchParams:Kn,cf=typeof FormData<"u"?FormData:null,lf=typeof Blob<"u"?Blob:null,uf=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),ff=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),z={isBrowser:!0,classes:{URLSearchParams:af,FormData:cf,Blob:lf},isStandardBrowserEnv:uf,isStandardBrowserWebWorkerEnv:ff,protocols:["http","https","file","blob","url","data"]};function df(e,t){return je(e,new z.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,i){return z.isNode&&f.isBuffer(n)?(this.append(s,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function hf(e){return f.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function pf(e){const t={},n=Object.keys(e);let s;const r=n.length;let i;for(s=0;s<r;s++)i=n[s],t[i]=e[i];return t}function ui(e){function t(n,s,r,i){let o=n[i++];const a=Number.isFinite(+o),u=i>=n.length;return o=!o&&f.isArray(r)?r.length:o,u?(f.hasOwnProp(r,o)?r[o]=[r[o],s]:r[o]=s,!a):((!r[o]||!f.isObject(r[o]))&&(r[o]=[]),t(n,s,r[o],i)&&f.isArray(r[o])&&(r[o]=pf(r[o])),!a)}if(f.isFormData(e)&&f.isFunction(e.entries)){const n={};return f.forEachEntry(e,(s,r)=>{t(hf(s),r,n,0)}),n}return null}const _f={"Content-Type":void 0};function mf(e,t,n){if(f.isString(e))try{return(t||JSON.parse)(e),f.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const We={transitional:li,adapter:["xhr","http"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,i=f.isObject(t);if(i&&f.isHTMLForm(t)&&(t=new FormData(t)),f.isFormData(t))return r&&r?JSON.stringify(ui(t)):t;if(f.isArrayBuffer(t)||f.isBuffer(t)||f.isStream(t)||f.isFile(t)||f.isBlob(t))return t;if(f.isArrayBufferView(t))return t.buffer;if(f.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(s.indexOf("application/x-www-form-urlencoded")>-1)return df(t,this.formSerializer).toString();if((a=f.isFileList(t))||s.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return je(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),mf(t)):t}],transformResponse:[function(t){const n=this.transitional||We.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&f.isString(t)&&(s&&!this.responseType||r)){const o=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?A.from(a,A.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:z.classes.FormData,Blob:z.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};f.forEach(["delete","get","head"],function(t){We.headers[t]={}});f.forEach(["post","put","patch"],function(t){We.headers[t]=f.merge(_f)});const Yn=We,gf=f.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ef=e=>{const t={};let n,s,r;return e&&e.split(`
|
|
`).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),s=o.substring(r+1).trim(),!(!n||t[n]&&gf[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Us=Symbol("internals");function Jt(e){return e&&String(e).trim().toLowerCase()}function Oe(e){return e===!1||e==null?e:f.isArray(e)?e.map(Oe):String(e)}function bf(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}function vf(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function un(e,t,n,s,r){if(f.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!f.isString(t)){if(f.isString(s))return t.indexOf(s)!==-1;if(f.isRegExp(s))return s.test(t)}}function yf(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Af(e,t){const n=f.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,i,o){return this[s].call(this,t,r,i,o)},configurable:!0})})}class Ue{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function i(a,u,c){const l=Jt(u);if(!l)throw new Error("header name must be a non-empty string");const h=f.findKey(r,l);(!h||r[h]===void 0||c===!0||c===void 0&&r[h]!==!1)&&(r[h||u]=Oe(a))}const o=(a,u)=>f.forEach(a,(c,l)=>i(c,l,u));return f.isPlainObject(t)||t instanceof this.constructor?o(t,n):f.isString(t)&&(t=t.trim())&&!vf(t)?o(Ef(t),n):t!=null&&i(n,t,s),this}get(t,n){if(t=Jt(t),t){const s=f.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return bf(r);if(f.isFunction(n))return n.call(this,r,s);if(f.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Jt(t),t){const s=f.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||un(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function i(o){if(o=Jt(o),o){const a=f.findKey(s,o);a&&(!n||un(s,s[a],a,n))&&(delete s[a],r=!0)}}return f.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const i=n[s];(!t||un(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,s={};return f.forEach(this,(r,i)=>{const o=f.findKey(s,i);if(o){n[o]=Oe(r),delete n[i];return}const a=t?yf(i):String(i).trim();a!==i&&delete n[i],n[a]=Oe(r),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return f.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&f.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Us]=this[Us]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=Jt(o);s[a]||(Af(r,o),s[a]=!0)}return f.isArray(t)?t.forEach(i):i(t),this}}Ue.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);f.freezeMethods(Ue.prototype);f.freezeMethods(Ue);const et=Ue;function fn(e,t){const n=this||Yn,s=t||n,r=et.from(s.headers);let i=s.data;return f.forEach(e,function(a){i=a.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function fi(e){return!!(e&&e.__CANCEL__)}function ce(e,t,n){A.call(this,e??"canceled",A.ERR_CANCELED,t,n),this.name="CanceledError"}f.inherits(ce,A,{__CANCEL__:!0});function Tf(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new A("Request failed with status code "+n.status,[A.ERR_BAD_REQUEST,A.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const wf=z.isStandardBrowserEnv?function(){return{write:function(n,s,r,i,o,a){const u=[];u.push(n+"="+encodeURIComponent(s)),f.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),f.isString(i)&&u.push("path="+i),f.isString(o)&&u.push("domain="+o),a===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Of(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Sf(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function di(e,t){return e&&!Of(t)?Sf(e,t):t}const Cf=z.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(i){let o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(o){const a=f.isString(o)?r(o):o;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function Nf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Df(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,i=0,o;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),l=s[i];o||(o=c),n[r]=u,s[r]=c;let h=i,g=0;for(;h!==r;)g+=n[h++],h=h%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-o<t)return;const m=l&&c-l;return m?Math.round(g*1e3/m):void 0}}function Ks(e,t){let n=0;const s=Df(50,250);return r=>{const i=r.loaded,o=r.lengthComputable?r.total:void 0,a=i-n,u=s(a),c=i<=o;n=i;const l={loaded:i,total:o,progress:o?i/o:void 0,bytes:a,rate:u||void 0,estimated:u&&o&&c?(o-i)/u:void 0,event:r};l[t?"download":"upload"]=!0,e(l)}}const Lf=typeof XMLHttpRequest<"u",Rf=Lf&&function(e){return new Promise(function(n,s){let r=e.data;const i=et.from(e.headers).normalize(),o=e.responseType;let a;function u(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}f.isFormData(r)&&(z.isStandardBrowserEnv||z.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let c=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(m+":"+p))}const l=di(e.baseURL,e.url);c.open(e.method.toUpperCase(),ci(l,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function h(){if(!c)return;const m=et.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),_={data:!o||o==="text"||o==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:m,config:e,request:c};Tf(function(y){n(y),u()},function(y){s(y),u()},_),c=null}if("onloadend"in c?c.onloadend=h:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(h)},c.onabort=function(){c&&(s(new A("Request aborted",A.ECONNABORTED,e,c)),c=null)},c.onerror=function(){s(new A("Network Error",A.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let p=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const _=e.transitional||li;e.timeoutErrorMessage&&(p=e.timeoutErrorMessage),s(new A(p,_.clarifyTimeoutError?A.ETIMEDOUT:A.ECONNABORTED,e,c)),c=null},z.isStandardBrowserEnv){const m=(e.withCredentials||Cf(l))&&e.xsrfCookieName&&wf.read(e.xsrfCookieName);m&&i.set(e.xsrfHeaderName,m)}r===void 0&&i.setContentType(null),"setRequestHeader"in c&&f.forEach(i.toJSON(),function(p,_){c.setRequestHeader(_,p)}),f.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),o&&o!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",Ks(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Ks(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=m=>{c&&(s(!m||m.type?new ce(null,e,c):m),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const g=Nf(l);if(g&&z.protocols.indexOf(g)===-1){s(new A("Unsupported protocol "+g+":",A.ERR_BAD_REQUEST,e));return}c.send(r||null)})},Se={http:ef,xhr:Rf};f.forEach(Se,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const $f={getAdapter:e=>{e=f.isArray(e)?e:[e];const{length:t}=e;let n,s;for(let r=0;r<t&&(n=e[r],!(s=f.isString(n)?Se[n.toLowerCase()]:n));r++);if(!s)throw s===!1?new A(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(f.hasOwnProp(Se,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!f.isFunction(s))throw new TypeError("adapter is not a function");return s},adapters:Se};function dn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ce(null,e)}function Ys(e){return dn(e),e.headers=et.from(e.headers),e.data=fn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),$f.getAdapter(e.adapter||Yn.adapter)(e).then(function(s){return dn(e),s.data=fn.call(e,e.transformResponse,s),s.headers=et.from(s.headers),s},function(s){return fi(s)||(dn(e),s&&s.response&&(s.response.data=fn.call(e,e.transformResponse,s.response),s.response.headers=et.from(s.response.headers))),Promise.reject(s)})}const zs=e=>e instanceof et?e.toJSON():e;function Ft(e,t){t=t||{};const n={};function s(c,l,h){return f.isPlainObject(c)&&f.isPlainObject(l)?f.merge.call({caseless:h},c,l):f.isPlainObject(l)?f.merge({},l):f.isArray(l)?l.slice():l}function r(c,l,h){if(f.isUndefined(l)){if(!f.isUndefined(c))return s(void 0,c,h)}else return s(c,l,h)}function i(c,l){if(!f.isUndefined(l))return s(void 0,l)}function o(c,l){if(f.isUndefined(l)){if(!f.isUndefined(c))return s(void 0,c)}else return s(void 0,l)}function a(c,l,h){if(h in t)return s(c,l);if(h in e)return s(void 0,c)}const u={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(c,l)=>r(zs(c),zs(l),!0)};return f.forEach(Object.keys(e).concat(Object.keys(t)),function(l){const h=u[l]||r,g=h(e[l],t[l],l);f.isUndefined(g)&&h!==a||(n[l]=g)}),n}const hi="1.3.4",zn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{zn[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const qs={};zn.transitional=function(t,n,s){function r(i,o){return"[Axios v"+hi+"] Transitional option '"+i+"'"+o+(s?". "+s:"")}return(i,o,a)=>{if(t===!1)throw new A(r(o," has been removed"+(n?" in "+n:"")),A.ERR_DEPRECATED);return n&&!qs[o]&&(qs[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};function If(e,t,n){if(typeof e!="object")throw new A("options must be an object",A.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const i=s[r],o=t[i];if(o){const a=e[i],u=a===void 0||o(a,i,e);if(u!==!0)throw new A("option "+i+" must be "+u,A.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new A("Unknown option "+i,A.ERR_BAD_OPTION)}}const An={assertOptions:If,validators:zn},at=An.validators;class $e{constructor(t){this.defaults=t,this.interceptors={request:new Ws,response:new Ws}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ft(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&An.assertOptions(s,{silentJSONParsing:at.transitional(at.boolean),forcedJSONParsing:at.transitional(at.boolean),clarifyTimeoutError:at.transitional(at.boolean)},!1),r!==void 0&&An.assertOptions(r,{encode:at.function,serialize:at.function},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o;o=i&&f.merge(i.common,i[n.method]),o&&f.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=et.concat(o,i);const a=[];let u=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(u=u&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let l,h=0,g;if(!u){const p=[Ys.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,c),g=p.length,l=Promise.resolve(n);h<g;)l=l.then(p[h++],p[h++]);return l}g=a.length;let m=n;for(h=0;h<g;){const p=a[h++],_=a[h++];try{m=p(m)}catch(E){_.call(this,E);break}}try{l=Ys.call(this,m)}catch(p){return Promise.reject(p)}for(h=0,g=c.length;h<g;)l=l.then(c[h++],c[h++]);return l}getUri(t){t=Ft(this.defaults,t);const n=di(t.baseURL,t.url);return ci(n,t.params,t.paramsSerializer)}}f.forEach(["delete","get","head","options"],function(t){$e.prototype[t]=function(n,s){return this.request(Ft(s||{},{method:t,url:n,data:(s||{}).data}))}});f.forEach(["post","put","patch"],function(t){function n(s){return function(i,o,a){return this.request(Ft(a||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}$e.prototype[t]=n(),$e.prototype[t+"Form"]=n(!0)});const Ce=$e;class qn{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const s=this;this.promise.then(r=>{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](r);s._listeners=null}),this.promise.then=r=>{let i;const o=new Promise(a=>{s.subscribe(a),i=a}).then(r);return o.cancel=function(){s.unsubscribe(i)},o},t(function(i,o,a){s.reason||(s.reason=new ce(i,o,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new qn(function(r){t=r}),cancel:t}}}const Pf=qn;function xf(e){return function(n){return e.apply(null,n)}}function Mf(e){return f.isObject(e)&&e.isAxiosError===!0}const Tn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Tn).forEach(([e,t])=>{Tn[t]=e});const kf=Tn;function pi(e){const t=new Ce(e),n=Gr(Ce.prototype.request,t);return f.extend(n,Ce.prototype,t,{allOwnKeys:!0}),f.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return pi(Ft(e,r))},n}const D=pi(Yn);D.Axios=Ce;D.CanceledError=ce;D.CancelToken=Pf;D.isCancel=fi;D.VERSION=hi;D.toFormData=je;D.AxiosError=A;D.Cancel=D.CanceledError;D.all=function(t){return Promise.all(t)};D.spread=xf;D.isAxiosError=Mf;D.mergeConfig=Ft;D.AxiosHeaders=et;D.formToJSON=e=>ui(f.isHTMLForm(e)?new FormData(e):e);D.HttpStatusCode=kf;D.default=D;const Vf=D;window.axios=Vf;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";
|