(()=>{const{GHOSTKIT:{events:e}}=window;e.on(document,"init.blocks.gkt",(()=>{document.querySelectorAll(".is-style-styled:not(.is-style-styled-ready)").forEach((t=>{const s=parseInt(t.getAttribute("start"),10),l=null!==t.getAttribute("reversed"),r=t.children.length;t.classList.add("is-style-styled-ready"),l?t.style.counterReset=`li ${(s||r)+1}`:s&&(t.style.counterReset="li "+(s-1)),e.trigger(t,"prepare.numberedList.gkt")}))}))})();