{"version":3,"file":"tags_new_controller-pibiQ0Ys.js","sources":["../../../app/javascript/entrypoints/controllers/tags_new_controller.js"],"sourcesContent":["import { Controller } from \"@hotwired/stimulus\";\nimport TomSelect from \"tom-select\";\n\nexport default class extends Controller {\n static targets = [\"select\", \"tagsList\"];\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 remove_button: {},\n clear_button: {\n html: (data) => {\n return `