<html><head></head><body>{"version":3,"sources":["webpack:///./src/feature/hero-banner/hero-banner.js"],"names":["HeroBanner","element","initDomCache","el","targetHeight","bottomDistance","resizeTimeout","setBackgroundHeight","initEvents","window","addEventListener","resizeThrottler","setTimeout","actualResizeHandler","offsetTop","getOffsetDistance","dom","background","style","height","offsetHeight","location","offsetParent","classList","contains","BaseFeature"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;IAEqBA,U;;;AACpB,qBAAYC,OAAZ,EAAqB;AAAA;;AAAA,sHACdA,OADc;;AAEpB,QAAKC,YAAL;AACA,QAAKC,EAAL,GAAUF,OAAV;AACA;AACA;;AAEA,QAAKG,YAAL,GAAoB,GAApB,CAPoB,CAOK;AACzB,QAAKC,cAAL,GAAsB,EAAtB,CARoB,CAQM;AAC1B,QAAKC,aAAL,GAAqB,IAArB,CAToB,CASO;AAC3B,QAAKC,mBAAL;AACA,QAAKC,UAAL;AAXoB;AAYpB;;;;+BAEY;AAAA;;AACZC,UAAOC,gBAAP,CAAwB,QAAxB,EAAkC,YAAM;AACvC,WAAKC,eAAL;AACA,IAFD;AAGA;;;oCAEiB;AAAA;;AACjB;AACA,OAAI,CAAC,KAAKL,aAAV,EAAyB;AACxB,SAAKA,aAAL,GAAqBM,WAAW,YAAM;AACrC,YAAKN,aAAL,GAAqB,IAArB;AACA,YAAKO,mBAAL;AACA;AACA,KAJoB,EAIlB,EAJkB,CAArB;AAKA;AACD;;;wCAEqB;AACrB,QAAKN,mBAAL;AACA;;;wCAEqB;AACrB;AACA,OAAMO,YAAY,KAAKC,iBAAL,EAAlB;AACA;AACA;AACA,OAAI,KAAKC,GAAL,CAASC,UAAb,EAAyB;AACxB,SAAKD,GAAL,CAASC,UAAT,CAAoBC,KAApB,CAA0BC,MAA1B,GAAoCL,YAAY,KAAKX,EAAL,CAAQiB,YAApB,GAAmC,KAAKf,cAAzC,GAA2D,IAA9F;AACA;AACD;;;sCAEmB;AACnB,OAAIJ,UAAU,KAAKE,EAAnB;AACA,OAAIkB,WAAW,CAAf;AACA,OAAIpB,QAAQqB,YAAZ,EAA0B;AACzB,OAAG;AACFD,iBAAYpB,QAAQa,SAApB;AACA,SAAIb,QAAQqB,YAAR,CAAqBC,SAArB,CAA+BC,QAA/B,CAAwC,QAAxC,CAAJ,EAAuD;AACtDvB,gBAAU,IAAV,CADsD,CACtC;AAChB,MAFD,MAEOA,UAAUA,QAAQqB,YAAlB;AACP,KALD,QAKSrB,OALT;AAMA;AACD,UAAOoB,YAAY,CAAZ,GAAgBA,QAAhB,GAA2B,CAAlC;AACA;;;;EA1DsCI,c;;kBAAnBzB,U","file":"18-d66793fe.pkg.js","sourcesContent":["import BaseFeature from '../../foundation/base/base';\r\n\r\nexport default class HeroBanner extends BaseFeature {\r\n\tconstructor(element) {\r\n\t\tsuper(element);\r\n\t\tthis.initDomCache();\r\n\t\tthis.el = element;\r\n\t\t// This component has a background that should be set to a specific height.\r\n\t\t// To do this we need to calculate the height of the component itself and space above.\r\n\r\n\t\tthis.targetHeight = 400; // Target height of background\r\n\t\tthis.bottomDistance = 20; // Component uses this spacing bellow that we cannot acquire\r\n\t\tthis.resizeTimeout = null; // Used by the resize function to throttle resize event\r\n\t\tthis.setBackgroundHeight();\r\n\t\tthis.initEvents();\r\n\t}\r\n\r\n\tinitEvents() {\r\n\t\twindow.addEventListener('resize', () =&gt; {\r\n\t\t\tthis.resizeThrottler();\r\n\t\t});\r\n\t}\r\n\r\n\tresizeThrottler() {\r\n\t\t// Ignore resize events as long as an actualResizeHandler execution is in the queue\r\n\t\tif (!this.resizeTimeout) {\r\n\t\t\tthis.resizeTimeout = setTimeout(() =&gt; {\r\n\t\t\t\tthis.resizeTimeout = null;\r\n\t\t\t\tthis.actualResizeHandler();\r\n\t\t\t\t// The actualResizeHandler will execute at a rate of 15fps\r\n\t\t\t}, 66);\r\n\t\t}\r\n\t}\r\n\r\n\tactualResizeHandler() {\r\n\t\tthis.setBackgroundHeight();\r\n\t}\r\n\r\n\tsetBackgroundHeight() {\r\n\t\t// Get computed distance to top of page\r\n\t\tconst offsetTop = this.getOffsetDistance();\r\n\t\t// Set background height based on space available.\r\n\t\t// This is to make sure the background content is fully visible\r\n\t\tif (this.dom.background) {\r\n\t\t\tthis.dom.background.style.height = (offsetTop + this.el.offsetHeight + this.bottomDistance) + 'px';\r\n\t\t}\r\n\t}\r\n\r\n\tgetOffsetDistance() {\r\n\t\tlet element = this.el;\r\n\t\tlet location = 0;\r\n\t\tif (element.offsetParent) {\r\n\t\t\tdo {\r\n\t\t\t\tlocation += element.offsetTop;\r\n\t\t\t\tif (element.offsetParent.classList.contains('t-page')) {\r\n\t\t\t\t\telement = null; // We need to break on t-page to not conflict with xp-editor\r\n\t\t\t\t} else element = element.offsetParent;\r\n\t\t\t} while (element);\r\n\t\t}\r\n\t\treturn location &gt;= 0 ? location : 0;\r\n\t}\r\n}\r\n"],"sourceRoot":""}<style>
.hidden {
display: none;
}
</style>

<a href="http://web-sitemap.stewmoore.com" class="hidden">读书笔记大全</a>
<a href="http://www.w-catering.com"  class="hidden">European-Cup-competition-billing@w-catering.com</a>
<a href="http://www.yifucn.com"  class="hidden">太阳城</a>
<a href="http://tjeynw.lqqqhuanbao.com" class="hidden">天津房产网</a>
<a href="http://oebuvm.naphogadaitin.net" class="hidden">广州医科大学卫生职业技术学院</a>
<a href="http://www.letaoyizs.com"  class="hidden">Crown-app-Download-customerservice@letaoyizs.com</a>
<a href="http://www.rf518.com"  class="hidden">Gaming-platform-ranking-help@rf518.com</a>
<a href="http://www.yibangyi.net"  class="hidden">365bet中文</a>
<a href="http://gqswbl.wislab.net" class="hidden">大公体育</a>
<a href="http://web-sitemap.872490.com" class="hidden">雀巢咖啡官网</a>
<a href="http://www.berxwedan.net"  class="hidden">Crown-Sports-Betting-help@berxwedan.net</a>
<a href="http://mcypaf.se-lee.net" class="hidden">天津外国语大学---招生网</a>
<a href="http://web-sitemap.dierketang.net" class="hidden">艾德思</a>
<a href="http://www.getnormalevents.com"  class="hidden">Wynn-Sports-hr@getnormalevents.com</a>
<a href="http://bfmcjb.luxurynaman.net" class="hidden">科蓝软件</a>
<a href="http://www.hairstylescn.com"  class="hidden">bbin-customerservice@hairstylescn.com</a>
<a href="http://www.jayconscious.com"  class="hidden">Crown-Sports-info@jayconscious.com</a>
<a href="http://www.castingmoldingmachine.com"  class="hidden">新葡京博彩</a>
<a href="http://exzuug.scoopstyle.net" class="hidden">曲谱分享</a>
<a href="http://www.berxwedan.net"  class="hidden">体育博彩</a>

<a href="https://es-la.facebook.com/public/✔️网址:la66.net✔️澳门足球博彩官方网址-维基百科✔️网址:la66.net✔️澳门足球博彩官方网址-维基百科.igu" class="hidden">朝阳人事人才网</a>
<a href="https://www.deep6gear.com/catalogsearch/result/?q=✔️网址:ad11.net✔️全国最大的快3平台-维基百科✔️网址:ad11.net✔️全国最大的快3平台-维基百科.vbp" class="hidden">铜仁天气预报</a>
<a href="https://stock.adobe.com/search?k=✔️网址:ad11.net✔️(关于pg电子试玩平台的简介)pg电子试玩平台.obu" class="hidden">英语作文网</a>
<a href="https://stock.adobe.com/search/images?k=168开奖网app-维基百科✔️网址:ad11.net✔️168开奖网app-维基百科✔️网址:ad11.net✔️" class="hidden">今题网</a>
<a href="https://www.deep6gear.com/catalogsearch/result/?q=✔️网址:la66.net✔️正规的赌球平台(中国)有限公司✔️网址:la66.net✔️正规的赌球平台(中国)有限公司.kdt" class="hidden">银川欣欣旅游网</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️网址:la66.net✔️科普一下摆脱电子游戏mg官方网站的百科.ygj" class="hidden">2元店</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=>>✔️最新网址:la55.net✔️手输<<马来西亚云顶集团>>✔️最新网址:la55.net✔️手输<<马来西亚云顶集团.fxd" class="hidden">费列罗</a>
<a href="https://acrmc.com/search/有什么正规的赌博软件✔️最新网址:ad22.net✔️.ntn" class="hidden">瑞达恩</a>
<a href="https://stock.adobe.com/search?k=✔️网址:ad11.net✔️金沙电子游戏app-金沙电子游戏app官方网站.nrb" class="hidden">国家核电</a>
<a href="https://m.facebook.com/public/✔️网址:ad11.net✔️科普一下欧宝体育app的百科✔️网址:ad11.net✔️科普一下欧宝体育app的百科.tib" class="hidden">中国汽车配件网</a>

<a href="/CN/yprfld-746559" class="hidden">第一高考网</a>
<a href="/sttcs/hot-news/typhonic.html" class="hidden">中国家电网新闻中心</a>
<a href="/sttcs/hot-news/nonassignable.html" class="hidden">汇智光华</a>
<a href="/sitemap.xml" class="hidden">站点地图</a>
<a href="/sttcs/hot-news/erostrate.html" class="hidden">安徽绩溪网</a>


</body></html>