PageSourceSearch

https://delivr.to/assets/separator-DUsDTrP6.js

js delivr.to collected 2026-10-03 22:10:53 UTC 1,089 bytes, 1 lines download raw bytes

1import{j as s}from"./query-DmstuUoN.js";import{a as l}from"./vendor-CHI41uxr.js";import{as as v,b as u}from"./index-BNXzEUcY.js";var N=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],h=N.reduce((a,r)=>{const t=v(`Primitive.${r}`),o=l.forwardRef((i,e)=>{const{asChild:p,...n}=i,f=p?t:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(f,{...n,ref:e})});return o.displayName=`Primitive.${r}`,{...a,[r]:o}},{}),x="Separator",m="horizontal",w=["horizontal","vertical"],c=l.forwardRef((a,r)=>{const{decorative:t,orientation:o=m,...i}=a,e=S(o)?o:m,n=t?{role:"none"}:{"aria-orientation":e==="vertical"?e:void 0,role:"separator"};return s.jsx(h.div,{"data-orientation":e,...n,...i,ref:r})});c.displayName=x;function S(a){return w.includes(a)}var d=c;const O=l.forwardRef(({className:a,orientation:r="horizontal",decorative:t=!0,...o},i)=>s.jsx(d,{ref:i,decorative:t,orientation:r,className:u("shrink-0 bg-border",r==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",a),...o}));O.displayName=d.displayName;export{O as S};

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.