import { aK as a, s as r } from "./index-GTnBs7av.js";
const d = ({
  getAppData: t,
  setAppData: s,
  disabled: l,
  slug: i
}) => {
  const n = t("PLAUSIBLE_URL"), o = t("trackingId");
  return /* @__PURE__ */ a.jsxs("div", { className: "flex flex-col gap-2", children: [
    /* @__PURE__ */ a.jsx(
      r,
      {
        dataTestid: `${i}-url`,
        name: "Plausible URL",
        defaultValue: "https://plausible.io/js/script.js",
        placeholder: "https://plausible.io/js/script.js",
        value: n,
        disabled: l,
        onChange: (e) => {
          s("PLAUSIBLE_URL", e.target.value);
        }
      }
    ),
    /* @__PURE__ */ a.jsx(
      r,
      {
        dataTestid: `${i}-tracking-id`,
        disabled: l,
        name: "Tracked Domain",
        placeholder: "yourdomain.com",
        value: o,
        onChange: (e) => {
          s("trackingId", e.target.value);
        }
      }
    )
  ] });
};
export {
  d as default
};
