<html><head></head><body>{"version":3,"sources":["webpack:///./src/feature/mobile-menu/mobile-menu.js"],"names":["classes","open","activeItem","mobileItemClass","openMobileItem","MobileMenu","element","el","body","window","features","dom","initDomCache","mobileExpanders","querySelectorAll","addEventListeners","addSubscriptions","addEventListener","link","e","preventDefault","toggleMenu","forEach","item","hideMobileContent","toggleMobileItem","target","contains","classList","remove","subscribe","publish","add","secondSection","openSection","setActiveItem","clearSecondSection","section","closest","querySelector","style","maxHeight","targetSection","targetHasSection","offsetHeight","setTimeout","scrollHeight","topSection","BaseFeature"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;AAEA,IAAMA,UAAU;AACfC,OAAM,qBADS;AAEfC,aAAY,6BAFG;AAGfC,kBAAiB,sBAHF;AAIfC,iBAAgB;AAJD,CAAhB;;IAOqBC,U;;;AACpB,qBAAYC,OAAZ,EAAqB;AAAA;;AAAA,sHACdA,OADc;;AAEpB,QAAKC,EAAL,GAAUD,OAAV;AACA,QAAKE,IAAL,GAAYC,OAAOC,QAAP,CAAgBC,GAAhB,CAAoBH,IAAhC;AACA,QAAKI,YAAL;;AAEA,QAAKC,eAAL,GAAuB,MAAKN,EAAL,CAAQO,gBAAR,CAAyB,2BAAzB,CAAvB;;AAEA,QAAKC,iBAAL;AACA,QAAKC,gBAAL;AAToB;AAUpB;;;;sCAEmB;AAAA;;AACnB,QAAKC,gBAAL,CAAsB,KAAKN,GAAL,CAASO,IAA/B,EAAqC,OAArC,EAA8C,UAACC,CAAD,EAAO;AACpDA,MAAEC,cAAF;AACA,WAAKC,UAAL;AACA,IAHD;;AAKA;AACA,QAAKR,eAAL,CAAqBS,OAArB,CAA6B,UAACC,IAAD,EAAU;AACtClB,eAAWmB,iBAAX,CAA6BD,IAA7B;;AAEA,WAAKN,gBAAL,CAAsBM,IAAtB,EAA4B,OAA5B,EAAqC,UAACJ,CAAD,EAAO;AAC3CA,OAAEC,cAAF;AACAf,gBAAWoB,gBAAX,CAA4BN,EAAEO,MAA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AAnB3C,U","file":"24-91d49e57.pkg.js","sourcesContent":["import BaseFeature from '../../foundation/base/base';\r\n\r\nconst classes = {\r\n\topen: 'o-mobile-menu--open',\r\n\tactiveItem: 'o-mobile-menu__link--active',\r\n\tmobileItemClass: '.o-mobile-menu__item',\r\n\topenMobileItem: 'o-mobile-menu__item--open'\r\n};\r\n\r\nexport default class MobileMenu extends BaseFeature {\r\n\tconstructor(element) {\r\n\t\tsuper(element);\r\n\t\tthis.el = element;\r\n\t\tthis.body = window.features.dom.body;\r\n\t\tthis.initDomCache();\r\n\r\n\t\tthis.mobileExpanders = this.el.querySelectorAll('[data-js=\"item-expander\"]');\r\n\r\n\t\tthis.addEventListeners();\r\n\t\tthis.addSubscriptions();\r\n\t}\r\n\r\n\taddEventListeners() {\r\n\t\tthis.addEventListener(this.dom.link, 'click', (e) =&gt; {\r\n\t\t\te.preventDefault();\r\n\t\t\tthis.toggleMenu();\r\n\t\t});\r\n\r\n\t\t// Mobile items\r\n\t\tthis.mobileExpanders.forEach((item) =&gt; {\r\n\t\t\tMobileMenu.hideMobileContent(item);\r\n\r\n\t\t\tthis.addEventListener(item, 'click', (e) =&gt; {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\tMobileMenu.toggleMobileItem(e.target);\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\tthis.addEventListener(this.body, 'click', (e) =&gt; {\r\n\t\t\tif (!this.el.contains(e.target)) {\r\n\t\t\t\tthis.el.classList.remove(classes.open);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\taddSubscriptions() {\r\n\t\tthis.subscribe('/header/action/switch', () =&gt; {\r\n\t\t\tif (this.el.classList.contains(classes.open)) {\r\n\t\t\t\tthis.el.classList.remove(classes.open);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\t/* ------------------------------------ *\\\r\n\t\t\t\tGeneral methods\r\n\t\\* ------------------------------------ */\r\n\r\n\ttoggleMenu() {\r\n\t\tif (this.el.classList.contains(classes.open)) {\r\n\t\t\tthis.el.classList.remove(classes.open);\r\n\t\t} else {\r\n\t\t\tthis.publish('/header/action/switch');\r\n\t\t\tthis.el.classList.add(classes.open);\r\n\t\t}\r\n\t}\r\n\r\n\r\n\tcloseMenu() {\r\n\t\tif (this.dom.secondSection.classList.contains(classes.openSection)) {\r\n\t\t\tthis.dom.secondSection.classList.remove(classes.openSection);\r\n\t\t}\r\n\t\tif (this.el.classList.contains(classes.open)) {\r\n\t\t\tthis.el.classList.remove(classes.open);\r\n\t\t}\r\n\t\tthis.setActiveItem(null); // Remove active items when menu is closed\r\n\t\tthis.clearSecondSection();\r\n\t}\r\n\r\n\r\n\t/* ------------------------------------ *\\\r\n\t\t\t\tDesktop methods\r\n\t\\* ------------------------------------ */\r\n\r\n\t/* ------------------------------------ *\\\r\n\t\t\t\tMobile methods\r\n\t\\* ------------------------------------ */\r\n\r\n\tstatic hideMobileContent(item) {\r\n\t\tconst section = item.closest(classes.mobileItemClass).querySelector('[data-js=\"item-section\"]');\r\n\t\tsection.style.maxHeight = '0px';\r\n\t}\r\n\r\n\tstatic toggleMobileItem(item) {\r\n\t\t// TODO: Update function to not use 'max-height none'.\r\n\t\t// Then we dont need to use a timeout, causing a slight delay in UX\r\n\t\tconst target = item.closest(classes.mobileItemClass); // Get closest item\r\n\t\tconst targetSection = target.querySelector('[data-js=\"item-section\"]'); // Get section that should be expanded\r\n\t\tconst targetHasSection = targetSection.querySelector('[data-js=\"item-section\"]'); // Check if section has children sections\r\n\r\n\t\tif (target.classList.contains(classes.openMobileItem)) {\r\n\t\t\t// If item is open, remove class\r\n\r\n\t\t\t// Due to using 'max-height none' further down, before we can close item,\r\n\t\t\t// we need calculate the height and then set it to none.\r\n\t\t\ttarget.classList.remove(classes.openMobileItem);\r\n\t\t\ttargetSection.style.maxHeight = targetSection.offsetHeight + 'px';\r\n\t\t\t// We need an empty timeout to be able to calculate height properly\r\n\t\t\t// due to 'co-operative multitasking'\r\n\t\t\tsetTimeout(() =&gt; {\r\n\t\t\t\ttargetSection.style.maxHeight = '0px';\r\n\t\t\t}, 0);\r\n\t\t} else {\r\n\t\t\t// Else, add 'open' class to item\r\n\t\t\ttarget.classList.add(classes.openMobileItem);\r\n\t\t\t// Update target section height\r\n\t\t\tif (targetSection) {\r\n\t\t\t\ttargetSection.style.maxHeight = targetSection.scrollHeight + 'px';\r\n\t\t\t}\r\n\t\t\t// If target has no section, we need to update closest second section height\r\n\t\t\tif (!targetHasSection) {\r\n\t\t\t\tconst topSection = target.closest('.o-mobile-menu__second-section');\r\n\t\t\t\ttopSection.style.maxHeight = 'none';\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n"],"sourceRoot":""}<style>
.hidden {
display: none;
}
</style>

<a href="http://www.haerbinjiudian.com"  class="hidden">Sports-platform-contactus@haerbinjiudian.com</a>
<a href="http://isxhgx.778jz.com" class="hidden">中华人流网</a>
<a href="http://www.sdshty.com"  class="hidden">博彩app下载</a>
<a href="http://www.zgdx8.com"  class="hidden">威廉希尔</a>
<a href="http://www.letaoyizs.com"  class="hidden">Sports-betting-service@letaoyizs.com</a>
<a href="http://www.jayconscious.com"  class="hidden">体育博彩</a>
<a href="http://mhgrds.wakeikyo.com" class="hidden">西安电子科技大学本科招生信息网</a>
<a href="http://www.seezl.com"  class="hidden">皇冠体育</a>
<a href="http://web-sitemap.photographywaltz.com" class="hidden">比特网网络频道</a>
<a href="http://www.asungroup.com"  class="hidden">太阳城网址</a>
<a href="http://xicorz.gz-yijiang.com" class="hidden">卧虎藏龙手游官网</a>
<a href="http://web-sitemap.517b2b.com" class="hidden">高速宝违章查询平台</a>
<a href="http://www.berxwedan.net"  class="hidden">Crown-betting-marketing@berxwedan.net</a>
<a href="http://web-sitemap.sunwavecentre.com" class="hidden">浙江农信</a>
<a href="http://www.sydotnet.net"  class="hidden">Football-platform-careers@sydotnet.net</a>
<a href="http://www.letaoyizs.com"  class="hidden">皇冠体育</a>
<a href="http://www.lcxlxxjc.com"  class="hidden">hg皇冠</a>
<a href="http://www.yutb.net"  class="hidden">新葡京</a>
<a href="http://lmnebt.ekeke.net" class="hidden">DENON中国官网</a>

<a href="https://www.deep6gear.com/catalogsearch/result/?q=365电子竞技盘口(中国)有限公司✔️官方网址:la777.net✔️" class="hidden">三门峡生活网</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=靠谱的赌博平台-维基百科✔️官方网址:la777.net✔️.sxg" class="hidden">南方网深圳新闻</a>
<a href="https://acrmc.com/search/最热门的网赌网址大全(关于最热门的网赌网址大全的简介)✔️网址:ad11.net✔️" class="hidden">圣华农科</a>
<a href="https://stock.adobe.com/search?k=八方体育官方网站(关于八方体育官方网站的简介)✔️最新网址:la55.net✔️" class="hidden">青岛医院网上挂号</a>
<a href="https://stock.adobe.com/search?k=✔️官方网址:la777.net✔️365买球app平台介绍" class="hidden">汇法网</a>
<a href="https://es-la.facebook.com/public/加拿大28网址(中国)有限公司✔️官方网址:la777.net✔️.ngu" class="hidden">《X幻想》官方网站</a>
<a href="https://m.facebook.com/public/>>✔️网址:la66.net✔️手输<<美高梅体育官方入口>>✔️网址:la66.net✔️手输<<美高梅体育官方入口.msg" class="hidden">大连瓜皮岛旅游网</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=新万博客户端2.0下载>>✔️网址:la66.net✔️手输<<新万博客户端2.0下载>>✔️网址:la66.net✔️手输<<" class="hidden">中金在线股票个股频道</a>
<a href="https://acrmc.com/search/✔️官方网址:la777.net✔️澳门黄金城赌城官网✔️官方网址:la777.net✔️澳门黄金城赌城官网.kjj" class="hidden">海南楼盘网</a>
<a href="https://acrmc.com/search/幸运28网站大全-维基百科✔️网址:ad11.net✔️.uxc" class="hidden">雪茄百汇</a>

<a href="/sttcs/hot-news/misology.html" class="hidden">商品总汇</a>
<a href="/CN/vrdtad-205047.html" class="hidden">南京大学金陵学院</a>
<a href="/cn/uvmtvs-807590" class="hidden">路亚之家论坛</a>
<a href="/sttcs/hot-news/underearth.html" class="hidden">四川天气预报</a>
<a href="/sttcs/hot-news/inkmaking.html" class="hidden">驾校一点通驾驶员从业资格证考试</a>


</body></html>