UNPKG

mongodb-chatbot-ui

Version:

UI React components for the MongoDB Chatbot Framework

69 lines (68 loc) 1.73 kB
import { j as e } from "./jsx-runtime.js"; import { u as a } from "./useLinkData.js"; import { b as s } from "./utils.js"; import { t as c, Q as r } from "./index4.js"; import "react"; import "./LinkDataProvider.js"; import "./index2.js"; import "./OpenNewTab.js"; function i() { const { tck: o } = a(), t = () => /* @__PURE__ */ e.jsx( r, { hideExternalIcon: !0, href: s("https://www.mongodb.com/legal/terms-of-use", { tck: o }), children: "Terms of Use" } ), n = () => /* @__PURE__ */ e.jsx( r, { hideExternalIcon: !0, href: s( "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(t, {}), " and ", /* @__PURE__ */ e.jsx(n, {}), "." ] }); } function l() { const { tck: o } = a(), t = () => /* @__PURE__ */ e.jsx( r, { hideExternalIcon: !0, href: s( "https://www.mongodb.com/docs/ai-chatbot-data-usage/", { tck: o } ), children: "Data Usage Policy" } ); return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [ "To learn more about how we use your data, please see our", " ", /* @__PURE__ */ e.jsx(t, {}), "." ] }); } function j() { return /* @__PURE__ */ e.jsxs(c, { children: [ /* @__PURE__ */ e.jsx(i, {}), /* @__PURE__ */ e.jsx("br", {}), /* @__PURE__ */ e.jsx(l, {}) ] }); } export { l as MongoDbDataUsagePolicyText, j as MongoDbLegalDisclosure, i as MongoDbLegalDisclosureText };