import{r as i,h as a}from"./p-52e3bb32.js";import{T as g,a as o}from"./p-d1886fff.js";const d=class{constructor(a){i(this,a),this.afText="",this.afVariation=void 0,this.afLevel=g.H1,this.afLang="sv"}focusOnHeading(){this.headingElement.focus()}get cssModifiers(){return{"digi-typography-heading-jumbo--primary":this.afVariation===o.PRIMARY,"digi-typography-heading-jumbo--secondary":this.afVariation===o.SECONDARY}}render(){return a(this.afLevel,{key:"77209e0a97d6bc0be66df81e1be66e8b9abcf4ca",ref:i=>this.headingElement=i,class:Object.assign({"digi-typography-heading-jumbo":!0},this.cssModifiers),lang:this.afLang,tabindex:-1},this.afText)}};d.style='.sc-digi-typography-heading-jumbo-h{display:block}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo{font-size:var(--digi--typography--heading-jumbo--font-size--desktop);font-family:var(--digi--global--typography--font-family--default);color:var(--digi--color--text--primary);font-weight:var(--digi--typography--heading-jumbo--font-weight--desktop)}@media (min-width: 61.9375rem){.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo{font-size:var(--digi--typography--heading-jumbo--font-size--desktop-large)}}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo--secondary.sc-digi-typography-heading-jumbo{color:var(--digi--grayscale--0)}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo::after{content:"";width:11.875rem;height:0.4375rem;background:var(--digi--color--border--accent--primary);display:block;margin-top:var(--digi--padding--small)}@media (min-width: 61.9375rem){.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo::after{width:13.75rem;margin-top:var(--digi--margin--h2-large);height:0.625rem}}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo--secondary.sc-digi-typography-heading-jumbo::after{background:var(--digi--color--border--accent--secondary)}digi-typography .sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo{margin-bottom:var(--digi--margin--medium)}';export{d as digi_typography_heading_jumbo}