"use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var Hide_exports = {};
__export(Hide_exports, {
  default: () => Hide_default
});
module.exports = __toCommonJS(Hide_exports);
var import_prop_types = require("prop-types");
var import_styled_components = __toESM(require("styled-components"));
var import_yoga_tokens = __toESM(require("@gympass/yoga-tokens"));
var import_yoga_helpers = require("@gympass/yoga-helpers");
const { breakpoints } = import_yoga_tokens.default;
const defaultProps = {
  xxs: void 0,
  xs: void 0,
  sm: void 0,
  md: void 0,
  lg: void 0,
  xl: void 0,
  xxl: void 0,
  xxxl: void 0,
  "xxs-start": void 0,
  "xs-start": void 0,
  "sm-start": void 0,
  "md-start": void 0,
  "lg-start": void 0,
  "xl-start": void 0,
  "xxl-start": void 0,
  "xxxl-start": void 0
};
const Hide = import_styled_components.default.div`
  ${(props = defaultProps) => Object.keys(props).filter((prop) => props[prop] && Object.keys(breakpoints).includes(prop)).map((breakpoint) => import_yoga_helpers.media.hide[breakpoint])}

  ${(props) => Object.keys(props).filter((prop) => props[`${prop}-start`]).map((breakpoint) => import_yoga_helpers.media.hide[`${breakpoint}-start`])}
`;
Hide.propTypes = {
  xxs: import_prop_types.bool,
  xs: import_prop_types.bool,
  sm: import_prop_types.bool,
  md: import_prop_types.bool,
  lg: import_prop_types.bool,
  xl: import_prop_types.bool,
  xxl: import_prop_types.bool,
  xxxl: import_prop_types.bool,
  "xxs-start": import_prop_types.bool,
  "xs-start": import_prop_types.bool,
  "sm-start": import_prop_types.bool,
  "md-start": import_prop_types.bool,
  "lg-start": import_prop_types.bool,
  "xl-start": import_prop_types.bool,
  "xxl-start": import_prop_types.bool,
  "xxxl-start": import_prop_types.bool
};
Hide.defaultProps = {
  xxs: void 0,
  xs: void 0,
  sm: void 0,
  md: void 0,
  lg: void 0,
  xl: void 0,
  xxl: void 0,
  xxxl: void 0,
  "xxs-start": void 0,
  "xs-start": void 0,
  "sm-start": void 0,
  "md-start": void 0,
  "lg-start": void 0,
  "xl-start": void 0,
  "xxl-start": void 0,
  "xxxl-start": void 0
};
var Hide_default = Hide;
