{"version":3,"file":"designer.min.js","sources":["https:\/\/lmsacelab.com\/m45\/local\/designer\/amd\/src\/designer.js"],"sourcesContent":["\/* global lc_color_picker *\/\r\ndefine(['local_designer\/gradient'], function() {\r\n\r\n return {\r\n init: () => {\r\n\r\n \/* var SELECTORS = {\r\n fullScreen: '.course-header-full-screen',\r\n scrollArrowContainer: '.course-header-scroll-arrow',\r\n arrow: '.scroll-arrow-parent'\r\n };\r\n\r\n var courseHeader = document.querySelector(SELECTORS.fullScreen);\r\n \/\/ Course header is not fullscreen, no need to go further.\r\n if (courseHeader === null || courseHeader === undefined) {\r\n return;\r\n }\r\n\r\n \/\/ Scroll Arrow section.\r\n var downIconContainer = document.querySelector(SELECTORS.scrollArrowContainer);\r\n if (downIconContainer === null) {\r\n return;\r\n }\r\n \/\/ Show the down icon parent after 3 seconds.\r\n setTimeout(() => downIconContainer.classList.remove('hide'), 3000); *\/\r\n var sectionDesignerBackground = document.getElementById(\"id_sectiondesignerbackgradient\");\r\n if (sectionDesignerBackground) {\r\n new lc_color_picker(sectionDesignerBackground, {\r\n modes : ['linear-gradient'],\r\n });\r\n }\r\n\r\n var sectionAdminDesignerBackground = document.getElementById(\"id_s_format_designer_sectiondesignercustom_masksize\");\r\n if (sectionAdminDesignerBackground) {\r\n new lc_color_picker(sectionAdminDesignerBackground, {\r\n modes : ['linear-gradient'],\r\n });\r\n }\r\n\r\n var moduleDesignerBackground = document.getElementById(\"id_designer_backgradient\");\r\n if (moduleDesignerBackground) {\r\n new lc_color_picker(moduleDesignerBackground, {\r\n modes : ['linear-gradient'],\r\n });\r\n }\r\n }\r\n };\r\n});\r\n"],"names":["define","init","sectionDesignerBackground","document","getElementById","lc_color_picker","modes","sectionAdminDesignerBackground","moduleDesignerBackground"],"mappings":"AACAA,iCAAO,CAAC,4BAA4B,iBAEzB,CACHC,KAAM,SAqBEC,0BAA4BC,SAASC,eAAe,kCACpDF,+BACIG,gBAAgBH,0BAA2B,CAC3CI,MAAQ,CAAC,yBAIbC,+BAAiCJ,SAASC,eAAe,uDACzDG,oCACIF,gBAAgBE,+BAAgC,CAChDD,MAAQ,CAAC,yBAIbE,yBAA2BL,SAASC,eAAe,4BACnDI,8BACIH,gBAAgBG,yBAA0B,CAC1CF,MAAQ,CAAC"}