1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["custom-dropdown"],{
1"./lib/components/custom-dropdown/index.js":function(e,n,o){o.r(n);var t=o("../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),s=o("../node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),c=o("../node_modules/@babel/runtime/helpers/esm/createClass.js");(function(){function e(){(0,s.Z)(this,e),e.convertLanguageSwitcher()}return(0,c.Z)(e,null,[{key:"convertLanguageSwitcher",value:function(){var e=document.querySelector(".js-custom-dropdown"),n=document.querySelector(".js-language-list"),o=e.querySelector(".js-custom-dropdown__list"),s=e.querySelector(".js-custom-dropdown__list--selected"),c=o.querySelectorAll(".js-custom-dropdown__list__item");s.querySelector("span").innerHTML=n.options[n.selectedIndex].innerHTML,(0,t.Z)(c).forEach((function(e){e.addEventListener("click",(function(e){s.querySelector("span").innerHTML=e.target.querySelector("span").innerHTML,s.click()}))})),s.addEventListener("click",(function(e){var n=!!window.MSInputMethodContext&&!!document.documentMode,t=document.querySelector(".chevron-down");n||t&&(t.classList.contains("chev-open")?t.classList.remove("chev-open"):t.classList.add("chev-open")),e.stopPropagation(),o.classList.toggle("js-open"),document.addEventListener("click",(function(){o.classList.contains("js-open")&&(o.classList.remove("js-open"),n||t.classList.remove("chev-open"))}))}))}},{key:"init",value:function(e){var n=this;
1(0,t.Z)(document.querySelectorAll(e)).forEach((function(e){return new n(e)}))}}]),e})().init(".js-custom-dropdown")}
1}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.