import{c as n}from"./vendor-HosIAaPb.js";import"./leaflet-tkpg15bm.js";const o={link:!0,listType:"ol",listClassName:"acms-ol",itemClassName:"acms-ol-item",linkClassName:"scrollTo",anchorName:"heading-$1",exceptClass:"js-except",levelLimit:5},m=(e,r={})=>{requestAnimationFrame(()=>{const a=e.getAttribute("data-target");if(!a||!document.querySelector(a))return;const l=new n(e),s={};Object.keys(o).forEach(i=>{let t=e.getAttribute(`data-${i}`);t&&(isNaN(t)===!1&&(t=parseInt(t,10)),(t==="true"||t==="false")&&(t=t==="true"),s[i]=t)}),l.makeList(a,{...o,...r,...s})})};export{m as default};
