PageSourceSearch

https://dubaysk.ru/wp-content/plugins/wp-omnivideo_old/assets/public/js/omnivideo.min.js?ver=bf701dae9aff

js dubaysk.ru collected 2026-10-08 14:15:06 UTC 22,483 bytes, 1 lines download raw bytes

vendor: 4,424 bytes, line 1
1!function(e){"function"==typeof define&&define.amd?define("omnivideo",e):e()}((function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function t(e,t,r,n,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void r(e)}c.done?t(s):Promise.resolve(s).then(n,o)}function r(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function c(e){t(a,o,i,c,s,"next",e)}function s(e){t(a,o,i,c,s,"throw",e)}c(void 0)}))}}function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=l(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(){c=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:_(e,r,c)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",h="suspendedYield",v="executing",m="completed",y={};function b(){}function w(){}function g(){}var k={};l(k,a,(function(){return this}));var x=Object.getPrototypeOf,L=x&&x(x(T([])));L&&L!==r&&n.call(L,a)&&(k=L);var E=g.prototype=b.prototype=Object.create(k);function S(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function r(o,i,a,c){var s=d(e[o],e,i);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(l).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(s.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function _(t,r,n){var o=p;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var s=j(c,n);if(s){if(s===y)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var u=d(t,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function j(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&
vendor: 4,540 bytes, line 1
1(r.method="return",r.arg=e,j(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return w.prototype=g,o(E,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:w,configurable:!0}),w.displayName=l(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,l(e,u,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},S(A.prototype),l(A.prototype,s,(function(){return this})),t.AsyncIterator=A,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new A(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},S(E),l(E,u,"Generator"),l(E,a,(function(){return this})),l(E,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=T,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],s=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;
1!(s=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,r){if(t){if("string"==typeof t)return e(t,r);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}function f(){var e;if(void 0!==(null===(e=navigator.userAgentData)||void 0===e?void 0:e.mobile))return navigator.userAgentData.mobile;var t=navigator.userAgent||"";return!!/Mobi|Android|iPhone|iPad|iPod/i.test(t)||window.matchMedia("(max-width: 767px)").matches}function d(e,t){return p.apply(this,arguments)}function p(){return p=r(c().mark((function e(t,r){var n,o,i,s,u,l,d,p,v,m;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.container,o=t.options,i=t.i18n,s=t.omniVideoBlock,u=t.signal,o=a(a({},{ajaxUrl:"/wp-admin/admin-ajax.php",timeToClose:5,duration:20,nextShowDelay:3600,progressType:"circle",blockHeight:"fixed"}),o),n.innerHTML="",l="wp_omnivideo_next_show",!o.nextShowDelay){e.next=10;break}if(!((d=localStorage.getItem(l))&&parseInt(d)>Date.now())){e.next=8;break}return e.abrupt("return",r);case 8:e.next=11;break;case 10:localStorage.removeItem(l);case 11:if(null==u||!u.aborted){e.next=13;break}return e.abrupt("return",r);case 13:return e.prev=13,(p=new FormData).append("action","omnivideo_get_intro"),p.append("is_mobile",f()?"1":"0"),e.next=19,fetch(o.ajaxUrl,{method:"POST",body:p,signal:u});case 19:if(!(v=e.sent).ok){e.next=41;break}return e.next=23,v.json();case 23:if((v=e.sent).success){e.next=28;break}return console.warn("Unable to load intro."),console.log(v),e.abrupt("return",r);case 28:if(v.data.html){e.next=30;break}return e.abrupt("return",r);case 30:if(o.nextShowDelay&&(m=Date.now()+1e3*o.nextShowDelay,localStorage.setItem(l,m)),"responsive"===o.blockHeight&&(null==s||s.classList.add("is-intro-responsive-height")),null==u||!u.aborted){e.next=34;break}return e.abrupt("return",r);case 34:return e.next=36,h({container:n,html:v.data.html,duration:parseFloat(o.duration),timeToClose:parseFloat(o.timeToClose),i18n:i,progressType:o.progressType,signal:u});case 36:if(null==s||s.classList.remove("is-intro-responsive-height"),null==u||!u.aborted){e.next=39;break}return e.abrupt("return",r);case 39:e.next=42;break;case 41:console.error("HTTP Error: "+v.status);case 42:e.next=47;break;case 44:e.prev=44,e.t0=e.catch(13),console.error(e.t0);case 47:return e.abrupt("return",r);case 48:case"end":return e.stop()}}),e,null,[[13,44]])}))),p.apply(this,arguments)}function h(e){return v.apply(this,arguments)}function v(){return v=r(c().mark((function e(t){var r,n,o,i,a,s,u;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.container,n=t.html,o=t.duration,i=t.timeToClose,a=t.i18n,s=t.progressType,u=t.signal,e.abrupt("return",new Promise((function(e){if(null!=u&&u.aborted)e();else switch(m(r,n,1e3*o,u),s){case"circle":!function(t){var n=t.progressDuration,o=t.crossDelay,i=t.closeCallback,a=!1,c=r.querySelector(".js-omnivideo-intro-circle-container"),s=c.querySelector(".js-omnivideo-intro-circle-timer"),l=c.querySelector(".js-omnivideo-intro-circle-cross"),f=c.querySelector(".js-omnivideo-intro-circle-progress"),d=c.querySelector(".js-omnivideo-intro-circle-bg"),p=c,h=p.offsetWidth,v=parseFloat(getComputedStyle(p).getPropertyValue("--omnivideo-intro-circle-stroke")),m=h/2-v,y=2*Math.PI*m;function b(){s.style.display="none",l.classList.add("show"),c.classList.add("enabled"),c.addEventListener("click",(function(){i&&i(),a=!0}))}
1[f,d].forEach((function(e){e.setAttribute("cx",h/2),e.setAttribute("cy",h/2),e.setAttribute("r",m)})),f.style.strokeDasharray=y,f.style.strokeDashoffset=y;var w=Math.min(o,n);function g(e,t){if(a)return!1;if(u.aborted)return!1;var r=(t-e)/1e3,o=Math.min(r/n,1);f.style.strokeDashoffset=y*(1-o);var i=Math.ceil(w-r);return r<w?s.textContent=i:l.classList.contains("show")||b(),o<1}function k(){var t=performance.now();function r(){var n=performance.now();g(t,n)?requestAnimationFrame(r):e()}requestAnimationFrame(r)}function x(){var t=Date.now(),r=setInterval((function(){var n=Date.now();g(t,n)||(clearInterval(r),e())}),30)}window.requestAnimationFrame?k():x()}({progressDuration:o,crossDelay:i});break;case"bar":!function(t){var n=t.progressDuration,o=t.crossDelay,i=t.closeCallback,c=r.querySelector(".js-omnivideo-intro-progress-bar"),s=r.querySelector(".js-omnivideo-intro-close"),l=r.querySelector(".js-omnivideo-intro-header-message"),f=!1;function d(){s.classList.add("show"),s.addEventListener("click",(function(e){e.preventDefault(),i&&i(),f=!0}))}function p(e,t){if(f)return!1;if(u.aborted)return!1;var r=(t-e)/1e3,i=Math.min(r/n,1);if(c.style.width=100*i+"%",o<n)if(r>=o&&!s.classList.contains("show"))d(),l.remove();else{l.classList.contains("show")||(l.style.display="block",l.style.visibility="visible",l.style.opacity=1);var p=Math.ceil(o-r);l.textContent=a.closeIn.replace("{timeLeft}",p)}return i<1}function h(){var t=performance.now();function r(){var n=performance.now();p(t,n)?requestAnimationFrame(r):e()}requestAnimationFrame(r)}function v(){var t=Date.now(),r=setInterval((function(){var n=Date.now();p(t,n)||(clearInterval(r),e())}),30)}window.requestAnimationFrame?h():v()}({progressDuration:o,crossDelay:i})}})));case 2:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function m(e,t,r,n){return y.apply(this,arguments)}function y(){return(y=r(c().mark((function e(t,o,i,a){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.race([r(c().mark((function e(){var r,i,s,l,f;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==a||!a.aborted){e.next=2;break}throw new Error("Aborted");case 2:if(t.innerHTML="",r=document.createRange().createContextualFragment(o),(i=u(r.querySelectorAll("script"))).forEach((function(e){return e.remove()})),null==a||!a.aborted){e.next=8;break}throw new Error("Aborted");case 8:t.append.apply(t,u(r.childNodes)),s=n(i),e.prev=10,s.s();case 12:if((l=s.n()).done){e.next=20;break}if(f=l.value,null==a||!a.aborted){e.next=16;break}throw new Error("Aborted");case 16:return e.next=18,b(f,t);case 18:e.next=12;break;case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(10),s.e(e.t0);case 25:return e.prev=25,s.f(),e.finish(25);case 28:case"end":return e.stop()}}),e,null,[[10,22,25,28]])})))(),new Promise((function(e,t){setTimeout((function(){return t(new Error("Timeout exceeded"))}),i-50)}))]));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e,t){return new Promise((function(r,o){var i,a=document.createElement("script"),c=n(e.attributes);try{for(c.s();!(i=c.n()).done;){var s=i.value,u=s.name,l=s.value;a.setAttribute(u,l)}}catch(e){c.e(e)}finally{c.f()}e.src?(a.onload=function(){return r()},a.onerror=function(){return o(new Error("Script loading error ".concat(e.src)))},t.appendChild(a)):(a.textContent=e.textContent,t.appendChild(a),r())}))}window.OmniVideoVersion="1.2.0";var w=window.omnivideo_options||{},g=a(a({},{width:730,height:411,defaultSearchParams:{autoplay:1},ratioClass:"omnivideo-embed--16-9",clipRatioClass:"omnivideo-embed--9-16"}),w.iframeOptions||{}),k=w.i18n,x=(a(a({},{vk:{iframe:{width:325,height:646},search:{hd:2}}}),w.providers||{}),"function"==typeof window.omnivideo_configure_iframe?window.omnivideo_configure_iframe:function(){});function L(e){var t,n=!1,o=w.intro.enabled&&!!parseInt(e.dataset.intro),i=e.querySelector(".omnivideo-poster"),a=e.getAttribute("data-default"),u=0;(e.querySelectorAll(".omnivideo-link[data-type]").forEach((function(i){i.addEventListener("click",function(){var i=r(c().mark((function r(i){var a,l,f,p,h,v,m,y,b,L,E,A,_,j,O,C,P,T,D;return c().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i.preventDefault(),a=i.currentTarget,l=n,n=!1,!a.classList.contains("current")){r.next=6;break}return r.abrupt("return");case 6:if(e.querySelectorAll(".omnivideo-link").forEach((function(e){return e.classList.remove("current")})),a.classList.add("current"),e.classList.add("omnivideo-block--playing"),f=e.querySelector(".omnivideo-embed"),e.querySelector(".omnivideo-embed-container").style.display="block",!o){r.next=20;break}return null===(p=t)||void 0===p||p.abort("Skip show intro"),t=new AbortController,r.next=17,d({container:f,options:w.intro,i18n:k,om
1niVideoBlock:e,signal:t.signal},++u);case 17:if(h=r.sent,u===h){r.next=20;break}return r.abrupt("return");case 20:if(f.innerHTML='<div class="omnivideo-loader"></div>',v=a.dataset,m=v.type,y=v.url,b=v.is_clip,L=S(y)){r.next=25;break}return r.abrupt("return");case 25:if(E=!!parseInt(b),"mp4"!==m){r.next=37;break}return(A=document.createElement("video")).setAttribute("controls","controls"),g.defaultSearchParams.autoplay&&!n&&A.setAttribute("autoplay","autoplay"),A.setAttribute("width","100%"),document.dispatchEvent(new CustomEvent("omnivideo/init_block/before_insert_video",{detail:{embedContainer:f,video:A,type:m,url:L,isClickTriggered:l}})),A.innerHTML='<source src="'.concat(L,'" type="video/mp4">Your browser does not support the video tag.'),f.innerHTML="",f.appendChild(A),document.dispatchEvent(new CustomEvent("omnivideo/init_block/after_insert_video",{detail:{embedContainer:f,video:A,type:m,url:L,isClickTriggered:l}})),r.abrupt("return");case 37:for((_=document.createElement("iframe")).width=g.width,_.height=g.height,_.setAttribute("allow","autoplay; fullscreen; picture-in-picture; encrypted-media; gyroscope; accelerometer; clipboard-write; web-share"),_.setAttribute("frameborder","0"),_.setAttribute("allowfullscreen",""),_.setAttribute("referrerpolicy","strict-origin-when-cross-origin"),j=0,O=Object.entries(g.defaultSearchParams);j<O.length;j++)C=s(O[j],2),P=C[0],T=C[1],D=T,"autoplay"===P&&l&&(D=0),L.searchParams.has(P)||L.searchParams.append(P,D);_.src=L,x(_,m,y,n,f),document.dispatchEvent(new CustomEvent("omnivideo/init_block/before_insert_iframe",{detail:{embedContainer:f,iframe:_,type:m,url:L,isClickTriggered:l}})),f.innerHTML="",E?(f.classList.remove("omnivideo-embed--16-9","omnivideo-embed--9-16","omnivideo-embed--1-1","omnivideo-embed--4-3","omnivideo-embed--21-9","omnivideo-embed--4-5"),f.classList.add(g.clipRatioClass)):(f.classList.remove(g.clipRatioClass),f.classList.add(g.ratioClass)),f.appendChild(_),document.dispatchEvent(new CustomEvent("omnivideo/init_block/after_insert_iframe",{detail:{embedContainer:f,iframe:_,type:m,url:L,isClickTriggered:l}}));case 52:case"end":return r.stop()}}),r)})));return function(e){return i.apply(this,arguments)}}())})),i&&i.addEventListener("click",(function(){var t,r=e.querySelector('.omnivideo-link[data-type="'.concat(a,'"]'));r?r.click():null===(t=e.querySelector(".omnivideo-link[data-type]"))||void 0===t||t.click()})),a&&!i)&&new IntersectionObserver((function(t,r){t.forEach((function(t){if(t.isIntersecting){var o=e.querySelector('.omnivideo-link[data-type="'.concat(a,'"]'));o&&(n=!0,o.click(),o.classList.add("current"),e.classList.add("omnivideo-block--playing")),r.unobserve(e)}}))}),{threshold:.1}).observe(e)}function E(e){e.addEventListener("click",(function(t){t.preventDefault();var r=e.getAttribute("data-href")||e.getAttribute("href");if(r){var n=atob(r);"_blank"===(e.getAttribute("data-target")||e.getAttribute("target"))?window.open(n,"_blank").opener=null:window.location.href=n}}))}function S(e){try{return e.startsWith("//")?new URL((window.location.protocol||"https:")+e):(/^https?:\/\//i.test(e)||(e="https://"+e),new URL(e))}catch(e){return console.error("Invalid URL:",e),null}}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".omnivideo-block").forEach(L),document.querySelectorAll(".js-omnivideo-pseudo").forEach(E)})),new MutationObserver((function(e){var t,r=n(e);try{for(r.s();!(t=r.n()).done;){var o,i=n(t.value.addedNodes);try{for(i.s();!(o=i.n()).done;){var a=o.value;if(a instanceof HTMLElement){a.classList.contains("omnivideo-block")&&L(a);var c,s=n(a.querySelectorAll(".omnivideo-block"));try{for(s.s();!(c=s.n()).done;){L(c.value)}}catch(e){s.e(e)}finally{s.f()}a.classList.contains("js-omnivideo-pseudo")&&E(a);var u,l=n(a.querySelectorAll(".js-omnivideo-pseudo"));try{for(l.s();!(u=l.n()).done;){E(u.value)}}catch(e){l.e(e)}finally{l.f()}}}}catch(e){i.e(e)}finally{i.f()}}}catch(e){r.e(e)}finally{r.f()}})).observe(document.body,{childList:!0,subtree:!0}),function(e){if(e){var t=function(t){var r=t.detail,n=r.type,o=r.url;r.isClickTriggered||function(t,r){if("undefined"==typeof ym)return;try{ym(e,"reachGoal",t,r,(function(){}))}catch(e){console.error(e)}}("omnivideo/show",{type:n,url:o})};document.addEventListener("omnivideo/init_block/after_insert_iframe",t),document.addEventListener("omnivideo/init_block/after_insert_video",t),document.addEventListener("omnivideo/init_block/after_insert_script",t)}}(w.metrikaCounter)}));

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.