1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[284],{5284:function(e,t,n){function i(e){return i="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},i(e)}function o(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,r(i.key),i)}}function r(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}n.r(t),n(6649),n(6078),n(2526),n(1817),n(1539),n(9653),n(2165),n(6992),n(8783),n(3948);var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.selector=".hh-vk-video-facade",this.init()}var t,n;return t=e,(n=[{key:"init",value:function(){document.addEventListener("click",this.handleClick.bind(this)),document.addEventListener("keydown",this.handleKeydown.bind(this))}},{key:"handleClick",value:function(e){var t=e.target.closest(this.selector);t&&!t.classList.contains("hh-vk-video-facade--loaded")&&(e.preventDefault(),this.loadVideo(t))}},{key:"handleKeydown",value:function(e){if("Enter"===e.key||" "===e.key){var t=e.target.closest(this.selector);t&&!t.classList.contains("hh-vk-video-facade--loaded")&&(e.preventDefault(),this.loadVideo(t))}}},{key:"loadVideo",value:function(e){var t=e.dataset.vkSrc;if(t){var n=document.createElement("iframe");n.src=t,n.allow="autoplay; encrypted-media; fullscreen; picture-in-picture",n.allowFullscreen=!0,n.addEventListener("load",(function(){e.classList.add("hh-vk-video-facade--loaded")})),e.appendChild(n)}}}])&&o(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=a,new a}}]); 2//# sourceMappingURL=chunk-284.9d9c423099fd40f0a6dc.js.map
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.