import{z as O,A as st,B as H,C as F,D as b,l as g,E as Mt,x as A,F as ee,f as $,G as S,H as V,v as te,J as Dt,T as Nt,K as jt,L as Rt,M as Vt,N as se,O as Bt,k as _t,Q as He,R as it,S as It,U as Ut,V as Ke,_ as Wt,W as Xe,X as he,o as G,g as Je,w as D,b as _,m as $e,a as p,Y as ut,r as dt,Z as zt,c as le,t as Q,$ as Oe,d as z,j as Qe}from"./C-L2skNE.js";import{_ as qt}from"./DIx9nzwx.js";function Ie(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function ue(){let e=[],t={addEventListener(n,a,l,r){return n.addEventListener(a,l,r),t.add(()=>n.removeEventListener(a,l,r))},requestAnimationFrame(...n){let a=requestAnimationFrame(...n);t.add(()=>cancelAnimationFrame(a))},nextFrame(...n){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...n)})},setTimeout(...n){let a=setTimeout(...n);t.add(()=>clearTimeout(a))},microTask(...n){let a={current:!0};return Ie(()=>{a.current&&n[0]()}),t.add(()=>{a.current=!1})},style(n,a,l){let r=n.style.getPropertyValue(a);return Object.assign(n.style,{[a]:l}),this.add(()=>{Object.assign(n.style,{[a]:r})})},group(n){let a=ue();return n(a),this.add(()=>a.dispose())},add(n){return e.push(n),()=>{let a=e.indexOf(n);if(a>=0)for(let l of e.splice(a,1))l()}},dispose(){for(let n of e.splice(0))n()}};return t}var et;let ct=Symbol("headlessui.useid"),Gt=0;const Ue=(et=st)!=null?et:function(){return H(ct,()=>`${++Gt}`)()};function Zt(e){O(ct,e)}function E(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function N(e,t,...n){if(e in t){let l=t[e];return typeof l=="function"?l(...n):l}let a=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(l=>`"${l}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,N),a}var Yt=Object.defineProperty,Kt=(e,t,n)=>t in e?Yt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tt=(e,t,n)=>(Kt(e,typeof t!="symbol"?t+"":t,n),n);let Xt=class{constructor(){tt(this,"current",this.detect()),tt(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},de=new Xt;function ne(e){if(de.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=E(e);if(t)return t.ownerDocument}return document}let De=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var I=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(I||{}),ft=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(ft||{}),Jt=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Jt||{});function Qt(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(De)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var pt=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(pt||{});function en(e,t=0){var n;return e===((n=ne(e))==null?void 0:n.body)?!1:N(t,{0(){return e.matches(De)},1(){let a=e;for(;a!==null;){if(a.matches(De))return!0;a=a.parentElement}return!1}})}var tn=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(tn||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function K(e){e==null||e.focus({preventScroll:!0})}let nn=["textarea","input"].join(",");function an(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,nn))!=null?n:!1}function ln(e,t=n=>n){return e.slice().sort((n,a)=>{let l=t(n),r=t(a);if(l===null||r===null)return 0;let s=l.compareDocumentPosition(r);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function xe(e,t,{sorted:n=!0,relativeTo:a=null,skipElements:l=[]}={}){var r;let s=(r=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?r:document,o=Array.isArray(e)?n?ln(e):e:Qt(e);l.length>0&&o.length>1&&(o=o.filter(m=>!l.includes(m))),a=a??s.activeElement;let u=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),i=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(a))-1;if(t&4)return Math.max(0,o.indexOf(a))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=t&32?{preventScroll:!0}:{},v=0,c=o.length,f;do{if(v>=c||v+c<=0)return 0;let m=i+v;if(t&16)m=(m+c)%c;else{if(m<0)return 3;if(m>=c)return 1}f=o[m],f==null||f.focus(d),v+=u}while(f!==s.activeElement);return t&6&&an(f)&&f.select(),2}function vt(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function rn(){return/Android/gi.test(window.navigator.userAgent)}function on(){return vt()||rn()}function be(e,t,n){de.isServer||F(a=>{document.addEventListener(e,t,n),a(()=>document.removeEventListener(e,t,n))})}function mt(e,t,n){de.isServer||F(a=>{window.addEventListener(e,t,n),a(()=>window.removeEventListener(e,t,n))})}function sn(e,t,n=g(()=>!0)){function a(r,s){if(!n.value||r.defaultPrevented)return;let o=s(r);if(o===null||!o.getRootNode().contains(o))return;let u=function i(d){return typeof d=="function"?i(d()):Array.isArray(d)||d instanceof Set?d:[d]}(e);for(let i of u){if(i===null)continue;let d=i instanceof HTMLElement?i:E(i);if(d!=null&&d.contains(o)||r.composed&&r.composedPath().includes(d))return}return!en(o,pt.Loose)&&o.tabIndex!==-1&&r.preventDefault(),t(r,o)}let l=b(null);be("pointerdown",r=>{var s,o;n.value&&(l.value=((o=(s=r.composedPath)==null?void 0:s.call(r))==null?void 0:o[0])||r.target)},!0),be("mousedown",r=>{var s,o;n.value&&(l.value=((o=(s=r.composedPath)==null?void 0:s.call(r))==null?void 0:o[0])||r.target)},!0),be("click",r=>{on()||l.value&&(a(r,()=>l.value),l.value=null)},!0),be("touchend",r=>a(r,()=>r.target instanceof HTMLElement?r.target:null),!0),mt("blur",r=>a(r,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var Ee=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Ee||{}),U=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(U||{});function B({visible:e=!0,features:t=0,ourProps:n,theirProps:a,...l}){var r;let s=ht(a,n),o=Object.assign(l,{props:s});if(e||t&2&&s.static)return Fe(o);if(t&1){let u=(r=s.unmount)==null||r?0:1;return N(u,{0(){return null},1(){return Fe({...l,props:{...s,hidden:!0,style:{display:"none"}}})}})}return Fe(o)}function Fe({props:e,attrs:t,slots:n,slot:a,name:l}){var r,s;let{as:o,...u}=bt(e,["unmount","static"]),i=(r=n.default)==null?void 0:r.call(n,a),d={};if(a){let v=!1,c=[];for(let[f,m]of Object.entries(a))typeof m=="boolean"&&(v=!0),m===!0&&c.push(f);v&&(d["data-headlessui-state"]=c.join(" "))}if(o==="template"){if(i=gt(i??[]),Object.keys(u).length>0||Object.keys(t).length>0){let[v,...c]=i??[];if(!un(v)||c.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${l} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(u).concat(Object.keys(t)).map(h=>h.trim()).filter((h,w,P)=>P.indexOf(h)===w).sort((h,w)=>h.localeCompare(w)).map(h=>` - ${h}`).join(`
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(h=>` - ${h}`).join(`
`)].join(`
`));let f=ht((s=v.props)!=null?s:{},u,d),m=Mt(v,f,!0);for(let h in f)h.startsWith("on")&&(m.props||(m.props={}),m.props[h]=f[h]);return m}return Array.isArray(i)&&i.length===1?i[0]:i}return A(o,Object.assign({},u,d),{default:()=>i})}function gt(e){return e.flatMap(t=>t.type===ee?gt(t.children):[t])}function ht(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let a of e)for(let l in a)l.startsWith("on")&&typeof a[l]=="function"?(n[l]!=null||(n[l]=[]),n[l].push(a[l])):t[l]=a[l];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(a=>[a,void 0])));for(let a in n)Object.assign(t,{[a](l,...r){let s=n[a];for(let o of s){if(l instanceof Event&&l.defaultPrevented)return;o(l,...r)}}});return t}function bt(e,t=[]){let n=Object.assign({},e);for(let a of t)a in n&&delete n[a];return n}function un(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var Ae=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Ae||{});let Ne=$({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{var a;let{features:l,...r}=e,s={"aria-hidden":(l&2)===2?!0:(a=r["aria-hidden"])!=null?a:void 0,hidden:(l&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(l&4)===4&&(l&2)!==2&&{display:"none"}}};return B({ourProps:s,theirProps:r,slot:{},attrs:n,slots:t,name:"Hidden"})}}}),yt=Symbol("Context");var L=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(L||{});function dn(){return We()!==null}function We(){return H(yt,null)}function cn(e){O(yt,e)}var wt=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(wt||{});function fn(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let Z=[];fn(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&Z[0]!==t.target&&(Z.unshift(t.target),Z=Z.filter(n=>n!=null&&n.isConnected),Z.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function xt(e,t,n,a){de.isServer||F(l=>{e=e??window,e.addEventListener(t,n,a),l(()=>e.removeEventListener(t,n,a))})}var ie=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(ie||{});function pn(){let e=b(0);return mt("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function Et(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.value){let a=E(n);a instanceof HTMLElement&&t.add(a)}return t}var At=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(At||{});let re=Object.assign($({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:b(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:a}){let l=b(null);a({el:l,$el:l});let r=g(()=>ne(l)),s=b(!1);S(()=>s.value=!0),V(()=>s.value=!1),mn({ownerDocument:r},g(()=>s.value&&!!(e.features&16)));let o=gn({ownerDocument:r,container:l,initialFocus:g(()=>e.initialFocus)},g(()=>s.value&&!!(e.features&2)));hn({ownerDocument:r,container:l,containers:e.containers,previousActiveElement:o},g(()=>s.value&&!!(e.features&8)));let u=pn();function i(f){let m=E(l);m&&(h=>h())(()=>{N(u.value,{[ie.Forwards]:()=>{xe(m,I.First,{skipElements:[f.relatedTarget]})},[ie.Backwards]:()=>{xe(m,I.Last,{skipElements:[f.relatedTarget]})}})})}let d=b(!1);function v(f){f.key==="Tab"&&(d.value=!0,requestAnimationFrame(()=>{d.value=!1}))}function c(f){if(!s.value)return;let m=Et(e.containers);E(l)instanceof HTMLElement&&m.add(E(l));let h=f.relatedTarget;h instanceof HTMLElement&&h.dataset.headlessuiFocusGuard!=="true"&&(kt(m,h)||(d.value?xe(E(l),N(u.value,{[ie.Forwards]:()=>I.Next,[ie.Backwards]:()=>I.Previous})|I.WrapAround,{relativeTo:f.target}):f.target instanceof HTMLElement&&K(f.target)))}return()=>{let f={},m={ref:l,onKeydown:v,onFocusout:c},{features:h,initialFocus:w,containers:P,...k}=e;return A(ee,[!!(h&4)&&A(Ne,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:i,features:Ae.Focusable}),B({ourProps:m,theirProps:{...t,...k},slot:f,attrs:t,slots:n,name:"FocusTrap"}),!!(h&4)&&A(Ne,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:i,features:Ae.Focusable})])}}}),{features:At});function vn(e){let t=b(Z.slice());return te([e],([n],[a])=>{a===!0&&n===!1?Ie(()=>{t.value.splice(0)}):a===!1&&n===!0&&(t.value=Z.slice())},{flush:"post"}),()=>{var n;return(n=t.value.find(a=>a!=null&&a.isConnected))!=null?n:null}}function mn({ownerDocument:e},t){let n=vn(t);S(()=>{F(()=>{var a,l;t.value||((a=e.value)==null?void 0:a.activeElement)===((l=e.value)==null?void 0:l.body)&&K(n())},{flush:"post"})}),V(()=>{t.value&&K(n())})}function gn({ownerDocument:e,container:t,initialFocus:n},a){let l=b(null),r=b(!1);return S(()=>r.value=!0),V(()=>r.value=!1),S(()=>{te([t,n,a],(s,o)=>{if(s.every((i,d)=>(o==null?void 0:o[d])===i)||!a.value)return;let u=E(t);u&&Ie(()=>{var i,d;if(!r.value)return;let v=E(n),c=(i=e.value)==null?void 0:i.activeElement;if(v){if(v===c){l.value=c;return}}else if(u.contains(c)){l.value=c;return}v?K(v):xe(u,I.First|I.NoScroll)===ft.Error&&console.warn("There are no focusable elements inside the "),l.value=(d=e.value)==null?void 0:d.activeElement})},{immediate:!0,flush:"post"})}),l}function hn({ownerDocument:e,container:t,containers:n,previousActiveElement:a},l){var r;xt((r=e.value)==null?void 0:r.defaultView,"focus",s=>{if(!l.value)return;let o=Et(n);E(t)instanceof HTMLElement&&o.add(E(t));let u=a.value;if(!u)return;let i=s.target;i&&i instanceof HTMLElement?kt(o,i)?(a.value=i,K(i)):(s.preventDefault(),s.stopPropagation(),K(u)):K(a.value)},!0)}function kt(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function bn(e){let t=Dt(e.getSnapshot());return V(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function yn(e,t){let n=e(),a=new Set;return{getSnapshot(){return n},subscribe(l){return a.add(l),()=>a.delete(l)},dispatch(l,...r){let s=t[l].call(n,...r);s&&(n=s,a.forEach(o=>o()))}}}function wn(){let e;return{before({doc:t}){var n;let a=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-a.clientWidth},after({doc:t,d:n}){let a=t.documentElement,l=a.clientWidth-a.offsetWidth,r=e-l;n.style(a,"paddingRight",`${r}px`)}}}function xn(){return vt()?{before({doc:e,d:t,meta:n}){function a(l){return n.containers.flatMap(r=>r()).some(r=>r.contains(l))}t.microTask(()=>{var l;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let o=ue();o.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>o.dispose()))}let r=(l=window.scrollY)!=null?l:window.pageYOffset,s=null;t.addEventListener(e,"click",o=>{if(o.target instanceof HTMLElement)try{let u=o.target.closest("a");if(!u)return;let{hash:i}=new URL(u.href),d=e.querySelector(i);d&&!a(d)&&(s=d)}catch{}},!0),t.addEventListener(e,"touchstart",o=>{if(o.target instanceof HTMLElement)if(a(o.target)){let u=o.target;for(;u.parentElement&&a(u.parentElement);)u=u.parentElement;t.style(u,"overscrollBehavior","contain")}else t.style(o.target,"touchAction","none")}),t.addEventListener(e,"touchmove",o=>{if(o.target instanceof HTMLElement){if(o.target.tagName==="INPUT")return;if(a(o.target)){let u=o.target;for(;u.parentElement&&u.dataset.headlessuiPortal!==""&&!(u.scrollHeight>u.clientHeight||u.scrollWidth>u.clientWidth);)u=u.parentElement;u.dataset.headlessuiPortal===""&&o.preventDefault()}else o.preventDefault()}},{passive:!1}),t.add(()=>{var o;let u=(o=window.scrollY)!=null?o:window.pageYOffset;r!==u&&window.scrollTo(0,r),s&&s.isConnected&&(s.scrollIntoView({block:"nearest"}),s=null)})})}}:{}}function En(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function An(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Y=yn(()=>new Map,{PUSH(e,t){var n;let a=(n=this.get(e))!=null?n:{doc:e,count:0,d:ue(),meta:new Set};return a.count++,a.meta.add(t),this.set(e,a),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let a={doc:e,d:t,meta:An(n)},l=[xn(),wn(),En()];l.forEach(({before:r})=>r==null?void 0:r(a)),l.forEach(({after:r})=>r==null?void 0:r(a))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Y.subscribe(()=>{let e=Y.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let a=t.get(n.doc)==="hidden",l=n.count!==0;(l&&!a||!l&&a)&&Y.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Y.dispatch("TEARDOWN",n)}});function kn(e,t,n){let a=bn(Y),l=g(()=>{let r=e.value?a.value.get(e.value):void 0;return r?r.count>0:!1});return te([e,t],([r,s],[o],u)=>{if(!r||!s)return;Y.dispatch("PUSH",r,n);let i=!1;u(()=>{i||(Y.dispatch("POP",o??r,n),i=!0)})},{immediate:!0}),l}let Pe=new Map,oe=new Map;function nt(e,t=b(!0)){F(n=>{var a;if(!t.value)return;let l=E(e);if(!l)return;n(function(){var s;if(!l)return;let o=(s=oe.get(l))!=null?s:1;if(o===1?oe.delete(l):oe.set(l,o-1),o!==1)return;let u=Pe.get(l);u&&(u["aria-hidden"]===null?l.removeAttribute("aria-hidden"):l.setAttribute("aria-hidden",u["aria-hidden"]),l.inert=u.inert,Pe.delete(l))});let r=(a=oe.get(l))!=null?a:0;oe.set(l,r+1),r===0&&(Pe.set(l,{"aria-hidden":l.getAttribute("aria-hidden"),inert:l.inert}),l.setAttribute("aria-hidden","true"),l.inert=!0)})}function Ln({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let a=b(null),l=ne(a);function r(){var s,o,u;let i=[];for(let d of e)d!==null&&(d instanceof HTMLElement?i.push(d):"value"in d&&d.value instanceof HTMLElement&&i.push(d.value));if(t!=null&&t.value)for(let d of t.value)i.push(d);for(let d of(s=l==null?void 0:l.querySelectorAll("html > *, body > *"))!=null?s:[])d!==document.body&&d!==document.head&&d instanceof HTMLElement&&d.id!=="headlessui-portal-root"&&(d.contains(E(a))||d.contains((u=(o=E(a))==null?void 0:o.getRootNode())==null?void 0:u.host)||i.some(v=>d.contains(v))||i.push(d));return i}return{resolveContainers:r,contains(s){return r().some(o=>o.contains(s))},mainTreeNodeRef:a,MainTreeNode(){return n!=null?null:A(Ne,{features:Ae.Hidden,ref:a})}}}let Lt=Symbol("ForcePortalRootContext");function Cn(){return H(Lt,!1)}let at=$({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return O(Lt,e.force),()=>{let{force:a,...l}=e;return B({theirProps:l,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})}}}),Ct=Symbol("StackContext");var je=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(je||{});function Tn(){return H(Ct,()=>{})}function Sn({type:e,enabled:t,element:n,onUpdate:a}){let l=Tn();function r(...s){a==null||a(...s),l(...s)}S(()=>{te(t,(s,o)=>{s?r(0,e,n):o===!0&&r(1,e,n)},{immediate:!0,flush:"sync"})}),V(()=>{t.value&&r(1,e,n)}),O(Ct,r)}let Hn=Symbol("DescriptionContext");function $n({slot:e=b({}),name:t="Description",props:n={}}={}){let a=b([]);function l(r){return a.value.push(r),()=>{let s=a.value.indexOf(r);s!==-1&&a.value.splice(s,1)}}return O(Hn,{register:l,slot:e,name:t,props:n}),g(()=>a.value.length>0?a.value.join(" "):void 0)}function On(e){let t=ne(e);if(!t){if(e===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById("headlessui-portal-root");if(n)return n;let a=t.createElement("div");return a.setAttribute("id","headlessui-portal-root"),t.body.appendChild(a)}const Re=new WeakMap;function Fn(e){var t;return(t=Re.get(e))!=null?t:0}function lt(e,t){let n=t(Fn(e));return n<=0?Re.delete(e):Re.set(e,n),n}let Pn=$({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let a=b(null),l=g(()=>ne(a)),r=Cn(),s=H(Tt,null),o=b(r===!0||s==null?On(a.value):s.resolveTarget());o.value&<(o.value,c=>c+1);let u=b(!1);S(()=>{u.value=!0}),F(()=>{r||s!=null&&(o.value=s.resolveTarget())});let i=H(Ve,null),d=!1,v=Rt();return te(a,()=>{if(d||!i)return;let c=E(a);c&&(V(i.register(c),v),d=!0)}),V(()=>{var c,f;let m=(c=l.value)==null?void 0:c.getElementById("headlessui-portal-root");!m||o.value!==m||lt(o.value,h=>h-1)||o.value.children.length>0||(f=o.value.parentElement)==null||f.removeChild(o.value)}),()=>{if(!u.value||o.value===null)return null;let c={ref:a,"data-headlessui-portal":""};return A(Nt,{to:o.value},B({ourProps:c,theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}}),Ve=Symbol("PortalParentContext");function Mn(){let e=H(Ve,null),t=b([]);function n(r){return t.value.push(r),e&&e.register(r),()=>a(r)}function a(r){let s=t.value.indexOf(r);s!==-1&&t.value.splice(s,1),e&&e.unregister(r)}let l={register:n,unregister:a,portals:t};return[t,$({name:"PortalWrapper",setup(r,{slots:s}){return O(Ve,l),()=>{var o;return(o=s.default)==null?void 0:o.call(s)}}})]}let Tt=Symbol("PortalGroupContext"),Dn=$({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){let a=jt({resolveTarget(){return e.target}});return O(Tt,a),()=>{let{target:l,...r}=e;return B({theirProps:r,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}});var Nn=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Nn||{});let Be=Symbol("DialogContext");function St(e){let t=H(Be,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,St),n}return t}let ye="DC8F892D-2EBD-447C-A4C8-A03058436FF4",jn=$({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:ye},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:a,expose:l}){var r,s;let o=(r=e.id)!=null?r:`headlessui-dialog-${Ue()}`,u=b(!1);S(()=>{u.value=!0});let i=!1,d=g(()=>e.role==="dialog"||e.role==="alertdialog"?e.role:(i||(i=!0,console.warn(`Invalid role [${d}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),v=b(0),c=We(),f=g(()=>e.open===ye&&c!==null?(c.value&L.Open)===L.Open:e.open),m=b(null),h=g(()=>ne(m));if(l({el:m,$el:m}),!(e.open!==ye||c!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof f.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${f.value===ye?void 0:e.open}`);let w=g(()=>u.value&&f.value?0:1),P=g(()=>w.value===0),k=g(()=>v.value>1),W=H(Be,null)!==null,[ce,fe]=Mn(),{resolveContainers:X,mainTreeNodeRef:pe,MainTreeNode:ve}=Ln({portals:ce,defaultContainers:[g(()=>{var y;return(y=J.panelRef.value)!=null?y:m.value})]}),Le=g(()=>k.value?"parent":"leaf"),me=g(()=>c!==null?(c.value&L.Closing)===L.Closing:!1),Ce=g(()=>W||me.value?!1:P.value),Te=g(()=>{var y,x,C;return(C=Array.from((x=(y=h.value)==null?void 0:y.querySelectorAll("body > *"))!=null?x:[]).find(T=>T.id==="headlessui-portal-root"?!1:T.contains(E(pe))&&T instanceof HTMLElement))!=null?C:null});nt(Te,Ce);let M=g(()=>k.value?!0:P.value),ae=g(()=>{var y,x,C;return(C=Array.from((x=(y=h.value)==null?void 0:y.querySelectorAll("[data-headlessui-portal]"))!=null?x:[]).find(T=>T.contains(E(pe))&&T instanceof HTMLElement))!=null?C:null});nt(ae,M),Sn({type:"Dialog",enabled:g(()=>w.value===0),element:m,onUpdate:(y,x)=>{if(x==="Dialog")return N(y,{[je.Add]:()=>v.value+=1,[je.Remove]:()=>v.value-=1})}});let j=$n({name:"DialogDescription",slot:g(()=>({open:f.value}))}),R=b(null),J={titleId:R,panelRef:b(null),dialogState:w,setTitleId(y){R.value!==y&&(R.value=y)},close(){t("close",!1)}};O(Be,J);let Ge=g(()=>!(!P.value||k.value));sn(X,(y,x)=>{y.preventDefault(),J.close(),Vt(()=>x==null?void 0:x.focus())},Ge);let Ze=g(()=>!(k.value||w.value!==0));xt((s=h.value)==null?void 0:s.defaultView,"keydown",y=>{Ze.value&&(y.defaultPrevented||y.key===wt.Escape&&(y.preventDefault(),y.stopPropagation(),J.close()))});let Ye=g(()=>!(me.value||w.value!==0||W));return kn(h,Ye,y=>{var x;return{containers:[...(x=y.containers)!=null?x:[],X]}}),F(y=>{if(w.value!==0)return;let x=E(m);if(!x)return;let C=new ResizeObserver(T=>{for(let Se of T){let ge=Se.target.getBoundingClientRect();ge.x===0&&ge.y===0&&ge.width===0&&ge.height===0&&J.close()}});C.observe(x),y(()=>C.disconnect())}),()=>{let{open:y,initialFocus:x,...C}=e,T={...n,ref:m,id:o,role:d.value,"aria-modal":w.value===0?!0:void 0,"aria-labelledby":R.value,"aria-describedby":j.value},Se={open:w.value===0};return A(at,{force:!0},()=>[A(Pn,()=>A(Dn,{target:m.value},()=>A(at,{force:!1},()=>A(re,{initialFocus:x,containers:X,features:P.value?N(Le.value,{parent:re.features.RestoreFocus,leaf:re.features.All&~re.features.FocusLock}):re.features.None},()=>A(fe,{},()=>B({ourProps:T,theirProps:{...C,...n},slot:Se,attrs:n,slots:a,visible:w.value===0,features:Ee.RenderStrategy|Ee.Static,name:"Dialog"})))))),A(ve)])}}}),Rn=$({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:a}){var l;let r=(l=e.id)!=null?l:`headlessui-dialog-panel-${Ue()}`,s=St("DialogPanel");a({el:s.panelRef,$el:s.panelRef});function o(u){u.stopPropagation()}return()=>{let{...u}=e,i={id:r,ref:s.panelRef,onClick:o};return B({ourProps:i,theirProps:u,slot:{open:s.dialogState.value===0},attrs:t,slots:n,name:"DialogPanel"})}}});function Vn(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function Me(e,...t){e&&t.length>0&&e.classList.add(...t)}function we(e,...t){e&&t.length>0&&e.classList.remove(...t)}var _e=(e=>(e.Finished="finished",e.Cancelled="cancelled",e))(_e||{});function Bn(e,t){let n=ue();if(!e)return n.dispose;let{transitionDuration:a,transitionDelay:l}=getComputedStyle(e),[r,s]=[a,l].map(o=>{let[u=0]=o.split(",").filter(Boolean).map(i=>i.includes("ms")?parseFloat(i):parseFloat(i)*1e3).sort((i,d)=>d-i);return u});return r!==0?n.setTimeout(()=>t("finished"),r+s):t("finished"),n.add(()=>t("cancelled")),n.dispose}function rt(e,t,n,a,l,r){let s=ue(),o=r!==void 0?Vn(r):()=>{};return we(e,...l),Me(e,...t,...n),s.nextFrame(()=>{we(e,...n),Me(e,...a),s.add(Bn(e,u=>(we(e,...a,...t),Me(e,...l),o(u))))}),s.add(()=>we(e,...t,...n,...a,...l)),s.add(()=>o("cancelled")),s.dispose}function q(e=""){return e.split(/\s+/).filter(t=>t.length>1)}let ze=Symbol("TransitionContext");var _n=(e=>(e.Visible="visible",e.Hidden="hidden",e))(_n||{});function In(){return H(ze,null)!==null}function Un(){let e=H(ze,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}function Wn(){let e=H(qe,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}let qe=Symbol("NestingContext");function ke(e){return"children"in e?ke(e.children):e.value.filter(({state:t})=>t==="visible").length>0}function Ht(e){let t=b([]),n=b(!1);S(()=>n.value=!0),V(()=>n.value=!1);function a(r,s=U.Hidden){let o=t.value.findIndex(({id:u})=>u===r);o!==-1&&(N(s,{[U.Unmount](){t.value.splice(o,1)},[U.Hidden](){t.value[o].state="hidden"}}),!ke(t)&&n.value&&(e==null||e()))}function l(r){let s=t.value.find(({id:o})=>o===r);return s?s.state!=="visible"&&(s.state="visible"):t.value.push({id:r,state:"visible"}),()=>a(r,U.Unmount)}return{children:t,register:l,unregister:a}}let $t=Ee.RenderStrategy,Ot=$({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:a,expose:l}){let r=b(0);function s(){r.value|=L.Opening,t("beforeEnter")}function o(){r.value&=~L.Opening,t("afterEnter")}function u(){r.value|=L.Closing,t("beforeLeave")}function i(){r.value&=~L.Closing,t("afterLeave")}if(!In()&&dn())return()=>A(Ft,{...e,onBeforeEnter:s,onAfterEnter:o,onBeforeLeave:u,onAfterLeave:i},a);let d=b(null),v=g(()=>e.unmount?U.Unmount:U.Hidden);l({el:d,$el:d});let{show:c,appear:f}=Un(),{register:m,unregister:h}=Wn(),w=b(c.value?"visible":"hidden"),P={value:!0},k=Ue(),W={value:!1},ce=Ht(()=>{!W.value&&w.value!=="hidden"&&(w.value="hidden",h(k),i())});S(()=>{let M=m(k);V(M)}),F(()=>{if(v.value===U.Hidden&&k){if(c.value&&w.value!=="visible"){w.value="visible";return}N(w.value,{hidden:()=>h(k),visible:()=>m(k)})}});let fe=q(e.enter),X=q(e.enterFrom),pe=q(e.enterTo),ve=q(e.entered),Le=q(e.leave),me=q(e.leaveFrom),Ce=q(e.leaveTo);S(()=>{F(()=>{if(w.value==="visible"){let M=E(d);if(M instanceof Comment&&M.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function Te(M){let ae=P.value&&!f.value,j=E(d);!j||!(j instanceof HTMLElement)||ae||(W.value=!0,c.value&&s(),c.value||u(),M(c.value?rt(j,fe,X,pe,ve,R=>{W.value=!1,R===_e.Finished&&o()}):rt(j,Le,me,Ce,ve,R=>{W.value=!1,R===_e.Finished&&(ke(ce)||(w.value="hidden",h(k),i()))})))}return S(()=>{te([c],(M,ae,j)=>{Te(j),P.value=!1},{immediate:!0})}),O(qe,ce),cn(g(()=>N(w.value,{visible:L.Open,hidden:L.Closed})|r.value)),()=>{let{appear:M,show:ae,enter:j,enterFrom:R,enterTo:J,entered:Ge,leave:Ze,leaveFrom:Ye,leaveTo:y,...x}=e,C={ref:d},T={...x,...f.value&&c.value&&de.isServer?{class:se([n.class,x.class,...fe,...X])}:{}};return B({theirProps:T,ourProps:C,slot:{},slots:a,attrs:n,features:$t,visible:w.value==="visible",name:"TransitionChild"})}}}),zn=Ot,Ft=$({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:a}){let l=We(),r=g(()=>e.show===null&&l!==null?(l.value&L.Open)===L.Open:e.show);F(()=>{if(![!0,!1].includes(r.value))throw new Error('A is used but it is missing a `:show="true | false"` prop.')});let s=b(r.value?"visible":"hidden"),o=Ht(()=>{s.value="hidden"}),u=b(!0),i={show:r,appear:g(()=>e.appear||!u.value)};return S(()=>{F(()=>{u.value=!1,r.value?s.value="visible":ke(o)||(s.value="hidden")})}),O(qe,o),O(ze,i),()=>{let d=bt(e,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),v={unmount:e.unmount};return B({ourProps:{...v,as:"template"},theirProps:{},slot:{},slots:{...a,default:()=>[A(zn,{onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave"),...n,...v,...d},a.default)]},attrs:{},features:$t,visible:s.value==="visible",name:"Transition"})}}});const qn=(e,t,n,a,l=!1)=>{const r=Bt(),s=_t(),o=g(()=>{var c;const i=He(t),d=He(n),v=He(a);return it((i==null?void 0:i.strategy)||((c=s.ui)==null?void 0:c.strategy),v?{wrapper:v}:{},i||{},l?It(s.ui,e,{}):{},d||{})}),u=g(()=>Ut(r,["class"]));return{ui:o,attrs:u}},Pt={base:"invisible before:visible before:block before:rotate-45 before:z-[-1] before:w-2 before:h-2",ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-800",rounded:"before:rounded-sm",background:"before:bg-gray-200 dark:before:bg-gray-800",shadow:"before:shadow",placement:"group-data-[popper-placement*='right']:-left-1 group-data-[popper-placement*='left']:-right-1 group-data-[popper-placement*='top']:-bottom-1 group-data-[popper-placement*='bottom']:-top-1"},ot={container:"z-20 group",trigger:"flex items-center w-full",width:"w-full",height:"max-h-60",base:"relative focus:outline-none overflow-y-auto scroll-py-1",background:"bg-white dark:bg-gray-800",shadow:"shadow-lg",rounded:"rounded-md",padding:"p-1",ring:"ring-1 ring-gray-200 dark:ring-gray-700",empty:"text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",option:{base:"cursor-default select-none relative flex items-center justify-between gap-1",rounded:"rounded-md",padding:"px-1.5 py-1.5",size:"text-sm",color:"text-gray-900 dark:text-white",container:"flex items-center gap-1.5 min-w-0",active:"bg-gray-100 dark:bg-gray-900",inactive:"",selected:"pe-7",disabled:"cursor-not-allowed opacity-50",empty:"text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",icon:{base:"flex-shrink-0 h-5 w-5",active:"text-gray-900 dark:text-white",inactive:"text-gray-400 dark:text-gray-500"},selectedIcon:{wrapper:"absolute inset-y-0 end-0 flex items-center",padding:"pe-2",base:"h-5 w-5 text-gray-900 dark:text-white flex-shrink-0"},avatar:{base:"flex-shrink-0",size:"2xs"},chip:{base:"flex-shrink-0 w-2 h-2 mx-1 rounded-full"}},transition:{leaveActiveClass:"transition ease-in duration-100",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},popper:{placement:"bottom-end"},default:{selectedIcon:"i-heroicons-check-20-solid",trailingIcon:"i-heroicons-chevron-down-20-solid"},arrow:{...Pt,ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",background:"before:bg-white dark:before:bg-gray-700"}};({...ot,option:{...ot.option},arrow:{...Pt}});const Gn={wrapper:"relative z-50",inner:"fixed inset-0 overflow-y-auto",container:"flex min-h-full items-end sm:items-center justify-center text-center",padding:"p-4 sm:p-0",margin:"sm:my-8",base:"relative text-left rtl:text-right flex flex-col",overlay:{base:"fixed inset-0 transition-opacity",background:"bg-gray-200/75 dark:bg-gray-800/75",transition:{enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"}},background:"bg-white dark:bg-gray-900",ring:"",rounded:"rounded-lg",shadow:"shadow-xl",width:"w-full sm:max-w-lg",height:"",fullscreen:"w-screen h-screen",transition:{enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}},Zn=it(Ke.ui.strategy,Ke.ui.modal,Gn),Yn=$({components:{HDialog:jn,HDialogPanel:Rn,TransitionRoot:Ft,TransitionChild:Ot},inheritAttrs:!1,props:{modelValue:{type:Boolean,default:!1},appear:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},transition:{type:Boolean,default:!0},preventClose:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["update:modelValue","close","close-prevented","after-leave"],setup(e,{emit:t}){const{ui:n,attrs:a}=qn("modal",Xe(e,"ui"),Zn,Xe(e,"class")),l=g({get(){return e.modelValue},set(u){t("update:modelValue",u)}}),r=g(()=>e.transition?{...n.value.transition}:{});function s(u){if(e.preventClose){t("close-prevented");return}l.value=u,t("close")}const o=()=>{t("after-leave")};return Zt(()=>st()),{ui:n,attrs:a,isOpen:l,transitionClass:r,onAfterLeave:o,close:s}}});function Kn(e,t,n,a,l,r){const s=he("TransitionChild"),o=he("HDialogPanel"),u=he("HDialog"),i=he("TransitionRoot");return G(),Je(i,{appear:e.appear,show:e.isOpen,as:"template",onAfterLeave:e.onAfterLeave},{default:D(()=>[_(u,$e({class:e.ui.wrapper},e.attrs,{onClose:e.close}),{default:D(()=>[e.overlay?(G(),Je(s,$e({key:0,as:"template",appear:e.appear},e.ui.overlay.transition,{class:e.ui.overlay.transition.enterFrom}),{default:D(()=>[p("div",{class:se([e.ui.overlay.base,e.ui.overlay.background])},null,2)]),_:1},16,["appear","class"])):ut("",!0),p("div",{class:se(e.ui.inner)},[p("div",{class:se([e.ui.container,!e.fullscreen&&e.ui.padding])},[_(s,$e({as:"template",appear:e.appear},e.transitionClass,{class:e.transitionClass.enterFrom}),{default:D(()=>[_(o,{class:se([e.ui.base,e.ui.background,e.ui.ring,e.ui.shadow,e.fullscreen?e.ui.fullscreen:[e.ui.width,e.ui.height,e.ui.rounded,e.ui.margin]])},{default:D(()=>[dt(e.$slots,"default")]),_:3},8,["class"])]),_:3},16,["appear","class"])],2)],2)]),_:3},16,["class","onClose"])]),_:3},8,["appear","show","onAfterLeave"])}const Xn=Wt(Yn,[["render",Kn]]),Jn="data:image/svg+xml,%3csvg%20width='42'%20height='36'%20viewBox='0%200%2042%2034'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0.785156%2016.4986H4.63619V9.70862H7.99735V7.20777H4.63619V3.43553H8.75939V0.906738H0.785156V16.4986Z'%20fill='%23444444'/%3e%3cpath%20d='M19.4007%2017.5061H15.6449V33.098H19.4007V17.5061Z'%20fill='%23444444'/%3e%3cpath%20d='M15.7403%200.627197H13.114C11.1544%200.627197%209.57593%202.26183%209.57593%204.25972V13.1315C9.57593%2015.1433%2011.1681%2016.764%2013.114%2016.764H15.7403C17.6998%2016.764%2019.2784%2015.1293%2019.2784%2013.1315V4.25972C19.2784%202.26183%2017.6998%200.627197%2015.7403%200.627197ZM15.4682%2013.9418H13.4134V3.3935H15.4818V13.9418H15.4682Z'%20fill='%23444444'/%3e%3cpath%20d='M30.0423%206.84451V3.78481C30.0423%202.19209%2028.7903%200.906738%2027.239%200.906738H20.5712V16.4986H24.2453V9.72259H25.0346L26.1232%2016.4986H30.0831L28.5454%209.37331C29.4299%208.89829%2030.0423%207.94824%2030.0423%206.84451ZM26.4362%207.20777H24.2589V3.39362H26.4362V7.20777Z'%20fill='%23444444'/%3e%3cpath%20d='M8.51445%2017.5061L7.77962%2026.0146H7.35778L6.62295%2017.5061H0.785156V33.098H4.60898L4.33682%2021.446H4.85392L6.28275%2033.098H8.85465L10.2971%2021.446H10.8006L10.5284%2033.098H14.3522V17.5061H8.51445Z'%20fill='%23444444'/%3e%3cpath%20d='M26.8715%2017.2266H24.2452C22.2857%2017.2266%2020.7072%2018.8612%2020.7072%2020.8591V29.7308C20.7072%2031.7427%2022.2993%2033.3633%2024.2452%2033.3633H26.8715C28.8311%2033.3633%2030.4096%2031.7287%2030.4096%2029.7308V25.777H26.5994V30.5412H24.531V19.9929H26.5994V24.8269H30.4096V20.8591C30.4096%2018.8612%2028.8311%2017.2266%2026.8715%2017.2266Z'%20fill='%23444444'/%3e%3cpath%20d='M38.8192%2017.5061H33.6482L30.9674%2033.098H34.5191L35.0226%2029.1581H37.4448L37.9483%2033.098H41.4999L38.8192%2017.5061ZM35.39%2026.322L36.0159%2021.446H36.465L37.091%2026.322H35.39Z'%20fill='%23444444'/%3e%3c/svg%3e",Qn="data:image/svg+xml,%3csvg%20width='67'%20height='42'%20viewBox='0%200%2067%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.2432%2016H54.5271'%20stroke='white'%20stroke-linecap='round'%20/%3e%3cpath%20d='M13.2432%2022.125H54.5271'%20stroke='white'%20stroke-linecap='round'%20/%3e%3cpath%20d='M13.2432%2028.125H54.5271'%20stroke='white'%20stroke-linecap='round'%20/%3e%3c/svg%3e",ea=""+new URL("footer-formica.DbJDXU4W.png",import.meta.url).href,ta="data:image/svg+xml,%3csvg%20width='25'%20height='17'%20viewBox='0%200%2025%2017'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.45652%200.290421L24.1063%203.06635C24.3711%203.11653%2024.5009%203.41881%2024.355%203.64541L16.3866%2016.0178C16.321%2016.1196%2016.1686%2016.1076%2016.1197%2015.9968L16.0585%2015.8578C16.0071%2015.7412%2016.0176%2015.6065%2016.0864%2015.4993L21.8822%206.47261C21.8822%206.47261%2022.7102%205.34678%2022.6978%204.47399L1.48761%2013.3847C1.27738%2013.4731%201.03536%2013.3742%200.947039%2013.164C0.858718%2012.9538%200.957545%2012.7118%201.16777%2012.6234L22.3596%203.7204C21.7007%203.08838%2020.262%202.797%2020.262%202.797L9.6452%200.892926C9.52076%200.870609%209.41558%200.787867%209.36458%200.672188L9.28915%200.501056C9.23978%200.389065%209.33627%200.267636%209.45652%200.290421Z'%20fill='%233D6092'/%3e%3c/svg%3e",na="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAZCAYAAADTyxWqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHoSURBVHgBrVRNTvMwEH1OW9bdfhJ8NDcwCyQELMoN6A3gBMAJoCcAblBOADdoJH7EDt+gkShi2y1NYzNjlJLaTmgRb5HIY/t5Zt7MCNRgvC0lWpDF2mikG88qqTovXMOoK9trU5wYgVNatr0bBildGkw1buJnlVaSvXdlR2cYGqCDn0Ck9O2tPynlka1E9I0JkR4UhFFh/QURg9Nwy6mZk4135VGIiPLWz3LE649KkAdbvLbelCHQaU5tfr/CfNuTI5dMR+j9v1d37gP0sKRbQyyKM8laiCPe9LwyGISIGJwfY3DtmNvNGWSkG8E8XaMGszVcuTaRE1mU+7WUaScvDuJEefuUz3YUOtyKAsVaApeRaxMGk6ihkXivAIeoQf7h75sGlFVzvCdT+m1i0e2DjQe/D9mrPMMLympSN5AwsQ2T1BnAd3tIj1zaZieMdmTnbVeee0RfSOwde5AquJVhBNTnqgpc2Nz01jNWJ1A7y4GiKqbHXE2uHXIzxSqgXFEZ9YvlnIy90wLHWAEa6Jdn2kKdsXqk4nLhcss9qUHZ5BXtrIkL+inUEy2EV0CEzv4wKCek3pY7soOeMf4lKiV1e4DfozSajkNElWQMO4oNzso2Ho5Vo2kp8BSmTjCv+/ICfwEi6i5z7hORU9jOuqZWZgAAAABJRU5ErkJggg==",aa={class:"p-4 bg-formica-gray"},la={class:"text-2xl leading-none text-formica-black font-semibold py-px"},ra={class:"flex justify-center"},oa={class:"fixed container w-full z-40 flex justify-center"},sa={class:"container bg-formica-gray flex justify-center items-center h-24 relative"},ia={class:"flex items-center p-10 md:p-16 xl:p-28"},ua={class:"md:hidden flex flex-col items-center justify-center"},da={class:"text-2xl leading-none text-formica-black font-semibold"},ca={class:"flex p-10 md:order-2"},fa={key:0,class:"absolute right-8 top-24 mt-2 w-48 bg-white rounded-md shadow-lg z-20"},pa={class:"py-1"},va={class:"z-30 hidden flex flex-col md:flex md:grow md:shrink md:justify-around md:order-1"},ma={class:"flex justify-between items-center grow shrink py-6"},ga={class:"flex flex-col items-center justify-center"},ha={class:"text-2xl leading-none text-formica-black font-semibold py-px"},ba={class:"w-full flex justify-center"},ya={class:"container relative bg-formica-gray h-192 lg:h-auto"},wa={class:"relative flex flex-col lg:flex-row w-full justify-around items-start gap-6 py-8"},xa={class:"flex flex-row items-start justify-around w-full lg:basis-2/3"},Ea={class:"flex start text-xl md:text-2xl"},Aa={class:"flex flex-col gap-7"},Ta=$({__name:"default",setup(e){const t=b(!1),n=b(!1),a=zt(),l=g(()=>a.path==="/beton"?"402-200":"418-800"),r=()=>{t.value=!t.value},s=()=>{t.value=!1},o=[{label:"Бетон",path:"/beton"},{label:"Инерт",path:"/inert"},{label:"Цемент",path:"/tsement"},{label:"Команда",path:"/"}];return(u,i)=>{const d=Xn,v=qt;return G(),le(ee,null,[_(d,{class:"",modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=c=>n.value=c)},{default:D(()=>[p("div",aa,[i[3]||(i[3]=p("span",{class:"text-sm leading-none text-formica-black py-px"},[z("+ 7 ( 8 6 5 2 )"),p("br")],-1)),p("span",la,[z(Q(l.value),1),i[2]||(i[2]=p("br",null,null,-1))]),i[4]||(i[4]=p("span",{class:"text-sm leading-none text-formica-orange-standart py-px"},"sales@ctl26.ru",-1))])]),_:1},8,["modelValue"]),p("header",ra,[p("div",oa,[p("div",sa,[p("div",ia,[_(v,{to:"/",class:"z-50"},{default:D(()=>i[5]||(i[5]=[p("img",{src:Jn,alt:"Formica"},null,-1)])),_:1})]),p("div",ua,[i[6]||(i[6]=p("span",{class:"text-sm leading-none text-formica-black"},"+ 7 ( 8 6 5 2 )",-1)),p("span",da,Q(l.value),1),i[7]||(i[7]=p("span",{class:"text-sm leading-none text-formica-orange-standart"},"sales@ctl26.ru",-1))]),p("div",ca,[p("button",{class:"flex items-center justify-around text-sm text-formica-gray bg-formica-orange-standart rounded-lg md:hidden hover:bg-formica-orange-bright focus:outline-none","aria-controls":"navbar-cta","aria-expanded":"false",onClick:r},i[8]||(i[8]=[p("img",{src:Qn,class:"w-14 h-10"},null,-1)])),t.value?(G(),le("div",fa,[p("ul",pa,[(G(),le(ee,null,Oe(o,(c,f)=>p("li",{key:f},[_(v,{to:c.path,class:"block px-4 py-2 text-gray-700 hover:bg-gray-100",onClick:s},{default:D(()=>[z(Q(c.label),1)]),_:2},1032,["to"])])),64))])])):ut("",!0)]),p("div",va,[p("ul",ma,[(G(),le(ee,null,Oe(o,(c,f)=>p("li",{key:f},[_(v,{to:c.path,class:"text-formica-black rounded text-base lg:text-xl","aria-current":"page"},{default:D(()=>[z(Q(c.label),1)]),_:2},1032,["to"])])),64)),p("div",ga,[i[10]||(i[10]=p("span",{class:"text-sm leading-none text-formica-black py-px"},[z("+ 7 ( 8 6 5 2 )"),p("br")],-1)),p("span",ha,[z(Q(l.value),1),i[9]||(i[9]=p("br",null,null,-1))]),i[11]||(i[11]=p("span",{class:"text-sm leading-none text-formica-orange-standart py-px"},"sales@ctl26.ru",-1))])])])])])]),dt(u.$slots,"default"),p("footer",ba,[p("div",ya,[p("div",wa,[i[14]||(i[14]=Qe('

sales@ctl26.ru ',1)),p("div",xa,[p("div",Ea,[p("ul",Aa,[i[12]||(i[12]=p("span",{class:"flex mt-4 mb-8 text-formica-black"},"Меню",-1)),(G(),le(ee,null,Oe(o,(c,f)=>p("li",{key:f},[_(v,{to:c.path,class:"text-gray-600 rounded","aria-current":"page"},{default:D(()=>[z(Q(c.label),1)]),_:2},1032,["to"])])),64))])]),i[13]||(i[13]=Qe('Cвязаться с намиОпт+7 906 413 28 93
Розница +7 8652 418 800
Адрес г. Ставрополь,
ул. Заводская 7 
пн-пт7.00 - 17.00
Время работыпн-пт7.00 - 17.00
',2))])]),p("button",{label:"Contacts",onClick:i[1]||(i[1]=c=>n.value=!0),class:"absolute right-4 bottom-2 md:bottom-4 border-1 rounded-xl bg-formica-orange-standart text-xl lg:text-2xl p-4 m-4 px-16 hover:bg-formica-orange-bright"},"Оформить заказ")])])],64)}}});export{Ta as default};