"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.forwardStyled = void 0;
var _1 = __importStar(require("."));
var forwardStyled = function (c) { return (0, _1.default)(c)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n  width: ", ";\n  height: ", ";\n\n  min-width: ", ";\n  max-width: ", ";\n  min-height: ", ";\n  max-height: ", ";\n\n  padding: ", ";\n  padding-top: ", ";\n  padding-right: ", ";\n  padding-bottom: ", ";\n  padding-left: ", ";\n  box-sizing: ", ";\n\n  margin: ", ";\n  margin-top: ", ";\n  margin-right: ", ";\n  margin-bottom: ", ";\n  margin-left: ", ";\n\n  color: ", ";\n  background: ", ";\n  cursor: ", ";\n\n  border: ", ";\n  border-top: ", ";\n  border-right: ", ";\n  border-bottom: ", ";\n  border-left: ", ";\n  border-radius: ", ";\n\n  text-align: ", ";\n  text-decoration: ", ";\n  text-decoration-line: ", ";\n\n  position: ", ";\n  z-index: ", ";\n  top: ", ";\n  right: ", ";\n  bottom: ", ";\n  left: ", ";\n\n  display: ", ";\n  align-items: ", ";\n  justify-content: ", ";\n  gap: ", ";\n  flex-grow: ", ";\n  flex-shrink: ", ";\n  flex-wrap: ", ";\n  flex-direction: ", ";\n\n  ", "\n  ", "\n\n  $transition: ", ";\n\n  letter-spacing: 0;\n\n  ", "\n"], ["\n  width: ", ";\n  height: ", ";\n\n  min-width: ", ";\n  max-width: ", ";\n  min-height: ", ";\n  max-height: ", ";\n\n  padding: ", ";\n  padding-top: ", ";\n  padding-right: ", ";\n  padding-bottom: ", ";\n  padding-left: ", ";\n  box-sizing: ", ";\n\n  margin: ", ";\n  margin-top: ", ";\n  margin-right: ", ";\n  margin-bottom: ", ";\n  margin-left: ", ";\n\n  color: ", ";\n  background: ", ";\n  cursor: ", ";\n\n  border: ", ";\n  border-top: ", ";\n  border-right: ", ";\n  border-bottom: ", ";\n  border-left: ", ";\n  border-radius: ", ";\n\n  text-align: ", ";\n  text-decoration: ", ";\n  text-decoration-line: ", ";\n\n  position: ", ";\n  z-index: ", ";\n  top: ", ";\n  right: ", ";\n  bottom: ", ";\n  left: ", ";\n\n  display: ", ";\n  align-items: ", ";\n  justify-content: ", ";\n  gap: ", ";\n  flex-grow: ", ";\n  flex-shrink: ", ";\n  flex-wrap: ", ";\n  flex-direction: ", ";\n\n  ", "\n  ", "\n\n  $transition: ", ";\n\n  letter-spacing: 0;\n\n  ", "\n"])), function (_a) {
    var $width = _a.$width, $size = _a.$size, $flexGrowHorizontal = _a.$flexGrowHorizontal;
    return $width || $size || ($flexGrowHorizontal ? '0' : undefined);
}, function (_a) {
    var $height = _a.$height, $size = _a.$size, $flexGrowVertical = _a.$flexGrowVertical;
    return $height || $size || ($flexGrowVertical ? '0' : undefined);
}, function (_a) {
    var $minWidth = _a.$minWidth;
    return $minWidth;
}, function (_a) {
    var $maxWidth = _a.$maxWidth;
    return $maxWidth;
}, function (_a) {
    var $minHeight = _a.$minHeight;
    return $minHeight;
}, function (_a) {
    var $maxHeight = _a.$maxHeight;
    return $maxHeight;
}, function (_a) {
    var $padding = _a.$padding;
    return $padding;
}, function (_a) {
    var $paddingTop = _a.$paddingTop, $paddingVertical = _a.$paddingVertical;
    return $paddingTop || $paddingVertical;
}, function (_a) {
    var $paddingRight = _a.$paddingRight, $paddingHorizontal = _a.$paddingHorizontal;
    return $paddingRight || $paddingHorizontal;
}, function (_a) {
    var $paddingBottom = _a.$paddingBottom, $paddingVertical = _a.$paddingVertical;
    return $paddingBottom || $paddingVertical;
}, function (_a) {
    var $paddingLeft = _a.$paddingLeft, $paddingHorizontal = _a.$paddingHorizontal;
    return $paddingLeft || $paddingHorizontal;
}, function (_a) {
    var _b = _a.$boxSizing, $boxSizing = _b === void 0 ? 'border-box' : _b;
    return $boxSizing;
}, function (_a) {
    var $margin = _a.$margin;
    return $margin;
}, function (_a) {
    var $marginTop = _a.$marginTop, $marginVertical = _a.$marginVertical;
    return $marginTop || $marginVertical;
}, function (_a) {
    var $marginRight = _a.$marginRight, $marginHorizontal = _a.$marginHorizontal;
    return $marginRight || $marginHorizontal;
}, function (_a) {
    var $marginBottom = _a.$marginBottom, $marginVertical = _a.$marginVertical;
    return $marginBottom || $marginVertical;
}, function (_a) {
    var $marginLeft = _a.$marginLeft, $marginHorizontal = _a.$marginHorizontal;
    return $marginLeft || $marginHorizontal;
}, function (_a) {
    var $color = _a.$color;
    return $color || _1.theme.color.extra.black;
}, function (_a) {
    var $background = _a.$background;
    return $background;
}, function (_a) {
    var $cursor = _a.$cursor;
    return $cursor;
}, function (_a) {
    var $border = _a.$border;
    return $border;
}, function (_a) {
    var $borderTop = _a.$borderTop;
    return $borderTop;
}, function (_a) {
    var $borderRight = _a.$borderRight;
    return $borderRight;
}, function (_a) {
    var $borderBottom = _a.$borderBottom;
    return $borderBottom;
}, function (_a) {
    var $borderLeft = _a.$borderLeft;
    return $borderLeft;
}, function (_a) {
    var $borderRadius = _a.$borderRadius;
    return $borderRadius;
}, function (_a) {
    var $textAlign = _a.$textAlign;
    return $textAlign;
}, function (_a) {
    var $textDecoration = _a.$textDecoration;
    return $textDecoration;
}, function (_a) {
    var $textDecorationLine = _a.$textDecorationLine;
    return $textDecorationLine;
}, function (_a) {
    var $position = _a.$position;
    return $position;
}, function (_a) {
    var $zIndex = _a.$zIndex;
    return $zIndex;
}, function (_a) {
    var $top = _a.$top;
    return $top;
}, function (_a) {
    var $right = _a.$right;
    return $right;
}, function (_a) {
    var $bottom = _a.$bottom;
    return $bottom;
}, function (_a) {
    var $left = _a.$left;
    return $left;
}, function (_a) {
    var $display = _a.$display;
    return $display;
}, function (_a) {
    var $alignItems = _a.$alignItems;
    return $alignItems;
}, function (_a) {
    var $justifyContent = _a.$justifyContent;
    return $justifyContent;
}, function (_a) {
    var $gap = _a.$gap;
    return $gap;
}, function (_a) {
    var _b = _a.$flexGrow, $flexGrow = _b === void 0 ? false : _b, $flexGrowHorizontal = _a.$flexGrowHorizontal, $flexGrowVertical = _a.$flexGrowVertical;
    return typeof $flexGrow === 'boolean'
        ? $flexGrow || $flexGrowHorizontal || $flexGrowVertical
            ? 1
            : undefined
        : $flexGrow;
}, function (_a) {
    var _b = _a.$flexShrink, $flexShrink = _b === void 0 ? false : _b;
    return typeof $flexShrink === 'boolean'
        ? $flexShrink
            ? 1
            : undefined
        : $flexShrink;
}, function (_a) {
    var _b = _a.$flexWrap, $flexWrap = _b === void 0 ? false : _b;
    return $flexWrap
        ? typeof $flexWrap === 'boolean'
            ? 'wrap'
            : $flexWrap
        : undefined;
}, function (_a) {
    var $display = _a.$display, _b = _a.$flexDirection, $flexDirection = _b === void 0 ? 'row' : _b;
    return $display === 'flex' ? $flexDirection : undefined;
}, function (_a) {
    var $ellipsis = _a.$ellipsis;
    return $ellipsis && typeof $ellipsis === 'number'
        ? _1.theme.ellipsisWithLines($ellipsis)
        : _1.theme.ellipsis;
}, function (_a) {
    var $display = _a.$display;
    return $display === 'flex' && (0, _1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n      & > * {\n        flex-grow: 0;\n        flex-shrink: 0;\n      }\n    "], ["\n      & > * {\n        flex-grow: 0;\n        flex-shrink: 0;\n      }\n    "])));
}, function (_a) {
    var _b = _a.$transition, $transition = _b === void 0 ? false : _b;
    return $transition
        ? "".concat(typeof $transition === 'boolean' ? 'all' : $transition, " ").concat(_1.theme.duration, " ease-in-out")
        : undefined;
}, function (_a) {
    var $css = _a.$css;
    return $css;
}); };
exports.forwardStyled = forwardStyled;
var templateObject_1, templateObject_2;
//# sourceMappingURL=wrapper.js.map