PageSourceSearch

https://www.pretty-prompt.com/assets/accordion-zmSMGXTO.js

js pretty-prompt.com collected 2026-10-01 15:14:59 UTC 1,118 bytes, 1 lines download raw bytes

1import{r,j as s}from"./react-vendor-CROuJcsa.js";import{I as f,H as x,h as c,i as d,j as N}from"./radix-B9y6knm9.js";import{c as i}from"./main-CQQUnB39.js";import{C as j}from"./chevron-down-DLtdsBXu.js";const g=N,h=r.forwardRef(({className:t,...o},a)=>s.jsx(f,{ref:a,className:i("border-b",t),...o}));h.displayName="AccordionItem";const w=r.forwardRef(({className:t,children:o,onOpen:a,...e},m)=>s.jsx(x,{className:"flex",children:s.jsxs(c,{ref:m,className:i("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",t),onClick:l=>{var n;a==null||a(),(n=e.onClick)==null||n.call(e,l)},...e,children:[o,s.jsx(j,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));w.displayName=c.displayName;const y=r.forwardRef(({className:t,children:o,...a},e)=>s.jsx(d,{ref:e,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...a,children:s.jsx("div",{className:i("pb-4 pt-0",t),children:o})}));y.displayName=d.displayName;export{g as A,h as a,w as b,y as c};

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.