manolis-ui 0.13.5 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- .carousel[data-v-db55a6a5]{-ms-overflow-style:none;scrollbar-width:none}.carousel[data-v-db55a6a5]::-webkit-scrollbar{display:none}.carousel-item[data-v-507384bc]{flex-shrink:0}.tab-content[data-v-577c3624]{background-color:var(--color-base-100);padding:1rem;border-radius:var(--radius-box, .5rem);box-shadow:var(--tw-shadow-lg);border:1px solid var(--color-base-300)}.tabs button[data-v-577c3624]{cursor:pointer;flex-grow:1;flex-shrink:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:0 1rem;position:relative}.tabs button .text-sm[data-v-577c3624],.tabs button .text-xs[data-v-577c3624]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.tabs button>.inline-component-wrapper[data-v-577c3624]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:0 1rem;background-color:var(--color-base-100);z-index:1}.tabs button.tab-active-inline .flex-col[data-v-577c3624]{visibility:hidden}@media (max-width: 768px){.tab-content[data-v-577c3624]{width:90%;left:50%!important;transform:translate(-50%)!important;top:auto!important;bottom:unset!important;margin-top:10px;position:fixed;max-height:80vh;overflow-y:auto}}@media (min-width: 769px){.tab-content[data-v-577c3624]{width:auto;left:unset;transform:unset;position:absolute;max-height:unset;overflow-y:visible}.tabs-boxed .tab[data-v-577c3624]{flex-basis:0}}@media (max-width: 768px){.collapse-title>div[data-v-577c3624]:last-child{opacity:.75}}.tabs-boxed .tab.tab-active[data-v-577c3624],.tabs-boxed .tab.tab-active[data-v-577c3624]:hover{background-color:var(--color-primary);color:var(--color-primary-content)}.tabs-boxed .tab.tab-active-inline[data-v-577c3624]{background-color:var(--color-primary);color:var(--color-primary-content);flex:6}.tabs button>.inline-component-wrapper[data-v-577c3624] *{color:var(--color-base-content)}input[type=time][data-v-74efd8bb]::-webkit-calendar-picker-indicator{opacity:0;position:absolute;height:100%;width:100%}.cally[data-v-74efd8bb] ::part(selected){border-radius:var(--radius-field)!important}.cally[data-v-74efd8bb] ::part(day){font-size:var(--text-base)!important}.cally div[part=container][data-v-74efd8bb]{padding:0!important}.navigationbar[data-v-8ddb2b45]{display:grid;grid-template-columns:auto auto auto;grid-template-rows:auto auto;grid-template-areas:"center center center" "bottom bottom bottom";position:fixed;width:100%!important;gap:0 1rem;align-items:center;padding:var(--navbar-padding, .5rem);min-height:4rem;z-index:5}@media (min-width: 768px){.navigationbar[data-v-8ddb2b45]{grid-template-columns:.7fr 1.6fr .7fr;grid-template-areas:"start center end" "bottom bottom bottom";grid-row-gap:2rem;padding:2rem}}.navbar-start[data-v-8ddb2b45]{grid-area:start;height:100%}.navbar-center[data-v-8ddb2b45]{grid-area:center;width:100%;height:100%}.navbar-end[data-v-8ddb2b45]{width:100%;height:100%;grid-area:end}.navbar-bottom[data-v-8ddb2b45]{grid-area:center;width:100%;display:flex;justify-content:center;align-items:center}@media (min-width: 768px){.navbar-bottom[data-v-8ddb2b45]{grid-area:bottom}}nav.navigationbar.collapsed[data-v-8ddb2b45]{top:0;z-index:10;grid-template-columns:auto 1fr auto!important}@media (min-width: 768px){nav.navigationbar.collapsed[data-v-8ddb2b45]{row-gap:0;padding:1rem}}nav.navigationbar.collapsed .navbar-bottom[data-v-8ddb2b45]{grid-area:center!important}
1
+ .carousel[data-v-db55a6a5]{-ms-overflow-style:none;scrollbar-width:none}.carousel[data-v-db55a6a5]::-webkit-scrollbar{display:none}.carousel-item[data-v-507384bc]{flex-shrink:0}.tab-content[data-v-577c3624]{background-color:var(--color-base-100);padding:1rem;border-radius:var(--radius-box, .5rem);box-shadow:var(--tw-shadow-lg);border:1px solid var(--color-base-300)}.tabs button[data-v-577c3624]{cursor:pointer;flex-grow:1;flex-shrink:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:0 1rem;position:relative}.tabs button .text-sm[data-v-577c3624],.tabs button .text-xs[data-v-577c3624]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.tabs button>.inline-component-wrapper[data-v-577c3624]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:0 1rem;background-color:var(--color-base-100);z-index:1}.tabs button.tab-active-inline .flex-col[data-v-577c3624]{visibility:hidden}@media (max-width: 768px){.tab-content[data-v-577c3624]{width:90%;left:50%!important;transform:translate(-50%)!important;top:auto!important;bottom:unset!important;margin-top:10px;position:fixed;max-height:80vh;overflow-y:auto}}@media (min-width: 769px){.tab-content[data-v-577c3624]{width:auto;left:unset;transform:unset;position:absolute;max-height:unset;overflow-y:visible}.tabs-boxed .tab[data-v-577c3624]{flex-basis:0}}@media (max-width: 768px){.collapse-title>div[data-v-577c3624]:last-child{opacity:.75}}.tabs-boxed .tab.tab-active[data-v-577c3624],.tabs-boxed .tab.tab-active[data-v-577c3624]:hover{background-color:var(--color-primary);color:var(--color-primary-content)}.tabs-boxed .tab.tab-active-inline[data-v-577c3624]{background-color:var(--color-primary);color:var(--color-primary-content);flex:6}.tabs button>.inline-component-wrapper[data-v-577c3624] *{color:var(--color-base-content)}input[type=time][data-v-acf7c70e]::-webkit-calendar-picker-indicator{opacity:0;position:absolute;height:100%;width:100%}.cally[data-v-acf7c70e] ::part(selected){border-radius:var(--radius-field)!important}.cally[data-v-acf7c70e] ::part(day){font-size:var(--text-base)!important}.cally div[part=container][data-v-acf7c70e]{padding:0!important}.navigationbar[data-v-8ddb2b45]{display:grid;grid-template-columns:auto auto auto;grid-template-rows:auto auto;grid-template-areas:"center center center" "bottom bottom bottom";position:fixed;width:100%!important;gap:0 1rem;align-items:center;padding:var(--navbar-padding, .5rem);min-height:4rem;z-index:5}@media (min-width: 768px){.navigationbar[data-v-8ddb2b45]{grid-template-columns:.7fr 1.6fr .7fr;grid-template-areas:"start center end" "bottom bottom bottom";grid-row-gap:2rem;padding:2rem}}.navbar-start[data-v-8ddb2b45]{grid-area:start;height:100%}.navbar-center[data-v-8ddb2b45]{grid-area:center;width:100%;height:100%}.navbar-end[data-v-8ddb2b45]{width:100%;height:100%;grid-area:end}.navbar-bottom[data-v-8ddb2b45]{grid-area:center;width:100%;display:flex;justify-content:center;align-items:center}@media (min-width: 768px){.navbar-bottom[data-v-8ddb2b45]{grid-area:bottom}}nav.navigationbar.collapsed[data-v-8ddb2b45]{top:0;z-index:10;grid-template-columns:auto 1fr auto!important}@media (min-width: 768px){nav.navigationbar.collapsed[data-v-8ddb2b45]{row-gap:0;padding:1rem}}nav.navigationbar.collapsed .navbar-bottom[data-v-8ddb2b45]{grid-area:center!important}
@@ -1288,7 +1288,7 @@ const Ee = Q("SunIcon", [
1288
1288
  ])) : T("", !0),
1289
1289
  !t.range && t.mode !== "date" ? (a(), r("input", {
1290
1290
  key: 3,
1291
- class: "open:bg-primary open:rounded w-full input input-bordered my-2 justify-center",
1291
+ class: "open:bg-primary open:rounded w-full input input-bordered my-2 justify-center px-4 min-w-xs",
1292
1292
  type: "time",
1293
1293
  ref_key: "timeInput",
1294
1294
  ref: v,
@@ -1306,7 +1306,7 @@ const Ee = Q("SunIcon", [
1306
1306
  ], 544);
1307
1307
  };
1308
1308
  }
1309
- }), Ot = /* @__PURE__ */ J(zt, [["__scopeId", "data-v-74efd8bb"]]), Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1309
+ }), Ot = /* @__PURE__ */ J(zt, [["__scopeId", "data-v-acf7c70e"]]), Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1310
1310
  __proto__: null,
1311
1311
  default: Ot
1312
1312
  }, Symbol.toStringTag, { value: "Module" })), jt = ["value", "checked", "onChange", "disabled"], Xl = /* @__PURE__ */ P({
@@ -43,4 +43,4 @@
43
43
  *
44
44
  * This source code is licensed under the ISC license.
45
45
  * See the LICENSE file in the root directory of this source tree.
46
- */const Rt=Z("SunIcon",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),qt=(t,n)=>{const o=e.ref(null);return e.onMounted(()=>{if(typeof window<"u"){const l=window.localStorage.getItem(t);o.value=l?JSON.parse(l):n}}),e.watch(o,l=>{typeof window<"u"&&window.localStorage.setItem(t,JSON.stringify(l))}),o},Ht={class:"swap-rotate swap"},Wt=["true-value","false-value"],Kt=e.defineComponent({__name:"theme-controller",props:{lightTheme:{default:"light"},darkTheme:{default:"dark"}},setup(t){const n=t,o=qt("theme",n.lightTheme);function l(r){typeof window<"u"&&window.document&&document.documentElement.setAttribute("data-theme",r)}return e.onMounted(()=>l(o.value?o.value:"")),e.watch(o,r=>{l(r)}),(r,a)=>(e.openBlock(),e.createElementBlock("label",Ht,[e.withDirectives(e.createElementVNode("input",{type:"checkbox",class:"theme-controller","onUpdate:modelValue":a[0]||(a[0]=s=>e.isRef(o)?o.value=s:null),"true-value":n.lightTheme,"false-value":n.darkTheme},null,8,Wt),[[e.vModelCheckbox,e.unref(o)]]),e.createVNode(e.unref(Rt),{class:"swap-off fill-current"}),e.createVNode(e.unref(_t),{class:"swap-on fill-current"})]))}}),Yt=["name"],Jt={class:"collapse-title font-bold text-2xl lg:text-4xl"},Xt={class:"collapse-content"},Gt=["innerHTML"],Zt=e.defineComponent({__name:"accordion",props:{name:{},items:{},joinItems:{type:Boolean,default:!1},icon:{}},setup(t){const n=t;return(o,l)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.items,(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["collapse border border-base-300",[t.icon?`collapse-${t.icon}`:"",{"join-item":t.joinItems}]]),key:a},[e.createElementVNode("input",{type:"radio",name:t.name,value:"true"},null,8,Yt),e.createElementVNode("div",Jt,e.toDisplayString(r.title),1),e.createElementVNode("div",Xt,[e.createElementVNode("span",{innerHTML:r.content},null,8,Gt)])],2))),128))}}),Qt=["src"],en={class:"text-xl"},tn=e.defineComponent({__name:"avatar",props:{image:{},onlineStatus:{default:"none"},initials:{},fullyRounded:{type:Boolean,default:!1}},setup(t){const n=t,o=e.ref(n.onlineStatus);return e.watch(()=>n.onlineStatus,l=>{l&&(o.value=l)}),(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["avatar",[{"avatar-online":o.value==="online"},{"avatar-offline":o.value==="offline"}]])},[t.image?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["rounded",[{"rounded-full":t.fullyRounded},{rounded:!t.fullyRounded}]])},[e.createElementVNode("img",{src:t.image,class:"w-full h-full"},null,8,Qt)],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["flex justify-center bg-neutral p-[25%] rounded w-16 text-neutral-content text-center",[{"rounded-full":t.fullyRounded},{rounded:!t.fullyRounded}]])},[e.createElementVNode("p",en,e.toDisplayString(t.initials),1)],2))],2))}}),nn=e.defineComponent({__name:"badge",props:{color:{default:"neutral"},outline:{type:Boolean,default:!1},size:{default:"medium"}},setup(t){const n=t,o={"extra small":"badge-xs",small:"badge-sm",medium:"badge-md",large:"badge-lg"},l={neutral:"badge-neutral",primary:"badge-primary",secondary:"badge-secondary",accent:"badge-accent",ghost:"badge-ghost",info:"badge-info",success:"badge-success",warning:"badge-warning",error:"badge-error"};return(r,a)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["badge",o[n.size],l[n.color],{"badge-outline":n.outline}])},[e.renderSlot(r.$slots,"default")],2))}}),on=["src","alt"],ln={key:0,class:"card-body"},an={key:0,class:"group-hover:text-primary text-lg text-left cursor-pointer card-title"},rn={key:1,class:"text-left"},sn={class:"flex-col flex-nowrap mt-auto card-actions"},cn={key:1,class:"card-body"},dn=e.defineComponent({__name:"card",props:{imgUrl:{default:""},alt:{default:"A beautiful picture that says something about this card"},title:{default:""},description:{default:""},outlined:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},class:{default:""},background:{default:"bg-base-100"},color:{default:""},imgHeight:{default:"h-44"},imgWidth:{default:""},horizontal:{type:Boolean,default:!1}},setup(t){const n=t,o=e.ref(n.outlined);return e.watch(()=>n.outlined,l=>{o.value=l}),(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["group bg-base-100 shadow-xl rounded-sm min-w-64 max-w-full h-full card card-compact",[{"border-4 border-primary":o.value},t.color??"",t.background,{"card-side":t.horizontal}]])},[e.createElementVNode("figure",{class:e.normalizeClass([{"contents!":t.horizontal&&t.imgWidth}])},[t.imgUrl||t.imgUrl&&!t.loading?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.imgUrl,alt:t.alt,class:e.normalizeClass(["rounded-sm object-cover",[{hidden:t.loading},!t.horizontal&&t.imgHeight?t.imgHeight:"h-full",t.horizontal&&t.imgWidth?t.imgWidth:"w-full"]])},null,10,on)):e.createCommentVNode("",!0),t.loading&&t.imgUrl?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["w-full skeleton",t.imgHeight])},null,2)):e.createCommentVNode("",!0)],2),t.loading?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",ln,[t.title?(e.openBlock(),e.createElementBlock("h2",an,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"details"),t.description?(e.openBlock(),e.createElementBlock("p",rn,e.toDisplayString(t.description),1)):e.createCommentVNode("",!0),e.createElementVNode("div",sn,[e.renderSlot(l.$slots,"actions")])])),t.loading?(e.openBlock(),e.createElementBlock("div",cn,[...r[0]||(r[0]=[e.createElementVNode("div",{class:"flex flex-col gap-4 w-52"},[e.createElementVNode("div",{class:"w-28 h-4 skeleton"}),e.createElementVNode("div",{class:"w-full h-4 skeleton"}),e.createElementVNode("div",{class:"w-full h-4 skeleton"})],-1)])])):e.createCommentVNode("",!0)],2))}}),Le=Symbol("CarouselItemStyle"),un={class:"relative h-full"},mn={key:0,class:"top-1/2 right-5 left-5 z-10 absolute flex justify-between -translate-y-1/2 transform"},fn={key:1,class:"bottom-5 z-10 absolute flex justify-center gap-2 py-2 w-full"},pn=["onClick","aria-label"],hn=e.defineComponent({__name:"carousel",props:{showIndicators:{type:Boolean,default:!0},showNavigationButtons:{type:Boolean,default:!0},sliderOrientation:{type:String,default:"horizontal",required:!1,validator:t=>t=="horizontal"||t=="vertical"},initialSlide:{type:Number,default:0},slidesPerView:{type:Number,default:1,validator:t=>t>=1},gap:{type:Number,default:0,validator:t=>t>=0},slideDuration:{type:Number,default:300,validator:t=>t>=0}},setup(t,{expose:n}){const o=t,l=e.ref(o.initialSlide),r=e.ref(null),a=e.ref(!1),s=e.ref(0),d=e.computed(()=>({width:`calc((100% - ${o.slidesPerView>1?(o.slidesPerView-1)*o.gap:0}px) / ${o.slidesPerView})`}));e.provide(Le,d);const i=()=>{r.value?s.value=r.value.children.length:s.value=0},c=async w=>{if(!r.value||o.slidesPerView<=0||a.value||(i(),s.value===0))return;const B=(w%s.value+s.value)%s.value,x=r.value,E=o.sliderOrientation==="vertical"?(x.offsetHeight-(o.slidesPerView-1)*o.gap)/o.slidesPerView:(x.offsetWidth-(o.slidesPerView-1)*o.gap)/o.slidesPerView;if(E<=0)return;const N=E+o.gap,T=B*N,z=o.sliderOrientation==="vertical"?x.scrollHeight-x.offsetHeight:x.scrollWidth-x.offsetWidth,g=Math.max(0,Math.min(T,z+.5));a.value=!0,x.style.scrollBehavior="auto";const f=o.sliderOrientation==="vertical"?x.scrollTop:x.scrollLeft,p=g-f;if(Math.abs(p)<1){a.value=!1,l.value=B;return}const $=performance.now(),u=C=>{const k=C-$,V=Math.min(1,k/o.slideDuration),I=V<.5?4*V*V*V:1-Math.pow(-2*V+2,3)/2,M=f+p*I;o.sliderOrientation==="vertical"?x.scrollTop=M:x.scrollLeft=M,V<1?requestAnimationFrame(u):(o.sliderOrientation==="vertical"?x.scrollTop=g:x.scrollLeft=g,l.value=B,a.value=!1)};requestAnimationFrame(u)},m=()=>{c(l.value+1)},b=()=>{c(l.value-1)},y=w=>{c(w)},h=()=>{if(!r.value||o.slidesPerView<=0||(i(),s.value===0))return;const w=r.value,B=o.sliderOrientation==="vertical"?w.offsetHeight:w.offsetWidth,x=o.slidesPerView>1?(o.slidesPerView-1)*o.gap:0,E=(B-x)/o.slidesPerView;if(E<=0)return;const N=Math.max(0,s.value-o.slidesPerView),T=Math.min(Math.max(0,o.initialSlide),N),z=T*(E+o.gap),g=o.sliderOrientation==="vertical"?w.scrollHeight-w.offsetHeight:w.scrollWidth-w.offsetWidth,f=Math.max(0,Math.min(z,g+.5));o.sliderOrientation==="vertical"?w.scrollTo({top:f,behavior:"auto"}):w.scrollTo({left:f,behavior:"auto"}),l.value=T};return e.onMounted(()=>{requestAnimationFrame(()=>{requestAnimationFrame(h)}),i()}),e.watch(()=>o.initialSlide,w=>{requestAnimationFrame(()=>c(w))}),e.watch(()=>[o.slidesPerView,o.gap],()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{if(i(),s.value===0)return;const w=Math.max(0,s.value-o.slidesPerView),B=Math.min(l.value,w),x=o.slideDuration;o.slideDuration=0,c(B),o.slideDuration=x})})}),n({scrollToSlide:c}),(w,B)=>(e.openBlock(),e.createElementBlock("div",un,[e.createElementVNode("div",{ref_key:"carouselContainer",ref:r,class:e.normalizeClass(["rounded w-full h-full overflow-x-scroll scroll-smooth carousel",[{"carousel-horizontal md:snap-none":t.sliderOrientation=="horizontal"},{"carousel-vertical":t.sliderOrientation=="vertical"}]]),style:e.normalizeStyle({gap:`${t.gap}px`})},[e.renderSlot(w.$slots,"default",{},void 0,!0)],6),t.showNavigationButtons?(e.openBlock(),e.createElementBlock("div",mn,[e.createElementVNode("div",{onClick:b,role:"button","aria-label":"Previous Slide"},[e.renderSlot(w.$slots,"prevButton",{},()=>[B[0]||(B[0]=e.createElementVNode("button",{class:"btn btn-circle",tabindex:"-1"},"❮",-1))],!0)]),e.createElementVNode("div",{onClick:m,role:"button","aria-label":"Next Slide"},[e.renderSlot(w.$slots,"nextButton",{},()=>[B[1]||(B[1]=e.createElementVNode("button",{class:"btn btn-circle",tabindex:"-1"},"❯",-1))],!0)])])):e.createCommentVNode("",!0),t.showIndicators?(e.openBlock(),e.createElementBlock("div",fn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,(x,E)=>(e.openBlock(),e.createElementBlock("button",{key:`dot-${E}`,onClick:N=>y(E),class:e.normalizeClass(["btn btn-circle btn-xs",{"btn-active":E===l.value}]),"aria-label":`Go to slide ${E+1}`},null,10,pn))),128))])):e.createCommentVNode("",!0)]))}}),H=(t,n)=>{const o=t.__vccOpts||t;for(const[l,r]of n)o[l]=r;return o},gn=H(hn,[["__scopeId","data-v-db55a6a5"]]),yn=H(e.defineComponent({__name:"carouselItem",setup(t){const n=e.inject(Le,e.ref({}));return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:"w-full h-full carousel-item",style:e.normalizeStyle(e.unref(n))},[e.renderSlot(o.$slots,"default",{},void 0,!0)],4))}}),[["__scopeId","data-v-507384bc"]]),bn={class:"flex gap-4 bg-base-100 w-full tabs tabs-boxed"},kn=["onClick"],wn={key:0,class:"inline-component-wrapper flex grow justify-center items-center w-full h-full"},xn={key:1,class:"flex flex-col"},En={class:"text-sm"},Bn={key:0,class:"opacity-75 overflow-hidden text-xs truncate ..."},Cn={key:1,class:"hidden md:block opacity-35 overflow-hidden text-xs truncate ..."},$n={class:"hidden"},Sn=["id"],Vn={class:"modal-box"},Nn={class:"font-bold text-lg"},vn=["name","checked"],Dn={class:"collapse-title flex justify-between items-center pr-4 w-full font-medium text-xl"},Tn={key:0,class:"opacity-75 overflow-hidden text-sm truncate ..."},Mn={key:1,class:"opacity-35 text-sm"},zn={class:"collapse-content flex place-content-center p-0"},In=H(e.defineComponent({__name:"advancedSearch",props:{searchOptions:{},currentCategory:{},id:{},value:{}},emits:["search","update:search-data"],setup(t,{emit:n}){const o=t,l=n,r=o.id??`advancedSearch-${e.useId()}`,a=e.ref(null),s=e.ref(null),d={datetime:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Hn)),"standard-select":e.defineAsyncComponent(()=>Promise.resolve().then(()=>ao)),"custom-text":e.defineAsyncComponent(()=>Promise.resolve().then(()=>Bo))},i=e.ref({}),c=e.ref({left:"0px",top:"0px",transform:"translateX(0%)"}),m=e.ref(null),b=g=>{var f;if(g.value===void 0||g.value===null||g.value==="")return"";switch(g.type){case"datetime":if(typeof g.value=="string")try{const p=new Date(g.value);if(!isNaN(p.getTime()))return p.toLocaleString()}catch{}else if(g.range&&typeof g.value=="object"&&g.value!==null&&"start"in g.value&&"end"in g.value)try{const p=new Date(g.value.start),$=new Date(g.value.end);if(!isNaN(p.getTime())&&!isNaN($.getTime()))return`${p.toLocaleDateString()} - ${$.toLocaleDateString()}`}catch{}break;case"custom-range":if(typeof g.value=="object"&&g.value!==null&&"start"in g.value&&"end"in g.value)return`${g.value.start} - ${g.value.end}`;break;case"custom-number":if(typeof g.value=="number")return g.value.toString();break;case"standard-select":case"custom-select":if((f=g.props)!=null&&f.options&&Array.isArray(g.props.options)){const p=g.props.options.find($=>$.value===g.value);if(p)return p.text}return String(g.value);case"custom-text":if(typeof g.value=="string")return g.value;break}return String(g.value)};function y(g){var u,C;const f=(u=a.value)==null?void 0:u.name;if(!f){console.warn("componentValueUpdated called but no active tab.");return}const p=(C=o.searchOptions.find(k=>(k==null?void 0:k.category)===o.currentCategory))==null?void 0:C.tabs,$=p==null?void 0:p.find(k=>k.name===f);$?($.value=g,l("update:search-data",{tab:$.name,data:g})):console.error(`Tab with name "${f}" not found in current category.`)}function h(g){y(g)}function w(){l("search")}async function B(g){var $;const f=document.getElementById(`advancedSearchMobile-${r}`),p=f&&f.contains(g.target);(($=a.value)==null?void 0:$.displayMode)==="popup"&&m.value&&!m.value.contains(g.target)&&!p&&(await e.nextTick(),a.value=null)}async function x(){if(typeof window<"u"&&window.innerWidth<=768){const g=document.getElementById(`advancedSearchMobile-${r}`);g?(a.value=null,g.showModal()):console.warn(`Mobile modal element not found. Ensure it exists with id="advancedSearchMobile-${r}".`)}}async function E(g){var p,$,u;if(typeof window<"u"&&window.innerWidth<=768){x();return}const f=g.displayMode??"popup";if(((p=a.value)==null?void 0:p.name)===g.name&&(($=a.value)==null?void 0:$.displayMode)===f)a.value=null;else if(a.value={...g,displayMode:f},await e.nextTick(),((u=a.value)==null?void 0:u.displayMode)==="popup"){const C=i.value[g.name];if(C&&m.value){const k=C.getBoundingClientRect(),V=m.value.getBoundingClientRect(),I=k.bottom-V.top,M=k.left+k.width/2-V.left;c.value={left:`${M}px`,top:`${I+8}px`,transform:"translateX(-50%)"}}else console.error("Tab element or search container not found for positioning:",g.name)}}const N=g=>{const f=g.relatedTarget;setTimeout(()=>{var p;((p=a.value)==null?void 0:p.displayMode)==="inline"&&m.value&&(!f||!m.value.contains(f))?(console.log("Blur detected outside container, closing inline view."),a.value=null):console.log("Blur detected, but staying within container or not an inline tab.")},50)},T=()=>{console.log("Enter key pressed on inline component, closing inline view."),a.value=null};e.watch(s,g=>{var f;console.log("advanced-search: inlineComponentRef changed. New Value:",g),console.log("advanced-search: activeTab.value:",a.value),g&&((f=a.value)==null?void 0:f.displayMode)==="inline"?(console.log("advanced-search: Inline component ref is available and active tab is inline. Attempting to focus child input..."),e.nextTick(()=>{console.log("advanced-search: Inside nextTick. Attempting to call child's focus method..."),console.log("advanced-search: Type of newValue:",typeof g),console.log("advanced-search: Does newValue have focusInput?",typeof g.focusInput=="function"),g&&typeof g.focusInput=="function"?(console.log("advanced-search: Calling exposed focusInput() method on child instance."),g.focusInput()):console.warn('advanced-search: Child inline component instance does not expose a "focusInput" method or is not ready.',g)})):console.log(g?"advanced-search: inlineComponentRef available, but active tab is not inline.":"advanced-search: inlineComponentRef is now null (component likely unmounted).")}),e.onMounted(()=>{document.addEventListener("click",B),window.addEventListener("resize",z)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",B),window.removeEventListener("resize",z)});const z=()=>{var g,f;if(typeof window<"u"){const p=window.innerWidth<=768,$=a.value!==null&&(a.value.displayMode==="popup"||a.value.displayMode==="inline")&&window.innerWidth>768;!p&&(((g=a.value)==null?void 0:g.displayMode)==="popup"||((f=a.value)==null?void 0:f.displayMode)==="inline")&&window.innerWidth<=768&&(console.log("Resizing to mobile, closing active tab."),a.value=null),p&&!$&&a.value!==null&&(console.log("Resizing to desktop from potential mobile active state, closing active tab."),a.value=null);const u=document.getElementById(`advancedSearchMobile-${r}`);u!=null&&u.open&&!p&&(console.log("Modal is open on desktop, closing modal and active tab."),u.close(),a.value=null)}};return(g,f)=>{var p,$;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{ref_key:"searchContainer",ref:m,class:"w-full"},[e.createElementVNode("div",{class:"group/search relative flex place-items-center shadow-md p-2 border-2 border-base-300/25 rounded-sm w-full transition-all cursor-pointer md:cursor-auto",onClick:x},[e.createElementVNode("div",bn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(((p=o.searchOptions.find(u=>u.category===o.currentCategory))==null?void 0:p.tabs)||[],(u,C)=>{var k,V,I,M,R;return e.openBlock(),e.createElementBlock("button",{key:`${u.name}-${C}`,onClick:e.withModifiers(j=>E(u),["stop"]),class:e.normalizeClass([{"tab-active":((k=a.value)==null?void 0:k.name)===u.name,"tab-active-inline":((V=a.value)==null?void 0:V.name)===u.name&&((I=a.value)==null?void 0:I.displayMode)==="inline"},"group/searchitem after:top-0 after:-right-2 after:absolute relative first-of-type:flex-auto last-of-type:flex-auto after:bg-base-200 hover:bg-base-200 p-1 rounded-sm w-auto after:w-px after:h-10 overflow-x-hidden text-start md:after:content-[''] after:content-none last-of-type:after:content-none"]),ref_for:!0,ref:j=>i.value[u.name]=j},[((M=a.value)==null?void 0:M.name)===u.name&&((R=a.value)==null?void 0:R.displayMode)==="inline"?(e.openBlock(),e.createElementBlock("div",wn,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d[a.value.type]),e.mergeProps({ref_for:!0},a.value.props||{},{modelValue:a.value.value,onUpdated:f[0]||(f[0]=j=>h(j)),"onUpdate:modelValue":f[1]||(f[1]=j=>h(j)),onBlur:N,onKeydown:e.withKeys(e.withModifiers(T,["stop","prevent"]),["enter"]),ref_for:!0,ref_key:"inlineComponentRef",ref:s}),null,16,["modelValue","onKeydown"]))])):(e.openBlock(),e.createElementBlock("div",xn,[e.createElementVNode("p",En,e.toDisplayString(u.name),1),u.value!==void 0&&u.value!==null&&u.value!==""?(e.openBlock(),e.createElementBlock("p",Bn,e.toDisplayString(b(u)),1)):(e.openBlock(),e.createElementBlock("p",Cn,e.toDisplayString(u.description),1))]))],10,kn)}),128))]),a.value&&a.value.displayMode==="popup"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"absolute flex shadow-sm mt-4 w-fit max-w-full transition-all tab-content",style:e.normalizeStyle(c.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d[a.value.type]),e.mergeProps(a.value.props||{},{modelValue:a.value.value,onUpdated:f[2]||(f[2]=u=>y(u)),"onUpdate:modelValue":f[3]||(f[3]=u=>y(u))}),null,16,["modelValue"]))],4)):e.createCommentVNode("",!0),e.createElementVNode("button",{title:"search",type:"submit",class:"ml-1 btn btn-primary btn-square",onClick:e.withModifiers(w,["stop"])},[e.createVNode(e.unref(Ae),{size:24,color:"white"})])]),e.createElementVNode("div",$n,[e.createElementVNode("button",{title:"search",onClick:f[4]||(f[4]=()=>{})},[e.createVNode(e.unref(Ae),{size:24,color:"white"})])])],512),e.createElementVNode("dialog",{id:`advancedSearchMobile-${e.unref(r)}`,class:"modal"},[e.createElementVNode("div",Vn,[e.renderSlot(g.$slots,"additionalForMobile",{},()=>[e.createElementVNode("h3",Nn,e.toDisplayString(t.currentCategory),1)],!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((($=o.searchOptions.find(u=>u.category===o.currentCategory))==null?void 0:$.tabs)||[],(u,C)=>(e.openBlock(),e.createElementBlock("div",{class:"collapse bg-base-200 my-4",key:u.name},[e.createElementVNode("input",{type:"radio",name:`accordion-${e.unref(r)}`,checked:C===0},null,8,vn),e.createElementVNode("div",Dn,[e.createElementVNode("div",null,e.toDisplayString(u.name),1),u.value!==void 0&&u.value!==null&&u.value!==""?(e.openBlock(),e.createElementBlock("div",Tn,e.toDisplayString(b(u)),1)):(e.openBlock(),e.createElementBlock("div",Mn,e.toDisplayString(u.description),1))]),e.createElementVNode("div",zn,[f[7]||(f[7]=e.createElementVNode("br",null,null,-1)),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d[u.type]),e.mergeProps({ref_for:!0},u.props||{},{modelValue:u.value,onUpdated:f[5]||(f[5]=k=>y(k)),"onUpdate:modelValue":f[6]||(f[6]=k=>y(k))}),null,16,["modelValue"]))])]))),128)),e.createElementVNode("div",{class:"modal-action"},[e.createElementVNode("form",{method:"dialog"},[e.createElementVNode("button",{class:"btn btn-primary",onClick:w}," Close and Search ")])])])],8,Sn)],64)}}}),[["__scopeId","data-v-577c3624"]]),Pn={class:"z-30 relative flex items-center bg-base-100 date-filter-input px-4 border-2 border-primary rounded-md w-full min-h-10 font-semibold text-primary text-sm"},On={key:0},An=["id"],Ln={key:2,class:"join items-center gap-2 w-full justify-between py-2 px-4 max-md:input max-md:input-bordered rounded"},jn={class:"join-item"},Fn=["id","disabled"],Un={class:"join-item"},_n=["id","disabled"],Rn=["id","disabled"],qn={key:4,class:"flex mt-4"},je=H(e.defineComponent({__name:"datetimePicker",props:{mode:{default:"datetime"},range:{type:Boolean,default:!1},placeholder:{default:"Select date and time"},popup:{type:Boolean,default:!1},id:{default:"date-time-picker"},initialDate:{default:null},disabled:{type:Boolean,default:!1},locale:{default:"nl-NL"},min:{},max:{}},emits:["update:modelValue","change"],setup(t,{emit:n}){e.onMounted(async()=>{await Promise.resolve().then(()=>Gl)});const o=t,l=n,r=e.ref(null),a=e.ref(!1),s=e.ref(null),d=e.ref(null),i=e.ref(null),c=e.ref(null),m=e.ref(null),b=e.ref({from:"",to:"",single:""}),y=e.ref({single:null,start:null,end:null}),h=e.computed(()=>{const f=u=>{if(!u||u.includes(":"))return u;if(/^\d{4}-\d{2}-\d{2}$/.test(u))try{return new Date(u).toLocaleDateString(o.locale)}catch{const[C,k,V]=u.split("-");return`${V}/${k}/${C}`}return u};let p="",$="";if(o.mode!=="time"&&(o.range&&y.value.start&&y.value.end?p=`${y.value.start} - ${y.value.end}`:!o.range&&y.value.single&&(p=y.value.single)),o.mode!=="date"&&(o.range&&b.value.from&&b.value.to?$=`${b.value.from} - ${b.value.to}`:!o.range&&b.value.single&&($=b.value.single)),o.mode==="date")return o.range?p.split(" - ").map(f).join(" - "):f(p);if(o.mode==="time")return $;if(o.range){const[u,C]=p.split(" - ").map(f),[k,V]=$.split(" - ");return`${u} ${k} - ${C} ${V}`.trim()}return`${f(p)} ${$}`.trim()});console.log(h);const w=()=>{if(o.range){const{start:f,end:p}=y.value,{from:$,to:u}=b.value;let C=null,k=null;if(o.mode==="time"&&$&&u?(C=$,k=u):o.mode==="date"&&f&&p?(C=f,k=p):o.mode==="datetime"&&f&&p&&$&&u&&(C=`${f}T${$}`,k=`${p}T${u}`),C&&k)return{start:C,end:k}}else{const f=y.value.single,p=b.value.single;if(o.mode==="date")return f;if(o.mode==="time")return p||null;if(o.mode==="datetime"&&f&&p)return`${f}T${p}`}return null},B=()=>{if(s.value)y.value.single=s.value.value||null;else if(d.value){const f=d.value.value;y.value.start=(f==null?void 0:f.start)||null,y.value.end=(f==null?void 0:f.end)||null}},x=()=>{B();const f=w();l("update:modelValue",f),l("change",f)},E=()=>{var f,p,$;o.range?(b.value.from=((f=c.value)==null?void 0:f.value)||"",b.value.to=((p=m.value)==null?void 0:p.value)||""):b.value.single=(($=i.value)==null?void 0:$.value)||"",x()},N=()=>{a.value=!a.value,a.value&&x()},T=()=>{a.value=!1,x()},z=f=>{if(!o.popup||!a.value)return;const p=r.value,$=f.target;p&&!p.contains($)&&T()},g=()=>{const f=p=>p instanceof Date?p.toISOString():p;if(o.initialDate){if(o.range&&typeof o.initialDate=="object"&&"start"in o.initialDate){const p=f(o.initialDate.start),$=f(o.initialDate.end);if(y.value.start=p.split("T")[0],y.value.end=$.split("T")[0],o.mode!=="date"){const u=new Date(p),C=new Date($),k=V=>`${String(V.getUTCHours()).padStart(2,"0")}:${String(V.getUTCMinutes()).padStart(2,"0")}`;b.value.from=k(u),b.value.to=k(C),c.value&&(c.value.value=b.value.from),m.value&&(m.value.value=b.value.to)}}else if(typeof o.initialDate=="string"||o.initialDate instanceof Date){const p=f(o.initialDate);if(y.value.single=p.split("T")[0],o.mode!=="date"){const $=new Date(p),u=`${String($.getUTCHours()).padStart(2,"0")}:${String($.getUTCMinutes()).padStart(2,"0")}`;b.value.single=u,i.value&&(i.value.value=u)}}}};return e.onMounted(()=>{g(),x()}),(f,p)=>{const $=e.resolveComponent("calendar-month"),u=e.resolveComponent("calendar-date"),C=e.resolveComponent("calendar-range");return e.openBlock(),e.createElementBlock("div",{class:"inline-block relative w-fit lg:w-full",ref_key:"pickerContainer",ref:r,onMousedownCapture:z},[o.popup?(e.openBlock(),e.createElementBlock("div",{key:0,class:"flex items-center gap-2 cursor-pointer w-full",onClick:p[0]||(p[0]=k=>o.disabled?null:N())},[e.createElementVNode("div",Pn,[h.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",On,e.toDisplayString(t.placeholder),1)),e.createTextVNode(" "+e.toDisplayString(h.value),1)])])):e.createCommentVNode("",!0),a.value||!o.popup?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["z-50 bg-base-100 rounded-md w-full",{"absolute top-full left-0 mt-2 shadow-lg":o.popup,"mt-2":!o.popup}]),id:`date-picker-${o.id}-popup`},[!o.range&&o.mode!=="time"?(e.openBlock(),e.createBlock(u,{key:0,class:"cally w-full",ref_key:"datePicker",ref:s,id:`${o.id}-date`,min:o.min,max:o.max,disabled:o.disabled,onChange:x},{default:e.withCtx(()=>[p[1]||(p[1]=e.createElementVNode("button",{slot:"previous",class:"btn-outline btn btn-primary md:btn-sm"},[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"})])],-1)),p[2]||(p[2]=e.createElementVNode("button",{slot:"next",class:"btn-outline btn btn-primary md:btn-sm"},[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})])],-1)),e.createVNode($,{locale:o.locale},null,8,["locale"])]),_:1},8,["id","min","max","disabled"])):e.createCommentVNode("",!0),o.range&&o.mode!=="time"?(e.openBlock(),e.createBlock(C,{key:1,class:"cally w-full",ref_key:"rangeDatePicker",ref:d,id:`${o.id}-date-range`,min:o.min,max:o.max,disabled:o.disabled,onChange:x},{default:e.withCtx(()=>[p[3]||(p[3]=e.createElementVNode("button",{slot:"previous",class:"btn-outline btn btn-primary md:btn-sm"},[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"})])],-1)),p[4]||(p[4]=e.createElementVNode("button",{slot:"next",class:"btn-outline btn btn-primary md:btn-sm"},[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})])],-1)),e.createVNode($,{locale:o.locale},null,8,["locale"])]),_:1},8,["id","min","max","disabled"])):e.createCommentVNode("",!0),o.range&&o.mode!=="date"?(e.openBlock(),e.createElementBlock("div",Ln,[e.createElementVNode("div",jn,[e.createElementVNode("input",{class:"max-md:max-w-xs text-center hover:border-b-2 hover:-mb-0.5 open:bg-primary open:p-1 open:-m-0.5 open:rounded w-full relative",type:"time",ref_key:"timeFromInput",ref:c,id:`${o.id}-time-from`,placeholder:"van",onChange:E,disabled:o.disabled},null,40,Fn)]),p[5]||(p[5]=e.createElementVNode("svg",{class:"join-item",viewBox:"0 0 1024 1024",focusable:"false","data-icon":"swap-right",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"})],-1)),e.createElementVNode("div",Un,[e.createElementVNode("input",{class:"hover:border-b-2 hover:-mb-0.5 open:bg-primary open:p-1 open:-m-0.5 open:rounded w-full relative",type:"time",ref_key:"timeToInput",ref:m,id:`${o.id}-time-to`,onChange:E,disabled:o.disabled},null,40,_n)])])):e.createCommentVNode("",!0),!o.range&&o.mode!=="date"?(e.openBlock(),e.createElementBlock("input",{key:3,class:"open:bg-primary open:rounded w-full input input-bordered my-2 justify-center",type:"time",ref_key:"timeInput",ref:i,id:`${o.id}-time`,onChange:E,disabled:o.disabled},null,40,Rn)):e.createCommentVNode("",!0),o.popup?(e.openBlock(),e.createElementBlock("div",qn,[e.createElementVNode("button",{class:"btn btn-primary",onClick:T}," Close ")])):e.createCommentVNode("",!0)],10,An)):e.createCommentVNode("",!0)],544)}}}),[["__scopeId","data-v-74efd8bb"]]),Hn=Object.freeze(Object.defineProperty({__proto__:null,default:je},Symbol.toStringTag,{value:"Module"})),Wn=["value","checked","onChange","disabled"],Kn=e.defineComponent({__name:"rating",props:{initialRating:{default:0},numberOfStars:{default:5},halfStars:{type:Boolean,default:!0},isInteractive:{type:Boolean,default:!1},size:{default:"sm"},shape:{default:"star"},color:{default:"bg-yellow-400"},gap:{default:0}},setup(t){const n=t,o=e.ref(n.initialRating);e.watch(()=>n.initialRating,r=>{o.value=r});const l=r=>{o.value=r};return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["rating",[`rating-${n.size}`,{"rating-half":t.halfStars},{"pointer-events-none":!t.isInteractive}]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.numberOfStars*(t.halfStars?2:1),s=>(e.openBlock(),e.createElementBlock("input",{key:s,type:"radio",value:t.halfStars?s*.5:s,checked:o.value===(t.halfStars?s*.5:s),onChange:d=>t.isInteractive?l(t.halfStars?s*.5:s):null,class:e.normalizeClass(["mask",[{"mask-half-1":t.halfStars&&s%2!==0,"mask-half-2":t.halfStars&&s%2===0,"cursor-pointer":t.isInteractive,"cursor-default":!t.isInteractive,"mask-star":t.shape==="star","mask-star-2":t.shape==="star-bold","mask-heart":t.shape==="heart","mask-hexagon":t.shape==="hexagon-vertical","mask-hexagon-2":t.shape==="hexagon-horizontal","mask-decagon":t.shape==="decagon","mask-pentagon":t.shape==="pentagon","mask-diamond":t.shape==="diamond","mask-square":t.shape==="square","mask-triangle":t.shape==="triangle-top","mask-triangle-2":t.shape==="triangle-bottom","mask-triangle-3":t.shape==="triangle-left","mask-triangle-4":t.shape==="triangle-right"},o.value>=(t.halfStars?s*.5:s)?n.color:""]]),style:e.normalizeStyle({marginRight:t.halfStars&&s%2===0?`${n.gap}px`:t.halfStars?"0":`${n.gap}px`}),disabled:!t.isInteractive},null,46,Wn))),128))],2))}}),Yn={class:"badge"},Jn=["onClick"],Xn={class:"opacity-75"},Gn=["placeholder"],Zn=e.defineComponent({__name:"taginput",props:{modelValue:{},maxTagAmount:{},placeholder:{},class:{}},emits:["update:modelValue"],setup(t,{emit:n}){const o=t,l=n,r=e.ref([...o.modelValue]),a=o.maxTagAmount===void 0?-1:o.maxTagAmount,s=e.ref(null),d=e.ref(""),i=e.computed(()=>a<0||r.value.length<a),c=()=>{const h=d.value.trim();h&&!r.value.includes(h)&&(r.value.push(h),l("update:modelValue",r.value),d.value="")},m=h=>{r.value=r.value.filter(w=>w!==h),l("update:modelValue",r.value)},b=()=>{d.value===""&&(r.value.pop(),l("update:modelValue",r.value))},y=h=>{h.key==="Enter"?c():h.key==="Backspace"&&d.value===""&&b()};return e.watch(()=>o.modelValue,h=>{r.value=[...h]}),(h,w)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-wrap gap-2 bg-base-100 shadow px-4 py-6 border border-base-content/20 rounded",h.$props.class])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,B=>e.renderSlot(h.$slots,"tag",{key:B,tag:B},()=>[e.createElementVNode("div",Yn,[e.createElementVNode("button",{class:"px-1! py-0! h-fit font-bold cursor-pointer",onClick:x=>m(B),"aria-label":"Remove tag"},"X",8,Jn),e.createElementVNode("span",Xn,e.toDisplayString(B),1)])])),128)),e.renderSlot(h.$slots,"input",{showInput:i.value},()=>[i.value?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,ref_key:"inputRef",ref:s,"onUpdate:modelValue":w[0]||(w[0]=B=>d.value=B),type:"text",placeholder:t.placeholder||"Type here",class:"h-full input input-ghost",onKeydown:y,"aria-label":"Add tags"},null,40,Gn)),[[e.vModelText,d.value]]):e.createCommentVNode("",!0)])],2))}}),Qn={class:"w-full max-w-xs form-control"},eo={key:0,class:"label"},to={class:"label-text"},no=["value"],oo={key:0,value:"",disabled:"",selected:""},lo=["value"],Fe=e.defineComponent({__name:"select",props:{options:{},label:{},placeholder:{},modelValue:{}},emits:["update:modelValue"],setup(t,{expose:n,emit:o}){console.log(t.placeholder);const r=o,a=e.ref(null),s=i=>{const c=i.target;r("update:modelValue",c.value)};return n({focusInput:()=>{var i;console.log("select.vue: focusInput method called."),(i=a.value)==null||i.focus()}}),(i,c)=>(e.openBlock(),e.createElementBlock("div",Qn,[t.label?(e.openBlock(),e.createElementBlock("label",eo,[e.createElementVNode("span",to,e.toDisplayString(t.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("select",{ref_key:"selectElement",ref:a,class:"rounded-md w-full select-bordered select",value:t.modelValue,onChange:s},[t.placeholder?(e.openBlock(),e.createElementBlock("option",oo,e.toDisplayString(t.placeholder),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,m=>(e.openBlock(),e.createElementBlock("option",{key:m.value,value:m.value},e.toDisplayString(m.text),9,lo))),128))],40,no)]))}}),ao=Object.freeze(Object.defineProperty({__proto__:null,default:Fe},Symbol.toStringTag,{value:"Module"})),ro={key:0,class:"label"},so={class:"label-text"},io=["onKeydown","aria-expanded","aria-activedescendant"],co=["placeholder","disabled"],uo={class:"top-full z-10 absolute bg-base-100 shadow-lg mt-1 rounded-md w-full dropdown-content",role:"listbox"},mo={class:"flex-nowrap p-0 w-[inherit] max-h-60 overflow-y-auto menu"},fo=["onMousedown","id","aria-selected"],po={__name:"filterableSelect",props:{options:{type:Array,required:!0,default:()=>[]},label:{type:String,default:""},placeholder:{type:String,default:"Select an option"},modelValue:{type:[String,Number,Object,null],default:null},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","select","clear"],setup(t,{expose:n,emit:o}){const l=t,r=o,a=e.useSlots(),s=e.computed(()=>{const C=(a.default?a.default():[]).filter(k=>k.type!==e.Comment);return console.log("hasDefaultSlotContent computed:",C.length>0),C.length>0}),d=e.ref(""),i=e.ref(null),c=e.ref(!1),m=e.ref(null),b=e.ref(null),y=e.ref(null),h=e.ref(null),w=()=>{c.value=!l.disabled},B=()=>{c.value=!1,h.value=null,s.value||(i.value&&d.value!==i.value.text?d.value=i.value.text:i.value||(d.value=""))},x=()=>{c.value?B():w()},E=e.computed(()=>{const u=d.value?d.value.toLowerCase():"";return u===""&&!c.value?[]:l.options.filter(k=>k&&k.text?k.text.toLowerCase().includes(u):"")});e.watch(()=>l.modelValue,(u,C)=>{if(u!==C&&B(),u==null)i.value=null,!c.value&&!s.value&&(d.value="");else{const k=l.options.find(V=>V.value===u);k?(i.value=k,!c.value&&!s.value&&(d.value=k.text)):(i.value=null,!c.value&&!s.value&&(d.value=""))}},{immediate:!0});const N=u=>{b.value&&!b.value.contains(u.target)&&B()},T=()=>{setTimeout(()=>{b.value&&!b.value.contains(document.activeElement)&&B()},100)};e.watch(c,u=>{u?setTimeout(()=>{document.addEventListener("click",N)},0):document.removeEventListener("click",N)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",N),window.removeEventListener("keydown",$)});const z=()=>{if(l.disabled)return;const u=i.value;r("update:modelValue",null),u&&r("clear",u)},g=u=>{i.value=u,s.value||(d.value=u.text),r("update:modelValue",u.value),r("select",u),B()},f=()=>{E.value.length>0&&g(E.value[0])},p=()=>{c.value||w()},$=u=>{if(!c.value||E.value.length===0)return;const C=E.value.findIndex((V,I)=>"option-"+I===h.value);let k=-1;if(u.key==="ArrowDown")u.preventDefault(),k=(C+1)%E.value.length;else if(u.key==="ArrowUp")u.preventDefault(),k=(C-1+E.value.length)%E.value.length;else if(u.key==="Enter"&&h.value){u.preventDefault();const V=E.value.find((I,M)=>"option-"+M===h.value);V&&g(V);return}else if(u.key==="Escape"){u.preventDefault(),B(),y.value&&y.value.focus();return}else if(s.value)return;if(k!==-1){h.value="option-"+k;const V=document.getElementById(h.value);V&&requestAnimationFrame(()=>{V.scrollIntoView({block:"nearest",behavior:"smooth"})})}};return e.watch(c,u=>{u?(window.addEventListener("keydown",$),!s.value&&!d.value&&i.value&&(d.value=i.value.text)):window.removeEventListener("keydown",$)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",N),window.removeEventListener("keydown",$)}),n({isDropdownOpen:c,selectedItem:i,openDropdown:w,closeDropdown:B,toggleDropdown:x,selectItem:g,filterText:d,hasDefaultSlotContent:s}),(u,C)=>(e.openBlock(),e.createElementBlock("div",{class:"relative w-full max-w-xs form-control",ref_key:"componentRoot",ref:b},[t.label?(e.openBlock(),e.createElementBlock("label",ro,[e.createElementVNode("span",so,e.toDisplayString(t.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["flex items-center input-bordered rounded-md w-fit cursor-pointer",{input:!s.value,select:!s.value}]),style:e.normalizeStyle(i.value?"background-image: unset; padding-right: 0.5rem;":""),tabindex:"0",onClick:C[1]||(C[1]=k=>s.value?x():w()),onKeydown:[e.withKeys(e.withModifiers(f,["prevent"]),["enter"]),e.withKeys(e.withModifiers(f,["prevent"]),["space"])],onBlur:T,role:"combobox","aria-haspopup":"listbox","aria-expanded":c.value,"aria-activedescendant":h.value,"aria-autocomplete":"list",ref_key:"activatorWrapper",ref:y},[e.renderSlot(u.$slots,"default",{},()=>[s.value?e.createCommentVNode("",!0):e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,type:"text",placeholder:t.placeholder,class:"bg-transparent border-none focus:outline-none w-full","onUpdate:modelValue":C[0]||(C[0]=k=>d.value=k),ref_key:"filterInput",ref:m,onFocus:w,onInput:p,tabindex:"-1",disabled:l.disabled},null,40,co)),[[e.vModelText,d.value]])]),i.value&&!t.disabled?(e.openBlock(),e.createBlock(e.unref(Ut),{key:0,size:20,class:"mx-2 text-base-content/50 hover:text-base-content/80 cursor-pointer",onClick:e.withModifiers(z,["stop"])})):e.createCommentVNode("",!0),s.value&&!i.value?(e.openBlock(),e.createBlock(e.unref(Ft),{key:1,class:e.normalizeClass([{"rotate-180":c.value},"mx-2"]),size:20},null,8,["class"])):e.createCommentVNode("",!0)],46,io),e.withDirectives(e.createElementVNode("div",uo,[e.createElementVNode("ul",mo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,(k,V)=>(e.openBlock(),e.createElementBlock("li",{key:k.value,onMousedown:e.withModifiers(I=>g(k),["prevent"]),class:"hover:bg-base-200 rounded-md w-full cursor-pointer",id:"option-"+V,role:"option","aria-selected":i.value&&i.value.value===k.value},[e.createElementVNode("a",null,e.toDisplayString(k.text),1)],40,fo))),128))])],512),[[e.vShow,c.value&&E.value.length>0]])],512))}},ho={class:"w-full max-w-xs form-control"},go={key:0,class:"label"},yo={class:"label-text"},bo=["type","placeholder","disabled","value"],ko={key:1,class:"label"},wo={class:"label-text-alt text-error validator-hint"},xo={key:2,class:"label"},Eo={class:"label-text-alt text-success validator-hint"},Ue=e.defineComponent({__name:"inputField",props:{modelValue:{default:""},label:{default:""},placeholder:{default:""},type:{default:"text"},rules:{default:()=>({})},needsValidation:{type:Boolean,default:!1},successMessage:{default:""},size:{default:"md"},color:{default:""},style:{default:""},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","validate"],setup(t,{expose:n,emit:o}){const l=t,r=o,a=e.ref(null),s=e.ref(!1),d=e.ref(""),i=e.computed(()=>{var x,E,N,T;let h=!0,w="";const B=l.modelValue;return(x=l.rules)!=null&&x.required&&(B==null||B==="")&&(h=!1,w="This field is required."),h&&((E=l.rules)==null?void 0:E.minLength)!==void 0&&typeof B=="string"&&B.length<l.rules.minLength&&(h=!1,w=`Must be at least ${l.rules.minLength} characters.`),h&&((N=l.rules)==null?void 0:N.maxLength)!==void 0&&typeof B=="string"&&B.length>l.rules.maxLength&&(h=!1,w=`Cannot exceed ${l.rules.maxLength} characters.`),h&&((T=l.rules)!=null&&T.email)&&typeof B=="string"&&B&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(B)||(h=!1,w="Please enter a valid email address.")),d.value=w,r("validate",h),h}),c=e.computed(()=>s.value&&!i.value),m=h=>{const w=h.target;r("update:modelValue",w.value),s.value&&i.value},b=()=>{s.value=!0,i.value};return e.watch(()=>l.modelValue,()=>{s.value&&i.value}),n({focusInput:()=>{var h;console.log("inputField.vue: focusInput method called."),(h=a.value)==null||h.focus()},isValid:i,isTouched:s,errorMessage:d}),(h,w)=>(e.openBlock(),e.createElementBlock("div",ho,[t.label?(e.openBlock(),e.createElementBlock("label",go,[e.createElementVNode("span",yo,e.toDisplayString(t.label),1)])):e.createCommentVNode("",!0),e.renderSlot(h.$slots,"default"),e.createElementVNode("input",{ref_key:"inputElement",ref:a,type:t.type,placeholder:t.placeholder,disabled:l.disabled,class:e.normalizeClass(["input-bordered rounded-md w-full input validator",[{"input-xs":t.size==="xs","input-sm":t.size==="sm","input-md":t.size==="md","input-lg":t.size==="lg","input-xl":t.size==="xl","input-ghost":t.style==="ghost","input-neutral":t.color==="neutral"&&!c.value&&!(i.value&&s.value&&t.needsValidation),"input-primary":t.color==="primary"&&!c.value&&!(i.value&&s.value&&t.needsValidation),"input-secondary":t.color==="secondary"&&!c.value&&!(i.value&&s.value&&t.needsValidation),"input-accent":t.color==="accent"&&!c.value&&!(i.value&&s.value&&t.needsValidation),"input-info":t.color==="info"&&!c.value&&!(i.value&&s.value&&t.needsValidation),"input-success":t.color==="success"&&!c.value&&!(i.value&&s.value&&t.needsValidation),"input-warning":t.color==="warning"&&!c.value&&!(i.value&&s.value&&t.needsValidation),"input-error":c.value,"input-success-validation":i.value&&s.value&&!c.value&&t.needsValidation}]]),value:t.modelValue,onInput:m,onBlur:b},null,42,bo),c.value?(e.openBlock(),e.createElementBlock("div",ko,[e.createElementVNode("span",wo,e.toDisplayString(d.value),1)])):i.value&&s.value&&t.successMessage?(e.openBlock(),e.createElementBlock("div",xo,[e.createElementVNode("span",Eo,e.toDisplayString(t.successMessage),1)])):e.createCommentVNode("",!0)]))}}),Bo=Object.freeze(Object.defineProperty({__proto__:null,default:Ue},Symbol.toStringTag,{value:"Module"})),Co=e.defineComponent({__name:"loader",props:{loading:{type:Boolean,default:!0},size:{default:"md"},type:{default:"spinner"},color:{default:"primary"}},setup(t){const n=t,o=e.ref(n.loading);return e.watch(()=>n.loading,l=>{o.value=l}),(l,r)=>o.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["loading",[{"loading-xs":t.size==="xs"},{"loading-sm":t.size==="sm"},{"loading-md":t.size==="md"},{"loading-lg":t.size==="lg"},{"loading-xl":t.size==="xl"},{"loading-spinner":t.type==="spinner"},{"loading-dots":t.type==="dots"},{"loading-ring":t.type==="ring"},{"loading-balls":t.type==="balls"},{"loading-bars":t.type==="bars"},{"loading-infinity":t.type==="infinity"},{"text-primary":t.color==="primary"},{"text-secondary":t.color==="secondary"},{"text-accent":t.color==="accent"},{"text-neutral":t.color==="neutral"},{"text-info":t.color==="info"},{"text-success":t.color==="success"},{"text-warning":t.color==="warning"},{"text-error":t.color==="error"}]])},null,2)):e.createCommentVNode("",!0)}}),$o={class:"footer sm:footer-horizontal container"},So={class:"footer-title"},Vo=["href"],No={key:0,class:"sm:hidden w-full"},vo={class:"border-b-2 border-base-100 last:border-b-0 w-full"},Do={tabindex:"0",class:"collapse collapse-plus w-full"},To={class:"collapse-title font-bold text-lg collapsible-footer-title"},Mo={class:"collapse-content flex w-full text-sm"},zo={class:"flex flex-col gap-2.5"},Io={class:"w-full"},Po=["href"],Oo={class:"w-full"},Ao=e.defineComponent({__name:"footer",props:{items:{},background:{},color:{},collapseOnMobile:{type:Boolean,default:!1}},setup(t){const n=t;return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["mx-auto md:px-10 py-10 text-base-content",[t.background??"bg-base-200",t.color??"text-base-content"]])},[e.createElementVNode("footer",$o,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.items,r=>(e.openBlock(),e.createElementBlock("nav",{class:e.normalizeClass([{"hidden sm:grid":t.collapseOnMobile}])},[e.createElementVNode("h6",So,e.toDisplayString(r.title),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.items,a=>(e.openBlock(),e.createElementBlock("a",{class:"link link-hover",href:a.link},e.toDisplayString(a.text),9,Vo))),256))],2))),256)),t.collapseOnMobile?(e.openBlock(),e.createElementBlock("nav",No,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.items,r=>(e.openBlock(),e.createElementBlock("ul",vo,[e.createElementVNode("div",Do,[e.createElementVNode("div",To,e.toDisplayString(r.title),1),e.createElementVNode("div",Mo,[e.createElementVNode("ul",zo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.items,a=>(e.openBlock(),e.createElementBlock("li",Io,[e.createElementVNode("a",{class:"w-full font-medium link link-hover",href:a.link},e.toDisplayString(a.text),9,Po)]))),256))])])])]))),256))])):e.createCommentVNode("",!0),e.createElementVNode("aside",Oo,[e.renderSlot(o.$slots,"default")])])],2))}}),Lo={},jo={class:"min-h-40 container hero"},Fo={class:"px-0! text-center hero-content"},Uo={class:"mt-9 text-4xl"};function _o(t,n){return e.openBlock(),e.createElementBlock("div",jo,[e.createElementVNode("div",Fo,[e.createElementVNode("div",null,[e.createElementVNode("h1",Uo,[e.renderSlot(t.$slots,"title",{},()=>[n[0]||(n[0]=e.createTextVNode("hero title",-1))])]),e.createElementVNode("p",null,[e.renderSlot(t.$slots,"description",{class:"py-9"})]),e.renderSlot(t.$slots,"call-to-action-block",{class:"max-w-full"},()=>[n[1]||(n[1]=e.createElementVNode("button",{class:"btn btn-primary"},"Call to action",-1))])])])])}const Ro=H(Lo,[["render",_o]]),qo={class:"flex flex-row place-content-center gap-4 categories"},Ho=["onClick"],Wo=e.defineComponent({__name:"categoryNavigation",props:{searchOptions:{},currentCategory:{}},emits:["update:currentCategory"],setup(t,{emit:n}){const o=t,l=n;function r(a){l("update:currentCategory",a)}return(a,s)=>(e.openBlock(),e.createElementBlock("div",qo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.searchOptions,d=>(e.openBlock(),e.createElementBlock("div",{key:d.category},[e.createElementVNode("button",{onClick:i=>r(d.category),class:e.normalizeClass(["truncate btn btn-ghost",{"font-semibold":o.currentCategory===d.category}])},e.toDisplayString(d.category),11,Ho)]))),128))]))}}),Ko={class:"md:flex hidden navbar-start"},Yo={class:"md:flex justify-center items-center hidden navbar-center"},Jo={class:"md:flex hidden navbar-end"},Xo={class:"navbar-bottom md:flex hidden"},Go=H(e.defineComponent({__name:"navigationBar",props:{isCollapsed:{type:Boolean,default:!0}},setup(t){const n=t;return(o,l)=>(e.openBlock(),e.createElementBlock("nav",{class:e.normalizeClass(["place-items-start border-primary bg-base-100 px-5 py-5 border-b-4 transition-all navbar navigationbar",n.isCollapsed?"collapsed":""])},[e.createElementVNode("div",Ko,[e.renderSlot(o.$slots,"start",{},void 0,!0)]),e.createElementVNode("div",Yo,[e.renderSlot(o.$slots,"center",{},void 0,!0)]),e.createElementVNode("div",Jo,[e.renderSlot(o.$slots,"end",{},void 0,!0)]),e.createElementVNode("div",Xo,[e.renderSlot(o.$slots,"bottom",{},void 0,!0)])],2))}}),[["__scopeId","data-v-8ddb2b45"]]),Zo={key:0,class:"hidden top-4 right-0 absolute md:flex gap-4"},Qo=["onClick","aria-selected"],el={key:0,role:"tabpanel",class:"p-6 border-x-0 border-t-2 border-b-0 border-base-300 max-w-full overflow-x-auto tab-content"},tl={class:"p-6 border-x-0 border-t-2 border-b-0 border-base-300 max-w-full"},nl=e.defineComponent({__name:"tab",props:{items:{},withControlls:{type:Boolean,default:!1},rotateTabsAfter:{default:0},buttonOnlyMode:{type:Boolean,default:!1}},emits:["tab-changed"],setup(t,{emit:n}){const o=t,l=e.ref(o.items[0]),r=n;function a(i){l.value=i,r("tab-changed",i)}function s(){const c=(o.items.indexOf(l.value)+1)%o.items.length;a(o.items[c])}function d(){const c=(o.items.indexOf(l.value)-1+o.items.length)%o.items.length;a(o.items[c])}return e.onMounted(()=>{o.items&&a(o.items[0])}),e.onUnmounted(()=>{o.rotateTabsAfter&&o.rotateTabsAfter>0&&setInterval(()=>{s()},o.rotateTabsAfter*1e3)}),(i,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{role:"tablist",class:e.normalizeClass(["relative tabs-bordered w-full tabs tabs-lg",{"flex-nowrap overflow-x-auto":t.buttonOnlyMode}])},[t.withControlls?(e.openBlock(),e.createElementBlock("div",Zo,[e.createElementVNode("button",{onClick:c[0]||(c[0]=m=>d()),class:"cursor-pointer"},"Previous"),e.createElementVNode("button",{onClick:c[1]||(c[1]=m=>s()),class:"text-primary cursor-pointer"},"Next")])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,m=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("a",{type:"button",role:"tab",class:e.normalizeClass(["min-w-max tab",m===l.value?"bg-primary text-base-100":""]),onClick:b=>a(m),"aria-selected":l.value==m},e.toDisplayString(m),11,Qo),t.buttonOnlyMode?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",el,[e.renderSlot(i.$slots,`${m}-tab`)]))],64))),256))],2),e.createElementVNode("div",tl,[e.renderSlot(i.$slots,"default")])],64))}});typeof document>"u"&&(globalThis.document={}),typeof window>"u"&&(globalThis.window=globalThis);class ol{constructor(n){Pe(this,_);Pe(this,J,new Set);Oe(this,_,n)}get current(){return G(this,_)}set current(n){G(this,_)!=n&&(Oe(this,_,n),G(this,J).forEach(o=>o(n)))}on(n){return G(this,J).add(n),()=>G(this,J).delete(n)}}_=new WeakMap,J=new WeakMap;const _e=t=>new ol(t),he=Symbol.for("atomico.hooks");globalThis[he]=globalThis[he]||{};let W=globalThis[he];const ll=Symbol.for("Atomico.suspense"),Re=Symbol.for("Atomico.effect"),al=Symbol.for("Atomico.layoutEffect"),qe=Symbol.for("Atomico.insertionEffect"),K=(t,n,o)=>{const{i:l,hooks:r}=W.c,a=r[l]=r[l]||{};return a.value=t(a.value),a.effect=n,a.tag=o,W.c.i++,r[l].value},rl=t=>K((n=_e(t))=>n),Q=()=>K((t=_e(W.c.host))=>t),He=()=>W.c.update,sl=(t,n,o=0)=>{let l={},r=!1;const a=()=>r,s=(d,i)=>{for(const c in l){const m=l[c];m.effect&&m.tag===d&&(m.value=m.effect(m.value,i))}};return{load:d=>{W.c={host:n,hooks:l,update:t,i:0,id:o};let i;try{r=!1,i=d()}catch(c){if(c!==ll)throw c;r=!0}finally{W.c=null}return i},cleanEffects:d=>(s(qe,d),()=>(s(al,d),()=>{s(Re,d)})),isSuspense:a}},Y=Symbol.for;function We(t,n){const o=t.length;if(o!==n.length)return!1;for(let l=0;l<o;l++){let r=t[l],a=n[l];if(r!==a)return!1}return!0}const A=t=>typeof t=="function",ee=t=>typeof t=="object",{isArray:il}=Array,ge=(t,n)=>(n?t instanceof HTMLStyleElement:!0)&&"hydrate"in((t==null?void 0:t.dataset)||{});function Ke(t,n){let o;const l=r=>{let{length:a}=r;for(let s=0;s<a;s++){const d=r[s];if(d&&Array.isArray(d))l(d);else{const i=typeof d;if(d==null||i==="function"||i==="boolean")continue;i==="string"||i==="number"?(o==null&&(o=""),o+=d):(o!=null&&(n(o),o=null),n(d))}}};l(t),o!=null&&n(o)}const Ye=(t,n,o)=>(t.addEventListener(n,o),()=>t.removeEventListener(n,o));class Je{constructor(n,o,l){this.message=o,this.target=n,this.value=l}}class Xe extends Je{}class cl extends Je{}const ce="Custom",dl=null,ul={true:1,"":1,1:1};function ml(t,n,o,l,r){const{type:a,reflect:s,event:d,value:i,attr:c=fl(n)}=(o==null?void 0:o.name)!=ce&&ee(o)&&o!=dl?o:{type:o},m=(a==null?void 0:a.name)===ce&&a.map,b=i!=null?a==Function||!A(i)?()=>i:i:null;Object.defineProperty(t,n,{configurable:!0,set(y){const h=this[n];b&&a!=Boolean&&y==null&&(y=b());const{error:w,value:B}=(m?gl:yl)(a,y);if(w&&B!=null)throw new Xe(this,`The value defined for prop '${n}' must be of type '${a.name}'`,B);h!=B&&(this._props[n]=B??void 0,this.update(),d&&Ge(this,d),this.updated.then(()=>{s&&(this._ignoreAttr=c,pl(this,a,c,this[n]),this._ignoreAttr=null)}))},get(){return this._props[n]}}),b&&(r[n]=b()),l[c]={prop:n,type:a}}const Ge=(t,{type:n,base:o=CustomEvent,...l})=>t.dispatchEvent(new o(n,l)),fl=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase(),pl=(t,n,o,l)=>l==null||n==Boolean&&!l?t.removeAttribute(o):t.setAttribute(o,(n==null?void 0:n.name)===ce&&(n!=null&&n.serialize)?n==null?void 0:n.serialize(l):ee(l)?JSON.stringify(l):n==Boolean?"":l),hl=(t,n)=>t==Boolean?!!ul[n]:t==Number?Number(n):t==String?n:t==Array||t==Object?JSON.parse(n):t.name==ce?n:new t(n),gl=({map:t},n)=>{try{return{value:t(n),error:!1}}catch{return{value:n,error:!0}}},yl=(t,n)=>t==null||n==null?{value:n,error:!1}:t!=String&&n===""?{value:void 0,error:!1}:t==Object||t==Array||t==Symbol?{value:n,error:{}.toString.call(n)!==`[object ${t.name}]`}:n instanceof t?{value:n,error:t==Number&&Number.isNaN(n.valueOf())}:t==String||t==Number||t==Boolean?{value:n,error:t==Number?typeof n!="number"?!0:Number.isNaN(n):t==String?typeof n!="string":typeof n!="boolean"}:{value:n,error:!0};let bl=0;const kl=t=>{var o;return((o=(t==null?void 0:t.dataset)||{})==null?void 0:o.hydrate)||""||"c"+bl++},te=(t,n=HTMLElement)=>{const o={},l={},r="prototype"in n&&n.prototype instanceof Element,a=r?n:"base"in n?n.base:HTMLElement,{props:s,styles:d}=r?t:n;class i extends a{constructor(){super(),this._setup(),this._render=()=>t({...this._props});for(const m in l)this[m]=l[m]}static get styles(){return[super.styles,d]}async _setup(){if(this._props)return;this._props={};let m,b;this.mounted=new Promise(x=>this.mount=()=>{x(),m!=this.parentNode&&(b!=m?this.unmounted.then(this.update):this.update()),m=this.parentNode}),this.unmounted=new Promise(x=>this.unmount=()=>{x(),(m!=this.parentNode||!this.isConnected)&&(y.cleanEffects(!0)()(),b=this.parentNode,m=null)}),this.symbolId=this.symbolId||Symbol(),this.symbolIdParent=Symbol();const y=sl(()=>this.update(),this,kl(this));let h,w=!0;const B=ge(this);this.update=()=>(h||(h=!0,this.updated=(this.updated||this.mounted).then(()=>{try{const x=y.load(this._render),E=y.cleanEffects();return x&&x.render(this,this.symbolId,B),h=!1,w&&!y.isSuspense()&&(w=!1,!B&&wl(this)),E()}finally{h=!1}}).then(x=>{x&&x()})),this.updated),this.update()}connectedCallback(){this.mount(),super.connectedCallback&&super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),this.unmount()}attributeChangedCallback(m,b,y){if(o[m]){if(m===this._ignoreAttr||b===y)return;const{prop:h,type:w}=o[m];try{this[h]=hl(w,y)}catch{throw new cl(this,`The value defined as attr '${m}' cannot be parsed by type '${w.name}'`,y)}}else super.attributeChangedCallback(m,b,y)}static get props(){return{...super.props,...s}}static get observedAttributes(){const m=super.observedAttributes||[];for(const b in s)ml(this.prototype,b,s[b],o,l);return Object.keys(o).concat(m)}}return i};function wl(t){const{styles:n}=t.constructor,{shadowRoot:o}=t;if(o&&n.length){const l=[];Ke(n,r=>{r&&(r instanceof Element?o.appendChild(r.cloneNode(!0)):l.push(r))}),l.length&&(o.adoptedStyleSheets=l)}}const Ze=t=>(n,o)=>{K(([l,r]=[])=>((r||!r)&&(r&&We(r,o)?l=l||!0:(A(l)&&l(),l=null)),[l,o]),([l,r],a)=>a?(A(l)&&l(),[]):[l||n(),r],t)},ne=Ze(Re),xl=Ze(qe);class Qe extends Array{constructor(n,o){let l=!0;const r=a=>{try{o(a,this,l)}finally{l=!1}};super(void 0,r,o),r(n)}}const ye=t=>{const n=He();return K((o=new Qe(t,(l,r,a)=>{l=A(l)?l(r[0]):l,l!==r[0]&&(r[0]=l,a||n())}))=>o)},L=(t,n)=>{const[o]=K(([l,r,a=0]=[])=>((!r||r&&!We(r,n))&&(l=t()),[l,n,a]));return o},be=t=>{const{current:n}=Q();if(!(t in n))throw new Xe(n,`For useProp("${t}"), the prop does not exist on the host.`,t);return K((o=new Qe(n[t],(l,r)=>{l=A(l)?l(n[t]):l,n[t]=l}))=>(o[0]=n[t],o))},F=(t,n={})=>{const o=Q();return o[t]||(o[t]=(l=n.detail)=>Ge(o.current,{type:t,...n,detail:l})),o[t]},ke=Y("atomico/options");globalThis[ke]=globalThis[ke]||{sheet:!!document.adoptedStyleSheets};const et=globalThis[ke],El={checked:1,value:1,selected:1},Bl={list:1,type:1,size:1,form:1,width:1,height:1,src:1,href:1,slot:1},Cl={shadowDom:1,staticNode:1,cloneNode:1,children:1,key:1},de={},we=[];class xe extends Text{}const $l=Y("atomico/id"),oe=Y("atomico/type"),Ee=Y("atomico/ref"),tt=Y("atomico/vnode"),Sl=()=>{};function Vl(t,n,o){return ot(this,t,n,o)}const nt=(t,n,...o)=>{const l=n||de;let{children:r}=l;if(r=r??(o.length?o:we),t===Sl)return r;const a=t?t instanceof Node?1:t.prototype instanceof HTMLElement&&2:0;if(a===!1&&t instanceof Function)return t(r!=we?{children:r,...l}:l);const s=et.render||Vl;return{[oe]:tt,type:t,props:l,children:r,key:l.key,shadow:l.shadowDom,static:l.staticNode,raw:a,is:l.is,clone:l.cloneNode,render:s}};function ot(t,n,o=$l,l,r){let a;if(n&&n[o]&&n[o].vnode==t||t[oe]!=tt)return n;(t||!n)&&(r=r||t.type=="svg",a=t.type!="host"&&(t.raw==1?(n&&t.clone?n[Ee]:n)!=t.type:t.raw==2?!(n instanceof t.type):n?n[Ee]||n.localName!=t.type:!n),a&&t.type!=null&&(t.raw==1&&t.clone?(l=!0,n=t.type.cloneNode(!0),n[Ee]=t.type):n=t.raw==1?t.type:t.raw==2?new t.type:r?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type,t.is?{is:t.is}:void 0)));const s=n[o]?n[o]:de,{vnode:d=de,cycle:i=0}=s;let{fragment:c,handlers:m}=s;const{children:b=we,props:y=de}=d;if(m=a?{}:m||{},t.static&&!a)return n;if(t.shadow&&!n.shadowRoot&&n.attachShadow({mode:"open",...t.shadow}),t.props!=y&&Dl(n,y,t.props,m,r),t.children!==b){const h=t.shadow?n.shadowRoot:n;c=vl(t.children,c,h,o,!i&&l,r&&t.type=="foreignObject"?!1:r)}return n[o]={vnode:t,handlers:m,fragment:c,cycle:i+1},n}function Nl(t,n){const o=new xe(""),l=new xe("");let r;if(t[n?"prepend":"append"](o),n){let{lastElementChild:a}=t;for(;a;){const{previousElementSibling:s}=a;if(ge(a,!0)&&!ge(s,!0)){r=a;break}a=s}}return r?r.before(l):t.append(l),{markStart:o,markEnd:l}}function vl(t,n,o,l,r,a){t=t==null?null:il(t)?t:[t];const s=n||Nl(o,r),{markStart:d,markEnd:i,keyes:c}=s;let m;const b=c&&new Set;let y=d;if(t&&Ke(t,h=>{if(typeof h=="object"&&!h[oe])return;const w=h[oe]&&h.key,B=c&&w!=null&&c.get(w);y!=i&&y===B?b.delete(y):y=y==i?i:y.nextSibling;const x=c?B:y;let E=x;if(h[oe])E=ot(h,x,l,r,a);else{const N=h+"";!(E instanceof Text)||E instanceof xe?E=new Text(N):E.data!=N&&(E.data=N)}E!=y&&(c&&b.delete(E),!x||c?(o.insertBefore(E,y),c&&y!=i&&b.add(y)):x==i?o.insertBefore(E,i):(o.replaceChild(E,x),y=E)),w!=null&&(m=m||new Map,m.set(w,E))}),y=y==i?i:y.nextSibling,n&&y!=i)for(;y!=i;){const h=y;y=y.nextSibling,h.remove()}return b&&b.forEach(h=>h.remove()),s.keyes=m,s}function Dl(t,n,o,l,r){for(const a in n)!(a in o)&&lt(t,a,n[a],null,r,l);for(const a in o)lt(t,a,n[a],o[a],r,l)}function lt(t,n,o,l,r,a){if(n=n=="class"&&!r?"className":n,o=o??null,l=l??null,n in t&&El[n]&&(o=t[n]),!(l===o||Cl[n]||n[0]=="_"))if(n[0]=="o"&&n[1]=="n"&&(A(l)||A(o)))Tl(t,n.slice(2),l,a);else if(n=="ref")l&&(A(l)?l(t):l.current=t);else if(n=="style"){const{style:s}=t;o=o||"",l=l||"";const d=ee(o),i=ee(l);if(d)for(const c in o)if(i)!(c in l)&&at(s,c,null);else break;if(i)for(const c in l){const m=l[c];d&&o[c]===m||at(s,c,m)}else s.cssText=l}else{const s=n[0]=="$"?n.slice(1):n;s===n&&(!r&&!Bl[n]&&n in t||A(l)||A(o))?t[n]=l??"":l==null?t.removeAttribute(s):t.setAttribute(s,ee(l)?JSON.stringify(l):l)}}function Tl(t,n,o,l){if(l.handleEvent||(l.handleEvent=r=>l[r.type].call(t,r)),o){if(!l[n]){const r=o.capture||o.once||o.passive?Object.assign({},o):null;t.addEventListener(n,l,r)}l[n]=o}else l[n]&&(t.removeEventListener(n,l),delete l[n])}function at(t,n,o){let l="setProperty";o==null&&(l="removeProperty",o=null),~n.indexOf("-")?t[l](n,o):t[n]=o}const rt={};function ue(t,...n){const o=(t.raw||t).reduce((l,r,a)=>l+r+(n[a]||""),"");return rt[o]=rt[o]||Ml(o)}function Ml(t){if(et.sheet){const n=new CSSStyleSheet;return n.replaceSync(t),n}else{const n=document.createElement("style");return n.textContent=t,n}}const zl=nt("host",{style:"display: contents"}),Be=Y("atomico/context"),Il=(t,n)=>{const o=Q();xl(()=>Ye(o.current,"ConnectContext",l=>{t===l.detail.id&&(l.stopPropagation(),l.detail.connect(n))}),[t])},Pl=t=>{const n=F("ConnectContext",{bubbles:!0,composed:!0}),o=()=>{let a;return n({id:t,connect(s){a=s}}),a},[l,r]=ye(o);return ne(()=>{l||(t[Be]||(t[Be]=customElements.whenDefined(new t().localName)),t[Be].then(()=>r(o)))},[t]),l},Ol=t=>{const n=Pl(t),o=He();return ne(()=>{if(n)return Ye(n,"UpdatedValue",o)},[n]),(n||t).value},Al=t=>{const n=te(()=>(Il(n,Q().current),zl),{props:{value:{type:Object,event:{type:"UpdatedValue"},value:()=>t}}});return n.value=t,n},v=(t,n,o)=>(n==null?n={key:o}:n.key=o,nt(t,n)),le=v,st=ue`*,*:before,*:after{box-sizing:border-box}button{padding:0;touch-action:manipulation;cursor:pointer;user-select:none}`,it=ue`.vh{position:absolute;transform:scale(0)}`;function Ce(){const t=new Date;return new D(t.getFullYear(),t.getMonth()+1,t.getDate())}function $e(t,n=0){const o=O(t),l=o.getUTCDay(),r=(l<n?7:0)+l-n;return o.setUTCDate(o.getUTCDate()-r),D.from(o)}function ct(t,n=0){return $e(t,n).add({days:6})}function dt(t){return D.from(new Date(Date.UTC(t.year,t.month,0)))}function me(t,n,o){return n&&D.compare(t,n)<0?n:o&&D.compare(t,o)>0?o:t}const Ll={days:1};function jl(t,n=0){let o=$e(t.toPlainDate(),n);const l=ct(dt(t),n),r=[];for(;D.compare(o,l)<0;){const a=[];for(let s=0;s<7;s++)a.push(o),o=o.add(Ll);r.push(a)}return r}function O(t){return new Date(Date.UTC(t.year,t.month-1,t.day??1))}const Fl=/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$/,Se=(t,n)=>t.toString().padStart(n,"0");class D{constructor(n,o,l){this.year=n,this.month=o,this.day=l}add(n){const o=O(this);if("days"in n)return o.setUTCDate(this.day+n.days),D.from(o);let{year:l,month:r}=this;"months"in n?(r=this.month+n.months,o.setUTCMonth(r-1)):(l=this.year+n.years,o.setUTCFullYear(l));const a=D.from(O({year:l,month:r,day:1}));return me(D.from(o),a,dt(a))}toString(){return`${Se(this.year,4)}-${Se(this.month,2)}-${Se(this.day,2)}`}toPlainYearMonth(){return new fe(this.year,this.month)}equals(n){return D.compare(this,n)===0}static compare(n,o){return n.year<o.year?-1:n.year>o.year?1:n.month<o.month?-1:n.month>o.month?1:n.day<o.day?-1:n.day>o.day?1:0}static from(n){if(typeof n=="string"){const o=n.match(Fl);if(!o)throw new TypeError(n);const[,l,r,a]=o;return new D(parseInt(l,10),parseInt(r,10),parseInt(a,10))}return new D(n.getUTCFullYear(),n.getUTCMonth()+1,n.getUTCDate())}}class fe{constructor(n,o){this.year=n,this.month=o}add(n){const o=O(this),l=(n.months??0)+(n.years??0)*12;return o.setUTCMonth(o.getUTCMonth()+l),new fe(o.getUTCFullYear(),o.getUTCMonth()+1)}equals(n){return this.year===n.year&&this.month===n.month}toPlainDate(){return new D(this.year,this.month,1)}}function pe(t,n){if(n)try{return t.from(n)}catch{}}function U(t){const[n,o]=be(t);return[L(()=>pe(D,n),[n]),l=>o(l==null?void 0:l.toString())]}function Ul(t){const[n="",o]=be(t);return[L(()=>{const[l,r]=n.split("/"),a=pe(D,l),s=pe(D,r);return a&&s?[a,s]:[]},[n]),l=>o(`${l[0]}/${l[1]}`)]}function _l(t){const[n="",o]=be(t);return[L(()=>{const l=[];for(const r of n.trim().split(/\s+/)){const a=pe(D,r);a&&l.push(a)}return l},[n]),l=>o(l.join(" "))]}function ae(t,n){return L(()=>new Intl.DateTimeFormat(n,{timeZone:"UTC",...t}),[n,t])}function ut(t,n,o){const l=ae(t,o);return L(()=>{const r=[],a=new Date;for(var s=0;s<7;s++){const d=(a.getUTCDay()-n+7)%7;r[d]=l.format(a),a.setUTCDate(a.getUTCDate()+1)}return r},[n,l])}const mt=(t,n,o)=>me(t,n,o)===t,ft=t=>t.target.matches(":dir(ltr)"),Rl={month:"long",day:"numeric"},ql={month:"long"},Hl={weekday:"long"},Ve={bubbles:!0};function Wl({props:t,context:n}){const{offset:o}=t,{firstDayOfWeek:l,isDateDisallowed:r,min:a,max:s,today:d,page:i,locale:c,focusedDate:m,formatWeekday:b}=n,y=d??Ce(),h=ut(Hl,l,c),w=L(()=>({weekday:b}),[b]),B=ut(w,l,c),x=ae(Rl,c),E=ae(ql,c),N=L(()=>i.start.add({months:o}),[i,o]),T=L(()=>jl(N,l),[N,l]),z=F("focusday",Ve),g=F("selectday",Ve),f=F("hoverday",Ve);function p(C){z(me(C,a,s))}function $(C){let k;switch(C.key){case"ArrowRight":k=m.add({days:ft(C)?1:-1});break;case"ArrowLeft":k=m.add({days:ft(C)?-1:1});break;case"ArrowDown":k=m.add({days:7});break;case"ArrowUp":k=m.add({days:-7});break;case"PageUp":k=m.add(C.shiftKey?{years:-1}:{months:-1});break;case"PageDown":k=m.add(C.shiftKey?{years:1}:{months:1});break;case"Home":k=$e(m,l);break;case"End":k=ct(m,l);break;default:return}p(k),C.preventDefault()}function u(C){var Et,Bt;const k=N.equals(C);if(!n.showOutsideDays&&!k)return;const V=C.equals(m),I=C.equals(y),M=O(C),R=r==null?void 0:r(M),j=!mt(C,a,s);let xt="",X;if(n.type==="range"){const[q,re]=n.value,Ct=q==null?void 0:q.equals(C),$t=re==null?void 0:re.equals(C);X=q&&re&&mt(C,q,re),xt=`${Ct?"range-start":""} ${$t?"range-end":""} ${X&&!Ct&&!$t?"range-inner":""}`}else n.type==="multi"?X=n.value.some(q=>q.equals(C)):X=(Et=n.value)==null?void 0:Et.equals(C);return{part:`${`button day day-${M.getDay()} ${k?X?"selected":"":"outside"} ${R?"disallowed":""} ${I?"today":""} ${((Bt=n.getDayParts)==null?void 0:Bt.call(n,M))??""}`} ${xt}`,tabindex:k&&V?0:-1,disabled:j,"aria-disabled":R?"true":void 0,"aria-pressed":k&&X,"aria-current":I?"date":void 0,"aria-label":x.format(M),onkeydown:$,onclick(){R||g(C),p(C)},onmouseover(){!R&&!j&&f(C)}}}return{weeks:T,yearMonth:N,daysLong:h,daysVisible:B,formatter:E,getDayProps:u}}const Ne=Ce(),ve=Al({type:"date",firstDayOfWeek:1,focusedDate:Ne,page:{start:Ne.toPlainYearMonth(),end:Ne.toPlainYearMonth()}});customElements.define("calendar-ctx",ve);const Kl=(t,n)=>(n+t)%7,pt=te(t=>{const n=Ol(ve),o=rl(),l=Wl({props:t,context:n});function r(){var a;(a=o.current.querySelector("button[tabindex='0']"))==null||a.focus()}return le("host",{shadowDom:!0,focus:r,children:[v("div",{id:"h",part:"heading",children:l.formatter.format(O(l.yearMonth))}),le("table",{ref:o,"aria-labelledby":"h",part:"table",children:[v("thead",{children:v("tr",{part:"tr head",children:l.daysLong.map((a,s)=>le("th",{part:`th day day-${Kl(n.firstDayOfWeek,s)}`,scope:"col",children:[v("span",{class:"vh",children:a}),v("span",{"aria-hidden":"true",children:l.daysVisible[s]})]}))})}),v("tbody",{children:l.weeks.map((a,s)=>v("tr",{part:"tr week",children:a.map((d,i)=>{const c=l.getDayProps(d);return v("td",{part:"td",children:c&&v("button",{...c,children:d.day})},i)})},s))})]})]})},{props:{offset:{type:Number,value:0}},styles:[st,it,ue`:host{--color-accent: black;--color-text-on-accent: white;display:flex;flex-direction:column;gap:.25rem;text-align:center;inline-size:fit-content}table{border-collapse:collapse;font-size:.875rem}th{font-weight:700;block-size:2.25rem}td{padding-inline:0}button{color:inherit;font-size:inherit;background:transparent;border:0;font-variant-numeric:tabular-nums;block-size:2.25rem;inline-size:2.25rem}button:hover:where(:not(:disabled,[aria-disabled])){background:#0000000d}button:is([aria-pressed=true],:focus-visible){background:var(--color-accent);color:var(--color-text-on-accent)}button:focus-visible{outline:1px solid var(--color-text-on-accent);outline-offset:-2px}button:disabled,:host::part(outside),:host::part(disallowed){cursor:default;opacity:.5}`]});customElements.define("calendar-month",pt);function ht(t){return v("button",{part:`button ${t.name} ${t.onclick?"":"disabled"}`,onclick:t.onclick,"aria-disabled":t.onclick?null:"true",children:v("slot",{name:t.name,children:t.children})})}function De(t){const n=O(t.page.start),o=O(t.page.end);return le("div",{role:"group","aria-labelledby":"h",part:"container",children:[v("div",{id:"h",class:"vh","aria-live":"polite","aria-atomic":"true",children:t.formatVerbose.formatRange(n,o)}),le("div",{part:"header",children:[v(ht,{name:"previous",onclick:t.previous,children:"Previous"}),v("slot",{part:"heading",name:"heading",children:v("div",{"aria-hidden":"true",children:t.format.formatRange(n,o)})}),v(ht,{name:"next",onclick:t.next,children:"Next"})]}),v(ve,{value:t,onselectday:t.onSelect,onfocusday:t.onFocus,onhoverday:t.onHover,children:v("slot",{})})]})}const Te={value:{type:String,value:""},min:{type:String,value:""},max:{type:String,value:""},today:{type:String,value:""},isDateDisallowed:{type:Function,value:t=>!1},formatWeekday:{type:String,value:()=>"narrow"},getDayParts:{type:Function,value:t=>""},firstDayOfWeek:{type:Number,value:()=>1},showOutsideDays:{type:Boolean,value:!1},locale:{type:String,value:()=>{}},months:{type:Number,value:1},focusedDate:{type:String,value:()=>{}},pageBy:{type:String,value:()=>"months"}},Me=[st,it,ue`:host{display:block;inline-size:fit-content}[role=group]{display:flex;flex-direction:column;gap:1em}:host::part(header){display:flex;align-items:center;justify-content:space-between}:host::part(heading){font-weight:700;font-size:1.25em}button{display:flex;align-items:center;justify-content:center}button[aria-disabled]{cursor:default;opacity:.5}`],Yl={year:"numeric"},Jl={year:"numeric",month:"long"};function ze(t,n){return(n.year-t.year)*12+n.month-t.month}const gt=(t,n)=>(t=n===12?new fe(t.year,1):t,{start:t,end:t.add({months:n-1})});function Xl({pageBy:t,focusedDate:n,months:o,max:l,min:r,goto:a}){const s=t==="single"?1:o,[d,i]=ye(()=>gt(n.toPlainYearMonth(),o)),c=b=>i(gt(d.start.add({months:b}),o)),m=b=>{const y=ze(d.start,b.toPlainYearMonth());return y>=0&&y<o};return ne(()=>{if(m(n))return;const b=ze(n.toPlainYearMonth(),d.start);a(n.add({months:b}))},[d.start]),ne(()=>{if(m(n))return;const b=ze(d.start,n.toPlainYearMonth());c(b===-1?-s:b===o?s:Math.floor(b/o)*o)},[n,s,o]),{page:d,previous:!r||!m(r)?()=>c(-s):void 0,next:!l||!m(l)?()=>c(s):void 0}}function Ie({months:t,pageBy:n,locale:o,focusedDate:l,setFocusedDate:r}){const[a]=U("min"),[s]=U("max"),[d]=U("today"),i=F("focusday"),c=F("change"),m=L(()=>me(l??d??Ce(),a,s),[l,d,a,s]);function b(E){r(E),i(O(E))}const{next:y,previous:h,page:w}=Xl({pageBy:n,focusedDate:m,months:t,min:a,max:s,goto:b}),B=Q();function x(E){const N=(E==null?void 0:E.target)??"day";N==="day"?B.current.querySelectorAll("calendar-month").forEach(T=>T.focus(E)):B.current.shadowRoot.querySelector(`[part~='${N}']`).focus(E)}return{format:ae(Yl,o),formatVerbose:ae(Jl,o),page:w,focusedDate:m,dispatch:c,onFocus(E){E.stopPropagation(),b(E.detail),setTimeout(x)},min:a,max:s,today:d,next:y,previous:h,focus:x}}const yt=te(t=>{const[n,o]=U("value"),[l=n,r]=U("focusedDate"),a=Ie({...t,focusedDate:l,setFocusedDate:r});function s(d){o(d.detail),a.dispatch()}return v("host",{shadowDom:!0,focus:a.focus,children:v(De,{...t,...a,type:"date",value:n,onSelect:s})})},{props:Te,styles:Me});customElements.define("calendar-date",yt);const bt=(t,n)=>D.compare(t,n)<0?[t,n]:[n,t],kt=te(t=>{const[n,o]=Ul("value"),[l=n[0],r]=U("focusedDate"),a=Ie({...t,focusedDate:l,setFocusedDate:r}),s=F("rangestart"),d=F("rangeend"),[i,c]=U("tentative"),[m,b]=ye();ne(()=>b(void 0),[i]);function y(x){a.onFocus(x),h(x)}function h(x){x.stopPropagation(),i&&b(x.detail)}function w(x){const E=x.detail;x.stopPropagation(),i?(o(bt(i,E)),c(void 0),d(O(E)),a.dispatch()):(c(E),s(O(E)))}const B=i?bt(i,m??i):n;return v("host",{shadowDom:!0,focus:a.focus,children:v(De,{...t,...a,type:"range",value:B,onFocus:y,onHover:h,onSelect:w})})},{props:{...Te,tentative:{type:String,value:""}},styles:Me});customElements.define("calendar-range",kt);const wt=te(t=>{const[n,o]=_l("value"),[l=n[0],r]=U("focusedDate"),a=Ie({...t,focusedDate:l,setFocusedDate:r});function s(d){const i=[...n],c=n.findIndex(m=>m.equals(d.detail));c<0?i.push(d.detail):i.splice(c,1),o(i),a.dispatch()}return v("host",{shadowDom:!0,focus:a.focus,children:v(De,{...t,...a,type:"multi",value:n,onSelect:s})})},{props:Te,styles:Me});customElements.define("calendar-multi",wt);const Gl=Object.freeze(Object.defineProperty({__proto__:null,CalendarDate:yt,CalendarMonth:pt,CalendarMulti:wt,CalendarRange:kt},Symbol.toStringTag,{value:"Module"}));S.Accordion=Zt,S.AdvancedSearch=In,S.Avatar=tn,S.Badge=nn,S.ButtonComponent=Nt,S.Card=dn,S.Carousel=gn,S.CarouselItem=yn,S.CategoryNavigation=Wo,S.DatetimePicker=je,S.Dropdown=Tt,S.FilterableSelect=po,S.Footer=Ao,S.Hero=Ro,S.InputField=Ue,S.Loader=Co,S.Modal=It,S.NavigationBar=Go,S.Rating=Kn,S.Selector=Fe,S.Swap=At,S.Tab=nl,S.TagInput=Zn,S.ThemeController=Kt,Object.defineProperty(S,Symbol.toStringTag,{value:"Module"})}));
46
+ */const Rt=Z("SunIcon",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),qt=(t,n)=>{const o=e.ref(null);return e.onMounted(()=>{if(typeof window<"u"){const l=window.localStorage.getItem(t);o.value=l?JSON.parse(l):n}}),e.watch(o,l=>{typeof window<"u"&&window.localStorage.setItem(t,JSON.stringify(l))}),o},Ht={class:"swap-rotate swap"},Wt=["true-value","false-value"],Kt=e.defineComponent({__name:"theme-controller",props:{lightTheme:{default:"light"},darkTheme:{default:"dark"}},setup(t){const n=t,o=qt("theme",n.lightTheme);function l(r){typeof window<"u"&&window.document&&document.documentElement.setAttribute("data-theme",r)}return e.onMounted(()=>l(o.value?o.value:"")),e.watch(o,r=>{l(r)}),(r,a)=>(e.openBlock(),e.createElementBlock("label",Ht,[e.withDirectives(e.createElementVNode("input",{type:"checkbox",class:"theme-controller","onUpdate:modelValue":a[0]||(a[0]=s=>e.isRef(o)?o.value=s:null),"true-value":n.lightTheme,"false-value":n.darkTheme},null,8,Wt),[[e.vModelCheckbox,e.unref(o)]]),e.createVNode(e.unref(Rt),{class:"swap-off fill-current"}),e.createVNode(e.unref(_t),{class:"swap-on fill-current"})]))}}),Yt=["name"],Jt={class:"collapse-title font-bold text-2xl lg:text-4xl"},Xt={class:"collapse-content"},Gt=["innerHTML"],Zt=e.defineComponent({__name:"accordion",props:{name:{},items:{},joinItems:{type:Boolean,default:!1},icon:{}},setup(t){const n=t;return(o,l)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.items,(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["collapse border border-base-300",[t.icon?`collapse-${t.icon}`:"",{"join-item":t.joinItems}]]),key:a},[e.createElementVNode("input",{type:"radio",name:t.name,value:"true"},null,8,Yt),e.createElementVNode("div",Jt,e.toDisplayString(r.title),1),e.createElementVNode("div",Xt,[e.createElementVNode("span",{innerHTML:r.content},null,8,Gt)])],2))),128))}}),Qt=["src"],en={class:"text-xl"},tn=e.defineComponent({__name:"avatar",props:{image:{},onlineStatus:{default:"none"},initials:{},fullyRounded:{type:Boolean,default:!1}},setup(t){const n=t,o=e.ref(n.onlineStatus);return e.watch(()=>n.onlineStatus,l=>{l&&(o.value=l)}),(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["avatar",[{"avatar-online":o.value==="online"},{"avatar-offline":o.value==="offline"}]])},[t.image?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["rounded",[{"rounded-full":t.fullyRounded},{rounded:!t.fullyRounded}]])},[e.createElementVNode("img",{src:t.image,class:"w-full h-full"},null,8,Qt)],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["flex justify-center bg-neutral p-[25%] rounded w-16 text-neutral-content text-center",[{"rounded-full":t.fullyRounded},{rounded:!t.fullyRounded}]])},[e.createElementVNode("p",en,e.toDisplayString(t.initials),1)],2))],2))}}),nn=e.defineComponent({__name:"badge",props:{color:{default:"neutral"},outline:{type:Boolean,default:!1},size:{default:"medium"}},setup(t){const n=t,o={"extra small":"badge-xs",small:"badge-sm",medium:"badge-md",large:"badge-lg"},l={neutral:"badge-neutral",primary:"badge-primary",secondary:"badge-secondary",accent:"badge-accent",ghost:"badge-ghost",info:"badge-info",success:"badge-success",warning:"badge-warning",error:"badge-error"};return(r,a)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["badge",o[n.size],l[n.color],{"badge-outline":n.outline}])},[e.renderSlot(r.$slots,"default")],2))}}),on=["src","alt"],ln={key:0,class:"card-body"},an={key:0,class:"group-hover:text-primary text-lg text-left cursor-pointer card-title"},rn={key:1,class:"text-left"},sn={class:"flex-col flex-nowrap mt-auto card-actions"},cn={key:1,class:"card-body"},dn=e.defineComponent({__name:"card",props:{imgUrl:{default:""},alt:{default:"A beautiful picture that says something about this card"},title:{default:""},description:{default:""},outlined:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},class:{default:""},background:{default:"bg-base-100"},color:{default:""},imgHeight:{default:"h-44"},imgWidth:{default:""},horizontal:{type:Boolean,default:!1}},setup(t){const n=t,o=e.ref(n.outlined);return e.watch(()=>n.outlined,l=>{o.value=l}),(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["group bg-base-100 shadow-xl rounded-sm min-w-64 max-w-full h-full card card-compact",[{"border-4 border-primary":o.value},t.color??"",t.background,{"card-side":t.horizontal}]])},[e.createElementVNode("figure",{class:e.normalizeClass([{"contents!":t.horizontal&&t.imgWidth}])},[t.imgUrl||t.imgUrl&&!t.loading?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.imgUrl,alt:t.alt,class:e.normalizeClass(["rounded-sm object-cover",[{hidden:t.loading},!t.horizontal&&t.imgHeight?t.imgHeight:"h-full",t.horizontal&&t.imgWidth?t.imgWidth:"w-full"]])},null,10,on)):e.createCommentVNode("",!0),t.loading&&t.imgUrl?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["w-full skeleton",t.imgHeight])},null,2)):e.createCommentVNode("",!0)],2),t.loading?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",ln,[t.title?(e.openBlock(),e.createElementBlock("h2",an,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"details"),t.description?(e.openBlock(),e.createElementBlock("p",rn,e.toDisplayString(t.description),1)):e.createCommentVNode("",!0),e.createElementVNode("div",sn,[e.renderSlot(l.$slots,"actions")])])),t.loading?(e.openBlock(),e.createElementBlock("div",cn,[...r[0]||(r[0]=[e.createElementVNode("div",{class:"flex flex-col gap-4 w-52"},[e.createElementVNode("div",{class:"w-28 h-4 skeleton"}),e.createElementVNode("div",{class:"w-full h-4 skeleton"}),e.createElementVNode("div",{class:"w-full h-4 skeleton"})],-1)])])):e.createCommentVNode("",!0)],2))}}),Le=Symbol("CarouselItemStyle"),un={class:"relative h-full"},mn={key:0,class:"top-1/2 right-5 left-5 z-10 absolute flex justify-between -translate-y-1/2 transform"},fn={key:1,class:"bottom-5 z-10 absolute flex justify-center gap-2 py-2 w-full"},pn=["onClick","aria-label"],hn=e.defineComponent({__name:"carousel",props:{showIndicators:{type:Boolean,default:!0},showNavigationButtons:{type:Boolean,default:!0},sliderOrientation:{type:String,default:"horizontal",required:!1,validator:t=>t=="horizontal"||t=="vertical"},initialSlide:{type:Number,default:0},slidesPerView:{type:Number,default:1,validator:t=>t>=1},gap:{type:Number,default:0,validator:t=>t>=0},slideDuration:{type:Number,default:300,validator:t=>t>=0}},setup(t,{expose:n}){const o=t,l=e.ref(o.initialSlide),r=e.ref(null),a=e.ref(!1),s=e.ref(0),d=e.computed(()=>({width:`calc((100% - ${o.slidesPerView>1?(o.slidesPerView-1)*o.gap:0}px) / ${o.slidesPerView})`}));e.provide(Le,d);const i=()=>{r.value?s.value=r.value.children.length:s.value=0},c=async w=>{if(!r.value||o.slidesPerView<=0||a.value||(i(),s.value===0))return;const B=(w%s.value+s.value)%s.value,x=r.value,E=o.sliderOrientation==="vertical"?(x.offsetHeight-(o.slidesPerView-1)*o.gap)/o.slidesPerView:(x.offsetWidth-(o.slidesPerView-1)*o.gap)/o.slidesPerView;if(E<=0)return;const N=E+o.gap,T=B*N,z=o.sliderOrientation==="vertical"?x.scrollHeight-x.offsetHeight:x.scrollWidth-x.offsetWidth,g=Math.max(0,Math.min(T,z+.5));a.value=!0,x.style.scrollBehavior="auto";const f=o.sliderOrientation==="vertical"?x.scrollTop:x.scrollLeft,p=g-f;if(Math.abs(p)<1){a.value=!1,l.value=B;return}const $=performance.now(),u=C=>{const k=C-$,V=Math.min(1,k/o.slideDuration),I=V<.5?4*V*V*V:1-Math.pow(-2*V+2,3)/2,M=f+p*I;o.sliderOrientation==="vertical"?x.scrollTop=M:x.scrollLeft=M,V<1?requestAnimationFrame(u):(o.sliderOrientation==="vertical"?x.scrollTop=g:x.scrollLeft=g,l.value=B,a.value=!1)};requestAnimationFrame(u)},m=()=>{c(l.value+1)},b=()=>{c(l.value-1)},y=w=>{c(w)},h=()=>{if(!r.value||o.slidesPerView<=0||(i(),s.value===0))return;const w=r.value,B=o.sliderOrientation==="vertical"?w.offsetHeight:w.offsetWidth,x=o.slidesPerView>1?(o.slidesPerView-1)*o.gap:0,E=(B-x)/o.slidesPerView;if(E<=0)return;const N=Math.max(0,s.value-o.slidesPerView),T=Math.min(Math.max(0,o.initialSlide),N),z=T*(E+o.gap),g=o.sliderOrientation==="vertical"?w.scrollHeight-w.offsetHeight:w.scrollWidth-w.offsetWidth,f=Math.max(0,Math.min(z,g+.5));o.sliderOrientation==="vertical"?w.scrollTo({top:f,behavior:"auto"}):w.scrollTo({left:f,behavior:"auto"}),l.value=T};return e.onMounted(()=>{requestAnimationFrame(()=>{requestAnimationFrame(h)}),i()}),e.watch(()=>o.initialSlide,w=>{requestAnimationFrame(()=>c(w))}),e.watch(()=>[o.slidesPerView,o.gap],()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{if(i(),s.value===0)return;const w=Math.max(0,s.value-o.slidesPerView),B=Math.min(l.value,w),x=o.slideDuration;o.slideDuration=0,c(B),o.slideDuration=x})})}),n({scrollToSlide:c}),(w,B)=>(e.openBlock(),e.createElementBlock("div",un,[e.createElementVNode("div",{ref_key:"carouselContainer",ref:r,class:e.normalizeClass(["rounded w-full h-full overflow-x-scroll scroll-smooth carousel",[{"carousel-horizontal md:snap-none":t.sliderOrientation=="horizontal"},{"carousel-vertical":t.sliderOrientation=="vertical"}]]),style:e.normalizeStyle({gap:`${t.gap}px`})},[e.renderSlot(w.$slots,"default",{},void 0,!0)],6),t.showNavigationButtons?(e.openBlock(),e.createElementBlock("div",mn,[e.createElementVNode("div",{onClick:b,role:"button","aria-label":"Previous Slide"},[e.renderSlot(w.$slots,"prevButton",{},()=>[B[0]||(B[0]=e.createElementVNode("button",{class:"btn btn-circle",tabindex:"-1"},"❮",-1))],!0)]),e.createElementVNode("div",{onClick:m,role:"button","aria-label":"Next Slide"},[e.renderSlot(w.$slots,"nextButton",{},()=>[B[1]||(B[1]=e.createElementVNode("button",{class:"btn btn-circle",tabindex:"-1"},"❯",-1))],!0)])])):e.createCommentVNode("",!0),t.showIndicators?(e.openBlock(),e.createElementBlock("div",fn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,(x,E)=>(e.openBlock(),e.createElementBlock("button",{key:`dot-${E}`,onClick:N=>y(E),class:e.normalizeClass(["btn btn-circle btn-xs",{"btn-active":E===l.value}]),"aria-label":`Go to slide ${E+1}`},null,10,pn))),128))])):e.createCommentVNode("",!0)]))}}),H=(t,n)=>{const o=t.__vccOpts||t;for(const[l,r]of n)o[l]=r;return o},gn=H(hn,[["__scopeId","data-v-db55a6a5"]]),yn=H(e.defineComponent({__name:"carouselItem",setup(t){const n=e.inject(Le,e.ref({}));return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:"w-full h-full carousel-item",style:e.normalizeStyle(e.unref(n))},[e.renderSlot(o.$slots,"default",{},void 0,!0)],4))}}),[["__scopeId","data-v-507384bc"]]),bn={class:"flex gap-4 bg-base-100 w-full tabs tabs-boxed"},kn=["onClick"],wn={key:0,class:"inline-component-wrapper flex grow justify-center items-center w-full h-full"},xn={key:1,class:"flex flex-col"},En={class:"text-sm"},Bn={key:0,class:"opacity-75 overflow-hidden text-xs truncate ..."},Cn={key:1,class:"hidden md:block opacity-35 overflow-hidden text-xs truncate ..."},$n={class:"hidden"},Sn=["id"],Vn={class:"modal-box"},Nn={class:"font-bold text-lg"},vn=["name","checked"],Dn={class:"collapse-title flex justify-between items-center pr-4 w-full font-medium text-xl"},Tn={key:0,class:"opacity-75 overflow-hidden text-sm truncate ..."},Mn={key:1,class:"opacity-35 text-sm"},zn={class:"collapse-content flex place-content-center p-0"},In=H(e.defineComponent({__name:"advancedSearch",props:{searchOptions:{},currentCategory:{},id:{},value:{}},emits:["search","update:search-data"],setup(t,{emit:n}){const o=t,l=n,r=o.id??`advancedSearch-${e.useId()}`,a=e.ref(null),s=e.ref(null),d={datetime:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Hn)),"standard-select":e.defineAsyncComponent(()=>Promise.resolve().then(()=>ao)),"custom-text":e.defineAsyncComponent(()=>Promise.resolve().then(()=>Bo))},i=e.ref({}),c=e.ref({left:"0px",top:"0px",transform:"translateX(0%)"}),m=e.ref(null),b=g=>{var f;if(g.value===void 0||g.value===null||g.value==="")return"";switch(g.type){case"datetime":if(typeof g.value=="string")try{const p=new Date(g.value);if(!isNaN(p.getTime()))return p.toLocaleString()}catch{}else if(g.range&&typeof g.value=="object"&&g.value!==null&&"start"in g.value&&"end"in g.value)try{const p=new Date(g.value.start),$=new Date(g.value.end);if(!isNaN(p.getTime())&&!isNaN($.getTime()))return`${p.toLocaleDateString()} - ${$.toLocaleDateString()}`}catch{}break;case"custom-range":if(typeof g.value=="object"&&g.value!==null&&"start"in g.value&&"end"in g.value)return`${g.value.start} - ${g.value.end}`;break;case"custom-number":if(typeof g.value=="number")return g.value.toString();break;case"standard-select":case"custom-select":if((f=g.props)!=null&&f.options&&Array.isArray(g.props.options)){const p=g.props.options.find($=>$.value===g.value);if(p)return p.text}return String(g.value);case"custom-text":if(typeof g.value=="string")return g.value;break}return String(g.value)};function y(g){var u,C;const f=(u=a.value)==null?void 0:u.name;if(!f){console.warn("componentValueUpdated called but no active tab.");return}const p=(C=o.searchOptions.find(k=>(k==null?void 0:k.category)===o.currentCategory))==null?void 0:C.tabs,$=p==null?void 0:p.find(k=>k.name===f);$?($.value=g,l("update:search-data",{tab:$.name,data:g})):console.error(`Tab with name "${f}" not found in current category.`)}function h(g){y(g)}function w(){l("search")}async function B(g){var $;const f=document.getElementById(`advancedSearchMobile-${r}`),p=f&&f.contains(g.target);(($=a.value)==null?void 0:$.displayMode)==="popup"&&m.value&&!m.value.contains(g.target)&&!p&&(await e.nextTick(),a.value=null)}async function x(){if(typeof window<"u"&&window.innerWidth<=768){const g=document.getElementById(`advancedSearchMobile-${r}`);g?(a.value=null,g.showModal()):console.warn(`Mobile modal element not found. Ensure it exists with id="advancedSearchMobile-${r}".`)}}async function E(g){var p,$,u;if(typeof window<"u"&&window.innerWidth<=768){x();return}const f=g.displayMode??"popup";if(((p=a.value)==null?void 0:p.name)===g.name&&(($=a.value)==null?void 0:$.displayMode)===f)a.value=null;else if(a.value={...g,displayMode:f},await e.nextTick(),((u=a.value)==null?void 0:u.displayMode)==="popup"){const C=i.value[g.name];if(C&&m.value){const k=C.getBoundingClientRect(),V=m.value.getBoundingClientRect(),I=k.bottom-V.top,M=k.left+k.width/2-V.left;c.value={left:`${M}px`,top:`${I+8}px`,transform:"translateX(-50%)"}}else console.error("Tab element or search container not found for positioning:",g.name)}}const N=g=>{const f=g.relatedTarget;setTimeout(()=>{var p;((p=a.value)==null?void 0:p.displayMode)==="inline"&&m.value&&(!f||!m.value.contains(f))?(console.log("Blur detected outside container, closing inline view."),a.value=null):console.log("Blur detected, but staying within container or not an inline tab.")},50)},T=()=>{console.log("Enter key pressed on inline component, closing inline view."),a.value=null};e.watch(s,g=>{var f;console.log("advanced-search: inlineComponentRef changed. New Value:",g),console.log("advanced-search: activeTab.value:",a.value),g&&((f=a.value)==null?void 0:f.displayMode)==="inline"?(console.log("advanced-search: Inline component ref is available and active tab is inline. Attempting to focus child input..."),e.nextTick(()=>{console.log("advanced-search: Inside nextTick. Attempting to call child's focus method..."),console.log("advanced-search: Type of newValue:",typeof g),console.log("advanced-search: Does newValue have focusInput?",typeof g.focusInput=="function"),g&&typeof g.focusInput=="function"?(console.log("advanced-search: Calling exposed focusInput() method on child instance."),g.focusInput()):console.warn('advanced-search: Child inline component instance does not expose a "focusInput" method or is not ready.',g)})):console.log(g?"advanced-search: inlineComponentRef available, but active tab is not inline.":"advanced-search: inlineComponentRef is now null (component likely unmounted).")}),e.onMounted(()=>{document.addEventListener("click",B),window.addEventListener("resize",z)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",B),window.removeEventListener("resize",z)});const z=()=>{var g,f;if(typeof window<"u"){const p=window.innerWidth<=768,$=a.value!==null&&(a.value.displayMode==="popup"||a.value.displayMode==="inline")&&window.innerWidth>768;!p&&(((g=a.value)==null?void 0:g.displayMode)==="popup"||((f=a.value)==null?void 0:f.displayMode)==="inline")&&window.innerWidth<=768&&(console.log("Resizing to mobile, closing active tab."),a.value=null),p&&!$&&a.value!==null&&(console.log("Resizing to desktop from potential mobile active state, closing active tab."),a.value=null);const u=document.getElementById(`advancedSearchMobile-${r}`);u!=null&&u.open&&!p&&(console.log("Modal is open on desktop, closing modal and active tab."),u.close(),a.value=null)}};return(g,f)=>{var p,$;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{ref_key:"searchContainer",ref:m,class:"w-full"},[e.createElementVNode("div",{class:"group/search relative flex place-items-center shadow-md p-2 border-2 border-base-300/25 rounded-sm w-full transition-all cursor-pointer md:cursor-auto",onClick:x},[e.createElementVNode("div",bn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(((p=o.searchOptions.find(u=>u.category===o.currentCategory))==null?void 0:p.tabs)||[],(u,C)=>{var k,V,I,M,R;return e.openBlock(),e.createElementBlock("button",{key:`${u.name}-${C}`,onClick:e.withModifiers(j=>E(u),["stop"]),class:e.normalizeClass([{"tab-active":((k=a.value)==null?void 0:k.name)===u.name,"tab-active-inline":((V=a.value)==null?void 0:V.name)===u.name&&((I=a.value)==null?void 0:I.displayMode)==="inline"},"group/searchitem after:top-0 after:-right-2 after:absolute relative first-of-type:flex-auto last-of-type:flex-auto after:bg-base-200 hover:bg-base-200 p-1 rounded-sm w-auto after:w-px after:h-10 overflow-x-hidden text-start md:after:content-[''] after:content-none last-of-type:after:content-none"]),ref_for:!0,ref:j=>i.value[u.name]=j},[((M=a.value)==null?void 0:M.name)===u.name&&((R=a.value)==null?void 0:R.displayMode)==="inline"?(e.openBlock(),e.createElementBlock("div",wn,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d[a.value.type]),e.mergeProps({ref_for:!0},a.value.props||{},{modelValue:a.value.value,onUpdated:f[0]||(f[0]=j=>h(j)),"onUpdate:modelValue":f[1]||(f[1]=j=>h(j)),onBlur:N,onKeydown:e.withKeys(e.withModifiers(T,["stop","prevent"]),["enter"]),ref_for:!0,ref_key:"inlineComponentRef",ref:s}),null,16,["modelValue","onKeydown"]))])):(e.openBlock(),e.createElementBlock("div",xn,[e.createElementVNode("p",En,e.toDisplayString(u.name),1),u.value!==void 0&&u.value!==null&&u.value!==""?(e.openBlock(),e.createElementBlock("p",Bn,e.toDisplayString(b(u)),1)):(e.openBlock(),e.createElementBlock("p",Cn,e.toDisplayString(u.description),1))]))],10,kn)}),128))]),a.value&&a.value.displayMode==="popup"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"absolute flex shadow-sm mt-4 w-fit max-w-full transition-all tab-content",style:e.normalizeStyle(c.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d[a.value.type]),e.mergeProps(a.value.props||{},{modelValue:a.value.value,onUpdated:f[2]||(f[2]=u=>y(u)),"onUpdate:modelValue":f[3]||(f[3]=u=>y(u))}),null,16,["modelValue"]))],4)):e.createCommentVNode("",!0),e.createElementVNode("button",{title:"search",type:"submit",class:"ml-1 btn btn-primary btn-square",onClick:e.withModifiers(w,["stop"])},[e.createVNode(e.unref(Ae),{size:24,color:"white"})])]),e.createElementVNode("div",$n,[e.createElementVNode("button",{title:"search",onClick:f[4]||(f[4]=()=>{})},[e.createVNode(e.unref(Ae),{size:24,color:"white"})])])],512),e.createElementVNode("dialog",{id:`advancedSearchMobile-${e.unref(r)}`,class:"modal"},[e.createElementVNode("div",Vn,[e.renderSlot(g.$slots,"additionalForMobile",{},()=>[e.createElementVNode("h3",Nn,e.toDisplayString(t.currentCategory),1)],!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((($=o.searchOptions.find(u=>u.category===o.currentCategory))==null?void 0:$.tabs)||[],(u,C)=>(e.openBlock(),e.createElementBlock("div",{class:"collapse bg-base-200 my-4",key:u.name},[e.createElementVNode("input",{type:"radio",name:`accordion-${e.unref(r)}`,checked:C===0},null,8,vn),e.createElementVNode("div",Dn,[e.createElementVNode("div",null,e.toDisplayString(u.name),1),u.value!==void 0&&u.value!==null&&u.value!==""?(e.openBlock(),e.createElementBlock("div",Tn,e.toDisplayString(b(u)),1)):(e.openBlock(),e.createElementBlock("div",Mn,e.toDisplayString(u.description),1))]),e.createElementVNode("div",zn,[f[7]||(f[7]=e.createElementVNode("br",null,null,-1)),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d[u.type]),e.mergeProps({ref_for:!0},u.props||{},{modelValue:u.value,onUpdated:f[5]||(f[5]=k=>y(k)),"onUpdate:modelValue":f[6]||(f[6]=k=>y(k))}),null,16,["modelValue"]))])]))),128)),e.createElementVNode("div",{class:"modal-action"},[e.createElementVNode("form",{method:"dialog"},[e.createElementVNode("button",{class:"btn btn-primary",onClick:w}," Close and Search ")])])])],8,Sn)],64)}}}),[["__scopeId","data-v-577c3624"]]),Pn={class:"z-30 relative flex items-center bg-base-100 date-filter-input px-4 border-2 border-primary rounded-md w-full min-h-10 font-semibold text-primary text-sm"},On={key:0},An=["id"],Ln={key:2,class:"join items-center gap-2 w-full justify-between py-2 px-4 max-md:input max-md:input-bordered rounded"},jn={class:"join-item"},Fn=["id","disabled"],Un={class:"join-item"},_n=["id","disabled"],Rn=["id","disabled"],qn={key:4,class:"flex mt-4"},je=H(e.defineComponent({__name:"datetimePicker",props:{mode:{default:"datetime"},range:{type:Boolean,default:!1},placeholder:{default:"Select date and time"},popup:{type:Boolean,default:!1},id:{default:"date-time-picker"},initialDate:{default:null},disabled:{type:Boolean,default:!1},locale:{default:"nl-NL"},min:{},max:{}},emits:["update:modelValue","change"],setup(t,{emit:n}){e.onMounted(async()=>{await Promise.resolve().then(()=>Gl)});const o=t,l=n,r=e.ref(null),a=e.ref(!1),s=e.ref(null),d=e.ref(null),i=e.ref(null),c=e.ref(null),m=e.ref(null),b=e.ref({from:"",to:"",single:""}),y=e.ref({single:null,start:null,end:null}),h=e.computed(()=>{const f=u=>{if(!u||u.includes(":"))return u;if(/^\d{4}-\d{2}-\d{2}$/.test(u))try{return new Date(u).toLocaleDateString(o.locale)}catch{const[C,k,V]=u.split("-");return`${V}/${k}/${C}`}return u};let p="",$="";if(o.mode!=="time"&&(o.range&&y.value.start&&y.value.end?p=`${y.value.start} - ${y.value.end}`:!o.range&&y.value.single&&(p=y.value.single)),o.mode!=="date"&&(o.range&&b.value.from&&b.value.to?$=`${b.value.from} - ${b.value.to}`:!o.range&&b.value.single&&($=b.value.single)),o.mode==="date")return o.range?p.split(" - ").map(f).join(" - "):f(p);if(o.mode==="time")return $;if(o.range){const[u,C]=p.split(" - ").map(f),[k,V]=$.split(" - ");return`${u} ${k} - ${C} ${V}`.trim()}return`${f(p)} ${$}`.trim()});console.log(h);const w=()=>{if(o.range){const{start:f,end:p}=y.value,{from:$,to:u}=b.value;let C=null,k=null;if(o.mode==="time"&&$&&u?(C=$,k=u):o.mode==="date"&&f&&p?(C=f,k=p):o.mode==="datetime"&&f&&p&&$&&u&&(C=`${f}T${$}`,k=`${p}T${u}`),C&&k)return{start:C,end:k}}else{const f=y.value.single,p=b.value.single;if(o.mode==="date")return f;if(o.mode==="time")return p||null;if(o.mode==="datetime"&&f&&p)return`${f}T${p}`}return null},B=()=>{if(s.value)y.value.single=s.value.value||null;else if(d.value){const f=d.value.value;y.value.start=(f==null?void 0:f.start)||null,y.value.end=(f==null?void 0:f.end)||null}},x=()=>{B();const f=w();l("update:modelValue",f),l("change",f)},E=()=>{var f,p,$;o.range?(b.value.from=((f=c.value)==null?void 0:f.value)||"",b.value.to=((p=m.value)==null?void 0:p.value)||""):b.value.single=(($=i.value)==null?void 0:$.value)||"",x()},N=()=>{a.value=!a.value,a.value&&x()},T=()=>{a.value=!1,x()},z=f=>{if(!o.popup||!a.value)return;const p=r.value,$=f.target;p&&!p.contains($)&&T()},g=()=>{const f=p=>p instanceof Date?p.toISOString():p;if(o.initialDate){if(o.range&&typeof o.initialDate=="object"&&"start"in o.initialDate){const p=f(o.initialDate.start),$=f(o.initialDate.end);if(y.value.start=p.split("T")[0],y.value.end=$.split("T")[0],o.mode!=="date"){const u=new Date(p),C=new Date($),k=V=>`${String(V.getUTCHours()).padStart(2,"0")}:${String(V.getUTCMinutes()).padStart(2,"0")}`;b.value.from=k(u),b.value.to=k(C),c.value&&(c.value.value=b.value.from),m.value&&(m.value.value=b.value.to)}}else if(typeof o.initialDate=="string"||o.initialDate instanceof Date){const p=f(o.initialDate);if(y.value.single=p.split("T")[0],o.mode!=="date"){const $=new Date(p),u=`${String($.getUTCHours()).padStart(2,"0")}:${String($.getUTCMinutes()).padStart(2,"0")}`;b.value.single=u,i.value&&(i.value.value=u)}}}};return e.onMounted(()=>{g(),x()}),(f,p)=>{const $=e.resolveComponent("calendar-month"),u=e.resolveComponent("calendar-date"),C=e.resolveComponent("calendar-range");return e.openBlock(),e.createElementBlock("div",{class:"inline-block relative w-fit lg:w-full",ref_key:"pickerContainer",ref:r,onMousedownCapture:z},[o.popup?(e.openBlock(),e.createElementBlock("div",{key:0,class:"flex items-center gap-2 cursor-pointer w-full",onClick:p[0]||(p[0]=k=>o.disabled?null:N())},[e.createElementVNode("div",Pn,[h.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",On,e.toDisplayString(t.placeholder),1)),e.createTextVNode(" "+e.toDisplayString(h.value),1)])])):e.createCommentVNode("",!0),a.value||!o.popup?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["z-50 bg-base-100 rounded-md w-full",{"absolute top-full left-0 mt-2 shadow-lg":o.popup,"mt-2":!o.popup}]),id:`date-picker-${o.id}-popup`},[!o.range&&o.mode!=="time"?(e.openBlock(),e.createBlock(u,{key:0,class:"cally w-full",ref_key:"datePicker",ref:s,id:`${o.id}-date`,min:o.min,max:o.max,disabled:o.disabled,onChange:x},{default:e.withCtx(()=>[p[1]||(p[1]=e.createElementVNode("button",{slot:"previous",class:"btn-outline btn btn-primary md:btn-sm"},[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"})])],-1)),p[2]||(p[2]=e.createElementVNode("button",{slot:"next",class:"btn-outline btn btn-primary md:btn-sm"},[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})])],-1)),e.createVNode($,{locale:o.locale},null,8,["locale"])]),_:1},8,["id","min","max","disabled"])):e.createCommentVNode("",!0),o.range&&o.mode!=="time"?(e.openBlock(),e.createBlock(C,{key:1,class:"cally w-full",ref_key:"rangeDatePicker",ref:d,id:`${o.id}-date-range`,min:o.min,max:o.max,disabled:o.disabled,onChange:x},{default:e.withCtx(()=>[p[3]||(p[3]=e.createElementVNode("button",{slot:"previous",class:"btn-outline btn btn-primary md:btn-sm"},[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"})])],-1)),p[4]||(p[4]=e.createElementVNode("button",{slot:"next",class:"btn-outline btn btn-primary md:btn-sm"},[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})])],-1)),e.createVNode($,{locale:o.locale},null,8,["locale"])]),_:1},8,["id","min","max","disabled"])):e.createCommentVNode("",!0),o.range&&o.mode!=="date"?(e.openBlock(),e.createElementBlock("div",Ln,[e.createElementVNode("div",jn,[e.createElementVNode("input",{class:"max-md:max-w-xs text-center hover:border-b-2 hover:-mb-0.5 open:bg-primary open:p-1 open:-m-0.5 open:rounded w-full relative",type:"time",ref_key:"timeFromInput",ref:c,id:`${o.id}-time-from`,placeholder:"van",onChange:E,disabled:o.disabled},null,40,Fn)]),p[5]||(p[5]=e.createElementVNode("svg",{class:"join-item",viewBox:"0 0 1024 1024",focusable:"false","data-icon":"swap-right",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"})],-1)),e.createElementVNode("div",Un,[e.createElementVNode("input",{class:"hover:border-b-2 hover:-mb-0.5 open:bg-primary open:p-1 open:-m-0.5 open:rounded w-full relative",type:"time",ref_key:"timeToInput",ref:m,id:`${o.id}-time-to`,onChange:E,disabled:o.disabled},null,40,_n)])])):e.createCommentVNode("",!0),!o.range&&o.mode!=="date"?(e.openBlock(),e.createElementBlock("input",{key:3,class:"open:bg-primary open:rounded w-full input input-bordered my-2 justify-center px-4 min-w-xs",type:"time",ref_key:"timeInput",ref:i,id:`${o.id}-time`,onChange:E,disabled:o.disabled},null,40,Rn)):e.createCommentVNode("",!0),o.popup?(e.openBlock(),e.createElementBlock("div",qn,[e.createElementVNode("button",{class:"btn btn-primary",onClick:T}," Close ")])):e.createCommentVNode("",!0)],10,An)):e.createCommentVNode("",!0)],544)}}}),[["__scopeId","data-v-acf7c70e"]]),Hn=Object.freeze(Object.defineProperty({__proto__:null,default:je},Symbol.toStringTag,{value:"Module"})),Wn=["value","checked","onChange","disabled"],Kn=e.defineComponent({__name:"rating",props:{initialRating:{default:0},numberOfStars:{default:5},halfStars:{type:Boolean,default:!0},isInteractive:{type:Boolean,default:!1},size:{default:"sm"},shape:{default:"star"},color:{default:"bg-yellow-400"},gap:{default:0}},setup(t){const n=t,o=e.ref(n.initialRating);e.watch(()=>n.initialRating,r=>{o.value=r});const l=r=>{o.value=r};return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["rating",[`rating-${n.size}`,{"rating-half":t.halfStars},{"pointer-events-none":!t.isInteractive}]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.numberOfStars*(t.halfStars?2:1),s=>(e.openBlock(),e.createElementBlock("input",{key:s,type:"radio",value:t.halfStars?s*.5:s,checked:o.value===(t.halfStars?s*.5:s),onChange:d=>t.isInteractive?l(t.halfStars?s*.5:s):null,class:e.normalizeClass(["mask",[{"mask-half-1":t.halfStars&&s%2!==0,"mask-half-2":t.halfStars&&s%2===0,"cursor-pointer":t.isInteractive,"cursor-default":!t.isInteractive,"mask-star":t.shape==="star","mask-star-2":t.shape==="star-bold","mask-heart":t.shape==="heart","mask-hexagon":t.shape==="hexagon-vertical","mask-hexagon-2":t.shape==="hexagon-horizontal","mask-decagon":t.shape==="decagon","mask-pentagon":t.shape==="pentagon","mask-diamond":t.shape==="diamond","mask-square":t.shape==="square","mask-triangle":t.shape==="triangle-top","mask-triangle-2":t.shape==="triangle-bottom","mask-triangle-3":t.shape==="triangle-left","mask-triangle-4":t.shape==="triangle-right"},o.value>=(t.halfStars?s*.5:s)?n.color:""]]),style:e.normalizeStyle({marginRight:t.halfStars&&s%2===0?`${n.gap}px`:t.halfStars?"0":`${n.gap}px`}),disabled:!t.isInteractive},null,46,Wn))),128))],2))}}),Yn={class:"badge"},Jn=["onClick"],Xn={class:"opacity-75"},Gn=["placeholder"],Zn=e.defineComponent({__name:"taginput",props:{modelValue:{},maxTagAmount:{},placeholder:{},class:{}},emits:["update:modelValue"],setup(t,{emit:n}){const o=t,l=n,r=e.ref([...o.modelValue]),a=o.maxTagAmount===void 0?-1:o.maxTagAmount,s=e.ref(null),d=e.ref(""),i=e.computed(()=>a<0||r.value.length<a),c=()=>{const h=d.value.trim();h&&!r.value.includes(h)&&(r.value.push(h),l("update:modelValue",r.value),d.value="")},m=h=>{r.value=r.value.filter(w=>w!==h),l("update:modelValue",r.value)},b=()=>{d.value===""&&(r.value.pop(),l("update:modelValue",r.value))},y=h=>{h.key==="Enter"?c():h.key==="Backspace"&&d.value===""&&b()};return e.watch(()=>o.modelValue,h=>{r.value=[...h]}),(h,w)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-wrap gap-2 bg-base-100 shadow px-4 py-6 border border-base-content/20 rounded",h.$props.class])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,B=>e.renderSlot(h.$slots,"tag",{key:B,tag:B},()=>[e.createElementVNode("div",Yn,[e.createElementVNode("button",{class:"px-1! py-0! h-fit font-bold cursor-pointer",onClick:x=>m(B),"aria-label":"Remove tag"},"X",8,Jn),e.createElementVNode("span",Xn,e.toDisplayString(B),1)])])),128)),e.renderSlot(h.$slots,"input",{showInput:i.value},()=>[i.value?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,ref_key:"inputRef",ref:s,"onUpdate:modelValue":w[0]||(w[0]=B=>d.value=B),type:"text",placeholder:t.placeholder||"Type here",class:"h-full input input-ghost",onKeydown:y,"aria-label":"Add tags"},null,40,Gn)),[[e.vModelText,d.value]]):e.createCommentVNode("",!0)])],2))}}),Qn={class:"w-full max-w-xs form-control"},eo={key:0,class:"label"},to={class:"label-text"},no=["value"],oo={key:0,value:"",disabled:"",selected:""},lo=["value"],Fe=e.defineComponent({__name:"select",props:{options:{},label:{},placeholder:{},modelValue:{}},emits:["update:modelValue"],setup(t,{expose:n,emit:o}){console.log(t.placeholder);const r=o,a=e.ref(null),s=i=>{const c=i.target;r("update:modelValue",c.value)};return n({focusInput:()=>{var i;console.log("select.vue: focusInput method called."),(i=a.value)==null||i.focus()}}),(i,c)=>(e.openBlock(),e.createElementBlock("div",Qn,[t.label?(e.openBlock(),e.createElementBlock("label",eo,[e.createElementVNode("span",to,e.toDisplayString(t.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("select",{ref_key:"selectElement",ref:a,class:"rounded-md w-full select-bordered select",value:t.modelValue,onChange:s},[t.placeholder?(e.openBlock(),e.createElementBlock("option",oo,e.toDisplayString(t.placeholder),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,m=>(e.openBlock(),e.createElementBlock("option",{key:m.value,value:m.value},e.toDisplayString(m.text),9,lo))),128))],40,no)]))}}),ao=Object.freeze(Object.defineProperty({__proto__:null,default:Fe},Symbol.toStringTag,{value:"Module"})),ro={key:0,class:"label"},so={class:"label-text"},io=["onKeydown","aria-expanded","aria-activedescendant"],co=["placeholder","disabled"],uo={class:"top-full z-10 absolute bg-base-100 shadow-lg mt-1 rounded-md w-full dropdown-content",role:"listbox"},mo={class:"flex-nowrap p-0 w-[inherit] max-h-60 overflow-y-auto menu"},fo=["onMousedown","id","aria-selected"],po={__name:"filterableSelect",props:{options:{type:Array,required:!0,default:()=>[]},label:{type:String,default:""},placeholder:{type:String,default:"Select an option"},modelValue:{type:[String,Number,Object,null],default:null},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","select","clear"],setup(t,{expose:n,emit:o}){const l=t,r=o,a=e.useSlots(),s=e.computed(()=>{const C=(a.default?a.default():[]).filter(k=>k.type!==e.Comment);return console.log("hasDefaultSlotContent computed:",C.length>0),C.length>0}),d=e.ref(""),i=e.ref(null),c=e.ref(!1),m=e.ref(null),b=e.ref(null),y=e.ref(null),h=e.ref(null),w=()=>{c.value=!l.disabled},B=()=>{c.value=!1,h.value=null,s.value||(i.value&&d.value!==i.value.text?d.value=i.value.text:i.value||(d.value=""))},x=()=>{c.value?B():w()},E=e.computed(()=>{const u=d.value?d.value.toLowerCase():"";return u===""&&!c.value?[]:l.options.filter(k=>k&&k.text?k.text.toLowerCase().includes(u):"")});e.watch(()=>l.modelValue,(u,C)=>{if(u!==C&&B(),u==null)i.value=null,!c.value&&!s.value&&(d.value="");else{const k=l.options.find(V=>V.value===u);k?(i.value=k,!c.value&&!s.value&&(d.value=k.text)):(i.value=null,!c.value&&!s.value&&(d.value=""))}},{immediate:!0});const N=u=>{b.value&&!b.value.contains(u.target)&&B()},T=()=>{setTimeout(()=>{b.value&&!b.value.contains(document.activeElement)&&B()},100)};e.watch(c,u=>{u?setTimeout(()=>{document.addEventListener("click",N)},0):document.removeEventListener("click",N)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",N),window.removeEventListener("keydown",$)});const z=()=>{if(l.disabled)return;const u=i.value;r("update:modelValue",null),u&&r("clear",u)},g=u=>{i.value=u,s.value||(d.value=u.text),r("update:modelValue",u.value),r("select",u),B()},f=()=>{E.value.length>0&&g(E.value[0])},p=()=>{c.value||w()},$=u=>{if(!c.value||E.value.length===0)return;const C=E.value.findIndex((V,I)=>"option-"+I===h.value);let k=-1;if(u.key==="ArrowDown")u.preventDefault(),k=(C+1)%E.value.length;else if(u.key==="ArrowUp")u.preventDefault(),k=(C-1+E.value.length)%E.value.length;else if(u.key==="Enter"&&h.value){u.preventDefault();const V=E.value.find((I,M)=>"option-"+M===h.value);V&&g(V);return}else if(u.key==="Escape"){u.preventDefault(),B(),y.value&&y.value.focus();return}else if(s.value)return;if(k!==-1){h.value="option-"+k;const V=document.getElementById(h.value);V&&requestAnimationFrame(()=>{V.scrollIntoView({block:"nearest",behavior:"smooth"})})}};return e.watch(c,u=>{u?(window.addEventListener("keydown",$),!s.value&&!d.value&&i.value&&(d.value=i.value.text)):window.removeEventListener("keydown",$)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",N),window.removeEventListener("keydown",$)}),n({isDropdownOpen:c,selectedItem:i,openDropdown:w,closeDropdown:B,toggleDropdown:x,selectItem:g,filterText:d,hasDefaultSlotContent:s}),(u,C)=>(e.openBlock(),e.createElementBlock("div",{class:"relative w-full max-w-xs form-control",ref_key:"componentRoot",ref:b},[t.label?(e.openBlock(),e.createElementBlock("label",ro,[e.createElementVNode("span",so,e.toDisplayString(t.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["flex items-center input-bordered rounded-md w-fit cursor-pointer",{input:!s.value,select:!s.value}]),style:e.normalizeStyle(i.value?"background-image: unset; padding-right: 0.5rem;":""),tabindex:"0",onClick:C[1]||(C[1]=k=>s.value?x():w()),onKeydown:[e.withKeys(e.withModifiers(f,["prevent"]),["enter"]),e.withKeys(e.withModifiers(f,["prevent"]),["space"])],onBlur:T,role:"combobox","aria-haspopup":"listbox","aria-expanded":c.value,"aria-activedescendant":h.value,"aria-autocomplete":"list",ref_key:"activatorWrapper",ref:y},[e.renderSlot(u.$slots,"default",{},()=>[s.value?e.createCommentVNode("",!0):e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,type:"text",placeholder:t.placeholder,class:"bg-transparent border-none focus:outline-none w-full","onUpdate:modelValue":C[0]||(C[0]=k=>d.value=k),ref_key:"filterInput",ref:m,onFocus:w,onInput:p,tabindex:"-1",disabled:l.disabled},null,40,co)),[[e.vModelText,d.value]])]),i.value&&!t.disabled?(e.openBlock(),e.createBlock(e.unref(Ut),{key:0,size:20,class:"mx-2 text-base-content/50 hover:text-base-content/80 cursor-pointer",onClick:e.withModifiers(z,["stop"])})):e.createCommentVNode("",!0),s.value&&!i.value?(e.openBlock(),e.createBlock(e.unref(Ft),{key:1,class:e.normalizeClass([{"rotate-180":c.value},"mx-2"]),size:20},null,8,["class"])):e.createCommentVNode("",!0)],46,io),e.withDirectives(e.createElementVNode("div",uo,[e.createElementVNode("ul",mo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,(k,V)=>(e.openBlock(),e.createElementBlock("li",{key:k.value,onMousedown:e.withModifiers(I=>g(k),["prevent"]),class:"hover:bg-base-200 rounded-md w-full cursor-pointer",id:"option-"+V,role:"option","aria-selected":i.value&&i.value.value===k.value},[e.createElementVNode("a",null,e.toDisplayString(k.text),1)],40,fo))),128))])],512),[[e.vShow,c.value&&E.value.length>0]])],512))}},ho={class:"w-full max-w-xs form-control"},go={key:0,class:"label"},yo={class:"label-text"},bo=["type","placeholder","disabled","value"],ko={key:1,class:"label"},wo={class:"label-text-alt text-error validator-hint"},xo={key:2,class:"label"},Eo={class:"label-text-alt text-success validator-hint"},Ue=e.defineComponent({__name:"inputField",props:{modelValue:{default:""},label:{default:""},placeholder:{default:""},type:{default:"text"},rules:{default:()=>({})},needsValidation:{type:Boolean,default:!1},successMessage:{default:""},size:{default:"md"},color:{default:""},style:{default:""},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","validate"],setup(t,{expose:n,emit:o}){const l=t,r=o,a=e.ref(null),s=e.ref(!1),d=e.ref(""),i=e.computed(()=>{var x,E,N,T;let h=!0,w="";const B=l.modelValue;return(x=l.rules)!=null&&x.required&&(B==null||B==="")&&(h=!1,w="This field is required."),h&&((E=l.rules)==null?void 0:E.minLength)!==void 0&&typeof B=="string"&&B.length<l.rules.minLength&&(h=!1,w=`Must be at least ${l.rules.minLength} characters.`),h&&((N=l.rules)==null?void 0:N.maxLength)!==void 0&&typeof B=="string"&&B.length>l.rules.maxLength&&(h=!1,w=`Cannot exceed ${l.rules.maxLength} characters.`),h&&((T=l.rules)!=null&&T.email)&&typeof B=="string"&&B&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(B)||(h=!1,w="Please enter a valid email address.")),d.value=w,r("validate",h),h}),c=e.computed(()=>s.value&&!i.value),m=h=>{const w=h.target;r("update:modelValue",w.value),s.value&&i.value},b=()=>{s.value=!0,i.value};return e.watch(()=>l.modelValue,()=>{s.value&&i.value}),n({focusInput:()=>{var h;console.log("inputField.vue: focusInput method called."),(h=a.value)==null||h.focus()},isValid:i,isTouched:s,errorMessage:d}),(h,w)=>(e.openBlock(),e.createElementBlock("div",ho,[t.label?(e.openBlock(),e.createElementBlock("label",go,[e.createElementVNode("span",yo,e.toDisplayString(t.label),1)])):e.createCommentVNode("",!0),e.renderSlot(h.$slots,"default"),e.createElementVNode("input",{ref_key:"inputElement",ref:a,type:t.type,placeholder:t.placeholder,disabled:l.disabled,class:e.normalizeClass(["input-bordered rounded-md w-full input validator",[{"input-xs":t.size==="xs","input-sm":t.size==="sm","input-md":t.size==="md","input-lg":t.size==="lg","input-xl":t.size==="xl","input-ghost":t.style==="ghost","input-neutral":t.color==="neutral"&&!c.value&&!(i.value&&s.value&&t.needsValidation),"input-primary":t.color==="primary"&&!c.value&&!(i.value&&s.value&&t.needsValidation),"input-secondary":t.color==="secondary"&&!c.value&&!(i.value&&s.value&&t.needsValidation),"input-accent":t.color==="accent"&&!c.value&&!(i.value&&s.value&&t.needsValidation),"input-info":t.color==="info"&&!c.value&&!(i.value&&s.value&&t.needsValidation),"input-success":t.color==="success"&&!c.value&&!(i.value&&s.value&&t.needsValidation),"input-warning":t.color==="warning"&&!c.value&&!(i.value&&s.value&&t.needsValidation),"input-error":c.value,"input-success-validation":i.value&&s.value&&!c.value&&t.needsValidation}]]),value:t.modelValue,onInput:m,onBlur:b},null,42,bo),c.value?(e.openBlock(),e.createElementBlock("div",ko,[e.createElementVNode("span",wo,e.toDisplayString(d.value),1)])):i.value&&s.value&&t.successMessage?(e.openBlock(),e.createElementBlock("div",xo,[e.createElementVNode("span",Eo,e.toDisplayString(t.successMessage),1)])):e.createCommentVNode("",!0)]))}}),Bo=Object.freeze(Object.defineProperty({__proto__:null,default:Ue},Symbol.toStringTag,{value:"Module"})),Co=e.defineComponent({__name:"loader",props:{loading:{type:Boolean,default:!0},size:{default:"md"},type:{default:"spinner"},color:{default:"primary"}},setup(t){const n=t,o=e.ref(n.loading);return e.watch(()=>n.loading,l=>{o.value=l}),(l,r)=>o.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["loading",[{"loading-xs":t.size==="xs"},{"loading-sm":t.size==="sm"},{"loading-md":t.size==="md"},{"loading-lg":t.size==="lg"},{"loading-xl":t.size==="xl"},{"loading-spinner":t.type==="spinner"},{"loading-dots":t.type==="dots"},{"loading-ring":t.type==="ring"},{"loading-balls":t.type==="balls"},{"loading-bars":t.type==="bars"},{"loading-infinity":t.type==="infinity"},{"text-primary":t.color==="primary"},{"text-secondary":t.color==="secondary"},{"text-accent":t.color==="accent"},{"text-neutral":t.color==="neutral"},{"text-info":t.color==="info"},{"text-success":t.color==="success"},{"text-warning":t.color==="warning"},{"text-error":t.color==="error"}]])},null,2)):e.createCommentVNode("",!0)}}),$o={class:"footer sm:footer-horizontal container"},So={class:"footer-title"},Vo=["href"],No={key:0,class:"sm:hidden w-full"},vo={class:"border-b-2 border-base-100 last:border-b-0 w-full"},Do={tabindex:"0",class:"collapse collapse-plus w-full"},To={class:"collapse-title font-bold text-lg collapsible-footer-title"},Mo={class:"collapse-content flex w-full text-sm"},zo={class:"flex flex-col gap-2.5"},Io={class:"w-full"},Po=["href"],Oo={class:"w-full"},Ao=e.defineComponent({__name:"footer",props:{items:{},background:{},color:{},collapseOnMobile:{type:Boolean,default:!1}},setup(t){const n=t;return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["mx-auto md:px-10 py-10 text-base-content",[t.background??"bg-base-200",t.color??"text-base-content"]])},[e.createElementVNode("footer",$o,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.items,r=>(e.openBlock(),e.createElementBlock("nav",{class:e.normalizeClass([{"hidden sm:grid":t.collapseOnMobile}])},[e.createElementVNode("h6",So,e.toDisplayString(r.title),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.items,a=>(e.openBlock(),e.createElementBlock("a",{class:"link link-hover",href:a.link},e.toDisplayString(a.text),9,Vo))),256))],2))),256)),t.collapseOnMobile?(e.openBlock(),e.createElementBlock("nav",No,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.items,r=>(e.openBlock(),e.createElementBlock("ul",vo,[e.createElementVNode("div",Do,[e.createElementVNode("div",To,e.toDisplayString(r.title),1),e.createElementVNode("div",Mo,[e.createElementVNode("ul",zo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.items,a=>(e.openBlock(),e.createElementBlock("li",Io,[e.createElementVNode("a",{class:"w-full font-medium link link-hover",href:a.link},e.toDisplayString(a.text),9,Po)]))),256))])])])]))),256))])):e.createCommentVNode("",!0),e.createElementVNode("aside",Oo,[e.renderSlot(o.$slots,"default")])])],2))}}),Lo={},jo={class:"min-h-40 container hero"},Fo={class:"px-0! text-center hero-content"},Uo={class:"mt-9 text-4xl"};function _o(t,n){return e.openBlock(),e.createElementBlock("div",jo,[e.createElementVNode("div",Fo,[e.createElementVNode("div",null,[e.createElementVNode("h1",Uo,[e.renderSlot(t.$slots,"title",{},()=>[n[0]||(n[0]=e.createTextVNode("hero title",-1))])]),e.createElementVNode("p",null,[e.renderSlot(t.$slots,"description",{class:"py-9"})]),e.renderSlot(t.$slots,"call-to-action-block",{class:"max-w-full"},()=>[n[1]||(n[1]=e.createElementVNode("button",{class:"btn btn-primary"},"Call to action",-1))])])])])}const Ro=H(Lo,[["render",_o]]),qo={class:"flex flex-row place-content-center gap-4 categories"},Ho=["onClick"],Wo=e.defineComponent({__name:"categoryNavigation",props:{searchOptions:{},currentCategory:{}},emits:["update:currentCategory"],setup(t,{emit:n}){const o=t,l=n;function r(a){l("update:currentCategory",a)}return(a,s)=>(e.openBlock(),e.createElementBlock("div",qo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.searchOptions,d=>(e.openBlock(),e.createElementBlock("div",{key:d.category},[e.createElementVNode("button",{onClick:i=>r(d.category),class:e.normalizeClass(["truncate btn btn-ghost",{"font-semibold":o.currentCategory===d.category}])},e.toDisplayString(d.category),11,Ho)]))),128))]))}}),Ko={class:"md:flex hidden navbar-start"},Yo={class:"md:flex justify-center items-center hidden navbar-center"},Jo={class:"md:flex hidden navbar-end"},Xo={class:"navbar-bottom md:flex hidden"},Go=H(e.defineComponent({__name:"navigationBar",props:{isCollapsed:{type:Boolean,default:!0}},setup(t){const n=t;return(o,l)=>(e.openBlock(),e.createElementBlock("nav",{class:e.normalizeClass(["place-items-start border-primary bg-base-100 px-5 py-5 border-b-4 transition-all navbar navigationbar",n.isCollapsed?"collapsed":""])},[e.createElementVNode("div",Ko,[e.renderSlot(o.$slots,"start",{},void 0,!0)]),e.createElementVNode("div",Yo,[e.renderSlot(o.$slots,"center",{},void 0,!0)]),e.createElementVNode("div",Jo,[e.renderSlot(o.$slots,"end",{},void 0,!0)]),e.createElementVNode("div",Xo,[e.renderSlot(o.$slots,"bottom",{},void 0,!0)])],2))}}),[["__scopeId","data-v-8ddb2b45"]]),Zo={key:0,class:"hidden top-4 right-0 absolute md:flex gap-4"},Qo=["onClick","aria-selected"],el={key:0,role:"tabpanel",class:"p-6 border-x-0 border-t-2 border-b-0 border-base-300 max-w-full overflow-x-auto tab-content"},tl={class:"p-6 border-x-0 border-t-2 border-b-0 border-base-300 max-w-full"},nl=e.defineComponent({__name:"tab",props:{items:{},withControlls:{type:Boolean,default:!1},rotateTabsAfter:{default:0},buttonOnlyMode:{type:Boolean,default:!1}},emits:["tab-changed"],setup(t,{emit:n}){const o=t,l=e.ref(o.items[0]),r=n;function a(i){l.value=i,r("tab-changed",i)}function s(){const c=(o.items.indexOf(l.value)+1)%o.items.length;a(o.items[c])}function d(){const c=(o.items.indexOf(l.value)-1+o.items.length)%o.items.length;a(o.items[c])}return e.onMounted(()=>{o.items&&a(o.items[0])}),e.onUnmounted(()=>{o.rotateTabsAfter&&o.rotateTabsAfter>0&&setInterval(()=>{s()},o.rotateTabsAfter*1e3)}),(i,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{role:"tablist",class:e.normalizeClass(["relative tabs-bordered w-full tabs tabs-lg",{"flex-nowrap overflow-x-auto":t.buttonOnlyMode}])},[t.withControlls?(e.openBlock(),e.createElementBlock("div",Zo,[e.createElementVNode("button",{onClick:c[0]||(c[0]=m=>d()),class:"cursor-pointer"},"Previous"),e.createElementVNode("button",{onClick:c[1]||(c[1]=m=>s()),class:"text-primary cursor-pointer"},"Next")])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,m=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("a",{type:"button",role:"tab",class:e.normalizeClass(["min-w-max tab",m===l.value?"bg-primary text-base-100":""]),onClick:b=>a(m),"aria-selected":l.value==m},e.toDisplayString(m),11,Qo),t.buttonOnlyMode?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",el,[e.renderSlot(i.$slots,`${m}-tab`)]))],64))),256))],2),e.createElementVNode("div",tl,[e.renderSlot(i.$slots,"default")])],64))}});typeof document>"u"&&(globalThis.document={}),typeof window>"u"&&(globalThis.window=globalThis);class ol{constructor(n){Pe(this,_);Pe(this,J,new Set);Oe(this,_,n)}get current(){return G(this,_)}set current(n){G(this,_)!=n&&(Oe(this,_,n),G(this,J).forEach(o=>o(n)))}on(n){return G(this,J).add(n),()=>G(this,J).delete(n)}}_=new WeakMap,J=new WeakMap;const _e=t=>new ol(t),he=Symbol.for("atomico.hooks");globalThis[he]=globalThis[he]||{};let W=globalThis[he];const ll=Symbol.for("Atomico.suspense"),Re=Symbol.for("Atomico.effect"),al=Symbol.for("Atomico.layoutEffect"),qe=Symbol.for("Atomico.insertionEffect"),K=(t,n,o)=>{const{i:l,hooks:r}=W.c,a=r[l]=r[l]||{};return a.value=t(a.value),a.effect=n,a.tag=o,W.c.i++,r[l].value},rl=t=>K((n=_e(t))=>n),Q=()=>K((t=_e(W.c.host))=>t),He=()=>W.c.update,sl=(t,n,o=0)=>{let l={},r=!1;const a=()=>r,s=(d,i)=>{for(const c in l){const m=l[c];m.effect&&m.tag===d&&(m.value=m.effect(m.value,i))}};return{load:d=>{W.c={host:n,hooks:l,update:t,i:0,id:o};let i;try{r=!1,i=d()}catch(c){if(c!==ll)throw c;r=!0}finally{W.c=null}return i},cleanEffects:d=>(s(qe,d),()=>(s(al,d),()=>{s(Re,d)})),isSuspense:a}},Y=Symbol.for;function We(t,n){const o=t.length;if(o!==n.length)return!1;for(let l=0;l<o;l++){let r=t[l],a=n[l];if(r!==a)return!1}return!0}const A=t=>typeof t=="function",ee=t=>typeof t=="object",{isArray:il}=Array,ge=(t,n)=>(n?t instanceof HTMLStyleElement:!0)&&"hydrate"in((t==null?void 0:t.dataset)||{});function Ke(t,n){let o;const l=r=>{let{length:a}=r;for(let s=0;s<a;s++){const d=r[s];if(d&&Array.isArray(d))l(d);else{const i=typeof d;if(d==null||i==="function"||i==="boolean")continue;i==="string"||i==="number"?(o==null&&(o=""),o+=d):(o!=null&&(n(o),o=null),n(d))}}};l(t),o!=null&&n(o)}const Ye=(t,n,o)=>(t.addEventListener(n,o),()=>t.removeEventListener(n,o));class Je{constructor(n,o,l){this.message=o,this.target=n,this.value=l}}class Xe extends Je{}class cl extends Je{}const ce="Custom",dl=null,ul={true:1,"":1,1:1};function ml(t,n,o,l,r){const{type:a,reflect:s,event:d,value:i,attr:c=fl(n)}=(o==null?void 0:o.name)!=ce&&ee(o)&&o!=dl?o:{type:o},m=(a==null?void 0:a.name)===ce&&a.map,b=i!=null?a==Function||!A(i)?()=>i:i:null;Object.defineProperty(t,n,{configurable:!0,set(y){const h=this[n];b&&a!=Boolean&&y==null&&(y=b());const{error:w,value:B}=(m?gl:yl)(a,y);if(w&&B!=null)throw new Xe(this,`The value defined for prop '${n}' must be of type '${a.name}'`,B);h!=B&&(this._props[n]=B??void 0,this.update(),d&&Ge(this,d),this.updated.then(()=>{s&&(this._ignoreAttr=c,pl(this,a,c,this[n]),this._ignoreAttr=null)}))},get(){return this._props[n]}}),b&&(r[n]=b()),l[c]={prop:n,type:a}}const Ge=(t,{type:n,base:o=CustomEvent,...l})=>t.dispatchEvent(new o(n,l)),fl=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase(),pl=(t,n,o,l)=>l==null||n==Boolean&&!l?t.removeAttribute(o):t.setAttribute(o,(n==null?void 0:n.name)===ce&&(n!=null&&n.serialize)?n==null?void 0:n.serialize(l):ee(l)?JSON.stringify(l):n==Boolean?"":l),hl=(t,n)=>t==Boolean?!!ul[n]:t==Number?Number(n):t==String?n:t==Array||t==Object?JSON.parse(n):t.name==ce?n:new t(n),gl=({map:t},n)=>{try{return{value:t(n),error:!1}}catch{return{value:n,error:!0}}},yl=(t,n)=>t==null||n==null?{value:n,error:!1}:t!=String&&n===""?{value:void 0,error:!1}:t==Object||t==Array||t==Symbol?{value:n,error:{}.toString.call(n)!==`[object ${t.name}]`}:n instanceof t?{value:n,error:t==Number&&Number.isNaN(n.valueOf())}:t==String||t==Number||t==Boolean?{value:n,error:t==Number?typeof n!="number"?!0:Number.isNaN(n):t==String?typeof n!="string":typeof n!="boolean"}:{value:n,error:!0};let bl=0;const kl=t=>{var o;return((o=(t==null?void 0:t.dataset)||{})==null?void 0:o.hydrate)||""||"c"+bl++},te=(t,n=HTMLElement)=>{const o={},l={},r="prototype"in n&&n.prototype instanceof Element,a=r?n:"base"in n?n.base:HTMLElement,{props:s,styles:d}=r?t:n;class i extends a{constructor(){super(),this._setup(),this._render=()=>t({...this._props});for(const m in l)this[m]=l[m]}static get styles(){return[super.styles,d]}async _setup(){if(this._props)return;this._props={};let m,b;this.mounted=new Promise(x=>this.mount=()=>{x(),m!=this.parentNode&&(b!=m?this.unmounted.then(this.update):this.update()),m=this.parentNode}),this.unmounted=new Promise(x=>this.unmount=()=>{x(),(m!=this.parentNode||!this.isConnected)&&(y.cleanEffects(!0)()(),b=this.parentNode,m=null)}),this.symbolId=this.symbolId||Symbol(),this.symbolIdParent=Symbol();const y=sl(()=>this.update(),this,kl(this));let h,w=!0;const B=ge(this);this.update=()=>(h||(h=!0,this.updated=(this.updated||this.mounted).then(()=>{try{const x=y.load(this._render),E=y.cleanEffects();return x&&x.render(this,this.symbolId,B),h=!1,w&&!y.isSuspense()&&(w=!1,!B&&wl(this)),E()}finally{h=!1}}).then(x=>{x&&x()})),this.updated),this.update()}connectedCallback(){this.mount(),super.connectedCallback&&super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),this.unmount()}attributeChangedCallback(m,b,y){if(o[m]){if(m===this._ignoreAttr||b===y)return;const{prop:h,type:w}=o[m];try{this[h]=hl(w,y)}catch{throw new cl(this,`The value defined as attr '${m}' cannot be parsed by type '${w.name}'`,y)}}else super.attributeChangedCallback(m,b,y)}static get props(){return{...super.props,...s}}static get observedAttributes(){const m=super.observedAttributes||[];for(const b in s)ml(this.prototype,b,s[b],o,l);return Object.keys(o).concat(m)}}return i};function wl(t){const{styles:n}=t.constructor,{shadowRoot:o}=t;if(o&&n.length){const l=[];Ke(n,r=>{r&&(r instanceof Element?o.appendChild(r.cloneNode(!0)):l.push(r))}),l.length&&(o.adoptedStyleSheets=l)}}const Ze=t=>(n,o)=>{K(([l,r]=[])=>((r||!r)&&(r&&We(r,o)?l=l||!0:(A(l)&&l(),l=null)),[l,o]),([l,r],a)=>a?(A(l)&&l(),[]):[l||n(),r],t)},ne=Ze(Re),xl=Ze(qe);class Qe extends Array{constructor(n,o){let l=!0;const r=a=>{try{o(a,this,l)}finally{l=!1}};super(void 0,r,o),r(n)}}const ye=t=>{const n=He();return K((o=new Qe(t,(l,r,a)=>{l=A(l)?l(r[0]):l,l!==r[0]&&(r[0]=l,a||n())}))=>o)},L=(t,n)=>{const[o]=K(([l,r,a=0]=[])=>((!r||r&&!We(r,n))&&(l=t()),[l,n,a]));return o},be=t=>{const{current:n}=Q();if(!(t in n))throw new Xe(n,`For useProp("${t}"), the prop does not exist on the host.`,t);return K((o=new Qe(n[t],(l,r)=>{l=A(l)?l(n[t]):l,n[t]=l}))=>(o[0]=n[t],o))},F=(t,n={})=>{const o=Q();return o[t]||(o[t]=(l=n.detail)=>Ge(o.current,{type:t,...n,detail:l})),o[t]},ke=Y("atomico/options");globalThis[ke]=globalThis[ke]||{sheet:!!document.adoptedStyleSheets};const et=globalThis[ke],El={checked:1,value:1,selected:1},Bl={list:1,type:1,size:1,form:1,width:1,height:1,src:1,href:1,slot:1},Cl={shadowDom:1,staticNode:1,cloneNode:1,children:1,key:1},de={},we=[];class xe extends Text{}const $l=Y("atomico/id"),oe=Y("atomico/type"),Ee=Y("atomico/ref"),tt=Y("atomico/vnode"),Sl=()=>{};function Vl(t,n,o){return ot(this,t,n,o)}const nt=(t,n,...o)=>{const l=n||de;let{children:r}=l;if(r=r??(o.length?o:we),t===Sl)return r;const a=t?t instanceof Node?1:t.prototype instanceof HTMLElement&&2:0;if(a===!1&&t instanceof Function)return t(r!=we?{children:r,...l}:l);const s=et.render||Vl;return{[oe]:tt,type:t,props:l,children:r,key:l.key,shadow:l.shadowDom,static:l.staticNode,raw:a,is:l.is,clone:l.cloneNode,render:s}};function ot(t,n,o=$l,l,r){let a;if(n&&n[o]&&n[o].vnode==t||t[oe]!=tt)return n;(t||!n)&&(r=r||t.type=="svg",a=t.type!="host"&&(t.raw==1?(n&&t.clone?n[Ee]:n)!=t.type:t.raw==2?!(n instanceof t.type):n?n[Ee]||n.localName!=t.type:!n),a&&t.type!=null&&(t.raw==1&&t.clone?(l=!0,n=t.type.cloneNode(!0),n[Ee]=t.type):n=t.raw==1?t.type:t.raw==2?new t.type:r?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type,t.is?{is:t.is}:void 0)));const s=n[o]?n[o]:de,{vnode:d=de,cycle:i=0}=s;let{fragment:c,handlers:m}=s;const{children:b=we,props:y=de}=d;if(m=a?{}:m||{},t.static&&!a)return n;if(t.shadow&&!n.shadowRoot&&n.attachShadow({mode:"open",...t.shadow}),t.props!=y&&Dl(n,y,t.props,m,r),t.children!==b){const h=t.shadow?n.shadowRoot:n;c=vl(t.children,c,h,o,!i&&l,r&&t.type=="foreignObject"?!1:r)}return n[o]={vnode:t,handlers:m,fragment:c,cycle:i+1},n}function Nl(t,n){const o=new xe(""),l=new xe("");let r;if(t[n?"prepend":"append"](o),n){let{lastElementChild:a}=t;for(;a;){const{previousElementSibling:s}=a;if(ge(a,!0)&&!ge(s,!0)){r=a;break}a=s}}return r?r.before(l):t.append(l),{markStart:o,markEnd:l}}function vl(t,n,o,l,r,a){t=t==null?null:il(t)?t:[t];const s=n||Nl(o,r),{markStart:d,markEnd:i,keyes:c}=s;let m;const b=c&&new Set;let y=d;if(t&&Ke(t,h=>{if(typeof h=="object"&&!h[oe])return;const w=h[oe]&&h.key,B=c&&w!=null&&c.get(w);y!=i&&y===B?b.delete(y):y=y==i?i:y.nextSibling;const x=c?B:y;let E=x;if(h[oe])E=ot(h,x,l,r,a);else{const N=h+"";!(E instanceof Text)||E instanceof xe?E=new Text(N):E.data!=N&&(E.data=N)}E!=y&&(c&&b.delete(E),!x||c?(o.insertBefore(E,y),c&&y!=i&&b.add(y)):x==i?o.insertBefore(E,i):(o.replaceChild(E,x),y=E)),w!=null&&(m=m||new Map,m.set(w,E))}),y=y==i?i:y.nextSibling,n&&y!=i)for(;y!=i;){const h=y;y=y.nextSibling,h.remove()}return b&&b.forEach(h=>h.remove()),s.keyes=m,s}function Dl(t,n,o,l,r){for(const a in n)!(a in o)&&lt(t,a,n[a],null,r,l);for(const a in o)lt(t,a,n[a],o[a],r,l)}function lt(t,n,o,l,r,a){if(n=n=="class"&&!r?"className":n,o=o??null,l=l??null,n in t&&El[n]&&(o=t[n]),!(l===o||Cl[n]||n[0]=="_"))if(n[0]=="o"&&n[1]=="n"&&(A(l)||A(o)))Tl(t,n.slice(2),l,a);else if(n=="ref")l&&(A(l)?l(t):l.current=t);else if(n=="style"){const{style:s}=t;o=o||"",l=l||"";const d=ee(o),i=ee(l);if(d)for(const c in o)if(i)!(c in l)&&at(s,c,null);else break;if(i)for(const c in l){const m=l[c];d&&o[c]===m||at(s,c,m)}else s.cssText=l}else{const s=n[0]=="$"?n.slice(1):n;s===n&&(!r&&!Bl[n]&&n in t||A(l)||A(o))?t[n]=l??"":l==null?t.removeAttribute(s):t.setAttribute(s,ee(l)?JSON.stringify(l):l)}}function Tl(t,n,o,l){if(l.handleEvent||(l.handleEvent=r=>l[r.type].call(t,r)),o){if(!l[n]){const r=o.capture||o.once||o.passive?Object.assign({},o):null;t.addEventListener(n,l,r)}l[n]=o}else l[n]&&(t.removeEventListener(n,l),delete l[n])}function at(t,n,o){let l="setProperty";o==null&&(l="removeProperty",o=null),~n.indexOf("-")?t[l](n,o):t[n]=o}const rt={};function ue(t,...n){const o=(t.raw||t).reduce((l,r,a)=>l+r+(n[a]||""),"");return rt[o]=rt[o]||Ml(o)}function Ml(t){if(et.sheet){const n=new CSSStyleSheet;return n.replaceSync(t),n}else{const n=document.createElement("style");return n.textContent=t,n}}const zl=nt("host",{style:"display: contents"}),Be=Y("atomico/context"),Il=(t,n)=>{const o=Q();xl(()=>Ye(o.current,"ConnectContext",l=>{t===l.detail.id&&(l.stopPropagation(),l.detail.connect(n))}),[t])},Pl=t=>{const n=F("ConnectContext",{bubbles:!0,composed:!0}),o=()=>{let a;return n({id:t,connect(s){a=s}}),a},[l,r]=ye(o);return ne(()=>{l||(t[Be]||(t[Be]=customElements.whenDefined(new t().localName)),t[Be].then(()=>r(o)))},[t]),l},Ol=t=>{const n=Pl(t),o=He();return ne(()=>{if(n)return Ye(n,"UpdatedValue",o)},[n]),(n||t).value},Al=t=>{const n=te(()=>(Il(n,Q().current),zl),{props:{value:{type:Object,event:{type:"UpdatedValue"},value:()=>t}}});return n.value=t,n},v=(t,n,o)=>(n==null?n={key:o}:n.key=o,nt(t,n)),le=v,st=ue`*,*:before,*:after{box-sizing:border-box}button{padding:0;touch-action:manipulation;cursor:pointer;user-select:none}`,it=ue`.vh{position:absolute;transform:scale(0)}`;function Ce(){const t=new Date;return new D(t.getFullYear(),t.getMonth()+1,t.getDate())}function $e(t,n=0){const o=O(t),l=o.getUTCDay(),r=(l<n?7:0)+l-n;return o.setUTCDate(o.getUTCDate()-r),D.from(o)}function ct(t,n=0){return $e(t,n).add({days:6})}function dt(t){return D.from(new Date(Date.UTC(t.year,t.month,0)))}function me(t,n,o){return n&&D.compare(t,n)<0?n:o&&D.compare(t,o)>0?o:t}const Ll={days:1};function jl(t,n=0){let o=$e(t.toPlainDate(),n);const l=ct(dt(t),n),r=[];for(;D.compare(o,l)<0;){const a=[];for(let s=0;s<7;s++)a.push(o),o=o.add(Ll);r.push(a)}return r}function O(t){return new Date(Date.UTC(t.year,t.month-1,t.day??1))}const Fl=/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$/,Se=(t,n)=>t.toString().padStart(n,"0");class D{constructor(n,o,l){this.year=n,this.month=o,this.day=l}add(n){const o=O(this);if("days"in n)return o.setUTCDate(this.day+n.days),D.from(o);let{year:l,month:r}=this;"months"in n?(r=this.month+n.months,o.setUTCMonth(r-1)):(l=this.year+n.years,o.setUTCFullYear(l));const a=D.from(O({year:l,month:r,day:1}));return me(D.from(o),a,dt(a))}toString(){return`${Se(this.year,4)}-${Se(this.month,2)}-${Se(this.day,2)}`}toPlainYearMonth(){return new fe(this.year,this.month)}equals(n){return D.compare(this,n)===0}static compare(n,o){return n.year<o.year?-1:n.year>o.year?1:n.month<o.month?-1:n.month>o.month?1:n.day<o.day?-1:n.day>o.day?1:0}static from(n){if(typeof n=="string"){const o=n.match(Fl);if(!o)throw new TypeError(n);const[,l,r,a]=o;return new D(parseInt(l,10),parseInt(r,10),parseInt(a,10))}return new D(n.getUTCFullYear(),n.getUTCMonth()+1,n.getUTCDate())}}class fe{constructor(n,o){this.year=n,this.month=o}add(n){const o=O(this),l=(n.months??0)+(n.years??0)*12;return o.setUTCMonth(o.getUTCMonth()+l),new fe(o.getUTCFullYear(),o.getUTCMonth()+1)}equals(n){return this.year===n.year&&this.month===n.month}toPlainDate(){return new D(this.year,this.month,1)}}function pe(t,n){if(n)try{return t.from(n)}catch{}}function U(t){const[n,o]=be(t);return[L(()=>pe(D,n),[n]),l=>o(l==null?void 0:l.toString())]}function Ul(t){const[n="",o]=be(t);return[L(()=>{const[l,r]=n.split("/"),a=pe(D,l),s=pe(D,r);return a&&s?[a,s]:[]},[n]),l=>o(`${l[0]}/${l[1]}`)]}function _l(t){const[n="",o]=be(t);return[L(()=>{const l=[];for(const r of n.trim().split(/\s+/)){const a=pe(D,r);a&&l.push(a)}return l},[n]),l=>o(l.join(" "))]}function ae(t,n){return L(()=>new Intl.DateTimeFormat(n,{timeZone:"UTC",...t}),[n,t])}function ut(t,n,o){const l=ae(t,o);return L(()=>{const r=[],a=new Date;for(var s=0;s<7;s++){const d=(a.getUTCDay()-n+7)%7;r[d]=l.format(a),a.setUTCDate(a.getUTCDate()+1)}return r},[n,l])}const mt=(t,n,o)=>me(t,n,o)===t,ft=t=>t.target.matches(":dir(ltr)"),Rl={month:"long",day:"numeric"},ql={month:"long"},Hl={weekday:"long"},Ve={bubbles:!0};function Wl({props:t,context:n}){const{offset:o}=t,{firstDayOfWeek:l,isDateDisallowed:r,min:a,max:s,today:d,page:i,locale:c,focusedDate:m,formatWeekday:b}=n,y=d??Ce(),h=ut(Hl,l,c),w=L(()=>({weekday:b}),[b]),B=ut(w,l,c),x=ae(Rl,c),E=ae(ql,c),N=L(()=>i.start.add({months:o}),[i,o]),T=L(()=>jl(N,l),[N,l]),z=F("focusday",Ve),g=F("selectday",Ve),f=F("hoverday",Ve);function p(C){z(me(C,a,s))}function $(C){let k;switch(C.key){case"ArrowRight":k=m.add({days:ft(C)?1:-1});break;case"ArrowLeft":k=m.add({days:ft(C)?-1:1});break;case"ArrowDown":k=m.add({days:7});break;case"ArrowUp":k=m.add({days:-7});break;case"PageUp":k=m.add(C.shiftKey?{years:-1}:{months:-1});break;case"PageDown":k=m.add(C.shiftKey?{years:1}:{months:1});break;case"Home":k=$e(m,l);break;case"End":k=ct(m,l);break;default:return}p(k),C.preventDefault()}function u(C){var Et,Bt;const k=N.equals(C);if(!n.showOutsideDays&&!k)return;const V=C.equals(m),I=C.equals(y),M=O(C),R=r==null?void 0:r(M),j=!mt(C,a,s);let xt="",X;if(n.type==="range"){const[q,re]=n.value,Ct=q==null?void 0:q.equals(C),$t=re==null?void 0:re.equals(C);X=q&&re&&mt(C,q,re),xt=`${Ct?"range-start":""} ${$t?"range-end":""} ${X&&!Ct&&!$t?"range-inner":""}`}else n.type==="multi"?X=n.value.some(q=>q.equals(C)):X=(Et=n.value)==null?void 0:Et.equals(C);return{part:`${`button day day-${M.getDay()} ${k?X?"selected":"":"outside"} ${R?"disallowed":""} ${I?"today":""} ${((Bt=n.getDayParts)==null?void 0:Bt.call(n,M))??""}`} ${xt}`,tabindex:k&&V?0:-1,disabled:j,"aria-disabled":R?"true":void 0,"aria-pressed":k&&X,"aria-current":I?"date":void 0,"aria-label":x.format(M),onkeydown:$,onclick(){R||g(C),p(C)},onmouseover(){!R&&!j&&f(C)}}}return{weeks:T,yearMonth:N,daysLong:h,daysVisible:B,formatter:E,getDayProps:u}}const Ne=Ce(),ve=Al({type:"date",firstDayOfWeek:1,focusedDate:Ne,page:{start:Ne.toPlainYearMonth(),end:Ne.toPlainYearMonth()}});customElements.define("calendar-ctx",ve);const Kl=(t,n)=>(n+t)%7,pt=te(t=>{const n=Ol(ve),o=rl(),l=Wl({props:t,context:n});function r(){var a;(a=o.current.querySelector("button[tabindex='0']"))==null||a.focus()}return le("host",{shadowDom:!0,focus:r,children:[v("div",{id:"h",part:"heading",children:l.formatter.format(O(l.yearMonth))}),le("table",{ref:o,"aria-labelledby":"h",part:"table",children:[v("thead",{children:v("tr",{part:"tr head",children:l.daysLong.map((a,s)=>le("th",{part:`th day day-${Kl(n.firstDayOfWeek,s)}`,scope:"col",children:[v("span",{class:"vh",children:a}),v("span",{"aria-hidden":"true",children:l.daysVisible[s]})]}))})}),v("tbody",{children:l.weeks.map((a,s)=>v("tr",{part:"tr week",children:a.map((d,i)=>{const c=l.getDayProps(d);return v("td",{part:"td",children:c&&v("button",{...c,children:d.day})},i)})},s))})]})]})},{props:{offset:{type:Number,value:0}},styles:[st,it,ue`:host{--color-accent: black;--color-text-on-accent: white;display:flex;flex-direction:column;gap:.25rem;text-align:center;inline-size:fit-content}table{border-collapse:collapse;font-size:.875rem}th{font-weight:700;block-size:2.25rem}td{padding-inline:0}button{color:inherit;font-size:inherit;background:transparent;border:0;font-variant-numeric:tabular-nums;block-size:2.25rem;inline-size:2.25rem}button:hover:where(:not(:disabled,[aria-disabled])){background:#0000000d}button:is([aria-pressed=true],:focus-visible){background:var(--color-accent);color:var(--color-text-on-accent)}button:focus-visible{outline:1px solid var(--color-text-on-accent);outline-offset:-2px}button:disabled,:host::part(outside),:host::part(disallowed){cursor:default;opacity:.5}`]});customElements.define("calendar-month",pt);function ht(t){return v("button",{part:`button ${t.name} ${t.onclick?"":"disabled"}`,onclick:t.onclick,"aria-disabled":t.onclick?null:"true",children:v("slot",{name:t.name,children:t.children})})}function De(t){const n=O(t.page.start),o=O(t.page.end);return le("div",{role:"group","aria-labelledby":"h",part:"container",children:[v("div",{id:"h",class:"vh","aria-live":"polite","aria-atomic":"true",children:t.formatVerbose.formatRange(n,o)}),le("div",{part:"header",children:[v(ht,{name:"previous",onclick:t.previous,children:"Previous"}),v("slot",{part:"heading",name:"heading",children:v("div",{"aria-hidden":"true",children:t.format.formatRange(n,o)})}),v(ht,{name:"next",onclick:t.next,children:"Next"})]}),v(ve,{value:t,onselectday:t.onSelect,onfocusday:t.onFocus,onhoverday:t.onHover,children:v("slot",{})})]})}const Te={value:{type:String,value:""},min:{type:String,value:""},max:{type:String,value:""},today:{type:String,value:""},isDateDisallowed:{type:Function,value:t=>!1},formatWeekday:{type:String,value:()=>"narrow"},getDayParts:{type:Function,value:t=>""},firstDayOfWeek:{type:Number,value:()=>1},showOutsideDays:{type:Boolean,value:!1},locale:{type:String,value:()=>{}},months:{type:Number,value:1},focusedDate:{type:String,value:()=>{}},pageBy:{type:String,value:()=>"months"}},Me=[st,it,ue`:host{display:block;inline-size:fit-content}[role=group]{display:flex;flex-direction:column;gap:1em}:host::part(header){display:flex;align-items:center;justify-content:space-between}:host::part(heading){font-weight:700;font-size:1.25em}button{display:flex;align-items:center;justify-content:center}button[aria-disabled]{cursor:default;opacity:.5}`],Yl={year:"numeric"},Jl={year:"numeric",month:"long"};function ze(t,n){return(n.year-t.year)*12+n.month-t.month}const gt=(t,n)=>(t=n===12?new fe(t.year,1):t,{start:t,end:t.add({months:n-1})});function Xl({pageBy:t,focusedDate:n,months:o,max:l,min:r,goto:a}){const s=t==="single"?1:o,[d,i]=ye(()=>gt(n.toPlainYearMonth(),o)),c=b=>i(gt(d.start.add({months:b}),o)),m=b=>{const y=ze(d.start,b.toPlainYearMonth());return y>=0&&y<o};return ne(()=>{if(m(n))return;const b=ze(n.toPlainYearMonth(),d.start);a(n.add({months:b}))},[d.start]),ne(()=>{if(m(n))return;const b=ze(d.start,n.toPlainYearMonth());c(b===-1?-s:b===o?s:Math.floor(b/o)*o)},[n,s,o]),{page:d,previous:!r||!m(r)?()=>c(-s):void 0,next:!l||!m(l)?()=>c(s):void 0}}function Ie({months:t,pageBy:n,locale:o,focusedDate:l,setFocusedDate:r}){const[a]=U("min"),[s]=U("max"),[d]=U("today"),i=F("focusday"),c=F("change"),m=L(()=>me(l??d??Ce(),a,s),[l,d,a,s]);function b(E){r(E),i(O(E))}const{next:y,previous:h,page:w}=Xl({pageBy:n,focusedDate:m,months:t,min:a,max:s,goto:b}),B=Q();function x(E){const N=(E==null?void 0:E.target)??"day";N==="day"?B.current.querySelectorAll("calendar-month").forEach(T=>T.focus(E)):B.current.shadowRoot.querySelector(`[part~='${N}']`).focus(E)}return{format:ae(Yl,o),formatVerbose:ae(Jl,o),page:w,focusedDate:m,dispatch:c,onFocus(E){E.stopPropagation(),b(E.detail),setTimeout(x)},min:a,max:s,today:d,next:y,previous:h,focus:x}}const yt=te(t=>{const[n,o]=U("value"),[l=n,r]=U("focusedDate"),a=Ie({...t,focusedDate:l,setFocusedDate:r});function s(d){o(d.detail),a.dispatch()}return v("host",{shadowDom:!0,focus:a.focus,children:v(De,{...t,...a,type:"date",value:n,onSelect:s})})},{props:Te,styles:Me});customElements.define("calendar-date",yt);const bt=(t,n)=>D.compare(t,n)<0?[t,n]:[n,t],kt=te(t=>{const[n,o]=Ul("value"),[l=n[0],r]=U("focusedDate"),a=Ie({...t,focusedDate:l,setFocusedDate:r}),s=F("rangestart"),d=F("rangeend"),[i,c]=U("tentative"),[m,b]=ye();ne(()=>b(void 0),[i]);function y(x){a.onFocus(x),h(x)}function h(x){x.stopPropagation(),i&&b(x.detail)}function w(x){const E=x.detail;x.stopPropagation(),i?(o(bt(i,E)),c(void 0),d(O(E)),a.dispatch()):(c(E),s(O(E)))}const B=i?bt(i,m??i):n;return v("host",{shadowDom:!0,focus:a.focus,children:v(De,{...t,...a,type:"range",value:B,onFocus:y,onHover:h,onSelect:w})})},{props:{...Te,tentative:{type:String,value:""}},styles:Me});customElements.define("calendar-range",kt);const wt=te(t=>{const[n,o]=_l("value"),[l=n[0],r]=U("focusedDate"),a=Ie({...t,focusedDate:l,setFocusedDate:r});function s(d){const i=[...n],c=n.findIndex(m=>m.equals(d.detail));c<0?i.push(d.detail):i.splice(c,1),o(i),a.dispatch()}return v("host",{shadowDom:!0,focus:a.focus,children:v(De,{...t,...a,type:"multi",value:n,onSelect:s})})},{props:Te,styles:Me});customElements.define("calendar-multi",wt);const Gl=Object.freeze(Object.defineProperty({__proto__:null,CalendarDate:yt,CalendarMonth:pt,CalendarMulti:wt,CalendarRange:kt},Symbol.toStringTag,{value:"Module"}));S.Accordion=Zt,S.AdvancedSearch=In,S.Avatar=tn,S.Badge=nn,S.ButtonComponent=Nt,S.Card=dn,S.Carousel=gn,S.CarouselItem=yn,S.CategoryNavigation=Wo,S.DatetimePicker=je,S.Dropdown=Tt,S.FilterableSelect=po,S.Footer=Ao,S.Hero=Ro,S.InputField=Ue,S.Loader=Co,S.Modal=It,S.NavigationBar=Go,S.Rating=Kn,S.Selector=Fe,S.Swap=At,S.Tab=nl,S.TagInput=Zn,S.ThemeController=Kt,Object.defineProperty(S,Symbol.toStringTag,{value:"Module"})}));
package/dist/style.css CHANGED
@@ -3136,6 +3136,9 @@
3136
3136
  .min-w-max {
3137
3137
  min-width: max-content;
3138
3138
  }
3139
+ .min-w-xs {
3140
+ min-width: var(--container-xs);
3141
+ }
3139
3142
  .flex-shrink {
3140
3143
  flex-shrink: 1;
3141
3144
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "manolis-ui",
3
3
  "private": false,
4
- "version": "0.13.5",
4
+ "version": "0.14.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist/*"