32 lines
136 KiB
JavaScript
32 lines
136 KiB
JavaScript
var N="top",P="bottom",j="right",D="left",xt="auto",He=[N,P,j,D],Ee="start",Ie="end",ki="clippingParents",us="viewport",ke="popper",xi="reference",is=He.reduce(function(i,e){return i.concat([e+"-"+Ee,e+"-"+Ie])},[]),hs=[].concat(He,[xt]).reduce(function(i,e){return i.concat([e,e+"-"+Ee,e+"-"+Ie])},[]),Ni="beforeRead",Di="read",$i="afterRead",Mi="beforeMain",Ii="main",Pi="afterMain",ji="beforeWrite",Ri="write",Fi="afterWrite",Wi=[Ni,Di,$i,Mi,Ii,Pi,ji,Ri,Fi];function Q(i){return i?(i.nodeName||"").toLowerCase():null}function R(i){if(i==null)return window;if(i.toString()!=="[object Window]"){var e=i.ownerDocument;return e&&e.defaultView||window}return i}function be(i){var e=R(i).Element;return i instanceof e||i instanceof Element}function W(i){var e=R(i).HTMLElement;return i instanceof e||i instanceof HTMLElement}function fs(i){if(typeof ShadowRoot>"u")return!1;var e=R(i).ShadowRoot;return i instanceof e||i instanceof ShadowRoot}function Br(i){var e=i.state;Object.keys(e.elements).forEach(function(t){var s=e.styles[t]||{},r=e.attributes[t]||{},n=e.elements[t];!W(n)||!Q(n)||(Object.assign(n.style,s),Object.keys(r).forEach(function(o){var a=r[o];a===!1?n.removeAttribute(o):n.setAttribute(o,a===!0?"":a)}))})}function qr(i){var e=i.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(s){var r=e.elements[s],n=e.attributes[s]||{},o=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:t[s]),a=o.reduce(function(l,u){return l[u]="",l},{});!W(r)||!Q(r)||(Object.assign(r.style,a),Object.keys(n).forEach(function(l){r.removeAttribute(l)}))})}}const ps={name:"applyStyles",enabled:!0,phase:"write",fn:Br,effect:qr,requires:["computeStyles"]};function U(i){return i.split("-")[0]}var ve=Math.max,wt=Math.min,Pe=Math.round;function rs(){var i=navigator.userAgentData;return i!=null&&i.brands&&Array.isArray(i.brands)?i.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Hi(){return!/^((?!chrome|android).)*safari/i.test(rs())}function je(i,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var s=i.getBoundingClientRect(),r=1,n=1;e&&W(i)&&(r=i.offsetWidth>0&&Pe(s.width)/i.offsetWidth||1,n=i.offsetHeight>0&&Pe(s.height)/i.offsetHeight||1);var o=be(i)?R(i):window,a=o.visualViewport,l=!Hi()&&t,u=(s.left+(l&&a?a.offsetLeft:0))/r,c=(s.top+(l&&a?a.offsetTop:0))/n,h=s.width/r,p=s.height/n;return{width:h,height:p,top:c,right:u+h,bottom:c+p,left:u,x:u,y:c}}function ms(i){var e=je(i),t=i.offsetWidth,s=i.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:i.offsetLeft,y:i.offsetTop,width:t,height:s}}function Vi(i,e){var t=e.getRootNode&&e.getRootNode();if(i.contains(e))return!0;if(t&&fs(t)){var s=e;do{if(s&&i.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Z(i){return R(i).getComputedStyle(i)}function zr(i){return["table","td","th"].indexOf(Q(i))>=0}function le(i){return((be(i)?i.ownerDocument:i.document)||window.document).documentElement}function Nt(i){return Q(i)==="html"?i:i.assignedSlot||i.parentNode||(fs(i)?i.host:null)||le(i)}function Fs(i){return!W(i)||Z(i).position==="fixed"?null:i.offsetParent}function Yr(i){var e=/firefox/i.test(rs()),t=/Trident/i.test(rs());if(t&&W(i)){var s=Z(i);if(s.position==="fixed")return null}var r=Nt(i);for(fs(r)&&(r=r.host);W(r)&&["html","body"].indexOf(Q(r))<0;){var n=Z(r);if(n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].indexOf(n.willChange)!==-1||e&&n.willChange==="filter"||e&&n.filter&&n.filter!=="none")return r;r=r.parentNode}return null}function Ze(i){for(var e=R(i),t=Fs(i);t&&zr(t)&&Z(t).position==="static";)t=Fs(t);return t&&(Q(t)==="html"||Q(t)==="body"&&Z(t).position==="static")?e:t||Yr(i)||e}function gs(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}function Xe(i,e,t){return ve(i,wt(e,t))}function Kr(i,e,t){var s=Xe(i,e,t);return s>t?t:s}function Bi(){return{top:0,right:0,bottom:0,left:0}}function qi(i){return Object.assign({},Bi(),i)}function zi(i,e){return e.reduce(function(t,s){return t[s]=i,t},{})}var Ur=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,qi(typeof e!="number"?e:zi(e,He))};function Qr(i){var e,t=i.state,s=i.name,r=i.options,n=t.elements.arrow,o=t.modifiersData.popperOffsets,a=U(t.placement),l=gs(a),u=[D,j].indexOf(a)>=0,c=u?"height":"width";if(!(!n||!o)){var h=Ur(r.padding,t),p=ms(n),f=l==="y"?N:D,y=l==="y"?P:j,_=t.rects.reference[c]+t.rects.reference[l]-o[l]-t.rects.popper[c],v=o[l]-t.rects.reference[l],b=Ze(n),T=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,O=_/2-v/2,E=h[f],A=T-p[c]-h[y],m=T/2-p[c]/2+O,w=Xe(E,m,A),S=l;t.modifiersData[s]=(e={},e[S]=w,e.centerOffset=w-m,e)}}function Xr(i){var e=i.state,t=i.options,s=t.element,r=s===void 0?"[data-popper-arrow]":s;r!=null&&(typeof r=="string"&&(r=e.elements.popper.querySelector(r),!r)||Vi(e.elements.popper,r)&&(e.elements.arrow=r))}const Yi={name:"arrow",enabled:!0,phase:"main",fn:Qr,effect:Xr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Re(i){return i.split("-")[1]}var Gr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Zr(i,e){var t=i.x,s=i.y,r=e.devicePixelRatio||1;return{x:Pe(t*r)/r||0,y:Pe(s*r)/r||0}}function Ws(i){var e,t=i.popper,s=i.popperRect,r=i.placement,n=i.variation,o=i.offsets,a=i.position,l=i.gpuAcceleration,u=i.adaptive,c=i.roundOffsets,h=i.isFixed,p=o.x,f=p===void 0?0:p,y=o.y,_=y===void 0?0:y,v=typeof c=="function"?c({x:f,y:_}):{x:f,y:_};f=v.x,_=v.y;var b=o.hasOwnProperty("x"),T=o.hasOwnProperty("y"),O=D,E=N,A=window;if(u){var m=Ze(t),w="clientHeight",S="clientWidth";if(m===R(t)&&(m=le(t),Z(m).position!=="static"&&a==="absolute"&&(w="scrollHeight",S="scrollWidth")),m=m,r===N||(r===D||r===j)&&n===Ie){E=P;var L=h&&m===A&&A.visualViewport?A.visualViewport.height:m[w];_-=L-s.height,_*=l?1:-1}if(r===D||(r===N||r===P)&&n===Ie){O=j;var C=h&&m===A&&A.visualViewport?A.visualViewport.width:m[S];f-=C-s.width,f*=l?1:-1}}var k=Object.assign({position:a},u&&Gr),q=c===!0?Zr({x:f,y:_},R(t)):{x:f,y:_};if(f=q.x,_=q.y,l){var x;return Object.assign({},k,(x={},x[E]=T?"0":"",x[O]=b?"0":"",x.transform=(A.devicePixelRatio||1)<=1?"translate("+f+"px, "+_+"px)":"translate3d("+f+"px, "+_+"px, 0)",x))}return Object.assign({},k,(e={},e[E]=T?_+"px":"",e[O]=b?f+"px":"",e.transform="",e))}function Jr(i){var e=i.state,t=i.options,s=t.gpuAcceleration,r=s===void 0?!0:s,n=t.adaptive,o=n===void 0?!0:n,a=t.roundOffsets,l=a===void 0?!0:a,u={placement:U(e.placement),variation:Re(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Ws(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Ws(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const _s={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Jr,data:{}};var ut={passive:!0};function en(i){var e=i.state,t=i.instance,s=i.options,r=s.scroll,n=r===void 0?!0:r,o=s.resize,a=o===void 0?!0:o,l=R(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return n&&u.forEach(function(c){c.addEventListener("scroll",t.update,ut)}),a&&l.addEventListener("resize",t.update,ut),function(){n&&u.forEach(function(c){c.removeEventListener("scroll",t.update,ut)}),a&&l.removeEventListener("resize",t.update,ut)}}const vs={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:en,data:{}};var tn={left:"right",right:"left",bottom:"top",top:"bottom"};function vt(i){return i.replace(/left|right|bottom|top/g,function(e){return tn[e]})}var sn={start:"end",end:"start"};function Hs(i){return i.replace(/start|end/g,function(e){return sn[e]})}function Es(i){var e=R(i),t=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:t,scrollTop:s}}function bs(i){return je(le(i)).left+Es(i).scrollLeft}function rn(i,e){var t=R(i),s=le(i),r=t.visualViewport,n=s.clientWidth,o=s.clientHeight,a=0,l=0;if(r){n=r.width,o=r.height;var u=Hi();(u||!u&&e==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:n,height:o,x:a+bs(i),y:l}}function nn(i){var e,t=le(i),s=Es(i),r=(e=i.ownerDocument)==null?void 0:e.body,n=ve(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=ve(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-s.scrollLeft+bs(i),l=-s.scrollTop;return Z(r||t).direction==="rtl"&&(a+=ve(t.clientWidth,r?r.clientWidth:0)-n),{width:n,height:o,x:a,y:l}}function ys(i){var e=Z(i),t=e.overflow,s=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+r+s)}function Ki(i){return["html","body","#document"].indexOf(Q(i))>=0?i.ownerDocument.body:W(i)&&ys(i)?i:Ki(Nt(i))}function Ge(i,e){var t;e===void 0&&(e=[]);var s=Ki(i),r=s===((t=i.ownerDocument)==null?void 0:t.body),n=R(s),o=r?[n].concat(n.visualViewport||[],ys(s)?s:[]):s,a=e.concat(o);return r?a:a.concat(Ge(Nt(o)))}function ns(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function on(i,e){var t=je(i,!1,e==="fixed");return t.top=t.top+i.clientTop,t.left=t.left+i.clientLeft,t.bottom=t.top+i.clientHeight,t.right=t.left+i.clientWidth,t.width=i.clientWidth,t.height=i.clientHeight,t.x=t.left,t.y=t.top,t}function Vs(i,e,t){return e===us?ns(rn(i,t)):be(e)?on(e,t):ns(nn(le(i)))}function an(i){var e=Ge(Nt(i)),t=["absolute","fixed"].indexOf(Z(i).position)>=0,s=t&&W(i)?Ze(i):i;return be(s)?e.filter(function(r){return be(r)&&Vi(r,s)&&Q(r)!=="body"}):[]}function ln(i,e,t,s){var r=e==="clippingParents"?an(i):[].concat(e),n=[].concat(r,[t]),o=n[0],a=n.reduce(function(l,u){var c=Vs(i,u,s);return l.top=ve(c.top,l.top),l.right=wt(c.right,l.right),l.bottom=wt(c.bottom,l.bottom),l.left=ve(c.left,l.left),l},Vs(i,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 Ui(i){var e=i.reference,t=i.element,s=i.placement,r=s?U(s):null,n=s?Re(s):null,o=e.x+e.width/2-t.width/2,a=e.y+e.height/2-t.height/2,l;switch(r){case N:l={x:o,y:e.y-t.height};break;case P:l={x:o,y:e.y+e.height};break;case j:l={x:e.x+e.width,y:a};break;case D:l={x:e.x-t.width,y:a};break;default:l={x:e.x,y:e.y}}var u=r?gs(r):null;if(u!=null){var c=u==="y"?"height":"width";switch(n){case Ee:l[u]=l[u]-(e[c]/2-t[c]/2);break;case Ie:l[u]=l[u]+(e[c]/2-t[c]/2);break}}return l}function Fe(i,e){e===void 0&&(e={});var t=e,s=t.placement,r=s===void 0?i.placement:s,n=t.strategy,o=n===void 0?i.strategy:n,a=t.boundary,l=a===void 0?ki:a,u=t.rootBoundary,c=u===void 0?us:u,h=t.elementContext,p=h===void 0?ke:h,f=t.altBoundary,y=f===void 0?!1:f,_=t.padding,v=_===void 0?0:_,b=qi(typeof v!="number"?v:zi(v,He)),T=p===ke?xi:ke,O=i.rects.popper,E=i.elements[y?T:p],A=ln(be(E)?E:E.contextElement||le(i.elements.popper),l,c,o),m=je(i.elements.reference),w=Ui({reference:m,element:O,strategy:"absolute",placement:r}),S=ns(Object.assign({},O,w)),L=p===ke?S:m,C={top:A.top-L.top+b.top,bottom:L.bottom-A.bottom+b.bottom,left:A.left-L.left+b.left,right:L.right-A.right+b.right},k=i.modifiersData.offset;if(p===ke&&k){var q=k[r];Object.keys(C).forEach(function(x){var ue=[j,P].indexOf(x)>=0?1:-1,he=[N,P].indexOf(x)>=0?"y":"x";C[x]+=q[he]*ue})}return C}function cn(i,e){e===void 0&&(e={});var t=e,s=t.placement,r=t.boundary,n=t.rootBoundary,o=t.padding,a=t.flipVariations,l=t.allowedAutoPlacements,u=l===void 0?hs:l,c=Re(s),h=c?a?is:is.filter(function(y){return Re(y)===c}):He,p=h.filter(function(y){return u.indexOf(y)>=0});p.length===0&&(p=h);var f=p.reduce(function(y,_){return y[_]=Fe(i,{placement:_,boundary:r,rootBoundary:n,padding:o})[U(_)],y},{});return Object.keys(f).sort(function(y,_){return f[y]-f[_]})}function dn(i){if(U(i)===xt)return[];var e=vt(i);return[Hs(i),e,Hs(e)]}function un(i){var e=i.state,t=i.options,s=i.name;if(!e.modifiersData[s]._skip){for(var r=t.mainAxis,n=r===void 0?!0:r,o=t.altAxis,a=o===void 0?!0:o,l=t.fallbackPlacements,u=t.padding,c=t.boundary,h=t.rootBoundary,p=t.altBoundary,f=t.flipVariations,y=f===void 0?!0:f,_=t.allowedAutoPlacements,v=e.options.placement,b=U(v),T=b===v,O=l||(T||!y?[vt(v)]:dn(v)),E=[v].concat(O).reduce(function(Oe,te){return Oe.concat(U(te)===xt?cn(e,{placement:te,boundary:c,rootBoundary:h,padding:u,flipVariations:y,allowedAutoPlacements:_}):te)},[]),A=e.rects.reference,m=e.rects.popper,w=new Map,S=!0,L=E[0],C=0;C<E.length;C++){var k=E[C],q=U(k),x=Re(k)===Ee,ue=[N,P].indexOf(q)>=0,he=ue?"width":"height",I=Fe(e,{placement:k,boundary:c,rootBoundary:h,altBoundary:p,padding:u}),z=ue?x?j:D:x?P:N;A[he]>m[he]&&(z=vt(z));var ot=vt(z),fe=[];if(n&&fe.push(I[q]<=0),a&&fe.push(I[z]<=0,I[ot]<=0),fe.every(function(Oe){return Oe})){L=k,S=!1;break}w.set(k,fe)}if(S)for(var at=y?3:1,It=function(te){var Ye=E.find(function(ct){var pe=w.get(ct);if(pe)return pe.slice(0,te).every(function(Pt){return Pt})});if(Ye)return L=Ye,"break"},ze=at;ze>0;ze--){var lt=It(ze);if(lt==="break")break}e.placement!==L&&(e.modifiersData[s]._skip=!0,e.placement=L,e.reset=!0)}}const Qi={name:"flip",enabled:!0,phase:"main",fn:un,requiresIfExists:["offset"],data:{_skip:!1}};function Bs(i,e,t){return t===void 0&&(t={x:0,y:0}),{top:i.top-e.height-t.y,right:i.right-e.width+t.x,bottom:i.bottom-e.height+t.y,left:i.left-e.width-t.x}}function qs(i){return[N,j,P,D].some(function(e){return i[e]>=0})}function hn(i){var e=i.state,t=i.name,s=e.rects.reference,r=e.rects.popper,n=e.modifiersData.preventOverflow,o=Fe(e,{elementContext:"reference"}),a=Fe(e,{altBoundary:!0}),l=Bs(o,s),u=Bs(a,r,n),c=qs(l),h=qs(u);e.modifiersData[t]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":h})}const Xi={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hn};function fn(i,e,t){var s=U(i),r=[D,N].indexOf(s)>=0?-1:1,n=typeof t=="function"?t(Object.assign({},e,{placement:i})):t,o=n[0],a=n[1];return o=o||0,a=(a||0)*r,[D,j].indexOf(s)>=0?{x:a,y:o}:{x:o,y:a}}function pn(i){var e=i.state,t=i.options,s=i.name,r=t.offset,n=r===void 0?[0,0]:r,o=hs.reduce(function(c,h){return c[h]=fn(h,e.rects,n),c},{}),a=o[e.placement],l=a.x,u=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[s]=o}const Gi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:pn};function mn(i){var e=i.state,t=i.name;e.modifiersData[t]=Ui({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const As={name:"popperOffsets",enabled:!0,phase:"read",fn:mn,data:{}};function gn(i){return i==="x"?"y":"x"}function _n(i){var e=i.state,t=i.options,s=i.name,r=t.mainAxis,n=r===void 0?!0:r,o=t.altAxis,a=o===void 0?!1:o,l=t.boundary,u=t.rootBoundary,c=t.altBoundary,h=t.padding,p=t.tether,f=p===void 0?!0:p,y=t.tetherOffset,_=y===void 0?0:y,v=Fe(e,{boundary:l,rootBoundary:u,padding:h,altBoundary:c}),b=U(e.placement),T=Re(e.placement),O=!T,E=gs(b),A=gn(E),m=e.modifiersData.popperOffsets,w=e.rects.reference,S=e.rects.popper,L=typeof _=="function"?_(Object.assign({},e.rects,{placement:e.placement})):_,C=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),k=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,q={x:0,y:0};if(m){if(n){var x,ue=E==="y"?N:D,he=E==="y"?P:j,I=E==="y"?"height":"width",z=m[E],ot=z+v[ue],fe=z-v[he],at=f?-S[I]/2:0,It=T===Ee?w[I]:S[I],ze=T===Ee?-S[I]:-w[I],lt=e.elements.arrow,Oe=f&<?ms(lt):{width:0,height:0},te=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Bi(),Ye=te[ue],ct=te[he],pe=Xe(0,w[I],Oe[I]),Pt=O?w[I]/2-at-pe-Ye-C.mainAxis:It-pe-Ye-C.mainAxis,jr=O?-w[I]/2+at+pe+ct+C.mainAxis:ze+pe+ct+C.mainAxis,jt=e.elements.arrow&&Ze(e.elements.arrow),Rr=jt?E==="y"?jt.clientTop||0:jt.clientLeft||0:0,xs=(x=k==null?void 0:k[E])!=null?x:0,Fr=z+Pt-xs-Rr,Wr=z+jr-xs,Ns=Xe(f?wt(ot,Fr):ot,z,f?ve(fe,Wr):fe);m[E]=Ns,q[E]=Ns-z}if(a){var Ds,Hr=E==="x"?N:D,Vr=E==="x"?P:j,me=m[A],dt=A==="y"?"height":"width",$s=me+v[Hr],Ms=me-v[Vr],Rt=[N,D].indexOf(b)!==-1,Is=(Ds=k==null?void 0:k[A])!=null?Ds:0,Ps=Rt?$s:me-w[dt]-S[dt]-Is+C.altAxis,js=Rt?me+w[dt]+S[dt]-Is-C.altAxis:Ms,Rs=f&&Rt?Kr(Ps,me,js):Xe(f?Ps:$s,me,f?js:Ms);m[A]=Rs,q[A]=Rs-me}e.modifiersData[s]=q}}const Zi={name:"preventOverflow",enabled:!0,phase:"main",fn:_n,requiresIfExists:["offset"]};function vn(i){return{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}}function En(i){return i===R(i)||!W(i)?Es(i):vn(i)}function bn(i){var e=i.getBoundingClientRect(),t=Pe(e.width)/i.offsetWidth||1,s=Pe(e.height)/i.offsetHeight||1;return t!==1||s!==1}function yn(i,e,t){t===void 0&&(t=!1);var s=W(e),r=W(e)&&bn(e),n=le(e),o=je(i,r,t),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!t)&&((Q(e)!=="body"||ys(n))&&(a=En(e)),W(e)?(l=je(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):n&&(l.x=bs(n))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function An(i){var e=new Map,t=new Set,s=[];i.forEach(function(n){e.set(n.name,n)});function r(n){t.add(n.name);var o=[].concat(n.requires||[],n.requiresIfExists||[]);o.forEach(function(a){if(!t.has(a)){var l=e.get(a);l&&r(l)}}),s.push(n)}return i.forEach(function(n){t.has(n.name)||r(n)}),s}function wn(i){var e=An(i);return Wi.reduce(function(t,s){return t.concat(e.filter(function(r){return r.phase===s}))},[])}function Tn(i){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(i())})})),e}}function Sn(i){var e=i.reduce(function(t,s){var r=t[s.name];return t[s.name]=r?Object.assign({},r,s,{options:Object.assign({},r.options,s.options),data:Object.assign({},r.data,s.data)}):s,t},{});return Object.keys(e).map(function(t){return e[t]})}var zs={placement:"bottom",modifiers:[],strategy:"absolute"};function Ys(){for(var i=arguments.length,e=new Array(i),t=0;t<i;t++)e[t]=arguments[t];return!e.some(function(s){return!(s&&typeof s.getBoundingClientRect=="function")})}function Dt(i){i===void 0&&(i={});var e=i,t=e.defaultModifiers,s=t===void 0?[]:t,r=e.defaultOptions,n=r===void 0?zs:r;return function(a,l,u){u===void 0&&(u=n);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},zs,n),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},h=[],p=!1,f={state:c,setOptions:function(b){var T=typeof b=="function"?b(c.options):b;_(),c.options=Object.assign({},n,c.options,T),c.scrollParents={reference:be(a)?Ge(a):a.contextElement?Ge(a.contextElement):[],popper:Ge(l)};var O=wn(Sn([].concat(s,c.options.modifiers)));return c.orderedModifiers=O.filter(function(E){return E.enabled}),y(),f.update()},forceUpdate:function(){if(!p){var b=c.elements,T=b.reference,O=b.popper;if(Ys(T,O)){c.rects={reference:yn(T,Ze(O),c.options.strategy==="fixed"),popper:ms(O)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(C){return c.modifiersData[C.name]=Object.assign({},C.data)});for(var E=0;E<c.orderedModifiers.length;E++){if(c.reset===!0){c.reset=!1,E=-1;continue}var A=c.orderedModifiers[E],m=A.fn,w=A.options,S=w===void 0?{}:w,L=A.name;typeof m=="function"&&(c=m({state:c,options:S,name:L,instance:f})||c)}}}},update:Tn(function(){return new Promise(function(v){f.forceUpdate(),v(c)})}),destroy:function(){_(),p=!0}};if(!Ys(a,l))return f;f.setOptions(u).then(function(v){!p&&u.onFirstUpdate&&u.onFirstUpdate(v)});function y(){c.orderedModifiers.forEach(function(v){var b=v.name,T=v.options,O=T===void 0?{}:T,E=v.effect;if(typeof E=="function"){var A=E({state:c,name:b,instance:f,options:O}),m=function(){};h.push(A||m)}})}function _(){h.forEach(function(v){return v()}),h=[]}return f}}var On=Dt(),Ln=[vs,As,_s,ps],Cn=Dt({defaultModifiers:Ln}),kn=[vs,As,_s,ps,Gi,Qi,Zi,Yi,Xi],ws=Dt({defaultModifiers:kn});const Ji=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Pi,afterRead:$i,afterWrite:Fi,applyStyles:ps,arrow:Yi,auto:xt,basePlacements:He,beforeMain:Mi,beforeRead:Ni,beforeWrite:ji,bottom:P,clippingParents:ki,computeStyles:_s,createPopper:ws,createPopperBase:On,createPopperLite:Cn,detectOverflow:Fe,end:Ie,eventListeners:vs,flip:Qi,hide:Xi,left:D,main:Ii,modifierPhases:Wi,offset:Gi,placements:hs,popper:ke,popperGenerator:Dt,popperOffsets:As,preventOverflow:Zi,read:Di,reference:xi,right:j,start:Ee,top:N,variationPlacements:is,viewport:us,write:Ri},Symbol.toStringTag,{value:"Module"}));/*!
|
|
* Bootstrap v5.3.3 (https://getbootstrap.com/)
|
|
* Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
*/const se=new Map,Ft={set(i,e,t){se.has(i)||se.set(i,new Map);const s=se.get(i);if(!s.has(e)&&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(e,t)},get(i,e){return se.has(i)&&se.get(i).get(e)||null},remove(i,e){if(!se.has(i))return;const t=se.get(i);t.delete(e),t.size===0&&se.delete(i)}},xn=1e6,Nn=1e3,os="transitionend",er=i=>(i&&window.CSS&&window.CSS.escape&&(i=i.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),i),Dn=i=>i==null?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase(),$n=i=>{do i+=Math.floor(Math.random()*xn);while(document.getElementById(i));return i},Mn=i=>{if(!i)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(i);const s=Number.parseFloat(e),r=Number.parseFloat(t);return!s&&!r?0:(e=e.split(",")[0],t=t.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(t))*Nn)},tr=i=>{i.dispatchEvent(new Event(os))},X=i=>!i||typeof i!="object"?!1:(typeof i.jquery<"u"&&(i=i[0]),typeof i.nodeType<"u"),oe=i=>X(i)?i.jquery?i[0]:i:typeof i=="string"&&i.length>0?document.querySelector(er(i)):null,Ve=i=>{if(!X(i)||i.getClientRects().length===0)return!1;const e=getComputedStyle(i).getPropertyValue("visibility")==="visible",t=i.closest("details:not([open])");if(!t)return e;if(t!==i){const s=i.closest("summary");if(s&&s.parentNode!==t||s===null)return!1}return e},ae=i=>!i||i.nodeType!==Node.ELEMENT_NODE||i.classList.contains("disabled")?!0:typeof i.disabled<"u"?i.disabled:i.hasAttribute("disabled")&&i.getAttribute("disabled")!=="false",sr=i=>{if(!document.documentElement.attachShadow)return null;if(typeof i.getRootNode=="function"){const e=i.getRootNode();return e instanceof ShadowRoot?e:null}return i instanceof ShadowRoot?i:i.parentNode?sr(i.parentNode):null},Tt=()=>{},Je=i=>{i.offsetHeight},ir=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Wt=[],In=i=>{document.readyState==="loading"?(Wt.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Wt)e()}),Wt.push(i)):i()},H=()=>document.documentElement.dir==="rtl",B=i=>{In(()=>{const e=ir();if(e){const t=i.NAME,s=e.fn[t];e.fn[t]=i.jQueryInterface,e.fn[t].Constructor=i,e.fn[t].noConflict=()=>(e.fn[t]=s,i.jQueryInterface)}})},M=(i,e=[],t=i)=>typeof i=="function"?i(...e):t,rr=(i,e,t=!0)=>{if(!t){M(i);return}const r=Mn(e)+5;let n=!1;const o=({target:a})=>{a===e&&(n=!0,e.removeEventListener(os,o),M(i))};e.addEventListener(os,o),setTimeout(()=>{n||tr(e)},r)},Ts=(i,e,t,s)=>{const r=i.length;let n=i.indexOf(e);return n===-1?!t&&s?i[r-1]:i[0]:(n+=t?1:-1,s&&(n=(n+r)%r),i[Math.max(0,Math.min(n,r-1))])},Pn=/[^.]*(?=\..*)\.|.*/,jn=/\..*/,Rn=/::\d+$/,Ht={};let Ks=1;const nr={mouseenter:"mouseover",mouseleave:"mouseout"},Fn=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 or(i,e){return e&&`${e}::${Ks++}`||i.uidEvent||Ks++}function ar(i){const e=or(i);return i.uidEvent=e,Ht[e]=Ht[e]||{},Ht[e]}function Wn(i,e){return function t(s){return Ss(s,{delegateTarget:i}),t.oneOff&&d.off(i,s.type,e),e.apply(i,[s])}}function Hn(i,e,t){return function s(r){const n=i.querySelectorAll(e);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of n)if(a===o)return Ss(r,{delegateTarget:o}),s.oneOff&&d.off(i,r.type,e,t),t.apply(o,[r])}}function lr(i,e,t=null){return Object.values(i).find(s=>s.callable===e&&s.delegationSelector===t)}function cr(i,e,t){const s=typeof e=="string",r=s?t:e||t;let n=dr(i);return Fn.has(n)||(n=i),[s,r,n]}function Us(i,e,t,s,r){if(typeof e!="string"||!i)return;let[n,o,a]=cr(e,t,s);e in nr&&(o=(y=>function(_){if(!_.relatedTarget||_.relatedTarget!==_.delegateTarget&&!_.delegateTarget.contains(_.relatedTarget))return y.call(this,_)})(o));const l=ar(i),u=l[a]||(l[a]={}),c=lr(u,o,n?t:null);if(c){c.oneOff=c.oneOff&&r;return}const h=or(o,e.replace(Pn,"")),p=n?Hn(i,t,o):Wn(i,o);p.delegationSelector=n?t:null,p.callable=o,p.oneOff=r,p.uidEvent=h,u[h]=p,i.addEventListener(a,p,n)}function as(i,e,t,s,r){const n=lr(e[t],s,r);n&&(i.removeEventListener(t,n,!!r),delete e[t][n.uidEvent])}function Vn(i,e,t,s){const r=e[t]||{};for(const[n,o]of Object.entries(r))n.includes(s)&&as(i,e,t,o.callable,o.delegationSelector)}function dr(i){return i=i.replace(jn,""),nr[i]||i}const d={on(i,e,t,s){Us(i,e,t,s,!1)},one(i,e,t,s){Us(i,e,t,s,!0)},off(i,e,t,s){if(typeof e!="string"||!i)return;const[r,n,o]=cr(e,t,s),a=o!==e,l=ar(i),u=l[o]||{},c=e.startsWith(".");if(typeof n<"u"){if(!Object.keys(u).length)return;as(i,l,o,n,r?t:null);return}if(c)for(const h of Object.keys(l))Vn(i,l,h,e.slice(1));for(const[h,p]of Object.entries(u)){const f=h.replace(Rn,"");(!a||e.includes(f))&&as(i,l,o,p.callable,p.delegationSelector)}},trigger(i,e,t){if(typeof e!="string"||!i)return null;const s=ir(),r=dr(e),n=e!==r;let o=null,a=!0,l=!0,u=!1;n&&s&&(o=s.Event(e,t),s(i).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),u=o.isDefaultPrevented());const c=Ss(new Event(e,{bubbles:a,cancelable:!0}),t);return u&&c.preventDefault(),l&&i.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function Ss(i,e={}){for(const[t,s]of Object.entries(e))try{i[t]=s}catch{Object.defineProperty(i,t,{configurable:!0,get(){return s}})}return i}function Qs(i){if(i==="true")return!0;if(i==="false")return!1;if(i===Number(i).toString())return Number(i);if(i===""||i==="null")return null;if(typeof i!="string")return i;try{return JSON.parse(decodeURIComponent(i))}catch{return i}}function Vt(i){return i.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const G={setDataAttribute(i,e,t){i.setAttribute(`data-bs-${Vt(e)}`,t)},removeDataAttribute(i,e){i.removeAttribute(`data-bs-${Vt(e)}`)},getDataAttributes(i){if(!i)return{};const e={},t=Object.keys(i.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of t){let r=s.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),e[r]=Qs(i.dataset[s])}return e},getDataAttribute(i,e){return Qs(i.getAttribute(`data-bs-${Vt(e)}`))}};class et{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const s=X(t)?G.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...X(t)?G.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[s,r]of Object.entries(t)){const n=e[s],o=X(n)?"element":Dn(n);if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${r}".`)}}}const Bn="5.3.3";class K extends et{constructor(e,t){super(),e=oe(e),e&&(this._element=e,this._config=this._getConfig(t),Ft.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ft.remove(this._element,this.constructor.DATA_KEY),d.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,s=!0){rr(e,t,s)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ft.get(oe(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return Bn}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Bt=i=>{let e=i.getAttribute("data-bs-target");if(!e||e==="#"){let t=i.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&t!=="#"?t.trim():null}return e?e.split(",").map(t=>er(t)).join(","):null},g={find(i,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,i))},findOne(i,e=document.documentElement){return Element.prototype.querySelector.call(e,i)},children(i,e){return[].concat(...i.children).filter(t=>t.matches(e))},parents(i,e){const t=[];let s=i.parentNode.closest(e);for(;s;)t.push(s),s=s.parentNode.closest(e);return t},prev(i,e){let t=i.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(i,e){let t=i.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(i){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,i).filter(t=>!ae(t)&&Ve(t))},getSelectorFromElement(i){const e=Bt(i);return e&&g.findOne(e)?e:null},getElementFromSelector(i){const e=Bt(i);return e?g.findOne(e):null},getMultipleElementsFromSelector(i){const e=Bt(i);return e?g.find(e):[]}},$t=(i,e="hide")=>{const t=`click.dismiss${i.EVENT_KEY}`,s=i.NAME;d.on(document,t,`[data-bs-dismiss="${s}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),ae(this))return;const n=g.getElementFromSelector(this)||this.closest(`.${s}`);i.getOrCreateInstance(n)[e]()})},qn="alert",zn="bs.alert",ur=`.${zn}`,Yn=`close${ur}`,Kn=`closed${ur}`,Un="fade",Qn="show";class tt extends K{static get NAME(){return qn}close(){if(d.trigger(this._element,Yn).defaultPrevented)return;this._element.classList.remove(Qn);const t=this._element.classList.contains(Un);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),d.trigger(this._element,Kn),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=tt.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}$t(tt,"close");B(tt);const Xn="button",Gn="bs.button",Zn=`.${Gn}`,Jn=".data-api",eo="active",Xs='[data-bs-toggle="button"]',to=`click${Zn}${Jn}`;class st extends K{static get NAME(){return Xn}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(eo))}static jQueryInterface(e){return this.each(function(){const t=st.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}d.on(document,to,Xs,i=>{i.preventDefault();const e=i.target.closest(Xs);st.getOrCreateInstance(e).toggle()});B(st);const so="swipe",Be=".bs.swipe",io=`touchstart${Be}`,ro=`touchmove${Be}`,no=`touchend${Be}`,oo=`pointerdown${Be}`,ao=`pointerup${Be}`,lo="touch",co="pen",uo="pointer-event",ho=40,fo={endCallback:null,leftCallback:null,rightCallback:null},po={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class St extends et{constructor(e,t){super(),this._element=e,!(!e||!St.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return fo}static get DefaultType(){return po}static get NAME(){return so}dispose(){d.off(this._element,Be)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),M(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=ho)return;const t=e/this._deltaX;this._deltaX=0,t&&M(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(d.on(this._element,oo,e=>this._start(e)),d.on(this._element,ao,e=>this._end(e)),this._element.classList.add(uo)):(d.on(this._element,io,e=>this._start(e)),d.on(this._element,ro,e=>this._move(e)),d.on(this._element,no,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===co||e.pointerType===lo)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const mo="carousel",go="bs.carousel",ce=`.${go}`,hr=".data-api",_o="ArrowLeft",vo="ArrowRight",Eo=500,Ke="next",Le="prev",xe="left",Et="right",bo=`slide${ce}`,qt=`slid${ce}`,yo=`keydown${ce}`,Ao=`mouseenter${ce}`,wo=`mouseleave${ce}`,To=`dragstart${ce}`,So=`load${ce}${hr}`,Oo=`click${ce}${hr}`,fr="carousel",ht="active",Lo="slide",Co="carousel-item-end",ko="carousel-item-start",xo="carousel-item-next",No="carousel-item-prev",pr=".active",mr=".carousel-item",Do=pr+mr,$o=".carousel-item img",Mo=".carousel-indicators",Io="[data-bs-slide], [data-bs-slide-to]",Po='[data-bs-ride="carousel"]',jo={[_o]:Et,[vo]:xe},Ro={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Fo={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class qe extends K{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=g.findOne(Mo,this._element),this._addEventListeners(),this._config.ride===fr&&this.cycle()}static get Default(){return Ro}static get DefaultType(){return Fo}static get NAME(){return mo}next(){this._slide(Ke)}nextWhenVisible(){!document.hidden&&Ve(this._element)&&this.next()}prev(){this._slide(Le)}pause(){this._isSliding&&tr(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,qt,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){d.one(this._element,qt,()=>this.to(e));return}const s=this._getItemIndex(this._getActive());if(s===e)return;const r=e>s?Ke:Le;this._slide(r,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&d.on(this._element,yo,e=>this._keydown(e)),this._config.pause==="hover"&&(d.on(this._element,Ao,()=>this.pause()),d.on(this._element,wo,()=>this._maybeEnableCycle())),this._config.touch&&St.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of g.find($o,this._element))d.on(s,To,r=>r.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(xe)),rightCallback:()=>this._slide(this._directionToOrder(Et)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Eo+this._config.interval))}};this._swipeHelper=new St(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=jo[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=g.findOne(pr,this._indicatorsElement);t.classList.remove(ht),t.removeAttribute("aria-current");const s=g.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);s&&(s.classList.add(ht),s.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const s=this._getActive(),r=e===Ke,n=t||Ts(this._getItems(),s,r,this._config.wrap);if(n===s)return;const o=this._getItemIndex(n),a=f=>d.trigger(this._element,f,{relatedTarget:n,direction:this._orderToDirection(e),from:this._getItemIndex(s),to:o});if(a(bo).defaultPrevented||!s||!n)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=n;const c=r?ko:Co,h=r?xo:No;n.classList.add(h),Je(n),s.classList.add(c),n.classList.add(c);const p=()=>{n.classList.remove(c,h),n.classList.add(ht),s.classList.remove(ht,h,c),this._isSliding=!1,a(qt)};this._queueCallback(p,s,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(Lo)}_getActive(){return g.findOne(Do,this._element)}_getItems(){return g.find(mr,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return H()?e===xe?Le:Ke:e===xe?Ke:Le}_orderToDirection(e){return H()?e===Le?xe:Et:e===Le?Et:xe}static jQueryInterface(e){return this.each(function(){const t=qe.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}d.on(document,Oo,Io,function(i){const e=g.getElementFromSelector(this);if(!e||!e.classList.contains(fr))return;i.preventDefault();const t=qe.getOrCreateInstance(e),s=this.getAttribute("data-bs-slide-to");if(s){t.to(s),t._maybeEnableCycle();return}if(G.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()});d.on(window,So,()=>{const i=g.find(Po);for(const e of i)qe.getOrCreateInstance(e)});B(qe);const Wo="collapse",Ho="bs.collapse",it=`.${Ho}`,Vo=".data-api",Bo=`show${it}`,qo=`shown${it}`,zo=`hide${it}`,Yo=`hidden${it}`,Ko=`click${it}${Vo}`,zt="show",$e="collapse",ft="collapsing",Uo="collapsed",Qo=`:scope .${$e} .${$e}`,Xo="collapse-horizontal",Go="width",Zo="height",Jo=".collapse.show, .collapse.collapsing",ls='[data-bs-toggle="collapse"]',ea={parent:null,toggle:!0},ta={parent:"(null|element)",toggle:"boolean"};class We extends K{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const s=g.find(ls);for(const r of s){const n=g.getSelectorFromElement(r),o=g.find(n).filter(a=>a===this._element);n!==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 ea}static get DefaultType(){return ta}static get NAME(){return Wo}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Jo).filter(a=>a!==this._element).map(a=>We.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||d.trigger(this._element,Bo).defaultPrevented)return;for(const a of e)a.hide();const s=this._getDimension();this._element.classList.remove($e),this._element.classList.add(ft),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(ft),this._element.classList.add($e,zt),this._element.style[s]="",d.trigger(this._element,qo)},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,zo).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Je(this._element),this._element.classList.add(ft),this._element.classList.remove($e,zt);for(const r of this._triggerArray){const n=g.getElementFromSelector(r);n&&!this._isShown(n)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(ft),this._element.classList.add($e),d.trigger(this._element,Yo)};this._element.style[t]="",this._queueCallback(s,this._element,!0)}_isShown(e=this._element){return e.classList.contains(zt)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=oe(e.parent),e}_getDimension(){return this._element.classList.contains(Xo)?Go:Zo}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(ls);for(const t of e){const s=g.getElementFromSelector(t);s&&this._addAriaAndCollapsedClass([t],this._isShown(s))}}_getFirstLevelChildren(e){const t=g.find(Qo,this._config.parent);return g.find(e,this._config.parent).filter(s=>!t.includes(s))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const s of e)s.classList.toggle(Uo,!t),s.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const s=We.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof s[e]>"u")throw new TypeError(`No method named "${e}"`);s[e]()}})}}d.on(document,Ko,ls,function(i){(i.target.tagName==="A"||i.delegateTarget&&i.delegateTarget.tagName==="A")&&i.preventDefault();for(const e of g.getMultipleElementsFromSelector(this))We.getOrCreateInstance(e,{toggle:!1}).toggle()});B(We);const Gs="dropdown",sa="bs.dropdown",we=`.${sa}`,Os=".data-api",ia="Escape",Zs="Tab",ra="ArrowUp",Js="ArrowDown",na=2,oa=`hide${we}`,aa=`hidden${we}`,la=`show${we}`,ca=`shown${we}`,gr=`click${we}${Os}`,_r=`keydown${we}${Os}`,da=`keyup${we}${Os}`,Ne="show",ua="dropup",ha="dropend",fa="dropstart",pa="dropup-center",ma="dropdown-center",ge='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ga=`${ge}.${Ne}`,bt=".dropdown-menu",_a=".navbar",va=".navbar-nav",Ea=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",ba=H()?"top-end":"top-start",ya=H()?"top-start":"top-end",Aa=H()?"bottom-end":"bottom-start",wa=H()?"bottom-start":"bottom-end",Ta=H()?"left-start":"right-start",Sa=H()?"right-start":"left-start",Oa="top",La="bottom",Ca={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},ka={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Y extends K{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=g.next(this._element,bt)[0]||g.prev(this._element,bt)[0]||g.findOne(bt,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Ca}static get DefaultType(){return ka}static get NAME(){return Gs}toggle(){return this._isShown()?this.hide():this.show()}show(){if(ae(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!d.trigger(this._element,la,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(va))for(const s of[].concat(...document.body.children))d.on(s,"mouseover",Tt);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ne),this._element.classList.add(Ne),d.trigger(this._element,ca,e)}}hide(){if(ae(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!d.trigger(this._element,oa,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))d.off(s,"mouseover",Tt);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ne),this._element.classList.remove(Ne),this._element.setAttribute("aria-expanded","false"),G.removeDataAttribute(this._menu,"popper"),d.trigger(this._element,aa,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!X(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Gs.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Ji>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:X(this._config.reference)?e=oe(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=ws(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Ne)}_getPlacement(){const e=this._parent;if(e.classList.contains(ha))return Ta;if(e.classList.contains(fa))return Sa;if(e.classList.contains(pa))return Oa;if(e.classList.contains(ma))return La;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(ua)?t?ya:ba:t?wa:Aa}_detectNavbar(){return this._element.closest(_a)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(G.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...M(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const s=g.find(Ea,this._menu).filter(r=>Ve(r));s.length&&Ts(s,t,e===Js,!s.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Y.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===na||e.type==="keyup"&&e.key!==Zs)return;const t=g.find(ga);for(const s of t){const r=Y.getInstance(s);if(!r||r._config.autoClose===!1)continue;const n=e.composedPath(),o=n.includes(r._menu);if(n.includes(r._element)||r._config.autoClose==="inside"&&!o||r._config.autoClose==="outside"&&o||r._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Zs||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:r._element};e.type==="click"&&(a.clickEvent=e),r._completeHide(a)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),s=e.key===ia,r=[ra,Js].includes(e.key);if(!r&&!s||t&&!s)return;e.preventDefault();const n=this.matches(ge)?this:g.prev(this,ge)[0]||g.next(this,ge)[0]||g.findOne(ge,e.delegateTarget.parentNode),o=Y.getOrCreateInstance(n);if(r){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),n.focus())}}d.on(document,_r,ge,Y.dataApiKeydownHandler);d.on(document,_r,bt,Y.dataApiKeydownHandler);d.on(document,gr,Y.clearMenus);d.on(document,da,Y.clearMenus);d.on(document,gr,ge,function(i){i.preventDefault(),Y.getOrCreateInstance(this).toggle()});B(Y);const vr="backdrop",xa="fade",ei="show",ti=`mousedown.bs.${vr}`,Na={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Da={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Er extends et{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Na}static get DefaultType(){return Da}static get NAME(){return vr}show(e){if(!this._config.isVisible){M(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Je(t),t.classList.add(ei),this._emulateAnimation(()=>{M(e)})}hide(e){if(!this._config.isVisible){M(e);return}this._getElement().classList.remove(ei),this._emulateAnimation(()=>{this.dispose(),M(e)})}dispose(){this._isAppended&&(d.off(this._element,ti),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(xa),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=oe(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),d.on(e,ti,()=>{M(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){rr(e,this._getElement(),this._config.isAnimated)}}const $a="focustrap",Ma="bs.focustrap",Ot=`.${Ma}`,Ia=`focusin${Ot}`,Pa=`keydown.tab${Ot}`,ja="Tab",Ra="forward",si="backward",Fa={autofocus:!0,trapElement:null},Wa={autofocus:"boolean",trapElement:"element"};class br extends et{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Fa}static get DefaultType(){return Wa}static get NAME(){return $a}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),d.off(document,Ot),d.on(document,Ia,e=>this._handleFocusin(e)),d.on(document,Pa,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,d.off(document,Ot))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const s=g.focusableChildren(t);s.length===0?t.focus():this._lastTabNavDirection===si?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){e.key===ja&&(this._lastTabNavDirection=e.shiftKey?si:Ra)}}const ii=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ri=".sticky-top",pt="padding-right",ni="margin-right";class cs{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,pt,t=>t+e),this._setElementAttributes(ii,pt,t=>t+e),this._setElementAttributes(ri,ni,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,pt),this._resetElementAttributes(ii,pt),this._resetElementAttributes(ri,ni)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,s){const r=this.getWidth(),n=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+r)return;this._saveInitialAttribute(o,t);const a=window.getComputedStyle(o).getPropertyValue(t);o.style.setProperty(t,`${s(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,n)}_saveInitialAttribute(e,t){const s=e.style.getPropertyValue(t);s&&G.setDataAttribute(e,t,s)}_resetElementAttributes(e,t){const s=r=>{const n=G.getDataAttribute(r,t);if(n===null){r.style.removeProperty(t);return}G.removeDataAttribute(r,t),r.style.setProperty(t,n)};this._applyManipulationCallback(e,s)}_applyManipulationCallback(e,t){if(X(e)){t(e);return}for(const s of g.find(e,this._element))t(s)}}const Ha="modal",Va="bs.modal",V=`.${Va}`,Ba=".data-api",qa="Escape",za=`hide${V}`,Ya=`hidePrevented${V}`,yr=`hidden${V}`,Ar=`show${V}`,Ka=`shown${V}`,Ua=`resize${V}`,Qa=`click.dismiss${V}`,Xa=`mousedown.dismiss${V}`,Ga=`keydown.dismiss${V}`,Za=`click${V}${Ba}`,oi="modal-open",Ja="fade",ai="show",Yt="modal-static",el=".modal.show",tl=".modal-dialog",sl=".modal-body",il='[data-bs-toggle="modal"]',rl={backdrop:!0,focus:!0,keyboard:!0},nl={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ye extends K{constructor(e,t){super(e,t),this._dialog=g.findOne(tl,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new cs,this._addEventListeners()}static get Default(){return rl}static get DefaultType(){return nl}static get NAME(){return Ha}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||d.trigger(this._element,Ar,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(oi),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||d.trigger(this._element,za).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ai),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){d.off(window,V),d.off(this._dialog,V),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Er({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new br({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=g.findOne(sl,this._dialog);t&&(t.scrollTop=0),Je(this._element),this._element.classList.add(ai);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,d.trigger(this._element,Ka,{relatedTarget:e})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){d.on(this._element,Ga,e=>{if(e.key===qa){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),d.on(window,Ua,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),d.on(this._element,Xa,e=>{d.one(this._element,Qa,t=>{if(!(this._element!==e.target||this._element!==t.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(oi),this._resetAdjustments(),this._scrollBar.reset(),d.trigger(this._element,yr)})}_isAnimated(){return this._element.classList.contains(Ja)}_triggerBackdropTransition(){if(d.trigger(this._element,Ya).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(Yt)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Yt),this._queueCallback(()=>{this._element.classList.remove(Yt),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),s=t>0;if(s&&!e){const r=H()?"paddingLeft":"paddingRight";this._element.style[r]=`${t}px`}if(!s&&e){const r=H()?"paddingRight":"paddingLeft";this._element.style[r]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const s=ye.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof s[e]>"u")throw new TypeError(`No method named "${e}"`);s[e](t)}})}}d.on(document,Za,il,function(i){const e=g.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&i.preventDefault(),d.one(e,Ar,r=>{r.defaultPrevented||d.one(e,yr,()=>{Ve(this)&&this.focus()})});const t=g.findOne(el);t&&ye.getInstance(t).hide(),ye.getOrCreateInstance(e).toggle(this)});$t(ye);B(ye);const ol="offcanvas",al="bs.offcanvas",ee=`.${al}`,wr=".data-api",ll=`load${ee}${wr}`,cl="Escape",li="show",ci="showing",di="hiding",dl="offcanvas-backdrop",Tr=".offcanvas.show",ul=`show${ee}`,hl=`shown${ee}`,fl=`hide${ee}`,ui=`hidePrevented${ee}`,Sr=`hidden${ee}`,pl=`resize${ee}`,ml=`click${ee}${wr}`,gl=`keydown.dismiss${ee}`,_l='[data-bs-toggle="offcanvas"]',vl={backdrop:!0,keyboard:!0,scroll:!1},El={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class J extends K{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return vl}static get DefaultType(){return El}static get NAME(){return ol}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||d.trigger(this._element,ul,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new cs().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ci);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(li),this._element.classList.remove(ci),d.trigger(this._element,hl,{relatedTarget:e})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||d.trigger(this._element,fl).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(di),this._backdrop.hide();const t=()=>{this._element.classList.remove(li,di),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new cs().reset(),d.trigger(this._element,Sr)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){d.trigger(this._element,ui);return}this.hide()},t=!!this._config.backdrop;return new Er({className:dl,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new br({trapElement:this._element})}_addEventListeners(){d.on(this._element,gl,e=>{if(e.key===cl){if(this._config.keyboard){this.hide();return}d.trigger(this._element,ui)}})}static jQueryInterface(e){return this.each(function(){const t=J.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}d.on(document,ml,_l,function(i){const e=g.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),ae(this))return;d.one(e,Sr,()=>{Ve(this)&&this.focus()});const t=g.findOne(Tr);t&&t!==e&&J.getInstance(t).hide(),J.getOrCreateInstance(e).toggle(this)});d.on(window,ll,()=>{for(const i of g.find(Tr))J.getOrCreateInstance(i).show()});d.on(window,pl,()=>{for(const i of g.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(i).position!=="fixed"&&J.getOrCreateInstance(i).hide()});$t(J);B(J);const bl=/^aria-[\w-]*$/i,Or={"*":["class","dir","id","lang","role",bl],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},yl=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Al=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,wl=(i,e)=>{const t=i.nodeName.toLowerCase();return e.includes(t)?yl.has(t)?!!Al.test(i.nodeValue):!0:e.filter(s=>s instanceof RegExp).some(s=>s.test(t))};function Tl(i,e,t){if(!i.length)return i;if(t&&typeof t=="function")return t(i);const r=new window.DOMParser().parseFromString(i,"text/html"),n=[].concat(...r.body.querySelectorAll("*"));for(const o of n){const a=o.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),u=[].concat(e["*"]||[],e[a]||[]);for(const c of l)wl(c,u)||o.removeAttribute(c.nodeName)}return r.body.innerHTML}const Sl="TemplateFactory",Ol={allowList:Or,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Ll={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Cl={entry:"(string|element|function|null)",selector:"(string|element)"};class kl extends et{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Ol}static get DefaultType(){return Ll}static get NAME(){return Sl}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[r,n]of Object.entries(this._config.content))this._setContent(e,n,r);const t=e.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&t.classList.add(...s.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,s]of Object.entries(e))super._typeCheckConfig({selector:t,entry:s},Cl)}_setContent(e,t,s){const r=g.findOne(s,e);if(r){if(t=this._resolvePossibleFunction(t),!t){r.remove();return}if(X(t)){this._putElementInTemplate(oe(t),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(t);return}r.textContent=t}}_maybeSanitize(e){return this._config.sanitize?Tl(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return M(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const xl="tooltip",Nl=new Set(["sanitize","allowList","sanitizeFn"]),Kt="fade",Dl="modal",mt="show",$l=".tooltip-inner",hi=`.${Dl}`,fi="hide.bs.modal",Ue="hover",Ut="focus",Ml="click",Il="manual",Pl="hide",jl="hidden",Rl="show",Fl="shown",Wl="inserted",Hl="click",Vl="focusin",Bl="focusout",ql="mouseenter",zl="mouseleave",Yl={AUTO:"auto",TOP:"top",RIGHT:H()?"left":"right",BOTTOM:"bottom",LEFT:H()?"right":"left"},Kl={allowList:Or,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Ul={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 Te extends K{constructor(e,t){if(typeof Ji>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),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 Kl}static get DefaultType(){return Ul}static get NAME(){return xl}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(hi),fi,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=d.trigger(this._element,this.constructor.eventName(Rl)),s=(sr(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!s)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(r),d.trigger(this._element,this.constructor.eventName(Wl))),this._popper=this._createPopper(r),r.classList.add(mt),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))d.on(a,"mouseover",Tt);const o=()=>{d.trigger(this._element,this.constructor.eventName(Fl)),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(mt),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))d.off(r,"mouseover",Tt);this._activeTrigger[Ml]=!1,this._activeTrigger[Ut]=!1,this._activeTrigger[Ue]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),d.trigger(this._element,this.constructor.eventName(jl)))};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(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Kt,mt),t.classList.add(`bs-${this.constructor.NAME}-auto`);const s=$n(this.constructor.NAME).toString();return t.setAttribute("id",s),this._isAnimated()&&t.classList.add(Kt),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new kl({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[$l]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Kt)}_isShown(){return this.tip&&this.tip.classList.contains(mt)}_createPopper(e){const t=M(this._config.placement,[this,e,this._element]),s=Yl[t.toUpperCase()];return ws(this._element,e,this._getPopperConfig(s))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return M(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...t,...M(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")d.on(this._element,this.constructor.eventName(Hl),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(t!==Il){const s=t===Ue?this.constructor.eventName(ql):this.constructor.eventName(Vl),r=t===Ue?this.constructor.eventName(zl):this.constructor.eventName(Bl);d.on(this._element,s,this._config.selector,n=>{const o=this._initializeOnDelegatedTarget(n);o._activeTrigger[n.type==="focusin"?Ut:Ue]=!0,o._enter()}),d.on(this._element,r,this._config.selector,n=>{const o=this._initializeOnDelegatedTarget(n);o._activeTrigger[n.type==="focusout"?Ut:Ue]=o._element.contains(n.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},d.on(this._element.closest(hi),fi,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=G.getDataAttributes(this._element);for(const s of Object.keys(t))Nl.has(s)&&delete t[s];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:oe(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,s]of Object.entries(this._config))this.constructor.Default[t]!==s&&(e[t]=s);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=Te.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}B(Te);const Ql="popover",Xl=".popover-header",Gl=".popover-body",Zl={...Te.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"},Jl={...Te.DefaultType,content:"(null|string|element|function)"};class Mt extends Te{static get Default(){return Zl}static get DefaultType(){return Jl}static get NAME(){return Ql}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Xl]:this._getTitle(),[Gl]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=Mt.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}B(Mt);const ec="scrollspy",tc="bs.scrollspy",Ls=`.${tc}`,sc=".data-api",ic=`activate${Ls}`,pi=`click${Ls}`,rc=`load${Ls}${sc}`,nc="dropdown-item",Ce="active",oc='[data-bs-spy="scroll"]',Qt="[href]",ac=".nav, .list-group",mi=".nav-link",lc=".nav-item",cc=".list-group-item",dc=`${mi}, ${lc} > ${mi}, ${cc}`,uc=".dropdown",hc=".dropdown-toggle",fc={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},pc={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class rt extends K{constructor(e,t){super(e,t),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 fc}static get DefaultType(){return pc}static get NAME(){return ec}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=oe(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(d.off(this._config.target,pi),d.on(this._config.target,pi,Qt,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const s=this._rootElement||window,r=t.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:r,behavior:"smooth"});return}s.scrollTop=r}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=o=>this._targetLinks.get(`#${o.target.id}`),s=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(t(o))},r=(this._rootElement||document.documentElement).scrollTop,n=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(n&&a){if(s(o),!r)return;continue}!n&&!a&&s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=g.find(Qt,this._config.target);for(const t of e){if(!t.hash||ae(t))continue;const s=g.findOne(decodeURI(t.hash),this._element);Ve(s)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,s))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Ce),this._activateParents(e),d.trigger(this._element,ic,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(nc)){g.findOne(hc,e.closest(uc)).classList.add(Ce);return}for(const t of g.parents(e,ac))for(const s of g.prev(t,dc))s.classList.add(Ce)}_clearActiveClass(e){e.classList.remove(Ce);const t=g.find(`${Qt}.${Ce}`,e);for(const s of t)s.classList.remove(Ce)}static jQueryInterface(e){return this.each(function(){const t=rt.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}d.on(window,rc,()=>{for(const i of g.find(oc))rt.getOrCreateInstance(i)});B(rt);const mc="tab",gc="bs.tab",Se=`.${gc}`,_c=`hide${Se}`,vc=`hidden${Se}`,Ec=`show${Se}`,bc=`shown${Se}`,yc=`click${Se}`,Ac=`keydown${Se}`,wc=`load${Se}`,Tc="ArrowLeft",gi="ArrowRight",Sc="ArrowUp",_i="ArrowDown",Xt="Home",vi="End",_e="active",Ei="fade",Gt="show",Oc="dropdown",Lr=".dropdown-toggle",Lc=".dropdown-menu",Zt=`:not(${Lr})`,Cc='.list-group, .nav, [role="tablist"]',kc=".nav-item, .list-group-item",xc=`.nav-link${Zt}, .list-group-item${Zt}, [role="tab"]${Zt}`,Cr='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Jt=`${xc}, ${Cr}`,Nc=`.${_e}[data-bs-toggle="tab"], .${_e}[data-bs-toggle="pill"], .${_e}[data-bs-toggle="list"]`;class Ae extends K{constructor(e){super(e),this._parent=this._element.closest(Cc),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),d.on(this._element,Ac,t=>this._keydown(t)))}static get NAME(){return mc}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),s=t?d.trigger(t,_c,{relatedTarget:e}):null;d.trigger(e,Ec,{relatedTarget:t}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(_e),this._activate(g.getElementFromSelector(e));const s=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Gt);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),d.trigger(e,bc,{relatedTarget:t})};this._queueCallback(s,e,e.classList.contains(Ei))}_deactivate(e,t){if(!e)return;e.classList.remove(_e),e.blur(),this._deactivate(g.getElementFromSelector(e));const s=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Gt);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),d.trigger(e,vc,{relatedTarget:t})};this._queueCallback(s,e,e.classList.contains(Ei))}_keydown(e){if(![Tc,gi,Sc,_i,Xt,vi].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(r=>!ae(r));let s;if([Xt,vi].includes(e.key))s=t[e.key===Xt?0:t.length-1];else{const r=[gi,_i].includes(e.key);s=Ts(t,e.target,r,!0)}s&&(s.focus({preventScroll:!0}),Ae.getOrCreateInstance(s).show())}_getChildren(){return g.find(Jt,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const s of t)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),s=this._getOuterElement(e);e.setAttribute("aria-selected",t),s!==e&&this._setAttributeIfNotExists(s,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=g.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const s=this._getOuterElement(e);if(!s.classList.contains(Oc))return;const r=(n,o)=>{const a=g.findOne(n,s);a&&a.classList.toggle(o,t)};r(Lr,_e),r(Lc,Gt),s.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,s){e.hasAttribute(t)||e.setAttribute(t,s)}_elemIsActive(e){return e.classList.contains(_e)}_getInnerElement(e){return e.matches(Jt)?e:g.findOne(Jt,e)}_getOuterElement(e){return e.closest(kc)||e}static jQueryInterface(e){return this.each(function(){const t=Ae.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}d.on(document,yc,Cr,function(i){["A","AREA"].includes(this.tagName)&&i.preventDefault(),!ae(this)&&Ae.getOrCreateInstance(this).show()});d.on(window,wc,()=>{for(const i of g.find(Nc))Ae.getOrCreateInstance(i)});B(Ae);const Dc="toast",$c="bs.toast",de=`.${$c}`,Mc=`mouseover${de}`,Ic=`mouseout${de}`,Pc=`focusin${de}`,jc=`focusout${de}`,Rc=`hide${de}`,Fc=`hidden${de}`,Wc=`show${de}`,Hc=`shown${de}`,Vc="fade",bi="hide",gt="show",_t="showing",Bc={animation:"boolean",autohide:"boolean",delay:"number"},qc={animation:!0,autohide:!0,delay:5e3};class nt extends K{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return qc}static get DefaultType(){return Bc}static get NAME(){return Dc}show(){if(d.trigger(this._element,Wc).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Vc);const t=()=>{this._element.classList.remove(_t),d.trigger(this._element,Hc),this._maybeScheduleHide()};this._element.classList.remove(bi),Je(this._element),this._element.classList.add(gt,_t),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||d.trigger(this._element,Rc).defaultPrevented)return;const t=()=>{this._element.classList.add(bi),this._element.classList.remove(_t,gt),d.trigger(this._element,Fc)};this._element.classList.add(_t),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(gt),super.dispose()}isShown(){return this._element.classList.contains(gt)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=t;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=t;break}}if(t){this._clearTimeout();return}const s=e.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){d.on(this._element,Mc,e=>this._onInteraction(e,!0)),d.on(this._element,Ic,e=>this._onInteraction(e,!1)),d.on(this._element,Pc,e=>this._onInteraction(e,!0)),d.on(this._element,jc,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=nt.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}$t(nt);B(nt);const zc=Object.freeze(Object.defineProperty({__proto__:null,Alert:tt,Button:st,Carousel:qe,Collapse:We,Dropdown:Y,Modal:ye,Offcanvas:J,Popover:Mt,ScrollSpy:rt,Tab:Ae,Toast:nt,Tooltip:Te},Symbol.toStringTag,{value:"Module"}));var Yc=typeof global=="object"&&global&&global.Object===Object&&global,Kc=typeof self=="object"&&self&&self.Object===Object&&self,kr=Yc||Kc||Function("return this")(),Lt=kr.Symbol,xr=Object.prototype,Uc=xr.hasOwnProperty,Qc=xr.toString,Qe=Lt?Lt.toStringTag:void 0;function Xc(i){var e=Uc.call(i,Qe),t=i[Qe];try{i[Qe]=void 0;var s=!0}catch{}var r=Qc.call(i);return s&&(e?i[Qe]=t:delete i[Qe]),r}var Gc=Object.prototype,Zc=Gc.toString;function Jc(i){return Zc.call(i)}var ed="[object Null]",td="[object Undefined]",yi=Lt?Lt.toStringTag:void 0;function sd(i){return i==null?i===void 0?td:ed:yi&&yi in Object(i)?Xc(i):Jc(i)}function id(i){return i!=null&&typeof i=="object"}var rd="[object Symbol]";function nd(i){return typeof i=="symbol"||id(i)&&sd(i)==rd}var od=/\s/;function ad(i){for(var e=i.length;e--&&od.test(i.charAt(e)););return e}var ld=/^\s+/;function cd(i){return i&&i.slice(0,ad(i)+1).replace(ld,"")}function Ct(i){var e=typeof i;return i!=null&&(e=="object"||e=="function")}var Ai=NaN,dd=/^[-+]0x[0-9a-f]+$/i,ud=/^0b[01]+$/i,hd=/^0o[0-7]+$/i,fd=parseInt;function wi(i){if(typeof i=="number")return i;if(nd(i))return Ai;if(Ct(i)){var e=typeof i.valueOf=="function"?i.valueOf():i;i=Ct(e)?e+"":e}if(typeof i!="string")return i===0?i:+i;i=cd(i);var t=ud.test(i);return t||hd.test(i)?fd(i.slice(2),t?2:8):dd.test(i)?Ai:+i}var es=function(){return kr.Date.now()},pd="Expected a function",md=Math.max,gd=Math.min;function yt(i,e,t){var s,r,n,o,a,l,u=0,c=!1,h=!1,p=!0;if(typeof i!="function")throw new TypeError(pd);e=wi(e)||0,Ct(t)&&(c=!!t.leading,h="maxWait"in t,n=h?md(wi(t.maxWait)||0,e):n,p="trailing"in t?!!t.trailing:p);function f(m){var w=s,S=r;return s=r=void 0,u=m,o=i.apply(S,w),o}function y(m){return u=m,a=setTimeout(b,e),c?f(m):o}function _(m){var w=m-l,S=m-u,L=e-w;return h?gd(L,n-S):L}function v(m){var w=m-l,S=m-u;return l===void 0||w>=e||w<0||h&&S>=n}function b(){var m=es();if(v(m))return T(m);a=setTimeout(b,_(m))}function T(m){return a=void 0,p&&s?f(m):(s=r=void 0,o)}function O(){a!==void 0&&clearTimeout(a),u=0,s=l=r=a=void 0}function E(){return a===void 0?o:T(es())}function A(){var m=es(),w=v(m);if(s=arguments,r=this,l=m,w){if(a===void 0)return y(l);if(h)return clearTimeout(a),a=setTimeout(b,e),f(l)}return a===void 0&&(a=setTimeout(b,e)),o}return A.cancel=O,A.flush=E,A}var _d="Expected a function";function vd(i,e,t){var s=!0,r=!0;if(typeof i!="function")throw new TypeError(_d);return Ct(t)&&(s="leading"in t?!!t.leading:s,r="trailing"in t?!!t.trailing:r),yt(i,e,{leading:s,maxWait:e,trailing:r})}var Me=function(){return Me=Object.assign||function(e){for(var t,s=1,r=arguments.length;s<r;s++){t=arguments[s];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Me.apply(this,arguments)};function Nr(i){return!i||!i.ownerDocument||!i.ownerDocument.defaultView?window:i.ownerDocument.defaultView}function Dr(i){return!i||!i.ownerDocument?document:i.ownerDocument}var $r=function(i){var e={},t=Array.prototype.reduce.call(i,function(s,r){var n=r.name.match(/data-simplebar-(.+)/);if(n){var o=n[1].replace(/\W+(.)/g,function(a,l){return l.toUpperCase()});switch(r.value){case"true":s[o]=!0;break;case"false":s[o]=!1;break;case void 0:s[o]=!0;break;default:s[o]=r.value}}return s},e);return t};function Mr(i,e){var t;i&&(t=i.classList).add.apply(t,e.split(" "))}function Ir(i,e){i&&e.split(" ").forEach(function(t){i.classList.remove(t)})}function Pr(i){return".".concat(i.split(" ").join("."))}var Cs=!!(typeof window<"u"&&window.document&&window.document.createElement),Ed=Object.freeze({__proto__:null,addClasses:Mr,canUseDOM:Cs,classNamesToQuery:Pr,getElementDocument:Dr,getElementWindow:Nr,getOptions:$r,removeClasses:Ir}),De=null,Ti=null;Cs&&window.addEventListener("resize",function(){Ti!==window.devicePixelRatio&&(Ti=window.devicePixelRatio,De=null)});function Si(){if(De===null){if(typeof document>"u")return De=0,De;var i=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),i.appendChild(e);var t=e.getBoundingClientRect().right;i.removeChild(e),De=t}return De}var ie=Nr,ts=Dr,bd=$r,re=Mr,ne=Ir,$=Pr,At=function(){function i(e,t){t===void 0&&(t={});var s=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var r=ie(s.el);s.scrollXTicking||(r.requestAnimationFrame(s.scrollX),s.scrollXTicking=!0),s.scrollYTicking||(r.requestAnimationFrame(s.scrollY),s.scrollYTicking=!0),s.isScrolling||(s.isScrolling=!0,re(s.el,s.classNames.scrolling)),s.showScrollbar("x"),s.showScrollbar("y"),s.onStopScrolling()},this.scrollX=function(){s.axis.x.isOverflowing&&s.positionScrollbar("x"),s.scrollXTicking=!1},this.scrollY=function(){s.axis.y.isOverflowing&&s.positionScrollbar("y"),s.scrollYTicking=!1},this._onStopScrolling=function(){ne(s.el,s.classNames.scrolling),s.options.autoHide&&(s.hideScrollbar("x"),s.hideScrollbar("y")),s.isScrolling=!1},this.onMouseEnter=function(){s.isMouseEntering||(re(s.el,s.classNames.mouseEntered),s.showScrollbar("x"),s.showScrollbar("y"),s.isMouseEntering=!0),s.onMouseEntered()},this._onMouseEntered=function(){ne(s.el,s.classNames.mouseEntered),s.options.autoHide&&(s.hideScrollbar("x"),s.hideScrollbar("y")),s.isMouseEntering=!1},this._onMouseMove=function(r){s.mouseX=r.clientX,s.mouseY=r.clientY,(s.axis.x.isOverflowing||s.axis.x.forceVisible)&&s.onMouseMoveForAxis("x"),(s.axis.y.isOverflowing||s.axis.y.forceVisible)&&s.onMouseMoveForAxis("y")},this.onMouseLeave=function(){s.onMouseMove.cancel(),(s.axis.x.isOverflowing||s.axis.x.forceVisible)&&s.onMouseLeaveForAxis("x"),(s.axis.y.isOverflowing||s.axis.y.forceVisible)&&s.onMouseLeaveForAxis("y"),s.mouseX=-1,s.mouseY=-1},this._onWindowResize=function(){s.scrollbarWidth=s.getScrollbarWidth(),s.hideNativeScrollbar()},this.onPointerEvent=function(r){if(!(!s.axis.x.track.el||!s.axis.y.track.el||!s.axis.x.scrollbar.el||!s.axis.y.scrollbar.el)){var n,o;s.axis.x.track.rect=s.axis.x.track.el.getBoundingClientRect(),s.axis.y.track.rect=s.axis.y.track.el.getBoundingClientRect(),(s.axis.x.isOverflowing||s.axis.x.forceVisible)&&(n=s.isWithinBounds(s.axis.x.track.rect)),(s.axis.y.isOverflowing||s.axis.y.forceVisible)&&(o=s.isWithinBounds(s.axis.y.track.rect)),(n||o)&&(r.stopPropagation(),r.type==="pointerdown"&&r.pointerType!=="touch"&&(n&&(s.axis.x.scrollbar.rect=s.axis.x.scrollbar.el.getBoundingClientRect(),s.isWithinBounds(s.axis.x.scrollbar.rect)?s.onDragStart(r,"x"):s.onTrackClick(r,"x")),o&&(s.axis.y.scrollbar.rect=s.axis.y.scrollbar.el.getBoundingClientRect(),s.isWithinBounds(s.axis.y.scrollbar.rect)?s.onDragStart(r,"y"):s.onTrackClick(r,"y"))))}},this.drag=function(r){var n,o,a,l,u,c,h,p,f,y,_;if(!(!s.draggedAxis||!s.contentWrapperEl)){var v,b=s.axis[s.draggedAxis].track,T=(o=(n=b.rect)===null||n===void 0?void 0:n[s.axis[s.draggedAxis].sizeAttr])!==null&&o!==void 0?o:0,O=s.axis[s.draggedAxis].scrollbar,E=(l=(a=s.contentWrapperEl)===null||a===void 0?void 0:a[s.axis[s.draggedAxis].scrollSizeAttr])!==null&&l!==void 0?l:0,A=parseInt((c=(u=s.elStyles)===null||u===void 0?void 0:u[s.axis[s.draggedAxis].sizeAttr])!==null&&c!==void 0?c:"0px",10);r.preventDefault(),r.stopPropagation(),s.draggedAxis==="y"?v=r.pageY:v=r.pageX;var m=v-((p=(h=b.rect)===null||h===void 0?void 0:h[s.axis[s.draggedAxis].offsetAttr])!==null&&p!==void 0?p:0)-s.axis[s.draggedAxis].dragOffset;m=s.draggedAxis==="x"&&s.isRtl?((y=(f=b.rect)===null||f===void 0?void 0:f[s.axis[s.draggedAxis].sizeAttr])!==null&&y!==void 0?y:0)-O.size-m:m;var w=m/(T-O.size),S=w*(E-A);s.draggedAxis==="x"&&s.isRtl&&(S=!((_=i.getRtlHelpers())===null||_===void 0)&&_.isScrollingToNegative?-S:S),s.contentWrapperEl[s.axis[s.draggedAxis].scrollOffsetAttr]=S}},this.onEndDrag=function(r){s.isDragging=!1;var n=ts(s.el),o=ie(s.el);r.preventDefault(),r.stopPropagation(),ne(s.el,s.classNames.dragging),s.onStopScrolling(),n.removeEventListener("mousemove",s.drag,!0),n.removeEventListener("mouseup",s.onEndDrag,!0),s.removePreventClickId=o.setTimeout(function(){n.removeEventListener("click",s.preventClick,!0),n.removeEventListener("dblclick",s.preventClick,!0),s.removePreventClickId=null})},this.preventClick=function(r){r.preventDefault(),r.stopPropagation()},this.el=e,this.options=Me(Me({},i.defaultOptions),t),this.classNames=Me(Me({},i.defaultOptions.classNames),t.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=vd(this._onMouseMove,64),this.onWindowResize=yt(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=yt(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=yt(this._onMouseEntered,this.stopScrollDelay),this.init()}return i.getRtlHelpers=function(){if(i.rtlHelpers)return i.rtlHelpers;var e=document.createElement("div");e.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var t=e.firstElementChild,s=t==null?void 0:t.firstElementChild;if(!s)return null;document.body.appendChild(t),t.scrollLeft=0;var r=i.getOffset(t),n=i.getOffset(s);t.scrollLeft=-999;var o=i.getOffset(s);return document.body.removeChild(t),i.rtlHelpers={isScrollOriginAtZero:r.left!==n.left,isScrollingToNegative:n.left!==o.left},i.rtlHelpers},i.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Si()}catch{return Si()}},i.getOffset=function(e){var t=e.getBoundingClientRect(),s=ts(e),r=ie(e);return{top:t.top+(r.pageYOffset||s.documentElement.scrollTop),left:t.left+(r.pageXOffset||s.documentElement.scrollLeft)}},i.prototype.init=function(){Cs&&(this.initDOM(),this.rtlHelpers=i.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},i.prototype.initDOM=function(){var e,t;this.wrapperEl=this.el.querySelector($(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector($(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector($(this.classNames.contentEl)),this.offsetEl=this.el.querySelector($(this.classNames.offset)),this.maskEl=this.el.querySelector($(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,$(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector($(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector($(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat($(this.classNames.track)).concat($(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat($(this.classNames.track)).concat($(this.classNames.vertical))),this.axis.x.scrollbar.el=((e=this.axis.x.track.el)===null||e===void 0?void 0:e.querySelector($(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((t=this.axis.y.track.el)===null||t===void 0?void 0:t.querySelector($(this.classNames.scrollbar)))||null,this.options.autoHide||(re(this.axis.x.scrollbar.el,this.classNames.visible),re(this.axis.y.scrollbar.el,this.classNames.visible))},i.prototype.initListeners=function(){var e=this,t,s=ie(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(t=this.contentWrapperEl)===null||t===void 0||t.addEventListener("scroll",this.onScroll),s.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var r=!1,n=s.ResizeObserver||ResizeObserver;this.resizeObserver=new n(function(){r&&s.requestAnimationFrame(function(){e.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),s.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new s.MutationObserver(function(){s.requestAnimationFrame(function(){e.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},i.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var e=ie(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var t=this.contentEl.offsetWidth,s=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||t>0,n=this.contentWrapperEl.offsetWidth,o=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var l=this.contentEl.scrollHeight,u=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=s?"auto":"100%",this.placeholderEl.style.width=r?"".concat(t||u,"px"):"auto",this.placeholderEl.style.height="".concat(l,"px");var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=t!==0&&u>t,this.axis.y.isOverflowing=l>c,this.axis.x.isOverflowing=o==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=a==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var h=this.axis.x.isOverflowing?this.scrollbarWidth:0,p=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&u>n-p,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>c-h,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},i.prototype.getScrollbarSize=function(e){var t,s;if(e===void 0&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var r=this.contentEl[this.axis[e].scrollSizeAttr],n=(s=(t=this.axis[e].track.el)===null||t===void 0?void 0:t[this.axis[e].offsetSizeAttr])!==null&&s!==void 0?s:0,o=n/r,a;return a=Math.max(~~(o*n),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(a=Math.min(a,this.options.scrollbarMaxSize)),a},i.prototype.positionScrollbar=function(e){var t,s,r;e===void 0&&(e="y");var n=this.axis[e].scrollbar;if(!(!this.axis[e].isOverflowing||!this.contentWrapperEl||!n.el||!this.elStyles)){var o=this.contentWrapperEl[this.axis[e].scrollSizeAttr],a=((t=this.axis[e].track.el)===null||t===void 0?void 0:t[this.axis[e].offsetSizeAttr])||0,l=parseInt(this.elStyles[this.axis[e].sizeAttr],10),u=this.contentWrapperEl[this.axis[e].scrollOffsetAttr];u=e==="x"&&this.isRtl&&(!((s=i.getRtlHelpers())===null||s===void 0)&&s.isScrollOriginAtZero)?-u:u,e==="x"&&this.isRtl&&(u=!((r=i.getRtlHelpers())===null||r===void 0)&&r.isScrollingToNegative?u:-u);var c=u/(o-l),h=~~((a-n.size)*c);h=e==="x"&&this.isRtl?-h+(a-n.size):h,n.el.style.transform=e==="x"?"translate3d(".concat(h,"px, 0, 0)"):"translate3d(0, ".concat(h,"px, 0)")}},i.prototype.toggleTrackVisibility=function(e){e===void 0&&(e="y");var t=this.axis[e].track.el,s=this.axis[e].scrollbar.el;!t||!s||!this.contentWrapperEl||(this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?s.style.display="block":s.style.display="none")},i.prototype.showScrollbar=function(e){e===void 0&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(re(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},i.prototype.hideScrollbar=function(e){e===void 0&&(e="y"),!this.isDragging&&this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(ne(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},i.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},i.prototype.onMouseMoveForAxis=function(e){e===void 0&&(e="y");var t=this.axis[e];!t.track.el||!t.scrollbar.el||(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(e),re(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?re(t.scrollbar.el,this.classNames.hover):ne(t.scrollbar.el,this.classNames.hover)):(ne(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},i.prototype.onMouseLeaveForAxis=function(e){e===void 0&&(e="y"),ne(this.axis[e].track.el,this.classNames.hover),ne(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},i.prototype.onDragStart=function(e,t){var s;t===void 0&&(t="y"),this.isDragging=!0;var r=ts(this.el),n=ie(this.el),o=this.axis[t].scrollbar,a=t==="y"?e.pageY:e.pageX;this.axis[t].dragOffset=a-(((s=o.rect)===null||s===void 0?void 0:s[this.axis[t].offsetAttr])||0),this.draggedAxis=t,re(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(n.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},i.prototype.onTrackClick=function(e,t){var s=this,r,n,o,a;t===void 0&&(t="y");var l=this.axis[t];if(!(!this.options.clickOnTrack||!l.scrollbar.el||!this.contentWrapperEl)){e.preventDefault();var u=ie(this.el);this.axis[t].scrollbar.rect=l.scrollbar.el.getBoundingClientRect();var c=this.axis[t].scrollbar,h=(n=(r=c.rect)===null||r===void 0?void 0:r[this.axis[t].offsetAttr])!==null&&n!==void 0?n:0,p=parseInt((a=(o=this.elStyles)===null||o===void 0?void 0:o[this.axis[t].sizeAttr])!==null&&a!==void 0?a:"0px",10),f=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],y=t==="y"?this.mouseY-h:this.mouseX-h,_=y<0?-1:1,v=_===-1?f-p:f+p,b=40,T=function(){s.contentWrapperEl&&(_===-1?f>v&&(f-=b,s.contentWrapperEl[s.axis[t].scrollOffsetAttr]=f,u.requestAnimationFrame(T)):f<v&&(f+=b,s.contentWrapperEl[s.axis[t].scrollOffsetAttr]=f,u.requestAnimationFrame(T)))};T()}},i.prototype.getContentElement=function(){return this.contentEl},i.prototype.getScrollElement=function(){return this.contentWrapperEl},i.prototype.removeListeners=function(){var e=ie(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},i.prototype.unMount=function(){this.removeListeners()},i.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},i.prototype.findChild=function(e,t){var s=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(r){return s.call(r,t)})[0]},i.rtlHelpers=null,i.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},i.getOptions=bd,i.helpers=Ed,i}(),ds=function(i,e){return ds=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,s){t.__proto__=s}||function(t,s){for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(t[r]=s[r])},ds(i,e)};function yd(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");ds(i,e);function t(){this.constructor=i}i.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var ks=At.helpers,ss=ks.getOptions,F=ks.addClasses,Ad=ks.canUseDOM,kt=function(i){yd(e,i);function e(){for(var t=[],s=0;s<arguments.length;s++)t[s]=arguments[s];var r=i.apply(this,t)||this;return e.instances.set(t[0],r),r}return e.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t){t.getAttribute("data-simplebar")!=="init"&&!e.instances.has(t)&&new e(t,ss(t.attributes))})},e.removeObserver=function(){var t;(t=e.globalObserver)===null||t===void 0||t.disconnect()},e.prototype.initDOM=function(){var t=this,s,r,n;if(!Array.prototype.filter.call(this.el.children,function(l){return l.classList.contains(t.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),F(this.wrapperEl,this.classNames.wrapper),F(this.contentWrapperEl,this.classNames.contentWrapper),F(this.offsetEl,this.classNames.offset),F(this.maskEl,this.classNames.mask),F(this.contentEl,this.classNames.contentEl),F(this.placeholderEl,this.classNames.placeholder),F(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),F(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(s=this.contentWrapperEl)===null||s===void 0||s.setAttribute("tabindex",this.options.tabIndex.toString()),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("role","region"),(n=this.contentWrapperEl)===null||n===void 0||n.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var o=document.createElement("div"),a=document.createElement("div");F(o,this.classNames.track),F(a,this.classNames.scrollbar),o.appendChild(a),this.axis.x.track.el=o.cloneNode(!0),F(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=o.cloneNode(!0),F(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}At.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},e.prototype.unMount=function(){At.prototype.unMount.call(this),e.instances.delete(this.el)},e.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(e.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},e.handleMutations=function(t){t.forEach(function(s){s.addedNodes.forEach(function(r){r.nodeType===1&&(r.hasAttribute("data-simplebar")?!e.instances.has(r)&&document.documentElement.contains(r)&&new e(r,ss(r.attributes)):r.querySelectorAll("[data-simplebar]").forEach(function(n){n.getAttribute("data-simplebar")!=="init"&&!e.instances.has(n)&&document.documentElement.contains(n)&&new e(n,ss(n.attributes))}))}),s.removedNodes.forEach(function(r){var n;r.nodeType===1&&(r.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(r)&&((n=e.instances.get(r))===null||n===void 0||n.unMount()):Array.prototype.forEach.call(r.querySelectorAll('[data-simplebar="init"]'),function(o){var a;!document.documentElement.contains(o)&&((a=e.instances.get(o))===null||a===void 0||a.unMount())}))})})},e.instances=new WeakMap,e}(At);Ad&&kt.initHtmlApi();let Oi=!1,Li;class Ci{static run(e,t={}){let s={"bs-tooltip":()=>this.bsTooltip(),"bs-popover":()=>this.bsPopover(),"dm-toggle-class":()=>this.dmToggleClass(),"dm-year-copy":()=>this.dmYearCopy(),"dm-ripple":()=>this.dmRipple(),"dm-print":()=>this.dmPrint(),"dm-table-tools-sections":()=>this.dmTableToolsSections(),"dm-table-tools-checkable":()=>this.dmTableToolsCheckable(),"js-ckeditor5":()=>this.jsCkeditor5(),"js-simplemde":()=>this.jsSimpleMDE(),"js-highlightjs":()=>this.jsHighlightjs(),"js-flatpickr":()=>this.jsFlatpickr(),"jq-appear":()=>this.jqAppear(),"jq-magnific-popup":()=>this.jqMagnific(),"jq-slick":()=>this.jqSlick(),"jq-datepicker":()=>this.jqDatepicker(),"jq-masked-inputs":()=>this.jqMaskedInputs(),"jq-select2":()=>this.jqSelect2(),"jq-notify":r=>this.jqNotify(r),"jq-easy-pie-chart":()=>this.jqEasyPieChart(),"jq-maxlength":()=>this.jqMaxlength(),"jq-rangeslider":()=>this.jqRangeslider(),"jq-pw-strength":()=>this.jqPwStrength(),"jq-sparkline":()=>this.jqSparkline(),"jq-validation":()=>this.jqValidation()};if(e instanceof Array)for(let r in e)s[e[r]]&&s[e[r]](t);else s[e]&&s[e](t)}static bsTooltip(){let e=[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]:not(.js-bs-tooltip-enabled), .js-bs-tooltip:not(.js-bs-tooltip-enabled)'));window.helperBsTooltips=e.map(t=>(t.classList.add("js-bs-tooltip-enabled"),new bootstrap.Tooltip(t,{container:t.dataset.bsContainer||"#page-container",animation:!!(t.dataset.bsAnimation&&t.dataset.bsAnimation.toLowerCase()=="true")})))}static bsPopover(){let e=[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]:not(.js-bs-popover-enabled), .js-bs-popover:not(.js-bs-popover-enabled)'));window.helperBsPopovers=e.map(t=>(t.classList.add("js-bs-popover-enabled"),new bootstrap.Popover(t,{container:t.dataset.bsContainer||"#page-container",animation:!!(t.dataset.bsAnimation&&t.dataset.bsAnimation.toLowerCase()=="true"),trigger:t.dataset.bsTrigger||"hover focus"})))}static dmToggleClass(){document.querySelectorAll('[data-toggle="class-toggle"]:not(.js-class-toggle-enabled), .js-class-toggle:not(.js-class-toggle-enabled)').forEach(t=>{t.addEventListener("click",()=>{t.classList.add("js-class-toggle-enabled");let s=t.dataset.class?t.dataset.class.split(" "):!1;document.querySelectorAll(t.dataset.target).forEach(r=>{s&&s.forEach(n=>{r.classList.toggle(n)})})})})}static dmYearCopy(){document.querySelectorAll('[data-toggle="year-copy"]:not(.js-year-copy-enabled)').forEach(t=>{let r=new Date().getFullYear(),n=t.textContent||r;t.classList.add("js-year-copy-enabled"),t.textContent=parseInt(n)>=r?r:n+"-"+r.toString().substr(2,2)})}static dmRipple(){document.querySelectorAll('[data-toggle="click-ripple"]:not(.js-click-ripple-enabled)').forEach(t=>{t.classList.add("js-click-ripple-enabled"),t.style.overflow="hidden",t.style.position="relative",t.style.zIndex=1,t.addEventListener("click",s=>{let r="click-ripple",n=t.querySelector("."+r),o,a,l;if(n)n.classList.remove("animate");else{let u=document.createElement("span");u.classList.add(r),t.insertBefore(u,t.firstChild)}n=t.querySelector("."+r),(getComputedStyle(n).height==="0px"||getComputedStyle(n).width==="0px")&&(o=Math.max(t.offsetWidth,t.offsetHeight),n.style.height=o+"px",n.style.width=o+"px"),a=s.pageX-(t.getBoundingClientRect().left+window.scrollX)-parseFloat(getComputedStyle(n).width.replace("px",""))/2,l=s.pageY-(t.getBoundingClientRect().top+window.scrollY)-parseFloat(getComputedStyle(n).height.replace("px",""))/2,n.style.top=l+"px",n.style.left=a+"px",n.classList.add("animate")})})}static dmPrint(){let e=document.getElementById("page-container"),t=e.className;console.log(t),e.classList="",window.print(),e.classList=t}static dmTableToolsSections(){document.querySelectorAll(".js-table-sections:not(.js-table-sections-enabled)").forEach(t=>{t.classList.add("js-table-sections-enabled"),t.querySelectorAll(".js-table-sections-header > tr").forEach(s=>{s.addEventListener("click",r=>{if(r.target.type!=="checkbox"&&r.target.type!=="button"&&r.target.tagName.toLowerCase()!=="a"&&r.target.parentNode.nodeName.toLowerCase()!=="a"&&r.target.parentNode.nodeName.toLowerCase()!=="button"&&r.target.parentNode.nodeName.toLowerCase()!=="label"&&!r.target.parentNode.classList.contains("custom-control")){let n=s.parentNode,o=t.querySelectorAll("tbody");n.classList.contains("show")||o&&o.forEach(a=>{a.classList.remove("show"),a.classList.remove("table-active")}),n.classList.toggle("show"),n.classList.toggle("table-active")}})})})}static dmTableToolsCheckable(){document.querySelectorAll(".js-table-checkable:not(.js-table-checkable-enabled)").forEach(t=>{t.classList.add("js-table-checkable-enabled"),t.querySelector("thead input[type=checkbox]").addEventListener("click",s=>{t.querySelectorAll("tbody input[type=checkbox]").forEach(r=>{r.checked=s.currentTarget.checked,this.tableToolscheckRow(r,s.currentTarget.checked)})}),t.querySelectorAll("tbody input[type=checkbox], tbody input + label").forEach(s=>{s.addEventListener("click",r=>{let n=t.querySelector("thead input[type=checkbox]");s.checked?t.querySelectorAll("tbody input[type=checkbox]:checked").length===t.querySelectorAll("tbody input[type=checkbox]").length&&(n.checked=!0):n.checked=!1,this.tableToolscheckRow(s,s.checked)})}),t.querySelectorAll("tbody > tr").forEach(s=>{s.addEventListener("click",r=>{if(r.target.type!=="checkbox"&&r.target.type!=="button"&&r.target.tagName.toLowerCase()!=="a"&&r.target.parentNode.nodeName.toLowerCase()!=="a"&&r.target.parentNode.nodeName.toLowerCase()!=="button"&&r.target.parentNode.nodeName.toLowerCase()!=="label"&&!r.target.parentNode.classList.contains("custom-control")){let n=t.querySelector("thead input[type=checkbox]"),o=r.currentTarget.querySelector("input[type=checkbox]");o.checked=!o.checked,this.tableToolscheckRow(o,o.checked),o.checked?t.querySelectorAll("tbody input[type=checkbox]:checked").length===t.querySelectorAll("tbody input[type=checkbox]").length&&(n.checked=!0):n.checked=!1}})})})}static tableToolscheckRow(e,t){t?e.closest("tr").classList.add("table-active"):e.closest("tr").classList.remove("table-active")}static jsCkeditor5(){let e=document.querySelector("#js-ckeditor5-inline"),t=document.querySelector("#js-ckeditor5-classic");e&&InlineEditor.create(document.querySelector("#js-ckeditor5-inline")).then(s=>{window.editor=s}).catch(s=>{console.error("There was a problem initializing the inline editor.",s)}),t&&ClassicEditor.create(document.querySelector("#js-ckeditor5-classic")).then(s=>{window.editor=s}).catch(s=>{console.error("There was a problem initializing the classic editor.",s)})}static jsSimpleMDE(){let e=document.querySelectorAll(".js-simplemde");e.forEach(t=>{new SimpleMDE({element:t,autoDownloadFontAwesome:!1})}),e&&(document.querySelector(".editor-toolbar > a.fa-header").classList.replace("fa-header","fa-heading"),document.querySelector(".editor-toolbar > a.fa-picture-o").classList.replace("fa-picture-o","fa-image"))}static jsHighlightjs(){hljs.isHighlighted||hljs.initHighlighting()}static jsFlatpickr(){document.querySelectorAll(".js-flatpickr:not(.js-flatpickr-enabled)").forEach(t=>{t.classList.add("js-flatpickr-enabled"),flatpickr(t)})}static jqAppear(){jQuery('[data-toggle="appear"]:not(.js-appear-enabled)').each((e,t)=>{let s=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,r=jQuery(t),n=r.data("class")||"animated fadeIn",o=r.data("offset")||0,a=s<992?0:r.data("timeout")?r.data("timeout"):0;r.addClass("js-appear-enabled").appear(()=>{setTimeout(()=>{r.removeClass("invisible").addClass(n)},a)},{accY:o})})}static jqMagnific(){jQuery(".js-gallery:not(.js-gallery-enabled)").each((e,t)=>{jQuery(t).addClass("js-gallery-enabled").magnificPopup({delegate:"a.img-lightbox",type:"image",gallery:{enabled:!0}})})}static jqSlick(){jQuery(".js-slider:not(.js-slider-enabled)").each((e,t)=>{let s=jQuery(t);s.addClass("js-slider-enabled").slick({arrows:s.data("arrows")||!1,dots:s.data("dots")||!1,slidesToShow:s.data("slides-to-show")||1,centerMode:s.data("center-mode")||!1,autoplay:s.data("autoplay")||!1,autoplaySpeed:s.data("autoplay-speed")||3e3,infinite:typeof s.data("infinite")>"u"?!0:s.data("infinite")})})}static jqDatepicker(){jQuery(".js-datepicker:not(.js-datepicker-enabled)").add(".input-daterange:not(.js-datepicker-enabled)").each((e,t)=>{let s=jQuery(t);s.addClass("js-datepicker-enabled").datepicker({weekStart:s.data("week-start")||0,autoclose:s.data("autoclose")||!1,todayHighlight:s.data("today-highlight")||!1,startDate:s.data("start-date")||!1,container:s.data("container")||"#page-container",orientation:"bottom"})})}static jqMaskedInputs(){jQuery(".js-masked-date:not(.js-masked-enabled)").mask("99/99/9999"),jQuery(".js-masked-date-dash:not(.js-masked-enabled)").mask("99-99-9999"),jQuery(".js-masked-phone:not(.js-masked-enabled)").mask("(999) 999-9999"),jQuery(".js-masked-phone-ext:not(.js-masked-enabled)").mask("(999) 999-9999? x99999"),jQuery(".js-masked-taxid:not(.js-masked-enabled)").mask("99-9999999"),jQuery(".js-masked-ssn:not(.js-masked-enabled)").mask("999-99-9999"),jQuery(".js-masked-pkey:not(.js-masked-enabled)").mask("a*-999-a999"),jQuery(".js-masked-time:not(.js-masked-enabled)").mask("99:99"),jQuery(".js-masked-date").add(".js-masked-date-dash").add(".js-masked-phone").add(".js-masked-phone-ext").add(".js-masked-taxid").add(".js-masked-ssn").add(".js-masked-pkey").add(".js-masked-time").addClass("js-masked-enabled")}static jqSelect2(){jQuery(".js-select2:not(.js-select2-enabled)").each((e,t)=>{let s=jQuery(t);s.addClass("js-select2-enabled").select2({placeholder:s.data("placeholder")||!1,dropdownParent:document.querySelector(s.data("container")||"#page-container")})})}static jqNotify(e={}){jQuery.isEmptyObject(e)?jQuery(".js-notify:not(.js-notify-enabled)").each((t,s)=>{jQuery(s).addClass("js-notify-enabled").on("click.pixelcave.helpers",r=>{let n=jQuery(r.currentTarget);jQuery.notify({icon:n.data("icon")||"",message:n.data("message"),url:n.data("url")||""},{element:"body",type:n.data("type")||"info",placement:{from:n.data("from")||"top",align:n.data("align")||"right"},allow_dismiss:!0,newest_on_top:!0,showProgressbar:!1,offset:20,spacing:10,z_index:1033,delay:5e3,timer:1e3,animate:{enter:"animated fadeIn",exit:"animated fadeOutDown"},template:`<div data-notify="container" class="col-11 col-sm-4 alert alert-{0} alert-dismissible" role="alert">
|
|
<p class="mb-0">
|
|
<span data-notify="icon"></span>
|
|
<span data-notify="title">{1}</span>
|
|
<span data-notify="message">{2}</span>
|
|
</p>
|
|
<div class="progress" data-notify="progressbar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">
|
|
<div class="progress-bar progress-bar-{0}" style="width: 0%;"></div>
|
|
</div>
|
|
<a href="{3}" target="{4}" data-notify="url"></a>
|
|
<a class="p-2 m-1 text-dark" href="javascript:void(0)" aria-label="Close" data-notify="dismiss">
|
|
<i class="fa fa-times"></i>
|
|
</a>
|
|
</div>`})})}):jQuery.notify({icon:e.icon||"",message:e.message,url:e.url||""},{element:e.element||"body",type:e.type||"info",placement:{from:e.from||"top",align:e.align||"right"},allow_dismiss:e.allow_dismiss!==!1,newest_on_top:e.newest_on_top!==!1,showProgressbar:!!e.show_progress_bar,offset:e.offset||20,spacing:e.spacing||10,z_index:e.z_index||1033,delay:e.delay||5e3,timer:e.timer||1e3,animate:{enter:e.animate_enter||"animated fadeIn",exit:e.animate_exit||"animated fadeOutDown"},template:`<div data-notify="container" class="col-11 col-sm-4 alert alert-{0} alert-dismissible" role="alert">
|
|
<p class="mb-0">
|
|
<span data-notify="icon"></span>
|
|
<span data-notify="title">{1}</span>
|
|
<span data-notify="message">{2}</span>
|
|
</p>
|
|
<div class="progress" data-notify="progressbar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">
|
|
<div class="progress-bar progress-bar-{0}" style="width: 0%;"></div>
|
|
</div>
|
|
<a href="{3}" target="{4}" data-notify="url"></a>
|
|
<a class="p-2 m-1 text-dark" href="javascript:void(0)" aria-label="Close" data-notify="dismiss">
|
|
<i class="fa fa-times"></i>
|
|
</a>
|
|
</div>`})}static jqEasyPieChart(){jQuery(".js-pie-chart:not(.js-pie-chart-enabled)").each((e,t)=>{let s=jQuery(t);s.addClass("js-pie-chart-enabled").easyPieChart({barColor:s.data("bar-color")||"#777777",trackColor:s.data("track-color")||"#eeeeee",lineWidth:s.data("line-width")||3,size:s.data("size")||"80",animate:s.data("animate")||750,scaleColor:s.data("scale-color")||!1})})}static jqMaxlength(){jQuery(".js-maxlength:not(.js-maxlength-enabled)").each((e,t)=>{let s=jQuery(t);s.addClass("js-maxlength-enabled").maxlength({alwaysShow:!!s.data("always-show"),threshold:s.data("threshold")||10,warningClass:s.data("warning-class")||"badge bg-warning",limitReachedClass:s.data("limit-reached-class")||"badge bg-danger",placement:s.data("placement")||"bottom",preText:s.data("pre-text")||"",separator:s.data("separator")||"/",postText:s.data("post-text")||""})})}static jqRangeslider(){jQuery(".js-rangeslider:not(.js-rangeslider-enabled)").each((e,t)=>{let s=jQuery(t);jQuery(t).addClass("js-rangeslider-enabled").ionRangeSlider({input_values_separator:";",skin:s.data("skin")||"round"})})}static jqPwStrength(){jQuery(".js-pw-strength:not(.js-pw-strength-enabled)").each((e,t)=>{let s=jQuery(t),r=s.parents(".js-pw-strength-container"),n=jQuery(".js-pw-strength-progress",r),o=jQuery(".js-pw-strength-feedback",r);s.addClass("js-pw-strength-enabled").pwstrength({ui:{container:r,viewports:{progress:n,verdict:o}}})})}static jqSparkline(){let e=this;jQuery(".js-sparkline:not(.js-sparkline-enabled)").each((t,s)=>{let r=jQuery(s),n=r.data("type"),o={},a={line:()=>{o.type=n,o.lineWidth=r.data("line-width")||2,o.lineColor=r.data("line-color")||"#0665d0",o.fillColor=r.data("fill-color")||"#0665d0",o.spotColor=r.data("spot-color")||"#495057",o.minSpotColor=r.data("min-spot-color")||"#495057",o.maxSpotColor=r.data("max-spot-color")||"#495057",o.highlightSpotColor=r.data("highlight-spot-color")||"#495057",o.highlightLineColor=r.data("highlight-line-color")||"#495057",o.spotRadius=r.data("spot-radius")||2,o.tooltipFormat="{{prefix}}{{y}}{{suffix}}"},bar:()=>{o.type=n,o.barWidth=r.data("bar-width")||8,o.barSpacing=r.data("bar-spacing")||6,o.barColor=r.data("bar-color")||"#0665d0",o.tooltipFormat="{{prefix}}{{value}}{{suffix}}"},pie:()=>{o.type=n,o.sliceColors=["#fadb7d","#faad7d","#75b0eb","#abe37d"],o.highlightLighten=r.data("highlight-lighten")||1.1,o.tooltipFormat="{{prefix}}{{value}}{{suffix}}"},tristate:()=>{o.type=n,o.barWidth=r.data("bar-width")||8,o.barSpacing=r.data("bar-spacing")||6,o.posBarColor=r.data("pos-bar-color")||"#82b54b",o.negBarColor=r.data("neg-bar-color")||"#e04f1a"}};a[n]?(a[n](),n==="line"&&((r.data("chart-range-min")>=0||r.data("chart-range-min"))&&(o.chartRangeMin=r.data("chart-range-min")),(r.data("chart-range-max")>=0||r.data("chart-range-max"))&&(o.chartRangeMax=r.data("chart-range-max"))),o.width=r.data("width")||"120px",o.height=r.data("height")||"80px",o.tooltipPrefix=r.data("tooltip-prefix")?r.data("tooltip-prefix")+" ":"",o.tooltipSuffix=r.data("tooltip-suffix")?" "+r.data("tooltip-suffix"):"",o.width==="100%"?Oi||(Oi=!0,jQuery(window).on("resize.pixelcave.helpers.sparkline",function(l){clearTimeout(Li),Li=setTimeout(()=>{e.sparkline()},500)})):jQuery(s).addClass("js-sparkline-enabled"),jQuery(s).sparkline(r.data("points")||[0],o)):console.log("[jQuery Sparkline JS Helper] Please add a correct type (line, bar, pie or tristate) in all your elements with 'js-sparkline' class.")})}static jqValidation(){jQuery.validator.setDefaults({errorClass:"invalid-feedback animated fadeIn",errorElement:"div",errorPlacement:(e,t)=>{jQuery(t).addClass("is-invalid"),jQuery(t).parents("div:not(.input-group)").first().append(e)},highlight:e=>{jQuery(e).parents("div:not(.input-group)").first().find(".is-invalid").removeClass("is-invalid").addClass("is-invalid")},success:e=>{jQuery(e).parents("div:not(.input-group)").first().find(".is-invalid").removeClass("is-invalid"),jQuery(e).remove()}}),jQuery.validator.addMethod("emailWithDot",function(e,t){let s=/^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;return this.optional(t)||s.test(e)},"Please enter a valid email address")}}window.bootstrap=zc;window.SimpleBar=kt;class wd{constructor(e){this.onLoad(()=>this._uiInit(e))}_uiInit(e){this._lHtml=document.documentElement,this._lBody=document.body,this._lpageLoader=document.getElementById("page-loader"),this._lPage=document.getElementById("page-container"),this._lSidebar=document.getElementById("sidebar"),this._lSidebarScrollCon=this._lSidebar&&this._lSidebar.querySelector(".js-sidebar-scroll"),this._lSideOverlay=document.getElementById("side-overlay"),this._lResize=!1,this._lHeader=document.getElementById("page-header"),this._lHeaderSearch=document.getElementById("page-header-search"),this._lHeaderSearchInput=document.getElementById("page-header-search-input"),this._lHeaderLoader=document.getElementById("page-header-loader"),this._lMain=document.getElementById("main-container"),this._lFooter=document.getElementById("page-footer"),this._darkMode=(e==null?void 0:e.darkMode)||"system",this._lSidebarScroll=!1,this._lSideOverlayScroll=!1,this._uiHandleTheme(),this._uiHandleDarkMode(),this._uiHandleSidebars(),this._uiHandleHeader(),this._uiHandleNav(),this._uiApiLayout(),this._uiApiBlocks(),this.helpers(["bs-tooltip","bs-popover","dm-toggle-class","dm-year-copy","dm-ripple"]),this._uiHandlePageLoader()}_uiHandleSidebars(e="init"){let t=this;(t._lSidebar||t._lSideOverlay)&&(e==="init"?(t._lPage.classList.add("side-trans-enabled"),window.addEventListener("resize",()=>{clearTimeout(t._lResize),t._lPage.classList.remove("side-trans-enabled"),t._lResize=setTimeout(()=>{t._lPage.classList.add("side-trans-enabled")},500)}),this._uiHandleSidebars("custom-scroll")):(e="custom-scroll")&&t._lPage.classList.contains("side-scroll")&&(t._lSidebar&&!t._lSidebarScroll&&(t._lSidebarScroll=new kt(t._lSidebarScrollCon)),t._lSideOverlay&&!t._lSideOverlayScroll&&(t._lSideOverlayScroll=new kt(t._lSideOverlay))))}_uiHandleHeader(){let e=this;e._lPage.classList.contains("page-header-glass")&&e._lPage.classList.contains("page-header-fixed")&&(window.addEventListener("scroll",t=>{window.scrollY>60?e._lPage.classList.add("page-header-scroll"):e._lPage.classList.remove("page-header-scroll")}),window.dispatchEvent(new CustomEvent("scroll")))}_uiHandleNav(){let e=document.querySelectorAll('[data-toggle="submenu"]');e&&e.forEach(t=>{t.addEventListener("click",s=>{s.preventDefault();let r=t.closest(".nav-main");if(!((window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)>991&&r.classList.contains("nav-main-horizontal")&&r.classList.contains("nav-main-hover"))){let n=t.closest("li");n.classList.contains("open")?(n.classList.remove("open"),t.setAttribute("aria-expanded","false")):(Array.from(t.closest("ul").children).forEach(o=>{o.classList.remove("open")}),n.classList.add("open"),t.setAttribute("aria-expanded","true"))}return!1})})}_uiHandlePageLoader(e="hide",t){if(e==="show")if(this._lpageLoader)t&&(this._lpageLoader.className="",this._lpageLoader.classList.add(t)),this._lpageLoader.classList.add("show");else{let s=document.createElement("div");s.id="page-loader",t&&s.classList.add(t),s.classList.add("show"),this._lPage.insertBefore(s,this._lPage.firstChild),this._lpageLoader=document.getElementById("page-loader")}else e==="hide"&&this._lpageLoader&&this._lpageLoader.classList.remove("show")}_uiHandleDarkMode(e){let t=this,s=!t._lHtml.classList.contains("dark-custom-defined"),r=document.querySelector('[data-dark-mode="off"]'),n=document.querySelector('[data-dark-mode="on"]'),o=document.querySelector('[data-dark-mode="system"]'),a=document.querySelector("[data-dark-mode-icon]");if(["on","off","system"].includes(e))e==="on"?(t._lHtml.classList.add("dark"),t._darkMode="on",s&&localStorage.setItem("dashmixDarkMode","on"),r==null||r.classList.remove("active"),n==null||n.classList.add("active"),o==null||o.classList.remove("active"),a&&(a.className="fa fa-fw fa-moon")):e==="off"?(t._lHtml.classList.remove("dark"),t._darkMode="off",s&&localStorage.setItem("dashmixDarkMode","off"),r==null||r.classList.add("active"),n==null||n.classList.remove("active"),o==null||o.classList.remove("active"),a&&(a.className="far fa-fw fa-moon")):e==="system"&&(window.matchMedia("(prefers-color-scheme: dark)").matches?(t._lHtml.classList.add("dark"),a&&(a.className="fa fa-fw fa-moon")):(t._lHtml.classList.remove("dark"),a&&(a.className="far fa-fw fa-moon")),t._darkMode="system",s&&localStorage.setItem("dashmixDarkMode","system"),r==null||r.classList.remove("active"),n==null||n.classList.remove("active"),o==null||o.classList.add("active"));else{let l="";s?l=localStorage.getItem("dashmixDarkMode")||t._darkMode:(localStorage.removeItem("dashmixDarkMode"),l=t._darkMode),l==="on"?t._uiHandleDarkMode("on"):l==="off"?t._uiHandleDarkMode("off"):l==="system"&&t._uiHandleDarkMode("system"),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",()=>{t._darkMode==="system"&&t._uiHandleDarkMode("system")})}}_uiHandleTheme(){let e=this,t=document.getElementById("css-theme"),s=this._lHtml.classList.contains("remember-theme");if(s){let r=localStorage.getItem("dashmixColorTheme")||!1;r&&e._uiUpdateTheme(t,r),t=document.getElementById("css-theme")}else localStorage.removeItem("dashmixColorTheme");document.querySelectorAll('[data-toggle="theme"][data-theme="'+(t?t.getAttribute("href"):"default")+'"]').forEach(r=>{r.classList.add("active")}),document.querySelectorAll('[data-toggle="theme"]').forEach(r=>{r.addEventListener("click",n=>{n.preventDefault();let o=r.dataset.theme;document.querySelectorAll('[data-toggle="theme"]').forEach(a=>{a.classList.remove("active")}),document.querySelector('[data-toggle="theme"][data-theme="'+o+'"]').classList.add("active"),e._uiUpdateTheme(t,o),t=document.getElementById("css-theme"),s&&localStorage.setItem("dashmixColorTheme",o)})})}_uiUpdateTheme(e,t){if(t==="default")e&&e.parentNode.removeChild(e);else if(e)e.setAttribute("href",t);else{let s=document.createElement("link");s.id="css-theme",s.setAttribute("rel","stylesheet"),s.setAttribute("href",t),document.getElementById("css-main").insertAdjacentElement("afterend",s)}}_uiApiLayout(e="init"){let t=this,s={init:()=>{let r=document.querySelectorAll('[data-toggle="layout"]');if(r&&r.forEach(n=>{n.addEventListener("click",o=>{t._uiApiLayout(n.dataset.action)})}),t._lPage.classList.contains("enable-page-overlay")){let n=document.createElement("div");n.id="page-overlay",t._lPage.insertBefore(n,t._lPage.firstChild),document.getElementById("page-overlay").addEventListener("click",o=>{t._uiApiLayout("side_overlay_close")})}},sidebar_pos_toggle:()=>{t._lPage.classList.toggle("sidebar-r")},sidebar_pos_left:()=>{t._lPage.classList.remove("sidebar-r")},sidebar_pos_right:()=>{t._lPage.classList.add("sidebar-r")},sidebar_toggle:()=>{window.innerWidth>991?t._lPage.classList.toggle("sidebar-o"):t._lPage.classList.toggle("sidebar-o-xs")},sidebar_open:()=>{window.innerWidth>991?t._lPage.classList.add("sidebar-o"):t._lPage.classList.add("sidebar-o-xs")},sidebar_close:()=>{window.innerWidth>991?t._lPage.classList.remove("sidebar-o"):t._lPage.classList.remove("sidebar-o-xs")},sidebar_mini_toggle:()=>{window.innerWidth>991&&t._lPage.classList.toggle("sidebar-mini")},sidebar_mini_on:()=>{window.innerWidth>991&&t._lPage.classList.add("sidebar-mini")},sidebar_mini_off:()=>{window.innerWidth>991&&t._lPage.classList.remove("sidebar-mini")},sidebar_style_toggle:()=>{t._lPage.classList.contains("sidebar-dark")?t._uiApiLayout("sidebar_style_light"):t._uiApiLayout("sidebar_style_dark")},sidebar_style_dark:()=>{t._lPage.classList.add("sidebar-dark")},sidebar_style_light:()=>{t._lPage.classList.remove("sidebar-dark")},side_overlay_toggle:()=>{t._lPage.classList.contains("side-overlay-o")?t._uiApiLayout("side_overlay_close"):t._uiApiLayout("side_overlay_open")},side_overlay_open:()=>{document.addEventListener("keydown",r=>{(r.key==="Esc"||r.key==="Escape")&&t._uiApiLayout("side_overlay_close")}),t._lPage.classList.add("side-overlay-o")},side_overlay_close:()=>{t._lPage.classList.remove("side-overlay-o")},side_overlay_mode_hover_toggle:()=>{t._lPage.classList.toggle("side-overlay-hover")},side_overlay_mode_hover_on:()=>{t._lPage.classList.add("side-overlay-hover")},side_overlay_mode_hover_off:()=>{t._lPage.classList.remove("side-overlay-hover")},header_glass_toggle:()=>{t._lPage.classList.toggle("page-header-glass"),t._uiHandleHeader()},header_glass_on:()=>{t._lPage.classList.add("page-header-glass"),t._uiHandleHeader()},header_glass_off:()=>{t._lPage.classList.remove("page-header-glass"),t._uiHandleHeader()},header_mode_toggle:()=>{t._lPage.classList.toggle("page-header-fixed")},header_mode_static:()=>{t._lPage.classList.remove("page-header-fixed")},header_mode_fixed:()=>{t._lPage.classList.add("page-header-fixed")},header_style_toggle:()=>{t._lPage.classList.contains("page-header-dark")?t._uiApiLayout("header_style_light"):t._uiApiLayout("header_style_dark")},header_style_dark:()=>{t._lPage.classList.add("page-header-dark")},header_style_light:()=>{t._lPage.classList.remove("page-header-dark")},header_search_on:()=>{t._lHeaderSearch.classList.add("show"),t._lHeaderSearchInput.focus(),document.addEventListener("keydown",r=>{(r.key==="Esc"||r.key==="Escape")&&t._uiApiLayout("header_search_off")})},header_search_off:()=>{t._lHeaderSearch.classList.remove("show"),t._lHeaderSearchInput.blur()},header_loader_on:()=>{t._lHeaderLoader.classList.add("show")},header_loader_off:()=>{t._lHeaderLoader.classList.remove("show")},dark_mode_toggle:()=>{t._lHtml.classList.contains("dark")?t._uiApiLayout("dark_mode_off"):t._uiApiLayout("dark_mode_on")},dark_mode_on:()=>{this._uiHandleDarkMode("on")},dark_mode_off:()=>{this._uiHandleDarkMode("off")},dark_mode_system:()=>{this._uiHandleDarkMode("system")},content_layout_toggle:()=>{t._lPage.classList.contains("main-content-boxed")?t._uiApiLayout("content_layout_narrow"):t._lPage.classList.contains("main-content-narrow")?t._uiApiLayout("content_layout_full_width"):t._uiApiLayout("content_layout_boxed")},content_layout_boxed:()=>{t._lPage.classList.remove("main-content-narrow"),t._lPage.classList.add("main-content-boxed")},content_layout_narrow:()=>{t._lPage.classList.remove("main-content-boxed"),t._lPage.classList.add("main-content-narrow")},content_layout_full_width:()=>{t._lPage.classList.remove("main-content-boxed"),t._lPage.classList.remove("main-content-narrow")}};s[e]&&s[e]()}_uiApiBlocks(e="init",t=!1){let s,r,n,o="si",a="si-size-fullscreen",l="si-size-actual",u="si-arrow-up",c="si-arrow-down",h={init:()=>{document.querySelectorAll('[data-toggle="block-option"][data-action="fullscreen_toggle"]').forEach(p=>{p.innerHTML='<i class="'+o+" "+(p.closest(".block").classList.contains("block-mode-fullscreen")?l:a)+'"></i>'}),document.querySelectorAll('[data-toggle="block-option"][data-action="content_toggle"]').forEach(p=>{p.innerHTML='<i class="'+o+" "+(p.closest(".block").classList.contains("block-mode-hidden")?c:u)+'"></i>'}),document.querySelectorAll('[data-toggle="block-option"]').forEach(p=>{p.addEventListener("click",f=>{this._uiApiBlocks(p.dataset.action,p.closest(".block"))})})},fullscreen_toggle:()=>{s.classList.remove("block-mode-pinned"),s.classList.toggle("block-mode-fullscreen"),r&&(s.classList.contains("block-mode-fullscreen")?r&&r.querySelector("i").classList.replace(a,l):r&&r.querySelector("i").classList.replace(l,a))},fullscreen_on:()=>{s.classList.remove("block-mode-pinned"),s.classList.add("block-mode-fullscreen"),r&&r.querySelector("i").classList.replace(a,l)},fullscreen_off:()=>{s.classList.remove("block-mode-fullscreen"),r&&r.querySelector("i").classList.replace(l,a)},content_toggle:()=>{s.classList.toggle("block-mode-hidden"),n&&(s.classList.contains("block-mode-hidden")?n.querySelector("i").classList.replace(u,c):n.querySelector("i").classList.replace(c,u))},content_hide:()=>{s.classList.add("block-mode-hidden"),n&&n.querySelector("i").classList.replace(u,c)},content_show:()=>{s.classList.remove("block-mode-hidden"),n&&n.querySelector("i").classList.replace(c,u)},state_toggle:()=>{s.classList.toggle("block-mode-loading"),s.querySelector('[data-toggle="block-option"][data-action="state_toggle"][data-action-mode="demo"]')&&setTimeout(()=>{s.classList.remove("block-mode-loading")},2e3)},state_loading:()=>{s.classList.add("block-mode-loading")},state_normal:()=>{s.classList.remove("block-mode-loading")},pinned_toggle:()=>{s.classList.remove("block-mode-fullscreen"),s.classList.toggle("block-mode-pinned")},pinned_on:()=>{s.classList.remove("block-mode-fullscreen"),s.classList.add("block-mode-pinned")},pinned_off:()=>{s.classList.remove("block-mode-pinned")},close:()=>{s.classList.add("d-none")},open:()=>{s.classList.remove("d-none")}};e==="init"?h[e]():(s=t instanceof Element?t:document.querySelector(`${t}`),s&&(r=s.querySelector('[data-toggle="block-option"][data-action="fullscreen_toggle"]'),n=s.querySelector('[data-toggle="block-option"][data-action="content_toggle"]'),h[e]&&h[e]()))}onLoad(e){document.readyState!="loading"?e():document.addEventListener("DOMContentLoaded",e)}init(){this._uiInit()}layout(e){this._uiApiLayout(e)}block(e,t){this._uiApiBlocks(e,t)}loader(e,t){this._uiHandlePageLoader(e,t)}helpers(e,t={}){Ci.run(e,t)}helpersOnLoad(e,t={}){this.onLoad(()=>Ci.run(e,t))}}class Td extends wd{constructor(e){super(e)}}window.Dashmix=new Td({darkMode:"system"});
|