{"version":3,"file":"language-picker-95f6760b.js","sources":["../../scripts/components/language-picker.ts"],"sourcesContent":["const initialiseLanguagePicker = () => {\n const languagePickerToggle = document.querySelector(\n \".js-language-picker-toggle\",\n );\n const languagePickerList = document.querySelector(\n \".js-language-picker-list\",\n );\n\n if (!languagePickerToggle || !languagePickerList) {\n return;\n }\n\n languagePickerToggle.addEventListener(\"click\", () => {\n languagePickerToggle.classList.toggle(\"is-active\");\n languagePickerList.classList.toggle(\"is-open\");\n });\n\n};\n\nexport default initialiseLanguagePicker;\n"],"names":["initialiseLanguagePicker","languagePickerToggle","languagePickerList"],"mappings":"AAAA,MAAMA,EAA2B,IAAM,CACrC,MAAMC,EAAuB,SAAS,cACpC,4BAAA,EAEIC,EAAqB,SAAS,cAClC,0BAAA,EAGE,CAACD,GAAwB,CAACC,GAITD,EAAA,iBAAiB,QAAS,IAAM,CAC9BA,EAAA,UAAU,OAAO,WAAW,EAC9BC,EAAA,UAAU,OAAO,SAAS,CAAA,CAC9C,CAEH"}