PageSourceSearch

https://onlx.co.uk/_nuxt/CINhZO_6.js

js onlx.co.uk collected 2026-10-06 06:14:33 UTC 3,303 bytes, 4 lines download raw bytes

vendor: 3,303 bytes, lines 1-4
1import{H as e,S as t,c as n,r,w as i}from"./Di_rnJ1B.js";var a=Symbol(`headlessui.useid`),o=0,s=e??function(){return i(a,()=>`${++o}`)()};function c(e){if(e==null||e.value==null)return null;let t=e.value.$el??e.value;return t instanceof Node?t:null}function l(e,t,...n){if(e in t){let r=t[e];return typeof r==`function`?r(...n):r}let r=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(`, `)}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,l),r}var u=(e=>(e[e.None=0]=`None`,e[e.RenderStrategy=1]=`RenderStrategy`,e[e.Static=2]=`Static`,e))(u||{}),d=(e=>(e[e.Unmount=0]=`Unmount`,e[e.Hidden=1]=`Hidden`,e))(d||{});function f({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...i}){var a;let o=h(r,n),s=Object.assign(i,{props:o});return e||t&2&&o.static?p(s):t&1?l((a=o.unmount)==null||a?0:1,{0(){return null},1(){return p({...i,props:{...o,hidden:!0,style:{display:`none`}}})}}):p(s)}function p({props:e,attrs:r,slots:i,slot:a,name:o}){let{as:s,...c}=_(e,[`unmount`,`static`]),l=i.default?.call(i,a),u={};if(a){let e=!1,t=[];for(let[n,r]of Object.entries(a))typeof r==`boolean`&&(e=!0),r===!0&&t.push(n);e&&(u[`data-headlessui-state`]=t.join(` `))}if(s===`template`){if(l=m(l??[]),Object.keys(c).length>0||Object.keys(r).length>0){let[e,...t]=l??[];if(!v(e)||t.length>0)throw Error([`Passing props on "template"!`,``,`The current component <${o} /> is rendering a "template".`,`However we need to passthrough the following props:`,Object.keys(c).concat(Object.keys(r)).map(e=>e.trim()).filter((e,t,n)=>n.indexOf(e)===t).sort((e,t)=>e.localeCompare(t)).map(e=>`  - ${e}`).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(e=>`  - ${e}`).join(`
3`)].join(`
4`));let i=h(e.props??{},c,u),a=n(e,i,!0);for(let e in i)e.startsWith(`on`)&&(a.props||={},a.props[e]=i[e]);return a}return Array.isArray(l)&&l.length===1?l[0]:l}return t(s,Object.assign({},c,u),{default:()=>l})}function m(e){return e.flatMap(e=>e.type===r?m(e.children):[e])}function h(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith(`on`)&&typeof r[e]==`function`?(n[e]??(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t[`aria-disabled`])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){let i=n[e];for(let e of i){if(t instanceof Event&&t.defaultPrevented)return;e(t,...r)}}});return t}function g(e){let t=Object.assign({},e);for(let e in t)t[e]===void 0&&delete t[e];return t}function _(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function v(e){return e==null?!1:typeof e.type==`string`||typeof e.type==`object`||typeof e.type==`function`}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||{});export{d as a,c,u as i,s as l,f as n,_ as o,g as r,l as s,y as t};

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.