/*!
 * KoliBri - The accessible HTML-Standard
 */
"use strict";const isObject=t=>"object"==typeof t&&null!==t,isString=(t,e=0)=>"string"==typeof t&&t.length>=e,isStyle=t=>{if("object"!=typeof t||null===t)return isString(t,1);for(const e in t)if(!1===isString(e,1))return!1;return!0},STATE_CHANGE_EVENT=new Event("StateChange"),propagateFocus=(t,e)=>{isObject(t)&&t&&(t.focus=t=>null==e?void 0:e.focus(t))};exports.processEnv="development";try{exports.processEnv="production"}catch(t){exports.processEnv="production"}const handleSlotContent=(t,e,o)=>{if(t&&e&&"string"==typeof o){const s=t.querySelector(`[slot="${o}"]`);s&&e.appendChild(s)}},showExpertSlot=t=>""===t;exports.STATE_CHANGE_EVENT=STATE_CHANGE_EVENT,exports.handleSlotContent=handleSlotContent,exports.isObject=isObject,exports.isString=isString,exports.isStyle=isStyle,exports.propagateFocus=propagateFocus,exports.showExpertSlot=showExpertSlot;