PageSourceSearch

https://twenty20.de/_nuxt/Bxof4GPl.js

js twenty20.de collected 2026-09-29 12:42:05 UTC 22,024 bytes, 4 lines download raw bytes

1import{r as x,i as w,aG as be,I as W,aH as B,v as M,aI as me,Q as H,F as te,f as j,aJ as ne,H as he,j as le,R as $,M as I,c as ge,o as ye,a as we}from"#entry";function Oe(e,n,l){let o=x(l?.value),a=w(()=>e.value!==void 0);return[w(()=>a.value?e.value:o.value),function(r){return a.value||(o.value=r),n?.(r)}]}var G;let xe=Symbol("headlessui.useid"),Se=0;const U=(G=be)!=null?G:function(){return W(xe,()=>`${++Se}`)()};function g(e){var n;if(e==null||e.value==null)return null;let l=(n=e.value.$el)!=null?n:e.value;return l instanceof Node?l:null}function D(e,n,...l){if(e in n){let a=n[e];return typeof a=="function"?a(...l):a}let o=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,D),o}var Le=Object.defineProperty,Pe=(e,n,l)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[n]=l,Q=(e,n,l)=>(Pe(e,typeof n!="symbol"?n+"":n,l),l);let Ee=class{constructor(){Q(this,"current",this.detect()),Q(this,"currentId",0)}set(n){this.current!==n&&(this.currentId=0,this.current=n)}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"}},z=new Ee;function $e(e){if(z.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let n=g(e);if(n)return n.ownerDocument}return document}let Y=["[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 De=(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))(De||{}),Te=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Te||{}),Ne=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Ne||{}),_=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(_||{});function re(e,n=0){var l;return e===((l=$e(e))==null?void 0:l.body)?!1:D(n,{0(){return e.matches(Y)},1(){let o=e;for(;o!==null;){if(o.matches(Y))return!0;o=o.parentElement}return!1}})}var Re=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Re||{});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 Ie(e,n=l=>l){return e.slice().sort((l,o)=>{let a=n(l),r=n(o);if(a===null||r===null)return 0;let t=a.compareDocumentPosition(r);return t&Node.DOCUMENT_POSITION_FOLLOWING?-1:t&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function je(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function ke(){return/Android/gi.test(window.navigator.userAgent)}function Ae(){return je()||ke()}function C(e,n,l){z.isServer||B(o=>{document.addEventListener(e,n,l),o(()=>document.removeEventListener(e,n,l))})}function Fe(e,n,l){z.isServer||B(o=>{window.addEventListener(e,n,l),o(()=>window.removeEventListener(e,n,l))})}function Ce(e,n,l=w(()=>!0)){function o(r,t){if(!l.value||r.defaultPrevented)return;let s=t(r);if(s===null||!s.getRootNode().contains(s))return;let p=(function c(f){return typeof f=="function"?c(f()):Array.isArray(f)||f instanceof Set?f:[f]})(e);for(let c of p){if(c===null)continue;let f=c instanceof HTMLElement?c:g(c);if(f!=null&&f.contains(s)||r.composed&&r.composedPath().includes(f))return}return!re(s,_.Loose)&&s.tabIndex!==-1&&r.preventDefault(),n(r,s)}let a=x(null);C("pointerdown",r=>{var t,s;l.value&&(a.value=((s=(t=r.composedPath)==null?void 0:t.call(r))==null?void 0:s[0])||r.target)},!0),C("mousedown",r=>{var t,s;
1l.value&&(a.value=((s=(t=r.composedPath)==null?void 0:t.call(r))==null?void 0:s[0])||r.target)},!0),C("click",r=>{Ae()||a.value&&(o(r,()=>a.value),a.value=null)},!0),C("touchend",r=>o(r,()=>r.target instanceof HTMLElement?r.target:null),!0),Fe("blur",r=>o(r,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function J(e,n){if(e)return e;let l=n??"button";if(typeof l=="string"&&l.toLowerCase()==="button")return"button"}function Me(e,n){let l=x(J(e.value.type,e.value.as));return M(()=>{l.value=J(e.value.type,e.value.as)}),B(()=>{var o;l.value||g(n)&&g(n)instanceof HTMLButtonElement&&!((o=g(n))!=null&&o.hasAttribute("type"))&&(l.value="button")}),l}function X(e){return[e.screenX,e.screenY]}function Be(){let e=x([-1,-1]);return{wasMoved(n){let l=X(n);return e.value[0]===l[0]&&e.value[1]===l[1]?!1:(e.value=l,!0)},update(n){e.value=X(n)}}}var K=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(K||{}),Ue=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Ue||{});function k({visible:e=!0,features:n=0,ourProps:l,theirProps:o,...a}){var r;let t=oe(o,l),s=Object.assign(a,{props:t});if(e||n&2&&t.static)return V(s);if(n&1){let p=(r=t.unmount)==null||r?0:1;return D(p,{0(){return null},1(){return V({...a,props:{...t,hidden:!0,style:{display:"none"}}})}})}return V(s)}function V({props:e,attrs:n,slots:l,slot:o,name:a}){var r,t;let{as:s,...p}=ue(e,["unmount","static"]),c=(r=l.default)==null?void 0:r.call(l,o),f={};if(o){let i=!1,v=[];for(let[S,O]of Object.entries(o))typeof O=="boolean"&&(i=!0),O===!0&&v.push(S);i&&(f["data-headlessui-state"]=v.join(" "))}if(s==="template"){if(c=ae(c??[]),Object.keys(p).length>0||Object.keys(n).length>0){let[i,...v]=c??[];if(!He(i)||v.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${a} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(p).concat(Object.keys(n)).map(m=>m.trim()).filter((m,E,T)=>T.indexOf(m)===E).sort((m,E)=>m.localeCompare(E)).map(m=>`  - ${m}`).join(`
2`),"","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(m=>`  - ${m}`).join(`
3`)].join(`
4`));let S=oe((t=i.props)!=null?t:{},p,f),O=me(i,S,!0);for(let m in S)m.startsWith("on")&&(O.props||(O.props={}),O.props[m]=S[m]);return O}return Array.isArray(c)&&c.length===1?c[0]:c}return H(s,Object.assign({},p,f),{default:()=>c})}function ae(e){return e.flatMap(n=>n.type===te?ae(n.children):[n])}function oe(...e){if(e.length===0)return{};if(e.length===1)return e[0];let n={},l={};for(let o of e)for(let a in o)a.startsWith("on")&&typeof o[a]=="function"?(l[a]!=null||(l[a]=[]),l[a].push(o[a])):n[a]=o[a];if(n.disabled||n["aria-disabled"])return Object.assign(n,Object.fromEntries(Object.keys(l).map(o=>[o,void 0])));for(let o in l)Object.assign(n,{[o](a,...r){let t=l[o];for(let s of t){if(a instanceof Event&&a.defaultPrevented)return;s(a,...r)}}});return n}function Ve(e){let n=Object.assign({},e);for(let l in n)n[l]===void 0&&delete n[l];return n}function ue(e,n=[]){let l=Object.assign({},e);for(let o of n)o in l&&delete l[o];return l}function He(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var ie=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(ie||{});let Ke=j({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:n,attrs:l}){return()=>{var o;let{features:a,...r}=e,t={"aria-hidden":(a&2)===2?!0:(o=r["aria-hidden"])!=null?o:void 0,hidden:(a&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",...(a&4)===4&&(a&2)!==2&&{display:"none"}}};return k({ourProps:t,theirProps:r,slot:{},attrs:l,slots:n,name:"Hidden"})}}}),se=Symbol("Context");var A=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(A||{});function We(){return W(se,null)}function ze(e){ne(se,e)}var y=(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))(y||{});function _e(e){throw new Error("Unexpected object: "+e)}var L=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(L||{});function qe(e,n){let l=n.resolveItems();if(l.length<=0)return null;let o=n.resolveActiveIndex(),a=o??-1;switch(e.focus){case 0:{for(let r=0;r<l.length;++r)if(!n.resolveDisabled(l[r],r,l))return r;return o}case 1:{a===-1&&(a=l.length);for(let r=a-1;r>=0;--r)if(!n.resolveDisabled(l[r],r,l))return r;return o}case 2:{for(let r=a+1;r<l.length;++r)if(!n.resolveDisabled(l[r],r,l))return r;return o}case 3:{for(let r=l.length-1;r>=0;--r)if(!n.resolveDisabled(l[r],r,l))return r;return o}case 4:{for(let r=0;r<l.length;++r)if(n.resolveId(l[r],r,l)===e.id)return r;return o}case 5:return null;default:_e(e)}}function de(e={}
4,n=null,l=[]){for(let[o,a]of Object.entries(e))ve(l,ce(n,o),a);return l}function ce(e,n){return e?e+"["+n+"]":n}function ve(e,n,l){if(Array.isArray(l))for(let[o,a]of l.entries())ve(e,ce(n,o.toString()),a);else l instanceof Date?e.push([n,l.toISOString()]):typeof l=="boolean"?e.push([n,l?"1":"0"]):typeof l=="string"?e.push([n,l]):typeof l=="number"?e.push([n,`${l}`]):l==null?e.push([n,""]):de(l,n,e)}function lt(e){var n,l;let o=(n=e?.form)!=null?n:e.closest("form");if(o){for(let a of o.elements)if(a!==e&&(a.tagName==="INPUT"&&a.type==="submit"||a.tagName==="BUTTON"&&a.type==="submit"||a.nodeName==="INPUT"&&a.type==="image")){a.click();return}(l=o.requestSubmit)==null||l.call(o)}}let Z=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function ee(e){var n,l;let o=(n=e.innerText)!=null?n:"",a=e.cloneNode(!0);if(!(a instanceof HTMLElement))return o;let r=!1;for(let s of a.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),r=!0;let t=r?(l=a.innerText)!=null?l:"":o;return Z.test(t)&&(t=t.replace(Z,"")),t}function Ge(e){let n=e.getAttribute("aria-label");if(typeof n=="string")return n.trim();let l=e.getAttribute("aria-labelledby");if(l){let o=l.split(" ").map(a=>{let r=document.getElementById(a);if(r){let t=r.getAttribute("aria-label");return typeof t=="string"?t.trim():ee(r).trim()}return null}).filter(Boolean);if(o.length>0)return o.join(", ")}return ee(e).trim()}function Qe(e){let n=x(""),l=x("");return()=>{let o=g(e);if(!o)return"";let a=o.innerText;if(n.value===a)return l.value;let r=Ge(o).trim().toLowerCase();return n.value=a,l.value=r,r}}function Ye(e,n){return e===n}var Je=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Je||{}),Xe=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Xe||{}),Ze=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ze||{});function et(e){requestAnimationFrame(()=>requestAnimationFrame(e))}let fe=Symbol("ListboxContext");function F(e){let n=W(fe,null);if(n===null){let l=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(l,F),l}return n}let rt=j({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Ye},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:n,attrs:l,emit:o}){let a=x(1),r=x(null),t=x(null),s=x(null),p=x([]),c=x(""),f=x(null),i=x(1);function v(u=d=>d){let d=f.value!==null?p.value[f.value]:null,b=Ie(u(p.value.slice()),P=>g(P.dataRef.domRef)),h=d?b.indexOf(d):null;return h===-1&&(h=null),{options:b,activeOptionIndex:h}}let S=w(()=>e.multiple?1:0),[O,m]=Oe(w(()=>e.modelValue),u=>o("update:modelValue",u),w(()=>e.defaultValue)),E=w(()=>O.value===void 0?D(S.value,{1:[],0:void 0}):O.value),T={listboxState:a,value:E,mode:S,compare(u,d){if(typeof e.by=="string"){let b=e.by;return u?.[b]===d?.[b]}return e.by(u,d)},orientation:w(()=>e.horizontal?"horizontal":"vertical"),labelRef:r,buttonRef:t,optionsRef:s,disabled:w(()=>e.disabled),options:p,searchQuery:c,activeOptionIndex:f,activationTrigger:i,closeListbox(){e.disabled||a.value!==1&&(a.value=1,f.value=null)},openListbox(){e.disabled||a.value!==0&&(a.value=0)},goToOption(u,d,b){if(e.disabled||a.value===1)return;let h=v(),P=qe(u===L.Specific?{focus:L.Specific,id:d}:{focus:u},{resolveItems:()=>h.options,resolveActiveIndex:()=>h.activeOptionIndex,resolveId:R=>R.id,resolveDisabled:R=>R.dataRef.disabled});c.value="",f.value=P,i.value=b??1,p.value=h.options},search(u){if(e.disabled||a.value===1)return;let d=c.value!==""?0:1;c.value+=u.toLowerCase();let b=(f.value!==null?p.value.slice(f.value+d).concat(p.value.slice(0,f.value+d)):p.value).find(P=>P.dataRef.textValue.startsWith(c.value)&&!P.dataRef.disabled),h=b?p.value.indexOf(b):-1;h===-1||h===f.value||(f.value=h,i.value=1)},clearSearch(){e.disabled||a.value!==1&&c.value!==""&&(c.value="")},registerOption(u,d){let b=v(h=>[...h,{id:u,dataRef:d}]);p.value=b.options,f.value=b.activeOptionIndex},unregisterOption(u){let d=v(b=>{let h=b.findIndex(P=>P.id===u);return h!==-1&&b.splice(h,1),b});p.value=d.options,f.value=d.activeOptionIndex,i.value=1},theirOnChange(u){e.disabled||m(u)},select(u){e.disabled||m(D(S.value,{0:()=>u,1:()=>{let d=$(T.value.value).slice(),b=$(u),h=d.findIndex(P=>T.compare(b,$(P)));return h===-1?d.push(b):d.splice(h,1),d}}))}};Ce([t,s],(u,d)=>{var b;T.closeListbox(),re(d,_.Loose)||(u.preventDefault(),(b=g(t))==null||b.focu
4s())},w(()=>a.value===0)),ne(fe,T),ze(w(()=>D(a.value,{0:A.Open,1:A.Closed})));let N=w(()=>{var u;return(u=g(t))==null?void 0:u.closest("form")});return M(()=>{le([N],()=>{if(!N.value||e.defaultValue===void 0)return;function u(){T.theirOnChange(e.defaultValue)}return N.value.addEventListener("reset",u),()=>{var d;(d=N.value)==null||d.removeEventListener("reset",u)}},{immediate:!0})}),()=>{let{name:u,modelValue:d,disabled:b,form:h,...P}=e,R={open:a.value===0,disabled:b,value:E.value};return H(te,[...u!=null&&E.value!=null?de({[u]:E.value}).map(([q,pe])=>H(Ke,Ve({features:ie.Hidden,key:q,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:h,disabled:b,name:q,value:pe}))):[],k({ourProps:{},theirProps:{...l,...ue(P,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:R,slots:n,attrs:l,name:"Listbox"})])}}}),at=j({name:"ListboxLabel",props:{as:{type:[Object,String],default:"label"},id:{type:String,default:null}},setup(e,{attrs:n,slots:l}){var o;let a=(o=e.id)!=null?o:`headlessui-listbox-label-${U()}`,r=F("ListboxLabel");function t(){var s;(s=g(r.buttonRef))==null||s.focus({preventScroll:!0})}return()=>{let s={open:r.listboxState.value===0,disabled:r.disabled.value},{...p}=e,c={id:a,ref:r.labelRef,onClick:t};return k({ourProps:c,theirProps:p,slot:s,attrs:n,slots:l,name:"ListboxLabel"})}}}),ot=j({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:n,slots:l,expose:o}){var a;let r=(a=e.id)!=null?a:`headlessui-listbox-button-${U()}`,t=F("ListboxButton");o({el:t.buttonRef,$el:t.buttonRef});function s(i){switch(i.key){case y.Space:case y.Enter:case y.ArrowDown:i.preventDefault(),t.openListbox(),I(()=>{var v;(v=g(t.optionsRef))==null||v.focus({preventScroll:!0}),t.value.value||t.goToOption(L.First)});break;case y.ArrowUp:i.preventDefault(),t.openListbox(),I(()=>{var v;(v=g(t.optionsRef))==null||v.focus({preventScroll:!0}),t.value.value||t.goToOption(L.Last)});break}}function p(i){switch(i.key){case y.Space:i.preventDefault();break}}function c(i){t.disabled.value||(t.listboxState.value===0?(t.closeListbox(),I(()=>{var v;return(v=g(t.buttonRef))==null?void 0:v.focus({preventScroll:!0})}
4)):(i.preventDefault(),t.openListbox(),et(()=>{var v;return(v=g(t.optionsRef))==null?void 0:v.focus({preventScroll:!0})})))}let f=Me(w(()=>({as:e.as,type:n.type})),t.buttonRef);return()=>{var i,v;let S={open:t.listboxState.value===0,disabled:t.disabled.value,value:t.value.value},{...O}=e,m={ref:t.buttonRef,id:r,type:f.value,"aria-haspopup":"listbox","aria-controls":(i=g(t.optionsRef))==null?void 0:i.id,"aria-expanded":t.listboxState.value===0,"aria-labelledby":t.labelRef.value?[(v=g(t.labelRef))==null?void 0:v.id,r].join(" "):void 0,disabled:t.disabled.value===!0?!0:void 0,onKeydown:s,onKeyup:p,onClick:c};return k({ourProps:m,theirProps:O,slot:S,attrs:n,slots:l,name:"ListboxButton"})}}}),ut=j({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:n,slots:l,expose:o}){var a;let r=(a=e.id)!=null?a:`headlessui-listbox-options-${U()}`,t=F("ListboxOptions"),s=x(null);o({el:t.optionsRef,$el:t.optionsRef});function p(i){switch(s.value&&clearTimeout(s.value),i.key){case y.Space:if(t.searchQuery.value!=="")return i.preventDefault(),i.stopPropagation(),t.search(i.key);case y.Enter:if(i.preventDefault(),i.stopPropagation(),t.activeOptionIndex.value!==null){let v=t.options.value[t.activeOptionIndex.value];t.select(v.dataRef.value)}t.mode.value===0&&(t.closeListbox(),I(()=>{var v;return(v=g(t.buttonRef))==null?void 0:v.focus({preventScroll:!0})}
4));break;case D(t.orientation.value,{vertical:y.ArrowDown,horizontal:y.ArrowRight}):return i.preventDefault(),i.stopPropagation(),t.goToOption(L.Next);case D(t.orientation.value,{vertical:y.ArrowUp,horizontal:y.ArrowLeft}):return i.preventDefault(),i.stopPropagation(),t.goToOption(L.Previous);case y.Home:case y.PageUp:return i.preventDefault(),i.stopPropagation(),t.goToOption(L.First);case y.End:case y.PageDown:return i.preventDefault(),i.stopPropagation(),t.goToOption(L.Last);case y.Escape:i.preventDefault(),i.stopPropagation(),t.closeListbox(),I(()=>{var v;return(v=g(t.buttonRef))==null?void 0:v.focus({preventScroll:!0})});break;case y.Tab:i.preventDefault(),i.stopPropagation();break;default:i.key.length===1&&(t.search(i.key),s.value=setTimeout(()=>t.clearSearch(),350));break}}let c=We(),f=w(()=>c!==null?(c.value&A.Open)===A.Open:t.listboxState.value===0);return()=>{var i,v;let S={open:t.listboxState.value===0},{...O}=e,m={"aria-activedescendant":t.activeOptionIndex.value===null||(i=t.options.value[t.activeOptionIndex.value])==null?void 0:i.id,"aria-multiselectable":t.mode.value===1?!0:void 0,"aria-labelledby":(v=g(t.buttonRef))==null?void 0:v.id,"aria-orientation":t.orientation.value,id:r,onKeydown:p,role:"listbox",tabIndex:0,ref:t.optionsRef};return k({ourProps:m,theirProps:O,slot:S,attrs:n,slots:l,features:K.RenderStrategy|K.Static,visible:f.value,name:"ListboxOptions"})}}}),it=j({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:n,attrs:l,expose:o}){var a;let r=(a=e.id)!=null?a:`headlessui-listbox-option-${U()}`,t=F("ListboxOption"),s=x(null);o({el:s,$el:s});let p=w(()=>t.activeOptionIndex.value!==null?t.options.value[t.activeOptionIndex.value].id===r:!1),c=w(()=>D(t.mode.value,{0:()=>t.compare($(t.value.value),$(e.value)),1:()=>$(t.value.value).some(u=>t.compare($(u),$(e.value)))})),f=w(()=>D(t.mode.value,{1:()=>{var u;let d=$(t.value.value);return((u=t.options.value.find(b=>d.some(h=>t.compare($(h),$(b.dataRef.value)))))==null?void 0:u.id)===r},0:()=>c.value})),i=Qe(s),v=w(()=>({disabled:e.disabled,value:e.value,get textValue(){return i()},domRef:s}));M(()=>t.registerOption(r,v)),he(()=>t.unregisterOption(r)),M(()=>{le([t.listboxState,c],()=>{t.listboxState.value===0&&c.value&&D(t.mode.value,{1:()=>{f.value&&t.goToOption(L.Specific,r)},0:()=>{t.goToOption(L.Specific,r)}})},{immediate:!0})}),B(()=>{t.listboxState.value===0&&p.value&&t.activationTrigger.value!==0&&I(()=>{var u,d;return(d=(u=g(s))==null?void 0:u.scrollIntoView)==null?void 0:d.call(u,{block:"nearest"})})});function S(u){if(e.disabled)return u.preventDefault();t.select(e.value),t.mode.value===0&&(t.closeListbox(),I(()=>{var d;return(d=g(t.buttonRef))==null?void 0:d.focus({preventScroll:!0})}
4))}function O(){if(e.disabled)return t.goToOption(L.Nothing);t.goToOption(L.Specific,r)}let m=Be();function E(u){m.update(u)}function T(u){m.wasMoved(u)&&(e.disabled||p.value||t.goToOption(L.Specific,r,0))}function N(u){m.wasMoved(u)&&(e.disabled||p.value&&t.goToOption(L.Nothing))}return()=>{let{disabled:u}=e,d={active:p.value,selected:c.value,disabled:u},{value:b,disabled:h,...P}=e,R={id:r,ref:s,role:"option",tabIndex:u===!0?void 0:-1,"aria-disabled":u===!0?!0:void 0,"aria-selected":c.value,disabled:void 0,onClick:S,onFocus:O,onPointerenter:E,onMouseenter:E,onPointermove:T,onMousemove:T,onPointerleave:N,onMouseleave:N};return k({ourProps:R,theirProps:P,slot:d,attrs:l,slots:n,name:"ListboxOption"})}}});function st(e,n){return ye(),ge("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[we("path",{"fill-rule":"evenodd",d:"M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z","clip-rule":"evenodd"})])}export{ut as A,at as E,it as F,rt as I,ue as T,k as a,Ve as b,y as c,Oe as d,Ke as f,U as i,ot as j,g as o,lt as p,st as r,Me as s,ie as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.