{"version":3,"file":"tabsglobalsetup.min.js","sources":["https:\/\/2023.qmplus.qmul.ac.uk\/local\/tabableformathelpers\/amd\/src\/tabsglobalsetup.js"],"sourcesContent":["import {BaseComponent} from 'core\/reactive';\nimport {getCurrentCourseEditor} from 'core_courseformat\/courseeditor';\n\nexport default class extends BaseComponent {\n static init(target) {\n return new this({\n element: document.getElementById(target),\n reactive: getCurrentCourseEditor()\n });\n }\n\n stateReady() {\n getCurrentCourseEditor().dispatch('RefreshTabs');\n }\n}\n"],"names":["BaseComponent","target","this","element","document","getElementById","reactive","stateReady","dispatch"],"mappings":"oQAG6BA,oCACbC,eACD,IAAIC,KAAK,CACZC,QAASC,SAASC,eAAeJ,QACjCK,UAAU,4CAIlBC,wDAC6BC,SAAS"}