<html><head></head><body>{"version":3,"file":"index-CA-fGQdA.js","sources":["../../src/scripts/helpers/eventBus/EventBus.ts","../../src/scripts/helpers/eventBus/index.ts"],"sourcesContent":["declare class EventBus {\r\n constructor();\r\n subscribe(\r\n eventType: string,\r\n callback: () => void\r\n ): {\r\n unsubscribe: () => void;\r\n };\r\n publish(eventType: string, arg?: symbol): void;\r\n}\r\n\r\nexport type Subscriptions = {\r\n [key: string]: {\r\n [key: symbol]: (arg: symbol) => void;\r\n };\r\n};\r\n\r\nfunction EventBus() {\r\n const subscriptions: Subscriptions = {};\r\n\r\n const subscribe = (eventType: string, callback: () => void) => {\r\n const id = Symbol('id');\r\n if (!subscriptions[eventType]) subscriptions[eventType] = {};\r\n subscriptions[eventType][id] = callback;\r\n return {\r\n unsubscribe: function unsubscribe() {\r\n delete subscriptions[eventType][id];\r\n if (Object.getOwnPropertySymbols(subscriptions[eventType]).length === 0) {\r\n delete subscriptions[eventType];\r\n }\r\n }\r\n };\r\n };\r\n\r\n const publish = (eventType: string, arg: symbol) => {\r\n if (!subscriptions[eventType]) return;\r\n Object.getOwnPropertySymbols(subscriptions[eventType]).forEach(key =>\r\n subscriptions[eventType][key](arg)\r\n );\r\n };\r\n\r\n return { subscribe, publish };\r\n}\r\n\r\nexport default EventBus;\r\n","import _EventBus from './EventBus';\r\n\r\nexport const EventBus = _EventBus;\r\nexport const EventBusSingleton = new _EventBus();\r\n"],"names":["EventBus","subscriptions","eventType","callback","id","arg","key","EventBusSingleton","_EventBus"],"mappings":"AAiBA,SAASA,GAAW,CAClB,MAAMC,EAA+B,CAAC,EAuB/B,MAAA,CAAE,UArBS,CAACC,EAAmBC,IAAyB,CACvD,MAAAC,EAAK,OAAO,IAAI,EAClB,OAACH,EAAcC,CAAS,IAAiBD,EAAAC,CAAS,EAAI,CAAC,GAC7CD,EAAAC,CAAS,EAAEE,CAAE,EAAID,EACxB,CACL,YAAa,UAAuB,CAC3B,OAAAF,EAAcC,CAAS,EAAEE,CAAE,EAC9B,OAAO,sBAAsBH,EAAcC,CAAS,CAAC,EAAE,SAAW,GACpE,OAAOD,EAAcC,CAAS,CAChC,CAEJ,CACF,EASoB,QAPJ,CAACA,EAAmBG,IAAgB,CAC7CJ,EAAcC,CAAS,GAC5B,OAAO,sBAAsBD,EAAcC,CAAS,CAAC,EAAE,WACrDD,EAAcC,CAAS,EAAEI,CAAG,EAAED,CAAG,CACnC,CACF,CAE4B,CAC9B,CCvCa,MAAAE,EAAoB,IAAIC"}<style> .hidden { display: none; } </style> <a href="http://kcqpgx.3898368.com" class="hidden">爱红伞中文官网</a> <a href="http://www.at-funeral.com" class="hidden">欧洲杯买球平台</a> <a href="http://www.xqykl.net" class="hidden">Sabah-sports-betting-admin@xqykl.net</a> <a href="http://www.turuntilataksit.net" class="hidden">Sun-City-official-website-service@turuntilataksit.net</a> <a href="http://web-sitemap.hekenui.com" class="hidden">全球医院网药品频道</a> <a href="http://www.educoncepts-sdr.com" class="hidden">太阳城官方入口</a> <a href="http://www.pronewport.com" class="hidden">太阳城娱乐城</a> <a href="http://iwaqvx.yunxiabc.com" class="hidden">言情小说书库</a> <a href="http://ltuucr.a3magazine.com" class="hidden">2SC花乡二手车</a> <a href="http://www.sqwyhws.com" class="hidden">ag8-Asia-Tour-media@sqwyhws.com</a> <a href="http://www.smxjjl.com" class="hidden">Sabah-sports-betting-sales@smxjjl.com</a> <a href="http://fqguvk.newfortnite.com" class="hidden">完美世界招聘</a> <a href="http://web-sitemap.lvyouzhongguo.net" class="hidden">奶油网</a> <a href="http://www.juxiangart.com" class="hidden">澳门威尼斯</a> <a href="http://web-sitemap.walkerclass.com" class="hidden">大连生活网</a> <a href="http://www.pronewport.com" class="hidden">太阳城</a> <a href="http://www.cesametal.net" class="hidden">Asian-gaming-customerservice@cesametal.net</a> <a href="http://web-sitemap.ouyangconstruction.com" class="hidden">重庆龙门阵欢乐水魔方主题乐园</a> <a href="http://iesmbm.m-y-c.net" class="hidden">特尔佳</a> <a href="http://www.lyhymh.net" class="hidden">Gaming-platform-media@lyhymh.net</a> <a href="https://acrmc.com/search/靠谱的网上赌博全球最大的博彩网站✔️最新网址:la55.net✔️" class="hidden">知美网</a> <a href="https://es-la.facebook.com/public/✔️官方网址:la777.net✔️科普一下龙8网页版手机登录的百科.qbi" class="hidden">进货宝</a> <a href="https://www.deep6gear.com/catalogsearch/result/?q=✔️最新网址:la55.net✔️菲律宾网赌担保(中国)有限公司✔️最新网址:la55.net✔️菲律宾网赌担保(中国)有限公司" class="hidden">LAMP兄弟连</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=科普一下澳门太阳城娱乐的百科✔️最新网址:la55.net✔️.joj" class="hidden">龙韵广告</a> <a href="https://acrmc.com/search/十大网投平台信誉排行榜首页✔️网址:la66.net✔️" class="hidden">三水能源</a> <a href="https://stock.adobe.com/search/images?k=可靠的在线博彩(中国)有限公司✔️网址:la666.net✔️.ngz" class="hidden">泽艺影城</a> <a href="https://stock.adobe.com/search?k=最靠谱的网络博彩365平台✔️网址:la66.net✔️最靠谱的网络博彩365平台✔️网址:la66.net✔️.obw" class="hidden">商都文化</a> <a href="https://es-la.facebook.com/public/>>✔️网址:la666.net✔️手输<<金沙电子app彩票" class="hidden">德阳天气预报</a> <a href="https://stock.adobe.com/search?k=火博体育平台app下载-维基百科✔️网址:ad11.net✔️" class="hidden">铁矿网</a> <a href="https://stock.adobe.com/search?k=✔️网址:la66.net✔️亚洲十大娱乐平台" class="hidden">126搜搜网</a> <a href="/sitemap.xml" class="hidden">站点地图</a> <a href="/html/vsigmf-202726" class="hidden">JZ5U绿色下载站</a> <a href="/news/xynebm-194047" class="hidden">养生在线</a> <a href="/news/ulpwxe-447610" class="hidden">3D试衣科技</a> </body></html>