show = (createModal) => {
    const { _dom, _state } = globalObj;

    if (_state._consentModalVisible)
        return;

    if (!_state._consentModalExists) {
        if (createModal) {
            createConsentModal(miniAPI, createMainContainer);
        } else {
            return;
        }
    }

    _state._consentModalVisible = true;
    _state._lastFocusedElemBeforeModal = getActiveElement();

    if (_state._disablePageInteraction)
        toggleDisableInteraction(true);

    focusAfterTransition(_dom._cm, 1);

    addClass(_dom._htmlDom, TOGGLE_CONSENT_MODAL_CLASS);
    setAttribute(_dom._cm, ARIA_HIDDEN, 'false');

    /**
     * Set focus to consentModal and enable transition
     */
    setTimeout(() => {
        addClass(_dom._cmContainer, 'cc--anim');
        focus(globalObj._dom._cmDivTabindex);
    }, 100);

    debug('CookieConsent [TOGGLE]: show consentModal');

    fireEvent(globalObj._customEvents._onModalShow, CONSENT_MODAL_NAME);
}
Show cookie consent modal
@param {boolean} [createModal] create modal if it doesn't exist