document.addEventListener("DOMContentLoaded",()=>{var t=document.querySelectorAll("[data-choices]");t&&0<t.length&&t.forEach(t=>{var e={placeholderValue:t.hasAttribute("data-choices-groups")?"This is a placeholder set in the config":void 0,searchEnabled:t.hasAttribute("data-choices-search-true"),removeItemButton:t.hasAttribute("data-choices-removeItem")||t.hasAttribute("data-choices-multiple-remove"),shouldSort:!t.hasAttribute("data-choices-sorting-false"),maxItemCount:t.getAttribute("data-choices-limit")||void 0,duplicateItemsAllowed:!t.hasAttribute("data-choices-text-unique-true"),addItems:!t.hasAttribute("data-choices-text-disabled-true")},e=new Choices(t,e);t.hasAttribute("data-choices-text-disabled-true")&&e.disable()})});