mongodb-chatbot-ui
Version:
UI React components for the MongoDB Chatbot Framework
45 lines (44 loc) • 1.15 kB
JavaScript
import { j as e } from "./jsx-runtime.js";
import { u as n } from "./useLinkData.js";
import { b as t } from "./utils.js";
import { Q as c, _ as r } from "./index4.js";
import "react";
import "./LinkDataProvider.js";
import "./index2.js";
import "./has.js";
function a() {
const { tck: o } = n(), s = () => /* @__PURE__ */ e.jsx(
r,
{
hideExternalIcon: !0,
href: t("https://www.mongodb.com/legal/terms-of-use", {
tck: o
}),
children: "Terms of Use"
}
), i = () => /* @__PURE__ */ e.jsx(
r,
{
hideExternalIcon: !0,
href: t(
"https://www.mongodb.com/legal/acceptable-use-policy",
{ tck: o }
),
children: "Acceptable Use Policy"
}
);
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
"This is a generative AI chatbot. By interacting with it, you agree to MongoDB's ",
/* @__PURE__ */ e.jsx(s, {}),
" and ",
/* @__PURE__ */ e.jsx(i, {}),
"."
] });
}
function f() {
return /* @__PURE__ */ e.jsx(c, { children: /* @__PURE__ */ e.jsx(a, {}) });
}
export {
f as MongoDbLegalDisclosure,
a as MongoDbLegalDisclosureText
};