{"version":3,"sources":["webpack:///./plugins/scrollo/js/scrollo.js","webpack:///./plugins/stickyElements/js/stickyElements.js"],"names":["scrollo","init","$","remove","control","adjustAnchor","target","$anchor","$headerHeight","outerHeight","document","scrollTop","offset","top","on","e","this","attr","length","preventDefault","UX","stickyElements","dynamicHeaderHeight"],"mappings":"4EAAA,IAAIA,EAAU,CACVC,KAAM,SAANA,OACIC,EAAE,kBAAkBC,SACpBH,EAAQI,WAEZC,aAAc,SAAdA,aAAwBC,GACpB,IAAIC,EAAUL,EAAEI,GACZE,EAAgB,GACpBA,GAAiBN,EAAE,qBAAqBO,cAAgBP,EAAE,iBAAiBO,cAC3EP,EAAEQ,UAAUC,UAAUJ,EAAQK,SAASC,IAAML,IAEjDJ,QAAS,SAATA,UACIF,EAAEQ,UAAUI,GAAG,QAAS,gBAAgB,SAAUC,GAC9C,GAC6B,MAAzBb,EAAEc,MAAMC,KAAK,UACZf,EAAE,kBAAoBA,EAAEc,MAAMC,KAAK,SAASC,OAAS,GAClDhB,EAAE,gBAAkBA,EAAEc,MAAMC,KAAK,SAASC,OAAS,GAIvD,OAFAH,EAAEI,iBACFnB,EAAQK,aAAaH,EAAEc,MAAMC,KAAK,UAC3B,OAKvBG,GAAGpB,QAAUA,G,iCCzBb,OACAoB,GAAGC,eAAeC,qBAAsB","file":"js/lazy-imports-21fc7572514b0eac35ab.js","sourcesContent":["var scrollo = {\n init: function () {\n $('.anchor-spacer').remove();\n scrollo.control();\n },\n adjustAnchor: function (target) {\n var $anchor = $(target);\n var $headerHeight = 16;\n $headerHeight += $('.coolBar__wrapper').outerHeight() + $('header.header').outerHeight();\n $(document).scrollTop($anchor.offset().top - $headerHeight);\n },\n control: function () {\n $(document).on('click', \"a[href^='#']\", function (e) {\n if (\n $(this).attr('href') !== '#' &&\n ($('.article__body ' + $(this).attr('href')).length > 0 ||\n $('.toc_content ' + $(this).attr('href')).length > 0)\n ) {\n e.preventDefault();\n scrollo.adjustAnchor($(this).attr('href'));\n return false;\n }\n });\n },\n};\nUX.scrollo = scrollo; // add to global namespace\n","import 'ui-core/plugins/stickyElements/js/stickyElements';\nUX.stickyElements.dynamicHeaderHeight = true;\n"],"sourceRoot":""}