PageSourceSearch

https://cdn.wisgate.ai/wisgate/_nuxt/CSuMUi_h.js

js wisgate.ai collected 2026-10-04 13:27:21 UTC 1,953 bytes, 1 lines download raw bytes

1import{g}from"./CWaiZ3M9.js";import{b1 as b,a$ as v,a as h,b0 as n,j as u,o as c,s as x,k as d,l as p,q as r,p as q,m as o,b8 as k,a6 as C,C as S}from"./DZ7mik94.js";import $ from"./D0a8O78Y.js";const w={slots:{root:"relative my-5 group",header:"flex items-center gap-1.5 border border-muted bg-default border-b-0 relative rounded-t-md px-4 py-3",filename:"text-default text-sm/6",icon:"size-4 shrink-0",copy:"absolute top-[11px] right-[11px] lg:opacity-0 lg:group-hover:opacity-100 transition",base:"group font-mono text-sm/6 border border-muted bg-muted rounded-md px-4 py-3 whitespace-pre-wrap break-words overflow-x-auto focus:outline-none"},variants:{filename:{true:{root:"[&>pre]:rounded-t-none [&>pre]:my-0 my-5"}}}},V={__name:"ProsePre",props:{icon:{type:null,required:!1},code:{type:String,required:!1},language:{type:String,required:!1},filename:{type:String,required:!1},highlights:{type:Array,required:!1},hideHeader:{type:Boolean,required:!1},meta:{type:String,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(a){const e=a,{t:m}=b(),{copy:f,copied:y}=g(),l=v(),s=h(()=>n({extend:n(w),...l.ui?.prose?.pre||{}})());return(t,i)=>(c(),u("div",{class:r(s.value.root({class:[e.ui?.root],filename:!!a.filename}))},[a.filename&&!a.hideHeader?(c(),u("div",{key:0,class:r(s.value.header({class:e.ui?.header}))},[d($,{icon:a.icon,filename:a.filename,class:r(s.value.icon({class:e.ui?.icon}))},null,8,["icon","filename","class"]),p("span",{class:r(s.value.filename({class:e.ui?.filename}))},q(a.filename),3)],2)):x("",!0),d(k,{icon:o(y)?o(l).ui.icons.copyCheck:o(l).ui.icons.copy,color:"neutral",variant:"outline",size:"sm","aria-label":o(m)("prose.pre.copy"),class:r(s.value.copy({class:e.ui?.copy})),tabindex:"-1",onClick:i[0]||(i[0]=B=>o(f)(e.code||""))},null,8,["icon","aria-label","class"]),p("pre",S({class:s.value.base({class:[e.ui?.base,e.class]})},t.$attrs),[C(t.$slots,"default")],16)],2))}};export{V as default};

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.