PageSourceSearch

https://craftingproduct.io/assets/dialog-CkRhPuPv.js

js craftingproduct.io collected 2026-10-05 08:53:34 UTC 2,387 bytes, 1 lines download raw bytes

1import{o as c}from"./rolldown-runtime-BNNRdYrd.js";import{n as f}from"./react-dom-CagvwlZ5.js";import{t as p}from"./jsx-runtime-Bb2r7ayK.js";import{t as o}from"./utils-D10kMHym.js";import{n as x}from"./usePrefersReducedMotion-82-Hllt4.js";import{a as r,c as u,i as l,n as D,o as y,r as d,s as n,t as N}from"./dist-YRxpKZmh.js";var i=c(f(),1),t=p(),q=N,F=u,v=y,m=i.forwardRef(({className:a,...e},s)=>(0,t.jsx)(r,{ref:s,className:o("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...e}));m.displayName=r.displayName;var j=i.forwardRef(({className:a,children:e,...s},g)=>(0,t.jsxs)(v,{children:[(0,t.jsx)(m,{}),(0,t.jsxs)(d,{ref:g,className:o("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...s,children:[e,(0,t.jsxs)(D,{className:"absolute right-4 top-4 roun
1ded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,t.jsx)(x,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));j.displayName=d.displayName;var b=({className:a,...e})=>(0,t.jsx)("div",{className:o("flex flex-col space-y-1.5 text-center sm:text-left",a),...e});b.displayName="DialogHeader";var h=({className:a,...e})=>(0,t.jsx)("div",{className:o("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});h.displayName="DialogFooter";var w=i.forwardRef(({className:a,...e},s)=>(0,t.jsx)(n,{ref:s,className:o("text-lg font-semibold leading-none tracking-tight",a),...e}));w.displayName=n.displayName;var _=i.forwardRef(({className:a,...e},s)=>(0,t.jsx)(l,{ref:s,className:o("text-sm text-muted-foreground",a),...e}));_.displayName=l.displayName;export{w as a,b as i,j as n,F as o,_ as r,q 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.