1var b=Object.defineProperty;var v=(r,i,n)=>i in r?b(r,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[i]=n;var g=(r,i,n)=>v(r,typeof i!="symbol"?i+"":i,n);import"../shared/modulepreload-polyfill.js";const h=class h{static init(i){return h.instance||(h.instance=new h(i)),h.instance}constructor(i={}){this.options=Object.assign({selector:"[data-custom-tooltip], .js-custom-tooltip",offset:8,margin:10},i),this.trigger=null,this.el=document.createElement("div"),this.el.className="custom-tooltip",this.el.id="custom-tooltip",this.el.setAttribute("role","tooltip"),this.el.innerHTML='<div class="custom-tooltip-inner"></div>',document.body.appendChild(this.el),this._onDocumentClick=this._onDocumentClick.bind(this),this._onKeyDown=this._onKeyDown.bind(this),this._onReposition=this._onReposition.bind(this),document.addEventListener("click",this._onDocumentClick),document.addEventListener("keydown",this._onKeyDown),window.addEventListener("resize",this._onReposition),window.addEventListener("scroll",this._onReposition,!0),document.querySelectorAll(this.options.selector).forEach(n=>this._extractTitle(n)),this._observer=new MutationObserver(n=>{for(const l of n)for(const t of l.addedNodes)t instanceof Element&&(t.matches(this.options.selector)&&this._extractTitle(t),t.querySelectorAll(this.options.selector).forEach(e=>this._extractTitle(e)))}),this._observer.observe(document.documentElement,{childList:!0,subtree:!0})}_extractTitle(i){i.hasAttribute("title")&&(i.setAttribute("data-title",i.getAttribute("title")),i.removeAttribute("title"))}_onDocumentClick(i){if(!(i.target instanceof Element))return;const n=i.target.closest(this.options.selector);if(n){n===this.trigger?this.hide():this.show(n);return}this.trigger&&!this.el.contains(i.target)&&this.hide()}_onKeyDown(i){i.key==="Escape"&&this.hide()}show(i){this._extractTitle(i);const n=i.getAttribute("data-title");n&&(this.trigger=i,this.el.querySelector(".custom-tooltip-inner").innerHTML=n,this.trigger.setAttribute("aria-describedby",this.el.id),this._position(),this.el.classList.add("show"))}hide(){this.trigger&&(this.el.classList.remove("show"),this.trigger.removeAttribute("aria-describedby"),this.trigger=null)}_position(){if(!this.trigger)return;const i=this.trigger.getBoundingClientRect();if(!i.width&&!i.height){this.hide();return}const{offset:n,margin:l}=this.options,t=this.el.getBoundingClientRect();let e=i.left+i.width/2-t.width/2;e=Math.max(l,Math.min(e,window.innerWidth-t.width-l));const s=window.innerHeight-i.bottom>=t.height+n+l||i.top<t.height+n,a=s?i.bottom+n:i.top-t.height-n;this.el.style.left=`${e}px`,this.el.style.top=`${a}px`,this.el.classList.toggle("custom-tooltip-top",!s)}_onReposition(){this.trigger&&this._position()}destroy(){this.hide(),this._observer.disconnect(),document.querySelectorAll(`${this.options.selector}[data-title]`).forEach(i=>{i.setAttribute("title",i.getAttribute("data-title")),i.removeAttribute("data-title")}),document.removeEventListener("click",this._onDocumentClick),document.removeEventListener("keydown",this._onKeyDown),window.removeEventListener("resize",this._onReposition),window.removeEventListener("scroll",this._onReposition,!0),this.el.remove(),h.instance=null}};g(h,"instance",null);let m=h;(function(){function r(t,e){this.rootElements=Array.from(document.querySelectorAll(`[data-videoembedded="${t}"]`)),this.data=e,this.videoDataList=[],this.rootElements.map((o,s)=>{this.videoDataList[s]=[]}),this.options={hideTitleDesktop:this.rootElements.map(o=>o.dataset.hasOwnProperty("titleXlHide"))},this.init()}r.prototype.init=async function(){this.data.forEach(t=>{try{this.addVideo(t)}catch(e){console.error(e),window.Sentry&&window.Sentry.captureException(e)}}),this.videoDataList.length>0&&(this.initTabs(),this.initVideoBlock(),this.selectFirstVideo())},r.prototype.request=function(t){return new Promise((e,o)=>{setTimeout(()=>{e(!0)},t)})},r.prototype.initTabs=function(){this.rootElements.map((t,e)=>{const o="ÐлееÑ: ",s=document.createElement("div");s.classList.add("video-list__title"),this.options.hideTitleDesktop[e]&&s.classList.add("video-list__title--hide-xl"),s.innerText=o;const a=document.createElement("div");a.classList.add("video-list__tabs"),a.appendChild(s),this.videoDataList[e].forEach(p=>{const u=p.tabElement;u&&a.appendChild(u)}),t.appendChild(a);const c=document.createElement("button");c.type="button",c.className="video-list__warning service-warning button button--link js-cu
1stom-tooltip",c.setAttribute("title",'УведомлÑем об иÑполÑзовании ÑÑоÑоннего ÑеÑвиÑа (<a href="/company/about/privacy-policy/" target="_blank" title="ÐзнакомиÑÑÑÑ Ñ Ð¿Ð¾Ð»Ð¸Ñикой конÑиденÑиалÑноÑÑи">п. 9.1 ÐолиÑики</a>). ÐÑполÑзÑÑ Ð¿Ð»ÐµÐµÑ ÑÑоÑоннего ÑеÑвиÑа, Ð²Ñ ÑоглаÑаеÑеÑÑ Ñ ÐµÐ³Ð¾ пÑавилами и полиÑикой конÑиденÑиалÑноÑÑи. ÐÑеÑензии по иÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ ÑеÑвиÑа напÑавлÑÑÑÑÑ ÐµÐ³Ð¾ владелÑÑÑ Ð±ÐµÐ· пÑивлеÑÐµÐ½Ð¸Ñ Ð¿ÑавообладаÑÐµÐ»Ñ Ð½Ð°ÑÑоÑÑего ÑайÑа.');const d=document.createElement("img");d.src="data:image/svg+xml,%3csvg%20width=%2732%27%20height=%2732%27%20viewBox=%270%200%2032%2032%27%20fill=%27none%27%20xmlns=%27http://www.w3.org/2000/svg%27%3e%3cpath%20d=%27M15.999%2030.666C7.91503%2030.666%201.33203%2024.083%201.33203%2015.999C1.33203%207.91503%207.91503%201.33203%2015.999%201.33203C24.083%201.33203%2030.666%207.91503%2030.666%2015.999C30.666%2024.083%2024.092%2030.666%2015.999%2030.666ZM15.999%202.72903C8.68303%202.72903%202.72903%208.68303%202.72903%2015.999C2.72903%2023.315%208.68303%2029.269%2015.999%2029.269C23.315%2029.269%2029.269%2023.315%2029.269%2015.999C29.269%208.68303%2023.315%202.72903%2015.999%202.72903Z%27%20fill=%27%23FF7700%27/%3e%3cpath%20d=%27M15.9981%2025.0782C14.4621%2025.0782%2013.2041%2023.8212%2013.2041%2022.2842C13.2041%2020.7472%2014.4611%2019.4902%2015.9981%2019.4902C17.5351%2019.4902%2018.7921%2020.7472%2018.7921%2022.2842C18.7921%2023.8212%2017.5441%2025.0782%2015.9981%2025.0782ZM15.9981%2020.8882C15.2301%2020.8882%2014.6011%2021.5172%2014.6011%2022.2852C14.6011%2023.0532%2015.2301%2023.6822%2015.9981%2023.6822C16.7661%2023.6822%2017.3951%2023.0532%2017.3951%2022.2852C17.3951%2021.5172%2016.7661%2020.8882%2015.9981%2020.8882Z%27%20fill=%27%23FF7700%27/%3e%3cpath%20d=%27M15.9999%2018.0947C14.9699%2018.0947%2014.2019%2017.5097%2013.9309%2016.5317C13.7129%2015.7457%2013.3289%2010.9877%2013.2059%209.13766C13.1539%208.37766%2013.4069%207.65366%2013.9219%207.11266C14.4549%206.54566%2015.2049%206.22266%2015.9999%206.22266C16.7949%206.22266%2017.5539%206.54566%2018.0779%207.11266C18.5839%207.65366%2018.8379%208.37866%2018.7939%209.13766C18.6719%2010.9887%2018.2879%2015.7467%2018.0689%2016.5317C17.7979%2017.5097%2017.0299%2018.0947%2015.9999%2018.0947ZM15.9999%207.61866C15.5899%207.61866%2015.2059%207.78466%2014.9439%208.06366C14.7689%208.24666%2014.5769%208.56966%2014.6039%209.04166C14.7789%2011.7307%2015.1449%2015.6597%2015.2759%2016.1567C15.3809%2016.5317%2015.5989%2016.6897%2016.0009%2016.6897C16.4029%2016.6897%2016.6209%2016.5327%2016.7259%2016.1567C16.8659%2015.6587%2017.2239%2011.7307%2017.3979%209.04166C17.4329%208.56166%2017.2319%208.24766%2017.0579%208.06366C16.7959%207.78466%2016.4119%207.61866%2016.0019%207.61866H15.9999Z%27%20fill=%27%23FF7700%27/%3e%3c/svg%3e",d.alt="ÐекоÑаÑивное изобÑажение",d.className="service-warning__image",c.appendChild(d),a.appendChild(c)})},r.prototype.initVideoBlock=function(){this.rootElements.map(t=>{const e=document.createElement("div");this.data.length===0?e.classList.add("video-list__no-video"):e.classList.add("video-list__video"),t.appendChild(e)})},r.prototype.addVideo=function(t){this.rootElements.map((e,o)=>{const s=t.platform,a=t.code,c=t.autoplay===!0,d=this.makeUrlFromHash(a,s,c),p=t.title||this.getPlayerTitle(s),u=document.createElement("div");u.classList.add("video-list__tab"),u.innerText=p;const f={url:d,vhash:a,playerTitle:p,player:s,tabElement:u};u.addEventListener("click",()=>{this.selectVideo(f,o)}),this.videoDataList[o].push(f)})},r.prototype.makeUrlFromHash=function(t,e,o){const s=(a="?")=>o?`${a}autoplay=1`:"";switch(e){case"youtube":return`https://www.youtube.com/embed/${t}${s("?")}`;case"rutube":return`https://rutube.ru/play/embed/${t}`;case"vkvideo":{const[a,c]=t.replace("video","").split("_");return`https://vkvideo.ru/video_ext.php?oid=-${a}&id=${c}${s("&")}`}case"kinescope":return t;case"url":return t;default:throw new Error("Ðе опÑеделÑн Ñип плееÑа")}},r.prototype.isValidPlayer=function(t){return["youtube","vkvideo","rutube","kinescope"].includes(t)},r.prototype.getPlayerTitle=function(t){if(t.length===0)return"ÐлееÑ";switch(t){case"youtube":return"YouTube";case"vkvideo":return"VK Ðидео";case"rutube":return"RUTUBE";case"kinescope":return"Kinescope";case"url":return"ÐлееÑ"}const o=t.charAt(0).toUpperCase(),s=t.slice(1);return o+s}
1,r.prototype.updateIframeParams=function(t,e){t.frameBorder=0,t.allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",t.allowFullscreen=!0,t.referrerPolicy="strict-origin-when-cross-origin",t.width="100%",t.height="100%"},r.prototype.makeIframeElement=function(t){const e=document.createElement("iframe");return e.src=t.url,this.updateIframeParams(e,t.player),e},r.prototype.selectVideo=function(t,e){const o=t.tabElement;if(!o)return;const s=this.makeIframeElement(t);this.setSelectedTab(o,e),this.cleanVideoContainer(e),this.rootElements[e].querySelector(".video-list__video").appendChild(s)},r.prototype.unsetSelectedTab=function(t){this.videoDataList[t].forEach(e=>{const o=e.tabElement;o&&o.classList.contains("active")&&o.classList.remove("active")})},r.prototype.setSelectedTab=function(t,e){this.unsetSelectedTab(e),t.classList.add("active")},r.prototype.cleanVideoContainer=function(t){const e=this.rootElements[t].querySelector(".video-list__video").children;for(let o=e.length-1;o>=0;o--)e.item(o).remove()},r.prototype.selectFirstVideo=function(){this.rootElements.map((t,e)=>{const o=this.videoDataList[e][0];o&&this.selectVideo(o,e)})};const i=document.getElementsByClassName("video-list");if(i.length===0)return;let n=[],l=[];if(i.length)for(let t=0;t<i.length;t++){let e=i[t],o=e.getAttribute("data-videoembedded");o&&(e.getAttribute("data-html")==="Y"?n.push(e):l.push(o))}if(l.length){const e=[];for(let o=0;o<l.length;o+=20)e.push(l.slice(o,o+20));e.forEach(o=>{let s=[],a=window.bxauth.sessid;a&&l&&fetch(`/api/v1/video/embedded/?tags=${o}&sessid=${a}`).then(c=>c.json()).then(c=>{s=c,s.forEach(d=>{new r(d.tag,d.videos)})}).catch(c=>{window.Sentry&&window.Sentry.captureException(c)})})}n.length>0&&n.forEach(t=>{const e=t.getAttribute("data-videoembedded"),o=Array.from(t.children).map(s=>{const a=s.getAttribute("data-code"),c=s.getAttribute("data-pl"),d=s.getAttribute("data-title"),p=s.getAttribute("data-autoplay")==="Y";return a&&c?{code:a,platform:c,title:d,autoplay:p}:null}).filter(Boolean);t.textContent="",new r(e,o)})})();m.init();
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.