{"version":3,"file":"tom_select_controller-XgO2Glyh.js","sources":["../../../app/javascript/entrypoints/controllers/tom_select_controller.js"],"sourcesContent":["import { Controller } from \"@hotwired/stimulus\";\nimport TomSelect from \"tom-select\";\n\nexport default class extends Controller {\n static targets = [\"select\", \"valueContainer\"];\n select = null;\n\n connect() {\n this.initializeSelect();\n }\n\n disconnect() {\n this.destroySelect();\n }\n\n initializeSelect() {\n this.select = new TomSelect(this.selectTarget, {\n plugins: {\n clear_button: {\n html: (data) => {\n return `