var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
    for (var name in all) __defProp(target, name, {
      get: all[name],
      enumerable: !0
    });
  },
  __copyProps = (to, from, except, desc) => {
    if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
      get: () => from[key],
      enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
    });
    return to;
  };
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
  value: !0
}), mod);
var Popover_exports = {};
__export(Popover_exports, {
  Popover: () => Popover
});
module.exports = __toCommonJS(Popover_exports);
var import_tamagui = require("tamagui"),
  import_Sheet = require("./Sheet.cjs"),
  import_typography = require("./typography.cjs");
const Content = (0, import_tamagui.styled)(import_tamagui.Popover.Content, {
    name: "PopoverContent",
    borderRadius: "$shape.corner_l",
    borderWidth: "$border.outline",
    borderColor: "$outlineVariant",
    overflow: "hidden",
    enterStyle: {
      y: -10,
      opacity: 0
    },
    exitStyle: {
      y: -10,
      opacity: 0
    },
    margin: 0,
    padding: 0,
    animation: ["quick", {
      opacity: {
        overshootClamping: !0
      }
    }]
  }),
  PopoverHeadline = (0, import_tamagui.styled)(import_typography.Headline, {
    name: "PopoverHeadline",
    size: "small"
  }),
  PopoverSupportingText = (0, import_tamagui.styled)(import_typography.Body, {
    name: "PopoverSupportingText",
    size: "medium"
  }),
  Popover = (0, import_tamagui.withStaticProperties)(import_tamagui.Popover, {
    Trigger: import_tamagui.Popover.Trigger,
    Content,
    Arrow: import_tamagui.Popover.Arrow,
    Close: import_tamagui.Popover.Close,
    Headline: PopoverHeadline,
    SupportingText: PopoverSupportingText,
    Sheet: import_Sheet.Sheet.Controlled
  });