{"version":3,"sources":["js\\tools\\LayerList.js"],"names":["modal","document","getElementById","btn","close","onclick","style","display","window","event","target"],"mappings":";AACA,IAAIA,EAAQC,SAASC,eAAe,kBAGhCC,EAAMF,SAASC,eAAe,mBAI9BE,EAAQH,SAASC,eAAe,kBAGpCC,EAAIE,QAAU,WACJC,EAAAA,MAAMC,QAAU,SAI1BH,EAAMC,QAAU,WACNC,EAAAA,MAAMC,QAAU,QAI1BC,OAAOH,QAAU,SAAUI,GACnBA,EAAMC,QAAUV,IACVM,EAAAA,MAAMC,QAAU","file":"LayerList.d847783c.map","sourceRoot":"..","sourcesContent":["// Get the modal\r\nvar modal = document.getElementById('LayerListPopup');\r\n\r\n// Get the button that opens the modal\r\nvar btn = document.getElementById(\"LayerListToggle\");\r\n\r\n// Get the element that closes the modal\r\n// var span = document.getElementsByClassName(\"close\")[0];\r\nvar close = document.getElementById(\"CloseLayerList\");\r\n\r\n// When the user clicks on the button, open the modal\r\nbtn.onclick = function () {\r\n modal.style.display = \"block\";\r\n}\r\n\r\n// When the user clicks on (x), close the modal\r\nclose.onclick = function () {\r\n modal.style.display = \"none\";\r\n}\r\n\r\n// When the user clicks anywhere outside of the modal, close it\r\nwindow.onclick = function (event) {\r\n if (event.target == modal) {\r\n modal.style.display = \"none\";\r\n }\r\n} "]}