import{c as a}from"./utils-Q0fnGDhj.js";import{j as t}from"./client-BbMi5ewG.js";/**
 * @license lucide-react v0.525.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const c=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],b=a("eye-off",c);/**
 * @license lucide-react v0.525.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const u=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],f=a("upload",u);function p({id:e,title:s,description:r,children:n,badge:l}){return t.jsx("section",{id:e,className:"scroll-mt-40",children:t.jsxs("div",{className:"border-b border-border bg-white pb-8 ",children:[t.jsx("div",{className:"mb-5 flex items-start justify-between gap-4",children:t.jsxs("div",{children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("h3",{className:"text-base font-semibold text-title",children:s}),l]}),r?t.jsx("p",{className:"mt-1 text-sm text-small-font",children:r}):null]})}),t.jsx("div",{className:"space-y-4",children:n})]})})}function h({label:e,children:s,className:r="",disabled:n,badge:l}){return t.jsxs("div",{className:`mb-4 ${r}`,children:[e&&t.jsxs("label",{className:"mb-2 flex items-center gap-2 text-sm font-medium text-title2",children:[e,l]}),t.jsx("div",{className:`flex w-full items-center ${n?"opacity-60":""}`,children:s})]})}function g({children:e}){return t.jsx("div",{className:"mb-6 grid gap-4",children:e})}function j({children:e,cols:s="3"}){const r=s<2?1:2;return t.jsx("div",{className:`grid gap-4 grid-cols-1 lg:grid-cols-1 xl:grid-cols-${r} 2xl:grid-cols-${s}`,children:e})}function N(e){return t.jsx("input",{...e,className:`w-full h-[45px] rounded-md border border-border bg-white px-3 py-2 text-sm text-title placeholder:text-slate-400 focus:outline-none focus:ring-2 focus:ring-blue-200 ${e.className||""}`})}function y(e){return t.jsx("textarea",{...e,className:`w-full rounded-md border border-border bg-white px-3 py-2 text-sm text-title placeholder:text-slate-400 focus:outline-none focus:ring-2 focus:ring-blue-200 ${e.className||""}`})}function w(e){return t.jsx("input",{...e,type:e.type||"number",className:`w-full rounded-md border border-border bg-white px-3 py-2 text-sm text-title placeholder:text-slate-400 focus:outline-none focus:ring-2 focus:ring-blue-200 ${e.className||""}`})}function v(e){const{options:s=[],children:r,...n}=e;return t.jsx("select",{...n,className:`w-full max-w-[600px] rounded-md border border-border bg-white px-3 py-2 text-sm text-title placeholder:text-slate-400 focus:outline-none focus:ring-2 focus:ring-blue-200 ${e.className||""}`,children:s.length?s.map(l=>t.jsx("option",{value:l.value,disabled:l.disabled,children:l.label},l.value)):r})}function $({checked:e,onChange:s,label:r,boxStyle:n=!0,variant:l="rounded",checkedBg:o="bg-primary",unCheckedBg:i="bg-slate-200"}){const d=n?"bg-lighter-2 border border-border py-3 px-4 rounded-lg":"";return t.jsxs("label",{className:`flex items-center gap-3 justify-between ${d}`,children:[t.jsx("div",{className:"text-sm text-title2 font-medium",children:r}),t.jsx("button",{type:"button","aria-pressed":e,onClick:()=>s(!e),className:`relative inline-flex h-6 w-10 min-w-[40px] items-center ${l==="rounded"?"rounded-full":"rounded-[5px]"} transition-colors ${e?o:i}`,children:t.jsx("span",{className:`inline-block h-4 w-4 transform ${l==="rounded"?"rounded-full":"rounded-[4px]"} bg-white transition-transform ${e?"translate-x-5":"translate-x-1"}`})})]})}function k({children:e}){return t.jsx("div",{className:"mt-1 text-xs text-small-font",children:e})}export{b as E,h as F,k as H,w as N,v as S,N as T,f as U,y as a,$ as b,j as c,p as d,g as e};
//# sourceMappingURL=Field-DfnhKY2X.js.map
