mercury_editor-2.0.x-dev/build/js/component-form.min.js
build/js/component-form.min.js
!function(){"use strict";((t,e)=>{t.behaviors.mercuryEditorComponentForm={attach:function(t,o){if(t.classList.contains("layout-paragraphs-component-form")){const e=t.querySelector('.layout-select input[type="radio"]:checked');e&&e.focus()}const r=e("me-component-form","mercury-dialog .layout-paragraphs-component-form")[0];r&&r.closest("mercury-dialog").addEventListener("open",(t=>{const e=t.target.shadowRoot.querySelector("dialog"),o=e.offsetWidth+"px",r=e.offsetHeight+"px";t.target.style.setProperty("--me-dialog-width-default",o),t.target.style.setProperty("--me-dialog-height-default",r)}))}}})(Drupal,once)}();
