PageSourceSearch

https://legacy.wormhole.systems/build/assets/separator-ChaP8olj.js

js wormhole.systems collected 2026-10-07 19:33:32 UTC 1,654 bytes, 1 lines download raw bytes

1import{Mr as e,Or as t,en as n,gt as r,i,kt as a,mn as o,qn as s,vt as c,xn as l,zt as u}from"./wayfinder-COnDWnJq.js";import{m as d}from"./tooltip-D-EjPKiR.js";import{i as f}from"./createLucideIcon-BsgFkfEX.js";var p=a({__name:`BaseSeparator`,props:{orientation:{type:String,required:!1,default:`horizontal`},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let i=e,a=[`horizontal`,`vertical`];function u(e){return a.includes(e)}let d=r(()=>u(i.orientation)?i.orientation:`horizontal`),p=r(()=>d.value===`vertical`?i.orientation:void 0),m=r(()=>i.decorative?{role:`none`}:{"aria-orientation":p.value,role:`separator`});return(e,r)=>(o(),c(t(f),n({as:e.as,"as-child":e.asChild,"data-orientation":d.value},m.value),{default:s(()=>[l(e.$slots,`default`)]),_:3},16,[`as`,`as-child`,`data-orientation`]))}}),m=a({__name:`Separator`,props:{orientation:{type:String,required:!1,default:`horizontal`},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t;return(t,r)=>(o(),c(p,e(u(n)),{default:s(()=>[l(t.$slots,`default`)]),_:3},16))}}),h=a({__name:`Separator`,props:{orientation:{default:`horizontal`},decorative:{type:Boolean,default:!0},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let r=e,a=d(r,`class`);return(e,s)=>(o(),c(t(m),n({"data-slot":`separator-root`},t(a),{class:t(i)(`bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px`,r.class)}),null,16,[`class`]))}});export{h 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.