{"version":3,"file":"reactive.min.js","sources":["https:\/\/www.alsg.org\/home\/lib\/amd\/src\/reactive.js"],"sourcesContent":["\/\/ This file is part of Moodle - http:\/\/moodle.org\/\n\/\/\n\/\/ Moodle is free software: you can redistribute it and\/or modify\n\/\/ it under the terms of the GNU General Public License as published by\n\/\/ the Free Software Foundation, either version 3 of the License, or\n\/\/ (at your option) any later version.\n\/\/\n\/\/ Moodle is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\/\/ GNU General Public License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU General Public License\n\/\/ along with Moodle. If not, see .\n\n\/**\n * Generic reactive module used in the course editor.\n *\n * @module core\/reactive\n * @copyright 2021 Ferran Recio \n * @license http:\/\/www.gnu.org\/copyleft\/gpl.html GNU GPL v3 or later\n *\/\n\nimport BaseComponent from 'core\/local\/reactive\/basecomponent';\nimport Reactive from 'core\/local\/reactive\/reactive';\nimport DragDrop from 'core\/local\/reactive\/dragdrop';\nimport {initDebug} from 'core\/local\/reactive\/debug';\n\n\/\/ Register a debug module if we are in debug mode.\nlet debug;\nif (M.cfg.developerdebug && M.reactive === undefined) {\n const debugOBject = initDebug();\n M.reactive = debugOBject.debuggers;\n debug = debugOBject.debug;\n}\n\nexport {Reactive, BaseComponent, DragDrop, debug};\n"],"names":["debug","M","cfg","developerdebug","undefined","reactive","debugOBject","debuggers"],"mappings":";;;;;;;SA6BIA,gjBACAC,EAAEC,IAAIC,qBAAiCC,IAAfH,EAAEI,SAAwB,OAC5CC,aAAc,sBACpBL,EAAEI,SAAWC,YAAYC,yBACzBP,MAAQM,YAAYN"}