"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var _chunkSFGLEWHWcjs = require('./chunk-SFGLEWHW.cjs');


var _chunkB2MHM6CYcjs = require('./chunk-B2MHM6CY.cjs');


var _chunk6VA4SAHQcjs = require('./chunk-6VA4SAHQ.cjs');


var _chunkEDMCWD63cjs = require('./chunk-EDMCWD63.cjs');




var _chunkZ6EUSUADcjs = require('./chunk-Z6EUSUAD.cjs');

// src/components/typography/base/Headline.tsx
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
var _jsxruntime = require('@emotion/react/jsx-runtime');
var headlineElements = ["h1", "h2", "h3", "h4", "h5", "h6"];
function HeadlineString(props) {
  const _a = getPropDefaults(props), { children } = _a, rest = _chunkZ6EUSUADcjs.__objRest.call(void 0, _a, ["children"]);
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledHeadline, _chunkZ6EUSUADcjs.__spreadProps.call(void 0, _chunkZ6EUSUADcjs.__spreadValues.call(void 0, {}, rest), { children }));
}
function getPropDefaults(props) {
  return _chunkSFGLEWHWcjs.getPropDefaultsBase.call(void 0, props, { as: props.heading || "h1" });
}
var StyledHeadline = _styled2.default.span`
  ${({ theme, size, colorProp }) => _chunkEDMCWD63cjs.applyTypography.call(void 0, theme, "Headline", size, colorProp)}
  ${_chunkB2MHM6CYcjs.typographyStyles}
`;
function headlineSelector(heading) {
  return `${heading}${_chunk6VA4SAHQcjs.select.call(void 0, StyledHeadline)}`;
}
var ALL_HEADLINE_SELECTORS = headlineElements.map(headlineSelector).join(",");








exports.headlineElements = headlineElements; exports.HeadlineString = HeadlineString; exports.getPropDefaults = getPropDefaults; exports.StyledHeadline = StyledHeadline; exports.headlineSelector = headlineSelector; exports.ALL_HEADLINE_SELECTORS = ALL_HEADLINE_SELECTORS;
