Sindbad~EG File Manager
{"version":3,"sources":["format_list.js"],"names":["define","$","common","ordering","init","css","opacity","visibility","animate","click","event","container","this","closest","find","length","preventDefault","toggleClass","slideToggle"],"mappings":"AAuBAA,OAAO,CAAC,SAAU,WAAY,0BAA2B,SAASC,EAAGC,EAAQC,GA2BzE,MAAO,CACHC,KAvBJ,WAEIH,EAAE,wBAAwBI,IAAI,CAACC,QAAS,EAAKC,WAAY,YAAYC,QAAQ,CAACF,QAAS,GAAM,IAAK,SAClGL,EAAE,gBAAgBI,IAAI,CAACC,QAAS,EAAKC,WAAY,YAAYC,QAAQ,CAACF,QAAS,GAAM,IAAK,SAE1FL,EAAE,oEAAoEQ,MAAM,SAASC,GACjF,IAAIC,EAAYV,EAAEW,MAAMC,QAAQ,cAChC,OAAIF,EAAUG,KAAK,gBAAgBC,SAC/BL,EAAMM,iBACNL,EAAUM,YAAY,aACtBN,EAAUG,KAAK,gBAAgBI,YAAY,SACpC,KAKfhB,EAAOE,OACPD,EAASC","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 <http://www.gnu.org/licenses/>.\n\n/**\n * Enhancements to Lists 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\ndefine(['jquery', './common', './format_card_ordering'], function($, common, ordering) {\n /**\n * Init method\n *\n */\n function init() {\n\n $('.general-single-card').css({opacity: 0.0, visibility: \"visible\"}).animate({opacity: 1.0}, 200, \"swing\");\n $('.single-card').css({opacity: 0.0, visibility: \"visible\"}).animate({opacity: 1.0}, 400, \"swing\");\n\n $('.sections .section .toggle-icon, body:not(.editing) .sectionname').click(function(event) {\n let container = $(this).closest('li.section');\n if (container.find('.card-footer').length) {\n event.preventDefault();\n container.toggleClass('collapsed');\n container.find('.card-footer').slideToggle('fast');\n return false;\n }\n return true;\n });\n\n common.init();\n ordering.init();\n }\n\n // Must return the init function.\n\n return {\n init: init\n };\n});\n"],"file":"format_list.min.js"}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists