PageSourceSearch

https://cafoscarialumni.it/_nuxt/C43f6Ruk.js

js cafoscarialumni.it collected 2026-10-02 19:22:15 UTC 4,472 bytes, 4 lines download raw bytes

1import{ab as k,a8 as H,L as S,a1 as $,ak as P,H as N,I as T,F as D,A as U}from"./y8b2zAfg.js";let w=Symbol("headlessui.useid"),L=0;function V(){return H(w,()=>`${++L}`)()}function Y(e){k(w,e)}function y(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 j(e,t,...n){if(e in t){let r=t[e];return typeof r=="function"?r(...n):r}let a=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(r=>`"${r}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,j),a}function v(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function q(e,t){let n=S(v(e.value.type,e.value.as));return $(()=>{n.value=v(e.value.type,e.value.as)}),P(()=>{var a;n.value||y(t)&&y(t)instanceof HTMLButtonElement&&!((a=y(t))!=null&&a.hasAttribute("type"))&&(n.value="button")}),n}var R=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(R||{}),F=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(F||{});function x({visible:e=!0,features:t=0,ourProps:n,theirProps:a,...r}){var i;let l=E(a,n),u=Object.assign(r,{props:l});if(e||t&2&&l.static)return g(u);
1if(t&1){let d=(i=l.unmount)==null||i?0:1;return j(d,{0(){return null},1(){return g({...r,props:{...l,hidden:!0,style:{display:"none"}}})}})}return g(u)}function g({props:e,attrs:t,slots:n,slot:a,name:r}){var i,l;let{as:u,...d}=B(e,["unmount","static"]),s=(i=n.default)==null?void 0:i.call(n,a),b={};if(a){let f=!1,h=[];for(let[c,p]of Object.entries(a))typeof p=="boolean"&&(f=!0),p===!0&&h.push(c);f&&(b["data-headlessui-state"]=h.join(" "))}if(u==="template"){if(s=O(s??[]),Object.keys(d).length>0||Object.keys(t).length>0){let[f,...h]=s??[];if(!C(f)||h.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${r} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(d).concat(Object.keys(t)).map(o=>o.trim()).filter((o,m,A)=>A.indexOf(o)===m).sort((o,m)=>o.localeCompare(m)).map(o=>`  - ${o}`).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(o=>`  - ${o}`).join(`
3`)].join(`
4`));let c=E((l=f.props)!=null?l:{},d,b),p=N(f,c,!0);for(let o in c)o.startsWith("on")&&(p.props||(p.props={}),p.props[o]=c[o]);return p}return Array.isArray(s)&&s.length===1?s[0]:s}return T(u,Object.assign({},d,b),{default:()=>s})}function O(e){return e.flatMap(t=>t.type===D?O(t.children):[t])}function E(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let a of e)for(let r in a)r.startsWith("on")&&typeof a[r]=="function"?(n[r]!=null||(n[r]=[]),n[r].push(a[r])):t[r]=a[r];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](r,...i){let l=n[a];for(let u of l){if(r instanceof Event&&r.defaultPrevented)return;u(r,...i)}}});return t}function z(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function B(e,t=[]){let n=Object.assign({},e);for(let a of t)a in n&&delete n[a];return n}function C(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var M=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(M||{});let G=U({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:r,...i}=e,l={"aria-hidden":(r&2)===2?!0:(a=i["aria-hidden"])!=null?a:void 0,hidden:(r&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",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return x({ourProps:l,theirProps:i,slot:{},attrs:n,slots:t,name:"Hidden"})}}});var W=(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))(W||{});export{x as A,z as E,V as I,R as N,F as S,B as T,W as a,M as b,G as f,Y as l,y as o,q as s,j 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.