function initNestedSortables(e,t){e=document.querySelectorAll(e);e.length&&e.forEach(e=>{new Sortable(e,t)})}initNestedSortables(".nested-sortable",{group:"nested",ghostClass:"sortable-item-ghost",animation:150,fallbackOnBody:!0,swapThreshold:.65,onStart:function(e){e.item.classList.add("sortable-drag")},onEnd:function(e){e.item.classList.remove("sortable-drag")}}),initNestedSortables(".nested-sortable-handle",{handle:".sort-handle",ghostClass:"sortable-item-ghost",group:"nested",animation:150,fallbackOnBody:!0,swapThreshold:.65});