{"version":3,"sources":["app.js"],"names":["registerComponents","components","onLoad","context","arguments","length","undefined","document","current","Document","config","querySelector","window","location","pathname","toLowerCase","parentElement","classList","add","addEventListener","e","target"],"mappings":"MAAA,4BACAA,kBAAA,KAAA,yBACAC,eAAA,wBACA,SAMA,SAAAC,SAAA,IAAAC,EAAA,EAAAC,UAAAC,QAAAC,KAAAA,IAAAF,UAAA,GAAAA,UAAA,GAAAG,SASAC,GAPAL,aAAAM,UAAA,CAAA,IAAAC,OAAAV,oBACAA,mBAAAC,UAAA,EAMAE,EAAAQ,cAAA,oCAAAC,OAAAC,SAAAC,SAAAC,YAAA,EAAA,IAAA,GAFA,MAAAP,GACAA,EAAAQ,cAAAC,UAAAC,IAAA,QAAA,CACA,CAXAX,OAAAA,EAAAA,SAAAY,iBAAA,oBAAA,SAAAC,GAAA,OAAAlB,OAAAkB,EAAAC,MAAA,CAAA,CAAA,SAEAnB,MASA","file":"app.js","sourcesContent":["import 'bootstrap.collapse';\r\nimport { registerComponents } from 'component-utils';\r\nimport components from 'core-components';\r\nimport 'global';\r\n\r\nonLoad();\r\n\r\ndocument.addEventListener('DOMContentUpdated', e => onLoad(e.target));\r\n\r\nexport function onLoad(context = document) {\r\n // Register the components (if applicable).\r\n if (context instanceof Document && config.registerComponents !== false)\r\n registerComponents(components);\r\n\r\n const current = context.querySelector('#right-column .widget li a[href=\"' + window.location.pathname.toLowerCase() + '\"]');\r\n\r\n if (current != null)\r\n current.parentElement.classList.add('active');\r\n}"]}