import { a as subscribe, h as set_store_value, c as compute_rest_props } from './lifecycle-px-3doLe.js'; import { c as create_ssr_component, b as add_attribute, v as validate_component, e as escape, s as spread, f as escape_object } from './ssr-ipqebOFl.js'; import { F as Form_field, C as Control, a as Form_label, I as Input, b as Form_field_errors, S as Switch, T as Textarea, g as getFormField, d as getDataFsError, e as generateId } from './textarea-CILqUx6U.js'; import './stores-Cv0rQqhp.js'; import { g as superForm } from './index-CUXxL1oq.js'; import './index-Ddp2AB5f.js'; import { b as zodClient } from './zod-D1iX83g6.js'; import { s as schema } from './7-DS1o2kUY.js'; import { f as toast } from './index-pRP-dlMc.js'; import './index3-4H3SMWet.js'; import 'clsx'; import { c as config } from './config-BHx687w1.js'; import { c as cn, B as Button } from './button-CeH7Xj2c.js'; import './index2-D4yenS_5.js'; import './exports-DuWZopOC.js'; import './stringify-D5iWhcfN.js'; import './scheduler-1Ju9dhbL.js'; import 'zod'; import 'tailwind-variants'; import './ssr2-BVSPLo1E.js'; import './shared-server-i79vVjEm.js'; import 'tailwind-merge'; const Description = create_ssr_component(($$result, $$props, $$bindings, slots) => { let descriptionAttrs; let $$restProps = compute_rest_props($$props, ["id", "asChild", "el"]); let $errors, $$unsubscribe_errors; let $descriptionId, $$unsubscribe_descriptionId; const { descriptionId, errors } = getFormField(); $$unsubscribe_descriptionId = subscribe(descriptionId, (value) => $descriptionId = value); $$unsubscribe_errors = subscribe(errors, (value) => $errors = value); let { id = generateId() } = $$props; let { asChild = false } = $$props; let { el = void 0 } = $$props; if ($$props.id === void 0 && $$bindings.id && id !== void 0) $$bindings.id(id); if ($$props.asChild === void 0 && $$bindings.asChild && asChild !== void 0) $$bindings.asChild(asChild); if ($$props.el === void 0 && $$bindings.el && el !== void 0) $$bindings.el(el); { descriptionId.set(id); } descriptionAttrs = { id: $descriptionId, "data-fs-error": getDataFsError($errors), "data-fs-description": "", ...$$restProps }; $$unsubscribe_errors(); $$unsubscribe_descriptionId(); return ` ${asChild ? `${slots.default ? slots.default({ descriptionAttrs }) : ``}` : `