/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
v4.34.7 */
import{a as c,b as m}from"./CAGG7IOD.js";import{a as l}from"./2Z6ISORA.js";import{b as o}from"./IMJMO6DB.js";import{K as t,M as n}from"./RNRMSLW5.js";function x({level:a,class:s,id:e,children:f,excludeGlobalCss:h}){let i=$(a),u=`h${i}`,r=c(u);return m`<${r} .ariaLevel=${String(i)} class=${t(o(h?s:l.heading,s))} id=${e??n} role=heading>${f}</${r}>`}function p(a,s,e){return Math.min(Math.max(a,s),e)}function $(a){return p(Math.ceil(a),1,6)}export{x as a};
