{"version":3,"sources":["https:\/\/moodle.tau.ac.il\/2023\/course\/format\/remuiformat\/amd\/src\/headerreplaces.js"],"names":["define","$","init","document","ready","headercontent","html","replaceWith"],"mappings":"AAwBAA,OAAO,CAAC,UAAW,SAASC,GAcxB,MAAO,CACHC,KAVJ,WAEID,EAAEE,UAAUC,MAAM,WACd,IAAIC,EAAgBJ,EAAE,+BAA+BK,OACrDL,EAAE,sBAAsBM,YAAYF","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 * Enhancements to all components for easy course accessibility.\n *\n * @module format\/remuiformat\n * @copyright WisdmLabs\n * @license http:\/\/www.gnu.org\/copyleft\/gpl.html GNU GPL v3 or later\n *\/\n\n\ndefine(['jquery'], function($) {\n \/**\n * Init method\n *\n *\/\n function init() {\n \/\/ eslint-disable-next-line no-console\n $(document).ready(function() {\n var headercontent = $(\".rmuiformate-header-wrapper\").html();\n $('#page #page-header').replaceWith(headercontent);\n \/\/ $('.rmuiformate-header-wrapper').removeClass(\"d-none\");\n });\n }\n \/\/ Must return the init function.\n return {\n init: init\n };\n});\n"],"file":"headerreplaces.min.js"}