PageSourceSearch

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

js wisgate.ai collected 2026-10-04 13:26:59 UTC 1,643 bytes, 1 lines download raw bytes

1import{bD as c,bE as d,b1 as f,a$ as g,a as m,b0 as p,j as v,o as x,a6 as b,l as C,k as y,q as r,m as t,b8 as h}from"./DZ7mik94.js";const q={slots:{root:"relative [&_pre]:h-[200px]",footer:"h-16 absolute inset-x-px bottom-px rounded-b-md flex items-center justify-center",trigger:"group",triggerIcon:"group-data-[state=open]:rotate-180"},variants:{open:{true:{root:"[&_pre]:h-auto [&_pre]:min-h-[200px] [&_pre]:max-h-[80vh] [&_pre]:pb-12"},false:{root:"[&_pre]:overflow-hidden",footer:"bg-gradient-to-t from-muted"}}}},$={__name:"ProseCodeCollapse",props:c({icon:{type:null,required:!1},name:{type:String,required:!1},openText:{type:String,required:!1},closeText:{type:String,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:["update:open"],setup(s){const e=s,o=d(s,"open",{type:Boolean,default:!1}),{t:l}=f(),n=g(),a=m(()=>p({extend:p(q),...n.ui?.prose?.codeCollapse||{}})({open:o.value}));return(u,i)=>(x(),v("div",{class:r(a.value.root({class:[e.ui?.root,e.class]}))},[b(u.$slots,"default"),C("div",{class:r(a.value.footer({class:e.ui?.footer}))},[y(h,{icon:s.icon||t(n).ui.icons.chevronDown,color:"neutral",variant:"outline","data-state":o.value?"open":"closed",label:`${o.value?e.closeText||t(l)("prose.codeCollapse.closeText"):e.openText||t(l)("prose.codeCollapse.openText")} ${e.name||t(l)("prose.codeCollapse.name")}`,class:r(a.value.trigger({class:e.ui?.trigger})),ui:{leadingIcon:a.value.triggerIcon({class:e.ui?.triggerIcon})},onClick:i[0]||(i[0]=_=>o.value=!o.value)},null,8,["icon","data-state","label","class","ui"])],2)],2))}};export{$ 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.