/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","./componentsUtils"],(function(e,n){"use strict";
/*!
   * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
   * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
   * v1.0.0-beta.82
   */function t(e){return Math.min(Math.max(Math.ceil(e),1),6)}const i=(e,t)=>{const i=`h${e.level}`;return delete e.level,n.h(i,Object.assign({},e),t)};e.Heading=i,e.constrainHeadingLevel=t}));
