@foxreis/tizentube 1.13.2 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/userScript.js +1 -1
- package/package.json +1 -1
package/dist/userScript.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
!function(){"use strict";var e,t=[{architecture:"Linux arm64-v8a",os:"Android 10",rasterizer:"gles",manufacturer:"Sony",deviceType:"ATV",chipsetModel:"sdm845",modelYear:13140765,firmwareVersion:"52.1.C.0.268",brand:"KDDI",model:"SOV38"},{architecture:"Linux armeabi-v7a",os:"Android 14",rasterizer:"gles",manufacturer:"Google",deviceType:"ATV",chipsetModel:"sabrina",modelYear:2020,firmwareVersion:"UTTC.250917.004",brand:"google",model:"Chromecast"},{architecture:"Linux armeabi-v7a",os:"Android 12",rasterizer:"gles",manufacturer:"TCL",deviceType:"ATV",chipsetModel:"merak",modelYear:2023,firmwareVersion:"STT2.221228.001",brand:"TCL",model:"Smart TV Pro"},{architecture:"Linux armeabi-v7a",os:"Android 7.1.2",rasterizer:"gles",manufacturer:"Amazon",deviceType:"ATV",chipsetModel:"mt8695",modelYear:0,firmwareVersion:"NS6294",brand:"Amazon",model:"AFTMM"}];if(document.querySelector(".content-container")&&window.h5vcc&&window.h5vcc.tizentube&&window.h5vcc.tizentube.SetUserAgent){var i=localStorage.getItem("userAgent");i&&(window.h5vcc.tizentube.SetUserAgent(i),location.reload());var n=t[Math.floor(Math.random()*t.length)],a=`Mozilla/5.0 (${(e=n).architecture}; ${e.os}) Cobalt/25.lts.30.1034958-gold (unlike Gecko) v8/8.8.278.17-jit ${e.rasterizer} Starboard/15, ${e.manufacturer}_${e.deviceType}_${e.chipsetModel}_${e.modelYear}/${e.firmwareVersion} (${e.brand}, ${e.model}) com.google.android.youtube.tv/5.30.301`;localStorage.setItem("userAgent",a),window.h5vcc.tizentube.SetUserAgent(a),location.reload()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function o(e){if(Array.isArray(e))return e}function s(e,t,i){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:i;throw new TypeError("Private element is not present on this object")}function l(e,t,i,n,a,r,o){try{var s=e[r](o),l=s.value}catch(e){return void i(e)}s.done?t(l):Promise.resolve(l).then(n,a)}function u(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(e,t){return e.get(s(e,t))}function d(e,t,i){u(e,t),t.set(e,i)}function h(e,t,i){return e.set(s(e,t),i),i}function p(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=w(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 r,o=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){s=!0,r=e},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw r}}}}function m(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.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:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function g(){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 f(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function v(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?f(Object(i),!0).forEach(function(t){m(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function b(){
|
|
2
2
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
3
|
-
var e,t,i="function"==typeof Symbol?Symbol:{},n=i.iterator||"@@iterator",a=i.toStringTag||"@@toStringTag";function r(i,n,a,r){var l=n&&n.prototype instanceof s?n:s,u=Object.create(l.prototype);return y(u,"_invoke",function(i,n,a){var r,s,l,u=0,c=a||[],d=!1,h={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,i){return r=t,s=0,l=e,h.n=i,o}};function p(i,n){for(s=i,l=n,t=0;!d&&u&&!a&&t<c.length;t++){var a,r=c[t],p=h.p,m=r[2];i>3?(a=m===n)&&(l=r[(s=r[4])?5:(s=3,3)],r[4]=r[5]=e):r[0]<=p&&((a=i<2&&p<r[1])?(s=0,h.v=n,h.n=r[1]):p<m&&(a=i<3||r[0]>n||n>m)&&(r[4]=i,r[5]=n,h.n=m,s=0))}if(a||i>1)return o;throw d=!0,n}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),s=c,l=m;(t=s<2?e:l)||!d;){r||(s?s<3?(s>1&&(h.n=-1),p(s,l)):h.n=l:h.v=l);try{if(u=2,r){if(s||(a="next"),t=r[a]){if(!(t=t.call(r,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=r.return)&&t.call(r),s<2&&(l=TypeError("The iterator does not provide a '"+a+"' method"),s=1);r=e}else if((t=(d=h.n<0)?l:i.call(n,h))!==o)break}catch(t){r=e,s=1,l=t}finally{u=1}}return{value:t,done:d}}}(i,a,r),!0),u}var o={};function s(){}function l(){}function u(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(y(t={},n,function(){return this}),t),d=u.prototype=s.prototype=Object.create(c);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,y(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=u,y(d,"constructor",u),y(u,"constructor",l),l.displayName="GeneratorFunction",y(u,a,"GeneratorFunction"),y(d),y(d,a,"Generator"),y(d,n,function(){return this}),y(d,"toString",function(){return"[object Generator]"}),(b=function(){return{w:r,m:h}})()}function y(e,t,i,n){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}y=function(e,t,i,n){if(t)a?a(e,t,{value:i,enumerable:!n,configurable:!n,writable:!n}):e[t]=i;else{function r(t,i){y(e,t,function(e){return this._invoke(t,i,e)})}r("next",0),r("throw",1),r("return",2)}},y(e,t,i,n)}function k(e,t){return o(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var n,a,r,o,s=[],l=!0,u=!1;try{if(r=(i=i.call(e)).next,0===t){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=r.call(i)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(u)throw a}}return s}}(e,t)||w(e,t)||g()}function S(e){return o(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w(e)||g()}function x(e){return x="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},x(e)}function w(e,t){if(e){if("string"==typeof e)return r(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?r(e,t):void 0}}var D="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},T="URLSearchParams"in D,E="Symbol"in D&&"iterator"in Symbol,C="FileReader"in D&&"Blob"in D&&function(){try{return new Blob,!0}catch(e){return!1}}(),A="FormData"in D,P="ArrayBuffer"in D;if(P)var B=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],z=ArrayBuffer.isView||function(e){return e&&B.indexOf(Object.prototype.toString.call(e))>-1};function I(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function F(e){return"string"!=typeof e&&(e=String(e)),e}function O(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return E&&(t[Symbol.iterator]=function(){return t}),t}function j(e){this.map={},e instanceof j?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function M(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function R(e){return new Promise(function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}})}function N(e){var t=new FileReader,i=R(t);return t.readAsArrayBuffer(e),i}function L(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:C&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:A&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:T&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():P&&C&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=L(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):P&&(ArrayBuffer.prototype.isPrototypeOf(e)||z(e))?this._bodyArrayBuffer=L(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):T&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},C&&(this.blob=function(){var e=M(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=M(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(C)return this.blob().then(N);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,n,a,r=M(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,i=R(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),a=n?n[1]:"utf-8",t.readAsText(e,a),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n<t.length;n++)i[n]=String.fromCharCode(t[n]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},A&&(this.formData=function(){return this.text().then(U)}),this.json=function(){return this.text().then(JSON.parse)},this}j.prototype.append=function(e,t){e=I(e),t=F(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},j.prototype.delete=function(e){delete this.map[I(e)]},j.prototype.get=function(e){return e=I(e),this.has(e)?this.map[e]:null},j.prototype.has=function(e){return this.map.hasOwnProperty(I(e))},j.prototype.set=function(e,t){this.map[I(e)]=F(t)},j.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},j.prototype.keys=function(){var e=[];return this.forEach(function(t,i){e.push(i)}),O(e)},j.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),O(e)},j.prototype.entries=function(){var e=[];return this.forEach(function(t,i){e.push([i,t])}),O(e)},E&&(j.prototype[Symbol.iterator]=j.prototype.entries);var V=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function H(e,t){if(!(this instanceof H))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,n,a=(t=t||{}).body;if(e instanceof H){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new j(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,a||null==e._bodyInit||(a=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new j(t.headers)),this.method=(i=t.method||this.method||"GET",n=i.toUpperCase(),V.indexOf(n)>-1?n:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in D)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(a),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function U(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var i=e.split("="),n=i.shift().replace(/\+/g," "),a=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(a))}}),t}function W(e,t){if(!(this instanceof W))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new j(t.headers),this.url=t.url||"",this._initBody(e)}H.prototype.clone=function(){return new H(this,{body:this._bodyInit})},_.call(H.prototype),_.call(W.prototype),W.prototype.clone=function(){return new W(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new j(this.headers),url:this.url})},W.error=function(){var e=new W(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var K=[301,302,303,307,308];W.redirect=function(e,t){if(-1===K.indexOf(t))throw new RangeError("Invalid status code");return new W(null,{status:t,headers:{location:e}})};var G=D.DOMException;try{new G}catch(e){(G=function(e,t){this.message=e,this.name=t;var i=Error(e);this.stack=i.stack}).prototype=Object.create(Error.prototype),G.prototype.constructor=G}function q(e,t){return new Promise(function(i,n){var a=new H(e,t);if(a.signal&&a.signal.aborted)return n(new G("Aborted","AbortError"));var r=new XMLHttpRequest;function o(){r.abort()}if(r.onload=function(){var e,t,n={statusText:r.statusText,headers:(e=r.getAllResponseHeaders()||"",t=new j,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var i=e.split(":"),n=i.shift().trim();if(n){var a=i.join(":").trim();try{t.append(n,a)}catch(e){console.warn("Response "+e.message)}}}),t)};0===a.url.indexOf("file://")&&(r.status<200||r.status>599)?n.status=200:n.status=r.status,n.url="responseURL"in r?r.responseURL:n.headers.get("X-Request-URL");var o="response"in r?r.response:r.responseText;setTimeout(function(){i(new W(o,n))},0)},r.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},r.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},r.onabort=function(){setTimeout(function(){n(new G("Aborted","AbortError"))},0)},r.open(a.method,function(e){try{return""===e&&D.location.href?D.location.href:e}catch(t){return e}}(a.url),!0),"include"===a.credentials?r.withCredentials=!0:"omit"===a.credentials&&(r.withCredentials=!1),"responseType"in r&&(C?r.responseType="blob":P&&(r.responseType="arraybuffer")),t&&"object"===x(t.headers)&&!(t.headers instanceof j||D.Headers&&t.headers instanceof D.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach(function(e){s.push(I(e)),r.setRequestHeader(e,F(t.headers[e]))}),a.headers.forEach(function(e,t){-1===s.indexOf(t)&&r.setRequestHeader(t,e)})}else a.headers.forEach(function(e,t){r.setRequestHeader(t,e)});a.signal&&(a.signal.addEventListener("abort",o),r.onreadystatechange=function(){4===r.readyState&&a.signal.removeEventListener("abort",o)}),r.send(void 0===a._bodyInit?null:a._bodyInit)})}q.polyfill=!0,D.fetch||(D.fetch=q,D.Headers=j,D.Request=H,D.Response=W);var J="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function X(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Y,$,Q={};function Z(){if($)return Y;$=1;var e=function(e){return e&&e.Math===Math&&e};return Y=e("object"==("undefined"==typeof globalThis?"undefined":x(globalThis))&&globalThis)||e("object"==("undefined"==typeof window?"undefined":x(window))&&window)||e("object"==("undefined"==typeof self?"undefined":x(self))&&self)||e("object"==x(J)&&J)||e("object"==x(Y)&&Y)||function(){return this}()||Function("return this")()}var ee,te,ie,ne,ae,re,oe,se,le={};function ue(){return te?ee:(te=1,ee=function(e){try{return!!e()}catch(e){return!0}})}function ce(){if(ne)return ie;ne=1;var e=ue();return ie=!e(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function de(){if(re)return ae;re=1;var e=ue();return ae=!e(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}function he(){if(se)return oe;se=1;var e=de(),t=Function.prototype.call;return oe=e?t.bind(t):function(){return t.apply(t,arguments)},oe}var pe,me,ge,fe,ve,be,ye,ke,Se,xe,we,De,Te,Ee,Ce,Ae,Pe,Be,ze,Ie,Fe,Oe,je,Me,Re,Ne,Le,_e,Ve,He,Ue,We,Ke,Ge,qe,Je,Xe,Ye,$e,Qe,Ze,et={};function tt(){return ge?me:(ge=1,me=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}})}function it(){if(ve)return fe;ve=1;var e=de(),t=Function.prototype,i=t.call,n=e&&t.bind.bind(i,i);return fe=e?n:function(e){return function(){return i.apply(e,arguments)}},fe}function nt(){if(Se)return ke;Se=1;var e=it(),t=ue(),i=function(){if(ye)return be;ye=1;var e=it(),t=e({}.toString),i=e("".slice);return be=function(e){return i(t(e),8,-1)}}(),n=Object,a=e("".split);return ke=t(function(){return!n("z").propertyIsEnumerable(0)})?function(e){return"String"===i(e)?a(e,""):n(e)}:n}function at(){return we?xe:(we=1,xe=function(e){return null==e})}function rt(){if(Te)return De;Te=1;var e=at(),t=TypeError;return De=function(i){if(e(i))throw new t("Can't call method on "+i);return i}}function ot(){if(Ce)return Ee;Ce=1;var e=nt(),t=rt();return Ee=function(i){return e(t(i))}}function st(){if(Pe)return Ae;Pe=1;var e="object"==("undefined"==typeof document?"undefined":x(document))&&document.all;return Ae=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(e){return"function"==typeof e}}function lt(){if(ze)return Be;ze=1;var e=st();return Be=function(t){return"object"==x(t)?null!==t:e(t)}}function ut(){if(Fe)return Ie;Fe=1;var e=Z(),t=st();return Ie=function(i,n){return arguments.length<2?(a=e[i],t(a)?a:void 0):e[i]&&e[i][n];var a},Ie}function ct(){if(Le)return Ne;Le=1;var e,t,i=Z(),n=function(){if(Re)return Me;Re=1;var e=Z().navigator,t=e&&e.userAgent;return Me=t?String(t):""}(),a=i.process,r=i.Deno,o=a&&a.versions||r&&r.version,s=o&&o.v8;return s&&(t=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!t&&n&&(!(e=n.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=n.match(/Chrome\/(\d+)/))&&(t=+e[1]),Ne=t}function dt(){if(Ve)return _e;Ve=1;var e=ct(),t=ue(),i=Z().String;return _e=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41})}function ht(){if(Ue)return He;Ue=1;var e=dt();return He=e&&!Symbol.sham&&"symbol"==x(Symbol.iterator)}function pt(){if(Ke)return We;Ke=1;var e=ut(),t=st(),i=function(){if(je)return Oe;je=1;var e=it();return Oe=e({}.isPrototypeOf)}(),n=ht(),a=Object;return We=n?function(e){return"symbol"==x(e)}:function(n){var r=e("Symbol");return t(r)&&i(r.prototype,a(n))}}function mt(){if(qe)return Ge;qe=1;var e=String;return Ge=function(t){try{return e(t)}catch(e){return"Object"}}}function gt(){if(Xe)return Je;Xe=1;var e=st(),t=mt(),i=TypeError;return Je=function(n){if(e(n))return n;throw new i(t(n)+" is not a function")}}function ft(){if($e)return Ye;$e=1;var e=gt(),t=at();return Ye=function(i,n){var a=i[n];return t(a)?void 0:e(a)}}function vt(){if(Ze)return Qe;Ze=1;var e=he(),t=st(),i=lt(),n=TypeError;return Qe=function(a,r){var o,s;if("string"===r&&t(o=a.toString)&&!i(s=e(o,a)))return s;if(t(o=a.valueOf)&&!i(s=e(o,a)))return s;if("string"!==r&&t(o=a.toString)&&!i(s=e(o,a)))return s;throw new n("Can't convert object to primitive value")}}var bt,yt,kt,St,xt,wt,Dt,Tt,Et,Ct,At,Pt,Bt,zt,It,Ft,Ot,jt,Mt,Rt,Nt,Lt,_t,Vt,Ht={exports:{}};function Ut(){if(St)return kt;St=1;var e=Z(),t=Object.defineProperty;return kt=function(i,n){try{t(e,i,{value:n,configurable:!0,writable:!0})}catch(t){e[i]=n}return n},kt}function Wt(){if(xt)return Ht.exports;xt=1;var e=yt?bt:(yt=1,bt=!1),t=Z(),i=Ut(),n="__core-js_shared__",a=Ht.exports=t[n]||i(n,{});return(a.versions||(a.versions=[])).push({version:"3.46.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Ht.exports}function Kt(){if(Dt)return wt;Dt=1;var e=Wt();return wt=function(t,i){return e[t]||(e[t]=i||{})},wt}function Gt(){if(Et)return Tt;Et=1;var e=rt(),t=Object;return Tt=function(i){return t(e(i))}}function qt(){if(At)return Ct;At=1;var e=it(),t=Gt(),i=e({}.hasOwnProperty);return Ct=Object.hasOwn||function(e,n){return i(t(e),n)},Ct}function Jt(){if(Bt)return Pt;Bt=1;var e=it(),t=0,i=Math.random(),n=e(1.1.toString);return Pt=function(e){return"Symbol("+(void 0===e?"":e)+")_"+n(++t+i,36)},Pt}function Xt(){if(It)return zt;It=1;var e=Z(),t=Kt(),i=qt(),n=Jt(),a=dt(),r=ht(),o=e.Symbol,s=t("wks"),l=r?o.for||o:o&&o.withoutSetter||n;return zt=function(e){return i(s,e)||(s[e]=a&&i(o,e)?o[e]:l("Symbol."+e)),s[e]}}function Yt(){if(Ot)return Ft;Ot=1;var e=he(),t=lt(),i=pt(),n=ft(),a=vt(),r=Xt(),o=TypeError,s=r("toPrimitive");return Ft=function(r,l){if(!t(r)||i(r))return r;var u,c=n(r,s);if(c){if(void 0===l&&(l="default"),u=e(c,r,l),!t(u)||i(u))return u;throw new o("Can't convert object to primitive value")}return void 0===l&&(l="number"),a(r,l)}}function $t(){if(Mt)return jt;Mt=1;var e=Yt(),t=pt();return jt=function(i){var n=e(i,"string");return t(n)?n:n+""},jt}function Qt(){if(_t)return Lt;_t=1;var e=ce(),t=ue(),i=function(){if(Nt)return Rt;Nt=1;var e=Z(),t=lt(),i=e.document,n=t(i)&&t(i.createElement);return Rt=function(e){return n?i.createElement(e):{}}}();return Lt=!e&&!t(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})}function Zt(){if(Vt)return le;Vt=1;var e=ce(),t=he(),i=function(){if(pe)return et;pe=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,i=t&&!e.call({1:2},1);return et.f=i?function(e){var i=t(this,e);return!!i&&i.enumerable}:e,et}(),n=tt(),a=ot(),r=$t(),o=qt(),s=Qt(),l=Object.getOwnPropertyDescriptor;return le.f=e?l:function(e,u){if(e=a(e),u=r(u),s)try{return l(e,u)}catch(e){}if(o(e,u))return n(!t(i.f,e,u),e[u])},le}var ei,ti,ii,ni,ai,ri,oi,si={};function li(){if(ni)return ii;ni=1;var e=lt(),t=String,i=TypeError;return ii=function(n){if(e(n))return n;throw new i(t(n)+" is not an object")}}function ui(){if(ai)return si;ai=1;var e=ce(),t=Qt(),i=function(){if(ti)return ei;ti=1;var e=ce(),t=ue();return ei=e&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}(),n=li(),a=$t(),r=TypeError,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",u="configurable",c="writable";return si.f=e?i?function(e,t,i){if(n(e),t=a(t),n(i),"function"==typeof e&&"prototype"===t&&"value"in i&&c in i&&!i[c]){var r=s(e,t);r&&r[c]&&(e[t]=i.value,i={configurable:u in i?i[u]:r[u],enumerable:l in i?i[l]:r[l],writable:!1})}return o(e,t,i)}:o:function(e,i,s){if(n(e),i=a(i),n(s),t)try{return o(e,i,s)}catch(e){}if("get"in s||"set"in s)throw new r("Accessors not supported");return"value"in s&&(e[i]=s.value),e},si}function ci(){if(oi)return ri;oi=1;var e=ce(),t=ui(),i=tt();return ri=e?function(e,n,a){return t.f(e,n,i(1,a))}:function(e,t,i){return e[t]=i,e},ri}var di,hi,pi,mi,gi,fi,vi,bi,yi,ki,Si,xi,wi,Di,Ti,Ei={exports:{}};function Ci(){if(mi)return pi;mi=1;var e=it(),t=st(),i=Wt(),n=e(Function.toString);return t(i.inspectSource)||(i.inspectSource=function(e){return n(e)}),pi=i.inspectSource}function Ai(){if(bi)return vi;bi=1;var e=Kt(),t=Jt(),i=e("keys");return vi=function(e){return i[e]||(i[e]=t(e))},vi}function Pi(){return ki?yi:(ki=1,yi={})}function Bi(){if(xi)return Si;xi=1;var e,t,i,n=function(){if(fi)return gi;fi=1;var e=Z(),t=st(),i=e.WeakMap;return gi=t(i)&&/native code/.test(String(i))}(),a=Z(),r=lt(),o=ci(),s=qt(),l=Wt(),u=Ai(),c=Pi(),d="Object already initialized",h=a.TypeError,p=a.WeakMap;if(n||l.state){var m=l.state||(l.state=new p);m.get=m.get,m.has=m.has,m.set=m.set,e=function(e,t){if(m.has(e))throw new h(d);return t.facade=e,m.set(e,t),t},t=function(e){return m.get(e)||{}},i=function(e){return m.has(e)}}else{var g=u("state");c[g]=!0,e=function(e,t){if(s(e,g))throw new h(d);return t.facade=e,o(e,g,t),t},t=function(e){return s(e,g)?e[g]:{}},i=function(e){return s(e,g)}}return Si={set:e,get:t,has:i,enforce:function(n){return i(n)?t(n):e(n,{})},getterFor:function(e){return function(i){var n;if(!r(i)||(n=t(i)).type!==e)throw new h("Incompatible receiver, "+e+" required");return n}}}}function zi(){if(wi)return Ei.exports;wi=1;var e=it(),t=ue(),i=st(),n=qt(),a=ce(),r=function(){if(hi)return di;hi=1;var e=ce(),t=qt(),i=Function.prototype,n=e&&Object.getOwnPropertyDescriptor,a=t(i,"name"),r=a&&"something"===function(){}.name,o=a&&(!e||e&&n(i,"name").configurable);return di={EXISTS:a,PROPER:r,CONFIGURABLE:o}}().CONFIGURABLE,o=Ci(),s=Bi(),l=s.enforce,u=s.get,c=String,d=Object.defineProperty,h=e("".slice),p=e("".replace),m=e([].join),g=a&&!t(function(){return 8!==d(function(){},"length",{value:8}).length}),f=String(String).split("String"),v=Ei.exports=function(e,t,i){"Symbol("===h(c(t),0,7)&&(t="["+p(c(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),i&&i.getter&&(t="get "+t),i&&i.setter&&(t="set "+t),(!n(e,"name")||r&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),g&&i&&n(i,"arity")&&e.length!==i.arity&&d(e,"length",{value:i.arity});try{i&&n(i,"constructor")&&i.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var o=l(e);return n(o,"source")||(o.source=m(f,"string"==typeof t?t:"")),e};return Function.prototype.toString=v(function(){return i(this)&&u(this).source||o(this)},"toString"),Ei.exports}function Ii(){if(Ti)return Di;Ti=1;var e=st(),t=ui(),i=zi(),n=Ut();return Di=function(a,r,o,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:r;if(e(o)&&i(o,u,s),s.global)l?a[r]=o:n(r,o);else{try{s.unsafe?a[r]&&(l=!0):delete a[r]}catch(e){}l?a[r]=o:t.f(a,r,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return a},Di}var Fi,Oi,ji,Mi,Ri,Ni,Li,_i,Vi,Hi,Ui,Wi,Ki,Gi,qi,Ji,Xi,Yi={};function $i(){if(Mi)return ji;Mi=1;var e=function(){if(Oi)return Fi;Oi=1;var e=Math.ceil,t=Math.floor;return Fi=Math.trunc||function(i){var n=+i;return(n>0?t:e)(n)}}();return ji=function(t){var i=+t;return i!=i||0===i?0:e(i)}}function Qi(){if(Ni)return Ri;Ni=1;var e=$i(),t=Math.max,i=Math.min;return Ri=function(n,a){var r=e(n);return r<0?t(r+a,0):i(r,a)}}function Zi(){if(_i)return Li;_i=1;var e=$i(),t=Math.min;return Li=function(i){var n=e(i);return n>0?t(n,9007199254740991):0}}function en(){if(Hi)return Vi;Hi=1;var e=Zi();return Vi=function(t){return e(t.length)}}function tn(){if(Gi)return Ki;Gi=1;var e=it(),t=qt(),i=ot(),n=function(){if(Wi)return Ui;Wi=1;var e=ot(),t=Qi(),i=en(),n=function(n){return function(a,r,o){var s=e(a),l=i(s);if(0===l)return!n&&-1;var u,c=t(o,l);if(n&&r!=r){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((n||c in s)&&s[c]===r)return n||c||0;return!n&&-1}};return Ui={includes:n(!0),indexOf:n(!1)}}().indexOf,a=Pi(),r=e([].push);return Ki=function(e,o){var s,l=i(e),u=0,c=[];for(s in l)!t(a,s)&&t(l,s)&&r(c,s);for(;o.length>u;)t(l,s=o[u++])&&(~n(c,s)||r(c,s));return c},Ki}var nn,an,rn,on,sn,ln,un,cn,dn,hn,pn,mn,gn,fn={};function vn(){if(rn)return an;rn=1;var e=ut(),t=it(),i=function(){if(Xi)return Yi;Xi=1;var e=tn(),t=(Ji?qi:(Ji=1,qi=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])).concat("length","prototype");return Yi.f=Object.getOwnPropertyNames||function(i){return e(i,t)},Yi}(),n=(nn||(nn=1,fn.f=Object.getOwnPropertySymbols),fn),a=li(),r=t([].concat);return an=e("Reflect","ownKeys")||function(e){var t=i.f(a(e)),o=n.f;return o?r(t,o(e)):t}}function bn(){if(sn)return on;sn=1;var e=qt(),t=vn(),i=Zt(),n=ui();return on=function(a,r,o){for(var s=t(r),l=n.f,u=i.f,c=0;c<s.length;c++){var d=s[c];e(a,d)||o&&e(o,d)||l(a,d,u(r,d))}},on}function yn(){if(dn)return cn;dn=1;var e=Z(),t=Zt().f,i=ci(),n=Ii(),a=Ut(),r=bn(),o=function(){if(un)return ln;un=1;var e=ue(),t=st(),i=/#|\.prototype\./,n=function(i,n){var l=r[a(i)];return l===s||l!==o&&(t(n)?e(n):!!n)},a=n.normalize=function(e){return String(e).replace(i,".").toLowerCase()},r=n.data={},o=n.NATIVE="N",s=n.POLYFILL="P";return ln=n}();return cn=function(s,l){var u,c,d,h,p,m=s.target,g=s.global,f=s.stat;if(u=g?e:f?e[m]||a(m,{}):e[m]&&e[m].prototype)for(c in l){if(h=l[c],d=s.dontCallGetSet?(p=t(u,c))&&p.value:u[c],!o(g?c:m+(f?".":"#")+c,s.forced)&&void 0!==d){if(x(h)==x(d))continue;r(h,d)}(s.sham||d&&d.sham)&&i(h,"sham",!0),n(u,c,h,s)}},cn}function kn(){if(pn)return hn;pn=1;var e=ce(),t=ui(),i=tt();return hn=function(n,a,r){e?t.f(n,a,i(0,r)):n[a]=r},hn}gn||(gn=1,function(){if(mn)return Q;mn=1;var e=yn(),t=ce(),i=vn(),n=ot(),a=Zt(),r=kn();e({target:"Object",stat:!0,sham:!t},{getOwnPropertyDescriptors:function(e){for(var t,o,s=n(e),l=a.f,u=i(s),c={},d=0;u.length>d;)void 0!==(o=l(s,t=u[d++]))&&r(c,t,o);return c}})}());var Sn=e=>"string"==typeof e,xn=()=>{var e,t,i=new Promise((i,n)=>{e=i,t=n});return i.resolve=e,i.reject=t,i},wn=e=>null==e?"":""+e,Dn=/###/g,Tn=e=>e&&e.indexOf("###")>-1?e.replace(Dn,"."):e,En=e=>!e||Sn(e),Cn=(e,t,i)=>{for(var n=Sn(t)?t.split("."):t,a=0;a<n.length-1;){if(En(e))return{};var r=Tn(n[a]);!e[r]&&i&&(e[r]=new i),e=Object.prototype.hasOwnProperty.call(e,r)?e[r]:{},++a}return En(e)?{}:{obj:e,k:Tn(n[a])}},An=(e,t,i)=>{var n=Cn(e,t,Object),a=n.obj,r=n.k;if(void 0===a&&1!==t.length){for(var o=t[t.length-1],s=t.slice(0,t.length-1),l=Cn(e,s,Object);void 0===l.obj&&s.length;){var u;o=`${s[s.length-1]}.${o}`,s=s.slice(0,s.length-1),null!==(u=l=Cn(e,s,Object))&&void 0!==u&&u.obj&&void 0!==l.obj[`${l.k}.${o}`]&&(l.obj=void 0)}l.obj[`${l.k}.${o}`]=i}else a[r]=i},Pn=(e,t)=>{var i=Cn(e,t),n=i.obj,a=i.k;if(n&&Object.prototype.hasOwnProperty.call(n,a))return n[a]},Bn=(e,t,i)=>{for(var n in t)"__proto__"!==n&&"constructor"!==n&&(n in e?Sn(e[n])||e[n]instanceof String||Sn(t[n])||t[n]instanceof String?i&&(e[n]=t[n]):Bn(e[n],t[n],i):e[n]=t[n]);return e},zn=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),In={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},Fn=e=>Sn(e)?e.replace(/[&<>"'\/]/g,e=>In[e]):e;var On=[" ",",","?","!",";"],jn=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){var t=this.regExpMap.get(e);if(void 0!==t)return t;var i=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,i),this.regExpQueue.push(e),i}}(20),Mn=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}for(var n=t.split(i),a=e,r=0;r<n.length;){if(!a||"object"!==x(a))return;for(var o=void 0,s="",l=r;l<n.length;++l)if(l!==r&&(s+=i),void 0!==(o=a[s+=n[l]])){if(["string","number","boolean"].indexOf(x(o))>-1&&l<n.length-1)continue;r+=l-r+1;break}a=o}return a}},Rn=e=>null==e?void 0:e.replace(/_/g,"-"),Nn={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){var i,n;null===(i=console)||void 0===i||null===(i=i[e])||void 0===i||null===(n=i.apply)||void 0===n||n.call(i,console,t)}};class Ln{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Nn,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,i,n){return n&&!this.debug?null:(Sn(e[0])&&(e[0]=`${i}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new Ln(this.logger,v(v({},{prefix:`${this.prefix}:${e}:`}),this.options))}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new Ln(this.logger,e)}}var _n=new Ln;class Vn{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);var i=this.observers[e].get(t)||0;this.observers[e].set(t,i+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];this.observers[e]&&Array.from(this.observers[e].entries()).forEach(e=>{for(var t=k(e,2),n=t[0],a=t[1],r=0;r<a;r++)n(...i)});this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(t=>{for(var n=k(t,2),a=n[0],r=n[1],o=0;o<r;o++)a.apply(a,[e,...i])})}}class Hn extends Vn{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,i){var n,a,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,s=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],i&&(Array.isArray(i)?a.push(...i):Sn(i)&&o?a.push(...i.split(o)):a.push(i)));var l=Pn(this.data,a);return!l&&!t&&!i&&e.indexOf(".")>-1&&(e=a[0],t=a[1],i=a.slice(2).join(".")),!l&&s&&Sn(i)?Mn(null===(n=this.data)||void 0===n||null===(n=n[e])||void 0===n?void 0:n[t],i,o):l}addResource(e,t,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},r=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,o=[e,t];i&&(o=o.concat(r?i.split(r):i)),e.indexOf(".")>-1&&(n=t,t=(o=e.split("."))[1]),this.addNamespaces(t),An(this.data,o,n),a.silent||this.emit("added",e,t,i,n)}addResources(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var a in i)(Sn(i[a])||Array.isArray(i[a]))&&this.addResource(e,t,a,i[a],{silent:!0});n.silent||this.emit("added",e,t,i)}addResourceBundle(e,t,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},o=[e,t];e.indexOf(".")>-1&&(n=i,i=t,t=(o=e.split("."))[1]),this.addNamespaces(t);var s=Pn(this.data,o)||{};r.skipCopy||(i=JSON.parse(JSON.stringify(i))),n?Bn(s,i,a):s=v(v({},s),i),An(this.data,o,s),r.silent||this.emit("added",e,t,i)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var Un={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,i,n,a){return e.forEach(e=>{var r,o;t=null!==(r=null===(o=this.processors[e])||void 0===o?void 0:o.process(t,i,n,a))&&void 0!==r?r:t}),t}},Wn=Symbol("i18next/PATH_KEY");function Kn(e,t){var i,n,a,r,o,s=e((r=[],(o=Object.create(null)).get=(e,t)=>{var i,n;return null===(i=a)||void 0===i||null===(n=i.revoke)||void 0===n||n.call(i),t===Wn?r:(r.push(t),(a=Proxy.revocable(e,o)).proxy)},Proxy.revocable(Object.create(null),o).proxy)),l=s[Wn],u=null!==(i=null==t?void 0:t.keySeparator)&&void 0!==i?i:".",c=null!==(n=null==t?void 0:t.nsSeparator)&&void 0!==n?n:":";if(l.length>1&&c){var d=null==t?void 0:t.ns;if((d?Array.isArray(d)?d:[d]:[]).includes(l[0]))return`${l[0]}${c}${l.slice(1).join(u)}`}return l.join(u)}var Gn={},qn=e=>!Sn(e)&&"boolean"!=typeof e&&"number"!=typeof e;class Jn extends Vn{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((e,t,i)=>{e.forEach(e=>{t[e]&&(i[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=_n.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){var t=v({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}});if(null==e)return!1;var i=this.resolve(e,t);if(void 0===(null==i?void 0:i.res))return!1;var n=qn(i.res);return!1!==t.returnObjects||!n}extractFromKey(e,t){var i=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===i&&(i=":");var n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],r=i&&e.indexOf(i)>-1,o=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,i)=>{t=t||"",i=i||"";var n=On.filter(e=>t.indexOf(e)<0&&i.indexOf(e)<0);if(0===n.length)return!0;var a=jn.getRegExp(`(${n.map(e=>"?"===e?"\\?":e).join("|")})`),r=!a.test(e);if(!r){var o=e.indexOf(i);o>0&&!a.test(e.substring(0,o))&&(r=!0)}return r})(e,i,n));if(r&&!o){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:Sn(a)?[a]:a};var l=e.split(i);(i!==n||i===n&&this.options.ns.indexOf(l[0])>-1)&&(a=l.shift()),e=l.join(n)}return{key:e,namespaces:Sn(a)?[a]:a}}translate(e,t,i){var n="object"===x(t)?v({},t):t;if("object"!==x(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),"object"===x(n)&&(n=v({},n)),n||(n={}),null==e)return"";"function"==typeof e&&(e=Kn(e,v(v({},this.options),n))),Array.isArray(e)||(e=[String(e)]),e=e.map(e=>"function"==typeof e?Kn(e,v(v({},this.options),n)):String(e));var a=void 0!==n.returnDetails?n.returnDetails:this.options.returnDetails,r=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,o=this.extractFromKey(e[e.length-1],n),s=o.key,l=o.namespaces,u=l[l.length-1],c=void 0!==n.nsSeparator?n.nsSeparator:this.options.nsSeparator;void 0===c&&(c=":");var d=n.lng||this.language,h=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===(null==d?void 0:d.toLowerCase()))return h?a?{res:`${u}${c}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:`${u}${c}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:s;var p=this.resolve(e,n),m=null==p?void 0:p.res,g=(null==p?void 0:p.usedKey)||s,f=(null==p?void 0:p.exactUsedKey)||s,b=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,k=void 0!==n.count&&!Sn(n.count),S=Jn.hasDefaultValue(n),w=k?this.pluralResolver.getSuffix(d,n.count,n):"",D=n.ordinal&&k?this.pluralResolver.getSuffix(d,n.count,{ordinal:!1}):"",T=k&&!n.ordinal&&0===n.count,E=T&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${w}`]||n[`defaultValue${D}`]||n.defaultValue,C=m;y&&!m&&S&&(C=E);var A=qn(C),P=Object.prototype.toString.apply(C);if(!(y&&C&&A&&["[object Number]","[object Function]","[object RegExp]"].indexOf(P)<0)||Sn(b)&&Array.isArray(C))if(y&&Sn(b)&&Array.isArray(m))(m=m.join(b))&&(m=this.extendTranslation(m,e,n,i));else{var B=!1,z=!1;!this.isValidLookup(m)&&S&&(B=!0,m=E),this.isValidLookup(m)||(z=!0,m=s);var I=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&z?void 0:m,F=S&&E!==m&&this.options.updateMissing;if(z||B||F){if(this.logger.log(F?"updateKey":"missingKey",d,u,s,F?E:m),r){var O=this.resolve(s,v(v({},n),{},{keySeparator:!1}));O&&O.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var j=[],M=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&M&&M[0])for(var R=0;R<M.length;R++)j.push(M[R]);else"all"===this.options.saveMissingTo?j=this.languageUtils.toResolveHierarchy(n.lng||this.language):j.push(n.lng||this.language);var N=(e,t,i)=>{var a,r=S&&i!==m?i:I;this.options.missingKeyHandler?this.options.missingKeyHandler(e,u,t,r,F,n):null!==(a=this.backendConnector)&&void 0!==a&&a.saveMissing&&this.backendConnector.saveMissing(e,u,t,r,F,n),this.emit("missingKey",e,u,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&k?j.forEach(e=>{var t=this.pluralResolver.getSuffixes(e,n);T&&n[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{N([e],s+t,n[`defaultValue${t}`]||E)})}):N(j,s,E))}m=this.extendTranslation(m,e,n,p,i),z&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${u}${c}${s}`),(z||B)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${c}${s}`:s,B?m:void 0,n))}else{if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var L=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,C,v(v({},n),{},{ns:l})):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=L,p.usedParams=this.getUsedParamsDetails(n),p):L}if(r){var _=Array.isArray(C),V=_?[]:{},H=_?f:g;for(var U in C)if(Object.prototype.hasOwnProperty.call(C,U)){var W=`${H}${r}${U}`;V[U]=S&&!m?this.translate(W,v(v({},n),{},{defaultValue:qn(E)?E[U]:void 0},{joinArrays:!1,ns:l})):this.translate(W,v(v({},n),{joinArrays:!1,ns:l})),V[U]===W&&(V[U]=C[U])}m=V}}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(n),p):m}extendTranslation(e,t,i,n,a){var r,o=this;if(null!==(r=this.i18nFormat)&&void 0!==r&&r.parse)e=this.i18nFormat.parse(e,v(v({},this.options.interpolation.defaultVariables),i),i.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!i.skipInterpolation){var s;i.interpolation&&this.interpolator.init(v(v({},i),{interpolation:v(v({},this.options.interpolation),i.interpolation)}));var l,u=Sn(e)&&(void 0!==(null==i||null===(s=i.interpolation)||void 0===s?void 0:s.skipOnVariables)?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(u){var c=e.match(this.interpolator.nestingRegexp);l=c&&c.length}var d=i.replace&&!Sn(i.replace)?i.replace:i;if(this.options.interpolation.defaultVariables&&(d=v(v({},this.options.interpolation.defaultVariables),d)),e=this.interpolator.interpolate(e,d,i.lng||this.language||n.usedLng,i),u){var h=e.match(this.interpolator.nestingRegexp);l<(h&&h.length)&&(i.nest=!1)}!i.lng&&n&&n.res&&(i.lng=this.language||n.usedLng),!1!==i.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(null==a?void 0:a[0])!==n[0]||i.context?o.translate(...n,t):(o.logger.warn(`It seems you are nesting recursively key: ${n[0]} in key: ${t[0]}`),null)},i)),i.interpolation&&this.interpolator.reset()}var p=i.postProcess||this.options.postProcess,m=Sn(p)?[p]:p;return null!=e&&null!=m&&m.length&&!1!==i.applyPostProcessor&&(e=Un.handle(m,e,t,this.options&&this.options.postProcessPassResolved?v({i18nResolved:v(v({},n),{},{usedParams:this.getUsedParamsDetails(i)})},i):i,this)),e}resolve(e){var t,i,n,a,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Sn(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>"function"==typeof e?Kn(e,v(v({},this.options),o)):e)),e.forEach(e=>{if(!this.isValidLookup(t)){var s=this.extractFromKey(e,o),l=s.key;i=l;var u=s.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));var c=void 0!==o.count&&!Sn(o.count),d=c&&!o.ordinal&&0===o.count,h=void 0!==o.context&&(Sn(o.context)||"number"==typeof o.context)&&""!==o.context,p=o.lngs?o.lngs:this.languageUtils.toResolveHierarchy(o.lng||this.language,o.fallbackLng);u.forEach(e=>{var s,u;this.isValidLookup(t)||(r=e,Gn[`${p[0]}-${e}`]||null===(s=this.utils)||void 0===s||!s.hasLoadedNamespace||null!==(u=this.utils)&&void 0!==u&&u.hasLoadedNamespace(r)||(Gn[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${i}" for languages "${p.join(", ")}" won't get resolved as namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(i=>{var r;if(!this.isValidLookup(t)){a=i;var s,u=[l];if(null!==(r=this.i18nFormat)&&void 0!==r&&r.addLookupKeys)this.i18nFormat.addLookupKeys(u,l,i,e,o);else{var p;c&&(p=this.pluralResolver.getSuffix(i,o.count,o));var m=`${this.options.pluralSeparator}zero`,g=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(o.ordinal&&0===p.indexOf(g)&&u.push(l+p.replace(g,this.options.pluralSeparator)),u.push(l+p),d&&u.push(l+m)),h){var f=`${l}${this.options.contextSeparator||"_"}${o.context}`;u.push(f),c&&(o.ordinal&&0===p.indexOf(g)&&u.push(f+p.replace(g,this.options.pluralSeparator)),u.push(f+p),d&&u.push(f+m))}}for(;s=u.pop();)this.isValidLookup(t)||(n=s,t=this.getResource(i,e,s,o))}}))})}}),{res:t,usedKey:i,exactUsedKey:n,usedLng:a,usedNS:r}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,i){var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return null!==(n=this.i18nFormat)&&void 0!==n&&n.getResource?this.i18nFormat.getResource(e,t,i,a):this.resourceStore.getResource(e,t,i,a)}getUsedParamsDetails(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.replace&&!Sn(e.replace),i=t?e.replace:e;if(t&&void 0!==e.count&&(i.count=e.count),this.options.interpolation.defaultVariables&&(i=v(v({},this.options.interpolation.defaultVariables),i)),!t){i=v({},i);var n,a=p(["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]);try{for(a.s();!(n=a.n()).done;){delete i[n.value]}}catch(e){a.e(e)}finally{a.f()}}return i}static hasDefaultValue(e){var t="defaultValue";for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t===i.substring(0,12)&&void 0!==e[i])return!0;return!1}}class Xn{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=_n.create("languageUtils")}getScriptPartFromCode(e){if(!(e=Rn(e))||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=Rn(e))||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(Sn(e)&&e.indexOf("-")>-1){var t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){return e?(e.forEach(e=>{if(!t){var i=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(i)||(t=i)}}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(!t){var i=this.getScriptPartFromCode(e);if(this.isSupportedCode(i))return t=i;var n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0)}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null;var t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),Sn(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];var i=e[t];return i||(i=e[this.getScriptPartFromCode(t)]),i||(i=e[this.formatLanguageCode(t)]),i||(i=e[this.getLanguagePartFromCode(t)]),i||(i=e.default),i||[]}toResolveHierarchy(e,t){var i=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),n=[],a=e=>{e&&(this.isSupportedCode(e)?n.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return Sn(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):Sn(e)&&a(this.formatLanguageCode(e)),i.forEach(e=>{n.indexOf(e)<0&&a(this.formatLanguageCode(e))}),n}}var Yn={zero:0,one:1,two:2,few:3,many:4,other:5},$n={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Qn{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=_n.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Rn("dev"===e?"en":e),a=i.ordinal?"ordinal":"cardinal",r=JSON.stringify({cleanedCode:n,type:a});if(r in this.pluralRulesCache)return this.pluralRulesCache[r];try{t=new Intl.PluralRules(n,{type:a})}catch(n){if("undefined"==typeof Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),$n;if(!e.match(/-|_/))return $n;var o=this.languageUtils.getLanguagePartFromCode(e);t=this.getRule(o,i)}return this.pluralRulesCache[r]=t,t}needsPlural(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,i);return n||(n=this.getRule("dev",i)),(null===(t=n)||void 0===t?void 0:t.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,i).map(e=>`${t}${e}`)}getSuffixes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.getRule(e,t);return i||(i=this.getRule("dev",t)),i?i.resolvedOptions().pluralCategories.sort((e,t)=>Yn[e]-Yn[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.getRule(e,i);return n?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,i))}}var Zn=function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=((e,t,i)=>{var n=Pn(e,i);return void 0!==n?n:Pn(t,i)})(e,t,i);return!r&&a&&Sn(i)&&void 0===(r=Mn(e,i,n))&&(r=Mn(t,i,n)),r},ea=e=>e.replace(/\$/g,"$$$$");class ta{constructor(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=_n.create("interpolator"),this.options=t,this.format=(null==t||null===(e=t.interpolation)||void 0===e?void 0:e.format)||(e=>e),this.init(t)}init(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation,i=t.escape,n=t.escapeValue,a=t.useRawValueToEscape,r=t.prefix,o=t.prefixEscaped,s=t.suffix,l=t.suffixEscaped,u=t.formatSeparator,c=t.unescapeSuffix,d=t.unescapePrefix,h=t.nestingPrefix,p=t.nestingPrefixEscaped,m=t.nestingSuffix,g=t.nestingSuffixEscaped,f=t.nestingOptionsSeparator,v=t.maxReplaces,b=t.alwaysFormat;this.escape=void 0!==i?i:Fn,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==a&&a,this.prefix=r?zn(r):o||"{{",this.suffix=s?zn(s):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=c?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=h?zn(h):p||zn("$t("),this.nestingSuffix=m?zn(m):g||zn(")"),this.nestingOptionsSeparator=f||",",this.maxReplaces=v||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){var e=(e,t)=>(null==e?void 0:e.source)===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,i,n){var a,r,o,s,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=e=>{if(e.indexOf(this.formatSeparator)<0){var a=Zn(t,l,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(a,void 0,i,v(v(v({},n),t),{},{interpolationkey:e})):a}var r=e.split(this.formatSeparator),o=r.shift().trim(),s=r.join(this.formatSeparator).trim();return this.format(Zn(t,l,o,this.options.keySeparator,this.options.ignoreJSONStructure),s,i,v(v(v({},n),t),{},{interpolationkey:o}))};this.resetRegExp();var c=(null==n?void 0:n.missingInterpolationHandler)||this.options.missingInterpolationHandler,d=void 0!==(null==n||null===(a=n.interpolation)||void 0===a?void 0:a.skipOnVariables)?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>ea(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?ea(this.escape(e)):ea(e)}].forEach(t=>{for(s=0;r=t.regex.exec(e);){var i=r[1].trim();if(void 0===(o=u(i)))if("function"==typeof c){var a=c(e,r,n);o=Sn(a)?a:""}else if(n&&Object.prototype.hasOwnProperty.call(n,i))o="";else{if(d){o=r[0];continue}this.logger.warn(`missed to pass in variable ${i} for interpolating ${e}`),o=""}else Sn(o)||this.useRawValueToEscape||(o=wn(o));var l=t.safeValue(o);if(e=e.replace(r[0],l),d?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=r[0].length):t.regex.lastIndex=0,++s>=this.maxReplaces)break}}),e}nest(e,t){for(var i,n,a,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(e,t)=>{var i,n,r=this.nestingOptionsSeparator;if(e.indexOf(r)<0)return e;var o=e.split(new RegExp(`${zn(r)}[ ]*{`)),s=`{${o[1]}`;e=o[0];var l=(s=this.interpolate(s,a)).match(/'/g),u=s.match(/"/g);((null!==(i=null==l?void 0:l.length)&&void 0!==i?i:0)%2==0&&!u||(null!==(n=null==u?void 0:u.length)&&void 0!==n?n:0)%2!=0)&&(s=s.replace(/'/g,'"'));try{a=JSON.parse(s),t&&(a=v(v({},t),a))}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${s}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};i=this.nestingRegexp.exec(e);){var s=[];(a=(a=v({},r)).replace&&!Sn(a.replace)?a.replace:a).applyPostProcessor=!1,delete a.defaultValue;var l=/{.*}/.test(i[1])?i[1].lastIndexOf("}")+1:i[1].indexOf(this.formatSeparator);if(-1!==l&&(s=i[1].slice(l).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),i[1]=i[1].slice(0,l)),(n=t(o.call(this,i[1].trim(),a),a))&&i[0]===e&&!Sn(n))return n;Sn(n)||(n=wn(n)),n||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),n=""),s.length&&(n=s.reduce((e,t)=>this.format(e,t,r.lng,v(v({},r),{},{interpolationkey:i[1].trim()})),n.trim())),e=e.replace(i[0],n),this.regexp.lastIndex=0}return e}}var ia=e=>{var t={};return(i,n,a)=>{var r=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(r=v(v({},r),{},{[a.interpolationkey]:void 0}));var o=n+JSON.stringify(r),s=t[o];return s||(s=e(Rn(n),a),t[o]=s),s(i)}},na=e=>(t,i,n)=>e(Rn(i),n)(t);class aa{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=_n.create("formatter"),this.options=e,this.init(e)}init(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||",";var i=t.cacheInBuiltFormats?ia:na;this.formats={number:i((e,t)=>{var i=new Intl.NumberFormat(e,v({},t));return e=>i.format(e)}),currency:i((e,t)=>{var i=new Intl.NumberFormat(e,v(v({},t),{},{style:"currency"}));return e=>i.format(e)}),datetime:i((e,t)=>{var i=new Intl.DateTimeFormat(e,v({},t));return e=>i.format(e)}),relativetime:i((e,t)=>{var i=new Intl.RelativeTimeFormat(e,v({},t));return e=>i.format(e,t.range||"day")}),list:i((e,t)=>{var i=new Intl.ListFormat(e,v({},t));return e=>i.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=ia(t)}format(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=t.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find(e=>e.indexOf(")")>-1)){var r=a.findIndex(e=>e.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,r)].join(this.formatSeparator)}var o=a.reduce((e,t)=>{var a=(e=>{var t=e.toLowerCase().trim(),i={};if(e.indexOf("(")>-1){var n=e.split("(");t=n[0].toLowerCase().trim();var a=n[1].substring(0,n[1].length-1);"currency"===t&&a.indexOf(":")<0?i.currency||(i.currency=a.trim()):"relativetime"===t&&a.indexOf(":")<0?i.range||(i.range=a.trim()):a.split(";").forEach(e=>{if(e){var t=S(e.split(":")),n=t[0],a=t.slice(1).join(":").trim().replace(/^'+|'+$/g,""),r=n.trim();i[r]||(i[r]=a),"false"===a&&(i[r]=!1),"true"===a&&(i[r]=!0),isNaN(a)||(i[r]=parseInt(a,10))}})}return{formatName:t,formatOptions:i}})(t),r=a.formatName,o=a.formatOptions;if(this.formats[r]){var s=e;try{var l,u=(null==n||null===(l=n.formatParams)||void 0===l?void 0:l[n.interpolationkey])||{},c=u.locale||u.lng||n.locale||n.lng||i;s=this.formats[r](e,c,v(v(v({},o),n),u))}catch(e){this.logger.warn(e)}return s}return this.logger.warn(`there was no format function for ${r}`),e},e);return o}}class ra extends Vn{constructor(e,t,i){var n,a,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=i,this.languageUtils=i.languageUtils,this.options=r,this.logger=_n.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],null===(n=this.backend)||void 0===n||null===(a=n.init)||void 0===a||a.call(n,i,r.backend,r)}queueLoad(e,t,i,n){var a={},r={},o={},s={};return e.forEach(e=>{var n=!0;t.forEach(t=>{var o=`${e}|${t}`;!i.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(1===this.state[o]?void 0===r[o]&&(r[o]=!0):(this.state[o]=1,n=!1,void 0===r[o]&&(r[o]=!0),void 0===a[o]&&(a[o]=!0),void 0===s[t]&&(s[t]=!0)))}),n||(o[e]=!0)}),(Object.keys(a).length||Object.keys(r).length)&&this.queue.push({pending:r,pendingCount:Object.keys(r).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(a),pending:Object.keys(r),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,i){var n=e.split("|"),a=n[0],r=n[1];t&&this.emit("failedLoading",a,r,t),!t&&i&&this.store.addResourceBundle(a,r,i,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&i&&(this.state[e]=0);var o={};this.queue.forEach(i=>{var n,s,l,u,c;n=i.loaded,s=r,l=Cn(n,[a],Object),u=l.obj,c=l.k,u[c]=u[c]||[],u[c].push(s),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(i,e),t&&i.errors.push(t),0!==i.pendingCount||i.done||(Object.keys(i.loaded).forEach(e=>{o[e]||(o[e]={});var t=i.loaded[e];t.length&&t.forEach(t=>{void 0===o[e][t]&&(o[e][t]=!0)})}),i.done=!0,i.errors.length?i.callback(i.errors):i.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,r=arguments.length>5?arguments[5]:void 0;if(!e.length)return r(null,{});if(this.readingCalls>=this.maxParallelReads)this.waitingReads.push({lng:e,ns:t,fcName:i,tried:n,wait:a,callback:r});else{this.readingCalls++;var o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){var l=this.waitingReads.shift();this.read(l.lng,l.ns,l.fcName,l.tried,l.wait,l.callback)}o&&s&&n<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,i,n+1,2*a,r)},a):r(o,s)},s=this.backend[i].bind(this.backend);if(2!==s.length)return s(e,t,o);try{var l=s(e,t);l&&"function"==typeof l.then?l.then(e=>o(null,e)).catch(o):o(null,l)}catch(e){o(e)}}}prepareLoading(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();Sn(e)&&(e=this.languageUtils.toResolveHierarchy(e)),Sn(t)&&(t=[t]);var a=this.queueLoad(e,t,i,n);if(!a.toLoad.length)return a.pending.length||n(),null;a.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,i){this.prepareLoading(e,t,{},i)}reload(e,t,i){this.prepareLoading(e,t,{reload:!0},i)}loadOne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.split("|"),n=i[0],a=i[1];this.read(n,a,"read",void 0,void 0,(i,r)=>{i&&this.logger.warn(`${t}loading namespace ${a} for language ${n} failed`,i),!i&&r&&this.logger.log(`${t}loaded namespace ${a} for language ${n}`,r),this.loaded(e,i,r)})}saveMissing(e,t,i,n,a){var r,o,s,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(null===(r=this.services)||void 0===r||null===(r=r.utils)||void 0===r||!r.hasLoadedNamespace||null!==(o=this.services)&&void 0!==o&&null!==(o=o.utils)&&void 0!==o&&o.hasLoadedNamespace(t)){if(null!=i&&""!==i){if(null!==(s=this.backend)&&void 0!==s&&s.create){var c=v(v({},l),{},{isUpdate:a}),d=this.backend.create.bind(this.backend);if(d.length<6)try{var h;(h=5===d.length?d(e,t,i,n,c):d(e,t,i,n))&&"function"==typeof h.then?h.then(e=>u(null,e)).catch(u):u(null,h)}catch(e){u(e)}else d(e,t,i,n,u,c)}e&&e[0]&&this.store.addResource(e[0],t,i,n)}}else this.logger.warn(`did not save key "${i}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}var oa=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{var t={};if("object"===x(e[1])&&(t=e[1]),Sn(e[1])&&(t.defaultValue=e[1]),Sn(e[2])&&(t.tDescription=e[2]),"object"===x(e[2])||"object"===x(e[3])){var i=e[3]||e[2];Object.keys(i).forEach(e=>{t[e]=i[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),sa=e=>{var t,i;return Sn(e.ns)&&(e.ns=[e.ns]),Sn(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Sn(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),(null===(t=e.supportedLngs)||void 0===t||null===(i=t.indexOf)||void 0===i?void 0:i.call(t,"cimode"))<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e},la=()=>{},ua="__i18next_supportNoticeShown";class ca extends Vn{constructor(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(super(),this.options=sa(t),this.services={},this.logger=_n,this.modules={external:[]},e=this,Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))}),i&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,i),this;setTimeout(()=>{this.init(t,i)},0)}}init(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(i=t,t={}),null==t.defaultNS&&t.ns&&(Sn(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var n,a,r,o,s,l,u=oa();this.options=v(v(v({},u),this.options),sa(t)),this.options.interpolation=v(v({},u.interpolation),this.options.interpolation),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=u.overloadTranslationOptionHandler),!1===this.options.showSupportNotice||((null==(n=this)||null===(a=n.modules)||void 0===a||null===(a=a.backend)||void 0===a||null===(a=a.name)||void 0===a?void 0:a.indexOf("Locize"))>0||(null==n||null===(r=n.modules)||void 0===r||null===(r=r.backend)||void 0===r||null===(r=r.constructor)||void 0===r||null===(r=r.name)||void 0===r?void 0:r.indexOf("Locize"))>0||null!=n&&null!==(o=n.options)&&void 0!==o&&null!==(o=o.backend)&&void 0!==o&&o.backends&&n.options.backend.backends.some(e=>{var t,i;return(null==e||null===(t=e.name)||void 0===t?void 0:t.indexOf("Locize"))>0||(null==e||null===(i=e.constructor)||void 0===i||null===(i=i.name)||void 0===i?void 0:i.indexOf("Locize"))>0})||null!=n&&null!==(s=n.options)&&void 0!==s&&null!==(s=s.backend)&&void 0!==s&&s.projectId||null!=n&&null!==(l=n.options)&&void 0!==l&&null!==(l=l.backend)&&void 0!==l&&l.backendOptions&&n.options.backend.backendOptions.some(e=>null==e?void 0:e.projectId))||"undefined"!=typeof globalThis&&globalThis[ua]||("undefined"!=typeof console&&void 0!==console.info&&console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),"undefined"!=typeof globalThis&&(globalThis[ua]=!0));var c=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){var d;this.modules.logger?_n.init(c(this.modules.logger),this.options):_n.init(null,this.options),d=this.modules.formatter?this.modules.formatter:aa;var h=new Xn(this.options);this.store=new Hn(this.options.resources,this.options);var p=this.services;p.logger=_n,p.resourceStore=this.store,p.languageUtils=h,p.pluralResolver=new Qn(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==u.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!d||this.options.interpolation.format&&this.options.interpolation.format!==u.interpolation.format||(p.formatter=c(d),p.formatter.init&&p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new ta(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new ra(c(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",function(t){for(var i=arguments.length,n=new Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];e.emit(t,...n)}),this.modules.languageDetector&&(p.languageDetector=c(this.modules.languageDetector),p.languageDetector.init&&p.languageDetector.init(p,this.options.detection,this.options)),this.modules.i18nFormat&&(p.i18nFormat=c(this.modules.i18nFormat),p.i18nFormat.init&&p.i18nFormat.init(this)),this.translator=new Jn(this.services,this.options),this.translator.on("*",function(t){for(var i=arguments.length,n=new Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];e.emit(t,...n)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,i||(i=la),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var m=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);m.length>0&&"dev"!==m[0]&&(this.options.lng=m[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});var g=xn(),f=()=>{var e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),g.resolve(t),i(e,t)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?f():setTimeout(f,0),g}loadResources(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:la,i=Sn(e)?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){var n,a;if("cimode"===(null==i?void 0:i.toLowerCase())&&(!this.options.preload||0===this.options.preload.length))return t();var r=[],o=e=>{e&&("cimode"!==e&&this.services.languageUtils.toResolveHierarchy(e).forEach(e=>{"cimode"!==e&&r.indexOf(e)<0&&r.push(e)}))};if(i)o(i);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>o(e));null===(n=this.options.preload)||void 0===n||null===(a=n.forEach)||void 0===a||a.call(n,e=>o(e)),this.services.backendConnector.load(r,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)})}else t(null)}reloadResources(e,t,i){var n=xn();return"function"==typeof e&&(i=e,e=void 0),"function"==typeof t&&(i=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),i||(i=la),this.services.backendConnector.reload(e,t,e=>{n.resolve(),i(e)}),n}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Un.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(var t=0;t<this.languages.length;t++){var i=this.languages[t];if(!(["cimode","dev"].indexOf(i)>-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){var i=this;this.isLanguageChangingTo=e;var n=xn();this.emit("languageChanging",e);var a=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},r=(r,o)=>{o?this.isLanguageChangingTo===e&&(a(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,n.resolve(function(){return i.t(...arguments)}),t&&t(r,function(){return i.t(...arguments)})},o=t=>{e||t||!this.services.languageDetector||(t=[]);var i,n,o=Sn(t)?t:t&&t[0],s=this.store.hasLanguageSomeTranslations(o)?o:this.services.languageUtils.getBestMatchFromCodes(Sn(t)?[t]:t);s&&(this.language||a(s),this.translator.language||this.translator.changeLanguage(s),null===(i=this.services.languageDetector)||void 0===i||null===(n=i.cacheUserLanguage)||void 0===n||n.call(i,s));this.loadResources(s,e=>{r(e,s)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),n}getFixedT(e,t,i){var n=this,a=function(e,t){var r;if("object"!==x(t)){for(var o=arguments.length,s=new Array(o>2?o-2:0),l=2;l<o;l++)s[l-2]=arguments[l];r=n.options.overloadTranslationOptionHandler([e,t].concat(s))}else r=v({},t);r.lng=r.lng||a.lng,r.lngs=r.lngs||a.lngs,r.ns=r.ns||a.ns,""!==r.keyPrefix&&(r.keyPrefix=r.keyPrefix||i||a.keyPrefix);var u,c=n.options.keySeparator||".";return r.keyPrefix&&Array.isArray(e)?u=e.map(e=>("function"==typeof e&&(e=Kn(e,v(v({},n.options),t))),`${r.keyPrefix}${c}${e}`)):("function"==typeof e&&(e=Kn(e,v(v({},n.options),t))),u=r.keyPrefix?`${r.keyPrefix}${c}${e}`:e),n.t(u,r)};return Sn(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=i,a}t(){for(var e,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return null===(e=this.translator)||void 0===e?void 0:e.translate(...i)}exists(){for(var e,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return null===(e=this.translator)||void 0===e?void 0:e.exists(...i)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var i=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===i.toLowerCase())return!0;var r=(e,t)=>{var i=this.services.backendConnector.state[`${e}|${t}`];return-1===i||0===i||2===i};if(t.precheck){var o=t.precheck(this,r);if(void 0!==o)return o}return!!this.hasResourceBundle(i,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!r(i,e)||n&&!r(a,e)))}loadNamespaces(e,t){var i=xn();return this.options.ns?(Sn(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{i.resolve(),t&&t(e)}),i):(t&&t(),Promise.resolve())}loadLanguages(e,t){var i=xn();Sn(e)&&(e=[e]);var n=this.options.preload||[],a=e.filter(e=>n.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return a.length?(this.options.preload=n.concat(a),this.loadResources(e=>{i.resolve(),t&&t(e)}),i):(t&&t(),Promise.resolve())}dir(e){var t,i;if(e||(e=this.resolvedLanguage||((null===(t=this.languages)||void 0===t?void 0:t.length)>0?this.languages[0]:this.language)),!e)return"rtl";try{var n=new Intl.Locale(e);if(n&&n.getTextInfo){var a=n.getTextInfo();if(a&&a.direction)return a.direction}}catch(e){}var r=(null===(i=this.services)||void 0===i?void 0:i.languageUtils)||new Xn(oa());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(r.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){var e=new ca(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0);return e.createInstance=ca.createInstance,e}cloneInstance(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:la,i=e.forkResourceStore;i&&delete e.forkResourceStore;var n=v(v(v({},this.options),e),{isClone:!0}),a=new ca(n);void 0===e.debug&&void 0===e.prefix||(a.logger=a.logger.clone(e));if(["store","services","language"].forEach(e=>{a[e]=this[e]}),a.services=v({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},i){var r=Object.keys(this.store.data).reduce((e,t)=>(e[t]=v({},this.store.data[t]),e[t]=Object.keys(e[t]).reduce((i,n)=>(i[n]=v({},e[t][n]),i),e[t]),e),{});a.store=new Hn(r,n),a.services.resourceStore=a.store}if(e.interpolation){var o=v(v(v({},oa().interpolation),this.options.interpolation),e.interpolation),s=v(v({},n),{},{interpolation:o});a.services.interpolator=new ta(s)}return a.translator=new Jn(a.services,n),a.translator.on("*",function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];a.emit(e,...i)}),a.init(n,t),a.translator.options=n,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}var da=ca.createInstance();da.createInstance,da.dir,da.init,da.loadResources,da.reloadResources,da.use,da.changeLanguage,da.getFixedT;var ha=da.t;da.exists,da.setDefaultNamespace,da.hasLoadedNamespace,da.loadNamespaces,da.loadLanguages;var pa,ma,ga={da:{translation:{__contributors:["loui771w"],settings:{options:{socialMedia:{title:"Links til Sociale Medier",qrCodeScanMessage:"Du kan besøge {{name}} siden ved at scanne QR-koden nedenfor."},adBlock:"Reklameblokering",sponsorblock:{title:"SponsorBlock-indstillinger",options:{enableSB:"Aktivér SponsorBlock",manualSkip:"Spring SponsorBlock Segmenter Over Manuelt",segments:"Segmenter",categories:{sponsor:"Spring Sponsorsegmenter Over",intro:"Spring Introsegmenter Over",outro:"Spring Outrosegmenter Over",interaction:"Spring Segmenter med Interaktionspåmindelser Over",selfpromo:"Spring Selvpromoveringssegmenter Over",preview:"Spring Preview-/Opsummeringssegmenter Over",filler:"Spring Sidespor/Jokes Over",music_offtopic:"Spring Segmenter uden Musik Over (gælder kun musikvideoer)",highlights:"Aktivér Højdepunkter"},showSBToasts:"Vis SponsorBlock-beskeder"}},dearrow:{title:"DeArrow-indstillinger",options:{enableDA:"Aktivér DeArrow",enableDAThumbnails:"Aktivér DeArrow Thumbnails"}},misc:{title:"Diverse Indstillinger",options:{endScreenCards:"Skjul Slutskærmskort",youThereRenderer:"Aktivér 'Ser du stadig med?'-renderer",paidPromoOverlay:"Aktivér 'Indeholder betalt promovering'-overlay",whosWatching:{title:"Hvem Ser Med-menu",options:{enableWW:"Aktivér Hvem Ser Med-menu",permaEnableWW:"Aktivér Hvem Ser Med-menu Permanent",enableWWOnExit:"Aktivér Hvem Ser Med-menu ved Afslutning af App"}},fixUI:"Reparér UI",hqThumbnails:"Aktivér Højkvalitets-thumbnails",longPress:"Aktivér handlinger ved langt tryk",shorts:"Aktivér Shorts",videoPreviews:"Aktivér Videoforhåndsvisninger",ttWelcomeMsg:"Vis TT-velkomstbesked",guestSignInReminder:"Vis Gæstelogin-påmindelse",reloadHomeOnStartup:"Genindlæs Hjem ved Opstart"}},subtitles:{title:"Undertekstindstillinger",options:{showLocalSubtitle:"Vis Lokale Undertekster",showHiddenSubtitles:"Vis Skjulte Undertekster"}},videoPlayer:{title:"Videoafspillerindstillinger",subtitle:"Tilpas funktioner i videoafspilleren",options:{patching:{title:"Patch Videoafspiller-UI",options:{enableVPUIPatching:"Aktivér Patchning af Videoafspiller-UI",previousNextBtns:"Aktivér Forrige- og Næste-knapper",showSuperThxBtn:"Vis Super Tak-knap",showSpeedCtrlBtn:"Vis Knap til Hastighedskontrol"}},preferredVideoQuality:{title:"Foretrukken Videokvalitet",subtitle:"Vælg den foretrukne eller næstbedste videokvalitet, der bruges ved afspilningsstart"},speedSettings:{title:"Intervaller for Hastighedsindstillinger",subtitle:"Angiv intervallerne for justering af videoafspilningshastighed"},preferredVideoCodec:{title:"Foretrukken Videocodec",subtitle:"Vælg den foretrukne videocodec til afspilning"},afr:"Automatisk Billedfrekvens",afrPauseDuration:{title:"Pausevarighed for Automatisk Billedfrekvens",subtitle:"Angiv varigheden (i sekunder) for at sætte videoafspilning på pause ved justering af billedfrekvens"}}},uiSettings:{title:"Brugerfladeindstillinger",subtitle:"Tilpas brugerfladen efter dine præferencer",options:{hideWatchedVideos:{title:"Skjul Sete Videoer",options:{enableHideWatchedVideos:"Aktivér Skjulning af Sete Videoer",watchedVideosThreshold:{title:"Grænse for Sete Videoer",subtitle:"Angiv procentgrænsen, hvor sete videoer skjules"},setPagesToHideWatchedVideos:"Vælg Sider, Hvor Sete Videoer Skal Skjules"}},screenDimming:{title:"Skærmdæmpning",options:{enableScreenDimming:"Aktivér Skærmdæmpning",dimmingTimeout:{title:"Timeout for Skærmdæmpning",subtitle:"Angiv inaktivitetstimeout (i sekunder), før skærmen dæmpes"},dimmingOpacity:{title:"Opacitet for Skærmdæmpning",subtitle:"Angiv opacitetsniveauet for skærmdæmpning"}}},disableSidebarContents:{title:"Deaktivér Sidepanelindhold",subtitle:"Vælg sidepanelindhold, der skal deaktiveres"},launchToOnStartup:{title:"Startside ved Opstart",subtitle:"Vælg den standardside, TizenTube åbner ved opstart"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"TizenTube Cobalt Updater",menuSubtitle:"Administrér TizenTube Cobalt-opdateringer",versionSubtitle:"Nuværende version: {{version}}",options:{checkForUpdates:"Søg efter opdateringer",checkForUpdatesOnStartup:"Søg efter opdateringer ved opstart"}}},ttSettings:{title:"TizenTube-indstillinger",madeByText:"Lavet af Reis Can (reisxd) med ❤️",summary:"Åbn TizenTube-indstillinger"},supportTT:{title:"Støt TizenTube",subtitle:"❤️ Vis støtte til TizenTube og dets udvikling",content:{1:"Hvis du nyder at bruge TizenTube og gerne vil støtte dets udvikling, kan du overveje følgende:",2:"1. Giv GitHub-repositoriet en stjerne for at hjælpe med at øge dets synlighed.",3:"2. Del TizenTube med andre.",4:"Hvis du gerne vil bidrage økonomisk, kan du overveje at donere:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (helst)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Velkommen til TizenTube",subtitle:"Gå til indstillinger, og klik på TizenTube-indstillinger for at åbne indstillingerne."},sponsorblock:{segments:{sponsor:"sponsoreret segment",intro:"intro",outro:"outro",interaction:"interaktionspåmindelse",selfpromo:"selvpromovering",preview:"opsummering eller preview",filler:"sidespor",music_offtopic:"segment uden musik",poi_highlight:"højdepunkt"},toasts:{skipping:"Springer {{segment}} over",notSkipping:"Springer ikke {{segment}} over (blev sprunget over {{count}} gange)",skip:"Spring {{segment}} over",skipToHighlight:"Spring til højdepunkt"}}}},en:{translation:{__contributors:["reisxd"],settings:{options:{socialMedia:{title:"Social Media Links",qrCodeScanMessage:"You can visit the {{name}} page by scanning the QR code below."},adBlock:"Ad Block",sponsorblock:{title:"SponsorBlock Settings",options:{enableSB:"Enable SponsorBlock",manualSkip:"Manual SponsorBlock Segment Skip",segments:"Segments",categories:{sponsor:"Skip Sponsor Segments",intro:"Skip Intro Segments",outro:"Skip Outro Segments",interaction:"Skip Interaction Reminder Segments",selfpromo:"Skip Self-Promotion Segments",preview:"Skip Preview/Recap Segments",filler:"Skip Tangents/Jokes Segments",music_offtopic:"Skip Off-Topic Music Segments",highlights:"Enable Highlights"},showSBToasts:"Show SponsorBlock Toasts"}},dearrow:{title:"DeArrow Settings",options:{enableDA:"Enable DeArrow",enableDAThumbnails:"Enable DeArrow Thumbnails"}},misc:{title:"Miscellaneous Settings",options:{endScreenCards:"Hide End Screen Cards",youThereRenderer:"Enable 'Are you still watching?' Renderer",paidPromoOverlay:"Enable 'Includes paid promotion' Overlay",whosWatching:{title:"Who's Watching Menu",options:{enableWW:"Enable Who's Watching Menu",permaEnableWW:"Permanently Enable Who's Watching Menu",enableWWOnExit:"Enable Who's Watching Menu on App Exit"}},fixUI:"Fix UI",hqThumbnails:"Enable High Quality Thumbnails",longPress:"Enable Long Press Actions",shorts:"Enable Shorts",videoPreviews:"Enable Video Previews",ttWelcomeMsg:"Show TT Welcome Message",guestSignInReminder:"Show Guest Sign In Reminder",reloadHomeOnStartup:"Reload Home on Startup"}},subtitles:{title:"Subtitle Settings",options:{showLocalSubtitle:"Show Local Subtitle",showHiddenSubtitles:"Show Hidden Subtitles"}},videoPlayer:{title:"Video Player Settings",subtitle:"Customize video player features",options:{patching:{title:"Patch Video Player UI",options:{enableVPUIPatching:"Enable Video Player UI Patching",previousNextBtns:"Enable Previous and Next Buttons",showSuperThxBtn:"Show Super Thanks Button",showSpeedCtrlBtn:"Show Speed Controls Button"}},preferredVideoQuality:{title:"Preferred Video Quality",subtitle:"Choose the preferred or next best video quality applied when playback starts"},speedSettings:{title:"Speed Settings Increments",subtitle:"Set the speed increments for video playback speed adjustments"},preferredVideoCodec:{title:"Preferred Video Codec",subtitle:"Choose the preferred video codec for playback"},afr:"Auto Frame Rate",afrPauseDuration:{title:"Auto Frame Rate Pause Duration",subtitle:"Set the duration (in seconds) to pause video playback when adjusting frame rate"}}},uiSettings:{title:"User Interface Settings",subtitle:"Customize the UI to your liking",options:{hideWatchedVideos:{title:"Hide Watched Videos",options:{enableHideWatchedVideos:"Enable Hide Watched Videos",watchedVideosThreshold:{title:"Watched Videos Threshold",subtitle:"Set the percentage threshold for hiding watched videos"},setPagesToHideWatchedVideos:"Set Pages to Hide Watched Videos"}},screenDimming:{title:"Screen Dimming",options:{enableScreenDimming:"Enable Screen Dimming",dimmingTimeout:{title:"Dimming Timeout",subtitle:"Set the inactivity timeout (in seconds) before the screen dims"},dimmingOpacity:{title:"Dimming Opacity",subtitle:"Set the opacity level for screen dimming"}}},disableSidebarContents:{title:"Disable Sidebar Contents",subtitle:"Select sidebar contents to disable"},launchToOnStartup:{title:"Launch To on Startup",subtitle:"Choose the default page TizenTube opens to on startup"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"TizenTube Cobalt Updater",menuSubtitle:"Manage TizenTube Cobalt updates",versionSubtitle:"Current version: {{version}}",options:{checkForUpdates:"Check for updates",checkForUpdatesOnStartup:"Check for updates on startup"}}},ttSettings:{title:"TizenTube Settings",madeByText:"Made by Reis Can (reisxd) with ❤️",summary:"Open TizenTube Settings"},supportTT:{title:"Support TizenTube",subtitle:"❤️ Show support for TizenTube and its development",content:{1:"If you enjoy using TizenTube and would like to support its development, consider the following:",2:"1. Star the GitHub repository to help increase its visibility.",3:"2. Share TizenTube with others.",4:"If you would like to contribute financially, consider donating:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preferably)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Welcome to TizenTube",subtitle:"Go to settings and click on TizenTube Settings for settings."},sponsorblock:{segments:{sponsor:"sponsored segment",intro:"intro",outro:"outro",interaction:"interaction reminder",selfpromo:"self-promotion",preview:"recap or preview",filler:"tangents",music_offtopic:"non-music part",poi_highlight:"highlight"},toasts:{skipping:"Skipping {{segment}}",notSkipping:"Not skipping {{segment}} (was skipped {{count}} times)",skip:"Skip {{segment}}",skipToHighlight:"Skip to highlight"}}}},tr:{translation:{__contributors:["reisxd"],settings:{options:{socialMedia:{title:"Sosyal Medya Bağlantıları",qrCodeScanMessage:"Aşağıdaki QR kodu tarayarak {{name}} sayfasını ziyaret edebilirsiniz."},adBlock:"Reklam Engelleme",sponsorblock:{title:"SponsorBlock Ayarları",options:{enableSB:"SponsorBlock'u Etkinleştir",manualSkip:"SponsorBlock Bölümlerini Manuel Geç",segments:"Bölümler",categories:{sponsor:"Sponsor Bölümlerini Geç",intro:"Giriş Bölümlerini Geç",outro:"Çıkış Bölümlerini Geç",interaction:"Etkileşim Hatırlatma Bölümlerini Geç",selfpromo:"Kendi Tanıtım Bölümlerini Geç",preview:"Önizleme/Özet Bölümlerini Geç",filler:"Alakasız/Şaka Bölümlerini Geç",music_offtopic:"Konu Dışı Müzik Bölümlerini Geç",highlights:"Öne Çıkan Anları Etkinleştir"},showSBToasts:"SponsorBlock Bildirimlerini Göster"}},dearrow:{title:"DeArrow Ayarları",options:{enableDA:"DeArrow'u Etkinleştir",enableDAThumbnails:"DeArrow Küçük Resimlerini Etkinleştir"}},misc:{title:"Çeşitli Ayarlar",options:{endScreenCards:"Bitiş Ekranı Kartlarını Gizle",youThereRenderer:"'Hâlâ izliyor musunuz?' Öğesini Etkinleştir",paidPromoOverlay:"'Ücretli tanıtım içerir' Katmanını Etkinleştir",whosWatching:{title:"Kim İzliyor Menüsü",options:{enableWW:"Kim İzliyor Menüsünü Etkinleştir",permaEnableWW:"Kim İzliyor Menüsünü Kalıcı Olarak Etkinleştir",enableWWOnExit:"Uygulamadan Çıkışta Kim İzliyor Menüsünü Etkinleştir"}},fixUI:"Arayüzü Düzelt",hqThumbnails:"Yüksek Kaliteli Küçük Resimleri Etkinleştir",longPress:"Uzun Basma Eylemlerini Etkinleştir",shorts:"Shorts'u Etkinleştir",videoPreviews:"Video Önizlemelerini Etkinleştir",ttWelcomeMsg:"TT Karşılama Mesajını Göster",guestSignInReminder:"Misafir Giriş Hatırlatmasını Göster",reloadHomeOnStartup:"Açılışta Ana Sayfayı Yeniden Yükle"}},subtitles:{title:"Altyazı Ayarları",options:{showLocalSubtitle:"Yerel Altyazıyı Göster",showHiddenSubtitles:"Gizli Altyazıları Göster"}},videoPlayer:{title:"Video Oynatıcı Ayarları",subtitle:"Video oynatıcı özelliklerini özelleştirin",options:{patching:{title:"Video Oynatıcı Arayüzünü Yama",options:{enableVPUIPatching:"Video Oynatıcı Arayüzü Yamasını Etkinleştir",previousNextBtns:"Önceki ve Sonraki Düğmelerini Etkinleştir",showSuperThxBtn:"Süper Teşekkür Düğmesini Göster",showSpeedCtrlBtn:"Hız Kontrol Düğmesini Göster"}},preferredVideoQuality:{title:"Tercih Edilen Video Kalitesi",subtitle:"Oynatma başladığında uygulanacak tercih edilen veya bir sonraki en iyi video kalitesini seçin"},speedSettings:{title:"Hız Ayarı Artışları",subtitle:"Video oynatma hızı ayarlamaları için artış miktarını belirleyin"},preferredVideoCodec:{title:"Tercih Edilen Video Kodlayıcı",subtitle:"Oynatma için tercih edilen video kodlayıcıyı seçin"},afr:"Otomatik Kare Hızı",afrPauseDuration:{title:"Otomatik Kare Hızı Duraklatma Süresi",subtitle:"Kare hızı ayarlanırken video oynatmayı duraklatma süresini (saniye) ayarlayın"}}},uiSettings:{title:"Kullanıcı Arayüzü Ayarları",subtitle:"Arayüzü istediğiniz gibi özelleştirin",options:{hideWatchedVideos:{title:"İzlenen Videoları Gizle",options:{enableHideWatchedVideos:"İzlenen Videoları Gizlemeyi Etkinleştir",watchedVideosThreshold:{title:"İzlenen Videolar Eşiği",subtitle:"İzlenen videoları gizlemek için yüzde eşiğini ayarlayın"},setPagesToHideWatchedVideos:"İzlenen Videoların Gizleneceği Sayfaları Belirle"}},screenDimming:{title:"Ekran Karartma",options:{enableScreenDimming:"Ekran Karartmayı Etkinleştir",dimmingTimeout:{title:"Karartma Zaman Aşımı",subtitle:"Ekran kararmadan önceki hareketsizlik süresini (saniye) ayarlayın"},dimmingOpacity:{title:"Karartma Opaklığı",subtitle:"Ekran karartma için opaklık seviyesini ayarlayın"}}},disableSidebarContents:{title:"Kenar Çubuğu İçeriklerini Devre Dışı Bırak",subtitle:"Devre dışı bırakılacak kenar çubuğu içeriklerini seçin"},launchToOnStartup:{title:"Açılışta Başlatılacak Sayfa",subtitle:"TizenTube'un açılışta varsayılan olarak açacağı sayfayı seçin"},sortSubscriptionsByAlphabet:"Abonelikleri Alfabetik Sırala"}},updater:{title:"TizenTube Cobalt Güncelleyici",menuSubtitle:"TizenTube Cobalt güncellemelerini yönetin",versionSubtitle:"Geçerli sürüm: {{version}}",options:{checkForUpdates:"Güncellemeleri kontrol et",checkForUpdatesOnStartup:"Açılışta güncellemeleri kontrol et"}}},ttSettings:{title:"TizenTube Ayarları",madeByText:"Reis Can (reisxd) tarafından ❤️ ile yapıldı",summary:"TizenTube Ayarlarını Aç"},supportTT:{title:"TizenTube'u Destekleyin",subtitle:"❤️ TizenTube'a ve geliştirilmesine destek olun",content:{1:"TizenTube'u kullanmaktan memnunsanız ve geliştirilmesini desteklemek istiyorsanız, şunları değerlendirebilirsiniz:",2:"1. Görünürlüğünü artırmaya yardımcı olmak için GitHub deposuna yıldız verin.",3:"2. TizenTube'u başkalarıyla paylaşın.",4:"Maddi olarak katkıda bulunmak isterseniz bağış yapmayı düşünebilirsiniz:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (tercihen)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"TizenTube'a Hoş Geldiniz",subtitle:"Ayarlar menüsüne gidip TizenTube Ayarları'na tıklayarak ayarları açabilirsiniz."},sponsorblock:{segments:{sponsor:"Sponsor bölümü",intro:"Giriş bölümü",outro:"Çıkış bölümü",interaction:"Etkileşim hatırlatması",selfpromo:"Kendi tanıtımı",preview:"Özet veya önizleme",filler:"Alakasız bölüm",music_offtopic:"Müzik dışı bölüm",poi_highlight:"Öne çıkan an"},toasts:{skipping:"{{segment}} geçiliyor",notSkipping:"{{segment}} geçilmiyor ({{count}} kez geçildi)",skip:"Geç: {{segment}}",skipToHighlight:"Öne çıkan âna atla"}}}},vi:{translation:{__contributors:["reisxd"],settings:{options:{socialMedia:{title:"Liên kết mạng xã hội",qrCodeScanMessage:"Bạn có thể truy cập trang {{name}} bằng cách quét mã QR bên dưới."},adBlock:"Chặn quảng cáo",sponsorblock:{title:"Cài đặt SponsorBlock",options:{enableSB:"Bật SponsorBlock",manualSkip:"Bỏ qua phân đoạn SponsorBlock thủ công",segments:"Bỏ qua phân đoạn SponsorBlock tự động",categories:{sponsor:"Bỏ qua đoạn tài trợ",intro:"Bỏ qua đoạn mở đầu (Intro)",outro:"Bỏ qua đoạn kết thúc (Outro)",interaction:"Bỏ qua đoạn nhắc nhở tương tác",selfpromo:"Bỏ qua đoạn tự quảng cáo",preview:"Bỏ qua đoạn xem trước/tóm tắt",filler:"Bỏ qua đoạn nói lan man/trò đùa",music_offtopic:"Bỏ qua đoạn không phải âm nhạc",highlights:"Bật các đoạn nổi bật"},showSBToasts:"Hiển thị thông báo SponsorBlock"}},dearrow:{title:"Cài đặt DeArrow",options:{enableDA:"Bật DeArrow",enableDAThumbnails:"Bật hình thu nhỏ DeArrow"}},misc:{title:"Cài đặt khác",options:{endScreenCards:"Ẩn thẻ màn hình kết thúc",youThereRenderer:"Bật thông báo 'Video đã tạm dừng. Tiếp tục xem?'",paidPromoOverlay:"Bật lớp phủ 'Chứa nội dung được trả tiền để quảng cáo'",whosWatching:{title:"Menu ai đang xem",options:{enableWW:"Bật menu ai đang xem",permaEnableWW:"Luôn bật menu ai đang xem",enableWWOnExit:"Bật menu ai đang xem khi thoát ứng dụng"}},fixUI:"Sửa lỗi giao diện",hqThumbnails:"Bật hình thu nhỏ chất lượng cao",longPress:"Bật thao tác nhấn giữ",shorts:"Bật Shorts",videoPreviews:"Bật tính năng xem trước video",ttWelcomeMsg:"Hiển thị thông báo chào mừng TizenTube",guestSignInReminder:"Hiển thị nhắc nhở đăng nhập cho chế độ khách",reloadHomeOnStartup:"Tải lại Trang chủ khi khởi động"}},subtitles:{title:"Cài đặt phụ đề",options:{showLocalSubtitle:"Hiển thị phụ đề cục bộ",showHiddenSubtitles:"Hiển thị phụ đề bị ẩn"}},videoPlayer:{title:"Cài đặt trình phát video",subtitle:"Tùy chỉnh các tính năng của trình phát video",options:{patching:{title:"Vá giao diện trình phát video",options:{enableVPUIPatching:"Bật vá giao diện trình phát video",previousNextBtns:"Bật nút Trước và Tiếp theo",showSuperThxBtn:"Hiển thị nút Super Thanks",showSpeedCtrlBtn:"Hiển thị nút Điều khiển tốc độ"}},preferredVideoQuality:{title:"Chất lượng video ưu tiên",subtitle:"Chọn chất lượng video ưu tiên hoặc tốt nhất tiếp theo được áp dụng khi bắt đầu phát"},speedSettings:{title:"Mức tăng cài đặt tốc độ",subtitle:"Đặt các mức tăng tốc độ để điều chỉnh tốc độ phát video"},preferredVideoCodec:{title:"Bộ giải mã video ưu tiên",subtitle:"Chọn bộ giải mã video ưu tiên để phát"},afr:"Tốc độ khung hình tự động (AFR)",afrPauseDuration:{title:"Thời gian tạm dừng AFR",subtitle:"Đặt thời gian (tính bằng giây) để tạm dừng phát video khi điều chỉnh tốc độ khung hình"}}},uiSettings:{title:"Cài đặt giao diện người dùng",subtitle:"Tùy chỉnh giao diện theo ý thích của bạn",options:{hideWatchedVideos:{title:"Ẩn video đã xem",options:{enableHideWatchedVideos:"Bật ẩn video đã xem",watchedVideosThreshold:{title:"Ngưỡng video đã xem",subtitle:"Đặt ngưỡng phần trăm để ẩn các video đã xem"},setPagesToHideWatchedVideos:"Đặt các trang sẽ ẩn video đã xem"}},screenDimming:{title:"Làm mờ màn hình",options:{enableScreenDimming:"Bật làm mờ màn hình",dimmingTimeout:{title:"Thời gian chờ làm mờ",subtitle:"Đặt thời gian không hoạt động (tính bằng giây) trước khi màn hình mờ đi"},dimmingOpacity:{title:"Độ mờ của màn hình",subtitle:"Đặt mức độ mờ cho màn hình"}}},disableSidebarContents:{title:"Tắt nội dung thanh bên",subtitle:"Chọn các nội dung trên thanh bên để tắt"},launchToOnStartup:{title:"Trang khởi động",subtitle:"Chọn trang mặc định mà TizenTube sẽ mở khi khởi động"},sortSubscriptionsByAlphabet:"Sắp xếp các kênh đăng ký theo bảng chữ cái"}},updater:{title:"Trình cập nhật TizenTube Cobalt",menuSubtitle:"Quản lý các bản cập nhật TizenTube Cobalt",versionSubtitle:"Phiên bản hiện tại: {{version}}",options:{checkForUpdates:"Kiểm tra cập nhật",checkForUpdatesOnStartup:"Kiểm tra cập nhật khi khởi động"}}},ttSettings:{title:"Cài đặt TizenTube",madeByText:"Được tạo bởi Reis Can (reisxd) ❤️",summary:"Mở Cài đặt TizenTube"},supportTT:{title:"Ủng hộ TizenTube",subtitle:"❤️ Thể hiện sự ủng hộ dành cho TizenTube và đội ngũ phát triển!",content:{1:"Nếu bạn thích sử dụng TizenTube và muốn ủng hộ đội ngũ phát triển dự án này, hãy:",2:"1. Tặng sao (Star) cho dự án ở trên GitHub để giúp dự án phổ biến hơn.",3:"2. Chia sẻ TizenTube với mọi người.",4:"Nếu bạn muốn quyên góp:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (ưu tiên)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Chào mừng đến với TizenTube",subtitle:"Vào mục Cài đặt và nhấp vào Cài đặt TizenTube để tùy chỉnh."},sponsorblock:{segments:{sponsor:"đoạn tài trợ",intro:"đoạn mở đầu",outro:"đoạn kết thúc",interaction:"đoạn nhắc nhở tương tác",selfpromo:"đoạn tự quảng cáo",preview:"đoạn tóm tắt hoặc xem trước",filler:"đoạn nói lan man",music_offtopic:"phần không phải âm nhạc",poi_highlight:"đoạn nổi bật"},toasts:{skipping:"Đang bỏ qua {{segment}}...",notSkipping:"Không bỏ qua {{segment}} (đã bỏ qua {{count}} lần)",skip:"Bỏ qua {{segment}}",skipToHighlight:"Chuyển đến đoạn nổi bật"}}}},de:{translation:{__contributors:["CrazyWolf13"],settings:{options:{socialMedia:{title:"Social-Media-Links",qrCodeScanMessage:"Du kannst die {{name}}-Seite besuchen, indem du den untenstehenden QR-Code scannst."},adBlock:"Werbeblocker",sponsorblock:{title:"SponsorBlock-Einstellungen",options:{enableSB:"SponsorBlock aktivieren",manualSkip:"Manuelles Überspringen von SponsorBlock-Segmenten",segments:"Segmente",categories:{sponsor:"Sponsor-Segmente überspringen",intro:"Intro-Segmente überspringen",outro:"Outro-Segmente überspringen",interaction:"Interaktionsaufforderungen überspringen",selfpromo:"Eigenwerbung überspringen",preview:"Vorschau-/Zusammenfassungs-Segmente überspringen",filler:"Abschweifungen/Witze überspringen",music_offtopic:"Off-Topic-Musiksegmente überspringen",highlights:"Highlights aktivieren"},showSBToasts:"SponsorBlock-Pop-Ups anzeigen"}},dearrow:{title:"DeArrow-Einstellungen",options:{enableDA:"DeArrow aktivieren",enableDAThumbnails:"DeArrow-Thumbnails aktivieren"}},misc:{title:"Sonstige Einstellungen",options:{endScreenCards:"Endbildschirm-Karten ausblenden",youThereRenderer:"'Schaust du noch?' anzeigen",paidPromoOverlay:"'Enthält bezahlte Werbung'-Overlay anzeigen",whosWatching:{title:"„Wer schaut?“ Menü",options:{enableWW:"„Wer schaut?“ Menü aktivieren",permaEnableWW:"„Wer schaut?“ Menü dauerhaft aktivieren",enableWWOnExit:"„Wer schaut?“ Menü beim Beenden der App anzeigen"}},fixUI:"UI korrigieren",hqThumbnails:"Hochqualitative Thumbnails aktivieren",longPress:"Gedrückthalten-Aktionen aktivieren",shorts:"Shorts aktivieren",videoPreviews:"Videovorschauen aktivieren",ttWelcomeMsg:"TT-Begrüßungsnachricht anzeigen",guestSignInReminder:"Gast-Anmeldeerinnerung anzeigen",reloadHomeOnStartup:"Startseite beim Start neu laden"}},subtitles:{title:"Untertitel-Einstellungen",options:{showLocalSubtitle:"Lokale Untertitel anzeigen",showHiddenSubtitles:"Versteckte Untertitel anzeigen"}},videoPlayer:{title:"Videoplayer-Einstellungen",subtitle:"Videoplayer-Funktionen anpassen",options:{patching:{title:"Videoplayer-UI patchen",options:{enableVPUIPatching:"Videoplayer-UI-Patching aktivieren",previousNextBtns:"Vorheriger-/Nächster-Buttons aktivieren",showSuperThxBtn:"Super-Thanks-Button anzeigen",showSpeedCtrlBtn:"Geschwindigkeitssteuerungs-Button anzeigen"}},preferredVideoQuality:{title:"Bevorzugte Videoqualität",subtitle:"Wähle die bevorzugte oder nächstbeste Videoqualität, die beim Start der Wiedergabe verwendet wird"},speedSettings:{title:"Geschwindigkeitsstufen",subtitle:"Lege die Schritte für Anpassungen der Wiedergabegeschwindigkeit fest"},preferredVideoCodec:{title:"Bevorzugter Videocodec",subtitle:"Wähle den bevorzugten Videocodec für die Wiedergabe"},afr:"Automatische Bildrate",afrPauseDuration:{title:"Pause bei automatischer Bildrate",subtitle:"Lege fest, wie lange (in Sekunden) das Video pausiert wird, wenn die Bildrate angepasst wird"}}},uiSettings:{title:"Benutzeroberflächen-Einstellungen",subtitle:"Passe die Oberfläche nach deinen Wünschen an",options:{hideWatchedVideos:{title:"Angesehene Videos ausblenden",options:{enableHideWatchedVideos:"Ausblenden angesehener Videos aktivieren",watchedVideosThreshold:{title:"Schwellenwert für angesehene Videos",subtitle:"Lege den Prozentsatz fest, ab dem Videos als angesehen gelten und ausgeblendet werden"},setPagesToHideWatchedVideos:"Seiten festlegen, auf denen angesehene Videos ausgeblendet werden"}},screenDimming:{title:"Bildschirmabdunklung",options:{enableScreenDimming:"Bildschirmabdunklung aktivieren",dimmingTimeout:{title:"Timeout für Abdunklung",subtitle:"Lege die Inaktivitätszeit (in Sekunden) fest, bevor der Bildschirm abgedunkelt wird"},dimmingOpacity:{title:"Abdunklungs-Deckkraft",subtitle:"Lege die Deckkraft der Bildschirmabdunklung fest"}}},disableSidebarContents:{title:"Seitenleisten-Inhalte deaktivieren",subtitle:"Wähle Seitenleisten-Inhalte aus, die deaktiviert werden sollen"},launchToOnStartup:{title:"Startseite beim Start",subtitle:"Wähle die Standardseite, die TizenTube beim Start öffnet"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"TizenTube Cobalt Updater",menuSubtitle:"TizenTube Cobalt Updates verwalten",versionSubtitle:"Aktuelle Version: {{version}}",options:{checkForUpdates:"Nach Updates suchen",checkForUpdatesOnStartup:"Beim Start nach Updates suchen"}}},ttSettings:{title:"TizenTube-Einstellungen",madeByText:"Erstellt von Reis Can (reisxd) mit ❤️",summary:"TizenTube-Einstellungen öffnen"},supportTT:{title:"TizenTube unterstützen",subtitle:"❤️ Unterstütze TizenTube und seine Entwicklung",content:{1:"Wenn dir TizenTube gefällt und du seine Entwicklung unterstützen möchtest, ziehe Folgendes in Betracht:",2:"1. Markiere das GitHub-Repository mit einem Stern, um seine Sichtbarkeit zu erhöhen.",3:"2. Teile TizenTube mit anderen.",4:"Wenn du finanziell beitragen möchtest, kannst du spenden:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (bevorzugt)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Willkommen bei TizenTube",subtitle:"Gehe zu den Einstellungen und klicke auf TizenTube-Einstellungen."},sponsorblock:{segments:{sponsor:"Sponsor-Segment",intro:"Intro",outro:"Outro",interaction:"Interaktionshinweis",selfpromo:"Eigenwerbung",preview:"Zusammenfassung oder Vorschau",filler:"Abschweifung",music_offtopic:"Nicht-Musik-Teil",poi_highlight:"Highlight"},toasts:{skipping:"{{segment}} wird übersprungen",notSkipping:"{{segment}} wird nicht übersprungen (wurde {{count}} mal übersprungen)",skip:"{{segment}} überspringen",skipToHighlight:"Zum Highlight springen"}}}},lv:{translation:{__contributors:["LvKafija"],settings:{options:{socialMedia:{title:"Sociālo mēdiju saites",qrCodeScanMessage:"Jūs varat apmeklēt {{name}} lapu, noskenējot zemāk redzamo QR kodu."},adBlock:"Reklāmu bloķētājs",sponsorblock:{title:"SponsorBlock iestatījumi",options:{enableSB:"Iespējot SponsorBlock",manualSkip:"Manuāla SponsorBlock segmentu izlaišana",segments:"Segmenti",categories:{sponsor:"Izlaist sponsoru segmentus",intro:"Izlaist ievada segmentus",outro:"Izlaist beigu segmentus",interaction:"Izlaist aicinājumus uz mijiedarbību",selfpromo:"Izlaist pašreklāmas segmentus",preview:"Izlaist priekšskatījuma/kopsavilkuma segmentus",filler:"Izlaist liekvārdību/jokus",music_offtopic:"Izlaist nesaistītas mūzikas segmentus",highlights:"Iespējot izcēlumus"},showSBToasts:"Rādīt SponsorBlock paziņojumus"}},dearrow:{title:"DeArrow iestatījumi",options:{enableDA:"Iespējot DeArrow",enableDAThumbnails:"Iespējot DeArrow sīktēlus"}},misc:{title:"Dažādi iestatījumi",options:{endScreenCards:"Slēpt beigu ekrāna kartītes",youThereRenderer:"Iespējot 'Vai jūs joprojām skatāties?' logu",paidPromoOverlay:"Iespējot 'Ietver apmaksātu reklāmu' pārklājumu",whosWatching:{title:"Izvēlne 'Kas skatās?'",options:{enableWW:"Iespējot 'Kas skatās?' izvēlni",permaEnableWW:"Pastāvīgi iespējot 'Kas skatās?' izvēlni",enableWWOnExit:"Rādīt 'Kas skatās?' izvēlni, aizverot lietotni"}},fixUI:"Labot saskarni (UI)",hqThumbnails:"Iespējot augstas kvalitātes sīktēlus",longPress:"Iespējot garā nospiediena darbības",shorts:"Iespējot Shorts",videoPreviews:"Iespējot video priekšskatījumus",ttWelcomeMsg:"Rādīt TT sveiciena ziņojumu",guestSignInReminder:"Rādīt viesa pieteikšanās atgādinājumu",reloadHomeOnStartup:"Pārlādēt sākumlapu palaišanas brīdī"}},subtitles:{title:"Subtitru iestatījumi",options:{showLocalSubtitle:"Rādīt vietējos subtitrus",showHiddenSubtitles:"Rādīt slēptos subtitrus"}},videoPlayer:{title:"Video atskaņotāja iestatījumi",subtitle:"Pielāgot video atskaņotāja funkcijas",options:{patching:{title:"Video atskaņotāja UI ielāpi",options:{enableVPUIPatching:"Iespējot video atskaņotāja UI ielāpus",previousNextBtns:"Iespējot pogas 'Iepriekšējais' un 'Nākamais'",showSuperThxBtn:"Rādīt 'Super Thanks' pogu",showSpeedCtrlBtn:"Rādīt ātruma kontroles pogu"}},preferredVideoQuality:{title:"Vēlamā video kvalitāte",subtitle:"Izvēlieties vēlamo vai nākamo labāko video kvalitāti atskaņošanas sākumā"},speedSettings:{title:"Ātruma iestatījumu soļi",subtitle:"Iestatiet ātruma pieauguma soļus video atskaņošanas pielāgošanai"},preferredVideoCodec:{title:"Vēlamais video kodeks",subtitle:"Izvēlieties vēlamo video kodeku atskaņošanai"},afr:"Automātisks kadru nomaiņas ātrums (AFR)",afrPauseDuration:{title:"AFR pauzes ilgums",subtitle:"Iestatiet ilgumu (sekundēs), uz kādu apturēt atskaņošanu, pielāgojot kadru nomaiņas ātrumu"}}},uiSettings:{title:"Lietotāja saskarnes iestatījumi",subtitle:"Pielāgojiet saskarni savām vēlmēm",options:{hideWatchedVideos:{title:"Slēpt noskatītos video",options:{enableHideWatchedVideos:"Iespējot noskatīto video slēpšanu",watchedVideosThreshold:{title:"Noskatīto video slieksnis",subtitle:"Iestatiet procentuālo slieksni noskatīto video slēpšanai"},setPagesToHideWatchedVideos:"Izvēlēties lapas, kurās slēpt noskatītos video"}},screenDimming:{title:"Ekrāna aptumšošana",options:{enableScreenDimming:"Iespējot ekrāna aptumšošanu",dimmingTimeout:{title:"Aptumšošanas noildze",subtitle:"Iestatiet bezdarbības laiku (sekundēs), pirms ekrāns aptumšojas"},dimmingOpacity:{title:"Aptumšošanas intensitāte",subtitle:"Iestatiet ekrāna aptumšošanas caurspīdīguma līmeni"}}},disableSidebarContents:{title:"Atspējot sānjoslas saturu",subtitle:"Izvēlieties sānjoslas elementus, kurus atspējot"},launchToOnStartup:{title:"Sākumlapa palaišanas brīdī",subtitle:"Izvēlieties noklusējuma lapu, kuru TizenTube atvērs palaišanas brīdī"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"TizenTube Cobalt atjauninātājs",menuSubtitle:"Pārvaldīt TizenTube Cobalt atjauninājumus",versionSubtitle:"Pašreizējā versija: {{version}}",options:{checkForUpdates:"Pārbaudīt atjauninājumus",checkForUpdatesOnStartup:"Pārbaudīt atjauninājumus palaišanas brīdī"}}},ttSettings:{title:"TizenTube iestatījumi",madeByText:"Izveidoja Reis Can (reisxd) ar ❤️",summary:"Atvērt TizenTube iestatījumus"},supportTT:{title:"Atbalstīt TizenTube",subtitle:"❤️ Atbalstiet TizenTube un tā izstrādi",content:{1:"Ja jums patīk lietot TizenTube un vēlaties atbalstīt tā izstrādi, apsveriet sekojošo:",2:"1. Atzīmējiet GitHub repozitoriju ar zvaigznīti, lai palīdzētu uzlabot tā redzamību.",3:"2. Dalieties ar TizenTube ar citiem.",4:"Ja vēlaties sniegt finansiālu ieguldījumu, apsveriet ziedošanu:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (ieteicams)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Laipni lūdzam TizenTube",subtitle:"Dodieties uz iestatījumiem un noklikšķiniet uz 'TizenTube iestatījumi', lai veiktu izmaiņas."},sponsorblock:{segments:{sponsor:"sponsorēts segments",intro:"ievads",outro:"beigas",interaction:"atgādinājums par mijiedarbību",selfpromo:"pašreklāma",preview:"kopsavilkums vai priekšskatījums",filler:"novirzīšanās no tēmas",music_offtopic:"nemuzikāla daļa",poi_highlight:"izcēlums"},toasts:{skipping:"Izlaiž: {{segment}}",notSkipping:"Neizlaiž {{segment}} (tika izlaists {{count}} reizes)",skip:"Izlaist {{segment}}",skipToHighlight:"Pāriet uz izcēlumu"}}}},"pt-PT":{translation:{__contributors:["joaopferreira19"],settings:{options:{socialMedia:{title:"Ligações de Redes Sociais",qrCodeScanMessage:"Podes visitar a página {{name}} ao digitalizar o código QR abaixo."},adBlock:"Bloqueador de Anúncios",sponsorblock:{title:"Definições do SponsorBlock",options:{enableSB:"Ativar SponsorBlock",manualSkip:"Ignorar segmento do SponsorBlock manualmente",segments:"Segmentos",categories:{sponsor:"Ignorar segmentos patrocinados",intro:"Ignorar segmentos de introdução",outro:"Ignorar segmentos de final",interaction:"Ignorar lembretes de interação",selfpromo:"Ignorar autopromoções",preview:"Ignorar pré-visualizações/recapitulações",filler:"Ignorar tangentes/piadas",music_offtopic:"Ignorar música fora de contexto",highlights:"Ativar destaques"},showSBToasts:"Mostrar notificações do SponsorBlock"}},dearrow:{title:"Definições do DeArrow",options:{enableDA:"Ativar DeArrow",enableDAThumbnails:"Ativar miniaturas do DeArrow"}},misc:{title:"Outras Definições",options:{endScreenCards:"Ocultar cartões de ecrã final",youThereRenderer:"Ativar mensagem 'Ainda estás a ver?'",paidPromoOverlay:"Ativar sobreposição 'Inclui promoção paga'",whosWatching:{title:"Menu 'Quem está a ver'",options:{enableWW:"Ativar menu 'Quem está a ver'",permaEnableWW:"Ativar permanentemente o menu 'Quem está a ver'",enableWWOnExit:"Ativar menu 'Quem está a ver' ao sair da aplicação"}},fixUI:"Corrigir interface",hqThumbnails:"Ativar miniaturas de alta qualidade",longPress:"Ativar ações com pressão longa",shorts:"Ativar Shorts",videoPreviews:"Ativar pré-visualizações de vídeo",ttWelcomeMsg:"Mostrar mensagem de boas-vindas do TT",guestSignInReminder:"Mostrar lembrete de início de sessão para convidados",reloadHomeOnStartup:"Recarregar página inicial ao iniciar"}},subtitles:{title:"Definições de Legendas",options:{showLocalSubtitle:"Mostrar legendas locais",showHiddenSubtitles:"Mostrar legendas ocultas"}},videoPlayer:{title:"Definições do Reprodutor de Vídeo",subtitle:"Personaliza as funcionalidades do reprodutor de vídeo",options:{patching:{title:"Modificar interface do reprodutor de vídeo",options:{enableVPUIPatching:"Ativar modificação da interface do reprodutor",previousNextBtns:"Ativar botões Anterior e Seguinte",showSuperThxBtn:"Mostrar botão 'Super Thanks'",showSpeedCtrlBtn:"Mostrar botão de controlo de velocidade"}},preferredVideoQuality:{title:"Qualidade de vídeo preferida",subtitle:"Escolhe a qualidade preferida ou a melhor disponível ao iniciar a reprodução"},speedSettings:{title:"Incrementos da velocidade de reprodução",subtitle:"Define os incrementos da velocidade de reprodução do vídeo"},preferredVideoCodec:{title:"Codec de vídeo preferido",subtitle:"Escolhe o codec de vídeo preferido para reprodução"},afr:"Taxa de fotogramas automática",afrPauseDuration:{title:"Duração da pausa da taxa de fotogramas automática",subtitle:"Define a duração (em segundos) da pausa do vídeo ao ajustar a taxa de fotogramas"}}},uiSettings:{title:"Definições da Interface",subtitle:"Personaliza a interface ao teu gosto",options:{hideWatchedVideos:{title:"Ocultar vídeos vistos",options:{enableHideWatchedVideos:"Ativar ocultação de vídeos vistos",watchedVideosThreshold:{title:"Limite de vídeos vistos",subtitle:"Define a percentagem a partir da qual os vídeos vistos são ocultados"},setPagesToHideWatchedVideos:"Definir páginas onde ocultar vídeos vistos"}},screenDimming:{title:"Escurecimento do ecrã",options:{enableScreenDimming:"Ativar escurecimento do ecrã",dimmingTimeout:{title:"Tempo de inatividade",subtitle:"Define o tempo de inatividade (em segundos) antes de o ecrã escurecer"},dimmingOpacity:{title:"Opacidade do escurecimento",subtitle:"Define o nível de opacidade do escurecimento do ecrã"}}},disableSidebarContents:{title:"Desativar conteúdos da barra lateral",subtitle:"Seleciona os conteúdos da barra lateral a desativar"},launchToOnStartup:{title:"Abrir ao iniciar",subtitle:"Escolhe a página padrão que o TizenTube abre ao iniciar"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"Atualizador do TizenTube Cobalt",menuSubtitle:"Gerir atualizações do TizenTube Cobalt",versionSubtitle:"Versão atual: {{version}}",options:{checkForUpdates:"Verificar atualizações",checkForUpdatesOnStartup:"Verificar atualizações ao iniciar"}}},ttSettings:{title:"Definições do TizenTube",madeByText:"Feito por Reis Can (reisxd) com ❤️",summary:"Abrir definições do TizenTube"},supportTT:{title:"Apoiar o TizenTube",subtitle:"❤️ Demonstra apoio ao TizenTube e ao seu desenvolvimento",content:{1:"Se gostas de usar o TizenTube e queres apoiar o seu desenvolvimento, considera o seguinte:",2:"1. Dá uma estrela ao repositório no GitHub para ajudar a aumentar a sua visibilidade.",3:"2. Partilha o TizenTube com outras pessoas.",4:"Se quiseres contribuir financeiramente, considera fazer uma doação:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preferencialmente)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Bem-vindo ao TizenTube",subtitle:"Navega até às definições e clica em 'Definições do TizenTube'."},sponsorblock:{segments:{sponsor:"segmento patrocinado",intro:"introdução",outro:"final",interaction:"lembrete de interação",selfpromo:"autopromoção",preview:"recapitulação ou pré-visualização",filler:"tangentes",music_offtopic:"parte não musical",poi_highlight:"destaque"},toasts:{skipping:"A ignorar {{segment}}",notSkipping:"A mostrar {{segment}} (foi ignorado {{count}} vezes)",skip:"Ignorar {{segment}}",skipToHighlight:"Saltar para o destaque"}}}},"es-419":{translation:{__contributors:["reisxd"],settings:{options:{socialMedia:{title:"Links de Redes Sociales",qrCodeScanMessage:"Puedes visitar la página de {{name}} escaneando el código QR a continuación."},adBlock:"Ad Block",sponsorblock:{title:"Configuraciones de SponsorBlock",options:{enableSB:"Habilitar SponsorBlock",manualSkip:"Omitir segmentos de SponsorBlock manualmente",segments:"Segmentos",categories:{sponsor:"Saltar segmentos patrocinados",intro:"Saltar segmentos de Introducción",outro:"Saltar segmentos de Tarjetas/Créditos",interaction:"Saltar segmentos de recordatorio de interacción",selfpromo:"Saltar segmentos de Promoción Propia",preview:"Saltar segmentos de Vista previa/Recapitulación",filler:"Saltar segmentos de Tangentes/Bromas",music_offtopic:"Saltar segmentos de Música fuera de tema",highlights:"Habilitar Destacados"},showSBToasts:"Mostrar avisos de SponsorBlock"}},dearrow:{title:"Configuraciones de DeArrow",options:{enableDA:"Habilitar DeArrow",enableDAThumbnails:"Habilitar miniaturas de DeArrow"}},misc:{title:"Configuraciones Varias",options:{endScreenCards:"Ocultar Tarjetas de Pantalla Final",youThereRenderer:"Habilitar '¿Sigues viendo?'",paidPromoOverlay:"Habilitar Superposición de 'Incluye promoción pagada'",whosWatching:{title:"Menú de Quién Está Viendo",options:{enableWW:"Habilitar Menú de Quién Está Viendo",permaEnableWW:"Habilitar Permanentemente el Menú de Quién Está Viendo",enableWWOnExit:"Habilitar Menú de Quién Está Viendo al Salir de la Aplicación"}},fixUI:"Arreglar UI",hqThumbnails:"Habilitar Miniaturas de Alta Calidad",longPress:"Habilitar Acciones de Pulsación Larga",shorts:"Habilitar Shorts",videoPreviews:"Habilitar Vista Previa de Videos",ttWelcomeMsg:"Mostrar Mensaje de Bienvenida de TT",guestSignInReminder:"Mostrar Recordatorio de Inicio de Sesión de Invitado",reloadHomeOnStartup:"Recargar Inicio al Iniciar"}},subtitles:{title:"Configuraciones de Subtítulos",options:{showLocalSubtitle:"Mostrar Subtítulos Locales",showHiddenSubtitles:"Mostrar Subtítulos Ocultos"}},videoPlayer:{title:"Configuraciones del Reproductor de Video",subtitle:"Personaliza las funciones del reproductor de video",options:{patching:{title:"Parchear la UI del Reproductor de Video",options:{enableVPUIPatching:"Habilitar Parcheo de la UI del Reproductor de Video",previousNextBtns:"Habilitar Botones Anterior y Siguiente",showSuperThxBtn:"Mostrar Botón de Super Gracias",showSpeedCtrlBtn:"Mostrar Botón de Control de Velocidad"}},preferredVideoQuality:{title:"Calidad de Video Preferida",subtitle:"Elige la calidad de video preferida o la siguiente mejor calidad aplicada al iniciar la reproducción"},speedSettings:{title:"Incrementos de Configuración de Velocidad",subtitle:"Establece los incrementos de velocidad para los ajustes de velocidad de reproducción de video"},preferredVideoCodec:{title:"Códec de Video Preferido",subtitle:"Elige el códec de video preferido para la reproducción"},afr:"Tasa de Cuadros por Segundo Automática",afrPauseDuration:{title:"Duración de Pausa de Tasa de Cuadros por Segundo Automática",subtitle:"Establece la duración (en segundos) para pausar la reproducción de video al ajustar la tasa de cuadros"}}},uiSettings:{title:"Configuraciones de Interfaz de Usuario",subtitle:"Personaliza la interfaz de usuario a tu gusto",options:{hideWatchedVideos:{title:"Ocultar Videos Vistos",options:{enableHideWatchedVideos:"Habilitar Ocultar Videos Vistos",watchedVideosThreshold:{title:"Umbral de Videos Vistos",subtitle:"Establece el umbral de porcentaje para ocultar videos vistos"},setPagesToHideWatchedVideos:"Establecer Páginas para Ocultar Videos Vistos"}},screenDimming:{title:"Oscurecer Pantalla",options:{enableScreenDimming:"Habilitar Oscurecimiento de Pantalla",dimmingTimeout:{title:"Tiempo de Espera para Oscurecimiento",subtitle:"Establece el tiempo de inactividad (en segundos) antes de que la pantalla se oscurezca"},dimmingOpacity:{title:"Opacidad de Oscurecimiento",subtitle:"Establece el nivel de opacidad para el oscurecimiento de la pantalla"}}},disableSidebarContents:{title:"Desactivar Contenidos de la Barra Lateral",subtitle:"Selecciona los contenidos de la barra lateral para desactivar"},launchToOnStartup:{title:"Abrir en Inicio",subtitle:"Elige la página predeterminada que TizenTube abre al iniciar"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"Actualizador de TizenTube Cobalt",menuSubtitle:"Gestionar actualizaciones de TizenTube Cobalt",versionSubtitle:"Versión actual: {{version}}",options:{checkForUpdates:"Buscar actualizaciones",checkForUpdatesOnStartup:"Buscar actualizaciones al iniciar"}}},ttSettings:{title:"Configuraciones de TizenTube",madeByText:"Hecho por Reis Can (reisxd) con ❤️",summary:"Abrir Configuraciones de TizenTube"},supportTT:{title:"Apoyar a TizenTube",subtitle:"❤️ Muestra tu apoyo a TizenTube y su desarrollo",content:{1:"Si disfrutas de TizenTube y quieres apoyar su desarrollo, considera lo siguiente:",2:"1. Marca el repositorio de GitHub con una estrella para ayudar a aumentar su visibilidad.",3:"2. Comparte TizenTube con otros.",4:"Si quieres contribuir financieramente, considera donar:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preferiblemente)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Bienvenido a TizenTube",subtitle:"Ve a configuraciones y haz click en configuraciones de TizenTube para ajustes."},sponsorblock:{segments:{sponsor:"segmento patrocinado",intro:"introducción",outro:"tarjetas/créditos",interaction:"recordatorio de interacción",selfpromo:"promoción propia",preview:"vista previa/recapitulación",filler:"tangentes",music_offtopic:"sección sin música",poi_highlight:"destacado"},toasts:{skipping:"Omitiendo {{segment}}",notSkipping:"No se omite {{segment}} (se omitió {{count}} veces)",skip:"Omitir {{segment}}",skipToHighlight:"Saltar a destacado"}}}},es:{translation:{__contributors:["Sikriet"],settings:{options:{socialMedia:{title:"Enlaces de redes sociales",qrCodeScanMessage:"Puedes visitar la página de {{name}} escaneando el código QR a continuación."},adBlock:"Bloqueador de anuncios",sponsorblock:{title:"Configuración de SponsorBlock",options:{enableSB:"Habilitar SponsorBlock",manualSkip:"Salto manual de segmentos de SponsorBlock",segments:"Segmentos",categories:{sponsor:"Omitir segmentos de patrocinadores",intro:"Omitir segmentos de introducción",outro:"Omitir segmentos de cierre",interaction:"Omitir segmentos de recordatorio de interacción",selfpromo:"Omitir segmentos de autopromoción",preview:"Omitir segmentos de resumen/avance",filler:"Omitir segmentos de desvíos/bromas",music_offtopic:"Omitir segmentos de música no relacionados",highlights:"Habilitar momentos destacados"},showSBToasts:"Mostrar notificaciones de SponsorBlock"}},dearrow:{title:"Configuración de DeArrow",options:{enableDA:"Habilitar DeArrow",enableDAThumbnails:"Habilitar miniaturas de DeArrow"}},misc:{title:"Configuraciones varias",options:{endScreenCards:"Ocultar tarjetas de la pantalla final",youThereRenderer:"Habilitar mensaje '¿Sigues ahí?'",paidPromoOverlay:"Habilitar superposición de 'Incluye promoción paga'",whosWatching:{title:"Menú de 'Quién está viendo'",options:{enableWW:"Habilitar menú de 'Quién está viendo'",permaEnableWW:"Habilitar permanentemente el menú de 'Quién está viendo'",enableWWOnExit:"Habilitar menú de 'Quién está viendo' al salir de la app"}},fixUI:"Arreglar interfaz de usuario",hqThumbnails:"Habilitar miniaturas de alta calidad",longPress:"Habilitar acciones de pulsación larga",shorts:"Habilitar Shorts",videoPreviews:"Habilitar vistas previas de video",ttWelcomeMsg:"Mostrar mensaje de bienvenida de TT",guestSignInReminder:"Mostrar recordatorio de inicio de sesión de invitado",reloadHomeOnStartup:"Recargar inicio al arrancar"}},subtitles:{title:"Configuración de subtítulos",options:{showLocalSubtitle:"Mostrar subtítulos locales",showHiddenSubtitles:"Mostrar subtítulos ocultos"}},videoPlayer:{title:"Configuración del reproductor de video",subtitle:"Personaliza las funciones del reproductor de video",options:{patching:{title:"Parchear interfaz del reproductor de video",options:{enableVPUIPatching:"Habilitar parcheo de la interfaz del reproductor de video",previousNextBtns:"Habilitar botones de anterior y siguiente",showSuperThxBtn:"Mostrar botón de Súper Gracias",showSpeedCtrlBtn:"Mostrar botón de control de velocidad"}},preferredVideoQuality:{title:"Calidad de video preferida",subtitle:"Elige la calidad de video preferida o la siguiente mejor que se aplicará cuando inicie la reproducción"},speedSettings:{title:"Incrementos de ajuste de velocidad",subtitle:"Establece los incrementos para los ajustes de velocidad de reproducción del video"},preferredVideoCodec:{title:"Códec de video preferido",subtitle:"Elige el códec de video preferido para la reproducción"},afr:"Velocidad de fotogramas automática",afrPauseDuration:{title:"Duración de pausa de velocidad de fotogramas automática",subtitle:"Establece la duración (en segundos) para pausar la reproducción de video al ajustar la velocidad de fotogramas"}}},uiSettings:{title:"Configuración de la interfaz de usuario",subtitle:"Personaliza la interfaz de usuario a tu gusto",options:{hideWatchedVideos:{title:"Ocultar videos vistos",options:{enableHideWatchedVideos:"Habilitar ocultar videos vistos",watchedVideosThreshold:{title:"Umbral de videos vistos",subtitle:"Establece el umbral de porcentaje para ocultar los videos vistos"},setPagesToHideWatchedVideos:"Establecer páginas para ocultar videos vistos"}},screenDimming:{title:"Atenuación de pantalla",options:{enableScreenDimming:"Habilitar atenuación de pantalla",dimmingTimeout:{title:"Tiempo de espera de atenuación",subtitle:"Establece el tiempo de inactividad (en segundos) antes de que la pantalla se atenúe"},dimmingOpacity:{title:"Opacidad de atenuación",subtitle:"Establece el nivel de opacidad para la atenuación de la pantalla"}}},disableSidebarContents:{title:"Deshabilitar contenidos de la barra lateral",subtitle:"Selecciona los contenidos de la barra lateral que deseas deshabilitar"},launchToOnStartup:{title:"Página de inicio al arrancar",subtitle:"Elige la página predeterminada que abrirá TizenTube al iniciar"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"Actualizador de TizenTube Cobalt",menuSubtitle:"Administrar actualizaciones de TizenTube Cobalt",versionSubtitle:"Versión actual: {{version}}",options:{checkForUpdates:"Buscar actualizaciones",checkForUpdatesOnStartup:"Buscar actualizaciones al iniciar"}}},ttSettings:{title:"Configuración de TizenTube",madeByText:"Hecho por Reis Can (reisxd) con ❤️",summary:"Abrir configuración de TizenTube"},supportTT:{title:"Apoya a TizenTube",subtitle:"❤️ Muestra tu apoyo a TizenTube y su desarrollo",content:{1:"Si disfrutas usar TizenTube y te gustaría apoyar su desarrollo, considera lo siguiente:",2:"1. Dale una estrella al repositorio de GitHub para ayudar a aumentar su visibilidad.",3:"2. Comparte TizenTube con otras personas.",4:"Si deseas contribuir económicamente, considera hacer una donación:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (de preferencia)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Bienvenido a TizenTube",subtitle:"Ve a ajustes y haz clic en Configuración de TizenTube para ajustarla."},sponsorblock:{segments:{sponsor:"segmento patrocinado",intro:"introducción",outro:"cierre",interaction:"recordatorio de interacción",selfpromo:"autopromoción",preview:"resumen o avance",filler:"desvíos o relleno",music_offtopic:"parte sin música",poi_highlight:"momento destacado"},toasts:{skipping:"Omitiendo {{segment}}",notSkipping:"No omitiendo {{segment}} (se omitió {{count}} veces)",skip:"Omitir {{segment}}",skipToHighlight:"Saltar al momento destacado"}}}},id:{translation:{__contributors:["thegouhund"],settings:{options:{socialMedia:{title:"Tautan Media Sosial",qrCodeScanMessage:"Anda dapat mengunjungi halaman {{name}} dengan memindai kode QR di bawah ini."},adBlock:"Pemblokir Iklan",sponsorblock:{title:"Pengaturan SponsorBlock",options:{enableSB:"Aktifkan SponsorBlock",manualSkip:"Lewati Segmen SponsorBlock Secara Manual",segments:"Segmen",categories:{sponsor:"Lewati Segmen Sponsor",intro:"Lewati Segmen Intro",outro:"Lewati Segmen Outro",interaction:"Lewati Segmen Pengingat Interaksi",selfpromo:"Lewati Segmen Promosi Diri",preview:"Lewati Segmen Pratinjau/Rekap",filler:"Lewati Segmen OOT/Lelucon",music_offtopic:"Lewati Segmen Musik di Luar Topik",highlights:"Aktifkan Sorotan"},showSBToasts:"Tampilkan Notifikasi SponsorBlock"}},dearrow:{title:"Pengaturan DeArrow",options:{enableDA:"Aktifkan DeArrow",enableDAThumbnails:"Aktifkan Thumbnail DeArrow"}},misc:{title:"Pengaturan Lainnya",options:{endScreenCards:"Sembunyikan Kartu Layar Akhir",youThereRenderer:"Aktifkan Renderer 'Masih menonton?'",paidPromoOverlay:"Aktifkan Overlay 'Mengandung promosi berbayar'",whosWatching:{title:"Menu Siapa yang Menonton",options:{enableWW:"Aktifkan Menu Siapa yang Menonton",permaEnableWW:"Aktifkan Menu Siapa yang Menonton Secara Permanen",enableWWOnExit:"Aktifkan Menu Siapa yang Menonton saat Keluar Aplikasi"}},fixUI:"Perbaiki UI",hqThumbnails:"Aktifkan Thumbnail Kualitas Tinggi",longPress:"Aktifkan Aksi Tekan Lama",shorts:"Aktifkan Shorts",videoPreviews:"Aktifkan Pratinjau Video",ttWelcomeMsg:"Tampilkan Pesan Selamat Datang TT",guestSignInReminder:"Tampilkan Pengingat Masuk Tamu",reloadHomeOnStartup:"Muat Ulang Beranda saat Startup"}},subtitles:{title:"Pengaturan Subtitle",options:{showLocalSubtitle:"Tampilkan Subtitle Lokal",showHiddenSubtitles:"Tampilkan Subtitle Tersembunyi"}},videoPlayer:{title:"Pengaturan Pemutar Video",subtitle:"Sesuaikan fitur pemutar video",options:{patching:{title:"Patch UI Pemutar Video",options:{enableVPUIPatching:"Aktifkan Patch UI Pemutar Video",previousNextBtns:"Aktifkan Tombol Sebelumnya dan Berikutnya",showSuperThxBtn:"Tampilkan Tombol Super Thanks",showSpeedCtrlBtn:"Tampilkan Tombol Kontrol Kecepatan"}},preferredVideoQuality:{title:"Kualitas Video Pilihan",subtitle:"Pilih kualitas video pilihan atau kualitas terbaik berikutnya yang diterapkan saat pemutaran dimulai"},speedSettings:{title:"Kenaikan Pengaturan Kecepatan",subtitle:"Atur nilai kenaikan untuk penyesuaian kecepatan pemutaran video"},preferredVideoCodec:{title:"Codec Video Pilihan",subtitle:"Pilih codec video pilihan untuk pemutaran"},afr:"Frame Rate Otomatis",afrPauseDuration:{title:"Durasi Jeda Frame Rate Otomatis",subtitle:"Atur durasi (dalam detik) untuk menjeda pemutaran video saat menyesuaikan frame rate"}}},uiSettings:{title:"Pengaturan Antarmuka",subtitle:"Sesuaikan UI sesuai keinginan Anda",options:{hideWatchedVideos:{title:"Sembunyikan Video yang Sudah Ditonton",options:{enableHideWatchedVideos:"Aktifkan Sembunyikan Video yang Sudah Ditonton",watchedVideosThreshold:{title:"Batas Video Ditonton",subtitle:"Atur batas persentase untuk menyembunyikan video yang sudah ditonton"},setPagesToHideWatchedVideos:"Atur Halaman untuk Menyembunyikan Video yang Telah Ditonton"}},screenDimming:{title:"Peredupan Layar",options:{enableScreenDimming:"Aktifkan Peredupan Layar",dimmingTimeout:{title:"Batas Waktu Peredupan",subtitle:"Atur batas waktu tidak aktif (dalam detik) sebelum layar meredup"},dimmingOpacity:{title:"Opasitas Peredupan",subtitle:"Atur tingkat opasitas untuk peredupan layar"}}},disableSidebarContents:{title:"Nonaktifkan Konten Sidebar",subtitle:"Pilih konten sidebar yang ingin dinonaktifkan"},launchToOnStartup:{title:"Halaman yang Dibuka saat Startup",subtitle:"Pilih halaman default yang dibuka TizenTube saat startup"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"Pembaruan TizenTube Cobalt",menuSubtitle:"Kelola pembaruan TizenTube Cobalt",versionSubtitle:"Versi saat ini: {{version}}",options:{checkForUpdates:"Periksa pembaruan",checkForUpdatesOnStartup:"Periksa pembaruan saat startup"}}},ttSettings:{title:"Pengaturan TizenTube",madeByText:"Dibuat oleh Reis Can (reisxd) dengan ❤️",summary:"Buka Pengaturan TizenTube"},supportTT:{title:"Dukung TizenTube",subtitle:"❤️ Tunjukkan dukungan untuk TizenTube dan pengembangannya",content:{1:"Jika Anda senang menggunakan TizenTube dan ingin mendukung pengembangannya, pertimbangkan hal berikut:",2:"1. Beri bintang pada repositori GitHub untuk membantu meningkatkan visibilitas.",3:"2. Bagikan TizenTube kepada orang lain.",4:"Jika Anda ingin berkontribusi secara finansial, pertimbangkan untuk berdonasi:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (disarankan)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Selamat Datang di TizenTube",subtitle:"Buka pengaturan lalu klik Pengaturan TizenTube untuk mengatur fitur."},sponsorblock:{segments:{sponsor:"segmen sponsor",intro:"intro",outro:"outro",interaction:"pengingat interaksi",selfpromo:"promosi diri",preview:"rekap atau pratinjau",filler:"lelucon",music_offtopic:"bagian non-musik",poi_highlight:"sorotan"},toasts:{skipping:"Melewati {{segment}}",notSkipping:"Tidak melewati {{segment}} (sudah dilewati {{count}} kali)",skip:"Lewati {{segment}}",skipToHighlight:"Lewati ke sorotan"}}}},"fi-FI":{translation:{__contributors:["Mikxus"],settings:{options:{socialMedia:{title:"Sosiaalisen median linkit",qrCodeScanMessage:"Voit vierailla sivulla {{name}} skannaamalla alla olevan QR-koodin."},adBlock:"Mainosten esto",sponsorblock:{title:"SponsorBlock-asetukset",options:{enableSB:"Ota SponsorBlock käyttöön",manualSkip:"SponsorBlock-osioiden manuaalinen ohitus",segments:"Osiot",categories:{sponsor:"Ohita sponsoriosiot",intro:"Ohita aloitusosiot",outro:"Ohita lopetusosiot",interaction:"Ohita vuorovaikutusmuistutusosiot",selfpromo:"Ohita itsemainososiot",preview:"Ohita ennakko-/kertausosiot",filler:"Ohita tangentti-/vitsiosiot",music_offtopic:"Ohita musiikin ulkopuoliset osiot",highlights:"Ota kohokohdat käyttöön"},showSBToasts:"Näytä SponsorBlock-ilmoitukset"}},dearrow:{title:"DeArrow-asetukset",options:{enableDA:"Ota DeArrow käyttöön",enableDAThumbnails:"Ota DeArrow-pikkukuvat käyttöön"}},misc:{title:"Muut asetukset",options:{endScreenCards:"Piilota loppuruudun kortit",youThereRenderer:"Ota 'Katseletko yhä?' -näkymä käyttöön",paidPromoOverlay:"Ota 'Sisältää maksettua mainontaa' -ilmoitus käyttöön",whosWatching:{title:"Kuka katsoo -valikko",options:{enableWW:"Ota Kuka katsoo -valikko käyttöön",permaEnableWW:"Ota Kuka katsoo -valikko pysyvästi käyttöön",enableWWOnExit:"Ota Kuka katsoo -valikko käyttöön sovelluksesta poistuttaessa"}},fixUI:"Korjaa käyttöliittymä",hqThumbnails:"Ota korkealaatuiset pikkukuvat käyttöön",longPress:"Ota pitkän painalluksen toiminnot käyttöön",shorts:"Ota Shorts käyttöön",videoPreviews:"Ota videon esikatselut käyttöön",ttWelcomeMsg:"Näytä TT-tervetuloviesti",guestSignInReminder:"Näytä vieraskirjautumisen muistutus",reloadHomeOnStartup:"Lataa etusivu uudelleen käynnistyksessä"}},subtitles:{title:"Tekstitysasetukset",options:{showLocalSubtitle:"Näytä paikallinen tekstitys",showHiddenSubtitles:"Näytä piilotetut tekstitykset"}},videoPlayer:{title:"Videosoittimen asetukset",subtitle:"Mukauta videosoittimen ominaisuuksia",options:{patching:{title:"Muokkaa videosoittimen käyttöliittymää",options:{enableVPUIPatching:"Ota videosoittimen käyttöliittymän muokkaus käyttöön",previousNextBtns:"Ota Edellinen- ja Seuraava-painikkeet käyttöön",showSuperThxBtn:"Näytä Super Thanks -painike",showSpeedCtrlBtn:"Näytä nopeudensäätöpainike"}},preferredVideoQuality:{title:"Ensisijainen videonlaatu",subtitle:"Valitse ensisijainen tai seuraavaksi paras videonlaatu, jota käytetään toiston alkaessa"},speedSettings:{title:"Nopeusasetusten portaat",subtitle:"Aseta videon toistonopeuden säätöaskeleet"},preferredVideoCodec:{title:"Ensisijainen videokoodekki",subtitle:"Valitse toistolle ensisijainen videokoodekki"},afr:"Automaattinen kuvataajuus",afrPauseDuration:{title:"Automaattisen kuvataajuuden tauon kesto",subtitle:"Aseta kesto (sekunteina), jonka ajaksi videon toisto keskeytetään kuvataajuutta säädettäessä"}}},uiSettings:{title:"Käyttöliittymäasetukset",subtitle:"Mukauta käyttöliittymää mieleiseksesi",options:{hideWatchedVideos:{title:"Piilota katsotut videot",options:{enableHideWatchedVideos:"Ota katsottujen videoiden piilotus käyttöön",watchedVideosThreshold:{title:"Katsottujen videoiden raja-arvo",subtitle:"Aseta prosenttiraja, jonka jälkeen katsotut videot piilotetaan"},setPagesToHideWatchedVideos:"Valitse sivut, joilla katsotut videot piilotetaan"}},screenDimming:{title:"Näytön himmennys",options:{enableScreenDimming:"Ota näytön himmennys käyttöön",dimmingTimeout:{title:"Himmennyksen aikakatkaisu",subtitle:"Aseta toimettomuuden aikakatkaisu (sekunteina), jonka jälkeen näyttö himmennetään"},dimmingOpacity:{title:"Himmennyksen peittävyys",subtitle:"Aseta näytön himmennyksen peittävyystaso"}}},disableSidebarContents:{title:"Poista sivupalkin sisältöjä käytöstä",subtitle:"Valitse sivupalkin sisällöt, jotka poistetaan käytöstä"},launchToOnStartup:{title:"Aloitussivu käynnistyksessä",subtitle:"Valitse oletussivu, johon TizenTube avautuu käynnistyksessä"}},updater:{title:"TizenTube Cobalt -päivittäjä",menuSubtitle:"Hallitse TizenTube Cobaltin päivityksiä",versionSubtitle:"Nykyinen versio: {{version}}",options:{checkForUpdates:"Tarkista päivitykset",checkForUpdatesOnStartup:"Tarkista päivitykset käynnistyksessä"}}}},ttSettings:{title:"TizenTube-asetukset",madeByText:"Tekijä Reis Can (reisxd) ❤️",summary:"Avaa TizenTube-asetukset"},supportTT:{title:"Tue TizenTubea",subtitle:"❤️ Tue TizenTubea ja sen kehitystä",content:{1:"Jos pidät TizenTuben käytöstä ja haluat tukea sen kehitystä, harkitse seuraavaa:",2:"1. Anna GitHub-repositorioon tähti, jotta sen näkyvyys kasvaa.",3:"2. Jaa TizenTubea muille.",4:"Jos haluat tukea taloudellisesti, harkitse lahjoittamista:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (mieluiten)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Tervetuloa TizenTubeen",subtitle:"Siirry asetuksiin ja avaa TizenTube-asetukset."},sponsorblock:{segments:{sponsor:"sponsoriosio",intro:"intro",outro:"outro",interaction:"vuorovaikutusmuistutus",selfpromo:"itsemainonta",preview:"kertaus tai ennakko",filler:"tangentit",music_offtopic:"ei-musiikkiosio",poi_highlight:"kohokohta"},toasts:{skipping:"Ohitetaan {{segment}}",notSkipping:"Ei ohiteta: {{segment}} (ohitettu {{count}} kertaa)",skip:"Ohita {{segment}}",skipToHighlight:"Ohita kohokohtaan"}}}},fr:{translation:{__contributors:["Redje"],settings:{options:{socialMedia:{title:"Liens réseaux sociaux",qrCodeScanMessage:"Vous pouvez visiter la page {{name}} en scannant le QR code ci-dessous."},adBlock:"Ad Block",sponsorblock:{title:"Paramètres SponsorBlock",options:{enableSB:"Activer SponsorBlock",manualSkip:"Sauts manuels de segments SponsorBlock",segments:"Segments",categories:{sponsor:"Saut des segments sponsorisés",intro:"Saut des segments d'intro",outro:"Saut des segments d'outro",interaction:"Saut des segments de rappel d'interaction",selfpromo:"Saut des segments d'auto-promotion",preview:"Saut des segments de prévisualisation/récapitulatifs",filler:"Sauts des segments humoristiques/sans rapports avec le sujet",music_offtopic:"Sauts des segments de musique sans rapports",highlights:"Autoriser l'affichage des moments forts"},showSBToasts:"Montrer le Toast SponsorBlock"}},dearrow:{title:"Paramètres DeArrow",options:{enableDA:"Activer DeArrow",enableDAThumbnails:"Activer les miniatures DeArrow"}},misc:{title:"Paramètres divers",options:{endScreenCards:"Cacher les encarts de fin",youThereRenderer:"Autoriser l'affichage des encarts 'Continuer à regarder ?'",paidPromoOverlay:"Autoriser l'affichage du message 'Communication commerciale'",whosWatching:{title:"Menu 'Qui regarde ?'",options:{enableWW:"Activer le menu 'Qui regarde ?'",permaEnableWW:"Activer le menu 'Qui regarde ?' de manière permanente",enableWWOnExit:"Activer le menu 'Qui regarde ?' après l'arrêt de l'application"}},fixUI:"Correction de l'UI",hqThumbnails:"Activer les miniatures haute qualitée",longPress:"Activer les actions 'pression longues'",shorts:"Activer les Shorts",videoPreviews:"Activer la prévisualisation de vidéos",ttWelcomeMsg:"Montrer le message d'acceuil TT",guestSignInReminder:"Montrer l'alerte de connexion anonyme",reloadHomeOnStartup:"Recharger la page d'acceuil au démarrage"}},subtitles:{title:"Paramètres de sous-titres",options:{showLocalSubtitle:"Montrer les sous-titres locaux",showHiddenSubtitles:"Montrer les sous-titres cachés"}},videoPlayer:{title:"Paramètres du lecteur vidéo",subtitle:"Customiser les fonctions du lecteur vidéo",options:{patching:{title:"Correction de l'UI du lecteur vidéo",options:{enableVPUIPatching:"Activer la correction de l'UI du lecteur vidéo",previousNextBtns:"Activer les boutons Précédents et Suivants",showSuperThxBtn:"Montrer le bouton 'Super Thanks'",showSpeedCtrlBtn:"Montrer les boutons de contrôle de la vitesse de lecture"}},preferredVideoQuality:{title:"Qualité vidéo préférée",subtitle:"Imposer une qualité de vidéo ou la qualité la plus proche au moment où la vidéo commence"},speedSettings:{title:"Paramètres d'incréments de la vitesse",subtitle:"Paramètrer les incréments d'ajustement de la vitesse de lecture de la vidéo"},preferredVideoCodec:{title:"Paramètres de Codec",subtitle:"Paramètrer le codec vidéo"},afr:"Fréquence de trame automatique",afrPauseDuration:{title:"Temps de pause de la fréquence de trame automatique",subtitle:"Définir le temps de pause (en secondes) pendant l'ajustement de la fréquence de trame"}}},uiSettings:{title:"Paramètres de l'interface utilisateur",subtitle:"Customisez l'interface utilisateur selon vos préférences",options:{hideWatchedVideos:{title:"Cacher les vidéos regardées",options:{enableHideWatchedVideos:"Activer 'Cacher les vidéos regardées'",watchedVideosThreshold:{title:"Niveau de vidéos regardées",subtitle:"Paramétrer la limite pour cacher les vidéos regardées"},setPagesToHideWatchedVideos:"Paraméter les pages pour cacher les vidéos regardées"}},screenDimming:{title:"Assombrissement de l'écran",options:{enableScreenDimming:"Activer l'assombrissement de l'écran",dimmingTimeout:{title:"Temporisation de l'assombrissement",subtitle:"Paramétrer le temps (en secondes) avant que l'écran s'assombrisse"},dimmingOpacity:{title:"Opacité d'assombrissement",subtitle:"Paraméterer le niveau d'opacité de l'assombrissement"}}},disableSidebarContents:{title:"Désactiver le contenu sur le côté",subtitle:"Sélectioner le contenu de la barre à désactiver"},launchToOnStartup:{title:"Ouvrir la page au démarrage",subtitle:"Choisir la page sur laquelle TizenTube démarrera"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"Mise à jour de Tizentube Cobalt",menuSubtitle:"Gérer les mises à jour TizenTube Cobalt",versionSubtitle:"Version actuelle: {{version}}",options:{checkForUpdates:"Vérifier les mises à jours",checkForUpdatesOnStartup:"Vérifier les mises à jours au démarrage"}}},ttSettings:{title:"Paramètres Tizentube",madeByText:"Fait par Reis Can (reisxd) avec ❤️",summary:"Ouvrir les paramètres Tizentube"},supportTT:{title:"Soutenir TizenTube",subtitle:"❤️ Soutenir TizenTube et son développement",content:{1:"Si vous appréciez TizenTube et que vous aimeriez soutenir son développement, vous pouvez:",2:"1. Ajouter une étoile au dépot Github améliore sa visibilité.",3:"2. Partager TizenTube.",4:"IS vous voulez contribuer financièrement:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (de préférences)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Bienvenue sur TizenTube",subtitle:"Ouvrez les paramètres et séléctionnez les Paramètres TizenTube pour accéder aux paramètres."},sponsorblock:{segments:{sponsor:"segment sponsorisé",intro:"intro",outro:"outro",interaction:"rappel d'intéraction",selfpromo:"auto-promotion",preview:"récapitulatif ou revue",filler:"pas de rapports avec le sujet",music_offtopic:"partie sans musique",poi_highlight:"moment fort"},toasts:{skipping:"Passage du segment {{segment}}",notSkipping:"Ne passera pas le segment {{segment}} (déjà passé {{count}} fois)",skip:"Passer {{segment}}",skipToHighlight:"Passage vers le moment fort"}}}},ro:{translation:{__contributors:["reisxd","palincat","Vuzzy"],settings:{options:{socialMedia:{title:"Link-uri pentru rețelele de socializare",qrCodeScanMessage:"Poți vizita pagina {{name}} scanând codul QR de mai jos."},adBlock:"AdBlock",sponsorblock:{title:"Setări SponsorBlock",options:{enableSB:"Activează SponsorBlock",manualSkip:"Omitere manuală a segmentelor SponsorBlock",segments:"Segmente ale videoclipurilor",categories:{sponsor:"Sari peste segmentele sponsorizate",intro:"Sari peste segmentele de introducere",outro:"Sari peste segmentele de final",interaction:"Sari peste segmentele cu reamintiri de interacțiune",selfpromo:"Sari peste segmentele de auto-promovare",preview:"Sari peste segmentele de previzualizare",filler:"Sari peste segmentele cu digresiuni/glume",music_offtopic:"Sari peste segmentele muzicale irelevante",highlights:"Activează evidențieri/marcaje importante"},showSBToasts:"Afișează notificări SponsorBlock"}},dearrow:{title:"Setări DeArrow",options:{enableDA:"Activează DeArrow",enableDAThumbnails:"Activează previzualizări DeArrow"}},misc:{title:"Setări diverse",options:{endScreenCards:"Ascunde cardurile de la final",youThereRenderer:"Activează mesajul 'Încă te uiți?'",paidPromoOverlay:"Activează suprapunerea 'Include promovare plătită' ",whosWatching:{title:"Meniul 'Cine se uită'",options:{enableWW:"Activează meniul 'Cine se uită?'",permaEnableWW:"Activează permanent meniul 'Cine se uită?'",enableWWOnExit:"Activează meniul 'Cine se uită?' la ieșirea din aplicație"}},fixUI:"Remediază/Corectează interfața",hqThumbnails:"Activează miniaturile de înaltă calitate",longPress:"Activează acțiunile la apăsare lungă",shorts:"Activează Shorts",videoPreviews:"Activează previzualizările video",ttWelcomeMsg:"Afișează mesajul de bun venit TizenTube",guestSignInReminder:"Afișează reamintirea de conectare ca oaspete",reloadHomeOnStartup:"Reîncarcă pagina principală la pornire"}},subtitles:{title:"Setări subtitrări",options:{showLocalSubtitle:"Afișează subtitrarea locală",showHiddenSubtitles:"Afișează subtitrările ascunse"}},videoPlayer:{title:"Setări player video",subtitle:"Personalizează funcțiile player-ului video",options:{patching:{title:"Corectează interfața player-ului video",options:{enableVPUIPatching:"Activează corectarea interfeței player-ului video",previousNextBtns:"Activează butoanele Anterior și Următor",showSuperThxBtn:"Afișează butonul Super Thanks",showSpeedCtrlBtn:"Afișează butonul de control al vitezei"}},preferredVideoQuality:{title:"Calitatea video preferată",subtitle:"Alege calitatea video preferată sau următoarea cea mai bună care se aplică la începutul redării"},speedSettings:{title:"Treptele setărilor de viteză",subtitle:"Setează treptele de viteză pentru ajustarea vitezei de redare"},preferredVideoCodec:{title:"Codec video preferat",subtitle:"Alege codec-ul video preferat pentru redare"},afr:"Auto Frame Rate",afrPauseDuration:{title:"Durata pauzei pentru rata de cadre automată",subtitle:"Setează durata (în secunde) pentru pauza redării video la ajustarea ratei de cadre"}}},uiSettings:{title:"Setări interfață",subtitle:"Personalizează interfața după preferințe",options:{hideWatchedVideos:{title:"Ascunde videoclipurile vizionate",options:{enableHideWatchedVideos:"Activează ascunderea videoclipurilor vizionate",watchedVideosThreshold:{title:"Pragul videoclipurilor vizionate",subtitle:"Setează pragul procentual pentru ascunderea videoclipurilor vizionate"},setPagesToHideWatchedVideos:"Setează paginile pe care să se ascundă videoclipurile vizionate"}},screenDimming:{title:"Întunecarea ecranului",options:{enableScreenDimming:"Activează întunecarea ecranului",dimmingTimeout:{title:"Timp de așteptare pentru întunecare",subtitle:"Setează timpul de inactivitate (în secunde) înainte ca ecranul să se întunece"},dimmingOpacity:{title:"Opacitate pentru nivelul de întunecare",subtitle:"Setează nivelul de opacitate pentru întunecarea ecranului"}}},disableSidebarContents:{title:"Dezactivează conținutul barei laterale",subtitle:"Selectează conținutul barei laterale de dezactivat"},launchToOnStartup:{title:"Deschidere la pornire",subtitle:"Alege pagina implicită pe care TizenTube o deschide la pornire"},sortSubscriptionsByAlphabet:"Sortează abonamentele în ordine alfabetică"}},updater:{title:"Actualizator TizenTube Cobalt",menuSubtitle:"Gestionează actualizările TizenTube Cobalt",versionSubtitle:"Versiunea actuală: {{version}}",options:{checkForUpdates:"Verifică dacă există actualizări noi",checkForUpdatesOnStartup:"Verifică dacă există actualizări noi la pornire"}}},ttSettings:{title:"Setări TizenTube",madeByText:"Creat de Reis Can (reisxd), traducători: Alin (palincat), Vuzzy cu ❤️",summary:"Deschide setările TizenTube"},supportTT:{title:"Susține TizenTube",subtitle:"❤️ Arată-ți sprijinul pentru TizenTube și dezvoltarea sa",content:{1:"Dacă îți place să folosești TizenTube și vrei să sprijini dezvoltarea sa, ia în considerare următoarele:",2:"1. Oferă un star repository-ului de pe GitHub pentru a-i crește vizibilitatea.",3:"2. Distribuie TizenTube altora.",4:"Dacă dorești să contribui financiar, ia în considerare donațiile:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preferabil)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Bine ai venit la TizenTube",subtitle:"Mergi la setări și dă click pe Setările TizenTube pentru opțiuni."},sponsorblock:{segments:{sponsor:"Segment sponsorizat",intro:"Introducere",outro:"Final",interaction:"Reamintire de interacțiune",selfpromo:"Auto-promovare",preview:"Rezumat sau previzualizare",filler:"Umplutură",music_offtopic:"Secțiune non-muzicală",poi_highlight:"Moment de interes"},toasts:{skipping:"Se omite {{segment}}",notSkipping:"Nu se omite {{segment}} (a fost omis de {{count}} ori)",skip:"Omite {{segment}}",skipToHighlight:"Sari la momentul de interes"}}}},bs:{translation:{__contributors:["lukapiplica"],settings:{options:{socialMedia:{title:"Linkovi društvenih mreža",qrCodeScanMessage:"Možete posjetiti {{name}} stranicu skeniranjem QR koda ispod."},adBlock:"Blokator reklama",sponsorblock:{title:"SponsorBlock postavke",options:{enableSB:"Omogući SponsorBlock",manualSkip:"Ručno preskakanje SponsorBlock segmenta",segments:"Segmenti",categories:{sponsor:"Preskoči sponzorske segmente",intro:"Preskoči uvodne segmente (Intro)",outro:"Preskoči završne segmente (Outro)",interaction:"Preskoči podsjetnike za interakciju",selfpromo:"Preskoči segmente samopromocije",preview:"Preskoči najave/sažetke",filler:"Preskoči skretanja sa teme/šale",music_offtopic:"Preskoči vanmuzičke dijelove",highlights:"Omogući istaknute dijelove (Highlights)"},showSBToasts:"Prikaži SponsorBlock obavijesti"}},dearrow:{title:"DeArrow postavke",options:{enableDA:"Omogući DeArrow",enableDAThumbnails:"Omogući DeArrow sličice (thumbnails)"}},misc:{title:"Razne postavke",options:{endScreenCards:"Sakrij završne kartice na ekranu",youThereRenderer:"Omogući 'Jeste li još uvijek tu?' prozor",paidPromoOverlay:"Omogući 'Uključuje plaćenu promociju' sloj",whosWatching:{title:"Meni 'Ko gleda?'",options:{enableWW:"Omogući 'Ko gleda?' meni",permaEnableWW:"Trajno omogući 'Ko gleda?' meni",enableWWOnExit:"Prikaži 'Ko gleda?' meni pri izlasku"}},fixUI:"Popravi korisnički interfejs (UI)",hqThumbnails:"Omogući sličice visokog kvaliteta",longPress:"Omogući radnje na dugi pritisak",shorts:"Omogući Shorts videe",videoPreviews:"Omogući pregled videa",ttWelcomeMsg:"Prikaži TT poruku dobrodošlice",guestSignInReminder:"Prikaži podsjetnik za prijavu gosta",reloadHomeOnStartup:"Osvježi početnu stranicu pri pokretanju"}},subtitles:{title:"Postavke titlova",options:{showLocalSubtitle:"Prikaži lokalne titlove",showHiddenSubtitles:"Prikaži skrivene titlove"}},videoPlayer:{title:"Postavke video plejera",subtitle:"Prilagodite funkcije video plejera",options:{patching:{title:"Zakrpe za interfejs plejera",options:{enableVPUIPatching:"Omogući zakrpe za UI plejera",previousNextBtns:"Omogući tipke Prethodno i Sljedeće",showSuperThxBtn:"Prikaži tipku 'Super Thanks'",showSpeedCtrlBtn:"Prikaži kontrole brzine"}},preferredVideoQuality:{title:"Željeni kvalitet videa",subtitle:"Odaberite željeni ili sljedeći najbolji kvalitet pri pokretanju videa"},speedSettings:{title:"Koraci povećanja brzine",subtitle:"Podesite korake za prilagođavanje brzine reprodukcije"},preferredVideoCodec:{title:"Željeni video kodek",subtitle:"Odaberite željeni video kodek za reprodukciju"},afr:"Automatsko osvježavanje (AFR)",afrPauseDuration:{title:"Trajanje pauze za AFR",subtitle:"Postavite trajanje pauze (u sekundama) pri prilagođavanju brzine osvježavanja"}}},uiSettings:{title:"Postavke korisničkog interfejsa",subtitle:"Prilagodite izgled aplikacije po svojoj želji",options:{hideWatchedVideos:{title:"Sakrij pogledane videe",options:{enableHideWatchedVideos:"Omogući skrivanje pogledanih videa",watchedVideosThreshold:{title:"Prag pogledanog videa",subtitle:"Postavite procenat nakon kojeg se video smatra pogledanim"},setPagesToHideWatchedVideos:"Postavi stranice za skrivanje pogledanih videa"}},screenDimming:{title:"Zatamnjenje ekrana",options:{enableScreenDimming:"Omogući zatamnjenje ekrana",dimmingTimeout:{title:"Vrijeme do zatamnjenja",subtitle:"Postavite vrijeme neaktivnosti (u sekundama) prije zatamnjenja ekrana"},dimmingOpacity:{title:"Nivo zatamnjenja",subtitle:"Postavite nivo prozirnosti za zatamnjenje ekrana"}}},disableSidebarContents:{title:"Onemogući sadržaj bočne trake",subtitle:"Odaberite sadržaje bočne trake koje želite isključiti"},launchToOnStartup:{title:"Početna stranica pri pokretanju",subtitle:"Odaberite zadanu stranicu koja se otvara pri pokretanju TizenTube-a"},sortSubscriptionsByAlphabet:"Sortiraj pretplate abecedno"}},updater:{title:"TizenTube Cobalt ažuriranje",menuSubtitle:"Upravljajte TizenTube Cobalt ažuriranjima",versionSubtitle:"Trenutna verzija: {{version}}",options:{checkForUpdates:"Provjeri ažuriranja",checkForUpdatesOnStartup:"Provjeri ažuriranja pri pokretanju"}}},ttSettings:{title:"TizenTube postavke",madeByText:"Autor: Reis Can (reisxd) sa ❤️",summary:"Otvori TizenTube postavke"},supportTT:{title:"Podrži TizenTube",subtitle:"❤️ Podržite razvoj TizenTube projekta",content:{1:"Ako uživate u korištenju TizenTube-a i želite podržati njegov razvoj, razmislite o sljedećem:",2:"1. Označite repozitorij zvjezdicom (Star) na GitHubu radi bolje vidljivosti.",3:"2. Podijelite TizenTube sa drugima.",4:"Ako želite pomoći finansijski, razmislite o donaciji:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preporučeno)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Dobrodošli u TizenTube",subtitle:"Idite u postavke i kliknite na 'TizenTube postavke' za konfiguraciju."},sponsorblock:{segments:{sponsor:"sponzorski segment",intro:"uvod (intro)",outro:"završetak (outro)",interaction:"podsjetnik za interakciju",selfpromo:"samopromocija",preview:"najava ili sažetak",filler:"skretanje sa teme",music_offtopic:"nemuzički dio",poi_highlight:"istaknuto"},toasts:{skipping:"Preskačem {{segment}}",notSkipping:"Ne preskačem {{segment}} (preskočeno {{count}} puta)",skip:"Preskoči {{segment}}",skipToHighlight:"Preskoči na istaknuti dio"}}}},hr:{translation:{__contributors:["lukapiplica"],settings:{options:{socialMedia:{title:"Poveznice na društvene mreže",qrCodeScanMessage:"Stranicu {{name}} možete posjetiti skeniranjem QR koda ispod."},adBlock:"Blokator oglasa",sponsorblock:{title:"SponsorBlock postavke",options:{enableSB:"Omogući SponsorBlock",manualSkip:"Ručno preskakanje SponsorBlock segmenta",segments:"Segmenti",categories:{sponsor:"Preskoči sponzorske segmente",intro:"Preskoči uvodne segmente",outro:"Preskoči završne segmente",interaction:"Preskoči podsjetnike za interakciju",selfpromo:"Preskoči segmente samopromocije",preview:"Preskoči najave/sažetke",filler:"Preskoči skretanja s teme/šale",music_offtopic:"Preskoči dijelove koji nisu glazba",highlights:"Omogući istaknute dijelove"},showSBToasts:"Prikaži SponsorBlock skočne obavijesti"}},dearrow:{title:"DeArrow postavke",options:{enableDA:"Omogući DeArrow",enableDAThumbnails:"Omogući DeArrow sličice"}},misc:{title:"Razne postavke",options:{endScreenCards:"Sakrij završne kartice na zaslonu",youThereRenderer:"Omogući prozor 'Jeste li još uvijek tamo?'",paidPromoOverlay:"Omogući sloj 'Uključuje plaćenu promociju'",whosWatching:{title:"Izbornik 'Tko gleda?'",options:{enableWW:"Omogući izbornik 'Tko gleda?'",permaEnableWW:"Trajno omogući izbornik 'Tko gleda?'",enableWWOnExit:"Prikaži izbornik 'Tko gleda?' pri izlasku"}},fixUI:"Popravi korisničko sučelje (UI)",hqThumbnails:"Omogući sličice visoke kvalitete",longPress:"Omogući radnje na dugi pritisak",shorts:"Omogući Shorts videozapise",videoPreviews:"Omogući pregled videozapisa",ttWelcomeMsg:"Prikaži TT poruku dobrodošlice",guestSignInReminder:"Prikaži podsjetnik za prijavu gosta",reloadHomeOnStartup:"Osvježi početnu stranicu pri pokretanju"}},subtitles:{title:"Postavke titlova",options:{showLocalSubtitle:"Prikaži lokalne titlove",showHiddenSubtitles:"Prikaži skrivene titlove"}},videoPlayer:{title:"Postavke video playera",subtitle:"Prilagodite značajke video playera",options:{patching:{title:"Zakrpe za sučelje playera",options:{enableVPUIPatching:"Omogući zakrpe za UI playera",previousNextBtns:"Omogući tipke Prethodno i Sljedeće",showSuperThxBtn:"Prikaži tipku 'Super hvala'",showSpeedCtrlBtn:"Prikaži kontrole brzine"}},preferredVideoQuality:{title:"Željena kvaliteta videozapisa",subtitle:"Odaberite željenu ili sljedeću najbolju kvalitetu pri pokretanju"},speedSettings:{title:"Koraci promjene brzine",subtitle:"Postavite korake za prilagodbu brzine reprodukcije"},preferredVideoCodec:{title:"Željeni video kodek",subtitle:"Odaberite željeni video kodek za reprodukciju"},afr:"Automatska frekvencija osvježavanja (AFR)",afrPauseDuration:{title:"Trajanje pauze za AFR",subtitle:"Postavite trajanje pauze (u sekundama) pri prilagodbi frekvencije osvježavanja"}}},uiSettings:{title:"Postavke korisničkog sučelja",subtitle:"Prilagodite sučelje svojim željama",options:{hideWatchedVideos:{title:"Sakrij pogledane videozapise",options:{enableHideWatchedVideos:"Omogući skrivanje pogledanih videozapisa",watchedVideosThreshold:{title:"Prag pogledanog sadržaja",subtitle:"Postavite postotak nakon kojeg se videozapis smatra pogledanim"},setPagesToHideWatchedVideos:"Postavi stranice za skrivanje pogledanih videozapisa"}},screenDimming:{title:"Zatamnjenje zaslona",options:{enableScreenDimming:"Omogući zatamnjenje zaslona",dimmingTimeout:{title:"Vrijeme do zatamnjenja",subtitle:"Postavite vrijeme neaktivnosti (u sekundama) prije zatamnjenja zaslona"},dimmingOpacity:{title:"Razina zatamnjenja",subtitle:"Postavite razinu prozirnosti za zatamnjenje zaslona"}}},disableSidebarContents:{title:"Onemogući sadržaj bočne trake",subtitle:"Odaberite sadržaje bočne trake koje želite isključiti"},launchToOnStartup:{title:"Početna stranica pri pokretanju",subtitle:"Odaberite zadanu stranicu koja se otvara pri pokretanju TizenTubea"},sortSubscriptionsByAlphabet:"Poredaj pretplate abecedno"}},updater:{title:"TizenTube Cobalt ažuriranje",menuSubtitle:"Upravljajte TizenTube Cobalt ažuriranjima",versionSubtitle:"Trenutačna verzija: {{version}}",options:{checkForUpdates:"Provjeri ažuriranja",checkForUpdatesOnStartup:"Provjeri ažuriranja pri pokretanju"}}},ttSettings:{title:"TizenTube postavke",madeByText:"Izradio: Reis Can (reisxd) uz ❤️",summary:"Otvori TizenTube postavke"},supportTT:{title:"Podrži TizenTube",subtitle:"❤️ Podržite razvoj TizenTubea",content:{1:"Ako uživate u korištenju TizenTubea i želite podržati njegov razvoj, razmislite o sljedećem:",2:"1. Označite repozitorij zvjezdicom (Star) na GitHubu radi bolje vidljivosti.",3:"2. Podijelite TizenTube s drugima.",4:"Ako želite pridonijeti financijski, razmislite o donaciji:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preporučeno)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Dobrodošli u TizenTube",subtitle:"Idite u postavke i kliknite na 'TizenTube postavke' za konfiguraciju."},sponsorblock:{segments:{sponsor:"sponzorski segment",intro:"uvod",outro:"odjava",interaction:"podsjetnik za interakciju",selfpromo:"samopromocija",preview:"sažetak ili najava",filler:"skretanje s teme",music_offtopic:"nemuzički dio",poi_highlight:"istaknuto"},toasts:{skipping:"Preskačem {{segment}}",notSkipping:"Ne preskačem {{segment}} (preskočeno {{count}} puta)",skip:"Preskoči {{segment}}",skipToHighlight:"Preskoči na istaknuti dio"}}}},"sr-Latn":{translation:{__contributors:["lukapiplica"],settings:{options:{socialMedia:{title:"Linkovi društvenih mreža",qrCodeScanMessage:"Možete posetiti {{name}} stranicu skeniranjem QR koda ispod."},adBlock:"Blokator reklama",sponsorblock:{title:"SponsorBlock podešavanja",options:{enableSB:"Omogući SponsorBlock",manualSkip:"Ručno preskakanje SponsorBlock segmenta",segments:"Segmenti",categories:{sponsor:"Preskoči sponzorske segmente",intro:"Preskoči uvodne segmente",outro:"Preskoči odjavne segmente",interaction:"Preskoči podsetnike za interakciju",selfpromo:"Preskoči segmente samopromocije",preview:"Preskoči najave/sažetke",filler:"Preskoči skretanja sa teme/šale",music_offtopic:"Preskoči vanmuzičke delove",highlights:"Omogući istaknute delove"},showSBToasts:"Prikaži SponsorBlock obaveštenja"}},dearrow:{title:"DeArrow podešavanja",options:{enableDA:"Omogući DeArrow",enableDAThumbnails:"Omogući DeArrow sličice"}},misc:{title:"Razna podešavanja",options:{endScreenCards:"Sakrij završne kartice na ekranu",youThereRenderer:"Omogući prozor 'Da li ste još uvek tu?'",paidPromoOverlay:"Omogući sloj 'Uključuje plaćenu promociju'",whosWatching:{title:"Meni 'Ko gleda?'",options:{enableWW:"Omogući 'Ko gleda?' meni",permaEnableWW:"Trajno omogući 'Ko gleda?' meni",enableWWOnExit:"Prikaži 'Ko gleda?' meni pri izlasku"}},fixUI:"Popravi korisnički interfejs (UI)",hqThumbnails:"Omogući sličice visokog kvaliteta",longPress:"Omogući radnje na dugi pritisak",shorts:"Omogući Shorts video snimke",videoPreviews:"Omogući pregled video snimaka",ttWelcomeMsg:"Prikaži TT poruku dobrodošlice",guestSignInReminder:"Prikaži podsetnik za prijavu gosta",reloadHomeOnStartup:"Osveži početnu stranicu pri pokretanju"}},subtitles:{title:"Podešavanja titlova",options:{showLocalSubtitle:"Prikaži lokalne titlove",showHiddenSubtitles:"Prikaži skrivene titlove"}},videoPlayer:{title:"Podešavanja video plejera",subtitle:"Prilagodite funkcije video plejera",options:{patching:{title:"Zakrpe za interfejs plejera",options:{enableVPUIPatching:"Omogući zakrpe za UI plejera",previousNextBtns:"Omogući dugmad Prethodno i Sledeće",showSuperThxBtn:"Prikaži dugme 'Super Thanks'",showSpeedCtrlBtn:"Prikaži kontrole brzine"}},preferredVideoQuality:{title:"Željeni kvalitet video snimka",subtitle:"Izaberite željeni ili sledeći najbolji kvalitet pri pokretanju snimka"},speedSettings:{title:"Koraci povećanja brzine",subtitle:"Podesite korake za prilagođavanje brzine reprodukcije"},preferredVideoCodec:{title:"Željeni video kodek",subtitle:"Izaberite željeni video kodek za reprodukciju"},afr:"Automatsko osvežavanje (AFR)",afrPauseDuration:{title:"Trajanje pauze za AFR",subtitle:"Postavite trajanje pauze (u sekundama) pri prilagođavanju brzine osvežavanja"}}},uiSettings:{title:"Podešavanja korisničkog interfejsa",subtitle:"Prilagodite interfejs svojim željama",options:{hideWatchedVideos:{title:"Sakrij odgledane video snimke",options:{enableHideWatchedVideos:"Omogući skrivanje odgledanih video snimaka",watchedVideosThreshold:{title:"Prag odgledanog snimka",subtitle:"Postavite procenat nakon kojeg se video smatra odgledanim"},setPagesToHideWatchedVideos:"Postavi stranice za skrivanje odgledanih video snimaka"}},screenDimming:{title:"Zatamnjivanje ekrana",options:{enableScreenDimming:"Omogući zatamnjivanje ekrana",dimmingTimeout:{title:"Vreme do zatamnjivanja",subtitle:"Postavite vreme neaktivnosti (u sekundama) pre zatamnjivanja ekrana"},dimmingOpacity:{title:"Nivo zatamnjenja",subtitle:"Postavite nivo prozirnosti za zatamnjivanje ekrana"}}},disableSidebarContents:{title:"Onemogući sadržaj bočne trake",subtitle:"Izaberite sadržaje bočne trake koje želite da isključite"},launchToOnStartup:{title:"Početna stranica pri pokretanju",subtitle:"Izaberite podrazumevanu stranicu koja se otvara pri pokretanju TizenTube-a"},sortSubscriptionsByAlphabet:"Sortiraj pretplate po azbuci"}},updater:{title:"TizenTube Cobalt ažuriranje",menuSubtitle:"Upravljajte TizenTube Cobalt ažuriranjima",versionSubtitle:"Trenutna verzija: {{version}}",options:{checkForUpdates:"Proveri ažuriranja",checkForUpdatesOnStartup:"Proveri ažuriranja pri pokretanju"}}},ttSettings:{title:"TizenTube podešavanja",madeByText:"Autor: Reis Can (reisxd) uz ❤️",summary:"Otvori TizenTube podešavanja"},supportTT:{title:"Podrži TizenTube",subtitle:"❤️ Podržite razvoj TizenTube projekta",content:{1:"Ako uživate u korišćenju TizenTube-a i želite da podržite njegov razvoj, razmotrite sledeće:",2:"1. Označite repozitorijum zvezdicom (Star) na GitHub-u radi bolje vidljivosti.",3:"2. Podelite TizenTube sa drugima.",4:"Ako želite da pomognete finansijski, razmotrite donaciju:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preporučeno)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Dobrodošli u TizenTube",subtitle:"Idite u podešavanja i kliknite na 'TizenTube podešavanja' za konfiguraciju."},sponsorblock:{segments:{sponsor:"sponzorski segment",intro:"uvod (intro)",outro:"odjava (outro)",interaction:"podsetnik za interakciju",selfpromo:"samopromocija",preview:"najava ili sažetak",filler:"skretanje sa teme",music_offtopic:"nemuzički deo",poi_highlight:"istaknuto"},toasts:{skipping:"Preskačem {{segment}}",notSkipping:"Ne preskačem {{segment}} (preskočeno {{count}} puta)",skip:"Preskoči {{segment}}",skipToHighlight:"Preskoči na istaknuti deo"}}}},sr:{translation:{__contributors:["lukapiplica"],settings:{options:{socialMedia:{title:"Линкови друштвених мрежа",qrCodeScanMessage:"Можете посетити {{name}} страницу скенирањем QР кода испод."},adBlock:"Блокатор реклама",sponsorblock:{title:"СпонсорБлоцк подешавања",options:{enableSB:"Омогући СпонсорБлоцк",manualSkip:"Ручно прескакање СпонсорБлоцк сегмента",segments:"Сегменти",categories:{sponsor:"Прескочи спонзорске сегменте",intro:"Прескочи уводне сегменте",outro:"Прескочи одјавне сегменте",interaction:"Прескочи подсетнике за интеракцију",selfpromo:"Прескочи сегменте самопромоције",preview:"Прескочи најаве/сажатке",filler:"Прескочи скретања са теме/шале",music_offtopic:"Прескочи ванмузичке делове",highlights:"Омогући истакнуте делове"},showSBToasts:"Прикажи СпонсорБлоцк обавештења"}},dearrow:{title:"ДеАрроw подешавања",options:{enableDA:"Омогући ДеАрроw",enableDAThumbnails:"Омогући ДеАрроw сличице"}},misc:{title:"Разна подешавања",options:{endScreenCards:"Сакриј завршне картице на екрану",youThereRenderer:"Омогући прозор 'Да ли сте још увек ту?'",paidPromoOverlay:"Омогуći sloj 'Укључује плаћену промоцију'",whosWatching:{title:"Мени 'Ко гледа?'",options:{enableWW:"Омогући 'Ко гледа?' мени",permaEnableWW:"Трајно омогући 'Ко гледа?' мени",enableWWOnExit:"Прикажи 'Ко гледа?' мени при изласку"}},fixUI:"Поправи кориснички интерфејс (UI)",hqThumbnails:"Омогући сличице високог квалитета",longPress:"Омогући радње на дуги притисак",shorts:"Омогући Схортс видео снимке",videoPreviews:"Омогући преглед видео снимака",ttWelcomeMsg:"Прикажи ТТ поруку добродошлице",guestSignInReminder:"Прикажи подсетник за пријаву госта",reloadHomeOnStartup:"Освежи почетну страницу при покретању"}},subtitles:{title:"Подешавања титлова",options:{showLocalSubtitle:"Прикажи локалне титлове",showHiddenSubtitles:"Прикажи скривене титлове"}},videoPlayer:{title:"Подешавања видео плејера",subtitle:"Прилагодите функције видео плејера",options:{patching:{title:"Закрпе за интерфејс плејера",options:{enableVPUIPatching:"Омогући закрпе за УИ плејера",previousNextBtns:"Омогући дугмад Претходно и Следеће",showSuperThxBtn:"Прикажи дугме 'Super Thanks'",showSpeedCtrlBtn:"Прикажи контроле брзине"}},preferredVideoQuality:{title:"Жељени квалитет видео снимка",subtitle:"Изаберите жељени или следећи најбољи квалитет при покретању снимка"},speedSettings:{title:"Кораци повећања брзине",subtitle:"Подесите кораке за прилагођавање брзине репродукције"},preferredVideoCodec:{title:"Жељени видео кодек",subtitle:"Изаберите жељени видео кодек за репродукцију"},afr:"Аутоматско освежавање (AFR)",afrPauseDuration:{title:"Трајање паузе за AFR",subtitle:"Поставите трајање паузе (у секундама) при прилагођавању брзине освежавања"}}},uiSettings:{title:"Подешавања корисничког интерфејса",subtitle:"Прилагодите интерфеjs својим жељама",options:{hideWatchedVideos:{title:"Сакриј одгледане видео снимке",options:{enableHideWatchedVideos:"Омогући скривање одгледаних видео снимака",watchedVideosThreshold:{title:"Праг одгледаног снимка",subtitle:"Поставите проценат након којег се видео сматра одгледаним"},setPagesToHideWatchedVideos:"Постави странице за скривање одгледаних видео снимака"}},screenDimming:{title:"Затамњивање екрана",options:{enableScreenDimming:"Омогући затамњивање екрана",dimmingTimeout:{title:"Време до затамњивања",subtitle:"Поставите време неактивности (у секундама) пре затамњивања екрана"},dimmingOpacity:{title:"Ниво затамњења",subtitle:"Поставите ниво прозирности за затамњивање екрана"}}},disableSidebarContents:{title:"Онемогући садржај бочне траке",subtitle:"Изаберите садржаје бочне траке које желите да искључите"},launchToOnStartup:{title:"Почетна страница при покретању",subtitle:"Изаберите подразумевану страницу која се отвара при покретању ТизенТубе-а"},sortSubscriptionsByAlphabet:"Сортирај претплате по азбуци"}},updater:{title:"ТизенТубе Цобалт ажурирање",menuSubtitle:"Управљајте ТизенТубе Цобалт ажурирањима",versionSubtitle:"Тренутна верзија: {{version}}",options:{checkForUpdates:"Провери ажурирања",checkForUpdatesOnStartup:"Провери ажурирања при покретању"}}},ttSettings:{title:"ТизенТубе подешавања",madeByText:"Аутор: Реис Цан (reisxd) уз ❤️",summary:"Отвори ТизенТубе подешавања"},supportTT:{title:"Подржи ТизенТубе",subtitle:"❤️ Подржите развој ТизенТубе пројекта",content:{1:"Ако уживате у коришћењу ТизенТубе-а и желите да подржите његов развој, размотрите следеће:",2:"1. Означите репозиторијум звездицом (Стар) на ГитХуб-у ради боље видљивости.",3:"2. Поделите ТизенТубе са другима.",4:"Ако желите да помогнете финансијски, размотрите донацију:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (препоручено)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Добродошли у ТизенТубе",subtitle:"Идите u подешавања и кликните на 'ТизенТубе подешавања' за конфигурацију."},sponsorblock:{segments:{sponsor:"спонзорски сегмент",intro:"увод (интро)",outro:"одјава (оутро)",interaction:"подсетник за интеракцију",selfpromo:"самопромоција",preview:"најава или саžетак",filler:"скретање са теме",music_offtopic:"немузички део",poi_highlight:"истакнуто"},toasts:{skipping:"Прескачем {{segment}}",notSkipping:"Не прескачем {{segment}} (прескочено {{count}} пута)",skip:"Прескочи {{segment}}",skipToHighlight:"Прескочи на истакнути део"}}}},tlh:{translation:{__contributors:["lukapiplica"],settings:{options:{socialMedia:{title:"tayqeq ghom",qrCodeScanMessage:"{{name}} mI' yIbej QR meryaq yImej."},adBlock:"reH lI' vI'ogh",sponsorblock:{title:"Sponsor ghompu' mev choHtaHghach",options:{enableSB:"Sponsor ghompu' yIchu'",manualSkip:"ghompu' yIchoS",segments:"ghompu'",categories:{sponsor:"Sponsor ghompu' yIchoS",intro:"tagh ghompu' yIchoS",outro:"blaH ghompu' yIchoS",interaction:"yImev Interaction De'",selfpromo:"Self-Promotion yIchoS",preview:"Recap yIchoS",filler:"Jokes ghompu' yIchoS",music_offtopic:"non-music yIchoS",highlights:"ghotI' yIchu'"},showSBToasts:"SponsorBlock De' yIcha'"}},dearrow:{title:"DeArrow choHtaHghach",options:{enableDA:"DeArrow yIchu'",enableDAThumbnails:"DeArrow mI' yIchu'"}},misc:{title:"latlh choHtaHghach",options:{endScreenCards:"mej meryaq yISo'",youThereRenderer:"'DaHjaj bIbejtaH?' yIchu'",paidPromoOverlay:"Hvep De' yIcha'",whosWatching:{title:"'Iv bejtaH?'",options:{enableWW:"'Iv bejtaH?' yIchu'",permaEnableWW:"reH 'Iv bejtaH?' yIchu'",enableWWOnExit:"mej 'Iv bejtaH?' yIchu'"}},fixUI:"UI yIchoH",hqThumbnails:"HQ mI' yIchu'",longPress:"nI' meryaq yIchu'",shorts:"Shorts video yIchu'",videoPreviews:"Video Previews yIchu'",ttWelcomeMsg:"TT yI'el De' yIcha'",guestSignInReminder:"guest Sign In yImej",reloadHomeOnStartup:"Home yIchoH"}},subtitles:{title:"Ha'quj choHtaHghach",options:{showLocalSubtitle:"Ha'quj yIcha'",showHiddenSubtitles:"So' Ha'quj yIcha'"}},videoPlayer:{title:"video pat choHtaHghach",subtitle:"video pat yIchoH",options:{patching:{title:"video pat UI yIchoH",options:{enableVPUIPatching:"video pat UI yIchu'",previousNextBtns:"meryaq yIchu'",showSuperThxBtn:"Super Thanks meryaq yIcha'",showSpeedCtrlBtn:"Do' choHmeH meryaq yIcha'"}},preferredVideoQuality:{title:"video QaQ",subtitle:"video QaQ yInuqlI'"},speedSettings:{title:"Do' choHtaHghach",subtitle:"Do' yInuqlI'"},preferredVideoCodec:{title:"video Codec",subtitle:"video Codec yInuqlI'"},afr:"Auto Frame Rate",afrPauseDuration:{title:"AFR mev Duration",subtitle:"mev (seconds) yInuqlI'"}}},uiSettings:{title:"UI choHtaHghach",subtitle:"UI yIchoH",options:{hideWatchedVideos:{title:"bej Video yISo'",options:{enableHideWatchedVideos:"bej Video yISo' yIchu'",watchedVideosThreshold:{title:"Threshold",subtitle:"% yInuqlI'"},setPagesToHideWatchedVideos:"Pages yInuqlI'"}},screenDimming:{title:"Screen Dimming",options:{enableScreenDimming:"Screen Dimming yIchu'",dimmingTimeout:{title:"Timeout",subtitle:"Timeout (seconds) yInuqlI'"},dimmingOpacity:{title:"Opacity",subtitle:"Opacity yInuqlI'"}}},disableSidebarContents:{title:"Sidebar yImev",subtitle:"Sidebar yInuqlI'"},launchToOnStartup:{title:"tagh Page",subtitle:"tagh Page yInuqlI'"},sortSubscriptionsByAlphabet:"pIqaD nI'ghachmo' lIghghachmey chu"}},updater:{title:"TizenTube Cobalt chu'ghach",menuSubtitle:"chu'ghach yInuqlI'",versionSubtitle:"Version: {{version}}",options:{checkForUpdates:"chu'ghach yISam",checkForUpdatesOnStartup:"tagh chu'ghach yISam"}}},ttSettings:{title:"TizenTube choHtaHghach",madeByText:"Reis Can (reisxd) bang ❤️",summary:"TizenTube choHtaHghach yIpoS"},supportTT:{title:"TizenTube yIQah",subtitle:"❤️ TizenTube yIQah",content:{1:"TizenTube yIQah:",2:"1. GitHub Star yIchu'.",3:"2. TizenTube yIlatlh.",4:"Hvep yIQah:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"TizenTube-Daq yI'el!",subtitle:"choHtaHghach yInuqlI'!"},sponsorblock:{segments:{sponsor:"sponsor ghompu'",intro:"tagh",outro:"blaH",interaction:"interaction De'",selfpromo:"self-promotion",preview:"preview",filler:"tangents",music_offtopic:"non-music",poi_highlight:"ghotI'"},toasts:{skipping:"{{segment}} yIchoS",notSkipping:"{{segment}} yImev ({{count}})",skip:"{{segment}} yIchoS",skipToHighlight:"ghotI' yIchoS"}}}},"pt-BR":{translation:{__contributors:["yufumo"],settings:{options:{socialMedia:{title:"Redes Sociais",qrCodeScanMessage:"Você pode acessar a página {{name}} lendo o QR Code abaixo."},adBlock:"Bloqueador de Anúncios",sponsorblock:{title:"Configurações do SponsorBlock",options:{enableSB:"Ativar SponsorBlock",manualSkip:"Pular Segmentos do SponsorBlock Manualmente",segments:"Segmentos",categories:{sponsor:"Pular Segmentos Patrocinados",intro:"Pular Segmentos de Introdução",outro:"Pular Segmentos de Encerramento",interaction:"Pular Segmentos de Lembrete de Interação",selfpromo:"Pular Segmentos de Autopromoção",preview:"Pular Segmentos de Pré-visualização/Resumo",filler:"Pular Assuntos Paralelos/Piadas",music_offtopic:"Pular Segmentos Não Musicais",highlights:"Ativar Destaques"},showSBToasts:"Mostrar Avisos do SponsorBlock"}},dearrow:{title:"Configurações do DeArrow",options:{enableDA:"Ativar DeArrow",enableDAThumbnails:"Ativar Miniaturas do DeArrow"}},misc:{title:"Configurações Diversas",options:{endScreenCards:"Ocultar Cards no Final do Vídeo",youThereRenderer:"Ativar Aviso de 'Você ainda está assistindo?'",paidPromoOverlay:"Ativar Sobreposição de 'Contém promoção paga'",whosWatching:{title:"Menu 'Quem está assistindo?'",options:{enableWW:"Ativar Menu 'Quem está assistindo?'",permaEnableWW:"Ativar Menu 'Quem está assistindo?' Permanentemente",enableWWOnExit:"Ativar Menu 'Quem está assistindo?' ao Sair do App"}},fixUI:"Corrigir Interface",hqThumbnails:"Ativar Miniaturas de Alta Qualidade",longPress:"Ativar Ações de Toque Longo",shorts:"Ativar Shorts",videoPreviews:"Ativar Pré-visualizações de Vídeo",ttWelcomeMsg:"Mostrar Mensagem de Boas-vindas do TT",guestSignInReminder:"Mostrar Lembrete de Login para Convidados",reloadHomeOnStartup:"Recarregar a Página Inicial na Inicialização"}},subtitles:{title:"Configurações das Legendas",options:{showLocalSubtitle:"Mostrar Legendas Locais",showHiddenSubtitles:"Mostrar Legendas Ocultas"}},videoPlayer:{title:"Configurações do Reprodutor de Vídeo",subtitle:"Personalizar recursos do reprodutor de vídeo",options:{patching:{title:"Corrigir Interface do Reprodutor de Vídeo",options:{enableVPUIPatching:"Ativar Correção da Interface do Reprodutor de Vídeo",previousNextBtns:"Ativar Botões de Avançar/Retroceder",showSuperThxBtn:"Mostrar Botão de Valeu Demais",showSpeedCtrlBtn:"Mostrar Botão de Controle de Velocidade"}},preferredVideoQuality:{title:"Qualidade de Vídeo Preferida",subtitle:"Escolha a qualidade de vídeo preferida ou a mais próxima disponível ao iniciar a reprodução"},speedSettings:{title:"Intervalos do Ajuste de Velocidade",subtitle:"Defina os incrementos de velocidade para ajustar a velocidade de reprodução do vídeo"},preferredVideoCodec:{title:"Codificação de Vídeo Preferida",subtitle:"Escolha a codificação de vídeo preferida para reprodução"},afr:"Taxa de Quadros Automática",afrPauseDuration:{title:"Duração da Pausa da Taxa de Quadros Automática",subtitle:"Defina a duração (em segundos) da pausa na reprodução do vídeo ao ajustar a taxa de quadros"}}},uiSettings:{title:"Configurações da Interface de Usuário",subtitle:"Personalize a interface ao seu gosto",options:{hideWatchedVideos:{title:"Ocultar Vídeos Assistidos",options:{enableHideWatchedVideos:"Ativar Ocultação de Vídeos Assistidos",watchedVideosThreshold:{title:"Percentual Mínimo Assistido",subtitle:"Defina o percentual mínimo assistido para ocultar vídeos já vistos."},setPagesToHideWatchedVideos:"Definir Páginas para Ocultar Vídeos Assistidos"}},screenDimming:{title:"Escurecimento da Tela",options:{enableScreenDimming:"Ativar Escurecimento da Tela",dimmingTimeout:{title:"Tempo de Espera do Escurecimento",subtitle:"Defina o tempo de espera por inatividade (em segundos) antes que a tela escureça"},dimmingOpacity:{title:"Opacidade do Escurecimento",subtitle:"Defina o nível de opacidade para o escurecimento da tela"}}},disableSidebarContents:{title:"Desativar Conteúdos da Barra Lateral",subtitle:"Selecione os conteúdos da barra lateral para ocultar"},launchToOnStartup:{title:"Página Inicial ao Abrir",subtitle:"Escolha a página padrão que o TizenTube abrirá na inicialização"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"Atualizador do TizenTube Cobalt",menuSubtitle:"Gerenciar Atualizações do TizenTube Cobalt",versionSubtitle:"Versão Atual: {{version}}",options:{checkForUpdates:"Verificar Atualizações",checkForUpdatesOnStartup:"Verificar Atualizações na Inicialização"}}},ttSettings:{title:"Configurações do TizenTube",madeByText:"Feito por Reis Can (reisxd) com ❤️",summary:"Abrir Configurações do TizenTube"},supportTT:{title:"Apoie o TizenTube",subtitle:"❤️ Mostre apoio pelo TizenTube e seu desenvolvimento",content:{1:"Se você gosta de usar o TizenTube e gostaria de apoiar o seu desenvolvimento, considere o seguinte:",2:"1. Dê uma estrela no repositório do GitHub para aumentar sua visibilidade.",3:"2. Compartilhe o TizenTube com outros.",4:"Se você gostaria de contribuir financeiramente, considere doar:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preferencialmente)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Bem-vindo ao TizenTube",subtitle:"Vá até as Configurações e clique em Configurações do TizenTube para abrir as configurações."},sponsorblock:{segments:{sponsor:"segmento patrocinado",intro:"introdução",outro:"encerramento",interaction:"lembrete de interação",selfpromo:"autopromoção",preview:"resumo/pré-visualização",filler:"assuntos paralelos",music_offtopic:"parte sem música",poi_highlight:"destaque"},toasts:{skipping:"Pulando {{segment}}",notSkipping:"Ignorando {{segment}} (foi pulado {{count}} vezes)",skip:"Pular {{segment}}",skipToHighlight:"Pular para Destaque"}}}},ru:{translation:{__contributors:["BlackFlux"],settings:{options:{socialMedia:{title:"Ссылки",qrCodeScanMessage:"Вы можете перейти на страницу {{name}} отсканировав QR-код ниже."},adBlock:"Блокировка рекламы",sponsorblock:{title:"Настройки SponsorBlock",options:{enableSB:"Включить SponsorBlock",manualSkip:"Ручной пропуск сегментов",segments:"Сегменты",categories:{sponsor:"Пропускать спонсорские сегменты",intro:"Пропустить интро",outro:"Пропустить аутро",interaction:"Пропускать напоминание о взаимодействии",selfpromo:"Пропускать саморекламу",preview:"Пропускать превью/рекап",filler:"Пропускать оффтоп/шутки",music_offtopic:"Пропускать оффтоп-музыку",highlights:"Включить ключевые моменты"},showSBToasts:"Показывать уведомления SponsorBlock"}},dearrow:{title:"Настройки DeArrow",options:{enableDA:"Включить DeArrow",enableDAThumbnails:"Включить миниатюры DeArrow"}},misc:{title:"Разное",options:{endScreenCards:"Скрыть карточки в конце видео",youThereRenderer:"Включить сообщение «Вы ещё смотрите?»",paidPromoOverlay:"Включить уведомление «Содержит рекламу»",whosWatching:{title:"Меню «Кто смотрит?»",options:{enableWW:"Включить меню «Кто смотрит»",permaEnableWW:"Всегда включать меню «Кто смотрит»",enableWWOnExit:"Показывать меню «Кто смотрит» при выходе"}},fixUI:"Исправить интерфейс",hqThumbnails:"Включить миниатюры высокого качества",longPress:"Долгое нажатие",shorts:"Shorts",videoPreviews:"Предпросмотр видео",ttWelcomeMsg:"Приветственное сообщение",guestSignInReminder:"Показывать напоминания о гостевом входе",reloadHomeOnStartup:"Обновлять главную страницу при запуске"}},subtitles:{title:"Субтитры",options:{showLocalSubtitle:"Показывать локальные субтитры",showHiddenSubtitles:"Показывать скрытые субтитры"}},videoPlayer:{title:"Настройки видеоплеера",subtitle:"Настройка функций видеоплеера",options:{patching:{title:"Патч интерфейса видеоплеера",options:{enableVPUIPatching:"Включить патч интерфейса видеоплеера",previousNextBtns:"Кнопки «Предыдущее/Следующее»",showSuperThxBtn:"Кнопка Super Thanks",showSpeedCtrlBtn:"Кнопка скорости"}},preferredVideoQuality:{title:"Предпочтительное качество",subtitle:"Выберите предпочтительное или следующее лучшее качество видео при запуске воспроизведения"},speedSettings:{title:"Шаг изменения скорости",subtitle:"Установите шаг изменения скорости для регулировки скорости воспроизведения"},preferredVideoCodec:{title:"Предпочтительный кодек",subtitle:"Выберите предпочитаемый видеокодек"},afr:"Auto Frame Rate",afrPauseDuration:{title:"Длительность паузы Auto Frame Rate",subtitle:"Установите длительность (в секундах) паузы воспроизведения при изменении частоты кадров"}}},uiSettings:{title:"Настройки интерфейса",subtitle:"Настройки интерфейса под себя",options:{hideWatchedVideos:{title:"Скрывать просмотренные видео",options:{enableHideWatchedVideos:"Включить скрытие просмотренных видео",watchedVideosThreshold:{title:"Порог скрытия видео",subtitle:"Укажите процент, после которого видео будет скрываться"},setPagesToHideWatchedVideos:"Где скрывать просмотренные"}},screenDimming:{title:"Затемнение экрана",options:{enableScreenDimming:"Включить затемнение экрана",dimmingTimeout:{title:"Задержка затемнения",subtitle:"Установите время бездействия (в секундах), после которого экран затемняется"},dimmingOpacity:{title:"Прозрачность затемнения",subtitle:"Установите уровень затемнения экрана"}}},disableSidebarContents:{title:"Отключить разделы бокового меню",subtitle:"Выберите разделы бокового меню, которые нужно отключить"},launchToOnStartup:{title:"Открыть при запуске",subtitle:"Выберите страницу, которая будет открываться при запуске TizenTube"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"Обновление TizenTube Cobalt",menuSubtitle:"Управление обновлениями TizenTube Cobalt",versionSubtitle:"Текущая версия: {{version}}",options:{checkForUpdates:"Проверить обновления",checkForUpdatesOnStartup:"Проверять обновления при запуске"}}},ttSettings:{title:"Настройки TizenTube",madeByText:"Сделано Reis Can (reisxd) с ❤️",summary:"Открыть настройки TizenTube"},supportTT:{title:"Поддержать TizenTube",subtitle:"❤️ Поддержите TizenTube и его разработку",content:{1:"Если вам нравится использовать TizenTube и вы хотите поддержать его развитие, рассмотрите следующие варианты:",2:"1. Поставьте звезду репозиторию на GitHub, чтобы повысить его видимость.",3:"2. Поделитесь TizenTube с другими.",4:"Если вы хотите поддержать проект финансово, рассмотрите возможность пожертвования:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preferably)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Добро пожаловать в TizenTube",subtitle:"Перейдите в настройки и нажмите «Настройки TizenTube»."},sponsorblock:{segments:{sponsor:"спонсорский сегмент",intro:"интро",outro:"аутро",interaction:"напоминание о взаимодействии",selfpromo:"самореклама",preview:"повтор или превью",filler:"отступления от темы",music_offtopic:"немузыкальная часть",poi_highlight:"ключевой момент"},toasts:{skipping:"Пропуск {{segment}}",notSkipping:"Не пропускается {{segment}} (уже пропущено {{count}} раз)",skip:"Пропустить {{segment}}",skipToHighlight:"Перейти к ключевому моменту"}}}},lt:{translation:{__contributors:["Benetis"],settings:{options:{socialMedia:{title:"Socialinių tinklų nuorodos",qrCodeScanMessage:"Galite apsilankyti puslapyje „{{name}}“ nuskenavę žemiau pateiktą QR kodą."},adBlock:"Reklamų blokavimas",sponsorblock:{title:"„SponsorBlock“ nustatymai",options:{enableSB:"Įjungti „SponsorBlock“",manualSkip:"Rankinis „SponsorBlock“ segmentų praleidimas",segments:"Segmentai",categories:{sponsor:"Praleisti rėmėjų segmentus",intro:"Praleisti įžangų segmentus",outro:"Praleisti pabaigų segmentus",interaction:"Praleisti sąveikos priminimų segmentus",selfpromo:"Praleisti savireklamos segmentus",preview:"Praleisti anonsų/santraukų segmentus",filler:"Praleisti pašalinių komentarų/juokelių segmentus",music_offtopic:"Praleisti nesusijusius muzikinius segmentus",highlights:"Įjungti svarbiausius momentus"},showSBToasts:"Rodyti „SponsorBlock“ trumpalaikius pranešimus"}},dearrow:{title:"„DeArrow“ nustatymai",options:{enableDA:"Įjungti „DeArrow“",enableDAThumbnails:"Įjungti „DeArrow“ miniatiūras"}},misc:{title:"Kiti nustatymai",options:{endScreenCards:"Slėpti pabaigos užsklandos korteles",youThereRenderer:"Įjungti „Ar vis dar žiūrite?“ atvaizdavimą",paidPromoOverlay:"Įjungti „Turi apmokamos reklamos“ perdangą",whosWatching:{title:"„Kas žiūri?“ meniu",options:{enableWW:"Įjungti „Kas žiūri?“ meniu",permaEnableWW:"Visam laikui įjungti „Kas žiūri?“ meniu",enableWWOnExit:"Įjungti „Kas žiūri?“ meniu uždarant programėlę"}},fixUI:"Taisyti vartotojo sąsają",hqThumbnails:"Įjungti aukštos kokybės miniatiūras",longPress:"Įjungti ilgo paspaudimo veiksmus",shorts:"Įjungti trumpuosius vaizdo įrašus („Shorts“)",videoPreviews:"Įjungti vaizdo įrašų peržiūras",ttWelcomeMsg:"Rodyti „TizenTube“ pasisveikinimą",guestSignInReminder:"Rodyti svečio prisijungimo priminimą",reloadHomeOnStartup:"Atnaujinti pagrindinį puslapį paleidžiant"}},subtitles:{title:"Subtitrų nustatymai",options:{showLocalSubtitle:"Rodyti vietinius subtitrus",showHiddenSubtitles:"Rodyti paslėptus subtitrus"}},videoPlayer:{title:"Vaizdo grotuvo nustatymai",subtitle:"Pritaikykite vaizdo grotuvo funkcijas",options:{patching:{title:"Vaizdo grotuvo vartotojo sąsajos pataisos",options:{enableVPUIPatching:"Įjungti vaizdo grotuvo vartotojo sąsajos pataisas",previousNextBtns:"Įjungti mygtukus „Ankstesnis“ ir „Kitas“",showSuperThxBtn:"Rodyti mygtuką „Super padėka“",showSpeedCtrlBtn:"Rodyti greičio valdymo mygtuką"}},preferredVideoQuality:{title:"Pageidaujama vaizdo kokybė",subtitle:"Pasirinkite pageidaujamą arba antrą geriausią vaizdo kokybę, kuri bus taikoma pradedant atkūrimą"},speedSettings:{title:"Greičio nustatymų žingsniai",subtitle:"Nustatykite vaizdo įrašo atkūrimo greičio keitimo žingsnius"},preferredVideoCodec:{title:"Pageidaujamas vaizdo kodekas",subtitle:"Pasirinkite norimą vaizdo kodeką atkūrimui"},afr:"Automatinis kadrų dažnis",afrPauseDuration:{title:"Automatinio kadrų dažnio pauzės trukmė",subtitle:"Nustatykite trukmę (sekundėmis), kuriai vaizdo įrašo atkūrimas bus pristabdytas, kai keičiate kadrų dažnį"}}},uiSettings:{title:"Vartotojo sąsajos nustatymai",subtitle:"Pritaikykite vartotojo sąsają pagal savo poreikius",options:{hideWatchedVideos:{title:"Paslėpti peržiūrėtus vaizdo įrašus",options:{enableHideWatchedVideos:"Įjungti peržiūrėtų vaizdo įrašų slėpimą",watchedVideosThreshold:{title:"Peržiūrėtų vaizdo įrašų riba",subtitle:"Nustatykite procentinę ribą, kurią pasiekus žiūrėti vaizdo įrašai bus paslėpti"},setPagesToHideWatchedVideos:"Pasirinkti puslapius, kuriuose slėpti peržiūrėtus vaizdo įrašus"}},screenDimming:{title:"Ekrano pritemdymas",options:{enableScreenDimming:"Įgalinti Ekrano pritemdymą",dimmingTimeout:{title:"Pritemdymo delsa",subtitle:"Nustatykite neveiklumo laiką (sekundėmis), po kurio ekranas pritems"},dimmingOpacity:{title:"Pritemdymo lygis",subtitle:"Nustatykite ekrano pritemdymo lygį"}}},disableSidebarContents:{title:"Išjungti šoninės juostos turinius",subtitle:"Pasirinkite, kurį šoninės juostos turinį išjungti"},launchToOnStartup:{title:"Pradinis puslapis paleidžiant",subtitle:"Pasirinkite numatytąjį puslapį, kurį „TizenTube“ atidarys paleidimo metu"},sortSubscriptionsByAlphabet:"Rūšiuoti prenumeratas abėcėlės tvarka"}},updater:{title:"„TizenTube Cobalt“ naujinimo įrankis",menuSubtitle:"Valdykite „TizenTube Cobalt“ naujinimus",versionSubtitle:"Dabartinė versija: {{version}}",options:{checkForUpdates:"Tikrinti ar yra naujinimų",checkForUpdatesOnStartup:"Tikrinti naujinimus paleidžiant"}}},ttSettings:{title:"„TizenTube“ nustatymai",madeByText:"Sukūrta Reis Can (reisxd) su ❤️",summary:"Atidaryti „TizenTube“ nustatymus"},supportTT:{title:"Paremkite „TizenTube“",subtitle:"❤️ Parodykite paramą „TizenTube“ ir jo vystymui",content:{1:"Jei jums patinka naudotis „TizenTube“ ir norėtumėte paremti projekto vystymą, apsvarstykite šias galimybes:",2:"1. Pažymėkite „GitHub“ saugyklą žvaigždute, kad padidintumėte jos matomumą.",3:"2. Pasidalinkite „TizenTube“ su kitais.",4:"Jei norite prisidėti finansiškai, apsvarstykite galimybę paaukoti:",5:"- „Buy Me A Coffee“: https://www.buymeacoffee.com/reisxd (pageidautina)",6:"- „GitHub Sponsors“: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Sveiki! Čia – „TizenTube“",subtitle:"Eikite į nustatymus ir pasirinkite „„TizenTube“ nustatymai“, jei norite juos keisti."},sponsorblock:{segments:{sponsor:"remiamas segmentas",intro:"įžanga",outro:"pabaiga",interaction:"sąveikos priminimas",selfpromo:"savireklama",preview:"santrauka arba anonsas",filler:"pašaliniai komentarai",music_offtopic:"nemuzikinė dalis",poi_highlight:"svarbiausias momentas"},toasts:{skipping:"Praleidžiama: {{segment}}",notSkipping:"Nepraleidžiama: {{segment}} (buvo praleista {{count}} kartų (-us))",skip:"Praleisti: {{segment}}",skipToHighlight:"Pešokti prie svarbiausio momento"}}}},hu:{translation:{__contributors:["bazdmag"],settings:{options:{socialMedia:{title:"Közösségi média linkek",qrCodeScanMessage:"A(z) {{name}} oldalt az alábbi QR-kód beolvasásával látogathatod meg."},adBlock:"Reklámblokkoló",sponsorblock:{title:"SponsorBlock beállítások",options:{enableSB:"SponsorBlock engedélyezése",manualSkip:"SponsorBlock szegmensek manuális átugrása",segments:"Szegmensek",categories:{sponsor:"Szponzor szegmensek átugrása",intro:"Intro átugrása",outro:"Outro átugrása",interaction:"Interakciós emlékeztetők átugrása",selfpromo:"Önpromóciós szegmensek átugrása",preview:"Előzetes/összefoglaló szegmensek átugrása",filler:"Kitérők/viccek átugrása",music_offtopic:"Nem a zenéhez tartozó részek átugrása",highlights:"Kiemelések engedélyezése"},showSBToasts:"SponsorBlock értesítések megjelenítése"}},dearrow:{title:"DeArrow beállítások",options:{enableDA:"DeArrow engedélyezése",enableDAThumbnails:"DeArrow bélyegképek engedélyezése"}},misc:{title:"Egyéb beállítások",options:{endScreenCards:"Videó végi kártyák elrejtése",youThereRenderer:"'Még nézed?' üzenet engedélyezése",paidPromoOverlay:"'Fizetett promóciót tartalmaz' felirat engedélyezése",whosWatching:{title:"Ki nézi? menü",options:{enableWW:"„Ki nézi?” menü engedélyezése",permaEnableWW:"„Ki nézi?” menü mindig aktív",enableWWOnExit:"„Ki nézi?” menü megjelenítése kilépéskor"}},fixUI:"Felhasználói felület javítása",hqThumbnails:"Magas minőségű bélyegképek engedélyezése",longPress:"Hosszú nyomás műveletek engedélyezése",shorts:"Shorts engedélyezése",videoPreviews:"Videó előnézetek engedélyezése",ttWelcomeMsg:"TT üdvözlő üzenet megjelenítése",guestSignInReminder:"Vendég bejelentkezési emlékeztető megjelenítése",reloadHomeOnStartup:"Főoldal újratöltése indításkor"}},subtitles:{title:"Felirat beállítások",options:{showLocalSubtitle:"Helyi felirat megjelenítése",showHiddenSubtitles:"Rejtett feliratok megjelenítése"}},videoPlayer:{title:"Videólejátszó beállítások",subtitle:"A videólejátszó funkcióinak testreszabása",options:{patching:{title:"Videólejátszó UI módosítása",options:{enableVPUIPatching:"Videólejátszó UI módosítás engedélyezése",previousNextBtns:"Előző és következő gombok engedélyezése",showSuperThxBtn:"Super Thanks gomb megjelenítése",showSpeedCtrlBtn:"Sebességszabályzó gomb megjelenítése"}},preferredVideoQuality:{title:"Preferált videóminőség",subtitle:"Válaszd ki a lejátszás indításakor alkalmazott preferált vagy legjobb elérhető videóminőséget"},speedSettings:{title:"Lejátszási sebesség lépések",subtitle:"Állítsd be a lejátszási sebesség módosításának lépésközeit"},preferredVideoCodec:{title:"Preferált videó codec",subtitle:"Válaszd ki a lejátszáshoz használt videó codecet"},afr:"Automatikus képkockasebesség",afrPauseDuration:{title:"Automatikus képkockasebesség szünet ideje",subtitle:"Add meg hány másodpercre álljon meg a videó a képkockasebesség módosításakor"}}},uiSettings:{title:"Felhasználói felület beállítások",subtitle:"Szabd testre a felületet ízlésed szerint",options:{hideWatchedVideos:{title:"Megnézett videók elrejtése",options:{enableHideWatchedVideos:"Megnézett videók elrejtésének engedélyezése",watchedVideosThreshold:{title:"Megnézettségi küszöb",subtitle:"Add meg hány százaléktól számítson egy videó megtekintettnek"},setPagesToHideWatchedVideos:"Oldalak kiválasztása ahol a megnézett videók rejtve legyenek"}},screenDimming:{title:"Képernyő halványítás",options:{enableScreenDimming:"Képernyő halványítás engedélyezése",dimmingTimeout:{title:"Halványítás időzítése",subtitle:"Add meg mennyi inaktivitás után halványodjon a képernyő (másodperc)"},dimmingOpacity:{title:"Halványítás átlátszósága",subtitle:"Állítsd be a halványítás erősségét"}}},disableSidebarContents:{title:"Oldalsáv elemek kikapcsolása",subtitle:"Válaszd ki mely oldalsáv elemek legyenek kikapcsolva"},launchToOnStartup:{title:"Indításkor megnyíló oldal",subtitle:"Válaszd ki melyik oldal nyíljon meg induláskor"}},updater:{title:"TizenTube Cobalt frissítő",menuSubtitle:"TizenTube Cobalt frissítések kezelése",versionSubtitle:"Jelenlegi verzió: {{version}}",options:{checkForUpdates:"Frissítések keresése",checkForUpdatesOnStartup:"Frissítések keresése indításkor"}}}},ttSettings:{title:"TizenTube beállítások",madeByText:"Készítette: Reis Can (reisxd) ❤️",summary:"TizenTube beállítások megnyitása"},supportTT:{title:"TizenTube támogatása",subtitle:"❤️ Támogasd a TizenTube fejlesztését",content:{1:"Ha szereted a TizenTube-ot és szeretnéd támogatni a fejlesztését, fontold meg a következőket:",2:"1. Adj egy csillagot a GitHub repositorynak, hogy többen megtalálják.",3:"2. Oszd meg a TizenTube-ot másokkal.",4:"Ha pénzügyileg is támogatnád:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (ajánlott)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Üdvözlünk a TizenTube-ban",subtitle:"Menj a beállításokhoz és kattints a TizenTube beállításokra."},sponsorblock:{segments:{sponsor:"szponzor szegmens",intro:"intro",outro:"outro",interaction:"interakciós emlékeztető",selfpromo:"önpromóció",preview:"összefoglaló vagy előzetes",filler:"kitérő",music_offtopic:"nem zenei rész",poi_highlight:"kiemelés"},toasts:{skipping:"{{segment}} átugrása",notSkipping:"{{segment}} nem kerül átugrásra ({{count}} alkalommal átugorva)",skip:"{{segment}} átugrása",skipToHighlight:"Ugrás a kiemeléshez"}}}},it:{translation:{__contributors:["DaRkViVi"],settings:{options:{socialMedia:{title:"Link ai Social",qrCodeScanMessage:"Puoi visitare la pagina {{name}} scansionando il QR qui sotto."},adBlock:"Ad Block",sponsorblock:{title:"Impostazioni SponsorBlock",options:{enableSB:"Attiva SponsorBlock",manualSkip:"Salto Manuale Segmento SponsorBlock",segments:"Segmenti",categories:{sponsor:"Salta Segmenti Sponsor",intro:"Salta Segmenti Intro",outro:"Salta Segmenti Outro",interaction:"Salta Segmenti Richiesta Interazione",selfpromo:"Salta Segmenti Auto-Promozione",preview:"Salta Segmenti Anteprima/Riassunto",filler:"Salta Segmenti Fuori Tema/Battute",music_offtopic:"Salta Segmenti Musica Off-Topic",highlights:"Attiva Punti Salienti"},showSBToasts:"Mostra Notifiche SponsorBlock"}},dearrow:{title:"Impostazioni DeArrow",options:{enableDA:"Attiva DeArrow",enableDAThumbnails:"Attiva Anteprime DeArrow"}},misc:{title:"Impostazioni varie",options:{endScreenCards:"Nascondi Schermate Finali",youThereRenderer:"Abilita Avviso 'Stai ancora guardando?'",paidPromoOverlay:"Abilita Overlay 'Include promozioni a pagamento'",whosWatching:{title:"Menù Chi Sta Guardando",options:{enableWW:"Abilita Menù Chi Sta Guardando",permaEnableWW:"Abilita Sempre Menù Chi Sta Guardando",enableWWOnExit:"Abilita Menù Chi Sta Guardando Chiudendo l'App"}},fixUI:"Correggi Interfaccia",hqThumbnails:"Abilita Anteprime in Alta Qualità",longPress:"Abilita Azioni con Pressione Prolungata",shorts:"Abilita Shorts",videoPreviews:"Abilita Anteprime Video",ttWelcomeMsg:"Mostra Messaggio di Benvenuto TT",guestSignInReminder:"Mostra Promemoria Login Ospite",reloadHomeOnStartup:"Ricarica Home all'Avvio"}},subtitles:{title:"Impostazioni Sottotitoli",options:{showLocalSubtitle:"Mostra Sottotitoli Locali",showHiddenSubtitles:"Mostra Sottotitoli Nascosti"}},videoPlayer:{title:"Impostazioni Video Player",subtitle:"Personalizza le funzionalità del video player",options:{patching:{title:"Patcha Interfaccia Video Player",options:{enableVPUIPatching:"Abilita Patching Interfaccia Video Player",previousNextBtns:"Abilita Pulsanti Precedente e Successivo",showSuperThxBtn:"Mostra Pulsante Super Grazie",showSpeedCtrlBtn:"Mostra Pulsante Controllo Velocità"}},preferredVideoQuality:{title:"Qualità Video Preferita",subtitle:"Seleziona la qualità video preferita o la più vicina che verrà applicata quando parte una riproduzione"},speedSettings:{title:"Impostazione Incrementi di Velocità",subtitle:"Imposta gli incrementi di velocità per le regolazioni della velocità di riproduzione video"},preferredVideoCodec:{title:"Codec Video Preferito",subtitle:"Seleziona il codec video preferito per la riproduzione"},afr:"Frame Rate Automatico",afrPauseDuration:{title:"Durata Pausa Frame Rate Automatico",subtitle:"Imposta la durata (in secondi) della pausa mentre viene corretto il frame rate"}}},uiSettings:{title:"Impostazioni Interfaccia Utente",subtitle:"Personalizza l'interfaccia a tuo piacimento",options:{hideWatchedVideos:{title:"Nascondi Video Visti",options:{enableHideWatchedVideos:"Abilita Nascondi Video Visti",watchedVideosThreshold:{title:"Soglia Video Visti",subtitle:"Imposta la soglia in percentuale per nascondere un video come visto"},setPagesToHideWatchedVideos:"Imposta Pagine per Nascondere i Video Visti"}},screenDimming:{title:"Oscuramento Schermo",options:{enableScreenDimming:"Abilita Oscuramento Schermo",dimmingTimeout:{title:"Timeout Oscuramento",subtitle:"Imposta il timeout di inattività (in secondi) prima che lo schermo si oscuri"},dimmingOpacity:{title:"Opacità Oscuramento",subtitle:"Imposta il livello di opacità per l'oscuramento schermo"}}},disableSidebarContents:{title:"Disabilita Contenuti Barra Laterale",subtitle:"Seleziona i contenuti della barra laterale che vuoi disabilitare"},launchToOnStartup:{title:"Lancia all'Avvio",subtitle:"Seleziona la pagina che TizenTube aprirà all'avvio"},sortSubscriptionsByAlphabet:"Iscrizioni in ordine alfabetico"}},updater:{title:"Aggiorna TizenTube Cobalt",menuSubtitle:"Gestisci gli aggiornamenti di TizenTube Cobalt",versionSubtitle:"Versione attuale: {{version}}",options:{checkForUpdates:"Controlla aggiornamenti",checkForUpdatesOnStartup:"Controlla aggiornamenti all'avvio"}}},ttSettings:{title:"Impostazioni TizenTube",madeByText:"Creato da Reis Can (reisxd) con ❤️",summary:"Apri Impostazioni TizenTube"},supportTT:{title:"Supporta TizenTube",subtitle:"❤️ Mostra supporto per TizenTube e il suo sviluppo",content:{1:"Se ti sta piacendo TizenTube e vuoi supportare il suo sviluppo, considera di:",2:"1. Mettere una Stella alla repository GitHub per aiutare ad aumentare la sua visibilità.",3:"2. Condividi TizenTube con altri.",4:"Se vuoi contribuire finanziariamente, considera una donazione:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preferibilmente)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Benvenuto in TizenTube",subtitle:"Vai su Impostazioni e seleziona Impostazioni TizenTube per la configurazione."},sponsorblock:{segments:{sponsor:"segmento sponsorizzato",intro:"intro",outro:"outro",interaction:"promemoria interazione",selfpromo:"autopromozione",preview:"riassunto o anteprima",filler:"fuori tema",music_offtopic:"parte non musicale",poi_highlight:"punti salienti"},toasts:{skipping:"Sto saltando {{segment}}",notSkipping:"Non sto saltando {{segment}} (è stata saltato {{count}} volte)",skip:"Salta {{segment}}",skipToHighlight:"Salta ai punti salienti"}}}}};ma=(null===(pa=window)||void 0===pa||null===(pa=pa.yt)||void 0===pa||null===(pa=pa.config_)||void 0===pa?void 0:pa.HL)||navigator.language.replace(/(\-.*)/g,""),da.init({lng:ma,fallbackLng:"en",resources:ga,debug:!1,interpolation:{escapeValue:!1}});var fa;fa||(fa=1,function(){function e(e){return void 0===e?0:Number(e)}function t(e,t){return e!==t&&!(isNaN(e)&&isNaN(t))}self.DOMRect=function(i,n,a,r){var o,s,l,u,c,d,h,p;o=e(i),s=e(n),l=e(a),u=e(r),Object.defineProperties(this,{x:{get:function(){return o},set:function(e){t(o,e)&&(o=e,c=d=void 0)},enumerable:!0},y:{get:function(){return s},set:function(e){t(s,e)&&(s=e,h=p=void 0)},enumerable:!0},width:{get:function(){return l},set:function(e){t(l,e)&&(l=e,c=d=void 0)},enumerable:!0},height:{get:function(){return u},set:function(e){t(u,e)&&(u=e,h=p=void 0)},enumerable:!0},left:{get:function(){return void 0===c&&(c=o+Math.min(0,l)),c},enumerable:!0},right:{get:function(){return void 0===d&&(d=o+Math.max(0,l)),d},enumerable:!0},top:{get:function(){return void 0===h&&(h=s+Math.min(0,u)),h},enumerable:!0},bottom:{get:function(){return void 0===p&&(p=s+Math.max(0,u)),p},enumerable:!0}})}}());var va,ba="ytaf-configuration",ya={enableAdBlock:!0,enableSponsorBlock:!0,enableSponsorBlockToasts:!0,sponsorBlockManualSkips:["intro","outro","filler"],enableSponsorBlockSponsor:!0,enableSponsorBlockIntro:!0,enableSponsorBlockOutro:!0,enableSponsorBlockInteraction:!0,enableSponsorBlockSelfPromo:!0,enableSponsorBlockPreview:!0,enableSponsorBlockMusicOfftopic:!0,enableSponsorBlockFiller:!1,enableSponsorBlockHighlight:!0,videoSpeed:1,preferredVideoQuality:"auto",enableDeArrow:!0,enableDeArrowThumbnails:!1,focusContainerColor:"#0f0f0f",routeColor:"#0f0f0f",enableFixedUI:!window.h5vcc||!window.h5vcc.tizentube,enableHqThumbnails:!1,enableChapters:!0,enableLongPress:!0,enableShorts:!0,dontCheckUpdateUntil:0,enableWhoIsWatchingMenu:!1,permanentlyEnableWhoIsWatchingMenu:!1,enableWhosWatchingMenuOnAppExit:!1,enableShowUserLanguage:!0,enableShowOtherLanguages:!1,showWelcomeToast:!0,enablePreviousNextButtons:!0,enableSuperThanksButton:!1,enableSpeedControlsButton:!0,enablePatchingVideoPlayer:!0,enablePreviews:!0,enableHideWatchedVideos:!1,hideWatchedVideosThreshold:80,hideWatchedVideosPages:[],enableHideEndScreenCards:!1,enableYouThereRenderer:!0,lastAnnouncementCheck:0,enableScreenDimming:!1,dimmingTimeout:60,dimmingOpacity:.5,enablePaidPromotionOverlay:!0,speedSettingsIncrement:.25,videoPreferredCodec:"any",launchToOnStartup:null,reloadHomeOnStartup:!0,disabledSidebarContents:[],enableUpdater:!0,autoFrameRate:!1,autoFrameRatePauseVideoFor:0,enableSigninReminder:!1,sortSubscriptionsByAlphabet:!1};try{va=JSON.parse(window.localStorage[ba])}catch(e){console.warn("Config read failed:",e),va=ya}function ka(e){return void 0===va[e]&&(console.warn("Populating key",e,"with default value",ya[e]),va[e]=ya[e]),va[e]}function Sa(e,t){console.info("Setting key",e,"to",t),va[e]=t,window.localStorage[ba]=JSON.stringify(va),xa.dispatchEvent(new CustomEvent("configChange",{detail:{key:e,value:t}}))}var xa={listeners:{},addEventListener(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},removeEventListener(e,t){this.listeners[e]&&(this.listeners[e]=this.listeners[e].filter(e=>e!==t))},dispatchEvent(e){var t=e.type;this.listeners[t]&&this.listeners[t].forEach(t=>{try{t.call(this,e)}catch(e){}})}};window.isPipPlaying=!1;var wa=null;function Da(){var e=Object.values(window._yttv).find(e=>e&&e.mappings);wa=e.get("PlayerService");var t=e.get("PlaybackPreviewService"),i=t.start,n=t.stop;t.start=function(){if(!window.isPipPlaying){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.apply(this,t)}},t.stop=function(){if(!window.isPipPlaying){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n.apply(this,t)}}}"complete"===document.readyState?Da():window.addEventListener("load",Da);var Ta={ytlrSearchVoice:{length:0,classes:[]},ytlrSearchVoiceMicButton:{length:0,classes:[]}};function Ea(e,t,i){var n={openPopupAction:{popupType:"TOAST",popup:{overlayToastRenderer:{title:{simpleText:e},subtitle:{simpleText:t}}}}};i&&(n.openPopupAction.popup.overlayToastRenderer.image.thumbnails=i),Qa(n)}function Ca(e,t,i,n){var a=function(e,t,i,n){var a="string"==typeof e?{title:e,subtitle:""}:e,r={openPopupAction:{popupType:"MODAL",popup:{overlaySectionRenderer:{overlay:{overlayTwoPanelRenderer:{actionPanel:{overlayPanelRenderer:{header:{overlayPanelHeaderRenderer:e.overlayPanelHeaderRenderer||{title:{simpleText:a.title}}},content:t}},backButton:{buttonRenderer:{accessibilityData:{accessibilityData:{label:"Back"}},command:{signalAction:{signal:"POPUP_BACK"}}}}}},dismissalCommand:{signalAction:{signal:"POPUP_BACK"}}}},uniqueId:i}};return a.subtitle&&(r.openPopupAction.popup.overlaySectionRenderer.overlay.overlayTwoPanelRenderer.actionPanel.overlayPanelRenderer.header.overlayPanelHeaderRenderer.subtitle={simpleText:a.subtitle}),n&&(r.openPopupAction.shouldMatchUniqueId=!0,r.openPopupAction.updateAction=!0),r}(e,t,i,n);Qa(a)}function Aa(e,t){return{overlayPanelItemListRenderer:{items:e,selectedIndex:t}}}function Pa(e,t,i){var n={compactLinkRenderer:{serviceEndpoint:{commandExecutorCommand:{commands:i}}}};return e&&(n.compactLinkRenderer.title={simpleText:e.title}),e.subtitle&&(n.compactLinkRenderer.subtitle={simpleText:e.subtitle}),t&&(n.compactLinkRenderer.icon={iconType:t.icon}),t&&t.secondaryIcon&&(n.compactLinkRenderer.secondaryIcon={iconType:t.secondaryIcon}),n}function Ba(e,t,i,n,a){return{timelyActionRenderer:{actionButtons:[{buttonRenderer:{isDisabled:!1,text:{runs:[{text:e}]},icon:{iconType:t},trackingParams:null,command:i}}],triggerTimeMs:n,timeoutMs:a,type:""}}}function za(e){return{clickTrackingParams:null,showMenuCommand:{contentId:e.videoId,thumbnail:{thumbnails:e.thumbnails},title:{simpleText:e.title},subtitle:{simpleText:e.subtitle},menu:{menuRenderer:{items:[Fa("Play",{clickTrackingParams:null,watchEndpoint:e.watchEndpointData}),Ia("Save to Watch Later",{clickTrackingParams:null,playlistEditEndpoint:{playlistId:"WL",actions:[{addedVideoId:e.videoId,action:"ACTION_ADD_VIDEO"}]}}),Fa("Save to Playlist",{clickTrackingParams:null,addToPlaylistEndpoint:{videoId:e.videoId}}),Ia("Add to Queue",{clickTrackingParams:null,playlistEditEndpoint:{customAction:{action:"ADD_TO_QUEUE",parameters:e.item}}})],trackingParams:null,accessibility:{accessibilityData:{label:"Video options"}}}}}}}function Ia(e,t){return{menuServiceItemRenderer:{text:{runs:[{text:e}]},serviceEndpoint:t,trackingParams:null}}}function Fa(e,t){return{menuNavigationItemRenderer:{text:{runs:[{text:e}]},navigationEndpoint:t,trackingParams:null}}}function Oa(e){return{overlayMessageRenderer:{title:{simpleText:e}}}}function ja(e,t,i,n){return{isDisabled:e,text:{runs:[{text:t}]},icon:{iconType:i},command:n,trackingParams:null}}new MutationObserver(()=>{if(window.isPipPlaying){var e=document.querySelector("ytlr-search-bar");if(e)if(!document.querySelector("#tt-pip-button")){var t=e.querySelector("ytlr-search-voice");if(t){for(var i=Object.values(window._yttv).find(e=>e instanceof Map&&e.has("CLEAR_COOKIES")),n=i.get("MICROPHONE_ON"),a=i.get("CLEAR_COOKIES"),r=document.createElement("ytlr-search-voice"),o=0;o<t.classList.length;o++){if(0===Ta.ytlrSearchVoice.length&&(Ta.ytlrSearchVoice.length=t.classList.length),Ta.ytlrSearchVoice.length!==t.classList.length){var s,l=p(Ta.ytlrSearchVoice.classes);try{for(l.s();!(s=l.n()).done;){var u=s.value;r.classList.add(u)}}catch(e){l.e(e)}finally{l.f()}break}Ta.ytlrSearchVoice.classes.includes(t.classList[o])||Ta.ytlrSearchVoice.classes.push(t.classList[o]),r.classList.add(t.classList[o])}r.style.left="10.25em",r.id="tt-pip-button";for(var c=document.createElement("ytlr-search-voice-mic-button"),d=0;d<t.children[0].classList.length;d++){if(0===Ta.ytlrSearchVoiceMicButton.length&&(Ta.ytlrSearchVoiceMicButton.length=t.children[0].classList.length),Ta.ytlrSearchVoiceMicButton.length!==t.children[0].classList.length){var h,m=p(Ta.ytlrSearchVoiceMicButton.classes);try{for(m.s();!(h=m.n()).done;){var g=h.value;c.classList.add(g)}}catch(e){m.e(e)}finally{m.f()}break}Ta.ytlrSearchVoiceMicButton.classes.includes(t.children[0].classList[d])||Ta.ytlrSearchVoiceMicButton.classes.push(t.children[0].classList[d]),c.classList.add(t.children[0].classList[d])}for(var f=document.createElement("yt-icon"),v=0;v<t.children[0].children[0].classList.length;v++)f.classList.add(t.children[0].children[0].classList[v]);f.classList.remove(n),f.classList.add(a),c.appendChild(f),r.appendChild(c),e.appendChild(r)}else{var b=document.createElement("ytlr-search-voice");b.style.left="10.25em",b.id="tt-pip-button",b.setAttribute("idomkey","ytLrSearchBarSearchVoice"),b.setAttribute("tabindex","0"),b.classList.add("ytLrSearchVoiceHost","ytLrSearchBarSearchVoice");var y=document.createElement("ytlr-search-voice-mic-button");y.setAttribute("hybridnavfocusable","true"),y.setAttribute("tabindex","-1"),y.classList.add("ytLrSearchVoiceMicButtonHost","zylon-ve");var k=document.createElement("yt-icon");k.setAttribute("tabindex","-1"),k.classList.add("ytContribIconTvArrowLeft","ytContribIconHost","ytLrSearchVoiceMicButtonIcon"),y.appendChild(k),b.appendChild(y),e.appendChild(b)}}}}).observe(document.body,{childList:!0,subtree:!0});var Ma,Ra={};var Na=(Ma||(Ma=1,Ra.qrcode=function(){var e=function(e,t){var i=e,n=c[t],a=null,r=0,o=null,s=new Array,l={},u=function(e,t){a=function(e){for(var t=new Array(e),i=0;i<e;i+=1){t[i]=new Array(e);for(var n=0;n<e;n+=1)t[i][n]=null}return t}(r=4*i+17),d(0,0),d(r-7,0),d(0,r-7),p(),h(),g(e,t),i>=7&&m(e),null==o&&(o=v(i,n,s)),f(o,t)},d=function(e,t){for(var i=-1;i<=7;i+=1)if(!(e+i<=-1||r<=e+i))for(var n=-1;n<=7;n+=1)t+n<=-1||r<=t+n||(a[e+i][t+n]=0<=i&&i<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==i||6==i)||2<=i&&i<=4&&2<=n&&n<=4)},h=function(){for(var e=8;e<r-8;e+=1)null==a[e][6]&&(a[e][6]=e%2==0);for(var t=8;t<r-8;t+=1)null==a[6][t]&&(a[6][t]=t%2==0)},p=function(){for(var e=y.getPatternPosition(i),t=0;t<e.length;t+=1)for(var n=0;n<e.length;n+=1){var r=e[t],o=e[n];if(null==a[r][o])for(var s=-2;s<=2;s+=1)for(var l=-2;l<=2;l+=1)a[r+s][o+l]=-2==s||2==s||-2==l||2==l||0==s&&0==l}},m=function(e){for(var t=y.getBCHTypeNumber(i),n=0;n<18;n+=1){var o=!e&&1==(t>>n&1);a[Math.floor(n/3)][n%3+r-8-3]=o}for(n=0;n<18;n+=1)o=!e&&1==(t>>n&1),a[n%3+r-8-3][Math.floor(n/3)]=o},g=function(e,t){for(var i=n<<3|t,o=y.getBCHTypeInfo(i),s=0;s<15;s+=1){var l=!e&&1==(o>>s&1);s<6?a[s][8]=l:s<8?a[s+1][8]=l:a[r-15+s][8]=l}for(s=0;s<15;s+=1)l=!e&&1==(o>>s&1),s<8?a[8][r-s-1]=l:s<9?a[8][15-s-1+1]=l:a[8][15-s-1]=l;a[r-8][8]=!e},f=function(e,t){for(var i=-1,n=r-1,o=7,s=0,l=y.getMaskFunction(t),u=r-1;u>0;u-=2)for(6==u&&(u-=1);;){for(var c=0;c<2;c+=1)if(null==a[n][u-c]){var d=!1;s<e.length&&(d=1==(e[s]>>>o&1)),l(n,u-c)&&(d=!d),a[n][u-c]=d,-1==(o-=1)&&(s+=1,o=7)}if((n+=i)<0||r<=n){n-=i,i=-i;break}}},v=function(e,t,i){for(var n=x.getRSBlocks(e,t),a=w(),r=0;r<i.length;r+=1){var o=i[r];a.put(o.getMode(),4),a.put(o.getLength(),y.getLengthInBits(o.getMode(),e)),o.write(a)}var s=0;for(r=0;r<n.length;r+=1)s+=n[r].dataCount;if(a.getLengthInBits()>8*s)throw new Error("code length overflow. ("+a.getLengthInBits()+">"+8*s+")");for(a.getLengthInBits()+4<=8*s&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(!1);for(;!(a.getLengthInBits()>=8*s||(a.put(236,8),a.getLengthInBits()>=8*s));)a.put(17,8);return function(e,t){for(var i=0,n=0,a=0,r=new Array(t.length),o=new Array(t.length),s=0;s<t.length;s+=1){var l=t[s].dataCount,u=t[s].totalCount-l;n=Math.max(n,l),a=Math.max(a,u),r[s]=new Array(l);for(var c=0;c<r[s].length;c+=1)r[s][c]=255&e.getBuffer()[c+i];i+=l;var d=y.getErrorCorrectPolynomial(u),h=S(r[s],d.getLength()-1).mod(d);for(o[s]=new Array(d.getLength()-1),c=0;c<o[s].length;c+=1){var p=c+h.getLength()-o[s].length;o[s][c]=p>=0?h.get(p):0}}var m=0;for(c=0;c<t.length;c+=1)m+=t[c].totalCount;var g=new Array(m),f=0;for(c=0;c<n;c+=1)for(s=0;s<t.length;s+=1)c<r[s].length&&(g[f]=r[s][c],f+=1);for(c=0;c<a;c+=1)for(s=0;s<t.length;s+=1)c<o[s].length&&(g[f]=o[s][c],f+=1);return g}(a,n)};return l.addData=function(e){var t=D(e);s.push(t),o=null},l.isDark=function(e,t){if(e<0||r<=e||t<0||r<=t)throw new Error(e+","+t);return a[e][t]},l.getModuleCount=function(){return r},l.make=function(){u(!1,function(){for(var e=0,t=0,i=0;i<8;i+=1){u(!0,i);var n=y.getLostPoint(l);(0==i||e>n)&&(e=n,t=i)}return t}())},l.createTableTag=function(e,t){e=e||2;var i="";i+='<table style="',i+=" border-width: 0px; border-style: none;",i+=" border-collapse: collapse;",i+=" padding: 0px; margin: "+(t=void 0===t?4*e:t)+"px;",i+='">',i+="<tbody>";for(var n=0;n<l.getModuleCount();n+=1){i+="<tr>";for(var a=0;a<l.getModuleCount();a+=1)i+='<td style="',i+=" border-width: 0px; border-style: none;",i+=" border-collapse: collapse;",i+=" padding: 0px; margin: 0px;",i+=" width: "+e+"px;",i+=" height: "+e+"px;",i+=" background-color: ",i+=l.isDark(n,a)?"#000000":"#ffffff",i+=";",i+='"/>';i+="</tr>"}return i+="</tbody>",i+="</table>"},l.createImgTag=function(e,t){e=e||2,t=void 0===t?4*e:t;var i=l.getModuleCount()*e+2*t,n=t,a=i-t;return A(i,i,function(t,i){if(n<=t&&t<a&&n<=i&&i<a){var r=Math.floor((t-n)/e),o=Math.floor((i-n)/e);return l.isDark(o,r)?0:1}return 1})},l};e.stringToBytes=function(e){for(var t=new Array,i=0;i<e.length;i+=1){var n=e.charCodeAt(i);t.push(255&n)}return t},e.createStringToBytes=function(e,t){var i=function(){for(var i=E(e),n=function(){var e=i.read();if(-1==e)throw new Error;return e},a=0,r={};;){var o=i.read();if(-1==o)break;var s=n(),l=n()<<8|n();r[String.fromCharCode(o<<8|s)]=l,a+=1}if(a!=t)throw new Error(a+" != "+t);return r}(),n="?".charCodeAt(0);return function(e){for(var t=new Array,a=0;a<e.length;a+=1){var r=e.charCodeAt(a);if(r<128)t.push(r);else{var o=i[e.charAt(a)];"number"==typeof o?(255&o)==o?t.push(o):(t.push(o>>>8),t.push(255&o)):t.push(n)}}return t}};var t,i,n,a,r,o=1,s=2,l=4,u=8,c={L:1,M:0,Q:3,H:2},d=0,h=1,p=2,m=3,g=4,f=5,v=6,b=7,y=(t=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],i=1335,n=7973,r=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t},(a={}).getBCHTypeInfo=function(e){for(var t=e<<10;r(t)-r(i)>=0;)t^=i<<r(t)-r(i);return 21522^(e<<10|t)},a.getBCHTypeNumber=function(e){for(var t=e<<12;r(t)-r(n)>=0;)t^=n<<r(t)-r(n);return e<<12|t},a.getPatternPosition=function(e){return t[e-1]},a.getMaskFunction=function(e){switch(e){case d:return function(e,t){return(e+t)%2==0};case h:return function(e,t){return e%2==0};case p:return function(e,t){return t%3==0};case m:return function(e,t){return(e+t)%3==0};case g:return function(e,t){return(Math.floor(e/2)+Math.floor(t/3))%2==0};case f:return function(e,t){return e*t%2+e*t%3==0};case v:return function(e,t){return(e*t%2+e*t%3)%2==0};case b:return function(e,t){return(e*t%3+(e+t)%2)%2==0};default:throw new Error("bad maskPattern:"+e)}},a.getErrorCorrectPolynomial=function(e){for(var t=S([1],0),i=0;i<e;i+=1)t=t.multiply(S([1,k.gexp(i)],0));return t},a.getLengthInBits=function(e,t){if(1<=t&&t<10)switch(e){case o:return 10;case s:return 9;case l:case u:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case o:return 12;case s:return 11;case l:return 16;case u:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case o:return 14;case s:return 13;case l:return 16;case u:return 12;default:throw new Error("mode:"+e)}}},a.getLostPoint=function(e){for(var t=e.getModuleCount(),i=0,n=0;n<t;n+=1)for(var a=0;a<t;a+=1){for(var r=0,o=e.isDark(n,a),s=-1;s<=1;s+=1)if(!(n+s<0||t<=n+s))for(var l=-1;l<=1;l+=1)a+l<0||t<=a+l||0==s&&0==l||o==e.isDark(n+s,a+l)&&(r+=1);r>5&&(i+=3+r-5)}for(n=0;n<t-1;n+=1)for(a=0;a<t-1;a+=1){var u=0;e.isDark(n,a)&&(u+=1),e.isDark(n+1,a)&&(u+=1),e.isDark(n,a+1)&&(u+=1),e.isDark(n+1,a+1)&&(u+=1),0!=u&&4!=u||(i+=3)}for(n=0;n<t;n+=1)for(a=0;a<t-6;a+=1)e.isDark(n,a)&&!e.isDark(n,a+1)&&e.isDark(n,a+2)&&e.isDark(n,a+3)&&e.isDark(n,a+4)&&!e.isDark(n,a+5)&&e.isDark(n,a+6)&&(i+=40);for(a=0;a<t;a+=1)for(n=0;n<t-6;n+=1)e.isDark(n,a)&&!e.isDark(n+1,a)&&e.isDark(n+2,a)&&e.isDark(n+3,a)&&e.isDark(n+4,a)&&!e.isDark(n+5,a)&&e.isDark(n+6,a)&&(i+=40);var c=0;for(a=0;a<t;a+=1)for(n=0;n<t;n+=1)e.isDark(n,a)&&(c+=1);return i+=Math.abs(100*c/t/t-50)/5*10},a),k=function(){for(var e=new Array(256),t=new Array(256),i=0;i<8;i+=1)e[i]=1<<i;for(i=8;i<256;i+=1)e[i]=e[i-4]^e[i-5]^e[i-6]^e[i-8];for(i=0;i<255;i+=1)t[e[i]]=i;var n={glog:function(e){if(e<1)throw new Error("glog("+e+")");return t[e]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return e[t]}};return n}();function S(e,t){if(void 0===e.length)throw new Error(e.length+"/"+t);var i=function(){for(var i=0;i<e.length&&0==e[i];)i+=1;for(var n=new Array(e.length-i+t),a=0;a<e.length-i;a+=1)n[a]=e[a+i];return n}(),n={get:function(e){return i[e]},getLength:function(){return i.length},multiply:function(e){for(var t=new Array(n.getLength()+e.getLength()-1),i=0;i<n.getLength();i+=1)for(var a=0;a<e.getLength();a+=1)t[i+a]^=k.gexp(k.glog(n.get(i))+k.glog(e.get(a)));return S(t,0)},mod:function(e){if(n.getLength()-e.getLength()<0)return n;for(var t=k.glog(n.get(0))-k.glog(e.get(0)),i=new Array(n.getLength()),a=0;a<n.getLength();a+=1)i[a]=n.get(a);for(a=0;a<e.getLength();a+=1)i[a]^=k.gexp(k.glog(e.get(a))+t);return S(i,0).mod(e)}};return n}var x=function(){var e=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16]],t=function(e,t){var i={};return i.totalCount=e,i.dataCount=t,i},i={getRSBlocks:function(i,n){var a=function(t,i){switch(i){case c.L:return e[4*(t-1)+0];case c.M:return e[4*(t-1)+1];case c.Q:return e[4*(t-1)+2];case c.H:return e[4*(t-1)+3];default:return}}(i,n);if(void 0===a)throw new Error("bad rs block @ typeNumber:"+i+"/errorCorrectLevel:"+n);for(var r=a.length/3,o=new Array,s=0;s<r;s+=1)for(var l=a[3*s+0],u=a[3*s+1],d=a[3*s+2],h=0;h<l;h+=1)o.push(t(u,d));return o}};return i}(),w=function(){var e=new Array,t=0,i={getBuffer:function(){return e},get:function(t){var i=Math.floor(t/8);return 1==(e[i]>>>7-t%8&1)},put:function(e,t){for(var n=0;n<t;n+=1)i.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return t},putBit:function(i){var n=Math.floor(t/8);e.length<=n&&e.push(0),i&&(e[n]|=128>>>t%8),t+=1}};return i},D=function(t){var i=l,n=e.stringToBytes(t),a={getMode:function(){return i},getLength:function(e){return n.length},write:function(e){for(var t=0;t<n.length;t+=1)e.put(n[t],8)}};return a},T=function(){var e=new Array,t={writeByte:function(t){e.push(255&t)},writeShort:function(e){t.writeByte(e),t.writeByte(e>>>8)},writeBytes:function(e,i,n){i=i||0,n=n||e.length;for(var a=0;a<n;a+=1)t.writeByte(e[a+i])},writeString:function(e){for(var i=0;i<e.length;i+=1)t.writeByte(e.charCodeAt(i))},toByteArray:function(){return e},toString:function(){var t="";t+="[";for(var i=0;i<e.length;i+=1)i>0&&(t+=","),t+=e[i];return t+="]"}};return t},E=function(e){var t=e,i=0,n=0,a=0,r={read:function(){for(;a<8;){if(i>=t.length){if(0==a)return-1;throw new Error("unexpected end of file./"+a)}var e=t.charAt(i);if(i+=1,"="==e)return a=0,-1;e.match(/^\s$/)||(n=n<<6|o(e.charCodeAt(0)),a+=6)}var r=n>>>a-8&255;return a-=8,r}},o=function(e){if(65<=e&&e<=90)return e-65;if(97<=e&&e<=122)return e-97+26;if(48<=e&&e<=57)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw new Error("c:"+e)};return r},C=function(e,t){var i=e,n=t,a=new Array(e*t),r={setPixel:function(e,t,n){a[t*i+e]=n},write:function(e){e.writeString("GIF87a"),e.writeShort(i),e.writeShort(n),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(i),e.writeShort(n),e.writeByte(0);var t=o(2);e.writeByte(2);for(var a=0;t.length-a>255;)e.writeByte(255),e.writeBytes(t,a,255),a+=255;e.writeByte(t.length-a),e.writeBytes(t,a,t.length-a),e.writeByte(0),e.writeString(";")}},o=function(e){for(var t=1<<e,i=1+(1<<e),n=e+1,r=s(),o=0;o<t;o+=1)r.add(String.fromCharCode(o));r.add(String.fromCharCode(t)),r.add(String.fromCharCode(i));var l=T(),u=function(e){var t=e,i=0,n=0,a={write:function(e,a){if(e>>>a!=0)throw new Error("length over");for(;i+a>=8;)t.writeByte(255&(e<<i|n)),a-=8-i,e>>>=8-i,n=0,i=0;n|=e<<i,i+=a},flush:function(){i>0&&t.writeByte(n)}};return a}(l);u.write(t,n);var c=0,d=String.fromCharCode(a[c]);for(c+=1;c<a.length;){var h=String.fromCharCode(a[c]);c+=1,r.contains(d+h)?d+=h:(u.write(r.indexOf(d),n),r.size()<4095&&(r.size()==1<<n&&(n+=1),r.add(d+h)),d=h)}return u.write(r.indexOf(d),n),u.write(i,n),u.flush(),l.toByteArray()},s=function(){var e={},t=0,i={add:function(n){if(i.contains(n))throw new Error("dup key:"+n);e[n]=t,t+=1},size:function(){return t},indexOf:function(t){return e[t]},contains:function(t){return void 0!==e[t]}};return i};return r},A=function(e,t,i,n){for(var a=C(e,t),r=0;r<t;r+=1)for(var o=0;o<e;o+=1)a.setPixel(o,r,i(o,r));var s=T();a.write(s);for(var l=function(){var e=0,t=0,i=0,n="",a={},r=function(e){n+=String.fromCharCode(o(63&e))},o=function(e){if(e<0);else{if(e<26)return 65+e;if(e<52)return e-26+97;if(e<62)return e-52+48;if(62==e)return 43;if(63==e)return 47}throw new Error("n:"+e)};return a.writeByte=function(n){for(e=e<<8|255&n,t+=8,i+=1;t>=6;)r(e>>>t-6),t-=6},a.flush=function(){if(t>0&&(r(e<<6-t),e=0,t=0),i%3!=0)for(var a=3-i%3,o=0;o<a;o+=1)n+="="},a.toString=function(){return n},a}(),u=s.toByteArray(),c=0;c<u.length;c+=1)l.writeByte(u[c]);l.flush();var d="";return d+="<img",d+=' src="',d+="data:image/gif;base64,",d+=l,d+='"',d+=' width="',d+=e,d+='"',d+=' height="',d+=t,d+='"',n&&(d+=' alt="',d+=n,d+='"'),d+="/>"};return e}()),Ra),La=X(Na),_a={language:{standard:{long:{aa:"Afar",ab:"Abkhazian",ace:"Acehnese",ach:"Acoli",ada:"Adangme",ady:"Adyghe",ae:"Avestan",aeb:"Tunisian Arabic",af:"Afrikaans",afh:"Afrihili",agq:"Aghem",ain:"Ainu",ak:"Akan",akk:"Akkadian",akz:"Alabama",ale:"Aleut",aln:"Gheg Albanian",alt:"Southern Altai",am:"Amharic",an:"Aragonese",ang:"Old English",ann:"Obolo",anp:"Angika",ar:"Arabic","ar-001":"Arabic (world)",arc:"Aramaic",arn:"Mapuche",aro:"Araona",arp:"Arapaho",arq:"Algerian Arabic",ars:"Najdi Arabic",arw:"Arawak",ary:"Moroccan Arabic",arz:"Egyptian Arabic",as:"Assamese",asa:"Asu",ase:"American Sign Language",ast:"Asturian",atj:"Atikamekw",av:"Avaric",avk:"Kotava",awa:"Awadhi",ay:"Aymara",az:"Azerbaijani",ba:"Bashkir",bal:"Baluchi",ban:"Balinese",bar:"Bavarian",bas:"Basaa",bax:"Bamun",bbc:"Batak Toba",bbj:"Ghomala",be:"Belarusian",bej:"Beja",bem:"Bemba",bew:"Betawi",bez:"Bena",bfd:"Bafut",bfq:"Badaga",bg:"Bulgarian",bgc:"Haryanvi",bgn:"Western Balochi",bho:"Bhojpuri",bi:"Bislama",bik:"Bikol",bin:"Bini",bjn:"Banjar",bkm:"Kom",bla:"Siksiká",blo:"Anii",blt:"Tai Dam",bm:"Bambara",bn:"Bangla",bo:"Tibetan",bpy:"Bishnupriya",bqi:"Bakhtiari",br:"Breton",bra:"Braj",brh:"Brahui",brx:"Bodo",bs:"Bosnian",bss:"Akoose",bua:"Buriat",bug:"Buginese",bum:"Bulu",byn:"Blin",byv:"Medumba",ca:"Catalan",cad:"Caddo",car:"Carib",cay:"Cayuga",cch:"Atsam",ccp:"Chakma",ce:"Chechen",ceb:"Cebuano",cgg:"Chiga",ch:"Chamorro",chb:"Chibcha",chg:"Chagatai",chk:"Chuukese",chm:"Mari",chn:"Chinook Jargon",cho:"Choctaw",chp:"Chipewyan",chr:"Cherokee",chy:"Cheyenne",cic:"Chickasaw",ckb:"Central Kurdish",clc:"Chilcotin",co:"Corsican",cop:"Coptic",cps:"Capiznon",cr:"Cree",crg:"Michif",crh:"Crimean Tatar",crj:"Southern East Cree",crk:"Plains Cree",crl:"Northern East Cree",crm:"Moose Cree",crr:"Carolina Algonquian",crs:"Seselwa Creole French",cs:"Czech",csb:"Kashubian",csw:"Swampy Cree",cu:"Church Slavic",cv:"Chuvash",cwd:"Woods Cree",cy:"Welsh",da:"Danish",dak:"Dakota",dar:"Dargwa",dav:"Taita",de:"German","de-AT":"German (Austria)","de-CH":"German (Switzerland)",del:"Delaware",den:"Slave",dgr:"Dogrib",din:"Dinka",dje:"Zarma",doi:"Dogri",dsb:"Lower Sorbian",dtp:"Central Dusun",dua:"Duala",dum:"Middle Dutch",dv:"Divehi",dyo:"Jola-Fonyi",dyu:"Dyula",dz:"Dzongkha",dzg:"Dazaga",ebu:"Embu",ee:"Ewe",efi:"Efik",egl:"Emilian",egy:"Ancient Egyptian",eka:"Ekajuk",el:"Greek",elx:"Elamite",en:"English","en-AU":"English (Australia)","en-CA":"English (Canada)","en-GB":"English (United Kingdom)","en-US":"English (United States)",enm:"Middle English",eo:"Esperanto",es:"Spanish","es-419":"Spanish (Latin America)","es-ES":"Spanish (Spain)","es-MX":"Spanish (Mexico)",esu:"Central Yupik",et:"Estonian",eu:"Basque",ewo:"Ewondo",ext:"Extremaduran",fa:"Persian","fa-AF":"Persian (Afghanistan)",fan:"Fang",fat:"Fanti",ff:"Fula",fi:"Finnish",fil:"Filipino",fit:"Tornedalen Finnish",fj:"Fijian",fo:"Faroese",fon:"Fon",fr:"French","fr-CA":"French (Canada)","fr-CH":"French (Switzerland)",frc:"Cajun French",frm:"Middle French",fro:"Old French",frp:"Arpitan",frr:"Northern Frisian",frs:"Eastern Frisian",fur:"Friulian",fy:"Western Frisian",ga:"Irish",gaa:"Ga",gag:"Gagauz",gan:"Gan Chinese",gay:"Gayo",gba:"Gbaya",gbz:"Zoroastrian Dari",gd:"Scottish Gaelic",gez:"Geez",gil:"Gilbertese",gl:"Galician",glk:"Gilaki",gmh:"Middle High German",gn:"Guarani",goh:"Old High German",gon:"Gondi",gor:"Gorontalo",got:"Gothic",grb:"Grebo",grc:"Ancient Greek",gsw:"Swiss German",gu:"Gujarati",guc:"Wayuu",gur:"Frafra",guz:"Gusii",gv:"Manx",gwi:"Gwichʼin",ha:"Hausa",hai:"Haida",hak:"Hakka Chinese",haw:"Hawaiian",hax:"Southern Haida",hdn:"Northern Haida",he:"Hebrew",hi:"Hindi","hi-Latn":"Hindi (Latin)",hif:"Fiji Hindi",hil:"Hiligaynon",hit:"Hittite",hmn:"Hmong",hnj:"Hmong Njua",ho:"Hiri Motu",hr:"Croatian",hsb:"Upper Sorbian",hsn:"Xiang Chinese",ht:"Haitian Creole",hu:"Hungarian",hup:"Hupa",hur:"Halkomelem",hy:"Armenian",hz:"Herero",ia:"Interlingua",iba:"Iban",ibb:"Ibibio",id:"Indonesian",ie:"Interlingue",ig:"Igbo",ii:"Sichuan Yi",ik:"Inupiaq",ike:"Eastern Canadian Inuktitut",ikt:"Western Canadian Inuktitut",ilo:"Iloko",inh:"Ingush",io:"Ido",is:"Icelandic",it:"Italian",iu:"Inuktitut",izh:"Ingrian",ja:"Japanese",jam:"Jamaican Creole English",jbo:"Lojban",jgo:"Ngomba",jmc:"Machame",jpr:"Judeo-Persian",jrb:"Judeo-Arabic",jut:"Jutish",jv:"Javanese",ka:"Georgian",kaa:"Kara-Kalpak",kab:"Kabyle",kac:"Kachin",kaj:"Jju",kam:"Kamba",kaw:"Kawi",kbd:"Kabardian",kbl:"Kanembu",kcg:"Tyap",kde:"Makonde",kea:"Kabuverdianu",ken:"Kenyang",kfo:"Koro",kg:"Kongo",kgp:"Kaingang",kha:"Khasi",kho:"Khotanese",khq:"Koyra Chiini",khw:"Khowar",ki:"Kikuyu",kiu:"Kirmanjki",kj:"Kuanyama",kk:"Kazakh",kkj:"Kako",kl:"Kalaallisut",kln:"Kalenjin",km:"Khmer",kmb:"Kimbundu",kn:"Kannada",ko:"Korean",koi:"Komi-Permyak",kok:"Konkani",kos:"Kosraean",kpe:"Kpelle",kr:"Kanuri",krc:"Karachay-Balkar",kri:"Krio",krj:"Kinaray-a",krl:"Karelian",kru:"Kurukh",ks:"Kashmiri",ksb:"Shambala",ksf:"Bafia",ksh:"Colognian",ku:"Kurdish",kum:"Kumyk",kut:"Kutenai",kv:"Komi",kw:"Cornish",kwk:"Kwakʼwala",kxv:"Kuvi",ky:"Kyrgyz",la:"Latin",lad:"Ladino",lag:"Langi",lah:"Western Panjabi",lam:"Lamba",lb:"Luxembourgish",lez:"Lezghian",lfn:"Lingua Franca Nova",lg:"Ganda",li:"Limburgish",lij:"Ligurian",lil:"Lillooet",liv:"Livonian",lkt:"Lakota",lmo:"Lombard",ln:"Lingala",lo:"Lao",lol:"Mongo",lou:"Louisiana Creole",loz:"Lozi",lrc:"Northern Luri",lsm:"Saamia",lt:"Lithuanian",ltg:"Latgalian",lu:"Luba-Katanga",lua:"Luba-Lulua",lui:"Luiseno",lun:"Lunda",luo:"Luo",lus:"Mizo",luy:"Luyia",lv:"Latvian",lzh:"Literary Chinese",lzz:"Laz",mad:"Madurese",maf:"Mafa",mag:"Magahi",mai:"Maithili",mak:"Makasar",man:"Mandingo",mas:"Masai",mde:"Maba",mdf:"Moksha",mdr:"Mandar",men:"Mende",mer:"Meru",mfe:"Morisyen",mg:"Malagasy",mga:"Middle Irish",mgh:"Makhuwa-Meetto",mgo:"Metaʼ",mh:"Marshallese",mi:"Māori",mic:"Mi'kmaw",min:"Minangkabau",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",mnc:"Manchu",mni:"Manipuri",moe:"Innu-aimun",moh:"Mohawk",mos:"Mossi",mr:"Marathi",mrj:"Western Mari",ms:"Malay",mt:"Maltese",mua:"Mundang",mul:"Multiple languages",mus:"Muscogee",mwl:"Mirandese",mwr:"Marwari",mwv:"Mentawai",my:"Burmese",mye:"Myene",myv:"Erzya",mzn:"Mazanderani",na:"Nauru",nan:"Min Nan Chinese",nap:"Neapolitan",naq:"Nama",nb:"Norwegian Bokmål",nd:"North Ndebele",nds:"Low German","nds-NL":"Low German (Netherlands)",ne:"Nepali",new:"Newari",ng:"Ndonga",nia:"Nias",niu:"Niuean",njo:"Ao Naga",nl:"Dutch","nl-BE":"Dutch (Belgium)",nmg:"Kwasio",nn:"Norwegian Nynorsk",nnh:"Ngiemboon",no:"Norwegian",nog:"Nogai",non:"Old Norse",nov:"Novial",nqo:"N’Ko",nr:"South Ndebele",nso:"Northern Sotho",nus:"Nuer",nv:"Navajo",nwc:"Classical Newari",ny:"Nyanja",nym:"Nyamwezi",nyn:"Nyankole",nyo:"Nyoro",nzi:"Nzima",oc:"Occitan",oj:"Ojibwa",ojb:"Northwestern Ojibwa",ojc:"Central Ojibwa",ojg:"Eastern Ojibwa",ojs:"Oji-Cree",ojw:"Western Ojibwa",oka:"Okanagan",om:"Oromo",or:"Odia",os:"Ossetic",osa:"Osage",ota:"Ottoman Turkish",pa:"Punjabi",pag:"Pangasinan",pal:"Pahlavi",pam:"Pampanga",pap:"Papiamento",pau:"Palauan",pcd:"Picard",pcm:"Nigerian Pidgin",pdc:"Pennsylvania German",pdt:"Plautdietsch",peo:"Old Persian",pfl:"Palatine German",phn:"Phoenician",pi:"Pali",pis:"Pijin",pl:"Polish",pms:"Piedmontese",pnt:"Pontic",pon:"Pohnpeian",pqm:"Maliseet-Passamaquoddy",prg:"Prussian",pro:"Old Provençal",ps:"Pashto",pt:"Portuguese","pt-BR":"Portuguese (Brazil)","pt-PT":"Portuguese (Portugal)",qu:"Quechua",quc:"Kʼicheʼ",qug:"Chimborazo Highland Quichua",raj:"Rajasthani",rap:"Rapanui",rar:"Rarotongan",rgn:"Romagnol",rhg:"Rohingya",rif:"Riffian",rm:"Romansh",rn:"Rundi",ro:"Romanian","ro-MD":"Romanian (Moldova)",rof:"Rombo",rom:"Romany",rtm:"Rotuman",ru:"Russian",rue:"Rusyn",rug:"Roviana",rup:"Aromanian",rw:"Kinyarwanda",rwk:"Rwa",sa:"Sanskrit",sad:"Sandawe",sah:"Yakut",sam:"Samaritan Aramaic",saq:"Samburu",sas:"Sasak",sat:"Santali",saz:"Saurashtra",sba:"Ngambay",sbp:"Sangu",sc:"Sardinian",scn:"Sicilian",sco:"Scots",sd:"Sindhi",sdc:"Sassarese Sardinian",sdh:"Southern Kurdish",se:"Northern Sami",see:"Seneca",seh:"Sena",sei:"Seri",sel:"Selkup",ses:"Koyraboro Senni",sg:"Sango",sga:"Old Irish",sgs:"Samogitian",sh:"Serbo-Croatian",shi:"Tachelhit",shn:"Shan",shu:"Chadian Arabic",si:"Sinhala",sid:"Sidamo",sk:"Slovak",sl:"Slovenian",slh:"Southern Lushootseed",sli:"Lower Silesian",sly:"Selayar",sm:"Samoan",sma:"Southern Sami",smj:"Lule Sami",smn:"Inari Sami",sms:"Skolt Sami",sn:"Shona",snk:"Soninke",so:"Somali",sog:"Sogdien",sq:"Albanian",sr:"Serbian","sr-ME":"Serbian (Montenegro)",srn:"Sranan Tongo",srr:"Serer",ss:"Swati",ssy:"Saho",st:"Southern Sotho",stq:"Saterland Frisian",str:"Straits Salish",su:"Sundanese",suk:"Sukuma",sus:"Susu",sux:"Sumerian",sv:"Swedish",sw:"Swahili","sw-CD":"Swahili (Congo - Kinshasa)",swb:"Comorian",syc:"Classical Syriac",syr:"Syriac",szl:"Silesian",ta:"Tamil",tce:"Southern Tutchone",tcy:"Tulu",te:"Telugu",tem:"Timne",teo:"Teso",ter:"Tereno",tet:"Tetum",tg:"Tajik",tgx:"Tagish",th:"Thai",tht:"Tahltan",ti:"Tigrinya",tig:"Tigre",tiv:"Tiv",tk:"Turkmen",tkl:"Tokelau",tkr:"Tsakhur",tl:"Tagalog",tlh:"Klingon",tli:"Tlingit",tly:"Talysh",tmh:"Tamashek",tn:"Tswana",to:"Tongan",tog:"Nyasa Tonga",tok:"Toki Pona",tpi:"Tok Pisin",tr:"Turkish",tru:"Turoyo",trv:"Taroko",trw:"Torwali",ts:"Tsonga",tsd:"Tsakonian",tsi:"Tsimshian",tt:"Tatar",ttm:"Northern Tutchone",ttt:"Muslim Tat",tum:"Tumbuka",tvl:"Tuvalu",tw:"Twi",twq:"Tasawaq",ty:"Tahitian",tyv:"Tuvinian",tzm:"Central Atlas Tamazight",udm:"Udmurt",ug:"Uyghur",uga:"Ugaritic",uk:"Ukrainian",umb:"Umbundu",und:"Unknown language",ur:"Urdu",uz:"Uzbek",vai:"Vai",ve:"Venda",vec:"Venetian",vep:"Veps",vi:"Vietnamese",vls:"West Flemish",vmf:"Main-Franconian",vmw:"Makhuwa",vo:"Volapük",vot:"Votic",vro:"Võro",vun:"Vunjo",wa:"Walloon",wae:"Walser",wal:"Wolaytta",war:"Waray",was:"Washo",wbp:"Warlpiri",wo:"Wolof",wuu:"Wu Chinese",xal:"Kalmyk",xh:"Xhosa",xmf:"Mingrelian",xnr:"Kangri",xog:"Soga",yao:"Yao",yap:"Yapese",yav:"Yangben",ybb:"Yemba",yi:"Yiddish",yo:"Yoruba",yrl:"Nheengatu",yue:"Cantonese",za:"Zhuang",zap:"Zapotec",zbl:"Blissymbols",zea:"Zeelandic",zen:"Zenaga",zgh:"Standard Moroccan Tamazight",zh:"Chinese","zh-Hans":"Simplified Chinese","zh-Hant":"Traditional Chinese",zu:"Zulu",zun:"Zuni",zxx:"No linguistic content",zza:"Zaza"}}},region:{long:{"001":"world","002":"Africa","003":"North America","005":"South America","009":"Oceania","011":"Western Africa","013":"Central America","014":"Eastern Africa","015":"Northern Africa","017":"Middle Africa","018":"Southern Africa","019":"Americas","021":"Northern America","029":"Caribbean","030":"Eastern Asia","034":"Southern Asia","035":"Southeast Asia","039":"Southern Europe","053":"Australasia","054":"Melanesia","057":"Micronesian Region","061":"Polynesia",142:"Asia",143:"Central Asia",145:"Western Asia",150:"Europe",151:"Eastern Europe",154:"Northern Europe",155:"Western Europe",202:"Sub-Saharan Africa",419:"Latin America",AC:"Ascension Island",AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua & Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Åland Islands",AZ:"Azerbaijan",BA:"Bosnia & Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"St. Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Caribbean Netherlands",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Congo - Kinshasa",CF:"Central African Republic",CG:"Congo - Brazzaville",CH:"Switzerland",CI:"Côte d’Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CP:"Clipperton Island",CQ:"Sark",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curaçao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czechia",DE:"Germany",DG:"Diego Garcia",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EA:"Ceuta & Melilla",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",EU:"European Union",EZ:"Eurozone",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia & South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong SAR China",HM:"Heard & McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",IC:"Canary Islands",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"St. Kitts & Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"St. Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"St. Martin",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar (Burma)",MN:"Mongolia",MO:"Macao SAR China",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"St. Pierre & Miquelon",PN:"Pitcairn Islands",PR:"Puerto Rico",PS:"Palestinian Territories",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",QO:"Outlying Oceania",RE:"Réunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"St. Helena",SI:"Slovenia",SJ:"Svalbard & Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"São Tomé & Príncipe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Eswatini",TA:"Tristan da Cunha",TC:"Turks & Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Türkiye",TT:"Trinidad & Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"U.S. Outlying Islands",UN:"United Nations",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Vatican City",VC:"St. Vincent & Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VI:"U.S. Virgin Islands",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis & Futuna",WS:"Samoa",XA:"Pseudo-Accents",XB:"Pseudo-Bidi",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"Unknown Region",BA:"Bosnia",GB:"UK",HK:"Hong Kong",MM:"Myanmar",MO:"Macao",PS:"Palestine",UN:"UN",US:"US"}}},Va=["af","sq","am","ar","hy","as","az","eu","be","bn","bs","bg","my","ca","zh-CN","zh-TW","zh-HK","hr","cs","da","nl","en","et","fil","fi","fr","gl","ka","de","el","gu","he","hi","hu","is","id","ga","it","ja","kn","kk","km","ko","ky","lo","lv","lt","mk","ms","ml","mt","mr","mn","ne","no","or","fa","pl","pt","pa","ro","ru","sr","si","sk","sl","es","sw","sv","ta","te","th","tr","uk","ur","uz","vi","cy","yi","yo","zu"];var Ha=!1;function Ua(e,t){return{compactLinkRenderer:{title:{simpleText:t},serviceEndpoint:{commandExecutorCommand:{commands:[{selectSubtitlesTrackCommand:{translationLanguage:{languageCode:e,languageName:t}}},{openClientOverlayAction:{type:"CLIENT_OVERLAY_TYPE_CAPTIONS_LANGUAGE",updateAction:!0}},{signalAction:{signal:"POPUP_BACK"}}]}},secondaryIcon:{iconType:"RADIO_BUTTON_UNCHECKED"}}}}function Wa(){if(!Ha){if(!document.querySelector(".html5-video-player"))return setTimeout(Wa,250);if(!window._yttv)return setTimeout(Wa,250);var e=Object.values(window._yttv).find(e=>e&&e.instance&&"function"==typeof e.instance.resolveCommand);if(e&&!e.instance.resolveCommand.isPatchedBySubtitleLocalization){var t=e.instance.resolveCommand;e.instance.resolveCommand=function(e,i){var n;if("CLIENT_OVERLAY_TYPE_CAPTIONS_AUTO_TRANSLATE"===(null==e||null===(n=e.openPopupAction)||void 0===n?void 0:n.uniqueId)){var a=ka("enableShowUserLanguage"),r=ka("enableShowOtherLanguages");if(!a&&!r)return t.apply(this,arguments);var o=e.openPopupAction.popup.overlaySectionRenderer.overlay.overlayTwoPanelRenderer.actionPanel.overlayPanelRenderer.content.overlayPanelItemListRenderer.items,s=function(e){var t=new Set;return e.forEach(e=>{if(e.compactLinkRenderer&&e.compactLinkRenderer.serviceEndpoint){var i,n=null===(i=e.compactLinkRenderer.serviceEndpoint.commandExecutorCommand)||void 0===i?void 0:i.commands;if(n&&n[0]&&n[0].selectSubtitlesTrackCommand){var a=n[0].selectSubtitlesTrackCommand.translationLanguage;a&&(t.add(a.languageCode),t.add(a.languageName))}}}),t}(o);if(a){var l=function(){try{return window.yt&&window.yt.config_&&window.yt.config_.GL?window.yt.config_.GL:(console.warn("TizenTube Subtitle Localization: Could not determine user country code"),null)}catch(e){return console.error("TizenTube Subtitle Localization: Error getting country code:",e),null}}(),u=function(e){if(!e)return null;try{var t=String(e).toUpperCase(),i={CN:"zh-CN",TW:"zh-TW",HK:"zh-HK",SG:"zh-CN"};if(i[t]){var n=i[t];return{code:n,name:_a.language.standard.long[n]||n}}var a=new Intl.Locale("und",{region:t}),r=(a.maximize?a.maximize():a).language||"en";return{code:r,name:_a.language.standard.long[r]||r}}catch(t){return console.warn("TizenTube Subtitle Localization: Could not infer language for country",e,t),null}}(l);if(u)if(function(e,t,i){return e.some(e=>{if(e.compactLinkRenderer&&e.compactLinkRenderer.serviceEndpoint){var n,a=null===(n=e.compactLinkRenderer.serviceEndpoint.commandExecutorCommand)||void 0===n?void 0:n.commands;if(a&&a[0]&&a[0].selectSubtitlesTrackCommand){var r=a[0].selectSubtitlesTrackCommand.translationLanguage;return r&&(r.languageCode===t||r.languageName===i)}}return!1})}(o,u.code,u.name))console.log(`%c[TizenTube Subtitle Localization] User's language ${u.name} already exists in menu`,"background: #4CAF50; color: #ffffff; font-size: 12px;");else{console.log(`%c[TizenTube Subtitle Localization] Adding user's local language: ${u.name} (${u.code})`,"background: #2196F3; color: #ffffff; font-size: 14px; font-weight: bold;");var c=Ua(u.code,u.name),d=o.findIndex(e=>{var t;return"Recommended languages"===(null===(t=e.overlayMessageRenderer)||void 0===t||null===(t=t.subtitle)||void 0===t?void 0:t.simpleText)});if(d>-1)o.splice(d+1,0,c),s.add(u.code),s.add(u.name);else{var h=o.findIndex(e=>{var t;return"Other languages"===(null===(t=e.overlayMessageRenderer)||void 0===t||null===(t=t.subtitle)||void 0===t?void 0:t.simpleText)});h>-1?o.splice(h,0,c):o.unshift(c),s.add(u.code),s.add(u.name)}}else console.warn(`TizenTube Subtitle Localization: No language mapping found for country code: ${l}`)}if(r){var p=Object.entries(function(){try{var e={};return Va.forEach(t=>{if(t.includes("-")){var i=k(t.split("-"),2),n=i[0],a=i[1],r=_a.language.standard.long[n]||t,o=_a.region.long[a]||a;e[t]=`${r} (${o})`}else{var s=_a.language.standard.long[t]||t;e[t]=s}}),e}catch(e){var t={};return Va.forEach(e=>t[e]=e),t}}()).filter(e=>{var t=k(e,2),i=t[0],n=t[1];return!s.has(i)&&!s.has(n)}).sort((e,t)=>{var i=k(e,2)[1],n=k(t,2)[1];return i.localeCompare(n)});p.length>0?(console.log(`%c[TizenTube Subtitle Localization] Adding "Tizen Languages" section with ${p.length} additional languages`,"background: #FF9800; color: #ffffff; font-size: 12px;"),o.push({overlayMessageRenderer:{title:{simpleText:""},subtitle:{simpleText:"Other Languages"},style:"OVERLAY_MESSAGE_STYLE_SUBSECTION_TITLE"}}),p.forEach(e=>{var t=k(e,2),i=t[0],n=t[1];o.push(Ua(i,n))}),console.log('%c[TizenTube Subtitle Localization] Added "Tizen Languages" section',"background: #FF9800; color: #ffffff; font-size: 12px;")):console.log("%c[TizenTube Subtitle Localization] All languages already present in menu","background: #4CAF50; color: #ffffff; font-size: 12px;")}}return t.apply(this,arguments)},e.instance.resolveCommand.isPatchedBySubtitleLocalization=!0,console.log("TizenTube Subtitle Localization: Patch successful!"),Ha=!0}else e?console.log("TizenTube Subtitle Localization: Already patched."):console.error("TizenTube Subtitle Localization: Could not find resolveCommand instance.")}}var Ka=setInterval(()=>{window._yttv&&Object.keys(window._yttv).length>0&&(Wa(),clearInterval(Ka))},1e3);"loading"===document.readyState?document.addEventListener("DOMContentLoaded",Wa):Wa(),console.log("TizenTube Subtitle Localization: Module loaded, waiting for YouTube TV...");var Ga={};function qa(e,t){for(var i,n=[],a=0,r=0,o=[{name:ha("settings.supportTT.title"),icon:"MONEY_HEART",value:null,options:{title:ha("settings.supportTT.title"),subtitle:ha("settings.supportTT.subtitle"),content:(i=[Oa(ha("settings.supportTT.content.1")),Oa(ha("settings.supportTT.content.2")),Oa(ha("settings.supportTT.content.3")),Oa(ha("settings.supportTT.content.4")),Oa(ha("settings.supportTT.content.5")),Oa(ha("settings.supportTT.content.6"))],{scrollPaneRenderer:{content:{scrollPaneItemListRenderer:{items:i}}}})}},{name:ha("settings.options.socialMedia.title"),icon:"PRIVACY_UNLISTED",value:null,options:[{name:"GitHub",link:"https://github.com/reisxd/TizenTube"},{name:"YouTube",link:"https://www.youtube.com/@tizenbrew"},{name:"Discord",link:"https://discord.gg/m2P7v8Y2qR"},{name:"Telegram (Announcements)",link:"https://t.me/tizentubecobaltofficial"},{name:"Telegram (Group)",link:"https://t.me/tizentubeofficial"},{name:"Website",link:"https://tizentube.6513006.xyz"},{name:"Buy Me A Coffee",link:"https://www.buymeacoffee.com/reisxd"},{name:"GitHub Sponsors",link:"https:///github.com/sponsors/reisxd"}].map(e=>{if(!Ga[e.name]){var t=La.qrcode(6,"H");t.addData(e.link),t.make();var i=t.createImgTag(8,8).match(/src="([^"]+)"/)[1];Ga[e.name]=i}return{name:e.name,icon:"OPEN_IN_NEW",value:null,options:{title:e.name,subtitle:e.link,content:Aa([Oa(ha("settings.options.socialMedia.qrCodeScanMessage",{name:e.name})),(n=Ga[e.name],{qrCodeRenderer:{qrCodeImage:{thumbnails:[{url:n}]},style:"QR_CODE_RENDERER_STYLE_ATA_SIDESHEET",trackingParams:null}})])}};var n})},{name:ha("settings.options.adBlock"),icon:"DOLLAR_SIGN",value:"enableAdBlock"},{name:ha("settings.options.sponsorblock.title"),icon:"MONEY_HAND",value:null,menuId:"tt-sponsorblock-settings",menuHeader:{title:ha("settings.options.sponsorblock.title"),subtitle:"https://sponsor.ajay.app/"},options:[{name:ha("settings.options.sponsorblock.options.enableSB"),icon:"MONEY_HAND",value:"enableSponsorBlock"},{name:ha("settings.options.sponsorblock.options.manualSkip"),icon:"DOLLAR_SIGN",value:null,arrayToEdit:"sponsorBlockManualSkips",menuId:"tt-sponsorblock-manual-segment-skip",options:[{name:ha("settings.options.sponsorblock.options.categories.sponsor"),icon:"MONEY_HEART",value:"sponsor"},{name:ha("settings.options.sponsorblock.options.categories.intro"),icon:"PLAY_CIRCLE",value:"intro"},{name:ha("settings.options.sponsorblock.options.categories.outro"),value:"outro"},{name:ha("settings.options.sponsorblock.options.categories.interaction"),value:"interaction"},{name:ha("settings.options.sponsorblock.options.categories.selfpromo"),value:"selfpromo"},{name:ha("settings.options.sponsorblock.options.categories.preview"),value:"preview"},{name:ha("settings.options.sponsorblock.options.categories.filler"),value:"filler"},{name:ha("settings.options.sponsorblock.options.categories.music_offtopic"),value:"music_offtopic"}]},{name:ha("settings.options.sponsorblock.options.segments"),icon:"SETTINGS",value:null,menuId:"tt-sponsorblock-segments",options:[{name:ha("settings.options.sponsorblock.options.categories.sponsor"),icon:"MONEY_HEART",value:"enableSponsorBlockSponsor"},{name:ha("settings.options.sponsorblock.options.categories.intro"),icon:"PLAY_CIRCLE",value:"enableSponsorBlockIntro"},{name:ha("settings.options.sponsorblock.options.categories.outro"),value:"enableSponsorBlockOutro"},{name:ha("settings.options.sponsorblock.options.categories.interaction"),value:"enableSponsorBlockInteraction"},{name:ha("settings.options.sponsorblock.options.categories.selfpromo"),value:"enableSponsorBlockSelfPromo"},{name:ha("settings.options.sponsorblock.options.categories.preview"),value:"enableSponsorBlockPreview"},{name:ha("settings.options.sponsorblock.options.categories.filler"),value:"enableSponsorBlockFiller"},{name:ha("settings.options.sponsorblock.options.categories.music_offtopic"),value:"enableSponsorBlockMusicOfftopic"},{name:ha("settings.options.sponsorblock.options.categories.highlights"),icon:"LOCATION_POINT",value:"enableSponsorBlockHighlight"}]},{name:ha("settings.options.sponsorblock.options.showSBToasts"),value:"enableSponsorBlockToasts"}]},{name:ha("settings.options.dearrow.title"),icon:"VISIBILITY_OFF",value:null,menuHeader:{title:ha("settings.options.dearrow.title"),subtitle:"https://dearrow.ajay.app/"},options:[{name:ha("settings.options.dearrow.options.enableDA"),icon:"VISIBILITY_OFF",value:"enableDeArrow"},{name:ha("settings.options.dearrow.options.enableDAThumbnails"),icon:"TV",value:"enableDeArrowThumbnails"}]},{name:ha("settings.options.misc.title"),icon:"SETTINGS",value:null,options:[{name:ha("settings.options.misc.options.endScreenCards"),icon:"VISIBILITY_OFF",value:"enableHideEndScreenCards"},{name:ha("settings.options.misc.options.youThereRenderer"),icon:"HELP",value:"enableYouThereRenderer"},{name:ha("settings.options.misc.options.paidPromoOverlay"),icon:"MONEY_HAND",value:"enablePaidPromotionOverlay"},{name:ha("settings.options.misc.options.whosWatching.title"),icon:"ACCOUNT_CIRCLE",menuId:"tt-whos-watching-menu-settings",value:null,options:[{name:ha("settings.options.misc.options.whosWatching.options.enableWW"),value:"enableWhoIsWatchingMenu"},{name:ha("settings.options.misc.options.whosWatching.options.permaEnableWW"),value:"permanentlyEnableWhoIsWatchingMenu"},{name:ha("settings.options.misc.options.whosWatching.options.enableWWOnExit"),value:"enableWhosWatchingMenuOnAppExit"}]},{name:ha("settings.options.misc.options.fixUI"),icon:"STAR",value:"enableFixedUI"},{name:ha("settings.options.misc.options.hqThumbnails"),icon:"VIDEO_QUALITY",value:"enableHqThumbnails"},{name:ha("settings.options.misc.options.longPress"),value:"enableLongPress"},{name:ha("settings.options.misc.options.shorts"),icon:"YOUTUBE_SHORTS_FILL_24",value:"enableShorts"},{name:ha("settings.options.misc.options.videoPreviews"),value:"enablePreviews"},{name:ha("settings.options.misc.options.ttWelcomeMsg"),value:"showWelcomeToast"},{name:ha("settings.options.misc.options.guestSignInReminder"),value:"enableSigninReminder"},{name:ha("settings.options.misc.options.reloadHomeOnStartup"),value:"reloadHomeOnStartup"}]},{name:ha("settings.options.subtitles.title"),icon:"TRANSLATE",value:null,options:[{name:ha("settings.options.subtitles.options.showLocalSubtitle"),value:"enableShowUserLanguage"},{name:ha("settings.options.subtitles.options.showHiddenSubtitles"),value:"enableShowOtherLanguages"}]},{name:ha("settings.options.videoPlayer.title"),icon:"VIDEO_YOUTUBE",value:null,menuHeader:{title:ha("settings.options.videoPlayer.title"),subtitle:ha("settings.options.videoPlayer.subtitle")},options:[{name:ha("settings.options.videoPlayer.options.patching.title"),icon:"SETTINGS",value:null,menuId:"tt-video-player-ui-patching",options:[{name:ha("settings.options.videoPlayer.options.patching.options.enableVPUIPatching"),icon:"SETTINGS",value:"enablePatchingVideoPlayer"},{name:ha("settings.options.videoPlayer.options.patching.options.previousNextBtns"),icon:"SKIP_NEXT",value:"enablePreviousNextButtons"},{name:ha("settings.options.videoPlayer.options.patching.options.showSuperThxBtn"),icon:"MONEY_HEART",value:"enableSuperThanksButton"},{name:ha("settings.options.videoPlayer.options.patching.options.showSpeedCtrlBtn"),icon:"SLOW_MOTION_VIDEO",value:"enableSpeedControlsButton"}]},{name:ha("settings.options.videoPlayer.options.preferredVideoQuality.title"),icon:"VIDEO_QUALITY",value:null,menuId:"tt-preferred-video-quality",menuHeader:{title:ha("settings.options.videoPlayer.options.preferredVideoQuality.title"),subtitle:ha("settings.options.videoPlayer.options.preferredVideoQuality.subtitle")},options:["Auto","2160p","1440p","1080p","720p","480p","360p","240p","144p"].map(e=>({name:e,key:"preferredVideoQuality",value:e.toLowerCase()}))},{name:ha("settings.options.videoPlayer.options.speedSettings.title"),icon:"SLOW_MOTION_VIDEO",value:null,menuId:"tt-speed-settings-increments",menuHeader:{title:ha("settings.options.videoPlayer.options.speedSettings.title"),subtitle:ha("settings.options.videoPlayer.options.speedSettings.subtitle")},options:[.05,.1,.15,.2,.25,.3,.35,.4,.45,.5].map(e=>({name:`${e}x`,key:"speedSettingsIncrement",value:e}))},{name:ha("settings.options.videoPlayer.options.preferredVideoCodec.title"),icon:"VIDEO_QUALITY",value:null,menuId:"tt-preferred-video-codec",menuHeader:{title:ha("settings.options.videoPlayer.options.preferredVideoCodec.title"),subtitle:ha("settings.options.videoPlayer.options.preferredVideoCodec.subtitle")},options:["any","vp9","av01","avc1"].map(e=>({name:"any"===e?"Any":e.toUpperCase(),key:"preferredVideoCodec",value:e}))},window.h5vcc&&window.h5vcc.tizentube&&window.h5vcc.tizentube.SetFrameRate?{name:ha("settings.options.videoPlayer.options.afr"),icon:"SLOW_MOTION_VIDEO",value:"autoFrameRate"}:null,window.h5vcc&&window.h5vcc.tizentube&&window.h5vcc.tizentube.SetFrameRate?{name:ha("settings.options.videoPlayer.options.afrPauseDuration.title"),icon:"TIMER",value:null,menuId:"tt-auto-frame-rate-pause-duration",menuHeader:{title:ha("settings.options.videoPlayer.options.afrPauseDuration.title"),subtitle:ha("settings.options.videoPlayer.options.afrPauseDuration.subtitle")},options:[0,.5,1,1.5,2,2.5,3,3.5,4,4.5,5].map(e=>({name:`${e} seconds`,key:"autoFrameRatePauseVideoFor",value:1e3*e}))}:null]},{name:ha("settings.options.uiSettings.title"),icon:"SETTINGS",value:null,menuHeader:{title:ha("settings.options.uiSettings.title"),subtitle:ha("settings.options.uiSettings.subtitle")},options:[{name:ha("settings.options.uiSettings.options.hideWatchedVideos.title"),icon:"VISIBILITY_OFF",value:null,menuId:"tt-hide-watched-videos-settings",options:[{name:ha("settings.options.uiSettings.options.hideWatchedVideos.options.enableHideWatchedVideos"),icon:"VISIBILITY_OFF",value:"enableHideWatchedVideos"},{name:ha("settings.options.uiSettings.options.hideWatchedVideos.options.watchedVideosThreshold.title"),value:null,menuId:"tt-hide-watched-videos-threshold",menuHeader:{title:ha("settings.options.uiSettings.options.hideWatchedVideos.options.watchedVideosThreshold.title"),subtitle:ha("settings.options.uiSettings.options.hideWatchedVideos.options.watchedVideosThreshold.subtitle")},options:[0,10,20,30,40,50,60,70,80,90,100].map(e=>({name:`${e}%`,key:"hideWatchedVideosThreshold",value:e}))},{name:ha("settings.options.uiSettings.options.hideWatchedVideos.options.setPagesToHideWatchedVideos"),value:null,arrayToEdit:"hideWatchedVideosPages",menuId:"tt-hide-watched-videos-pages",options:[{name:"Search Results",value:"search"},{name:"Home",value:"home"},{name:"Music",value:"music"},{name:"Gaming",value:"gaming"},{name:"Subscriptions",value:"subscriptions"},{name:"Library",value:"library"},{name:"More",value:"more"}]}]},{name:ha("settings.options.uiSettings.options.screenDimming.title"),icon:"EYE_OFF",value:null,menuId:"tt-screen-dimming-settings",options:[{name:ha("settings.options.uiSettings.options.screenDimming.options.enableScreenDimming"),icon:"EYE_OFF",value:"enableScreenDimming"},{name:ha("settings.options.uiSettings.options.screenDimming.options.dimmingTimeout.title"),icon:"TIMER",value:null,menuId:"tt-dimming-timeout",menuHeader:{title:ha("settings.options.uiSettings.options.screenDimming.options.dimmingTimeout.title"),subtitle:ha("settings.options.uiSettings.options.screenDimming.options.dimmingTimeout.subtitle")},options:[10,20,30,60,120,180,240,300].map(e=>({name:e>=60?`${e/60} minute${e/60>1?"s":""}`:`${e} seconds`,key:"dimmingTimeout",value:e}))},{name:ha("settings.options.uiSettings.options.screenDimming.options.dimmingOpacity.title"),icon:"LENS_BLUE",value:null,menuId:"tt-dimming-opacity",menuHeader:{title:ha("settings.options.uiSettings.options.screenDimming.options.dimmingOpacity.title"),subtitle:ha("settings.options.uiSettings.options.screenDimming.options.dimmingOpacity.subtitle")},options:[.1,.2,.3,.4,.5,.6,.7,.8,.9,1].map(e=>({name:`${Math.round(100*e)}%`,key:"dimmingOpacity",value:e}))}]},{name:ha("settings.options.uiSettings.options.disableSidebarContents.title"),icon:"MENU",value:null,arrayToEdit:"disabledSidebarContents",menuId:"tt-sidebar-contents",menuHeader:{title:ha("settings.options.uiSettings.options.disableSidebarContents.title"),subtitle:ha("settings.options.uiSettings.options.disableSidebarContents.subtitle")},options:[{name:"Search",icon:"SEARCH",value:"SEARCH"},{name:"Home",icon:"WHAT_TO_WATCH",value:"WHAT_TO_WATCH"},{name:"Sports",icon:"TROPHY",value:"TROPHY"},{name:"News",icon:"NEWS",value:"NEWS"},{name:"Music",icon:"YOUTUBE_MUSIC",value:"YOUTUBE_MUSIC"},{name:"Podcasts",icon:"BROADCAST",value:"BROADCAST"},{name:"Movies & TV",icon:"CLAPPERBOARD",value:"CLAPPERBOARD"},{name:"Live",icon:"LIVE",value:"LIVE"},{name:"Gaming",icon:"GAMING",value:"GAMING"},{name:"Subscriptions",icon:"SUBSCRIPTIONS",value:"SUBSCRIPTIONS"},{name:"Library",icon:"TAB_LIBRARY",value:"TAB_LIBRARY"},{name:"More",icon:"TAB_MORE",value:"TAB_MORE"}]},{name:ha("settings.options.uiSettings.options.launchToOnStartup.title"),icon:"TV",value:null,menuId:"tt-launch-to-on-startup",menuHeader:{title:ha("settings.options.uiSettings.options.launchToOnStartup.title"),subtitle:ha("settings.options.uiSettings.options.launchToOnStartup.subtitle")},options:[{name:"Search",icon:"SEARCH",key:"launchToOnStartup",value:JSON.stringify({searchEndpoint:{query:""}})},{name:"Home",icon:"WHAT_TO_WATCH",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics"}})},{name:"Sports",icon:"TROPHY",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_sports"}})},{name:"News",icon:"NEWS",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_news"}})},{name:"Music",icon:"YOUTUBE_MUSIC",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_music"}})},{name:"Podcasts",icon:"BROADCAST",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_podcasts"}})},{name:"Movies & TV",icon:"CLAPPERBOARD",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_movies"}})},{name:"Gaming",icon:"GAMING",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_gaming"}})},{name:"Live",icon:"LIVE",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_live"}})},{name:"Subscriptions",icon:"SUBSCRIPTIONS",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEsubscriptions"}})},{name:"Library",icon:"TAB_LIBRARY",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FElibrary"}})},{name:"More",icon:"TAB_MORE",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_more"}})}]},{name:ha("settings.options.uiSettings.options.sortSubscriptionsByAlphabet"),icon:"SUBSCRIPTIONS",value:"sortSubscriptionsByAlphabet"}]},window.h5vcc&&window.h5vcc.tizentube?{name:ha("settings.options.updater.title"),icon:"SYSTEM_UPDATE",value:null,menuHeader:{title:ha("settings.options.updater.title"),subtitle:ha("settings.options.updater.menuSubtitle")},subtitle:ha("settings.options.updater.versionSubtitle",{version:window.h5vcc.tizentube.GetVersion()}),options:[Pa({title:ha("settings.options.updater.options.checkForUpdates")},{icon:"SYSTEM_UPDATE"},[{customAction:{action:"CHECK_FOR_UPDATES"}}]),{name:ha("settings.options.updater.options.checkForUpdatesOnStartup"),icon:"SYSTEM_UPDATE",value:"enableUpdater"}]}:null];r<o.length;r++){var s,l=o[r];if(l){var u=l.value?ka(l.value):null;n.push(Pa({title:l.name,subtitle:l.subtitle},{icon:l.icon?l.icon:"CHEVRON_DOWN",secondaryIcon:null===u?"CHEVRON_RIGHT":u?"CHECK_BOX":"CHECK_BOX_OUTLINE_BLANK"},null!==u?[{setClientSettingEndpoint:{settingDatas:[{clientSettingEnum:{item:l.value},boolValue:!ka(l.value)}]}},{customAction:{action:"SETTINGS_UPDATE",parameters:[a]}}]:[{customAction:{action:"OPTIONS_SHOW",parameters:{options:l.options,selectedIndex:0,update:!(null===(s=l.options)||void 0===s||!s.title)&&"customUI",menuId:l.menuId,arrayToEdit:l.arrayToEdit,menuHeader:l.menuHeader}}}])),a++}}Ca({title:ha("settings.ttSettings.title"),subtitle:ha("settings.ttSettings.madeByText")},Aa(n,t&&t.length>0?t[0]:0),"tt-settings",e)}var Ja=setInterval(()=>{document.querySelector("video")&&(!function(){document.querySelector("video").addEventListener("canplay",()=>{document.getElementsByTagName("video")[0].playbackRate=ka("videoSpeed")});var e=e=>{if(406==e.keyCode||191==e.keyCode)return e.preventDefault(),e.stopPropagation(),"keydown"!==e.type||(Xa(),!1)};document.addEventListener("keydown",e,!0),document.addEventListener("keypress",e,!0),document.addEventListener("keyup",e,!0)}(),clearInterval(Ja))},1e3);function Xa(){for(var e=ka("videoSpeed"),t=0,i=ka("speedSettingsIncrement")||.25,n=[],a=i;a<=5;a+=i){var r=Math.round(100*a)/100;n.push(Pa({title:`${r}x`},null,[{signalAction:{signal:"POPUP_BACK"}},{setClientSettingEndpoint:{settingDatas:[{clientSettingEnum:{item:"videoSpeed"},intValue:r.toString()}]}},{customAction:{action:"SET_PLAYER_SPEED",parameters:r.toString()}}])),e===r&&(t=n.length-1)}n.push(Pa({title:"Fix stuttering (1.0001x)"},null,[{signalAction:{signal:"POPUP_BACK"}},{setClientSettingEndpoint:{settingDatas:[{clientSettingEnum:{item:"videoSpeed"},intValue:"1.0001"}]}},{customAction:{action:"SET_PLAYER_SPEED",parameters:"1.0001"}}])),Ca("Playback Speed",Aa(n,t),"tt-speed")}if(window.h5vcc&&window.h5vcc.tizentube&&ka("enableUpdater")){var Ya=Math.floor(Date.now()/1e3);ka("dontCheckUpdateUntil")>Ya?console.info("Skipping update check until",new Date(1e3*ka("dontCheckUpdateUntil")).toLocaleString()):$a()}function $a(e){var t=window.h5vcc.tizentube.GetVersion(),i=Math.floor(Date.now()/1e3);fetch("https://api.github.com/repos/reisxd/TizenTubeCobalt/releases/latest").then(e=>{if(!e.ok)throw new Error("Network response was not ok");return e.json()}).then(n=>{var a,r,o=n.tag_name.replace("v",""),s=new Date(n.published_at).getTime()/1e3;window.h5vcc.tizentube.GetArchitecture&&(a=window.h5vcc.tizentube.GetArchitecture()),r=a?"arm64-v8a"===a?n.assets.find(e=>e.name.includes("arm64.apk")).browser_download_url:n.assets.find(e=>e.name.includes("arm.apk")).browser_download_url:n.assets[0].browser_download_url,o!==t?(console.info(`New version available: ${o} (current: ${t})`),Ca({title:"Update Available",subtitle:`A new version of TizenTube Cobalt is available: ${o}\nCurrent version: ${t}\nRelease Date: ${new Date(1e3*s).toLocaleString()}\nRelease Notes:\n${n.body}`},Aa([Pa({title:"Update Now",subtitle:"Click to download the latest version."},{icon:"DOWN_ARROW"},[{customAction:{action:"UPDATE_DOWNLOAD",parameters:r}},{signalAction:{signal:"POPUP_BACK"}}]),Pa({title:"Remind Me Later",subtitle:"Check for updates later."},{icon:"SEARCH_HISTORY"},[{customAction:{action:"UPDATE_REMIND_LATER",parameters:i+86400}},{signalAction:{signal:"POPUP_BACK"}}])]),"tt-update-modal",!1)):(console.info("You are using the latest version of TizenTube."),e&&Ea("TizenTube is up to date",`You are using the latest version (${t}) of TizenTube Cobalt.`,null))}).catch(e=>{console.error("Error fetching the latest release:",e),Ea("TizenTube update check failed","Could not check for updates.",null)})}function Qa(e,t){for(var i in window._yttv)if(window._yttv[i]&&window._yttv[i].instance&&window._yttv[i].instance.resolveCommand)return window._yttv[i].instance.resolveCommand(e,t)}function Za(e,t){switch(e){case"SETTINGS_UPDATE":qa(!0,t);break;case"OPTIONS_SHOW":!function(e,t){if("customUI"!==t){var i=[];if(void 0!==e.arrayToEdit){var n,a=ka(e.arrayToEdit),r=p(e.options);try{for(r.s();!(n=r.n()).done;){var o=n.value;i.push(Pa({title:o.name,subtitle:o.subtitle},{icon:o.icon?o.icon:"CHEVRON_DOWN",secondaryIcon:a.includes(o.value)?"CHECK_BOX":"CHECK_BOX_OUTLINE_BLANK"},[{setClientSettingEndpoint:{settingDatas:[{clientSettingEnum:{item:e.arrayToEdit},arrayValue:o.value}]}},{customAction:{action:"OPTIONS_SHOW",parameters:{options:e.options,selectedIndex:e.options.indexOf(o),update:!0,menuId:e.menuId,arrayToEdit:e.arrayToEdit,menuHeader:e.menuHeader}}}]))}}catch(e){r.e(e)}finally{r.f()}}else{var s,l=0,u=p(e.options);try{for(u.s();!(s=u.n()).done;){var c,d,h,m=s.value;if(m)if(m.compactLinkRenderer)i.push(m),l++;else{var g=null!==m.key&&void 0!==m.key,f=ka(g?m.key:m.value);i.push(Pa({title:m.name,subtitle:m.subtitle},{icon:m.icon?m.icon:"CHEVRON_DOWN",secondaryIcon:g?f===m.value?"RADIO_BUTTON_CHECKED":"RADIO_BUTTON_UNCHECKED":null===m.value?"CHEVRON_RIGHT":f?"CHECK_BOX":"CHECK_BOX_OUTLINE_BLANK"},null===m.value?[{customAction:{action:"OPTIONS_SHOW",parameters:{options:m.options,selectedIndex:0,update:!(null===(c=m.options)||void 0===c||!c.title)&&"customUI",menuId:m.menuId,arrayToEdit:m.arrayToEdit,menuHeader:m.menuHeader}}}]:null!==m.key&&void 0!==m.key?[{setClientSettingEndpoint:{settingDatas:[{clientSettingEnum:{item:m.key},stringValue:m.value}]}},{customAction:{action:"OPTIONS_SHOW",parameters:{options:e.options,selectedIndex:l,update:null===(d=e.options)||void 0===d||!d.title||"customUI",menuId:e.menuId,arrayToEdit:e.arrayToEdit,menuHeader:e.menuHeader}}}]:[{setClientSettingEndpoint:{settingDatas:[{clientSettingEnum:{item:m.value},boolValue:!f}]}},{customAction:{action:"OPTIONS_SHOW",parameters:{options:e.options,selectedIndex:l,update:null===(h=e.options)||void 0===h||!h.title||"customUI",menuId:e.menuId,arrayToEdit:e.arrayToEdit,menuHeader:e.menuHeader}}}])),l++}}}catch(e){u.e(e)}finally{u.f()}}Ca(e.menuHeader?e.menuHeader:"TizenTube Settings",Aa(i,e.selectedIndex),e.menuId||"tt-settings-options",t)}else{var v=e.options;Ca({title:v.title,subtitle:v.subtitle},v.content,"tt-settings-support",!1)}}(t,t.update);break;case"SKIP":var i=document.createEvent("Event");i.initEvent("keydown",!0,!0),i.keyCode=27,i.which=27,document.dispatchEvent(i),document.querySelector("video").currentTime=t.time;break;case"TT_SETTINGS_SHOW":qa();break;case"TT_SPEED_SETTINGS_SHOW":Xa();break;case"UPDATE_REMIND_LATER":Sa("dontCheckUpdateUntil",t);break;case"UPDATE_DOWNLOAD":window.h5vcc.tizentube.InstallAppFromURL(t),Ea("TizenTube Update","Downloading update, please wait...");break;case"SET_PLAYER_SPEED":var n=Number(t);document.querySelector("video").playbackRate=n;break;case"ENTER_PIP":!function(){if(wa){var e=Math.floor(document.querySelector("video").currentTime),t=document.querySelector("video"),i=document.querySelector("ytlr-player"),n=document.querySelector("ytlr-player-container"),a=new MutationObserver(r=>{r.forEach(r=>{if("class"===r.attributeName&&!i.classList.contains("ytLrPlayerEnabled")){function o(){n.style.zIndex="10",i.style.display="block",i.style.backgroundColor="rgba(0,0,0,0)"}function s(){t.style.removeProperty("inset");var e=window.innerWidth/3.5,i=window.innerHeight/3.5;t.style.width=`${e}px`,t.style.height=`${i}px`,t.style.top="68vh",t.style.left="68vw",window.isPipPlaying=!0,t.removeEventListener("play",s)}o(),setTimeout(o,500),t.addEventListener("play",s),a.disconnect(),setTimeout(()=>{wa.loadedPlaybackConfig.watchEndpoint.startTimeSeconds=e,wa.loadVideo(wa.loadedPlaybackConfig)},1e3)}})});a.observe(i,{attributes:!0}),Qa({signalAction:{signal:"HISTORY_BACK"}})}}();break;case"SHOW_TOAST":Ea("TizenTube",t);break;case"ADD_TO_QUEUE":window.queuedVideos.videos.push(t),Ea("TizenTube","Video added to queue.");break;case"CLEAR_QUEUE":window.queuedVideos.videos=[],Ea("TizenTube","Video queue cleared.");break;case"CHECK_FOR_UPDATES":$a(!0)}}var er=JSON.parse;for(var tr in JSON.parse=function(){var e,t,i,n,a,r,o,s,l,u,c,d,h,m,g,f,v,b,y,k=er.apply(this,arguments),S=ka("enableAdBlock"),x=ka("enableSigninReminder");if(k.adPlacements&&S&&(k.adPlacements=[]),k.playerAds&&S&&(k.playerAds=!1),k.adSlots&&S&&(k.adSlots=[]),k.paidContentOverlay&&!ka("enablePaidPromotionOverlay")&&(k.paidContentOverlay=null),null!=k&&null!==(e=k.streamingData)&&void 0!==e&&e.adaptiveFormats&&"any"!==ka("videoPreferredCodec")){var w=ka("videoPreferredCodec");k.streamingData.adaptiveFormats.find(e=>e.mimeType.includes(w))&&(k.streamingData.adaptiveFormats=k.streamingData.adaptiveFormats.filter(e=>!!e.mimeType.startsWith("audio/")||e.mimeType.includes(w)))}if(null!=k&&null!==(t=k.contents)&&void 0!==t&&null!==(t=t.tvBrowseRenderer)&&void 0!==t&&null!==(t=t.content)&&void 0!==t&&null!==(t=t.tvSurfaceContentRenderer)&&void 0!==t&&null!==(t=t.content)&&void 0!==t&&null!==(t=t.sectionListRenderer)&&void 0!==t&&t.contents){if(x||(k.contents.tvBrowseRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents=k.contents.tvBrowseRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents.filter(e=>!e.feedNudgeRenderer)),S){k.contents.tvBrowseRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents=k.contents.tvBrowseRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents.filter(e=>!e.adSlotRenderer);var D,T=p(k.contents.tvBrowseRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents);try{for(T.s();!(D=T.n()).done;){var E,C=D.value;C.shelfRenderer&&null!==(E=C.shelfRenderer.content)&&void 0!==E&&null!==(E=E.horizontalListRenderer)&&void 0!==E&&E.items&&(C.shelfRenderer.content.horizontalListRenderer.items=C.shelfRenderer.content.horizontalListRenderer.items.filter(e=>!e.adSlotRenderer))}}catch(e){T.e(e)}finally{T.f()}}ir(k.contents.tvBrowseRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents)}(k.endscreen&&ka("enableHideEndScreenCards")&&(k.endscreen=null),k.messages&&Array.isArray(k.messages)&&!ka("enableYouThereRenderer")&&(k.messages=k.messages.filter(e=>!(null!=e&&e.youThereRenderer))),!Array.isArray(k)&&null!=k&&k.entries&&S)&&(k.entries=null===(d=k.entries)||void 0===d?void 0:d.filter(e=>{var t;return!(null!=e&&null!==(t=e.command)&&void 0!==t&&null!==(t=t.reelWatchEndpoint)&&void 0!==t&&null!==(t=t.adClientParams)&&void 0!==t&&t.isAd)}));if(null!=k&&null!==(i=k.title)&&void 0!==i&&i.runs&&(h=k,b=function(e,t,i){var n={settingCategoryCollectionRenderer:{items:t,categoryId:e,focused:!1,trackingParams:"null"}};return i&&(n.settingCategoryCollectionRenderer.title={runs:[{text:i}]}),n}("tizentube_category",[(m=ha("settings.ttSettings.title"),g="tizentube_open_action",f={customAction:{action:"TT_SETTINGS_SHOW",parameters:[]}},v=ha("settings.ttSettings.summary"),{settingActionRenderer:{title:{runs:[{text:m}]},serviceEndpoint:f,summary:{runs:[{text:v}]},trackingParams:"null",actionLabel:{runs:[{text:m}]},itemId:g,thumbnail:{thumbnails:[{url:"https://www.gstatic.com/ytlr/img/parent_code.png"}]}}})]),h.items.unshift(b)),null!=k&&null!==(n=k.contents)&&void 0!==n&&null!==(n=n.sectionListRenderer)&&void 0!==n&&n.contents&&ir(k.contents.sectionListRenderer.contents),null!=k&&null!==(a=k.continuationContents)&&void 0!==a&&null!==(a=a.sectionListContinuation)&&void 0!==a&&a.contents&&ir(k.continuationContents.sectionListContinuation.contents),null!=k&&null!==(r=k.continuationContents)&&void 0!==r&&null!==(r=r.horizontalListContinuation)&&void 0!==r&&r.items&&(ar(k.continuationContents.horizontalListContinuation.items),rr(k.continuationContents.horizontalListContinuation.items),or(k.continuationContents.horizontalListContinuation.items),k.continuationContents.horizontalListContinuation.items=sr(k.continuationContents.horizontalListContinuation.items)),null!=k&&null!==(o=k.contents)&&void 0!==o&&null!==(o=o.tvBrowseRenderer)&&void 0!==o&&null!==(o=o.content)&&void 0!==o&&null!==(o=o.tvSecondaryNavRenderer)&&void 0!==o&&o.sections)for(var A=0;A<k.contents.tvBrowseRenderer.content.tvSecondaryNavRenderer.sections.length;A++){var P=k.contents.tvBrowseRenderer.content.tvSecondaryNavRenderer.sections[A].tvSecondaryNavSectionRenderer;if(P&&P.tabs){ka("sortSubscriptionsByAlphabet")&&P.tabs.sort((e,t)=>e.tabRenderer.selected&&!t.tabRenderer.selected?-1:!e.tabRenderer.selected&&t.tabRenderer.selected?1:e.tabRenderer.title.localeCompare(t.tabRenderer.title));for(var B=0;B<P.tabs.length;B++){var z,I=P.tabs[B];if(null!==(z=I.tabRenderer.content)&&void 0!==z&&null!==(z=z.tvSurfaceContentRenderer)&&void 0!==z&&null!==(z=z.content)&&void 0!==z&&null!==(z=z.sectionListRenderer)&&void 0!==z&&z.contents){var F=P.tabs.indexOf(I),O=I.tabRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents;ir(O),P.tabs[F].tabRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents=O}}}}if(null!=k&&null!==(s=k.contents)&&void 0!==s&&null!==(s=s.singleColumnWatchNextResults)&&void 0!==s&&null!==(s=s.pivot)&&void 0!==s&&s.sectionListRenderer&&(x||(k.contents.singleColumnWatchNextResults.pivot.sectionListRenderer.contents=k.contents.singleColumnWatchNextResults.pivot.sectionListRenderer.contents.filter(e=>!e.alertWithActionsRenderer)),ir(k.contents.singleColumnWatchNextResults.pivot.sectionListRenderer.contents,!1),window.queuedVideos.videos.length>0)){var j=window.queuedVideos.videos.slice();j.unshift({tileRenderer:{contentType:"TILE_CONTENT_TYPE_VIDEO",metadata:{tileMetadataRenderer:{title:{simpleText:"Clear Queue"}}},onSelectCommand:{customAction:{action:"CLEAR_QUEUE"}},style:"TILE_STYLE_YTLR_DEFAULT"}}),k.contents.singleColumnWatchNextResults.pivot.sectionListRenderer.contents.unshift(function(e,t){return{shelfRenderer:{shelfHeaderRenderer:{title:{simpleText:e}},tvhtml5ShelfRendererType:"TVHTML5_SHELF_RENDERER_TYPE_GRID",content:{horizontalListRenderer:{items:t,selectedIndex:arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,visibleItemCount:3}}}}}("Queued Videos",j,-1!==j.findIndex(e=>e.contentId===window.queuedVideos.lastVideoId)?j.findIndex(e=>e.contentId===window.queuedVideos.lastVideoId):0))}if(ka("sponsorBlockManualSkips").length>0&&null!=k&&null!==(l=k.playerOverlays)&&void 0!==l&&l.playerOverlayRenderer){var M,R=ka("sponsorBlockManualSkips"),N=[];if(null!==(M=window)&&void 0!==M&&null!==(M=M.sponsorblock)&&void 0!==M&&M.segments){var L,_=p(window.sponsorblock.segments);try{for(_.s();!(L=_.n()).done;){var V=L.value;if(R.includes(V.category)){var H=Ba(ha("sponsorblock.toasts.skip",{segment:V.category}),"SKIP_NEXT",{clickTrackingParams:null,showEngagementPanelEndpoint:{customAction:{action:"SKIP",parameters:{time:V.segment[1]}}}},1e3*V.segment[0],1e3*V.segment[1]-1e3*V.segment[0]);N.push(H)}}}catch(e){_.e(e)}finally{_.f()}k.playerOverlays.playerOverlayRenderer.timelyActionRenderers=N}}else null!=k&&null!==(u=k.playerOverlays)&&void 0!==u&&u.playerOverlayRenderer&&(k.playerOverlays.playerOverlayRenderer.timelyActionRenderers=[]);if(null!=k&&null!==(c=k.transportControls)&&void 0!==c&&null!==(c=c.transportControlsRenderer)&&void 0!==c&&c.promotedActions&&ka("enableSponsorBlockHighlight")&&(null!==(y=window)&&void 0!==y&&null!==(y=y.sponsorblock)&&void 0!==y&&y.segments)){var U=window.sponsorblock.segments.find(e=>"poi_highlight"===e.category);U&&k.transportControls.transportControlsRenderer.promotedActions.push({type:"TRANSPORT_CONTROLS_BUTTON_TYPE_SPONSORBLOCK_HIGHLIGHT",button:{buttonRenderer:ja(!1,ha("sponsorblock.toasts.skipToHighlight"),"SKIP_NEXT",{clickTrackingParams:null,customAction:{action:"SKIP",parameters:{time:U.segment[0]}}})}})}return k},window.JSON.parse=JSON.parse,window._yttv)window._yttv[tr]&&window._yttv[tr].JSON&&window._yttv[tr].JSON.parse&&(window._yttv[tr].JSON.parse=JSON.parse);function ir(e){var t,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=p(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;if(a.shelfRenderer){var r;if(null===(r=a.shelfRenderer.content)||void 0===r||null===(r=r.horizontalListRenderer)||void 0===r||!r.items)continue;if(ar(a.shelfRenderer.content.horizontalListRenderer.items),rr(a.shelfRenderer.content.horizontalListRenderer.items),or(a.shelfRenderer.content.horizontalListRenderer.items),i&&nr(a.shelfRenderer.content.horizontalListRenderer.items),a.shelfRenderer.content.horizontalListRenderer.items=sr(a.shelfRenderer.content.horizontalListRenderer.items),!ka("enableShorts")){if("TVHTML5_SHELF_RENDERER_TYPE_SHORTS"===a.shelfRenderer.tvhtml5ShelfRendererType){e.splice(e.indexOf(a),1);continue}a.shelfRenderer.content.horizontalListRenderer.items=a.shelfRenderer.content.horizontalListRenderer.items.filter(e=>{var t;return"TVHTML5_TILE_RENDERER_TYPE_SHORTS"!==(null===(t=e.tileRenderer)||void 0===t?void 0:t.tvhtml5ShelfRendererType)})}}}}catch(e){n.e(e)}finally{n.f()}}function nr(e){if(ka("enablePreviews")){var t,i=p(e);try{for(i.s();!(t=i.n()).done;){var n=t.value;if(n.tileRenderer){var a,r,o=n.tileRenderer.onSelectCommand;if(null!==(a=n.tileRenderer)&&void 0!==a&&null!==(a=a.onFocusCommand)&&void 0!==a&&a.playbackEndpoint)continue;if(null!==(r=n.tileRenderer)&&void 0!==r&&null!==(r=r.onFocusCommand)&&void 0!==r&&r.commandExecutorCommand)continue;n.tileRenderer.onFocusCommand={startInlinePlaybackCommand:{blockAdoption:!0,caption:!1,delayMs:3e3,durationMs:4e4,muted:!1,restartPlaybackBeforeSeconds:10,resumeVideo:!0,playbackEndpoint:o}}}}}catch(e){i.e(e)}finally{i.f()}}}function ar(e){var t,i=p(e);try{var n=function(){var i=t.value;if(i.adSlotRenderer){var n=e.indexOf(i);return e.splice(n,1),0}if(!i.tileRenderer)return 0;if(ka("enableDeArrow")){var a=i.tileRenderer.contentId;fetch(`https://sponsor.ajay.app/api/branding?videoID=${a}`).then(e=>e.json()).then(e=>{if(e.titles.length>0){var t=e.titles.reduce((e,t)=>e.votes>t.votes?e:t);i.tileRenderer.metadata.tileMetadataRenderer.title.simpleText=t.title}if(e.thumbnails.length>0&&ka("enableDeArrowThumbnails")){var n=e.thumbnails.reduce((e,t)=>e.votes>t.votes?e:t);n.timestamp&&(i.tileRenderer.header.tileHeaderRenderer.thumbnail.thumbnails=[{url:`https://dearrow-thumb.ajay.app/api/v1/getThumbnail?videoID=${a}&time=${n.timestamp}`,width:1280,height:640}])}}).catch(()=>{})}};for(i.s();!(t=i.n()).done;)n()}catch(e){i.e(e)}finally{i.f()}}function rr(e){var t,i=p(e);try{for(i.s();!(t=i.n()).done;){var n=t.value;if(n.tileRenderer&&("TILE_STYLE_YTLR_DEFAULT"===n.tileRenderer.style&&ka("enableHqThumbnails"))){var a,r;if(null===(a=n.tileRenderer.onSelectCommand)||void 0===a||null===(a=a.watchEndpoint)||void 0===a||!a.videoId)continue;if(null===(r=n.tileRenderer.header)||void 0===r||null===(r=r.tileHeaderRenderer)||void 0===r||null===(r=r.thumbnail)||void 0===r||null===(r=r.thumbnails)||void 0===r||null===(r=r[0])||void 0===r||!r.url)continue;var o=n.tileRenderer.onSelectCommand.watchEndpoint.videoId,s=n.tileRenderer.header.tileHeaderRenderer.thumbnail.thumbnails[0].url.split("?")[1];n.tileRenderer.header.tileHeaderRenderer.thumbnail.thumbnails=[{url:`https://i.ytimg.com/vi/${o}/sddefault.jpg${s?`?${s}`:""}`,width:640,height:480}]}}}catch(e){i.e(e)}finally{i.f()}}function or(e){var t,i=p(e);try{for(i.s();!(t=i.n()).done;){var n,a,r,o,s,l=t.value;if(l.tileRenderer&&"TILE_STYLE_YTLR_DEFAULT"===l.tileRenderer.style)if(null!==(n=l.tileRenderer.onLongPressCommand)&&void 0!==n&&n.showMenuCommand)l.tileRenderer.onLongPressCommand.showMenuCommand.menu.menuRenderer.items.push(Ia("Add to Queue",{clickTrackingParams:null,playlistEditEndpoint:{customAction:{action:"ADD_TO_QUEUE",parameters:l}}}));else if(ka("enableLongPress")&&null!==(a=l.tileRenderer)&&void 0!==a&&null!==(a=a.metadata)&&void 0!==a&&a.tileMetadataRenderer&&null!==(r=l.tileRenderer)&&void 0!==r&&null!==(r=r.header)&&void 0!==r&&null!==(r=r.tileHeaderRenderer)&&void 0!==r&&null!==(r=r.thumbnail)&&void 0!==r&&r.thumbnails&&null!==(o=l.tileRenderer.onSelectCommand)&&void 0!==o&&o.watchEndpoint){var u=null===(s=l.tileRenderer.metadata.tileMetadataRenderer.lines)||void 0===s||null===(s=s[0])||void 0===s||null===(s=s.lineRenderer)||void 0===s||null===(s=s.items)||void 0===s||null===(s=s[0])||void 0===s||null===(s=s.lineItemRenderer)||void 0===s?void 0:s.text;if(u){var c=u,d=za({videoId:l.tileRenderer.contentId,thumbnails:l.tileRenderer.header.tileHeaderRenderer.thumbnail.thumbnails,title:l.tileRenderer.metadata.tileMetadataRenderer.title.simpleText,subtitle:c.runs?c.runs[0].text:c.simpleText,watchEndpointData:l.tileRenderer.onSelectCommand.watchEndpoint,item:l});l.tileRenderer.onLongPressCommand=d}}}}catch(e){i.e(e)}finally{i.f()}}function sr(e){return e.filter(e=>{var t,i,n;if(!e.tileRenderer)return!0;var a=null===(t=e.tileRenderer.header)||void 0===t||null===(t=t.tileHeaderRenderer)||void 0===t||null===(t=t.thumbnailOverlays)||void 0===t||null===(t=t.find(e=>e.thumbnailOverlayResumePlaybackRenderer))||void 0===t?void 0:t.thumbnailOverlayResumePlaybackRenderer;if(!a)return!0;var r=ka("hideWatchedVideosPages");if(!r.length)return!0;var o=location.hash.substring(1),s="/"===o?"home":o.startsWith("/search")?"search":null!==(i=null===(n=o.split("?")[1])||void 0===n||null===(n=n.split("&")[0])||void 0===n||null===(n=n.split("=")[1])||void 0===n||null===(n=n.replace("FE",""))||void 0===n?void 0:n.replace("topics_",""))&&void 0!==i?i:"";return!r.includes(s)||(a.percentDurationWatched||0)<=ka("hideWatchedVideosThreshold")})}var lr=function e(t){function i(e,t){return e>>>t|e<<32-t}for(var n,a,r=Math.pow,o=r(2,32),s="length",l="",u=[],c=8*t[s],d=e.h=e.h||[],h=e.k=e.k||[],p=h[s],m={},g=2;p<64;g++)if(!m[g]){for(n=0;n<313;n+=g)m[n]=g;d[p]=r(g,.5)*o|0,h[p++]=r(g,1/3)*o|0}for(t+="";t[s]%64-56;)t+="\0";for(n=0;n<t[s];n++){if((a=t.charCodeAt(n))>>8)return;u[n>>2]|=a<<(3-n)%4*8}for(u[u[s]]=c/o|0,u[u[s]]=c,a=0;a<u[s];){var f=u.slice(a,a+=16),v=d;for(d=d.slice(0,8),n=0;n<64;n++){var b=f[n-15],y=f[n-2],k=d[0],S=d[4],x=d[7]+(i(S,6)^i(S,11)^i(S,25))+(S&d[5]^~S&d[6])+h[n]+(f[n]=n<16?f[n]:f[n-16]+(i(b,7)^i(b,18)^b>>>3)+f[n-7]+(i(y,17)^i(y,19)^y>>>10)|0);(d=[x+((i(k,2)^i(k,13)^i(k,22))+(k&d[1]^k&d[2]^d[1]&d[2]))|0].concat(d))[4]=d[4]+x|0}for(n=0;n<8;n++)d[n]=d[n]+v[n]|0}for(n=0;n<8;n++)for(a=3;a+1;a--){var w=d[n]>>8*a&255;l+=(w<16?0:"")+w.toString(16)}return l},ur={sponsor:{color:"#00d400",opacity:"0.7",name:ha("sponsorblock.segments.sponsor")||"sponsored segment"},intro:{color:"#00ffff",opacity:"0.7",name:ha("sponsorblock.segments.intro")||"intro"},outro:{color:"#0202ed",opacity:"0.7",name:ha("sponsorblock.segments.outro")||"outro"},interaction:{color:"#cc00ff",opacity:"0.7",name:ha("sponsorblock.segments.interaction")||"interaction reminder"},selfpromo:{color:"#ffff00",opacity:"0.7",name:ha("sponsorblock.segments.selfpromo")||"self-promotion"},preview:{color:"#008fd6",opacity:"0.7",name:ha("sponsorblock.segments.preview")||"recap or preview"},filler:{color:"#7300FF",opacity:"0.9",name:ha("sponsorblock.segments.filler")||"tangents"},music_offtopic:{color:"#ff9900",opacity:"0.7",name:ha("sponsorblock.segments.music_offtopic")||"non-music part"},poi_highlight:{color:"#9b044c",opacity:"0.7",name:ha("sponsorblock.segments.poi_highlight")||"highlight"}};class cr{constructor(e){m(this,"video",null),m(this,"active",!0),m(this,"attachVideoTimeout",null),m(this,"nextSkipTimeout",null),m(this,"sliderInterval",null),m(this,"observer",null),m(this,"scheduleSkipHandler",null),m(this,"durationChangeHandler",null),m(this,"segments",null),m(this,"skippableCategories",[]),m(this,"manualSkippableCategories",[]),m(this,"skippedCategories",new Map),this.videoID=e}init(){var e,t=this;return(e=b().m(function e(){var i,n,a,r,o;return b().w(function(e){for(;;)switch(e.n){case 0:return i=lr(t.videoID).substring(0,4),n=["sponsor","intro","outro","interaction","selfpromo","preview","filler","music_offtopic","poi_highlight"],e.n=1,fetch(`https://sponsor.ajay.app/api/skipSegments/${i}?categories=${encodeURIComponent(JSON.stringify(n))}`);case 1:return a=e.v,e.n=2,a.json();case 2:if(r=e.v,o=r.find(e=>e.videoID===t.videoID),console.info(t.videoID,"Got it:",o),o&&o.segments&&o.segments.length){e.n=3;break}return console.info(t.videoID,"No segments found."),e.a(2);case 3:t.segments=o.segments,t.manualSkippableCategories=ka("sponsorBlockManualSkips"),t.skippableCategories=t.getSkippableCategories(),t.scheduleSkipHandler=()=>{var e=document.querySelector('div[idomkey="slider"]'),i=null==e?void 0:e.getBoundingClientRect();!document.querySelector('div[idomkey="Metadata-Section"]')&&t.segmentsoverlay.style.setProperty("top",`${i.top}px`,"important"),t.scheduleSkip()},t.durationChangeHandler=()=>t.buildOverlay(),t.attachVideo(),t.buildOverlay();case 4:return e.a(2)}},e)}),function(){var t=this,i=arguments;return new Promise(function(n,a){var r=e.apply(t,i);function o(e){l(r,n,a,o,s,"next",e)}function s(e){l(r,n,a,o,s,"throw",e)}o(void 0)})})()}getSkippableCategories(){var e=[];return ka("enableSponsorBlockSponsor")&&e.push("sponsor"),ka("enableSponsorBlockIntro")&&e.push("intro"),ka("enableSponsorBlockOutro")&&e.push("outro"),ka("enableSponsorBlockInteraction")&&e.push("interaction"),ka("enableSponsorBlockSelfPromo")&&e.push("selfpromo"),ka("enableSponsorBlockPreview")&&e.push("preview"),ka("enableSponsorBlockFiller")&&e.push("filler"),ka("enableSponsorBlockMusicOfftopic")&&e.push("music_offtopic"),e}attachVideo(){if(clearTimeout(this.attachVideoTimeout),this.attachVideoTimeout=null,this.video=document.querySelector("video"),!this.video)return console.info(this.videoID,"No video yet..."),void(this.attachVideoTimeout=setTimeout(()=>this.attachVideo(),100));console.info(this.videoID,"Video found, binding..."),this.video.addEventListener("play",this.scheduleSkipHandler),this.video.addEventListener("pause",this.scheduleSkipHandler),this.video.addEventListener("timeupdate",this.scheduleSkipHandler),this.video.addEventListener("durationchange",this.durationChangeHandler)}buildOverlay(){if(this.segmentsoverlay)console.info("Overlay already built");else if(this.video&&this.video.duration){var e=this.video.duration,t=document.querySelector('div[idomkey="slider"]');this.segmentsoverlay=document.createElement("div"),this.segmentsoverlay.classList.add("ytLrProgressBarSlider","ytLrProgressBarSliderRectangularProgressBar"),this.segmentsoverlay.style.setProperty("z-index","10","important"),this.segmentsoverlay.style.setProperty("background-color","rgba(0, 0, 0, 0)","important"),this.segmentsoverlay.style.setProperty("width","72rem","important"),this.segmentsoverlay.style.setProperty("left","4rem","important");var i=t.getBoundingClientRect();if(!t.classList.contains("ytLrProgressBarSlider")){for(var n=0;n<t.classList.length;n++)this.segmentsoverlay.classList.add(t.classList[n]);this.segmentsoverlay.style.setProperty("height",`${i.height}px`,"important"),this.segmentsoverlay.style.setProperty("bottom",i.bottom-i.top+"px","important")}this.segments.forEach(t=>{var i=k(t.segment,2),n=i[0],a=i[1],r=ur[t.category]||{color:"blue",opacity:.7},o=e?100*n/e:0,s=e?100*(a-n)/e:0,l=document.createElement("div");l.style.setProperty("background-color",r.color,"important"),l.style.setProperty("opacity",r.opacity,"important"),l.style.setProperty("height","100%","important"),l.style.setProperty("width",`${"poi_highlight"===t.category?1:s}%`,"important"),l.style.setProperty("left",`${o}%`,"important"),l.style.setProperty("position","absolute","important"),console.info("Generated element",l,"from",t),this.segmentsoverlay.appendChild(l)}),this.observer=new MutationObserver(e=>{e.forEach(e=>{if(e.removedNodes){var t,i=p(e.removedNodes);try{for(i.s();!(t=i.n()).done;){t.value===this.segmentsoverlay&&(console.info("bringing back segments overlay"),this.slider.appendChild(this.segmentsoverlay))}}catch(e){i.e(e)}finally{i.f()}}"false"===document.querySelector("ytlr-progress-bar").getAttribute("hybridnavfocusable")?this.segmentsoverlay.style.setProperty("display","none","important"):this.segmentsoverlay.style.setProperty("display","block","important")})}),this.sliderInterval=setInterval(()=>{this.slider=document.querySelector("ytlr-redux-connect-ytlr-progress-bar"),this.slider&&(clearInterval(this.sliderInterval),this.sliderInterval=null,this.observer.observe(this.slider,{childList:!0,subtree:!0}),this.slider.appendChild(this.segmentsoverlay))},500)}else console.info("No video duration yet")}scheduleSkip(){if(clearTimeout(this.nextSkipTimeout),this.nextSkipTimeout=null,this.active)if(this.video.paused)console.info(this.videoID,"Currently paused, ignoring...");else{var e=this.segments.filter(e=>e.segment[0]>this.video.currentTime-.3&&e.segment[1]>this.video.currentTime-.3);if(e.sort((e,t)=>e.segment[0]-t.segment[0]),e.length){var t=k(e,1)[0],i=k(t.segment,2),n=i[0],a=i[1];console.info(this.videoID,"Scheduling skip of",t,"in",n-this.video.currentTime),this.nextSkipTimeout=setTimeout(()=>{var e;if(this.video.paused)console.info(this.videoID,"Currently paused, ignoring...");else if(this.skippableCategories.includes(t.category)){var i=(null===(e=ur[t.category])||void 0===e?void 0:e.name)||t.category;if(console.info(this.videoID,"Skipping",t),!this.manualSkippableCategories.includes(t.category)){var n=this.skippedCategories.get(t.UUID);if(n){if(n.count++,n.lastSkipped=Date.now(),this.skippedCategories.set(t.UUID,n),n.lastSkipped-n.firstSkipped<1e3)return void(n.hasShownToast||(ka("enableSponsorBlockToasts")&&Ea("SponsorBlock",ha("sponsorblock.toasts.notSkipping",{segment:i,count:n.count})),n.hasShownToast=!0,this.skippedCategories.set(t.UUID,n)))}else this.skippedCategories.set(t.UUID,{count:1,firstSkipped:Date.now(),lastSkipped:Date.now(),hasShownToast:!1});ka("enableSponsorBlockToasts")&&Ea("SponsorBlock",ha("sponsorblock.toasts.skipping",{segment:i})),this.video.duration-a<1?this.video.currentTime=a-1:this.video.currentTime=a,this.scheduleSkip()}}else console.info(this.videoID,"Segment",t.category,"is not skippable, ignoring...")},1e3*(n-this.video.currentTime))}else console.info(this.videoID,"No more segments")}else console.info(this.videoID,"No longer active, ignoring...")}destroy(){console.info(this.videoID,"Destroying"),this.active=!1,this.nextSkipTimeout&&(clearTimeout(this.nextSkipTimeout),this.nextSkipTimeout=null),this.attachVideoTimeout&&(clearTimeout(this.attachVideoTimeout),this.attachVideoTimeout=null),this.sliderInterval&&(clearInterval(this.sliderInterval),this.sliderInterval=null),this.observer&&(this.observer.disconnect(),this.observer=null),this.segmentsoverlay&&(this.segmentsoverlay.remove(),this.segmentsoverlay=null),this.video&&(this.video.removeEventListener("play",this.scheduleSkipHandler),this.video.removeEventListener("pause",this.scheduleSkipHandler),this.video.removeEventListener("timeupdate",this.scheduleSkipHandler),this.video.removeEventListener("durationchange",this.durationChangeHandler)),this.skippedCategories.clear()}}window.sponsorblock=null,window.addEventListener("hashchange",()=>{var e=new URL(location.hash.substring(1),location.href).search.replace("?v=","").split("&")[0],t=e&&(!window.sponsorblock||window.sponsorblock.videoID!=e);if(console.info("hashchange",e,window.sponsorblock,window.sponsorblock?window.sponsorblock.videoID:null,t),t){if(window.sponsorblock){try{window.sponsorblock.destroy()}catch(e){console.warn("window.sponsorblock.destroy() failed!",e)}window.sponsorblock=null}ka("enableSponsorBlock")?(window.sponsorblock=new cr(e),window.sponsorblock.init()):console.info("SponsorBlock disabled, not loading")}},!1);var dr;dr||(dr=1,function(){if(!("navigate"in window)){var e={37:"left",38:"up",39:"right",40:"down"},t=null,i=null,n={element:null,rect:null},a=null;window.navigate=o,window.Element.prototype.spatialNavigationSearch=d,window.Element.prototype.focusableAreas=b,window.Element.prototype.getSpatialNavigationContainer=f,window.CSS&&CSS.registerProperty&&(""===window.getComputedStyle(document.documentElement).getPropertyValue("--spatial-navigation-contain")&&CSS.registerProperty({name:"--spatial-navigation-contain",syntax:"auto | contain",inherits:!1,initialValue:"auto"}),""===window.getComputedStyle(document.documentElement).getPropertyValue("--spatial-navigation-action")&&CSS.registerProperty({name:"--spatial-navigation-action",syntax:"auto | focus | scroll",inherits:!1,initialValue:"auto"}),""===window.getComputedStyle(document.documentElement).getPropertyValue("--spatial-navigation-function")&&CSS.registerProperty({name:"--spatial-navigation-function",syntax:"normal | grid",inherits:!1,initialValue:"normal"})),X(!1),window.addEventListener("load",()=>{r()})}function r(){window.addEventListener("keydown",n=>{var a=parent&&parent.__spatialNavigation__.keyMode||window.__spatialNavigation__.keyMode,r=document.activeElement,s=e[n.keyCode];if(9===n.keyCode&&(i=null),!(!a||"NONE"===a||"SHIFTARROW"===a&&!n.shiftKey||"ARROW"===a&&n.shiftKey||n.defaultPrevented)){var l={left:!0,up:!0,right:!0,down:!0};"INPUT"!==r.nodeName&&"TEXTAREA"!==r.nodeName||(l=function(t){var i=["email","date","month","number","time","week"],n=["password","text","search","tel","url",null],a=document.activeElement,r={left:!1,up:!1,right:!1,down:!1},o=e[t.keyCode];if(void 0===o)return r;if(!i.includes(a.getAttribute("type"))||"up"!==o&&"down"!==o)if(n.includes(a.getAttribute("type"))||"TEXTAREA"===a.nodeName){var s=a.selectionStart,l=a.selectionEnd;s===l&&(0===s&&(r.left=!0,r.up=!0),l===a.value.length&&(r.right=!0,r.down=!0))}else r[o]=!0;else r[o]=!0;return r}(n)),l[s]&&(n.preventDefault(),t=new Map,o(s),t=null,i=null)}}),document.addEventListener("mouseup",e=>{i={x:e.clientX,y:e.clientY}}),window.addEventListener("focusin",e=>{e.target!==window&&(n.element=e.target,n.rect=e.target.getBoundingClientRect())})}function o(e){var t=function(){var e=document.activeElement;if(!e||e===document.body&&!document.querySelector(":focus")){if(n.element&&e!==n.element){var t=window.getComputedStyle(n.element,null),i=["hidden","collapse"];if(n.element.disabled||i.includes(t.getPropertyValue("visibility")))return e=n.element}e=document.documentElement}if(!n.element||0!==J(n.element).height&&0!==J(n.element).width||(a=n.rect),!I(e)){var r=v(e);if(r&&(r===window||"auto"===S(r)))return r}return e}(),r=t,o=null;i&&(null===(o=document.elementFromPoint(i.x,i.y))&&(o=document.body),F(o)&&!T(o)?i=null:r=T(o)?o:o.getSpatialNavigationContainer()),r!==document&&r!==document.documentElement||(r=document.body||document.documentElement);var c=null;if((T(r)||"BODY"===r.nodeName)&&"INPUT"!==r.nodeName)if("IFRAME"===r.nodeName&&(r=r.contentDocument.documentElement),c=r,document.activeElement===t||document.activeElement===document.body&&t===document.documentElement){if("scroll"===S(r)){if(l(r,e))return}else if("focus"===S(r)){if(s(r.spatialNavigationSearch(e,{container:r,candidates:u(r,{mode:"all"})}),e))return}else if("auto"===S(r)&&(s(r.spatialNavigationSearch(e,{container:r}),e)||l(r,e)))return}else c=c.getSpatialNavigationContainer();var d=(c=r.getSpatialNavigationContainer()).parentElement?c.getSpatialNavigationContainer():null;if(d||window.location===window.parent.location||(d=window.parent.document.documentElement),"scroll"===S(c)){if(l(c,e))return}else"focus"===S(c)?w(r,c,d,e,"all"):"auto"===S(c)&&w(r,c,d,e,"visible")}function s(e,t){if(e){if(!y("beforefocus",e,null,t))return!0;var n=e.getSpatialNavigationContainer();return n!==window&&"focus"===S(n)?e.focus():e.focus({preventScroll:!0}),i=null,!0}return!1}function l(e,t){return A(e,t)&&!z(e,t)?(D(e,t),!0):!e.parentElement&&!B(e,t)&&(D(e.ownerDocument.documentElement,t),!0)}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{mode:"visible"},i=[];if(e.childElementCount>0){e.parentElement||(e=e.getElementsByTagName("body")[0]||document.body);var n,a=p(e.children);try{for(a.s();!(n=a.n()).done;){var r=n.value;E(r)?i.push(r):F(r)?(i.push(r),!T(r)&&r.childElementCount&&(i=i.concat(u(r,{mode:"all"})))):r.childElementCount&&(i=i.concat(u(r,{mode:"all"})))}}catch(e){a.e(e)}finally{a.f()}}return"all"===t.mode?i:i.filter(O)}function c(e,t,i,n){var a=e;return n=n||a.getSpatialNavigationContainer(),h(a,i=!i||i.length<=0?u(n):i,t,n)}function d(e,t){var n,r=this,o=[],s=[],l=function(e){var t=e.getSpatialNavigationContainer(),i=t.focusableAreas(),n=[];return i.forEach(t=>{e!==t&&j(t,e)&&n.push(t)}),n}(r);t||(t={});var d=r.getSpatialNavigationContainer(),h=u(d),p=t.container||d;t.container&&d.contains(t.container)&&(h=h.concat(u(p)));var f=t.candidates&&t.candidates.length>0?t.candidates.filter(e=>p.contains(e)):h.filter(e=>p.contains(e)&&p!==e);if(f&&f.length>0){f.forEach(e=>{e!==r&&(r.contains(e)&&r!==e?o:s).push(e)});var v=l.filter(e=>!o.includes(e)),b=f.filter(e=>T(e)&&j(r,e)).map(e=>e.focusableAreas()).flat().filter(e=>e!==r);if(o=o.concat(v).filter(e=>p.contains(e)),(s=s.concat(b).filter(e=>p.contains(e))).length>0&&(s=c(r,e,s,p)),a&&(n=m(r,c(r,e,o,p),e)),o&&o.length>0&&"INPUT"!==r.nodeName&&(n=function(e,t,n){return g(e,t,n,i?H:U)}(r,o,e)),(n=n||m(r,s,e))&&E(n)){var y=u(n,{mode:"all"}),k=y.length>0?r.spatialNavigationSearch(e,{candidates:y,container:n}):null;k?n=k:F(n)||(f.splice(f.indexOf(n),1),n=f.length?r.spatialNavigationSearch(e,{candidates:f,container:p}):null)}return n}return null}function h(e,t,i,n){var r,o=e.getSpatialNavigationContainer();return void 0===i?t:(r=o.parentElement&&n!==o&&!O(e)?J(o):a||J(e),!T(e)&&"BODY"!==e.nodeName||"INPUT"===e.nodeName?t.filter(t=>{var a=J(t),o="IFRAME"===t.nodeName?t.contentDocument.body:null;return n.contains(t)&&t!==e&&o!==e&&N(a,r,i)&&!R(r,a)}):t.filter(t=>{var a=J(t);return n.contains(t)&&(e.contains(t)&&R(r,a)&&t!==e||N(a,r,i))}))}function m(e,t,i){var n,r,o=e.getSpatialNavigationContainer(),s=getComputedStyle(o).getPropertyValue("--spatial-navigation-function"),l=a||J(e);return"grid"===s?((r=t.filter(e=>V(l,J(e),i))).length>0&&(t=r),n=G):n=W,g(e,t,i,n)}function g(e,t,i,n){var r=null;window.location===window.parent.location||"BODY"!==e.nodeName&&"HTML"!==e.nodeName?r=a||e.getBoundingClientRect():((r=window.frameElement.getBoundingClientRect()).x=0,r.y=0);var o=Number.POSITIVE_INFINITY,s=[];if(t)for(var l=0;l<t.length;l++){var u=n(r,J(t[l]),i);u<o?(o=u,s=[t[l]]):u===o&&s.push(t[l])}return 0===s.length?null:s.length>1&&n===G?g(e,s,i,K):s[0]}function f(){var e=this;do{if(!e.parentElement){e=window.location!==window.parent.location?window.parent.document.documentElement:window.document.documentElement;break}e=e.parentElement}while(!T(e));return e}function v(e){var t=e;do{if(!t.parentElement){t=window.location!==window.parent.location?window.parent.document.documentElement:window.document.documentElement;break}t=t.parentElement}while(!C(t)||!O(t));return t!==document&&t!==document.documentElement||(t=window),t}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{mode:"visible"},t=this.parentElement?this:document.body,i=Array.prototype.filter.call(t.getElementsByTagName("*"),F);return"all"===e.mode?i:i.filter(O)}function y(e,t,i,n){if(["beforefocus","notarget"].includes(e)){var a=new CustomEvent("nav"+e,{bubbles:!0,cancelable:!0,detail:{causedTarget:i,dir:n}});return t.dispatchEvent(a)}}function k(e,t){return(e.style.getPropertyValue(`--${t}`)||"").trim()}function S(e){return k(e,"spatial-navigation-action")||"auto"}function w(e,t,i,n,a){for(var r={candidates:u(t,{mode:a}),container:t};i;){if(s(e.spatialNavigationSearch(n,r),n))return;if("visible"===a&&l(t,n))return;if(!y("notarget",t,e,n))return;t===document||t===document.documentElement?window.location!==window.parent.location&&(t=(e=window.frameElement).ownerDocument.documentElement):t=i,r={candidates:u(t,{mode:a}),container:t};var o=t.getSpatialNavigationContainer();i=o!==t?o:null}r={candidates:u(t,{mode:a}),container:t},!i&&t&&s(e.spatialNavigationSearch(n,r),n)||y("notarget",r.container,e,n)&&("auto"!==S(t)||"visible"!==a||l(t,n))}function D(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(e)switch(t){case"left":e.scrollLeft-=40+i;break;case"right":e.scrollLeft+=40+i;break;case"up":e.scrollTop-=40+i;break;case"down":e.scrollTop+=40+i}}function T(e){return!e.parentElement||"IFRAME"===e.nodeName||C(e)||function(e){return"contain"===k(e,"spatial-navigation-contain")}(e)}function E(e){return"delegable"===k(e,"spatial-navigation-contain")}function C(e){var t=window.getComputedStyle(e,null),i=t.getPropertyValue("overflow-x"),n=t.getPropertyValue("overflow-y");return!!("visible"!==i&&"clip"!==i&&P(e,"left")||"visible"!==n&&"clip"!==n&&P(e,"down"))}function A(e,t){if(e&&"object"===x(e)){if(t&&"string"==typeof t){if(P(e,t)){var i=window.getComputedStyle(e,null),n=i.getPropertyValue("overflow-x"),a=i.getPropertyValue("overflow-y");switch(t){case"left":case"right":return"visible"!==n&&"clip"!==n&&"hidden"!==n;case"up":case"down":return"visible"!==a&&"clip"!==a&&"hidden"!==a}}return!1}return"HTML"===e.nodeName||"BODY"===e.nodeName||C(e)&&P(e)}}function P(e,t){if(e&&"object"===x(e)){if(!t||"string"!=typeof t)return e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight;switch(t){case"left":case"right":return e.scrollWidth>e.clientWidth;case"up":case"down":return e.scrollHeight>e.clientHeight}return!1}}function B(e,t){var i=!1;switch(t){case"left":i=0===e.scrollLeft;break;case"right":i=e.scrollWidth-e.scrollLeft-e.clientWidth===0;break;case"up":i=0===e.scrollTop;break;case"down":i=e.scrollHeight-e.scrollTop-e.clientHeight===0}return i}function z(e,t){if(A(e,t)){var i=e.scrollTop,n=e.scrollLeft,a=e.scrollHeight-e.clientHeight,r=e.scrollWidth-e.clientWidth;switch(t){case"left":return 0===n;case"right":return Math.abs(n-r)<=1;case"up":return 0===i;case"down":return Math.abs(i-a)<=1}}return!1}function I(e){var t=e.getBoundingClientRect(),i=v(e),n=null;return!(!R(n=i!==window?J(i):new DOMRect(0,0,window.innerWidth,window.innerHeight),t)||!R(n,t))}function F(e){return!(e.tabIndex<0||function(e){return"A"===e.tagName&&null===e.getAttribute("href")&&null===e.getAttribute("tabIndex")}(e)||function(e){return!!["BUTTON","INPUT","SELECT","TEXTAREA","OPTGROUP","OPTION","FIELDSET"].includes(e.tagName)&&e.disabled}(e)||function(e){return e.inert&&!e.ownerDocument.documentElement.inert}(e)||!function(e){return!!M(e.parentElement)&&!(!M(e)||"0"===e.style.opacity||"0px"===window.getComputedStyle(e).height||"0px"===window.getComputedStyle(e).width)}(e))&&(!!(!e.parentElement||A(e)&&P(e)||e.tabIndex>=0)||void 0)}function O(e){return!e.parentElement||M(e)&&function(e){var t=J(e);if("IFRAME"!==e.nodeName&&(t.top<0||t.left<0||t.top>e.ownerDocument.documentElement.clientHeight||t.left>e.ownerDocument.documentElement.clientWidth))return!1;var i=parseInt(e.offsetWidth)/10,n=parseInt(e.offsetHeight)/10;i=isNaN(i)?1:i,n=isNaN(n)?1:n;var a={middle:[(t.left+t.right)/2,(t.top+t.bottom)/2],leftTop:[t.left+i,t.top+n],rightBottom:[t.right-i,t.bottom-n]};for(var r in a){var o=e.ownerDocument.elementFromPoint(...a[r]);if(e===o||e.contains(o))return!0}return!1}(e)}function j(e,t){var i=J(e),n=J(t||e.getSpatialNavigationContainer());return!(i.left<n.left||i.right>n.right||i.top<n.top||i.bottom>n.bottom)}function M(e){var t=window.getComputedStyle(e,null),i=t.getPropertyValue("visibility");return"none"!==t.getPropertyValue("display")&&!["hidden","collapse"].includes(i)}function R(e,t){var i=e.left<=t.right&&e.right>=t.right,n=e.left<=t.left&&e.right>=t.left,a=e.top<=t.top&&e.bottom>=t.top,r=e.top<=t.bottom&&e.bottom>=t.bottom;return(i||n)&&(a||r)}function N(e,t,i){switch(i){case"left":return L(t,e);case"right":return L(e,t);case"up":return _(t,e);case"down":return _(e,t);default:return!1}}function L(e,t){return e.left>=t.right||e.left>=t.left&&e.right>t.right&&e.bottom>t.top&&e.top<t.bottom}function _(e,t){return e.top>=t.bottom||e.top>=t.top&&e.bottom>t.bottom&&e.left<t.right&&e.right>t.left}function V(e,t,i){switch(i){case"left":case"right":return e.bottom>t.top&&e.top<t.bottom;case"up":case"down":return e.right>t.left&&e.left<t.right;default:return!1}}function H(e,t,n){var a=q(n,i,t),r=Math.abs(a.entryPoint.x-a.exitPoint.x),o=Math.abs(a.entryPoint.y-a.exitPoint.y);return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}function U(e,t,i){var n={left:"right",right:"left",up:"bottom",down:"top"}[i];return Math.abs(e[n]-t[n])}function W(e,t,i){var n,a,r,o,s,l,u,c=0,d=0,h=q(i,e,t),p=Math.abs(h.entryPoint.x-h.exitPoint.x),m=Math.abs(h.entryPoint.y-h.exitPoint.y),g=Math.sqrt(Math.pow(p,2)+Math.pow(m,2)),f=(r=e,o=t,s={width:0,height:0,area:0},l=[Math.max(r.left,o.left),Math.max(r.top,o.top)],u=[Math.min(r.right,o.right),Math.min(r.bottom,o.bottom)],s.width=Math.abs(l[0]-u[0]),s.height=Math.abs(l[1]-u[1]),l[0]>=u[0]||l[1]>=u[1]||(s.area=Math.sqrt(s.width*s.height)),s),v=f.area;switch(i){case"left":case"right":V(e,t,i)?d=Math.min(f.height/e.height,1):c=e.height/2,n=30*(m+c),a=5*d;break;case"up":case"down":V(e,t,i)?d=Math.min(f.width/e.width,1):c=e.width/2,n=2*(p+c),a=5*d;break;default:n=0,a=0}return g+n-a-v}function K(e,t,i){var n=q(i,e,t),a=Math.abs(n.entryPoint.x-n.exitPoint.x),r=Math.abs(n.entryPoint.y-n.exitPoint.y);return Math.sqrt(Math.pow(a,2)+Math.pow(r,2))}function G(e,t,i){var n=q(i,e,t);return"left"===i||"right"===i?Math.abs(n.entryPoint.x-n.exitPoint.x):Math.abs(n.entryPoint.y-n.exitPoint.y)}function q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"down",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a={entryPoint:{x:0,y:0},exitPoint:{x:0,y:0}};if(i){switch(a.exitPoint=t,e){case"left":a.entryPoint.x=n.right;break;case"up":a.entryPoint.y=n.bottom;break;case"right":a.entryPoint.x=n.left;break;case"down":a.entryPoint.y=n.top}switch(e){case"left":case"right":i.y<=n.top?a.entryPoint.y=n.top:i.y<n.bottom?a.entryPoint.y=i.y:a.entryPoint.y=n.bottom;break;case"up":case"down":i.x<=n.left?a.entryPoint.x=n.left:i.x<n.right?a.entryPoint.x=i.x:a.entryPoint.x=n.right}}else{switch(e){case"left":a.exitPoint.x=t.left,a.entryPoint.x=n.right<t.left?n.right:t.left;break;case"up":a.exitPoint.y=t.top,a.entryPoint.y=n.bottom<t.top?n.bottom:t.top;break;case"right":a.exitPoint.x=t.right,a.entryPoint.x=n.left>t.right?n.left:t.right;break;case"down":a.exitPoint.y=t.bottom,a.entryPoint.y=n.top>t.bottom?n.top:t.bottom}switch(e){case"left":case"right":_(t,n)?(a.exitPoint.y=t.top,a.entryPoint.y=n.bottom<t.top?n.bottom:t.top):_(n,t)?(a.exitPoint.y=t.bottom,a.entryPoint.y=n.top>t.bottom?n.top:t.bottom):(a.exitPoint.y=Math.max(t.top,n.top),a.entryPoint.y=a.exitPoint.y);break;case"up":case"down":L(t,n)?(a.exitPoint.x=t.left,a.entryPoint.x=n.right<t.left?n.right:t.left):L(n,t)?(a.exitPoint.x=t.right,a.entryPoint.x=n.left>t.right?n.left:t.right):(a.exitPoint.x=Math.max(t.left,n.left),a.entryPoint.x=a.exitPoint.x)}}return a}function J(e){var i=t&&t.get(e);if(!i){var n=e.getBoundingClientRect();i={top:Number(n.top.toFixed(2)),right:Number(n.right.toFixed(2)),bottom:Number(n.bottom.toFixed(2)),left:Number(n.left.toFixed(2)),width:Number(n.width.toFixed(2)),height:Number(n.height.toFixed(2))},t&&t.set(e,i)}return i}function X(e){var t=window.__spatialNavigation__&&window.__spatialNavigation__.keyMode;window.__spatialNavigation__=!1===e?Y():Object.assign(Y(),function(){function e(e,t){return A(e,t)&&!z(e,t)||!e.parentElement&&!B(e,t)}function t(t,i,n,a){var r=i,o=null;if(r!==document&&r!==document.documentElement||(r=document.body||document.documentElement),(T(r)||"BODY"===r.nodeName)&&"INPUT"!==r.nodeName){"IFRAME"===r.nodeName&&(r=r.contentDocument.body);var s=u(r,a);if(Array.isArray(s)&&s.length>0)return t?c(r,n,s):r.spatialNavigationSearch(n,{candidates:s});if(e(r,n))return t?[]:r}var l=r.getSpatialNavigationContainer(),d=l.parentElement?l.getSpatialNavigationContainer():null;for(d||window.location===window.parent.location||(d=window.parent.document.documentElement);d;){var p=h(r,u(l,a),n,l);if(Array.isArray(p)&&p.length>0){if(o=r.spatialNavigationSearch(n,{candidates:p,container:l}))return t?p:o}else{if(e(l,n))return t?[]:r;if(l===document||l===document.documentElement){if(l=window.document.documentElement,window.location!==window.parent.location){if(r=window.frameElement,!(l=window.parent.document.documentElement).parentElement){d=null;break}d=l.getSpatialNavigationContainer()}}else{if(F(l)&&(r=l),!(l=d).parentElement){d=null;break}d=l.getSpatialNavigationContainer()}}}if(!d&&l){var m=h(r,u(l,a),n,l);if(Array.isArray(m)&&m.length>0&&(o=r.spatialNavigationSearch(n,{candidates:m,container:l})))return t?m:o}if(e(l,n))return r}return{isContainer:T,isScrollContainer:C,isVisibleInScroller:I,findCandidates:t.bind(null,!0),findNextTarget:t.bind(null,!1),getDistanceFromTarget:(e,t,i)=>(T(e)||"BODY"===e.nodeName)&&"INPUT"!==e.nodeName&&u(e).includes(t)?U(J(e),J(t),i):W(J(e),J(t),i)}}()),window.__spatialNavigation__.keyMode=t,Object.seal(window.__spatialNavigation__)}function Y(){return{enableExperimentalAPIs:X,get keyMode(){return this._keymode?this._keymode:"ARROW"},set keyMode(e){this._keymode=["SHIFTARROW","ARROW","NONE"].includes(e)?e:"ARROW"},setStartingPoint:function(e,t){i=e&&t?{x:e,y:t}:null}}}}());var hr='.ytaf-ui-container {\r\n position: absolute;\r\n top: 10%;\r\n left: 10%;\r\n right: 10%;\r\n bottom: 10%;\r\n\r\n background: rgba(0, 0, 0, 0.8);\r\n color: white;\r\n border-radius: 20px;\r\n padding: 20px;\r\n font-size: 1.5rem;\r\n z-index: 1000;\r\n}\r\n\r\n.ytaf-ui-container :focus {\r\n outline: 4px red solid;\r\n}\r\n\r\n.ytaf-ui-container h1 {\r\n margin: 0;\r\n margin-bottom: 0.5em;\r\n text-align: center;\r\n}\r\n\r\n.ytaf-ui-container input[type=\'checkbox\'] {\r\n width: 1.4rem;\r\n height: 1.4rem;\r\n}\r\n\r\n.ytaf-ui-container input[type=\'radio\'] {\r\n width: 1.4rem;\r\n height: 1.4rem;\r\n}\r\n\r\n.ytaf-ui-container label {\r\n display: block;\r\n font-size: 1.4rem;\r\n}\r\n\r\n.ytaf-notification-container {\r\n position: absolute;\r\n right: 10px;\r\n bottom: 10px;\r\n font-size: 16pt;\r\n z-index: 1200;\r\n}\r\n\r\n.ytaf-notification-container .message {\r\n background: rgba(0, 0, 0, 0.7);\r\n color: white;\r\n padding: 1em;\r\n margin: 0.5em;\r\n transition: all 0.3s ease-in-out;\r\n opacity: 1;\r\n line-height: 1;\r\n border-right: 10px solid rgba(50, 255, 50, 0.3);\r\n display: inline-block;\r\n float: right;\r\n}\r\n\r\n.ytaf-notification-container .message-hidden {\r\n opacity: 0;\r\n margin: 0 0.5em;\r\n padding: 0 1em;\r\n line-height: 0;\r\n}\r\n\r\n/* Fixes transparency effect for the video player */\r\n\r\n.ytLrWatchDefaultShadow,\r\ndiv[idomkey="shadow"] {\r\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.8) 90%) !important;\r\n background-color: rgba(0, 0, 0, 0.3) !important;\r\n display: block !important;\r\n height: 100% !important;\r\n pointer-events: none !important;\r\n position: absolute !important;\r\n width: 100% !important;\r\n}\r\n\r\n/* https://github.com/webosbrew/youtube-webos/commit/4fbe38a18df31ddd62b6cf15f141dd58e1d1a71d */\r\n.ytLrWatchDefault2025Shadow {\r\n background-color: rgba(11, 11, 11, 0.5) !important;\r\n}\r\n\r\n/* Fixes shorts having a black background */\r\n\r\n.ytLrTileHeaderRendererShorts {\r\n background-image: none !important;\r\n}\r\n\r\n/* Multiline support for strings in the UI */\r\n\r\n.ytLrOverlayPanelHeaderRendererSubtitle {\r\n white-space: pre-wrap !important;\r\n}\r\n\r\n/* Fixes SponsorBlock segments overlapping with the playhead */\r\n\r\n.ytLrProgressBarPlayhead {\r\n z-index: 1 !important;\r\n}\r\n\r\n.ytLrProgressBarPlayed {\r\n z-index: 1 !important;\r\n}\r\n\r\n.ytLrSearchBarSearchVoice {\r\n display: block;\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n pointer-events: auto\r\n}\r\n\r\n.ytLrSearchVoiceHost {\r\n font-size: 3rem;\r\n}\r\n\r\n.ytLrSearchVoiceMicButtonHost {\r\n color: rgba(255, 255, 255, 0.7);\r\n}\r\n\r\n.ytLrSearchVoiceMicButtonHost {\r\n background-color: rgba(255, 255, 255, 0.1);\r\n border-radius: 50%;\r\n color: #f1f1f1;\r\n display: block;\r\n text-align: center;\r\n width: 1em;\r\n height: 1em;\r\n}\r\n\r\n.ytLrSearchVoiceMicButtonIcon {\r\n display: inline-block;\r\n font-size: .5em;\r\n height: .5em;\r\n width: .5em;\r\n height: 1em;\r\n width: 1em;\r\n margin-top: .5em;\r\n vertical-align: top !important;\r\n}\r\n\r\n.ytContribIconHost {\r\n display: inline-block;\r\n vertical-align: middle;\r\n}\r\n\r\n.ytContribIconTvArrowLeft::before {\r\n content: "\\e822";\r\n}\r\n\r\n.ytContribIconHost::before {\r\n font-family: "YouTube Icons Outlined";\r\n}',pr=document.createElement("style"),mr="";function gr(){mr=`\n ytlr-guide-response yt-focus-container {\n background-color: ${ka("focusContainerColor")};\n }\n\n #container {\n background-color: ${ka("routeColor")} !important;\n }\n`;var e=document.querySelector("style[nonce]");e?e.textContent+=mr:pr.textContent=mr}function fr(){var e,t;for(var i in window._yttv)if(window._yttv[i]&&window._yttv[i].getInstance)if(window._yttv[i].toString().includes("ytlrActionRouter"))e=window._yttv[i].getInstance();else{var n,a=!1,r=window._yttv[i].getInstance(),o=p(Object.getOwnPropertyNames(Object.getPrototypeOf(r)));try{for(o.s();!(n=o.n()).done;){var s=n.value;"function"==typeof r[s]&&r[s].toString().includes("ytlrActionRouter")&&(t=r[s],a=!0)}}catch(e){o.e(e)}finally{o.f()}a&&(e=window._yttv[i].getInstance())}if(e){if(!t){var l,u=p(Object.getOwnPropertyNames(Object.getPrototypeOf(e)));try{for(u.s();!(l=u.n()).done;){var c=l.value;"function"==typeof e[c]&&e[c].toString().includes("ytlrActionRouter")&&(t=e[c])}}catch(e){u.e(e)}finally{u.f()}}if(t){var d;for(var h in window._yttv)window._yttv[h]&&"function"==typeof window._yttv[h]&&window._yttv[h].toString().includes("this.actionName")&&(d=window._yttv[h]);return{executeFunction:t.bind(e),commandFunction:d}}}}document.head.appendChild(pr),gr();var vr,br=setInterval(()=>{document.querySelector("video")&&(!function(){var e=document.querySelector("style[nonce]");if(e)e.textContent+=hr;else{var t=document.createElement("style");t.textContent=hr,document.head.appendChild(t)}if(ka("enableFixedUI"))try{window.tectonicConfig.featureSwitches.isLimitedMemory=!1,window.tectonicConfig.clientData.legacyApplicationQuality="full-animation",window.tectonicConfig.featureSwitches.enableAnimations=!0,window.tectonicConfig.featureSwitches.enableOnScrollLinearAnimation=!0,window.tectonicConfig.featureSwitches.enableListAnimations=!0}catch(e){}window.__spatialNavigation__.keyMode="NONE";var i={37:"left",38:"up",39:"right",40:"down"},n=document.createElement("div");n.classList.add("ytaf-ui-container"),n.style.display="none",n.setAttribute("tabindex",0),n.addEventListener("focus",()=>console.info("uiContainer focused!"),!0),n.addEventListener("blur",()=>console.info("uiContainer blured!"),!0),n.addEventListener("keydown",e=>{if(console.info("uiContainer key event:",e.type,e.keyCode,e),404!==e.keyCode&&172!==e.keyCode){var t;if(e.keyCode in i)navigate(i[e.keyCode]);else{if(13===e.keyCode||32===e.keyCode){console.log("OK button pressed");var a=document.querySelector(":focus");return"checkbox"===a.type&&(a.checked=!a.checked,a.dispatchEvent(new Event("change"))),e.preventDefault(),void e.stopPropagation()}if(27===e.keyCode&&"text"!==document.querySelector(":focus").type)n.style.display="none",n.blur();else if("text"===document.querySelector(":focus").type&&27===e.keyCode){var r=document.querySelector(":focus");r.value=r.value.slice(0,-1)}}"Enter"!==e.key&&"Enter"!==(null===(t=e.Uc)||void 0===t?void 0:t.key)||"text"===document.querySelector(":focus").type&&document.querySelector(":focus").dispatchEvent(new Event("change"))}},!0);try{n.innerHTML='\n<h1>TizenTube Theme Configuration</h1>\n<label for="__barColor">Navigation Bar Color: <input type="text" id="__barColor"/></label>\n<label for="__routeColor">Main Content Color: <input type="text" id="__routeColor"/></label>\n<div><small>Sponsor segments skipping - https://sponsor.ajay.app</small></div>\n',document.querySelector("body").appendChild(n),n.querySelector("#__barColor").value=ka("focusContainerColor"),n.querySelector("#__barColor").addEventListener("change",e=>{Sa("focusContainerColor",e.target.value),gr()}),n.querySelector("#__routeColor").value=ka("routeColor"),n.querySelector("#__routeColor").addEventListener("change",e=>{Sa("routeColor",e.target.value),gr()})}catch(e){}var a=e=>{if(console.info("Key event:",e.type,e.keyCode,e.keyCode,e.defaultPrevented),ka("enableScreenDimming")&&(yr&&clearTimeout(yr),document.getElementById("container").style.setProperty("opacity","1","important"),yr=setTimeout(()=>{document.querySelector(".html5-video-player").getPlayerStateObject().isPlaying||document.getElementById("container").style.setProperty("opacity",(1-ka("dimmingOpacity")).toString(),"important")},1e3*ka("dimmingTimeout"))),403==e.keyCode){if(console.info("Taking over!"),e.preventDefault(),e.stopPropagation(),"keydown"===e.type)try{"none"===n.style.display?(console.info("Showing and focusing!"),n.style.display="block",n.focus()):(console.info("Hiding!"),n.style.display="none",n.blur())}catch(e){}return!1}if(404==e.keyCode)"keydown"===e.type&&qa();else if(39==e.keyCode){if("keydown"===e.type)if(document.querySelector("ytlr-search-text-box > .zylon-focus")&&window.isPipPlaying)document.querySelector("ytlr-player").style.setProperty("background-color","rgb(0, 0, 0)"),t=wa.loadedPlaybackConfig,i=t.clickTrackingParams,a=t.commandMetadata,(r=t.watchEndpoint).startTimeSeconds=Math.floor(document.querySelector("video").currentTime),Qa({clickTrackingParams:i,commandMetadata:a,watchEndpoint:r}),window.isPipPlaying=!1}var t,i,a,r;return!0};document.addEventListener("keydown",a,!0),document.addEventListener("keypress",a,!0),document.addEventListener("keyup",a,!0),ka("showWelcomeToast")&&setTimeout(()=>{Ea(ha("welcomeMsg.title"),ha("welcomeMsg.subtitle"))},2e3);ka("reloadHomeOnStartup")&&(ka("launchToOnStartup")?Qa(JSON.parse(ka("launchToOnStartup"))):Qa({signalAction:{signal:"SOFT_RELOAD_PAGE"}}));var r=fr();r&&r.executeFunction(new r.commandFunction("reloadGuideAction"));if(ka("enableFixedUI"))try{new MutationObserver((e,t)=>{var i=document.body;i.classList.contains("app-quality-root")&&i.classList.remove("app-quality-root")}).observe(document.body,{attributes:!0,childList:!1,subtree:!1})}catch(e){}}(),function(){var e=function(e){if(window._yttv[e]&&window._yttv[e].instance&&window._yttv[e].instance.resolveCommand){var t=window._yttv[e].instance.resolveCommand;window._yttv[e].instance.resolveCommand=function(i,n){var a,r,o,s,l,u;if(i.setClientSettingEndpoint){var c,d=p(i.setClientSettingEndpoint.settingDatas);try{for(d.s();!(c=d.n()).done;){var h=c.value;if(h.clientSettingEnum.item.includes("_")){if("I18N_LANGUAGE"===h.clientSettingEnum.item){var m=h.stringValue,g=new Date;return g.setFullYear(g.getFullYear()+10),document.cookie=`PREF=hl=${m}; expires=${g.toUTCString()};`,Qa({signalAction:{signal:"RELOAD_PAGE"}}),!0}}else{var f,v=p(i.setClientSettingEndpoint.settingDatas);try{for(v.s();!(f=v.n()).done;){var b=f.value,y=Object.keys(b).find(e=>e.includes("Value")),k="intValue"===y?Number(b[y]):b[y];if("arrayValue"===y){var S=ka(b.clientSettingEnum.item);S.includes(k)?S.splice(S.indexOf(k),1):S.push(k),Sa(b.clientSettingEnum.item,S)}else Sa(b.clientSettingEnum.item,k)}}catch(e){v.e(e)}finally{v.f()}}}}catch(e){d.e(e)}finally{d.f()}}else{if(i.customAction)return Za(i.customAction.action,i.customAction.parameters),!0;if(null!=i&&null!==(a=i.signalAction)&&void 0!==a&&a.customAction)return Za(i.signalAction.customAction.action,i.signalAction.customAction.parameters),!0;if(null!=i&&null!==(r=i.showEngagementPanelEndpoint)&&void 0!==r&&r.customAction)return Za(i.showEngagementPanelEndpoint.customAction.action,i.showEngagementPanelEndpoint.customAction.parameters),!0;if(null!=i&&null!==(o=i.playlistEditEndpoint)&&void 0!==o&&o.customAction)return Za(i.playlistEditEndpoint.customAction.action,i.playlistEditEndpoint.customAction.parameters),!0;if("playback-settings"===(null==i||null===(s=i.openPopupAction)||void 0===s?void 0:s.uniqueId)){var x,w=p(i.openPopupAction.popup.overlaySectionRenderer.overlay.overlayTwoPanelRenderer.actionPanel.overlayPanelRenderer.content.overlayPanelItemListRenderer.items);try{for(w.s();!(x=w.n()).done;){var D,T=x.value;"SLOW_MOTION_VIDEO"===(null==T||null===(D=T.compactLinkRenderer)||void 0===D||null===(D=D.icon)||void 0===D?void 0:D.iconType)&&(T.compactLinkRenderer.subtitle&&(T.compactLinkRenderer.subtitle.simpleText="with TizenTube"),T.compactLinkRenderer.serviceEndpoint={clickTrackingParams:"null",signalAction:{customAction:{action:"TT_SPEED_SETTINGS_SHOW",parameters:[]}}})}}catch(e){w.e(e)}finally{w.f()}i.openPopupAction.popup.overlaySectionRenderer.overlay.overlayTwoPanelRenderer.actionPanel.overlayPanelRenderer.content.overlayPanelItemListRenderer.items.splice(2,0,Pa({title:"Mini Player"},{icon:"CLEAR_COOKIES"},[{customAction:{action:"ENTER_PIP"}}]))}else null!=i&&null!==(l=i.watchEndpoint)&&void 0!==l&&l.videoId&&(window.isPipPlaying=!1,document.querySelector("ytlr-player-container").style.removeProperty("z-index"))}if(i.customAction)return window._yttv[e].instance.resolveCommand(i,n);if(i.commandExecutorCommand&&i.commandExecutorCommand.commands){var E,C=p(i.commandExecutorCommand.commands);try{for(C.s();!(E=C.n()).done;){var A,P,B,z=E.value;z.customAction?Za(z.customAction.action,z.customAction.parameters):null!==(A=z.signalAction)&&void 0!==A&&A.customAction?Za(z.signalAction.customAction.action,z.signalAction.customAction.parameters):null!==(P=z.showEngagementPanelEndpoint)&&void 0!==P&&P.customAction?Za(z.showEngagementPanelEndpoint.customAction.action,z.showEngagementPanelEndpoint.customAction.parameters):null!==(B=z.playlistEditEndpoint)&&void 0!==B&&B.customAction?Za(z.playlistEditEndpoint.customAction.action,z.playlistEditEndpoint.customAction.parameters):window._yttv[e].instance.resolveCommand(z,n)}}catch(e){C.e(e)}finally{C.f()}return!0}return null!=i&&i.requestAccountSelectorCommand&&"ACCOUNT_EVENT_TRIGGER_ON_EXIT"===(null===(u=i.requestAccountSelectorCommand)||void 0===u||null===(u=u.identityActionContext)||void 0===u?void 0:u.eventTrigger)&&!ka("enableWhosWatchingMenuOnAppExit")?(t.call(this,{signalAction:{signal:"EXIT_APP"}}),!1):t.call(this,i,n)}}};for(var t in window._yttv)e(t)}(),clearInterval(br))},250),yr=null;function kr(e){var t=JSON.parse(localStorage["yt.leanback.default::recurring_actions"]),i=ka("permanentlyEnableWhoIsWatchingMenu"),n=new Date;if(e){var a,r;if(n.getTime()-(null===(a=t.data.data["startup-screen-account-selector-with-guest"])||void 0===a?void 0:a.lastFired)>0&&n.getTime()-(null===(r=t.data.data["startup-screen-account-selector-with-guest"])||void 0===r?void 0:r.lastFired)<72e5&&!i)return;function o(){t.data.data["startup-screen-account-selector-with-guest"]&&(t.data.data["startup-screen-account-selector-with-guest"].lastFired=n.getTime()),t.data.data.whos_watching_fullscreen_zero_accounts.lastFired=n.getTime(),t.data.data["startup-screen-signed-out-welcome-back"]&&(t.data.data["startup-screen-signed-out-welcome-back"].lastFired=n.getTime()),localStorage["yt.leanback.default::recurring_actions"]=JSON.stringify(t)}o(),i?(n.setDate(n.getDate()-7),o(),vr=setInterval(o,6e4)):vr&&clearInterval(vr)}else n.setDate(n.getDate()+7),t.data.data["startup-screen-account-selector-with-guest"]&&(t.data.data["startup-screen-account-selector-with-guest"].lastFired=n.getTime()),t.data.data.whos_watching_fullscreen_zero_accounts.lastFired=n.getTime(),t.data.data["startup-screen-signed-out-welcome-back"]&&(t.data.data["startup-screen-signed-out-welcome-back"].lastFired=n.getTime()),localStorage["yt.leanback.default::recurring_actions"]=JSON.stringify(t)}xa.addEventListener("configChange",e=>{var t=e.detail,i=t.key,n=t.value;"enableWhoIsWatchingMenu"===i&&kr(n)}),kr(ka("enableWhoIsWatchingMenu"));var Sr=".html5-video-player",xr="onStateChange",wr="configChange",Dr="preferredVideoQuality",Tr=new WeakMap,Er=new WeakMap,Cr=new WeakMap,Ar=new WeakMap,Pr=new WeakSet,Br=new WeakMap;function zr(){clearTimeout(c(Er,this));var e=document.querySelector(Sr);e?(h(Tr,this,e),c(Tr,this).addEventListener(xr,c(Br,this)),c(Br,this).call(this)):h(Er,this,setTimeout(()=>s(Pr,this,zr).call(this),100))}function Ir(){xa.addEventListener(wr,e=>{var t;(null===(t=e.detail)||void 0===t?void 0:t.key)===Dr&&s(Pr,this,Fr).call(this)})}function Fr(){var e=ka(Dr);if(e&&"auto"!==e&&c(Tr,this))try{var t=s(Pr,this,Or).call(this,e);t&&c(Tr,this).setPlaybackQualityRange(t,t)}catch(e){console.warn("[PreferredQuality] Failed to apply quality:",e)}}function Or(e){var t=c(Tr,this).getAvailableQualityData();if(null==t||!t.length)return"highres";var i=e=>parseInt(e,10)||0,n=i(e),a=t.find(e=>i(e.qualityLabel)===n);return a?a.quality:"highres"}function jr(){var e;if(!window._yttv)return setTimeout(jr,250);null===(e=Object.values(window._yttv).find(e=>e instanceof Map&&e.has("ENABLE_PREVIEWS_WITH_SOUND")))||void 0===e||e.set("ENABLE_PREVIEWS_WITH_SOUND",ka("enablePreviews"))}window.preferredVideoQualityHandler=new class{constructor(){var e,t;u(e=this,t=Pr),t.add(e),d(this,Tr,null),d(this,Er,null),d(this,Cr,null),d(this,Ar,!1),d(this,Br,()=>{var e,t,i,n,a=null===(e=c(Tr,this))||void 0===e||null===(t=e.getPlayerStateObject)||void 0===t?void 0:t.call(e),r=null===(i=c(Tr,this))||void 0===i||null===(n=i.getVideoData)||void 0===n?void 0:n.call(i),o=null==r?void 0:r.video_id;o!==c(Cr,this)&&(h(Cr,this,o),h(Ar,this,!1));var l=Object.values(c(Tr,this).getVideoStats()).find(e=>e&&"shortspage"===e);null==a||!a.isPlaying||c(Ar,this)||l||(s(Pr,this,Fr).call(this),h(Ar,this,!0))}),this.init()}init(){s(Pr,this,zr).call(this),s(Pr,this,Ir).call(this)}},window.queuedVideos={videos:[],lastVideoId:null},function e(){var t=document.querySelector(".html5-video-player");if(!t)return setTimeout(e,250);t.addEventListener("onStateChange",()=>{var e=t.getPlayerStateObject(),i=t.getVideoData();if(0!==window.queuedVideos.videos.length)if(e.isEnded){var n=window.queuedVideos.videos.findIndex(e=>e.tileRenderer.contentId===i.video_id);if(-1!==n){if(n+1>=window.queuedVideos.videos.length)return void Qa({customAction:{action:"CLEAR_QUEUE"}});var a=window.queuedVideos.videos[n+1].tileRenderer.onSelectCommand;setTimeout(()=>Qa(a),500)}else if(window.queuedVideos.lastVideoId){var r=window.queuedVideos.videos.findIndex(e=>e.tileRenderer.contentId===window.queuedVideos.lastVideoId);if(!(-1!==r&&r+1<window.queuedVideos.videos.length))return void Qa({customAction:{action:"CLEAR_QUEUE"}});var o=window.queuedVideos.videos[r+1].tileRenderer.onSelectCommand;setTimeout(()=>Qa(o),500)}else{var s=window.queuedVideos.videos[0].tileRenderer.onSelectCommand;setTimeout(()=>Qa(s),500)}}else e.isPlaying&&(document.getElementById("container").style.setProperty("opacity","1","important"),window.queuedVideos.videos.find(e=>e.contentId===i.video_id)&&(window.queuedVideos.lastVideoId=i.video_id))})}(),xa.addEventListener("configChange",e=>{jr()}),"complete"===document.readyState?jr():window.addEventListener("load",jr);var Mr,Rr={exports:{}};var Nr,Lr,_r=(Mr||(Mr=1,Nr=function(){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var a=t[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}return i.m=e,i.c=t,i.p="",i(0)}([function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),a=i(3),r=i(8),o=i(15);function s(e,t,i){var o=null,s=function(e,t){i&&i(e,t),o&&o.visit(e,t)},l="function"==typeof i?s:null,u=!1;if(t){u="boolean"==typeof t.comment&&t.comment;var c="boolean"==typeof t.attachComment&&t.attachComment;(u||c)&&((o=new n.CommentHandler).attach=c,t.comment=!0,l=s)}var d,h=!1;t&&"string"==typeof t.sourceType&&(h="module"===t.sourceType),d=t&&"boolean"==typeof t.jsx&&t.jsx?new a.JSXParser(e,t,l):new r.Parser(e,t,l);var p=h?d.parseModule():d.parseScript();return u&&o&&(p.comments=o.comments),d.config.tokens&&(p.tokens=d.tokens),d.config.tolerant&&(p.errors=d.errorHandler.errors),p}t.parse=s,t.parseModule=function(e,t,i){var n=t||{};return n.sourceType="module",s(e,n,i)},t.parseScript=function(e,t,i){var n=t||{};return n.sourceType="script",s(e,n,i)},t.tokenize=function(e,t,i){var n,a=new o.Tokenizer(e,t);n=[];try{for(;;){var r=a.getNextToken();if(!r)break;i&&(r=i(r)),n.push(r)}}catch(e){a.errorHandler.tolerate(e)}return a.errorHandler.tolerant&&(n.errors=a.errors()),n};var l=i(2);t.Syntax=l.Syntax,t.version="4.0.1"},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(2),a=function(){function e(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return e.prototype.insertInnerComments=function(e,t){if(e.type===n.Syntax.BlockStatement&&0===e.body.length){for(var i=[],a=this.leading.length-1;a>=0;--a){var r=this.leading[a];t.end.offset>=r.start&&(i.unshift(r.comment),this.leading.splice(a,1),this.trailing.splice(a,1))}i.length&&(e.innerComments=i)}},e.prototype.findTrailingComments=function(e){var t=[];if(this.trailing.length>0){for(var i=this.trailing.length-1;i>=0;--i){var n=this.trailing[i];n.start>=e.end.offset&&t.unshift(n.comment)}return this.trailing.length=0,t}var a=this.stack[this.stack.length-1];if(a&&a.node.trailingComments){var r=a.node.trailingComments[0];r&&r.range[0]>=e.end.offset&&(t=a.node.trailingComments,delete a.node.trailingComments)}return t},e.prototype.findLeadingComments=function(e){for(var t,i=[];this.stack.length>0&&(r=this.stack[this.stack.length-1])&&r.start>=e.start.offset;)t=r.node,this.stack.pop();if(t){for(var n=(t.leadingComments?t.leadingComments.length:0)-1;n>=0;--n){var a=t.leadingComments[n];a.range[1]<=e.start.offset&&(i.unshift(a),t.leadingComments.splice(n,1))}return t.leadingComments&&0===t.leadingComments.length&&delete t.leadingComments,i}for(n=this.leading.length-1;n>=0;--n){var r;(r=this.leading[n]).start<=e.start.offset&&(i.unshift(r.comment),this.leading.splice(n,1))}return i},e.prototype.visitNode=function(e,t){if(!(e.type===n.Syntax.Program&&e.body.length>0)){this.insertInnerComments(e,t);var i=this.findTrailingComments(t),a=this.findLeadingComments(t);a.length>0&&(e.leadingComments=a),i.length>0&&(e.trailingComments=i),this.stack.push({node:e,start:t.start.offset})}},e.prototype.visitComment=function(e,t){var i="L"===e.type[0]?"Line":"Block",n={type:i,value:e.value};if(e.range&&(n.range=e.range),e.loc&&(n.loc=e.loc),this.comments.push(n),this.attach){var a={comment:{type:i,value:e.value,range:[t.start.offset,t.end.offset]},start:t.start.offset};e.loc&&(a.comment.loc=e.loc),e.type=i,this.leading.push(a),this.trailing.push(a)}},e.prototype.visit=function(e,t){"LineComment"===e.type||"BlockComment"===e.type?this.visitComment(e,t):this.attach&&this.visitNode(e,t)},e}();t.CommentHandler=a},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(e,t,i){var n,a=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var r=i(4),o=i(5),s=i(6),l=i(7),u=i(8),c=i(13),d=i(14);function h(e){var t;switch(e.type){case s.JSXSyntax.JSXIdentifier:t=e.name;break;case s.JSXSyntax.JSXNamespacedName:var i=e;t=h(i.namespace)+":"+h(i.name);break;case s.JSXSyntax.JSXMemberExpression:var n=e;t=h(n.object)+"."+h(n.property)}return t}c.TokenName[100]="JSXIdentifier",c.TokenName[101]="JSXText";var p=function(e){function t(t,i,n){return e.call(this,t,i,n)||this}return a(t,e),t.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():e.prototype.parsePrimaryExpression.call(this)},t.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},t.prototype.finishJSX=function(){this.nextToken()},t.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},t.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.scanXHTMLEntity=function(e){for(var t="&",i=!0,n=!1,a=!1,o=!1;!this.scanner.eof()&&i&&!n;){var s=this.scanner.source[this.scanner.index];if(s===e)break;if(n=";"===s,t+=s,++this.scanner.index,!n)switch(t.length){case 2:a="#"===s;break;case 3:a&&(i=(o="x"===s)||r.Character.isDecimalDigit(s.charCodeAt(0)),a=a&&!o);break;default:i=(i=i&&!(a&&!r.Character.isDecimalDigit(s.charCodeAt(0))))&&!(o&&!r.Character.isHexDigit(s.charCodeAt(0)))}}if(i&&n&&t.length>2){var l=t.substr(1,t.length-2);a&&l.length>1?t=String.fromCharCode(parseInt(l.substr(1),10)):o&&l.length>2?t=String.fromCharCode(parseInt("0"+l.substr(1),16)):a||o||!d.XHTMLEntities[l]||(t=d.XHTMLEntities[l])}return t},t.prototype.lexJSX=function(){var e=this.scanner.source.charCodeAt(this.scanner.index);if(60===e||62===e||47===e||58===e||61===e||123===e||125===e)return{type:7,value:s=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(34===e||39===e){for(var t=this.scanner.index,i=this.scanner.source[this.scanner.index++],n="";!this.scanner.eof()&&(l=this.scanner.source[this.scanner.index++])!==i;)n+="&"===l?this.scanXHTMLEntity(i):l;return{type:8,value:n,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}if(46===e){var a=this.scanner.source.charCodeAt(this.scanner.index+1),o=this.scanner.source.charCodeAt(this.scanner.index+2),s=46===a&&46===o?"...":".";return t=this.scanner.index,this.scanner.index+=s.length,{type:7,value:s,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}if(96===e)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(r.Character.isIdentifierStart(e)&&92!==e){for(t=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var l=this.scanner.source.charCodeAt(this.scanner.index);if(r.Character.isIdentifierPart(l)&&92!==l)++this.scanner.index;else{if(45!==l)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(t,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}return this.scanner.lex()},t.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var e=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(e)),e},t.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var e=this.scanner.index,t="";!this.scanner.eof();){var i=this.scanner.source[this.scanner.index];if("{"===i||"<"===i)break;++this.scanner.index,t+=i,r.Character.isLineTerminator(i.charCodeAt(0))&&(++this.scanner.lineNumber,"\r"===i&&"\n"===this.scanner.source[this.scanner.index]&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var n={type:101,value:t,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:e,end:this.scanner.index};return t.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(n)),n},t.prototype.peekJSXToken=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.lexJSX();return this.scanner.restoreState(e),t},t.prototype.expectJSX=function(e){var t=this.nextJSXToken();7===t.type&&t.value===e||this.throwUnexpectedToken(t)},t.prototype.matchJSX=function(e){var t=this.peekJSXToken();return 7===t.type&&t.value===e},t.prototype.parseJSXIdentifier=function(){var e=this.createJSXNode(),t=this.nextJSXToken();return 100!==t.type&&this.throwUnexpectedToken(t),this.finalize(e,new o.JSXIdentifier(t.value))},t.prototype.parseJSXElementName=function(){var e=this.createJSXNode(),t=this.parseJSXIdentifier();if(this.matchJSX(":")){var i=t;this.expectJSX(":");var n=this.parseJSXIdentifier();t=this.finalize(e,new o.JSXNamespacedName(i,n))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var a=t;this.expectJSX(".");var r=this.parseJSXIdentifier();t=this.finalize(e,new o.JSXMemberExpression(a,r))}return t},t.prototype.parseJSXAttributeName=function(){var e,t=this.createJSXNode(),i=this.parseJSXIdentifier();if(this.matchJSX(":")){var n=i;this.expectJSX(":");var a=this.parseJSXIdentifier();e=this.finalize(t,new o.JSXNamespacedName(n,a))}else e=i;return e},t.prototype.parseJSXStringLiteralAttribute=function(){var e=this.createJSXNode(),t=this.nextJSXToken();8!==t.type&&this.throwUnexpectedToken(t);var i=this.getTokenRaw(t);return this.finalize(e,new l.Literal(t.value,i))},t.prototype.parseJSXExpressionAttribute=function(){var e=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var t=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(e,new o.JSXExpressionContainer(t))},t.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},t.prototype.parseJSXNameValueAttribute=function(){var e=this.createJSXNode(),t=this.parseJSXAttributeName(),i=null;return this.matchJSX("=")&&(this.expectJSX("="),i=this.parseJSXAttributeValue()),this.finalize(e,new o.JSXAttribute(t,i))},t.prototype.parseJSXSpreadAttribute=function(){var e=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var t=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(e,new o.JSXSpreadAttribute(t))},t.prototype.parseJSXAttributes=function(){for(var e=[];!this.matchJSX("/")&&!this.matchJSX(">");){var t=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();e.push(t)}return e},t.prototype.parseJSXOpeningElement=function(){var e=this.createJSXNode();this.expectJSX("<");var t=this.parseJSXElementName(),i=this.parseJSXAttributes(),n=this.matchJSX("/");return n&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(e,new o.JSXOpeningElement(t,n,i))},t.prototype.parseJSXBoundaryElement=function(){var e=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var t=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(e,new o.JSXClosingElement(t))}var i=this.parseJSXElementName(),n=this.parseJSXAttributes(),a=this.matchJSX("/");return a&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(e,new o.JSXOpeningElement(i,a,n))},t.prototype.parseJSXEmptyExpression=function(){var e=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(e,new o.JSXEmptyExpression)},t.prototype.parseJSXExpressionContainer=function(){var e,t=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(e=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),e=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(t,new o.JSXExpressionContainer(e))},t.prototype.parseJSXChildren=function(){for(var e=[];!this.scanner.eof();){var t=this.createJSXChildNode(),i=this.nextJSXText();if(i.start<i.end){var n=this.getTokenRaw(i),a=this.finalize(t,new o.JSXText(i.value,n));e.push(a)}if("{"!==this.scanner.source[this.scanner.index])break;var r=this.parseJSXExpressionContainer();e.push(r)}return e},t.prototype.parseComplexJSXElement=function(e){for(var t=[];!this.scanner.eof();){e.children=e.children.concat(this.parseJSXChildren());var i=this.createJSXChildNode(),n=this.parseJSXBoundaryElement();if(n.type===s.JSXSyntax.JSXOpeningElement){var a=n;if(a.selfClosing){var r=this.finalize(i,new o.JSXElement(a,[],null));e.children.push(r)}else t.push(e),e={node:i,opening:a,closing:null,children:[]}}if(n.type===s.JSXSyntax.JSXClosingElement){e.closing=n;var l=h(e.opening.name);if(l!==h(e.closing.name)&&this.tolerateError("Expected corresponding JSX closing tag for %0",l),!(t.length>0))break;r=this.finalize(e.node,new o.JSXElement(e.opening,e.children,e.closing)),(e=t[t.length-1]).children.push(r),t.pop()}}return e},t.prototype.parseJSXElement=function(){var e=this.createJSXNode(),t=this.parseJSXOpeningElement(),i=[],n=null;if(!t.selfClosing){var a=this.parseComplexJSXElement({node:e,opening:t,closing:n,children:i});i=a.children,n=a.closing}return this.finalize(e,new o.JSXElement(t,i,n))},t.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var e=this.parseJSXElement();return this.finishJSX(),e},t.prototype.isStartOfExpression=function(){return e.prototype.isStartOfExpression.call(this)||this.match("<")},t}(u.Parser);t.JSXParser=p},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var i={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};t.Character={fromCodePoint:function(e){return e<65536?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10))+String.fromCharCode(56320+(e-65536&1023))},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStart:function(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||92===e||e>=128&&i.NonAsciiIdentifierStart.test(t.Character.fromCodePoint(e))},isIdentifierPart:function(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||92===e||e>=128&&i.NonAsciiIdentifierPart.test(t.Character.fromCodePoint(e))},isDecimalDigit:function(e){return e>=48&&e<=57},isHexDigit:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102},isOctalDigit:function(e){return e>=48&&e<=55}}},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(6),a=function(e){this.type=n.JSXSyntax.JSXClosingElement,this.name=e};t.JSXClosingElement=a;var r=function(e,t,i){this.type=n.JSXSyntax.JSXElement,this.openingElement=e,this.children=t,this.closingElement=i};t.JSXElement=r;var o=function(){this.type=n.JSXSyntax.JSXEmptyExpression};t.JSXEmptyExpression=o;var s=function(e){this.type=n.JSXSyntax.JSXExpressionContainer,this.expression=e};t.JSXExpressionContainer=s;var l=function(e){this.type=n.JSXSyntax.JSXIdentifier,this.name=e};t.JSXIdentifier=l;var u=function(e,t){this.type=n.JSXSyntax.JSXMemberExpression,this.object=e,this.property=t};t.JSXMemberExpression=u;var c=function(e,t){this.type=n.JSXSyntax.JSXAttribute,this.name=e,this.value=t};t.JSXAttribute=c;var d=function(e,t){this.type=n.JSXSyntax.JSXNamespacedName,this.namespace=e,this.name=t};t.JSXNamespacedName=d;var h=function(e,t,i){this.type=n.JSXSyntax.JSXOpeningElement,this.name=e,this.selfClosing=t,this.attributes=i};t.JSXOpeningElement=h;var p=function(e){this.type=n.JSXSyntax.JSXSpreadAttribute,this.argument=e};t.JSXSpreadAttribute=p;var m=function(e,t){this.type=n.JSXSyntax.JSXText,this.value=e,this.raw=t};t.JSXText=m},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(2),a=function(e){this.type=n.Syntax.ArrayExpression,this.elements=e};t.ArrayExpression=a;var r=function(e){this.type=n.Syntax.ArrayPattern,this.elements=e};t.ArrayPattern=r;var o=function(e,t,i){this.type=n.Syntax.ArrowFunctionExpression,this.id=null,this.params=e,this.body=t,this.generator=!1,this.expression=i,this.async=!1};t.ArrowFunctionExpression=o;var s=function(e,t,i){this.type=n.Syntax.AssignmentExpression,this.operator=e,this.left=t,this.right=i};t.AssignmentExpression=s;var l=function(e,t){this.type=n.Syntax.AssignmentPattern,this.left=e,this.right=t};t.AssignmentPattern=l;var u=function(e,t,i){this.type=n.Syntax.ArrowFunctionExpression,this.id=null,this.params=e,this.body=t,this.generator=!1,this.expression=i,this.async=!0};t.AsyncArrowFunctionExpression=u;var c=function(e,t,i){this.type=n.Syntax.FunctionDeclaration,this.id=e,this.params=t,this.body=i,this.generator=!1,this.expression=!1,this.async=!0};t.AsyncFunctionDeclaration=c;var d=function(e,t,i){this.type=n.Syntax.FunctionExpression,this.id=e,this.params=t,this.body=i,this.generator=!1,this.expression=!1,this.async=!0};t.AsyncFunctionExpression=d;var h=function(e){this.type=n.Syntax.AwaitExpression,this.argument=e};t.AwaitExpression=h;var p=function(e,t,i){var a="||"===e||"&&"===e;this.type=a?n.Syntax.LogicalExpression:n.Syntax.BinaryExpression,this.operator=e,this.left=t,this.right=i};t.BinaryExpression=p;var m=function(e){this.type=n.Syntax.BlockStatement,this.body=e};t.BlockStatement=m;var g=function(e){this.type=n.Syntax.BreakStatement,this.label=e};t.BreakStatement=g;var f=function(e,t){this.type=n.Syntax.CallExpression,this.callee=e,this.arguments=t};t.CallExpression=f;var v=function(e,t){this.type=n.Syntax.CatchClause,this.param=e,this.body=t};t.CatchClause=v;var b=function(e){this.type=n.Syntax.ClassBody,this.body=e};t.ClassBody=b;var y=function(e,t,i){this.type=n.Syntax.ClassDeclaration,this.id=e,this.superClass=t,this.body=i};t.ClassDeclaration=y;var k=function(e,t,i){this.type=n.Syntax.ClassExpression,this.id=e,this.superClass=t,this.body=i};t.ClassExpression=k;var S=function(e,t){this.type=n.Syntax.MemberExpression,this.computed=!0,this.object=e,this.property=t};t.ComputedMemberExpression=S;var x=function(e,t,i){this.type=n.Syntax.ConditionalExpression,this.test=e,this.consequent=t,this.alternate=i};t.ConditionalExpression=x;var w=function(e){this.type=n.Syntax.ContinueStatement,this.label=e};t.ContinueStatement=w;var D=function(){this.type=n.Syntax.DebuggerStatement};t.DebuggerStatement=D;var T=function(e,t){this.type=n.Syntax.ExpressionStatement,this.expression=e,this.directive=t};t.Directive=T;var E=function(e,t){this.type=n.Syntax.DoWhileStatement,this.body=e,this.test=t};t.DoWhileStatement=E;var C=function(){this.type=n.Syntax.EmptyStatement};t.EmptyStatement=C;var A=function(e){this.type=n.Syntax.ExportAllDeclaration,this.source=e};t.ExportAllDeclaration=A;var P=function(e){this.type=n.Syntax.ExportDefaultDeclaration,this.declaration=e};t.ExportDefaultDeclaration=P;var B=function(e,t,i){this.type=n.Syntax.ExportNamedDeclaration,this.declaration=e,this.specifiers=t,this.source=i};t.ExportNamedDeclaration=B;var z=function(e,t){this.type=n.Syntax.ExportSpecifier,this.exported=t,this.local=e};t.ExportSpecifier=z;var I=function(e){this.type=n.Syntax.ExpressionStatement,this.expression=e};t.ExpressionStatement=I;var F=function(e,t,i){this.type=n.Syntax.ForInStatement,this.left=e,this.right=t,this.body=i,this.each=!1};t.ForInStatement=F;var O=function(e,t,i){this.type=n.Syntax.ForOfStatement,this.left=e,this.right=t,this.body=i};t.ForOfStatement=O;var j=function(e,t,i,a){this.type=n.Syntax.ForStatement,this.init=e,this.test=t,this.update=i,this.body=a};t.ForStatement=j;var M=function(e,t,i,a){this.type=n.Syntax.FunctionDeclaration,this.id=e,this.params=t,this.body=i,this.generator=a,this.expression=!1,this.async=!1};t.FunctionDeclaration=M;var R=function(e,t,i,a){this.type=n.Syntax.FunctionExpression,this.id=e,this.params=t,this.body=i,this.generator=a,this.expression=!1,this.async=!1};t.FunctionExpression=R;var N=function(e){this.type=n.Syntax.Identifier,this.name=e};t.Identifier=N;var L=function(e,t,i){this.type=n.Syntax.IfStatement,this.test=e,this.consequent=t,this.alternate=i};t.IfStatement=L;var _=function(e,t){this.type=n.Syntax.ImportDeclaration,this.specifiers=e,this.source=t};t.ImportDeclaration=_;var V=function(e){this.type=n.Syntax.ImportDefaultSpecifier,this.local=e};t.ImportDefaultSpecifier=V;var H=function(e){this.type=n.Syntax.ImportNamespaceSpecifier,this.local=e};t.ImportNamespaceSpecifier=H;var U=function(e,t){this.type=n.Syntax.ImportSpecifier,this.local=e,this.imported=t};t.ImportSpecifier=U;var W=function(e,t){this.type=n.Syntax.LabeledStatement,this.label=e,this.body=t};t.LabeledStatement=W;var K=function(e,t){this.type=n.Syntax.Literal,this.value=e,this.raw=t};t.Literal=K;var G=function(e,t){this.type=n.Syntax.MetaProperty,this.meta=e,this.property=t};t.MetaProperty=G;var q=function(e,t,i,a,r){this.type=n.Syntax.MethodDefinition,this.key=e,this.computed=t,this.value=i,this.kind=a,this.static=r};t.MethodDefinition=q;var J=function(e){this.type=n.Syntax.Program,this.body=e,this.sourceType="module"};t.Module=J;var X=function(e,t){this.type=n.Syntax.NewExpression,this.callee=e,this.arguments=t};t.NewExpression=X;var Y=function(e){this.type=n.Syntax.ObjectExpression,this.properties=e};t.ObjectExpression=Y;var $=function(e){this.type=n.Syntax.ObjectPattern,this.properties=e};t.ObjectPattern=$;var Q=function(e,t,i,a,r,o){this.type=n.Syntax.Property,this.key=t,this.computed=i,this.value=a,this.kind=e,this.method=r,this.shorthand=o};t.Property=Q;var Z=function(e,t,i,a){this.type=n.Syntax.Literal,this.value=e,this.raw=t,this.regex={pattern:i,flags:a}};t.RegexLiteral=Z;var ee=function(e){this.type=n.Syntax.RestElement,this.argument=e};t.RestElement=ee;var te=function(e){this.type=n.Syntax.ReturnStatement,this.argument=e};t.ReturnStatement=te;var ie=function(e){this.type=n.Syntax.Program,this.body=e,this.sourceType="script"};t.Script=ie;var ne=function(e){this.type=n.Syntax.SequenceExpression,this.expressions=e};t.SequenceExpression=ne;var ae=function(e){this.type=n.Syntax.SpreadElement,this.argument=e};t.SpreadElement=ae;var re=function(e,t){this.type=n.Syntax.MemberExpression,this.computed=!1,this.object=e,this.property=t};t.StaticMemberExpression=re;var oe=function(){this.type=n.Syntax.Super};t.Super=oe;var se=function(e,t){this.type=n.Syntax.SwitchCase,this.test=e,this.consequent=t};t.SwitchCase=se;var le=function(e,t){this.type=n.Syntax.SwitchStatement,this.discriminant=e,this.cases=t};t.SwitchStatement=le;var ue=function(e,t){this.type=n.Syntax.TaggedTemplateExpression,this.tag=e,this.quasi=t};t.TaggedTemplateExpression=ue;var ce=function(e,t){this.type=n.Syntax.TemplateElement,this.value=e,this.tail=t};t.TemplateElement=ce;var de=function(e,t){this.type=n.Syntax.TemplateLiteral,this.quasis=e,this.expressions=t};t.TemplateLiteral=de;var he=function(){this.type=n.Syntax.ThisExpression};t.ThisExpression=he;var pe=function(e){this.type=n.Syntax.ThrowStatement,this.argument=e};t.ThrowStatement=pe;var me=function(e,t,i){this.type=n.Syntax.TryStatement,this.block=e,this.handler=t,this.finalizer=i};t.TryStatement=me;var ge=function(e,t){this.type=n.Syntax.UnaryExpression,this.operator=e,this.argument=t,this.prefix=!0};t.UnaryExpression=ge;var fe=function(e,t,i){this.type=n.Syntax.UpdateExpression,this.operator=e,this.argument=t,this.prefix=i};t.UpdateExpression=fe;var ve=function(e,t){this.type=n.Syntax.VariableDeclaration,this.declarations=e,this.kind=t};t.VariableDeclaration=ve;var be=function(e,t){this.type=n.Syntax.VariableDeclarator,this.id=e,this.init=t};t.VariableDeclarator=be;var ye=function(e,t){this.type=n.Syntax.WhileStatement,this.test=e,this.body=t};t.WhileStatement=ye;var ke=function(e,t){this.type=n.Syntax.WithStatement,this.object=e,this.body=t};t.WithStatement=ke;var Se=function(e,t){this.type=n.Syntax.YieldExpression,this.argument=e,this.delegate=t};t.YieldExpression=Se},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(9),a=i(10),r=i(11),o=i(7),s=i(12),l=i(2),u=i(13),c="ArrowParameterPlaceHolder",d=function(){function e(e,t,i){void 0===t&&(t={}),this.config={range:"boolean"==typeof t.range&&t.range,loc:"boolean"==typeof t.loc&&t.loc,source:null,tokens:"boolean"==typeof t.tokens&&t.tokens,comment:"boolean"==typeof t.comment&&t.comment,tolerant:"boolean"==typeof t.tolerant&&t.tolerant},this.config.loc&&t.source&&null!==t.source&&(this.config.source=String(t.source)),this.delegate=i,this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new s.Scanner(e,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return e.prototype.throwError=function(e){var t=Array.prototype.slice.call(arguments,1),i=e.replace(/%(\d)/g,function(e,i){return n.assert(i<t.length,"Message reference must be in range"),t[i]}),a=this.lastMarker.index,r=this.lastMarker.line,o=this.lastMarker.column+1;throw this.errorHandler.createError(a,r,o,i)},e.prototype.tolerateError=function(e){var t=Array.prototype.slice.call(arguments,1),i=e.replace(/%(\d)/g,function(e,i){return n.assert(i<t.length,"Message reference must be in range"),t[i]}),a=this.lastMarker.index,r=this.scanner.lineNumber,o=this.lastMarker.column+1;this.errorHandler.tolerateError(a,r,o,i)},e.prototype.unexpectedTokenError=function(e,t){var i,n=t||r.Messages.UnexpectedToken;if(e?(t||(n=2===e.type?r.Messages.UnexpectedEOS:3===e.type?r.Messages.UnexpectedIdentifier:6===e.type?r.Messages.UnexpectedNumber:8===e.type?r.Messages.UnexpectedString:10===e.type?r.Messages.UnexpectedTemplate:r.Messages.UnexpectedToken,4===e.type&&(this.scanner.isFutureReservedWord(e.value)?n=r.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(e.value)&&(n=r.Messages.StrictReservedWord))),i=e.value):i="ILLEGAL",n=n.replace("%0",i),e&&"number"==typeof e.lineNumber){var a=e.start,o=e.lineNumber,s=this.lastMarker.index-this.lastMarker.column,l=e.start-s+1;return this.errorHandler.createError(a,o,l,n)}return a=this.lastMarker.index,o=this.lastMarker.line,l=this.lastMarker.column+1,this.errorHandler.createError(a,o,l,n)},e.prototype.throwUnexpectedToken=function(e,t){throw this.unexpectedTokenError(e,t)},e.prototype.tolerateUnexpectedToken=function(e,t){this.errorHandler.tolerate(this.unexpectedTokenError(e,t))},e.prototype.collectComments=function(){if(this.config.comment){var e=this.scanner.scanComments();if(e.length>0&&this.delegate)for(var t=0;t<e.length;++t){var i=e[t],n=void 0;n={type:i.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(i.slice[0],i.slice[1])},this.config.range&&(n.range=i.range),this.config.loc&&(n.loc=i.loc);var a={start:{line:i.loc.start.line,column:i.loc.start.column,offset:i.range[0]},end:{line:i.loc.end.line,column:i.loc.end.column,offset:i.range[1]}};this.delegate(n,a)}}else this.scanner.scanComments()},e.prototype.getTokenRaw=function(e){return this.scanner.source.slice(e.start,e.end)},e.prototype.convertToken=function(e){var t={type:u.TokenName[e.type],value:this.getTokenRaw(e)};if(this.config.range&&(t.range=[e.start,e.end]),this.config.loc&&(t.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),9===e.type){var i=e.pattern,n=e.flags;t.regex={pattern:i,flags:n}}return t},e.prototype.nextToken=function(){var e=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var t=this.scanner.lex();return this.hasLineTerminator=e.lineNumber!==t.lineNumber,t&&this.context.strict&&3===t.type&&this.scanner.isStrictModeReservedWord(t.value)&&(t.type=4),this.lookahead=t,this.config.tokens&&2!==t.type&&this.tokens.push(this.convertToken(t)),e},e.prototype.nextRegexToken=function(){this.collectComments();var e=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(e))),this.lookahead=e,this.nextToken(),e},e.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},e.prototype.startNode=function(e,t){void 0===t&&(t=0);var i=e.start-e.lineStart,n=e.lineNumber;return i<0&&(i+=t,n--),{index:e.start,line:n,column:i}},e.prototype.finalize=function(e,t){if(this.config.range&&(t.range=[e.index,this.lastMarker.index]),this.config.loc&&(t.loc={start:{line:e.line,column:e.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(t.loc.source=this.config.source)),this.delegate){var i={start:{line:e.line,column:e.column,offset:e.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(t,i)}return t},e.prototype.expect=function(e){var t=this.nextToken();7===t.type&&t.value===e||this.throwUnexpectedToken(t)},e.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var e=this.lookahead;7===e.type&&","===e.value?this.nextToken():7===e.type&&";"===e.value?(this.nextToken(),this.tolerateUnexpectedToken(e)):this.tolerateUnexpectedToken(e,r.Messages.UnexpectedToken)}else this.expect(",")},e.prototype.expectKeyword=function(e){var t=this.nextToken();4===t.type&&t.value===e||this.throwUnexpectedToken(t)},e.prototype.match=function(e){return 7===this.lookahead.type&&this.lookahead.value===e},e.prototype.matchKeyword=function(e){return 4===this.lookahead.type&&this.lookahead.value===e},e.prototype.matchContextualKeyword=function(e){return 3===this.lookahead.type&&this.lookahead.value===e},e.prototype.matchAssign=function(){if(7!==this.lookahead.type)return!1;var e=this.lookahead.value;return"="===e||"*="===e||"**="===e||"/="===e||"%="===e||"+="===e||"-="===e||"<<="===e||">>="===e||">>>="===e||"&="===e||"^="===e||"|="===e},e.prototype.isolateCoverGrammar=function(e){var t=this.context.isBindingElement,i=this.context.isAssignmentTarget,n=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var a=e.call(this);return null!==this.context.firstCoverInitializedNameError&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=t,this.context.isAssignmentTarget=i,this.context.firstCoverInitializedNameError=n,a},e.prototype.inheritCoverGrammar=function(e){var t=this.context.isBindingElement,i=this.context.isAssignmentTarget,n=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var a=e.call(this);return this.context.isBindingElement=this.context.isBindingElement&&t,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&i,this.context.firstCoverInitializedNameError=n||this.context.firstCoverInitializedNameError,a},e.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(2===this.lookahead.type||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},e.prototype.parsePrimaryExpression=function(){var e,t,i,n=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&"await"===this.lookahead.value&&this.tolerateUnexpectedToken(this.lookahead),e=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(n,new o.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,r.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),i=this.getTokenRaw(t),e=this.finalize(n,new o.Literal(t.value,i));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),i=this.getTokenRaw(t),e=this.finalize(n,new o.Literal("true"===t.value,i));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),i=this.getTokenRaw(t),e=this.finalize(n,new o.Literal(null,i));break;case 10:e=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,e=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":e=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":e=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,t=this.nextRegexToken(),i=this.getTokenRaw(t),e=this.finalize(n,new o.RegexLiteral(t.regex,i,t.pattern,t.flags));break;default:e=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?e=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?e=this.finalize(n,new o.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?e=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),e=this.finalize(n,new o.ThisExpression)):e=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:e=this.throwUnexpectedToken(this.nextToken())}return e},e.prototype.parseSpreadElement=function(){var e=this.createNode();this.expect("...");var t=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(e,new o.SpreadElement(t))},e.prototype.parseArrayInitializer=function(){var e=this.createNode(),t=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),t.push(null);else if(this.match("...")){var i=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),t.push(i)}else t.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(e,new o.ArrayExpression(t))},e.prototype.parsePropertyMethod=function(e){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var t=this.context.strict,i=this.context.allowStrictDirective;this.context.allowStrictDirective=e.simple;var n=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&e.firstRestricted&&this.tolerateUnexpectedToken(e.firstRestricted,e.message),this.context.strict&&e.stricted&&this.tolerateUnexpectedToken(e.stricted,e.message),this.context.strict=t,this.context.allowStrictDirective=i,n},e.prototype.parsePropertyMethodFunction=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var i=this.parseFormalParameters(),n=this.parsePropertyMethod(i);return this.context.allowYield=t,this.finalize(e,new o.FunctionExpression(null,i.params,n,!1))},e.prototype.parsePropertyMethodAsyncFunction=function(){var e=this.createNode(),t=this.context.allowYield,i=this.context.await;this.context.allowYield=!1,this.context.await=!0;var n=this.parseFormalParameters(),a=this.parsePropertyMethod(n);return this.context.allowYield=t,this.context.await=i,this.finalize(e,new o.AsyncFunctionExpression(null,n.params,a))},e.prototype.parseObjectPropertyKey=function(){var e,t=this.createNode(),i=this.nextToken();switch(i.type){case 8:case 6:this.context.strict&&i.octal&&this.tolerateUnexpectedToken(i,r.Messages.StrictOctalLiteral);var n=this.getTokenRaw(i);e=this.finalize(t,new o.Literal(i.value,n));break;case 3:case 1:case 5:case 4:e=this.finalize(t,new o.Identifier(i.value));break;case 7:"["===i.value?(e=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):e=this.throwUnexpectedToken(i);break;default:e=this.throwUnexpectedToken(i)}return e},e.prototype.isPropertyKey=function(e,t){return e.type===l.Syntax.Identifier&&e.name===t||e.type===l.Syntax.Literal&&e.value===t},e.prototype.parseObjectProperty=function(e){var t,i=this.createNode(),n=this.lookahead,a=null,s=null,l=!1,u=!1,c=!1,d=!1;if(3===n.type){var h=n.value;this.nextToken(),l=this.match("["),a=(d=!(this.hasLineTerminator||"async"!==h||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(i,new o.Identifier(h))}else this.match("*")?this.nextToken():(l=this.match("["),a=this.parseObjectPropertyKey());var p=this.qualifiedPropertyName(this.lookahead);if(3===n.type&&!d&&"get"===n.value&&p)t="get",l=this.match("["),a=this.parseObjectPropertyKey(),this.context.allowYield=!1,s=this.parseGetterMethod();else if(3===n.type&&!d&&"set"===n.value&&p)t="set",l=this.match("["),a=this.parseObjectPropertyKey(),s=this.parseSetterMethod();else if(7===n.type&&"*"===n.value&&p)t="init",l=this.match("["),a=this.parseObjectPropertyKey(),s=this.parseGeneratorMethod(),u=!0;else if(a||this.throwUnexpectedToken(this.lookahead),t="init",this.match(":")&&!d)!l&&this.isPropertyKey(a,"__proto__")&&(e.value&&this.tolerateError(r.Messages.DuplicateProtoProperty),e.value=!0),this.nextToken(),s=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))s=d?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),u=!0;else if(3===n.type)if(h=this.finalize(i,new o.Identifier(n.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),c=!0;var m=this.isolateCoverGrammar(this.parseAssignmentExpression);s=this.finalize(i,new o.AssignmentPattern(h,m))}else c=!0,s=h;else this.throwUnexpectedToken(this.nextToken());return this.finalize(i,new o.Property(t,a,l,s,u,c))},e.prototype.parseObjectInitializer=function(){var e=this.createNode();this.expect("{");for(var t=[],i={value:!1};!this.match("}");)t.push(this.parseObjectProperty(i)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(e,new o.ObjectExpression(t))},e.prototype.parseTemplateHead=function(){n.assert(this.lookahead.head,"Template literal must start with a template head");var e=this.createNode(),t=this.nextToken(),i=t.value,a=t.cooked;return this.finalize(e,new o.TemplateElement({raw:i,cooked:a},t.tail))},e.prototype.parseTemplateElement=function(){10!==this.lookahead.type&&this.throwUnexpectedToken();var e=this.createNode(),t=this.nextToken(),i=t.value,n=t.cooked;return this.finalize(e,new o.TemplateElement({raw:i,cooked:n},t.tail))},e.prototype.parseTemplateLiteral=function(){var e=this.createNode(),t=[],i=[],n=this.parseTemplateHead();for(i.push(n);!n.tail;)t.push(this.parseExpression()),n=this.parseTemplateElement(),i.push(n);return this.finalize(e,new o.TemplateLiteral(i,t))},e.prototype.reinterpretExpressionAsPattern=function(e){switch(e.type){case l.Syntax.Identifier:case l.Syntax.MemberExpression:case l.Syntax.RestElement:case l.Syntax.AssignmentPattern:break;case l.Syntax.SpreadElement:e.type=l.Syntax.RestElement,this.reinterpretExpressionAsPattern(e.argument);break;case l.Syntax.ArrayExpression:e.type=l.Syntax.ArrayPattern;for(var t=0;t<e.elements.length;t++)null!==e.elements[t]&&this.reinterpretExpressionAsPattern(e.elements[t]);break;case l.Syntax.ObjectExpression:for(e.type=l.Syntax.ObjectPattern,t=0;t<e.properties.length;t++)this.reinterpretExpressionAsPattern(e.properties[t].value);break;case l.Syntax.AssignmentExpression:e.type=l.Syntax.AssignmentPattern,delete e.operator,this.reinterpretExpressionAsPattern(e.left)}},e.prototype.parseGroupExpression=function(){var e;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),e={type:c,params:[],async:!1};else{var t=this.lookahead,i=[];if(this.match("..."))e=this.parseRestElement(i),this.expect(")"),this.match("=>")||this.expect("=>"),e={type:c,params:[e],async:!1};else{var n=!1;if(this.context.isBindingElement=!0,e=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var a=[];for(this.context.isAssignmentTarget=!1,a.push(e);2!==this.lookahead.type&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var r=0;r<a.length;r++)this.reinterpretExpressionAsPattern(a[r]);n=!0,e={type:c,params:a,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),a.push(this.parseRestElement(i)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,r=0;r<a.length;r++)this.reinterpretExpressionAsPattern(a[r]);n=!0,e={type:c,params:a,async:!1}}else a.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(n)break}n||(e=this.finalize(this.startNode(t),new o.SequenceExpression(a)))}if(!n){if(this.expect(")"),this.match("=>")&&(e.type===l.Syntax.Identifier&&"yield"===e.name&&(n=!0,e={type:c,params:[e],async:!1}),!n)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),e.type===l.Syntax.SequenceExpression)for(r=0;r<e.expressions.length;r++)this.reinterpretExpressionAsPattern(e.expressions[r]);else this.reinterpretExpressionAsPattern(e);var s=e.type===l.Syntax.SequenceExpression?e.expressions:[e];e={type:c,params:s,async:!1}}this.context.isBindingElement=!1}}}return e},e.prototype.parseArguments=function(){this.expect("(");var e=[];if(!this.match(")"))for(;;){var t=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(e.push(t),this.match(")"))break;if(this.expectCommaSeparator(),this.match(")"))break}return this.expect(")"),e},e.prototype.isIdentifierName=function(e){return 3===e.type||4===e.type||1===e.type||5===e.type},e.prototype.parseIdentifierName=function(){var e=this.createNode(),t=this.nextToken();return this.isIdentifierName(t)||this.throwUnexpectedToken(t),this.finalize(e,new o.Identifier(t.value))},e.prototype.parseNewExpression=function(){var e,t=this.createNode(),i=this.parseIdentifierName();if(n.assert("new"===i.name,"New expression must start with `new`"),this.match("."))if(this.nextToken(),3===this.lookahead.type&&this.context.inFunctionBody&&"target"===this.lookahead.value){var a=this.parseIdentifierName();e=new o.MetaProperty(i,a)}else this.throwUnexpectedToken(this.lookahead);else{var r=this.isolateCoverGrammar(this.parseLeftHandSideExpression),s=this.match("(")?this.parseArguments():[];e=new o.NewExpression(r,s),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(t,e)},e.prototype.parseAsyncArgument=function(){var e=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,e},e.prototype.parseAsyncArguments=function(){this.expect("(");var e=[];if(!this.match(")"))for(;;){var t=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(e.push(t),this.match(")"))break;if(this.expectCommaSeparator(),this.match(")"))break}return this.expect(")"),e},e.prototype.parseLeftHandSideExpressionAllowCall=function(){var e,t=this.lookahead,i=this.matchContextualKeyword("async"),n=this.context.allowIn;for(this.context.allowIn=!0,this.matchKeyword("super")&&this.context.inFunctionBody?(e=this.createNode(),this.nextToken(),e=this.finalize(e,new o.Super),this.match("(")||this.match(".")||this.match("[")||this.throwUnexpectedToken(this.lookahead)):e=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var a=this.parseIdentifierName();e=this.finalize(this.startNode(t),new o.StaticMemberExpression(e,a))}else if(this.match("(")){var r=i&&t.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var s=r?this.parseAsyncArguments():this.parseArguments();if(e=this.finalize(this.startNode(t),new o.CallExpression(e,s)),r&&this.match("=>")){for(var l=0;l<s.length;++l)this.reinterpretExpressionAsPattern(s[l]);e={type:c,params:s,async:!0}}}else if(this.match("["))this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("["),a=this.isolateCoverGrammar(this.parseExpression),this.expect("]"),e=this.finalize(this.startNode(t),new o.ComputedMemberExpression(e,a));else{if(10!==this.lookahead.type||!this.lookahead.head)break;var u=this.parseTemplateLiteral();e=this.finalize(this.startNode(t),new o.TaggedTemplateExpression(e,u))}return this.context.allowIn=n,e},e.prototype.parseSuper=function(){var e=this.createNode();return this.expectKeyword("super"),this.match("[")||this.match(".")||this.throwUnexpectedToken(this.lookahead),this.finalize(e,new o.Super)},e.prototype.parseLeftHandSideExpression=function(){n.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var e=this.startNode(this.lookahead),t=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var i=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),t=this.finalize(e,new o.ComputedMemberExpression(t,i))}else if(this.match("."))this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("."),i=this.parseIdentifierName(),t=this.finalize(e,new o.StaticMemberExpression(t,i));else{if(10!==this.lookahead.type||!this.lookahead.head)break;var a=this.parseTemplateLiteral();t=this.finalize(e,new o.TaggedTemplateExpression(t,a))}return t},e.prototype.parseUpdateExpression=function(){var e,t=this.lookahead;if(this.match("++")||this.match("--")){var i=this.startNode(t),n=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&e.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)&&this.tolerateError(r.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(r.Messages.InvalidLHSInAssignment);var a=!0;e=this.finalize(i,new o.UpdateExpression(n.value,e,a)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(e=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&7===this.lookahead.type&&(this.match("++")||this.match("--"))){this.context.strict&&e.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)&&this.tolerateError(r.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(r.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var s=this.nextToken().value;a=!1,e=this.finalize(this.startNode(t),new o.UpdateExpression(s,e,a))}return e},e.prototype.parseAwaitExpression=function(){var e=this.createNode();this.nextToken();var t=this.parseUnaryExpression();return this.finalize(e,new o.AwaitExpression(t))},e.prototype.parseUnaryExpression=function(){var e;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var t=this.startNode(this.lookahead),i=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression),e=this.finalize(t,new o.UnaryExpression(i.value,e)),this.context.strict&&"delete"===e.operator&&e.argument.type===l.Syntax.Identifier&&this.tolerateError(r.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else e=this.context.await&&this.matchContextualKeyword("await")?this.parseAwaitExpression():this.parseUpdateExpression();return e},e.prototype.parseExponentiationExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseUnaryExpression);if(t.type!==l.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var i=t,n=this.isolateCoverGrammar(this.parseExponentiationExpression);t=this.finalize(this.startNode(e),new o.BinaryExpression("**",i,n))}return t},e.prototype.binaryPrecedence=function(e){var t=e.value;return 7===e.type?this.operatorPrecedence[t]||0:4===e.type&&("instanceof"===t||this.context.allowIn&&"in"===t)?7:0},e.prototype.parseBinaryExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseExponentiationExpression),i=this.lookahead,n=this.binaryPrecedence(i);if(n>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var a=[e,this.lookahead],r=t,s=this.isolateCoverGrammar(this.parseExponentiationExpression),l=[r,i.value,s],u=[n];!((n=this.binaryPrecedence(this.lookahead))<=0);){for(;l.length>2&&n<=u[u.length-1];){s=l.pop();var c=l.pop();u.pop(),r=l.pop(),a.pop();var d=this.startNode(a[a.length-1]);l.push(this.finalize(d,new o.BinaryExpression(c,r,s)))}l.push(this.nextToken().value),u.push(n),a.push(this.lookahead),l.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var h=l.length-1;t=l[h];for(var p=a.pop();h>1;){var m=a.pop(),g=p&&p.lineStart;d=this.startNode(m,g),c=l[h-1],t=this.finalize(d,new o.BinaryExpression(c,l[h-2],t)),h-=2,p=m}}return t},e.prototype.parseConditionalExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var i=this.context.allowIn;this.context.allowIn=!0;var n=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=i,this.expect(":");var a=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new o.ConditionalExpression(t,n,a)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return t},e.prototype.checkPatternParam=function(e,t){switch(t.type){case l.Syntax.Identifier:this.validateParam(e,t,t.name);break;case l.Syntax.RestElement:this.checkPatternParam(e,t.argument);break;case l.Syntax.AssignmentPattern:this.checkPatternParam(e,t.left);break;case l.Syntax.ArrayPattern:for(var i=0;i<t.elements.length;i++)null!==t.elements[i]&&this.checkPatternParam(e,t.elements[i]);break;case l.Syntax.ObjectPattern:for(i=0;i<t.properties.length;i++)this.checkPatternParam(e,t.properties[i].value)}e.simple=e.simple&&t instanceof o.Identifier},e.prototype.reinterpretAsCoverFormalsList=function(e){var t,i=[e],n=!1;switch(e.type){case l.Syntax.Identifier:break;case c:i=e.params,n=e.async;break;default:return null}t={simple:!0,paramSet:{}};for(var a=0;a<i.length;++a)(o=i[a]).type===l.Syntax.AssignmentPattern?o.right.type===l.Syntax.YieldExpression&&(o.right.argument&&this.throwUnexpectedToken(this.lookahead),o.right.type=l.Syntax.Identifier,o.right.name="yield",delete o.right.argument,delete o.right.delegate):n&&o.type===l.Syntax.Identifier&&"await"===o.name&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(t,o),i[a]=o;if(this.context.strict||!this.context.allowYield)for(a=0;a<i.length;++a){var o;(o=i[a]).type===l.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(t.message===r.Messages.StrictParamDupe){var s=this.context.strict?t.stricted:t.firstRestricted;this.throwUnexpectedToken(s,t.message)}return{simple:t.simple,params:i,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}},e.prototype.parseAssignmentExpression=function(){var e;if(!this.context.allowYield&&this.matchKeyword("yield"))e=this.parseYieldExpression();else{var t=this.lookahead,i=t;if(e=this.parseConditionalExpression(),3===i.type&&i.lineNumber===this.lookahead.lineNumber&&"async"===i.value&&(3===this.lookahead.type||this.matchKeyword("yield"))){var n=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(n),e={type:c,params:[n],async:!0}}if(e.type===c||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var a=e.async,s=this.reinterpretAsCoverFormalsList(e);if(s){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var u=this.context.strict,d=this.context.allowStrictDirective;this.context.allowStrictDirective=s.simple;var h=this.context.allowYield,p=this.context.await;this.context.allowYield=!0,this.context.await=a;var m=this.startNode(t);this.expect("=>");var g=void 0;if(this.match("{")){var f=this.context.allowIn;this.context.allowIn=!0,g=this.parseFunctionSourceElements(),this.context.allowIn=f}else g=this.isolateCoverGrammar(this.parseAssignmentExpression);var v=g.type!==l.Syntax.BlockStatement;this.context.strict&&s.firstRestricted&&this.throwUnexpectedToken(s.firstRestricted,s.message),this.context.strict&&s.stricted&&this.tolerateUnexpectedToken(s.stricted,s.message),e=a?this.finalize(m,new o.AsyncArrowFunctionExpression(s.params,g,v)):this.finalize(m,new o.ArrowFunctionExpression(s.params,g,v)),this.context.strict=u,this.context.allowStrictDirective=d,this.context.allowYield=h,this.context.await=p}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(r.Messages.InvalidLHSInAssignment),this.context.strict&&e.type===l.Syntax.Identifier){var b=e;this.scanner.isRestrictedWord(b.name)&&this.tolerateUnexpectedToken(i,r.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(b.name)&&this.tolerateUnexpectedToken(i,r.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(e):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var y=(i=this.nextToken()).value,k=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new o.AssignmentExpression(y,e,k)),this.context.firstCoverInitializedNameError=null}}return e},e.prototype.parseExpression=function(){var e=this.lookahead,t=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var i=[];for(i.push(t);2!==this.lookahead.type&&this.match(",");)this.nextToken(),i.push(this.isolateCoverGrammar(this.parseAssignmentExpression));t=this.finalize(this.startNode(e),new o.SequenceExpression(i))}return t},e.prototype.parseStatementListItem=function(){var e;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,4===this.lookahead.type)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,r.Messages.IllegalExportDeclaration),e=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,r.Messages.IllegalImportDeclaration),e=this.parseImportDeclaration();break;case"const":e=this.parseLexicalDeclaration({inFor:!1});break;case"function":e=this.parseFunctionDeclaration();break;case"class":e=this.parseClassDeclaration();break;case"let":e=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:e=this.parseStatement()}else e=this.parseStatement();return e},e.prototype.parseBlock=function(){var e=this.createNode();this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseStatementListItem());return this.expect("}"),this.finalize(e,new o.BlockStatement(t))},e.prototype.parseLexicalBinding=function(e,t){var i=this.createNode(),n=this.parsePattern([],e);this.context.strict&&n.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(n.name)&&this.tolerateError(r.Messages.StrictVarName);var a=null;return"const"===e?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),a=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(r.Messages.DeclarationMissingInitializer,"const")):(!t.inFor&&n.type!==l.Syntax.Identifier||this.match("="))&&(this.expect("="),a=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(i,new o.VariableDeclarator(n,a))},e.prototype.parseBindingList=function(e,t){for(var i=[this.parseLexicalBinding(e,t)];this.match(",");)this.nextToken(),i.push(this.parseLexicalBinding(e,t));return i},e.prototype.isLexicalDeclaration=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.scanner.lex();return this.scanner.restoreState(e),3===t.type||7===t.type&&"["===t.value||7===t.type&&"{"===t.value||4===t.type&&"let"===t.value||4===t.type&&"yield"===t.value},e.prototype.parseLexicalDeclaration=function(e){var t=this.createNode(),i=this.nextToken().value;n.assert("let"===i||"const"===i,"Lexical declaration must be either let or const");var a=this.parseBindingList(i,e);return this.consumeSemicolon(),this.finalize(t,new o.VariableDeclaration(a,i))},e.prototype.parseBindingRestElement=function(e,t){var i=this.createNode();this.expect("...");var n=this.parsePattern(e,t);return this.finalize(i,new o.RestElement(n))},e.prototype.parseArrayPattern=function(e,t){var i=this.createNode();this.expect("[");for(var n=[];!this.match("]");)if(this.match(","))this.nextToken(),n.push(null);else{if(this.match("...")){n.push(this.parseBindingRestElement(e,t));break}n.push(this.parsePatternWithDefault(e,t)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(i,new o.ArrayPattern(n))},e.prototype.parsePropertyPattern=function(e,t){var i,n,a=this.createNode(),r=!1,s=!1;if(3===this.lookahead.type){var l=this.lookahead;i=this.parseVariableIdentifier();var u=this.finalize(a,new o.Identifier(l.value));if(this.match("=")){e.push(l),s=!0,this.nextToken();var c=this.parseAssignmentExpression();n=this.finalize(this.startNode(l),new o.AssignmentPattern(u,c))}else this.match(":")?(this.expect(":"),n=this.parsePatternWithDefault(e,t)):(e.push(l),s=!0,n=u)}else r=this.match("["),i=this.parseObjectPropertyKey(),this.expect(":"),n=this.parsePatternWithDefault(e,t);return this.finalize(a,new o.Property("init",i,r,n,!1,s))},e.prototype.parseObjectPattern=function(e,t){var i=this.createNode(),n=[];for(this.expect("{");!this.match("}");)n.push(this.parsePropertyPattern(e,t)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(i,new o.ObjectPattern(n))},e.prototype.parsePattern=function(e,t){var i;return this.match("[")?i=this.parseArrayPattern(e,t):this.match("{")?i=this.parseObjectPattern(e,t):(!this.matchKeyword("let")||"const"!==t&&"let"!==t||this.tolerateUnexpectedToken(this.lookahead,r.Messages.LetInLexicalBinding),e.push(this.lookahead),i=this.parseVariableIdentifier(t)),i},e.prototype.parsePatternWithDefault=function(e,t){var i=this.lookahead,n=this.parsePattern(e,t);if(this.match("=")){this.nextToken();var a=this.context.allowYield;this.context.allowYield=!0;var r=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=a,n=this.finalize(this.startNode(i),new o.AssignmentPattern(n,r))}return n},e.prototype.parseVariableIdentifier=function(e){var t=this.createNode(),i=this.nextToken();return 4===i.type&&"yield"===i.value?this.context.strict?this.tolerateUnexpectedToken(i,r.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(i):3!==i.type?this.context.strict&&4===i.type&&this.scanner.isStrictModeReservedWord(i.value)?this.tolerateUnexpectedToken(i,r.Messages.StrictReservedWord):(this.context.strict||"let"!==i.value||"var"!==e)&&this.throwUnexpectedToken(i):(this.context.isModule||this.context.await)&&3===i.type&&"await"===i.value&&this.tolerateUnexpectedToken(i),this.finalize(t,new o.Identifier(i.value))},e.prototype.parseVariableDeclaration=function(e){var t=this.createNode(),i=this.parsePattern([],"var");this.context.strict&&i.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(i.name)&&this.tolerateError(r.Messages.StrictVarName);var n=null;return this.match("=")?(this.nextToken(),n=this.isolateCoverGrammar(this.parseAssignmentExpression)):i.type===l.Syntax.Identifier||e.inFor||this.expect("="),this.finalize(t,new o.VariableDeclarator(i,n))},e.prototype.parseVariableDeclarationList=function(e){var t={inFor:e.inFor},i=[];for(i.push(this.parseVariableDeclaration(t));this.match(",");)this.nextToken(),i.push(this.parseVariableDeclaration(t));return i},e.prototype.parseVariableStatement=function(){var e=this.createNode();this.expectKeyword("var");var t=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(e,new o.VariableDeclaration(t,"var"))},e.prototype.parseEmptyStatement=function(){var e=this.createNode();return this.expect(";"),this.finalize(e,new o.EmptyStatement)},e.prototype.parseExpressionStatement=function(){var e=this.createNode(),t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new o.ExpressionStatement(t))},e.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(r.Messages.StrictFunction),this.parseStatement()},e.prototype.parseIfStatement=function(){var e,t=this.createNode(),i=null;this.expectKeyword("if"),this.expect("(");var n=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),e=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),i=this.parseIfClause())),this.finalize(t,new o.IfStatement(n,e,i))},e.prototype.parseDoWhileStatement=function(){var e=this.createNode();this.expectKeyword("do");var t=this.context.inIteration;this.context.inIteration=!0;var i=this.parseStatement();this.context.inIteration=t,this.expectKeyword("while"),this.expect("(");var n=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(e,new o.DoWhileStatement(i,n))},e.prototype.parseWhileStatement=function(){var e,t=this.createNode();this.expectKeyword("while"),this.expect("(");var i=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var n=this.context.inIteration;this.context.inIteration=!0,e=this.parseStatement(),this.context.inIteration=n}return this.finalize(t,new o.WhileStatement(i,e))},e.prototype.parseForStatement=function(){var e,t,i,n=null,a=null,s=null,u=!0,c=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){n=this.createNode(),this.nextToken();var d=this.context.allowIn;this.context.allowIn=!1;var h=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=d,1===h.length&&this.matchKeyword("in")){var p=h[0];p.init&&(p.id.type===l.Syntax.ArrayPattern||p.id.type===l.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(r.Messages.ForInOfLoopInitializer,"for-in"),n=this.finalize(n,new o.VariableDeclaration(h,"var")),this.nextToken(),e=n,t=this.parseExpression(),n=null}else 1===h.length&&null===h[0].init&&this.matchContextualKeyword("of")?(n=this.finalize(n,new o.VariableDeclaration(h,"var")),this.nextToken(),e=n,t=this.parseAssignmentExpression(),n=null,u=!1):(n=this.finalize(n,new o.VariableDeclaration(h,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){n=this.createNode();var m=this.nextToken().value;this.context.strict||"in"!==this.lookahead.value?(d=this.context.allowIn,this.context.allowIn=!1,h=this.parseBindingList(m,{inFor:!0}),this.context.allowIn=d,1===h.length&&null===h[0].init&&this.matchKeyword("in")?(n=this.finalize(n,new o.VariableDeclaration(h,m)),this.nextToken(),e=n,t=this.parseExpression(),n=null):1===h.length&&null===h[0].init&&this.matchContextualKeyword("of")?(n=this.finalize(n,new o.VariableDeclaration(h,m)),this.nextToken(),e=n,t=this.parseAssignmentExpression(),n=null,u=!1):(this.consumeSemicolon(),n=this.finalize(n,new o.VariableDeclaration(h,m)))):(n=this.finalize(n,new o.Identifier(m)),this.nextToken(),e=n,t=this.parseExpression(),n=null)}else{var g=this.lookahead;if(d=this.context.allowIn,this.context.allowIn=!1,n=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=d,this.matchKeyword("in"))this.context.isAssignmentTarget&&n.type!==l.Syntax.AssignmentExpression||this.tolerateError(r.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(n),e=n,t=this.parseExpression(),n=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&n.type!==l.Syntax.AssignmentExpression||this.tolerateError(r.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(n),e=n,t=this.parseAssignmentExpression(),n=null,u=!1;else{if(this.match(",")){for(var f=[n];this.match(",");)this.nextToken(),f.push(this.isolateCoverGrammar(this.parseAssignmentExpression));n=this.finalize(this.startNode(g),new o.SequenceExpression(f))}this.expect(";")}}if(void 0===e&&(this.match(";")||(a=this.parseExpression()),this.expect(";"),this.match(")")||(s=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),i=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var v=this.context.inIteration;this.context.inIteration=!0,i=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=v}return void 0===e?this.finalize(c,new o.ForStatement(n,a,s,i)):u?this.finalize(c,new o.ForInStatement(e,t,i)):this.finalize(c,new o.ForOfStatement(e,t,i))},e.prototype.parseContinueStatement=function(){var e=this.createNode();this.expectKeyword("continue");var t=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var i=this.parseVariableIdentifier();t=i;var n="$"+i.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,n)||this.throwError(r.Messages.UnknownLabel,i.name)}return this.consumeSemicolon(),null!==t||this.context.inIteration||this.throwError(r.Messages.IllegalContinue),this.finalize(e,new o.ContinueStatement(t))},e.prototype.parseBreakStatement=function(){var e=this.createNode();this.expectKeyword("break");var t=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var i=this.parseVariableIdentifier(),n="$"+i.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,n)||this.throwError(r.Messages.UnknownLabel,i.name),t=i}return this.consumeSemicolon(),null!==t||this.context.inIteration||this.context.inSwitch||this.throwError(r.Messages.IllegalBreak),this.finalize(e,new o.BreakStatement(t))},e.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(r.Messages.IllegalReturn);var e=this.createNode();this.expectKeyword("return");var t=(this.match(";")||this.match("}")||this.hasLineTerminator||2===this.lookahead.type)&&8!==this.lookahead.type&&10!==this.lookahead.type?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new o.ReturnStatement(t))},e.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(r.Messages.StrictModeWith);var e,t=this.createNode();this.expectKeyword("with"),this.expect("(");var i=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),e=this.parseStatement()),this.finalize(t,new o.WithStatement(i,e))},e.prototype.parseSwitchCase=function(){var e,t=this.createNode();this.matchKeyword("default")?(this.nextToken(),e=null):(this.expectKeyword("case"),e=this.parseExpression()),this.expect(":");for(var i=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)i.push(this.parseStatementListItem());return this.finalize(t,new o.SwitchCase(e,i))},e.prototype.parseSwitchStatement=function(){var e=this.createNode();this.expectKeyword("switch"),this.expect("(");var t=this.parseExpression();this.expect(")");var i=this.context.inSwitch;this.context.inSwitch=!0;var n=[],a=!1;for(this.expect("{");!this.match("}");){var s=this.parseSwitchCase();null===s.test&&(a&&this.throwError(r.Messages.MultipleDefaultsInSwitch),a=!0),n.push(s)}return this.expect("}"),this.context.inSwitch=i,this.finalize(e,new o.SwitchStatement(t,n))},e.prototype.parseLabelledStatement=function(){var e,t=this.createNode(),i=this.parseExpression();if(i.type===l.Syntax.Identifier&&this.match(":")){this.nextToken();var n=i,a="$"+n.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,a)&&this.throwError(r.Messages.Redeclaration,"Label",n.name),this.context.labelSet[a]=!0;var s=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),s=this.parseClassDeclaration();else if(this.matchKeyword("function")){var u=this.lookahead,c=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(u,r.Messages.StrictFunction):c.generator&&this.tolerateUnexpectedToken(u,r.Messages.GeneratorInLegacyContext),s=c}else s=this.parseStatement();delete this.context.labelSet[a],e=new o.LabeledStatement(n,s)}else this.consumeSemicolon(),e=new o.ExpressionStatement(i);return this.finalize(t,e)},e.prototype.parseThrowStatement=function(){var e=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(r.Messages.NewlineAfterThrow);var t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new o.ThrowStatement(t))},e.prototype.parseCatchClause=function(){var e=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var t=[],i=this.parsePattern(t),n={},a=0;a<t.length;a++){var s="$"+t[a].value;Object.prototype.hasOwnProperty.call(n,s)&&this.tolerateError(r.Messages.DuplicateBinding,t[a].value),n[s]=!0}this.context.strict&&i.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(i.name)&&this.tolerateError(r.Messages.StrictCatchVariable),this.expect(")");var u=this.parseBlock();return this.finalize(e,new o.CatchClause(i,u))},e.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},e.prototype.parseTryStatement=function(){var e=this.createNode();this.expectKeyword("try");var t=this.parseBlock(),i=this.matchKeyword("catch")?this.parseCatchClause():null,n=this.matchKeyword("finally")?this.parseFinallyClause():null;return i||n||this.throwError(r.Messages.NoCatchOrFinally),this.finalize(e,new o.TryStatement(t,i,n))},e.prototype.parseDebuggerStatement=function(){var e=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(e,new o.DebuggerStatement)},e.prototype.parseStatement=function(){var e;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:e=this.parseExpressionStatement();break;case 7:var t=this.lookahead.value;e="{"===t?this.parseBlock():"("===t?this.parseExpressionStatement():";"===t?this.parseEmptyStatement():this.parseExpressionStatement();break;case 3:e=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":e=this.parseBreakStatement();break;case"continue":e=this.parseContinueStatement();break;case"debugger":e=this.parseDebuggerStatement();break;case"do":e=this.parseDoWhileStatement();break;case"for":e=this.parseForStatement();break;case"function":e=this.parseFunctionDeclaration();break;case"if":e=this.parseIfStatement();break;case"return":e=this.parseReturnStatement();break;case"switch":e=this.parseSwitchStatement();break;case"throw":e=this.parseThrowStatement();break;case"try":e=this.parseTryStatement();break;case"var":e=this.parseVariableStatement();break;case"while":e=this.parseWhileStatement();break;case"with":e=this.parseWithStatement();break;default:e=this.parseExpressionStatement()}break;default:e=this.throwUnexpectedToken(this.lookahead)}return e},e.prototype.parseFunctionSourceElements=function(){var e=this.createNode();this.expect("{");var t=this.parseDirectivePrologues(),i=this.context.labelSet,n=this.context.inIteration,a=this.context.inSwitch,r=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;2!==this.lookahead.type&&!this.match("}");)t.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=i,this.context.inIteration=n,this.context.inSwitch=a,this.context.inFunctionBody=r,this.finalize(e,new o.BlockStatement(t))},e.prototype.validateParam=function(e,t,i){var n="$"+i;this.context.strict?(this.scanner.isRestrictedWord(i)&&(e.stricted=t,e.message=r.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(e.paramSet,n)&&(e.stricted=t,e.message=r.Messages.StrictParamDupe)):e.firstRestricted||(this.scanner.isRestrictedWord(i)?(e.firstRestricted=t,e.message=r.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(i)?(e.firstRestricted=t,e.message=r.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(e.paramSet,n)&&(e.stricted=t,e.message=r.Messages.StrictParamDupe)),"function"==typeof Object.defineProperty?Object.defineProperty(e.paramSet,n,{value:!0,enumerable:!0,writable:!0,configurable:!0}):e.paramSet[n]=!0},e.prototype.parseRestElement=function(e){var t=this.createNode();this.expect("...");var i=this.parsePattern(e);return this.match("=")&&this.throwError(r.Messages.DefaultRestParameter),this.match(")")||this.throwError(r.Messages.ParameterAfterRestParameter),this.finalize(t,new o.RestElement(i))},e.prototype.parseFormalParameter=function(e){for(var t=[],i=this.match("...")?this.parseRestElement(t):this.parsePatternWithDefault(t),n=0;n<t.length;n++)this.validateParam(e,t[n],t[n].value);e.simple=e.simple&&i instanceof o.Identifier,e.params.push(i)},e.prototype.parseFormalParameters=function(e){var t;if(t={simple:!0,params:[],firstRestricted:e},this.expect("("),!this.match(")"))for(t.paramSet={};2!==this.lookahead.type&&(this.parseFormalParameter(t),!this.match(")"))&&(this.expect(","),!this.match(")")););return this.expect(")"),{simple:t.simple,params:t.params,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}},e.prototype.matchAsyncFunction=function(){var e=this.matchContextualKeyword("async");if(e){var t=this.scanner.saveState();this.scanner.scanComments();var i=this.scanner.lex();this.scanner.restoreState(t),e=t.lineNumber===i.lineNumber&&4===i.type&&"function"===i.value}return e},e.prototype.parseFunctionDeclaration=function(e){var t=this.createNode(),i=this.matchContextualKeyword("async");i&&this.nextToken(),this.expectKeyword("function");var n,a=!i&&this.match("*");a&&this.nextToken();var s=null,l=null;if(!e||!this.match("(")){var u=this.lookahead;s=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(u.value)&&this.tolerateUnexpectedToken(u,r.Messages.StrictFunctionName):this.scanner.isRestrictedWord(u.value)?(l=u,n=r.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(u.value)&&(l=u,n=r.Messages.StrictReservedWord)}var c=this.context.await,d=this.context.allowYield;this.context.await=i,this.context.allowYield=!a;var h=this.parseFormalParameters(l),p=h.params,m=h.stricted;l=h.firstRestricted,h.message&&(n=h.message);var g=this.context.strict,f=this.context.allowStrictDirective;this.context.allowStrictDirective=h.simple;var v=this.parseFunctionSourceElements();return this.context.strict&&l&&this.throwUnexpectedToken(l,n),this.context.strict&&m&&this.tolerateUnexpectedToken(m,n),this.context.strict=g,this.context.allowStrictDirective=f,this.context.await=c,this.context.allowYield=d,i?this.finalize(t,new o.AsyncFunctionDeclaration(s,p,v)):this.finalize(t,new o.FunctionDeclaration(s,p,v,a))},e.prototype.parseFunctionExpression=function(){var e=this.createNode(),t=this.matchContextualKeyword("async");t&&this.nextToken(),this.expectKeyword("function");var i,n=!t&&this.match("*");n&&this.nextToken();var a,s=null,l=this.context.await,u=this.context.allowYield;if(this.context.await=t,this.context.allowYield=!n,!this.match("(")){var c=this.lookahead;s=this.context.strict||n||!this.matchKeyword("yield")?this.parseVariableIdentifier():this.parseIdentifierName(),this.context.strict?this.scanner.isRestrictedWord(c.value)&&this.tolerateUnexpectedToken(c,r.Messages.StrictFunctionName):this.scanner.isRestrictedWord(c.value)?(a=c,i=r.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(c.value)&&(a=c,i=r.Messages.StrictReservedWord)}var d=this.parseFormalParameters(a),h=d.params,p=d.stricted;a=d.firstRestricted,d.message&&(i=d.message);var m=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=d.simple;var f=this.parseFunctionSourceElements();return this.context.strict&&a&&this.throwUnexpectedToken(a,i),this.context.strict&&p&&this.tolerateUnexpectedToken(p,i),this.context.strict=m,this.context.allowStrictDirective=g,this.context.await=l,this.context.allowYield=u,t?this.finalize(e,new o.AsyncFunctionExpression(s,h,f)):this.finalize(e,new o.FunctionExpression(s,h,f,n))},e.prototype.parseDirective=function(){var e=this.lookahead,t=this.createNode(),i=this.parseExpression(),n=i.type===l.Syntax.Literal?this.getTokenRaw(e).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(t,n?new o.Directive(i,n):new o.ExpressionStatement(i))},e.prototype.parseDirectivePrologues=function(){for(var e=null,t=[];;){var i=this.lookahead;if(8!==i.type)break;var n=this.parseDirective();t.push(n);var a=n.directive;if("string"!=typeof a)break;"use strict"===a?(this.context.strict=!0,e&&this.tolerateUnexpectedToken(e,r.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(i,r.Messages.IllegalLanguageModeDirective)):!e&&i.octal&&(e=i)}return t},e.prototype.qualifiedPropertyName=function(e){switch(e.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return"["===e.value}return!1},e.prototype.parseGetterMethod=function(){var e=this.createNode(),t=!1,i=this.context.allowYield;this.context.allowYield=!0;var n=this.parseFormalParameters();n.params.length>0&&this.tolerateError(r.Messages.BadGetterArity);var a=this.parsePropertyMethod(n);return this.context.allowYield=i,this.finalize(e,new o.FunctionExpression(null,n.params,a,t))},e.prototype.parseSetterMethod=function(){var e=this.createNode(),t=!1,i=this.context.allowYield;this.context.allowYield=!0;var n=this.parseFormalParameters();1!==n.params.length?this.tolerateError(r.Messages.BadSetterArity):n.params[0]instanceof o.RestElement&&this.tolerateError(r.Messages.BadSetterRestParameter);var a=this.parsePropertyMethod(n);return this.context.allowYield=i,this.finalize(e,new o.FunctionExpression(null,n.params,a,t))},e.prototype.parseGeneratorMethod=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var i=this.parseFormalParameters();this.context.allowYield=!1;var n=this.parsePropertyMethod(i);return this.context.allowYield=t,this.finalize(e,new o.FunctionExpression(null,i.params,n,!0))},e.prototype.isStartOfExpression=function(){var e=!0,t=this.lookahead.value;switch(this.lookahead.type){case 7:e="["===t||"("===t||"{"===t||"+"===t||"-"===t||"!"===t||"~"===t||"++"===t||"--"===t||"/"===t||"/="===t;break;case 4:e="class"===t||"delete"===t||"function"===t||"let"===t||"new"===t||"super"===t||"this"===t||"typeof"===t||"void"===t||"yield"===t}return e},e.prototype.parseYieldExpression=function(){var e=this.createNode();this.expectKeyword("yield");var t=null,i=!1;if(!this.hasLineTerminator){var n=this.context.allowYield;this.context.allowYield=!1,(i=this.match("*"))?(this.nextToken(),t=this.parseAssignmentExpression()):this.isStartOfExpression()&&(t=this.parseAssignmentExpression()),this.context.allowYield=n}return this.finalize(e,new o.YieldExpression(t,i))},e.prototype.parseClassElement=function(e){var t=this.lookahead,i=this.createNode(),n="",a=null,s=null,l=!1,u=!1,c=!1,d=!1;if(this.match("*"))this.nextToken();else if(l=this.match("["),"static"===(a=this.parseObjectPropertyKey()).name&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(t=this.lookahead,c=!0,l=this.match("["),this.match("*")?this.nextToken():a=this.parseObjectPropertyKey()),3===t.type&&!this.hasLineTerminator&&"async"===t.value){var h=this.lookahead.value;":"!==h&&"("!==h&&"*"!==h&&(d=!0,t=this.lookahead,a=this.parseObjectPropertyKey(),3===t.type&&"constructor"===t.value&&this.tolerateUnexpectedToken(t,r.Messages.ConstructorIsAsync))}var p=this.qualifiedPropertyName(this.lookahead);return 3===t.type?"get"===t.value&&p?(n="get",l=this.match("["),a=this.parseObjectPropertyKey(),this.context.allowYield=!1,s=this.parseGetterMethod()):"set"===t.value&&p&&(n="set",l=this.match("["),a=this.parseObjectPropertyKey(),s=this.parseSetterMethod()):7===t.type&&"*"===t.value&&p&&(n="init",l=this.match("["),a=this.parseObjectPropertyKey(),s=this.parseGeneratorMethod(),u=!0),!n&&a&&this.match("(")&&(n="init",s=d?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),u=!0),n||this.throwUnexpectedToken(this.lookahead),"init"===n&&(n="method"),l||(c&&this.isPropertyKey(a,"prototype")&&this.throwUnexpectedToken(t,r.Messages.StaticPrototype),!c&&this.isPropertyKey(a,"constructor")&&(("method"!==n||!u||s&&s.generator)&&this.throwUnexpectedToken(t,r.Messages.ConstructorSpecialMethod),e.value?this.throwUnexpectedToken(t,r.Messages.DuplicateConstructor):e.value=!0,n="constructor")),this.finalize(i,new o.MethodDefinition(a,l,s,n,c))},e.prototype.parseClassElementList=function(){var e=[],t={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():e.push(this.parseClassElement(t));return this.expect("}"),e},e.prototype.parseClassBody=function(){var e=this.createNode(),t=this.parseClassElementList();return this.finalize(e,new o.ClassBody(t))},e.prototype.parseClassDeclaration=function(e){var t=this.createNode(),i=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var n=e&&3!==this.lookahead.type?null:this.parseVariableIdentifier(),a=null;this.matchKeyword("extends")&&(this.nextToken(),a=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var r=this.parseClassBody();return this.context.strict=i,this.finalize(t,new o.ClassDeclaration(n,a,r))},e.prototype.parseClassExpression=function(){var e=this.createNode(),t=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var i=3===this.lookahead.type?this.parseVariableIdentifier():null,n=null;this.matchKeyword("extends")&&(this.nextToken(),n=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var a=this.parseClassBody();return this.context.strict=t,this.finalize(e,new o.ClassExpression(i,n,a))},e.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var e=this.createNode(),t=this.parseDirectivePrologues();2!==this.lookahead.type;)t.push(this.parseStatementListItem());return this.finalize(e,new o.Module(t))},e.prototype.parseScript=function(){for(var e=this.createNode(),t=this.parseDirectivePrologues();2!==this.lookahead.type;)t.push(this.parseStatementListItem());return this.finalize(e,new o.Script(t))},e.prototype.parseModuleSpecifier=function(){var e=this.createNode();8!==this.lookahead.type&&this.throwError(r.Messages.InvalidModuleSpecifier);var t=this.nextToken(),i=this.getTokenRaw(t);return this.finalize(e,new o.Literal(t.value,i))},e.prototype.parseImportSpecifier=function(){var e,t,i=this.createNode();return 3===this.lookahead.type?(t=e=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),t=this.parseVariableIdentifier())):(t=e=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),t=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(i,new o.ImportSpecifier(t,e))},e.prototype.parseNamedImports=function(){this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),e},e.prototype.parseImportDefaultSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName();return this.finalize(e,new o.ImportDefaultSpecifier(t))},e.prototype.parseImportNamespaceSpecifier=function(){var e=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(r.Messages.NoAsAfterImportNamespace),this.nextToken();var t=this.parseIdentifierName();return this.finalize(e,new o.ImportNamespaceSpecifier(t))},e.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(r.Messages.IllegalImportDeclaration);var e,t=this.createNode();this.expectKeyword("import");var i=[];if(8===this.lookahead.type)e=this.parseModuleSpecifier();else{if(this.match("{")?i=i.concat(this.parseNamedImports()):this.match("*")?i.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(i.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?i.push(this.parseImportNamespaceSpecifier()):this.match("{")?i=i.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var n=this.lookahead.value?r.Messages.UnexpectedToken:r.Messages.MissingFromClause;this.throwError(n,this.lookahead.value)}this.nextToken(),e=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(t,new o.ImportDeclaration(i,e))},e.prototype.parseExportSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName(),i=t;return this.matchContextualKeyword("as")&&(this.nextToken(),i=this.parseIdentifierName()),this.finalize(e,new o.ExportSpecifier(t,i))},e.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(r.Messages.IllegalExportDeclaration);var e,t=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var i=this.parseFunctionDeclaration(!0);e=this.finalize(t,new o.ExportDefaultDeclaration(i))}else this.matchKeyword("class")?(i=this.parseClassDeclaration(!0),e=this.finalize(t,new o.ExportDefaultDeclaration(i))):this.matchContextualKeyword("async")?(i=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),e=this.finalize(t,new o.ExportDefaultDeclaration(i))):(this.matchContextualKeyword("from")&&this.throwError(r.Messages.UnexpectedToken,this.lookahead.value),i=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),e=this.finalize(t,new o.ExportDefaultDeclaration(i)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var n=this.lookahead.value?r.Messages.UnexpectedToken:r.Messages.MissingFromClause;this.throwError(n,this.lookahead.value)}this.nextToken();var a=this.parseModuleSpecifier();this.consumeSemicolon(),e=this.finalize(t,new o.ExportAllDeclaration(a))}else if(4===this.lookahead.type){switch(i=void 0,this.lookahead.value){case"let":case"const":i=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":i=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}e=this.finalize(t,new o.ExportNamedDeclaration(i,[],null))}else if(this.matchAsyncFunction())i=this.parseFunctionDeclaration(),e=this.finalize(t,new o.ExportNamedDeclaration(i,[],null));else{var s=[],l=null,u=!1;for(this.expect("{");!this.match("}");)u=u||this.matchKeyword("default"),s.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),l=this.parseModuleSpecifier(),this.consumeSemicolon()):u?(n=this.lookahead.value?r.Messages.UnexpectedToken:r.Messages.MissingFromClause,this.throwError(n,this.lookahead.value)):this.consumeSemicolon(),e=this.finalize(t,new o.ExportNamedDeclaration(null,s,l))}return e},e}();t.Parser=d},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.assert=function(e,t){if(!e)throw new Error("ASSERT: "+t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.errors=[],this.tolerant=!1}return e.prototype.recordError=function(e){this.errors.push(e)},e.prototype.tolerate=function(e){if(!this.tolerant)throw e;this.recordError(e)},e.prototype.constructError=function(e,t){var i=new Error(e);try{throw i}catch(e){Object.create&&Object.defineProperty&&(i=Object.create(e),Object.defineProperty(i,"column",{value:t}))}return i},e.prototype.createError=function(e,t,i,n){var a="Line "+t+": "+n,r=this.constructError(a,i);return r.index=e,r.lineNumber=t,r.description=n,r},e.prototype.throwError=function(e,t,i,n){throw this.createError(e,t,i,n)},e.prototype.tolerateError=function(e,t,i,n){var a=this.createError(e,t,i,n);if(!this.tolerant)throw a;this.recordError(a)},e}();t.ErrorHandler=i},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(9),a=i(4),r=i(11);function o(e){return"0123456789abcdef".indexOf(e.toLowerCase())}function s(e){return"01234567".indexOf(e)}var l=function(){function e(e,t){this.source=e,this.errorHandler=t,this.trackComment=!1,this.isModule=!1,this.length=e.length,this.index=0,this.lineNumber=e.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return e.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},e.prototype.restoreState=function(e){this.index=e.index,this.lineNumber=e.lineNumber,this.lineStart=e.lineStart},e.prototype.eof=function(){return this.index>=this.length},e.prototype.throwUnexpectedToken=function(e){return void 0===e&&(e=r.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,e)},e.prototype.tolerateUnexpectedToken=function(e){void 0===e&&(e=r.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,e)},e.prototype.skipSingleLineComment=function(e){var t,i,n=[];for(this.trackComment&&(n=[],t=this.index-e,i={start:{line:this.lineNumber,column:this.index-this.lineStart-e},end:{}});!this.eof();){var r=this.source.charCodeAt(this.index);if(++this.index,a.Character.isLineTerminator(r)){if(this.trackComment){i.end={line:this.lineNumber,column:this.index-this.lineStart-1};var o={multiLine:!1,slice:[t+e,this.index-1],range:[t,this.index-1],loc:i};n.push(o)}return 13===r&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,n}}return this.trackComment&&(i.end={line:this.lineNumber,column:this.index-this.lineStart},o={multiLine:!1,slice:[t+e,this.index],range:[t,this.index],loc:i},n.push(o)),n},e.prototype.skipMultiLineComment=function(){var e,t,i=[];for(this.trackComment&&(i=[],e=this.index-2,t={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var n=this.source.charCodeAt(this.index);if(a.Character.isLineTerminator(n))13===n&&10===this.source.charCodeAt(this.index+1)&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(42===n){if(47===this.source.charCodeAt(this.index+1)){if(this.index+=2,this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart};var r={multiLine:!0,slice:[e+2,this.index-2],range:[e,this.index],loc:t};i.push(r)}return i}++this.index}else++this.index}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},r={multiLine:!0,slice:[e+2,this.index],range:[e,this.index],loc:t},i.push(r)),this.tolerateUnexpectedToken(),i},e.prototype.scanComments=function(){var e;this.trackComment&&(e=[]);for(var t=0===this.index;!this.eof();){var i=this.source.charCodeAt(this.index);if(a.Character.isWhiteSpace(i))++this.index;else if(a.Character.isLineTerminator(i))++this.index,13===i&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,t=!0;else if(47===i)if(47===(i=this.source.charCodeAt(this.index+1))){this.index+=2;var n=this.skipSingleLineComment(2);this.trackComment&&(e=e.concat(n)),t=!0}else{if(42!==i)break;this.index+=2,n=this.skipMultiLineComment(),this.trackComment&&(e=e.concat(n))}else if(t&&45===i){if(45!==this.source.charCodeAt(this.index+1)||62!==this.source.charCodeAt(this.index+2))break;this.index+=3,n=this.skipSingleLineComment(3),this.trackComment&&(e=e.concat(n))}else{if(60!==i||this.isModule)break;if("!--"!==this.source.slice(this.index+1,this.index+4))break;this.index+=4,n=this.skipSingleLineComment(4),this.trackComment&&(e=e.concat(n))}}return e},e.prototype.isFutureReservedWord=function(e){switch(e){case"enum":case"export":case"import":case"super":return!0;default:return!1}},e.prototype.isStrictModeReservedWord=function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},e.prototype.isRestrictedWord=function(e){return"eval"===e||"arguments"===e},e.prototype.isKeyword=function(e){switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}},e.prototype.codePointAt=function(e){var t=this.source.charCodeAt(e);if(t>=55296&&t<=56319){var i=this.source.charCodeAt(e+1);i>=56320&&i<=57343&&(t=1024*(t-55296)+i-56320+65536)}return t},e.prototype.scanHexEscape=function(e){for(var t="u"===e?4:2,i=0,n=0;n<t;++n){if(this.eof()||!a.Character.isHexDigit(this.source.charCodeAt(this.index)))return null;i=16*i+o(this.source[this.index++])}return String.fromCharCode(i)},e.prototype.scanUnicodeCodePointEscape=function(){var e=this.source[this.index],t=0;for("}"===e&&this.throwUnexpectedToken();!this.eof()&&(e=this.source[this.index++],a.Character.isHexDigit(e.charCodeAt(0)));)t=16*t+o(e);return(t>1114111||"}"!==e)&&this.throwUnexpectedToken(),a.Character.fromCodePoint(t)},e.prototype.getIdentifier=function(){for(var e=this.index++;!this.eof();){var t=this.source.charCodeAt(this.index);if(92===t)return this.index=e,this.getComplexIdentifier();if(t>=55296&&t<57343)return this.index=e,this.getComplexIdentifier();if(!a.Character.isIdentifierPart(t))break;++this.index}return this.source.slice(e,this.index)},e.prototype.getComplexIdentifier=function(){var e,t=this.codePointAt(this.index),i=a.Character.fromCodePoint(t);for(this.index+=i.length,92===t&&(117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,e=this.scanUnicodeCodePointEscape()):null!==(e=this.scanHexEscape("u"))&&"\\"!==e&&a.Character.isIdentifierStart(e.charCodeAt(0))||this.throwUnexpectedToken(),i=e);!this.eof()&&(t=this.codePointAt(this.index),a.Character.isIdentifierPart(t));)i+=e=a.Character.fromCodePoint(t),this.index+=e.length,92===t&&(i=i.substr(0,i.length-1),117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,e=this.scanUnicodeCodePointEscape()):null!==(e=this.scanHexEscape("u"))&&"\\"!==e&&a.Character.isIdentifierPart(e.charCodeAt(0))||this.throwUnexpectedToken(),i+=e);return i},e.prototype.octalToDecimal=function(e){var t="0"!==e,i=s(e);return!this.eof()&&a.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=!0,i=8*i+s(this.source[this.index++]),"0123".indexOf(e)>=0&&!this.eof()&&a.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(i=8*i+s(this.source[this.index++]))),{code:i,octal:t}},e.prototype.scanIdentifier=function(){var e,t=this.index,i=92===this.source.charCodeAt(t)?this.getComplexIdentifier():this.getIdentifier();if(3!=(e=1===i.length?3:this.isKeyword(i)?4:"null"===i?5:"true"===i||"false"===i?1:3)&&t+i.length!==this.index){var n=this.index;this.index=t,this.tolerateUnexpectedToken(r.Messages.InvalidEscapedReservedWord),this.index=n}return{type:e,value:i,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},e.prototype.scanPunctuator=function(){var e=this.index,t=this.source[this.index];switch(t){case"(":case"{":"{"===t&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,"."===this.source[this.index]&&"."===this.source[this.index+1]&&(this.index+=2,t="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:">>>="===(t=this.source.substr(this.index,4))?this.index+=4:"==="===(t=t.substr(0,3))||"!=="===t||">>>"===t||"<<="===t||">>="===t||"**="===t?this.index+=3:"&&"===(t=t.substr(0,2))||"||"===t||"=="===t||"!="===t||"+="===t||"-="===t||"*="===t||"/="===t||"++"===t||"--"===t||"<<"===t||">>"===t||"&="===t||"|="===t||"^="===t||"%="===t||"<="===t||">="===t||"=>"===t||"**"===t?this.index+=2:(t=this.source[this.index],"<>=!+-*%&|^/".indexOf(t)>=0&&++this.index)}return this.index===e&&this.throwUnexpectedToken(),{type:7,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanHexLiteral=function(e){for(var t="";!this.eof()&&a.Character.isHexDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return 0===t.length&&this.throwUnexpectedToken(),a.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+t,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanBinaryLiteral=function(e){for(var t,i="";!this.eof()&&("0"===(t=this.source[this.index])||"1"===t);)i+=this.source[this.index++];return 0===i.length&&this.throwUnexpectedToken(),this.eof()||(t=this.source.charCodeAt(this.index),(a.Character.isIdentifierStart(t)||a.Character.isDecimalDigit(t))&&this.throwUnexpectedToken()),{type:6,value:parseInt(i,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanOctalLiteral=function(e,t){var i="",n=!1;for(a.Character.isOctalDigit(e.charCodeAt(0))?(n=!0,i="0"+this.source[this.index++]):++this.index;!this.eof()&&a.Character.isOctalDigit(this.source.charCodeAt(this.index));)i+=this.source[this.index++];return n||0!==i.length||this.throwUnexpectedToken(),(a.Character.isIdentifierStart(this.source.charCodeAt(this.index))||a.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(i,8),octal:n,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},e.prototype.isImplicitOctalLiteral=function(){for(var e=this.index+1;e<this.length;++e){var t=this.source[e];if("8"===t||"9"===t)return!1;if(!a.Character.isOctalDigit(t.charCodeAt(0)))return!0}return!0},e.prototype.scanNumericLiteral=function(){var e=this.index,t=this.source[e];n.assert(a.Character.isDecimalDigit(t.charCodeAt(0))||"."===t,"Numeric literal must start with a decimal digit or a decimal point");var i="";if("."!==t){if(i=this.source[this.index++],t=this.source[this.index],"0"===i){if("x"===t||"X"===t)return++this.index,this.scanHexLiteral(e);if("b"===t||"B"===t)return++this.index,this.scanBinaryLiteral(e);if("o"===t||"O"===t)return this.scanOctalLiteral(t,e);if(t&&a.Character.isOctalDigit(t.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(t,e)}for(;a.Character.isDecimalDigit(this.source.charCodeAt(this.index));)i+=this.source[this.index++];t=this.source[this.index]}if("."===t){for(i+=this.source[this.index++];a.Character.isDecimalDigit(this.source.charCodeAt(this.index));)i+=this.source[this.index++];t=this.source[this.index]}if("e"===t||"E"===t)if(i+=this.source[this.index++],"+"!==(t=this.source[this.index])&&"-"!==t||(i+=this.source[this.index++]),a.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;a.Character.isDecimalDigit(this.source.charCodeAt(this.index));)i+=this.source[this.index++];else this.throwUnexpectedToken();return a.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(i),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanStringLiteral=function(){var e=this.index,t=this.source[e];n.assert("'"===t||'"'===t,"String literal must starts with a quote"),++this.index;for(var i=!1,o="";!this.eof();){var s=this.source[this.index++];if(s===t){t="";break}if("\\"===s)if((s=this.source[this.index++])&&a.Character.isLineTerminator(s.charCodeAt(0)))++this.lineNumber,"\r"===s&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index;else switch(s){case"u":if("{"===this.source[this.index])++this.index,o+=this.scanUnicodeCodePointEscape();else{var l=this.scanHexEscape(s);null===l&&this.throwUnexpectedToken(),o+=l}break;case"x":var u=this.scanHexEscape(s);null===u&&this.throwUnexpectedToken(r.Messages.InvalidHexEscapeSequence),o+=u;break;case"n":o+="\n";break;case"r":o+="\r";break;case"t":o+="\t";break;case"b":o+="\b";break;case"f":o+="\f";break;case"v":o+="\v";break;case"8":case"9":o+=s,this.tolerateUnexpectedToken();break;default:if(s&&a.Character.isOctalDigit(s.charCodeAt(0))){var c=this.octalToDecimal(s);i=c.octal||i,o+=String.fromCharCode(c.code)}else o+=s}else{if(a.Character.isLineTerminator(s.charCodeAt(0)))break;o+=s}}return""!==t&&(this.index=e,this.throwUnexpectedToken()),{type:8,value:o,octal:i,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanTemplate=function(){var e="",t=!1,i=this.index,n="`"===this.source[i],o=!1,s=2;for(++this.index;!this.eof();){var l=this.source[this.index++];if("`"===l){s=1,o=!0,t=!0;break}if("$"===l){if("{"===this.source[this.index]){this.curlyStack.push("${"),++this.index,t=!0;break}e+=l}else if("\\"===l)if(l=this.source[this.index++],a.Character.isLineTerminator(l.charCodeAt(0)))++this.lineNumber,"\r"===l&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index;else switch(l){case"n":e+="\n";break;case"r":e+="\r";break;case"t":e+="\t";break;case"u":if("{"===this.source[this.index])++this.index,e+=this.scanUnicodeCodePointEscape();else{var u=this.index,c=this.scanHexEscape(l);null!==c?e+=c:(this.index=u,e+=l)}break;case"x":var d=this.scanHexEscape(l);null===d&&this.throwUnexpectedToken(r.Messages.InvalidHexEscapeSequence),e+=d;break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+="\v";break;default:"0"===l?(a.Character.isDecimalDigit(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(r.Messages.TemplateOctalLiteral),e+="\0"):a.Character.isOctalDigit(l.charCodeAt(0))?this.throwUnexpectedToken(r.Messages.TemplateOctalLiteral):e+=l}else a.Character.isLineTerminator(l.charCodeAt(0))?(++this.lineNumber,"\r"===l&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index,e+="\n"):e+=l}return t||this.throwUnexpectedToken(),n||this.curlyStack.pop(),{type:10,value:this.source.slice(i+1,this.index-s),cooked:e,head:n,tail:o,lineNumber:this.lineNumber,lineStart:this.lineStart,start:i,end:this.index}},e.prototype.testRegExp=function(e,t){var i=e,n=this;t.indexOf("u")>=0&&(i=i.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(e,t,i){var a=parseInt(t||i,16);return a>1114111&&n.throwUnexpectedToken(r.Messages.InvalidRegExp),a<=65535?String.fromCharCode(a):""}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,""));try{RegExp(i)}catch(e){this.throwUnexpectedToken(r.Messages.InvalidRegExp)}try{return new RegExp(e,t)}catch(e){return null}},e.prototype.scanRegExpBody=function(){var e=this.source[this.index];n.assert("/"===e,"Regular expression literal must start with a slash");for(var t=this.source[this.index++],i=!1,o=!1;!this.eof();)if(t+=e=this.source[this.index++],"\\"===e)e=this.source[this.index++],a.Character.isLineTerminator(e.charCodeAt(0))&&this.throwUnexpectedToken(r.Messages.UnterminatedRegExp),t+=e;else if(a.Character.isLineTerminator(e.charCodeAt(0)))this.throwUnexpectedToken(r.Messages.UnterminatedRegExp);else if(i)"]"===e&&(i=!1);else{if("/"===e){o=!0;break}"["===e&&(i=!0)}return o||this.throwUnexpectedToken(r.Messages.UnterminatedRegExp),t.substr(1,t.length-2)},e.prototype.scanRegExpFlags=function(){for(var e="";!this.eof();){var t=this.source[this.index];if(!a.Character.isIdentifierPart(t.charCodeAt(0)))break;if(++this.index,"\\"!==t||this.eof())e+=t;else if("u"===(t=this.source[this.index])){++this.index;var i=this.index,n=this.scanHexEscape("u");if(null!==n)for(e+=n;i<this.index;++i)this.source[i];else this.index=i,e+="u";this.tolerateUnexpectedToken()}else this.tolerateUnexpectedToken()}return e},e.prototype.scanRegExp=function(){var e=this.index,t=this.scanRegExpBody(),i=this.scanRegExpFlags();return{type:9,value:"",pattern:t,flags:i,regex:this.testRegExp(t,i),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var e=this.source.charCodeAt(this.index);return a.Character.isIdentifierStart(e)?this.scanIdentifier():40===e||41===e||59===e?this.scanPunctuator():39===e||34===e?this.scanStringLiteral():46===e?a.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():a.Character.isDecimalDigit(e)?this.scanNumericLiteral():96===e||125===e&&"${"===this.curlyStack[this.curlyStack.length-1]?this.scanTemplate():e>=55296&&e<57343&&a.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},e}();t.Scanner=l},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TokenName={},t.TokenName[1]="Boolean",t.TokenName[2]="<end>",t.TokenName[3]="Identifier",t.TokenName[4]="Keyword",t.TokenName[5]="Null",t.TokenName[6]="Numeric",t.TokenName[7]="Punctuator",t.TokenName[8]="String",t.TokenName[9]="RegularExpression",t.TokenName[10]="Template"},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",lang:"⟨",rang:"⟩"}},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(10),a=i(12),r=i(13),o=function(){function e(){this.values=[],this.curly=this.paren=-1}return e.prototype.beforeFunctionExpression=function(e){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(e)>=0},e.prototype.isRegexStart=function(){var e=this.values[this.values.length-1],t=null!==e;switch(e){case"this":case"]":t=!1;break;case")":var i=this.values[this.paren-1];t="if"===i||"while"===i||"for"===i||"with"===i;break;case"}":if(t=!1,"function"===this.values[this.curly-3])t=!!(n=this.values[this.curly-4])&&!this.beforeFunctionExpression(n);else if("function"===this.values[this.curly-4]){var n;t=!(n=this.values[this.curly-5])||!this.beforeFunctionExpression(n)}}return t},e.prototype.push=function(e){7===e.type||4===e.type?("{"===e.value?this.curly=this.values.length:"("===e.value&&(this.paren=this.values.length),this.values.push(e.value)):this.values.push(null)},e}(),s=function(){function e(e,t){this.errorHandler=new n.ErrorHandler,this.errorHandler.tolerant=!!t&&"boolean"==typeof t.tolerant&&t.tolerant,this.scanner=new a.Scanner(e,this.errorHandler),this.scanner.trackComment=!!t&&"boolean"==typeof t.comment&&t.comment,this.trackRange=!!t&&"boolean"==typeof t.range&&t.range,this.trackLoc=!!t&&"boolean"==typeof t.loc&&t.loc,this.buffer=[],this.reader=new o}return e.prototype.errors=function(){return this.errorHandler.errors},e.prototype.getNextToken=function(){if(0===this.buffer.length){var e=this.scanner.scanComments();if(this.scanner.trackComment)for(var t=0;t<e.length;++t){var i=e[t],n=this.scanner.source.slice(i.slice[0],i.slice[1]),a={type:i.multiLine?"BlockComment":"LineComment",value:n};this.trackRange&&(a.range=i.range),this.trackLoc&&(a.loc=i.loc),this.buffer.push(a)}if(!this.scanner.eof()){var o=void 0;this.trackLoc&&(o={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var s="/"===this.scanner.source[this.scanner.index]&&this.reader.isRegexStart()?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(s);var l={type:r.TokenName[s.type],value:this.scanner.source.slice(s.start,s.end)};if(this.trackRange&&(l.range=[s.start,s.end]),this.trackLoc&&(o.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},l.loc=o),9===s.type){var u=s.pattern,c=s.flags;l.regex={pattern:u,flags:c}}this.buffer.push(l)}}return this.buffer.shift()},e}();t.Tokenizer=s}])},Rr.exports=Nr()),Rr.exports),Vr=X(_r),Hr={};var Ur=(Lr||(Lr=1,function e(t){var i,n,a,r,o,s;function l(e){var t,i,n={};for(t in e)e.hasOwnProperty(t)&&("object"===x(i=e[t])&&null!==i?n[t]=l(i):n[t]=i);return n}function u(e,t){this.parent=e,this.key=t}function c(e,t,i,n){this.node=e,this.path=t,this.wrap=i,this.ref=n}function d(){}function h(e){return null!=e&&"object"===x(e)&&"string"==typeof e.type}function p(e,t){return(e===i.ObjectExpression||e===i.ObjectPattern)&&"properties"===t}function m(e,t){for(var i=e.length-1;i>=0;--i)if(e[i].node===t)return!0;return!1}function g(e,t){return(new d).traverse(e,t)}function f(e,t){var i;return i=function(e,t){var i,n,a,r;for(n=e.length,a=0;n;)t(e[r=a+(i=n>>>1)])?n=i:(a=r+1,n-=i+1);return a}(t,function(t){return t.range[0]>e.range[0]}),e.extendedRange=[e.range[0],e.range[1]],i!==t.length&&(e.extendedRange[1]=t[i].range[0]),(i-=1)>=0&&(e.extendedRange[0]=t[i].range[1]),e}return i={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},a={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},n={Break:r={},Skip:o={},Remove:s={}},u.prototype.replace=function(e){this.parent[this.key]=e},u.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},d.prototype.path=function(){var e,t,i,n,a;function r(e,t){if(Array.isArray(t))for(i=0,n=t.length;i<n;++i)e.push(t[i]);else e.push(t)}if(!this.__current.path)return null;for(a=[],e=2,t=this.__leavelist.length;e<t;++e)r(a,this.__leavelist[e].path);return r(a,this.__current.path),a},d.prototype.type=function(){return this.current().type||this.__current.wrap},d.prototype.parents=function(){var e,t,i;for(i=[],e=1,t=this.__leavelist.length;e<t;++e)i.push(this.__leavelist[e].node);return i},d.prototype.current=function(){return this.__current.node},d.prototype.__execute=function(e,t){var i,n;return n=void 0,i=this.__current,this.__current=t,this.__state=null,e&&(n=e.call(this,t.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=i,n},d.prototype.notify=function(e){this.__state=e},d.prototype.skip=function(){this.notify(o)},d.prototype.break=function(){this.notify(r)},d.prototype.remove=function(){this.notify(s)},d.prototype.__initialize=function(e,t){this.visitor=t,this.root=e,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,"iteration"===t.fallback?this.__fallback=Object.keys:"function"==typeof t.fallback&&(this.__fallback=t.fallback),this.__keys=a,t.keys&&(this.__keys=Object.assign(Object.create(this.__keys),t.keys))},d.prototype.traverse=function(e,t){var i,n,a,s,l,u,d,g,f,v,b,y;for(this.__initialize(e,t),y={},i=this.__worklist,n=this.__leavelist,i.push(new c(e,null,null,null)),n.push(new c(null,null,null,null));i.length;)if((a=i.pop())!==y){if(a.node){if(u=this.__execute(t.enter,a),this.__state===r||u===r)return;if(i.push(y),n.push(a),this.__state===o||u===o)continue;if(l=(s=a.node).type||a.wrap,!(v=this.__keys[l])){if(!this.__fallback)throw new Error("Unknown node type "+l+".");v=this.__fallback(s)}for(g=v.length;(g-=1)>=0;)if(b=s[d=v[g]])if(Array.isArray(b)){for(f=b.length;(f-=1)>=0;)if(b[f]&&!m(n,b[f])){if(p(l,v[g]))a=new c(b[f],[d,f],"Property",null);else{if(!h(b[f]))continue;a=new c(b[f],[d,f],null,null)}i.push(a)}}else if(h(b)){if(m(n,b))continue;i.push(new c(b,d,null,null))}}}else if(a=n.pop(),u=this.__execute(t.leave,a),this.__state===r||u===r)return},d.prototype.replace=function(e,t){var i,n,a,l,d,m,g,f,v,b,y,k,S;function x(e){var t,n,a,r;if(e.ref.remove())for(n=e.ref.key,r=e.ref.parent,t=i.length;t--;)if((a=i[t]).ref&&a.ref.parent===r){if(a.ref.key<n)break;--a.ref.key}}for(this.__initialize(e,t),y={},i=this.__worklist,n=this.__leavelist,m=new c(e,null,null,new u(k={root:e},"root")),i.push(m),n.push(m);i.length;)if((m=i.pop())!==y){if(void 0!==(d=this.__execute(t.enter,m))&&d!==r&&d!==o&&d!==s&&(m.ref.replace(d),m.node=d),this.__state!==s&&d!==s||(x(m),m.node=null),this.__state===r||d===r)return k.root;if((a=m.node)&&(i.push(y),n.push(m),this.__state!==o&&d!==o)){if(l=a.type||m.wrap,!(v=this.__keys[l])){if(!this.__fallback)throw new Error("Unknown node type "+l+".");v=this.__fallback(a)}for(g=v.length;(g-=1)>=0;)if(b=a[S=v[g]])if(Array.isArray(b)){for(f=b.length;(f-=1)>=0;)if(b[f]){if(p(l,v[g]))m=new c(b[f],[S,f],"Property",new u(b,f));else{if(!h(b[f]))continue;m=new c(b[f],[S,f],null,new u(b,f))}i.push(m)}}else h(b)&&i.push(new c(b,S,null,new u(a,S)))}}else if(m=n.pop(),void 0!==(d=this.__execute(t.leave,m))&&d!==r&&d!==o&&d!==s&&m.ref.replace(d),this.__state!==s&&d!==s||x(m),this.__state===r||d===r)return k.root;return k.root},t.Syntax=i,t.traverse=g,t.replace=function(e,t){return(new d).replace(e,t)},t.attachComments=function(e,t,i){var a,r,o,s,u=[];if(!e.range)throw new Error("attachComments needs range information");if(!i.length){if(t.length){for(o=0,r=t.length;o<r;o+=1)(a=l(t[o])).extendedRange=[0,e.range[0]],u.push(a);e.leadingComments=u}return e}for(o=0,r=t.length;o<r;o+=1)u.push(f(l(t[o]),i));return s=0,g(e,{enter:function(e){for(var t;s<u.length&&!((t=u[s]).extendedRange[1]>e.range[0]);)t.extendedRange[1]===e.range[0]?(e.leadingComments||(e.leadingComments=[]),e.leadingComments.push(t),u.splice(s,1)):s+=1;return s===u.length?n.Break:u[s].extendedRange[0]>e.range[1]?n.Skip:void 0}}),s=0,g(e,{leave:function(e){for(var t;s<u.length&&(t=u[s],!(e.range[1]<t.extendedRange[0]));)e.range[1]===t.extendedRange[0]?(e.trailingComments||(e.trailingComments=[]),e.trailingComments.push(t),u.splice(s,1)):s+=1;return s===u.length?n.Break:u[s].extendedRange[0]>e.range[1]?n.Skip:void 0}}),e},t.VisitorKeys=a,t.VisitorOption=n,t.Controller=d,t.cloneEnvironment=function(){return e({})},t}(Hr)),Hr),Wr=X(Ur);function Kr(){if(!window._yttv)return setTimeout(Kr,250);if(!document.querySelector("video"))return setTimeout(Kr,250);var e=Object.keys(window._yttv).filter(e=>"function"==typeof window._yttv[e]&&window._yttv[e].toString().includes("TRANSPORT_CONTROLS_BUTTON_TYPE_FEATURED_ACTION"));if(0!==e.length){var t=window._yttv[e[0]];ka("enablePatchingVideoPlayer")&&(i.prototype=t.prototype,window._yttv[e[0]]=i)}else setTimeout(Kr,250);function i(){var e,n=Array.prototype.slice.call(arguments),a=/^class\s/.test(t.toString());function r(e,n){return"undefined"!=typeof Reflect&&"function"==typeof Reflect.construct?Reflect.construct(e,n,i):new t(...n)}if(!(this instanceof i))return a?r(t,n):t.apply(this,n);a?e=r(t,n):(t.apply(this,n),e=this);var o=function(e){var t,i=e,n=0;try{t=Vr.parse(e,{range:!0,tolerant:!0,sourceType:"script"})}catch(i){try{var a="("+e+")";t=Vr.parse(a,{range:!0,tolerant:!0,sourceType:"script"}),n=1}catch(a){try{t=Vr.parse(e,{range:!0,tolerant:!0,sourceType:"module"})}catch(a){try{var r="("+e+")";t=Vr.parse(r,{range:!0,tolerant:!0,sourceType:"module"}),n=1}catch(e){throw i}}}}var o=[];return Wr.traverse(t,{enter:function(e){if("AssignmentExpression"===e.type){var t=e.right;if(t&&t.range){var a=i.slice(t.range[0]-n,t.range[1]-n),r=null;if("CallExpression"===t.type&&t.callee&&"FunctionExpression"===t.callee.type&&t.callee.body)for(var s=t.callee.body.body||[],l=0;l<s.length;l++){var u=s[l];if("ReturnStatement"===u.type&&u.argument&&u.argument.range){r=i.slice(u.argument.range[0]-n,u.argument.range[1]-n);break}}else"FunctionExpression"!==t.type&&"ArrowFunctionExpression"!==t.type||(r=a);o.push({left:e.left&&e.left.range?i.slice(e.left.range[0]-n,e.left.range[1]-n):null,rhs:a,returned:r})}}}}),o}(t.toString()),s={type:"TRANSPORT_CONTROLS_BUTTON_TYPE_PIP",button:{buttonRenderer:ja(!1,"Mini Player","CLEAR_COOKIES",{customAction:{action:"ENTER_PIP"}})}},l=o.find(e=>e.rhs.includes("TRANSPORT_CONTROLS_BUTTON_TYPE_PLAYBACK_SETTINGS")).left.split(".")[1];if(!l)return e;var u=e[l];e[l]=function(){var e=u.apply(this,arguments);return e.find(e=>"TRANSPORT_CONTROLS_BUTTON_TYPE_PIP"===e.type)||e.splice(1,0,s),e};var c=o.find(e=>{if(e.rhs.includes("skipNextButton")){var t=e.rhs.indexOf("skipNextButton");if(e.rhs.indexOf("skipPreviousButton")>t)return!0}}).left.split(".")[1],d=o.find(e=>{if(e.rhs.includes("skipPreviousButton")&&e.rhs.indexOf("skipNextButton")>e.rhs.indexOf("skipPreviousButton"))return!0}).left.split(".")[1],h=o.find(e=>e.rhs.includes("props.data.engagementActions")).left.split(".")[1];if(h&&ka("enableSpeedControlsButton")){var p=e[h];e[h]=function(){var e=p.apply(this,arguments);return e.find(e=>"TRANSPORT_CONTROLS_BUTTON_TYPE_SPEED"===e.type)||e.push({type:"TRANSPORT_CONTROLS_BUTTON_TYPE_SPEED",button:{buttonRenderer:ja(!1,"Speed Controls","SLOW_MOTION_VIDEO",{customAction:{action:"TT_SPEED_SETTINGS_SHOW"}})}}),e}}if(!ka("enableSuperThanksButton")){var m=e[h];e[h]=function(){return m.apply(this,arguments).filter(e=>"TRANSPORT_CONTROLS_BUTTON_TYPE_SUPER_THANKS"!==e.type).filter(e=>"TRANSPORT_CONTROLS_BUTTON_TYPE_SHOPPING"!==e.type)}}if(ka("enablePreviousNextButtons")){if(!c||!d)return e;e[c]=function(){return ja(!1,"Previous","SKIP_PREVIOUS",{signalAction:{signal:"PLAYER_PLAY_PREVIOUS"}})},e[d]=function(){return ja(!1,"Next","SKIP_NEXT",{signalAction:{signal:"PLAYER_PLAY_NEXT"}})}}return e}}"complete"===document.readyState||"interactive"===document.readyState?Kr():window.addEventListener("DOMContentLoaded",Kr);var Gr=JSON.parse;JSON.parse=function(){var e=Gr.apply(this,arguments),t=ka("disabledSidebarContents");if(e.items&&Array.isArray(e.items)&&e.items[0].guideSectionRenderer){if(!t.length)return e;for(var i=0;i<e.items.length;i++)for(var n=e.items[i].guideSectionRenderer,a=0;a<n.items.length;a++){var r=n.items[a].guideEntryRenderer;r&&(r.icon&&t.includes(r.icon.iconType)&&(n.items.splice(a,1),a--))}}return e},xa.addEventListener("configChange",e=>{if("disabledSidebarContents"===e.detail.key){var t=fr();t&&t.executeFunction(new t.commandFunction("reloadGuideAction"))}}),function e(){var t=document.querySelector(".html5-video-player"),i=document.querySelector("video");if(!t)return setTimeout(e,500);t.addEventListener("onPlaybackStartExternal",()=>{try{if(-1===window.location.href.indexOf("watch"))return;var e=t.getStatsForNerds().resolution.match(/(\d+)x(\d+)@([\d.]+)/),n=ka("autoFrameRatePauseVideoFor");if(e){var a=e[3];ka("autoFrameRate")&&window.h5vcc&&window.h5vcc.tizentube&&window.h5vcc.tizentube.SetFrameRate&&(n>0&&(i.pause(),setTimeout(()=>{i.play()},n)),window.h5vcc.tizentube.SetFrameRate(parseFloat(a)))}}catch(e){console.error("Error in auto frame rate handling:",e)}}),window.addEventListener("hashchange",()=>{window.location.href.indexOf("watch")>0&&ka("autoFrameRate")&&window.h5vcc&&window.h5vcc.tizentube&&window.h5vcc.tizentube.SetFrameRate&&window.h5vcc.tizentube.SetFrameRate(0)})}()}();
|
|
3
|
+
var e,t,i="function"==typeof Symbol?Symbol:{},n=i.iterator||"@@iterator",a=i.toStringTag||"@@toStringTag";function r(i,n,a,r){var l=n&&n.prototype instanceof s?n:s,u=Object.create(l.prototype);return y(u,"_invoke",function(i,n,a){var r,s,l,u=0,c=a||[],d=!1,h={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,i){return r=t,s=0,l=e,h.n=i,o}};function p(i,n){for(s=i,l=n,t=0;!d&&u&&!a&&t<c.length;t++){var a,r=c[t],p=h.p,m=r[2];i>3?(a=m===n)&&(l=r[(s=r[4])?5:(s=3,3)],r[4]=r[5]=e):r[0]<=p&&((a=i<2&&p<r[1])?(s=0,h.v=n,h.n=r[1]):p<m&&(a=i<3||r[0]>n||n>m)&&(r[4]=i,r[5]=n,h.n=m,s=0))}if(a||i>1)return o;throw d=!0,n}return function(a,c,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,m),s=c,l=m;(t=s<2?e:l)||!d;){r||(s?s<3?(s>1&&(h.n=-1),p(s,l)):h.n=l:h.v=l);try{if(u=2,r){if(s||(a="next"),t=r[a]){if(!(t=t.call(r,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=r.return)&&t.call(r),s<2&&(l=TypeError("The iterator does not provide a '"+a+"' method"),s=1);r=e}else if((t=(d=h.n<0)?l:i.call(n,h))!==o)break}catch(t){r=e,s=1,l=t}finally{u=1}}return{value:t,done:d}}}(i,a,r),!0),u}var o={};function s(){}function l(){}function u(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(y(t={},n,function(){return this}),t),d=u.prototype=s.prototype=Object.create(c);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,y(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=u,y(d,"constructor",u),y(u,"constructor",l),l.displayName="GeneratorFunction",y(u,a,"GeneratorFunction"),y(d),y(d,a,"Generator"),y(d,n,function(){return this}),y(d,"toString",function(){return"[object Generator]"}),(b=function(){return{w:r,m:h}})()}function y(e,t,i,n){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}y=function(e,t,i,n){if(t)a?a(e,t,{value:i,enumerable:!n,configurable:!n,writable:!n}):e[t]=i;else{function r(t,i){y(e,t,function(e){return this._invoke(t,i,e)})}r("next",0),r("throw",1),r("return",2)}},y(e,t,i,n)}function S(e,t){return o(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var n,a,r,o,s=[],l=!0,u=!1;try{if(r=(i=i.call(e)).next,0===t){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=r.call(i)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(u)throw a}}return s}}(e,t)||w(e,t)||g()}function k(e){return o(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w(e)||g()}function x(e){return x="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},x(e)}function w(e,t){if(e){if("string"==typeof e)return r(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?r(e,t):void 0}}var T="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},D="URLSearchParams"in T,E="Symbol"in T&&"iterator"in Symbol,C="FileReader"in T&&"Blob"in T&&function(){try{return new Blob,!0}catch(e){return!1}}(),A="FormData"in T,P="ArrayBuffer"in T;if(P)var B=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],z=ArrayBuffer.isView||function(e){return e&&B.indexOf(Object.prototype.toString.call(e))>-1};function I(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function F(e){return"string"!=typeof e&&(e=String(e)),e}function O(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return E&&(t[Symbol.iterator]=function(){return t}),t}function j(e){this.map={},e instanceof j?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function R(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function M(e){return new Promise(function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}})}function N(e){var t=new FileReader,i=M(t);return t.readAsArrayBuffer(e),i}function L(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:C&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:A&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:D&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():P&&C&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=L(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):P&&(ArrayBuffer.prototype.isPrototypeOf(e)||z(e))?this._bodyArrayBuffer=L(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):D&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},C&&(this.blob=function(){var e=R(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=R(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(C)return this.blob().then(N);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,n,a,r=R(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,i=M(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),a=n?n[1]:"utf-8",t.readAsText(e,a),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n<t.length;n++)i[n]=String.fromCharCode(t[n]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},A&&(this.formData=function(){return this.text().then(U)}),this.json=function(){return this.text().then(JSON.parse)},this}j.prototype.append=function(e,t){e=I(e),t=F(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},j.prototype.delete=function(e){delete this.map[I(e)]},j.prototype.get=function(e){return e=I(e),this.has(e)?this.map[e]:null},j.prototype.has=function(e){return this.map.hasOwnProperty(I(e))},j.prototype.set=function(e,t){this.map[I(e)]=F(t)},j.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},j.prototype.keys=function(){var e=[];return this.forEach(function(t,i){e.push(i)}),O(e)},j.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),O(e)},j.prototype.entries=function(){var e=[];return this.forEach(function(t,i){e.push([i,t])}),O(e)},E&&(j.prototype[Symbol.iterator]=j.prototype.entries);var V=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function H(e,t){if(!(this instanceof H))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,n,a=(t=t||{}).body;if(e instanceof H){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new j(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,a||null==e._bodyInit||(a=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new j(t.headers)),this.method=(i=t.method||this.method||"GET",n=i.toUpperCase(),V.indexOf(n)>-1?n:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in T)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(a),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function U(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var i=e.split("="),n=i.shift().replace(/\+/g," "),a=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(a))}}),t}function W(e,t){if(!(this instanceof W))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new j(t.headers),this.url=t.url||"",this._initBody(e)}H.prototype.clone=function(){return new H(this,{body:this._bodyInit})},_.call(H.prototype),_.call(W.prototype),W.prototype.clone=function(){return new W(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new j(this.headers),url:this.url})},W.error=function(){var e=new W(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var K=[301,302,303,307,308];W.redirect=function(e,t){if(-1===K.indexOf(t))throw new RangeError("Invalid status code");return new W(null,{status:t,headers:{location:e}})};var G=T.DOMException;try{new G}catch(e){(G=function(e,t){this.message=e,this.name=t;var i=Error(e);this.stack=i.stack}).prototype=Object.create(Error.prototype),G.prototype.constructor=G}function q(e,t){return new Promise(function(i,n){var a=new H(e,t);if(a.signal&&a.signal.aborted)return n(new G("Aborted","AbortError"));var r=new XMLHttpRequest;function o(){r.abort()}if(r.onload=function(){var e,t,n={statusText:r.statusText,headers:(e=r.getAllResponseHeaders()||"",t=new j,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var i=e.split(":"),n=i.shift().trim();if(n){var a=i.join(":").trim();try{t.append(n,a)}catch(e){console.warn("Response "+e.message)}}}),t)};0===a.url.indexOf("file://")&&(r.status<200||r.status>599)?n.status=200:n.status=r.status,n.url="responseURL"in r?r.responseURL:n.headers.get("X-Request-URL");var o="response"in r?r.response:r.responseText;setTimeout(function(){i(new W(o,n))},0)},r.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},r.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},r.onabort=function(){setTimeout(function(){n(new G("Aborted","AbortError"))},0)},r.open(a.method,function(e){try{return""===e&&T.location.href?T.location.href:e}catch(t){return e}}(a.url),!0),"include"===a.credentials?r.withCredentials=!0:"omit"===a.credentials&&(r.withCredentials=!1),"responseType"in r&&(C?r.responseType="blob":P&&(r.responseType="arraybuffer")),t&&"object"===x(t.headers)&&!(t.headers instanceof j||T.Headers&&t.headers instanceof T.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach(function(e){s.push(I(e)),r.setRequestHeader(e,F(t.headers[e]))}),a.headers.forEach(function(e,t){-1===s.indexOf(t)&&r.setRequestHeader(t,e)})}else a.headers.forEach(function(e,t){r.setRequestHeader(t,e)});a.signal&&(a.signal.addEventListener("abort",o),r.onreadystatechange=function(){4===r.readyState&&a.signal.removeEventListener("abort",o)}),r.send(void 0===a._bodyInit?null:a._bodyInit)})}q.polyfill=!0,T.fetch||(T.fetch=q,T.Headers=j,T.Request=H,T.Response=W);var J="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function X(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Y,$,Q={};function Z(){if($)return Y;$=1;var e=function(e){return e&&e.Math===Math&&e};return Y=e("object"==("undefined"==typeof globalThis?"undefined":x(globalThis))&&globalThis)||e("object"==("undefined"==typeof window?"undefined":x(window))&&window)||e("object"==("undefined"==typeof self?"undefined":x(self))&&self)||e("object"==x(J)&&J)||e("object"==x(Y)&&Y)||function(){return this}()||Function("return this")()}var ee,te,ie,ne,ae,re,oe,se,le={};function ue(){return te?ee:(te=1,ee=function(e){try{return!!e()}catch(e){return!0}})}function ce(){if(ne)return ie;ne=1;var e=ue();return ie=!e(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function de(){if(re)return ae;re=1;var e=ue();return ae=!e(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}function he(){if(se)return oe;se=1;var e=de(),t=Function.prototype.call;return oe=e?t.bind(t):function(){return t.apply(t,arguments)},oe}var pe,me,ge,fe,ve,be,ye,Se,ke,xe,we,Te,De,Ee,Ce,Ae,Pe,Be,ze,Ie,Fe,Oe,je,Re,Me,Ne,Le,_e,Ve,He,Ue,We,Ke,Ge,qe,Je,Xe,Ye,$e,Qe,Ze,et={};function tt(){return ge?me:(ge=1,me=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}})}function it(){if(ve)return fe;ve=1;var e=de(),t=Function.prototype,i=t.call,n=e&&t.bind.bind(i,i);return fe=e?n:function(e){return function(){return i.apply(e,arguments)}},fe}function nt(){if(ke)return Se;ke=1;var e=it(),t=ue(),i=function(){if(ye)return be;ye=1;var e=it(),t=e({}.toString),i=e("".slice);return be=function(e){return i(t(e),8,-1)}}(),n=Object,a=e("".split);return Se=t(function(){return!n("z").propertyIsEnumerable(0)})?function(e){return"String"===i(e)?a(e,""):n(e)}:n}function at(){return we?xe:(we=1,xe=function(e){return null==e})}function rt(){if(De)return Te;De=1;var e=at(),t=TypeError;return Te=function(i){if(e(i))throw new t("Can't call method on "+i);return i}}function ot(){if(Ce)return Ee;Ce=1;var e=nt(),t=rt();return Ee=function(i){return e(t(i))}}function st(){if(Pe)return Ae;Pe=1;var e="object"==("undefined"==typeof document?"undefined":x(document))&&document.all;return Ae=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(e){return"function"==typeof e}}function lt(){if(ze)return Be;ze=1;var e=st();return Be=function(t){return"object"==x(t)?null!==t:e(t)}}function ut(){if(Fe)return Ie;Fe=1;var e=Z(),t=st();return Ie=function(i,n){return arguments.length<2?(a=e[i],t(a)?a:void 0):e[i]&&e[i][n];var a},Ie}function ct(){if(Le)return Ne;Le=1;var e,t,i=Z(),n=function(){if(Me)return Re;Me=1;var e=Z().navigator,t=e&&e.userAgent;return Re=t?String(t):""}(),a=i.process,r=i.Deno,o=a&&a.versions||r&&r.version,s=o&&o.v8;return s&&(t=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!t&&n&&(!(e=n.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=n.match(/Chrome\/(\d+)/))&&(t=+e[1]),Ne=t}function dt(){if(Ve)return _e;Ve=1;var e=ct(),t=ue(),i=Z().String;return _e=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41})}function ht(){if(Ue)return He;Ue=1;var e=dt();return He=e&&!Symbol.sham&&"symbol"==x(Symbol.iterator)}function pt(){if(Ke)return We;Ke=1;var e=ut(),t=st(),i=function(){if(je)return Oe;je=1;var e=it();return Oe=e({}.isPrototypeOf)}(),n=ht(),a=Object;return We=n?function(e){return"symbol"==x(e)}:function(n){var r=e("Symbol");return t(r)&&i(r.prototype,a(n))}}function mt(){if(qe)return Ge;qe=1;var e=String;return Ge=function(t){try{return e(t)}catch(e){return"Object"}}}function gt(){if(Xe)return Je;Xe=1;var e=st(),t=mt(),i=TypeError;return Je=function(n){if(e(n))return n;throw new i(t(n)+" is not a function")}}function ft(){if($e)return Ye;$e=1;var e=gt(),t=at();return Ye=function(i,n){var a=i[n];return t(a)?void 0:e(a)}}function vt(){if(Ze)return Qe;Ze=1;var e=he(),t=st(),i=lt(),n=TypeError;return Qe=function(a,r){var o,s;if("string"===r&&t(o=a.toString)&&!i(s=e(o,a)))return s;if(t(o=a.valueOf)&&!i(s=e(o,a)))return s;if("string"!==r&&t(o=a.toString)&&!i(s=e(o,a)))return s;throw new n("Can't convert object to primitive value")}}var bt,yt,St,kt,xt,wt,Tt,Dt,Et,Ct,At,Pt,Bt,zt,It,Ft,Ot,jt,Rt,Mt,Nt,Lt,_t,Vt,Ht={exports:{}};function Ut(){if(kt)return St;kt=1;var e=Z(),t=Object.defineProperty;return St=function(i,n){try{t(e,i,{value:n,configurable:!0,writable:!0})}catch(t){e[i]=n}return n},St}function Wt(){if(xt)return Ht.exports;xt=1;var e=yt?bt:(yt=1,bt=!1),t=Z(),i=Ut(),n="__core-js_shared__",a=Ht.exports=t[n]||i(n,{});return(a.versions||(a.versions=[])).push({version:"3.46.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Ht.exports}function Kt(){if(Tt)return wt;Tt=1;var e=Wt();return wt=function(t,i){return e[t]||(e[t]=i||{})},wt}function Gt(){if(Et)return Dt;Et=1;var e=rt(),t=Object;return Dt=function(i){return t(e(i))}}function qt(){if(At)return Ct;At=1;var e=it(),t=Gt(),i=e({}.hasOwnProperty);return Ct=Object.hasOwn||function(e,n){return i(t(e),n)},Ct}function Jt(){if(Bt)return Pt;Bt=1;var e=it(),t=0,i=Math.random(),n=e(1.1.toString);return Pt=function(e){return"Symbol("+(void 0===e?"":e)+")_"+n(++t+i,36)},Pt}function Xt(){if(It)return zt;It=1;var e=Z(),t=Kt(),i=qt(),n=Jt(),a=dt(),r=ht(),o=e.Symbol,s=t("wks"),l=r?o.for||o:o&&o.withoutSetter||n;return zt=function(e){return i(s,e)||(s[e]=a&&i(o,e)?o[e]:l("Symbol."+e)),s[e]}}function Yt(){if(Ot)return Ft;Ot=1;var e=he(),t=lt(),i=pt(),n=ft(),a=vt(),r=Xt(),o=TypeError,s=r("toPrimitive");return Ft=function(r,l){if(!t(r)||i(r))return r;var u,c=n(r,s);if(c){if(void 0===l&&(l="default"),u=e(c,r,l),!t(u)||i(u))return u;throw new o("Can't convert object to primitive value")}return void 0===l&&(l="number"),a(r,l)}}function $t(){if(Rt)return jt;Rt=1;var e=Yt(),t=pt();return jt=function(i){var n=e(i,"string");return t(n)?n:n+""},jt}function Qt(){if(_t)return Lt;_t=1;var e=ce(),t=ue(),i=function(){if(Nt)return Mt;Nt=1;var e=Z(),t=lt(),i=e.document,n=t(i)&&t(i.createElement);return Mt=function(e){return n?i.createElement(e):{}}}();return Lt=!e&&!t(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})}function Zt(){if(Vt)return le;Vt=1;var e=ce(),t=he(),i=function(){if(pe)return et;pe=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,i=t&&!e.call({1:2},1);return et.f=i?function(e){var i=t(this,e);return!!i&&i.enumerable}:e,et}(),n=tt(),a=ot(),r=$t(),o=qt(),s=Qt(),l=Object.getOwnPropertyDescriptor;return le.f=e?l:function(e,u){if(e=a(e),u=r(u),s)try{return l(e,u)}catch(e){}if(o(e,u))return n(!t(i.f,e,u),e[u])},le}var ei,ti,ii,ni,ai,ri,oi,si={};function li(){if(ni)return ii;ni=1;var e=lt(),t=String,i=TypeError;return ii=function(n){if(e(n))return n;throw new i(t(n)+" is not an object")}}function ui(){if(ai)return si;ai=1;var e=ce(),t=Qt(),i=function(){if(ti)return ei;ti=1;var e=ce(),t=ue();return ei=e&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}(),n=li(),a=$t(),r=TypeError,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",u="configurable",c="writable";return si.f=e?i?function(e,t,i){if(n(e),t=a(t),n(i),"function"==typeof e&&"prototype"===t&&"value"in i&&c in i&&!i[c]){var r=s(e,t);r&&r[c]&&(e[t]=i.value,i={configurable:u in i?i[u]:r[u],enumerable:l in i?i[l]:r[l],writable:!1})}return o(e,t,i)}:o:function(e,i,s){if(n(e),i=a(i),n(s),t)try{return o(e,i,s)}catch(e){}if("get"in s||"set"in s)throw new r("Accessors not supported");return"value"in s&&(e[i]=s.value),e},si}function ci(){if(oi)return ri;oi=1;var e=ce(),t=ui(),i=tt();return ri=e?function(e,n,a){return t.f(e,n,i(1,a))}:function(e,t,i){return e[t]=i,e},ri}var di,hi,pi,mi,gi,fi,vi,bi,yi,Si,ki,xi,wi,Ti,Di,Ei={exports:{}};function Ci(){if(mi)return pi;mi=1;var e=it(),t=st(),i=Wt(),n=e(Function.toString);return t(i.inspectSource)||(i.inspectSource=function(e){return n(e)}),pi=i.inspectSource}function Ai(){if(bi)return vi;bi=1;var e=Kt(),t=Jt(),i=e("keys");return vi=function(e){return i[e]||(i[e]=t(e))},vi}function Pi(){return Si?yi:(Si=1,yi={})}function Bi(){if(xi)return ki;xi=1;var e,t,i,n=function(){if(fi)return gi;fi=1;var e=Z(),t=st(),i=e.WeakMap;return gi=t(i)&&/native code/.test(String(i))}(),a=Z(),r=lt(),o=ci(),s=qt(),l=Wt(),u=Ai(),c=Pi(),d="Object already initialized",h=a.TypeError,p=a.WeakMap;if(n||l.state){var m=l.state||(l.state=new p);m.get=m.get,m.has=m.has,m.set=m.set,e=function(e,t){if(m.has(e))throw new h(d);return t.facade=e,m.set(e,t),t},t=function(e){return m.get(e)||{}},i=function(e){return m.has(e)}}else{var g=u("state");c[g]=!0,e=function(e,t){if(s(e,g))throw new h(d);return t.facade=e,o(e,g,t),t},t=function(e){return s(e,g)?e[g]:{}},i=function(e){return s(e,g)}}return ki={set:e,get:t,has:i,enforce:function(n){return i(n)?t(n):e(n,{})},getterFor:function(e){return function(i){var n;if(!r(i)||(n=t(i)).type!==e)throw new h("Incompatible receiver, "+e+" required");return n}}}}function zi(){if(wi)return Ei.exports;wi=1;var e=it(),t=ue(),i=st(),n=qt(),a=ce(),r=function(){if(hi)return di;hi=1;var e=ce(),t=qt(),i=Function.prototype,n=e&&Object.getOwnPropertyDescriptor,a=t(i,"name"),r=a&&"something"===function(){}.name,o=a&&(!e||e&&n(i,"name").configurable);return di={EXISTS:a,PROPER:r,CONFIGURABLE:o}}().CONFIGURABLE,o=Ci(),s=Bi(),l=s.enforce,u=s.get,c=String,d=Object.defineProperty,h=e("".slice),p=e("".replace),m=e([].join),g=a&&!t(function(){return 8!==d(function(){},"length",{value:8}).length}),f=String(String).split("String"),v=Ei.exports=function(e,t,i){"Symbol("===h(c(t),0,7)&&(t="["+p(c(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),i&&i.getter&&(t="get "+t),i&&i.setter&&(t="set "+t),(!n(e,"name")||r&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),g&&i&&n(i,"arity")&&e.length!==i.arity&&d(e,"length",{value:i.arity});try{i&&n(i,"constructor")&&i.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var o=l(e);return n(o,"source")||(o.source=m(f,"string"==typeof t?t:"")),e};return Function.prototype.toString=v(function(){return i(this)&&u(this).source||o(this)},"toString"),Ei.exports}function Ii(){if(Di)return Ti;Di=1;var e=st(),t=ui(),i=zi(),n=Ut();return Ti=function(a,r,o,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:r;if(e(o)&&i(o,u,s),s.global)l?a[r]=o:n(r,o);else{try{s.unsafe?a[r]&&(l=!0):delete a[r]}catch(e){}l?a[r]=o:t.f(a,r,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return a},Ti}var Fi,Oi,ji,Ri,Mi,Ni,Li,_i,Vi,Hi,Ui,Wi,Ki,Gi,qi,Ji,Xi,Yi={};function $i(){if(Ri)return ji;Ri=1;var e=function(){if(Oi)return Fi;Oi=1;var e=Math.ceil,t=Math.floor;return Fi=Math.trunc||function(i){var n=+i;return(n>0?t:e)(n)}}();return ji=function(t){var i=+t;return i!=i||0===i?0:e(i)}}function Qi(){if(Ni)return Mi;Ni=1;var e=$i(),t=Math.max,i=Math.min;return Mi=function(n,a){var r=e(n);return r<0?t(r+a,0):i(r,a)}}function Zi(){if(_i)return Li;_i=1;var e=$i(),t=Math.min;return Li=function(i){var n=e(i);return n>0?t(n,9007199254740991):0}}function en(){if(Hi)return Vi;Hi=1;var e=Zi();return Vi=function(t){return e(t.length)}}function tn(){if(Gi)return Ki;Gi=1;var e=it(),t=qt(),i=ot(),n=function(){if(Wi)return Ui;Wi=1;var e=ot(),t=Qi(),i=en(),n=function(n){return function(a,r,o){var s=e(a),l=i(s);if(0===l)return!n&&-1;var u,c=t(o,l);if(n&&r!=r){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((n||c in s)&&s[c]===r)return n||c||0;return!n&&-1}};return Ui={includes:n(!0),indexOf:n(!1)}}().indexOf,a=Pi(),r=e([].push);return Ki=function(e,o){var s,l=i(e),u=0,c=[];for(s in l)!t(a,s)&&t(l,s)&&r(c,s);for(;o.length>u;)t(l,s=o[u++])&&(~n(c,s)||r(c,s));return c},Ki}var nn,an,rn,on,sn,ln,un,cn,dn,hn,pn,mn,gn,fn={};function vn(){if(rn)return an;rn=1;var e=ut(),t=it(),i=function(){if(Xi)return Yi;Xi=1;var e=tn(),t=(Ji?qi:(Ji=1,qi=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])).concat("length","prototype");return Yi.f=Object.getOwnPropertyNames||function(i){return e(i,t)},Yi}(),n=(nn||(nn=1,fn.f=Object.getOwnPropertySymbols),fn),a=li(),r=t([].concat);return an=e("Reflect","ownKeys")||function(e){var t=i.f(a(e)),o=n.f;return o?r(t,o(e)):t}}function bn(){if(sn)return on;sn=1;var e=qt(),t=vn(),i=Zt(),n=ui();return on=function(a,r,o){for(var s=t(r),l=n.f,u=i.f,c=0;c<s.length;c++){var d=s[c];e(a,d)||o&&e(o,d)||l(a,d,u(r,d))}},on}function yn(){if(dn)return cn;dn=1;var e=Z(),t=Zt().f,i=ci(),n=Ii(),a=Ut(),r=bn(),o=function(){if(un)return ln;un=1;var e=ue(),t=st(),i=/#|\.prototype\./,n=function(i,n){var l=r[a(i)];return l===s||l!==o&&(t(n)?e(n):!!n)},a=n.normalize=function(e){return String(e).replace(i,".").toLowerCase()},r=n.data={},o=n.NATIVE="N",s=n.POLYFILL="P";return ln=n}();return cn=function(s,l){var u,c,d,h,p,m=s.target,g=s.global,f=s.stat;if(u=g?e:f?e[m]||a(m,{}):e[m]&&e[m].prototype)for(c in l){if(h=l[c],d=s.dontCallGetSet?(p=t(u,c))&&p.value:u[c],!o(g?c:m+(f?".":"#")+c,s.forced)&&void 0!==d){if(x(h)==x(d))continue;r(h,d)}(s.sham||d&&d.sham)&&i(h,"sham",!0),n(u,c,h,s)}},cn}function Sn(){if(pn)return hn;pn=1;var e=ce(),t=ui(),i=tt();return hn=function(n,a,r){e?t.f(n,a,i(0,r)):n[a]=r},hn}gn||(gn=1,function(){if(mn)return Q;mn=1;var e=yn(),t=ce(),i=vn(),n=ot(),a=Zt(),r=Sn();e({target:"Object",stat:!0,sham:!t},{getOwnPropertyDescriptors:function(e){for(var t,o,s=n(e),l=a.f,u=i(s),c={},d=0;u.length>d;)void 0!==(o=l(s,t=u[d++]))&&r(c,t,o);return c}})}());var kn=e=>"string"==typeof e,xn=()=>{var e,t,i=new Promise((i,n)=>{e=i,t=n});return i.resolve=e,i.reject=t,i},wn=e=>null==e?"":""+e,Tn=/###/g,Dn=e=>e&&e.indexOf("###")>-1?e.replace(Tn,"."):e,En=e=>!e||kn(e),Cn=(e,t,i)=>{for(var n=kn(t)?t.split("."):t,a=0;a<n.length-1;){if(En(e))return{};var r=Dn(n[a]);!e[r]&&i&&(e[r]=new i),e=Object.prototype.hasOwnProperty.call(e,r)?e[r]:{},++a}return En(e)?{}:{obj:e,k:Dn(n[a])}},An=(e,t,i)=>{var n=Cn(e,t,Object),a=n.obj,r=n.k;if(void 0===a&&1!==t.length){for(var o=t[t.length-1],s=t.slice(0,t.length-1),l=Cn(e,s,Object);void 0===l.obj&&s.length;){var u;o=`${s[s.length-1]}.${o}`,s=s.slice(0,s.length-1),null!==(u=l=Cn(e,s,Object))&&void 0!==u&&u.obj&&void 0!==l.obj[`${l.k}.${o}`]&&(l.obj=void 0)}l.obj[`${l.k}.${o}`]=i}else a[r]=i},Pn=(e,t)=>{var i=Cn(e,t),n=i.obj,a=i.k;if(n&&Object.prototype.hasOwnProperty.call(n,a))return n[a]},Bn=(e,t,i)=>{for(var n in t)"__proto__"!==n&&"constructor"!==n&&(n in e?kn(e[n])||e[n]instanceof String||kn(t[n])||t[n]instanceof String?i&&(e[n]=t[n]):Bn(e[n],t[n],i):e[n]=t[n]);return e},zn=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),In={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},Fn=e=>kn(e)?e.replace(/[&<>"'\/]/g,e=>In[e]):e;var On=[" ",",","?","!",";"],jn=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){var t=this.regExpMap.get(e);if(void 0!==t)return t;var i=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,i),this.regExpQueue.push(e),i}}(20),Rn=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}for(var n=t.split(i),a=e,r=0;r<n.length;){if(!a||"object"!==x(a))return;for(var o=void 0,s="",l=r;l<n.length;++l)if(l!==r&&(s+=i),void 0!==(o=a[s+=n[l]])){if(["string","number","boolean"].indexOf(x(o))>-1&&l<n.length-1)continue;r+=l-r+1;break}a=o}return a}},Mn=e=>null==e?void 0:e.replace(/_/g,"-"),Nn={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){var i,n;null===(i=console)||void 0===i||null===(i=i[e])||void 0===i||null===(n=i.apply)||void 0===n||n.call(i,console,t)}};class Ln{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Nn,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,i,n){return n&&!this.debug?null:(kn(e[0])&&(e[0]=`${i}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new Ln(this.logger,v(v({},{prefix:`${this.prefix}:${e}:`}),this.options))}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new Ln(this.logger,e)}}var _n=new Ln;class Vn{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);var i=this.observers[e].get(t)||0;this.observers[e].set(t,i+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];this.observers[e]&&Array.from(this.observers[e].entries()).forEach(e=>{for(var t=S(e,2),n=t[0],a=t[1],r=0;r<a;r++)n(...i)});this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(t=>{for(var n=S(t,2),a=n[0],r=n[1],o=0;o<r;o++)a.apply(a,[e,...i])})}}class Hn extends Vn{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,i){var n,a,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,s=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],i&&(Array.isArray(i)?a.push(...i):kn(i)&&o?a.push(...i.split(o)):a.push(i)));var l=Pn(this.data,a);return!l&&!t&&!i&&e.indexOf(".")>-1&&(e=a[0],t=a[1],i=a.slice(2).join(".")),!l&&s&&kn(i)?Rn(null===(n=this.data)||void 0===n||null===(n=n[e])||void 0===n?void 0:n[t],i,o):l}addResource(e,t,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},r=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,o=[e,t];i&&(o=o.concat(r?i.split(r):i)),e.indexOf(".")>-1&&(n=t,t=(o=e.split("."))[1]),this.addNamespaces(t),An(this.data,o,n),a.silent||this.emit("added",e,t,i,n)}addResources(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var a in i)(kn(i[a])||Array.isArray(i[a]))&&this.addResource(e,t,a,i[a],{silent:!0});n.silent||this.emit("added",e,t,i)}addResourceBundle(e,t,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},o=[e,t];e.indexOf(".")>-1&&(n=i,i=t,t=(o=e.split("."))[1]),this.addNamespaces(t);var s=Pn(this.data,o)||{};r.skipCopy||(i=JSON.parse(JSON.stringify(i))),n?Bn(s,i,a):s=v(v({},s),i),An(this.data,o,s),r.silent||this.emit("added",e,t,i)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var Un={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,i,n,a){return e.forEach(e=>{var r,o;t=null!==(r=null===(o=this.processors[e])||void 0===o?void 0:o.process(t,i,n,a))&&void 0!==r?r:t}),t}},Wn=Symbol("i18next/PATH_KEY");function Kn(e,t){var i,n,a,r,o,s=e((r=[],(o=Object.create(null)).get=(e,t)=>{var i,n;return null===(i=a)||void 0===i||null===(n=i.revoke)||void 0===n||n.call(i),t===Wn?r:(r.push(t),(a=Proxy.revocable(e,o)).proxy)},Proxy.revocable(Object.create(null),o).proxy)),l=s[Wn],u=null!==(i=null==t?void 0:t.keySeparator)&&void 0!==i?i:".",c=null!==(n=null==t?void 0:t.nsSeparator)&&void 0!==n?n:":";if(l.length>1&&c){var d=null==t?void 0:t.ns;if((d?Array.isArray(d)?d:[d]:[]).includes(l[0]))return`${l[0]}${c}${l.slice(1).join(u)}`}return l.join(u)}var Gn={},qn=e=>!kn(e)&&"boolean"!=typeof e&&"number"!=typeof e;class Jn extends Vn{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((e,t,i)=>{e.forEach(e=>{t[e]&&(i[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=_n.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){var t=v({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}});if(null==e)return!1;var i=this.resolve(e,t);if(void 0===(null==i?void 0:i.res))return!1;var n=qn(i.res);return!1!==t.returnObjects||!n}extractFromKey(e,t){var i=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===i&&(i=":");var n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],r=i&&e.indexOf(i)>-1,o=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,i)=>{t=t||"",i=i||"";var n=On.filter(e=>t.indexOf(e)<0&&i.indexOf(e)<0);if(0===n.length)return!0;var a=jn.getRegExp(`(${n.map(e=>"?"===e?"\\?":e).join("|")})`),r=!a.test(e);if(!r){var o=e.indexOf(i);o>0&&!a.test(e.substring(0,o))&&(r=!0)}return r})(e,i,n));if(r&&!o){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:kn(a)?[a]:a};var l=e.split(i);(i!==n||i===n&&this.options.ns.indexOf(l[0])>-1)&&(a=l.shift()),e=l.join(n)}return{key:e,namespaces:kn(a)?[a]:a}}translate(e,t,i){var n="object"===x(t)?v({},t):t;if("object"!==x(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),"object"===x(n)&&(n=v({},n)),n||(n={}),null==e)return"";"function"==typeof e&&(e=Kn(e,v(v({},this.options),n))),Array.isArray(e)||(e=[String(e)]),e=e.map(e=>"function"==typeof e?Kn(e,v(v({},this.options),n)):String(e));var a=void 0!==n.returnDetails?n.returnDetails:this.options.returnDetails,r=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,o=this.extractFromKey(e[e.length-1],n),s=o.key,l=o.namespaces,u=l[l.length-1],c=void 0!==n.nsSeparator?n.nsSeparator:this.options.nsSeparator;void 0===c&&(c=":");var d=n.lng||this.language,h=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===(null==d?void 0:d.toLowerCase()))return h?a?{res:`${u}${c}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:`${u}${c}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:s;var p=this.resolve(e,n),m=null==p?void 0:p.res,g=(null==p?void 0:p.usedKey)||s,f=(null==p?void 0:p.exactUsedKey)||s,b=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,S=void 0!==n.count&&!kn(n.count),k=Jn.hasDefaultValue(n),w=S?this.pluralResolver.getSuffix(d,n.count,n):"",T=n.ordinal&&S?this.pluralResolver.getSuffix(d,n.count,{ordinal:!1}):"",D=S&&!n.ordinal&&0===n.count,E=D&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${w}`]||n[`defaultValue${T}`]||n.defaultValue,C=m;y&&!m&&k&&(C=E);var A=qn(C),P=Object.prototype.toString.apply(C);if(!(y&&C&&A&&["[object Number]","[object Function]","[object RegExp]"].indexOf(P)<0)||kn(b)&&Array.isArray(C))if(y&&kn(b)&&Array.isArray(m))(m=m.join(b))&&(m=this.extendTranslation(m,e,n,i));else{var B=!1,z=!1;!this.isValidLookup(m)&&k&&(B=!0,m=E),this.isValidLookup(m)||(z=!0,m=s);var I=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&z?void 0:m,F=k&&E!==m&&this.options.updateMissing;if(z||B||F){if(this.logger.log(F?"updateKey":"missingKey",d,u,s,F?E:m),r){var O=this.resolve(s,v(v({},n),{},{keySeparator:!1}));O&&O.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var j=[],R=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&R&&R[0])for(var M=0;M<R.length;M++)j.push(R[M]);else"all"===this.options.saveMissingTo?j=this.languageUtils.toResolveHierarchy(n.lng||this.language):j.push(n.lng||this.language);var N=(e,t,i)=>{var a,r=k&&i!==m?i:I;this.options.missingKeyHandler?this.options.missingKeyHandler(e,u,t,r,F,n):null!==(a=this.backendConnector)&&void 0!==a&&a.saveMissing&&this.backendConnector.saveMissing(e,u,t,r,F,n),this.emit("missingKey",e,u,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&S?j.forEach(e=>{var t=this.pluralResolver.getSuffixes(e,n);D&&n[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{N([e],s+t,n[`defaultValue${t}`]||E)})}):N(j,s,E))}m=this.extendTranslation(m,e,n,p,i),z&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${u}${c}${s}`),(z||B)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${c}${s}`:s,B?m:void 0,n))}else{if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var L=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,C,v(v({},n),{},{ns:l})):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=L,p.usedParams=this.getUsedParamsDetails(n),p):L}if(r){var _=Array.isArray(C),V=_?[]:{},H=_?f:g;for(var U in C)if(Object.prototype.hasOwnProperty.call(C,U)){var W=`${H}${r}${U}`;V[U]=k&&!m?this.translate(W,v(v({},n),{},{defaultValue:qn(E)?E[U]:void 0},{joinArrays:!1,ns:l})):this.translate(W,v(v({},n),{joinArrays:!1,ns:l})),V[U]===W&&(V[U]=C[U])}m=V}}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(n),p):m}extendTranslation(e,t,i,n,a){var r,o=this;if(null!==(r=this.i18nFormat)&&void 0!==r&&r.parse)e=this.i18nFormat.parse(e,v(v({},this.options.interpolation.defaultVariables),i),i.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!i.skipInterpolation){var s;i.interpolation&&this.interpolator.init(v(v({},i),{interpolation:v(v({},this.options.interpolation),i.interpolation)}));var l,u=kn(e)&&(void 0!==(null==i||null===(s=i.interpolation)||void 0===s?void 0:s.skipOnVariables)?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(u){var c=e.match(this.interpolator.nestingRegexp);l=c&&c.length}var d=i.replace&&!kn(i.replace)?i.replace:i;if(this.options.interpolation.defaultVariables&&(d=v(v({},this.options.interpolation.defaultVariables),d)),e=this.interpolator.interpolate(e,d,i.lng||this.language||n.usedLng,i),u){var h=e.match(this.interpolator.nestingRegexp);l<(h&&h.length)&&(i.nest=!1)}!i.lng&&n&&n.res&&(i.lng=this.language||n.usedLng),!1!==i.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(null==a?void 0:a[0])!==n[0]||i.context?o.translate(...n,t):(o.logger.warn(`It seems you are nesting recursively key: ${n[0]} in key: ${t[0]}`),null)},i)),i.interpolation&&this.interpolator.reset()}var p=i.postProcess||this.options.postProcess,m=kn(p)?[p]:p;return null!=e&&null!=m&&m.length&&!1!==i.applyPostProcessor&&(e=Un.handle(m,e,t,this.options&&this.options.postProcessPassResolved?v({i18nResolved:v(v({},n),{},{usedParams:this.getUsedParamsDetails(i)})},i):i,this)),e}resolve(e){var t,i,n,a,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return kn(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>"function"==typeof e?Kn(e,v(v({},this.options),o)):e)),e.forEach(e=>{if(!this.isValidLookup(t)){var s=this.extractFromKey(e,o),l=s.key;i=l;var u=s.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));var c=void 0!==o.count&&!kn(o.count),d=c&&!o.ordinal&&0===o.count,h=void 0!==o.context&&(kn(o.context)||"number"==typeof o.context)&&""!==o.context,p=o.lngs?o.lngs:this.languageUtils.toResolveHierarchy(o.lng||this.language,o.fallbackLng);u.forEach(e=>{var s,u;this.isValidLookup(t)||(r=e,Gn[`${p[0]}-${e}`]||null===(s=this.utils)||void 0===s||!s.hasLoadedNamespace||null!==(u=this.utils)&&void 0!==u&&u.hasLoadedNamespace(r)||(Gn[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${i}" for languages "${p.join(", ")}" won't get resolved as namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(i=>{var r;if(!this.isValidLookup(t)){a=i;var s,u=[l];if(null!==(r=this.i18nFormat)&&void 0!==r&&r.addLookupKeys)this.i18nFormat.addLookupKeys(u,l,i,e,o);else{var p;c&&(p=this.pluralResolver.getSuffix(i,o.count,o));var m=`${this.options.pluralSeparator}zero`,g=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(o.ordinal&&0===p.indexOf(g)&&u.push(l+p.replace(g,this.options.pluralSeparator)),u.push(l+p),d&&u.push(l+m)),h){var f=`${l}${this.options.contextSeparator||"_"}${o.context}`;u.push(f),c&&(o.ordinal&&0===p.indexOf(g)&&u.push(f+p.replace(g,this.options.pluralSeparator)),u.push(f+p),d&&u.push(f+m))}}for(;s=u.pop();)this.isValidLookup(t)||(n=s,t=this.getResource(i,e,s,o))}}))})}}),{res:t,usedKey:i,exactUsedKey:n,usedLng:a,usedNS:r}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,i){var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return null!==(n=this.i18nFormat)&&void 0!==n&&n.getResource?this.i18nFormat.getResource(e,t,i,a):this.resourceStore.getResource(e,t,i,a)}getUsedParamsDetails(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.replace&&!kn(e.replace),i=t?e.replace:e;if(t&&void 0!==e.count&&(i.count=e.count),this.options.interpolation.defaultVariables&&(i=v(v({},this.options.interpolation.defaultVariables),i)),!t){i=v({},i);var n,a=p(["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]);try{for(a.s();!(n=a.n()).done;){delete i[n.value]}}catch(e){a.e(e)}finally{a.f()}}return i}static hasDefaultValue(e){var t="defaultValue";for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t===i.substring(0,12)&&void 0!==e[i])return!0;return!1}}class Xn{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=_n.create("languageUtils")}getScriptPartFromCode(e){if(!(e=Mn(e))||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=Mn(e))||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(kn(e)&&e.indexOf("-")>-1){var t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){return e?(e.forEach(e=>{if(!t){var i=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(i)||(t=i)}}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(!t){var i=this.getScriptPartFromCode(e);if(this.isSupportedCode(i))return t=i;var n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0)}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null;var t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),kn(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];var i=e[t];return i||(i=e[this.getScriptPartFromCode(t)]),i||(i=e[this.formatLanguageCode(t)]),i||(i=e[this.getLanguagePartFromCode(t)]),i||(i=e.default),i||[]}toResolveHierarchy(e,t){var i=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),n=[],a=e=>{e&&(this.isSupportedCode(e)?n.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return kn(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):kn(e)&&a(this.formatLanguageCode(e)),i.forEach(e=>{n.indexOf(e)<0&&a(this.formatLanguageCode(e))}),n}}var Yn={zero:0,one:1,two:2,few:3,many:4,other:5},$n={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Qn{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=_n.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Mn("dev"===e?"en":e),a=i.ordinal?"ordinal":"cardinal",r=JSON.stringify({cleanedCode:n,type:a});if(r in this.pluralRulesCache)return this.pluralRulesCache[r];try{t=new Intl.PluralRules(n,{type:a})}catch(n){if("undefined"==typeof Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),$n;if(!e.match(/-|_/))return $n;var o=this.languageUtils.getLanguagePartFromCode(e);t=this.getRule(o,i)}return this.pluralRulesCache[r]=t,t}needsPlural(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,i);return n||(n=this.getRule("dev",i)),(null===(t=n)||void 0===t?void 0:t.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,i).map(e=>`${t}${e}`)}getSuffixes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.getRule(e,t);return i||(i=this.getRule("dev",t)),i?i.resolvedOptions().pluralCategories.sort((e,t)=>Yn[e]-Yn[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.getRule(e,i);return n?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,i))}}var Zn=function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=((e,t,i)=>{var n=Pn(e,i);return void 0!==n?n:Pn(t,i)})(e,t,i);return!r&&a&&kn(i)&&void 0===(r=Rn(e,i,n))&&(r=Rn(t,i,n)),r},ea=e=>e.replace(/\$/g,"$$$$");class ta{constructor(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=_n.create("interpolator"),this.options=t,this.format=(null==t||null===(e=t.interpolation)||void 0===e?void 0:e.format)||(e=>e),this.init(t)}init(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation,i=t.escape,n=t.escapeValue,a=t.useRawValueToEscape,r=t.prefix,o=t.prefixEscaped,s=t.suffix,l=t.suffixEscaped,u=t.formatSeparator,c=t.unescapeSuffix,d=t.unescapePrefix,h=t.nestingPrefix,p=t.nestingPrefixEscaped,m=t.nestingSuffix,g=t.nestingSuffixEscaped,f=t.nestingOptionsSeparator,v=t.maxReplaces,b=t.alwaysFormat;this.escape=void 0!==i?i:Fn,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==a&&a,this.prefix=r?zn(r):o||"{{",this.suffix=s?zn(s):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=c?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=h?zn(h):p||zn("$t("),this.nestingSuffix=m?zn(m):g||zn(")"),this.nestingOptionsSeparator=f||",",this.maxReplaces=v||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){var e=(e,t)=>(null==e?void 0:e.source)===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,i,n){var a,r,o,s,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=e=>{if(e.indexOf(this.formatSeparator)<0){var a=Zn(t,l,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(a,void 0,i,v(v(v({},n),t),{},{interpolationkey:e})):a}var r=e.split(this.formatSeparator),o=r.shift().trim(),s=r.join(this.formatSeparator).trim();return this.format(Zn(t,l,o,this.options.keySeparator,this.options.ignoreJSONStructure),s,i,v(v(v({},n),t),{},{interpolationkey:o}))};this.resetRegExp();var c=(null==n?void 0:n.missingInterpolationHandler)||this.options.missingInterpolationHandler,d=void 0!==(null==n||null===(a=n.interpolation)||void 0===a?void 0:a.skipOnVariables)?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>ea(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?ea(this.escape(e)):ea(e)}].forEach(t=>{for(s=0;r=t.regex.exec(e);){var i=r[1].trim();if(void 0===(o=u(i)))if("function"==typeof c){var a=c(e,r,n);o=kn(a)?a:""}else if(n&&Object.prototype.hasOwnProperty.call(n,i))o="";else{if(d){o=r[0];continue}this.logger.warn(`missed to pass in variable ${i} for interpolating ${e}`),o=""}else kn(o)||this.useRawValueToEscape||(o=wn(o));var l=t.safeValue(o);if(e=e.replace(r[0],l),d?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=r[0].length):t.regex.lastIndex=0,++s>=this.maxReplaces)break}}),e}nest(e,t){for(var i,n,a,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(e,t)=>{var i,n,r=this.nestingOptionsSeparator;if(e.indexOf(r)<0)return e;var o=e.split(new RegExp(`${zn(r)}[ ]*{`)),s=`{${o[1]}`;e=o[0];var l=(s=this.interpolate(s,a)).match(/'/g),u=s.match(/"/g);((null!==(i=null==l?void 0:l.length)&&void 0!==i?i:0)%2==0&&!u||(null!==(n=null==u?void 0:u.length)&&void 0!==n?n:0)%2!=0)&&(s=s.replace(/'/g,'"'));try{a=JSON.parse(s),t&&(a=v(v({},t),a))}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${s}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};i=this.nestingRegexp.exec(e);){var s=[];(a=(a=v({},r)).replace&&!kn(a.replace)?a.replace:a).applyPostProcessor=!1,delete a.defaultValue;var l=/{.*}/.test(i[1])?i[1].lastIndexOf("}")+1:i[1].indexOf(this.formatSeparator);if(-1!==l&&(s=i[1].slice(l).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),i[1]=i[1].slice(0,l)),(n=t(o.call(this,i[1].trim(),a),a))&&i[0]===e&&!kn(n))return n;kn(n)||(n=wn(n)),n||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),n=""),s.length&&(n=s.reduce((e,t)=>this.format(e,t,r.lng,v(v({},r),{},{interpolationkey:i[1].trim()})),n.trim())),e=e.replace(i[0],n),this.regexp.lastIndex=0}return e}}var ia=e=>{var t={};return(i,n,a)=>{var r=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(r=v(v({},r),{},{[a.interpolationkey]:void 0}));var o=n+JSON.stringify(r),s=t[o];return s||(s=e(Mn(n),a),t[o]=s),s(i)}},na=e=>(t,i,n)=>e(Mn(i),n)(t);class aa{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=_n.create("formatter"),this.options=e,this.init(e)}init(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||",";var i=t.cacheInBuiltFormats?ia:na;this.formats={number:i((e,t)=>{var i=new Intl.NumberFormat(e,v({},t));return e=>i.format(e)}),currency:i((e,t)=>{var i=new Intl.NumberFormat(e,v(v({},t),{},{style:"currency"}));return e=>i.format(e)}),datetime:i((e,t)=>{var i=new Intl.DateTimeFormat(e,v({},t));return e=>i.format(e)}),relativetime:i((e,t)=>{var i=new Intl.RelativeTimeFormat(e,v({},t));return e=>i.format(e,t.range||"day")}),list:i((e,t)=>{var i=new Intl.ListFormat(e,v({},t));return e=>i.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=ia(t)}format(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=t.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find(e=>e.indexOf(")")>-1)){var r=a.findIndex(e=>e.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,r)].join(this.formatSeparator)}var o=a.reduce((e,t)=>{var a=(e=>{var t=e.toLowerCase().trim(),i={};if(e.indexOf("(")>-1){var n=e.split("(");t=n[0].toLowerCase().trim();var a=n[1].substring(0,n[1].length-1);"currency"===t&&a.indexOf(":")<0?i.currency||(i.currency=a.trim()):"relativetime"===t&&a.indexOf(":")<0?i.range||(i.range=a.trim()):a.split(";").forEach(e=>{if(e){var t=k(e.split(":")),n=t[0],a=t.slice(1).join(":").trim().replace(/^'+|'+$/g,""),r=n.trim();i[r]||(i[r]=a),"false"===a&&(i[r]=!1),"true"===a&&(i[r]=!0),isNaN(a)||(i[r]=parseInt(a,10))}})}return{formatName:t,formatOptions:i}})(t),r=a.formatName,o=a.formatOptions;if(this.formats[r]){var s=e;try{var l,u=(null==n||null===(l=n.formatParams)||void 0===l?void 0:l[n.interpolationkey])||{},c=u.locale||u.lng||n.locale||n.lng||i;s=this.formats[r](e,c,v(v(v({},o),n),u))}catch(e){this.logger.warn(e)}return s}return this.logger.warn(`there was no format function for ${r}`),e},e);return o}}class ra extends Vn{constructor(e,t,i){var n,a,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=i,this.languageUtils=i.languageUtils,this.options=r,this.logger=_n.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],null===(n=this.backend)||void 0===n||null===(a=n.init)||void 0===a||a.call(n,i,r.backend,r)}queueLoad(e,t,i,n){var a={},r={},o={},s={};return e.forEach(e=>{var n=!0;t.forEach(t=>{var o=`${e}|${t}`;!i.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(1===this.state[o]?void 0===r[o]&&(r[o]=!0):(this.state[o]=1,n=!1,void 0===r[o]&&(r[o]=!0),void 0===a[o]&&(a[o]=!0),void 0===s[t]&&(s[t]=!0)))}),n||(o[e]=!0)}),(Object.keys(a).length||Object.keys(r).length)&&this.queue.push({pending:r,pendingCount:Object.keys(r).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(a),pending:Object.keys(r),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,i){var n=e.split("|"),a=n[0],r=n[1];t&&this.emit("failedLoading",a,r,t),!t&&i&&this.store.addResourceBundle(a,r,i,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&i&&(this.state[e]=0);var o={};this.queue.forEach(i=>{var n,s,l,u,c;n=i.loaded,s=r,l=Cn(n,[a],Object),u=l.obj,c=l.k,u[c]=u[c]||[],u[c].push(s),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(i,e),t&&i.errors.push(t),0!==i.pendingCount||i.done||(Object.keys(i.loaded).forEach(e=>{o[e]||(o[e]={});var t=i.loaded[e];t.length&&t.forEach(t=>{void 0===o[e][t]&&(o[e][t]=!0)})}),i.done=!0,i.errors.length?i.callback(i.errors):i.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,r=arguments.length>5?arguments[5]:void 0;if(!e.length)return r(null,{});if(this.readingCalls>=this.maxParallelReads)this.waitingReads.push({lng:e,ns:t,fcName:i,tried:n,wait:a,callback:r});else{this.readingCalls++;var o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){var l=this.waitingReads.shift();this.read(l.lng,l.ns,l.fcName,l.tried,l.wait,l.callback)}o&&s&&n<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,i,n+1,2*a,r)},a):r(o,s)},s=this.backend[i].bind(this.backend);if(2!==s.length)return s(e,t,o);try{var l=s(e,t);l&&"function"==typeof l.then?l.then(e=>o(null,e)).catch(o):o(null,l)}catch(e){o(e)}}}prepareLoading(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();kn(e)&&(e=this.languageUtils.toResolveHierarchy(e)),kn(t)&&(t=[t]);var a=this.queueLoad(e,t,i,n);if(!a.toLoad.length)return a.pending.length||n(),null;a.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,i){this.prepareLoading(e,t,{},i)}reload(e,t,i){this.prepareLoading(e,t,{reload:!0},i)}loadOne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.split("|"),n=i[0],a=i[1];this.read(n,a,"read",void 0,void 0,(i,r)=>{i&&this.logger.warn(`${t}loading namespace ${a} for language ${n} failed`,i),!i&&r&&this.logger.log(`${t}loaded namespace ${a} for language ${n}`,r),this.loaded(e,i,r)})}saveMissing(e,t,i,n,a){var r,o,s,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(null===(r=this.services)||void 0===r||null===(r=r.utils)||void 0===r||!r.hasLoadedNamespace||null!==(o=this.services)&&void 0!==o&&null!==(o=o.utils)&&void 0!==o&&o.hasLoadedNamespace(t)){if(null!=i&&""!==i){if(null!==(s=this.backend)&&void 0!==s&&s.create){var c=v(v({},l),{},{isUpdate:a}),d=this.backend.create.bind(this.backend);if(d.length<6)try{var h;(h=5===d.length?d(e,t,i,n,c):d(e,t,i,n))&&"function"==typeof h.then?h.then(e=>u(null,e)).catch(u):u(null,h)}catch(e){u(e)}else d(e,t,i,n,u,c)}e&&e[0]&&this.store.addResource(e[0],t,i,n)}}else this.logger.warn(`did not save key "${i}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}var oa=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{var t={};if("object"===x(e[1])&&(t=e[1]),kn(e[1])&&(t.defaultValue=e[1]),kn(e[2])&&(t.tDescription=e[2]),"object"===x(e[2])||"object"===x(e[3])){var i=e[3]||e[2];Object.keys(i).forEach(e=>{t[e]=i[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),sa=e=>{var t,i;return kn(e.ns)&&(e.ns=[e.ns]),kn(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),kn(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),(null===(t=e.supportedLngs)||void 0===t||null===(i=t.indexOf)||void 0===i?void 0:i.call(t,"cimode"))<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e},la=()=>{},ua="__i18next_supportNoticeShown";class ca extends Vn{constructor(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(super(),this.options=sa(t),this.services={},this.logger=_n,this.modules={external:[]},e=this,Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))}),i&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,i),this;setTimeout(()=>{this.init(t,i)},0)}}init(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(i=t,t={}),null==t.defaultNS&&t.ns&&(kn(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var n,a,r,o,s,l,u=oa();this.options=v(v(v({},u),this.options),sa(t)),this.options.interpolation=v(v({},u.interpolation),this.options.interpolation),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=u.overloadTranslationOptionHandler),!1===this.options.showSupportNotice||((null==(n=this)||null===(a=n.modules)||void 0===a||null===(a=a.backend)||void 0===a||null===(a=a.name)||void 0===a?void 0:a.indexOf("Locize"))>0||(null==n||null===(r=n.modules)||void 0===r||null===(r=r.backend)||void 0===r||null===(r=r.constructor)||void 0===r||null===(r=r.name)||void 0===r?void 0:r.indexOf("Locize"))>0||null!=n&&null!==(o=n.options)&&void 0!==o&&null!==(o=o.backend)&&void 0!==o&&o.backends&&n.options.backend.backends.some(e=>{var t,i;return(null==e||null===(t=e.name)||void 0===t?void 0:t.indexOf("Locize"))>0||(null==e||null===(i=e.constructor)||void 0===i||null===(i=i.name)||void 0===i?void 0:i.indexOf("Locize"))>0})||null!=n&&null!==(s=n.options)&&void 0!==s&&null!==(s=s.backend)&&void 0!==s&&s.projectId||null!=n&&null!==(l=n.options)&&void 0!==l&&null!==(l=l.backend)&&void 0!==l&&l.backendOptions&&n.options.backend.backendOptions.some(e=>null==e?void 0:e.projectId))||"undefined"!=typeof globalThis&&globalThis[ua]||("undefined"!=typeof console&&void 0!==console.info&&console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),"undefined"!=typeof globalThis&&(globalThis[ua]=!0));var c=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){var d;this.modules.logger?_n.init(c(this.modules.logger),this.options):_n.init(null,this.options),d=this.modules.formatter?this.modules.formatter:aa;var h=new Xn(this.options);this.store=new Hn(this.options.resources,this.options);var p=this.services;p.logger=_n,p.resourceStore=this.store,p.languageUtils=h,p.pluralResolver=new Qn(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==u.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!d||this.options.interpolation.format&&this.options.interpolation.format!==u.interpolation.format||(p.formatter=c(d),p.formatter.init&&p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new ta(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new ra(c(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",function(t){for(var i=arguments.length,n=new Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];e.emit(t,...n)}),this.modules.languageDetector&&(p.languageDetector=c(this.modules.languageDetector),p.languageDetector.init&&p.languageDetector.init(p,this.options.detection,this.options)),this.modules.i18nFormat&&(p.i18nFormat=c(this.modules.i18nFormat),p.i18nFormat.init&&p.i18nFormat.init(this)),this.translator=new Jn(this.services,this.options),this.translator.on("*",function(t){for(var i=arguments.length,n=new Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];e.emit(t,...n)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,i||(i=la),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var m=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);m.length>0&&"dev"!==m[0]&&(this.options.lng=m[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});var g=xn(),f=()=>{var e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),g.resolve(t),i(e,t)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?f():setTimeout(f,0),g}loadResources(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:la,i=kn(e)?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){var n,a;if("cimode"===(null==i?void 0:i.toLowerCase())&&(!this.options.preload||0===this.options.preload.length))return t();var r=[],o=e=>{e&&("cimode"!==e&&this.services.languageUtils.toResolveHierarchy(e).forEach(e=>{"cimode"!==e&&r.indexOf(e)<0&&r.push(e)}))};if(i)o(i);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>o(e));null===(n=this.options.preload)||void 0===n||null===(a=n.forEach)||void 0===a||a.call(n,e=>o(e)),this.services.backendConnector.load(r,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)})}else t(null)}reloadResources(e,t,i){var n=xn();return"function"==typeof e&&(i=e,e=void 0),"function"==typeof t&&(i=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),i||(i=la),this.services.backendConnector.reload(e,t,e=>{n.resolve(),i(e)}),n}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Un.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(var t=0;t<this.languages.length;t++){var i=this.languages[t];if(!(["cimode","dev"].indexOf(i)>-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){var i=this;this.isLanguageChangingTo=e;var n=xn();this.emit("languageChanging",e);var a=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},r=(r,o)=>{o?this.isLanguageChangingTo===e&&(a(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,n.resolve(function(){return i.t(...arguments)}),t&&t(r,function(){return i.t(...arguments)})},o=t=>{e||t||!this.services.languageDetector||(t=[]);var i,n,o=kn(t)?t:t&&t[0],s=this.store.hasLanguageSomeTranslations(o)?o:this.services.languageUtils.getBestMatchFromCodes(kn(t)?[t]:t);s&&(this.language||a(s),this.translator.language||this.translator.changeLanguage(s),null===(i=this.services.languageDetector)||void 0===i||null===(n=i.cacheUserLanguage)||void 0===n||n.call(i,s));this.loadResources(s,e=>{r(e,s)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),n}getFixedT(e,t,i){var n=this,a=function(e,t){var r;if("object"!==x(t)){for(var o=arguments.length,s=new Array(o>2?o-2:0),l=2;l<o;l++)s[l-2]=arguments[l];r=n.options.overloadTranslationOptionHandler([e,t].concat(s))}else r=v({},t);r.lng=r.lng||a.lng,r.lngs=r.lngs||a.lngs,r.ns=r.ns||a.ns,""!==r.keyPrefix&&(r.keyPrefix=r.keyPrefix||i||a.keyPrefix);var u,c=n.options.keySeparator||".";return r.keyPrefix&&Array.isArray(e)?u=e.map(e=>("function"==typeof e&&(e=Kn(e,v(v({},n.options),t))),`${r.keyPrefix}${c}${e}`)):("function"==typeof e&&(e=Kn(e,v(v({},n.options),t))),u=r.keyPrefix?`${r.keyPrefix}${c}${e}`:e),n.t(u,r)};return kn(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=i,a}t(){for(var e,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return null===(e=this.translator)||void 0===e?void 0:e.translate(...i)}exists(){for(var e,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return null===(e=this.translator)||void 0===e?void 0:e.exists(...i)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var i=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===i.toLowerCase())return!0;var r=(e,t)=>{var i=this.services.backendConnector.state[`${e}|${t}`];return-1===i||0===i||2===i};if(t.precheck){var o=t.precheck(this,r);if(void 0!==o)return o}return!!this.hasResourceBundle(i,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!r(i,e)||n&&!r(a,e)))}loadNamespaces(e,t){var i=xn();return this.options.ns?(kn(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{i.resolve(),t&&t(e)}),i):(t&&t(),Promise.resolve())}loadLanguages(e,t){var i=xn();kn(e)&&(e=[e]);var n=this.options.preload||[],a=e.filter(e=>n.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return a.length?(this.options.preload=n.concat(a),this.loadResources(e=>{i.resolve(),t&&t(e)}),i):(t&&t(),Promise.resolve())}dir(e){var t,i;if(e||(e=this.resolvedLanguage||((null===(t=this.languages)||void 0===t?void 0:t.length)>0?this.languages[0]:this.language)),!e)return"rtl";try{var n=new Intl.Locale(e);if(n&&n.getTextInfo){var a=n.getTextInfo();if(a&&a.direction)return a.direction}}catch(e){}var r=(null===(i=this.services)||void 0===i?void 0:i.languageUtils)||new Xn(oa());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(r.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){var e=new ca(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0);return e.createInstance=ca.createInstance,e}cloneInstance(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:la,i=e.forkResourceStore;i&&delete e.forkResourceStore;var n=v(v(v({},this.options),e),{isClone:!0}),a=new ca(n);void 0===e.debug&&void 0===e.prefix||(a.logger=a.logger.clone(e));if(["store","services","language"].forEach(e=>{a[e]=this[e]}),a.services=v({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},i){var r=Object.keys(this.store.data).reduce((e,t)=>(e[t]=v({},this.store.data[t]),e[t]=Object.keys(e[t]).reduce((i,n)=>(i[n]=v({},e[t][n]),i),e[t]),e),{});a.store=new Hn(r,n),a.services.resourceStore=a.store}if(e.interpolation){var o=v(v(v({},oa().interpolation),this.options.interpolation),e.interpolation),s=v(v({},n),{},{interpolation:o});a.services.interpolator=new ta(s)}return a.translator=new Jn(a.services,n),a.translator.on("*",function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];a.emit(e,...i)}),a.init(n,t),a.translator.options=n,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}var da=ca.createInstance();da.createInstance,da.dir,da.init,da.loadResources,da.reloadResources,da.use,da.changeLanguage,da.getFixedT;var ha=da.t;da.exists,da.setDefaultNamespace,da.hasLoadedNamespace,da.loadNamespaces,da.loadLanguages;var pa,ma,ga={da:{translation:{__contributors:["loui771w"],settings:{options:{socialMedia:{title:"Links til Sociale Medier",qrCodeScanMessage:"Du kan besøge {{name}} siden ved at scanne QR-koden nedenfor."},adBlock:"Reklameblokering",sponsorblock:{title:"SponsorBlock-indstillinger",options:{enableSB:"Aktivér SponsorBlock",manualSkip:"Spring SponsorBlock Segmenter Over Manuelt",segments:"Segmenter",categories:{sponsor:"Spring Sponsorsegmenter Over",intro:"Spring Introsegmenter Over",outro:"Spring Outrosegmenter Over",interaction:"Spring Segmenter med Interaktionspåmindelser Over",selfpromo:"Spring Selvpromoveringssegmenter Over",preview:"Spring Preview-/Opsummeringssegmenter Over",filler:"Spring Sidespor/Jokes Over",music_offtopic:"Spring Segmenter uden Musik Over (gælder kun musikvideoer)",highlights:"Aktivér Højdepunkter"},showSBToasts:"Vis SponsorBlock-beskeder"}},dearrow:{title:"DeArrow-indstillinger",options:{enableDA:"Aktivér DeArrow",enableDAThumbnails:"Aktivér DeArrow Thumbnails"}},misc:{title:"Diverse Indstillinger",options:{endScreenCards:"Skjul Slutskærmskort",youThereRenderer:"Aktivér 'Ser du stadig med?'-renderer",paidPromoOverlay:"Aktivér 'Indeholder betalt promovering'-overlay",whosWatching:{title:"Hvem Ser Med-menu",options:{enableWW:"Aktivér Hvem Ser Med-menu",permaEnableWW:"Aktivér Hvem Ser Med-menu Permanent",enableWWOnExit:"Aktivér Hvem Ser Med-menu ved Afslutning af App"}},fixUI:"Reparér UI",hqThumbnails:"Aktivér Højkvalitets-thumbnails",longPress:"Aktivér handlinger ved langt tryk",shorts:"Aktivér Shorts",videoPreviews:"Aktivér Videoforhåndsvisninger",ttWelcomeMsg:"Vis TT-velkomstbesked",guestSignInReminder:"Vis Gæstelogin-påmindelse",reloadHomeOnStartup:"Genindlæs Hjem ved Opstart"}},subtitles:{title:"Undertekstindstillinger",options:{showLocalSubtitle:"Vis Lokale Undertekster",showHiddenSubtitles:"Vis Skjulte Undertekster"}},videoPlayer:{title:"Videoafspillerindstillinger",subtitle:"Tilpas funktioner i videoafspilleren",options:{patching:{title:"Patch Videoafspiller-UI",options:{enableVPUIPatching:"Aktivér Patchning af Videoafspiller-UI",previousNextBtns:"Aktivér Forrige- og Næste-knapper",showSuperThxBtn:"Vis Super Tak-knap",showSpeedCtrlBtn:"Vis Knap til Hastighedskontrol"}},preferredVideoQuality:{title:"Foretrukken Videokvalitet",subtitle:"Vælg den foretrukne eller næstbedste videokvalitet, der bruges ved afspilningsstart"},speedSettings:{title:"Intervaller for Hastighedsindstillinger",subtitle:"Angiv intervallerne for justering af videoafspilningshastighed"},preferredVideoCodec:{title:"Foretrukken Videocodec",subtitle:"Vælg den foretrukne videocodec til afspilning"},afr:"Automatisk Billedfrekvens",afrPauseDuration:{title:"Pausevarighed for Automatisk Billedfrekvens",subtitle:"Angiv varigheden (i sekunder) for at sætte videoafspilning på pause ved justering af billedfrekvens"}}},uiSettings:{title:"Brugerfladeindstillinger",subtitle:"Tilpas brugerfladen efter dine præferencer",options:{hideWatchedVideos:{title:"Skjul Sete Videoer",options:{enableHideWatchedVideos:"Aktivér Skjulning af Sete Videoer",watchedVideosThreshold:{title:"Grænse for Sete Videoer",subtitle:"Angiv procentgrænsen, hvor sete videoer skjules"},setPagesToHideWatchedVideos:"Vælg Sider, Hvor Sete Videoer Skal Skjules"}},screenDimming:{title:"Skærmdæmpning",options:{enableScreenDimming:"Aktivér Skærmdæmpning",dimmingTimeout:{title:"Timeout for Skærmdæmpning",subtitle:"Angiv inaktivitetstimeout (i sekunder), før skærmen dæmpes"},dimmingOpacity:{title:"Opacitet for Skærmdæmpning",subtitle:"Angiv opacitetsniveauet for skærmdæmpning"}}},disableSidebarContents:{title:"Deaktivér Sidepanelindhold",subtitle:"Vælg sidepanelindhold, der skal deaktiveres"},launchToOnStartup:{title:"Startside ved Opstart",subtitle:"Vælg den standardside, TizenTube åbner ved opstart"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"TizenTube Cobalt Updater",menuSubtitle:"Administrér TizenTube Cobalt-opdateringer",versionSubtitle:"Nuværende version: {{version}}",options:{checkForUpdates:"Søg efter opdateringer",checkForUpdatesOnStartup:"Søg efter opdateringer ved opstart"}}},ttSettings:{title:"TizenTube-indstillinger",madeByText:"Lavet af Reis Can (reisxd) med ❤️",summary:"Åbn TizenTube-indstillinger"},supportTT:{title:"Støt TizenTube",subtitle:"❤️ Vis støtte til TizenTube og dets udvikling",content:{1:"Hvis du nyder at bruge TizenTube og gerne vil støtte dets udvikling, kan du overveje følgende:",2:"1. Giv GitHub-repositoriet en stjerne for at hjælpe med at øge dets synlighed.",3:"2. Del TizenTube med andre.",4:"Hvis du gerne vil bidrage økonomisk, kan du overveje at donere:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (helst)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Velkommen til TizenTube",subtitle:"Gå til indstillinger, og klik på TizenTube-indstillinger for at åbne indstillingerne."},sponsorblock:{segments:{sponsor:"sponsoreret segment",intro:"intro",outro:"outro",interaction:"interaktionspåmindelse",selfpromo:"selvpromovering",preview:"opsummering eller preview",filler:"sidespor",music_offtopic:"segment uden musik",poi_highlight:"højdepunkt"},toasts:{skipping:"Springer {{segment}} over",notSkipping:"Springer ikke {{segment}} over (blev sprunget over {{count}} gange)",skip:"Spring {{segment}} over",skipToHighlight:"Spring til højdepunkt"}}}},en:{translation:{__contributors:["reisxd"],settings:{options:{socialMedia:{title:"Social Media Links",qrCodeScanMessage:"You can visit the {{name}} page by scanning the QR code below."},adBlock:"Ad Block",sponsorblock:{title:"SponsorBlock Settings",options:{enableSB:"Enable SponsorBlock",manualSkip:"Manual SponsorBlock Segment Skip",segments:"Segments",categories:{sponsor:"Skip Sponsor Segments",intro:"Skip Intro Segments",outro:"Skip Outro Segments",interaction:"Skip Interaction Reminder Segments",selfpromo:"Skip Self-Promotion Segments",preview:"Skip Preview/Recap Segments",filler:"Skip Tangents/Jokes Segments",music_offtopic:"Skip Off-Topic Music Segments",highlights:"Enable Highlights"},showSBToasts:"Show SponsorBlock Toasts"}},dearrow:{title:"DeArrow Settings",options:{enableDA:"Enable DeArrow",enableDAThumbnails:"Enable DeArrow Thumbnails"}},misc:{title:"Miscellaneous Settings",options:{endScreenCards:"Hide End Screen Cards",youThereRenderer:"Enable 'Are you still watching?' Renderer",paidPromoOverlay:"Enable 'Includes paid promotion' Overlay",whosWatching:{title:"Who's Watching Menu",options:{enableWW:"Enable Who's Watching Menu",permaEnableWW:"Permanently Enable Who's Watching Menu",enableWWOnExit:"Enable Who's Watching Menu on App Exit"}},fixUI:"Fix UI",hqThumbnails:"Enable High Quality Thumbnails",longPress:"Enable Long Press Actions",shorts:"Enable Shorts",videoPreviews:"Enable Video Previews",ttWelcomeMsg:"Show TT Welcome Message",guestSignInReminder:"Show Guest Sign In Reminder",reloadHomeOnStartup:"Reload Home on Startup"}},subtitles:{title:"Subtitle Settings",options:{showLocalSubtitle:"Show Local Subtitle",showHiddenSubtitles:"Show Hidden Subtitles"}},videoPlayer:{title:"Video Player Settings",subtitle:"Customize video player features",options:{patching:{title:"Patch Video Player UI",options:{enableVPUIPatching:"Enable Video Player UI Patching",previousNextBtns:"Enable Previous and Next Buttons",showSuperThxBtn:"Show Super Thanks Button",showSpeedCtrlBtn:"Show Speed Controls Button"}},preferredVideoQuality:{title:"Preferred Video Quality",subtitle:"Choose the preferred or next best video quality applied when playback starts"},speedSettings:{title:"Speed Settings Increments",subtitle:"Set the speed increments for video playback speed adjustments"},preferredVideoCodec:{title:"Preferred Video Codec",subtitle:"Choose the preferred video codec for playback"},afr:"Auto Frame Rate",afrPauseDuration:{title:"Auto Frame Rate Pause Duration",subtitle:"Set the duration (in seconds) to pause video playback when adjusting frame rate"}}},uiSettings:{title:"User Interface Settings",subtitle:"Customize the UI to your liking",options:{hideWatchedVideos:{title:"Hide Watched Videos",options:{enableHideWatchedVideos:"Enable Hide Watched Videos",watchedVideosThreshold:{title:"Watched Videos Threshold",subtitle:"Set the percentage threshold for hiding watched videos"},setPagesToHideWatchedVideos:"Set Pages to Hide Watched Videos"}},screenDimming:{title:"Screen Dimming",options:{enableScreenDimming:"Enable Screen Dimming",dimmingTimeout:{title:"Dimming Timeout",subtitle:"Set the inactivity timeout (in seconds) before the screen dims"},dimmingOpacity:{title:"Dimming Opacity",subtitle:"Set the opacity level for screen dimming"}}},disableSidebarContents:{title:"Disable Sidebar Contents",subtitle:"Select sidebar contents to disable"},launchToOnStartup:{title:"Launch To on Startup",subtitle:"Choose the default page TizenTube opens to on startup"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically",disableChannelsOnSidebar:"Disable Channels on Sidebar"}},updater:{title:"TizenTube Cobalt Updater",menuSubtitle:"Manage TizenTube Cobalt updates",versionSubtitle:"Current version: {{version}}",options:{checkForUpdates:"Check for updates",checkForUpdatesOnStartup:"Check for updates on startup"}}},ttSettings:{title:"TizenTube Settings",madeByText:"Made by Reis Can (reisxd) with ❤️",summary:"Open TizenTube Settings"},supportTT:{title:"Support TizenTube",subtitle:"❤️ Show support for TizenTube and its development",content:{1:"If you enjoy using TizenTube and would like to support its development, consider the following:",2:"1. Star the GitHub repository to help increase its visibility.",3:"2. Share TizenTube with others.",4:"If you would like to contribute financially, consider donating:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preferably)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Welcome to TizenTube",subtitle:"Go to settings and click on TizenTube Settings for settings."},sponsorblock:{segments:{sponsor:"sponsored segment",intro:"intro",outro:"outro",interaction:"interaction reminder",selfpromo:"self-promotion",preview:"recap or preview",filler:"tangents",music_offtopic:"non-music part",poi_highlight:"highlight"},toasts:{skipping:"Skipping {{segment}}",notSkipping:"Not skipping {{segment}} (was skipped {{count}} times)",skip:"Skip {{segment}}",skipToHighlight:"Skip to highlight"}}}},tr:{translation:{__contributors:["reisxd"],settings:{options:{socialMedia:{title:"Sosyal Medya Bağlantıları",qrCodeScanMessage:"Aşağıdaki QR kodu tarayarak {{name}} sayfasını ziyaret edebilirsiniz."},adBlock:"Reklam Engelleme",sponsorblock:{title:"SponsorBlock Ayarları",options:{enableSB:"SponsorBlock'u Etkinleştir",manualSkip:"SponsorBlock Bölümlerini Manuel Geç",segments:"Bölümler",categories:{sponsor:"Sponsor Bölümlerini Geç",intro:"Giriş Bölümlerini Geç",outro:"Çıkış Bölümlerini Geç",interaction:"Etkileşim Hatırlatma Bölümlerini Geç",selfpromo:"Kendi Tanıtım Bölümlerini Geç",preview:"Önizleme/Özet Bölümlerini Geç",filler:"Alakasız/Şaka Bölümlerini Geç",music_offtopic:"Konu Dışı Müzik Bölümlerini Geç",highlights:"Öne Çıkan Anları Etkinleştir"},showSBToasts:"SponsorBlock Bildirimlerini Göster"}},dearrow:{title:"DeArrow Ayarları",options:{enableDA:"DeArrow'u Etkinleştir",enableDAThumbnails:"DeArrow Küçük Resimlerini Etkinleştir"}},misc:{title:"Çeşitli Ayarlar",options:{endScreenCards:"Bitiş Ekranı Kartlarını Gizle",youThereRenderer:"'Hâlâ izliyor musunuz?' Öğesini Etkinleştir",paidPromoOverlay:"'Ücretli tanıtım içerir' Katmanını Etkinleştir",whosWatching:{title:"Kim İzliyor Menüsü",options:{enableWW:"Kim İzliyor Menüsünü Etkinleştir",permaEnableWW:"Kim İzliyor Menüsünü Kalıcı Olarak Etkinleştir",enableWWOnExit:"Uygulamadan Çıkışta Kim İzliyor Menüsünü Etkinleştir"}},fixUI:"Arayüzü Düzelt",hqThumbnails:"Yüksek Kaliteli Küçük Resimleri Etkinleştir",longPress:"Uzun Basma Eylemlerini Etkinleştir",shorts:"Shorts'u Etkinleştir",videoPreviews:"Video Önizlemelerini Etkinleştir",ttWelcomeMsg:"TT Karşılama Mesajını Göster",guestSignInReminder:"Misafir Giriş Hatırlatmasını Göster",reloadHomeOnStartup:"Açılışta Ana Sayfayı Yeniden Yükle"}},subtitles:{title:"Altyazı Ayarları",options:{showLocalSubtitle:"Yerel Altyazıyı Göster",showHiddenSubtitles:"Gizli Altyazıları Göster"}},videoPlayer:{title:"Video Oynatıcı Ayarları",subtitle:"Video oynatıcı özelliklerini özelleştirin",options:{patching:{title:"Video Oynatıcı Arayüzünü Yama",options:{enableVPUIPatching:"Video Oynatıcı Arayüzü Yamasını Etkinleştir",previousNextBtns:"Önceki ve Sonraki Düğmelerini Etkinleştir",showSuperThxBtn:"Süper Teşekkür Düğmesini Göster",showSpeedCtrlBtn:"Hız Kontrol Düğmesini Göster"}},preferredVideoQuality:{title:"Tercih Edilen Video Kalitesi",subtitle:"Oynatma başladığında uygulanacak tercih edilen veya bir sonraki en iyi video kalitesini seçin"},speedSettings:{title:"Hız Ayarı Artışları",subtitle:"Video oynatma hızı ayarlamaları için artış miktarını belirleyin"},preferredVideoCodec:{title:"Tercih Edilen Video Kodlayıcı",subtitle:"Oynatma için tercih edilen video kodlayıcıyı seçin"},afr:"Otomatik Kare Hızı",afrPauseDuration:{title:"Otomatik Kare Hızı Duraklatma Süresi",subtitle:"Kare hızı ayarlanırken video oynatmayı duraklatma süresini (saniye) ayarlayın"}}},uiSettings:{title:"Kullanıcı Arayüzü Ayarları",subtitle:"Arayüzü istediğiniz gibi özelleştirin",options:{hideWatchedVideos:{title:"İzlenen Videoları Gizle",options:{enableHideWatchedVideos:"İzlenen Videoları Gizlemeyi Etkinleştir",watchedVideosThreshold:{title:"İzlenen Videolar Eşiği",subtitle:"İzlenen videoları gizlemek için yüzde eşiğini ayarlayın"},setPagesToHideWatchedVideos:"İzlenen Videoların Gizleneceği Sayfaları Belirle"}},screenDimming:{title:"Ekran Karartma",options:{enableScreenDimming:"Ekran Karartmayı Etkinleştir",dimmingTimeout:{title:"Karartma Zaman Aşımı",subtitle:"Ekran kararmadan önceki hareketsizlik süresini (saniye) ayarlayın"},dimmingOpacity:{title:"Karartma Opaklığı",subtitle:"Ekran karartma için opaklık seviyesini ayarlayın"}}},disableSidebarContents:{title:"Kenar Çubuğu İçeriklerini Devre Dışı Bırak",subtitle:"Devre dışı bırakılacak kenar çubuğu içeriklerini seçin"},launchToOnStartup:{title:"Açılışta Başlatılacak Sayfa",subtitle:"TizenTube'un açılışta varsayılan olarak açacağı sayfayı seçin"},sortSubscriptionsByAlphabet:"Abonelikleri Alfabetik Sırala",disableChannelsOnSidebar:"Kenar Çubuğunda Kanalları Devre Dışı Bırak"}},updater:{title:"TizenTube Cobalt Güncelleyici",menuSubtitle:"TizenTube Cobalt güncellemelerini yönetin",versionSubtitle:"Geçerli sürüm: {{version}}",options:{checkForUpdates:"Güncellemeleri kontrol et",checkForUpdatesOnStartup:"Açılışta güncellemeleri kontrol et"}}},ttSettings:{title:"TizenTube Ayarları",madeByText:"Reis Can (reisxd) tarafından ❤️ ile yapıldı",summary:"TizenTube Ayarlarını Aç"},supportTT:{title:"TizenTube'u Destekleyin",subtitle:"❤️ TizenTube'a ve geliştirilmesine destek olun",content:{1:"TizenTube'u kullanmaktan memnunsanız ve geliştirilmesini desteklemek istiyorsanız, şunları değerlendirebilirsiniz:",2:"1. Görünürlüğünü artırmaya yardımcı olmak için GitHub deposuna yıldız verin.",3:"2. TizenTube'u başkalarıyla paylaşın.",4:"Maddi olarak katkıda bulunmak isterseniz bağış yapmayı düşünebilirsiniz:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (tercihen)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"TizenTube'a Hoş Geldiniz",subtitle:"Ayarlar menüsüne gidip TizenTube Ayarları'na tıklayarak ayarları açabilirsiniz."},sponsorblock:{segments:{sponsor:"Sponsor bölümü",intro:"Giriş bölümü",outro:"Çıkış bölümü",interaction:"Etkileşim hatırlatması",selfpromo:"Kendi tanıtımı",preview:"Özet veya önizleme",filler:"Alakasız bölüm",music_offtopic:"Müzik dışı bölüm",poi_highlight:"Öne çıkan an"},toasts:{skipping:"{{segment}} geçiliyor",notSkipping:"{{segment}} geçilmiyor ({{count}} kez geçildi)",skip:"Geç: {{segment}}",skipToHighlight:"Öne çıkan âna atla"}}}},vi:{translation:{__contributors:["reisxd"],settings:{options:{socialMedia:{title:"Liên kết mạng xã hội",qrCodeScanMessage:"Bạn có thể truy cập trang {{name}} bằng cách quét mã QR bên dưới."},adBlock:"Chặn quảng cáo",sponsorblock:{title:"Cài đặt SponsorBlock",options:{enableSB:"Bật SponsorBlock",manualSkip:"Bỏ qua phân đoạn SponsorBlock thủ công",segments:"Bỏ qua phân đoạn SponsorBlock tự động",categories:{sponsor:"Bỏ qua đoạn tài trợ",intro:"Bỏ qua đoạn mở đầu (Intro)",outro:"Bỏ qua đoạn kết thúc (Outro)",interaction:"Bỏ qua đoạn nhắc nhở tương tác",selfpromo:"Bỏ qua đoạn tự quảng cáo",preview:"Bỏ qua đoạn xem trước/tóm tắt",filler:"Bỏ qua đoạn nói lan man/trò đùa",music_offtopic:"Bỏ qua đoạn không phải âm nhạc",highlights:"Bật các đoạn nổi bật"},showSBToasts:"Hiển thị thông báo SponsorBlock"}},dearrow:{title:"Cài đặt DeArrow",options:{enableDA:"Bật DeArrow",enableDAThumbnails:"Bật hình thu nhỏ DeArrow"}},misc:{title:"Cài đặt khác",options:{endScreenCards:"Ẩn thẻ màn hình kết thúc",youThereRenderer:"Bật thông báo 'Video đã tạm dừng. Tiếp tục xem?'",paidPromoOverlay:"Bật lớp phủ 'Chứa nội dung được trả tiền để quảng cáo'",whosWatching:{title:"Menu ai đang xem",options:{enableWW:"Bật menu ai đang xem",permaEnableWW:"Luôn bật menu ai đang xem",enableWWOnExit:"Bật menu ai đang xem khi thoát ứng dụng"}},fixUI:"Sửa lỗi giao diện",hqThumbnails:"Bật hình thu nhỏ chất lượng cao",longPress:"Bật thao tác nhấn giữ",shorts:"Bật Shorts",videoPreviews:"Bật tính năng xem trước video",ttWelcomeMsg:"Hiển thị thông báo chào mừng TizenTube",guestSignInReminder:"Hiển thị nhắc nhở đăng nhập cho chế độ khách",reloadHomeOnStartup:"Tải lại Trang chủ khi khởi động"}},subtitles:{title:"Cài đặt phụ đề",options:{showLocalSubtitle:"Hiển thị phụ đề cục bộ",showHiddenSubtitles:"Hiển thị phụ đề bị ẩn"}},videoPlayer:{title:"Cài đặt trình phát video",subtitle:"Tùy chỉnh các tính năng của trình phát video",options:{patching:{title:"Vá giao diện trình phát video",options:{enableVPUIPatching:"Bật vá giao diện trình phát video",previousNextBtns:"Bật nút Trước và Tiếp theo",showSuperThxBtn:"Hiển thị nút Super Thanks",showSpeedCtrlBtn:"Hiển thị nút Điều khiển tốc độ"}},preferredVideoQuality:{title:"Chất lượng video ưu tiên",subtitle:"Chọn chất lượng video ưu tiên hoặc tốt nhất tiếp theo được áp dụng khi bắt đầu phát"},speedSettings:{title:"Mức tăng cài đặt tốc độ",subtitle:"Đặt các mức tăng tốc độ để điều chỉnh tốc độ phát video"},preferredVideoCodec:{title:"Bộ giải mã video ưu tiên",subtitle:"Chọn bộ giải mã video ưu tiên để phát"},afr:"Tốc độ khung hình tự động (AFR)",afrPauseDuration:{title:"Thời gian tạm dừng AFR",subtitle:"Đặt thời gian (tính bằng giây) để tạm dừng phát video khi điều chỉnh tốc độ khung hình"}}},uiSettings:{title:"Cài đặt giao diện người dùng",subtitle:"Tùy chỉnh giao diện theo ý thích của bạn",options:{hideWatchedVideos:{title:"Ẩn video đã xem",options:{enableHideWatchedVideos:"Bật ẩn video đã xem",watchedVideosThreshold:{title:"Ngưỡng video đã xem",subtitle:"Đặt ngưỡng phần trăm để ẩn các video đã xem"},setPagesToHideWatchedVideos:"Đặt các trang sẽ ẩn video đã xem"}},screenDimming:{title:"Làm mờ màn hình",options:{enableScreenDimming:"Bật làm mờ màn hình",dimmingTimeout:{title:"Thời gian chờ làm mờ",subtitle:"Đặt thời gian không hoạt động (tính bằng giây) trước khi màn hình mờ đi"},dimmingOpacity:{title:"Độ mờ của màn hình",subtitle:"Đặt mức độ mờ cho màn hình"}}},disableSidebarContents:{title:"Tắt nội dung thanh bên",subtitle:"Chọn các nội dung trên thanh bên để tắt"},launchToOnStartup:{title:"Trang khởi động",subtitle:"Chọn trang mặc định mà TizenTube sẽ mở khi khởi động"},sortSubscriptionsByAlphabet:"Sắp xếp các kênh đăng ký theo bảng chữ cái"}},updater:{title:"Trình cập nhật TizenTube Cobalt",menuSubtitle:"Quản lý các bản cập nhật TizenTube Cobalt",versionSubtitle:"Phiên bản hiện tại: {{version}}",options:{checkForUpdates:"Kiểm tra cập nhật",checkForUpdatesOnStartup:"Kiểm tra cập nhật khi khởi động"}}},ttSettings:{title:"Cài đặt TizenTube",madeByText:"Được tạo bởi Reis Can (reisxd) ❤️",summary:"Mở Cài đặt TizenTube"},supportTT:{title:"Ủng hộ TizenTube",subtitle:"❤️ Thể hiện sự ủng hộ dành cho TizenTube và đội ngũ phát triển!",content:{1:"Nếu bạn thích sử dụng TizenTube và muốn ủng hộ đội ngũ phát triển dự án này, hãy:",2:"1. Tặng sao (Star) cho dự án ở trên GitHub để giúp dự án phổ biến hơn.",3:"2. Chia sẻ TizenTube với mọi người.",4:"Nếu bạn muốn quyên góp:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (ưu tiên)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Chào mừng đến với TizenTube",subtitle:"Vào mục Cài đặt và nhấp vào Cài đặt TizenTube để tùy chỉnh."},sponsorblock:{segments:{sponsor:"đoạn tài trợ",intro:"đoạn mở đầu",outro:"đoạn kết thúc",interaction:"đoạn nhắc nhở tương tác",selfpromo:"đoạn tự quảng cáo",preview:"đoạn tóm tắt hoặc xem trước",filler:"đoạn nói lan man",music_offtopic:"phần không phải âm nhạc",poi_highlight:"đoạn nổi bật"},toasts:{skipping:"Đang bỏ qua {{segment}}...",notSkipping:"Không bỏ qua {{segment}} (đã bỏ qua {{count}} lần)",skip:"Bỏ qua {{segment}}",skipToHighlight:"Chuyển đến đoạn nổi bật"}}}},de:{translation:{__contributors:["CrazyWolf13"],settings:{options:{socialMedia:{title:"Social-Media-Links",qrCodeScanMessage:"Du kannst die {{name}}-Seite besuchen, indem du den untenstehenden QR-Code scannst."},adBlock:"Werbeblocker",sponsorblock:{title:"SponsorBlock-Einstellungen",options:{enableSB:"SponsorBlock aktivieren",manualSkip:"Manuelles Überspringen von SponsorBlock-Segmenten",segments:"Segmente",categories:{sponsor:"Sponsor-Segmente überspringen",intro:"Intro-Segmente überspringen",outro:"Outro-Segmente überspringen",interaction:"Interaktionsaufforderungen überspringen",selfpromo:"Eigenwerbung überspringen",preview:"Vorschau-/Zusammenfassungs-Segmente überspringen",filler:"Abschweifungen/Witze überspringen",music_offtopic:"Off-Topic-Musiksegmente überspringen",highlights:"Highlights aktivieren"},showSBToasts:"SponsorBlock-Pop-Ups anzeigen"}},dearrow:{title:"DeArrow-Einstellungen",options:{enableDA:"DeArrow aktivieren",enableDAThumbnails:"DeArrow-Thumbnails aktivieren"}},misc:{title:"Sonstige Einstellungen",options:{endScreenCards:"Endbildschirm-Karten ausblenden",youThereRenderer:"'Schaust du noch?' anzeigen",paidPromoOverlay:"'Enthält bezahlte Werbung'-Overlay anzeigen",whosWatching:{title:"„Wer schaut?“ Menü",options:{enableWW:"„Wer schaut?“ Menü aktivieren",permaEnableWW:"„Wer schaut?“ Menü dauerhaft aktivieren",enableWWOnExit:"„Wer schaut?“ Menü beim Beenden der App anzeigen"}},fixUI:"UI korrigieren",hqThumbnails:"Hochqualitative Thumbnails aktivieren",longPress:"Gedrückthalten-Aktionen aktivieren",shorts:"Shorts aktivieren",videoPreviews:"Videovorschauen aktivieren",ttWelcomeMsg:"TT-Begrüßungsnachricht anzeigen",guestSignInReminder:"Gast-Anmeldeerinnerung anzeigen",reloadHomeOnStartup:"Startseite beim Start neu laden"}},subtitles:{title:"Untertitel-Einstellungen",options:{showLocalSubtitle:"Lokale Untertitel anzeigen",showHiddenSubtitles:"Versteckte Untertitel anzeigen"}},videoPlayer:{title:"Videoplayer-Einstellungen",subtitle:"Videoplayer-Funktionen anpassen",options:{patching:{title:"Videoplayer-UI patchen",options:{enableVPUIPatching:"Videoplayer-UI-Patching aktivieren",previousNextBtns:"Vorheriger-/Nächster-Buttons aktivieren",showSuperThxBtn:"Super-Thanks-Button anzeigen",showSpeedCtrlBtn:"Geschwindigkeitssteuerungs-Button anzeigen"}},preferredVideoQuality:{title:"Bevorzugte Videoqualität",subtitle:"Wähle die bevorzugte oder nächstbeste Videoqualität, die beim Start der Wiedergabe verwendet wird"},speedSettings:{title:"Geschwindigkeitsstufen",subtitle:"Lege die Schritte für Anpassungen der Wiedergabegeschwindigkeit fest"},preferredVideoCodec:{title:"Bevorzugter Videocodec",subtitle:"Wähle den bevorzugten Videocodec für die Wiedergabe"},afr:"Automatische Bildrate",afrPauseDuration:{title:"Pause bei automatischer Bildrate",subtitle:"Lege fest, wie lange (in Sekunden) das Video pausiert wird, wenn die Bildrate angepasst wird"}}},uiSettings:{title:"Benutzeroberflächen-Einstellungen",subtitle:"Passe die Oberfläche nach deinen Wünschen an",options:{hideWatchedVideos:{title:"Angesehene Videos ausblenden",options:{enableHideWatchedVideos:"Ausblenden angesehener Videos aktivieren",watchedVideosThreshold:{title:"Schwellenwert für angesehene Videos",subtitle:"Lege den Prozentsatz fest, ab dem Videos als angesehen gelten und ausgeblendet werden"},setPagesToHideWatchedVideos:"Seiten festlegen, auf denen angesehene Videos ausgeblendet werden"}},screenDimming:{title:"Bildschirmabdunklung",options:{enableScreenDimming:"Bildschirmabdunklung aktivieren",dimmingTimeout:{title:"Timeout für Abdunklung",subtitle:"Lege die Inaktivitätszeit (in Sekunden) fest, bevor der Bildschirm abgedunkelt wird"},dimmingOpacity:{title:"Abdunklungs-Deckkraft",subtitle:"Lege die Deckkraft der Bildschirmabdunklung fest"}}},disableSidebarContents:{title:"Seitenleisten-Inhalte deaktivieren",subtitle:"Wähle Seitenleisten-Inhalte aus, die deaktiviert werden sollen"},launchToOnStartup:{title:"Startseite beim Start",subtitle:"Wähle die Standardseite, die TizenTube beim Start öffnet"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"TizenTube Cobalt Updater",menuSubtitle:"TizenTube Cobalt Updates verwalten",versionSubtitle:"Aktuelle Version: {{version}}",options:{checkForUpdates:"Nach Updates suchen",checkForUpdatesOnStartup:"Beim Start nach Updates suchen"}}},ttSettings:{title:"TizenTube-Einstellungen",madeByText:"Erstellt von Reis Can (reisxd) mit ❤️",summary:"TizenTube-Einstellungen öffnen"},supportTT:{title:"TizenTube unterstützen",subtitle:"❤️ Unterstütze TizenTube und seine Entwicklung",content:{1:"Wenn dir TizenTube gefällt und du seine Entwicklung unterstützen möchtest, ziehe Folgendes in Betracht:",2:"1. Markiere das GitHub-Repository mit einem Stern, um seine Sichtbarkeit zu erhöhen.",3:"2. Teile TizenTube mit anderen.",4:"Wenn du finanziell beitragen möchtest, kannst du spenden:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (bevorzugt)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Willkommen bei TizenTube",subtitle:"Gehe zu den Einstellungen und klicke auf TizenTube-Einstellungen."},sponsorblock:{segments:{sponsor:"Sponsor-Segment",intro:"Intro",outro:"Outro",interaction:"Interaktionshinweis",selfpromo:"Eigenwerbung",preview:"Zusammenfassung oder Vorschau",filler:"Abschweifung",music_offtopic:"Nicht-Musik-Teil",poi_highlight:"Highlight"},toasts:{skipping:"{{segment}} wird übersprungen",notSkipping:"{{segment}} wird nicht übersprungen (wurde {{count}} mal übersprungen)",skip:"{{segment}} überspringen",skipToHighlight:"Zum Highlight springen"}}}},lv:{translation:{__contributors:["LvKafija"],settings:{options:{socialMedia:{title:"Sociālo mēdiju saites",qrCodeScanMessage:"Jūs varat apmeklēt {{name}} lapu, noskenējot zemāk redzamo QR kodu."},adBlock:"Reklāmu bloķētājs",sponsorblock:{title:"SponsorBlock iestatījumi",options:{enableSB:"Iespējot SponsorBlock",manualSkip:"Manuāla SponsorBlock segmentu izlaišana",segments:"Segmenti",categories:{sponsor:"Izlaist sponsoru segmentus",intro:"Izlaist ievada segmentus",outro:"Izlaist beigu segmentus",interaction:"Izlaist aicinājumus uz mijiedarbību",selfpromo:"Izlaist pašreklāmas segmentus",preview:"Izlaist priekšskatījuma/kopsavilkuma segmentus",filler:"Izlaist liekvārdību/jokus",music_offtopic:"Izlaist nesaistītas mūzikas segmentus",highlights:"Iespējot izcēlumus"},showSBToasts:"Rādīt SponsorBlock paziņojumus"}},dearrow:{title:"DeArrow iestatījumi",options:{enableDA:"Iespējot DeArrow",enableDAThumbnails:"Iespējot DeArrow sīktēlus"}},misc:{title:"Dažādi iestatījumi",options:{endScreenCards:"Slēpt beigu ekrāna kartītes",youThereRenderer:"Iespējot 'Vai jūs joprojām skatāties?' logu",paidPromoOverlay:"Iespējot 'Ietver apmaksātu reklāmu' pārklājumu",whosWatching:{title:"Izvēlne 'Kas skatās?'",options:{enableWW:"Iespējot 'Kas skatās?' izvēlni",permaEnableWW:"Pastāvīgi iespējot 'Kas skatās?' izvēlni",enableWWOnExit:"Rādīt 'Kas skatās?' izvēlni, aizverot lietotni"}},fixUI:"Labot saskarni (UI)",hqThumbnails:"Iespējot augstas kvalitātes sīktēlus",longPress:"Iespējot garā nospiediena darbības",shorts:"Iespējot Shorts",videoPreviews:"Iespējot video priekšskatījumus",ttWelcomeMsg:"Rādīt TT sveiciena ziņojumu",guestSignInReminder:"Rādīt viesa pieteikšanās atgādinājumu",reloadHomeOnStartup:"Pārlādēt sākumlapu palaišanas brīdī"}},subtitles:{title:"Subtitru iestatījumi",options:{showLocalSubtitle:"Rādīt vietējos subtitrus",showHiddenSubtitles:"Rādīt slēptos subtitrus"}},videoPlayer:{title:"Video atskaņotāja iestatījumi",subtitle:"Pielāgot video atskaņotāja funkcijas",options:{patching:{title:"Video atskaņotāja UI ielāpi",options:{enableVPUIPatching:"Iespējot video atskaņotāja UI ielāpus",previousNextBtns:"Iespējot pogas 'Iepriekšējais' un 'Nākamais'",showSuperThxBtn:"Rādīt 'Super Thanks' pogu",showSpeedCtrlBtn:"Rādīt ātruma kontroles pogu"}},preferredVideoQuality:{title:"Vēlamā video kvalitāte",subtitle:"Izvēlieties vēlamo vai nākamo labāko video kvalitāti atskaņošanas sākumā"},speedSettings:{title:"Ātruma iestatījumu soļi",subtitle:"Iestatiet ātruma pieauguma soļus video atskaņošanas pielāgošanai"},preferredVideoCodec:{title:"Vēlamais video kodeks",subtitle:"Izvēlieties vēlamo video kodeku atskaņošanai"},afr:"Automātisks kadru nomaiņas ātrums (AFR)",afrPauseDuration:{title:"AFR pauzes ilgums",subtitle:"Iestatiet ilgumu (sekundēs), uz kādu apturēt atskaņošanu, pielāgojot kadru nomaiņas ātrumu"}}},uiSettings:{title:"Lietotāja saskarnes iestatījumi",subtitle:"Pielāgojiet saskarni savām vēlmēm",options:{hideWatchedVideos:{title:"Slēpt noskatītos video",options:{enableHideWatchedVideos:"Iespējot noskatīto video slēpšanu",watchedVideosThreshold:{title:"Noskatīto video slieksnis",subtitle:"Iestatiet procentuālo slieksni noskatīto video slēpšanai"},setPagesToHideWatchedVideos:"Izvēlēties lapas, kurās slēpt noskatītos video"}},screenDimming:{title:"Ekrāna aptumšošana",options:{enableScreenDimming:"Iespējot ekrāna aptumšošanu",dimmingTimeout:{title:"Aptumšošanas noildze",subtitle:"Iestatiet bezdarbības laiku (sekundēs), pirms ekrāns aptumšojas"},dimmingOpacity:{title:"Aptumšošanas intensitāte",subtitle:"Iestatiet ekrāna aptumšošanas caurspīdīguma līmeni"}}},disableSidebarContents:{title:"Atspējot sānjoslas saturu",subtitle:"Izvēlieties sānjoslas elementus, kurus atspējot"},launchToOnStartup:{title:"Sākumlapa palaišanas brīdī",subtitle:"Izvēlieties noklusējuma lapu, kuru TizenTube atvērs palaišanas brīdī"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"TizenTube Cobalt atjauninātājs",menuSubtitle:"Pārvaldīt TizenTube Cobalt atjauninājumus",versionSubtitle:"Pašreizējā versija: {{version}}",options:{checkForUpdates:"Pārbaudīt atjauninājumus",checkForUpdatesOnStartup:"Pārbaudīt atjauninājumus palaišanas brīdī"}}},ttSettings:{title:"TizenTube iestatījumi",madeByText:"Izveidoja Reis Can (reisxd) ar ❤️",summary:"Atvērt TizenTube iestatījumus"},supportTT:{title:"Atbalstīt TizenTube",subtitle:"❤️ Atbalstiet TizenTube un tā izstrādi",content:{1:"Ja jums patīk lietot TizenTube un vēlaties atbalstīt tā izstrādi, apsveriet sekojošo:",2:"1. Atzīmējiet GitHub repozitoriju ar zvaigznīti, lai palīdzētu uzlabot tā redzamību.",3:"2. Dalieties ar TizenTube ar citiem.",4:"Ja vēlaties sniegt finansiālu ieguldījumu, apsveriet ziedošanu:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (ieteicams)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Laipni lūdzam TizenTube",subtitle:"Dodieties uz iestatījumiem un noklikšķiniet uz 'TizenTube iestatījumi', lai veiktu izmaiņas."},sponsorblock:{segments:{sponsor:"sponsorēts segments",intro:"ievads",outro:"beigas",interaction:"atgādinājums par mijiedarbību",selfpromo:"pašreklāma",preview:"kopsavilkums vai priekšskatījums",filler:"novirzīšanās no tēmas",music_offtopic:"nemuzikāla daļa",poi_highlight:"izcēlums"},toasts:{skipping:"Izlaiž: {{segment}}",notSkipping:"Neizlaiž {{segment}} (tika izlaists {{count}} reizes)",skip:"Izlaist {{segment}}",skipToHighlight:"Pāriet uz izcēlumu"}}}},"pt-PT":{translation:{__contributors:["joaopferreira19"],settings:{options:{socialMedia:{title:"Ligações de Redes Sociais",qrCodeScanMessage:"Podes visitar a página {{name}} ao digitalizar o código QR abaixo."},adBlock:"Bloqueador de Anúncios",sponsorblock:{title:"Definições do SponsorBlock",options:{enableSB:"Ativar SponsorBlock",manualSkip:"Ignorar segmento do SponsorBlock manualmente",segments:"Segmentos",categories:{sponsor:"Ignorar segmentos patrocinados",intro:"Ignorar segmentos de introdução",outro:"Ignorar segmentos de final",interaction:"Ignorar lembretes de interação",selfpromo:"Ignorar autopromoções",preview:"Ignorar pré-visualizações/recapitulações",filler:"Ignorar tangentes/piadas",music_offtopic:"Ignorar música fora de contexto",highlights:"Ativar destaques"},showSBToasts:"Mostrar notificações do SponsorBlock"}},dearrow:{title:"Definições do DeArrow",options:{enableDA:"Ativar DeArrow",enableDAThumbnails:"Ativar miniaturas do DeArrow"}},misc:{title:"Outras Definições",options:{endScreenCards:"Ocultar cartões de ecrã final",youThereRenderer:"Ativar mensagem 'Ainda estás a ver?'",paidPromoOverlay:"Ativar sobreposição 'Inclui promoção paga'",whosWatching:{title:"Menu 'Quem está a ver'",options:{enableWW:"Ativar menu 'Quem está a ver'",permaEnableWW:"Ativar permanentemente o menu 'Quem está a ver'",enableWWOnExit:"Ativar menu 'Quem está a ver' ao sair da aplicação"}},fixUI:"Corrigir interface",hqThumbnails:"Ativar miniaturas de alta qualidade",longPress:"Ativar ações com pressão longa",shorts:"Ativar Shorts",videoPreviews:"Ativar pré-visualizações de vídeo",ttWelcomeMsg:"Mostrar mensagem de boas-vindas do TT",guestSignInReminder:"Mostrar lembrete de início de sessão para convidados",reloadHomeOnStartup:"Recarregar página inicial ao iniciar"}},subtitles:{title:"Definições de Legendas",options:{showLocalSubtitle:"Mostrar legendas locais",showHiddenSubtitles:"Mostrar legendas ocultas"}},videoPlayer:{title:"Definições do Reprodutor de Vídeo",subtitle:"Personaliza as funcionalidades do reprodutor de vídeo",options:{patching:{title:"Modificar interface do reprodutor de vídeo",options:{enableVPUIPatching:"Ativar modificação da interface do reprodutor",previousNextBtns:"Ativar botões Anterior e Seguinte",showSuperThxBtn:"Mostrar botão 'Super Thanks'",showSpeedCtrlBtn:"Mostrar botão de controlo de velocidade"}},preferredVideoQuality:{title:"Qualidade de vídeo preferida",subtitle:"Escolhe a qualidade preferida ou a melhor disponível ao iniciar a reprodução"},speedSettings:{title:"Incrementos da velocidade de reprodução",subtitle:"Define os incrementos da velocidade de reprodução do vídeo"},preferredVideoCodec:{title:"Codec de vídeo preferido",subtitle:"Escolhe o codec de vídeo preferido para reprodução"},afr:"Taxa de fotogramas automática",afrPauseDuration:{title:"Duração da pausa da taxa de fotogramas automática",subtitle:"Define a duração (em segundos) da pausa do vídeo ao ajustar a taxa de fotogramas"}}},uiSettings:{title:"Definições da Interface",subtitle:"Personaliza a interface ao teu gosto",options:{hideWatchedVideos:{title:"Ocultar vídeos vistos",options:{enableHideWatchedVideos:"Ativar ocultação de vídeos vistos",watchedVideosThreshold:{title:"Limite de vídeos vistos",subtitle:"Define a percentagem a partir da qual os vídeos vistos são ocultados"},setPagesToHideWatchedVideos:"Definir páginas onde ocultar vídeos vistos"}},screenDimming:{title:"Escurecimento do ecrã",options:{enableScreenDimming:"Ativar escurecimento do ecrã",dimmingTimeout:{title:"Tempo de inatividade",subtitle:"Define o tempo de inatividade (em segundos) antes de o ecrã escurecer"},dimmingOpacity:{title:"Opacidade do escurecimento",subtitle:"Define o nível de opacidade do escurecimento do ecrã"}}},disableSidebarContents:{title:"Desativar conteúdos da barra lateral",subtitle:"Seleciona os conteúdos da barra lateral a desativar"},launchToOnStartup:{title:"Abrir ao iniciar",subtitle:"Escolhe a página padrão que o TizenTube abre ao iniciar"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"Atualizador do TizenTube Cobalt",menuSubtitle:"Gerir atualizações do TizenTube Cobalt",versionSubtitle:"Versão atual: {{version}}",options:{checkForUpdates:"Verificar atualizações",checkForUpdatesOnStartup:"Verificar atualizações ao iniciar"}}},ttSettings:{title:"Definições do TizenTube",madeByText:"Feito por Reis Can (reisxd) com ❤️",summary:"Abrir definições do TizenTube"},supportTT:{title:"Apoiar o TizenTube",subtitle:"❤️ Demonstra apoio ao TizenTube e ao seu desenvolvimento",content:{1:"Se gostas de usar o TizenTube e queres apoiar o seu desenvolvimento, considera o seguinte:",2:"1. Dá uma estrela ao repositório no GitHub para ajudar a aumentar a sua visibilidade.",3:"2. Partilha o TizenTube com outras pessoas.",4:"Se quiseres contribuir financeiramente, considera fazer uma doação:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preferencialmente)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Bem-vindo ao TizenTube",subtitle:"Navega até às definições e clica em 'Definições do TizenTube'."},sponsorblock:{segments:{sponsor:"segmento patrocinado",intro:"introdução",outro:"final",interaction:"lembrete de interação",selfpromo:"autopromoção",preview:"recapitulação ou pré-visualização",filler:"tangentes",music_offtopic:"parte não musical",poi_highlight:"destaque"},toasts:{skipping:"A ignorar {{segment}}",notSkipping:"A mostrar {{segment}} (foi ignorado {{count}} vezes)",skip:"Ignorar {{segment}}",skipToHighlight:"Saltar para o destaque"}}}},"es-419":{translation:{__contributors:["reisxd"],settings:{options:{socialMedia:{title:"Links de Redes Sociales",qrCodeScanMessage:"Puedes visitar la página de {{name}} escaneando el código QR a continuación."},adBlock:"Ad Block",sponsorblock:{title:"Configuraciones de SponsorBlock",options:{enableSB:"Habilitar SponsorBlock",manualSkip:"Omitir segmentos de SponsorBlock manualmente",segments:"Segmentos",categories:{sponsor:"Saltar segmentos patrocinados",intro:"Saltar segmentos de Introducción",outro:"Saltar segmentos de Tarjetas/Créditos",interaction:"Saltar segmentos de recordatorio de interacción",selfpromo:"Saltar segmentos de Promoción Propia",preview:"Saltar segmentos de Vista previa/Recapitulación",filler:"Saltar segmentos de Tangentes/Bromas",music_offtopic:"Saltar segmentos de Música fuera de tema",highlights:"Habilitar Destacados"},showSBToasts:"Mostrar avisos de SponsorBlock"}},dearrow:{title:"Configuraciones de DeArrow",options:{enableDA:"Habilitar DeArrow",enableDAThumbnails:"Habilitar miniaturas de DeArrow"}},misc:{title:"Configuraciones Varias",options:{endScreenCards:"Ocultar Tarjetas de Pantalla Final",youThereRenderer:"Habilitar '¿Sigues viendo?'",paidPromoOverlay:"Habilitar Superposición de 'Incluye promoción pagada'",whosWatching:{title:"Menú de Quién Está Viendo",options:{enableWW:"Habilitar Menú de Quién Está Viendo",permaEnableWW:"Habilitar Permanentemente el Menú de Quién Está Viendo",enableWWOnExit:"Habilitar Menú de Quién Está Viendo al Salir de la Aplicación"}},fixUI:"Arreglar UI",hqThumbnails:"Habilitar Miniaturas de Alta Calidad",longPress:"Habilitar Acciones de Pulsación Larga",shorts:"Habilitar Shorts",videoPreviews:"Habilitar Vista Previa de Videos",ttWelcomeMsg:"Mostrar Mensaje de Bienvenida de TT",guestSignInReminder:"Mostrar Recordatorio de Inicio de Sesión de Invitado",reloadHomeOnStartup:"Recargar Inicio al Iniciar"}},subtitles:{title:"Configuraciones de Subtítulos",options:{showLocalSubtitle:"Mostrar Subtítulos Locales",showHiddenSubtitles:"Mostrar Subtítulos Ocultos"}},videoPlayer:{title:"Configuraciones del Reproductor de Video",subtitle:"Personaliza las funciones del reproductor de video",options:{patching:{title:"Parchear la UI del Reproductor de Video",options:{enableVPUIPatching:"Habilitar Parcheo de la UI del Reproductor de Video",previousNextBtns:"Habilitar Botones Anterior y Siguiente",showSuperThxBtn:"Mostrar Botón de Super Gracias",showSpeedCtrlBtn:"Mostrar Botón de Control de Velocidad"}},preferredVideoQuality:{title:"Calidad de Video Preferida",subtitle:"Elige la calidad de video preferida o la siguiente mejor calidad aplicada al iniciar la reproducción"},speedSettings:{title:"Incrementos de Configuración de Velocidad",subtitle:"Establece los incrementos de velocidad para los ajustes de velocidad de reproducción de video"},preferredVideoCodec:{title:"Códec de Video Preferido",subtitle:"Elige el códec de video preferido para la reproducción"},afr:"Tasa de Cuadros por Segundo Automática",afrPauseDuration:{title:"Duración de Pausa de Tasa de Cuadros por Segundo Automática",subtitle:"Establece la duración (en segundos) para pausar la reproducción de video al ajustar la tasa de cuadros"}}},uiSettings:{title:"Configuraciones de Interfaz de Usuario",subtitle:"Personaliza la interfaz de usuario a tu gusto",options:{hideWatchedVideos:{title:"Ocultar Videos Vistos",options:{enableHideWatchedVideos:"Habilitar Ocultar Videos Vistos",watchedVideosThreshold:{title:"Umbral de Videos Vistos",subtitle:"Establece el umbral de porcentaje para ocultar videos vistos"},setPagesToHideWatchedVideos:"Establecer Páginas para Ocultar Videos Vistos"}},screenDimming:{title:"Oscurecer Pantalla",options:{enableScreenDimming:"Habilitar Oscurecimiento de Pantalla",dimmingTimeout:{title:"Tiempo de Espera para Oscurecimiento",subtitle:"Establece el tiempo de inactividad (en segundos) antes de que la pantalla se oscurezca"},dimmingOpacity:{title:"Opacidad de Oscurecimiento",subtitle:"Establece el nivel de opacidad para el oscurecimiento de la pantalla"}}},disableSidebarContents:{title:"Desactivar Contenidos de la Barra Lateral",subtitle:"Selecciona los contenidos de la barra lateral para desactivar"},launchToOnStartup:{title:"Abrir en Inicio",subtitle:"Elige la página predeterminada que TizenTube abre al iniciar"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"Actualizador de TizenTube Cobalt",menuSubtitle:"Gestionar actualizaciones de TizenTube Cobalt",versionSubtitle:"Versión actual: {{version}}",options:{checkForUpdates:"Buscar actualizaciones",checkForUpdatesOnStartup:"Buscar actualizaciones al iniciar"}}},ttSettings:{title:"Configuraciones de TizenTube",madeByText:"Hecho por Reis Can (reisxd) con ❤️",summary:"Abrir Configuraciones de TizenTube"},supportTT:{title:"Apoyar a TizenTube",subtitle:"❤️ Muestra tu apoyo a TizenTube y su desarrollo",content:{1:"Si disfrutas de TizenTube y quieres apoyar su desarrollo, considera lo siguiente:",2:"1. Marca el repositorio de GitHub con una estrella para ayudar a aumentar su visibilidad.",3:"2. Comparte TizenTube con otros.",4:"Si quieres contribuir financieramente, considera donar:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preferiblemente)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Bienvenido a TizenTube",subtitle:"Ve a configuraciones y haz click en configuraciones de TizenTube para ajustes."},sponsorblock:{segments:{sponsor:"segmento patrocinado",intro:"introducción",outro:"tarjetas/créditos",interaction:"recordatorio de interacción",selfpromo:"promoción propia",preview:"vista previa/recapitulación",filler:"tangentes",music_offtopic:"sección sin música",poi_highlight:"destacado"},toasts:{skipping:"Omitiendo {{segment}}",notSkipping:"No se omite {{segment}} (se omitió {{count}} veces)",skip:"Omitir {{segment}}",skipToHighlight:"Saltar a destacado"}}}},es:{translation:{__contributors:["Sikriet"],settings:{options:{socialMedia:{title:"Enlaces de redes sociales",qrCodeScanMessage:"Puedes visitar la página de {{name}} escaneando el código QR a continuación."},adBlock:"Bloqueador de anuncios",sponsorblock:{title:"Configuración de SponsorBlock",options:{enableSB:"Habilitar SponsorBlock",manualSkip:"Salto manual de segmentos de SponsorBlock",segments:"Segmentos",categories:{sponsor:"Omitir segmentos de patrocinadores",intro:"Omitir segmentos de introducción",outro:"Omitir segmentos de cierre",interaction:"Omitir segmentos de recordatorio de interacción",selfpromo:"Omitir segmentos de autopromoción",preview:"Omitir segmentos de resumen/avance",filler:"Omitir segmentos de desvíos/bromas",music_offtopic:"Omitir segmentos de música no relacionados",highlights:"Habilitar momentos destacados"},showSBToasts:"Mostrar notificaciones de SponsorBlock"}},dearrow:{title:"Configuración de DeArrow",options:{enableDA:"Habilitar DeArrow",enableDAThumbnails:"Habilitar miniaturas de DeArrow"}},misc:{title:"Configuraciones varias",options:{endScreenCards:"Ocultar tarjetas de la pantalla final",youThereRenderer:"Habilitar mensaje '¿Sigues ahí?'",paidPromoOverlay:"Habilitar superposición de 'Incluye promoción paga'",whosWatching:{title:"Menú de 'Quién está viendo'",options:{enableWW:"Habilitar menú de 'Quién está viendo'",permaEnableWW:"Habilitar permanentemente el menú de 'Quién está viendo'",enableWWOnExit:"Habilitar menú de 'Quién está viendo' al salir de la app"}},fixUI:"Arreglar interfaz de usuario",hqThumbnails:"Habilitar miniaturas de alta calidad",longPress:"Habilitar acciones de pulsación larga",shorts:"Habilitar Shorts",videoPreviews:"Habilitar vistas previas de video",ttWelcomeMsg:"Mostrar mensaje de bienvenida de TT",guestSignInReminder:"Mostrar recordatorio de inicio de sesión de invitado",reloadHomeOnStartup:"Recargar inicio al arrancar"}},subtitles:{title:"Configuración de subtítulos",options:{showLocalSubtitle:"Mostrar subtítulos locales",showHiddenSubtitles:"Mostrar subtítulos ocultos"}},videoPlayer:{title:"Configuración del reproductor de video",subtitle:"Personaliza las funciones del reproductor de video",options:{patching:{title:"Parchear interfaz del reproductor de video",options:{enableVPUIPatching:"Habilitar parcheo de la interfaz del reproductor de video",previousNextBtns:"Habilitar botones de anterior y siguiente",showSuperThxBtn:"Mostrar botón de Súper Gracias",showSpeedCtrlBtn:"Mostrar botón de control de velocidad"}},preferredVideoQuality:{title:"Calidad de video preferida",subtitle:"Elige la calidad de video preferida o la siguiente mejor que se aplicará cuando inicie la reproducción"},speedSettings:{title:"Incrementos de ajuste de velocidad",subtitle:"Establece los incrementos para los ajustes de velocidad de reproducción del video"},preferredVideoCodec:{title:"Códec de video preferido",subtitle:"Elige el códec de video preferido para la reproducción"},afr:"Velocidad de fotogramas automática",afrPauseDuration:{title:"Duración de pausa de velocidad de fotogramas automática",subtitle:"Establece la duración (en segundos) para pausar la reproducción de video al ajustar la velocidad de fotogramas"}}},uiSettings:{title:"Configuración de la interfaz de usuario",subtitle:"Personaliza la interfaz de usuario a tu gusto",options:{hideWatchedVideos:{title:"Ocultar videos vistos",options:{enableHideWatchedVideos:"Habilitar ocultar videos vistos",watchedVideosThreshold:{title:"Umbral de videos vistos",subtitle:"Establece el umbral de porcentaje para ocultar los videos vistos"},setPagesToHideWatchedVideos:"Establecer páginas para ocultar videos vistos"}},screenDimming:{title:"Atenuación de pantalla",options:{enableScreenDimming:"Habilitar atenuación de pantalla",dimmingTimeout:{title:"Tiempo de espera de atenuación",subtitle:"Establece el tiempo de inactividad (en segundos) antes de que la pantalla se atenúe"},dimmingOpacity:{title:"Opacidad de atenuación",subtitle:"Establece el nivel de opacidad para la atenuación de la pantalla"}}},disableSidebarContents:{title:"Deshabilitar contenidos de la barra lateral",subtitle:"Selecciona los contenidos de la barra lateral que deseas deshabilitar"},launchToOnStartup:{title:"Página de inicio al arrancar",subtitle:"Elige la página predeterminada que abrirá TizenTube al iniciar"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"Actualizador de TizenTube Cobalt",menuSubtitle:"Administrar actualizaciones de TizenTube Cobalt",versionSubtitle:"Versión actual: {{version}}",options:{checkForUpdates:"Buscar actualizaciones",checkForUpdatesOnStartup:"Buscar actualizaciones al iniciar"}}},ttSettings:{title:"Configuración de TizenTube",madeByText:"Hecho por Reis Can (reisxd) con ❤️",summary:"Abrir configuración de TizenTube"},supportTT:{title:"Apoya a TizenTube",subtitle:"❤️ Muestra tu apoyo a TizenTube y su desarrollo",content:{1:"Si disfrutas usar TizenTube y te gustaría apoyar su desarrollo, considera lo siguiente:",2:"1. Dale una estrella al repositorio de GitHub para ayudar a aumentar su visibilidad.",3:"2. Comparte TizenTube con otras personas.",4:"Si deseas contribuir económicamente, considera hacer una donación:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (de preferencia)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Bienvenido a TizenTube",subtitle:"Ve a ajustes y haz clic en Configuración de TizenTube para ajustarla."},sponsorblock:{segments:{sponsor:"segmento patrocinado",intro:"introducción",outro:"cierre",interaction:"recordatorio de interacción",selfpromo:"autopromoción",preview:"resumen o avance",filler:"desvíos o relleno",music_offtopic:"parte sin música",poi_highlight:"momento destacado"},toasts:{skipping:"Omitiendo {{segment}}",notSkipping:"No omitiendo {{segment}} (se omitió {{count}} veces)",skip:"Omitir {{segment}}",skipToHighlight:"Saltar al momento destacado"}}}},id:{translation:{__contributors:["thegouhund"],settings:{options:{socialMedia:{title:"Tautan Media Sosial",qrCodeScanMessage:"Anda dapat mengunjungi halaman {{name}} dengan memindai kode QR di bawah ini."},adBlock:"Pemblokir Iklan",sponsorblock:{title:"Pengaturan SponsorBlock",options:{enableSB:"Aktifkan SponsorBlock",manualSkip:"Lewati Segmen SponsorBlock Secara Manual",segments:"Segmen",categories:{sponsor:"Lewati Segmen Sponsor",intro:"Lewati Segmen Intro",outro:"Lewati Segmen Outro",interaction:"Lewati Segmen Pengingat Interaksi",selfpromo:"Lewati Segmen Promosi Diri",preview:"Lewati Segmen Pratinjau/Rekap",filler:"Lewati Segmen OOT/Lelucon",music_offtopic:"Lewati Segmen Musik di Luar Topik",highlights:"Aktifkan Sorotan"},showSBToasts:"Tampilkan Notifikasi SponsorBlock"}},dearrow:{title:"Pengaturan DeArrow",options:{enableDA:"Aktifkan DeArrow",enableDAThumbnails:"Aktifkan Thumbnail DeArrow"}},misc:{title:"Pengaturan Lainnya",options:{endScreenCards:"Sembunyikan Kartu Layar Akhir",youThereRenderer:"Aktifkan Renderer 'Masih menonton?'",paidPromoOverlay:"Aktifkan Overlay 'Mengandung promosi berbayar'",whosWatching:{title:"Menu Siapa yang Menonton",options:{enableWW:"Aktifkan Menu Siapa yang Menonton",permaEnableWW:"Aktifkan Menu Siapa yang Menonton Secara Permanen",enableWWOnExit:"Aktifkan Menu Siapa yang Menonton saat Keluar Aplikasi"}},fixUI:"Perbaiki UI",hqThumbnails:"Aktifkan Thumbnail Kualitas Tinggi",longPress:"Aktifkan Aksi Tekan Lama",shorts:"Aktifkan Shorts",videoPreviews:"Aktifkan Pratinjau Video",ttWelcomeMsg:"Tampilkan Pesan Selamat Datang TT",guestSignInReminder:"Tampilkan Pengingat Masuk Tamu",reloadHomeOnStartup:"Muat Ulang Beranda saat Startup"}},subtitles:{title:"Pengaturan Subtitle",options:{showLocalSubtitle:"Tampilkan Subtitle Lokal",showHiddenSubtitles:"Tampilkan Subtitle Tersembunyi"}},videoPlayer:{title:"Pengaturan Pemutar Video",subtitle:"Sesuaikan fitur pemutar video",options:{patching:{title:"Patch UI Pemutar Video",options:{enableVPUIPatching:"Aktifkan Patch UI Pemutar Video",previousNextBtns:"Aktifkan Tombol Sebelumnya dan Berikutnya",showSuperThxBtn:"Tampilkan Tombol Super Thanks",showSpeedCtrlBtn:"Tampilkan Tombol Kontrol Kecepatan"}},preferredVideoQuality:{title:"Kualitas Video Pilihan",subtitle:"Pilih kualitas video pilihan atau kualitas terbaik berikutnya yang diterapkan saat pemutaran dimulai"},speedSettings:{title:"Kenaikan Pengaturan Kecepatan",subtitle:"Atur nilai kenaikan untuk penyesuaian kecepatan pemutaran video"},preferredVideoCodec:{title:"Codec Video Pilihan",subtitle:"Pilih codec video pilihan untuk pemutaran"},afr:"Frame Rate Otomatis",afrPauseDuration:{title:"Durasi Jeda Frame Rate Otomatis",subtitle:"Atur durasi (dalam detik) untuk menjeda pemutaran video saat menyesuaikan frame rate"}}},uiSettings:{title:"Pengaturan Antarmuka",subtitle:"Sesuaikan UI sesuai keinginan Anda",options:{hideWatchedVideos:{title:"Sembunyikan Video yang Sudah Ditonton",options:{enableHideWatchedVideos:"Aktifkan Sembunyikan Video yang Sudah Ditonton",watchedVideosThreshold:{title:"Batas Video Ditonton",subtitle:"Atur batas persentase untuk menyembunyikan video yang sudah ditonton"},setPagesToHideWatchedVideos:"Atur Halaman untuk Menyembunyikan Video yang Telah Ditonton"}},screenDimming:{title:"Peredupan Layar",options:{enableScreenDimming:"Aktifkan Peredupan Layar",dimmingTimeout:{title:"Batas Waktu Peredupan",subtitle:"Atur batas waktu tidak aktif (dalam detik) sebelum layar meredup"},dimmingOpacity:{title:"Opasitas Peredupan",subtitle:"Atur tingkat opasitas untuk peredupan layar"}}},disableSidebarContents:{title:"Nonaktifkan Konten Sidebar",subtitle:"Pilih konten sidebar yang ingin dinonaktifkan"},launchToOnStartup:{title:"Halaman yang Dibuka saat Startup",subtitle:"Pilih halaman default yang dibuka TizenTube saat startup"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"Pembaruan TizenTube Cobalt",menuSubtitle:"Kelola pembaruan TizenTube Cobalt",versionSubtitle:"Versi saat ini: {{version}}",options:{checkForUpdates:"Periksa pembaruan",checkForUpdatesOnStartup:"Periksa pembaruan saat startup"}}},ttSettings:{title:"Pengaturan TizenTube",madeByText:"Dibuat oleh Reis Can (reisxd) dengan ❤️",summary:"Buka Pengaturan TizenTube"},supportTT:{title:"Dukung TizenTube",subtitle:"❤️ Tunjukkan dukungan untuk TizenTube dan pengembangannya",content:{1:"Jika Anda senang menggunakan TizenTube dan ingin mendukung pengembangannya, pertimbangkan hal berikut:",2:"1. Beri bintang pada repositori GitHub untuk membantu meningkatkan visibilitas.",3:"2. Bagikan TizenTube kepada orang lain.",4:"Jika Anda ingin berkontribusi secara finansial, pertimbangkan untuk berdonasi:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (disarankan)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Selamat Datang di TizenTube",subtitle:"Buka pengaturan lalu klik Pengaturan TizenTube untuk mengatur fitur."},sponsorblock:{segments:{sponsor:"segmen sponsor",intro:"intro",outro:"outro",interaction:"pengingat interaksi",selfpromo:"promosi diri",preview:"rekap atau pratinjau",filler:"lelucon",music_offtopic:"bagian non-musik",poi_highlight:"sorotan"},toasts:{skipping:"Melewati {{segment}}",notSkipping:"Tidak melewati {{segment}} (sudah dilewati {{count}} kali)",skip:"Lewati {{segment}}",skipToHighlight:"Lewati ke sorotan"}}}},"fi-FI":{translation:{__contributors:["Mikxus"],settings:{options:{socialMedia:{title:"Sosiaalisen median linkit",qrCodeScanMessage:"Voit vierailla sivulla {{name}} skannaamalla alla olevan QR-koodin."},adBlock:"Mainosten esto",sponsorblock:{title:"SponsorBlock-asetukset",options:{enableSB:"Ota SponsorBlock käyttöön",manualSkip:"SponsorBlock-osioiden manuaalinen ohitus",segments:"Osiot",categories:{sponsor:"Ohita sponsoriosiot",intro:"Ohita aloitusosiot",outro:"Ohita lopetusosiot",interaction:"Ohita vuorovaikutusmuistutusosiot",selfpromo:"Ohita itsemainososiot",preview:"Ohita ennakko-/kertausosiot",filler:"Ohita tangentti-/vitsiosiot",music_offtopic:"Ohita musiikin ulkopuoliset osiot",highlights:"Ota kohokohdat käyttöön"},showSBToasts:"Näytä SponsorBlock-ilmoitukset"}},dearrow:{title:"DeArrow-asetukset",options:{enableDA:"Ota DeArrow käyttöön",enableDAThumbnails:"Ota DeArrow-pikkukuvat käyttöön"}},misc:{title:"Muut asetukset",options:{endScreenCards:"Piilota loppuruudun kortit",youThereRenderer:"Ota 'Katseletko yhä?' -näkymä käyttöön",paidPromoOverlay:"Ota 'Sisältää maksettua mainontaa' -ilmoitus käyttöön",whosWatching:{title:"Kuka katsoo -valikko",options:{enableWW:"Ota Kuka katsoo -valikko käyttöön",permaEnableWW:"Ota Kuka katsoo -valikko pysyvästi käyttöön",enableWWOnExit:"Ota Kuka katsoo -valikko käyttöön sovelluksesta poistuttaessa"}},fixUI:"Korjaa käyttöliittymä",hqThumbnails:"Ota korkealaatuiset pikkukuvat käyttöön",longPress:"Ota pitkän painalluksen toiminnot käyttöön",shorts:"Ota Shorts käyttöön",videoPreviews:"Ota videon esikatselut käyttöön",ttWelcomeMsg:"Näytä TT-tervetuloviesti",guestSignInReminder:"Näytä vieraskirjautumisen muistutus",reloadHomeOnStartup:"Lataa etusivu uudelleen käynnistyksessä"}},subtitles:{title:"Tekstitysasetukset",options:{showLocalSubtitle:"Näytä paikallinen tekstitys",showHiddenSubtitles:"Näytä piilotetut tekstitykset"}},videoPlayer:{title:"Videosoittimen asetukset",subtitle:"Mukauta videosoittimen ominaisuuksia",options:{patching:{title:"Muokkaa videosoittimen käyttöliittymää",options:{enableVPUIPatching:"Ota videosoittimen käyttöliittymän muokkaus käyttöön",previousNextBtns:"Ota Edellinen- ja Seuraava-painikkeet käyttöön",showSuperThxBtn:"Näytä Super Thanks -painike",showSpeedCtrlBtn:"Näytä nopeudensäätöpainike"}},preferredVideoQuality:{title:"Ensisijainen videonlaatu",subtitle:"Valitse ensisijainen tai seuraavaksi paras videonlaatu, jota käytetään toiston alkaessa"},speedSettings:{title:"Nopeusasetusten portaat",subtitle:"Aseta videon toistonopeuden säätöaskeleet"},preferredVideoCodec:{title:"Ensisijainen videokoodekki",subtitle:"Valitse toistolle ensisijainen videokoodekki"},afr:"Automaattinen kuvataajuus",afrPauseDuration:{title:"Automaattisen kuvataajuuden tauon kesto",subtitle:"Aseta kesto (sekunteina), jonka ajaksi videon toisto keskeytetään kuvataajuutta säädettäessä"}}},uiSettings:{title:"Käyttöliittymäasetukset",subtitle:"Mukauta käyttöliittymää mieleiseksesi",options:{hideWatchedVideos:{title:"Piilota katsotut videot",options:{enableHideWatchedVideos:"Ota katsottujen videoiden piilotus käyttöön",watchedVideosThreshold:{title:"Katsottujen videoiden raja-arvo",subtitle:"Aseta prosenttiraja, jonka jälkeen katsotut videot piilotetaan"},setPagesToHideWatchedVideos:"Valitse sivut, joilla katsotut videot piilotetaan"}},screenDimming:{title:"Näytön himmennys",options:{enableScreenDimming:"Ota näytön himmennys käyttöön",dimmingTimeout:{title:"Himmennyksen aikakatkaisu",subtitle:"Aseta toimettomuuden aikakatkaisu (sekunteina), jonka jälkeen näyttö himmennetään"},dimmingOpacity:{title:"Himmennyksen peittävyys",subtitle:"Aseta näytön himmennyksen peittävyystaso"}}},disableSidebarContents:{title:"Poista sivupalkin sisältöjä käytöstä",subtitle:"Valitse sivupalkin sisällöt, jotka poistetaan käytöstä"},launchToOnStartup:{title:"Aloitussivu käynnistyksessä",subtitle:"Valitse oletussivu, johon TizenTube avautuu käynnistyksessä"}},updater:{title:"TizenTube Cobalt -päivittäjä",menuSubtitle:"Hallitse TizenTube Cobaltin päivityksiä",versionSubtitle:"Nykyinen versio: {{version}}",options:{checkForUpdates:"Tarkista päivitykset",checkForUpdatesOnStartup:"Tarkista päivitykset käynnistyksessä"}}}},ttSettings:{title:"TizenTube-asetukset",madeByText:"Tekijä Reis Can (reisxd) ❤️",summary:"Avaa TizenTube-asetukset"},supportTT:{title:"Tue TizenTubea",subtitle:"❤️ Tue TizenTubea ja sen kehitystä",content:{1:"Jos pidät TizenTuben käytöstä ja haluat tukea sen kehitystä, harkitse seuraavaa:",2:"1. Anna GitHub-repositorioon tähti, jotta sen näkyvyys kasvaa.",3:"2. Jaa TizenTubea muille.",4:"Jos haluat tukea taloudellisesti, harkitse lahjoittamista:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (mieluiten)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Tervetuloa TizenTubeen",subtitle:"Siirry asetuksiin ja avaa TizenTube-asetukset."},sponsorblock:{segments:{sponsor:"sponsoriosio",intro:"intro",outro:"outro",interaction:"vuorovaikutusmuistutus",selfpromo:"itsemainonta",preview:"kertaus tai ennakko",filler:"tangentit",music_offtopic:"ei-musiikkiosio",poi_highlight:"kohokohta"},toasts:{skipping:"Ohitetaan {{segment}}",notSkipping:"Ei ohiteta: {{segment}} (ohitettu {{count}} kertaa)",skip:"Ohita {{segment}}",skipToHighlight:"Ohita kohokohtaan"}}}},fr:{translation:{__contributors:["Redje"],settings:{options:{socialMedia:{title:"Liens réseaux sociaux",qrCodeScanMessage:"Vous pouvez visiter la page {{name}} en scannant le QR code ci-dessous."},adBlock:"Ad Block",sponsorblock:{title:"Paramètres SponsorBlock",options:{enableSB:"Activer SponsorBlock",manualSkip:"Sauts manuels de segments SponsorBlock",segments:"Segments",categories:{sponsor:"Saut des segments sponsorisés",intro:"Saut des segments d'intro",outro:"Saut des segments d'outro",interaction:"Saut des segments de rappel d'interaction",selfpromo:"Saut des segments d'auto-promotion",preview:"Saut des segments de prévisualisation/récapitulatifs",filler:"Sauts des segments humoristiques/sans rapports avec le sujet",music_offtopic:"Sauts des segments de musique sans rapports",highlights:"Autoriser l'affichage des moments forts"},showSBToasts:"Montrer le Toast SponsorBlock"}},dearrow:{title:"Paramètres DeArrow",options:{enableDA:"Activer DeArrow",enableDAThumbnails:"Activer les miniatures DeArrow"}},misc:{title:"Paramètres divers",options:{endScreenCards:"Cacher les encarts de fin",youThereRenderer:"Autoriser l'affichage des encarts 'Continuer à regarder ?'",paidPromoOverlay:"Autoriser l'affichage du message 'Communication commerciale'",whosWatching:{title:"Menu 'Qui regarde ?'",options:{enableWW:"Activer le menu 'Qui regarde ?'",permaEnableWW:"Activer le menu 'Qui regarde ?' de manière permanente",enableWWOnExit:"Activer le menu 'Qui regarde ?' après l'arrêt de l'application"}},fixUI:"Correction de l'UI",hqThumbnails:"Activer les miniatures haute qualitée",longPress:"Activer les actions 'pression longues'",shorts:"Activer les Shorts",videoPreviews:"Activer la prévisualisation de vidéos",ttWelcomeMsg:"Montrer le message d'acceuil TT",guestSignInReminder:"Montrer l'alerte de connexion anonyme",reloadHomeOnStartup:"Recharger la page d'acceuil au démarrage"}},subtitles:{title:"Paramètres de sous-titres",options:{showLocalSubtitle:"Montrer les sous-titres locaux",showHiddenSubtitles:"Montrer les sous-titres cachés"}},videoPlayer:{title:"Paramètres du lecteur vidéo",subtitle:"Customiser les fonctions du lecteur vidéo",options:{patching:{title:"Correction de l'UI du lecteur vidéo",options:{enableVPUIPatching:"Activer la correction de l'UI du lecteur vidéo",previousNextBtns:"Activer les boutons Précédents et Suivants",showSuperThxBtn:"Montrer le bouton 'Super Thanks'",showSpeedCtrlBtn:"Montrer les boutons de contrôle de la vitesse de lecture"}},preferredVideoQuality:{title:"Qualité vidéo préférée",subtitle:"Imposer une qualité de vidéo ou la qualité la plus proche au moment où la vidéo commence"},speedSettings:{title:"Paramètres d'incréments de la vitesse",subtitle:"Paramètrer les incréments d'ajustement de la vitesse de lecture de la vidéo"},preferredVideoCodec:{title:"Paramètres de Codec",subtitle:"Paramètrer le codec vidéo"},afr:"Fréquence de trame automatique",afrPauseDuration:{title:"Temps de pause de la fréquence de trame automatique",subtitle:"Définir le temps de pause (en secondes) pendant l'ajustement de la fréquence de trame"}}},uiSettings:{title:"Paramètres de l'interface utilisateur",subtitle:"Customisez l'interface utilisateur selon vos préférences",options:{hideWatchedVideos:{title:"Cacher les vidéos regardées",options:{enableHideWatchedVideos:"Activer 'Cacher les vidéos regardées'",watchedVideosThreshold:{title:"Niveau de vidéos regardées",subtitle:"Paramétrer la limite pour cacher les vidéos regardées"},setPagesToHideWatchedVideos:"Paraméter les pages pour cacher les vidéos regardées"}},screenDimming:{title:"Assombrissement de l'écran",options:{enableScreenDimming:"Activer l'assombrissement de l'écran",dimmingTimeout:{title:"Temporisation de l'assombrissement",subtitle:"Paramétrer le temps (en secondes) avant que l'écran s'assombrisse"},dimmingOpacity:{title:"Opacité d'assombrissement",subtitle:"Paraméterer le niveau d'opacité de l'assombrissement"}}},disableSidebarContents:{title:"Désactiver le contenu sur le côté",subtitle:"Sélectioner le contenu de la barre à désactiver"},launchToOnStartup:{title:"Ouvrir la page au démarrage",subtitle:"Choisir la page sur laquelle TizenTube démarrera"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"Mise à jour de Tizentube Cobalt",menuSubtitle:"Gérer les mises à jour TizenTube Cobalt",versionSubtitle:"Version actuelle: {{version}}",options:{checkForUpdates:"Vérifier les mises à jours",checkForUpdatesOnStartup:"Vérifier les mises à jours au démarrage"}}},ttSettings:{title:"Paramètres Tizentube",madeByText:"Fait par Reis Can (reisxd) avec ❤️",summary:"Ouvrir les paramètres Tizentube"},supportTT:{title:"Soutenir TizenTube",subtitle:"❤️ Soutenir TizenTube et son développement",content:{1:"Si vous appréciez TizenTube et que vous aimeriez soutenir son développement, vous pouvez:",2:"1. Ajouter une étoile au dépot Github améliore sa visibilité.",3:"2. Partager TizenTube.",4:"IS vous voulez contribuer financièrement:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (de préférences)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Bienvenue sur TizenTube",subtitle:"Ouvrez les paramètres et séléctionnez les Paramètres TizenTube pour accéder aux paramètres."},sponsorblock:{segments:{sponsor:"segment sponsorisé",intro:"intro",outro:"outro",interaction:"rappel d'intéraction",selfpromo:"auto-promotion",preview:"récapitulatif ou revue",filler:"pas de rapports avec le sujet",music_offtopic:"partie sans musique",poi_highlight:"moment fort"},toasts:{skipping:"Passage du segment {{segment}}",notSkipping:"Ne passera pas le segment {{segment}} (déjà passé {{count}} fois)",skip:"Passer {{segment}}",skipToHighlight:"Passage vers le moment fort"}}}},ro:{translation:{__contributors:["reisxd","palincat","Vuzzy"],settings:{options:{socialMedia:{title:"Link-uri pentru rețelele de socializare",qrCodeScanMessage:"Poți vizita pagina {{name}} scanând codul QR de mai jos."},adBlock:"AdBlock",sponsorblock:{title:"Setări SponsorBlock",options:{enableSB:"Activează SponsorBlock",manualSkip:"Omitere manuală a segmentelor SponsorBlock",segments:"Segmente ale videoclipurilor",categories:{sponsor:"Sari peste segmentele sponsorizate",intro:"Sari peste segmentele de introducere",outro:"Sari peste segmentele de final",interaction:"Sari peste segmentele cu reamintiri de interacțiune",selfpromo:"Sari peste segmentele de auto-promovare",preview:"Sari peste segmentele de previzualizare",filler:"Sari peste segmentele cu digresiuni/glume",music_offtopic:"Sari peste segmentele muzicale irelevante",highlights:"Activează evidențieri/marcaje importante"},showSBToasts:"Afișează notificări SponsorBlock"}},dearrow:{title:"Setări DeArrow",options:{enableDA:"Activează DeArrow",enableDAThumbnails:"Activează previzualizări DeArrow"}},misc:{title:"Setări diverse",options:{endScreenCards:"Ascunde cardurile de la final",youThereRenderer:"Activează mesajul 'Încă te uiți?'",paidPromoOverlay:"Activează suprapunerea 'Include promovare plătită' ",whosWatching:{title:"Meniul 'Cine se uită'",options:{enableWW:"Activează meniul 'Cine se uită?'",permaEnableWW:"Activează permanent meniul 'Cine se uită?'",enableWWOnExit:"Activează meniul 'Cine se uită?' la ieșirea din aplicație"}},fixUI:"Remediază/Corectează interfața",hqThumbnails:"Activează miniaturile de înaltă calitate",longPress:"Activează acțiunile la apăsare lungă",shorts:"Activează Shorts",videoPreviews:"Activează previzualizările video",ttWelcomeMsg:"Afișează mesajul de bun venit TizenTube",guestSignInReminder:"Afișează reamintirea de conectare ca oaspete",reloadHomeOnStartup:"Reîncarcă pagina principală la pornire"}},subtitles:{title:"Setări subtitrări",options:{showLocalSubtitle:"Afișează subtitrarea locală",showHiddenSubtitles:"Afișează subtitrările ascunse"}},videoPlayer:{title:"Setări player video",subtitle:"Personalizează funcțiile player-ului video",options:{patching:{title:"Corectează interfața player-ului video",options:{enableVPUIPatching:"Activează corectarea interfeței player-ului video",previousNextBtns:"Activează butoanele Anterior și Următor",showSuperThxBtn:"Afișează butonul Super Thanks",showSpeedCtrlBtn:"Afișează butonul de control al vitezei"}},preferredVideoQuality:{title:"Calitatea video preferată",subtitle:"Alege calitatea video preferată sau următoarea cea mai bună care se aplică la începutul redării"},speedSettings:{title:"Treptele setărilor de viteză",subtitle:"Setează treptele de viteză pentru ajustarea vitezei de redare"},preferredVideoCodec:{title:"Codec video preferat",subtitle:"Alege codec-ul video preferat pentru redare"},afr:"Auto Frame Rate",afrPauseDuration:{title:"Durata pauzei pentru rata de cadre automată",subtitle:"Setează durata (în secunde) pentru pauza redării video la ajustarea ratei de cadre"}}},uiSettings:{title:"Setări interfață",subtitle:"Personalizează interfața după preferințe",options:{hideWatchedVideos:{title:"Ascunde videoclipurile vizionate",options:{enableHideWatchedVideos:"Activează ascunderea videoclipurilor vizionate",watchedVideosThreshold:{title:"Pragul videoclipurilor vizionate",subtitle:"Setează pragul procentual pentru ascunderea videoclipurilor vizionate"},setPagesToHideWatchedVideos:"Setează paginile pe care să se ascundă videoclipurile vizionate"}},screenDimming:{title:"Întunecarea ecranului",options:{enableScreenDimming:"Activează întunecarea ecranului",dimmingTimeout:{title:"Timp de așteptare pentru întunecare",subtitle:"Setează timpul de inactivitate (în secunde) înainte ca ecranul să se întunece"},dimmingOpacity:{title:"Opacitate pentru nivelul de întunecare",subtitle:"Setează nivelul de opacitate pentru întunecarea ecranului"}}},disableSidebarContents:{title:"Dezactivează conținutul barei laterale",subtitle:"Selectează conținutul barei laterale de dezactivat"},launchToOnStartup:{title:"Deschidere la pornire",subtitle:"Alege pagina implicită pe care TizenTube o deschide la pornire"},sortSubscriptionsByAlphabet:"Sortează abonamentele în ordine alfabetică"}},updater:{title:"Actualizator TizenTube Cobalt",menuSubtitle:"Gestionează actualizările TizenTube Cobalt",versionSubtitle:"Versiunea actuală: {{version}}",options:{checkForUpdates:"Verifică dacă există actualizări noi",checkForUpdatesOnStartup:"Verifică dacă există actualizări noi la pornire"}}},ttSettings:{title:"Setări TizenTube",madeByText:"Creat de Reis Can (reisxd), traducători: Alin (palincat), Vuzzy cu ❤️",summary:"Deschide setările TizenTube"},supportTT:{title:"Susține TizenTube",subtitle:"❤️ Arată-ți sprijinul pentru TizenTube și dezvoltarea sa",content:{1:"Dacă îți place să folosești TizenTube și vrei să sprijini dezvoltarea sa, ia în considerare următoarele:",2:"1. Oferă un star repository-ului de pe GitHub pentru a-i crește vizibilitatea.",3:"2. Distribuie TizenTube altora.",4:"Dacă dorești să contribui financiar, ia în considerare donațiile:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preferabil)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Bine ai venit la TizenTube",subtitle:"Mergi la setări și dă click pe Setările TizenTube pentru opțiuni."},sponsorblock:{segments:{sponsor:"Segment sponsorizat",intro:"Introducere",outro:"Final",interaction:"Reamintire de interacțiune",selfpromo:"Auto-promovare",preview:"Rezumat sau previzualizare",filler:"Umplutură",music_offtopic:"Secțiune non-muzicală",poi_highlight:"Moment de interes"},toasts:{skipping:"Se omite {{segment}}",notSkipping:"Nu se omite {{segment}} (a fost omis de {{count}} ori)",skip:"Omite {{segment}}",skipToHighlight:"Sari la momentul de interes"}}}},bs:{translation:{__contributors:["lukapiplica"],settings:{options:{socialMedia:{title:"Linkovi društvenih mreža",qrCodeScanMessage:"Možete posjetiti {{name}} stranicu skeniranjem QR koda ispod."},adBlock:"Blokator reklama",sponsorblock:{title:"SponsorBlock postavke",options:{enableSB:"Omogući SponsorBlock",manualSkip:"Ručno preskakanje SponsorBlock segmenta",segments:"Segmenti",categories:{sponsor:"Preskoči sponzorske segmente",intro:"Preskoči uvodne segmente (Intro)",outro:"Preskoči završne segmente (Outro)",interaction:"Preskoči podsjetnike za interakciju",selfpromo:"Preskoči segmente samopromocije",preview:"Preskoči najave/sažetke",filler:"Preskoči skretanja sa teme/šale",music_offtopic:"Preskoči vanmuzičke dijelove",highlights:"Omogući istaknute dijelove (Highlights)"},showSBToasts:"Prikaži SponsorBlock obavijesti"}},dearrow:{title:"DeArrow postavke",options:{enableDA:"Omogući DeArrow",enableDAThumbnails:"Omogući DeArrow sličice (thumbnails)"}},misc:{title:"Razne postavke",options:{endScreenCards:"Sakrij završne kartice na ekranu",youThereRenderer:"Omogući 'Jeste li još uvijek tu?' prozor",paidPromoOverlay:"Omogući 'Uključuje plaćenu promociju' sloj",whosWatching:{title:"Meni 'Ko gleda?'",options:{enableWW:"Omogući 'Ko gleda?' meni",permaEnableWW:"Trajno omogući 'Ko gleda?' meni",enableWWOnExit:"Prikaži 'Ko gleda?' meni pri izlasku"}},fixUI:"Popravi korisnički interfejs (UI)",hqThumbnails:"Omogući sličice visokog kvaliteta",longPress:"Omogući radnje na dugi pritisak",shorts:"Omogući Shorts videe",videoPreviews:"Omogući pregled videa",ttWelcomeMsg:"Prikaži TT poruku dobrodošlice",guestSignInReminder:"Prikaži podsjetnik za prijavu gosta",reloadHomeOnStartup:"Osvježi početnu stranicu pri pokretanju"}},subtitles:{title:"Postavke titlova",options:{showLocalSubtitle:"Prikaži lokalne titlove",showHiddenSubtitles:"Prikaži skrivene titlove"}},videoPlayer:{title:"Postavke video plejera",subtitle:"Prilagodite funkcije video plejera",options:{patching:{title:"Zakrpe za interfejs plejera",options:{enableVPUIPatching:"Omogući zakrpe za UI plejera",previousNextBtns:"Omogući tipke Prethodno i Sljedeće",showSuperThxBtn:"Prikaži tipku 'Super Thanks'",showSpeedCtrlBtn:"Prikaži kontrole brzine"}},preferredVideoQuality:{title:"Željeni kvalitet videa",subtitle:"Odaberite željeni ili sljedeći najbolji kvalitet pri pokretanju videa"},speedSettings:{title:"Koraci povećanja brzine",subtitle:"Podesite korake za prilagođavanje brzine reprodukcije"},preferredVideoCodec:{title:"Željeni video kodek",subtitle:"Odaberite željeni video kodek za reprodukciju"},afr:"Automatsko osvježavanje (AFR)",afrPauseDuration:{title:"Trajanje pauze za AFR",subtitle:"Postavite trajanje pauze (u sekundama) pri prilagođavanju brzine osvježavanja"}}},uiSettings:{title:"Postavke korisničkog interfejsa",subtitle:"Prilagodite izgled aplikacije po svojoj želji",options:{hideWatchedVideos:{title:"Sakrij pogledane videe",options:{enableHideWatchedVideos:"Omogući skrivanje pogledanih videa",watchedVideosThreshold:{title:"Prag pogledanog videa",subtitle:"Postavite procenat nakon kojeg se video smatra pogledanim"},setPagesToHideWatchedVideos:"Postavi stranice za skrivanje pogledanih videa"}},screenDimming:{title:"Zatamnjenje ekrana",options:{enableScreenDimming:"Omogući zatamnjenje ekrana",dimmingTimeout:{title:"Vrijeme do zatamnjenja",subtitle:"Postavite vrijeme neaktivnosti (u sekundama) prije zatamnjenja ekrana"},dimmingOpacity:{title:"Nivo zatamnjenja",subtitle:"Postavite nivo prozirnosti za zatamnjenje ekrana"}}},disableSidebarContents:{title:"Onemogući sadržaj bočne trake",subtitle:"Odaberite sadržaje bočne trake koje želite isključiti"},launchToOnStartup:{title:"Početna stranica pri pokretanju",subtitle:"Odaberite zadanu stranicu koja se otvara pri pokretanju TizenTube-a"},sortSubscriptionsByAlphabet:"Sortiraj pretplate abecedno"}},updater:{title:"TizenTube Cobalt ažuriranje",menuSubtitle:"Upravljajte TizenTube Cobalt ažuriranjima",versionSubtitle:"Trenutna verzija: {{version}}",options:{checkForUpdates:"Provjeri ažuriranja",checkForUpdatesOnStartup:"Provjeri ažuriranja pri pokretanju"}}},ttSettings:{title:"TizenTube postavke",madeByText:"Autor: Reis Can (reisxd) sa ❤️",summary:"Otvori TizenTube postavke"},supportTT:{title:"Podrži TizenTube",subtitle:"❤️ Podržite razvoj TizenTube projekta",content:{1:"Ako uživate u korištenju TizenTube-a i želite podržati njegov razvoj, razmislite o sljedećem:",2:"1. Označite repozitorij zvjezdicom (Star) na GitHubu radi bolje vidljivosti.",3:"2. Podijelite TizenTube sa drugima.",4:"Ako želite pomoći finansijski, razmislite o donaciji:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preporučeno)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Dobrodošli u TizenTube",subtitle:"Idite u postavke i kliknite na 'TizenTube postavke' za konfiguraciju."},sponsorblock:{segments:{sponsor:"sponzorski segment",intro:"uvod (intro)",outro:"završetak (outro)",interaction:"podsjetnik za interakciju",selfpromo:"samopromocija",preview:"najava ili sažetak",filler:"skretanje sa teme",music_offtopic:"nemuzički dio",poi_highlight:"istaknuto"},toasts:{skipping:"Preskačem {{segment}}",notSkipping:"Ne preskačem {{segment}} (preskočeno {{count}} puta)",skip:"Preskoči {{segment}}",skipToHighlight:"Preskoči na istaknuti dio"}}}},hr:{translation:{__contributors:["lukapiplica"],settings:{options:{socialMedia:{title:"Poveznice na društvene mreže",qrCodeScanMessage:"Stranicu {{name}} možete posjetiti skeniranjem QR koda ispod."},adBlock:"Blokator oglasa",sponsorblock:{title:"SponsorBlock postavke",options:{enableSB:"Omogući SponsorBlock",manualSkip:"Ručno preskakanje SponsorBlock segmenta",segments:"Segmenti",categories:{sponsor:"Preskoči sponzorske segmente",intro:"Preskoči uvodne segmente",outro:"Preskoči završne segmente",interaction:"Preskoči podsjetnike za interakciju",selfpromo:"Preskoči segmente samopromocije",preview:"Preskoči najave/sažetke",filler:"Preskoči skretanja s teme/šale",music_offtopic:"Preskoči dijelove koji nisu glazba",highlights:"Omogući istaknute dijelove"},showSBToasts:"Prikaži SponsorBlock skočne obavijesti"}},dearrow:{title:"DeArrow postavke",options:{enableDA:"Omogući DeArrow",enableDAThumbnails:"Omogući DeArrow sličice"}},misc:{title:"Razne postavke",options:{endScreenCards:"Sakrij završne kartice na zaslonu",youThereRenderer:"Omogući prozor 'Jeste li još uvijek tamo?'",paidPromoOverlay:"Omogući sloj 'Uključuje plaćenu promociju'",whosWatching:{title:"Izbornik 'Tko gleda?'",options:{enableWW:"Omogući izbornik 'Tko gleda?'",permaEnableWW:"Trajno omogući izbornik 'Tko gleda?'",enableWWOnExit:"Prikaži izbornik 'Tko gleda?' pri izlasku"}},fixUI:"Popravi korisničko sučelje (UI)",hqThumbnails:"Omogući sličice visoke kvalitete",longPress:"Omogući radnje na dugi pritisak",shorts:"Omogući Shorts videozapise",videoPreviews:"Omogući pregled videozapisa",ttWelcomeMsg:"Prikaži TT poruku dobrodošlice",guestSignInReminder:"Prikaži podsjetnik za prijavu gosta",reloadHomeOnStartup:"Osvježi početnu stranicu pri pokretanju"}},subtitles:{title:"Postavke titlova",options:{showLocalSubtitle:"Prikaži lokalne titlove",showHiddenSubtitles:"Prikaži skrivene titlove"}},videoPlayer:{title:"Postavke video playera",subtitle:"Prilagodite značajke video playera",options:{patching:{title:"Zakrpe za sučelje playera",options:{enableVPUIPatching:"Omogući zakrpe za UI playera",previousNextBtns:"Omogući tipke Prethodno i Sljedeće",showSuperThxBtn:"Prikaži tipku 'Super hvala'",showSpeedCtrlBtn:"Prikaži kontrole brzine"}},preferredVideoQuality:{title:"Željena kvaliteta videozapisa",subtitle:"Odaberite željenu ili sljedeću najbolju kvalitetu pri pokretanju"},speedSettings:{title:"Koraci promjene brzine",subtitle:"Postavite korake za prilagodbu brzine reprodukcije"},preferredVideoCodec:{title:"Željeni video kodek",subtitle:"Odaberite željeni video kodek za reprodukciju"},afr:"Automatska frekvencija osvježavanja (AFR)",afrPauseDuration:{title:"Trajanje pauze za AFR",subtitle:"Postavite trajanje pauze (u sekundama) pri prilagodbi frekvencije osvježavanja"}}},uiSettings:{title:"Postavke korisničkog sučelja",subtitle:"Prilagodite sučelje svojim željama",options:{hideWatchedVideos:{title:"Sakrij pogledane videozapise",options:{enableHideWatchedVideos:"Omogući skrivanje pogledanih videozapisa",watchedVideosThreshold:{title:"Prag pogledanog sadržaja",subtitle:"Postavite postotak nakon kojeg se videozapis smatra pogledanim"},setPagesToHideWatchedVideos:"Postavi stranice za skrivanje pogledanih videozapisa"}},screenDimming:{title:"Zatamnjenje zaslona",options:{enableScreenDimming:"Omogući zatamnjenje zaslona",dimmingTimeout:{title:"Vrijeme do zatamnjenja",subtitle:"Postavite vrijeme neaktivnosti (u sekundama) prije zatamnjenja zaslona"},dimmingOpacity:{title:"Razina zatamnjenja",subtitle:"Postavite razinu prozirnosti za zatamnjenje zaslona"}}},disableSidebarContents:{title:"Onemogući sadržaj bočne trake",subtitle:"Odaberite sadržaje bočne trake koje želite isključiti"},launchToOnStartup:{title:"Početna stranica pri pokretanju",subtitle:"Odaberite zadanu stranicu koja se otvara pri pokretanju TizenTubea"},sortSubscriptionsByAlphabet:"Poredaj pretplate abecedno"}},updater:{title:"TizenTube Cobalt ažuriranje",menuSubtitle:"Upravljajte TizenTube Cobalt ažuriranjima",versionSubtitle:"Trenutačna verzija: {{version}}",options:{checkForUpdates:"Provjeri ažuriranja",checkForUpdatesOnStartup:"Provjeri ažuriranja pri pokretanju"}}},ttSettings:{title:"TizenTube postavke",madeByText:"Izradio: Reis Can (reisxd) uz ❤️",summary:"Otvori TizenTube postavke"},supportTT:{title:"Podrži TizenTube",subtitle:"❤️ Podržite razvoj TizenTubea",content:{1:"Ako uživate u korištenju TizenTubea i želite podržati njegov razvoj, razmislite o sljedećem:",2:"1. Označite repozitorij zvjezdicom (Star) na GitHubu radi bolje vidljivosti.",3:"2. Podijelite TizenTube s drugima.",4:"Ako želite pridonijeti financijski, razmislite o donaciji:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preporučeno)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Dobrodošli u TizenTube",subtitle:"Idite u postavke i kliknite na 'TizenTube postavke' za konfiguraciju."},sponsorblock:{segments:{sponsor:"sponzorski segment",intro:"uvod",outro:"odjava",interaction:"podsjetnik za interakciju",selfpromo:"samopromocija",preview:"sažetak ili najava",filler:"skretanje s teme",music_offtopic:"nemuzički dio",poi_highlight:"istaknuto"},toasts:{skipping:"Preskačem {{segment}}",notSkipping:"Ne preskačem {{segment}} (preskočeno {{count}} puta)",skip:"Preskoči {{segment}}",skipToHighlight:"Preskoči na istaknuti dio"}}}},"sr-Latn":{translation:{__contributors:["lukapiplica"],settings:{options:{socialMedia:{title:"Linkovi društvenih mreža",qrCodeScanMessage:"Možete posetiti {{name}} stranicu skeniranjem QR koda ispod."},adBlock:"Blokator reklama",sponsorblock:{title:"SponsorBlock podešavanja",options:{enableSB:"Omogući SponsorBlock",manualSkip:"Ručno preskakanje SponsorBlock segmenta",segments:"Segmenti",categories:{sponsor:"Preskoči sponzorske segmente",intro:"Preskoči uvodne segmente",outro:"Preskoči odjavne segmente",interaction:"Preskoči podsetnike za interakciju",selfpromo:"Preskoči segmente samopromocije",preview:"Preskoči najave/sažetke",filler:"Preskoči skretanja sa teme/šale",music_offtopic:"Preskoči vanmuzičke delove",highlights:"Omogući istaknute delove"},showSBToasts:"Prikaži SponsorBlock obaveštenja"}},dearrow:{title:"DeArrow podešavanja",options:{enableDA:"Omogući DeArrow",enableDAThumbnails:"Omogući DeArrow sličice"}},misc:{title:"Razna podešavanja",options:{endScreenCards:"Sakrij završne kartice na ekranu",youThereRenderer:"Omogući prozor 'Da li ste još uvek tu?'",paidPromoOverlay:"Omogući sloj 'Uključuje plaćenu promociju'",whosWatching:{title:"Meni 'Ko gleda?'",options:{enableWW:"Omogući 'Ko gleda?' meni",permaEnableWW:"Trajno omogući 'Ko gleda?' meni",enableWWOnExit:"Prikaži 'Ko gleda?' meni pri izlasku"}},fixUI:"Popravi korisnički interfejs (UI)",hqThumbnails:"Omogući sličice visokog kvaliteta",longPress:"Omogući radnje na dugi pritisak",shorts:"Omogući Shorts video snimke",videoPreviews:"Omogući pregled video snimaka",ttWelcomeMsg:"Prikaži TT poruku dobrodošlice",guestSignInReminder:"Prikaži podsetnik za prijavu gosta",reloadHomeOnStartup:"Osveži početnu stranicu pri pokretanju"}},subtitles:{title:"Podešavanja titlova",options:{showLocalSubtitle:"Prikaži lokalne titlove",showHiddenSubtitles:"Prikaži skrivene titlove"}},videoPlayer:{title:"Podešavanja video plejera",subtitle:"Prilagodite funkcije video plejera",options:{patching:{title:"Zakrpe za interfejs plejera",options:{enableVPUIPatching:"Omogući zakrpe za UI plejera",previousNextBtns:"Omogući dugmad Prethodno i Sledeće",showSuperThxBtn:"Prikaži dugme 'Super Thanks'",showSpeedCtrlBtn:"Prikaži kontrole brzine"}},preferredVideoQuality:{title:"Željeni kvalitet video snimka",subtitle:"Izaberite željeni ili sledeći najbolji kvalitet pri pokretanju snimka"},speedSettings:{title:"Koraci povećanja brzine",subtitle:"Podesite korake za prilagođavanje brzine reprodukcije"},preferredVideoCodec:{title:"Željeni video kodek",subtitle:"Izaberite željeni video kodek za reprodukciju"},afr:"Automatsko osvežavanje (AFR)",afrPauseDuration:{title:"Trajanje pauze za AFR",subtitle:"Postavite trajanje pauze (u sekundama) pri prilagođavanju brzine osvežavanja"}}},uiSettings:{title:"Podešavanja korisničkog interfejsa",subtitle:"Prilagodite interfejs svojim željama",options:{hideWatchedVideos:{title:"Sakrij odgledane video snimke",options:{enableHideWatchedVideos:"Omogući skrivanje odgledanih video snimaka",watchedVideosThreshold:{title:"Prag odgledanog snimka",subtitle:"Postavite procenat nakon kojeg se video smatra odgledanim"},setPagesToHideWatchedVideos:"Postavi stranice za skrivanje odgledanih video snimaka"}},screenDimming:{title:"Zatamnjivanje ekrana",options:{enableScreenDimming:"Omogući zatamnjivanje ekrana",dimmingTimeout:{title:"Vreme do zatamnjivanja",subtitle:"Postavite vreme neaktivnosti (u sekundama) pre zatamnjivanja ekrana"},dimmingOpacity:{title:"Nivo zatamnjenja",subtitle:"Postavite nivo prozirnosti za zatamnjivanje ekrana"}}},disableSidebarContents:{title:"Onemogući sadržaj bočne trake",subtitle:"Izaberite sadržaje bočne trake koje želite da isključite"},launchToOnStartup:{title:"Početna stranica pri pokretanju",subtitle:"Izaberite podrazumevanu stranicu koja se otvara pri pokretanju TizenTube-a"},sortSubscriptionsByAlphabet:"Sortiraj pretplate po azbuci"}},updater:{title:"TizenTube Cobalt ažuriranje",menuSubtitle:"Upravljajte TizenTube Cobalt ažuriranjima",versionSubtitle:"Trenutna verzija: {{version}}",options:{checkForUpdates:"Proveri ažuriranja",checkForUpdatesOnStartup:"Proveri ažuriranja pri pokretanju"}}},ttSettings:{title:"TizenTube podešavanja",madeByText:"Autor: Reis Can (reisxd) uz ❤️",summary:"Otvori TizenTube podešavanja"},supportTT:{title:"Podrži TizenTube",subtitle:"❤️ Podržite razvoj TizenTube projekta",content:{1:"Ako uživate u korišćenju TizenTube-a i želite da podržite njegov razvoj, razmotrite sledeće:",2:"1. Označite repozitorijum zvezdicom (Star) na GitHub-u radi bolje vidljivosti.",3:"2. Podelite TizenTube sa drugima.",4:"Ako želite da pomognete finansijski, razmotrite donaciju:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preporučeno)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Dobrodošli u TizenTube",subtitle:"Idite u podešavanja i kliknite na 'TizenTube podešavanja' za konfiguraciju."},sponsorblock:{segments:{sponsor:"sponzorski segment",intro:"uvod (intro)",outro:"odjava (outro)",interaction:"podsetnik za interakciju",selfpromo:"samopromocija",preview:"najava ili sažetak",filler:"skretanje sa teme",music_offtopic:"nemuzički deo",poi_highlight:"istaknuto"},toasts:{skipping:"Preskačem {{segment}}",notSkipping:"Ne preskačem {{segment}} (preskočeno {{count}} puta)",skip:"Preskoči {{segment}}",skipToHighlight:"Preskoči na istaknuti deo"}}}},sr:{translation:{__contributors:["lukapiplica"],settings:{options:{socialMedia:{title:"Линкови друштвених мрежа",qrCodeScanMessage:"Можете посетити {{name}} страницу скенирањем QР кода испод."},adBlock:"Блокатор реклама",sponsorblock:{title:"СпонсорБлоцк подешавања",options:{enableSB:"Омогући СпонсорБлоцк",manualSkip:"Ручно прескакање СпонсорБлоцк сегмента",segments:"Сегменти",categories:{sponsor:"Прескочи спонзорске сегменте",intro:"Прескочи уводне сегменте",outro:"Прескочи одјавне сегменте",interaction:"Прескочи подсетнике за интеракцију",selfpromo:"Прескочи сегменте самопромоције",preview:"Прескочи најаве/сажатке",filler:"Прескочи скретања са теме/шале",music_offtopic:"Прескочи ванмузичке делове",highlights:"Омогући истакнуте делове"},showSBToasts:"Прикажи СпонсорБлоцк обавештења"}},dearrow:{title:"ДеАрроw подешавања",options:{enableDA:"Омогући ДеАрроw",enableDAThumbnails:"Омогући ДеАрроw сличице"}},misc:{title:"Разна подешавања",options:{endScreenCards:"Сакриј завршне картице на екрану",youThereRenderer:"Омогући прозор 'Да ли сте још увек ту?'",paidPromoOverlay:"Омогуći sloj 'Укључује плаћену промоцију'",whosWatching:{title:"Мени 'Ко гледа?'",options:{enableWW:"Омогући 'Ко гледа?' мени",permaEnableWW:"Трајно омогући 'Ко гледа?' мени",enableWWOnExit:"Прикажи 'Ко гледа?' мени при изласку"}},fixUI:"Поправи кориснички интерфејс (UI)",hqThumbnails:"Омогући сличице високог квалитета",longPress:"Омогући радње на дуги притисак",shorts:"Омогући Схортс видео снимке",videoPreviews:"Омогући преглед видео снимака",ttWelcomeMsg:"Прикажи ТТ поруку добродошлице",guestSignInReminder:"Прикажи подсетник за пријаву госта",reloadHomeOnStartup:"Освежи почетну страницу при покретању"}},subtitles:{title:"Подешавања титлова",options:{showLocalSubtitle:"Прикажи локалне титлове",showHiddenSubtitles:"Прикажи скривене титлове"}},videoPlayer:{title:"Подешавања видео плејера",subtitle:"Прилагодите функције видео плејера",options:{patching:{title:"Закрпе за интерфејс плејера",options:{enableVPUIPatching:"Омогући закрпе за УИ плејера",previousNextBtns:"Омогући дугмад Претходно и Следеће",showSuperThxBtn:"Прикажи дугме 'Super Thanks'",showSpeedCtrlBtn:"Прикажи контроле брзине"}},preferredVideoQuality:{title:"Жељени квалитет видео снимка",subtitle:"Изаберите жељени или следећи најбољи квалитет при покретању снимка"},speedSettings:{title:"Кораци повећања брзине",subtitle:"Подесите кораке за прилагођавање брзине репродукције"},preferredVideoCodec:{title:"Жељени видео кодек",subtitle:"Изаберите жељени видео кодек за репродукцију"},afr:"Аутоматско освежавање (AFR)",afrPauseDuration:{title:"Трајање паузе за AFR",subtitle:"Поставите трајање паузе (у секундама) при прилагођавању брзине освежавања"}}},uiSettings:{title:"Подешавања корисничког интерфејса",subtitle:"Прилагодите интерфеjs својим жељама",options:{hideWatchedVideos:{title:"Сакриј одгледане видео снимке",options:{enableHideWatchedVideos:"Омогући скривање одгледаних видео снимака",watchedVideosThreshold:{title:"Праг одгледаног снимка",subtitle:"Поставите проценат након којег се видео сматра одгледаним"},setPagesToHideWatchedVideos:"Постави странице за скривање одгледаних видео снимака"}},screenDimming:{title:"Затамњивање екрана",options:{enableScreenDimming:"Омогући затамњивање екрана",dimmingTimeout:{title:"Време до затамњивања",subtitle:"Поставите време неактивности (у секундама) пре затамњивања екрана"},dimmingOpacity:{title:"Ниво затамњења",subtitle:"Поставите ниво прозирности за затамњивање екрана"}}},disableSidebarContents:{title:"Онемогући садржај бочне траке",subtitle:"Изаберите садржаје бочне траке које желите да искључите"},launchToOnStartup:{title:"Почетна страница при покретању",subtitle:"Изаберите подразумевану страницу која се отвара при покретању ТизенТубе-а"},sortSubscriptionsByAlphabet:"Сортирај претплате по азбуци"}},updater:{title:"ТизенТубе Цобалт ажурирање",menuSubtitle:"Управљајте ТизенТубе Цобалт ажурирањима",versionSubtitle:"Тренутна верзија: {{version}}",options:{checkForUpdates:"Провери ажурирања",checkForUpdatesOnStartup:"Провери ажурирања при покретању"}}},ttSettings:{title:"ТизенТубе подешавања",madeByText:"Аутор: Реис Цан (reisxd) уз ❤️",summary:"Отвори ТизенТубе подешавања"},supportTT:{title:"Подржи ТизенТубе",subtitle:"❤️ Подржите развој ТизенТубе пројекта",content:{1:"Ако уживате у коришћењу ТизенТубе-а и желите да подржите његов развој, размотрите следеће:",2:"1. Означите репозиторијум звездицом (Стар) на ГитХуб-у ради боље видљивости.",3:"2. Поделите ТизенТубе са другима.",4:"Ако желите да помогнете финансијски, размотрите донацију:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (препоручено)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Добродошли у ТизенТубе",subtitle:"Идите u подешавања и кликните на 'ТизенТубе подешавања' за конфигурацију."},sponsorblock:{segments:{sponsor:"спонзорски сегмент",intro:"увод (интро)",outro:"одјава (оутро)",interaction:"подсетник за интеракцију",selfpromo:"самопромоција",preview:"најава или саžетак",filler:"скретање са теме",music_offtopic:"немузички део",poi_highlight:"истакнуто"},toasts:{skipping:"Прескачем {{segment}}",notSkipping:"Не прескачем {{segment}} (прескочено {{count}} пута)",skip:"Прескочи {{segment}}",skipToHighlight:"Прескочи на истакнути део"}}}},tlh:{translation:{__contributors:["lukapiplica"],settings:{options:{socialMedia:{title:"tayqeq ghom",qrCodeScanMessage:"{{name}} mI' yIbej QR meryaq yImej."},adBlock:"reH lI' vI'ogh",sponsorblock:{title:"Sponsor ghompu' mev choHtaHghach",options:{enableSB:"Sponsor ghompu' yIchu'",manualSkip:"ghompu' yIchoS",segments:"ghompu'",categories:{sponsor:"Sponsor ghompu' yIchoS",intro:"tagh ghompu' yIchoS",outro:"blaH ghompu' yIchoS",interaction:"yImev Interaction De'",selfpromo:"Self-Promotion yIchoS",preview:"Recap yIchoS",filler:"Jokes ghompu' yIchoS",music_offtopic:"non-music yIchoS",highlights:"ghotI' yIchu'"},showSBToasts:"SponsorBlock De' yIcha'"}},dearrow:{title:"DeArrow choHtaHghach",options:{enableDA:"DeArrow yIchu'",enableDAThumbnails:"DeArrow mI' yIchu'"}},misc:{title:"latlh choHtaHghach",options:{endScreenCards:"mej meryaq yISo'",youThereRenderer:"'DaHjaj bIbejtaH?' yIchu'",paidPromoOverlay:"Hvep De' yIcha'",whosWatching:{title:"'Iv bejtaH?'",options:{enableWW:"'Iv bejtaH?' yIchu'",permaEnableWW:"reH 'Iv bejtaH?' yIchu'",enableWWOnExit:"mej 'Iv bejtaH?' yIchu'"}},fixUI:"UI yIchoH",hqThumbnails:"HQ mI' yIchu'",longPress:"nI' meryaq yIchu'",shorts:"Shorts video yIchu'",videoPreviews:"Video Previews yIchu'",ttWelcomeMsg:"TT yI'el De' yIcha'",guestSignInReminder:"guest Sign In yImej",reloadHomeOnStartup:"Home yIchoH"}},subtitles:{title:"Ha'quj choHtaHghach",options:{showLocalSubtitle:"Ha'quj yIcha'",showHiddenSubtitles:"So' Ha'quj yIcha'"}},videoPlayer:{title:"video pat choHtaHghach",subtitle:"video pat yIchoH",options:{patching:{title:"video pat UI yIchoH",options:{enableVPUIPatching:"video pat UI yIchu'",previousNextBtns:"meryaq yIchu'",showSuperThxBtn:"Super Thanks meryaq yIcha'",showSpeedCtrlBtn:"Do' choHmeH meryaq yIcha'"}},preferredVideoQuality:{title:"video QaQ",subtitle:"video QaQ yInuqlI'"},speedSettings:{title:"Do' choHtaHghach",subtitle:"Do' yInuqlI'"},preferredVideoCodec:{title:"video Codec",subtitle:"video Codec yInuqlI'"},afr:"Auto Frame Rate",afrPauseDuration:{title:"AFR mev Duration",subtitle:"mev (seconds) yInuqlI'"}}},uiSettings:{title:"UI choHtaHghach",subtitle:"UI yIchoH",options:{hideWatchedVideos:{title:"bej Video yISo'",options:{enableHideWatchedVideos:"bej Video yISo' yIchu'",watchedVideosThreshold:{title:"Threshold",subtitle:"% yInuqlI'"},setPagesToHideWatchedVideos:"Pages yInuqlI'"}},screenDimming:{title:"Screen Dimming",options:{enableScreenDimming:"Screen Dimming yIchu'",dimmingTimeout:{title:"Timeout",subtitle:"Timeout (seconds) yInuqlI'"},dimmingOpacity:{title:"Opacity",subtitle:"Opacity yInuqlI'"}}},disableSidebarContents:{title:"Sidebar yImev",subtitle:"Sidebar yInuqlI'"},launchToOnStartup:{title:"tagh Page",subtitle:"tagh Page yInuqlI'"},sortSubscriptionsByAlphabet:"pIqaD nI'ghachmo' lIghghachmey chu"}},updater:{title:"TizenTube Cobalt chu'ghach",menuSubtitle:"chu'ghach yInuqlI'",versionSubtitle:"Version: {{version}}",options:{checkForUpdates:"chu'ghach yISam",checkForUpdatesOnStartup:"tagh chu'ghach yISam"}}},ttSettings:{title:"TizenTube choHtaHghach",madeByText:"Reis Can (reisxd) bang ❤️",summary:"TizenTube choHtaHghach yIpoS"},supportTT:{title:"TizenTube yIQah",subtitle:"❤️ TizenTube yIQah",content:{1:"TizenTube yIQah:",2:"1. GitHub Star yIchu'.",3:"2. TizenTube yIlatlh.",4:"Hvep yIQah:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"TizenTube-Daq yI'el!",subtitle:"choHtaHghach yInuqlI'!"},sponsorblock:{segments:{sponsor:"sponsor ghompu'",intro:"tagh",outro:"blaH",interaction:"interaction De'",selfpromo:"self-promotion",preview:"preview",filler:"tangents",music_offtopic:"non-music",poi_highlight:"ghotI'"},toasts:{skipping:"{{segment}} yIchoS",notSkipping:"{{segment}} yImev ({{count}})",skip:"{{segment}} yIchoS",skipToHighlight:"ghotI' yIchoS"}}}},"pt-BR":{translation:{__contributors:["yufumo"],settings:{options:{socialMedia:{title:"Redes Sociais",qrCodeScanMessage:"Você pode acessar a página {{name}} lendo o QR Code abaixo."},adBlock:"Bloqueador de Anúncios",sponsorblock:{title:"Configurações do SponsorBlock",options:{enableSB:"Ativar SponsorBlock",manualSkip:"Pular Segmentos do SponsorBlock Manualmente",segments:"Segmentos",categories:{sponsor:"Pular Segmentos Patrocinados",intro:"Pular Segmentos de Introdução",outro:"Pular Segmentos de Encerramento",interaction:"Pular Segmentos de Lembrete de Interação",selfpromo:"Pular Segmentos de Autopromoção",preview:"Pular Segmentos de Pré-visualização/Resumo",filler:"Pular Assuntos Paralelos/Piadas",music_offtopic:"Pular Segmentos Não Musicais",highlights:"Ativar Destaques"},showSBToasts:"Mostrar Avisos do SponsorBlock"}},dearrow:{title:"Configurações do DeArrow",options:{enableDA:"Ativar DeArrow",enableDAThumbnails:"Ativar Miniaturas do DeArrow"}},misc:{title:"Configurações Diversas",options:{endScreenCards:"Ocultar Cards no Final do Vídeo",youThereRenderer:"Ativar Aviso de 'Você ainda está assistindo?'",paidPromoOverlay:"Ativar Sobreposição de 'Contém promoção paga'",whosWatching:{title:"Menu 'Quem está assistindo?'",options:{enableWW:"Ativar Menu 'Quem está assistindo?'",permaEnableWW:"Ativar Menu 'Quem está assistindo?' Permanentemente",enableWWOnExit:"Ativar Menu 'Quem está assistindo?' ao Sair do App"}},fixUI:"Corrigir Interface",hqThumbnails:"Ativar Miniaturas de Alta Qualidade",longPress:"Ativar Ações de Toque Longo",shorts:"Ativar Shorts",videoPreviews:"Ativar Pré-visualizações de Vídeo",ttWelcomeMsg:"Mostrar Mensagem de Boas-vindas do TT",guestSignInReminder:"Mostrar Lembrete de Login para Convidados",reloadHomeOnStartup:"Recarregar a Página Inicial na Inicialização"}},subtitles:{title:"Configurações das Legendas",options:{showLocalSubtitle:"Mostrar Legendas Locais",showHiddenSubtitles:"Mostrar Legendas Ocultas"}},videoPlayer:{title:"Configurações do Reprodutor de Vídeo",subtitle:"Personalizar recursos do reprodutor de vídeo",options:{patching:{title:"Corrigir Interface do Reprodutor de Vídeo",options:{enableVPUIPatching:"Ativar Correção da Interface do Reprodutor de Vídeo",previousNextBtns:"Ativar Botões de Avançar/Retroceder",showSuperThxBtn:"Mostrar Botão de Valeu Demais",showSpeedCtrlBtn:"Mostrar Botão de Controle de Velocidade"}},preferredVideoQuality:{title:"Qualidade de Vídeo Preferida",subtitle:"Escolha a qualidade de vídeo preferida ou a mais próxima disponível ao iniciar a reprodução"},speedSettings:{title:"Intervalos do Ajuste de Velocidade",subtitle:"Defina os incrementos de velocidade para ajustar a velocidade de reprodução do vídeo"},preferredVideoCodec:{title:"Codificação de Vídeo Preferida",subtitle:"Escolha a codificação de vídeo preferida para reprodução"},afr:"Taxa de Quadros Automática",afrPauseDuration:{title:"Duração da Pausa da Taxa de Quadros Automática",subtitle:"Defina a duração (em segundos) da pausa na reprodução do vídeo ao ajustar a taxa de quadros"}}},uiSettings:{title:"Configurações da Interface de Usuário",subtitle:"Personalize a interface ao seu gosto",options:{hideWatchedVideos:{title:"Ocultar Vídeos Assistidos",options:{enableHideWatchedVideos:"Ativar Ocultação de Vídeos Assistidos",watchedVideosThreshold:{title:"Percentual Mínimo Assistido",subtitle:"Defina o percentual mínimo assistido para ocultar vídeos já vistos."},setPagesToHideWatchedVideos:"Definir Páginas para Ocultar Vídeos Assistidos"}},screenDimming:{title:"Escurecimento da Tela",options:{enableScreenDimming:"Ativar Escurecimento da Tela",dimmingTimeout:{title:"Tempo de Espera do Escurecimento",subtitle:"Defina o tempo de espera por inatividade (em segundos) antes que a tela escureça"},dimmingOpacity:{title:"Opacidade do Escurecimento",subtitle:"Defina o nível de opacidade para o escurecimento da tela"}}},disableSidebarContents:{title:"Desativar Conteúdos da Barra Lateral",subtitle:"Selecione os conteúdos da barra lateral para ocultar"},launchToOnStartup:{title:"Página Inicial ao Abrir",subtitle:"Escolha a página padrão que o TizenTube abrirá na inicialização"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"Atualizador do TizenTube Cobalt",menuSubtitle:"Gerenciar Atualizações do TizenTube Cobalt",versionSubtitle:"Versão Atual: {{version}}",options:{checkForUpdates:"Verificar Atualizações",checkForUpdatesOnStartup:"Verificar Atualizações na Inicialização"}}},ttSettings:{title:"Configurações do TizenTube",madeByText:"Feito por Reis Can (reisxd) com ❤️",summary:"Abrir Configurações do TizenTube"},supportTT:{title:"Apoie o TizenTube",subtitle:"❤️ Mostre apoio pelo TizenTube e seu desenvolvimento",content:{1:"Se você gosta de usar o TizenTube e gostaria de apoiar o seu desenvolvimento, considere o seguinte:",2:"1. Dê uma estrela no repositório do GitHub para aumentar sua visibilidade.",3:"2. Compartilhe o TizenTube com outros.",4:"Se você gostaria de contribuir financeiramente, considere doar:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preferencialmente)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Bem-vindo ao TizenTube",subtitle:"Vá até as Configurações e clique em Configurações do TizenTube para abrir as configurações."},sponsorblock:{segments:{sponsor:"segmento patrocinado",intro:"introdução",outro:"encerramento",interaction:"lembrete de interação",selfpromo:"autopromoção",preview:"resumo/pré-visualização",filler:"assuntos paralelos",music_offtopic:"parte sem música",poi_highlight:"destaque"},toasts:{skipping:"Pulando {{segment}}",notSkipping:"Ignorando {{segment}} (foi pulado {{count}} vezes)",skip:"Pular {{segment}}",skipToHighlight:"Pular para Destaque"}}}},ru:{translation:{__contributors:["BlackFlux"],settings:{options:{socialMedia:{title:"Ссылки",qrCodeScanMessage:"Вы можете перейти на страницу {{name}} отсканировав QR-код ниже."},adBlock:"Блокировка рекламы",sponsorblock:{title:"Настройки SponsorBlock",options:{enableSB:"Включить SponsorBlock",manualSkip:"Ручной пропуск сегментов",segments:"Сегменты",categories:{sponsor:"Пропускать спонсорские сегменты",intro:"Пропустить интро",outro:"Пропустить аутро",interaction:"Пропускать напоминание о взаимодействии",selfpromo:"Пропускать саморекламу",preview:"Пропускать превью/рекап",filler:"Пропускать оффтоп/шутки",music_offtopic:"Пропускать оффтоп-музыку",highlights:"Включить ключевые моменты"},showSBToasts:"Показывать уведомления SponsorBlock"}},dearrow:{title:"Настройки DeArrow",options:{enableDA:"Включить DeArrow",enableDAThumbnails:"Включить миниатюры DeArrow"}},misc:{title:"Разное",options:{endScreenCards:"Скрыть карточки в конце видео",youThereRenderer:"Включить сообщение «Вы ещё смотрите?»",paidPromoOverlay:"Включить уведомление «Содержит рекламу»",whosWatching:{title:"Меню «Кто смотрит?»",options:{enableWW:"Включить меню «Кто смотрит»",permaEnableWW:"Всегда включать меню «Кто смотрит»",enableWWOnExit:"Показывать меню «Кто смотрит» при выходе"}},fixUI:"Исправить интерфейс",hqThumbnails:"Включить миниатюры высокого качества",longPress:"Долгое нажатие",shorts:"Shorts",videoPreviews:"Предпросмотр видео",ttWelcomeMsg:"Приветственное сообщение",guestSignInReminder:"Показывать напоминания о гостевом входе",reloadHomeOnStartup:"Обновлять главную страницу при запуске"}},subtitles:{title:"Субтитры",options:{showLocalSubtitle:"Показывать локальные субтитры",showHiddenSubtitles:"Показывать скрытые субтитры"}},videoPlayer:{title:"Настройки видеоплеера",subtitle:"Настройка функций видеоплеера",options:{patching:{title:"Патч интерфейса видеоплеера",options:{enableVPUIPatching:"Включить патч интерфейса видеоплеера",previousNextBtns:"Кнопки «Предыдущее/Следующее»",showSuperThxBtn:"Кнопка Super Thanks",showSpeedCtrlBtn:"Кнопка скорости"}},preferredVideoQuality:{title:"Предпочтительное качество",subtitle:"Выберите предпочтительное или следующее лучшее качество видео при запуске воспроизведения"},speedSettings:{title:"Шаг изменения скорости",subtitle:"Установите шаг изменения скорости для регулировки скорости воспроизведения"},preferredVideoCodec:{title:"Предпочтительный кодек",subtitle:"Выберите предпочитаемый видеокодек"},afr:"Auto Frame Rate",afrPauseDuration:{title:"Длительность паузы Auto Frame Rate",subtitle:"Установите длительность (в секундах) паузы воспроизведения при изменении частоты кадров"}}},uiSettings:{title:"Настройки интерфейса",subtitle:"Настройки интерфейса под себя",options:{hideWatchedVideos:{title:"Скрывать просмотренные видео",options:{enableHideWatchedVideos:"Включить скрытие просмотренных видео",watchedVideosThreshold:{title:"Порог скрытия видео",subtitle:"Укажите процент, после которого видео будет скрываться"},setPagesToHideWatchedVideos:"Где скрывать просмотренные"}},screenDimming:{title:"Затемнение экрана",options:{enableScreenDimming:"Включить затемнение экрана",dimmingTimeout:{title:"Задержка затемнения",subtitle:"Установите время бездействия (в секундах), после которого экран затемняется"},dimmingOpacity:{title:"Прозрачность затемнения",subtitle:"Установите уровень затемнения экрана"}}},disableSidebarContents:{title:"Отключить разделы бокового меню",subtitle:"Выберите разделы бокового меню, которые нужно отключить"},launchToOnStartup:{title:"Открыть при запуске",subtitle:"Выберите страницу, которая будет открываться при запуске TizenTube"},sortSubscriptionsByAlphabet:"Sort Subscriptions Alphabetically"}},updater:{title:"Обновление TizenTube Cobalt",menuSubtitle:"Управление обновлениями TizenTube Cobalt",versionSubtitle:"Текущая версия: {{version}}",options:{checkForUpdates:"Проверить обновления",checkForUpdatesOnStartup:"Проверять обновления при запуске"}}},ttSettings:{title:"Настройки TizenTube",madeByText:"Сделано Reis Can (reisxd) с ❤️",summary:"Открыть настройки TizenTube"},supportTT:{title:"Поддержать TizenTube",subtitle:"❤️ Поддержите TizenTube и его разработку",content:{1:"Если вам нравится использовать TizenTube и вы хотите поддержать его развитие, рассмотрите следующие варианты:",2:"1. Поставьте звезду репозиторию на GitHub, чтобы повысить его видимость.",3:"2. Поделитесь TizenTube с другими.",4:"Если вы хотите поддержать проект финансово, рассмотрите возможность пожертвования:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preferably)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Добро пожаловать в TizenTube",subtitle:"Перейдите в настройки и нажмите «Настройки TizenTube»."},sponsorblock:{segments:{sponsor:"спонсорский сегмент",intro:"интро",outro:"аутро",interaction:"напоминание о взаимодействии",selfpromo:"самореклама",preview:"повтор или превью",filler:"отступления от темы",music_offtopic:"немузыкальная часть",poi_highlight:"ключевой момент"},toasts:{skipping:"Пропуск {{segment}}",notSkipping:"Не пропускается {{segment}} (уже пропущено {{count}} раз)",skip:"Пропустить {{segment}}",skipToHighlight:"Перейти к ключевому моменту"}}}},lt:{translation:{__contributors:["Benetis"],settings:{options:{socialMedia:{title:"Socialinių tinklų nuorodos",qrCodeScanMessage:"Galite apsilankyti puslapyje „{{name}}“ nuskenavę žemiau pateiktą QR kodą."},adBlock:"Reklamų blokavimas",sponsorblock:{title:"„SponsorBlock“ nustatymai",options:{enableSB:"Įjungti „SponsorBlock“",manualSkip:"Rankinis „SponsorBlock“ segmentų praleidimas",segments:"Segmentai",categories:{sponsor:"Praleisti rėmėjų segmentus",intro:"Praleisti įžangų segmentus",outro:"Praleisti pabaigų segmentus",interaction:"Praleisti sąveikos priminimų segmentus",selfpromo:"Praleisti savireklamos segmentus",preview:"Praleisti anonsų/santraukų segmentus",filler:"Praleisti pašalinių komentarų/juokelių segmentus",music_offtopic:"Praleisti nesusijusius muzikinius segmentus",highlights:"Įjungti svarbiausius momentus"},showSBToasts:"Rodyti „SponsorBlock“ trumpalaikius pranešimus"}},dearrow:{title:"„DeArrow“ nustatymai",options:{enableDA:"Įjungti „DeArrow“",enableDAThumbnails:"Įjungti „DeArrow“ miniatiūras"}},misc:{title:"Kiti nustatymai",options:{endScreenCards:"Slėpti pabaigos užsklandos korteles",youThereRenderer:"Įjungti „Ar vis dar žiūrite?“ atvaizdavimą",paidPromoOverlay:"Įjungti „Turi apmokamos reklamos“ perdangą",whosWatching:{title:"„Kas žiūri?“ meniu",options:{enableWW:"Įjungti „Kas žiūri?“ meniu",permaEnableWW:"Visam laikui įjungti „Kas žiūri?“ meniu",enableWWOnExit:"Įjungti „Kas žiūri?“ meniu uždarant programėlę"}},fixUI:"Taisyti vartotojo sąsają",hqThumbnails:"Įjungti aukštos kokybės miniatiūras",longPress:"Įjungti ilgo paspaudimo veiksmus",shorts:"Įjungti trumpuosius vaizdo įrašus („Shorts“)",videoPreviews:"Įjungti vaizdo įrašų peržiūras",ttWelcomeMsg:"Rodyti „TizenTube“ pasisveikinimą",guestSignInReminder:"Rodyti svečio prisijungimo priminimą",reloadHomeOnStartup:"Atnaujinti pagrindinį puslapį paleidžiant"}},subtitles:{title:"Subtitrų nustatymai",options:{showLocalSubtitle:"Rodyti vietinius subtitrus",showHiddenSubtitles:"Rodyti paslėptus subtitrus"}},videoPlayer:{title:"Vaizdo grotuvo nustatymai",subtitle:"Pritaikykite vaizdo grotuvo funkcijas",options:{patching:{title:"Vaizdo grotuvo vartotojo sąsajos pataisos",options:{enableVPUIPatching:"Įjungti vaizdo grotuvo vartotojo sąsajos pataisas",previousNextBtns:"Įjungti mygtukus „Ankstesnis“ ir „Kitas“",showSuperThxBtn:"Rodyti mygtuką „Super padėka“",showSpeedCtrlBtn:"Rodyti greičio valdymo mygtuką"}},preferredVideoQuality:{title:"Pageidaujama vaizdo kokybė",subtitle:"Pasirinkite pageidaujamą arba antrą geriausią vaizdo kokybę, kuri bus taikoma pradedant atkūrimą"},speedSettings:{title:"Greičio nustatymų žingsniai",subtitle:"Nustatykite vaizdo įrašo atkūrimo greičio keitimo žingsnius"},preferredVideoCodec:{title:"Pageidaujamas vaizdo kodekas",subtitle:"Pasirinkite norimą vaizdo kodeką atkūrimui"},afr:"Automatinis kadrų dažnis",afrPauseDuration:{title:"Automatinio kadrų dažnio pauzės trukmė",subtitle:"Nustatykite trukmę (sekundėmis), kuriai vaizdo įrašo atkūrimas bus pristabdytas, kai keičiate kadrų dažnį"}}},uiSettings:{title:"Vartotojo sąsajos nustatymai",subtitle:"Pritaikykite vartotojo sąsają pagal savo poreikius",options:{hideWatchedVideos:{title:"Paslėpti peržiūrėtus vaizdo įrašus",options:{enableHideWatchedVideos:"Įjungti peržiūrėtų vaizdo įrašų slėpimą",watchedVideosThreshold:{title:"Peržiūrėtų vaizdo įrašų riba",subtitle:"Nustatykite procentinę ribą, kurią pasiekus žiūrėti vaizdo įrašai bus paslėpti"},setPagesToHideWatchedVideos:"Pasirinkti puslapius, kuriuose slėpti peržiūrėtus vaizdo įrašus"}},screenDimming:{title:"Ekrano pritemdymas",options:{enableScreenDimming:"Įgalinti Ekrano pritemdymą",dimmingTimeout:{title:"Pritemdymo delsa",subtitle:"Nustatykite neveiklumo laiką (sekundėmis), po kurio ekranas pritems"},dimmingOpacity:{title:"Pritemdymo lygis",subtitle:"Nustatykite ekrano pritemdymo lygį"}}},disableSidebarContents:{title:"Išjungti šoninės juostos turinius",subtitle:"Pasirinkite, kurį šoninės juostos turinį išjungti"},launchToOnStartup:{title:"Pradinis puslapis paleidžiant",subtitle:"Pasirinkite numatytąjį puslapį, kurį „TizenTube“ atidarys paleidimo metu"},sortSubscriptionsByAlphabet:"Rūšiuoti prenumeratas abėcėlės tvarka"}},updater:{title:"„TizenTube Cobalt“ naujinimo įrankis",menuSubtitle:"Valdykite „TizenTube Cobalt“ naujinimus",versionSubtitle:"Dabartinė versija: {{version}}",options:{checkForUpdates:"Tikrinti ar yra naujinimų",checkForUpdatesOnStartup:"Tikrinti naujinimus paleidžiant"}}},ttSettings:{title:"„TizenTube“ nustatymai",madeByText:"Sukūrta Reis Can (reisxd) su ❤️",summary:"Atidaryti „TizenTube“ nustatymus"},supportTT:{title:"Paremkite „TizenTube“",subtitle:"❤️ Parodykite paramą „TizenTube“ ir jo vystymui",content:{1:"Jei jums patinka naudotis „TizenTube“ ir norėtumėte paremti projekto vystymą, apsvarstykite šias galimybes:",2:"1. Pažymėkite „GitHub“ saugyklą žvaigždute, kad padidintumėte jos matomumą.",3:"2. Pasidalinkite „TizenTube“ su kitais.",4:"Jei norite prisidėti finansiškai, apsvarstykite galimybę paaukoti:",5:"- „Buy Me A Coffee“: https://www.buymeacoffee.com/reisxd (pageidautina)",6:"- „GitHub Sponsors“: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Sveiki! Čia – „TizenTube“",subtitle:"Eikite į nustatymus ir pasirinkite „„TizenTube“ nustatymai“, jei norite juos keisti."},sponsorblock:{segments:{sponsor:"remiamas segmentas",intro:"įžanga",outro:"pabaiga",interaction:"sąveikos priminimas",selfpromo:"savireklama",preview:"santrauka arba anonsas",filler:"pašaliniai komentarai",music_offtopic:"nemuzikinė dalis",poi_highlight:"svarbiausias momentas"},toasts:{skipping:"Praleidžiama: {{segment}}",notSkipping:"Nepraleidžiama: {{segment}} (buvo praleista {{count}} kartų (-us))",skip:"Praleisti: {{segment}}",skipToHighlight:"Pešokti prie svarbiausio momento"}}}},hu:{translation:{__contributors:["bazdmag"],settings:{options:{socialMedia:{title:"Közösségi média linkek",qrCodeScanMessage:"A(z) {{name}} oldalt az alábbi QR-kód beolvasásával látogathatod meg."},adBlock:"Reklámblokkoló",sponsorblock:{title:"SponsorBlock beállítások",options:{enableSB:"SponsorBlock engedélyezése",manualSkip:"SponsorBlock szegmensek manuális átugrása",segments:"Szegmensek",categories:{sponsor:"Szponzor szegmensek átugrása",intro:"Intro átugrása",outro:"Outro átugrása",interaction:"Interakciós emlékeztetők átugrása",selfpromo:"Önpromóciós szegmensek átugrása",preview:"Előzetes/összefoglaló szegmensek átugrása",filler:"Kitérők/viccek átugrása",music_offtopic:"Nem a zenéhez tartozó részek átugrása",highlights:"Kiemelések engedélyezése"},showSBToasts:"SponsorBlock értesítések megjelenítése"}},dearrow:{title:"DeArrow beállítások",options:{enableDA:"DeArrow engedélyezése",enableDAThumbnails:"DeArrow bélyegképek engedélyezése"}},misc:{title:"Egyéb beállítások",options:{endScreenCards:"Videó végi kártyák elrejtése",youThereRenderer:"'Még nézed?' üzenet engedélyezése",paidPromoOverlay:"'Fizetett promóciót tartalmaz' felirat engedélyezése",whosWatching:{title:"Ki nézi? menü",options:{enableWW:"„Ki nézi?” menü engedélyezése",permaEnableWW:"„Ki nézi?” menü mindig aktív",enableWWOnExit:"„Ki nézi?” menü megjelenítése kilépéskor"}},fixUI:"Felhasználói felület javítása",hqThumbnails:"Magas minőségű bélyegképek engedélyezése",longPress:"Hosszú nyomás műveletek engedélyezése",shorts:"Shorts engedélyezése",videoPreviews:"Videó előnézetek engedélyezése",ttWelcomeMsg:"TT üdvözlő üzenet megjelenítése",guestSignInReminder:"Vendég bejelentkezési emlékeztető megjelenítése",reloadHomeOnStartup:"Főoldal újratöltése indításkor"}},subtitles:{title:"Felirat beállítások",options:{showLocalSubtitle:"Helyi felirat megjelenítése",showHiddenSubtitles:"Rejtett feliratok megjelenítése"}},videoPlayer:{title:"Videólejátszó beállítások",subtitle:"A videólejátszó funkcióinak testreszabása",options:{patching:{title:"Videólejátszó UI módosítása",options:{enableVPUIPatching:"Videólejátszó UI módosítás engedélyezése",previousNextBtns:"Előző és következő gombok engedélyezése",showSuperThxBtn:"Super Thanks gomb megjelenítése",showSpeedCtrlBtn:"Sebességszabályzó gomb megjelenítése"}},preferredVideoQuality:{title:"Preferált videóminőség",subtitle:"Válaszd ki a lejátszás indításakor alkalmazott preferált vagy legjobb elérhető videóminőséget"},speedSettings:{title:"Lejátszási sebesség lépések",subtitle:"Állítsd be a lejátszási sebesség módosításának lépésközeit"},preferredVideoCodec:{title:"Preferált videó codec",subtitle:"Válaszd ki a lejátszáshoz használt videó codecet"},afr:"Automatikus képkockasebesség",afrPauseDuration:{title:"Automatikus képkockasebesség szünet ideje",subtitle:"Add meg hány másodpercre álljon meg a videó a képkockasebesség módosításakor"}}},uiSettings:{title:"Felhasználói felület beállítások",subtitle:"Szabd testre a felületet ízlésed szerint",options:{hideWatchedVideos:{title:"Megnézett videók elrejtése",options:{enableHideWatchedVideos:"Megnézett videók elrejtésének engedélyezése",watchedVideosThreshold:{title:"Megnézettségi küszöb",subtitle:"Add meg hány százaléktól számítson egy videó megtekintettnek"},setPagesToHideWatchedVideos:"Oldalak kiválasztása ahol a megnézett videók rejtve legyenek"}},screenDimming:{title:"Képernyő halványítás",options:{enableScreenDimming:"Képernyő halványítás engedélyezése",dimmingTimeout:{title:"Halványítás időzítése",subtitle:"Add meg mennyi inaktivitás után halványodjon a képernyő (másodperc)"},dimmingOpacity:{title:"Halványítás átlátszósága",subtitle:"Állítsd be a halványítás erősségét"}}},disableSidebarContents:{title:"Oldalsáv elemek kikapcsolása",subtitle:"Válaszd ki mely oldalsáv elemek legyenek kikapcsolva"},launchToOnStartup:{title:"Indításkor megnyíló oldal",subtitle:"Válaszd ki melyik oldal nyíljon meg induláskor"}},updater:{title:"TizenTube Cobalt frissítő",menuSubtitle:"TizenTube Cobalt frissítések kezelése",versionSubtitle:"Jelenlegi verzió: {{version}}",options:{checkForUpdates:"Frissítések keresése",checkForUpdatesOnStartup:"Frissítések keresése indításkor"}}}},ttSettings:{title:"TizenTube beállítások",madeByText:"Készítette: Reis Can (reisxd) ❤️",summary:"TizenTube beállítások megnyitása"},supportTT:{title:"TizenTube támogatása",subtitle:"❤️ Támogasd a TizenTube fejlesztését",content:{1:"Ha szereted a TizenTube-ot és szeretnéd támogatni a fejlesztését, fontold meg a következőket:",2:"1. Adj egy csillagot a GitHub repositorynak, hogy többen megtalálják.",3:"2. Oszd meg a TizenTube-ot másokkal.",4:"Ha pénzügyileg is támogatnád:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (ajánlott)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Üdvözlünk a TizenTube-ban",subtitle:"Menj a beállításokhoz és kattints a TizenTube beállításokra."},sponsorblock:{segments:{sponsor:"szponzor szegmens",intro:"intro",outro:"outro",interaction:"interakciós emlékeztető",selfpromo:"önpromóció",preview:"összefoglaló vagy előzetes",filler:"kitérő",music_offtopic:"nem zenei rész",poi_highlight:"kiemelés"},toasts:{skipping:"{{segment}} átugrása",notSkipping:"{{segment}} nem kerül átugrásra ({{count}} alkalommal átugorva)",skip:"{{segment}} átugrása",skipToHighlight:"Ugrás a kiemeléshez"}}}},it:{translation:{__contributors:["DaRkViVi"],settings:{options:{socialMedia:{title:"Link ai Social",qrCodeScanMessage:"Puoi visitare la pagina {{name}} scansionando il QR qui sotto."},adBlock:"Ad Block",sponsorblock:{title:"Impostazioni SponsorBlock",options:{enableSB:"Attiva SponsorBlock",manualSkip:"Salto Manuale Segmento SponsorBlock",segments:"Segmenti",categories:{sponsor:"Salta Segmenti Sponsor",intro:"Salta Segmenti Intro",outro:"Salta Segmenti Outro",interaction:"Salta Segmenti Richiesta Interazione",selfpromo:"Salta Segmenti Auto-Promozione",preview:"Salta Segmenti Anteprima/Riassunto",filler:"Salta Segmenti Fuori Tema/Battute",music_offtopic:"Salta Segmenti Musica Off-Topic",highlights:"Attiva Punti Salienti"},showSBToasts:"Mostra Notifiche SponsorBlock"}},dearrow:{title:"Impostazioni DeArrow",options:{enableDA:"Attiva DeArrow",enableDAThumbnails:"Attiva Anteprime DeArrow"}},misc:{title:"Impostazioni varie",options:{endScreenCards:"Nascondi Schermate Finali",youThereRenderer:"Abilita Avviso 'Stai ancora guardando?'",paidPromoOverlay:"Abilita Overlay 'Include promozioni a pagamento'",whosWatching:{title:"Menù Chi Sta Guardando",options:{enableWW:"Abilita Menù Chi Sta Guardando",permaEnableWW:"Abilita Sempre Menù Chi Sta Guardando",enableWWOnExit:"Abilita Menù Chi Sta Guardando Chiudendo l'App"}},fixUI:"Correggi Interfaccia",hqThumbnails:"Abilita Anteprime in Alta Qualità",longPress:"Abilita Azioni con Pressione Prolungata",shorts:"Abilita Shorts",videoPreviews:"Abilita Anteprime Video",ttWelcomeMsg:"Mostra Messaggio di Benvenuto TT",guestSignInReminder:"Mostra Promemoria Login Ospite",reloadHomeOnStartup:"Ricarica Home all'Avvio"}},subtitles:{title:"Impostazioni Sottotitoli",options:{showLocalSubtitle:"Mostra Sottotitoli Locali",showHiddenSubtitles:"Mostra Sottotitoli Nascosti"}},videoPlayer:{title:"Impostazioni Video Player",subtitle:"Personalizza le funzionalità del video player",options:{patching:{title:"Patcha Interfaccia Video Player",options:{enableVPUIPatching:"Abilita Patching Interfaccia Video Player",previousNextBtns:"Abilita Pulsanti Precedente e Successivo",showSuperThxBtn:"Mostra Pulsante Super Grazie",showSpeedCtrlBtn:"Mostra Pulsante Controllo Velocità"}},preferredVideoQuality:{title:"Qualità Video Preferita",subtitle:"Seleziona la qualità video preferita o la più vicina che verrà applicata quando parte una riproduzione"},speedSettings:{title:"Impostazione Incrementi di Velocità",subtitle:"Imposta gli incrementi di velocità per le regolazioni della velocità di riproduzione video"},preferredVideoCodec:{title:"Codec Video Preferito",subtitle:"Seleziona il codec video preferito per la riproduzione"},afr:"Frame Rate Automatico",afrPauseDuration:{title:"Durata Pausa Frame Rate Automatico",subtitle:"Imposta la durata (in secondi) della pausa mentre viene corretto il frame rate"}}},uiSettings:{title:"Impostazioni Interfaccia Utente",subtitle:"Personalizza l'interfaccia a tuo piacimento",options:{hideWatchedVideos:{title:"Nascondi Video Visti",options:{enableHideWatchedVideos:"Abilita Nascondi Video Visti",watchedVideosThreshold:{title:"Soglia Video Visti",subtitle:"Imposta la soglia in percentuale per nascondere un video come visto"},setPagesToHideWatchedVideos:"Imposta Pagine per Nascondere i Video Visti"}},screenDimming:{title:"Oscuramento Schermo",options:{enableScreenDimming:"Abilita Oscuramento Schermo",dimmingTimeout:{title:"Timeout Oscuramento",subtitle:"Imposta il timeout di inattività (in secondi) prima che lo schermo si oscuri"},dimmingOpacity:{title:"Opacità Oscuramento",subtitle:"Imposta il livello di opacità per l'oscuramento schermo"}}},disableSidebarContents:{title:"Disabilita Contenuti Barra Laterale",subtitle:"Seleziona i contenuti della barra laterale che vuoi disabilitare"},launchToOnStartup:{title:"Lancia all'Avvio",subtitle:"Seleziona la pagina che TizenTube aprirà all'avvio"},sortSubscriptionsByAlphabet:"Iscrizioni in ordine alfabetico"}},updater:{title:"Aggiorna TizenTube Cobalt",menuSubtitle:"Gestisci gli aggiornamenti di TizenTube Cobalt",versionSubtitle:"Versione attuale: {{version}}",options:{checkForUpdates:"Controlla aggiornamenti",checkForUpdatesOnStartup:"Controlla aggiornamenti all'avvio"}}},ttSettings:{title:"Impostazioni TizenTube",madeByText:"Creato da Reis Can (reisxd) con ❤️",summary:"Apri Impostazioni TizenTube"},supportTT:{title:"Supporta TizenTube",subtitle:"❤️ Mostra supporto per TizenTube e il suo sviluppo",content:{1:"Se ti sta piacendo TizenTube e vuoi supportare il suo sviluppo, considera di:",2:"1. Mettere una Stella alla repository GitHub per aiutare ad aumentare la sua visibilità.",3:"2. Condividi TizenTube con altri.",4:"Se vuoi contribuire finanziariamente, considera una donazione:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (preferibilmente)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Benvenuto in TizenTube",subtitle:"Vai su Impostazioni e seleziona Impostazioni TizenTube per la configurazione."},sponsorblock:{segments:{sponsor:"segmento sponsorizzato",intro:"intro",outro:"outro",interaction:"promemoria interazione",selfpromo:"autopromozione",preview:"riassunto o anteprima",filler:"fuori tema",music_offtopic:"parte non musicale",poi_highlight:"punti salienti"},toasts:{skipping:"Sto saltando {{segment}}",notSkipping:"Non sto saltando {{segment}} (è stata saltato {{count}} volte)",skip:"Salta {{segment}}",skipToHighlight:"Salta ai punti salienti"}}}},uk:{translation:{__contributors:["BlackFlux"],settings:{options:{socialMedia:{title:"Посилання",qrCodeScanMessage:"Ви можете перейти на сторінку {{name}}, відсканувавши QR-код нижче."},adBlock:"Блокування реклами",sponsorblock:{title:"Налаштування SponsorBlock",options:{enableSB:"Увімкнути SponsorBlock",manualSkip:"Ручний пропуск сегментів",segments:"Сегменти",categories:{sponsor:"Пропускати спонсорські сегменти",intro:"Пропускати вступ",outro:"Пропускати завершення",interaction:"Пропускати заклики до взаємодії",selfpromo:"Пропускати саморекламу",preview:"Пропускати прев’ю/повтори",filler:"Пропускати офтоп/жарти",music_offtopic:"Пропускати музику не за темою",highlights:"Увімкнути ключові моменти"},showSBToasts:"Показувати сповіщення SponsorBlock"}},dearrow:{title:"Налаштування DeArrow",options:{enableDA:"Увімкнути DeArrow",enableDAThumbnails:"Увімкнути мініатюри DeArrow"}},misc:{title:"Різне",options:{endScreenCards:"Приховати картки наприкінці відео",youThereRenderer:"Увімкнути повідомлення «Ви ще дивитеся?»",paidPromoOverlay:"Увімкнути повідомлення «Містить рекламу»",whosWatching:{title:"Меню «Хто дивиться?»",options:{enableWW:"Увімкнути меню «Хто дивиться?»",permaEnableWW:"Завжди вмикати меню «Хто дивиться?»",enableWWOnExit:"Показувати меню «Хто дивиться?» під час виходу"}},fixUI:"Виправити інтерфейс",hqThumbnails:"Увімкнути мініатюри високої якості",longPress:"Тривале натискання",shorts:"Shorts",videoPreviews:"Попередній перегляд відео",ttWelcomeMsg:"Вітальне повідомлення",guestSignInReminder:"Показувати сповіщення про вхід як гість",reloadHomeOnStartup:"Оновлювати головну сторінку під час запуску"}},subtitles:{title:"Субтитри",options:{showLocalSubtitle:"Показувати локальні субтитри",showHiddenSubtitles:"Показувати приховані субтитри"}},videoPlayer:{title:"Налаштування відеоплеєра",subtitle:"Налаштування функцій відеоплеєра",options:{patching:{title:"Патч інтерфейсу відеоплеєра",options:{enableVPUIPatching:"Увімкнути патч інтерфейсу відеоплеєра",previousNextBtns:"Кнопки «Попереднє/Наступне»",showSuperThxBtn:"Кнопка Super Thanks",showSpeedCtrlBtn:"Кнопка швидкості"}},preferredVideoQuality:{title:"Бажана якість",subtitle:"Виберіть бажану або найближчу кращу якість відео під час запуску відтворення"},speedSettings:{title:"Крок зміни швидкості",subtitle:"Установіть крок зміни швидкості для керування швидкістю відтворення"},preferredVideoCodec:{title:"Бажаний кодек",subtitle:"Виберіть бажаний відеокодек"},afr:"Auto Frame Rate",afrPauseDuration:{title:"Тривалість паузи Auto Frame Rate",subtitle:"Встановіть тривалість паузи відтворення (у секундах) під час зміни частоти кадрів"}}},uiSettings:{title:"Налаштування інтерфейсу",subtitle:"Налаштуйте інтерфейс під себе",options:{hideWatchedVideos:{title:"Приховувати переглянуті відео",options:{enableHideWatchedVideos:"Увімкнути приховування переглянутих відео",watchedVideosThreshold:{title:"Поріг приховування відео",subtitle:"Оберіть відсоток перегляду, після якого відео буде приховуватися"},setPagesToHideWatchedVideos:"Де приховувати переглянуті відео"}},screenDimming:{title:"Затемнення екрана",options:{enableScreenDimming:"Увімкнути затемнення екрана",dimmingTimeout:{title:"Затримка затемнення",subtitle:"Встановіть час бездіяльності (у секундах), після якого екран затемнюється"},dimmingOpacity:{title:"Інтенсивність затемнення",subtitle:"Встановіть рівень затемнення екрана"}}},disableSidebarContents:{title:"Вимкнути розділи бокового меню",subtitle:"Оберіть розділи бокового меню, які потрібно вимкнути"},launchToOnStartup:{title:"Відкривати під час запуску",subtitle:"Оберіть сторінку, яка відкриватиметься під час запуску TizenTube"},sortSubscriptionsByAlphabet:"Сортувати підписки в алфавітному порядку"}},updater:{title:"Оновлення TizenTube Cobalt",menuSubtitle:"Керування оновленнями TizenTube Cobalt",versionSubtitle:"Поточна версія: {{version}}",options:{checkForUpdates:"Перевірити оновлення",checkForUpdatesOnStartup:"Перевіряти оновлення під час запуску"}}},ttSettings:{title:"Налаштування TizenTube",madeByText:"Створено Reis Can (reisxd) з ❤️",summary:"Відкрити налаштування TizenTube"},supportTT:{title:"Підтримати TizenTube",subtitle:"❤️ Підтримайте TizenTube та його розвиток",content:{1:"Якщо вам подобається користуватися TizenTube і ви хочете підтримати його розвиток, зверніть увагу на такі варіанти:",2:"1. Поставте зірку репозиторію на GitHub, щоб підвищити його видимість.",3:"2. Поділіться TizenTube з іншими.",4:"Якщо ви хочете фінансово підтримати проєкт, можете зробити донат:",5:"- Buy Me A Coffee: https://www.buymeacoffee.com/reisxd (бажано)",6:"- GitHub Sponsors: https://github.com/sponsors/reisxd"}}},welcomeMsg:{title:"Ласкаво просимо до TizenTube",subtitle:"Перейдіть у налаштування та натисніть «Налаштування TizenTube»."},sponsorblock:{segments:{sponsor:"спонсорський сегмент",intro:"вступ",outro:"завершення",interaction:"заклик до взаємодії",selfpromo:"самореклама",preview:"повтор або прев’ю",filler:"відступ від теми",music_offtopic:"немузична частина",poi_highlight:"ключовий момент"},toasts:{skipping:"Пропуск {{segment}}",notSkipping:"{{segment}} не пропускається (вже пропущено {{count}} разів)",skip:"Пропустити {{segment}}",skipToHighlight:"Перейти до ключового моменту"}}}}};ma=(null===(pa=window)||void 0===pa||null===(pa=pa.yt)||void 0===pa||null===(pa=pa.config_)||void 0===pa?void 0:pa.HL)||navigator.language.replace(/(\-.*)/g,""),da.init({lng:ma,fallbackLng:"en",resources:ga,debug:!1,interpolation:{escapeValue:!1}});var fa;fa||(fa=1,function(){function e(e){return void 0===e?0:Number(e)}function t(e,t){return e!==t&&!(isNaN(e)&&isNaN(t))}self.DOMRect=function(i,n,a,r){var o,s,l,u,c,d,h,p;o=e(i),s=e(n),l=e(a),u=e(r),Object.defineProperties(this,{x:{get:function(){return o},set:function(e){t(o,e)&&(o=e,c=d=void 0)},enumerable:!0},y:{get:function(){return s},set:function(e){t(s,e)&&(s=e,h=p=void 0)},enumerable:!0},width:{get:function(){return l},set:function(e){t(l,e)&&(l=e,c=d=void 0)},enumerable:!0},height:{get:function(){return u},set:function(e){t(u,e)&&(u=e,h=p=void 0)},enumerable:!0},left:{get:function(){return void 0===c&&(c=o+Math.min(0,l)),c},enumerable:!0},right:{get:function(){return void 0===d&&(d=o+Math.max(0,l)),d},enumerable:!0},top:{get:function(){return void 0===h&&(h=s+Math.min(0,u)),h},enumerable:!0},bottom:{get:function(){return void 0===p&&(p=s+Math.max(0,u)),p},enumerable:!0}})}}());var va,ba="ytaf-configuration",ya={enableAdBlock:!0,enableSponsorBlock:!0,enableSponsorBlockToasts:!0,sponsorBlockManualSkips:["intro","outro","filler"],enableSponsorBlockSponsor:!0,enableSponsorBlockIntro:!0,enableSponsorBlockOutro:!0,enableSponsorBlockInteraction:!0,enableSponsorBlockSelfPromo:!0,enableSponsorBlockPreview:!0,enableSponsorBlockMusicOfftopic:!0,enableSponsorBlockFiller:!1,enableSponsorBlockHighlight:!0,videoSpeed:1,preferredVideoQuality:"auto",enableDeArrow:!0,enableDeArrowThumbnails:!1,focusContainerColor:"#0f0f0f",routeColor:"#0f0f0f",enableFixedUI:!window.h5vcc||!window.h5vcc.tizentube,enableHqThumbnails:!1,enableChapters:!0,enableLongPress:!0,enableShorts:!0,dontCheckUpdateUntil:0,enableWhoIsWatchingMenu:!1,permanentlyEnableWhoIsWatchingMenu:!1,enableWhosWatchingMenuOnAppExit:!1,enableShowUserLanguage:!0,enableShowOtherLanguages:!1,showWelcomeToast:!0,enablePreviousNextButtons:!0,enableSuperThanksButton:!1,enableSpeedControlsButton:!0,enablePatchingVideoPlayer:!0,enablePreviews:!0,enableHideWatchedVideos:!1,hideWatchedVideosThreshold:80,hideWatchedVideosPages:[],enableHideEndScreenCards:!1,enableYouThereRenderer:!0,lastAnnouncementCheck:0,enableScreenDimming:!1,dimmingTimeout:60,dimmingOpacity:.5,enablePaidPromotionOverlay:!0,speedSettingsIncrement:.25,videoPreferredCodec:"any",launchToOnStartup:null,reloadHomeOnStartup:!0,disabledSidebarContents:[],disableChannelsOnSidebar:!1,enableUpdater:!0,autoFrameRate:!1,autoFrameRatePauseVideoFor:0,enableSigninReminder:!1,sortSubscriptionsByAlphabet:!1};try{va=JSON.parse(window.localStorage[ba])}catch(e){console.warn("Config read failed:",e),va=ya}function Sa(e){return void 0===va[e]&&(console.warn("Populating key",e,"with default value",ya[e]),va[e]=ya[e]),va[e]}function ka(e,t){console.info("Setting key",e,"to",t),va[e]=t,window.localStorage[ba]=JSON.stringify(va),xa.dispatchEvent(new CustomEvent("configChange",{detail:{key:e,value:t}}))}var xa={listeners:{},addEventListener(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},removeEventListener(e,t){this.listeners[e]&&(this.listeners[e]=this.listeners[e].filter(e=>e!==t))},dispatchEvent(e){var t=e.type;this.listeners[t]&&this.listeners[t].forEach(t=>{try{t.call(this,e)}catch(e){}})}};window.isPipPlaying=!1;var wa=null;function Ta(){var e=Object.values(window._yttv).find(e=>e&&e.mappings);wa=e.get("PlayerService");var t=e.get("PlaybackPreviewService"),i=t.start,n=t.stop;t.start=function(){if(!window.isPipPlaying){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.apply(this,t)}},t.stop=function(){if(!window.isPipPlaying){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n.apply(this,t)}}}"complete"===document.readyState?Ta():window.addEventListener("load",Ta);var Da={ytlrSearchVoice:{length:0,classes:[]},ytlrSearchVoiceMicButton:{length:0,classes:[]}};function Ea(e,t,i){var n={openPopupAction:{popupType:"TOAST",popup:{overlayToastRenderer:{title:{simpleText:e},subtitle:{simpleText:t}}}}};i&&(n.openPopupAction.popup.overlayToastRenderer.image.thumbnails=i),Qa(n)}function Ca(e,t,i,n){var a=function(e,t,i,n){var a="string"==typeof e?{title:e,subtitle:""}:e,r={openPopupAction:{popupType:"MODAL",popup:{overlaySectionRenderer:{overlay:{overlayTwoPanelRenderer:{actionPanel:{overlayPanelRenderer:{header:{overlayPanelHeaderRenderer:e.overlayPanelHeaderRenderer||{title:{simpleText:a.title}}},content:t}},backButton:{buttonRenderer:{accessibilityData:{accessibilityData:{label:"Back"}},command:{signalAction:{signal:"POPUP_BACK"}}}}}},dismissalCommand:{signalAction:{signal:"POPUP_BACK"}}}},uniqueId:i}};return a.subtitle&&(r.openPopupAction.popup.overlaySectionRenderer.overlay.overlayTwoPanelRenderer.actionPanel.overlayPanelRenderer.header.overlayPanelHeaderRenderer.subtitle={simpleText:a.subtitle}),n&&(r.openPopupAction.shouldMatchUniqueId=!0,r.openPopupAction.updateAction=!0),r}(e,t,i,n);Qa(a)}function Aa(e,t){return{overlayPanelItemListRenderer:{items:e,selectedIndex:t}}}function Pa(e,t,i){var n={compactLinkRenderer:{serviceEndpoint:{commandExecutorCommand:{commands:i}}}};return e&&(n.compactLinkRenderer.title={simpleText:e.title}),e.subtitle&&(n.compactLinkRenderer.subtitle={simpleText:e.subtitle}),t&&(n.compactLinkRenderer.icon={iconType:t.icon}),t&&t.secondaryIcon&&(n.compactLinkRenderer.secondaryIcon={iconType:t.secondaryIcon}),n}function Ba(e,t,i,n,a){return{timelyActionRenderer:{actionButtons:[{buttonRenderer:{isDisabled:!1,text:{runs:[{text:e}]},icon:{iconType:t},trackingParams:null,command:i}}],triggerTimeMs:n,timeoutMs:a,type:""}}}function za(e){return{clickTrackingParams:null,showMenuCommand:{contentId:e.videoId,thumbnail:{thumbnails:e.thumbnails},title:{simpleText:e.title},subtitle:{simpleText:e.subtitle},menu:{menuRenderer:{items:[Fa("Play",{clickTrackingParams:null,watchEndpoint:e.watchEndpointData}),Ia("Save to Watch Later",{clickTrackingParams:null,playlistEditEndpoint:{playlistId:"WL",actions:[{addedVideoId:e.videoId,action:"ACTION_ADD_VIDEO"}]}}),Fa("Save to Playlist",{clickTrackingParams:null,addToPlaylistEndpoint:{videoId:e.videoId}}),Ia("Add to Queue",{clickTrackingParams:null,playlistEditEndpoint:{customAction:{action:"ADD_TO_QUEUE",parameters:e.item}}})],trackingParams:null,accessibility:{accessibilityData:{label:"Video options"}}}}}}}function Ia(e,t){return{menuServiceItemRenderer:{text:{runs:[{text:e}]},serviceEndpoint:t,trackingParams:null}}}function Fa(e,t){return{menuNavigationItemRenderer:{text:{runs:[{text:e}]},navigationEndpoint:t,trackingParams:null}}}function Oa(e){return{overlayMessageRenderer:{title:{simpleText:e}}}}function ja(e,t,i,n){return{isDisabled:e,text:{runs:[{text:t}]},icon:{iconType:i},command:n,trackingParams:null}}new MutationObserver(()=>{if(window.isPipPlaying){var e=document.querySelector("ytlr-search-bar");if(e)if(!document.querySelector("#tt-pip-button")){var t=e.querySelector("ytlr-search-voice");if(t){for(var i=Object.values(window._yttv).find(e=>e instanceof Map&&e.has("CLEAR_COOKIES")),n=i.get("MICROPHONE_ON"),a=i.get("CLEAR_COOKIES"),r=document.createElement("ytlr-search-voice"),o=0;o<t.classList.length;o++){if(0===Da.ytlrSearchVoice.length&&(Da.ytlrSearchVoice.length=t.classList.length),Da.ytlrSearchVoice.length!==t.classList.length){var s,l=p(Da.ytlrSearchVoice.classes);try{for(l.s();!(s=l.n()).done;){var u=s.value;r.classList.add(u)}}catch(e){l.e(e)}finally{l.f()}break}Da.ytlrSearchVoice.classes.includes(t.classList[o])||Da.ytlrSearchVoice.classes.push(t.classList[o]),r.classList.add(t.classList[o])}r.style.left="10.25em",r.id="tt-pip-button";for(var c=document.createElement("ytlr-search-voice-mic-button"),d=0;d<t.children[0].classList.length;d++){if(0===Da.ytlrSearchVoiceMicButton.length&&(Da.ytlrSearchVoiceMicButton.length=t.children[0].classList.length),Da.ytlrSearchVoiceMicButton.length!==t.children[0].classList.length){var h,m=p(Da.ytlrSearchVoiceMicButton.classes);try{for(m.s();!(h=m.n()).done;){var g=h.value;c.classList.add(g)}}catch(e){m.e(e)}finally{m.f()}break}Da.ytlrSearchVoiceMicButton.classes.includes(t.children[0].classList[d])||Da.ytlrSearchVoiceMicButton.classes.push(t.children[0].classList[d]),c.classList.add(t.children[0].classList[d])}for(var f=document.createElement("yt-icon"),v=0;v<t.children[0].children[0].classList.length;v++)f.classList.add(t.children[0].children[0].classList[v]);f.classList.remove(n),f.classList.add(a),c.appendChild(f),r.appendChild(c),e.appendChild(r)}else{var b=document.createElement("ytlr-search-voice");b.style.left="10.25em",b.id="tt-pip-button",b.setAttribute("idomkey","ytLrSearchBarSearchVoice"),b.setAttribute("tabindex","0"),b.classList.add("ytLrSearchVoiceHost","ytLrSearchBarSearchVoice");var y=document.createElement("ytlr-search-voice-mic-button");y.setAttribute("hybridnavfocusable","true"),y.setAttribute("tabindex","-1"),y.classList.add("ytLrSearchVoiceMicButtonHost","zylon-ve");var S=document.createElement("yt-icon");S.setAttribute("tabindex","-1"),S.classList.add("ytContribIconTvArrowLeft","ytContribIconHost","ytLrSearchVoiceMicButtonIcon"),y.appendChild(S),b.appendChild(y),e.appendChild(b)}}}}).observe(document.body,{childList:!0,subtree:!0});var Ra,Ma={};var Na=(Ra||(Ra=1,Ma.qrcode=function(){var e=function(e,t){var i=e,n=c[t],a=null,r=0,o=null,s=new Array,l={},u=function(e,t){a=function(e){for(var t=new Array(e),i=0;i<e;i+=1){t[i]=new Array(e);for(var n=0;n<e;n+=1)t[i][n]=null}return t}(r=4*i+17),d(0,0),d(r-7,0),d(0,r-7),p(),h(),g(e,t),i>=7&&m(e),null==o&&(o=v(i,n,s)),f(o,t)},d=function(e,t){for(var i=-1;i<=7;i+=1)if(!(e+i<=-1||r<=e+i))for(var n=-1;n<=7;n+=1)t+n<=-1||r<=t+n||(a[e+i][t+n]=0<=i&&i<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==i||6==i)||2<=i&&i<=4&&2<=n&&n<=4)},h=function(){for(var e=8;e<r-8;e+=1)null==a[e][6]&&(a[e][6]=e%2==0);for(var t=8;t<r-8;t+=1)null==a[6][t]&&(a[6][t]=t%2==0)},p=function(){for(var e=y.getPatternPosition(i),t=0;t<e.length;t+=1)for(var n=0;n<e.length;n+=1){var r=e[t],o=e[n];if(null==a[r][o])for(var s=-2;s<=2;s+=1)for(var l=-2;l<=2;l+=1)a[r+s][o+l]=-2==s||2==s||-2==l||2==l||0==s&&0==l}},m=function(e){for(var t=y.getBCHTypeNumber(i),n=0;n<18;n+=1){var o=!e&&1==(t>>n&1);a[Math.floor(n/3)][n%3+r-8-3]=o}for(n=0;n<18;n+=1)o=!e&&1==(t>>n&1),a[n%3+r-8-3][Math.floor(n/3)]=o},g=function(e,t){for(var i=n<<3|t,o=y.getBCHTypeInfo(i),s=0;s<15;s+=1){var l=!e&&1==(o>>s&1);s<6?a[s][8]=l:s<8?a[s+1][8]=l:a[r-15+s][8]=l}for(s=0;s<15;s+=1)l=!e&&1==(o>>s&1),s<8?a[8][r-s-1]=l:s<9?a[8][15-s-1+1]=l:a[8][15-s-1]=l;a[r-8][8]=!e},f=function(e,t){for(var i=-1,n=r-1,o=7,s=0,l=y.getMaskFunction(t),u=r-1;u>0;u-=2)for(6==u&&(u-=1);;){for(var c=0;c<2;c+=1)if(null==a[n][u-c]){var d=!1;s<e.length&&(d=1==(e[s]>>>o&1)),l(n,u-c)&&(d=!d),a[n][u-c]=d,-1==(o-=1)&&(s+=1,o=7)}if((n+=i)<0||r<=n){n-=i,i=-i;break}}},v=function(e,t,i){for(var n=x.getRSBlocks(e,t),a=w(),r=0;r<i.length;r+=1){var o=i[r];a.put(o.getMode(),4),a.put(o.getLength(),y.getLengthInBits(o.getMode(),e)),o.write(a)}var s=0;for(r=0;r<n.length;r+=1)s+=n[r].dataCount;if(a.getLengthInBits()>8*s)throw new Error("code length overflow. ("+a.getLengthInBits()+">"+8*s+")");for(a.getLengthInBits()+4<=8*s&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(!1);for(;!(a.getLengthInBits()>=8*s||(a.put(236,8),a.getLengthInBits()>=8*s));)a.put(17,8);return function(e,t){for(var i=0,n=0,a=0,r=new Array(t.length),o=new Array(t.length),s=0;s<t.length;s+=1){var l=t[s].dataCount,u=t[s].totalCount-l;n=Math.max(n,l),a=Math.max(a,u),r[s]=new Array(l);for(var c=0;c<r[s].length;c+=1)r[s][c]=255&e.getBuffer()[c+i];i+=l;var d=y.getErrorCorrectPolynomial(u),h=k(r[s],d.getLength()-1).mod(d);for(o[s]=new Array(d.getLength()-1),c=0;c<o[s].length;c+=1){var p=c+h.getLength()-o[s].length;o[s][c]=p>=0?h.get(p):0}}var m=0;for(c=0;c<t.length;c+=1)m+=t[c].totalCount;var g=new Array(m),f=0;for(c=0;c<n;c+=1)for(s=0;s<t.length;s+=1)c<r[s].length&&(g[f]=r[s][c],f+=1);for(c=0;c<a;c+=1)for(s=0;s<t.length;s+=1)c<o[s].length&&(g[f]=o[s][c],f+=1);return g}(a,n)};return l.addData=function(e){var t=T(e);s.push(t),o=null},l.isDark=function(e,t){if(e<0||r<=e||t<0||r<=t)throw new Error(e+","+t);return a[e][t]},l.getModuleCount=function(){return r},l.make=function(){u(!1,function(){for(var e=0,t=0,i=0;i<8;i+=1){u(!0,i);var n=y.getLostPoint(l);(0==i||e>n)&&(e=n,t=i)}return t}())},l.createTableTag=function(e,t){e=e||2;var i="";i+='<table style="',i+=" border-width: 0px; border-style: none;",i+=" border-collapse: collapse;",i+=" padding: 0px; margin: "+(t=void 0===t?4*e:t)+"px;",i+='">',i+="<tbody>";for(var n=0;n<l.getModuleCount();n+=1){i+="<tr>";for(var a=0;a<l.getModuleCount();a+=1)i+='<td style="',i+=" border-width: 0px; border-style: none;",i+=" border-collapse: collapse;",i+=" padding: 0px; margin: 0px;",i+=" width: "+e+"px;",i+=" height: "+e+"px;",i+=" background-color: ",i+=l.isDark(n,a)?"#000000":"#ffffff",i+=";",i+='"/>';i+="</tr>"}return i+="</tbody>",i+="</table>"},l.createImgTag=function(e,t){e=e||2,t=void 0===t?4*e:t;var i=l.getModuleCount()*e+2*t,n=t,a=i-t;return A(i,i,function(t,i){if(n<=t&&t<a&&n<=i&&i<a){var r=Math.floor((t-n)/e),o=Math.floor((i-n)/e);return l.isDark(o,r)?0:1}return 1})},l};e.stringToBytes=function(e){for(var t=new Array,i=0;i<e.length;i+=1){var n=e.charCodeAt(i);t.push(255&n)}return t},e.createStringToBytes=function(e,t){var i=function(){for(var i=E(e),n=function(){var e=i.read();if(-1==e)throw new Error;return e},a=0,r={};;){var o=i.read();if(-1==o)break;var s=n(),l=n()<<8|n();r[String.fromCharCode(o<<8|s)]=l,a+=1}if(a!=t)throw new Error(a+" != "+t);return r}(),n="?".charCodeAt(0);return function(e){for(var t=new Array,a=0;a<e.length;a+=1){var r=e.charCodeAt(a);if(r<128)t.push(r);else{var o=i[e.charAt(a)];"number"==typeof o?(255&o)==o?t.push(o):(t.push(o>>>8),t.push(255&o)):t.push(n)}}return t}};var t,i,n,a,r,o=1,s=2,l=4,u=8,c={L:1,M:0,Q:3,H:2},d=0,h=1,p=2,m=3,g=4,f=5,v=6,b=7,y=(t=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],i=1335,n=7973,r=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t},(a={}).getBCHTypeInfo=function(e){for(var t=e<<10;r(t)-r(i)>=0;)t^=i<<r(t)-r(i);return 21522^(e<<10|t)},a.getBCHTypeNumber=function(e){for(var t=e<<12;r(t)-r(n)>=0;)t^=n<<r(t)-r(n);return e<<12|t},a.getPatternPosition=function(e){return t[e-1]},a.getMaskFunction=function(e){switch(e){case d:return function(e,t){return(e+t)%2==0};case h:return function(e,t){return e%2==0};case p:return function(e,t){return t%3==0};case m:return function(e,t){return(e+t)%3==0};case g:return function(e,t){return(Math.floor(e/2)+Math.floor(t/3))%2==0};case f:return function(e,t){return e*t%2+e*t%3==0};case v:return function(e,t){return(e*t%2+e*t%3)%2==0};case b:return function(e,t){return(e*t%3+(e+t)%2)%2==0};default:throw new Error("bad maskPattern:"+e)}},a.getErrorCorrectPolynomial=function(e){for(var t=k([1],0),i=0;i<e;i+=1)t=t.multiply(k([1,S.gexp(i)],0));return t},a.getLengthInBits=function(e,t){if(1<=t&&t<10)switch(e){case o:return 10;case s:return 9;case l:case u:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case o:return 12;case s:return 11;case l:return 16;case u:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case o:return 14;case s:return 13;case l:return 16;case u:return 12;default:throw new Error("mode:"+e)}}},a.getLostPoint=function(e){for(var t=e.getModuleCount(),i=0,n=0;n<t;n+=1)for(var a=0;a<t;a+=1){for(var r=0,o=e.isDark(n,a),s=-1;s<=1;s+=1)if(!(n+s<0||t<=n+s))for(var l=-1;l<=1;l+=1)a+l<0||t<=a+l||0==s&&0==l||o==e.isDark(n+s,a+l)&&(r+=1);r>5&&(i+=3+r-5)}for(n=0;n<t-1;n+=1)for(a=0;a<t-1;a+=1){var u=0;e.isDark(n,a)&&(u+=1),e.isDark(n+1,a)&&(u+=1),e.isDark(n,a+1)&&(u+=1),e.isDark(n+1,a+1)&&(u+=1),0!=u&&4!=u||(i+=3)}for(n=0;n<t;n+=1)for(a=0;a<t-6;a+=1)e.isDark(n,a)&&!e.isDark(n,a+1)&&e.isDark(n,a+2)&&e.isDark(n,a+3)&&e.isDark(n,a+4)&&!e.isDark(n,a+5)&&e.isDark(n,a+6)&&(i+=40);for(a=0;a<t;a+=1)for(n=0;n<t-6;n+=1)e.isDark(n,a)&&!e.isDark(n+1,a)&&e.isDark(n+2,a)&&e.isDark(n+3,a)&&e.isDark(n+4,a)&&!e.isDark(n+5,a)&&e.isDark(n+6,a)&&(i+=40);var c=0;for(a=0;a<t;a+=1)for(n=0;n<t;n+=1)e.isDark(n,a)&&(c+=1);return i+=Math.abs(100*c/t/t-50)/5*10},a),S=function(){for(var e=new Array(256),t=new Array(256),i=0;i<8;i+=1)e[i]=1<<i;for(i=8;i<256;i+=1)e[i]=e[i-4]^e[i-5]^e[i-6]^e[i-8];for(i=0;i<255;i+=1)t[e[i]]=i;var n={glog:function(e){if(e<1)throw new Error("glog("+e+")");return t[e]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return e[t]}};return n}();function k(e,t){if(void 0===e.length)throw new Error(e.length+"/"+t);var i=function(){for(var i=0;i<e.length&&0==e[i];)i+=1;for(var n=new Array(e.length-i+t),a=0;a<e.length-i;a+=1)n[a]=e[a+i];return n}(),n={get:function(e){return i[e]},getLength:function(){return i.length},multiply:function(e){for(var t=new Array(n.getLength()+e.getLength()-1),i=0;i<n.getLength();i+=1)for(var a=0;a<e.getLength();a+=1)t[i+a]^=S.gexp(S.glog(n.get(i))+S.glog(e.get(a)));return k(t,0)},mod:function(e){if(n.getLength()-e.getLength()<0)return n;for(var t=S.glog(n.get(0))-S.glog(e.get(0)),i=new Array(n.getLength()),a=0;a<n.getLength();a+=1)i[a]=n.get(a);for(a=0;a<e.getLength();a+=1)i[a]^=S.gexp(S.glog(e.get(a))+t);return k(i,0).mod(e)}};return n}var x=function(){var e=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16]],t=function(e,t){var i={};return i.totalCount=e,i.dataCount=t,i},i={getRSBlocks:function(i,n){var a=function(t,i){switch(i){case c.L:return e[4*(t-1)+0];case c.M:return e[4*(t-1)+1];case c.Q:return e[4*(t-1)+2];case c.H:return e[4*(t-1)+3];default:return}}(i,n);if(void 0===a)throw new Error("bad rs block @ typeNumber:"+i+"/errorCorrectLevel:"+n);for(var r=a.length/3,o=new Array,s=0;s<r;s+=1)for(var l=a[3*s+0],u=a[3*s+1],d=a[3*s+2],h=0;h<l;h+=1)o.push(t(u,d));return o}};return i}(),w=function(){var e=new Array,t=0,i={getBuffer:function(){return e},get:function(t){var i=Math.floor(t/8);return 1==(e[i]>>>7-t%8&1)},put:function(e,t){for(var n=0;n<t;n+=1)i.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return t},putBit:function(i){var n=Math.floor(t/8);e.length<=n&&e.push(0),i&&(e[n]|=128>>>t%8),t+=1}};return i},T=function(t){var i=l,n=e.stringToBytes(t),a={getMode:function(){return i},getLength:function(e){return n.length},write:function(e){for(var t=0;t<n.length;t+=1)e.put(n[t],8)}};return a},D=function(){var e=new Array,t={writeByte:function(t){e.push(255&t)},writeShort:function(e){t.writeByte(e),t.writeByte(e>>>8)},writeBytes:function(e,i,n){i=i||0,n=n||e.length;for(var a=0;a<n;a+=1)t.writeByte(e[a+i])},writeString:function(e){for(var i=0;i<e.length;i+=1)t.writeByte(e.charCodeAt(i))},toByteArray:function(){return e},toString:function(){var t="";t+="[";for(var i=0;i<e.length;i+=1)i>0&&(t+=","),t+=e[i];return t+="]"}};return t},E=function(e){var t=e,i=0,n=0,a=0,r={read:function(){for(;a<8;){if(i>=t.length){if(0==a)return-1;throw new Error("unexpected end of file./"+a)}var e=t.charAt(i);if(i+=1,"="==e)return a=0,-1;e.match(/^\s$/)||(n=n<<6|o(e.charCodeAt(0)),a+=6)}var r=n>>>a-8&255;return a-=8,r}},o=function(e){if(65<=e&&e<=90)return e-65;if(97<=e&&e<=122)return e-97+26;if(48<=e&&e<=57)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw new Error("c:"+e)};return r},C=function(e,t){var i=e,n=t,a=new Array(e*t),r={setPixel:function(e,t,n){a[t*i+e]=n},write:function(e){e.writeString("GIF87a"),e.writeShort(i),e.writeShort(n),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(i),e.writeShort(n),e.writeByte(0);var t=o(2);e.writeByte(2);for(var a=0;t.length-a>255;)e.writeByte(255),e.writeBytes(t,a,255),a+=255;e.writeByte(t.length-a),e.writeBytes(t,a,t.length-a),e.writeByte(0),e.writeString(";")}},o=function(e){for(var t=1<<e,i=1+(1<<e),n=e+1,r=s(),o=0;o<t;o+=1)r.add(String.fromCharCode(o));r.add(String.fromCharCode(t)),r.add(String.fromCharCode(i));var l=D(),u=function(e){var t=e,i=0,n=0,a={write:function(e,a){if(e>>>a!=0)throw new Error("length over");for(;i+a>=8;)t.writeByte(255&(e<<i|n)),a-=8-i,e>>>=8-i,n=0,i=0;n|=e<<i,i+=a},flush:function(){i>0&&t.writeByte(n)}};return a}(l);u.write(t,n);var c=0,d=String.fromCharCode(a[c]);for(c+=1;c<a.length;){var h=String.fromCharCode(a[c]);c+=1,r.contains(d+h)?d+=h:(u.write(r.indexOf(d),n),r.size()<4095&&(r.size()==1<<n&&(n+=1),r.add(d+h)),d=h)}return u.write(r.indexOf(d),n),u.write(i,n),u.flush(),l.toByteArray()},s=function(){var e={},t=0,i={add:function(n){if(i.contains(n))throw new Error("dup key:"+n);e[n]=t,t+=1},size:function(){return t},indexOf:function(t){return e[t]},contains:function(t){return void 0!==e[t]}};return i};return r},A=function(e,t,i,n){for(var a=C(e,t),r=0;r<t;r+=1)for(var o=0;o<e;o+=1)a.setPixel(o,r,i(o,r));var s=D();a.write(s);for(var l=function(){var e=0,t=0,i=0,n="",a={},r=function(e){n+=String.fromCharCode(o(63&e))},o=function(e){if(e<0);else{if(e<26)return 65+e;if(e<52)return e-26+97;if(e<62)return e-52+48;if(62==e)return 43;if(63==e)return 47}throw new Error("n:"+e)};return a.writeByte=function(n){for(e=e<<8|255&n,t+=8,i+=1;t>=6;)r(e>>>t-6),t-=6},a.flush=function(){if(t>0&&(r(e<<6-t),e=0,t=0),i%3!=0)for(var a=3-i%3,o=0;o<a;o+=1)n+="="},a.toString=function(){return n},a}(),u=s.toByteArray(),c=0;c<u.length;c+=1)l.writeByte(u[c]);l.flush();var d="";return d+="<img",d+=' src="',d+="data:image/gif;base64,",d+=l,d+='"',d+=' width="',d+=e,d+='"',d+=' height="',d+=t,d+='"',n&&(d+=' alt="',d+=n,d+='"'),d+="/>"};return e}()),Ma),La=X(Na),_a={language:{standard:{long:{aa:"Afar",ab:"Abkhazian",ace:"Acehnese",ach:"Acoli",ada:"Adangme",ady:"Adyghe",ae:"Avestan",aeb:"Tunisian Arabic",af:"Afrikaans",afh:"Afrihili",agq:"Aghem",ain:"Ainu",ak:"Akan",akk:"Akkadian",akz:"Alabama",ale:"Aleut",aln:"Gheg Albanian",alt:"Southern Altai",am:"Amharic",an:"Aragonese",ang:"Old English",ann:"Obolo",anp:"Angika",ar:"Arabic","ar-001":"Arabic (world)",arc:"Aramaic",arn:"Mapuche",aro:"Araona",arp:"Arapaho",arq:"Algerian Arabic",ars:"Najdi Arabic",arw:"Arawak",ary:"Moroccan Arabic",arz:"Egyptian Arabic",as:"Assamese",asa:"Asu",ase:"American Sign Language",ast:"Asturian",atj:"Atikamekw",av:"Avaric",avk:"Kotava",awa:"Awadhi",ay:"Aymara",az:"Azerbaijani",ba:"Bashkir",bal:"Baluchi",ban:"Balinese",bar:"Bavarian",bas:"Basaa",bax:"Bamun",bbc:"Batak Toba",bbj:"Ghomala",be:"Belarusian",bej:"Beja",bem:"Bemba",bew:"Betawi",bez:"Bena",bfd:"Bafut",bfq:"Badaga",bg:"Bulgarian",bgc:"Haryanvi",bgn:"Western Balochi",bho:"Bhojpuri",bi:"Bislama",bik:"Bikol",bin:"Bini",bjn:"Banjar",bkm:"Kom",bla:"Siksiká",blo:"Anii",blt:"Tai Dam",bm:"Bambara",bn:"Bangla",bo:"Tibetan",bpy:"Bishnupriya",bqi:"Bakhtiari",br:"Breton",bra:"Braj",brh:"Brahui",brx:"Bodo",bs:"Bosnian",bss:"Akoose",bua:"Buriat",bug:"Buginese",bum:"Bulu",byn:"Blin",byv:"Medumba",ca:"Catalan",cad:"Caddo",car:"Carib",cay:"Cayuga",cch:"Atsam",ccp:"Chakma",ce:"Chechen",ceb:"Cebuano",cgg:"Chiga",ch:"Chamorro",chb:"Chibcha",chg:"Chagatai",chk:"Chuukese",chm:"Mari",chn:"Chinook Jargon",cho:"Choctaw",chp:"Chipewyan",chr:"Cherokee",chy:"Cheyenne",cic:"Chickasaw",ckb:"Central Kurdish",clc:"Chilcotin",co:"Corsican",cop:"Coptic",cps:"Capiznon",cr:"Cree",crg:"Michif",crh:"Crimean Tatar",crj:"Southern East Cree",crk:"Plains Cree",crl:"Northern East Cree",crm:"Moose Cree",crr:"Carolina Algonquian",crs:"Seselwa Creole French",cs:"Czech",csb:"Kashubian",csw:"Swampy Cree",cu:"Church Slavic",cv:"Chuvash",cwd:"Woods Cree",cy:"Welsh",da:"Danish",dak:"Dakota",dar:"Dargwa",dav:"Taita",de:"German","de-AT":"German (Austria)","de-CH":"German (Switzerland)",del:"Delaware",den:"Slave",dgr:"Dogrib",din:"Dinka",dje:"Zarma",doi:"Dogri",dsb:"Lower Sorbian",dtp:"Central Dusun",dua:"Duala",dum:"Middle Dutch",dv:"Divehi",dyo:"Jola-Fonyi",dyu:"Dyula",dz:"Dzongkha",dzg:"Dazaga",ebu:"Embu",ee:"Ewe",efi:"Efik",egl:"Emilian",egy:"Ancient Egyptian",eka:"Ekajuk",el:"Greek",elx:"Elamite",en:"English","en-AU":"English (Australia)","en-CA":"English (Canada)","en-GB":"English (United Kingdom)","en-US":"English (United States)",enm:"Middle English",eo:"Esperanto",es:"Spanish","es-419":"Spanish (Latin America)","es-ES":"Spanish (Spain)","es-MX":"Spanish (Mexico)",esu:"Central Yupik",et:"Estonian",eu:"Basque",ewo:"Ewondo",ext:"Extremaduran",fa:"Persian","fa-AF":"Persian (Afghanistan)",fan:"Fang",fat:"Fanti",ff:"Fula",fi:"Finnish",fil:"Filipino",fit:"Tornedalen Finnish",fj:"Fijian",fo:"Faroese",fon:"Fon",fr:"French","fr-CA":"French (Canada)","fr-CH":"French (Switzerland)",frc:"Cajun French",frm:"Middle French",fro:"Old French",frp:"Arpitan",frr:"Northern Frisian",frs:"Eastern Frisian",fur:"Friulian",fy:"Western Frisian",ga:"Irish",gaa:"Ga",gag:"Gagauz",gan:"Gan Chinese",gay:"Gayo",gba:"Gbaya",gbz:"Zoroastrian Dari",gd:"Scottish Gaelic",gez:"Geez",gil:"Gilbertese",gl:"Galician",glk:"Gilaki",gmh:"Middle High German",gn:"Guarani",goh:"Old High German",gon:"Gondi",gor:"Gorontalo",got:"Gothic",grb:"Grebo",grc:"Ancient Greek",gsw:"Swiss German",gu:"Gujarati",guc:"Wayuu",gur:"Frafra",guz:"Gusii",gv:"Manx",gwi:"Gwichʼin",ha:"Hausa",hai:"Haida",hak:"Hakka Chinese",haw:"Hawaiian",hax:"Southern Haida",hdn:"Northern Haida",he:"Hebrew",hi:"Hindi","hi-Latn":"Hindi (Latin)",hif:"Fiji Hindi",hil:"Hiligaynon",hit:"Hittite",hmn:"Hmong",hnj:"Hmong Njua",ho:"Hiri Motu",hr:"Croatian",hsb:"Upper Sorbian",hsn:"Xiang Chinese",ht:"Haitian Creole",hu:"Hungarian",hup:"Hupa",hur:"Halkomelem",hy:"Armenian",hz:"Herero",ia:"Interlingua",iba:"Iban",ibb:"Ibibio",id:"Indonesian",ie:"Interlingue",ig:"Igbo",ii:"Sichuan Yi",ik:"Inupiaq",ike:"Eastern Canadian Inuktitut",ikt:"Western Canadian Inuktitut",ilo:"Iloko",inh:"Ingush",io:"Ido",is:"Icelandic",it:"Italian",iu:"Inuktitut",izh:"Ingrian",ja:"Japanese",jam:"Jamaican Creole English",jbo:"Lojban",jgo:"Ngomba",jmc:"Machame",jpr:"Judeo-Persian",jrb:"Judeo-Arabic",jut:"Jutish",jv:"Javanese",ka:"Georgian",kaa:"Kara-Kalpak",kab:"Kabyle",kac:"Kachin",kaj:"Jju",kam:"Kamba",kaw:"Kawi",kbd:"Kabardian",kbl:"Kanembu",kcg:"Tyap",kde:"Makonde",kea:"Kabuverdianu",ken:"Kenyang",kfo:"Koro",kg:"Kongo",kgp:"Kaingang",kha:"Khasi",kho:"Khotanese",khq:"Koyra Chiini",khw:"Khowar",ki:"Kikuyu",kiu:"Kirmanjki",kj:"Kuanyama",kk:"Kazakh",kkj:"Kako",kl:"Kalaallisut",kln:"Kalenjin",km:"Khmer",kmb:"Kimbundu",kn:"Kannada",ko:"Korean",koi:"Komi-Permyak",kok:"Konkani",kos:"Kosraean",kpe:"Kpelle",kr:"Kanuri",krc:"Karachay-Balkar",kri:"Krio",krj:"Kinaray-a",krl:"Karelian",kru:"Kurukh",ks:"Kashmiri",ksb:"Shambala",ksf:"Bafia",ksh:"Colognian",ku:"Kurdish",kum:"Kumyk",kut:"Kutenai",kv:"Komi",kw:"Cornish",kwk:"Kwakʼwala",kxv:"Kuvi",ky:"Kyrgyz",la:"Latin",lad:"Ladino",lag:"Langi",lah:"Western Panjabi",lam:"Lamba",lb:"Luxembourgish",lez:"Lezghian",lfn:"Lingua Franca Nova",lg:"Ganda",li:"Limburgish",lij:"Ligurian",lil:"Lillooet",liv:"Livonian",lkt:"Lakota",lmo:"Lombard",ln:"Lingala",lo:"Lao",lol:"Mongo",lou:"Louisiana Creole",loz:"Lozi",lrc:"Northern Luri",lsm:"Saamia",lt:"Lithuanian",ltg:"Latgalian",lu:"Luba-Katanga",lua:"Luba-Lulua",lui:"Luiseno",lun:"Lunda",luo:"Luo",lus:"Mizo",luy:"Luyia",lv:"Latvian",lzh:"Literary Chinese",lzz:"Laz",mad:"Madurese",maf:"Mafa",mag:"Magahi",mai:"Maithili",mak:"Makasar",man:"Mandingo",mas:"Masai",mde:"Maba",mdf:"Moksha",mdr:"Mandar",men:"Mende",mer:"Meru",mfe:"Morisyen",mg:"Malagasy",mga:"Middle Irish",mgh:"Makhuwa-Meetto",mgo:"Metaʼ",mh:"Marshallese",mi:"Māori",mic:"Mi'kmaw",min:"Minangkabau",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",mnc:"Manchu",mni:"Manipuri",moe:"Innu-aimun",moh:"Mohawk",mos:"Mossi",mr:"Marathi",mrj:"Western Mari",ms:"Malay",mt:"Maltese",mua:"Mundang",mul:"Multiple languages",mus:"Muscogee",mwl:"Mirandese",mwr:"Marwari",mwv:"Mentawai",my:"Burmese",mye:"Myene",myv:"Erzya",mzn:"Mazanderani",na:"Nauru",nan:"Min Nan Chinese",nap:"Neapolitan",naq:"Nama",nb:"Norwegian Bokmål",nd:"North Ndebele",nds:"Low German","nds-NL":"Low German (Netherlands)",ne:"Nepali",new:"Newari",ng:"Ndonga",nia:"Nias",niu:"Niuean",njo:"Ao Naga",nl:"Dutch","nl-BE":"Dutch (Belgium)",nmg:"Kwasio",nn:"Norwegian Nynorsk",nnh:"Ngiemboon",no:"Norwegian",nog:"Nogai",non:"Old Norse",nov:"Novial",nqo:"N’Ko",nr:"South Ndebele",nso:"Northern Sotho",nus:"Nuer",nv:"Navajo",nwc:"Classical Newari",ny:"Nyanja",nym:"Nyamwezi",nyn:"Nyankole",nyo:"Nyoro",nzi:"Nzima",oc:"Occitan",oj:"Ojibwa",ojb:"Northwestern Ojibwa",ojc:"Central Ojibwa",ojg:"Eastern Ojibwa",ojs:"Oji-Cree",ojw:"Western Ojibwa",oka:"Okanagan",om:"Oromo",or:"Odia",os:"Ossetic",osa:"Osage",ota:"Ottoman Turkish",pa:"Punjabi",pag:"Pangasinan",pal:"Pahlavi",pam:"Pampanga",pap:"Papiamento",pau:"Palauan",pcd:"Picard",pcm:"Nigerian Pidgin",pdc:"Pennsylvania German",pdt:"Plautdietsch",peo:"Old Persian",pfl:"Palatine German",phn:"Phoenician",pi:"Pali",pis:"Pijin",pl:"Polish",pms:"Piedmontese",pnt:"Pontic",pon:"Pohnpeian",pqm:"Maliseet-Passamaquoddy",prg:"Prussian",pro:"Old Provençal",ps:"Pashto",pt:"Portuguese","pt-BR":"Portuguese (Brazil)","pt-PT":"Portuguese (Portugal)",qu:"Quechua",quc:"Kʼicheʼ",qug:"Chimborazo Highland Quichua",raj:"Rajasthani",rap:"Rapanui",rar:"Rarotongan",rgn:"Romagnol",rhg:"Rohingya",rif:"Riffian",rm:"Romansh",rn:"Rundi",ro:"Romanian","ro-MD":"Romanian (Moldova)",rof:"Rombo",rom:"Romany",rtm:"Rotuman",ru:"Russian",rue:"Rusyn",rug:"Roviana",rup:"Aromanian",rw:"Kinyarwanda",rwk:"Rwa",sa:"Sanskrit",sad:"Sandawe",sah:"Yakut",sam:"Samaritan Aramaic",saq:"Samburu",sas:"Sasak",sat:"Santali",saz:"Saurashtra",sba:"Ngambay",sbp:"Sangu",sc:"Sardinian",scn:"Sicilian",sco:"Scots",sd:"Sindhi",sdc:"Sassarese Sardinian",sdh:"Southern Kurdish",se:"Northern Sami",see:"Seneca",seh:"Sena",sei:"Seri",sel:"Selkup",ses:"Koyraboro Senni",sg:"Sango",sga:"Old Irish",sgs:"Samogitian",sh:"Serbo-Croatian",shi:"Tachelhit",shn:"Shan",shu:"Chadian Arabic",si:"Sinhala",sid:"Sidamo",sk:"Slovak",sl:"Slovenian",slh:"Southern Lushootseed",sli:"Lower Silesian",sly:"Selayar",sm:"Samoan",sma:"Southern Sami",smj:"Lule Sami",smn:"Inari Sami",sms:"Skolt Sami",sn:"Shona",snk:"Soninke",so:"Somali",sog:"Sogdien",sq:"Albanian",sr:"Serbian","sr-ME":"Serbian (Montenegro)",srn:"Sranan Tongo",srr:"Serer",ss:"Swati",ssy:"Saho",st:"Southern Sotho",stq:"Saterland Frisian",str:"Straits Salish",su:"Sundanese",suk:"Sukuma",sus:"Susu",sux:"Sumerian",sv:"Swedish",sw:"Swahili","sw-CD":"Swahili (Congo - Kinshasa)",swb:"Comorian",syc:"Classical Syriac",syr:"Syriac",szl:"Silesian",ta:"Tamil",tce:"Southern Tutchone",tcy:"Tulu",te:"Telugu",tem:"Timne",teo:"Teso",ter:"Tereno",tet:"Tetum",tg:"Tajik",tgx:"Tagish",th:"Thai",tht:"Tahltan",ti:"Tigrinya",tig:"Tigre",tiv:"Tiv",tk:"Turkmen",tkl:"Tokelau",tkr:"Tsakhur",tl:"Tagalog",tlh:"Klingon",tli:"Tlingit",tly:"Talysh",tmh:"Tamashek",tn:"Tswana",to:"Tongan",tog:"Nyasa Tonga",tok:"Toki Pona",tpi:"Tok Pisin",tr:"Turkish",tru:"Turoyo",trv:"Taroko",trw:"Torwali",ts:"Tsonga",tsd:"Tsakonian",tsi:"Tsimshian",tt:"Tatar",ttm:"Northern Tutchone",ttt:"Muslim Tat",tum:"Tumbuka",tvl:"Tuvalu",tw:"Twi",twq:"Tasawaq",ty:"Tahitian",tyv:"Tuvinian",tzm:"Central Atlas Tamazight",udm:"Udmurt",ug:"Uyghur",uga:"Ugaritic",uk:"Ukrainian",umb:"Umbundu",und:"Unknown language",ur:"Urdu",uz:"Uzbek",vai:"Vai",ve:"Venda",vec:"Venetian",vep:"Veps",vi:"Vietnamese",vls:"West Flemish",vmf:"Main-Franconian",vmw:"Makhuwa",vo:"Volapük",vot:"Votic",vro:"Võro",vun:"Vunjo",wa:"Walloon",wae:"Walser",wal:"Wolaytta",war:"Waray",was:"Washo",wbp:"Warlpiri",wo:"Wolof",wuu:"Wu Chinese",xal:"Kalmyk",xh:"Xhosa",xmf:"Mingrelian",xnr:"Kangri",xog:"Soga",yao:"Yao",yap:"Yapese",yav:"Yangben",ybb:"Yemba",yi:"Yiddish",yo:"Yoruba",yrl:"Nheengatu",yue:"Cantonese",za:"Zhuang",zap:"Zapotec",zbl:"Blissymbols",zea:"Zeelandic",zen:"Zenaga",zgh:"Standard Moroccan Tamazight",zh:"Chinese","zh-Hans":"Simplified Chinese","zh-Hant":"Traditional Chinese",zu:"Zulu",zun:"Zuni",zxx:"No linguistic content",zza:"Zaza"}}},region:{long:{"001":"world","002":"Africa","003":"North America","005":"South America","009":"Oceania","011":"Western Africa","013":"Central America","014":"Eastern Africa","015":"Northern Africa","017":"Middle Africa","018":"Southern Africa","019":"Americas","021":"Northern America","029":"Caribbean","030":"Eastern Asia","034":"Southern Asia","035":"Southeast Asia","039":"Southern Europe","053":"Australasia","054":"Melanesia","057":"Micronesian Region","061":"Polynesia",142:"Asia",143:"Central Asia",145:"Western Asia",150:"Europe",151:"Eastern Europe",154:"Northern Europe",155:"Western Europe",202:"Sub-Saharan Africa",419:"Latin America",AC:"Ascension Island",AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua & Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Åland Islands",AZ:"Azerbaijan",BA:"Bosnia & Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"St. Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Caribbean Netherlands",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Congo - Kinshasa",CF:"Central African Republic",CG:"Congo - Brazzaville",CH:"Switzerland",CI:"Côte d’Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CP:"Clipperton Island",CQ:"Sark",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curaçao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czechia",DE:"Germany",DG:"Diego Garcia",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EA:"Ceuta & Melilla",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",EU:"European Union",EZ:"Eurozone",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia & South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong SAR China",HM:"Heard & McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",IC:"Canary Islands",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"St. Kitts & Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"St. Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"St. Martin",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar (Burma)",MN:"Mongolia",MO:"Macao SAR China",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"St. Pierre & Miquelon",PN:"Pitcairn Islands",PR:"Puerto Rico",PS:"Palestinian Territories",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",QO:"Outlying Oceania",RE:"Réunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"St. Helena",SI:"Slovenia",SJ:"Svalbard & Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"São Tomé & Príncipe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Eswatini",TA:"Tristan da Cunha",TC:"Turks & Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Türkiye",TT:"Trinidad & Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"U.S. Outlying Islands",UN:"United Nations",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Vatican City",VC:"St. Vincent & Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VI:"U.S. Virgin Islands",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis & Futuna",WS:"Samoa",XA:"Pseudo-Accents",XB:"Pseudo-Bidi",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"Unknown Region",BA:"Bosnia",GB:"UK",HK:"Hong Kong",MM:"Myanmar",MO:"Macao",PS:"Palestine",UN:"UN",US:"US"}}},Va=["af","sq","am","ar","hy","as","az","eu","be","bn","bs","bg","my","ca","zh-CN","zh-TW","zh-HK","hr","cs","da","nl","en","et","fil","fi","fr","gl","ka","de","el","gu","he","hi","hu","is","id","ga","it","ja","kn","kk","km","ko","ky","lo","lv","lt","mk","ms","ml","mt","mr","mn","ne","no","or","fa","pl","pt","pa","ro","ru","sr","si","sk","sl","es","sw","sv","ta","te","th","tr","uk","ur","uz","vi","cy","yi","yo","zu"];var Ha=!1;function Ua(e,t){return{compactLinkRenderer:{title:{simpleText:t},serviceEndpoint:{commandExecutorCommand:{commands:[{selectSubtitlesTrackCommand:{translationLanguage:{languageCode:e,languageName:t}}},{openClientOverlayAction:{type:"CLIENT_OVERLAY_TYPE_CAPTIONS_LANGUAGE",updateAction:!0}},{signalAction:{signal:"POPUP_BACK"}}]}},secondaryIcon:{iconType:"RADIO_BUTTON_UNCHECKED"}}}}function Wa(){if(!Ha){if(!document.querySelector(".html5-video-player"))return setTimeout(Wa,250);if(!window._yttv)return setTimeout(Wa,250);var e=Object.values(window._yttv).find(e=>e&&e.instance&&"function"==typeof e.instance.resolveCommand);if(e&&!e.instance.resolveCommand.isPatchedBySubtitleLocalization){var t=e.instance.resolveCommand;e.instance.resolveCommand=function(e,i){var n;if("CLIENT_OVERLAY_TYPE_CAPTIONS_AUTO_TRANSLATE"===(null==e||null===(n=e.openPopupAction)||void 0===n?void 0:n.uniqueId)){var a=Sa("enableShowUserLanguage"),r=Sa("enableShowOtherLanguages");if(!a&&!r)return t.apply(this,arguments);var o=e.openPopupAction.popup.overlaySectionRenderer.overlay.overlayTwoPanelRenderer.actionPanel.overlayPanelRenderer.content.overlayPanelItemListRenderer.items,s=function(e){var t=new Set;return e.forEach(e=>{if(e.compactLinkRenderer&&e.compactLinkRenderer.serviceEndpoint){var i,n=null===(i=e.compactLinkRenderer.serviceEndpoint.commandExecutorCommand)||void 0===i?void 0:i.commands;if(n&&n[0]&&n[0].selectSubtitlesTrackCommand){var a=n[0].selectSubtitlesTrackCommand.translationLanguage;a&&(t.add(a.languageCode),t.add(a.languageName))}}}),t}(o);if(a){var l=function(){try{return window.yt&&window.yt.config_&&window.yt.config_.GL?window.yt.config_.GL:(console.warn("TizenTube Subtitle Localization: Could not determine user country code"),null)}catch(e){return console.error("TizenTube Subtitle Localization: Error getting country code:",e),null}}(),u=function(e){if(!e)return null;try{var t=String(e).toUpperCase(),i={CN:"zh-CN",TW:"zh-TW",HK:"zh-HK",SG:"zh-CN"};if(i[t]){var n=i[t];return{code:n,name:_a.language.standard.long[n]||n}}var a=new Intl.Locale("und",{region:t}),r=(a.maximize?a.maximize():a).language||"en";return{code:r,name:_a.language.standard.long[r]||r}}catch(t){return console.warn("TizenTube Subtitle Localization: Could not infer language for country",e,t),null}}(l);if(u)if(function(e,t,i){return e.some(e=>{if(e.compactLinkRenderer&&e.compactLinkRenderer.serviceEndpoint){var n,a=null===(n=e.compactLinkRenderer.serviceEndpoint.commandExecutorCommand)||void 0===n?void 0:n.commands;if(a&&a[0]&&a[0].selectSubtitlesTrackCommand){var r=a[0].selectSubtitlesTrackCommand.translationLanguage;return r&&(r.languageCode===t||r.languageName===i)}}return!1})}(o,u.code,u.name))console.log(`%c[TizenTube Subtitle Localization] User's language ${u.name} already exists in menu`,"background: #4CAF50; color: #ffffff; font-size: 12px;");else{console.log(`%c[TizenTube Subtitle Localization] Adding user's local language: ${u.name} (${u.code})`,"background: #2196F3; color: #ffffff; font-size: 14px; font-weight: bold;");var c=Ua(u.code,u.name),d=o.findIndex(e=>{var t;return"Recommended languages"===(null===(t=e.overlayMessageRenderer)||void 0===t||null===(t=t.subtitle)||void 0===t?void 0:t.simpleText)});if(d>-1)o.splice(d+1,0,c),s.add(u.code),s.add(u.name);else{var h=o.findIndex(e=>{var t;return"Other languages"===(null===(t=e.overlayMessageRenderer)||void 0===t||null===(t=t.subtitle)||void 0===t?void 0:t.simpleText)});h>-1?o.splice(h,0,c):o.unshift(c),s.add(u.code),s.add(u.name)}}else console.warn(`TizenTube Subtitle Localization: No language mapping found for country code: ${l}`)}if(r){var p=Object.entries(function(){try{var e={};return Va.forEach(t=>{if(t.includes("-")){var i=S(t.split("-"),2),n=i[0],a=i[1],r=_a.language.standard.long[n]||t,o=_a.region.long[a]||a;e[t]=`${r} (${o})`}else{var s=_a.language.standard.long[t]||t;e[t]=s}}),e}catch(e){var t={};return Va.forEach(e=>t[e]=e),t}}()).filter(e=>{var t=S(e,2),i=t[0],n=t[1];return!s.has(i)&&!s.has(n)}).sort((e,t)=>{var i=S(e,2)[1],n=S(t,2)[1];return i.localeCompare(n)});p.length>0?(console.log(`%c[TizenTube Subtitle Localization] Adding "Tizen Languages" section with ${p.length} additional languages`,"background: #FF9800; color: #ffffff; font-size: 12px;"),o.push({overlayMessageRenderer:{title:{simpleText:""},subtitle:{simpleText:"Other Languages"},style:"OVERLAY_MESSAGE_STYLE_SUBSECTION_TITLE"}}),p.forEach(e=>{var t=S(e,2),i=t[0],n=t[1];o.push(Ua(i,n))}),console.log('%c[TizenTube Subtitle Localization] Added "Tizen Languages" section',"background: #FF9800; color: #ffffff; font-size: 12px;")):console.log("%c[TizenTube Subtitle Localization] All languages already present in menu","background: #4CAF50; color: #ffffff; font-size: 12px;")}}return t.apply(this,arguments)},e.instance.resolveCommand.isPatchedBySubtitleLocalization=!0,console.log("TizenTube Subtitle Localization: Patch successful!"),Ha=!0}else e?console.log("TizenTube Subtitle Localization: Already patched."):console.error("TizenTube Subtitle Localization: Could not find resolveCommand instance.")}}var Ka=setInterval(()=>{window._yttv&&Object.keys(window._yttv).length>0&&(Wa(),clearInterval(Ka))},1e3);"loading"===document.readyState?document.addEventListener("DOMContentLoaded",Wa):Wa(),console.log("TizenTube Subtitle Localization: Module loaded, waiting for YouTube TV...");var Ga={};function qa(e,t){for(var i,n=[],a=0,r=0,o=[{name:ha("settings.supportTT.title"),icon:"MONEY_HEART",value:null,options:{title:ha("settings.supportTT.title"),subtitle:ha("settings.supportTT.subtitle"),content:(i=[Oa(ha("settings.supportTT.content.1")),Oa(ha("settings.supportTT.content.2")),Oa(ha("settings.supportTT.content.3")),Oa(ha("settings.supportTT.content.4")),Oa(ha("settings.supportTT.content.5")),Oa(ha("settings.supportTT.content.6"))],{scrollPaneRenderer:{content:{scrollPaneItemListRenderer:{items:i}}}})}},{name:ha("settings.options.socialMedia.title"),icon:"PRIVACY_UNLISTED",value:null,options:[{name:"GitHub",link:"https://github.com/reisxd/TizenTube"},{name:"YouTube",link:"https://www.youtube.com/@tizenbrew"},{name:"Discord",link:"https://discord.gg/m2P7v8Y2qR"},{name:"Telegram (Announcements)",link:"https://t.me/tizentubecobaltofficial"},{name:"Telegram (Group)",link:"https://t.me/tizentubeofficial"},{name:"Website",link:"https://tizentube.6513006.xyz"},{name:"Buy Me A Coffee",link:"https://www.buymeacoffee.com/reisxd"},{name:"GitHub Sponsors",link:"https:///github.com/sponsors/reisxd"}].map(e=>{if(!Ga[e.name]){var t=La.qrcode(6,"H");t.addData(e.link),t.make();var i=t.createImgTag(8,8).match(/src="([^"]+)"/)[1];Ga[e.name]=i}return{name:e.name,icon:"OPEN_IN_NEW",value:null,options:{title:e.name,subtitle:e.link,content:Aa([Oa(ha("settings.options.socialMedia.qrCodeScanMessage",{name:e.name})),(n=Ga[e.name],{qrCodeRenderer:{qrCodeImage:{thumbnails:[{url:n}]},style:"QR_CODE_RENDERER_STYLE_ATA_SIDESHEET",trackingParams:null}})])}};var n})},{name:ha("settings.options.adBlock"),icon:"DOLLAR_SIGN",value:"enableAdBlock"},{name:ha("settings.options.sponsorblock.title"),icon:"MONEY_HAND",value:null,menuId:"tt-sponsorblock-settings",menuHeader:{title:ha("settings.options.sponsorblock.title"),subtitle:"https://sponsor.ajay.app/"},options:[{name:ha("settings.options.sponsorblock.options.enableSB"),icon:"MONEY_HAND",value:"enableSponsorBlock"},{name:ha("settings.options.sponsorblock.options.manualSkip"),icon:"DOLLAR_SIGN",value:null,arrayToEdit:"sponsorBlockManualSkips",menuId:"tt-sponsorblock-manual-segment-skip",options:[{name:ha("settings.options.sponsorblock.options.categories.sponsor"),icon:"MONEY_HEART",value:"sponsor"},{name:ha("settings.options.sponsorblock.options.categories.intro"),icon:"PLAY_CIRCLE",value:"intro"},{name:ha("settings.options.sponsorblock.options.categories.outro"),value:"outro"},{name:ha("settings.options.sponsorblock.options.categories.interaction"),value:"interaction"},{name:ha("settings.options.sponsorblock.options.categories.selfpromo"),value:"selfpromo"},{name:ha("settings.options.sponsorblock.options.categories.preview"),value:"preview"},{name:ha("settings.options.sponsorblock.options.categories.filler"),value:"filler"},{name:ha("settings.options.sponsorblock.options.categories.music_offtopic"),value:"music_offtopic"}]},{name:ha("settings.options.sponsorblock.options.segments"),icon:"SETTINGS",value:null,menuId:"tt-sponsorblock-segments",options:[{name:ha("settings.options.sponsorblock.options.categories.sponsor"),icon:"MONEY_HEART",value:"enableSponsorBlockSponsor"},{name:ha("settings.options.sponsorblock.options.categories.intro"),icon:"PLAY_CIRCLE",value:"enableSponsorBlockIntro"},{name:ha("settings.options.sponsorblock.options.categories.outro"),value:"enableSponsorBlockOutro"},{name:ha("settings.options.sponsorblock.options.categories.interaction"),value:"enableSponsorBlockInteraction"},{name:ha("settings.options.sponsorblock.options.categories.selfpromo"),value:"enableSponsorBlockSelfPromo"},{name:ha("settings.options.sponsorblock.options.categories.preview"),value:"enableSponsorBlockPreview"},{name:ha("settings.options.sponsorblock.options.categories.filler"),value:"enableSponsorBlockFiller"},{name:ha("settings.options.sponsorblock.options.categories.music_offtopic"),value:"enableSponsorBlockMusicOfftopic"},{name:ha("settings.options.sponsorblock.options.categories.highlights"),icon:"LOCATION_POINT",value:"enableSponsorBlockHighlight"}]},{name:ha("settings.options.sponsorblock.options.showSBToasts"),value:"enableSponsorBlockToasts"}]},{name:ha("settings.options.dearrow.title"),icon:"VISIBILITY_OFF",value:null,menuHeader:{title:ha("settings.options.dearrow.title"),subtitle:"https://dearrow.ajay.app/"},options:[{name:ha("settings.options.dearrow.options.enableDA"),icon:"VISIBILITY_OFF",value:"enableDeArrow"},{name:ha("settings.options.dearrow.options.enableDAThumbnails"),icon:"TV",value:"enableDeArrowThumbnails"}]},{name:ha("settings.options.misc.title"),icon:"SETTINGS",value:null,options:[{name:ha("settings.options.misc.options.endScreenCards"),icon:"VISIBILITY_OFF",value:"enableHideEndScreenCards"},{name:ha("settings.options.misc.options.youThereRenderer"),icon:"HELP",value:"enableYouThereRenderer"},{name:ha("settings.options.misc.options.paidPromoOverlay"),icon:"MONEY_HAND",value:"enablePaidPromotionOverlay"},{name:ha("settings.options.misc.options.whosWatching.title"),icon:"ACCOUNT_CIRCLE",menuId:"tt-whos-watching-menu-settings",value:null,options:[{name:ha("settings.options.misc.options.whosWatching.options.enableWW"),value:"enableWhoIsWatchingMenu"},{name:ha("settings.options.misc.options.whosWatching.options.permaEnableWW"),value:"permanentlyEnableWhoIsWatchingMenu"},{name:ha("settings.options.misc.options.whosWatching.options.enableWWOnExit"),value:"enableWhosWatchingMenuOnAppExit"}]},{name:ha("settings.options.misc.options.fixUI"),icon:"STAR",value:"enableFixedUI"},{name:ha("settings.options.misc.options.hqThumbnails"),icon:"VIDEO_QUALITY",value:"enableHqThumbnails"},{name:ha("settings.options.misc.options.longPress"),value:"enableLongPress"},{name:ha("settings.options.misc.options.shorts"),icon:"YOUTUBE_SHORTS_FILL_24",value:"enableShorts"},{name:ha("settings.options.misc.options.videoPreviews"),value:"enablePreviews"},{name:ha("settings.options.misc.options.ttWelcomeMsg"),value:"showWelcomeToast"},{name:ha("settings.options.misc.options.guestSignInReminder"),value:"enableSigninReminder"},{name:ha("settings.options.misc.options.reloadHomeOnStartup"),value:"reloadHomeOnStartup"}]},{name:ha("settings.options.subtitles.title"),icon:"TRANSLATE",value:null,options:[{name:ha("settings.options.subtitles.options.showLocalSubtitle"),value:"enableShowUserLanguage"},{name:ha("settings.options.subtitles.options.showHiddenSubtitles"),value:"enableShowOtherLanguages"}]},{name:ha("settings.options.videoPlayer.title"),icon:"VIDEO_YOUTUBE",value:null,menuHeader:{title:ha("settings.options.videoPlayer.title"),subtitle:ha("settings.options.videoPlayer.subtitle")},options:[{name:ha("settings.options.videoPlayer.options.patching.title"),icon:"SETTINGS",value:null,menuId:"tt-video-player-ui-patching",options:[{name:ha("settings.options.videoPlayer.options.patching.options.enableVPUIPatching"),icon:"SETTINGS",value:"enablePatchingVideoPlayer"},{name:ha("settings.options.videoPlayer.options.patching.options.previousNextBtns"),icon:"SKIP_NEXT",value:"enablePreviousNextButtons"},{name:ha("settings.options.videoPlayer.options.patching.options.showSuperThxBtn"),icon:"MONEY_HEART",value:"enableSuperThanksButton"},{name:ha("settings.options.videoPlayer.options.patching.options.showSpeedCtrlBtn"),icon:"SLOW_MOTION_VIDEO",value:"enableSpeedControlsButton"}]},{name:ha("settings.options.videoPlayer.options.preferredVideoQuality.title"),icon:"VIDEO_QUALITY",value:null,menuId:"tt-preferred-video-quality",menuHeader:{title:ha("settings.options.videoPlayer.options.preferredVideoQuality.title"),subtitle:ha("settings.options.videoPlayer.options.preferredVideoQuality.subtitle")},options:["Auto","2160p","1440p","1080p","720p","480p","360p","240p","144p"].map(e=>({name:e,key:"preferredVideoQuality",value:e.toLowerCase()}))},{name:ha("settings.options.videoPlayer.options.speedSettings.title"),icon:"SLOW_MOTION_VIDEO",value:null,menuId:"tt-speed-settings-increments",menuHeader:{title:ha("settings.options.videoPlayer.options.speedSettings.title"),subtitle:ha("settings.options.videoPlayer.options.speedSettings.subtitle")},options:[.05,.1,.15,.2,.25,.3,.35,.4,.45,.5].map(e=>({name:`${e}x`,key:"speedSettingsIncrement",value:e}))},{name:ha("settings.options.videoPlayer.options.preferredVideoCodec.title"),icon:"VIDEO_QUALITY",value:null,menuId:"tt-preferred-video-codec",menuHeader:{title:ha("settings.options.videoPlayer.options.preferredVideoCodec.title"),subtitle:ha("settings.options.videoPlayer.options.preferredVideoCodec.subtitle")},options:["any","vp9","av01","avc1"].map(e=>({name:"any"===e?"Any":e.toUpperCase(),key:"preferredVideoCodec",value:e}))},window.h5vcc&&window.h5vcc.tizentube&&window.h5vcc.tizentube.SetFrameRate?{name:ha("settings.options.videoPlayer.options.afr"),icon:"SLOW_MOTION_VIDEO",value:"autoFrameRate"}:null,window.h5vcc&&window.h5vcc.tizentube&&window.h5vcc.tizentube.SetFrameRate?{name:ha("settings.options.videoPlayer.options.afrPauseDuration.title"),icon:"TIMER",value:null,menuId:"tt-auto-frame-rate-pause-duration",menuHeader:{title:ha("settings.options.videoPlayer.options.afrPauseDuration.title"),subtitle:ha("settings.options.videoPlayer.options.afrPauseDuration.subtitle")},options:[0,.5,1,1.5,2,2.5,3,3.5,4,4.5,5].map(e=>({name:`${e} seconds`,key:"autoFrameRatePauseVideoFor",value:1e3*e}))}:null]},{name:ha("settings.options.uiSettings.title"),icon:"SETTINGS",value:null,menuHeader:{title:ha("settings.options.uiSettings.title"),subtitle:ha("settings.options.uiSettings.subtitle")},options:[{name:ha("settings.options.uiSettings.options.hideWatchedVideos.title"),icon:"VISIBILITY_OFF",value:null,menuId:"tt-hide-watched-videos-settings",options:[{name:ha("settings.options.uiSettings.options.hideWatchedVideos.options.enableHideWatchedVideos"),icon:"VISIBILITY_OFF",value:"enableHideWatchedVideos"},{name:ha("settings.options.uiSettings.options.hideWatchedVideos.options.watchedVideosThreshold.title"),value:null,menuId:"tt-hide-watched-videos-threshold",menuHeader:{title:ha("settings.options.uiSettings.options.hideWatchedVideos.options.watchedVideosThreshold.title"),subtitle:ha("settings.options.uiSettings.options.hideWatchedVideos.options.watchedVideosThreshold.subtitle")},options:[0,10,20,30,40,50,60,70,80,90,100].map(e=>({name:`${e}%`,key:"hideWatchedVideosThreshold",value:e}))},{name:ha("settings.options.uiSettings.options.hideWatchedVideos.options.setPagesToHideWatchedVideos"),value:null,arrayToEdit:"hideWatchedVideosPages",menuId:"tt-hide-watched-videos-pages",options:[{name:"Search Results",value:"search"},{name:"Home",value:"home"},{name:"Music",value:"music"},{name:"Gaming",value:"gaming"},{name:"Subscriptions",value:"subscriptions"},{name:"Library",value:"library"},{name:"More",value:"more"}]}]},{name:ha("settings.options.uiSettings.options.screenDimming.title"),icon:"EYE_OFF",value:null,menuId:"tt-screen-dimming-settings",options:[{name:ha("settings.options.uiSettings.options.screenDimming.options.enableScreenDimming"),icon:"EYE_OFF",value:"enableScreenDimming"},{name:ha("settings.options.uiSettings.options.screenDimming.options.dimmingTimeout.title"),icon:"TIMER",value:null,menuId:"tt-dimming-timeout",menuHeader:{title:ha("settings.options.uiSettings.options.screenDimming.options.dimmingTimeout.title"),subtitle:ha("settings.options.uiSettings.options.screenDimming.options.dimmingTimeout.subtitle")},options:[10,20,30,60,120,180,240,300].map(e=>({name:e>=60?`${e/60} minute${e/60>1?"s":""}`:`${e} seconds`,key:"dimmingTimeout",value:e}))},{name:ha("settings.options.uiSettings.options.screenDimming.options.dimmingOpacity.title"),icon:"LENS_BLUE",value:null,menuId:"tt-dimming-opacity",menuHeader:{title:ha("settings.options.uiSettings.options.screenDimming.options.dimmingOpacity.title"),subtitle:ha("settings.options.uiSettings.options.screenDimming.options.dimmingOpacity.subtitle")},options:[.1,.2,.3,.4,.5,.6,.7,.8,.9,1].map(e=>({name:`${Math.round(100*e)}%`,key:"dimmingOpacity",value:e}))}]},{name:ha("settings.options.uiSettings.options.disableSidebarContents.title"),icon:"MENU",value:null,arrayToEdit:"disabledSidebarContents",menuId:"tt-sidebar-contents",menuHeader:{title:ha("settings.options.uiSettings.options.disableSidebarContents.title"),subtitle:ha("settings.options.uiSettings.options.disableSidebarContents.subtitle")},options:[{name:"Search",icon:"SEARCH",value:"SEARCH"},{name:"Home",icon:"WHAT_TO_WATCH",value:"WHAT_TO_WATCH"},{name:"Sports",icon:"TROPHY",value:"TROPHY"},{name:"News",icon:"NEWS",value:"NEWS"},{name:"Music",icon:"YOUTUBE_MUSIC",value:"YOUTUBE_MUSIC"},{name:"Podcasts",icon:"BROADCAST",value:"BROADCAST"},{name:"Movies & TV",icon:"CLAPPERBOARD",value:"CLAPPERBOARD"},{name:"Live",icon:"LIVE",value:"LIVE"},{name:"Gaming",icon:"GAMING",value:"GAMING"},{name:"Subscriptions",icon:"SUBSCRIPTIONS",value:"SUBSCRIPTIONS"},{name:"Library",icon:"TAB_LIBRARY",value:"TAB_LIBRARY"},{name:"More",icon:"TAB_MORE",value:"TAB_MORE"}]},{name:ha("settings.options.uiSettings.options.launchToOnStartup.title"),icon:"TV",value:null,menuId:"tt-launch-to-on-startup",menuHeader:{title:ha("settings.options.uiSettings.options.launchToOnStartup.title"),subtitle:ha("settings.options.uiSettings.options.launchToOnStartup.subtitle")},options:[{name:"Search",icon:"SEARCH",key:"launchToOnStartup",value:JSON.stringify({searchEndpoint:{query:""}})},{name:"Home",icon:"WHAT_TO_WATCH",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics"}})},{name:"Sports",icon:"TROPHY",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_sports"}})},{name:"News",icon:"NEWS",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_news"}})},{name:"Music",icon:"YOUTUBE_MUSIC",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_music"}})},{name:"Podcasts",icon:"BROADCAST",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_podcasts"}})},{name:"Movies & TV",icon:"CLAPPERBOARD",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_movies"}})},{name:"Gaming",icon:"GAMING",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_gaming"}})},{name:"Live",icon:"LIVE",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_live"}})},{name:"Subscriptions",icon:"SUBSCRIPTIONS",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEsubscriptions"}})},{name:"Library",icon:"TAB_LIBRARY",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FElibrary"}})},{name:"More",icon:"TAB_MORE",key:"launchToOnStartup",value:JSON.stringify({browseEndpoint:{browseId:"FEtopics_more"}})}]},{name:ha("settings.options.uiSettings.options.sortSubscriptionsByAlphabet"),icon:"SUBSCRIPTIONS",value:"sortSubscriptionsByAlphabet"},{name:ha("settings.options.uiSettings.options.disableChannelsOnSidebar"),value:"disableChannelsOnSidebar"}]},window.h5vcc&&window.h5vcc.tizentube?{name:ha("settings.options.updater.title"),icon:"SYSTEM_UPDATE",value:null,menuHeader:{title:ha("settings.options.updater.title"),subtitle:ha("settings.options.updater.menuSubtitle")},subtitle:ha("settings.options.updater.versionSubtitle",{version:window.h5vcc.tizentube.GetVersion()}),options:[Pa({title:ha("settings.options.updater.options.checkForUpdates")},{icon:"SYSTEM_UPDATE"},[{customAction:{action:"CHECK_FOR_UPDATES"}}]),{name:ha("settings.options.updater.options.checkForUpdatesOnStartup"),icon:"SYSTEM_UPDATE",value:"enableUpdater"}]}:null];r<o.length;r++){var s,l=o[r];if(l){var u=l.value?Sa(l.value):null;n.push(Pa({title:l.name,subtitle:l.subtitle},{icon:l.icon?l.icon:"CHEVRON_DOWN",secondaryIcon:null===u?"CHEVRON_RIGHT":u?"CHECK_BOX":"CHECK_BOX_OUTLINE_BLANK"},null!==u?[{setClientSettingEndpoint:{settingDatas:[{clientSettingEnum:{item:l.value},boolValue:!Sa(l.value)}]}},{customAction:{action:"SETTINGS_UPDATE",parameters:[a]}}]:[{customAction:{action:"OPTIONS_SHOW",parameters:{options:l.options,selectedIndex:0,update:!(null===(s=l.options)||void 0===s||!s.title)&&"customUI",menuId:l.menuId,arrayToEdit:l.arrayToEdit,menuHeader:l.menuHeader}}}])),a++}}Ca({title:ha("settings.ttSettings.title"),subtitle:ha("settings.ttSettings.madeByText")},Aa(n,t&&t.length>0?t[0]:0),"tt-settings",e)}var Ja=setInterval(()=>{document.querySelector("video")&&(!function(){document.querySelector("video").addEventListener("canplay",()=>{document.getElementsByTagName("video")[0].playbackRate=Sa("videoSpeed")});var e=e=>{if(406==e.keyCode||191==e.keyCode)return e.preventDefault(),e.stopPropagation(),"keydown"!==e.type||(Xa(),!1)};document.addEventListener("keydown",e,!0),document.addEventListener("keypress",e,!0),document.addEventListener("keyup",e,!0)}(),clearInterval(Ja))},1e3);function Xa(){for(var e=Sa("videoSpeed"),t=0,i=Sa("speedSettingsIncrement")||.25,n=[],a=i;a<=5;a+=i){var r=Math.round(100*a)/100;n.push(Pa({title:`${r}x`},null,[{signalAction:{signal:"POPUP_BACK"}},{setClientSettingEndpoint:{settingDatas:[{clientSettingEnum:{item:"videoSpeed"},intValue:r.toString()}]}},{customAction:{action:"SET_PLAYER_SPEED",parameters:r.toString()}}])),e===r&&(t=n.length-1)}n.push(Pa({title:"Fix stuttering (1.0001x)"},null,[{signalAction:{signal:"POPUP_BACK"}},{setClientSettingEndpoint:{settingDatas:[{clientSettingEnum:{item:"videoSpeed"},intValue:"1.0001"}]}},{customAction:{action:"SET_PLAYER_SPEED",parameters:"1.0001"}}])),Ca("Playback Speed",Aa(n,t),"tt-speed")}if(window.h5vcc&&window.h5vcc.tizentube&&Sa("enableUpdater")){var Ya=Math.floor(Date.now()/1e3);Sa("dontCheckUpdateUntil")>Ya?console.info("Skipping update check until",new Date(1e3*Sa("dontCheckUpdateUntil")).toLocaleString()):$a()}function $a(e){var t=window.h5vcc.tizentube.GetVersion(),i=Math.floor(Date.now()/1e3);fetch("https://api.github.com/repos/reisxd/TizenTubeCobalt/releases/latest").then(e=>{if(!e.ok)throw new Error("Network response was not ok");return e.json()}).then(n=>{var a,r,o=n.tag_name.replace("v",""),s=new Date(n.published_at).getTime()/1e3;window.h5vcc.tizentube.GetArchitecture&&(a=window.h5vcc.tizentube.GetArchitecture()),r=a?"arm64-v8a"===a?n.assets.find(e=>e.name.includes("arm64.apk")).browser_download_url:n.assets.find(e=>e.name.includes("arm.apk")).browser_download_url:n.assets[0].browser_download_url,o!==t?(console.info(`New version available: ${o} (current: ${t})`),Ca({title:"Update Available",subtitle:`A new version of TizenTube Cobalt is available: ${o}\nCurrent version: ${t}\nRelease Date: ${new Date(1e3*s).toLocaleString()}\nRelease Notes:\n${n.body}`},Aa([Pa({title:"Update Now",subtitle:"Click to download the latest version."},{icon:"DOWN_ARROW"},[{customAction:{action:"UPDATE_DOWNLOAD",parameters:r}},{signalAction:{signal:"POPUP_BACK"}}]),Pa({title:"Remind Me Later",subtitle:"Check for updates later."},{icon:"SEARCH_HISTORY"},[{customAction:{action:"UPDATE_REMIND_LATER",parameters:i+86400}},{signalAction:{signal:"POPUP_BACK"}}])]),"tt-update-modal",!1)):(console.info("You are using the latest version of TizenTube."),e&&Ea("TizenTube is up to date",`You are using the latest version (${t}) of TizenTube Cobalt.`,null))}).catch(e=>{console.error("Error fetching the latest release:",e),Ea("TizenTube update check failed","Could not check for updates.",null)})}function Qa(e,t){for(var i in window._yttv)if(window._yttv[i]&&window._yttv[i].instance&&window._yttv[i].instance.resolveCommand)return window._yttv[i].instance.resolveCommand(e,t)}function Za(e,t){switch(e){case"SETTINGS_UPDATE":qa(!0,t);break;case"OPTIONS_SHOW":!function(e,t){if("customUI"!==t){var i=[];if(void 0!==e.arrayToEdit){var n,a=Sa(e.arrayToEdit),r=p(e.options);try{for(r.s();!(n=r.n()).done;){var o=n.value;i.push(Pa({title:o.name,subtitle:o.subtitle},{icon:o.icon?o.icon:"CHEVRON_DOWN",secondaryIcon:a.includes(o.value)?"CHECK_BOX":"CHECK_BOX_OUTLINE_BLANK"},[{setClientSettingEndpoint:{settingDatas:[{clientSettingEnum:{item:e.arrayToEdit},arrayValue:o.value}]}},{customAction:{action:"OPTIONS_SHOW",parameters:{options:e.options,selectedIndex:e.options.indexOf(o),update:!0,menuId:e.menuId,arrayToEdit:e.arrayToEdit,menuHeader:e.menuHeader}}}]))}}catch(e){r.e(e)}finally{r.f()}}else{var s,l=0,u=p(e.options);try{for(u.s();!(s=u.n()).done;){var c,d,h,m=s.value;if(m)if(m.compactLinkRenderer)i.push(m),l++;else{var g=null!==m.key&&void 0!==m.key,f=Sa(g?m.key:m.value);i.push(Pa({title:m.name,subtitle:m.subtitle},{icon:m.icon?m.icon:"CHEVRON_DOWN",secondaryIcon:g?f===m.value?"RADIO_BUTTON_CHECKED":"RADIO_BUTTON_UNCHECKED":null===m.value?"CHEVRON_RIGHT":f?"CHECK_BOX":"CHECK_BOX_OUTLINE_BLANK"},null===m.value?[{customAction:{action:"OPTIONS_SHOW",parameters:{options:m.options,selectedIndex:0,update:!(null===(c=m.options)||void 0===c||!c.title)&&"customUI",menuId:m.menuId,arrayToEdit:m.arrayToEdit,menuHeader:m.menuHeader}}}]:null!==m.key&&void 0!==m.key?[{setClientSettingEndpoint:{settingDatas:[{clientSettingEnum:{item:m.key},stringValue:m.value}]}},{customAction:{action:"OPTIONS_SHOW",parameters:{options:e.options,selectedIndex:l,update:null===(d=e.options)||void 0===d||!d.title||"customUI",menuId:e.menuId,arrayToEdit:e.arrayToEdit,menuHeader:e.menuHeader}}}]:[{setClientSettingEndpoint:{settingDatas:[{clientSettingEnum:{item:m.value},boolValue:!f}]}},{customAction:{action:"OPTIONS_SHOW",parameters:{options:e.options,selectedIndex:l,update:null===(h=e.options)||void 0===h||!h.title||"customUI",menuId:e.menuId,arrayToEdit:e.arrayToEdit,menuHeader:e.menuHeader}}}])),l++}}}catch(e){u.e(e)}finally{u.f()}}Ca(e.menuHeader?e.menuHeader:"TizenTube Settings",Aa(i,e.selectedIndex),e.menuId||"tt-settings-options",t)}else{var v=e.options;Ca({title:v.title,subtitle:v.subtitle},v.content,"tt-settings-support",!1)}}(t,t.update);break;case"SKIP":var i=document.createEvent("Event");i.initEvent("keydown",!0,!0),i.keyCode=27,i.which=27,document.dispatchEvent(i),document.querySelector("video").currentTime=t.time;break;case"TT_SETTINGS_SHOW":qa();break;case"TT_SPEED_SETTINGS_SHOW":Xa();break;case"UPDATE_REMIND_LATER":ka("dontCheckUpdateUntil",t);break;case"UPDATE_DOWNLOAD":window.h5vcc.tizentube.InstallAppFromURL(t),Ea("TizenTube Update","Downloading update, please wait...");break;case"SET_PLAYER_SPEED":var n=Number(t);document.querySelector("video").playbackRate=n;break;case"ENTER_MP":!function(){if(wa){var e=Math.floor(document.querySelector("video").currentTime),t=document.querySelector("video"),i=document.querySelector("ytlr-player"),n=document.querySelector("ytlr-player-container"),a=new MutationObserver(r=>{r.forEach(r=>{if("class"===r.attributeName&&!i.classList.contains("ytLrPlayerEnabled")){function o(){n.style.zIndex="10",i.style.display="block",i.style.backgroundColor="rgba(0,0,0,0)"}function s(){t.style.removeProperty("inset");var e=window.innerWidth/3.5,i=window.innerHeight/3.5;t.style.width=`${e}px`,t.style.height=`${i}px`,t.style.top="68vh",t.style.left="68vw",window.isPipPlaying=!0,t.removeEventListener("play",s)}o(),setTimeout(o,500),t.addEventListener("play",s),a.disconnect(),setTimeout(()=>{wa.loadedPlaybackConfig.watchEndpoint.startTimeSeconds=e,wa.loadVideo(wa.loadedPlaybackConfig)},1e3)}})});a.observe(i,{attributes:!0}),Qa({signalAction:{signal:"HISTORY_BACK"}})}}();break;case"ENTER_PIP":window.h5vcc.tizentube.EnterPIP();break;case"SHOW_TOAST":Ea("TizenTube",t);break;case"ADD_TO_QUEUE":window.queuedVideos.videos.push(t),Ea("TizenTube","Video added to queue.");break;case"CLEAR_QUEUE":window.queuedVideos.videos=[],Ea("TizenTube","Video queue cleared.");break;case"CHECK_FOR_UPDATES":$a(!0)}}var er=JSON.parse;for(var tr in JSON.parse=function(){var e,t,i,n,a,r,o,s,l,u,c,d,h,m,g,f,v,b,y,S=er.apply(this,arguments),k=Sa("enableAdBlock"),x=Sa("enableSigninReminder");if(S.adPlacements&&k&&(S.adPlacements=[]),S.playerAds&&k&&(S.playerAds=!1),S.adSlots&&k&&(S.adSlots=[]),S.paidContentOverlay&&!Sa("enablePaidPromotionOverlay")&&(S.paidContentOverlay=null),null!=S&&null!==(e=S.streamingData)&&void 0!==e&&e.adaptiveFormats&&"any"!==Sa("videoPreferredCodec")){var w=Sa("videoPreferredCodec");S.streamingData.adaptiveFormats.find(e=>e.mimeType.includes(w))&&(S.streamingData.adaptiveFormats=S.streamingData.adaptiveFormats.filter(e=>!!e.mimeType.startsWith("audio/")||e.mimeType.includes(w)))}if(null!=S&&null!==(t=S.contents)&&void 0!==t&&null!==(t=t.tvBrowseRenderer)&&void 0!==t&&null!==(t=t.content)&&void 0!==t&&null!==(t=t.tvSurfaceContentRenderer)&&void 0!==t&&null!==(t=t.content)&&void 0!==t&&null!==(t=t.sectionListRenderer)&&void 0!==t&&t.contents){if(x||(S.contents.tvBrowseRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents=S.contents.tvBrowseRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents.filter(e=>!e.feedNudgeRenderer)),k){S.contents.tvBrowseRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents=S.contents.tvBrowseRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents.filter(e=>!e.adSlotRenderer);var T,D=p(S.contents.tvBrowseRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents);try{for(D.s();!(T=D.n()).done;){var E,C=T.value;C.shelfRenderer&&null!==(E=C.shelfRenderer.content)&&void 0!==E&&null!==(E=E.horizontalListRenderer)&&void 0!==E&&E.items&&(C.shelfRenderer.content.horizontalListRenderer.items=C.shelfRenderer.content.horizontalListRenderer.items.filter(e=>!e.adSlotRenderer))}}catch(e){D.e(e)}finally{D.f()}}ir(S.contents.tvBrowseRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents)}(S.endscreen&&Sa("enableHideEndScreenCards")&&(S.endscreen=null),S.messages&&Array.isArray(S.messages)&&!Sa("enableYouThereRenderer")&&(S.messages=S.messages.filter(e=>!(null!=e&&e.youThereRenderer))),!Array.isArray(S)&&null!=S&&S.entries&&k)&&(S.entries=null===(d=S.entries)||void 0===d?void 0:d.filter(e=>{var t;return!(null!=e&&null!==(t=e.command)&&void 0!==t&&null!==(t=t.reelWatchEndpoint)&&void 0!==t&&null!==(t=t.adClientParams)&&void 0!==t&&t.isAd)}));if(null!=S&&null!==(i=S.title)&&void 0!==i&&i.runs&&(h=S,b=function(e,t,i){var n={settingCategoryCollectionRenderer:{items:t,categoryId:e,focused:!1,trackingParams:"null"}};return i&&(n.settingCategoryCollectionRenderer.title={runs:[{text:i}]}),n}("tizentube_category",[(m=ha("settings.ttSettings.title"),g="tizentube_open_action",f={customAction:{action:"TT_SETTINGS_SHOW",parameters:[]}},v=ha("settings.ttSettings.summary"),{settingActionRenderer:{title:{runs:[{text:m}]},serviceEndpoint:f,summary:{runs:[{text:v}]},trackingParams:"null",actionLabel:{runs:[{text:m}]},itemId:g,thumbnail:{thumbnails:[{url:"https://www.gstatic.com/ytlr/img/parent_code.png"}]}}})]),h.items.unshift(b)),null!=S&&null!==(n=S.contents)&&void 0!==n&&null!==(n=n.sectionListRenderer)&&void 0!==n&&n.contents&&ir(S.contents.sectionListRenderer.contents),null!=S&&null!==(a=S.continuationContents)&&void 0!==a&&null!==(a=a.sectionListContinuation)&&void 0!==a&&a.contents&&ir(S.continuationContents.sectionListContinuation.contents),null!=S&&null!==(r=S.continuationContents)&&void 0!==r&&null!==(r=r.horizontalListContinuation)&&void 0!==r&&r.items&&(ar(S.continuationContents.horizontalListContinuation.items),rr(S.continuationContents.horizontalListContinuation.items),or(S.continuationContents.horizontalListContinuation.items),S.continuationContents.horizontalListContinuation.items=sr(S.continuationContents.horizontalListContinuation.items)),null!=S&&null!==(o=S.contents)&&void 0!==o&&null!==(o=o.tvBrowseRenderer)&&void 0!==o&&null!==(o=o.content)&&void 0!==o&&null!==(o=o.tvSecondaryNavRenderer)&&void 0!==o&&o.sections)for(var A=0;A<S.contents.tvBrowseRenderer.content.tvSecondaryNavRenderer.sections.length;A++){var P=S.contents.tvBrowseRenderer.content.tvSecondaryNavRenderer.sections[A].tvSecondaryNavSectionRenderer;if(P&&P.tabs){Sa("sortSubscriptionsByAlphabet")&&P.tabs.sort((e,t)=>e.tabRenderer.selected&&!t.tabRenderer.selected?-1:!e.tabRenderer.selected&&t.tabRenderer.selected?1:e.tabRenderer.title.localeCompare(t.tabRenderer.title));for(var B=0;B<P.tabs.length;B++){var z,I=P.tabs[B];if(null!==(z=I.tabRenderer.content)&&void 0!==z&&null!==(z=z.tvSurfaceContentRenderer)&&void 0!==z&&null!==(z=z.content)&&void 0!==z&&null!==(z=z.sectionListRenderer)&&void 0!==z&&z.contents){var F=P.tabs.indexOf(I),O=I.tabRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents;ir(O),P.tabs[F].tabRenderer.content.tvSurfaceContentRenderer.content.sectionListRenderer.contents=O}}}}if(null!=S&&null!==(s=S.contents)&&void 0!==s&&null!==(s=s.singleColumnWatchNextResults)&&void 0!==s&&null!==(s=s.pivot)&&void 0!==s&&s.sectionListRenderer&&(x||(S.contents.singleColumnWatchNextResults.pivot.sectionListRenderer.contents=S.contents.singleColumnWatchNextResults.pivot.sectionListRenderer.contents.filter(e=>!e.alertWithActionsRenderer)),ir(S.contents.singleColumnWatchNextResults.pivot.sectionListRenderer.contents,!1),window.queuedVideos.videos.length>0)){var j=window.queuedVideos.videos.slice();j.unshift({tileRenderer:{contentType:"TILE_CONTENT_TYPE_VIDEO",metadata:{tileMetadataRenderer:{title:{simpleText:"Clear Queue"}}},onSelectCommand:{customAction:{action:"CLEAR_QUEUE"}},style:"TILE_STYLE_YTLR_DEFAULT"}}),S.contents.singleColumnWatchNextResults.pivot.sectionListRenderer.contents.unshift(function(e,t){return{shelfRenderer:{shelfHeaderRenderer:{title:{simpleText:e}},tvhtml5ShelfRendererType:"TVHTML5_SHELF_RENDERER_TYPE_GRID",content:{horizontalListRenderer:{items:t,selectedIndex:arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,visibleItemCount:3}}}}}("Queued Videos",j,-1!==j.findIndex(e=>e.contentId===window.queuedVideos.lastVideoId)?j.findIndex(e=>e.contentId===window.queuedVideos.lastVideoId):0))}if(Sa("sponsorBlockManualSkips").length>0&&null!=S&&null!==(l=S.playerOverlays)&&void 0!==l&&l.playerOverlayRenderer){var R,M=Sa("sponsorBlockManualSkips"),N=[];if(null!==(R=window)&&void 0!==R&&null!==(R=R.sponsorblock)&&void 0!==R&&R.segments){var L,_=p(window.sponsorblock.segments);try{for(_.s();!(L=_.n()).done;){var V=L.value;if(M.includes(V.category)){var H=Ba(ha("sponsorblock.toasts.skip",{segment:V.category}),"SKIP_NEXT",{clickTrackingParams:null,showEngagementPanelEndpoint:{customAction:{action:"SKIP",parameters:{time:V.segment[1]}}}},1e3*V.segment[0],1e3*V.segment[1]-1e3*V.segment[0]);N.push(H)}}}catch(e){_.e(e)}finally{_.f()}S.playerOverlays.playerOverlayRenderer.timelyActionRenderers=N}}else null!=S&&null!==(u=S.playerOverlays)&&void 0!==u&&u.playerOverlayRenderer&&(S.playerOverlays.playerOverlayRenderer.timelyActionRenderers=[]);if(null!=S&&null!==(c=S.transportControls)&&void 0!==c&&null!==(c=c.transportControlsRenderer)&&void 0!==c&&c.promotedActions&&Sa("enableSponsorBlockHighlight")&&(null!==(y=window)&&void 0!==y&&null!==(y=y.sponsorblock)&&void 0!==y&&y.segments)){var U=window.sponsorblock.segments.find(e=>"poi_highlight"===e.category);U&&S.transportControls.transportControlsRenderer.promotedActions.push({type:"TRANSPORT_CONTROLS_BUTTON_TYPE_SPONSORBLOCK_HIGHLIGHT",button:{buttonRenderer:ja(!1,ha("sponsorblock.toasts.skipToHighlight"),"SKIP_NEXT",{clickTrackingParams:null,customAction:{action:"SKIP",parameters:{time:U.segment[0]}}})}})}return S},window.JSON.parse=JSON.parse,window._yttv)window._yttv[tr]&&window._yttv[tr].JSON&&window._yttv[tr].JSON.parse&&(window._yttv[tr].JSON.parse=JSON.parse);function ir(e){var t,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=p(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;if(a.shelfRenderer){var r;if(null===(r=a.shelfRenderer.content)||void 0===r||null===(r=r.horizontalListRenderer)||void 0===r||!r.items)continue;if(ar(a.shelfRenderer.content.horizontalListRenderer.items),rr(a.shelfRenderer.content.horizontalListRenderer.items),or(a.shelfRenderer.content.horizontalListRenderer.items),i&&nr(a.shelfRenderer.content.horizontalListRenderer.items),a.shelfRenderer.content.horizontalListRenderer.items=sr(a.shelfRenderer.content.horizontalListRenderer.items),!Sa("enableShorts")){if("TVHTML5_SHELF_RENDERER_TYPE_SHORTS"===a.shelfRenderer.tvhtml5ShelfRendererType){e.splice(e.indexOf(a),1);continue}a.shelfRenderer.content.horizontalListRenderer.items=a.shelfRenderer.content.horizontalListRenderer.items.filter(e=>{var t;return"TVHTML5_TILE_RENDERER_TYPE_SHORTS"!==(null===(t=e.tileRenderer)||void 0===t?void 0:t.tvhtml5ShelfRendererType)}),a.shelfRenderer.content.horizontalListRenderer.items=a.shelfRenderer.content.horizontalListRenderer.items.filter(e=>{var t;return!(null!==(t=e.tileRenderer)&&void 0!==t&&null!==(t=t.onSelectCommand)&&void 0!==t&&t.reelWatchEndpoint)})}}}}catch(e){n.e(e)}finally{n.f()}}function nr(e){if(Sa("enablePreviews")){var t,i=p(e);try{for(i.s();!(t=i.n()).done;){var n=t.value;if(n.tileRenderer){var a,r,o=n.tileRenderer.onSelectCommand;if(null!==(a=n.tileRenderer)&&void 0!==a&&null!==(a=a.onFocusCommand)&&void 0!==a&&a.playbackEndpoint)continue;if(null!==(r=n.tileRenderer)&&void 0!==r&&null!==(r=r.onFocusCommand)&&void 0!==r&&r.commandExecutorCommand)continue;n.tileRenderer.onFocusCommand={startInlinePlaybackCommand:{blockAdoption:!0,caption:!1,delayMs:3e3,durationMs:4e4,muted:!1,restartPlaybackBeforeSeconds:10,resumeVideo:!0,playbackEndpoint:o}}}}}catch(e){i.e(e)}finally{i.f()}}}function ar(e){var t,i=p(e);try{var n=function(){var i=t.value;if(i.adSlotRenderer){var n=e.indexOf(i);return e.splice(n,1),0}if(!i.tileRenderer)return 0;if(Sa("enableDeArrow")){var a=i.tileRenderer.contentId;fetch(`https://sponsor.ajay.app/api/branding?videoID=${a}`).then(e=>e.json()).then(e=>{if(e.titles.length>0){var t=e.titles.reduce((e,t)=>e.votes>t.votes?e:t);i.tileRenderer.metadata.tileMetadataRenderer.title.simpleText=t.title}if(e.thumbnails.length>0&&Sa("enableDeArrowThumbnails")){var n=e.thumbnails.reduce((e,t)=>e.votes>t.votes?e:t);n.timestamp&&(i.tileRenderer.header.tileHeaderRenderer.thumbnail.thumbnails=[{url:`https://dearrow-thumb.ajay.app/api/v1/getThumbnail?videoID=${a}&time=${n.timestamp}`,width:1280,height:640}])}}).catch(()=>{})}};for(i.s();!(t=i.n()).done;)n()}catch(e){i.e(e)}finally{i.f()}}function rr(e){var t,i=p(e);try{for(i.s();!(t=i.n()).done;){var n=t.value;if(n.tileRenderer&&("TILE_STYLE_YTLR_DEFAULT"===n.tileRenderer.style&&Sa("enableHqThumbnails"))){var a,r;if(null===(a=n.tileRenderer.onSelectCommand)||void 0===a||null===(a=a.watchEndpoint)||void 0===a||!a.videoId)continue;if(null===(r=n.tileRenderer.header)||void 0===r||null===(r=r.tileHeaderRenderer)||void 0===r||null===(r=r.thumbnail)||void 0===r||null===(r=r.thumbnails)||void 0===r||null===(r=r[0])||void 0===r||!r.url)continue;var o=n.tileRenderer.onSelectCommand.watchEndpoint.videoId,s=n.tileRenderer.header.tileHeaderRenderer.thumbnail.thumbnails[0].url.split("?")[1];n.tileRenderer.header.tileHeaderRenderer.thumbnail.thumbnails=[{url:`https://i.ytimg.com/vi/${o}/sddefault.jpg${s?`?${s}`:""}`,width:640,height:480}]}}}catch(e){i.e(e)}finally{i.f()}}function or(e){var t,i=p(e);try{for(i.s();!(t=i.n()).done;){var n,a,r,o,s,l=t.value;if(l.tileRenderer&&"TILE_STYLE_YTLR_DEFAULT"===l.tileRenderer.style)if(null!==(n=l.tileRenderer.onLongPressCommand)&&void 0!==n&&n.showMenuCommand)l.tileRenderer.onLongPressCommand.showMenuCommand.menu.menuRenderer.items.push(Ia("Add to Queue",{clickTrackingParams:null,playlistEditEndpoint:{customAction:{action:"ADD_TO_QUEUE",parameters:l}}}));else if(Sa("enableLongPress")&&null!==(a=l.tileRenderer)&&void 0!==a&&null!==(a=a.metadata)&&void 0!==a&&a.tileMetadataRenderer&&null!==(r=l.tileRenderer)&&void 0!==r&&null!==(r=r.header)&&void 0!==r&&null!==(r=r.tileHeaderRenderer)&&void 0!==r&&null!==(r=r.thumbnail)&&void 0!==r&&r.thumbnails&&null!==(o=l.tileRenderer.onSelectCommand)&&void 0!==o&&o.watchEndpoint){var u=null===(s=l.tileRenderer.metadata.tileMetadataRenderer.lines)||void 0===s||null===(s=s[0])||void 0===s||null===(s=s.lineRenderer)||void 0===s||null===(s=s.items)||void 0===s||null===(s=s[0])||void 0===s||null===(s=s.lineItemRenderer)||void 0===s?void 0:s.text;if(u){var c=u,d=za({videoId:l.tileRenderer.contentId,thumbnails:l.tileRenderer.header.tileHeaderRenderer.thumbnail.thumbnails,title:l.tileRenderer.metadata.tileMetadataRenderer.title.simpleText,subtitle:c.runs?c.runs[0].text:c.simpleText,watchEndpointData:l.tileRenderer.onSelectCommand.watchEndpoint,item:l});l.tileRenderer.onLongPressCommand=d}}}}catch(e){i.e(e)}finally{i.f()}}function sr(e){return e.filter(e=>{var t,i,n;if(!e.tileRenderer)return!0;var a=null===(t=e.tileRenderer.header)||void 0===t||null===(t=t.tileHeaderRenderer)||void 0===t||null===(t=t.thumbnailOverlays)||void 0===t||null===(t=t.find(e=>e.thumbnailOverlayResumePlaybackRenderer))||void 0===t?void 0:t.thumbnailOverlayResumePlaybackRenderer;if(!a)return!0;var r=Sa("hideWatchedVideosPages");if(!r.length)return!0;var o=location.hash.substring(1),s="/"===o?"home":o.startsWith("/search")?"search":null!==(i=null===(n=o.split("?")[1])||void 0===n||null===(n=n.split("&")[0])||void 0===n||null===(n=n.split("=")[1])||void 0===n||null===(n=n.replace("FE",""))||void 0===n?void 0:n.replace("topics_",""))&&void 0!==i?i:"";return!r.includes(s)||(a.percentDurationWatched||0)<=Sa("hideWatchedVideosThreshold")})}var lr=function e(t){function i(e,t){return e>>>t|e<<32-t}for(var n,a,r=Math.pow,o=r(2,32),s="length",l="",u=[],c=8*t[s],d=e.h=e.h||[],h=e.k=e.k||[],p=h[s],m={},g=2;p<64;g++)if(!m[g]){for(n=0;n<313;n+=g)m[n]=g;d[p]=r(g,.5)*o|0,h[p++]=r(g,1/3)*o|0}for(t+="";t[s]%64-56;)t+="\0";for(n=0;n<t[s];n++){if((a=t.charCodeAt(n))>>8)return;u[n>>2]|=a<<(3-n)%4*8}for(u[u[s]]=c/o|0,u[u[s]]=c,a=0;a<u[s];){var f=u.slice(a,a+=16),v=d;for(d=d.slice(0,8),n=0;n<64;n++){var b=f[n-15],y=f[n-2],S=d[0],k=d[4],x=d[7]+(i(k,6)^i(k,11)^i(k,25))+(k&d[5]^~k&d[6])+h[n]+(f[n]=n<16?f[n]:f[n-16]+(i(b,7)^i(b,18)^b>>>3)+f[n-7]+(i(y,17)^i(y,19)^y>>>10)|0);(d=[x+((i(S,2)^i(S,13)^i(S,22))+(S&d[1]^S&d[2]^d[1]&d[2]))|0].concat(d))[4]=d[4]+x|0}for(n=0;n<8;n++)d[n]=d[n]+v[n]|0}for(n=0;n<8;n++)for(a=3;a+1;a--){var w=d[n]>>8*a&255;l+=(w<16?0:"")+w.toString(16)}return l},ur={sponsor:{color:"#00d400",opacity:"0.7",name:ha("sponsorblock.segments.sponsor")||"sponsored segment"},intro:{color:"#00ffff",opacity:"0.7",name:ha("sponsorblock.segments.intro")||"intro"},outro:{color:"#0202ed",opacity:"0.7",name:ha("sponsorblock.segments.outro")||"outro"},interaction:{color:"#cc00ff",opacity:"0.7",name:ha("sponsorblock.segments.interaction")||"interaction reminder"},selfpromo:{color:"#ffff00",opacity:"0.7",name:ha("sponsorblock.segments.selfpromo")||"self-promotion"},preview:{color:"#008fd6",opacity:"0.7",name:ha("sponsorblock.segments.preview")||"recap or preview"},filler:{color:"#7300FF",opacity:"0.9",name:ha("sponsorblock.segments.filler")||"tangents"},music_offtopic:{color:"#ff9900",opacity:"0.7",name:ha("sponsorblock.segments.music_offtopic")||"non-music part"},poi_highlight:{color:"#9b044c",opacity:"0.7",name:ha("sponsorblock.segments.poi_highlight")||"highlight"}};class cr{constructor(e){m(this,"video",null),m(this,"active",!0),m(this,"attachVideoTimeout",null),m(this,"nextSkipTimeout",null),m(this,"sliderInterval",null),m(this,"observer",null),m(this,"scheduleSkipHandler",null),m(this,"durationChangeHandler",null),m(this,"segments",null),m(this,"skippableCategories",[]),m(this,"manualSkippableCategories",[]),m(this,"skippedCategories",new Map),this.videoID=e}init(){var e,t=this;return(e=b().m(function e(){var i,n,a,r,o;return b().w(function(e){for(;;)switch(e.n){case 0:return i=lr(t.videoID).substring(0,4),n=["sponsor","intro","outro","interaction","selfpromo","preview","filler","music_offtopic","poi_highlight"],e.n=1,fetch(`https://sponsor.ajay.app/api/skipSegments/${i}?categories=${encodeURIComponent(JSON.stringify(n))}`);case 1:return a=e.v,e.n=2,a.json();case 2:if(r=e.v,o=r.find(e=>e.videoID===t.videoID),console.info(t.videoID,"Got it:",o),o&&o.segments&&o.segments.length){e.n=3;break}return console.info(t.videoID,"No segments found."),e.a(2);case 3:t.segments=o.segments,t.manualSkippableCategories=Sa("sponsorBlockManualSkips"),t.skippableCategories=t.getSkippableCategories(),t.scheduleSkipHandler=()=>{var e=document.querySelector('div[idomkey="slider"]'),i=null==e?void 0:e.getBoundingClientRect();!document.querySelector('div[idomkey="Metadata-Section"]')&&t.segmentsoverlay.style.setProperty("top",`${i.top}px`,"important"),t.scheduleSkip()},t.durationChangeHandler=()=>t.buildOverlay(),t.attachVideo(),t.buildOverlay();case 4:return e.a(2)}},e)}),function(){var t=this,i=arguments;return new Promise(function(n,a){var r=e.apply(t,i);function o(e){l(r,n,a,o,s,"next",e)}function s(e){l(r,n,a,o,s,"throw",e)}o(void 0)})})()}getSkippableCategories(){var e=[];return Sa("enableSponsorBlockSponsor")&&e.push("sponsor"),Sa("enableSponsorBlockIntro")&&e.push("intro"),Sa("enableSponsorBlockOutro")&&e.push("outro"),Sa("enableSponsorBlockInteraction")&&e.push("interaction"),Sa("enableSponsorBlockSelfPromo")&&e.push("selfpromo"),Sa("enableSponsorBlockPreview")&&e.push("preview"),Sa("enableSponsorBlockFiller")&&e.push("filler"),Sa("enableSponsorBlockMusicOfftopic")&&e.push("music_offtopic"),e}attachVideo(){if(clearTimeout(this.attachVideoTimeout),this.attachVideoTimeout=null,this.video=document.querySelector("video"),!this.video)return console.info(this.videoID,"No video yet..."),void(this.attachVideoTimeout=setTimeout(()=>this.attachVideo(),100));console.info(this.videoID,"Video found, binding..."),this.video.addEventListener("play",this.scheduleSkipHandler),this.video.addEventListener("pause",this.scheduleSkipHandler),this.video.addEventListener("timeupdate",this.scheduleSkipHandler),this.video.addEventListener("durationchange",this.durationChangeHandler)}buildOverlay(){if(this.segmentsoverlay)console.info("Overlay already built");else if(this.video&&this.video.duration){var e=this.video.duration,t=document.querySelector('div[idomkey="slider"]');this.segmentsoverlay=document.createElement("div"),this.segmentsoverlay.classList.add("ytLrProgressBarSlider","ytLrProgressBarSliderRectangularProgressBar"),this.segmentsoverlay.style.setProperty("z-index","10","important"),this.segmentsoverlay.style.setProperty("background-color","rgba(0, 0, 0, 0)","important"),this.segmentsoverlay.style.setProperty("width","72rem","important"),this.segmentsoverlay.style.setProperty("left","4rem","important");var i=t.getBoundingClientRect();if(!t.classList.contains("ytLrProgressBarSlider")){for(var n=0;n<t.classList.length;n++)this.segmentsoverlay.classList.add(t.classList[n]);this.segmentsoverlay.style.setProperty("height",`${i.height}px`,"important"),this.segmentsoverlay.style.setProperty("bottom",i.bottom-i.top+"px","important")}this.segments.forEach(t=>{var i=S(t.segment,2),n=i[0],a=i[1],r=ur[t.category]||{color:"blue",opacity:.7},o=e?100*n/e:0,s=e?100*(a-n)/e:0,l=document.createElement("div");l.style.setProperty("background-color",r.color,"important"),l.style.setProperty("opacity",r.opacity,"important"),l.style.setProperty("height","100%","important"),l.style.setProperty("width",`${"poi_highlight"===t.category?1:s}%`,"important"),l.style.setProperty("left",`${o}%`,"important"),l.style.setProperty("position","absolute","important"),console.info("Generated element",l,"from",t),this.segmentsoverlay.appendChild(l)}),this.observer=new MutationObserver(e=>{e.forEach(e=>{if(e.removedNodes){var t,i=p(e.removedNodes);try{for(i.s();!(t=i.n()).done;){t.value===this.segmentsoverlay&&(console.info("bringing back segments overlay"),this.slider.appendChild(this.segmentsoverlay))}}catch(e){i.e(e)}finally{i.f()}}"false"===document.querySelector("ytlr-progress-bar").getAttribute("hybridnavfocusable")?this.segmentsoverlay.style.setProperty("display","none","important"):this.segmentsoverlay.style.setProperty("display","block","important")})}),this.sliderInterval=setInterval(()=>{this.slider=document.querySelector("ytlr-redux-connect-ytlr-progress-bar"),this.slider&&(clearInterval(this.sliderInterval),this.sliderInterval=null,this.observer.observe(this.slider,{childList:!0,subtree:!0}),this.slider.appendChild(this.segmentsoverlay))},500)}else console.info("No video duration yet")}scheduleSkip(){if(clearTimeout(this.nextSkipTimeout),this.nextSkipTimeout=null,this.active)if(this.video.paused)console.info(this.videoID,"Currently paused, ignoring...");else{var e=this.segments.filter(e=>e.segment[0]>this.video.currentTime-.3&&e.segment[1]>this.video.currentTime-.3);if(e.sort((e,t)=>e.segment[0]-t.segment[0]),e.length){var t=S(e,1)[0],i=S(t.segment,2),n=i[0],a=i[1];console.info(this.videoID,"Scheduling skip of",t,"in",n-this.video.currentTime),this.nextSkipTimeout=setTimeout(()=>{var e;if(this.video.paused)console.info(this.videoID,"Currently paused, ignoring...");else if(this.skippableCategories.includes(t.category)){var i=(null===(e=ur[t.category])||void 0===e?void 0:e.name)||t.category;if(console.info(this.videoID,"Skipping",t),!this.manualSkippableCategories.includes(t.category)){var n=this.skippedCategories.get(t.UUID);if(n){if(n.count++,n.lastSkipped=Date.now(),this.skippedCategories.set(t.UUID,n),n.lastSkipped-n.firstSkipped<1e3)return void(n.hasShownToast||(Sa("enableSponsorBlockToasts")&&Ea("SponsorBlock",ha("sponsorblock.toasts.notSkipping",{segment:i,count:n.count})),n.hasShownToast=!0,this.skippedCategories.set(t.UUID,n)))}else this.skippedCategories.set(t.UUID,{count:1,firstSkipped:Date.now(),lastSkipped:Date.now(),hasShownToast:!1});Sa("enableSponsorBlockToasts")&&Ea("SponsorBlock",ha("sponsorblock.toasts.skipping",{segment:i})),this.video.duration-a<1?this.video.currentTime=a-1:this.video.currentTime=a,this.scheduleSkip()}}else console.info(this.videoID,"Segment",t.category,"is not skippable, ignoring...")},1e3*(n-this.video.currentTime))}else console.info(this.videoID,"No more segments")}else console.info(this.videoID,"No longer active, ignoring...")}destroy(){console.info(this.videoID,"Destroying"),this.active=!1,this.nextSkipTimeout&&(clearTimeout(this.nextSkipTimeout),this.nextSkipTimeout=null),this.attachVideoTimeout&&(clearTimeout(this.attachVideoTimeout),this.attachVideoTimeout=null),this.sliderInterval&&(clearInterval(this.sliderInterval),this.sliderInterval=null),this.observer&&(this.observer.disconnect(),this.observer=null),this.segmentsoverlay&&(this.segmentsoverlay.remove(),this.segmentsoverlay=null),this.video&&(this.video.removeEventListener("play",this.scheduleSkipHandler),this.video.removeEventListener("pause",this.scheduleSkipHandler),this.video.removeEventListener("timeupdate",this.scheduleSkipHandler),this.video.removeEventListener("durationchange",this.durationChangeHandler)),this.skippedCategories.clear()}}window.sponsorblock=null,window.addEventListener("hashchange",()=>{var e=new URL(location.hash.substring(1),location.href).search.replace("?v=","").split("&")[0],t=e&&(!window.sponsorblock||window.sponsorblock.videoID!=e);if(console.info("hashchange",e,window.sponsorblock,window.sponsorblock?window.sponsorblock.videoID:null,t),t){if(window.sponsorblock){try{window.sponsorblock.destroy()}catch(e){console.warn("window.sponsorblock.destroy() failed!",e)}window.sponsorblock=null}Sa("enableSponsorBlock")?(window.sponsorblock=new cr(e),window.sponsorblock.init()):console.info("SponsorBlock disabled, not loading")}},!1);var dr;dr||(dr=1,function(){if(!("navigate"in window)){var e={37:"left",38:"up",39:"right",40:"down"},t=null,i=null,n={element:null,rect:null},a=null;window.navigate=o,window.Element.prototype.spatialNavigationSearch=d,window.Element.prototype.focusableAreas=b,window.Element.prototype.getSpatialNavigationContainer=f,window.CSS&&CSS.registerProperty&&(""===window.getComputedStyle(document.documentElement).getPropertyValue("--spatial-navigation-contain")&&CSS.registerProperty({name:"--spatial-navigation-contain",syntax:"auto | contain",inherits:!1,initialValue:"auto"}),""===window.getComputedStyle(document.documentElement).getPropertyValue("--spatial-navigation-action")&&CSS.registerProperty({name:"--spatial-navigation-action",syntax:"auto | focus | scroll",inherits:!1,initialValue:"auto"}),""===window.getComputedStyle(document.documentElement).getPropertyValue("--spatial-navigation-function")&&CSS.registerProperty({name:"--spatial-navigation-function",syntax:"normal | grid",inherits:!1,initialValue:"normal"})),X(!1),window.addEventListener("load",()=>{r()})}function r(){window.addEventListener("keydown",n=>{var a=parent&&parent.__spatialNavigation__.keyMode||window.__spatialNavigation__.keyMode,r=document.activeElement,s=e[n.keyCode];if(9===n.keyCode&&(i=null),!(!a||"NONE"===a||"SHIFTARROW"===a&&!n.shiftKey||"ARROW"===a&&n.shiftKey||n.defaultPrevented)){var l={left:!0,up:!0,right:!0,down:!0};"INPUT"!==r.nodeName&&"TEXTAREA"!==r.nodeName||(l=function(t){var i=["email","date","month","number","time","week"],n=["password","text","search","tel","url",null],a=document.activeElement,r={left:!1,up:!1,right:!1,down:!1},o=e[t.keyCode];if(void 0===o)return r;if(!i.includes(a.getAttribute("type"))||"up"!==o&&"down"!==o)if(n.includes(a.getAttribute("type"))||"TEXTAREA"===a.nodeName){var s=a.selectionStart,l=a.selectionEnd;s===l&&(0===s&&(r.left=!0,r.up=!0),l===a.value.length&&(r.right=!0,r.down=!0))}else r[o]=!0;else r[o]=!0;return r}(n)),l[s]&&(n.preventDefault(),t=new Map,o(s),t=null,i=null)}}),document.addEventListener("mouseup",e=>{i={x:e.clientX,y:e.clientY}}),window.addEventListener("focusin",e=>{e.target!==window&&(n.element=e.target,n.rect=e.target.getBoundingClientRect())})}function o(e){var t=function(){var e=document.activeElement;if(!e||e===document.body&&!document.querySelector(":focus")){if(n.element&&e!==n.element){var t=window.getComputedStyle(n.element,null),i=["hidden","collapse"];if(n.element.disabled||i.includes(t.getPropertyValue("visibility")))return e=n.element}e=document.documentElement}if(!n.element||0!==J(n.element).height&&0!==J(n.element).width||(a=n.rect),!I(e)){var r=v(e);if(r&&(r===window||"auto"===k(r)))return r}return e}(),r=t,o=null;i&&(null===(o=document.elementFromPoint(i.x,i.y))&&(o=document.body),F(o)&&!D(o)?i=null:r=D(o)?o:o.getSpatialNavigationContainer()),r!==document&&r!==document.documentElement||(r=document.body||document.documentElement);var c=null;if((D(r)||"BODY"===r.nodeName)&&"INPUT"!==r.nodeName)if("IFRAME"===r.nodeName&&(r=r.contentDocument.documentElement),c=r,document.activeElement===t||document.activeElement===document.body&&t===document.documentElement){if("scroll"===k(r)){if(l(r,e))return}else if("focus"===k(r)){if(s(r.spatialNavigationSearch(e,{container:r,candidates:u(r,{mode:"all"})}),e))return}else if("auto"===k(r)&&(s(r.spatialNavigationSearch(e,{container:r}),e)||l(r,e)))return}else c=c.getSpatialNavigationContainer();var d=(c=r.getSpatialNavigationContainer()).parentElement?c.getSpatialNavigationContainer():null;if(d||window.location===window.parent.location||(d=window.parent.document.documentElement),"scroll"===k(c)){if(l(c,e))return}else"focus"===k(c)?w(r,c,d,e,"all"):"auto"===k(c)&&w(r,c,d,e,"visible")}function s(e,t){if(e){if(!y("beforefocus",e,null,t))return!0;var n=e.getSpatialNavigationContainer();return n!==window&&"focus"===k(n)?e.focus():e.focus({preventScroll:!0}),i=null,!0}return!1}function l(e,t){return A(e,t)&&!z(e,t)?(T(e,t),!0):!e.parentElement&&!B(e,t)&&(T(e.ownerDocument.documentElement,t),!0)}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{mode:"visible"},i=[];if(e.childElementCount>0){e.parentElement||(e=e.getElementsByTagName("body")[0]||document.body);var n,a=p(e.children);try{for(a.s();!(n=a.n()).done;){var r=n.value;E(r)?i.push(r):F(r)?(i.push(r),!D(r)&&r.childElementCount&&(i=i.concat(u(r,{mode:"all"})))):r.childElementCount&&(i=i.concat(u(r,{mode:"all"})))}}catch(e){a.e(e)}finally{a.f()}}return"all"===t.mode?i:i.filter(O)}function c(e,t,i,n){var a=e;return n=n||a.getSpatialNavigationContainer(),h(a,i=!i||i.length<=0?u(n):i,t,n)}function d(e,t){var n,r=this,o=[],s=[],l=function(e){var t=e.getSpatialNavigationContainer(),i=t.focusableAreas(),n=[];return i.forEach(t=>{e!==t&&j(t,e)&&n.push(t)}),n}(r);t||(t={});var d=r.getSpatialNavigationContainer(),h=u(d),p=t.container||d;t.container&&d.contains(t.container)&&(h=h.concat(u(p)));var f=t.candidates&&t.candidates.length>0?t.candidates.filter(e=>p.contains(e)):h.filter(e=>p.contains(e)&&p!==e);if(f&&f.length>0){f.forEach(e=>{e!==r&&(r.contains(e)&&r!==e?o:s).push(e)});var v=l.filter(e=>!o.includes(e)),b=f.filter(e=>D(e)&&j(r,e)).map(e=>e.focusableAreas()).flat().filter(e=>e!==r);if(o=o.concat(v).filter(e=>p.contains(e)),(s=s.concat(b).filter(e=>p.contains(e))).length>0&&(s=c(r,e,s,p)),a&&(n=m(r,c(r,e,o,p),e)),o&&o.length>0&&"INPUT"!==r.nodeName&&(n=function(e,t,n){return g(e,t,n,i?H:U)}(r,o,e)),(n=n||m(r,s,e))&&E(n)){var y=u(n,{mode:"all"}),S=y.length>0?r.spatialNavigationSearch(e,{candidates:y,container:n}):null;S?n=S:F(n)||(f.splice(f.indexOf(n),1),n=f.length?r.spatialNavigationSearch(e,{candidates:f,container:p}):null)}return n}return null}function h(e,t,i,n){var r,o=e.getSpatialNavigationContainer();return void 0===i?t:(r=o.parentElement&&n!==o&&!O(e)?J(o):a||J(e),!D(e)&&"BODY"!==e.nodeName||"INPUT"===e.nodeName?t.filter(t=>{var a=J(t),o="IFRAME"===t.nodeName?t.contentDocument.body:null;return n.contains(t)&&t!==e&&o!==e&&N(a,r,i)&&!M(r,a)}):t.filter(t=>{var a=J(t);return n.contains(t)&&(e.contains(t)&&M(r,a)&&t!==e||N(a,r,i))}))}function m(e,t,i){var n,r,o=e.getSpatialNavigationContainer(),s=getComputedStyle(o).getPropertyValue("--spatial-navigation-function"),l=a||J(e);return"grid"===s?((r=t.filter(e=>V(l,J(e),i))).length>0&&(t=r),n=G):n=W,g(e,t,i,n)}function g(e,t,i,n){var r=null;window.location===window.parent.location||"BODY"!==e.nodeName&&"HTML"!==e.nodeName?r=a||e.getBoundingClientRect():((r=window.frameElement.getBoundingClientRect()).x=0,r.y=0);var o=Number.POSITIVE_INFINITY,s=[];if(t)for(var l=0;l<t.length;l++){var u=n(r,J(t[l]),i);u<o?(o=u,s=[t[l]]):u===o&&s.push(t[l])}return 0===s.length?null:s.length>1&&n===G?g(e,s,i,K):s[0]}function f(){var e=this;do{if(!e.parentElement){e=window.location!==window.parent.location?window.parent.document.documentElement:window.document.documentElement;break}e=e.parentElement}while(!D(e));return e}function v(e){var t=e;do{if(!t.parentElement){t=window.location!==window.parent.location?window.parent.document.documentElement:window.document.documentElement;break}t=t.parentElement}while(!C(t)||!O(t));return t!==document&&t!==document.documentElement||(t=window),t}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{mode:"visible"},t=this.parentElement?this:document.body,i=Array.prototype.filter.call(t.getElementsByTagName("*"),F);return"all"===e.mode?i:i.filter(O)}function y(e,t,i,n){if(["beforefocus","notarget"].includes(e)){var a=new CustomEvent("nav"+e,{bubbles:!0,cancelable:!0,detail:{causedTarget:i,dir:n}});return t.dispatchEvent(a)}}function S(e,t){return(e.style.getPropertyValue(`--${t}`)||"").trim()}function k(e){return S(e,"spatial-navigation-action")||"auto"}function w(e,t,i,n,a){for(var r={candidates:u(t,{mode:a}),container:t};i;){if(s(e.spatialNavigationSearch(n,r),n))return;if("visible"===a&&l(t,n))return;if(!y("notarget",t,e,n))return;t===document||t===document.documentElement?window.location!==window.parent.location&&(t=(e=window.frameElement).ownerDocument.documentElement):t=i,r={candidates:u(t,{mode:a}),container:t};var o=t.getSpatialNavigationContainer();i=o!==t?o:null}r={candidates:u(t,{mode:a}),container:t},!i&&t&&s(e.spatialNavigationSearch(n,r),n)||y("notarget",r.container,e,n)&&("auto"!==k(t)||"visible"!==a||l(t,n))}function T(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(e)switch(t){case"left":e.scrollLeft-=40+i;break;case"right":e.scrollLeft+=40+i;break;case"up":e.scrollTop-=40+i;break;case"down":e.scrollTop+=40+i}}function D(e){return!e.parentElement||"IFRAME"===e.nodeName||C(e)||function(e){return"contain"===S(e,"spatial-navigation-contain")}(e)}function E(e){return"delegable"===S(e,"spatial-navigation-contain")}function C(e){var t=window.getComputedStyle(e,null),i=t.getPropertyValue("overflow-x"),n=t.getPropertyValue("overflow-y");return!!("visible"!==i&&"clip"!==i&&P(e,"left")||"visible"!==n&&"clip"!==n&&P(e,"down"))}function A(e,t){if(e&&"object"===x(e)){if(t&&"string"==typeof t){if(P(e,t)){var i=window.getComputedStyle(e,null),n=i.getPropertyValue("overflow-x"),a=i.getPropertyValue("overflow-y");switch(t){case"left":case"right":return"visible"!==n&&"clip"!==n&&"hidden"!==n;case"up":case"down":return"visible"!==a&&"clip"!==a&&"hidden"!==a}}return!1}return"HTML"===e.nodeName||"BODY"===e.nodeName||C(e)&&P(e)}}function P(e,t){if(e&&"object"===x(e)){if(!t||"string"!=typeof t)return e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight;switch(t){case"left":case"right":return e.scrollWidth>e.clientWidth;case"up":case"down":return e.scrollHeight>e.clientHeight}return!1}}function B(e,t){var i=!1;switch(t){case"left":i=0===e.scrollLeft;break;case"right":i=e.scrollWidth-e.scrollLeft-e.clientWidth===0;break;case"up":i=0===e.scrollTop;break;case"down":i=e.scrollHeight-e.scrollTop-e.clientHeight===0}return i}function z(e,t){if(A(e,t)){var i=e.scrollTop,n=e.scrollLeft,a=e.scrollHeight-e.clientHeight,r=e.scrollWidth-e.clientWidth;switch(t){case"left":return 0===n;case"right":return Math.abs(n-r)<=1;case"up":return 0===i;case"down":return Math.abs(i-a)<=1}}return!1}function I(e){var t=e.getBoundingClientRect(),i=v(e),n=null;return!(!M(n=i!==window?J(i):new DOMRect(0,0,window.innerWidth,window.innerHeight),t)||!M(n,t))}function F(e){return!(e.tabIndex<0||function(e){return"A"===e.tagName&&null===e.getAttribute("href")&&null===e.getAttribute("tabIndex")}(e)||function(e){return!!["BUTTON","INPUT","SELECT","TEXTAREA","OPTGROUP","OPTION","FIELDSET"].includes(e.tagName)&&e.disabled}(e)||function(e){return e.inert&&!e.ownerDocument.documentElement.inert}(e)||!function(e){return!!R(e.parentElement)&&!(!R(e)||"0"===e.style.opacity||"0px"===window.getComputedStyle(e).height||"0px"===window.getComputedStyle(e).width)}(e))&&(!!(!e.parentElement||A(e)&&P(e)||e.tabIndex>=0)||void 0)}function O(e){return!e.parentElement||R(e)&&function(e){var t=J(e);if("IFRAME"!==e.nodeName&&(t.top<0||t.left<0||t.top>e.ownerDocument.documentElement.clientHeight||t.left>e.ownerDocument.documentElement.clientWidth))return!1;var i=parseInt(e.offsetWidth)/10,n=parseInt(e.offsetHeight)/10;i=isNaN(i)?1:i,n=isNaN(n)?1:n;var a={middle:[(t.left+t.right)/2,(t.top+t.bottom)/2],leftTop:[t.left+i,t.top+n],rightBottom:[t.right-i,t.bottom-n]};for(var r in a){var o=e.ownerDocument.elementFromPoint(...a[r]);if(e===o||e.contains(o))return!0}return!1}(e)}function j(e,t){var i=J(e),n=J(t||e.getSpatialNavigationContainer());return!(i.left<n.left||i.right>n.right||i.top<n.top||i.bottom>n.bottom)}function R(e){var t=window.getComputedStyle(e,null),i=t.getPropertyValue("visibility");return"none"!==t.getPropertyValue("display")&&!["hidden","collapse"].includes(i)}function M(e,t){var i=e.left<=t.right&&e.right>=t.right,n=e.left<=t.left&&e.right>=t.left,a=e.top<=t.top&&e.bottom>=t.top,r=e.top<=t.bottom&&e.bottom>=t.bottom;return(i||n)&&(a||r)}function N(e,t,i){switch(i){case"left":return L(t,e);case"right":return L(e,t);case"up":return _(t,e);case"down":return _(e,t);default:return!1}}function L(e,t){return e.left>=t.right||e.left>=t.left&&e.right>t.right&&e.bottom>t.top&&e.top<t.bottom}function _(e,t){return e.top>=t.bottom||e.top>=t.top&&e.bottom>t.bottom&&e.left<t.right&&e.right>t.left}function V(e,t,i){switch(i){case"left":case"right":return e.bottom>t.top&&e.top<t.bottom;case"up":case"down":return e.right>t.left&&e.left<t.right;default:return!1}}function H(e,t,n){var a=q(n,i,t),r=Math.abs(a.entryPoint.x-a.exitPoint.x),o=Math.abs(a.entryPoint.y-a.exitPoint.y);return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}function U(e,t,i){var n={left:"right",right:"left",up:"bottom",down:"top"}[i];return Math.abs(e[n]-t[n])}function W(e,t,i){var n,a,r,o,s,l,u,c=0,d=0,h=q(i,e,t),p=Math.abs(h.entryPoint.x-h.exitPoint.x),m=Math.abs(h.entryPoint.y-h.exitPoint.y),g=Math.sqrt(Math.pow(p,2)+Math.pow(m,2)),f=(r=e,o=t,s={width:0,height:0,area:0},l=[Math.max(r.left,o.left),Math.max(r.top,o.top)],u=[Math.min(r.right,o.right),Math.min(r.bottom,o.bottom)],s.width=Math.abs(l[0]-u[0]),s.height=Math.abs(l[1]-u[1]),l[0]>=u[0]||l[1]>=u[1]||(s.area=Math.sqrt(s.width*s.height)),s),v=f.area;switch(i){case"left":case"right":V(e,t,i)?d=Math.min(f.height/e.height,1):c=e.height/2,n=30*(m+c),a=5*d;break;case"up":case"down":V(e,t,i)?d=Math.min(f.width/e.width,1):c=e.width/2,n=2*(p+c),a=5*d;break;default:n=0,a=0}return g+n-a-v}function K(e,t,i){var n=q(i,e,t),a=Math.abs(n.entryPoint.x-n.exitPoint.x),r=Math.abs(n.entryPoint.y-n.exitPoint.y);return Math.sqrt(Math.pow(a,2)+Math.pow(r,2))}function G(e,t,i){var n=q(i,e,t);return"left"===i||"right"===i?Math.abs(n.entryPoint.x-n.exitPoint.x):Math.abs(n.entryPoint.y-n.exitPoint.y)}function q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"down",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a={entryPoint:{x:0,y:0},exitPoint:{x:0,y:0}};if(i){switch(a.exitPoint=t,e){case"left":a.entryPoint.x=n.right;break;case"up":a.entryPoint.y=n.bottom;break;case"right":a.entryPoint.x=n.left;break;case"down":a.entryPoint.y=n.top}switch(e){case"left":case"right":i.y<=n.top?a.entryPoint.y=n.top:i.y<n.bottom?a.entryPoint.y=i.y:a.entryPoint.y=n.bottom;break;case"up":case"down":i.x<=n.left?a.entryPoint.x=n.left:i.x<n.right?a.entryPoint.x=i.x:a.entryPoint.x=n.right}}else{switch(e){case"left":a.exitPoint.x=t.left,a.entryPoint.x=n.right<t.left?n.right:t.left;break;case"up":a.exitPoint.y=t.top,a.entryPoint.y=n.bottom<t.top?n.bottom:t.top;break;case"right":a.exitPoint.x=t.right,a.entryPoint.x=n.left>t.right?n.left:t.right;break;case"down":a.exitPoint.y=t.bottom,a.entryPoint.y=n.top>t.bottom?n.top:t.bottom}switch(e){case"left":case"right":_(t,n)?(a.exitPoint.y=t.top,a.entryPoint.y=n.bottom<t.top?n.bottom:t.top):_(n,t)?(a.exitPoint.y=t.bottom,a.entryPoint.y=n.top>t.bottom?n.top:t.bottom):(a.exitPoint.y=Math.max(t.top,n.top),a.entryPoint.y=a.exitPoint.y);break;case"up":case"down":L(t,n)?(a.exitPoint.x=t.left,a.entryPoint.x=n.right<t.left?n.right:t.left):L(n,t)?(a.exitPoint.x=t.right,a.entryPoint.x=n.left>t.right?n.left:t.right):(a.exitPoint.x=Math.max(t.left,n.left),a.entryPoint.x=a.exitPoint.x)}}return a}function J(e){var i=t&&t.get(e);if(!i){var n=e.getBoundingClientRect();i={top:Number(n.top.toFixed(2)),right:Number(n.right.toFixed(2)),bottom:Number(n.bottom.toFixed(2)),left:Number(n.left.toFixed(2)),width:Number(n.width.toFixed(2)),height:Number(n.height.toFixed(2))},t&&t.set(e,i)}return i}function X(e){var t=window.__spatialNavigation__&&window.__spatialNavigation__.keyMode;window.__spatialNavigation__=!1===e?Y():Object.assign(Y(),function(){function e(e,t){return A(e,t)&&!z(e,t)||!e.parentElement&&!B(e,t)}function t(t,i,n,a){var r=i,o=null;if(r!==document&&r!==document.documentElement||(r=document.body||document.documentElement),(D(r)||"BODY"===r.nodeName)&&"INPUT"!==r.nodeName){"IFRAME"===r.nodeName&&(r=r.contentDocument.body);var s=u(r,a);if(Array.isArray(s)&&s.length>0)return t?c(r,n,s):r.spatialNavigationSearch(n,{candidates:s});if(e(r,n))return t?[]:r}var l=r.getSpatialNavigationContainer(),d=l.parentElement?l.getSpatialNavigationContainer():null;for(d||window.location===window.parent.location||(d=window.parent.document.documentElement);d;){var p=h(r,u(l,a),n,l);if(Array.isArray(p)&&p.length>0){if(o=r.spatialNavigationSearch(n,{candidates:p,container:l}))return t?p:o}else{if(e(l,n))return t?[]:r;if(l===document||l===document.documentElement){if(l=window.document.documentElement,window.location!==window.parent.location){if(r=window.frameElement,!(l=window.parent.document.documentElement).parentElement){d=null;break}d=l.getSpatialNavigationContainer()}}else{if(F(l)&&(r=l),!(l=d).parentElement){d=null;break}d=l.getSpatialNavigationContainer()}}}if(!d&&l){var m=h(r,u(l,a),n,l);if(Array.isArray(m)&&m.length>0&&(o=r.spatialNavigationSearch(n,{candidates:m,container:l})))return t?m:o}if(e(l,n))return r}return{isContainer:D,isScrollContainer:C,isVisibleInScroller:I,findCandidates:t.bind(null,!0),findNextTarget:t.bind(null,!1),getDistanceFromTarget:(e,t,i)=>(D(e)||"BODY"===e.nodeName)&&"INPUT"!==e.nodeName&&u(e).includes(t)?U(J(e),J(t),i):W(J(e),J(t),i)}}()),window.__spatialNavigation__.keyMode=t,Object.seal(window.__spatialNavigation__)}function Y(){return{enableExperimentalAPIs:X,get keyMode(){return this._keymode?this._keymode:"ARROW"},set keyMode(e){this._keymode=["SHIFTARROW","ARROW","NONE"].includes(e)?e:"ARROW"},setStartingPoint:function(e,t){i=e&&t?{x:e,y:t}:null}}}}());var hr='.ytaf-ui-container {\r\n position: absolute;\r\n top: 10%;\r\n left: 10%;\r\n right: 10%;\r\n bottom: 10%;\r\n\r\n background: rgba(0, 0, 0, 0.8);\r\n color: white;\r\n border-radius: 20px;\r\n padding: 20px;\r\n font-size: 1.5rem;\r\n z-index: 1000;\r\n}\r\n\r\n.ytaf-ui-container :focus {\r\n outline: 4px red solid;\r\n}\r\n\r\n.ytaf-ui-container h1 {\r\n margin: 0;\r\n margin-bottom: 0.5em;\r\n text-align: center;\r\n}\r\n\r\n.ytaf-ui-container input[type=\'checkbox\'] {\r\n width: 1.4rem;\r\n height: 1.4rem;\r\n}\r\n\r\n.ytaf-ui-container input[type=\'radio\'] {\r\n width: 1.4rem;\r\n height: 1.4rem;\r\n}\r\n\r\n.ytaf-ui-container label {\r\n display: block;\r\n font-size: 1.4rem;\r\n}\r\n\r\n.ytaf-notification-container {\r\n position: absolute;\r\n right: 10px;\r\n bottom: 10px;\r\n font-size: 16pt;\r\n z-index: 1200;\r\n}\r\n\r\n.ytaf-notification-container .message {\r\n background: rgba(0, 0, 0, 0.7);\r\n color: white;\r\n padding: 1em;\r\n margin: 0.5em;\r\n transition: all 0.3s ease-in-out;\r\n opacity: 1;\r\n line-height: 1;\r\n border-right: 10px solid rgba(50, 255, 50, 0.3);\r\n display: inline-block;\r\n float: right;\r\n}\r\n\r\n.ytaf-notification-container .message-hidden {\r\n opacity: 0;\r\n margin: 0 0.5em;\r\n padding: 0 1em;\r\n line-height: 0;\r\n}\r\n\r\n/* Fixes transparency effect for the video player */\r\n\r\n.ytLrWatchDefaultShadow,\r\ndiv[idomkey="shadow"] {\r\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.8) 90%) !important;\r\n background-color: rgba(0, 0, 0, 0.3) !important;\r\n display: block !important;\r\n height: 100% !important;\r\n pointer-events: none !important;\r\n position: absolute !important;\r\n width: 100% !important;\r\n}\r\n\r\n/* https://github.com/webosbrew/youtube-webos/commit/4fbe38a18df31ddd62b6cf15f141dd58e1d1a71d */\r\n.ytLrWatchDefault2025Shadow {\r\n background-color: rgba(11, 11, 11, 0.5) !important;\r\n}\r\n\r\n/* Fixes shorts having a black background */\r\n\r\n.ytLrTileHeaderRendererShorts {\r\n background-image: none !important;\r\n}\r\n\r\n/* Multiline support for strings in the UI */\r\n\r\n.ytLrOverlayPanelHeaderRendererSubtitle {\r\n white-space: pre-wrap !important;\r\n}\r\n\r\n/* Fixes SponsorBlock segments overlapping with the playhead */\r\n\r\n.ytLrProgressBarPlayhead {\r\n z-index: 1 !important;\r\n}\r\n\r\n.ytLrProgressBarPlayed {\r\n z-index: 1 !important;\r\n}\r\n\r\n.ytLrSearchBarSearchVoice {\r\n display: block;\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n pointer-events: auto\r\n}\r\n\r\n.ytLrSearchVoiceHost {\r\n font-size: 3rem;\r\n}\r\n\r\n.ytLrSearchVoiceMicButtonHost {\r\n color: rgba(255, 255, 255, 0.7);\r\n}\r\n\r\n.ytLrSearchVoiceMicButtonHost {\r\n background-color: rgba(255, 255, 255, 0.1);\r\n border-radius: 50%;\r\n color: #f1f1f1;\r\n display: block;\r\n text-align: center;\r\n width: 1em;\r\n height: 1em;\r\n}\r\n\r\n.ytLrSearchVoiceMicButtonIcon {\r\n display: inline-block;\r\n font-size: .5em;\r\n height: .5em;\r\n width: .5em;\r\n height: 1em;\r\n width: 1em;\r\n margin-top: .5em;\r\n vertical-align: top !important;\r\n}\r\n\r\n.ytContribIconHost {\r\n display: inline-block;\r\n vertical-align: middle;\r\n}\r\n\r\n.ytContribIconTvArrowLeft::before {\r\n content: "\\e822";\r\n}\r\n\r\n.ytContribIconHost::before {\r\n font-family: "YouTube Icons Outlined";\r\n}',pr=document.createElement("style"),mr="";function gr(){mr=`\n ytlr-guide-response yt-focus-container {\n background-color: ${Sa("focusContainerColor")};\n }\n\n #container {\n background-color: ${Sa("routeColor")} !important;\n }\n`;var e=document.querySelector("style[nonce]");e?e.textContent+=mr:pr.textContent=mr}function fr(){var e,t;for(var i in window._yttv)if(window._yttv[i]&&window._yttv[i].getInstance)if(window._yttv[i].toString().includes("ytlrActionRouter"))e=window._yttv[i].getInstance();else{var n,a=!1,r=window._yttv[i].getInstance(),o=p(Object.getOwnPropertyNames(Object.getPrototypeOf(r)));try{for(o.s();!(n=o.n()).done;){var s=n.value;"function"==typeof r[s]&&r[s].toString().includes("ytlrActionRouter")&&(t=r[s],a=!0)}}catch(e){o.e(e)}finally{o.f()}a&&(e=window._yttv[i].getInstance())}if(e){if(!t){var l,u=p(Object.getOwnPropertyNames(Object.getPrototypeOf(e)));try{for(u.s();!(l=u.n()).done;){var c=l.value;"function"==typeof e[c]&&e[c].toString().includes("ytlrActionRouter")&&(t=e[c])}}catch(e){u.e(e)}finally{u.f()}}if(t){var d;for(var h in window._yttv)window._yttv[h]&&"function"==typeof window._yttv[h]&&window._yttv[h].toString().includes("this.actionName")&&(d=window._yttv[h]);return{executeFunction:t.bind(e),commandFunction:d}}}}document.head.appendChild(pr),gr();var vr,br=setInterval(()=>{document.querySelector("video")&&(!function(){var e=document.querySelector("style[nonce]");if(e)e.textContent+=hr;else{var t=document.createElement("style");t.textContent=hr,document.head.appendChild(t)}if(Sa("enableFixedUI"))try{window.tectonicConfig.featureSwitches.isLimitedMemory=!1,window.tectonicConfig.clientData.legacyApplicationQuality="full-animation",window.tectonicConfig.featureSwitches.enableAnimations=!0,window.tectonicConfig.featureSwitches.enableOnScrollLinearAnimation=!0,window.tectonicConfig.featureSwitches.enableListAnimations=!0}catch(e){}window.__spatialNavigation__.keyMode="NONE";var i={37:"left",38:"up",39:"right",40:"down"},n=document.createElement("div");n.classList.add("ytaf-ui-container"),n.style.display="none",n.setAttribute("tabindex",0),n.addEventListener("focus",()=>console.info("uiContainer focused!"),!0),n.addEventListener("blur",()=>console.info("uiContainer blured!"),!0),n.addEventListener("keydown",e=>{if(console.info("uiContainer key event:",e.type,e.keyCode,e),404!==e.keyCode&&172!==e.keyCode){var t;if(e.keyCode in i)navigate(i[e.keyCode]);else{if(13===e.keyCode||32===e.keyCode){console.log("OK button pressed");var a=document.querySelector(":focus");return"checkbox"===a.type&&(a.checked=!a.checked,a.dispatchEvent(new Event("change"))),e.preventDefault(),void e.stopPropagation()}if(27===e.keyCode&&"text"!==document.querySelector(":focus").type)n.style.display="none",n.blur();else if("text"===document.querySelector(":focus").type&&27===e.keyCode){var r=document.querySelector(":focus");r.value=r.value.slice(0,-1)}}"Enter"!==e.key&&"Enter"!==(null===(t=e.Uc)||void 0===t?void 0:t.key)||"text"===document.querySelector(":focus").type&&document.querySelector(":focus").dispatchEvent(new Event("change"))}},!0);try{n.innerHTML='\n<h1>TizenTube Theme Configuration</h1>\n<label for="__barColor">Navigation Bar Color: <input type="text" id="__barColor"/></label>\n<label for="__routeColor">Main Content Color: <input type="text" id="__routeColor"/></label>\n<div><small>Sponsor segments skipping - https://sponsor.ajay.app</small></div>\n',document.querySelector("body").appendChild(n),n.querySelector("#__barColor").value=Sa("focusContainerColor"),n.querySelector("#__barColor").addEventListener("change",e=>{ka("focusContainerColor",e.target.value),gr()}),n.querySelector("#__routeColor").value=Sa("routeColor"),n.querySelector("#__routeColor").addEventListener("change",e=>{ka("routeColor",e.target.value),gr()})}catch(e){}var a=e=>{if(console.info("Key event:",e.type,e.keyCode,e.keyCode,e.defaultPrevented),Sa("enableScreenDimming")&&(yr&&clearTimeout(yr),document.getElementById("container").style.setProperty("opacity","1","important"),yr=setTimeout(()=>{document.querySelector(".html5-video-player").getPlayerStateObject().isPlaying||document.getElementById("container").style.setProperty("opacity",(1-Sa("dimmingOpacity")).toString(),"important")},1e3*Sa("dimmingTimeout"))),403==e.keyCode){if(console.info("Taking over!"),e.preventDefault(),e.stopPropagation(),"keydown"===e.type)try{"none"===n.style.display?(console.info("Showing and focusing!"),n.style.display="block",n.focus()):(console.info("Hiding!"),n.style.display="none",n.blur())}catch(e){}return!1}if(404==e.keyCode)"keydown"===e.type&&qa();else if(39==e.keyCode){if("keydown"===e.type)if(document.querySelector("ytlr-search-text-box > .zylon-focus")&&window.isPipPlaying)document.querySelector("ytlr-player").style.setProperty("background-color","rgb(0, 0, 0)"),t=wa.loadedPlaybackConfig,i=t.clickTrackingParams,a=t.commandMetadata,(r=t.watchEndpoint).startTimeSeconds=Math.floor(document.querySelector("video").currentTime),Qa({clickTrackingParams:i,commandMetadata:a,watchEndpoint:r}),window.isPipPlaying=!1}var t,i,a,r;return!0};document.addEventListener("keydown",a,!0),document.addEventListener("keypress",a,!0),document.addEventListener("keyup",a,!0),Sa("showWelcomeToast")&&setTimeout(()=>{Ea(ha("welcomeMsg.title"),ha("welcomeMsg.subtitle"))},2e3);Sa("reloadHomeOnStartup")&&(Sa("launchToOnStartup")?Qa(JSON.parse(Sa("launchToOnStartup"))):Qa({signalAction:{signal:"SOFT_RELOAD_PAGE"}}));var r=fr();r&&r.executeFunction(new r.commandFunction("reloadGuideAction"));if(Sa("enableFixedUI"))try{new MutationObserver((e,t)=>{var i=document.body;i.classList.contains("app-quality-root")&&i.classList.remove("app-quality-root")}).observe(document.body,{attributes:!0,childList:!1,subtree:!1})}catch(e){}}(),function(){var e=function(e){if(window._yttv[e]&&window._yttv[e].instance&&window._yttv[e].instance.resolveCommand){var t=window._yttv[e].instance.resolveCommand;window._yttv[e].instance.resolveCommand=function(i,n){var a,r,o,s,l,u;if(i.setClientSettingEndpoint){var c,d=p(i.setClientSettingEndpoint.settingDatas);try{for(d.s();!(c=d.n()).done;){var h=c.value;if(h.clientSettingEnum.item.includes("_")){if("I18N_LANGUAGE"===h.clientSettingEnum.item){var m=h.stringValue,g=new Date;return g.setFullYear(g.getFullYear()+10),document.cookie=`PREF=hl=${m}; expires=${g.toUTCString()};`,Qa({signalAction:{signal:"RELOAD_PAGE"}}),!0}}else{var f,v=p(i.setClientSettingEndpoint.settingDatas);try{for(v.s();!(f=v.n()).done;){var b=f.value,y=Object.keys(b).find(e=>e.includes("Value")),S="intValue"===y?Number(b[y]):b[y];if("arrayValue"===y){var k=Sa(b.clientSettingEnum.item);k.includes(S)?k.splice(k.indexOf(S),1):k.push(S),ka(b.clientSettingEnum.item,k)}else ka(b.clientSettingEnum.item,S)}}catch(e){v.e(e)}finally{v.f()}}}}catch(e){d.e(e)}finally{d.f()}}else{if(i.customAction)return Za(i.customAction.action,i.customAction.parameters),!0;if(null!=i&&null!==(a=i.signalAction)&&void 0!==a&&a.customAction)return Za(i.signalAction.customAction.action,i.signalAction.customAction.parameters),!0;if(null!=i&&null!==(r=i.showEngagementPanelEndpoint)&&void 0!==r&&r.customAction)return Za(i.showEngagementPanelEndpoint.customAction.action,i.showEngagementPanelEndpoint.customAction.parameters),!0;if(null!=i&&null!==(o=i.playlistEditEndpoint)&&void 0!==o&&o.customAction)return Za(i.playlistEditEndpoint.customAction.action,i.playlistEditEndpoint.customAction.parameters),!0;if("playback-settings"===(null==i||null===(s=i.openPopupAction)||void 0===s?void 0:s.uniqueId)){var x,w,T=p(i.openPopupAction.popup.overlaySectionRenderer.overlay.overlayTwoPanelRenderer.actionPanel.overlayPanelRenderer.content.overlayPanelItemListRenderer.items);try{for(T.s();!(w=T.n()).done;){var D,E=w.value;"SLOW_MOTION_VIDEO"===(null==E||null===(D=E.compactLinkRenderer)||void 0===D||null===(D=D.icon)||void 0===D?void 0:D.iconType)&&(E.compactLinkRenderer.subtitle&&(E.compactLinkRenderer.subtitle.simpleText="with TizenTube"),E.compactLinkRenderer.serviceEndpoint={clickTrackingParams:"null",signalAction:{customAction:{action:"TT_SPEED_SETTINGS_SHOW",parameters:[]}}})}}catch(e){T.e(e)}finally{T.f()}i.openPopupAction.popup.overlaySectionRenderer.overlay.overlayTwoPanelRenderer.actionPanel.overlayPanelRenderer.content.overlayPanelItemListRenderer.items.splice(2,0,Pa({title:"Mini Player"},{icon:"CLEAR_COOKIES"},[{customAction:{action:"ENTER_MP"}}])),window.h5vcc&&window.h5vcc.tizentube&&null!==(x=window.h5vcc.tizentube)&&void 0!==x&&x.HasSystemFeature("android.software.picture_in_picture")&&i.openPopupAction.popup.overlaySectionRenderer.overlay.overlayTwoPanelRenderer.actionPanel.overlayPanelRenderer.content.overlayPanelItemListRenderer.items.splice(3,0,Pa({title:"Picture in Picture"},{icon:"PIP"},[{customAction:{action:"ENTER_PIP"}}]))}else null!=i&&null!==(l=i.watchEndpoint)&&void 0!==l&&l.videoId&&(window.isPipPlaying=!1,document.querySelector("ytlr-player-container").style.removeProperty("z-index"))}if(i.customAction)return window._yttv[e].instance.resolveCommand(i,n);if(i.commandExecutorCommand&&i.commandExecutorCommand.commands){var C,A=p(i.commandExecutorCommand.commands);try{for(A.s();!(C=A.n()).done;){var P,B,z,I=C.value;I.customAction?Za(I.customAction.action,I.customAction.parameters):null!==(P=I.signalAction)&&void 0!==P&&P.customAction?Za(I.signalAction.customAction.action,I.signalAction.customAction.parameters):null!==(B=I.showEngagementPanelEndpoint)&&void 0!==B&&B.customAction?Za(I.showEngagementPanelEndpoint.customAction.action,I.showEngagementPanelEndpoint.customAction.parameters):null!==(z=I.playlistEditEndpoint)&&void 0!==z&&z.customAction?Za(I.playlistEditEndpoint.customAction.action,I.playlistEditEndpoint.customAction.parameters):window._yttv[e].instance.resolveCommand(I,n)}}catch(e){A.e(e)}finally{A.f()}return!0}return null!=i&&i.requestAccountSelectorCommand&&"ACCOUNT_EVENT_TRIGGER_ON_EXIT"===(null===(u=i.requestAccountSelectorCommand)||void 0===u||null===(u=u.identityActionContext)||void 0===u?void 0:u.eventTrigger)&&!Sa("enableWhosWatchingMenuOnAppExit")?(t.call(this,{signalAction:{signal:"EXIT_APP"}}),!1):t.call(this,i,n)}}};for(var t in window._yttv)e(t)}(),clearInterval(br))},250),yr=null;function Sr(e){var t=JSON.parse(localStorage["yt.leanback.default::recurring_actions"]),i=Sa("permanentlyEnableWhoIsWatchingMenu"),n=new Date;if(e){var a,r;if(n.getTime()-(null===(a=t.data.data["startup-screen-account-selector-with-guest"])||void 0===a?void 0:a.lastFired)>0&&n.getTime()-(null===(r=t.data.data["startup-screen-account-selector-with-guest"])||void 0===r?void 0:r.lastFired)<72e5&&!i)return;function o(){t.data.data["startup-screen-account-selector-with-guest"]&&(t.data.data["startup-screen-account-selector-with-guest"].lastFired=n.getTime()),t.data.data.whos_watching_fullscreen_zero_accounts.lastFired=n.getTime(),t.data.data["startup-screen-signed-out-welcome-back"]&&(t.data.data["startup-screen-signed-out-welcome-back"].lastFired=n.getTime()),localStorage["yt.leanback.default::recurring_actions"]=JSON.stringify(t)}o(),i?(n.setDate(n.getDate()-7),o(),vr=setInterval(o,6e4)):vr&&clearInterval(vr)}else n.setDate(n.getDate()+7),t.data.data["startup-screen-account-selector-with-guest"]&&(t.data.data["startup-screen-account-selector-with-guest"].lastFired=n.getTime()),t.data.data.whos_watching_fullscreen_zero_accounts.lastFired=n.getTime(),t.data.data["startup-screen-signed-out-welcome-back"]&&(t.data.data["startup-screen-signed-out-welcome-back"].lastFired=n.getTime()),localStorage["yt.leanback.default::recurring_actions"]=JSON.stringify(t)}xa.addEventListener("configChange",e=>{var t=e.detail,i=t.key,n=t.value;"enableWhoIsWatchingMenu"===i&&Sr(n)}),Sr(Sa("enableWhoIsWatchingMenu"));var kr=".html5-video-player",xr="onStateChange",wr="configChange",Tr="preferredVideoQuality",Dr=new WeakMap,Er=new WeakMap,Cr=new WeakMap,Ar=new WeakMap,Pr=new WeakSet,Br=new WeakMap;function zr(){clearTimeout(c(Er,this));var e=document.querySelector(kr);e?(h(Dr,this,e),c(Dr,this).addEventListener(xr,c(Br,this)),c(Br,this).call(this)):h(Er,this,setTimeout(()=>s(Pr,this,zr).call(this),100))}function Ir(){xa.addEventListener(wr,e=>{var t;(null===(t=e.detail)||void 0===t?void 0:t.key)===Tr&&s(Pr,this,Fr).call(this)})}function Fr(){var e=Sa(Tr);if(e&&"auto"!==e&&c(Dr,this))try{var t=s(Pr,this,Or).call(this,e);t&&c(Dr,this).setPlaybackQualityRange(t,t)}catch(e){console.warn("[PreferredQuality] Failed to apply quality:",e)}}function Or(e){var t=c(Dr,this).getAvailableQualityData();if(null==t||!t.length)return"highres";var i=e=>parseInt(e,10)||0,n=i(e),a=t.find(e=>i(e.qualityLabel)===n);return a?a.quality:"highres"}function jr(){var e;if(!window._yttv)return setTimeout(jr,250);null===(e=Object.values(window._yttv).find(e=>e instanceof Map&&e.has("ENABLE_PREVIEWS_WITH_SOUND")))||void 0===e||e.set("ENABLE_PREVIEWS_WITH_SOUND",Sa("enablePreviews"))}window.preferredVideoQualityHandler=new class{constructor(){var e,t;u(e=this,t=Pr),t.add(e),d(this,Dr,null),d(this,Er,null),d(this,Cr,null),d(this,Ar,!1),d(this,Br,()=>{var e,t,i,n,a=null===(e=c(Dr,this))||void 0===e||null===(t=e.getPlayerStateObject)||void 0===t?void 0:t.call(e),r=null===(i=c(Dr,this))||void 0===i||null===(n=i.getVideoData)||void 0===n?void 0:n.call(i),o=null==r?void 0:r.video_id;o!==c(Cr,this)&&(h(Cr,this,o),h(Ar,this,!1));var l=Object.values(c(Dr,this).getVideoStats()).find(e=>e&&"shortspage"===e);null==a||!a.isPlaying||c(Ar,this)||l||(s(Pr,this,Fr).call(this),h(Ar,this,!0))}),this.init()}init(){s(Pr,this,zr).call(this),s(Pr,this,Ir).call(this)}},window.queuedVideos={videos:[],lastVideoId:null},function e(){var t=document.querySelector(".html5-video-player");if(!t)return setTimeout(e,250);t.addEventListener("onStateChange",()=>{var e=t.getPlayerStateObject(),i=t.getVideoData();if(0!==window.queuedVideos.videos.length)if(e.isEnded){var n=window.queuedVideos.videos.findIndex(e=>e.tileRenderer.contentId===i.video_id);if(-1!==n){if(n+1>=window.queuedVideos.videos.length)return void Qa({customAction:{action:"CLEAR_QUEUE"}});var a=window.queuedVideos.videos[n+1].tileRenderer.onSelectCommand;setTimeout(()=>Qa(a),500)}else if(window.queuedVideos.lastVideoId){var r=window.queuedVideos.videos.findIndex(e=>e.tileRenderer.contentId===window.queuedVideos.lastVideoId);if(!(-1!==r&&r+1<window.queuedVideos.videos.length))return void Qa({customAction:{action:"CLEAR_QUEUE"}});var o=window.queuedVideos.videos[r+1].tileRenderer.onSelectCommand;setTimeout(()=>Qa(o),500)}else{var s=window.queuedVideos.videos[0].tileRenderer.onSelectCommand;setTimeout(()=>Qa(s),500)}}else e.isPlaying&&(document.getElementById("container").style.setProperty("opacity","1","important"),window.queuedVideos.videos.find(e=>e.contentId===i.video_id)&&(window.queuedVideos.lastVideoId=i.video_id))})}(),xa.addEventListener("configChange",e=>{jr()}),"complete"===document.readyState?jr():window.addEventListener("load",jr);var Rr,Mr={exports:{}};var Nr,Lr,_r=(Rr||(Rr=1,Nr=function(){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var a=t[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}return i.m=e,i.c=t,i.p="",i(0)}([function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),a=i(3),r=i(8),o=i(15);function s(e,t,i){var o=null,s=function(e,t){i&&i(e,t),o&&o.visit(e,t)},l="function"==typeof i?s:null,u=!1;if(t){u="boolean"==typeof t.comment&&t.comment;var c="boolean"==typeof t.attachComment&&t.attachComment;(u||c)&&((o=new n.CommentHandler).attach=c,t.comment=!0,l=s)}var d,h=!1;t&&"string"==typeof t.sourceType&&(h="module"===t.sourceType),d=t&&"boolean"==typeof t.jsx&&t.jsx?new a.JSXParser(e,t,l):new r.Parser(e,t,l);var p=h?d.parseModule():d.parseScript();return u&&o&&(p.comments=o.comments),d.config.tokens&&(p.tokens=d.tokens),d.config.tolerant&&(p.errors=d.errorHandler.errors),p}t.parse=s,t.parseModule=function(e,t,i){var n=t||{};return n.sourceType="module",s(e,n,i)},t.parseScript=function(e,t,i){var n=t||{};return n.sourceType="script",s(e,n,i)},t.tokenize=function(e,t,i){var n,a=new o.Tokenizer(e,t);n=[];try{for(;;){var r=a.getNextToken();if(!r)break;i&&(r=i(r)),n.push(r)}}catch(e){a.errorHandler.tolerate(e)}return a.errorHandler.tolerant&&(n.errors=a.errors()),n};var l=i(2);t.Syntax=l.Syntax,t.version="4.0.1"},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(2),a=function(){function e(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return e.prototype.insertInnerComments=function(e,t){if(e.type===n.Syntax.BlockStatement&&0===e.body.length){for(var i=[],a=this.leading.length-1;a>=0;--a){var r=this.leading[a];t.end.offset>=r.start&&(i.unshift(r.comment),this.leading.splice(a,1),this.trailing.splice(a,1))}i.length&&(e.innerComments=i)}},e.prototype.findTrailingComments=function(e){var t=[];if(this.trailing.length>0){for(var i=this.trailing.length-1;i>=0;--i){var n=this.trailing[i];n.start>=e.end.offset&&t.unshift(n.comment)}return this.trailing.length=0,t}var a=this.stack[this.stack.length-1];if(a&&a.node.trailingComments){var r=a.node.trailingComments[0];r&&r.range[0]>=e.end.offset&&(t=a.node.trailingComments,delete a.node.trailingComments)}return t},e.prototype.findLeadingComments=function(e){for(var t,i=[];this.stack.length>0&&(r=this.stack[this.stack.length-1])&&r.start>=e.start.offset;)t=r.node,this.stack.pop();if(t){for(var n=(t.leadingComments?t.leadingComments.length:0)-1;n>=0;--n){var a=t.leadingComments[n];a.range[1]<=e.start.offset&&(i.unshift(a),t.leadingComments.splice(n,1))}return t.leadingComments&&0===t.leadingComments.length&&delete t.leadingComments,i}for(n=this.leading.length-1;n>=0;--n){var r;(r=this.leading[n]).start<=e.start.offset&&(i.unshift(r.comment),this.leading.splice(n,1))}return i},e.prototype.visitNode=function(e,t){if(!(e.type===n.Syntax.Program&&e.body.length>0)){this.insertInnerComments(e,t);var i=this.findTrailingComments(t),a=this.findLeadingComments(t);a.length>0&&(e.leadingComments=a),i.length>0&&(e.trailingComments=i),this.stack.push({node:e,start:t.start.offset})}},e.prototype.visitComment=function(e,t){var i="L"===e.type[0]?"Line":"Block",n={type:i,value:e.value};if(e.range&&(n.range=e.range),e.loc&&(n.loc=e.loc),this.comments.push(n),this.attach){var a={comment:{type:i,value:e.value,range:[t.start.offset,t.end.offset]},start:t.start.offset};e.loc&&(a.comment.loc=e.loc),e.type=i,this.leading.push(a),this.trailing.push(a)}},e.prototype.visit=function(e,t){"LineComment"===e.type||"BlockComment"===e.type?this.visitComment(e,t):this.attach&&this.visitNode(e,t)},e}();t.CommentHandler=a},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(e,t,i){var n,a=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var r=i(4),o=i(5),s=i(6),l=i(7),u=i(8),c=i(13),d=i(14);function h(e){var t;switch(e.type){case s.JSXSyntax.JSXIdentifier:t=e.name;break;case s.JSXSyntax.JSXNamespacedName:var i=e;t=h(i.namespace)+":"+h(i.name);break;case s.JSXSyntax.JSXMemberExpression:var n=e;t=h(n.object)+"."+h(n.property)}return t}c.TokenName[100]="JSXIdentifier",c.TokenName[101]="JSXText";var p=function(e){function t(t,i,n){return e.call(this,t,i,n)||this}return a(t,e),t.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():e.prototype.parsePrimaryExpression.call(this)},t.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},t.prototype.finishJSX=function(){this.nextToken()},t.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},t.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.scanXHTMLEntity=function(e){for(var t="&",i=!0,n=!1,a=!1,o=!1;!this.scanner.eof()&&i&&!n;){var s=this.scanner.source[this.scanner.index];if(s===e)break;if(n=";"===s,t+=s,++this.scanner.index,!n)switch(t.length){case 2:a="#"===s;break;case 3:a&&(i=(o="x"===s)||r.Character.isDecimalDigit(s.charCodeAt(0)),a=a&&!o);break;default:i=(i=i&&!(a&&!r.Character.isDecimalDigit(s.charCodeAt(0))))&&!(o&&!r.Character.isHexDigit(s.charCodeAt(0)))}}if(i&&n&&t.length>2){var l=t.substr(1,t.length-2);a&&l.length>1?t=String.fromCharCode(parseInt(l.substr(1),10)):o&&l.length>2?t=String.fromCharCode(parseInt("0"+l.substr(1),16)):a||o||!d.XHTMLEntities[l]||(t=d.XHTMLEntities[l])}return t},t.prototype.lexJSX=function(){var e=this.scanner.source.charCodeAt(this.scanner.index);if(60===e||62===e||47===e||58===e||61===e||123===e||125===e)return{type:7,value:s=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(34===e||39===e){for(var t=this.scanner.index,i=this.scanner.source[this.scanner.index++],n="";!this.scanner.eof()&&(l=this.scanner.source[this.scanner.index++])!==i;)n+="&"===l?this.scanXHTMLEntity(i):l;return{type:8,value:n,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}if(46===e){var a=this.scanner.source.charCodeAt(this.scanner.index+1),o=this.scanner.source.charCodeAt(this.scanner.index+2),s=46===a&&46===o?"...":".";return t=this.scanner.index,this.scanner.index+=s.length,{type:7,value:s,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}if(96===e)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(r.Character.isIdentifierStart(e)&&92!==e){for(t=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var l=this.scanner.source.charCodeAt(this.scanner.index);if(r.Character.isIdentifierPart(l)&&92!==l)++this.scanner.index;else{if(45!==l)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(t,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}return this.scanner.lex()},t.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var e=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(e)),e},t.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var e=this.scanner.index,t="";!this.scanner.eof();){var i=this.scanner.source[this.scanner.index];if("{"===i||"<"===i)break;++this.scanner.index,t+=i,r.Character.isLineTerminator(i.charCodeAt(0))&&(++this.scanner.lineNumber,"\r"===i&&"\n"===this.scanner.source[this.scanner.index]&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var n={type:101,value:t,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:e,end:this.scanner.index};return t.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(n)),n},t.prototype.peekJSXToken=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.lexJSX();return this.scanner.restoreState(e),t},t.prototype.expectJSX=function(e){var t=this.nextJSXToken();7===t.type&&t.value===e||this.throwUnexpectedToken(t)},t.prototype.matchJSX=function(e){var t=this.peekJSXToken();return 7===t.type&&t.value===e},t.prototype.parseJSXIdentifier=function(){var e=this.createJSXNode(),t=this.nextJSXToken();return 100!==t.type&&this.throwUnexpectedToken(t),this.finalize(e,new o.JSXIdentifier(t.value))},t.prototype.parseJSXElementName=function(){var e=this.createJSXNode(),t=this.parseJSXIdentifier();if(this.matchJSX(":")){var i=t;this.expectJSX(":");var n=this.parseJSXIdentifier();t=this.finalize(e,new o.JSXNamespacedName(i,n))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var a=t;this.expectJSX(".");var r=this.parseJSXIdentifier();t=this.finalize(e,new o.JSXMemberExpression(a,r))}return t},t.prototype.parseJSXAttributeName=function(){var e,t=this.createJSXNode(),i=this.parseJSXIdentifier();if(this.matchJSX(":")){var n=i;this.expectJSX(":");var a=this.parseJSXIdentifier();e=this.finalize(t,new o.JSXNamespacedName(n,a))}else e=i;return e},t.prototype.parseJSXStringLiteralAttribute=function(){var e=this.createJSXNode(),t=this.nextJSXToken();8!==t.type&&this.throwUnexpectedToken(t);var i=this.getTokenRaw(t);return this.finalize(e,new l.Literal(t.value,i))},t.prototype.parseJSXExpressionAttribute=function(){var e=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var t=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(e,new o.JSXExpressionContainer(t))},t.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},t.prototype.parseJSXNameValueAttribute=function(){var e=this.createJSXNode(),t=this.parseJSXAttributeName(),i=null;return this.matchJSX("=")&&(this.expectJSX("="),i=this.parseJSXAttributeValue()),this.finalize(e,new o.JSXAttribute(t,i))},t.prototype.parseJSXSpreadAttribute=function(){var e=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var t=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(e,new o.JSXSpreadAttribute(t))},t.prototype.parseJSXAttributes=function(){for(var e=[];!this.matchJSX("/")&&!this.matchJSX(">");){var t=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();e.push(t)}return e},t.prototype.parseJSXOpeningElement=function(){var e=this.createJSXNode();this.expectJSX("<");var t=this.parseJSXElementName(),i=this.parseJSXAttributes(),n=this.matchJSX("/");return n&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(e,new o.JSXOpeningElement(t,n,i))},t.prototype.parseJSXBoundaryElement=function(){var e=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var t=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(e,new o.JSXClosingElement(t))}var i=this.parseJSXElementName(),n=this.parseJSXAttributes(),a=this.matchJSX("/");return a&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(e,new o.JSXOpeningElement(i,a,n))},t.prototype.parseJSXEmptyExpression=function(){var e=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(e,new o.JSXEmptyExpression)},t.prototype.parseJSXExpressionContainer=function(){var e,t=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(e=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),e=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(t,new o.JSXExpressionContainer(e))},t.prototype.parseJSXChildren=function(){for(var e=[];!this.scanner.eof();){var t=this.createJSXChildNode(),i=this.nextJSXText();if(i.start<i.end){var n=this.getTokenRaw(i),a=this.finalize(t,new o.JSXText(i.value,n));e.push(a)}if("{"!==this.scanner.source[this.scanner.index])break;var r=this.parseJSXExpressionContainer();e.push(r)}return e},t.prototype.parseComplexJSXElement=function(e){for(var t=[];!this.scanner.eof();){e.children=e.children.concat(this.parseJSXChildren());var i=this.createJSXChildNode(),n=this.parseJSXBoundaryElement();if(n.type===s.JSXSyntax.JSXOpeningElement){var a=n;if(a.selfClosing){var r=this.finalize(i,new o.JSXElement(a,[],null));e.children.push(r)}else t.push(e),e={node:i,opening:a,closing:null,children:[]}}if(n.type===s.JSXSyntax.JSXClosingElement){e.closing=n;var l=h(e.opening.name);if(l!==h(e.closing.name)&&this.tolerateError("Expected corresponding JSX closing tag for %0",l),!(t.length>0))break;r=this.finalize(e.node,new o.JSXElement(e.opening,e.children,e.closing)),(e=t[t.length-1]).children.push(r),t.pop()}}return e},t.prototype.parseJSXElement=function(){var e=this.createJSXNode(),t=this.parseJSXOpeningElement(),i=[],n=null;if(!t.selfClosing){var a=this.parseComplexJSXElement({node:e,opening:t,closing:n,children:i});i=a.children,n=a.closing}return this.finalize(e,new o.JSXElement(t,i,n))},t.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var e=this.parseJSXElement();return this.finishJSX(),e},t.prototype.isStartOfExpression=function(){return e.prototype.isStartOfExpression.call(this)||this.match("<")},t}(u.Parser);t.JSXParser=p},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var i={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};t.Character={fromCodePoint:function(e){return e<65536?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10))+String.fromCharCode(56320+(e-65536&1023))},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStart:function(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||92===e||e>=128&&i.NonAsciiIdentifierStart.test(t.Character.fromCodePoint(e))},isIdentifierPart:function(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||92===e||e>=128&&i.NonAsciiIdentifierPart.test(t.Character.fromCodePoint(e))},isDecimalDigit:function(e){return e>=48&&e<=57},isHexDigit:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102},isOctalDigit:function(e){return e>=48&&e<=55}}},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(6),a=function(e){this.type=n.JSXSyntax.JSXClosingElement,this.name=e};t.JSXClosingElement=a;var r=function(e,t,i){this.type=n.JSXSyntax.JSXElement,this.openingElement=e,this.children=t,this.closingElement=i};t.JSXElement=r;var o=function(){this.type=n.JSXSyntax.JSXEmptyExpression};t.JSXEmptyExpression=o;var s=function(e){this.type=n.JSXSyntax.JSXExpressionContainer,this.expression=e};t.JSXExpressionContainer=s;var l=function(e){this.type=n.JSXSyntax.JSXIdentifier,this.name=e};t.JSXIdentifier=l;var u=function(e,t){this.type=n.JSXSyntax.JSXMemberExpression,this.object=e,this.property=t};t.JSXMemberExpression=u;var c=function(e,t){this.type=n.JSXSyntax.JSXAttribute,this.name=e,this.value=t};t.JSXAttribute=c;var d=function(e,t){this.type=n.JSXSyntax.JSXNamespacedName,this.namespace=e,this.name=t};t.JSXNamespacedName=d;var h=function(e,t,i){this.type=n.JSXSyntax.JSXOpeningElement,this.name=e,this.selfClosing=t,this.attributes=i};t.JSXOpeningElement=h;var p=function(e){this.type=n.JSXSyntax.JSXSpreadAttribute,this.argument=e};t.JSXSpreadAttribute=p;var m=function(e,t){this.type=n.JSXSyntax.JSXText,this.value=e,this.raw=t};t.JSXText=m},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(2),a=function(e){this.type=n.Syntax.ArrayExpression,this.elements=e};t.ArrayExpression=a;var r=function(e){this.type=n.Syntax.ArrayPattern,this.elements=e};t.ArrayPattern=r;var o=function(e,t,i){this.type=n.Syntax.ArrowFunctionExpression,this.id=null,this.params=e,this.body=t,this.generator=!1,this.expression=i,this.async=!1};t.ArrowFunctionExpression=o;var s=function(e,t,i){this.type=n.Syntax.AssignmentExpression,this.operator=e,this.left=t,this.right=i};t.AssignmentExpression=s;var l=function(e,t){this.type=n.Syntax.AssignmentPattern,this.left=e,this.right=t};t.AssignmentPattern=l;var u=function(e,t,i){this.type=n.Syntax.ArrowFunctionExpression,this.id=null,this.params=e,this.body=t,this.generator=!1,this.expression=i,this.async=!0};t.AsyncArrowFunctionExpression=u;var c=function(e,t,i){this.type=n.Syntax.FunctionDeclaration,this.id=e,this.params=t,this.body=i,this.generator=!1,this.expression=!1,this.async=!0};t.AsyncFunctionDeclaration=c;var d=function(e,t,i){this.type=n.Syntax.FunctionExpression,this.id=e,this.params=t,this.body=i,this.generator=!1,this.expression=!1,this.async=!0};t.AsyncFunctionExpression=d;var h=function(e){this.type=n.Syntax.AwaitExpression,this.argument=e};t.AwaitExpression=h;var p=function(e,t,i){var a="||"===e||"&&"===e;this.type=a?n.Syntax.LogicalExpression:n.Syntax.BinaryExpression,this.operator=e,this.left=t,this.right=i};t.BinaryExpression=p;var m=function(e){this.type=n.Syntax.BlockStatement,this.body=e};t.BlockStatement=m;var g=function(e){this.type=n.Syntax.BreakStatement,this.label=e};t.BreakStatement=g;var f=function(e,t){this.type=n.Syntax.CallExpression,this.callee=e,this.arguments=t};t.CallExpression=f;var v=function(e,t){this.type=n.Syntax.CatchClause,this.param=e,this.body=t};t.CatchClause=v;var b=function(e){this.type=n.Syntax.ClassBody,this.body=e};t.ClassBody=b;var y=function(e,t,i){this.type=n.Syntax.ClassDeclaration,this.id=e,this.superClass=t,this.body=i};t.ClassDeclaration=y;var S=function(e,t,i){this.type=n.Syntax.ClassExpression,this.id=e,this.superClass=t,this.body=i};t.ClassExpression=S;var k=function(e,t){this.type=n.Syntax.MemberExpression,this.computed=!0,this.object=e,this.property=t};t.ComputedMemberExpression=k;var x=function(e,t,i){this.type=n.Syntax.ConditionalExpression,this.test=e,this.consequent=t,this.alternate=i};t.ConditionalExpression=x;var w=function(e){this.type=n.Syntax.ContinueStatement,this.label=e};t.ContinueStatement=w;var T=function(){this.type=n.Syntax.DebuggerStatement};t.DebuggerStatement=T;var D=function(e,t){this.type=n.Syntax.ExpressionStatement,this.expression=e,this.directive=t};t.Directive=D;var E=function(e,t){this.type=n.Syntax.DoWhileStatement,this.body=e,this.test=t};t.DoWhileStatement=E;var C=function(){this.type=n.Syntax.EmptyStatement};t.EmptyStatement=C;var A=function(e){this.type=n.Syntax.ExportAllDeclaration,this.source=e};t.ExportAllDeclaration=A;var P=function(e){this.type=n.Syntax.ExportDefaultDeclaration,this.declaration=e};t.ExportDefaultDeclaration=P;var B=function(e,t,i){this.type=n.Syntax.ExportNamedDeclaration,this.declaration=e,this.specifiers=t,this.source=i};t.ExportNamedDeclaration=B;var z=function(e,t){this.type=n.Syntax.ExportSpecifier,this.exported=t,this.local=e};t.ExportSpecifier=z;var I=function(e){this.type=n.Syntax.ExpressionStatement,this.expression=e};t.ExpressionStatement=I;var F=function(e,t,i){this.type=n.Syntax.ForInStatement,this.left=e,this.right=t,this.body=i,this.each=!1};t.ForInStatement=F;var O=function(e,t,i){this.type=n.Syntax.ForOfStatement,this.left=e,this.right=t,this.body=i};t.ForOfStatement=O;var j=function(e,t,i,a){this.type=n.Syntax.ForStatement,this.init=e,this.test=t,this.update=i,this.body=a};t.ForStatement=j;var R=function(e,t,i,a){this.type=n.Syntax.FunctionDeclaration,this.id=e,this.params=t,this.body=i,this.generator=a,this.expression=!1,this.async=!1};t.FunctionDeclaration=R;var M=function(e,t,i,a){this.type=n.Syntax.FunctionExpression,this.id=e,this.params=t,this.body=i,this.generator=a,this.expression=!1,this.async=!1};t.FunctionExpression=M;var N=function(e){this.type=n.Syntax.Identifier,this.name=e};t.Identifier=N;var L=function(e,t,i){this.type=n.Syntax.IfStatement,this.test=e,this.consequent=t,this.alternate=i};t.IfStatement=L;var _=function(e,t){this.type=n.Syntax.ImportDeclaration,this.specifiers=e,this.source=t};t.ImportDeclaration=_;var V=function(e){this.type=n.Syntax.ImportDefaultSpecifier,this.local=e};t.ImportDefaultSpecifier=V;var H=function(e){this.type=n.Syntax.ImportNamespaceSpecifier,this.local=e};t.ImportNamespaceSpecifier=H;var U=function(e,t){this.type=n.Syntax.ImportSpecifier,this.local=e,this.imported=t};t.ImportSpecifier=U;var W=function(e,t){this.type=n.Syntax.LabeledStatement,this.label=e,this.body=t};t.LabeledStatement=W;var K=function(e,t){this.type=n.Syntax.Literal,this.value=e,this.raw=t};t.Literal=K;var G=function(e,t){this.type=n.Syntax.MetaProperty,this.meta=e,this.property=t};t.MetaProperty=G;var q=function(e,t,i,a,r){this.type=n.Syntax.MethodDefinition,this.key=e,this.computed=t,this.value=i,this.kind=a,this.static=r};t.MethodDefinition=q;var J=function(e){this.type=n.Syntax.Program,this.body=e,this.sourceType="module"};t.Module=J;var X=function(e,t){this.type=n.Syntax.NewExpression,this.callee=e,this.arguments=t};t.NewExpression=X;var Y=function(e){this.type=n.Syntax.ObjectExpression,this.properties=e};t.ObjectExpression=Y;var $=function(e){this.type=n.Syntax.ObjectPattern,this.properties=e};t.ObjectPattern=$;var Q=function(e,t,i,a,r,o){this.type=n.Syntax.Property,this.key=t,this.computed=i,this.value=a,this.kind=e,this.method=r,this.shorthand=o};t.Property=Q;var Z=function(e,t,i,a){this.type=n.Syntax.Literal,this.value=e,this.raw=t,this.regex={pattern:i,flags:a}};t.RegexLiteral=Z;var ee=function(e){this.type=n.Syntax.RestElement,this.argument=e};t.RestElement=ee;var te=function(e){this.type=n.Syntax.ReturnStatement,this.argument=e};t.ReturnStatement=te;var ie=function(e){this.type=n.Syntax.Program,this.body=e,this.sourceType="script"};t.Script=ie;var ne=function(e){this.type=n.Syntax.SequenceExpression,this.expressions=e};t.SequenceExpression=ne;var ae=function(e){this.type=n.Syntax.SpreadElement,this.argument=e};t.SpreadElement=ae;var re=function(e,t){this.type=n.Syntax.MemberExpression,this.computed=!1,this.object=e,this.property=t};t.StaticMemberExpression=re;var oe=function(){this.type=n.Syntax.Super};t.Super=oe;var se=function(e,t){this.type=n.Syntax.SwitchCase,this.test=e,this.consequent=t};t.SwitchCase=se;var le=function(e,t){this.type=n.Syntax.SwitchStatement,this.discriminant=e,this.cases=t};t.SwitchStatement=le;var ue=function(e,t){this.type=n.Syntax.TaggedTemplateExpression,this.tag=e,this.quasi=t};t.TaggedTemplateExpression=ue;var ce=function(e,t){this.type=n.Syntax.TemplateElement,this.value=e,this.tail=t};t.TemplateElement=ce;var de=function(e,t){this.type=n.Syntax.TemplateLiteral,this.quasis=e,this.expressions=t};t.TemplateLiteral=de;var he=function(){this.type=n.Syntax.ThisExpression};t.ThisExpression=he;var pe=function(e){this.type=n.Syntax.ThrowStatement,this.argument=e};t.ThrowStatement=pe;var me=function(e,t,i){this.type=n.Syntax.TryStatement,this.block=e,this.handler=t,this.finalizer=i};t.TryStatement=me;var ge=function(e,t){this.type=n.Syntax.UnaryExpression,this.operator=e,this.argument=t,this.prefix=!0};t.UnaryExpression=ge;var fe=function(e,t,i){this.type=n.Syntax.UpdateExpression,this.operator=e,this.argument=t,this.prefix=i};t.UpdateExpression=fe;var ve=function(e,t){this.type=n.Syntax.VariableDeclaration,this.declarations=e,this.kind=t};t.VariableDeclaration=ve;var be=function(e,t){this.type=n.Syntax.VariableDeclarator,this.id=e,this.init=t};t.VariableDeclarator=be;var ye=function(e,t){this.type=n.Syntax.WhileStatement,this.test=e,this.body=t};t.WhileStatement=ye;var Se=function(e,t){this.type=n.Syntax.WithStatement,this.object=e,this.body=t};t.WithStatement=Se;var ke=function(e,t){this.type=n.Syntax.YieldExpression,this.argument=e,this.delegate=t};t.YieldExpression=ke},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(9),a=i(10),r=i(11),o=i(7),s=i(12),l=i(2),u=i(13),c="ArrowParameterPlaceHolder",d=function(){function e(e,t,i){void 0===t&&(t={}),this.config={range:"boolean"==typeof t.range&&t.range,loc:"boolean"==typeof t.loc&&t.loc,source:null,tokens:"boolean"==typeof t.tokens&&t.tokens,comment:"boolean"==typeof t.comment&&t.comment,tolerant:"boolean"==typeof t.tolerant&&t.tolerant},this.config.loc&&t.source&&null!==t.source&&(this.config.source=String(t.source)),this.delegate=i,this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new s.Scanner(e,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return e.prototype.throwError=function(e){var t=Array.prototype.slice.call(arguments,1),i=e.replace(/%(\d)/g,function(e,i){return n.assert(i<t.length,"Message reference must be in range"),t[i]}),a=this.lastMarker.index,r=this.lastMarker.line,o=this.lastMarker.column+1;throw this.errorHandler.createError(a,r,o,i)},e.prototype.tolerateError=function(e){var t=Array.prototype.slice.call(arguments,1),i=e.replace(/%(\d)/g,function(e,i){return n.assert(i<t.length,"Message reference must be in range"),t[i]}),a=this.lastMarker.index,r=this.scanner.lineNumber,o=this.lastMarker.column+1;this.errorHandler.tolerateError(a,r,o,i)},e.prototype.unexpectedTokenError=function(e,t){var i,n=t||r.Messages.UnexpectedToken;if(e?(t||(n=2===e.type?r.Messages.UnexpectedEOS:3===e.type?r.Messages.UnexpectedIdentifier:6===e.type?r.Messages.UnexpectedNumber:8===e.type?r.Messages.UnexpectedString:10===e.type?r.Messages.UnexpectedTemplate:r.Messages.UnexpectedToken,4===e.type&&(this.scanner.isFutureReservedWord(e.value)?n=r.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(e.value)&&(n=r.Messages.StrictReservedWord))),i=e.value):i="ILLEGAL",n=n.replace("%0",i),e&&"number"==typeof e.lineNumber){var a=e.start,o=e.lineNumber,s=this.lastMarker.index-this.lastMarker.column,l=e.start-s+1;return this.errorHandler.createError(a,o,l,n)}return a=this.lastMarker.index,o=this.lastMarker.line,l=this.lastMarker.column+1,this.errorHandler.createError(a,o,l,n)},e.prototype.throwUnexpectedToken=function(e,t){throw this.unexpectedTokenError(e,t)},e.prototype.tolerateUnexpectedToken=function(e,t){this.errorHandler.tolerate(this.unexpectedTokenError(e,t))},e.prototype.collectComments=function(){if(this.config.comment){var e=this.scanner.scanComments();if(e.length>0&&this.delegate)for(var t=0;t<e.length;++t){var i=e[t],n=void 0;n={type:i.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(i.slice[0],i.slice[1])},this.config.range&&(n.range=i.range),this.config.loc&&(n.loc=i.loc);var a={start:{line:i.loc.start.line,column:i.loc.start.column,offset:i.range[0]},end:{line:i.loc.end.line,column:i.loc.end.column,offset:i.range[1]}};this.delegate(n,a)}}else this.scanner.scanComments()},e.prototype.getTokenRaw=function(e){return this.scanner.source.slice(e.start,e.end)},e.prototype.convertToken=function(e){var t={type:u.TokenName[e.type],value:this.getTokenRaw(e)};if(this.config.range&&(t.range=[e.start,e.end]),this.config.loc&&(t.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),9===e.type){var i=e.pattern,n=e.flags;t.regex={pattern:i,flags:n}}return t},e.prototype.nextToken=function(){var e=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var t=this.scanner.lex();return this.hasLineTerminator=e.lineNumber!==t.lineNumber,t&&this.context.strict&&3===t.type&&this.scanner.isStrictModeReservedWord(t.value)&&(t.type=4),this.lookahead=t,this.config.tokens&&2!==t.type&&this.tokens.push(this.convertToken(t)),e},e.prototype.nextRegexToken=function(){this.collectComments();var e=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(e))),this.lookahead=e,this.nextToken(),e},e.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},e.prototype.startNode=function(e,t){void 0===t&&(t=0);var i=e.start-e.lineStart,n=e.lineNumber;return i<0&&(i+=t,n--),{index:e.start,line:n,column:i}},e.prototype.finalize=function(e,t){if(this.config.range&&(t.range=[e.index,this.lastMarker.index]),this.config.loc&&(t.loc={start:{line:e.line,column:e.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(t.loc.source=this.config.source)),this.delegate){var i={start:{line:e.line,column:e.column,offset:e.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(t,i)}return t},e.prototype.expect=function(e){var t=this.nextToken();7===t.type&&t.value===e||this.throwUnexpectedToken(t)},e.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var e=this.lookahead;7===e.type&&","===e.value?this.nextToken():7===e.type&&";"===e.value?(this.nextToken(),this.tolerateUnexpectedToken(e)):this.tolerateUnexpectedToken(e,r.Messages.UnexpectedToken)}else this.expect(",")},e.prototype.expectKeyword=function(e){var t=this.nextToken();4===t.type&&t.value===e||this.throwUnexpectedToken(t)},e.prototype.match=function(e){return 7===this.lookahead.type&&this.lookahead.value===e},e.prototype.matchKeyword=function(e){return 4===this.lookahead.type&&this.lookahead.value===e},e.prototype.matchContextualKeyword=function(e){return 3===this.lookahead.type&&this.lookahead.value===e},e.prototype.matchAssign=function(){if(7!==this.lookahead.type)return!1;var e=this.lookahead.value;return"="===e||"*="===e||"**="===e||"/="===e||"%="===e||"+="===e||"-="===e||"<<="===e||">>="===e||">>>="===e||"&="===e||"^="===e||"|="===e},e.prototype.isolateCoverGrammar=function(e){var t=this.context.isBindingElement,i=this.context.isAssignmentTarget,n=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var a=e.call(this);return null!==this.context.firstCoverInitializedNameError&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=t,this.context.isAssignmentTarget=i,this.context.firstCoverInitializedNameError=n,a},e.prototype.inheritCoverGrammar=function(e){var t=this.context.isBindingElement,i=this.context.isAssignmentTarget,n=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var a=e.call(this);return this.context.isBindingElement=this.context.isBindingElement&&t,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&i,this.context.firstCoverInitializedNameError=n||this.context.firstCoverInitializedNameError,a},e.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(2===this.lookahead.type||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},e.prototype.parsePrimaryExpression=function(){var e,t,i,n=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&"await"===this.lookahead.value&&this.tolerateUnexpectedToken(this.lookahead),e=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(n,new o.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,r.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),i=this.getTokenRaw(t),e=this.finalize(n,new o.Literal(t.value,i));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),i=this.getTokenRaw(t),e=this.finalize(n,new o.Literal("true"===t.value,i));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),i=this.getTokenRaw(t),e=this.finalize(n,new o.Literal(null,i));break;case 10:e=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,e=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":e=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":e=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,t=this.nextRegexToken(),i=this.getTokenRaw(t),e=this.finalize(n,new o.RegexLiteral(t.regex,i,t.pattern,t.flags));break;default:e=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?e=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?e=this.finalize(n,new o.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?e=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),e=this.finalize(n,new o.ThisExpression)):e=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:e=this.throwUnexpectedToken(this.nextToken())}return e},e.prototype.parseSpreadElement=function(){var e=this.createNode();this.expect("...");var t=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(e,new o.SpreadElement(t))},e.prototype.parseArrayInitializer=function(){var e=this.createNode(),t=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),t.push(null);else if(this.match("...")){var i=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),t.push(i)}else t.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(e,new o.ArrayExpression(t))},e.prototype.parsePropertyMethod=function(e){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var t=this.context.strict,i=this.context.allowStrictDirective;this.context.allowStrictDirective=e.simple;var n=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&e.firstRestricted&&this.tolerateUnexpectedToken(e.firstRestricted,e.message),this.context.strict&&e.stricted&&this.tolerateUnexpectedToken(e.stricted,e.message),this.context.strict=t,this.context.allowStrictDirective=i,n},e.prototype.parsePropertyMethodFunction=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var i=this.parseFormalParameters(),n=this.parsePropertyMethod(i);return this.context.allowYield=t,this.finalize(e,new o.FunctionExpression(null,i.params,n,!1))},e.prototype.parsePropertyMethodAsyncFunction=function(){var e=this.createNode(),t=this.context.allowYield,i=this.context.await;this.context.allowYield=!1,this.context.await=!0;var n=this.parseFormalParameters(),a=this.parsePropertyMethod(n);return this.context.allowYield=t,this.context.await=i,this.finalize(e,new o.AsyncFunctionExpression(null,n.params,a))},e.prototype.parseObjectPropertyKey=function(){var e,t=this.createNode(),i=this.nextToken();switch(i.type){case 8:case 6:this.context.strict&&i.octal&&this.tolerateUnexpectedToken(i,r.Messages.StrictOctalLiteral);var n=this.getTokenRaw(i);e=this.finalize(t,new o.Literal(i.value,n));break;case 3:case 1:case 5:case 4:e=this.finalize(t,new o.Identifier(i.value));break;case 7:"["===i.value?(e=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):e=this.throwUnexpectedToken(i);break;default:e=this.throwUnexpectedToken(i)}return e},e.prototype.isPropertyKey=function(e,t){return e.type===l.Syntax.Identifier&&e.name===t||e.type===l.Syntax.Literal&&e.value===t},e.prototype.parseObjectProperty=function(e){var t,i=this.createNode(),n=this.lookahead,a=null,s=null,l=!1,u=!1,c=!1,d=!1;if(3===n.type){var h=n.value;this.nextToken(),l=this.match("["),a=(d=!(this.hasLineTerminator||"async"!==h||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(i,new o.Identifier(h))}else this.match("*")?this.nextToken():(l=this.match("["),a=this.parseObjectPropertyKey());var p=this.qualifiedPropertyName(this.lookahead);if(3===n.type&&!d&&"get"===n.value&&p)t="get",l=this.match("["),a=this.parseObjectPropertyKey(),this.context.allowYield=!1,s=this.parseGetterMethod();else if(3===n.type&&!d&&"set"===n.value&&p)t="set",l=this.match("["),a=this.parseObjectPropertyKey(),s=this.parseSetterMethod();else if(7===n.type&&"*"===n.value&&p)t="init",l=this.match("["),a=this.parseObjectPropertyKey(),s=this.parseGeneratorMethod(),u=!0;else if(a||this.throwUnexpectedToken(this.lookahead),t="init",this.match(":")&&!d)!l&&this.isPropertyKey(a,"__proto__")&&(e.value&&this.tolerateError(r.Messages.DuplicateProtoProperty),e.value=!0),this.nextToken(),s=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))s=d?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),u=!0;else if(3===n.type)if(h=this.finalize(i,new o.Identifier(n.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),c=!0;var m=this.isolateCoverGrammar(this.parseAssignmentExpression);s=this.finalize(i,new o.AssignmentPattern(h,m))}else c=!0,s=h;else this.throwUnexpectedToken(this.nextToken());return this.finalize(i,new o.Property(t,a,l,s,u,c))},e.prototype.parseObjectInitializer=function(){var e=this.createNode();this.expect("{");for(var t=[],i={value:!1};!this.match("}");)t.push(this.parseObjectProperty(i)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(e,new o.ObjectExpression(t))},e.prototype.parseTemplateHead=function(){n.assert(this.lookahead.head,"Template literal must start with a template head");var e=this.createNode(),t=this.nextToken(),i=t.value,a=t.cooked;return this.finalize(e,new o.TemplateElement({raw:i,cooked:a},t.tail))},e.prototype.parseTemplateElement=function(){10!==this.lookahead.type&&this.throwUnexpectedToken();var e=this.createNode(),t=this.nextToken(),i=t.value,n=t.cooked;return this.finalize(e,new o.TemplateElement({raw:i,cooked:n},t.tail))},e.prototype.parseTemplateLiteral=function(){var e=this.createNode(),t=[],i=[],n=this.parseTemplateHead();for(i.push(n);!n.tail;)t.push(this.parseExpression()),n=this.parseTemplateElement(),i.push(n);return this.finalize(e,new o.TemplateLiteral(i,t))},e.prototype.reinterpretExpressionAsPattern=function(e){switch(e.type){case l.Syntax.Identifier:case l.Syntax.MemberExpression:case l.Syntax.RestElement:case l.Syntax.AssignmentPattern:break;case l.Syntax.SpreadElement:e.type=l.Syntax.RestElement,this.reinterpretExpressionAsPattern(e.argument);break;case l.Syntax.ArrayExpression:e.type=l.Syntax.ArrayPattern;for(var t=0;t<e.elements.length;t++)null!==e.elements[t]&&this.reinterpretExpressionAsPattern(e.elements[t]);break;case l.Syntax.ObjectExpression:for(e.type=l.Syntax.ObjectPattern,t=0;t<e.properties.length;t++)this.reinterpretExpressionAsPattern(e.properties[t].value);break;case l.Syntax.AssignmentExpression:e.type=l.Syntax.AssignmentPattern,delete e.operator,this.reinterpretExpressionAsPattern(e.left)}},e.prototype.parseGroupExpression=function(){var e;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),e={type:c,params:[],async:!1};else{var t=this.lookahead,i=[];if(this.match("..."))e=this.parseRestElement(i),this.expect(")"),this.match("=>")||this.expect("=>"),e={type:c,params:[e],async:!1};else{var n=!1;if(this.context.isBindingElement=!0,e=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var a=[];for(this.context.isAssignmentTarget=!1,a.push(e);2!==this.lookahead.type&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var r=0;r<a.length;r++)this.reinterpretExpressionAsPattern(a[r]);n=!0,e={type:c,params:a,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),a.push(this.parseRestElement(i)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,r=0;r<a.length;r++)this.reinterpretExpressionAsPattern(a[r]);n=!0,e={type:c,params:a,async:!1}}else a.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(n)break}n||(e=this.finalize(this.startNode(t),new o.SequenceExpression(a)))}if(!n){if(this.expect(")"),this.match("=>")&&(e.type===l.Syntax.Identifier&&"yield"===e.name&&(n=!0,e={type:c,params:[e],async:!1}),!n)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),e.type===l.Syntax.SequenceExpression)for(r=0;r<e.expressions.length;r++)this.reinterpretExpressionAsPattern(e.expressions[r]);else this.reinterpretExpressionAsPattern(e);var s=e.type===l.Syntax.SequenceExpression?e.expressions:[e];e={type:c,params:s,async:!1}}this.context.isBindingElement=!1}}}return e},e.prototype.parseArguments=function(){this.expect("(");var e=[];if(!this.match(")"))for(;;){var t=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(e.push(t),this.match(")"))break;if(this.expectCommaSeparator(),this.match(")"))break}return this.expect(")"),e},e.prototype.isIdentifierName=function(e){return 3===e.type||4===e.type||1===e.type||5===e.type},e.prototype.parseIdentifierName=function(){var e=this.createNode(),t=this.nextToken();return this.isIdentifierName(t)||this.throwUnexpectedToken(t),this.finalize(e,new o.Identifier(t.value))},e.prototype.parseNewExpression=function(){var e,t=this.createNode(),i=this.parseIdentifierName();if(n.assert("new"===i.name,"New expression must start with `new`"),this.match("."))if(this.nextToken(),3===this.lookahead.type&&this.context.inFunctionBody&&"target"===this.lookahead.value){var a=this.parseIdentifierName();e=new o.MetaProperty(i,a)}else this.throwUnexpectedToken(this.lookahead);else{var r=this.isolateCoverGrammar(this.parseLeftHandSideExpression),s=this.match("(")?this.parseArguments():[];e=new o.NewExpression(r,s),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(t,e)},e.prototype.parseAsyncArgument=function(){var e=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,e},e.prototype.parseAsyncArguments=function(){this.expect("(");var e=[];if(!this.match(")"))for(;;){var t=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(e.push(t),this.match(")"))break;if(this.expectCommaSeparator(),this.match(")"))break}return this.expect(")"),e},e.prototype.parseLeftHandSideExpressionAllowCall=function(){var e,t=this.lookahead,i=this.matchContextualKeyword("async"),n=this.context.allowIn;for(this.context.allowIn=!0,this.matchKeyword("super")&&this.context.inFunctionBody?(e=this.createNode(),this.nextToken(),e=this.finalize(e,new o.Super),this.match("(")||this.match(".")||this.match("[")||this.throwUnexpectedToken(this.lookahead)):e=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var a=this.parseIdentifierName();e=this.finalize(this.startNode(t),new o.StaticMemberExpression(e,a))}else if(this.match("(")){var r=i&&t.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var s=r?this.parseAsyncArguments():this.parseArguments();if(e=this.finalize(this.startNode(t),new o.CallExpression(e,s)),r&&this.match("=>")){for(var l=0;l<s.length;++l)this.reinterpretExpressionAsPattern(s[l]);e={type:c,params:s,async:!0}}}else if(this.match("["))this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("["),a=this.isolateCoverGrammar(this.parseExpression),this.expect("]"),e=this.finalize(this.startNode(t),new o.ComputedMemberExpression(e,a));else{if(10!==this.lookahead.type||!this.lookahead.head)break;var u=this.parseTemplateLiteral();e=this.finalize(this.startNode(t),new o.TaggedTemplateExpression(e,u))}return this.context.allowIn=n,e},e.prototype.parseSuper=function(){var e=this.createNode();return this.expectKeyword("super"),this.match("[")||this.match(".")||this.throwUnexpectedToken(this.lookahead),this.finalize(e,new o.Super)},e.prototype.parseLeftHandSideExpression=function(){n.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var e=this.startNode(this.lookahead),t=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var i=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),t=this.finalize(e,new o.ComputedMemberExpression(t,i))}else if(this.match("."))this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("."),i=this.parseIdentifierName(),t=this.finalize(e,new o.StaticMemberExpression(t,i));else{if(10!==this.lookahead.type||!this.lookahead.head)break;var a=this.parseTemplateLiteral();t=this.finalize(e,new o.TaggedTemplateExpression(t,a))}return t},e.prototype.parseUpdateExpression=function(){var e,t=this.lookahead;if(this.match("++")||this.match("--")){var i=this.startNode(t),n=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&e.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)&&this.tolerateError(r.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(r.Messages.InvalidLHSInAssignment);var a=!0;e=this.finalize(i,new o.UpdateExpression(n.value,e,a)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(e=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&7===this.lookahead.type&&(this.match("++")||this.match("--"))){this.context.strict&&e.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)&&this.tolerateError(r.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(r.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var s=this.nextToken().value;a=!1,e=this.finalize(this.startNode(t),new o.UpdateExpression(s,e,a))}return e},e.prototype.parseAwaitExpression=function(){var e=this.createNode();this.nextToken();var t=this.parseUnaryExpression();return this.finalize(e,new o.AwaitExpression(t))},e.prototype.parseUnaryExpression=function(){var e;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var t=this.startNode(this.lookahead),i=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression),e=this.finalize(t,new o.UnaryExpression(i.value,e)),this.context.strict&&"delete"===e.operator&&e.argument.type===l.Syntax.Identifier&&this.tolerateError(r.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else e=this.context.await&&this.matchContextualKeyword("await")?this.parseAwaitExpression():this.parseUpdateExpression();return e},e.prototype.parseExponentiationExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseUnaryExpression);if(t.type!==l.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var i=t,n=this.isolateCoverGrammar(this.parseExponentiationExpression);t=this.finalize(this.startNode(e),new o.BinaryExpression("**",i,n))}return t},e.prototype.binaryPrecedence=function(e){var t=e.value;return 7===e.type?this.operatorPrecedence[t]||0:4===e.type&&("instanceof"===t||this.context.allowIn&&"in"===t)?7:0},e.prototype.parseBinaryExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseExponentiationExpression),i=this.lookahead,n=this.binaryPrecedence(i);if(n>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var a=[e,this.lookahead],r=t,s=this.isolateCoverGrammar(this.parseExponentiationExpression),l=[r,i.value,s],u=[n];!((n=this.binaryPrecedence(this.lookahead))<=0);){for(;l.length>2&&n<=u[u.length-1];){s=l.pop();var c=l.pop();u.pop(),r=l.pop(),a.pop();var d=this.startNode(a[a.length-1]);l.push(this.finalize(d,new o.BinaryExpression(c,r,s)))}l.push(this.nextToken().value),u.push(n),a.push(this.lookahead),l.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var h=l.length-1;t=l[h];for(var p=a.pop();h>1;){var m=a.pop(),g=p&&p.lineStart;d=this.startNode(m,g),c=l[h-1],t=this.finalize(d,new o.BinaryExpression(c,l[h-2],t)),h-=2,p=m}}return t},e.prototype.parseConditionalExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var i=this.context.allowIn;this.context.allowIn=!0;var n=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=i,this.expect(":");var a=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new o.ConditionalExpression(t,n,a)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return t},e.prototype.checkPatternParam=function(e,t){switch(t.type){case l.Syntax.Identifier:this.validateParam(e,t,t.name);break;case l.Syntax.RestElement:this.checkPatternParam(e,t.argument);break;case l.Syntax.AssignmentPattern:this.checkPatternParam(e,t.left);break;case l.Syntax.ArrayPattern:for(var i=0;i<t.elements.length;i++)null!==t.elements[i]&&this.checkPatternParam(e,t.elements[i]);break;case l.Syntax.ObjectPattern:for(i=0;i<t.properties.length;i++)this.checkPatternParam(e,t.properties[i].value)}e.simple=e.simple&&t instanceof o.Identifier},e.prototype.reinterpretAsCoverFormalsList=function(e){var t,i=[e],n=!1;switch(e.type){case l.Syntax.Identifier:break;case c:i=e.params,n=e.async;break;default:return null}t={simple:!0,paramSet:{}};for(var a=0;a<i.length;++a)(o=i[a]).type===l.Syntax.AssignmentPattern?o.right.type===l.Syntax.YieldExpression&&(o.right.argument&&this.throwUnexpectedToken(this.lookahead),o.right.type=l.Syntax.Identifier,o.right.name="yield",delete o.right.argument,delete o.right.delegate):n&&o.type===l.Syntax.Identifier&&"await"===o.name&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(t,o),i[a]=o;if(this.context.strict||!this.context.allowYield)for(a=0;a<i.length;++a){var o;(o=i[a]).type===l.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(t.message===r.Messages.StrictParamDupe){var s=this.context.strict?t.stricted:t.firstRestricted;this.throwUnexpectedToken(s,t.message)}return{simple:t.simple,params:i,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}},e.prototype.parseAssignmentExpression=function(){var e;if(!this.context.allowYield&&this.matchKeyword("yield"))e=this.parseYieldExpression();else{var t=this.lookahead,i=t;if(e=this.parseConditionalExpression(),3===i.type&&i.lineNumber===this.lookahead.lineNumber&&"async"===i.value&&(3===this.lookahead.type||this.matchKeyword("yield"))){var n=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(n),e={type:c,params:[n],async:!0}}if(e.type===c||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var a=e.async,s=this.reinterpretAsCoverFormalsList(e);if(s){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var u=this.context.strict,d=this.context.allowStrictDirective;this.context.allowStrictDirective=s.simple;var h=this.context.allowYield,p=this.context.await;this.context.allowYield=!0,this.context.await=a;var m=this.startNode(t);this.expect("=>");var g=void 0;if(this.match("{")){var f=this.context.allowIn;this.context.allowIn=!0,g=this.parseFunctionSourceElements(),this.context.allowIn=f}else g=this.isolateCoverGrammar(this.parseAssignmentExpression);var v=g.type!==l.Syntax.BlockStatement;this.context.strict&&s.firstRestricted&&this.throwUnexpectedToken(s.firstRestricted,s.message),this.context.strict&&s.stricted&&this.tolerateUnexpectedToken(s.stricted,s.message),e=a?this.finalize(m,new o.AsyncArrowFunctionExpression(s.params,g,v)):this.finalize(m,new o.ArrowFunctionExpression(s.params,g,v)),this.context.strict=u,this.context.allowStrictDirective=d,this.context.allowYield=h,this.context.await=p}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(r.Messages.InvalidLHSInAssignment),this.context.strict&&e.type===l.Syntax.Identifier){var b=e;this.scanner.isRestrictedWord(b.name)&&this.tolerateUnexpectedToken(i,r.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(b.name)&&this.tolerateUnexpectedToken(i,r.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(e):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var y=(i=this.nextToken()).value,S=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new o.AssignmentExpression(y,e,S)),this.context.firstCoverInitializedNameError=null}}return e},e.prototype.parseExpression=function(){var e=this.lookahead,t=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var i=[];for(i.push(t);2!==this.lookahead.type&&this.match(",");)this.nextToken(),i.push(this.isolateCoverGrammar(this.parseAssignmentExpression));t=this.finalize(this.startNode(e),new o.SequenceExpression(i))}return t},e.prototype.parseStatementListItem=function(){var e;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,4===this.lookahead.type)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,r.Messages.IllegalExportDeclaration),e=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,r.Messages.IllegalImportDeclaration),e=this.parseImportDeclaration();break;case"const":e=this.parseLexicalDeclaration({inFor:!1});break;case"function":e=this.parseFunctionDeclaration();break;case"class":e=this.parseClassDeclaration();break;case"let":e=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:e=this.parseStatement()}else e=this.parseStatement();return e},e.prototype.parseBlock=function(){var e=this.createNode();this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseStatementListItem());return this.expect("}"),this.finalize(e,new o.BlockStatement(t))},e.prototype.parseLexicalBinding=function(e,t){var i=this.createNode(),n=this.parsePattern([],e);this.context.strict&&n.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(n.name)&&this.tolerateError(r.Messages.StrictVarName);var a=null;return"const"===e?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),a=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(r.Messages.DeclarationMissingInitializer,"const")):(!t.inFor&&n.type!==l.Syntax.Identifier||this.match("="))&&(this.expect("="),a=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(i,new o.VariableDeclarator(n,a))},e.prototype.parseBindingList=function(e,t){for(var i=[this.parseLexicalBinding(e,t)];this.match(",");)this.nextToken(),i.push(this.parseLexicalBinding(e,t));return i},e.prototype.isLexicalDeclaration=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.scanner.lex();return this.scanner.restoreState(e),3===t.type||7===t.type&&"["===t.value||7===t.type&&"{"===t.value||4===t.type&&"let"===t.value||4===t.type&&"yield"===t.value},e.prototype.parseLexicalDeclaration=function(e){var t=this.createNode(),i=this.nextToken().value;n.assert("let"===i||"const"===i,"Lexical declaration must be either let or const");var a=this.parseBindingList(i,e);return this.consumeSemicolon(),this.finalize(t,new o.VariableDeclaration(a,i))},e.prototype.parseBindingRestElement=function(e,t){var i=this.createNode();this.expect("...");var n=this.parsePattern(e,t);return this.finalize(i,new o.RestElement(n))},e.prototype.parseArrayPattern=function(e,t){var i=this.createNode();this.expect("[");for(var n=[];!this.match("]");)if(this.match(","))this.nextToken(),n.push(null);else{if(this.match("...")){n.push(this.parseBindingRestElement(e,t));break}n.push(this.parsePatternWithDefault(e,t)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(i,new o.ArrayPattern(n))},e.prototype.parsePropertyPattern=function(e,t){var i,n,a=this.createNode(),r=!1,s=!1;if(3===this.lookahead.type){var l=this.lookahead;i=this.parseVariableIdentifier();var u=this.finalize(a,new o.Identifier(l.value));if(this.match("=")){e.push(l),s=!0,this.nextToken();var c=this.parseAssignmentExpression();n=this.finalize(this.startNode(l),new o.AssignmentPattern(u,c))}else this.match(":")?(this.expect(":"),n=this.parsePatternWithDefault(e,t)):(e.push(l),s=!0,n=u)}else r=this.match("["),i=this.parseObjectPropertyKey(),this.expect(":"),n=this.parsePatternWithDefault(e,t);return this.finalize(a,new o.Property("init",i,r,n,!1,s))},e.prototype.parseObjectPattern=function(e,t){var i=this.createNode(),n=[];for(this.expect("{");!this.match("}");)n.push(this.parsePropertyPattern(e,t)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(i,new o.ObjectPattern(n))},e.prototype.parsePattern=function(e,t){var i;return this.match("[")?i=this.parseArrayPattern(e,t):this.match("{")?i=this.parseObjectPattern(e,t):(!this.matchKeyword("let")||"const"!==t&&"let"!==t||this.tolerateUnexpectedToken(this.lookahead,r.Messages.LetInLexicalBinding),e.push(this.lookahead),i=this.parseVariableIdentifier(t)),i},e.prototype.parsePatternWithDefault=function(e,t){var i=this.lookahead,n=this.parsePattern(e,t);if(this.match("=")){this.nextToken();var a=this.context.allowYield;this.context.allowYield=!0;var r=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=a,n=this.finalize(this.startNode(i),new o.AssignmentPattern(n,r))}return n},e.prototype.parseVariableIdentifier=function(e){var t=this.createNode(),i=this.nextToken();return 4===i.type&&"yield"===i.value?this.context.strict?this.tolerateUnexpectedToken(i,r.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(i):3!==i.type?this.context.strict&&4===i.type&&this.scanner.isStrictModeReservedWord(i.value)?this.tolerateUnexpectedToken(i,r.Messages.StrictReservedWord):(this.context.strict||"let"!==i.value||"var"!==e)&&this.throwUnexpectedToken(i):(this.context.isModule||this.context.await)&&3===i.type&&"await"===i.value&&this.tolerateUnexpectedToken(i),this.finalize(t,new o.Identifier(i.value))},e.prototype.parseVariableDeclaration=function(e){var t=this.createNode(),i=this.parsePattern([],"var");this.context.strict&&i.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(i.name)&&this.tolerateError(r.Messages.StrictVarName);var n=null;return this.match("=")?(this.nextToken(),n=this.isolateCoverGrammar(this.parseAssignmentExpression)):i.type===l.Syntax.Identifier||e.inFor||this.expect("="),this.finalize(t,new o.VariableDeclarator(i,n))},e.prototype.parseVariableDeclarationList=function(e){var t={inFor:e.inFor},i=[];for(i.push(this.parseVariableDeclaration(t));this.match(",");)this.nextToken(),i.push(this.parseVariableDeclaration(t));return i},e.prototype.parseVariableStatement=function(){var e=this.createNode();this.expectKeyword("var");var t=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(e,new o.VariableDeclaration(t,"var"))},e.prototype.parseEmptyStatement=function(){var e=this.createNode();return this.expect(";"),this.finalize(e,new o.EmptyStatement)},e.prototype.parseExpressionStatement=function(){var e=this.createNode(),t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new o.ExpressionStatement(t))},e.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(r.Messages.StrictFunction),this.parseStatement()},e.prototype.parseIfStatement=function(){var e,t=this.createNode(),i=null;this.expectKeyword("if"),this.expect("(");var n=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),e=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),i=this.parseIfClause())),this.finalize(t,new o.IfStatement(n,e,i))},e.prototype.parseDoWhileStatement=function(){var e=this.createNode();this.expectKeyword("do");var t=this.context.inIteration;this.context.inIteration=!0;var i=this.parseStatement();this.context.inIteration=t,this.expectKeyword("while"),this.expect("(");var n=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(e,new o.DoWhileStatement(i,n))},e.prototype.parseWhileStatement=function(){var e,t=this.createNode();this.expectKeyword("while"),this.expect("(");var i=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var n=this.context.inIteration;this.context.inIteration=!0,e=this.parseStatement(),this.context.inIteration=n}return this.finalize(t,new o.WhileStatement(i,e))},e.prototype.parseForStatement=function(){var e,t,i,n=null,a=null,s=null,u=!0,c=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){n=this.createNode(),this.nextToken();var d=this.context.allowIn;this.context.allowIn=!1;var h=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=d,1===h.length&&this.matchKeyword("in")){var p=h[0];p.init&&(p.id.type===l.Syntax.ArrayPattern||p.id.type===l.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(r.Messages.ForInOfLoopInitializer,"for-in"),n=this.finalize(n,new o.VariableDeclaration(h,"var")),this.nextToken(),e=n,t=this.parseExpression(),n=null}else 1===h.length&&null===h[0].init&&this.matchContextualKeyword("of")?(n=this.finalize(n,new o.VariableDeclaration(h,"var")),this.nextToken(),e=n,t=this.parseAssignmentExpression(),n=null,u=!1):(n=this.finalize(n,new o.VariableDeclaration(h,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){n=this.createNode();var m=this.nextToken().value;this.context.strict||"in"!==this.lookahead.value?(d=this.context.allowIn,this.context.allowIn=!1,h=this.parseBindingList(m,{inFor:!0}),this.context.allowIn=d,1===h.length&&null===h[0].init&&this.matchKeyword("in")?(n=this.finalize(n,new o.VariableDeclaration(h,m)),this.nextToken(),e=n,t=this.parseExpression(),n=null):1===h.length&&null===h[0].init&&this.matchContextualKeyword("of")?(n=this.finalize(n,new o.VariableDeclaration(h,m)),this.nextToken(),e=n,t=this.parseAssignmentExpression(),n=null,u=!1):(this.consumeSemicolon(),n=this.finalize(n,new o.VariableDeclaration(h,m)))):(n=this.finalize(n,new o.Identifier(m)),this.nextToken(),e=n,t=this.parseExpression(),n=null)}else{var g=this.lookahead;if(d=this.context.allowIn,this.context.allowIn=!1,n=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=d,this.matchKeyword("in"))this.context.isAssignmentTarget&&n.type!==l.Syntax.AssignmentExpression||this.tolerateError(r.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(n),e=n,t=this.parseExpression(),n=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&n.type!==l.Syntax.AssignmentExpression||this.tolerateError(r.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(n),e=n,t=this.parseAssignmentExpression(),n=null,u=!1;else{if(this.match(",")){for(var f=[n];this.match(",");)this.nextToken(),f.push(this.isolateCoverGrammar(this.parseAssignmentExpression));n=this.finalize(this.startNode(g),new o.SequenceExpression(f))}this.expect(";")}}if(void 0===e&&(this.match(";")||(a=this.parseExpression()),this.expect(";"),this.match(")")||(s=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),i=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var v=this.context.inIteration;this.context.inIteration=!0,i=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=v}return void 0===e?this.finalize(c,new o.ForStatement(n,a,s,i)):u?this.finalize(c,new o.ForInStatement(e,t,i)):this.finalize(c,new o.ForOfStatement(e,t,i))},e.prototype.parseContinueStatement=function(){var e=this.createNode();this.expectKeyword("continue");var t=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var i=this.parseVariableIdentifier();t=i;var n="$"+i.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,n)||this.throwError(r.Messages.UnknownLabel,i.name)}return this.consumeSemicolon(),null!==t||this.context.inIteration||this.throwError(r.Messages.IllegalContinue),this.finalize(e,new o.ContinueStatement(t))},e.prototype.parseBreakStatement=function(){var e=this.createNode();this.expectKeyword("break");var t=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var i=this.parseVariableIdentifier(),n="$"+i.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,n)||this.throwError(r.Messages.UnknownLabel,i.name),t=i}return this.consumeSemicolon(),null!==t||this.context.inIteration||this.context.inSwitch||this.throwError(r.Messages.IllegalBreak),this.finalize(e,new o.BreakStatement(t))},e.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(r.Messages.IllegalReturn);var e=this.createNode();this.expectKeyword("return");var t=(this.match(";")||this.match("}")||this.hasLineTerminator||2===this.lookahead.type)&&8!==this.lookahead.type&&10!==this.lookahead.type?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new o.ReturnStatement(t))},e.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(r.Messages.StrictModeWith);var e,t=this.createNode();this.expectKeyword("with"),this.expect("(");var i=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),e=this.parseStatement()),this.finalize(t,new o.WithStatement(i,e))},e.prototype.parseSwitchCase=function(){var e,t=this.createNode();this.matchKeyword("default")?(this.nextToken(),e=null):(this.expectKeyword("case"),e=this.parseExpression()),this.expect(":");for(var i=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)i.push(this.parseStatementListItem());return this.finalize(t,new o.SwitchCase(e,i))},e.prototype.parseSwitchStatement=function(){var e=this.createNode();this.expectKeyword("switch"),this.expect("(");var t=this.parseExpression();this.expect(")");var i=this.context.inSwitch;this.context.inSwitch=!0;var n=[],a=!1;for(this.expect("{");!this.match("}");){var s=this.parseSwitchCase();null===s.test&&(a&&this.throwError(r.Messages.MultipleDefaultsInSwitch),a=!0),n.push(s)}return this.expect("}"),this.context.inSwitch=i,this.finalize(e,new o.SwitchStatement(t,n))},e.prototype.parseLabelledStatement=function(){var e,t=this.createNode(),i=this.parseExpression();if(i.type===l.Syntax.Identifier&&this.match(":")){this.nextToken();var n=i,a="$"+n.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,a)&&this.throwError(r.Messages.Redeclaration,"Label",n.name),this.context.labelSet[a]=!0;var s=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),s=this.parseClassDeclaration();else if(this.matchKeyword("function")){var u=this.lookahead,c=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(u,r.Messages.StrictFunction):c.generator&&this.tolerateUnexpectedToken(u,r.Messages.GeneratorInLegacyContext),s=c}else s=this.parseStatement();delete this.context.labelSet[a],e=new o.LabeledStatement(n,s)}else this.consumeSemicolon(),e=new o.ExpressionStatement(i);return this.finalize(t,e)},e.prototype.parseThrowStatement=function(){var e=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(r.Messages.NewlineAfterThrow);var t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new o.ThrowStatement(t))},e.prototype.parseCatchClause=function(){var e=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var t=[],i=this.parsePattern(t),n={},a=0;a<t.length;a++){var s="$"+t[a].value;Object.prototype.hasOwnProperty.call(n,s)&&this.tolerateError(r.Messages.DuplicateBinding,t[a].value),n[s]=!0}this.context.strict&&i.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(i.name)&&this.tolerateError(r.Messages.StrictCatchVariable),this.expect(")");var u=this.parseBlock();return this.finalize(e,new o.CatchClause(i,u))},e.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},e.prototype.parseTryStatement=function(){var e=this.createNode();this.expectKeyword("try");var t=this.parseBlock(),i=this.matchKeyword("catch")?this.parseCatchClause():null,n=this.matchKeyword("finally")?this.parseFinallyClause():null;return i||n||this.throwError(r.Messages.NoCatchOrFinally),this.finalize(e,new o.TryStatement(t,i,n))},e.prototype.parseDebuggerStatement=function(){var e=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(e,new o.DebuggerStatement)},e.prototype.parseStatement=function(){var e;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:e=this.parseExpressionStatement();break;case 7:var t=this.lookahead.value;e="{"===t?this.parseBlock():"("===t?this.parseExpressionStatement():";"===t?this.parseEmptyStatement():this.parseExpressionStatement();break;case 3:e=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":e=this.parseBreakStatement();break;case"continue":e=this.parseContinueStatement();break;case"debugger":e=this.parseDebuggerStatement();break;case"do":e=this.parseDoWhileStatement();break;case"for":e=this.parseForStatement();break;case"function":e=this.parseFunctionDeclaration();break;case"if":e=this.parseIfStatement();break;case"return":e=this.parseReturnStatement();break;case"switch":e=this.parseSwitchStatement();break;case"throw":e=this.parseThrowStatement();break;case"try":e=this.parseTryStatement();break;case"var":e=this.parseVariableStatement();break;case"while":e=this.parseWhileStatement();break;case"with":e=this.parseWithStatement();break;default:e=this.parseExpressionStatement()}break;default:e=this.throwUnexpectedToken(this.lookahead)}return e},e.prototype.parseFunctionSourceElements=function(){var e=this.createNode();this.expect("{");var t=this.parseDirectivePrologues(),i=this.context.labelSet,n=this.context.inIteration,a=this.context.inSwitch,r=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;2!==this.lookahead.type&&!this.match("}");)t.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=i,this.context.inIteration=n,this.context.inSwitch=a,this.context.inFunctionBody=r,this.finalize(e,new o.BlockStatement(t))},e.prototype.validateParam=function(e,t,i){var n="$"+i;this.context.strict?(this.scanner.isRestrictedWord(i)&&(e.stricted=t,e.message=r.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(e.paramSet,n)&&(e.stricted=t,e.message=r.Messages.StrictParamDupe)):e.firstRestricted||(this.scanner.isRestrictedWord(i)?(e.firstRestricted=t,e.message=r.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(i)?(e.firstRestricted=t,e.message=r.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(e.paramSet,n)&&(e.stricted=t,e.message=r.Messages.StrictParamDupe)),"function"==typeof Object.defineProperty?Object.defineProperty(e.paramSet,n,{value:!0,enumerable:!0,writable:!0,configurable:!0}):e.paramSet[n]=!0},e.prototype.parseRestElement=function(e){var t=this.createNode();this.expect("...");var i=this.parsePattern(e);return this.match("=")&&this.throwError(r.Messages.DefaultRestParameter),this.match(")")||this.throwError(r.Messages.ParameterAfterRestParameter),this.finalize(t,new o.RestElement(i))},e.prototype.parseFormalParameter=function(e){for(var t=[],i=this.match("...")?this.parseRestElement(t):this.parsePatternWithDefault(t),n=0;n<t.length;n++)this.validateParam(e,t[n],t[n].value);e.simple=e.simple&&i instanceof o.Identifier,e.params.push(i)},e.prototype.parseFormalParameters=function(e){var t;if(t={simple:!0,params:[],firstRestricted:e},this.expect("("),!this.match(")"))for(t.paramSet={};2!==this.lookahead.type&&(this.parseFormalParameter(t),!this.match(")"))&&(this.expect(","),!this.match(")")););return this.expect(")"),{simple:t.simple,params:t.params,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}},e.prototype.matchAsyncFunction=function(){var e=this.matchContextualKeyword("async");if(e){var t=this.scanner.saveState();this.scanner.scanComments();var i=this.scanner.lex();this.scanner.restoreState(t),e=t.lineNumber===i.lineNumber&&4===i.type&&"function"===i.value}return e},e.prototype.parseFunctionDeclaration=function(e){var t=this.createNode(),i=this.matchContextualKeyword("async");i&&this.nextToken(),this.expectKeyword("function");var n,a=!i&&this.match("*");a&&this.nextToken();var s=null,l=null;if(!e||!this.match("(")){var u=this.lookahead;s=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(u.value)&&this.tolerateUnexpectedToken(u,r.Messages.StrictFunctionName):this.scanner.isRestrictedWord(u.value)?(l=u,n=r.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(u.value)&&(l=u,n=r.Messages.StrictReservedWord)}var c=this.context.await,d=this.context.allowYield;this.context.await=i,this.context.allowYield=!a;var h=this.parseFormalParameters(l),p=h.params,m=h.stricted;l=h.firstRestricted,h.message&&(n=h.message);var g=this.context.strict,f=this.context.allowStrictDirective;this.context.allowStrictDirective=h.simple;var v=this.parseFunctionSourceElements();return this.context.strict&&l&&this.throwUnexpectedToken(l,n),this.context.strict&&m&&this.tolerateUnexpectedToken(m,n),this.context.strict=g,this.context.allowStrictDirective=f,this.context.await=c,this.context.allowYield=d,i?this.finalize(t,new o.AsyncFunctionDeclaration(s,p,v)):this.finalize(t,new o.FunctionDeclaration(s,p,v,a))},e.prototype.parseFunctionExpression=function(){var e=this.createNode(),t=this.matchContextualKeyword("async");t&&this.nextToken(),this.expectKeyword("function");var i,n=!t&&this.match("*");n&&this.nextToken();var a,s=null,l=this.context.await,u=this.context.allowYield;if(this.context.await=t,this.context.allowYield=!n,!this.match("(")){var c=this.lookahead;s=this.context.strict||n||!this.matchKeyword("yield")?this.parseVariableIdentifier():this.parseIdentifierName(),this.context.strict?this.scanner.isRestrictedWord(c.value)&&this.tolerateUnexpectedToken(c,r.Messages.StrictFunctionName):this.scanner.isRestrictedWord(c.value)?(a=c,i=r.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(c.value)&&(a=c,i=r.Messages.StrictReservedWord)}var d=this.parseFormalParameters(a),h=d.params,p=d.stricted;a=d.firstRestricted,d.message&&(i=d.message);var m=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=d.simple;var f=this.parseFunctionSourceElements();return this.context.strict&&a&&this.throwUnexpectedToken(a,i),this.context.strict&&p&&this.tolerateUnexpectedToken(p,i),this.context.strict=m,this.context.allowStrictDirective=g,this.context.await=l,this.context.allowYield=u,t?this.finalize(e,new o.AsyncFunctionExpression(s,h,f)):this.finalize(e,new o.FunctionExpression(s,h,f,n))},e.prototype.parseDirective=function(){var e=this.lookahead,t=this.createNode(),i=this.parseExpression(),n=i.type===l.Syntax.Literal?this.getTokenRaw(e).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(t,n?new o.Directive(i,n):new o.ExpressionStatement(i))},e.prototype.parseDirectivePrologues=function(){for(var e=null,t=[];;){var i=this.lookahead;if(8!==i.type)break;var n=this.parseDirective();t.push(n);var a=n.directive;if("string"!=typeof a)break;"use strict"===a?(this.context.strict=!0,e&&this.tolerateUnexpectedToken(e,r.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(i,r.Messages.IllegalLanguageModeDirective)):!e&&i.octal&&(e=i)}return t},e.prototype.qualifiedPropertyName=function(e){switch(e.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return"["===e.value}return!1},e.prototype.parseGetterMethod=function(){var e=this.createNode(),t=!1,i=this.context.allowYield;this.context.allowYield=!0;var n=this.parseFormalParameters();n.params.length>0&&this.tolerateError(r.Messages.BadGetterArity);var a=this.parsePropertyMethod(n);return this.context.allowYield=i,this.finalize(e,new o.FunctionExpression(null,n.params,a,t))},e.prototype.parseSetterMethod=function(){var e=this.createNode(),t=!1,i=this.context.allowYield;this.context.allowYield=!0;var n=this.parseFormalParameters();1!==n.params.length?this.tolerateError(r.Messages.BadSetterArity):n.params[0]instanceof o.RestElement&&this.tolerateError(r.Messages.BadSetterRestParameter);var a=this.parsePropertyMethod(n);return this.context.allowYield=i,this.finalize(e,new o.FunctionExpression(null,n.params,a,t))},e.prototype.parseGeneratorMethod=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var i=this.parseFormalParameters();this.context.allowYield=!1;var n=this.parsePropertyMethod(i);return this.context.allowYield=t,this.finalize(e,new o.FunctionExpression(null,i.params,n,!0))},e.prototype.isStartOfExpression=function(){var e=!0,t=this.lookahead.value;switch(this.lookahead.type){case 7:e="["===t||"("===t||"{"===t||"+"===t||"-"===t||"!"===t||"~"===t||"++"===t||"--"===t||"/"===t||"/="===t;break;case 4:e="class"===t||"delete"===t||"function"===t||"let"===t||"new"===t||"super"===t||"this"===t||"typeof"===t||"void"===t||"yield"===t}return e},e.prototype.parseYieldExpression=function(){var e=this.createNode();this.expectKeyword("yield");var t=null,i=!1;if(!this.hasLineTerminator){var n=this.context.allowYield;this.context.allowYield=!1,(i=this.match("*"))?(this.nextToken(),t=this.parseAssignmentExpression()):this.isStartOfExpression()&&(t=this.parseAssignmentExpression()),this.context.allowYield=n}return this.finalize(e,new o.YieldExpression(t,i))},e.prototype.parseClassElement=function(e){var t=this.lookahead,i=this.createNode(),n="",a=null,s=null,l=!1,u=!1,c=!1,d=!1;if(this.match("*"))this.nextToken();else if(l=this.match("["),"static"===(a=this.parseObjectPropertyKey()).name&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(t=this.lookahead,c=!0,l=this.match("["),this.match("*")?this.nextToken():a=this.parseObjectPropertyKey()),3===t.type&&!this.hasLineTerminator&&"async"===t.value){var h=this.lookahead.value;":"!==h&&"("!==h&&"*"!==h&&(d=!0,t=this.lookahead,a=this.parseObjectPropertyKey(),3===t.type&&"constructor"===t.value&&this.tolerateUnexpectedToken(t,r.Messages.ConstructorIsAsync))}var p=this.qualifiedPropertyName(this.lookahead);return 3===t.type?"get"===t.value&&p?(n="get",l=this.match("["),a=this.parseObjectPropertyKey(),this.context.allowYield=!1,s=this.parseGetterMethod()):"set"===t.value&&p&&(n="set",l=this.match("["),a=this.parseObjectPropertyKey(),s=this.parseSetterMethod()):7===t.type&&"*"===t.value&&p&&(n="init",l=this.match("["),a=this.parseObjectPropertyKey(),s=this.parseGeneratorMethod(),u=!0),!n&&a&&this.match("(")&&(n="init",s=d?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),u=!0),n||this.throwUnexpectedToken(this.lookahead),"init"===n&&(n="method"),l||(c&&this.isPropertyKey(a,"prototype")&&this.throwUnexpectedToken(t,r.Messages.StaticPrototype),!c&&this.isPropertyKey(a,"constructor")&&(("method"!==n||!u||s&&s.generator)&&this.throwUnexpectedToken(t,r.Messages.ConstructorSpecialMethod),e.value?this.throwUnexpectedToken(t,r.Messages.DuplicateConstructor):e.value=!0,n="constructor")),this.finalize(i,new o.MethodDefinition(a,l,s,n,c))},e.prototype.parseClassElementList=function(){var e=[],t={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():e.push(this.parseClassElement(t));return this.expect("}"),e},e.prototype.parseClassBody=function(){var e=this.createNode(),t=this.parseClassElementList();return this.finalize(e,new o.ClassBody(t))},e.prototype.parseClassDeclaration=function(e){var t=this.createNode(),i=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var n=e&&3!==this.lookahead.type?null:this.parseVariableIdentifier(),a=null;this.matchKeyword("extends")&&(this.nextToken(),a=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var r=this.parseClassBody();return this.context.strict=i,this.finalize(t,new o.ClassDeclaration(n,a,r))},e.prototype.parseClassExpression=function(){var e=this.createNode(),t=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var i=3===this.lookahead.type?this.parseVariableIdentifier():null,n=null;this.matchKeyword("extends")&&(this.nextToken(),n=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var a=this.parseClassBody();return this.context.strict=t,this.finalize(e,new o.ClassExpression(i,n,a))},e.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var e=this.createNode(),t=this.parseDirectivePrologues();2!==this.lookahead.type;)t.push(this.parseStatementListItem());return this.finalize(e,new o.Module(t))},e.prototype.parseScript=function(){for(var e=this.createNode(),t=this.parseDirectivePrologues();2!==this.lookahead.type;)t.push(this.parseStatementListItem());return this.finalize(e,new o.Script(t))},e.prototype.parseModuleSpecifier=function(){var e=this.createNode();8!==this.lookahead.type&&this.throwError(r.Messages.InvalidModuleSpecifier);var t=this.nextToken(),i=this.getTokenRaw(t);return this.finalize(e,new o.Literal(t.value,i))},e.prototype.parseImportSpecifier=function(){var e,t,i=this.createNode();return 3===this.lookahead.type?(t=e=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),t=this.parseVariableIdentifier())):(t=e=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),t=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(i,new o.ImportSpecifier(t,e))},e.prototype.parseNamedImports=function(){this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),e},e.prototype.parseImportDefaultSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName();return this.finalize(e,new o.ImportDefaultSpecifier(t))},e.prototype.parseImportNamespaceSpecifier=function(){var e=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(r.Messages.NoAsAfterImportNamespace),this.nextToken();var t=this.parseIdentifierName();return this.finalize(e,new o.ImportNamespaceSpecifier(t))},e.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(r.Messages.IllegalImportDeclaration);var e,t=this.createNode();this.expectKeyword("import");var i=[];if(8===this.lookahead.type)e=this.parseModuleSpecifier();else{if(this.match("{")?i=i.concat(this.parseNamedImports()):this.match("*")?i.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(i.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?i.push(this.parseImportNamespaceSpecifier()):this.match("{")?i=i.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var n=this.lookahead.value?r.Messages.UnexpectedToken:r.Messages.MissingFromClause;this.throwError(n,this.lookahead.value)}this.nextToken(),e=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(t,new o.ImportDeclaration(i,e))},e.prototype.parseExportSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName(),i=t;return this.matchContextualKeyword("as")&&(this.nextToken(),i=this.parseIdentifierName()),this.finalize(e,new o.ExportSpecifier(t,i))},e.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(r.Messages.IllegalExportDeclaration);var e,t=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var i=this.parseFunctionDeclaration(!0);e=this.finalize(t,new o.ExportDefaultDeclaration(i))}else this.matchKeyword("class")?(i=this.parseClassDeclaration(!0),e=this.finalize(t,new o.ExportDefaultDeclaration(i))):this.matchContextualKeyword("async")?(i=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),e=this.finalize(t,new o.ExportDefaultDeclaration(i))):(this.matchContextualKeyword("from")&&this.throwError(r.Messages.UnexpectedToken,this.lookahead.value),i=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),e=this.finalize(t,new o.ExportDefaultDeclaration(i)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var n=this.lookahead.value?r.Messages.UnexpectedToken:r.Messages.MissingFromClause;this.throwError(n,this.lookahead.value)}this.nextToken();var a=this.parseModuleSpecifier();this.consumeSemicolon(),e=this.finalize(t,new o.ExportAllDeclaration(a))}else if(4===this.lookahead.type){switch(i=void 0,this.lookahead.value){case"let":case"const":i=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":i=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}e=this.finalize(t,new o.ExportNamedDeclaration(i,[],null))}else if(this.matchAsyncFunction())i=this.parseFunctionDeclaration(),e=this.finalize(t,new o.ExportNamedDeclaration(i,[],null));else{var s=[],l=null,u=!1;for(this.expect("{");!this.match("}");)u=u||this.matchKeyword("default"),s.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),l=this.parseModuleSpecifier(),this.consumeSemicolon()):u?(n=this.lookahead.value?r.Messages.UnexpectedToken:r.Messages.MissingFromClause,this.throwError(n,this.lookahead.value)):this.consumeSemicolon(),e=this.finalize(t,new o.ExportNamedDeclaration(null,s,l))}return e},e}();t.Parser=d},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.assert=function(e,t){if(!e)throw new Error("ASSERT: "+t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.errors=[],this.tolerant=!1}return e.prototype.recordError=function(e){this.errors.push(e)},e.prototype.tolerate=function(e){if(!this.tolerant)throw e;this.recordError(e)},e.prototype.constructError=function(e,t){var i=new Error(e);try{throw i}catch(e){Object.create&&Object.defineProperty&&(i=Object.create(e),Object.defineProperty(i,"column",{value:t}))}return i},e.prototype.createError=function(e,t,i,n){var a="Line "+t+": "+n,r=this.constructError(a,i);return r.index=e,r.lineNumber=t,r.description=n,r},e.prototype.throwError=function(e,t,i,n){throw this.createError(e,t,i,n)},e.prototype.tolerateError=function(e,t,i,n){var a=this.createError(e,t,i,n);if(!this.tolerant)throw a;this.recordError(a)},e}();t.ErrorHandler=i},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(9),a=i(4),r=i(11);function o(e){return"0123456789abcdef".indexOf(e.toLowerCase())}function s(e){return"01234567".indexOf(e)}var l=function(){function e(e,t){this.source=e,this.errorHandler=t,this.trackComment=!1,this.isModule=!1,this.length=e.length,this.index=0,this.lineNumber=e.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return e.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},e.prototype.restoreState=function(e){this.index=e.index,this.lineNumber=e.lineNumber,this.lineStart=e.lineStart},e.prototype.eof=function(){return this.index>=this.length},e.prototype.throwUnexpectedToken=function(e){return void 0===e&&(e=r.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,e)},e.prototype.tolerateUnexpectedToken=function(e){void 0===e&&(e=r.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,e)},e.prototype.skipSingleLineComment=function(e){var t,i,n=[];for(this.trackComment&&(n=[],t=this.index-e,i={start:{line:this.lineNumber,column:this.index-this.lineStart-e},end:{}});!this.eof();){var r=this.source.charCodeAt(this.index);if(++this.index,a.Character.isLineTerminator(r)){if(this.trackComment){i.end={line:this.lineNumber,column:this.index-this.lineStart-1};var o={multiLine:!1,slice:[t+e,this.index-1],range:[t,this.index-1],loc:i};n.push(o)}return 13===r&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,n}}return this.trackComment&&(i.end={line:this.lineNumber,column:this.index-this.lineStart},o={multiLine:!1,slice:[t+e,this.index],range:[t,this.index],loc:i},n.push(o)),n},e.prototype.skipMultiLineComment=function(){var e,t,i=[];for(this.trackComment&&(i=[],e=this.index-2,t={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var n=this.source.charCodeAt(this.index);if(a.Character.isLineTerminator(n))13===n&&10===this.source.charCodeAt(this.index+1)&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(42===n){if(47===this.source.charCodeAt(this.index+1)){if(this.index+=2,this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart};var r={multiLine:!0,slice:[e+2,this.index-2],range:[e,this.index],loc:t};i.push(r)}return i}++this.index}else++this.index}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},r={multiLine:!0,slice:[e+2,this.index],range:[e,this.index],loc:t},i.push(r)),this.tolerateUnexpectedToken(),i},e.prototype.scanComments=function(){var e;this.trackComment&&(e=[]);for(var t=0===this.index;!this.eof();){var i=this.source.charCodeAt(this.index);if(a.Character.isWhiteSpace(i))++this.index;else if(a.Character.isLineTerminator(i))++this.index,13===i&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,t=!0;else if(47===i)if(47===(i=this.source.charCodeAt(this.index+1))){this.index+=2;var n=this.skipSingleLineComment(2);this.trackComment&&(e=e.concat(n)),t=!0}else{if(42!==i)break;this.index+=2,n=this.skipMultiLineComment(),this.trackComment&&(e=e.concat(n))}else if(t&&45===i){if(45!==this.source.charCodeAt(this.index+1)||62!==this.source.charCodeAt(this.index+2))break;this.index+=3,n=this.skipSingleLineComment(3),this.trackComment&&(e=e.concat(n))}else{if(60!==i||this.isModule)break;if("!--"!==this.source.slice(this.index+1,this.index+4))break;this.index+=4,n=this.skipSingleLineComment(4),this.trackComment&&(e=e.concat(n))}}return e},e.prototype.isFutureReservedWord=function(e){switch(e){case"enum":case"export":case"import":case"super":return!0;default:return!1}},e.prototype.isStrictModeReservedWord=function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},e.prototype.isRestrictedWord=function(e){return"eval"===e||"arguments"===e},e.prototype.isKeyword=function(e){switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}},e.prototype.codePointAt=function(e){var t=this.source.charCodeAt(e);if(t>=55296&&t<=56319){var i=this.source.charCodeAt(e+1);i>=56320&&i<=57343&&(t=1024*(t-55296)+i-56320+65536)}return t},e.prototype.scanHexEscape=function(e){for(var t="u"===e?4:2,i=0,n=0;n<t;++n){if(this.eof()||!a.Character.isHexDigit(this.source.charCodeAt(this.index)))return null;i=16*i+o(this.source[this.index++])}return String.fromCharCode(i)},e.prototype.scanUnicodeCodePointEscape=function(){var e=this.source[this.index],t=0;for("}"===e&&this.throwUnexpectedToken();!this.eof()&&(e=this.source[this.index++],a.Character.isHexDigit(e.charCodeAt(0)));)t=16*t+o(e);return(t>1114111||"}"!==e)&&this.throwUnexpectedToken(),a.Character.fromCodePoint(t)},e.prototype.getIdentifier=function(){for(var e=this.index++;!this.eof();){var t=this.source.charCodeAt(this.index);if(92===t)return this.index=e,this.getComplexIdentifier();if(t>=55296&&t<57343)return this.index=e,this.getComplexIdentifier();if(!a.Character.isIdentifierPart(t))break;++this.index}return this.source.slice(e,this.index)},e.prototype.getComplexIdentifier=function(){var e,t=this.codePointAt(this.index),i=a.Character.fromCodePoint(t);for(this.index+=i.length,92===t&&(117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,e=this.scanUnicodeCodePointEscape()):null!==(e=this.scanHexEscape("u"))&&"\\"!==e&&a.Character.isIdentifierStart(e.charCodeAt(0))||this.throwUnexpectedToken(),i=e);!this.eof()&&(t=this.codePointAt(this.index),a.Character.isIdentifierPart(t));)i+=e=a.Character.fromCodePoint(t),this.index+=e.length,92===t&&(i=i.substr(0,i.length-1),117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,e=this.scanUnicodeCodePointEscape()):null!==(e=this.scanHexEscape("u"))&&"\\"!==e&&a.Character.isIdentifierPart(e.charCodeAt(0))||this.throwUnexpectedToken(),i+=e);return i},e.prototype.octalToDecimal=function(e){var t="0"!==e,i=s(e);return!this.eof()&&a.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=!0,i=8*i+s(this.source[this.index++]),"0123".indexOf(e)>=0&&!this.eof()&&a.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(i=8*i+s(this.source[this.index++]))),{code:i,octal:t}},e.prototype.scanIdentifier=function(){var e,t=this.index,i=92===this.source.charCodeAt(t)?this.getComplexIdentifier():this.getIdentifier();if(3!=(e=1===i.length?3:this.isKeyword(i)?4:"null"===i?5:"true"===i||"false"===i?1:3)&&t+i.length!==this.index){var n=this.index;this.index=t,this.tolerateUnexpectedToken(r.Messages.InvalidEscapedReservedWord),this.index=n}return{type:e,value:i,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},e.prototype.scanPunctuator=function(){var e=this.index,t=this.source[this.index];switch(t){case"(":case"{":"{"===t&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,"."===this.source[this.index]&&"."===this.source[this.index+1]&&(this.index+=2,t="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:">>>="===(t=this.source.substr(this.index,4))?this.index+=4:"==="===(t=t.substr(0,3))||"!=="===t||">>>"===t||"<<="===t||">>="===t||"**="===t?this.index+=3:"&&"===(t=t.substr(0,2))||"||"===t||"=="===t||"!="===t||"+="===t||"-="===t||"*="===t||"/="===t||"++"===t||"--"===t||"<<"===t||">>"===t||"&="===t||"|="===t||"^="===t||"%="===t||"<="===t||">="===t||"=>"===t||"**"===t?this.index+=2:(t=this.source[this.index],"<>=!+-*%&|^/".indexOf(t)>=0&&++this.index)}return this.index===e&&this.throwUnexpectedToken(),{type:7,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanHexLiteral=function(e){for(var t="";!this.eof()&&a.Character.isHexDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return 0===t.length&&this.throwUnexpectedToken(),a.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+t,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanBinaryLiteral=function(e){for(var t,i="";!this.eof()&&("0"===(t=this.source[this.index])||"1"===t);)i+=this.source[this.index++];return 0===i.length&&this.throwUnexpectedToken(),this.eof()||(t=this.source.charCodeAt(this.index),(a.Character.isIdentifierStart(t)||a.Character.isDecimalDigit(t))&&this.throwUnexpectedToken()),{type:6,value:parseInt(i,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanOctalLiteral=function(e,t){var i="",n=!1;for(a.Character.isOctalDigit(e.charCodeAt(0))?(n=!0,i="0"+this.source[this.index++]):++this.index;!this.eof()&&a.Character.isOctalDigit(this.source.charCodeAt(this.index));)i+=this.source[this.index++];return n||0!==i.length||this.throwUnexpectedToken(),(a.Character.isIdentifierStart(this.source.charCodeAt(this.index))||a.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(i,8),octal:n,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},e.prototype.isImplicitOctalLiteral=function(){for(var e=this.index+1;e<this.length;++e){var t=this.source[e];if("8"===t||"9"===t)return!1;if(!a.Character.isOctalDigit(t.charCodeAt(0)))return!0}return!0},e.prototype.scanNumericLiteral=function(){var e=this.index,t=this.source[e];n.assert(a.Character.isDecimalDigit(t.charCodeAt(0))||"."===t,"Numeric literal must start with a decimal digit or a decimal point");var i="";if("."!==t){if(i=this.source[this.index++],t=this.source[this.index],"0"===i){if("x"===t||"X"===t)return++this.index,this.scanHexLiteral(e);if("b"===t||"B"===t)return++this.index,this.scanBinaryLiteral(e);if("o"===t||"O"===t)return this.scanOctalLiteral(t,e);if(t&&a.Character.isOctalDigit(t.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(t,e)}for(;a.Character.isDecimalDigit(this.source.charCodeAt(this.index));)i+=this.source[this.index++];t=this.source[this.index]}if("."===t){for(i+=this.source[this.index++];a.Character.isDecimalDigit(this.source.charCodeAt(this.index));)i+=this.source[this.index++];t=this.source[this.index]}if("e"===t||"E"===t)if(i+=this.source[this.index++],"+"!==(t=this.source[this.index])&&"-"!==t||(i+=this.source[this.index++]),a.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;a.Character.isDecimalDigit(this.source.charCodeAt(this.index));)i+=this.source[this.index++];else this.throwUnexpectedToken();return a.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(i),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanStringLiteral=function(){var e=this.index,t=this.source[e];n.assert("'"===t||'"'===t,"String literal must starts with a quote"),++this.index;for(var i=!1,o="";!this.eof();){var s=this.source[this.index++];if(s===t){t="";break}if("\\"===s)if((s=this.source[this.index++])&&a.Character.isLineTerminator(s.charCodeAt(0)))++this.lineNumber,"\r"===s&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index;else switch(s){case"u":if("{"===this.source[this.index])++this.index,o+=this.scanUnicodeCodePointEscape();else{var l=this.scanHexEscape(s);null===l&&this.throwUnexpectedToken(),o+=l}break;case"x":var u=this.scanHexEscape(s);null===u&&this.throwUnexpectedToken(r.Messages.InvalidHexEscapeSequence),o+=u;break;case"n":o+="\n";break;case"r":o+="\r";break;case"t":o+="\t";break;case"b":o+="\b";break;case"f":o+="\f";break;case"v":o+="\v";break;case"8":case"9":o+=s,this.tolerateUnexpectedToken();break;default:if(s&&a.Character.isOctalDigit(s.charCodeAt(0))){var c=this.octalToDecimal(s);i=c.octal||i,o+=String.fromCharCode(c.code)}else o+=s}else{if(a.Character.isLineTerminator(s.charCodeAt(0)))break;o+=s}}return""!==t&&(this.index=e,this.throwUnexpectedToken()),{type:8,value:o,octal:i,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanTemplate=function(){var e="",t=!1,i=this.index,n="`"===this.source[i],o=!1,s=2;for(++this.index;!this.eof();){var l=this.source[this.index++];if("`"===l){s=1,o=!0,t=!0;break}if("$"===l){if("{"===this.source[this.index]){this.curlyStack.push("${"),++this.index,t=!0;break}e+=l}else if("\\"===l)if(l=this.source[this.index++],a.Character.isLineTerminator(l.charCodeAt(0)))++this.lineNumber,"\r"===l&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index;else switch(l){case"n":e+="\n";break;case"r":e+="\r";break;case"t":e+="\t";break;case"u":if("{"===this.source[this.index])++this.index,e+=this.scanUnicodeCodePointEscape();else{var u=this.index,c=this.scanHexEscape(l);null!==c?e+=c:(this.index=u,e+=l)}break;case"x":var d=this.scanHexEscape(l);null===d&&this.throwUnexpectedToken(r.Messages.InvalidHexEscapeSequence),e+=d;break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+="\v";break;default:"0"===l?(a.Character.isDecimalDigit(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(r.Messages.TemplateOctalLiteral),e+="\0"):a.Character.isOctalDigit(l.charCodeAt(0))?this.throwUnexpectedToken(r.Messages.TemplateOctalLiteral):e+=l}else a.Character.isLineTerminator(l.charCodeAt(0))?(++this.lineNumber,"\r"===l&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index,e+="\n"):e+=l}return t||this.throwUnexpectedToken(),n||this.curlyStack.pop(),{type:10,value:this.source.slice(i+1,this.index-s),cooked:e,head:n,tail:o,lineNumber:this.lineNumber,lineStart:this.lineStart,start:i,end:this.index}},e.prototype.testRegExp=function(e,t){var i=e,n=this;t.indexOf("u")>=0&&(i=i.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(e,t,i){var a=parseInt(t||i,16);return a>1114111&&n.throwUnexpectedToken(r.Messages.InvalidRegExp),a<=65535?String.fromCharCode(a):""}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,""));try{RegExp(i)}catch(e){this.throwUnexpectedToken(r.Messages.InvalidRegExp)}try{return new RegExp(e,t)}catch(e){return null}},e.prototype.scanRegExpBody=function(){var e=this.source[this.index];n.assert("/"===e,"Regular expression literal must start with a slash");for(var t=this.source[this.index++],i=!1,o=!1;!this.eof();)if(t+=e=this.source[this.index++],"\\"===e)e=this.source[this.index++],a.Character.isLineTerminator(e.charCodeAt(0))&&this.throwUnexpectedToken(r.Messages.UnterminatedRegExp),t+=e;else if(a.Character.isLineTerminator(e.charCodeAt(0)))this.throwUnexpectedToken(r.Messages.UnterminatedRegExp);else if(i)"]"===e&&(i=!1);else{if("/"===e){o=!0;break}"["===e&&(i=!0)}return o||this.throwUnexpectedToken(r.Messages.UnterminatedRegExp),t.substr(1,t.length-2)},e.prototype.scanRegExpFlags=function(){for(var e="";!this.eof();){var t=this.source[this.index];if(!a.Character.isIdentifierPart(t.charCodeAt(0)))break;if(++this.index,"\\"!==t||this.eof())e+=t;else if("u"===(t=this.source[this.index])){++this.index;var i=this.index,n=this.scanHexEscape("u");if(null!==n)for(e+=n;i<this.index;++i)this.source[i];else this.index=i,e+="u";this.tolerateUnexpectedToken()}else this.tolerateUnexpectedToken()}return e},e.prototype.scanRegExp=function(){var e=this.index,t=this.scanRegExpBody(),i=this.scanRegExpFlags();return{type:9,value:"",pattern:t,flags:i,regex:this.testRegExp(t,i),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var e=this.source.charCodeAt(this.index);return a.Character.isIdentifierStart(e)?this.scanIdentifier():40===e||41===e||59===e?this.scanPunctuator():39===e||34===e?this.scanStringLiteral():46===e?a.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():a.Character.isDecimalDigit(e)?this.scanNumericLiteral():96===e||125===e&&"${"===this.curlyStack[this.curlyStack.length-1]?this.scanTemplate():e>=55296&&e<57343&&a.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},e}();t.Scanner=l},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TokenName={},t.TokenName[1]="Boolean",t.TokenName[2]="<end>",t.TokenName[3]="Identifier",t.TokenName[4]="Keyword",t.TokenName[5]="Null",t.TokenName[6]="Numeric",t.TokenName[7]="Punctuator",t.TokenName[8]="String",t.TokenName[9]="RegularExpression",t.TokenName[10]="Template"},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",lang:"⟨",rang:"⟩"}},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(10),a=i(12),r=i(13),o=function(){function e(){this.values=[],this.curly=this.paren=-1}return e.prototype.beforeFunctionExpression=function(e){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(e)>=0},e.prototype.isRegexStart=function(){var e=this.values[this.values.length-1],t=null!==e;switch(e){case"this":case"]":t=!1;break;case")":var i=this.values[this.paren-1];t="if"===i||"while"===i||"for"===i||"with"===i;break;case"}":if(t=!1,"function"===this.values[this.curly-3])t=!!(n=this.values[this.curly-4])&&!this.beforeFunctionExpression(n);else if("function"===this.values[this.curly-4]){var n;t=!(n=this.values[this.curly-5])||!this.beforeFunctionExpression(n)}}return t},e.prototype.push=function(e){7===e.type||4===e.type?("{"===e.value?this.curly=this.values.length:"("===e.value&&(this.paren=this.values.length),this.values.push(e.value)):this.values.push(null)},e}(),s=function(){function e(e,t){this.errorHandler=new n.ErrorHandler,this.errorHandler.tolerant=!!t&&"boolean"==typeof t.tolerant&&t.tolerant,this.scanner=new a.Scanner(e,this.errorHandler),this.scanner.trackComment=!!t&&"boolean"==typeof t.comment&&t.comment,this.trackRange=!!t&&"boolean"==typeof t.range&&t.range,this.trackLoc=!!t&&"boolean"==typeof t.loc&&t.loc,this.buffer=[],this.reader=new o}return e.prototype.errors=function(){return this.errorHandler.errors},e.prototype.getNextToken=function(){if(0===this.buffer.length){var e=this.scanner.scanComments();if(this.scanner.trackComment)for(var t=0;t<e.length;++t){var i=e[t],n=this.scanner.source.slice(i.slice[0],i.slice[1]),a={type:i.multiLine?"BlockComment":"LineComment",value:n};this.trackRange&&(a.range=i.range),this.trackLoc&&(a.loc=i.loc),this.buffer.push(a)}if(!this.scanner.eof()){var o=void 0;this.trackLoc&&(o={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var s="/"===this.scanner.source[this.scanner.index]&&this.reader.isRegexStart()?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(s);var l={type:r.TokenName[s.type],value:this.scanner.source.slice(s.start,s.end)};if(this.trackRange&&(l.range=[s.start,s.end]),this.trackLoc&&(o.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},l.loc=o),9===s.type){var u=s.pattern,c=s.flags;l.regex={pattern:u,flags:c}}this.buffer.push(l)}}return this.buffer.shift()},e}();t.Tokenizer=s}])},Mr.exports=Nr()),Mr.exports),Vr=X(_r),Hr={};var Ur=(Lr||(Lr=1,function e(t){var i,n,a,r,o,s;function l(e){var t,i,n={};for(t in e)e.hasOwnProperty(t)&&("object"===x(i=e[t])&&null!==i?n[t]=l(i):n[t]=i);return n}function u(e,t){this.parent=e,this.key=t}function c(e,t,i,n){this.node=e,this.path=t,this.wrap=i,this.ref=n}function d(){}function h(e){return null!=e&&"object"===x(e)&&"string"==typeof e.type}function p(e,t){return(e===i.ObjectExpression||e===i.ObjectPattern)&&"properties"===t}function m(e,t){for(var i=e.length-1;i>=0;--i)if(e[i].node===t)return!0;return!1}function g(e,t){return(new d).traverse(e,t)}function f(e,t){var i;return i=function(e,t){var i,n,a,r;for(n=e.length,a=0;n;)t(e[r=a+(i=n>>>1)])?n=i:(a=r+1,n-=i+1);return a}(t,function(t){return t.range[0]>e.range[0]}),e.extendedRange=[e.range[0],e.range[1]],i!==t.length&&(e.extendedRange[1]=t[i].range[0]),(i-=1)>=0&&(e.extendedRange[0]=t[i].range[1]),e}return i={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},a={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},n={Break:r={},Skip:o={},Remove:s={}},u.prototype.replace=function(e){this.parent[this.key]=e},u.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},d.prototype.path=function(){var e,t,i,n,a;function r(e,t){if(Array.isArray(t))for(i=0,n=t.length;i<n;++i)e.push(t[i]);else e.push(t)}if(!this.__current.path)return null;for(a=[],e=2,t=this.__leavelist.length;e<t;++e)r(a,this.__leavelist[e].path);return r(a,this.__current.path),a},d.prototype.type=function(){return this.current().type||this.__current.wrap},d.prototype.parents=function(){var e,t,i;for(i=[],e=1,t=this.__leavelist.length;e<t;++e)i.push(this.__leavelist[e].node);return i},d.prototype.current=function(){return this.__current.node},d.prototype.__execute=function(e,t){var i,n;return n=void 0,i=this.__current,this.__current=t,this.__state=null,e&&(n=e.call(this,t.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=i,n},d.prototype.notify=function(e){this.__state=e},d.prototype.skip=function(){this.notify(o)},d.prototype.break=function(){this.notify(r)},d.prototype.remove=function(){this.notify(s)},d.prototype.__initialize=function(e,t){this.visitor=t,this.root=e,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,"iteration"===t.fallback?this.__fallback=Object.keys:"function"==typeof t.fallback&&(this.__fallback=t.fallback),this.__keys=a,t.keys&&(this.__keys=Object.assign(Object.create(this.__keys),t.keys))},d.prototype.traverse=function(e,t){var i,n,a,s,l,u,d,g,f,v,b,y;for(this.__initialize(e,t),y={},i=this.__worklist,n=this.__leavelist,i.push(new c(e,null,null,null)),n.push(new c(null,null,null,null));i.length;)if((a=i.pop())!==y){if(a.node){if(u=this.__execute(t.enter,a),this.__state===r||u===r)return;if(i.push(y),n.push(a),this.__state===o||u===o)continue;if(l=(s=a.node).type||a.wrap,!(v=this.__keys[l])){if(!this.__fallback)throw new Error("Unknown node type "+l+".");v=this.__fallback(s)}for(g=v.length;(g-=1)>=0;)if(b=s[d=v[g]])if(Array.isArray(b)){for(f=b.length;(f-=1)>=0;)if(b[f]&&!m(n,b[f])){if(p(l,v[g]))a=new c(b[f],[d,f],"Property",null);else{if(!h(b[f]))continue;a=new c(b[f],[d,f],null,null)}i.push(a)}}else if(h(b)){if(m(n,b))continue;i.push(new c(b,d,null,null))}}}else if(a=n.pop(),u=this.__execute(t.leave,a),this.__state===r||u===r)return},d.prototype.replace=function(e,t){var i,n,a,l,d,m,g,f,v,b,y,S,k;function x(e){var t,n,a,r;if(e.ref.remove())for(n=e.ref.key,r=e.ref.parent,t=i.length;t--;)if((a=i[t]).ref&&a.ref.parent===r){if(a.ref.key<n)break;--a.ref.key}}for(this.__initialize(e,t),y={},i=this.__worklist,n=this.__leavelist,m=new c(e,null,null,new u(S={root:e},"root")),i.push(m),n.push(m);i.length;)if((m=i.pop())!==y){if(void 0!==(d=this.__execute(t.enter,m))&&d!==r&&d!==o&&d!==s&&(m.ref.replace(d),m.node=d),this.__state!==s&&d!==s||(x(m),m.node=null),this.__state===r||d===r)return S.root;if((a=m.node)&&(i.push(y),n.push(m),this.__state!==o&&d!==o)){if(l=a.type||m.wrap,!(v=this.__keys[l])){if(!this.__fallback)throw new Error("Unknown node type "+l+".");v=this.__fallback(a)}for(g=v.length;(g-=1)>=0;)if(b=a[k=v[g]])if(Array.isArray(b)){for(f=b.length;(f-=1)>=0;)if(b[f]){if(p(l,v[g]))m=new c(b[f],[k,f],"Property",new u(b,f));else{if(!h(b[f]))continue;m=new c(b[f],[k,f],null,new u(b,f))}i.push(m)}}else h(b)&&i.push(new c(b,k,null,new u(a,k)))}}else if(m=n.pop(),void 0!==(d=this.__execute(t.leave,m))&&d!==r&&d!==o&&d!==s&&m.ref.replace(d),this.__state!==s&&d!==s||x(m),this.__state===r||d===r)return S.root;return S.root},t.Syntax=i,t.traverse=g,t.replace=function(e,t){return(new d).replace(e,t)},t.attachComments=function(e,t,i){var a,r,o,s,u=[];if(!e.range)throw new Error("attachComments needs range information");if(!i.length){if(t.length){for(o=0,r=t.length;o<r;o+=1)(a=l(t[o])).extendedRange=[0,e.range[0]],u.push(a);e.leadingComments=u}return e}for(o=0,r=t.length;o<r;o+=1)u.push(f(l(t[o]),i));return s=0,g(e,{enter:function(e){for(var t;s<u.length&&!((t=u[s]).extendedRange[1]>e.range[0]);)t.extendedRange[1]===e.range[0]?(e.leadingComments||(e.leadingComments=[]),e.leadingComments.push(t),u.splice(s,1)):s+=1;return s===u.length?n.Break:u[s].extendedRange[0]>e.range[1]?n.Skip:void 0}}),s=0,g(e,{leave:function(e){for(var t;s<u.length&&(t=u[s],!(e.range[1]<t.extendedRange[0]));)e.range[1]===t.extendedRange[0]?(e.trailingComments||(e.trailingComments=[]),e.trailingComments.push(t),u.splice(s,1)):s+=1;return s===u.length?n.Break:u[s].extendedRange[0]>e.range[1]?n.Skip:void 0}}),e},t.VisitorKeys=a,t.VisitorOption=n,t.Controller=d,t.cloneEnvironment=function(){return e({})},t}(Hr)),Hr),Wr=X(Ur);function Kr(){if(!window._yttv)return setTimeout(Kr,250);if(!document.querySelector("video"))return setTimeout(Kr,250);var e=Object.keys(window._yttv).filter(e=>"function"==typeof window._yttv[e]&&window._yttv[e].toString().includes("TRANSPORT_CONTROLS_BUTTON_TYPE_FEATURED_ACTION"));if(0!==e.length){var t=window._yttv[e[0]];Sa("enablePatchingVideoPlayer")&&(i.prototype=t.prototype,window._yttv[e[0]]=i)}else setTimeout(Kr,250);function i(){var e,n=Array.prototype.slice.call(arguments),a=/^class\s/.test(t.toString());function r(e,n){return"undefined"!=typeof Reflect&&"function"==typeof Reflect.construct?Reflect.construct(e,n,i):new t(...n)}if(!(this instanceof i))return a?r(t,n):t.apply(this,n);a?e=r(t,n):(t.apply(this,n),e=this);var o=function(e){var t,i=e,n=0;try{t=Vr.parse(e,{range:!0,tolerant:!0,sourceType:"script"})}catch(i){try{var a="("+e+")";t=Vr.parse(a,{range:!0,tolerant:!0,sourceType:"script"}),n=1}catch(a){try{t=Vr.parse(e,{range:!0,tolerant:!0,sourceType:"module"})}catch(a){try{var r="("+e+")";t=Vr.parse(r,{range:!0,tolerant:!0,sourceType:"module"}),n=1}catch(e){throw i}}}}var o=[];return Wr.traverse(t,{enter:function(e){if("AssignmentExpression"===e.type){var t=e.right;if(t&&t.range){var a=i.slice(t.range[0]-n,t.range[1]-n),r=null;if("CallExpression"===t.type&&t.callee&&"FunctionExpression"===t.callee.type&&t.callee.body)for(var s=t.callee.body.body||[],l=0;l<s.length;l++){var u=s[l];if("ReturnStatement"===u.type&&u.argument&&u.argument.range){r=i.slice(u.argument.range[0]-n,u.argument.range[1]-n);break}}else"FunctionExpression"!==t.type&&"ArrowFunctionExpression"!==t.type||(r=a);o.push({left:e.left&&e.left.range?i.slice(e.left.range[0]-n,e.left.range[1]-n):null,rhs:a,returned:r})}}}}),o}(t.toString()),s={type:"TRANSPORT_CONTROLS_BUTTON_TYPE_PIP",button:{buttonRenderer:ja(!1,"Mini Player","CLEAR_COOKIES",{customAction:{action:"ENTER_PIP"}})}},l=o.find(e=>e.rhs.includes("TRANSPORT_CONTROLS_BUTTON_TYPE_PLAYBACK_SETTINGS")).left.split(".")[1];if(!l)return e;var u=e[l];e[l]=function(){var e=u.apply(this,arguments),t=e.findIndex(e=>"TRANSPORT_CONTROLS_BUTTON_TYPE_PLAYBACK_SETTINGS"===e.type);return e.find(e=>"TRANSPORT_CONTROLS_BUTTON_TYPE_PIP"===e.type)||e.splice(t,0,s),e};var c=o.find(e=>{if(e.rhs.includes("skipNextButton")){var t=e.rhs.indexOf("skipNextButton");if(e.rhs.indexOf("skipPreviousButton")>t)return!0}}).left.split(".")[1],d=o.find(e=>{if(e.rhs.includes("skipPreviousButton")&&e.rhs.indexOf("skipNextButton")>e.rhs.indexOf("skipPreviousButton"))return!0}).left.split(".")[1],h=o.find(e=>e.rhs.includes("props.data.engagementActions")).left.split(".")[1];if(h&&Sa("enableSpeedControlsButton")){var p=e[h];e[h]=function(){var e=p.apply(this,arguments);return e.find(e=>"TRANSPORT_CONTROLS_BUTTON_TYPE_SPEED"===e.type)||e.push({type:"TRANSPORT_CONTROLS_BUTTON_TYPE_SPEED",button:{buttonRenderer:ja(!1,"Speed Controls","SLOW_MOTION_VIDEO",{customAction:{action:"TT_SPEED_SETTINGS_SHOW"}})}}),e}}if(!Sa("enableSuperThanksButton")){var m=e[h];e[h]=function(){return m.apply(this,arguments).filter(e=>"TRANSPORT_CONTROLS_BUTTON_TYPE_SUPER_THANKS"!==e.type).filter(e=>"TRANSPORT_CONTROLS_BUTTON_TYPE_SHOPPING"!==e.type)}}if(Sa("enablePreviousNextButtons")){if(!c||!d)return e;e[c]=function(){return ja(!1,"Previous","SKIP_PREVIOUS",{signalAction:{signal:"PLAYER_PLAY_PREVIOUS"}})},e[d]=function(){return ja(!1,"Next","SKIP_NEXT",{signalAction:{signal:"PLAYER_PLAY_NEXT"}})}}return e}}"complete"===document.readyState||"interactive"===document.readyState?Kr():window.addEventListener("DOMContentLoaded",Kr);var Gr=JSON.parse;JSON.parse=function(){var e=Gr.apply(this,arguments),t=Sa("disabledSidebarContents"),i=Sa("disableChannelsOnSidebar");if(e.items&&Array.isArray(e.items)&&e.items[0].guideSectionRenderer)for(var n=0;n<e.items.length;n++)for(var a=e.items[n].guideSectionRenderer,r=0;r<a.items.length;r++){var o,s=a.items[r].guideEntryRenderer;s&&((null!=t&&t.length&&t.includes(null===(o=s.icon)||void 0===o?void 0:o.iconType)||i&&null!=s&&s.thumbnail)&&(a.items.splice(r,1),r--))}return e},xa.addEventListener("configChange",e=>{if("disabledSidebarContents"===e.detail.key||"disableChannelsOnSidebar"===e.detail.key){var t=fr();t&&t.executeFunction(new t.commandFunction("reloadGuideAction"))}}),function e(){var t=document.querySelector(".html5-video-player"),i=document.querySelector("video");if(!t)return setTimeout(e,500);t.addEventListener("onPlaybackStartExternal",()=>{try{if(-1===window.location.href.indexOf("watch"))return;var e=t.getStatsForNerds().resolution.match(/(\d+)x(\d+)@([\d.]+)/),n=Sa("autoFrameRatePauseVideoFor");if(e){var a=e[3];Sa("autoFrameRate")&&window.h5vcc&&window.h5vcc.tizentube&&window.h5vcc.tizentube.SetFrameRate&&(n>0&&(i.pause(),setTimeout(()=>{i.play()},n)),window.h5vcc.tizentube.SetFrameRate(parseFloat(a)))}}catch(e){console.error("Error in auto frame rate handling:",e)}}),window.addEventListener("hashchange",()=>{window.location.href.indexOf("watch")>0&&Sa("autoFrameRate")&&window.h5vcc&&window.h5vcc.tizentube&&window.h5vcc.tizentube.SetFrameRate&&window.h5vcc.tizentube.SetFrameRate(0)})}()}();
|