!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Flowbite",[],e):"object"==typeof exports?exports.Flowbite=e():t.Flowbite=e()}(self,function(){return function(){"use strict";function t(n){var o=i[n];if(void 0!==o)return o.exports;var r=i[n]={exports:{}};return e[n].call(r.exports,r,r.exports,t),r.exports}var e={647:function(t,e,i){i.r(e)},853:function(t,e,i){function n(t){return t?(t.nodeName||"").toLowerCase():null}function o(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function r(t){return t instanceof o(t).Element||t instanceof Element}function s(t){return t instanceof o(t).HTMLElement||t instanceof HTMLElement}function a(t){return"undefined"!=typeof ShadowRoot&&(t instanceof o(t).ShadowRoot||t instanceof ShadowRoot)}function c(t){return t.split("-")[0]}function l(){var t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function d(){return!/^((?!chrome|android).)*safari/i.test(l())}function u(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),a=1,c=1;e&&s(t)&&(a=t.offsetWidth>0&&mt(n.width)/t.offsetWidth||1,c=t.offsetHeight>0&&mt(n.height)/t.offsetHeight||1);var l=(r(t)?o(t):window).visualViewport,u=!d()&&i,p=(n.left+(u&&l?l.offsetLeft:0))/a,h=(n.top+(u&&l?l.offsetTop:0))/c,f=n.width/a,v=n.height/c;return{width:f,height:v,top:h,right:p+f,bottom:h+v,left:p,x:p,y:h}}function p(t){var e=u(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function h(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&a(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function f(t){return o(t).getComputedStyle(t)}function v(t){return["table","td","th"].indexOf(n(t))>=0}function g(t){return((r(t)?t.ownerDocument:t.document)||window.document).documentElement}function m(t){return"html"===n(t)?t:t.assignedSlot||t.parentNode||(a(t)?t.host:null)||g(t)}function _(t){return s(t)&&"fixed"!==f(t).position?t.offsetParent:null}function y(t){for(var e=o(t),i=_(t);i&&v(i)&&"static"===f(i).position;)i=_(i);return i&&("html"===n(i)||"body"===n(i)&&"static"===f(i).position)?e:i||function(t){var e=/firefox/i.test(l());if(/Trident/i.test(l())&&s(t)&&"fixed"===f(t).position)return null;var i=m(t);for(a(i)&&(i=i.host);s(i)&&["html","body"].indexOf(n(i))<0;){var o=f(i);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||e&&"filter"===o.willChange||e&&o.filter&&"none"!==o.filter)return i;i=i.parentNode}return null}(t)||e}function E(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function b(t,e,i){return vt(t,gt(e,i))}function w(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function I(t,e){return e.reduce(function(e,i){return e[i]=t,e},{})}function L(t){return t.split("-")[1]}function k(t){var e,i=t.popper,n=t.popperRect,r=t.placement,s=t.variation,a=t.offsets,c=t.position,l=t.gpuAcceleration,d=t.adaptive,u=t.roundOffsets,p=t.isFixed,h=a.x,v=void 0===h?0:h,m=a.y,_=void 0===m?0:m,E="function"==typeof u?u({x:v,y:_}):{x:v,y:_};v=E.x,_=E.y;var b=a.hasOwnProperty("x"),w=a.hasOwnProperty("y"),I=X,L=K,k=window;if(d){var O=y(i),x="clientHeight",A="clientWidth";O===o(i)&&"static"!==f(O=g(i)).position&&"absolute"===c&&(x="scrollHeight",A="scrollWidth"),(r===K||(r===X||r===U)&&s===J)&&(L=N,_-=(p&&O===k&&k.visualViewport?k.visualViewport.height:O[x])-n.height,_*=l?1:-1),r!==X&&(r!==K&&r!==N||s!==J)||(I=U,v-=(p&&O===k&&k.visualViewport?k.visualViewport.width:O[A])-n.width,v*=l?1:-1)}var C,T=Object.assign({position:c},d&&yt),H=!0===u?function(t){var e=t.x,i=t.y,n=window.devicePixelRatio||1;return{x:mt(e*n)/n||0,y:mt(i*n)/n||0}}({x:v,y:_}):{x:v,y:_};return v=H.x,_=H.y,l?Object.assign({},T,((C={})[L]=w?"0":"",C[I]=b?"0":"",C.transform=(k.devicePixelRatio||1)<=1?"translate("+v+"px, "+_+"px)":"translate3d("+v+"px, "+_+"px, 0)",C)):Object.assign({},T,((e={})[L]=w?_+"px":"",e[I]=b?v+"px":"",e.transform="",e))}function O(t){return t.replace(/left|right|bottom|top/g,function(t){return It[t]})}function x(t){return t.replace(/start|end/g,function(t){return Lt[t]})}function A(t){var e=o(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function C(t){return u(g(t)).left+A(t).scrollLeft}function T(t){var e=f(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+o+n)}function H(t){return["html","body","#document"].indexOf(n(t))>=0?t.ownerDocument.body:s(t)&&T(t)?t:H(m(t))}function S(t,e){var i;void 0===e&&(e=[]);var n=H(t),r=n===(null==(i=t.ownerDocument)?void 0:i.body),s=o(n),a=r?[s].concat(s.visualViewport||[],T(n)?n:[]):n,c=e.concat(a);return r?c:c.concat(S(m(a)))}function P(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function D(t,e,i){return e===Z?P(function(t,e){var i=o(t),n=g(t),r=i.visualViewport,s=n.clientWidth,a=n.clientHeight,c=0,l=0;if(r){s=r.width,a=r.height;var u=d();(u||!u&&"fixed"===e)&&(c=r.offsetLeft,l=r.offsetTop)}return{width:s,height:a,x:c+C(t),y:l}}(t,i)):r(e)?function(t,e){var i=u(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):P(function(t){var e,i=g(t),n=A(t),o=null==(e=t.ownerDocument)?void 0:e.body,r=vt(i.scrollWidth,i.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=vt(i.scrollHeight,i.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-n.scrollLeft+C(t),c=-n.scrollTop;return"rtl"===f(o||i).direction&&(a+=vt(i.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:c}}(g(t)))}function j(t,e,i,o){var a="clippingParents"===e?function(t){var e=S(m(t)),i=["absolute","fixed"].indexOf(f(t).position)>=0&&s(t)?y(t):t;return r(i)?e.filter(function(t){return r(t)&&h(t,i)&&"body"!==n(t)}):[]}(t):[].concat(e),c=[].concat(a,[i]),l=c[0],d=c.reduce(function(e,i){var n=D(t,i,o);return e.top=vt(n.top,e.top),e.right=gt(n.right,e.right),e.bottom=gt(n.bottom,e.bottom),e.left=vt(n.left,e.left),e},D(t,l,o));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function z(t){var e,i=t.reference,n=t.element,o=t.placement,r=o?c(o):null,s=o?L(o):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(r){case K:e={x:a,y:i.y-n.height};break;case N:e={x:a,y:i.y+i.height};break;case U:e={x:i.x+i.width,y:l};break;case X:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var d=r?E(r):null;if(null!=d){var u="y"===d?"height":"width";switch(s){case $:e[d]=e[d]-(i[u]/2-n[u]/2);break;case J:e[d]=e[d]+(i[u]/2-n[u]/2)}}return e}function M(t,e){void 0===e&&(e={});var i=e,n=i.placement,o=void 0===n?t.placement:n,s=i.strategy,a=void 0===s?t.strategy:s,c=i.boundary,l=void 0===c?Q:c,d=i.rootBoundary,p=void 0===d?Z:d,h=i.elementContext,f=void 0===h?tt:h,v=i.altBoundary,m=void 0!==v&&v,_=i.padding,y=void 0===_?0:_,E=w("number"!=typeof y?y:I(y,G)),b=f===tt?et:tt,L=t.rects.popper,k=t.elements[m?b:f],O=j(r(k)?k:k.contextElement||g(t.elements.popper),l,p,a),x=u(t.elements.reference),A=z({reference:x,element:L,strategy:"absolute",placement:o}),C=P(Object.assign({},L,A)),T=f===tt?C:x,H={top:O.top-T.top+E.top,bottom:T.bottom-O.bottom+E.bottom,left:O.left-T.left+E.left,right:T.right-O.right+E.right},S=t.modifiersData.offset;if(f===tt&&S){var D=S[o];Object.keys(H).forEach(function(t){var e=[U,N].indexOf(t)>=0?1:-1,i=[K,N].indexOf(t)>=0?"y":"x";H[t]+=D[i]*e})}return H}function q(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function B(t){return[K,U,N,X].some(function(e){return t[e]>=0})}function V(t,e,i){void 0===i&&(i=!1);var r,a,c=s(e),l=s(e)&&function(t){var e=t.getBoundingClientRect(),i=mt(e.width)/t.offsetWidth||1,n=mt(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),d=g(e),p=u(t,l,i),h={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(c||!c&&!i)&&(("body"!==n(e)||T(d))&&(h=(r=e)!==o(r)&&s(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:A(r)),s(e)?((f=u(e,!0)).x+=e.clientLeft,f.y+=e.clientTop):d&&(f.x=C(d))),{x:p.left+h.scrollLeft-f.x,y:p.top+h.scrollTop-f.y,width:p.width,height:p.height}}function R(t){function e(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!n.has(t)){var o=i.get(t);o&&e(o)}}),o.push(t)}var i=new Map,n=new Set,o=[];return t.forEach(function(t){i.set(t.name,t)}),t.forEach(function(t){n.has(t.name)||e(t)}),o}function W(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}function F(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,o=e.defaultOptions,s=void 0===o?Tt:o;return function(t,e,i){function o(){d.forEach(function(t){return t()}),d=[]}void 0===i&&(i=s);var a,c,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Tt,s),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},d=[],u=!1,h={state:l,setOptions:function(i){var a="function"==typeof i?i(l.options):i;o(),l.options=Object.assign({},s,l.options,a),l.scrollParents={reference:r(t)?S(t):t.contextElement?S(t.contextElement):[],popper:S(e)};var c=function(t){var e=R(t);return ht.reduce(function(t,i){return t.concat(e.filter(function(t){return t.phase===i}))},[])}(function(){var t=[].concat(n,l.options.modifiers).reduce(function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t},{});return Object.keys(t).map(function(e){return t[e]})}());return l.orderedModifiers=c.filter(function(t){return t.enabled}),l.orderedModifiers.forEach(function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,o=t.effect;if("function"==typeof o){var r=o({state:l,name:e,instance:h,options:n}),s=function(){};d.push(r||s)}}),h.update()},forceUpdate:function(){if(!u){var t=l.elements,e=t.reference,i=t.popper;if(W(e,i)){l.rects={reference:V(e,y(i),"fixed"===l.options.strategy),popper:p(i)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(t){return l.modifiersData[t.name]=Object.assign({},t.data)});for(var n=0;n<l.orderedModifiers.length;n++)if(!0!==l.reset){var o=l.orderedModifiers[n],r=o.fn,s=o.options,a=void 0===s?{}:s,c=o.name;"function"==typeof r&&(l=r({state:l,options:a,name:c,instance:h})||l)}else l.reset=!1,n=-1}}},update:(a=function(){return new Promise(function(t){h.forceUpdate(),t(l)})},function(){return c||(c=new Promise(function(t){Promise.resolve().then(function(){c=void 0,t(a())})})),c}),destroy:function(){o(),u=!0}};return W(t,e)?(h.setOptions(i).then(function(t){!u&&i.onFirstUpdate&&i.onFirstUpdate(t)}),h):h}}i.r(e),i.d(e,{afterMain:function(){return lt},afterRead:function(){return st},afterWrite:function(){return pt},applyStyles:function(){return ft},arrow:function(){return _t},auto:function(){return Y},basePlacements:function(){return G},beforeMain:function(){return at},beforeRead:function(){return ot},beforeWrite:function(){return dt},bottom:function(){return N},clippingParents:function(){return Q},computeStyles:function(){return Et},createPopper:function(){return St},createPopperBase:function(){return Ht},createPopperLite:function(){return Pt},detectOverflow:function(){return M},end:function(){return J},eventListeners:function(){return wt},flip:function(){return kt},hide:function(){return Ot},left:function(){return X},main:function(){return ct},modifierPhases:function(){return ht},offset:function(){return xt},placements:function(){return nt},popper:function(){return tt},popperGenerator:function(){return F},popperOffsets:function(){return At},preventOverflow:function(){return Ct},read:function(){return rt},reference:function(){return et},right:function(){return U},start:function(){return $},top:function(){return K},variationPlacements:function(){return it},viewport:function(){return Z},write:function(){return ut}});var K="top",N="bottom",U="right",X="left",Y="auto",G=[K,N,U,X],$="start",J="end",Q="clippingParents",Z="viewport",tt="popper",et="reference",it=G.reduce(function(t,e){return t.concat([e+"-"+$,e+"-"+J])},[]),nt=[].concat(G,[Y]).reduce(function(t,e){return t.concat([e,e+"-"+$,e+"-"+J])},[]),ot="beforeRead",rt="read",st="afterRead",at="beforeMain",ct="main",lt="afterMain",dt="beforeWrite",ut="write",pt="afterWrite",ht=[ot,rt,st,at,ct,lt,dt,ut,pt],ft={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},o=e.attributes[t]||{},r=e.elements[t];s(r)&&n(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(t){var e=o[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach(function(t){var o=e.elements[t],r=e.attributes[t]||{},a=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce(function(t,e){return t[e]="",t},{});s(o)&&n(o)&&(Object.assign(o.style,a),Object.keys(r).forEach(function(t){o.removeAttribute(t)}))})}},requires:["computeStyles"]},vt=Math.max,gt=Math.min,mt=Math.round,_t={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,o=t.options,r=i.elements.arrow,s=i.modifiersData.popperOffsets,a=c(i.placement),l=E(a),d=[X,U].indexOf(a)>=0?"height":"width";if(r&&s){var u=function(t,e){return w("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:I(t,G))}(o.padding,i),h=p(r),f="y"===l?K:X,v="y"===l?N:U,g=i.rects.reference[d]+i.rects.reference[l]-s[l]-i.rects.popper[d],m=s[l]-i.rects.reference[l],_=y(r),L=_?"y"===l?_.clientHeight||0:_.clientWidth||0:0,k=g/2-m/2,O=u[f],x=L-h[d]-u[v],A=L/2-h[d]/2+k,C=b(O,A,x),T=l;i.modifiersData[n]=((e={})[T]=C,e.centerOffset=C-A,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&h(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},yt={top:"auto",right:"auto",bottom:"auto",left:"auto"},Et={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,o=void 0===n||n,r=i.adaptive,s=void 0===r||r,a=i.roundOffsets,l=void 0===a||a,d={placement:c(e.placement),variation:L(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,k(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,k(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},bt={passive:!0},wt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,r=n.scroll,s=void 0===r||r,a=n.resize,c=void 0===a||a,l=o(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&d.forEach(function(t){t.addEventListener("scroll",i.update,bt)}),c&&l.addEventListener("resize",i.update,bt),function(){s&&d.forEach(function(t){t.removeEventListener("scroll",i.update,bt)}),c&&l.removeEventListener("resize",i.update,bt)}},data:{}},It={left:"right",right:"left",bottom:"top",top:"bottom"},Lt={start:"end",end:"start"},kt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var o=i.mainAxis,r=void 0===o||o,s=i.altAxis,a=void 0===s||s,l=i.fallbackPlacements,d=i.padding,u=i.boundary,p=i.rootBoundary,h=i.altBoundary,f=i.flipVariations,v=void 0===f||f,g=i.allowedAutoPlacements,m=e.options.placement,_=c(m),y=l||(_!==m&&v?function(t){if(c(t)===Y)return[];var e=O(t);return[x(t),e,x(e)]}(m):[O(m)]),E=[m].concat(y).reduce(function(t,i){return t.concat(c(i)===Y?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,o=i.boundary,r=i.rootBoundary,s=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,d=void 0===l?nt:l,u=L(n),p=u?a?it:it.filter(function(t){return L(t)===u}):G,h=p.filter(function(t){return d.indexOf(t)>=0});0===h.length&&(h=p);var f=h.reduce(function(e,i){return e[i]=M(t,{placement:i,boundary:o,rootBoundary:r,padding:s})[c(i)],e},{});return Object.keys(f).sort(function(t,e){return f[t]-f[e]})}(e,{placement:i,boundary:u,rootBoundary:p,padding:d,flipVariations:v,allowedAutoPlacements:g}):i)},[]),b=e.rects.reference,w=e.rects.popper,I=new Map,k=!0,A=E[0],C=0;C<E.length;C++){var T=E[C],H=c(T),S=L(T)===$,P=[K,N].indexOf(H)>=0,D=P?"width":"height",j=M(e,{placement:T,boundary:u,rootBoundary:p,altBoundary:h,padding:d}),z=P?S?U:X:S?N:K;b[D]>w[D]&&(z=O(z));var q=O(z),B=[];if(r&&B.push(j[H]<=0),a&&B.push(j[z]<=0,j[q]<=0),B.every(function(t){return t})){A=T,k=!1;break}I.set(T,B)}if(k)for(var V=function(t){var e=E.find(function(e){var i=I.get(e);if(i)return i.slice(0,t).every(function(t){return t})});if(e)return A=e,"break"},R=v?3:1;R>0&&"break"!==V(R);R--);e.placement!==A&&(e.modifiersData[n]._skip=!0,e.placement=A,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},Ot={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,s=M(e,{elementContext:"reference"}),a=M(e,{altBoundary:!0}),c=q(s,n),l=q(a,o,r),d=B(c),u=B(l);e.modifiersData[i]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:d,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}},xt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,o=i.offset,r=void 0===o?[0,0]:o,s=nt.reduce(function(t,i){return t[i]=function(t,e,i){var n=c(t),o=[X,K].indexOf(n)>=0?-1:1,r="function"==typeof i?i(Object.assign({},e,{placement:t})):i,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[X,U].indexOf(n)>=0?{x:a,y:s}:{x:s,y:a}}(i,e.rects,r),t},{}),a=s[e.placement],l=a.x,d=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=d),e.modifiersData[n]=s}},At={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=z({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Ct={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,o=i.mainAxis,r=void 0===o||o,s=i.altAxis,a=void 0!==s&&s,l=i.boundary,d=i.rootBoundary,u=i.altBoundary,h=i.padding,f=i.tether,v=void 0===f||f,g=i.tetherOffset,m=void 0===g?0:g,_=M(e,{boundary:l,rootBoundary:d,padding:h,altBoundary:u}),w=c(e.placement),I=L(e.placement),k=!I,O=E(w),x="x"===O?"y":"x",A=e.modifiersData.popperOffsets,C=e.rects.reference,T=e.rects.popper,H="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,S="number"==typeof H?{mainAxis:H,altAxis:H}:Object.assign({mainAxis:0,altAxis:0},H),P=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,D={x:0,y:0};if(A){if(r){var j,z="y"===O?K:X,q="y"===O?N:U,B="y"===O?"height":"width",V=A[O],R=V+_[z],W=V-_[q],F=v?-T[B]/2:0,Y=I===$?C[B]:T[B],G=I===$?-T[B]:-C[B],J=e.elements.arrow,Q=v&&J?p(J):{width:0,height:0},Z=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},tt=Z[z],et=Z[q],it=b(0,C[B],Q[B]),nt=k?C[B]/2-F-it-tt-S.mainAxis:Y-it-tt-S.mainAxis,ot=k?-C[B]/2+F+it+et+S.mainAxis:G+it+et+S.mainAxis,rt=e.elements.arrow&&y(e.elements.arrow),st=rt?"y"===O?rt.clientTop||0:rt.clientLeft||0:0,at=null!=(j=null==P?void 0:P[O])?j:0,ct=V+ot-at,lt=b(v?gt(R,V+nt-at-st):R,V,v?vt(W,ct):W);A[O]=lt,D[O]=lt-V}if(a){var dt,ut="x"===O?K:X,pt="x"===O?N:U,ht=A[x],ft="y"===x?"height":"width",mt=ht+_[ut],_t=ht-_[pt],yt=-1!==[K,X].indexOf(w),Et=null!=(dt=null==P?void 0:P[x])?dt:0,bt=yt?mt:ht-C[ft]-T[ft]-Et+S.altAxis,wt=yt?ht+C[ft]+T[ft]-Et-S.altAxis:_t,It=v&&yt?function(t,e,i){var n=b(bt,ht,i);return n>i?i:n}(0,0,wt):b(v?bt:mt,ht,v?wt:_t);A[x]=It,D[x]=It-ht}e.modifiersData[n]=D}},requiresIfExists:["offset"]},Tt={placement:"bottom",modifiers:[],strategy:"absolute"},Ht=F(),St=F({defaultModifiers:[wt,At,Et,ft,xt,kt,Ct,_t,Ot]}),Pt=F({defaultModifiers:[wt,At,Et,ft]})},902:function(t,e,i){function n(){document.querySelectorAll("[data-accordion]").forEach(function(t){var e=t.getAttribute("data-accordion"),i=t.getAttribute("data-active-classes"),n=t.getAttribute("data-inactive-classes"),o=[];t.querySelectorAll("[data-accordion-target]").forEach(function(e){if(e.closest("[data-accordion]")===t){var i={id:e.getAttribute("data-accordion-target"),triggerEl:e,targetEl:document.querySelector(e.getAttribute("data-accordion-target")),iconEl:e.querySelector("[data-accordion-icon]"),active:"true"===e.getAttribute("aria-expanded")};o.push(i)}}),new c(t,o,{alwaysOpen:"open"===e,activeClasses:i||s.activeClasses,inactiveClasses:n||s.inactiveClasses})})}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initAccordions=void 0;var r=i(423),s={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},a={id:null,override:!0},c=function(){function t(t,e,i,n){void 0===t&&(t=null),void 0===e&&(e=[]),void 0===i&&(i=s),void 0===n&&(n=a),this._instanceId=n.id?n.id:t.id,this._accordionEl=t,this._items=e,this._options=o(o({},s),i),this._initialized=!1,this.init(),r["default"].addInstance("Accordion",this,this._instanceId,n.override)}return t.prototype.init=function(){var t=this;this._items.length&&!this._initialized&&(this._items.forEach(function(e){e.active&&t.open(e.id);var i=function(){t.toggle(e.id)};e.triggerEl.addEventListener("click",i),e.clickHandler=i}),this._initialized=!0)},t.prototype.destroy=function(){this._items.length&&this._initialized&&(this._items.forEach(function(t){t.triggerEl.removeEventListener("click",t.clickHandler),delete t.clickHandler}),this._initialized=!1)},t.prototype.removeInstance=function(){r["default"].removeInstance("Accordion",this._instanceId)},t.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},t.prototype.getItem=function(t){return this._items.filter(function(e){return e.id===t})[0]},t.prototype.open=function(t){var e,i,n=this,o=this.getItem(t);this._options.alwaysOpen||this._items.map(function(t){var e,i;t!==o&&((e=t.triggerEl.classList).remove.apply(e,n._options.activeClasses.split(" ")),(i=t.triggerEl.classList).add.apply(i,n._options.inactiveClasses.split(" ")),t.targetEl.classList.add("hidden"),t.triggerEl.setAttribute("aria-expanded","false"),t.active=!1,t.iconEl&&t.iconEl.classList.add("rotate-180"))}),(e=o.triggerEl.classList).add.apply(e,this._options.activeClasses.split(" ")),(i=o.triggerEl.classList).remove.apply(i,this._options.inactiveClasses.split(" ")),o.triggerEl.setAttribute("aria-expanded","true"),o.targetEl.classList.remove("hidden"),o.active=!0,o.iconEl&&o.iconEl.classList.remove("rotate-180"),this._options.onOpen(this,o)},t.prototype.toggle=function(t){var e=this.getItem(t);e.active?this.close(t):this.open(t),this._options.onToggle(this,e)},t.prototype.close=function(t){var e,i,n=this.getItem(t);(e=n.triggerEl.classList).remove.apply(e,this._options.activeClasses.split(" ")),(i=n.triggerEl.classList).add.apply(i,this._options.inactiveClasses.split(" ")),n.targetEl.classList.add("hidden"),n.triggerEl.setAttribute("aria-expanded","false"),n.active=!1,n.iconEl&&n.iconEl.classList.add("rotate-180"),this._options.onClose(this,n)},t.prototype.updateOnOpen=function(t){this._options.onOpen=t},t.prototype.updateOnClose=function(t){this._options.onClose=t},t.prototype.updateOnToggle=function(t){this._options.onToggle=t},t}();e.initAccordions=n,"undefined"!=typeof window&&(window.Accordion=c,window.initAccordions=n),e["default"]=c},33:function(t,e,i){function n(){document.querySelectorAll("[data-carousel]").forEach(function(t){var e=t.getAttribute("data-carousel-interval"),i="slide"===t.getAttribute("data-carousel"),n=[],o=0;t.querySelectorAll("[data-carousel-item]").length&&Array.from(t.querySelectorAll("[data-carousel-item]")).map(function(t,e){n.push({position:e,el:t}),"active"===t.getAttribute("data-carousel-item")&&(o=e)});var r=[];t.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(t.querySelectorAll("[data-carousel-slide-to]")).map(function(t){r.push({position:parseInt(t.getAttribute("data-carousel-slide-to")),el:t})});var a=new c(t,n,{defaultPosition:o,indicators:{items:r},interval:e||s.interval});i&&a.cycle();var l=t.querySelector("[data-carousel-next]"),d=t.querySelector("[data-carousel-prev]");l&&l.addEventListener("click",function(){a.next()}),d&&d.addEventListener("click",function(){a.prev()})})}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initCarousels=void 0;var r=i(423),s={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},a={id:null,override:!0},c=function(){function t(t,e,i,n){void 0===t&&(t=null),void 0===e&&(e=[]),void 0===i&&(i=s),void 0===n&&(n=a),this._instanceId=n.id?n.id:t.id,this._carouselEl=t,this._items=e,this._options=o(o(o({},s),i),{indicators:o(o({},s.indicators),i.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._initialized=!1,this.init(),r["default"].addInstance("Carousel",this,this._instanceId,n.override)}return t.prototype.init=function(){var t=this;this._items.length&&!this._initialized&&(this._items.map(function(t){t.el.classList.add("absolute","inset-0","transition-transform","transform")}),this.getActiveItem()?this.slideTo(this.getActiveItem().position):this.slideTo(0),this._indicators.map(function(e,i){e.el.addEventListener("click",function(){t.slideTo(i)})}),this._initialized=!0)},t.prototype.destroy=function(){this._initialized&&(this._initialized=!1)},t.prototype.removeInstance=function(){r["default"].removeInstance("Carousel",this._instanceId)},t.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},t.prototype.getItem=function(t){return this._items[t]},t.prototype.slideTo=function(t){var e=this._items[t],i={left:0===e.position?this._items[this._items.length-1]:this._items[e.position-1],middle:e,right:e.position===this._items.length-1?this._items[0]:this._items[e.position+1]};this._rotate(i),this._setActiveItem(e),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},t.prototype.next=function(){var t=this.getActiveItem(),e=null;e=t.position===this._items.length-1?this._items[0]:this._items[t.position+1],this.slideTo(e.position),this._options.onNext(this)},t.prototype.prev=function(){var t=this.getActiveItem(),e=null;e=0===t.position?this._items[this._items.length-1]:this._items[t.position-1],this.slideTo(e.position),this._options.onPrev(this)},t.prototype._rotate=function(t){if(this._items.map(function(t){t.el.classList.add("hidden")}),1===this._items.length)return t.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),void t.middle.el.classList.add("translate-x-0","z-20");t.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),t.left.el.classList.add("-translate-x-full","z-10"),t.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),t.middle.el.classList.add("translate-x-0","z-30"),t.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-30"),t.right.el.classList.add("translate-x-full","z-20")},t.prototype.cycle=function(){var t=this;"undefined"!=typeof window&&(this._intervalInstance=window.setInterval(function(){t.next()},this._intervalDuration))},t.prototype.pause=function(){clearInterval(this._intervalInstance)},t.prototype.getActiveItem=function(){return this._activeItem},t.prototype._setActiveItem=function(t){var e,i,n=this;this._activeItem=t;var o=t.position;this._indicators.length&&(this._indicators.map(function(t){var e,i;t.el.setAttribute("aria-current","false"),(e=t.el.classList).remove.apply(e,n._options.indicators.activeClasses.split(" ")),(i=t.el.classList).add.apply(i,n._options.indicators.inactiveClasses.split(" "))}),(e=this._indicators[o].el.classList).add.apply(e,this._options.indicators.activeClasses.split(" ")),(i=this._indicators[o].el.classList).remove.apply(i,this._options.indicators.inactiveClasses.split(" ")),this._indicators[o].el.setAttribute("aria-current","true"))},t.prototype.updateOnNext=function(t){this._options.onNext=t},t.prototype.updateOnPrev=function(t){this._options.onPrev=t},t.prototype.updateOnChange=function(t){this._options.onChange=t},t}();e.initCarousels=n,"undefined"!=typeof window&&(window.Carousel=c,window.initCarousels=n),e["default"]=c},673:function(t,e,i){function n(){document.querySelectorAll("[data-copy-to-clipboard-target]").forEach(function(t){var e=t.getAttribute("data-copy-to-clipboard-target"),i=document.getElementById(e),n=t.getAttribute("data-copy-to-clipboard-content-type"),o=t.getAttribute("data-copy-to-clipboard-html-entities");i?r["default"].instanceExists("CopyClipboard",i.getAttribute("id"))||new c(t,i,{htmlEntities:!(!o||"true"!==o)||s.htmlEntities,contentType:n||s.contentType}):console.error('The target element with id "'.concat(e,'" does not exist. Please check the data-copy-to-clipboard-target attribute.'))})}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initCopyClipboards=void 0;var r=i(423),s={htmlEntities:!1,contentType:"input",onCopy:function(){}},a={id:null,override:!0},c=function(){function t(t,e,i,n){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=s),void 0===n&&(n=a),this._instanceId=n.id?n.id:e.id,this._triggerEl=t,this._targetEl=e,this._options=o(o({},s),i),this._initialized=!1,this.init(),r["default"].addInstance("CopyClipboard",this,this._instanceId,n.override)}return t.prototype.init=function(){var t=this;this._targetEl&&this._triggerEl&&!this._initialized&&(this._triggerElClickHandler=function(){t.copy()},this._triggerEl&&this._triggerEl.addEventListener("click",this._triggerElClickHandler),this._initialized=!0)},t.prototype.destroy=function(){this._triggerEl&&this._targetEl&&this._initialized&&(this._triggerEl&&this._triggerEl.removeEventListener("click",this._triggerElClickHandler),this._initialized=!1)},t.prototype.removeInstance=function(){r["default"].removeInstance("CopyClipboard",this._instanceId)},t.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},t.prototype.getTargetValue=function(){return"input"===this._options.contentType?this._targetEl.value:"innerHTML"===this._options.contentType?this._targetEl.innerHTML:"textContent"===this._options.contentType?this._targetEl.textContent.replace(/\s+/g," ").trim():void 0},t.prototype.copy=function(){var t=this.getTargetValue();this._options.htmlEntities&&(t=this.decodeHTML(t));var e=document.createElement("textarea")
;return e.value=t,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),this._options.onCopy(this),t},t.prototype.decodeHTML=function(t){var e=document.createElement("textarea");return e.innerHTML=t,e.textContent},t.prototype.updateOnCopyCallback=function(t){this._options.onCopy=t},t}();e.initCopyClipboards=n,"undefined"!=typeof window&&(window.CopyClipboard=c,window.initClipboards=n),e["default"]=c},922:function(t,e,i){function n(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var e=t.getAttribute("data-collapse-toggle"),i=document.getElementById(e);i?r["default"].instanceExists("Collapse",i.getAttribute("id"))?new c(i,t,{},{id:i.getAttribute("id")+"_"+r["default"]._generateRandomId()}):new c(i,t):console.error('The target element with id "'.concat(e,'" does not exist. Please check the data-collapse-toggle attribute.'))})}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initCollapses=void 0;var r=i(423),s={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},a={id:null,override:!0},c=function(){function t(t,e,i,n){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=s),void 0===n&&(n=a),this._instanceId=n.id?n.id:t.id,this._targetEl=t,this._triggerEl=e,this._options=o(o({},s),i),this._visible=!1,this._initialized=!1,this.init(),r["default"].addInstance("Collapse",this,this._instanceId,n.override)}return t.prototype.init=function(){var t=this;this._triggerEl&&this._targetEl&&!this._initialized&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible="true"===this._triggerEl.getAttribute("aria-expanded"):this._visible=!this._targetEl.classList.contains("hidden"),this._clickHandler=function(){t.toggle()},this._triggerEl.addEventListener("click",this._clickHandler),this._initialized=!0)},t.prototype.destroy=function(){this._triggerEl&&this._initialized&&(this._triggerEl.removeEventListener("click",this._clickHandler),this._initialized=!1)},t.prototype.removeInstance=function(){r["default"].removeInstance("Collapse",this._instanceId)},t.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},t.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},t.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},t.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},t.prototype.updateOnCollapse=function(t){this._options.onCollapse=t},t.prototype.updateOnExpand=function(t){this._options.onExpand=t},t.prototype.updateOnToggle=function(t){this._options.onToggle=t},t}();e.initCollapses=n,"undefined"!=typeof window&&(window.Collapse=c,window.initCollapses=n),e["default"]=c},556:function(t,e,i){function n(){document.querySelectorAll("[data-dial-init]").forEach(function(t){var e=t.querySelector("[data-dial-toggle]");if(e){var i=e.getAttribute("data-dial-toggle"),n=document.getElementById(i);if(n){var o=e.getAttribute("data-dial-trigger");new c(t,e,n,{triggerType:o||s.triggerType})}else console.error("Dial with id ".concat(i," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(t.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initDials=void 0;var r=i(423),s={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},a={id:null,override:!0},c=function(){function t(t,e,i,n,c){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=null),void 0===n&&(n=s),void 0===c&&(c=a),this._instanceId=c.id?c.id:i.id,this._parentEl=t,this._triggerEl=e,this._targetEl=i,this._options=o(o({},s),n),this._visible=!1,this._initialized=!1,this.init(),r["default"].addInstance("Dial",this,this._instanceId,c.override)}return t.prototype.init=function(){var t=this;if(this._triggerEl&&this._targetEl&&!this._initialized){var e=this._getTriggerEventTypes(this._options.triggerType);this._showEventHandler=function(){t.show()},e.showEvents.forEach(function(e){t._triggerEl.addEventListener(e,t._showEventHandler),t._targetEl.addEventListener(e,t._showEventHandler)}),this._hideEventHandler=function(){t._parentEl.matches(":hover")||t.hide()},e.hideEvents.forEach(function(e){t._parentEl.addEventListener(e,t._hideEventHandler)}),this._initialized=!0}},t.prototype.destroy=function(){var t=this;if(this._initialized){var e=this._getTriggerEventTypes(this._options.triggerType);e.showEvents.forEach(function(e){t._triggerEl.removeEventListener(e,t._showEventHandler),t._targetEl.removeEventListener(e,t._showEventHandler)}),e.hideEvents.forEach(function(e){t._parentEl.removeEventListener(e,t._hideEventHandler)}),this._initialized=!1}},t.prototype.removeInstance=function(){r["default"].removeInstance("Dial",this._instanceId)},t.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},t.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this._visible?this.hide():this.show()},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t.prototype._getTriggerEventTypes=function(t){switch(t){case"hover":default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]}}},t.prototype.updateOnShow=function(t){this._options.onShow=t},t.prototype.updateOnHide=function(t){this._options.onHide=t},t.prototype.updateOnToggle=function(t){this._options.onToggle=t},t}();e.initDials=n,"undefined"!=typeof window&&(window.Dial=c,window.initDials=n),e["default"]=c},791:function(t,e,i){function n(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var e=t.getAttribute("data-dismiss-target"),i=document.querySelector(e);i?new c(i,t):console.error('The dismiss element with id "'.concat(e,'" does not exist. Please check the data-dismiss-target attribute.'))})}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initDismisses=void 0;var r=i(423),s={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},a={id:null,override:!0},c=function(){function t(t,e,i,n){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=s),void 0===n&&(n=a),this._instanceId=n.id?n.id:t.id,this._targetEl=t,this._triggerEl=e,this._options=o(o({},s),i),this._initialized=!1,this.init(),r["default"].addInstance("Dismiss",this,this._instanceId,n.override)}return t.prototype.init=function(){var t=this;this._triggerEl&&this._targetEl&&!this._initialized&&(this._clickHandler=function(){t.hide()},this._triggerEl.addEventListener("click",this._clickHandler),this._initialized=!0)},t.prototype.destroy=function(){this._triggerEl&&this._initialized&&(this._triggerEl.removeEventListener("click",this._clickHandler),this._initialized=!1)},t.prototype.removeInstance=function(){r["default"].removeInstance("Dismiss",this._instanceId)},t.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},t.prototype.hide=function(){var t=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){t._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},t.prototype.updateOnHide=function(t){this._options.onHide=t},t}();e.initDismisses=n,"undefined"!=typeof window&&(window.Dismiss=c,window.initDismisses=n),e["default"]=c},340:function(t,e,i){function n(){document.querySelectorAll("[data-drawer-target]").forEach(function(t){var e=t.getAttribute("data-drawer-target"),i=document.getElementById(e);if(i){var n=t.getAttribute("data-drawer-placement"),o=t.getAttribute("data-drawer-body-scrolling"),r=t.getAttribute("data-drawer-backdrop"),a=t.getAttribute("data-drawer-edge"),l=t.getAttribute("data-drawer-edge-offset");new c(i,{placement:n||s.placement,bodyScrolling:o?"true"===o:s.bodyScrolling,backdrop:r?"true"===r:s.backdrop,edge:a?"true"===a:s.edge,edgeOffset:l||s.edgeOffset})}else console.error("Drawer with id ".concat(e," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(t){var e=t.getAttribute("data-drawer-toggle");if(document.getElementById(e)){var i=r["default"].getInstance("Drawer",e);if(i){var n=function(){i.toggle()};t.addEventListener("click",n),i.addEventListenerInstance(t,"click",n)}else console.error("Drawer with id ".concat(e," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(e," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach(function(t){var e=t.getAttribute("data-drawer-dismiss")?t.getAttribute("data-drawer-dismiss"):t.getAttribute("data-drawer-hide");if(document.getElementById(e)){var i=r["default"].getInstance("Drawer",e);if(i){var n=function(){i.hide()};t.addEventListener("click",n),i.addEventListenerInstance(t,"click",n)}else console.error("Drawer with id ".concat(e," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(e," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(t){var e=t.getAttribute("data-drawer-show");if(document.getElementById(e)){var i=r["default"].getInstance("Drawer",e);if(i){var n=function(){i.show()};t.addEventListener("click",n),i.addEventListenerInstance(t,"click",n)}else console.error("Drawer with id ".concat(e," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(e," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initDrawers=void 0;var r=i(423),s={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},a={id:null,override:!0},c=function(){function t(t,e,i){void 0===t&&(t=null),void 0===e&&(e=s),void 0===i&&(i=a),this._eventListenerInstances=[],this._instanceId=i.id?i.id:t.id,this._targetEl=t,this._options=o(o({},s),e),this._visible=!1,this._initialized=!1,this.init(),r["default"].addInstance("Drawer",this,this._instanceId,i.override)}return t.prototype.init=function(){var t=this;this._targetEl&&!this._initialized&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform"),this._getPlacementClasses(this._options.placement).base.map(function(e){t._targetEl.classList.add(e)}),this._handleEscapeKey=function(e){"Escape"===e.key&&t.isVisible()&&t.hide()},document.addEventListener("keydown",this._handleEscapeKey),this._initialized=!0)},t.prototype.destroy=function(){this._initialized&&(this.removeAllEventListenerInstances(),this._destroyBackdropEl(),document.removeEventListener("keydown",this._handleEscapeKey),this._initialized=!1)},t.prototype.removeInstance=function(){r["default"].removeInstance("Drawer",this._instanceId)},t.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},t.prototype.hide=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(e){t._targetEl.classList.remove(e)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(e){t._targetEl.classList.add(e)})):(this._getPlacementClasses(this._options.placement).active.map(function(e){t._targetEl.classList.remove(e)}),this._getPlacementClasses(this._options.placement).inactive.map(function(e){t._targetEl.classList.add(e)})),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(e){t._targetEl.classList.add(e)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(e){t._targetEl.classList.remove(e)})):(this._getPlacementClasses(this._options.placement).active.map(function(e){t._targetEl.classList.add(e)}),this._getPlacementClasses(this._options.placement).inactive.map(function(e){t._targetEl.classList.remove(e)})),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype._createBackdrop=function(){var t,e=this;if(!this._visible){var i=document.createElement("div");i.setAttribute("drawer-backdrop",""),(t=i.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(i),i.addEventListener("click",function(){e.hide()})}},t.prototype._destroyBackdropEl=function(){this._visible&&null!==document.querySelector("[drawer-backdrop]")&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(t){switch(t){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]}}},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t.prototype.addEventListenerInstance=function(t,e,i){this._eventListenerInstances.push({element:t,type:e,handler:i})},t.prototype.removeAllEventListenerInstances=function(){this._eventListenerInstances.map(function(t){t.element.removeEventListener(t.type,t.handler)}),this._eventListenerInstances=[]},t.prototype.getAllEventListenerInstances=function(){return this._eventListenerInstances},t.prototype.updateOnShow=function(t){this._options.onShow=t},t.prototype.updateOnHide=function(t){this._options.onHide=t},t.prototype.updateOnToggle=function(t){this._options.onToggle=t},t}();e.initDrawers=n,"undefined"!=typeof window&&(window.Drawer=c,window.initDrawers=n),e["default"]=c},316:function(t,e,i){function n(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(t){var e=t.getAttribute("data-dropdown-toggle"),i=document.getElementById(e);if(i){var n=t.getAttribute("data-dropdown-placement"),o=t.getAttribute("data-dropdown-offset-skidding"),r=t.getAttribute("data-dropdown-offset-distance"),s=t.getAttribute("data-dropdown-trigger"),a=t.getAttribute("data-dropdown-delay"),l=t.getAttribute("data-dropdown-ignore-click-outside-class");new d(i,t,{placement:n||c.placement,triggerType:s||c.triggerType,offsetSkidding:o?parseInt(o):c.offsetSkidding,offsetDistance:r?parseInt(r):c.offsetDistance,delay:a?parseInt(a):c.delay,ignoreClickOutsideClass:l||c.ignoreClickOutsideClass})}else console.error('The dropdown element with id "'.concat(e,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},r=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var n,o=0,r=e.length;o<r;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.initDropdowns=void 0;var s=i(853),a=i(423),c={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},l={id:null,override:!0},d=function(){function t(t,e,i,n){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=c),void 0===n&&(n=l),this._instanceId=n.id?n.id:t.id,this._targetEl=t,this._triggerEl=e,this._options=o(o({},c),i),this._popperInstance=null,this._visible=!1,this._initialized=!1,this.init(),a["default"].addInstance("Dropdown",this,this._instanceId,n.override)}return t.prototype.init=function(){this._triggerEl&&this._targetEl&&!this._initialized&&(this._popperInstance=this._createPopperInstance(),this._setupEventListeners(),this._initialized=!0)},t.prototype.destroy=function(){var t=this,e=this._getTriggerEvents();"click"===this._options.triggerType&&e.showEvents.forEach(function(e){t._triggerEl.removeEventListener(e,t._clickHandler)}),"hover"===this._options.triggerType&&(e.showEvents.forEach(function(e){t._triggerEl.removeEventListener(e,t._hoverShowTriggerElHandler),t._targetEl.removeEventListener(e,t._hoverShowTargetElHandler)}),e.hideEvents.forEach(function(e){t._triggerEl.removeEventListener(e,t._hoverHideHandler),t._targetEl.removeEventListener(e,t._hoverHideHandler)})),this._popperInstance.destroy(),this._initialized=!1},t.prototype.removeInstance=function(){a["default"].removeInstance("Dropdown",this._instanceId)},t.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},t.prototype._setupEventListeners=function(){var t=this,e=this._getTriggerEvents();this._clickHandler=function(){t.toggle()},"click"===this._options.triggerType&&e.showEvents.forEach(function(e){t._triggerEl.addEventListener(e,t._clickHandler)}),this._hoverShowTriggerElHandler=function(e){"click"===e.type?t.toggle():setTimeout(function(){t.show()},t._options.delay)},this._hoverShowTargetElHandler=function(){t.show()},this._hoverHideHandler=function(){setTimeout(function(){t._targetEl.matches(":hover")||t.hide()},t._options.delay)},"hover"===this._options.triggerType&&(e.showEvents.forEach(function(e){t._triggerEl.addEventListener(e,t._hoverShowTriggerElHandler),t._targetEl.addEventListener(e,t._hoverShowTargetElHandler)}),e.hideEvents.forEach(function(e){t._triggerEl.addEventListener(e,t._hoverHideHandler),t._targetEl.addEventListener(e,t._hoverHideHandler)}))},t.prototype._createPopperInstance=function(){return(0,s.createPopper)(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(e){t._handleClickOutside(e,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(t,e){var i=t.target,n=this._options.ignoreClickOutsideClass,o=!1;n&&document.querySelectorAll(".".concat(n)).forEach(function(t){t.contains(i)&&(o=!0)}),i===e||e.contains(i)||this._triggerEl.contains(i)||o||!this.isVisible()||this.hide()},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":default:return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]}}},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.isVisible=function(){return this._visible},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(t){return o(o({},t),{modifiers:r(r([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(t){return o(o({},t),{modifiers:r(r([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t.prototype.updateOnShow=function(t){this._options.onShow=t},t.prototype.updateOnHide=function(t){this._options.onHide=t},t.prototype.updateOnToggle=function(t){this._options.onToggle=t},t}();e.initDropdowns=n,"undefined"!=typeof window&&(window.Dropdown=d,window.initDropdowns=n),e["default"]=d},311:function(t,e,i){function n(){(0,o.initAccordions)(),(0,a.initCollapses)(),(0,r.initCarousels)(),(0,l.initDismisses)(),(0,u.initDropdowns)(),(0,h.initModals)(),(0,d.initDrawers)(),(0,v.initTabs)(),(0,g.initTooltips)(),(0,f.initPopovers)(),(0,c.initDials)(),(0,p.initInputCounters)(),(0,s.initCopyClipboards)()}Object.defineProperty(e,"__esModule",{value:!0}),e.initFlowbite=void 0;var o=i(902),r=i(33),s=i(673),a=i(922),c=i(556),l=i(791),d=i(340),u=i(316),p=i(656),h=i(16),f=i(903),v=i(247),g=i(671);e.initFlowbite=n,"undefined"!=typeof window&&(window.initFlowbite=n)},656:function(t,e,i){function n(){document.querySelectorAll("[data-input-counter]").forEach(function(t){var e=t.id,i=document.querySelector('[data-input-counter-increment="'+e+'"]'),n=document.querySelector('[data-input-counter-decrement="'+e+'"]'),o=t.getAttribute("data-input-counter-min"),s=t.getAttribute("data-input-counter-max");t?r["default"].instanceExists("InputCounter",t.getAttribute("id"))||new c(t,i||null,n||null,{minValue:o?parseInt(o):null,maxValue:s?parseInt(s):null}):console.error('The target element with id "'.concat(e,'" does not exist. Please check the data-input-counter attribute.'))})}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initInputCounters=void 0;var r=i(423),s={minValue:null,maxValue:null,onIncrement:function(){},onDecrement:function(){}},a={id:null,override:!0},c=function(){function t(t,e,i,n,c){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=null),void 0===n&&(n=s),void 0===c&&(c=a),this._instanceId=c.id?c.id:t.id,this._targetEl=t,this._incrementEl=e,this._decrementEl=i,this._options=o(o({},s),n),this._initialized=!1,this.init(),r["default"].addInstance("InputCounter",this,this._instanceId,c.override)}return t.prototype.init=function(){var t=this;this._targetEl&&!this._initialized&&(this._inputHandler=function(e){var i=e.target;/^\d*$/.test(i.value)||(i.value=i.value.replace(/[^\d]/g,"")),null!==t._options.maxValue&&parseInt(i.value)>t._options.maxValue&&(i.value=t._options.maxValue.toString()),null!==t._options.minValue&&parseInt(i.value)<t._options.minValue&&(i.value=t._options.minValue.toString())},this._incrementClickHandler=function(){t.increment()},this._decrementClickHandler=function(){t.decrement()},this._targetEl.addEventListener("input",this._inputHandler),this._incrementEl&&this._incrementEl.addEventListener("click",this._incrementClickHandler),this._decrementEl&&this._decrementEl.addEventListener("click",this._decrementClickHandler),this._initialized=!0)},t.prototype.destroy=function(){this._targetEl&&this._initialized&&(this._targetEl.removeEventListener("input",this._inputHandler),this._incrementEl&&this._incrementEl.removeEventListener("click",this._incrementClickHandler),this._decrementEl&&this._decrementEl.removeEventListener("click",this._decrementClickHandler),this._initialized=!1)},t.prototype.removeInstance=function(){r["default"].removeInstance("InputCounter",this._instanceId)},t.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},t.prototype.getCurrentValue=function(){return parseInt(this._targetEl.value)||0},t.prototype.increment=function(){null!==this._options.maxValue&&this.getCurrentValue()>=this._options.maxValue||(this._targetEl.value=(this.getCurrentValue()+1).toString(),this._options.onIncrement(this))},t.prototype.decrement=function(){null!==this._options.minValue&&this.getCurrentValue()<=this._options.minValue||(this._targetEl.value=(this.getCurrentValue()-1).toString(),this._options.onDecrement(this))},t.prototype.updateOnIncrement=function(t){this._options.onIncrement=t},t.prototype.updateOnDecrement=function(t){this._options.onDecrement=t},t}();e.initInputCounters=n,"undefined"!=typeof window&&(window.InputCounter=c,window.initInputCounters=n),e["default"]=c},16:function(t,e,i){function n(){document.querySelectorAll("[data-modal-target]").forEach(function(t){var e=t.getAttribute("data-modal-target"),i=document.getElementById(e);if(i){var n=i.getAttribute("data-modal-placement"),o=i.getAttribute("data-modal-backdrop");new c(i,{placement:n||s.placement,backdrop:o||s.backdrop})}else console.error("Modal with id ".concat(e," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))}),document.querySelectorAll("[data-modal-toggle]").forEach(function(t){var e=t.getAttribute("data-modal-toggle");if(document.getElementById(e)){var i=r["default"].getInstance("Modal",e);if(i){var n=function(){i.toggle()};t.addEventListener("click",n),i.addEventListenerInstance(t,"click",n)}else console.error("Modal with id ".concat(e," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(e," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-show]").forEach(function(t){var e=t.getAttribute("data-modal-show");if(document.getElementById(e)){var i=r["default"].getInstance("Modal",e);if(i){var n=function(){i.show()};t.addEventListener("click",n),i.addEventListenerInstance(t,"click",n)}else console.error("Modal with id ".concat(e," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(e," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-hide]").forEach(function(t){var e=t.getAttribute("data-modal-hide");if(document.getElementById(e)){var i=r["default"].getInstance("Modal",e);if(i){var n=function(){i.hide()};t.addEventListener("click",n),i.addEventListenerInstance(t,"click",n)}else console.error("Modal with id ".concat(e," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(e," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initModals=void 0;var r=i(423),s={placement:"center",backdropClasses:"bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},a={id:null,override:!0},c=function(){function t(t,e,i){void 0===t&&(t=null),void 0===e&&(e=s),void 0===i&&(i=a),this._eventListenerInstances=[],this._instanceId=i.id?i.id:t.id,this._targetEl=t,this._options=o(o({},s),e),this._isHidden=!0,this._backdropEl=null,this._initialized=!1,this.init(),r["default"].addInstance("Modal",this,this._instanceId,i.override)}return t.prototype.init=function(){var t=this;this._targetEl&&!this._initialized&&(this._getPlacementClasses().map(function(e){t._targetEl.classList.add(e)}),this._initialized=!0)},t.prototype.destroy=function(){this._initialized&&(this.removeAllEventListenerInstances(),this._destroyBackdropEl(),this._initialized=!1)},t.prototype.removeInstance=function(){r["default"].removeInstance("Modal",this._instanceId)},t.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},t.prototype._createBackdrop=function(){var t;if(this._isHidden){var e=document.createElement("div");e.setAttribute("modal-backdrop",""),(t=e.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(e),this._backdropEl=e}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var t=this;"dynamic"===this._options.backdrop&&(this._clickOutsideEventListener=function(e){t._handleOutsideClick(e.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(e){"Escape"===e.key&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeModalCloseEventListeners=function(){"dynamic"===this._options.backdrop&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._handleOutsideClick=function(t){(t===this._targetEl||t===this._backdropEl&&this.isVisible())&&this.hide()},t.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":default:return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"]}},t.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},t.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,this._options.closable&&this._setupModalCloseEventListeners(),document.body.classList.add("overflow-hidden"),this._options.onShow(this))},t.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),
this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},t.prototype.isVisible=function(){return!this._isHidden},t.prototype.isHidden=function(){return this._isHidden},t.prototype.addEventListenerInstance=function(t,e,i){this._eventListenerInstances.push({element:t,type:e,handler:i})},t.prototype.removeAllEventListenerInstances=function(){this._eventListenerInstances.map(function(t){t.element.removeEventListener(t.type,t.handler)}),this._eventListenerInstances=[]},t.prototype.getAllEventListenerInstances=function(){return this._eventListenerInstances},t.prototype.updateOnShow=function(t){this._options.onShow=t},t.prototype.updateOnHide=function(t){this._options.onHide=t},t.prototype.updateOnToggle=function(t){this._options.onToggle=t},t}();e.initModals=n,"undefined"!=typeof window&&(window.Modal=c,window.initModals=n),e["default"]=c},903:function(t,e,i){function n(){document.querySelectorAll("[data-popover-target]").forEach(function(t){var e=t.getAttribute("data-popover-target"),i=document.getElementById(e);if(i){var n=t.getAttribute("data-popover-trigger"),o=t.getAttribute("data-popover-placement"),r=t.getAttribute("data-popover-offset");new d(i,t,{placement:o||c.placement,offset:r?parseInt(r):c.offset,triggerType:n||c.triggerType})}else console.error('The popover element with id "'.concat(e,'" does not exist. Please check the data-popover-target attribute.'))})}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},r=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var n,o=0,r=e.length;o<r;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.initPopovers=void 0;var s=i(853),a=i(423),c={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},l={id:null,override:!0},d=function(){function t(t,e,i,n){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=c),void 0===n&&(n=l),this._instanceId=n.id?n.id:t.id,this._targetEl=t,this._triggerEl=e,this._options=o(o({},c),i),this._popperInstance=null,this._visible=!1,this._initialized=!1,this.init(),a["default"].addInstance("Popover",this,n.id?n.id:this._targetEl.id,n.override)}return t.prototype.init=function(){this._triggerEl&&this._targetEl&&!this._initialized&&(this._setupEventListeners(),this._popperInstance=this._createPopperInstance(),this._initialized=!0)},t.prototype.destroy=function(){var t=this;if(this._initialized){var e=this._getTriggerEvents();e.showEvents.forEach(function(e){t._triggerEl.removeEventListener(e,t._showHandler),t._targetEl.removeEventListener(e,t._showHandler)}),e.hideEvents.forEach(function(e){t._triggerEl.removeEventListener(e,t._hideHandler),t._targetEl.removeEventListener(e,t._hideHandler)}),this._removeKeydownListener(),this._removeClickOutsideListener(),this._popperInstance&&this._popperInstance.destroy(),this._initialized=!1}},t.prototype.removeInstance=function(){a["default"].removeInstance("Popover",this._instanceId)},t.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},t.prototype._setupEventListeners=function(){var t=this,e=this._getTriggerEvents();this._showHandler=function(){t.show()},this._hideHandler=function(){setTimeout(function(){t._targetEl.matches(":hover")||t.hide()},100)},e.showEvents.forEach(function(e){t._triggerEl.addEventListener(e,t._showHandler),t._targetEl.addEventListener(e,t._showHandler)}),e.hideEvents.forEach(function(e){t._triggerEl.addEventListener(e,t._hideHandler),t._targetEl.addEventListener(e,t._hideHandler)})},t.prototype._createPopperInstance=function(){return(0,s.createPopper)(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]}}},t.prototype._setupKeydownListener=function(){var t=this;this._keydownEventListener=function(e){"Escape"===e.key&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(e){t._handleClickOutside(e,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(t,e){var i=t.target;i===e||e.contains(i)||this._triggerEl.contains(i)||!this.isVisible()||this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(t){return o(o({},t),{modifiers:r(r([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(t){return o(o({},t),{modifiers:r(r([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t.prototype.updateOnShow=function(t){this._options.onShow=t},t.prototype.updateOnHide=function(t){this._options.onHide=t},t.prototype.updateOnToggle=function(t){this._options.onToggle=t},t}();e.initPopovers=n,"undefined"!=typeof window&&(window.Popover=d,window.initPopovers=n),e["default"]=d},247:function(t,e,i){function n(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(t){var e=[],i=t.getAttribute("data-tabs-active-classes"),n=t.getAttribute("data-tabs-inactive-classes"),o=null;t.querySelectorAll('[role="tab"]').forEach(function(t){var i="true"===t.getAttribute("aria-selected"),n={id:t.getAttribute("data-tabs-target"),triggerEl:t,targetEl:document.querySelector(t.getAttribute("data-tabs-target"))};e.push(n),i&&(o=n.id)}),new c(t,e,{defaultTabId:o,activeClasses:i||s.activeClasses,inactiveClasses:n||s.inactiveClasses})})}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initTabs=void 0;var r=i(423),s={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},a={id:null,override:!0},c=function(){function t(t,e,i,n){void 0===t&&(t=null),void 0===e&&(e=[]),void 0===i&&(i=s),void 0===n&&(n=a),this._instanceId=n.id?n.id:t.id,this._tabsEl=t,this._items=e,this._activeTab=i?this.getTab(i.defaultTabId):null,this._options=o(o({},s),i),this._initialized=!1,this.init(),r["default"].addInstance("Tabs",this,this._tabsEl.id,!0),r["default"].addInstance("Tabs",this,this._instanceId,n.override)}return t.prototype.init=function(){var t=this;this._items.length&&!this._initialized&&(this._activeTab||this.setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(e){e.triggerEl.addEventListener("click",function(i){i.preventDefault(),t.show(e.id)})}))},t.prototype.destroy=function(){this._initialized&&(this._initialized=!1)},t.prototype.removeInstance=function(){this.destroy(),r["default"].removeInstance("Tabs",this._instanceId)},t.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype.setActiveTab=function(t){this._activeTab=t},t.prototype.getTab=function(t){return this._items.filter(function(e){return e.id===t})[0]},t.prototype.show=function(t,e){var i,n,o=this;void 0===e&&(e=!1);var r=this.getTab(t);(r!==this._activeTab||e)&&(this._items.map(function(t){var e,i;t!==r&&((e=t.triggerEl.classList).remove.apply(e,o._options.activeClasses.split(" ")),(i=t.triggerEl.classList).add.apply(i,o._options.inactiveClasses.split(" ")),t.targetEl.classList.add("hidden"),t.triggerEl.setAttribute("aria-selected","false"))}),(i=r.triggerEl.classList).add.apply(i,this._options.activeClasses.split(" ")),(n=r.triggerEl.classList).remove.apply(n,this._options.inactiveClasses.split(" ")),r.triggerEl.setAttribute("aria-selected","true"),r.targetEl.classList.remove("hidden"),this.setActiveTab(r),this._options.onShow(this,r))},t.prototype.updateOnShow=function(t){this._options.onShow=t},t}();e.initTabs=n,"undefined"!=typeof window&&(window.Tabs=c,window.initTabs=n),e["default"]=c},671:function(t,e,i){function n(){document.querySelectorAll("[data-tooltip-target]").forEach(function(t){var e=t.getAttribute("data-tooltip-target"),i=document.getElementById(e);if(i){var n=t.getAttribute("data-tooltip-trigger"),o=t.getAttribute("data-tooltip-placement");new d(i,t,{placement:o||c.placement,triggerType:n||c.triggerType})}else console.error('The tooltip element with id "'.concat(e,'" does not exist. Please check the data-tooltip-target attribute.'))})}var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},r=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var n,o=0,r=e.length;o<r;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.initTooltips=void 0;var s=i(853),a=i(423),c={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},l={id:null,override:!0},d=function(){function t(t,e,i,n){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=c),void 0===n&&(n=l),this._instanceId=n.id?n.id:t.id,this._targetEl=t,this._triggerEl=e,this._options=o(o({},c),i),this._popperInstance=null,this._visible=!1,this._initialized=!1,this.init(),a["default"].addInstance("Tooltip",this,this._instanceId,n.override)}return t.prototype.init=function(){this._triggerEl&&this._targetEl&&!this._initialized&&(this._setupEventListeners(),this._popperInstance=this._createPopperInstance(),this._initialized=!0)},t.prototype.destroy=function(){var t=this;if(this._initialized){var e=this._getTriggerEvents();e.showEvents.forEach(function(e){t._triggerEl.removeEventListener(e,t._showHandler)}),e.hideEvents.forEach(function(e){t._triggerEl.removeEventListener(e,t._hideHandler)}),this._removeKeydownListener(),this._removeClickOutsideListener(),this._popperInstance&&this._popperInstance.destroy(),this._initialized=!1}},t.prototype.removeInstance=function(){a["default"].removeInstance("Tooltip",this._instanceId)},t.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},t.prototype._setupEventListeners=function(){var t=this,e=this._getTriggerEvents();this._showHandler=function(){t.show()},this._hideHandler=function(){t.hide()},e.showEvents.forEach(function(e){t._triggerEl.addEventListener(e,t._showHandler)}),e.hideEvents.forEach(function(e){t._triggerEl.addEventListener(e,t._hideHandler)})},t.prototype._createPopperInstance=function(){return(0,s.createPopper)(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]}}},t.prototype._setupKeydownListener=function(){var t=this;this._keydownEventListener=function(e){"Escape"===e.key&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(e){t._handleClickOutside(e,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(t,e){var i=t.target;i===e||e.contains(i)||this._triggerEl.contains(i)||!this.isVisible()||this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(t){return o(o({},t),{modifiers:r(r([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(t){return o(o({},t),{modifiers:r(r([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t.prototype.updateOnShow=function(t){this._options.onShow=t},t.prototype.updateOnHide=function(t){this._options.onHide=t},t.prototype.updateOnToggle=function(t){this._options.onToggle=t},t}();e.initTooltips=n,"undefined"!=typeof window&&(window.Tooltip=d,window.initTooltips=n),e["default"]=d},947:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){void 0===e&&(e=[]),this._eventType=t,this._eventFunctions=e}return t.prototype.init=function(){var t=this;this._eventFunctions.forEach(function(e){"undefined"!=typeof window&&window.addEventListener(t._eventType,e)})},t}();e["default"]=i},423:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=new(function(){function t(){this._instances={Accordion:{},Carousel:{},Collapse:{},Dial:{},Dismiss:{},Drawer:{},Dropdown:{},Modal:{},Popover:{},Tabs:{},Tooltip:{},InputCounter:{},CopyClipboard:{}}}return t.prototype.addInstance=function(t,e,i,n){if(void 0===n&&(n=!1),!this._instances[t])return console.warn("Flowbite: Component ".concat(t," does not exist.")),!1;!this._instances[t][i]||n?(n&&this._instances[t][i]&&this._instances[t][i].destroyAndRemoveInstance(),this._instances[t][i||this._generateRandomId()]=e):console.warn("Flowbite: Instance with ID ".concat(i," already exists."))},t.prototype.getAllInstances=function(){return this._instances},t.prototype.getInstances=function(t){return this._instances[t]?this._instances[t]:(console.warn("Flowbite: Component ".concat(t," does not exist.")),!1)},t.prototype.getInstance=function(t,e){if(this._componentAndInstanceCheck(t,e)){if(this._instances[t][e])return this._instances[t][e];console.warn("Flowbite: Instance with ID ".concat(e," does not exist."))}},t.prototype.destroyAndRemoveInstance=function(t,e){this._componentAndInstanceCheck(t,e)&&(this.destroyInstanceObject(t,e),this.removeInstance(t,e))},t.prototype.removeInstance=function(t,e){this._componentAndInstanceCheck(t,e)&&delete this._instances[t][e]},t.prototype.destroyInstanceObject=function(t,e){this._componentAndInstanceCheck(t,e)&&this._instances[t][e].destroy()},t.prototype.instanceExists=function(t,e){return!!this._instances[t]&&!!this._instances[t][e]},t.prototype._generateRandomId=function(){return Math.random().toString(36).substr(2,9)},t.prototype._componentAndInstanceCheck=function(t,e){return this._instances[t]?!!this._instances[t][e]||(console.warn("Flowbite: Instance with ID ".concat(e," does not exist.")),!1):(console.warn("Flowbite: Component ".concat(t," does not exist.")),!1)},t}());e["default"]=i,"undefined"!=typeof window&&(window.FlowbiteInstances=i)}},i={};t.d=function(e,i){for(var n in i)t.o(i,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:i[n]})},t.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},t.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return function(){var e=n;Object.defineProperty(e,"__esModule",{value:!0}),t(647);var i=t(902),o=t(33),r=t(922),s=t(556),a=t(791),c=t(340),l=t(316),d=t(16),u=t(903),p=t(247),h=t(671),f=t(656),v=t(673);t(311);var g=t(947);new g["default"]("load",[i.initAccordions,r.initCollapses,o.initCarousels,a.initDismisses,l.initDropdowns,d.initModals,c.initDrawers,p.initTabs,h.initTooltips,u.initPopovers,s.initDials,v.initCopyClipboards,f.initInputCounters]).init(),e["default"]={Accordion:i["default"],Carousel:o["default"],Collapse:r["default"],Dial:s["default"],Drawer:c["default"],Dismiss:a["default"],Dropdown:l["default"],Modal:d["default"],Popover:u["default"],Tabs:p["default"],Tooltip:h["default"],InputCounter:f["default"],CopyClipboard:v["default"],Events:g["default"]}}(),n}()});var themeToggleDarkIcon=document.getElementById("theme-toggle-dark-icon"),themeToggleLightIcon=document.getElementById("theme-toggle-light-icon");if(themeToggleDarkIcon&&themeToggleLightIcon){"dark"===localStorage.getItem("color-theme")||!("color-theme"in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches?themeToggleLightIcon.classList.remove("hidden"):themeToggleDarkIcon.classList.remove("hidden");var themeToggleBtn=document.getElementById("theme-toggle");themeToggleBtn.addEventListener("click",function(){themeToggleDarkIcon.classList.toggle("hidden"),themeToggleLightIcon.classList.toggle("hidden"),localStorage.getItem("color-theme")?"light"===localStorage.getItem("color-theme")?(document.documentElement.classList.add("dark"),localStorage.setItem("color-theme","dark")):(document.documentElement.classList.remove("dark"),localStorage.setItem("color-theme","light")):document.documentElement.classList.contains("dark")?(document.documentElement.classList.remove("dark"),localStorage.setItem("color-theme","light")):(document.documentElement.classList.add("dark"),localStorage.setItem("color-theme","dark"))})}const modalEl=document.getElementById("cookies-modal");if(modalEl){const t=new Modal(modalEl,{placement:"center"});t.show();const e=document.referrer||"nil";sessionStorage.setItem("originalReferrer",e),document.getElementById("accept-cookies").addEventListener("click",function(){const e=sessionStorage.getItem("originalReferrer")||"nil";fetch("/api/cookie_consent/set_consent/?ref="+e,{method:"POST"}).then(e=>{e.ok?(t.hide(),location.reload()):alert("There was a problem setting cookie consent.")})}),document.getElementById("block-cookies").addEventListener("click",function(){t.hide()})}