1"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,_toPropertyKey(i.key),i)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==_typeof(t)?t:t+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);var i=n.call(e,t||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}!function(){var e=_createClass(function e(t,n){_classCallCheck(this,e),this.querySelector=t||"noscript[data-lazy]",this.elements=[],this.callback=n||null,this.options={fadeDuration:"function"==typeof document.createElement("img").addEventListener?500:0},this.init()},[{key:"init",value:function(){var t=this;Array.prototype.slice.call(document.querySelectorAll(this.querySelector)).forEach(function(e){"ready"!==e.getAttribute("data-lazy")&&(e.setAttribute("data-lazy","ready"),t.elements.push(new n(e,t)))})}}]),n=_createClass(function e(t,n){_classCallCheck(this,e),this.element=t,this.lazyLoading=n,this.parent=null,this.content=null,this.placeholder=null,this.startObserving=this.startObserving.bind(this),this.replaceContent=this.replaceContent.bind(this),this.init()},[{key:"startObserving",value:function(){var t=this;this.observer=new IntersectionObserver(function(e){e.forEach(function(e){0<e.intersectionRatio&&t.replaceContent()})}),this.observer.observe(this.placeholder)}},{key:"stopObserving",value:function(){this.observer&&this.observer.disconnect()}},{key:"replaceContent",value:function(){var t=this;this.stopObserving(),this.parent.removeChild(this.element),this.parent.insertAdjacentHTML("afterbegin",this.content),"function"==typeof this.lazyLoading.callback&&this.lazyLoading.callback(this);var n=this.lazyLoading.options.fadeDuration;n?Array.prototype.slice.call(this.parent.getElementsByTagName("img")).forEach(function(e){e.style.opacity=0,e.style.transform="translateY(16px)",e.style.position="absolute",e.style.pointerEvents="none",e.addEventListener("load",function(){e.style.opacity=1,e.style.transition="all "+n+"ms ease-out",e.style.transform="translateY(0)",e.style.removeProperty("position"),e.style.removeProperty("pointer-events"),setTimeout(function(){e.style.removeProperty("opacity"),e.style.removeProperty("transition"),e.style.removeProperty("transform")},n),t.placeholder&&(t.parent.removeChild(t.placeholder),t.placeholder=null)},{capture:!1,once:!0})}):this.placeholder&&this.parent.removeChild(this.placeholder)}},{key:"decodeHTML",value:function(e){var t=document.createElement("textarea");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}},{key:"init",value:function(){if(this.parent=this.element.parentNode,this.content=this.decodeHTML(this.element.innerHTML),"IntersectionObserver"in window){var e=document.createElement("span");e.className="lazy-loading-placeholder",e.style.display="block",e.style.width="100%";var t=(this.element.getAttribute("data-ratio")||"16:9").match(/(\d+)\:(\d+)/);t&&(e.style.paddingTop=t[2]/t[1]*100+"%"),this.parent.insertBefore(e,this.element),this.placeholder=e,this.startObserving()}else this.replaceContent()}}]);window.trigger.initialize.push(function(){new e(null,null)}),window.trigger.ajaxComplete.push(function(){setTimeout(function(){new e(null,null)},200)})}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.