import { j as e } from "../../../../../../../_virtual/jsx-runtime.js";
import { FieldTitle as o } from "../field-factory.js";
import "react";
import "../../../../../../../node_modules/.pnpm/@formkit_auto-animate@0.8.2/node_modules/@formkit/auto-animate/index.js";
import "../../../../../../../node_modules/.pnpm/react-hot-toast@2.5.2_react-dom@18.3.0-canary-3d9b20132-20240124_react@18.3.0-canary-3d_c02c1e17bf76c343fd22d1f22394ecf5/node_modules/react-hot-toast/dist/index.js";
import { useEditorHelpers as l } from "../../../../../../../use-editor.js";
import { Button as n } from "../../../../../../../node_modules/.pnpm/@radix-ui_themes@3.1.4_@types_react-dom@18.3.6_@types_react@18.3.3__@types_react@18.3.3_46b1dabc193c5ff5696ee783983c694e/node_modules/@radix-ui/themes/dist/esm/components/button.js";
function h(t) {
  const { currentValue: a, onChange: u, schema: p, title: i, description: r } = t, s = l();
  return /* @__PURE__ */ e.jsxs("div", { className: "flex site-queries-field justify-between flex-1 gap-1 flex-wrap", children: [
    /* @__PURE__ */ e.jsx(o, { title: i, description: r }),
    /* @__PURE__ */ e.jsx(
      n,
      {
        variant: "soft",
        size: "1",
        radius: "full",
        type: "button",
        onClick: () => {
          s.toggleModal("queries");
        },
        children: "Manage site queries"
      }
    )
  ] });
}
export {
  h as default
};
//# sourceMappingURL=site-queries.js.map
