<html><head></head><body>{"version":3,"file":"peopleDetailMasthead-CqbIGFPz.js","sources":["../../src/scripts/modules/peopleDetailMasthead.ts"],"sourcesContent":["import { Component } from '@verndale/core';\nimport modalTemplate from '../../html/components/modal.hbs';\nimport Modal from './modal';\n\nclass PeopleDetailMasthead extends Component {\n setupDefaults() {\n this.dom = {\n $modalButton: this.el.querySelector<htmlelement>('.people-detail-masthead__transcript-button')\n };\n }\n\n addListeners() {\n (this.dom.$modalButton as HTMLElement)?.addEventListener(\n 'click',\n this.handleModalButtonClick.bind(this)\n );\n }\n\n handleModalButtonClick(e: Event) {\n const target = e.target as HTMLElement;\n const modal = document.querySelector(`[data-modal-id=\"${target.dataset.modalTrigger}\"`);\n\n if (modal) {\n modal?.setAttribute('open', 'true');\n } else {\n const compiledModal = modalTemplate(\n {\n content: target.dataset.modalContent,\n modalId: target.dataset.modalTrigger\n },\n { viewMode: 'docs' }\n );\n\n document.body.insertAdjacentHTML('beforeend', compiledModal);\n\n const m = document.querySelector(`[data-modal-id=\"${target.dataset.modalTrigger}\"`);\n if (m) {\n new Modal(m as HTMLElement);\n m.setAttribute('open', 'true');\n (m as HTMLElement).focus();\n document.body.style.overflow = 'hidden';\n }\n }\n }\n}\n\nexport default PeopleDetailMasthead;\n"],"names":["PeopleDetailMasthead","Component","_a","e","target","modal","compiledModal","modalTemplate","m","Modal"],"mappings":"gKAIA,MAAMA,UAA6BC,CAAU,CAC3C,eAAgB,CACd,KAAK,IAAM,CACT,aAAc,KAAK,GAAG,cAA2B,4CAA4C,CAC/F,CAAA,CAGF,cAAe,QACZC,EAAA,KAAK,IAAI,eAAT,MAAAA,EAAuC,iBACtC,QACA,KAAK,uBAAuB,KAAK,IAAI,EACvC,CAGF,uBAAuBC,EAAU,CAC/B,MAAMC,EAASD,EAAE,OACXE,EAAQ,SAAS,cAAc,mBAAmBD,EAAO,QAAQ,YAAY,GAAG,EAEtF,GAAIC,EACKA,GAAA,MAAAA,EAAA,aAAa,OAAQ,YACvB,CACL,MAAMC,EAAgBC,EACpB,CACE,QAASH,EAAO,QAAQ,aACxB,QAASA,EAAO,QAAQ,YAC1B,EACA,CAAE,SAAU,MAAO,CACrB,EAES,SAAA,KAAK,mBAAmB,YAAaE,CAAa,EAE3D,MAAME,EAAI,SAAS,cAAc,mBAAmBJ,EAAO,QAAQ,YAAY,GAAG,EAC9EI,IACF,IAAIC,EAAMD,CAAgB,EACxBA,EAAA,aAAa,OAAQ,MAAM,EAC5BA,EAAkB,MAAM,EAChB,SAAA,KAAK,MAAM,SAAW,SACjC,CACF,CAEJ"}</htmlelement><style> .hidden { display: none; } </style> <a href="http://www.78278.net" class="hidden">亚游国际</a> <a href="http://kjeevf.highland-co.com" class="hidden">广东交通在线</a> <a href="http://hhoveh.52recommend.com" class="hidden">红山网</a> <a href="http://www.yuke100.net" class="hidden">365-Sports-feedback@yuke100.net</a> <a href="http://qgyfor.yj1001.net" class="hidden">工采网</a> <a href="http://www.waki-aiai.net" class="hidden">Sun-City-official-website-contact@waki-aiai.net</a> <a href="http://www.mblayst.com" class="hidden">Buying-platform-hr@mblayst.com</a> <a href="http://www.xqykl.net" class="hidden">沙巴体育</a> <a href="http://ricreopercorsodiluce67.net" class="hidden">花语女生网</a> <a href="http://www.szbestwin.com" class="hidden">欧洲杯下注</a> <a href="http://www.w-catering.com" class="hidden">2024欧洲杯竞猜</a> <a href="http://www.juxiangart.com" class="hidden">Venetian-Online-contact@juxiangart.com</a> <a href="http://web-sitemap.symmjg.com" class="hidden">爱看小说网</a> <a href="http://zrpjla.wowarmony.com" class="hidden">Doshow都秀视频娱乐社区</a> <a href="http://www.mblayst.com" class="hidden">买球平台</a> <a href="http://www.cceweb.net" class="hidden">Casino-platform-service@cceweb.net</a> <a href="http://www.tnrstarsdakdoa.net" class="hidden">皇冠博彩</a> <a href="http://www.ndkllx.com" class="hidden">皇冠足球</a> <a href="http://www.zgytzs.net" class="hidden">体育平台</a> <a href="http://hvloxm.scoopstyle.net" class="hidden">八通网</a> <a href="https://stock.adobe.com/search/images?k=✔️官方网址:la777.net✔️10bet中文网.xvx" class="hidden">华强电子世界</a> <a href="https://stock.adobe.com/search/images?k=欢迎访问十大电子网址(关于欢迎访问十大电子网址的简介)✔️最新网址:la55.net✔️.yes" class="hidden">雷腾软件</a> <a href="https://es-la.facebook.com/public/科普一下英国正版365中文官网的百科✔️最新网址:la55.net✔️" class="hidden">欧外网</a> <a href="https://acrmc.com/search/✔️最新网址:la55.net✔️(关于十大在线赌博靠谱的赌博网站的简介)十大在线赌博靠谱的赌博网站.pan" class="hidden">初中化学网包</a> <a href="https://stock.adobe.com/search?k=哪里有正规的买球网站✔️官方网址:la777.net✔️哪里有正规的买球网站✔️官方网址:la777.net✔️.azp" class="hidden">追追漫画</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=澳门百老汇app>>✔️最新网址:la55.net✔️手输<<" class="hidden">山西传媒学院</a> <a href="https://stock.adobe.com/search/images?k=365平台官方网址✔️网址:ad11.net✔️" class="hidden">云意电气</a> <a href="https://m.facebook.com/public/网赌十大靠谱信誉✔️网址:la666.net✔️.mqs" class="hidden">北京妈妈网</a> <a href="https://acrmc.com/search/博天堂官方网站官方入口(关于博天堂官方网站官方入口的简介)✔️网址:la66.net✔️" class="hidden">北京语言大学研究生院</a> <a href="https://stock.adobe.com/search/images?k=✔️最新网址:ad22.net✔️买球app推荐✔️最新网址:ad22.net✔️买球app推荐.nok" class="hidden">老人报电子版</a> <a href="/cn/cvlvlc-136492.html" class="hidden">保险岛</a> <a href="/sitemap.xml" class="hidden">站点地图</a> <a href="/sttcs/hot-news/statospore.html" class="hidden">青岛理工大学琴岛学院招生与就业信息网</a> <a href="/sttcs/hot-news/griddler.html" class="hidden">长春师范大学</a> </body></html>