{"version":3,"sources":["webpack:///./app/javascript/packs/show_hide_hostel_select.js"],"names":["$","document","ready","HOSTEL_SELECT_WRAPPER","REFERENCE_BY_SELECT","show","change"],"mappings":"+EAAAA,cAAEC,UAAUC,OAAM,WAGd,IAAMC,EAAwBH,EAAE,wBAC1BI,EAAsBJ,EAAE,uBAG9BG,EAAsBE,OAMlBD,EAAoBE,QAAO,WACvB,GAMZ,G","file":"js/12-8f710b57d90e9f697bf7.chunk.js","sourcesContent":["$(document).ready(function() {\n\n // Variables\n const HOSTEL_SELECT_WRAPPER = $(\".which-hotel-wrapper\");\n const REFERENCE_BY_SELECT = $(\"#referencedBySelect\");\n\n // Select always visible\n HOSTEL_SELECT_WRAPPER.show();\n\n // Function to Show/Hide which-hotel-wrapper If \"Hotel/Hostel\" is selected\n function showHideHostelSelect() {\n // Esta función ya no es necesaria ya que el campo siempre será visible\n // Se mantiene por compatibilidad pero no hace nada\n REFERENCE_BY_SELECT.change(function() {\n // No hacer nada, el campo siempre será visible\n })\n }\n\n // Function Calls\n showHideHostelSelect();\n});"],"sourceRoot":""}