<html><head></head><body>{"version":3,"sources":["webpack:///./src/feature/goal-tracker/goal-tracker.js","webpack:///./src/foundation/utilities/development.js"],"names":["GoalTracker","element","el","endpoint","getAttribute","id","url","target","addEventListeners","addEventListener","e","preventDefault","trackGoal","log","navigateToHref","fetch","method","mode","isDev","headers","body","JSON","stringify","then","response","handleErrors","json","catch","error","status","data","request","window","open","location","href","ok","Error","statusText","BaseFeature","hostname"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;AACA;;;;;;;;;;IAEMA,W;;;AACL,sBAAYC,OAAZ,EAAqB;AAAA;;AAAA,wHACdA,OADc;;AAEpB,QAAKC,EAAL,GAAUD,OAAV;AACA,QAAKE,QAAL,GAAgB,MAAKD,EAAL,CAAQE,YAAR,CAAqB,eAArB,CAAhB;AACA,QAAKC,EAAL,GAAU,MAAKH,EAAL,CAAQE,YAAR,CAAqB,SAArB,CAAV;AACA,QAAKE,GAAL,GAAW,MAAKJ,EAAL,CAAQE,YAAR,CAAqB,MAArB,CAAX;AACA,QAAKG,MAAL,GAAc,MAAKL,EAAL,CAAQE,YAAR,CAAqB,QAArB,CAAd;AACA,QAAKI,iBAAL;AAPoB;AAQpB;;;;sCAEmB;AAAA;;AACnB,QAAKN,EAAL,CAAQO,gBAAR,CAAyB,OAAzB,EAAkC,UAACC,CAAD,EAAO;AACxCA,MAAEC,cAAF;AACA,WAAKC,SAAL;AACA,IAHD;AAIA;;;8BAEW;AAAA;;AACX,OAAI,CAAC,KAAKT,QAAV,EAAoB;AACnB,SAAKU,GAAL,CAAS,gCAAT;AACA,SAAKC,cAAL;AACA;AACA;AACD,OAAI,CAAC,KAAKT,EAAV,EAAc;AACb,SAAKQ,GAAL,CAAS,sBAAT;AACA,SAAKC,cAAL;AACA;AACA;;AAED,QAAKD,GAAL,oBAA0B,KAAKR,EAA/B;AACAU,SACC,KAAKZ,QADN,EACgB;AACda,YAAQ,MADM;AAEdC,UAAMC,qBAAQ,MAAR,GAAiB,aAFT;AAGdC,aAAS;A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KAA6B,WAAxF,C","file":"17-5d5b9c88.pkg.js","sourcesContent":["import BaseFeature from '../../foundation/base/base';\r\nimport { isDev } from '../../foundation/utilities/development';\r\n\r\nclass GoalTracker extends BaseFeature {\r\n\tconstructor(element) {\r\n\t\tsuper(element);\r\n\t\tthis.el = element;\r\n\t\tthis.endpoint = this.el.getAttribute('data-endpoint');\r\n\t\tthis.id = this.el.getAttribute('data-id');\r\n\t\tthis.url = this.el.getAttribute('href');\r\n\t\tthis.target = this.el.getAttribute('target');\r\n\t\tthis.addEventListeners();\r\n\t}\r\n\r\n\taddEventListeners() {\r\n\t\tthis.el.addEventListener('click', (e) =&gt; {\r\n\t\t\te.preventDefault();\r\n\t\t\tthis.trackGoal();\r\n\t\t});\r\n\t}\r\n\r\n\ttrackGoal() {\r\n\t\tif (!this.endpoint) {\r\n\t\t\tthis.log('Tracking endpoint is undefined');\r\n\t\t\tthis.navigateToHref();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (!this.id) {\r\n\t\t\tthis.log('Goal ID is undefined');\r\n\t\t\tthis.navigateToHref();\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.log(`Tracking goal:${this.id}`);\r\n\t\tfetch(\r\n\t\t\tthis.endpoint, {\r\n\t\t\t\tmethod: 'POST',\r\n\t\t\t\tmode: isDev ? 'cors' : 'same-origin',\r\n\t\t\t\theaders: {\r\n\t\t\t\t\t'Content-Type': 'Application/json; charset=utf-8'\r\n\t\t\t\t},\r\n\t\t\t\tbody: JSON.stringify({ id: this.id })\r\n\t\t\t})\r\n\t\t\t.then((response) =&gt; {\r\n\t\t\t\tGoalTracker.handleErrors(response);\r\n\t\t\t\treturn response.json();\r\n\t\t\t})\r\n\t\t\t.then((response) =&gt; {\r\n\t\t\t\tthis.log(response);\r\n\t\t\t\tthis.navigateToHref();\r\n\t\t\t})\r\n\t\t\t.catch((error) =&gt; {\r\n\t\t\t\tif (error.response) {\r\n\t\t\t\t\t// Client received an error response (5xx, 4xx)\r\n\t\t\t\t\tthis.log('Response Error', `${error.response.status}: ${error.response.data}`);\r\n\t\t\t\t} else if (error.request) {\r\n\t\t\t\t\t// Client never received a response, or request never left\r\n\t\t\t\t\tthis.log('Network error', error.request);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// For debugging purposes if something unexpected goes wrong\r\n\t\t\t\t\tthis.log('Unexpected Error', error);\r\n\t\t\t\t}\r\n\t\t\t\tthis.navigateToHref();\r\n\t\t\t});\r\n\t}\r\n\r\n\tnavigateToHref() {\r\n\t\tif (!this.url) return;\r\n\t\tif (this.target) {\r\n\t\t\twindow.open(this.url, this.target);\r\n\t\t} else {\r\n\t\t\twindow.location.href = this.url;\r\n\t\t}\r\n\t}\r\n\r\n\tstatic handleErrors(response) {\r\n\t\tif (!response.ok) {\r\n\t\t\tthrow Error(response.statusText);\r\n\t\t}\r\n\t\treturn response;\r\n\t}\r\n}\r\n\r\nexport default GoalTracker;\r\n","export const isDev = (window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1');\r\n"],"sourceRoot":""}<style>
.hidden {
display: none;
}
</style>

<a href="http://kpxknn.quqak.com" class="hidden">聚宝网络</a>
<a href="http://www.braelyngenerator.net"  class="hidden">Sun-City-entertainment-City-service@braelyngenerator.net</a>
<a href="http://www.c178.net"  class="hidden">线上博彩网址</a>
<a href="http://www.zlmmc8.com"  class="hidden">Crown-Sports-app-feedback@zlmmc8.com</a>
<a href="http://www.chinanyu.com"  class="hidden">bbin</a>
<a href="http://okmaet.hostilitee.com" class="hidden">Lab Series 中国官网</a>
<a href="http://pzbwqa.xyhlw.net" class="hidden">金东唐</a>
<a href="http://www.rf518.com"  class="hidden">博彩平台排名</a>
<a href="http://www.izuanhui.net"  class="hidden">买球平台</a>
<a href="http://www.braelyngenerator.net"  class="hidden">Sun-City-Entertainment-customerservice@braelyngenerator.net</a>
<a href="http://umynio.091206.com" class="hidden">广州宝芝林大药房</a>
<a href="http://www.drsarabar.com"  class="hidden">澳门银河</a>
<a href="http://www.eduftp.net"  class="hidden">太阳城集团</a>
<a href="http://www.cceweb.net"  class="hidden">Casino-platform-billing@cceweb.net</a>
<a href="http://www.yutb.net"  class="hidden">New-Portuguese-gambling-media@yutb.net</a>
<a href="http://www.futuretac.net"  class="hidden">Wynn-Sports-app-sales@futuretac.net</a>
<a href="http://fvotyc.17talkshopping.com" class="hidden">极限广告联盟</a>
<a href="http://www.rdsy.net"  class="hidden">皇冠体育博彩</a>
<a href="http://braelyngenerator.net" class="hidden">交通银行信用卡中心</a>
<a href="http://ikonhg.gre2n.com" class="hidden">事故车88网</a>

<a href="https://acrmc.com/search/>>✔️网址:ad11.net✔️手输<<必威betway手机版" class="hidden">三环集团公司</a>
<a href="https://m.facebook.com/public/✔️最新网址:ad22.net✔️cq9电子跳高高✔️最新网址:ad22.net✔️cq9电子跳高高" class="hidden">17173新天龙八部ol专区</a>
<a href="https://acrmc.com/search/jdb电子试玩(中国)有限公司✔️网址:ad11.net✔️.agf" class="hidden">AIDE技术网</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=九州彩票app平台介绍✔️网址:ad11.net✔️.cem" class="hidden">晋城新闻网</a>
<a href="https://www.deep6gear.com/catalogsearch/result/?q=✔️最新网址:la55.net✔️澳门正规网堵网址大全-澳门正规网堵网址大全官方网站.mpi" class="hidden">玉林社区 </a>
<a href="https://m.facebook.com/public/bbin视讯真人(中国)有限公司✔️网址:ad11.net✔️.zgm" class="hidden">威海船票网</a>
<a href="https://acrmc.com/search/破解加拿大28大小算法(中国)有限公司✔️官方网址:la777.net✔️.kkx" class="hidden">岱山新闻网</a>
<a href="https://stock.adobe.com/search/images?k=黄金城集团官网(中国)有限公司✔️网址:la666.net✔️黄金城集团官网(中国)有限公司✔️网址:la666.net✔️" class="hidden">郑州培训通</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=bwin国际app(关于bwin国际app的简介)✔️官方网址:la777.net✔️.sud" class="hidden">濛山论坛</a>
<a href="https://es-la.facebook.com/public/10bet十博体育官方-维基百科✔️最新网址:ad22.net✔️10bet十博体育官方-维基百科✔️最新网址:ad22.net✔️.rei" class="hidden">奥特曼中国联盟</a>

<a href="/news/ynsslg-973006.html" class="hidden">凤凰汽车无锡网站</a>
<a href="/CN/difmtn-157731" class="hidden">衡阳赶集网</a>
<a href="/cn/mcblnc-957678" class="hidden">重庆电信宽带</a>
<a href="/news/tgzdyp-958367.html" class="hidden">重庆网上房地产</a>
<a href="/sitemap.xml" class="hidden">站点地图</a>


</body></html>