"use strict";var S=Object.create;var r=Object.defineProperty;var z=Object.getOwnPropertyDescriptor;var H=Object.getOwnPropertyNames;var g=Object.getPrototypeOf;var x=Object.prototype.hasOwnProperty;var l=(e,t)=>r(e,"name",{value:t,configurable:true});var T=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:true})};var a=(e,t,n,i)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let o of H(t))if(!x.call(e,o)&&o!==n)r(e,o,{get:()=>t[o],enumerable:!(i=z(t,o))||i.enumerable})}return e};var p=(e,t,n)=>(n=e!=null?S(g(e)):{},a(t||!e||!e.__esModule?r(n,"default",{value:e,enumerable:true}):n,e));var E=e=>a(r({},"__esModule",{value:true}),e);var M={};T(M,{H1:()=>N,H2:()=>P,H3:()=>R,H4:()=>C,H5:()=>I});module.exports=E(M);var f=require("react/jsx-runtime");var d=p(require("classnames"));var c=require("react");var h=p(require("react-jss"));const v=l(e=>({headline:{fontWeight:"lighter",color:e.colorText,marginTop:0,marginBottom:10,textAlign:"left"},h1:{fontSize:e.uiFontSize+3,marginTop:0},h2:{fontSize:e.uiFontSize+2},h3:{fontSize:e.uiFontSize+1},h4:{fontSize:e.uiFontSize},h5:{fontSize:e.uiFontSize-1}}),"styles");class m extends c.Component{render(){const{classes:t,level:n,className:i,children:o,id:y,onClick:u}=this.props;return(0,c.createElement)(`h${n}`,{id:y,className:(0,d.default)({[t.headline]:true,[t[n?`h${n}`:"h1"]]:true,[`${i}`]:i}),"data-type":"franz-headline",onClick:u},o)}}l(m,"HeadlineComponent");const F=(0,h.default)(v,{injectTheme:true})(m);const s=l(e=>t=>(0,f.jsx)(F,{level:e,...t,children:t.children}),"createH");const N=s(1);const P=s(2);const R=s(3);const C=s(4);const I=s(5);
