// ==UserScript==
// @name SaveFrom.net helper
// @namespace http://savefrom.net/
// @version 9.41.2
// @date 2021-03-10
// @author Itproductdev Ltd
// @description Youtube Downloader: all in one script to get Vimeo, Facebook,
Dailymotion videos for free
// @homepage https://savefrom.net/user.php?helper=userjs
// @icon https://sf-helper.com/img/icon_16.png
// @icon64 https://sf-helper.com/img/icon_64.png
// @updateURL https://download.sf-helper.com/chrome/helper.meta.js
// @downloadURL https://download.sf-helper.com/chrome/helper.user.js
// @include http://*
// @include https://*
// @run-at document-end
// @grant GM_listValues
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_deleteValue
// @grant GM_xmlhttpRequest
// @grant GM_info
// @grant GM_openInTab
// @grant GM_setClipboard
// @grant GM_registerMenuCommand
// @grant GM_unregisterMenuCommand
// @grant GM_notification
// @grant GM_download
// @grant GM.info
// @grant GM.listValues
// @grant GM.setValue
// @grant GM.getValue
// @grant GM.deleteValue
// @grant GM.openInTab
// @grant GM.setClipboard
// @grant GM.xmlHttpRequest
// @connect vk.com
// @connect vk.me
// @connect userapi.com
// @connect vkuseraudio.net
// @connect vkuservideo.net
// @connect vk-cdn.net
// @connect youtube.com
// @connect youtube-nocookie.com
// @connect ytimg.com
// @connect googlevideo.com
// @connect video.google.com
// @connect google-analytics.com
// @connect api.amplitude.com
// @connect dailymotion.com
// @connect vimeo.com
// @connect vimeocdn.com
// @connect akamaized.net
// @connect odnoklassniki.ru
// @connect ok.ru
// @connect cdn-ok.com
// @connect mycdn.me
// @connect storage.mds.yandex.net
// @connect twitch.tv
// @connect pladform.ru
// @connect clipyou.ru
// @connect soundcloud.com
// @connect sndcdn.com
// @connect mail.ru
// @connect 176.9.38.116
// @connect cdninstagram.com
// @connect fbcdn.net
// @connect facebook.com
// @connect sf-helper.com
// @connect savefr.com
// @connect travelbar.tools
// @connect promobar.tools
// @connect savefrom.net
// @connect self
// @connect *
// ==/UserScript==
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!
1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!
0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,
{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return
e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=136)}
([function(e,t,n){e.exports=n(77)},function(e,t,n){"use strict";function r(e,t)
{if(!(e instanceof t))throw new TypeError("Cannot call a class as a
function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function
r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!
1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return
t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return o}))},function(e,t,n)
{"use strict";function r(e){return(r=Object.setPrototypeOf?
Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})
(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function
r(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?
t(u):Promise.resolve(u).then(r,o)}function o(e){return function(){var
t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function
s(e){r(a,o,i,s,u,"next",e)}function u(e){r(a,o,i,s,u,"throw",e)}s(void
0)}))}}n.d(t,"a",(function(){return o}))},function(e,t,n){"use
strict";n.r(t),n.d(t,"render",(function(){return F})),n.d(t,"hydrate",(function()
{return B})),n.d(t,"createElement",(function(){return m})),n.d(t,"h",(function()
{return m})),n.d(t,"Fragment",(function(){return v})),n.d(t,"createRef",(function()
{return g})),n.d(t,"isValidElement",(function(){return o})),n.d(t,"Component",
(function(){return b})),n.d(t,"cloneElement",(function(){return
R})),n.d(t,"createContext",(function(){return q})),n.d(t,"toChildArray",(function()
{return S})),n.d(t,"options",(function(){return r}));var
r,o,i,a,s,u,l={},c=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|
^ord|itera/i;function f(e,t){for(var n in t)e[n]=t[n];return e}function p(e){var
t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n){var
r,o,i,a=arguments,s={};for(i in t)"key"==i?r=t[i]:"ref"==i?
o=t[i]:s[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i+
+)n.push(a[i]);if(null!=n&&(s.children=n),"function"==typeof e&&null!
=e.defaultProps)for(i in e.defaultProps)void
0===s[i]&&(s[i]=e.defaultProps[i]);return h(e,s,r,o,null)}function h(e,t,n,o,i){var
a={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void
0,__c:null,__h:null,constructor:void 0,__v:null==i?++r.__v:i};return null!
=r.vnode&&r.vnode(a),a}function g(){return{current:null}}function v(e){return
e.children}function b(e,t){this.props=e,this.context=t}function y(e,t)
{if(null==t)return e.__?y(e.__,e.__.__k.indexOf(e)+1):null;for(var
n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return
n.__e;return"function"==typeof e.type?y(e):null}function A(e){var t,n;if(null!
=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!
=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return A(e)}}function k(e)
{(!e.__d&&(e.__d=!0)&&i.push(e)&&!w.__r++||s!
==r.debounceRendering)&&((s=r.debounceRendering)||a)(w)}function w(){for(var
e;w.__r=i.length;)e=i.sort((function(e,t){return e.__v.__b-
t.__v.__b})),i=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,
(a=t.__P)&&(n=[],(r=f({},o)).__v=o.__v+1,E(a,o,r,t.__n,void 0!
==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?y(o):i,o.__h),P(n,o),o.__e!
=i&&A(o)))}))}function x(e,t,n,r,o,i,a,s,u,d){var f,p,m,g,b,A,k,w=r&&r.__k||
c,x=w.length;for(n.__k=[],f=0;f<t.length;f++)if(null!
=(g=n.__k[f]=null==(g=t[f])||"boolean"==typeof g?null:"string"==typeof
g||"number"==typeof g?h(null,g,null,null,g):Array.isArray(g)?h(v,
{children:g},null,null,null):g.__b>0?h(g.type,g.props,g.key,null,g.__v):g))
{if(g.__=n,g.__b=n.__b+1,null===(m=w[f])||
m&&g.key==m.key&&g.type===m.type)w[f]=void 0;else for(p=0;p<x;p++)
{if((m=w[p])&&g.key==m.key&&g.type===m.type){w[p]=void 0;break}m=null}E(e,g,m=m||
l,o,i,a,s,u,d),b=g.__e,(p=g.ref)&&m.ref!=p&&(k||
(k=[]),m.ref&&k.push(m.ref,null,g),k.push(p,g.__c||b,g)),null!=b?
(null==A&&(A=b),"function"==typeof g.type&&null!=g.__k&&g.__k===m.__k?
g.__d=u=_(g,u,e):u=C(e,g,m,w,b,u),d||"option"!==n.type?"function"==typeof
n.type&&(n.__d=u):e.value=""):u&&m.__e==u&&u.parentNode!
=e&&(u=y(m))}for(n.__e=A,f=x;f--;)null!=w[f]&&("function"==typeof n.type&&null!
=w[f].__e&&w[f].__e==n.__d&&(n.__d=y(r,f+1)),D(w[f],w[f]));if(k)for(f=0;f<k.length;
f++)T(k[f],k[++f],k[++f])}function _(e,t,n){var r,o;for(r=0;r<e.__k.length;r++)
(o=e.__k[r])&&(o.__=e,t="function"==typeof o.type?
_(o,t,n):C(n,o,o,e.__k,o.__e,t));return t}function S(e,t){return t=t||
[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e)
{S(e,t)})):t.push(e)),t}function C(e,t,n,r,o,i){var a,s,u;if(void 0!
==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||
null==o.parentNode)e:if(null==i||i.parentNode!
==e)e.appendChild(o),a=null;else{for(s=i,u=0;
(s=s.nextSibling)&&u<r.length;u+=2)if(s==o)break e;e.insertBefore(o,i),a=i}return
void 0!==a?a:o.nextSibling}function I(e,t,n){"-"===t[0]?
e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function
O(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof
n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in
r)n&&t in n||I(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||I(e.style,t,n[t])}else
if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?
t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||
e.addEventListener(t,i?L:M,i):e.removeEventListener(t,i?L:M,i);else
if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/
sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"download"!==t&&t in
e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!
==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function
M(e){this.l[e.type+!1](r.event?r.event(e):e)}function L(e){this.l[e.type+!0]
(r.event?r.event(e):e)}function E(e,t,n,o,i,a,s,u,l){var
c,d,p,m,h,g,y,A,k,w,_,S=t.type;if(void 0!==t.constructor)return null;null!
=n.__h&&(l=n.__h,u=t.__e=n.__e,t.__h=null,a=[u]),
(c=r.__b)&&c(t);try{e:if("function"==typeof S)
{if(A=t.props,k=(c=S.contextType)&&o[c.__c],w=c?k?k.props.value:c.__:o,n.__c?
y=(d=t.__c=n.__c).__=d.__E:("prototype"in S&&S.prototype.render?t.__c=d=new S(A,w):
(t.__c=d=new b(A,w),d.constructor=S,d.render=N),k&&k.sub(d),d.props=A,d.state||
(d.state={}),d.context=w,d.__n=o,p=d.__d=!
0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!
=S.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=f({},d.__s)),f(d.__s,S.getDeri
vedStateFromProps(A,d.__s))),m=d.props,h=d.state,p)null==S.getDerivedStateFromProps
&&null!=d.componentWillMount&&d.componentWillMount(),null!
=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==S.getDerivedSta
teFromProps&&A!==m&&null!
=d.componentWillReceiveProps&&d.componentWillReceiveProps(A,w),!d.__e&&null!
=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(A,d.__s,w)||t.__v===n.__v)
{d.props=A,d.state=d.__s,t.__v!==n.__v&&(d.__d=!
1),d.__v=t,t.__e=n.__e,t.__k=n.__k,d.__h.length&&s.push(d);break e}null!
=d.componentWillUpdate&&d.componentWillUpdate(A,d.__s,w),null!
=d.componentDidUpdate&&d.__h.push((function()
{d.componentDidUpdate(m,h,g)}))}d.context=w,d.props=A,d.state=d.__s,
(c=r.__r)&&c(t),d.__d=!
1,d.__v=t,d.__P=e,c=d.render(d.props,d.state,d.context),d.state=d.__s,null!
=d.getChildContext&&(o=f(f({},o),d.getChildContext())),p||
null==d.getSnapshotBeforeUpdate||(g=d.getSnapshotBeforeUpdate(m,h)),_=null!
=c&&c.type===v&&null==c.key?c.props.children:c,x(e,Array.isArray(_)?_:
[_],t,n,o,i,a,s,u,l),d.base=t.__e,t.__h=null,d.__h.length&&s.push(d),y&&(d.__E=d.__
=null),d.__e=!1}else null==a&&t.__v===n.__v?
(t.__k=n.__k,t.__e=n.__e):t.__e=j(n.__e,t,n,o,i,a,s,l);(c=r.diffed)&&c(t)}catch(e)
{t.__v=null,(l||null!=a)&&(t.__e=u,t.__h=!!
l,a[a.indexOf(u)]=null),r.__e(e,t,n)}}function P(e,t)
{r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e)
{e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function j(e,t,n,r,o,i,a,s){var
u,d,f,m,h=n.props,g=t.props,v=t.type,b=0;if("svg"===v&&(o=!0),null!
=i)for(;b<i.length;b++)if((u=i[b])&&(u===e||(v?u.localName==v:3==u.nodeType)))
{e=u,i[b]=null;break}if(null==e){if(null===v)return document.createTextNode(g);e=o?
document.createElementNS("http://www.w3.org/2000/
svg",v):document.createElement(v,g.is&&g),i=null,s=!1}if(null===v)h===g||
s&&e.data===g||(e.data=g);else{if(i=i&&c.slice.call(e.childNodes),d=(h=n.props||
l).dangerouslySetInnerHTML,f=g.dangerouslySetInnerHTML,!s){if(null!
=i)for(h={},m=0;m<e.attributes.length;m+
+)h[e.attributes[m].name]=e.attributes[m].value;(f||
d)&&(f&&(d&&f.__html==d.__html||f.__html===e.innerHTML)||
(e.innerHTML=f&&f.__html||""))}if(function(e,t,n,r,o){var i;for(i in
n)"children"===i||"key"===i||i in t||O(e,i,null,n[i],r);for(i in t)o&&"function"!
=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||
O(e,i,t[i],n[i],r)}(e,g,h,o,s),f)t.__k=[];else
if(b=t.props.children,x(e,Array.isArray(b)?b:[b],t,n,r,o&&"foreignObject"!
==v,i,a,e.firstChild,s),null!=i)for(b=i.length;b--;)null!=i[b]&&p(i[b]);s||
("value"in g&&void 0!==(b=g.value)&&(b!==e.value||"progress"===v&&!
b)&&O(e,"value",b,h.value,!1),"checked"in
g&&void 0!==(b=g.checked)&&b!==e.checked&&O(e,"checked",b,h.checked,!1))}return
e}function T(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e)
{r.__e(e,n)}}function D(e,t,n){var o,i,a;if(r.unmount&&r.unmount(e),
(o=e.ref)&&(o.current&&o.current!==e.__e||T(o,null,t)),n||"function"==typeof
e.type||(n=null!=(i=e.__e)),e.__e=e.__d=void 0,null!=(o=e.__c))
{if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e)
{r.__e(e,t)}o.base=o.__P=null}if(o=e.__k)for(a=0;a<o.length;a+
+)o[a]&&D(o[a],t,n);null!=i&&p(i)}function N(e,t,n){return
this.constructor(e,n)}function F(e,t,n){var
o,i,a;r.__&&r.__(e,t),i=(o="function"==typeof n)?null:n&&n.__k||t.__k,a=[],E(t,e=(!
o&&n||t).__k=m(v,null,[e]),i||l,l,void 0!==t.ownerSVGElement,!o&&n?[n]:i?
null:t.firstChild?c.slice.call(t.childNodes):null,a,!o&&n?n:i?
i.__e:t.firstChild,o),P(a,e)}function B(e,t){F(e,t,B)}function R(e,t,n){var
r,o,i,a=arguments,s=f({},e.props);for(i in t)"key"==i?r=t[i]:"ref"==i?
o=t[i]:s[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i+
+)n.push(a[i]);return null!=n&&(s.children=n),h(e.type,s,r||e.key,o||
e.ref,null)}function q(e,t){var n={__c:t="__cC"+u++,__:e,Consumer:function(e,t)
{return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||
(n=[],(r={})[t]=this,this.getChildContext=function(){return
r},this.shouldComponentUpdate=function(e){this.props.value!
==e.value&&n.some(k)},this.sub=function(e){n.push(e);var
t=e.componentWillUnmount;e.componentWillUnmount=function()
{n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return
n.Provider.__=n.Consumer.contextType=n}r={__e:function(e,t){for(var
n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!
=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),nu
ll!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t)
{e=t}throw e},__v:0},o=function(e){return null!=e&&void
0===e.constructor},b.prototype.setState=function(e,t){var n;n=null!
=this.__s&&this.__s!==this.state?
this.__s:this.__s=f({},this.state),"function"==typeof
e&&(e=e(f({},n),this.props)),e&&f(n,e),null!
=e&&this.__v&&(t&&this.__h.push(t),k(this))},b.prototype.forceUpdate=function(e)
{this.__v&&(this.__e=!
0,e&&this.__h.push(e),k(this))},b.prototype.render=v,i=[],a="function"==typeof
Promise?
Promise.prototype.then.bind(Promise.resolve()):setTimeout,w.__r=0,u=0},function(e,t
,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(31);function o(e,t)
{if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must
either be null or a function");e.prototype=Object.create(t&&t.prototype,
{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n)
{"use strict";n.d(t,"a",(function(){return i}));var r=n(71),o=n(72);function i(e,t)
{return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t,n){"use
strict";n.d(t,"a",(function(){return s}));var
r=n(38),o=n(74),i=n(30),a=n(39);function s(e,t){return r(e)||o(e,t)||i(e,t)||
a()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var
r=n(68),o=n(37),i=n(30),a=n(69);function s(e){return r(e)||o(e)||i(e)||
a()}},function(e,t,n){"use strict";n.r(t);t.default=function(e){var
t=null;return(t=function()
{}).t=t.log=t.info=t.warn=t.error=t.debug=t,t}},function(e,t,n){"use
strict";n.r(t);var r=n(12);t.default=function(e){return new Promise((function(t,n)
{Object(r.default)(e,(function(e,r){e?n(e):t(r)}))}))}},function(e,t,n){"use
strict";n.r(t);var r=n(10),o=(Object(r.default)("webRequest"),!
1),i=n(27),a=function(e){e=e.split(/\r?\n/);var t={};return e.forEach((function(e)
{var n=e.indexOf(":");if(-1!==n){var
r=e.substr(0,n).trim().toLowerCase(),o=e.substr(n+1).trim();t[r]=o}})),t},s=functio
n(){var e=this,t=null,n=function(t,n)
{e.readyState=n.readyState,e.status=n.status,e.statusText=n.statusText,"string"==ty
peof
n.response&&(e.responseText=n.response),n.responseText&&(e.responseText=n.responseT
ext),n.finalUrl&&(e.responseURL=n.finalUrl),e._responseHeaders=n.responseHeaders,e.
onreadystatechange&&e.onreadystatechange(),e[t]&&e[t]()},r={headers:
{},responseType:"text",onload:n.bind(null,"onload"),onerror:n.bind(null,"onerror"),
onabort:n.bind(null,"onabort"),ontimeout:n.bind(null,"ontimeout")};this._responseHe
aders="",this.readyState=0,this.status=0,this.statusText="",this.responseText="",th
is.response="",this.responseType="",this.responseURL="",this.open=function(e,t)
{r.method=e,r.url=t},this.overrideMimeType=function(e)
{r.overrideMimeType=e},this.setRequestHeader=function(e,t)
{"cookie"===e.toLowerCase()&&""===t&&(r.anonymous=!
0),r.headers[e]=t},this.getResponseHeader=function(e){return this._responseHeaders?
(e=e.toLowerCase(),this.headers||
(this.headers=a(this._responseHeaders)),this.headers.hasOwnProperty(e)?
this.headers[e]:null):null},this.getAllResponseHeaders=function(){return
this._responseHeaders},this.abort=function(){t&&t.abort()},this.send=function(e)
{r.data=e,t="function"==typeof GM_xmlhttpRequest?
GM_xmlhttpRequest(r):GM.xmlHttpRequest(r)},this.onabort=null,this.onerror=null,this
.onload=null,this.onreadystatechange=null,this.ontimeout=null};t.default=function(e
,t){var n={},r=function(e,n)
{r=null,f.timeoutTimer&&clearTimeout(f.timeoutTimer);var
o=null;e&&(o=String(e.message||e)||"ERROR"),t&&t(o,u(n),n)},u=function(e){var
t={};t.statusCode=m.status,t.statusText=m.statusText;var
n=null,r=m.getAllResponseHeaders();return"string"==typeof r&&(n=a(r)),t.headers=n||
{},t.body=e,t.responseURL=m.responseURL,t};"object"!=typeof e&&(e={url:e});var
l=e.url,c=e.method||e.type||"GET";c=c.toUpperCase();var d=e.data;"string"!=typeof
d&&(d=i.stringify(d)),d&&"GET"===c&&(l+=(/\?/.test(l)?"&":"?")+d,d=void 0),!
1===e.cache&&-1!==["GET","HEAD"].indexOf(c)&&(l+=(/\?/.test(l)?"&":"?")
+"_="+Date.now()),e.headers=e.headers||{},d&&(e.headers["Content-
Type"]=e.contentType||e.headers["Content-Type"]||"application/x-www-form-
urlencoded; charset=UTF-8");var
f={};f.url=l,f.method=c,d&&(f.data=d),e.json&&(f.json=!0),e.xml&&(f.xml=!
0),e.timeout&&(f.timeout=e.timeout),e.mimeType&&(f.mimeType=e.mimeType),e.withCrede
ntials&&(f.withCredentials=!
0),Object.keys(e.headers).length&&(f.headers=e.headers),f.timeout>0&&(f.timeoutTime
r=setTimeout((function(){r&&r(new Error("ETIMEDOUT")),m.abort()}),f.timeout));var
p={0:200,1223:204},m=e.localXHR?new XMLHttpRequest:new s;m.open(f.method,f.url,!
0),f.mimeType&&m.overrideMimeType(f.mimeType),f.withCredentials&&(m.withCredentials
=!0);var h=[];for(var g in
f.headers)o&&o.isSpecialHeader(g)&&h.push({key:g,value:f.headers[g]}),m.setRequestH
eader(g,f.headers[g]);m.onload=function(){var e=p[m.status]||
m.status;try{if(e>=200&&e<300||304===e){var
t=m.responseText;if(f.json)t=JSON.parse(t);else if(f.xml)t=(new
DOMParser).parseFromString(t,"text/xml");else if("string"!=typeof t)throw
console.error("Response is not string!",t),new Error("Response is not
string!");return r&&r(null,t)}throw new Error(m.status+" "+m.statusText)}catch(e)
{return r&&r(e)}};var v=m.onerror=function(){r&&r(new Error(m.status+"
"+m.statusText))},b=null;void 0!==m.onabort?m.onabort=v:b=function()
{4===m.readyState&&r&&setTimeout((function(){return
v()}))},b&&(m.onreadystatechange=b);var y=function(){try{m.send(f.data||
null)}catch(e){setTimeout((function(){r&&r(e)}))}};if(o&&h.length)
{o.requestPermission((function(e){e&&function(){for(var e,t=0;e=h[t];t+
+)m.setRequestHeader(o.wrapHeaderKey(e.key,e.value),e.value)}(),r&&y()}))}else
y();return n.abort=function(){r=null,m.abort()},n}},function(e,t,n){"use
strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,
{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function()
{return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"useState",(function()
{return h})),n.d(t,"useReducer",(function(){return g})),n.d(t,"useEffect",
(function(){return v})),n.d(t,"useLayoutEffect",(function(){return
b})),n.d(t,"useRef",(function(){return y})),n.d(t,"useImperativeHandle",(function()
{return A})),n.d(t,"useMemo",(function(){return k})),n.d(t,"useCallback",
(function(){return w})),n.d(t,"useContext",(function(){return
x})),n.d(t,"useDebugValue",(function(){return _})),n.d(t,"useErrorBoundary",
(function(){return S})),n.d(t,"createElement",(function(){return
a.createElement})),n.d(t,"createContext",(function(){return
a.createContext})),n.d(t,"createRef",(function(){return
a.createRef})),n.d(t,"Fragment",(function(){return a.Fragment})),n.d(t,"Component",
(function(){return a.Component})),n.d(t,"version",(function(){return
ve})),n.d(t,"Children",(function(){return q})),n.d(t,"render",(function(){return
$})),n.d(t,"hydrate",(function(){return ee})),n.d(t,"unmountComponentAtNode",
(function(){return ke})),n.d(t,"createPortal",(function(){return
J})),n.d(t,"createFactory",(function(){return be})),n.d(t,"cloneElement",
(function(){return Ae})),n.d(t,"isValidElement",(function(){return
ye})),n.d(t,"findDOMNode",(function(){return we})),n.d(t,"PureComponent",
(function(){return T})),n.d(t,"memo",(function(){return D})),n.d(t,"forwardRef",
(function(){return B})),n.d(t,"unstable_batchedUpdates",(function(){return
xe})),n.d(t,"StrictMode",(function(){return _e})),n.d(t,"Suspense",(function()
{return U})),n.d(t,"SuspenseList",(function(){return W})),n.d(t,"lazy",(function()
{return H})),n.d(t,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",(function()
{return le})),n.d(t,"unstable_ImmediatePriority",(function(){return
ce})),n.d(t,"unstable_UserBlockingPriority",(function(){return
de})),n.d(t,"unstable_NormalPriority",(function(){return
fe})),n.d(t,"unstable_LowPriority",(function(){return
pe})),n.d(t,"unstable_IdlePriority",(function(){return
me})),n.d(t,"unstable_runWithPriority",(function(){return
he})),n.d(t,"unstable_now",(function(){return ge}));var
r,o,i,a=n(5),s=0,u=[],l=a.options.__b,c=a.options.__r,d=a.options.diffed,f=a.option
s.__c,p=a.options.unmount;function m(e,t){a.options.__h&&a.options.__h(o,e,s||
t),s=0;var n=o.__H||(o.__H={__:[],__h:[]});return
e>=n.__.length&&n.__.push({}),n.__[e]}function h(e){return s=1,g(E,e)}function
g(e,t,n){var i=m(r++,2);return i.t=e,i.__c||(i.__=[n?n(t):E(void 0,t),function(e)
{var t=i.t(i.__[0],e);i.__[0]!
==t&&(i.__=[t,i.__[1]],i.__c.setState({}))}],i.__c=o),i.__}function v(e,t){var
n=m(r++,3);!a.options.__s&&L(n.__H,t)&&(n.__=e,n.__H=t,o.__H.__h.push(n))}function
b(e,t){var n=m(r++,4);!
a.options.__s&&L(n.__H,t)&&(n.__=e,n.__H=t,o.__h.push(n))}function y(e){return
s=5,k((function(){return{current:e}}),[])}function A(e,t,n){s=6,b((function()
{"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))}function
k(e,t){var n=m(r++,7);return L(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function
w(e,t){return s=8,k((function(){return e}),t)}function x(e){var
t=o.context[e.__c],n=m(r++,9);return n.__c=e,t?(null==n.__&&(n.__=!
0,t.sub(o)),t.props.value):e.__}function _(e,t)
{a.options.useDebugValue&&a.options.useDebugValue(t?t(e):e)}function S(e){var
t=m(r++,10),n=h();return t.__=e,o.componentDidCatch||
(o.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void
0)}]}function C(){u.forEach((function(e)
{if(e.__P)try{e.__H.__h.forEach(O),e.__H.__h.forEach(M),e.__H.__h=[]}catch(t)
{e.__H.__h=[],a.options.__e(t,e.__v)}})),u=[]}a.options.__b=function(e)
{o=null,l&&l(e)},a.options.__r=function(e){c&&c(e),r=0;var
t=(o=e.__c).__H;t&&(t.__h.forEach(O),t.__h.forEach(M),t.__h=[])},a.options.diffed=f
unction(e){d&&d(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!
==u.push(t)&&i===a.options.requestAnimationFrame||
((i=a.options.requestAnimationFrame)||function(e){var t,n=function()
{clearTimeout(r),I&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);I&&(
t=requestAnimationFrame(n))})(C)),o=void 0},a.options.__c=function(e,t)
{t.some((function(e){try{e.__h.forEach(O),e.__h=e.__h.filter((function(e){return!
e.__||M(e)}))}catch(n){t.some((function(e)
{e.__h&&(e.__h=[])})),t=[],a.options.__e(n,e.__v)}})),f&&f(e,t)},a.options.unmount=
function(e){p&&p(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(O)}catch(e)
{a.options.__e(e,t.__v)}};var I="function"==typeof requestAnimationFrame;function
O(e){var t=o;"function"==typeof e.__c&&e.__c(),o=t}function M(e){var
t=o;e.__c=e.__(),o=t}function L(e,t){return!e||e.length!==t.length||
t.some((function(t,n){return t!==e[n]}))}function E(e,t){return"function"==typeof
t?t(e):t}function P(e,t){for(var n in t)e[n]=t[n];return e}function j(e,t){for(var
n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!
==r&&e[r]!==t[r])return!0;return!1}function T(e){this.props=e}function D(e,t)
{function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?
n(null):n.current=null),t?!t(this.props,e)||!r:j(this.props,e)}function r(t){return
this.shouldComponentUpdate=n,Object(a.createElement)(e,t)}return
r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!
0,r.__f=!0,r}(T.prototype=new a.Component).isPureReactComponent=!
0,T.prototype.shouldComponentUpdate=function(e,t){return j(this.props,e)||
j(this.state,t)};var N=a.options.__b;a.options.__b=function(e)
{e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),N&&N(e)};var
F="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||
3911;function B(e){function t(t,n){var r=P({},t);return delete r.ref,e(r,(n=t.ref||
n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$
$typeof=F,t.render=t,t.prototype.isReactComponent=t.__f=!
0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var R=function(e,t)
{return null==e?null:Object(a.toChildArray)(Object(a.toChildArray)
(e).map(t))},q={map:R,forEach:R,count:function(e){return e?Object(a.toChildArray)
(e).length:0},only:function(e){var t=Object(a.toChildArray)(e);if(1!
==t.length)throw"Children.only";return
t[0]},toArray:a.toChildArray},z=a.options.__e;function U()
{this.__u=0,this.t=null,this.__b=null}function V(e){var t=e.__.__c;return
t&&t.__e&&t.__e(e)}function H(e){var t,n,r;function o(o){if(t||
(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!
n)throw t;return Object(a.createElement)(n,o)}return o.displayName="Lazy",o.__f=!
0,o}function W(){this.u=null,this.o=null}a.options.__e=function(e,t,n)
{if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return
null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);z(e,t,n)},(U.prototype=new
a.Component).__c=function(e,t){var
n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=V(r.__v),i=!1,a=function(){i||
(i=!0,n.componentWillUnmount=n.__c,o?
o(s):s())};n.__c=n.componentWillUnmount,n.componentWillUnmount=function()
{a(),n.__c&&n.__c()};var s=function(){if(!--r.__u){if(r.state.__e){var
e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return
t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return
e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!
0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var
t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},u=!
0===t.__h;r.__u++||u||
r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},U.prototype.componentWillUnmount=
function(){this.t=[]},U.prototype.render=function(e,t){if(this.__b)
{if(this.__v.__k){var
n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function
e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e)
{"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!
=(t=P({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map(
(function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var
o=t.__e&&Object(a.createElement)(a.Fragment,null,e.fallback);return
o&&(o.__h=null),[Object(a.createElement)(a.Fragment,null,t.__e?
null:e.children),o]};var G=function(e,t,n){if(+
+n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!
e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()
();if(n[1]<n[0])break;e.u=n=n[2]}};function Q(e){return
this.getChildContext=function(){return e.context},e.children}function Y(e){var
t=this,n=e.i;t.componentWillUnmount=function(){Object(a.render)
(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||
(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e)
{this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n)
{this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e)
{this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),Obj
ect(a.render)(Object(a.createElement)(Q,
{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function J(e,t)
{return Object(a.createElement)(Y,{__v:e,i:t})}(W.prototype=new
a.Component).__e=function(e){var t=this,n=V(t.__v),r=t.o.get(e);return r[0]+
+,function(o){var i=function(){t.props.revealOrder?(r.push(o),G(t,e,r)):o()};n?
n(i):i()}},W.prototype.render=function(e){this.u=null,this.o=new Map;var
t=Object(a.toChildArray)
(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var
n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return
e.children},W.prototype.componentDidUpdate=W.prototype.componentDidMount=function()
{var e=this;this.o.forEach((function(t,n){G(e,n,t)}))};var K="undefined"!=typeof
Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Z=/^(?:accent|alignment|
arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!
H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|
v|vector|vert|word|writing|x(?!C))[A-Z]/,X=function(e){return("undefined"!=typeof
Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function $
(e,t,n){return null==t.__k&&(t.textContent=""),Object(a.render)
(e,t),"function"==typeof n&&n(),e?e.__c:null}function ee(e,t,n){return
Object(a.hydrate)(e,t),"function"==typeof n&&n(),e?
e.__c:null}a.Component.prototype.isReactComponent={},
["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((f
unction(e){Object.defineProperty(a.Component.prototype,e,{configurable:!
0,get:function(){return this["UNSAFE_"+e]},set:function(t)
{Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var
te=a.options.event;function ne(){}function re(){return this.cancelBubble}function
oe(){return this.defaultPrevented}a.options.event=function(e){return
te&&(e=te(e)),e.persist=ne,e.isPropagationStopped=re,e.isDefaultPrevented=oe,e.nati
veEvent=e};var ie,ae={configurable:!0,get:function(){return
this.class}},se=a.options.vnode;a.options.vnode=function(e){var
t=e.type,n=e.props,r=n;if("string"==typeof t){for(var o in r={},n){var
i=n[o];"value"===o&&"defaultValue"in n&&null==i||("defaultValue"===o&&"value"in
n&&null==n.value?o="value":"download"===o&&!0===i?i="":/ondoubleclick/i.test(o)?
o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!X(n.type)?o="oninput":/
^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():Z.test(o)?o=o.replace(/[A-Z0-
9]/,"-$&").toLowerCase():null===i&&(i=void
0),r[o]=i)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=Object(a.toChi
ldArray)(n.children).forEach((function(e){e.props.selected=-1!
=r.value.indexOf(e.props.value)}))),"select"==t&&null!
=r.defaultValue&&(r.value=Object(a.toChildArray)(n.children).forEach((function(e)
{e.props.selected=r.multiple?-1!
=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r}
t&&n.class!=n.className&&(ae.enumerable="className"in n,null!
=n.className&&(r.class=n.className),Object.defineProperty(r,"className",ae)),e.$
$typeof=K,se&&se(e)};var ue=a.options.__r;a.options.__r=function(e)
{ue&&ue(e),ie=e.__c};var le={ReactCurrentDispatcher:{current:
{readContext:function(e){return
ie.__n[e.__c].props.value}}}},ce=1,de=2,fe=3,pe=4,me=5;function he(e,t){return
t()}var ge="object"==typeof performance&&"function"==typeof performance.now?
performance.now.bind(performance):function(){return
Date.now()},ve="16.8.0";function be(e){return a.createElement.bind(null,e)}function
ye(e){return!!e&&e.$$typeof===K}function Ae(e){return ye(e)?
a.cloneElement.apply(null,arguments):e}function
ke(e){return!!e.__k&&(Object(a.render)(null,e),!0)}function we(e){return
e&&(e.base||1===e.nodeType&&e)||null}var xe=function(e,t){return
e(t)},_e=a.Fragment;t.default={useState:h,useReducer:g,useEffect:v,useLayoutEffect:
b,useRef:y,useImperativeHandle:A,useMemo:k,useCallback:w,useContext:x,useDebugValue
:_,version:"16.8.0",Children:q,render:
$,hydrate:ee,unmountComponentAtNode:ke,createPortal:J,createElement:a.createElement
,createContext:a.createContext,createFactory:be,cloneElement:Ae,createRef:a.createR
ef,Fragment:a.Fragment,isValidElement:ye,findDOMNode:we,Component:a.Component,PureC
omponent:T,memo:D,forwardRef:B,unstable_batchedUpdates:xe,StrictMode:a.Fragment,Sus
pense:U,SuspenseList:W,lazy:H,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:le
}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var
r=n(47),o=n(31),i=n(75),a=n(76);function s(e){var t="function"==typeof Map?new
Map:void 0;return(s=function(e){if(null===e||!i(e))return e;if("function"!=typeof
e)throw new TypeError("Super expression must either be null or a function");if(void
0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return
a(e,arguments,r(this).constructor)}return n.prototype=Object.create(e.prototype,
{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o(n,e)})
(e)}},function(e,t,n){"use strict";function r(e,t){for(var n,r=[];null!
==(n=t.exec(e));)n.index===t.lastIndex&&t.lastIndex++,r.push(n);return
r}n.r(t),n.d(t,"matchAll",(function(){return r}))},function(e,t,n){"use
strict";n.r(t);t.default=function(e){return new Promise((function(t){return
t(e())}))}},function(e,t,n){"use strict";n.r(t);t.default=function(e){var
t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];t&&!
Array.isArray(t)&&(t=[t]);for(var
n,r=[],o={"{":0,"[":0},i={"}":"{","]":"["},a=/[{}\]\[":0-9.,-]/,s=/[\r\n\s\
t]/,u="",l=0;n=e[l];l++)if('"'!==n)a.test(n)?(u+=n,"{"===n||"["===n?(o["{"]||
o["["]||(u=n),o[n]++):"}"!==n&&"]"!==n||(o[i[n]]--,o["{"]||o["["]||
r.push(u))):"t"===n&&"true"===e.substr(l,4)?
(u+="true",l+=3):"f"===n&&"false"===e.substr(l,5)?
(u+="false",l+=4):"n"===n&&"null"===e.substr(l,4)?(u+="null",l+=3):s.test(n)||
(o["{"]=0,o["["]=0,u="");else{for(var c=l;-1!==c&&(c===l||"\\"===e[c-
1]);)c=e.indexOf('"',c+1);-1===c&&(c=e.length-1),u+=e.substr(l,c-l+1),l=c,o["{"]||
o["["]||r.push(u)}for(var d=[],f=function(e,n){var
o=r[n];if("{}"===o||"[]"===o)return"continue";try{t.every((function(e){return
e.test(o)}))&&d.push(JSON.parse(o))}catch(e){}},p=0,m=r.length;p<m;p+
+)f(m,p);return d}},function(e,t,n){"use strict";n.r(t);var
r=n(22),o={create:function(e,t){var n,r;for(var o in n="object"!=typeof e?
document.createElement(e):e,t){var a=t[o];(r=i[o])?r(n,a):n[o]=a}return
n}},i={text:function(e,t){e.textContent=t},data:function(e,t){for(var n in
t)e.dataset[n]=t[n]},class:function(e,t){if(Array.isArray(t))for(var
n=0,r=t.length;n<r;n++)e.classList.add(t[n]);else
e.setAttribute("class",t)},style:function(e,t){if("object"==typeof t)for(var n in
t){var r=n;"float"===r&&(r="cssFloat");var o=t[n];if(Array.isArray(o))for(var
i=0,a=o.length;i<a;i++)e.style[r]=o[i];else e.style[r]=o}else
e.setAttribute("style",t)},append:function(e,t){Array.isArray(t)||(t=[t]);for(var
n=0,r=t.length;n<r;n++){var o=t[n];(o||0===o)&&("object"!=typeof
o&&(o=document.createTextNode(o)),e.appendChild(o))}},on:function(e,t){"object"!
=typeof t[0]&&(t=[t]);for(var n=0,o=t.length;n<o;n++){var
i=t[n];Array.isArray(i)&&r.default.on.apply(r.default,
[e].concat(i))}},one:function(e,t){"object"!=typeof t[0]&&(t=[t]);for(var
n=0,o=t.length;n<o;n++){var i=t[n];Array.isArray(i)&&r.default.one.apply(r.default,
[e].concat(i))}},onCreate:function(e,t){t.call(e,e)},attr:function(e,t){var
n,r;for(n in t)r=t[n],e.setAttribute(n,r)}};t.default=o},function(t,n,r){"use
strict";r.r(n),r.d(n,"DOWNLOADING_EVENT",(function(){return
l})),r.d(n,"DOWNLOADED_EVENT",(function(){return c})),r.d(n,"ERROR_EVENT",
(function(){return d})),r.d(n,"BaseBehavior",(function(){return f}));var
o=r(4),i=r(1),a=r(2),s=r(0),u=r.n(s),l="downloading",c="downloaded",d="error",f=fun
ction(){function t(){Object(i.a)(this,t)}return Object(a.a)(t,
[{key:"getUniqID",value:function(){return this.id||
(this.id=Math.round(100*Math.random())),this.id}},{key:"_emit",value:function(e,t)
{var n=new CustomEvent("download-stream-".concat(e,".").concat(this.getUniqID()),
{detail:t});document.dispatchEvent(n)}},{key:"on",value:function(e,t)
{document.addEventListener("download-
stream-".concat(e,".").concat(this.getUniqID()),t)}},
{key:"request",value:function(t){var n=this,r=arguments.length>1&&void 0!
==arguments[1]?arguments[1]:0;return new Promise((function(e,n){return
fetch(t).then((function(e){return e.ok||n("Fetch chunk
error"),e})).then((function(t){return e(t.arrayBuffer())}))})).catch(function(){var
i=Object(o.a)(u.a.mark((function o(i){return u.a.wrap((function(o)
{for(;;)switch(o.prev=o.next){case 0:if(!(r>=5)){o.next=2;break}throw e;case
2:return o.next=4,new Promise((function(e){return setTimeout(e,5e3)}));case
4:return r++,o.abrupt("return",n.request(t,r));case 6:case"end":return
o.stop()}}),o)})));return function(e){return i.apply(this,arguments)}}())}}]),t}
()},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return
e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t);var
r={on:function(e,t,n,r){e.addEventListener(t,n,r)},off:function(e,t,n,r)
{e.removeEventListener(t,n,r)},one:function(e,t,n,o){var i=["oneFn",t,!!
o].join("_"),a=n[i];a||(n[i]=a=function(e)
{r.off(this,t,a,o),n.apply(this,arguments)}),r.on(e,t,a,o),e=null}},o="sf-
removed-"+Math.floor(1e6*Math.random()),i="sf-notify-on-
remove-"+Math.floor(1e6*Math.random());r.onRemoveEventName=o,r.onRemoveClassName=i,
r.onRemoveListener=function(e){r.trigger(e,o,{cancelable:!0,bubbles:!
1})},r.onRemoveEvent=function(e,t)
{e.classList.add(i),e.addEventListener(o,t)},r.offRemoveEvent=function(e,t)
{e.removeEventListener(r.onRemoveEventName,t)},r.trigger=function(e,t,n){void
0===n&&(n={}),void 0===n.bubbles&&(n.bubbles=!1),void
0===n.cancelable&&(n.cancelable=!1);var r=null;r="function"==typeof MouseEvent&&-1!
==["click"].indexOf(t)?new MouseEvent(t,n):new
CustomEvent(t,n),e.dispatchEvent(r)},t.default=r},function(e,t,n){"use
strict";n.r(t);t.default=function(e,t){t&&!Array.isArray(t)&&(t=[t]);var
n=[];return e.replace(/<script(?:\s*|\s[^>]+[^\/])>/g,(function(r,o)
{o+=r.length;var i=e.indexOf("<\/script>",o);if(-1!==i){var a=e.substr(o,i-o);t?
t.every((function(e){return
e.test(a)}))&&n.push(a):n.push(a)}})),n}},function(e,t,n){"use
strict";n.r(t);t.default=function(e){var t=function(e){for(var t=e[0],n=0;;){if(-
1===(n=e.indexOf(t,n+1))){n=e.length;break}if("\\"!==e[n-1])break}var
r="";try{r='"'===t?JSON.parse('"'+e.substr(1,n-1)+'"'):JSON.parse('"'+e.substr(1,n-
1).replace(/\\'/g,"'").replace(/"/g,'\\"')+'"')}catch(e)
{}return{data:r,i:n}},n={"[":function(e){var t,r,o,i,a,s=[],u="";for(i=1;o=e[i];i+
+)if(r=n[o])t=r(e.substr(i)),u=JSON.stringify(t.data),i+=t.i;else{if("]"===o)break;
","===o?(u&&s.push(u),u=""):u+=o}u&&s.push(u);try{a=JSON.parse("["+s.join(",")
+"]")}catch(e){}return{data:a||[],i:i}},"{":function(e){var
t,r,o,i,a,s=[],u=["",""],l=0;for(i=1;o=e[i];i+
+)if(r=n[o])t=r(e.substr(i)),u[l]=0===l?
t.data:JSON.stringify(t.data),i+=t.i;else{if("}"===o)break;":"===o?l=1:","===o?
(s.push(JSON.stringify(u[0])+":"+u[1]),u=["",""],l=0):u[l]=(u[l]
+o).trim()}u[1]&&s.push(JSON.stringify(u[0])
+":"+u[1]);try{a=JSON.parse("{"+s.join(",")+"}")}catch(e){}return{data:a||
{},i:i}},'"':t,"'":t};return{some:function(t){return function(e,t){for(var
r,o,i=0;o=e[i];i++)if(("["===o||"{"===o)&&(i+=(r=n[o]
(e.substr(i))).i,t(r.data)))return!0}(e,t)}}}},function(e,t,n){"use
strict";n.r(t);t.default=function(){return"undefined"!=typeof MutationObserver?
MutationObserver:"undefined"!=typeof WebKitMutationObserver?
WebKitMutationObserver:"undefined"!=typeof MozMutationObserver?
MozMutationObserver:n(80).default}},function(e,t,n){"use strict";n.r(t);var
r=n(1),o=n(6),i=n(7),a=n(3),s=n(15);function u(e){var t=function()
{if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(a.a)
(e);if(t){var o=Object(a.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(i.a)(this,n)}}var l=function(e){Object(o.a)
(n,e);var t=u(n);function n(e,o){var i;return Object(r.a)(this,n),
(i=t.call(this,e)).code=o,i}return n}(Object(s.a)
(Error));t.default=l},function(e,t,n){"use
strict";t.decode=t.parse=n(83),t.encode=t.stringify=n(84)},function(e,t,n){"use
strict";n.r(t);var r=n(32),o={maxLength:80,rtrim:/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+
$/g,illegalRe:/[\/?<>\\:*|"~\u202B]/g,controlRe:/[\x00-\x1f\x80-\x9f]/
g,zeroWidthJoinerRe:/\u200D/g,reservedRe:/^\.+/,trim:function(e){return
e.replace(this.rtrim,"")},partsRe:/^(.+)\.([a-z0-9]{1,4})$/i,getParts:function(e)
{return
e.match(this.partsRe)},specialChars:"nbsp,iexcl,cent,pound,curren,yen,brvbar,sect,u
ml,copy,ordf,laquo,not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,ce
dil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,Agrave,Aacute,Acirc,Atilde,Auml,Ari
ng,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,u
acute,ucirc,uuml,yacute,thorn,yuml".split(","),specialCharsList:
[["amp","quot","lt","gt"],[38,34,60,62]],specialCharsRe:/&([^;]{2,6});/
g,decodeSpecialChars:function(e){var t=this;return e.replace(this.specialCharsRe,
(function(e,n){var r=null;if("#"===n[0])return
r=parseInt(n.substr(1)),isNaN(r)?"":String.fromCharCode(r);var
o=t.specialCharsList[0].indexOf(n);return-1!==o?(r=t.specialCharsList[1]
[o],String.fromCharCode(r)):-1!==(o=t.specialChars.indexOf(n))?
(r=o+160,String.fromCharCode(r)):""}))},decodeHexChars:function(e){return
e.replace(/(\\x[a-zA-Z0-9]{2})/g,(function(e,t){var
n=t;try{n=String.fromCharCode(parseInt("0x"+n.substr(2),16))}catch(e){}return
n}))},rnRe:/\r?\n/g,re1:/[*?"]/g,re2:/</g,re3:/>/g,spaceRe:/[\s\t\uFEFF\xA0]+/
g,dblRe:/(\.|!|\?|_|,|-|:|\+){2,}/g,re4:/[.,:;\/\-_+=']$/g,modify:function(e){if(!
e)return"";e=Object(r.default)(e);try{e=decodeURIComponent(e)}catch(t)
{e=unescape(e)}if(e=(e=this.decodeSpecialChars(e)).replace(this.rnRe," "),
(e=(e=this.trim(e)).replace(this.zeroWidthJoinerRe,"").replace(this.re1,"").replace
(this.re2,"(").replace(this.re2,"(").replace(this.re3,")").replace(this.spaceRe,"
").replace(this.dblRe,"$1").replace(this.illegalRe,"_").replace(this.controlRe,"").
replace(this.reservedRe,"").replace(this.re4,"")).length>this.maxLength){var
t=this.getParts(e);t&&3==t.length&&(t[1]=t[1].substr(0,this.maxLength),e=t[1]+"."+t
[2])}return this.trim(e)}};t.default=o},function(e,t,n){"use
strict";n.r(t);t.default=function(e,t){var n=null;n=!(t=t||
{}).params&&/\?/.test(e)?e.match(/[^?]*\?(.*)/)[1]:e;for(var
r=t.sep||"&",o=n.split(r),i={},a=0,s=o.length;a<s;a++){var
u=o[a].split("="),l=u[0],c=u[1]||"";if(t.noDecode)i[l]=c;else{try{l=decodeURICompon
ent(l)}catch(e){l=unescape(l)}try{i[l]=decodeURIComponent(c)}catch(e)
{i[l]=unescape(c)}}}return i}},function(e,t,n){var r=n(58);e.exports=function(e,t)
{if(e){if("string"==typeof e)return r(e,t);var
n=Object.prototype.toString.call(e).slice(8,-
1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?
Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?
r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t)
{function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return
e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!
0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!
0},function(e,t,n){"use strict";n.r(t);var
r=/\\(\\u[0-9a-f]{4})/g;t.default=function(e){try{return
JSON.parse(JSON.stringify(e).replace(r,"$1"))}catch(t){return e}}},function(e,t,n)
{"use strict";n.r(t);t.default=function(e,t){var n=(new
DOMParser).parseFromString("<html><body>"+e+"</body></html>","text/html");if(t){var
r=n.head.querySelector("base");r||
((r=n.createElement("base")).href=t,n.head.appendChild(r))}return
n}},function(e,t,n){"use strict";n.r(t);var r=function(e,t){var
n=document.createElement("div");return r="function"==typeof n.matches?function(e,t)
{return e.matches(t)}:"function"==typeof n.matchesSelector?function(e,t){return
e.matchesSelector(t)}:"function"==typeof n.webkitMatchesSelector?function(e,t)
{return e.webkitMatchesSelector(t)}:"function"==typeof n.mozMatchesSelector?
function(e,t){return e.mozMatchesSelector(t)}:"function"==typeof
n.oMatchesSelector?function(e,t){return e.oMatchesSelector(t)}:"function"==typeof
n.msMatchesSelector?function(e,t){return e.msMatchesSelector(t)}:function(e,t)
{return!1},n=null,r(e,t)};t.default=function(e,t){return r(e,t)}},function(e,t,n)
{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var
e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof
r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var
a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var s in
r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?
(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||
(e.exports=r)}()},function(e,t,n){"use strict";n.r(t);var
r=n(8),o=n(1),i=n(2),a=n(17),s=function(){function e(t,n){var i=this;Object(o.a)
(this,e),this.finishQueue=function(){if(i.activeCount--,i.queue.length>0){var
e=i.queue.shift(),t=Object(r.a)
(e,2),n=t[0],o=t[1];i.runQueue(n,o)}},this.limit=t,this.maxQueue=n,this.queue=[],th
is.activeCount=0}return Object(i.a)(e,[{key:"add",value:function(e){var
t=null,n=new Promise((function(e)
{t=e}));if(this.activeCount<this.limit)this.runQueue(e,t);else{var
r=[e,t],o=this.queue.push(r);this.maxQueue&&o>this.maxQueue&&this.queue.splice(0,o-
this.maxQueue)}return n}},{key:"runQueue",value:function(e,t){this.activeCount+
+;var n=Object(a.default)(e);t(n),n.then(this.finishQueue,this.finishQueue)}}]),e}
();t.default=function(e,t){var n=new s(e,t);return function(e){return
n.add(e)}}},function(e,t){e.exports=function(e){if("undefined"!=typeof
Symbol&&Symbol.iterator in Object(e))return
Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t)
{e.exports=function(e){if(Array.isArray(e))return
e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t)
{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-
iterable instance.\nIn order to be iterable, non-array objects must have a
[Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!
0},function(e,t,n){"use strict";n.r(t);var r=null;t.default=function(e,t){if(!r)
{var n=document.createElement("div");"function"==typeof n.matches?r=function(e,t)
{return e.matches(t)}:"function"==typeof n.matchesSelector?r=function(e,t){return
e.matchesSelector(t)}:"function"==typeof n.webkitMatchesSelector?r=function(e,t)
{return e.webkitMatchesSelector(t)}:"function"==typeof
n.mozMatchesSelector&&(r=function(e,t){return
e.mozMatchesSelector(t)}),n=null}return r(e,t)}},function(e,t,n){"use
strict";n.r(t),n.d(t,"HlsFile",(function(){return h}));var
r=n(4),o=n(6),i=(n(7),n(3),n(15)),a=n(1),s=n(2),u=n(0),l=n.n(u),c=n(11),d=n(16);fun
ction f(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator])
{if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return
p(e,t);var n=Object.prototype.toString.call(e).slice(8,-
1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)retu
rn Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?
Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var
r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!
1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt
to iterate non-iterable instance.\nIn order to be iterable, non-array objects must
have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function()
{n=e[Symbol.iterator]()},n:function(){var e=n.next();return
a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||
n.return()}finally{if(s)throw i}}}}function p(e,t){(null==t||
t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return
r}function m(e,t){m=function(e,t){return new s(e,void 0,t)};var n=Object(i.a)
(RegExp),r=RegExp.prototype,a=new WeakMap;function s(e,t,r){var
o=n.call(this,e,t);return a.set(o,r||a.get(e)),o}function u(e,t){var
n=a.get(t);return Object.keys(n).reduce((function(t,r){return
t[r]=e[n[r]],t}),Object.create(null))}return Object(o.a)
(s,n),s.prototype.exec=function(e){var t=r.exec.call(this,e);return
t&&(t.groups=u(t,this)),t},s.prototype[Symbol.replace]=function(e,t)
{if("string"==typeof t){var n=a.get(this);return
r[Symbol.replace].call(this,e,t.replace(/\$<([^>]+)>/g,(function(e,t)
{return"$"+n[t]})))}if("function"==typeof t){var o=this;return
r[Symbol.replace].call(this,e,(function(){var e=[];return
e.push.apply(e,arguments),"object"!=typeof e[e.length-
1]&&e.push(u(e,o)),t.apply(this,e)}))}return
r[Symbol.replace].call(this,e,t)},m.apply(this,arguments)}var h=function(){function
e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Object(a.a)
(this,e),this.master=void 0,this.secretKeyEndpoint=void 0,this.isAES_128=!
1,this.master=t,n&&(this.masterEndpoint=n);var r=this.master.match(/AES-
128,URI="(.*?)"/);r&&(this.isAES_128=!0,this.secretKeyEndpoint=r[1]);var
o=Object(d.matchAll)(t,m(/#EXTINF:[\s\S]*?,[\s\S]*?$\n([\s\S]*?)$/gm,
{url:1}));this.urls=[];var i,s=f(o);try{for(s.s();!(i=s.n()).done;){var
u=i.value;u.groups&&u.groups.url?
this.urls.push(u.groups.url):u[1]&&this.urls.push(u[1])}}catch(e)
{s.e(e)}finally{s.f()}}var t;return Object(s.a)(e,[{key:"isAES128",value:function()
{return this.isAES_128}},{key:"fetchSecretKey",value:function(){return
fetch(this.secretKeyEndpoint).then((function(e){return e.arrayBuffer()}))}},
{key:"mapUrls",value:function(e){this.urls=this.urls.map(e)}},
{key:"getUrlSegments",value:function(){if(-1===this.urls[0].indexOf("https://"))
{var e=this.masterEndpoint.split("/").slice(0,-1).join("/");return
this.urls.map((function(t){return t.replace(/^(.*?)\.ts$/gm,e+"/$1.ts")}))}return
this.urls}},{key:"getChunkUrls",value:function(){return this.urls}},
{key:"toString",value:function(){var
e="";if(!/^https?:/.test(this.master)&&this.masterEndpoint){var
t=this.masterEndpoint.split("/").slice(0,-1).join("/");e=this.master.replace(/
^(.*?)\.ts$/gm,t+"/$1.ts")}return e}},{key:"toBlob",value:function(){return new
Blob([this.toString()],{type:"application/vnd.apple.mpegurl"})}}],
[{key:"createFromURL",value:(t=Object(r.a)(l.a.mark((function t(n){var r;return
l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return
t.next=2,Object(c.default)(n);case 2:return r=t.sent,t.abrupt("return",new
e(r.body,n));case 4:case"end":return t.stop()}}),t)}))),function(e){return
t.apply(this,arguments)})}]),e}()},function(e,t,n){"use strict";n.d(t,"a",
(function(){return o}));var r=n(73);function o(e,t){if(null==e)return{};var
n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var
a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||
Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return
i}},function(e,t,n){"use strict";n.r(t),n.d(t,"streamSaver",(function(){return
Wn}));var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?
Symbol:function(e){return"Symbol("+e+")"};function
o(){}var i="undefined"!=typeof self?self:"undefined"!=typeof window?
window:"undefined"!=typeof global?global:void 0;function a(e)
{return"object"==typeof e&&null!==e||"function"==typeof e}var
s=o,u=Promise,l=Promise.prototype.then,c=Promise.resolve.bind(u),d=Promise.reject.b
ind(u);function f(e){return new u(e)}function p(e){return c(e)}function m(e){return
d(e)}function h(e,t,n){return l.call(e,t,n)}function g(e,t,n){h(h(e,t,n),void
0,s)}function v(e,t){g(e,t)}function b(e,t){g(e,void 0,t)}function y(e,t,n){return
h(e,t,n)}function A(e){h(e,void 0,s)}var k=function(){var
e=i&&i.queueMicrotask;if("function"==typeof e)return e;var t=p(void 0);return
function(e){return h(t,e)}}();function w(e,t,n){if("function"!=typeof e)throw new
TypeError("Argument is not a function");return
Function.prototype.apply.call(e,t,n)}function x(e,t,n){try{return
p(w(e,t,n))}catch(e){return m(e)}}var _=function(){function e()
{this._cursor=0,this._size=0,this._front={_elements:[],_next:void
0},this._back=this._front,this._cursor=0,this._size=0}return
Object.defineProperty(e.prototype,"length",{get:function(){return
this._size},enumerable:!1,configurable:!0}),e.prototype.push=function(e){var
t=this._back,n=t;16383===t._elements.length&&(n={_elements:[],_next:void
0}),t._elements.push(e),n!==t&&(this._back=n,t._next=n),+
+this._size},e.prototype.shift=function(){var
e=this._front,t=e,n=this._cursor,r=n+1,o=e._elements,i=o[n];return
16384===r&&(t=e._next,r=0),--this._size,this._cursor=r,e!
==t&&(this._front=t),o[n]=void 0,i},e.prototype.forEach=function(e){for(var
t=this._cursor,n=this._front,r=n._elements;!(t===r.length&&void 0===n._next||
t===r.length&&(t=0,0===(r=(n=n._next)._elements).length));)e(r[t]),+
+t},e.prototype.peek=function(){var e=this._front,t=this._cursor;return
e._elements[t]},e}();function S(e,t)
{e._ownerReadableStream=t,t._reader=e,"readable"===t._state?
M(e):"closed"===t._state?function(e){M(e),P(e)}(e):L(e,t._storedError)}function
C(e,t){return fn(e._ownerReadableStream,t)}function I(e)
{"readable"===e._ownerReadableStream._state?E(e,new TypeError("Reader was released
and can no longer be used to monitor the stream's closedness")):function(e,t)
{L(e,t)}(e,new TypeError("Reader was released and can no longer be used to monitor
the stream's closedness")),e._ownerReadableStream._reader=void
0,e._ownerReadableStream=void 0}function O(e){return new TypeError("Cannot "+e+" a
stream using a released reader")}function M(e){e._closedPromise=f((function(t,n)
{e._closedPromise_resolve=t,e._closedPromise_reject=n}))}function L(e,t)
{M(e),E(e,t)}function E(e,t){void 0!
==e._closedPromise_reject&&(A(e._closedPromise),e._closedPromise_reject(t),e._close
dPromise_resolve=void 0,e._closedPromise_reject=void 0)}function P(e){void 0!
==e._closedPromise_resolve&&(e._closedPromise_resolve(void
0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}var
j=r("[[AbortSteps]]"),T=r("[[ErrorSteps]]"),D=r("[[CancelSteps]]"),N=r("[[PullSteps
]]"),F=Number.isFinite||function(e){return"number"==typeof
e&&isFinite(e)},B=Math.trunc||function(e){return e<0?
Math.ceil(e):Math.floor(e)};function R(e,t){if(void 0!==e&&("object"!
=typeof(n=e)&&"function"!=typeof n))throw new TypeError(t+" is not an object.");var
n}function q(e,t){if("function"!=typeof e)throw new TypeError(t+" is not a
function.")}function z(e,t){if(!function(e){return"object"==typeof e&&null!
==e||"function"==typeof e}(e))throw new TypeError(t+" is not an object.")}function
U(e,t,n){if(void 0===e)throw new TypeError("Parameter "+t+" is required in
'"+n+"'.")}function V(e,t,n){if(void 0===e)throw new TypeError(t+" is required in
'"+n+"'.")}function H(e){return Number(e)}function W(e){return 0===e?0:e}function
G(e,t){var n=Number.MAX_SAFE_INTEGER,r=Number(e);if(r=W(r),!F(r))throw new
TypeError(t+" is not a finite number");if((r=function(e){return W(B(e))}(r))<0||
r>n)throw new TypeError(t+" is outside the accepted range of 0 to "+n+",
inclusive");return F(r)&&0!==r?r:0}function Q(e,t){if(!cn(e))throw new
TypeError(t+" is not a ReadableStream.")}function Y(e){return new te(e)}function
J(e,t){e._reader._readRequests.push(t)}function K(e,t,n){var
r=e._reader._readRequests.shift();n?r._closeSteps():r._chunkSteps(t)}function Z(e)
{return e._reader._readRequests.length}function X(e){var t=e._reader;return void 0!
==t&&!!ne(t)}var $,ee,te=function(){function e(e)
{if(U(e,1,"ReadableStreamDefaultReader"),Q(e,"First parameter"),dn(e))throw new
TypeError("This stream has already been locked for exclusive reading by another
reader");S(this,e),this._readRequests=new _}return
Object.defineProperty(e.prototype,"closed",{get:function(){return ne(this)?
this._closedPromise:m(oe("closed"))},enumerable:!1,configurable:!
0}),e.prototype.cancel=function(e){return void 0===e&&(e=void 0),ne(this)?void
0===this._ownerReadableStream?
m(O("cancel")):C(this,e):m(oe("cancel"))},e.prototype.read=function(){if(!
ne(this))return m(oe("read"));if(void 0===this._ownerReadableStream)return
m(O("read from"));var e,t,n=f((function(n,r){e=n,t=r}));return re(this,
{_chunkSteps:function(t){return e({value:t,done:!1})},_closeSteps:function(){return
e({value:void 0,done:!0})},_errorSteps:function(e){return
t(e)}}),n},e.prototype.releaseLock=function(){if(!ne(this))throw
oe("releaseLock");if(void 0!==this._ownerReadableStream)
{if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock
when that reader has pending read() calls un-settled");I(this)}},e}();function
ne(e){return!!a(e)&&!!
Object.prototype.hasOwnProperty.call(e,"_readRequests")}function re(e,t){var
n=e._ownerReadableStream;n._disturbed=!0,"closed"===n._state?
t._closeSteps():"errored"===n._state?
t._errorSteps(n._storedError):n._readableStreamController[N](t)}function oe(e)
{return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used
on a ReadableStreamDefaultReader")}Object.defineProperties(te.prototype,{cancel:
{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:
{enumerable:!0}}),"symbol"==typeof
r.toStringTag&&Object.defineProperty(te.prototype,r.toStringTag,
{value:"ReadableStreamDefaultReader",configurable:!0}),"symbol"==typeof
r.asyncIterator&&(($={})[r.asyncIterator]=function(){return
this},ee=$,Object.defineProperty(ee,r.asyncIterator,{enumerable:!1}));var
ie=function(){function e(e,t){this._ongoingPromise=void 0,this._isFinished=!
1,this._reader=e,this._preventCancel=t}return e.prototype.next=function(){var
e=this,t=function(){return e._nextSteps()};return
this._ongoingPromise=this._ongoingPromise?
y(this._ongoingPromise,t,t):t(),this._ongoingPromise},e.prototype.return=function(e
){var t=this,n=function(){return t._returnSteps(e)};return this._ongoingPromise?
y(this._ongoingPromise,n,n):n()},e.prototype._nextSteps=function(){var
e=this;if(this._isFinished)return Promise.resolve({value:void 0,done:!0});var
t,n,r=this._reader;if(void 0===r._ownerReadableStream)return m(O("iterate"));var
o=f((function(e,r){t=e,n=r}));return re(r,{_chunkSteps:function(n)
{e._ongoingPromise=void 0,k((function(){return t({value:n,done:!
1})}))},_closeSteps:function(){e._ongoingPromise=void 0,e._isFinished=!
0,I(r),t({value:void 0,done:!0})},_errorSteps:function(t){e._ongoingPromise=void
0,e._isFinished=!0,I(r),n(t)}}),o},e.prototype._returnSteps=function(e)
{if(this._isFinished)return Promise.resolve({value:e,done:!0});this._isFinished=!
0;var t=this._reader;if(void 0===t._ownerReadableStream)return m(O("finish
iterating"));if(!this._preventCancel){var n=C(t,e);return I(t),y(n,(function()
{return{value:e,done:!0}}))}return I(t),p({value:e,done:!0})},e}
(),ae={next:function(){return se(this)?
this._asyncIteratorImpl.next():m(ue("next"))},return:function(e){return se(this)?
this._asyncIteratorImpl.return(e):m(ue("return"))}};function se(e){return!!a(e)&&!!
Object.prototype.hasOwnProperty.call(e,"_asyncIteratorImpl")}function ue(e){return
new TypeError("ReadableStreamAsyncIterator."+e+" can only be used on a
ReadableSteamAsyncIterator")}void 0!==ee&&Object.setPrototypeOf(ae,ee);var
le=Number.isNaN||function(e){return e!=e};function ce(e){return!!function(e)
{if("number"!=typeof e)return!1;if(le(e))return!1;if(e<0)return!1;return!0}(e)&&e!
==1/0}function de(e){var t=e._queue.shift();return e._queueTotalSize-
=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function fe(e,t,n){if(!
ce(n=Number(n)))throw new RangeError("Size must be a finite, non-NaN, non-negative
number.");e._queue.push({value:t,size:n}),e._queueTotalSize+=n}function pe(e)
{e._queue=new _,e._queueTotalSize=0}function me(e){return e.slice()}var
he=function(){function e(){throw new TypeError("Illegal constructor")}return
Object.defineProperty(e.prototype,"view",{get:function(){if(!be(this))throw
Te("view");return this._view},enumerable:!1,configurable:!
0}),e.prototype.respond=function(e){if(!be(this))throw
Te("respond");if(U(e,1,"respond"),e=G(e,"First parameter"),void
0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB
request has been invalidated");this._view.buffer,function(e,t){if(!
ce(t=Number(t)))throw new RangeError("bytesWritten must be a finite");Oe(e,t)}
(this._associatedReadableByteStreamController,e)},e.prototype.respondWithNewView=fu
nction(e){if(!be(this))throw
Te("respondWithNewView");if(U(e,1,"respondWithNewView"),!
ArrayBuffer.isView(e))throw new TypeError("You can only respond with array buffer
views");if(0===e.byteLength)throw new TypeError("chunk must have non-zero
byteLength");if(0===e.buffer.byteLength)throw new TypeError("chunk's buffer must
have non-zero byteLength");if(void
0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB
request has been invalidated");!function(e,t){var
n=e._pendingPullIntos.peek();if(n.byteOffset+n.bytesFilled!==t.byteOffset)throw new
RangeError("The region specified by view does not match
byobRequest");if(n.byteLength!==t.byteLength)throw new RangeError("The buffer of
view has different
capacity than byobRequest");n.buffer=t.buffer,Oe(e,t.byteLength)}
(this._associatedReadableByteStreamController,e)},e}
();Object.defineProperties(he.prototype,{respond:{enumerable:!
0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),"symbol"==typeof
r.toStringTag&&Object.defineProperty(he.prototype,r.toStringTag,
{value:"ReadableStreamBYOBRequest",configurable:!0});var ge=function(){function e()
{throw new TypeError("Illegal constructor")}return
Object.defineProperty(e.prototype,"byobRequest",{get:function(){if(!ve(this))throw
De("byobRequest");if(null===this._byobRequest&&this._pendingPullIntos.length>0){var
e=this._pendingPullIntos.peek(),t=new
Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-
e.bytesFilled),n=Object.create(he.prototype);!function(e,t,n)
{e._associatedReadableByteStreamController=t,e._view=n}
(n,this,t),this._byobRequest=n}return this._byobRequest},enumerable:!
1,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function()
{if(!ve(this))throw De("desiredSize");return Pe(this)},enumerable:!1,configurable:!
0}),e.prototype.close=function(){if(!ve(this))throw
De("close");if(this._closeRequested)throw new TypeError("The stream has already
been closed; do not close it again!");var
e=this._controlledReadableByteStream._state;if("readable"!==e)throw new
TypeError("The stream (in "+e+" state) is not in the readable state and cannot be
closed");!function(e){var
t=e._controlledReadableByteStream;if(e._closeRequested||"readable"!
==t._state)return;if(e._queueTotalSize>0)return void(e._closeRequested=!
0);if(e._pendingPullIntos.length>0){if(e._pendingPullIntos.peek().bytesFilled>0)
{var n=new TypeError("Insufficient bytes to fill elements in the given
buffer");throw Ee(e,n),n}}Le(e),pn(t)}(this)},e.prototype.enqueue=function(e){if(!
ve(this))throw De("enqueue");if(U(e,1,"enqueue"),!ArrayBuffer.isView(e))throw new
TypeError("chunk must be an array buffer view");if(0===e.byteLength)throw new
TypeError("chunk must have non-zero byteLength");if(0===e.buffer.byteLength)throw
new TypeError("chunk's buffer must have non-zero
byteLength");if(this._closeRequested)throw new TypeError("stream is closed or
draining");var t=this._controlledReadableByteStream._state;if("readable"!==t)throw
new TypeError("The stream (in "+t+" state) is not in the readable state and cannot
be enqueued to");!function(e,t){var
n=e._controlledReadableByteStream;if(e._closeRequested||"readable"!
==n._state)return;var
r=t.buffer,o=t.byteOffset,i=t.byteLength,a=r;if(X(n))if(0===Z(n))we(e,a,o,i);else{v
ar s=new Uint8Array(a,o,i);K(n,s,!1)}else Be(n)?
(we(e,a,o,i),Ie(e)):we(e,a,o,i);ye(e)}(this,e)},e.prototype.error=function(e)
{if(void 0===e&&(e=void 0),!ve(this))throw
De("error");Ee(this,e)},e.prototype[D]=function(e)
{this._pendingPullIntos.length>0&&(this._pendingPullIntos.peek().bytesFilled=0);pe(
this);var t=this._cancelAlgorithm(e);return Le(this),t},e.prototype[N]=function(e)
{var t=this._controlledReadableByteStream;if(this._queueTotalSize>0){var
n=this._queue.shift();this._queueTotalSize-=n.byteLength,Se(this);var r=new
Uint8Array(n.buffer,n.byteOffset,n.byteLength);e._chunkSteps(r)}else{var
o=this._autoAllocateChunkSize;if(void 0!==o){var i=void 0;try{i=new
ArrayBuffer(o)}catch(t){return void e._errorSteps(t)}var
a={buffer:i,byteOffset:0,byteLength:o,bytesFilled:0,elementSize:1,viewConstructor:U
int8Array,readerType:"default"};this._pendingPullIntos.push(a)}J(t,e),ye(this)}},e}
();function ve(e){return!!a(e)&&!!
Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")}function
be(e){return!!a(e)&&!!
Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")}f
unction ye(e){(function(e){var t=e._controlledReadableByteStream;if("readable"!
==t._state)return!1;if(e._closeRequested)return!1;if(!e._started)return!
1;if(X(t)&&Z(t)>0)return!0;if(Be(t)&&Fe(t)>0)return!0;if(Pe(e)>0)return!0;return!
1})(e)&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,g(e._pullAlgorithm(),(function()
{e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,ye(e))}),(function(t)
{Ee(e,t)}))))}function Ae(e,t){var n=!1;"closed"===e._state&&(n=!0);var
r=ke(t);"default"===t.readerType?K(e,r,n):function(e,t,n){var
r=e._reader._readIntoRequests.shift();n?r._closeSteps(t):r._chunkSteps(t)}
(e,r,n)}function ke(e){var t=e.bytesFilled,n=e.elementSize;return new
e.viewConstructor(e.buffer,e.byteOffset,t/n)}function we(e,t,n,r)
{e._queue.push({buffer:t,byteOffset:n,byteLength:r}),e._queueTotalSize+=r}function
xe(e,t){var n=t.elementSize,r=t.bytesFilled-t.bytesFilled
%n,o=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),i=t.bytesFilled+o,a=i-i
%n,s=o,u=!1;a>r&&(s=a-t.bytesFilled,u=!0);for(var l,c,d,f,p,m=e._queue;s>0;){var
h=m.peek(),g=Math.min(s,h.byteLength),v=t.byteOffset+t.bytesFilled;l=t.buffer,c=v,d
=h.buffer,f=h.byteOffset,p=g,new Uint8Array(l).set(new
Uint8Array(d,f,p),c),h.byteLength===g?m.shift():(h.byteOffset+=g,h.byteLength-
=g),e._queueTotalSize-=g,_e(e,g,t),s-=g}return u}function _e(e,t,n)
{Ce(e),n.bytesFilled+=t}function Se(e){0===e._queueTotalSize&&e._closeRequested?
(Le(e),pn(e._controlledReadableByteStream)):ye(e)}function Ce(e){null!
==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void
0,e._byobRequest._view=null,e._byobRequest=null)}function Ie(e)
{for(;e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;var
t=e._pendingPullIntos.peek();xe(e,t)&&(Me(e),Ae(e._controlledReadableByteStream,t))
}}function Oe(e,t){var
n=e._pendingPullIntos.peek();if("closed"===e._controlledReadableByteStream._state)
{if(0!==t)throw new TypeError("bytesWritten must be 0 when calling respond() on a
closed stream");!function(e,t){t.buffer=t.buffer;var
n=e._controlledReadableByteStream;if(Be(n))for(;Fe(n)>0;){Ae(n,Me(e))}}(e,n)}else!
function(e,t,n){if(n.bytesFilled+t>n.byteLength)throw new RangeError("bytesWritten
out of range");if(_e(e,t,n),!(n.bytesFilled<n.elementSize)){Me(e);var
r=n.bytesFilled%n.elementSize;if(r>0){var
o=n.byteOffset+n.bytesFilled,i=n.buffer.slice(o-
r,o);we(e,i,0,i.byteLength)}n.buffer=n.buffer,n.bytesFilled-
=r,Ae(e._controlledReadableByteStream,n),Ie(e)}}(e,t,n);ye(e)}function Me(e){var
t=e._pendingPullIntos.shift();return Ce(e),t}function Le(e){e._pullAlgorithm=void
0,e._cancelAlgorithm=void 0}function Ee(e,t){var
n=e._controlledReadableByteStream;"readable"===n._state&&(!function(e)
{Ce(e),e._pendingPullIntos=new _}(e),pe(e),Le(e),mn(n,t))}function Pe(e){var
t=e._controlledReadableByteStream._state;return"errored"===t?null:"closed"===t?
0:e._strategyHWM-e._queueTotalSize}function je(e,t,n){var
r=Object.create(ge.prototype),o=function(){},i=function(){return p(void
0)},a=function(){return p(void 0)};void 0!==t.start&&(o=function(){return
t.start(r)}),void 0!==t.pull&&(i=function(){return t.pull(r)}),void 0!
==t.cancel&&(a=function(e){return t.cancel(e)});var
s=t.autoAllocateChunkSize;if(0===s)throw new TypeError("autoAllocateChunkSize must
be greater than 0");!function(e,t,n,r,o,i,a)
{t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!
1,t._byobRequest=null,t._queue=t._queueTotalSize=void 0,pe(t),t._closeRequested=!
1,t._started=!
1,t._strategyHWM=i,t._pullAlgorithm=r,t._cancelAlgorithm=o,t._autoAllocateChunkSize
=a,t._pendingPullIntos=new _,e._readableStreamController=t,g(p(n()),(function()
{t._started=!0,ye(t)}),(function(e){Ee(t,e)}))}(e,r,o,i,a,n,s)}function Te(e)
{return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used
on a ReadableStreamBYOBRequest")}function De(e){return new
TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a
ReadableByteStreamController")}function Ne(e,t)
{e._reader._readIntoRequests.push(t)}function Fe(e){return
e._reader._readIntoRequests.length}function Be(e){var t=e._reader;return void 0!
==t&&!!qe(t)}Object.defineProperties(ge.prototype,{close:{enumerable:!0},enqueue:
{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:
{enumerable:!0}}),"symbol"==typeof
r.toStringTag&&Object.defineProperty(ge.prototype,r.toStringTag,
{value:"ReadableByteStreamController",configurable:!0});var Re=function(){function
e(e){if(U(e,1,"ReadableStreamBYOBReader"),Q(e,"First parameter"),dn(e))throw new
TypeError("This stream has already been locked for exclusive reading by another
reader");if(!ve(e._readableStreamController))throw new TypeError("Cannot construct
a ReadableStreamBYOBReader for a stream not constructed with a byte
source");S(this,e),this._readIntoRequests=new _}return
Object.defineProperty(e.prototype,"closed",{get:function(){return qe(this)?
this._closedPromise:m(ze("closed"))},enumerable:!1,configurable:!
0}),e.prototype.cancel=function(e){return void 0===e&&(e=void 0),qe(this)?void
0===this._ownerReadableStream?
m(O("cancel")):C(this,e):m(ze("cancel"))},e.prototype.read=function(e){if(!
qe(this))return m(ze("read"));if(!ArrayBuffer.isView(e))return m(new
TypeError("view must be an array buffer view"));if(0===e.byteLength)return m(new
TypeError("view must have non-zero byteLength"));if(0===e.buffer.byteLength)return
m(new TypeError("view's buffer must have non-zero byteLength"));if(void
0===this._ownerReadableStream)return m(O("read from"));var t,n,r=f((function(e,r)
{t=e,n=r}));return function(e,t,n){var r=e._ownerReadableStream;r._disturbed=!
0,"errored"===r._state?n._errorSteps(r._storedError):function(e,t,n){var
r=e._controlledReadableByteStream,o=1;t.constructor!
==DataView&&(o=t.constructor.BYTES_PER_ELEMENT);var
i=t.constructor,a={buffer:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength,
bytesFilled:0,elementSize:o,viewConstructor:i,readerType:"byob"};if(e._pendingPullI
ntos.length>0)return e._pendingPullIntos.push(a),void Ne(r,n);if("closed"!
==r._state){if(e._queueTotalSize>0){if(xe(e,a)){var s=ke(a);return Se(e),void
n._chunkSteps(s)}if(e._closeRequested){var u=new TypeError("Insufficient bytes to
fill elements in the given buffer");return Ee(e,u),void
n._errorSteps(u)}}e._pendingPullIntos.push(a),Ne(r,n),ye(e)}else{var
l=new i(a.buffer,a.byteOffset,0);n._closeSteps(l)}}
(r._readableStreamController,t,n)}(this,e,{_chunkSteps:function(e){return
t({value:e,done:!1})},_closeSteps:function(e){return t({value:e,done:!
0})},_errorSteps:function(e){return n(e)}}),r},e.prototype.releaseLock=function()
{if(!qe(this))throw ze("releaseLock");if(void 0!==this._ownerReadableStream)
{if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader
lock when that reader has pending read() calls un-settled");I(this)}},e}();function
qe(e){return!!a(e)&&!!
Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")}function ze(e){return
new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a
ReadableStreamBYOBReader")}function Ue(e,t){var n=e.highWaterMark;if(void
0===n)return t;if(le(n)||n<0)throw new RangeError("Invalid highWaterMark");return
n}function Ve(e){var t=e.size;return t||function(){return 1}}function He(e,t)
{R(e,t);var n=null==e?void 0:e.highWaterMark,r=null==e?void
0:e.size;return{highWaterMark:void 0===n?void 0:H(n),size:void 0===r?void
0:We(r,t+" has member 'size' that")}}function We(e,t){return q(e,t),function(t)
{return H(e(t))}}function Ge(e,t,n){return q(e,n),function(n){return x(e,t,
[n])}}function Qe(e,t,n){return q(e,n),function(){return x(e,t,[])}}function
Ye(e,t,n){return q(e,n),function(n){return w(e,t,[n])}}function Je(e,t,n){return
q(e,n),function(n,r){return x(e,t,[n,r])}}function Ke(e,t){if(!et(e))throw new
TypeError(t+" is not a WritableStream.")}Object.defineProperties(Re.prototype,
{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:
{enumerable:!0}}),"symbol"==typeof
r.toStringTag&&Object.defineProperty(Re.prototype,r.toStringTag,
{value:"ReadableStreamBYOBReader",configurable:!0});var Ze=function(){function
e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),void 0===e?e=null:z(e,"First
parameter");var n=He(t,"Second parameter"),r=function(e,t){R(e,t);var n=null==e?
void 0:e.abort,r=null==e?void 0:e.close,o=null==e?void 0:e.start,i=null==e?void
0:e.type,a=null==e?void 0:e.write;return{abort:void 0===n?void 0:Ge(n,e,t+" has
member 'abort' that"),close:void 0===r?void 0:Qe(r,e,t+" has member 'close'
that"),start:void 0===o?void 0:Ye(o,e,t+" has member 'start' that"),write:void
0===a?void 0:Je(a,e,t+" has member 'write' that"),type:i}}(e,"First
parameter");if($e(this),void 0!==r.type)throw new RangeError("Invalid type is
specified");var o=Ve(n);!function(e,t,n,r){var
o=Object.create(bt.prototype),i=function(){},a=function(){return p(void
0)},s=function(){return p(void 0)},u=function(){return p(void 0)};void 0!
==t.start&&(i=function(){return t.start(o)});void 0!==t.write&&(a=function(e)
{return t.write(e,o)});void 0!==t.close&&(s=function(){return t.close()});void 0!
==t.abort&&(u=function(e){return t.abort(e)});yt(e,o,i,a,s,u,n,r)}
(this,r,Ue(n,1),o)}return Object.defineProperty(e.prototype,"locked",
{get:function(){if(!et(this))throw Ct("locked");return tt(this)},enumerable:!
1,configurable:!0}),e.prototype.abort=function(e){return void 0===e&&(e=void
0),et(this)?tt(this)?m(new TypeError("Cannot abort a stream that already has a
writer")):nt(this,e):m(Ct("abort"))},e.prototype.close=function(){return et(this)?
tt(this)?m(new TypeError("Cannot close a stream that already has a
writer")):st(this)?m(new TypeError("Cannot close an already-closing
stream")):rt(this):m(Ct("close"))},e.prototype.getWriter=function(){if(!
et(this))throw Ct("getWriter");return Xe(this)},e}();function Xe(e){return new
ct(e)}function $e(e){e._state="writable",e._storedError=void 0,e._writer=void
0,e._writableStreamController=void 0,e._writeRequests=new
_,e._inFlightWriteRequest=void 0,e._closeRequest=void
0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!
1}function et(e){return!!a(e)&&!!
Object.prototype.hasOwnProperty.call(e,"_writableStreamController")}function tt(e)
{return void 0!==e._writer}function nt(e,t){var
n=e._state;if("closed"===n||"errored"===n)return p(void 0);if(void 0!
==e._pendingAbortRequest)return e._pendingAbortRequest._promise;var r=!
1;"erroring"===n&&(r=!0,t=void 0);var o=f((function(n,o)
{e._pendingAbortRequest={_promise:void
0,_resolve:n,_reject:o,_reason:t,_wasAlreadyErroring:r}}));return
e._pendingAbortRequest._promise=o,r||it(e,t),o}function rt(e){var
t=e._state;if("closed"===t||"errored"===t)return m(new TypeError("The stream (in
"+t+" state) is not in the writable state and cannot be closed"));var
n,r=f((function(t,n){var
r={_resolve:t,_reject:n};e._closeRequest=r})),o=e._writer;return void 0!
==o&&e._backpressure&&"writable"===t&&Ft(o),fe(n=e._writableStreamController,vt,0),
wt(n),r}function ot(e,t){"writable"!==e._state?at(e):it(e,t)}function it(e,t){var
n=e._writableStreamController;e._state="erroring",e._storedError=t;var
r=e._writer;void 0!==r&&mt(r,t),!function(e){if(void
0===e._inFlightWriteRequest&&void 0===e._inFlightCloseRequest)return!1;return!0}
(e)&&n._started&&at(e)}function at(e)
{e._state="errored",e._writableStreamController[T]();var
t=e._storedError;if(e._writeRequests.forEach((function(e)
{e._reject(t)})),e._writeRequests=new _,void 0!==e._pendingAbortRequest){var
n=e._pendingAbortRequest;if(e._pendingAbortRequest=void
0,n._wasAlreadyErroring)return n._reject(t),void
ut(e);g(e._writableStreamController[j](n._reason),(function(){n._resolve(),ut(e)}),
(function(t){n._reject(t),ut(e)}))}else ut(e)}function st(e){return void 0!
==e._closeRequest||void 0!==e._inFlightCloseRequest}function ut(e){void 0!
==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void
0);var t=e._writer;void 0!==t&&Et(t,e._storedError)}function lt(e,t){var
n=e._writer;void 0!==n&&t!==e._backpressure&&(t?function(e){jt(e)}
(n):Ft(n)),e._backpressure=t}Object.defineProperties(Ze.prototype,{abort:
{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:
{enumerable:!0}}),"symbol"==typeof
r.toStringTag&&Object.defineProperty(Ze.prototype,r.toStringTag,
{value:"WritableStream",configurable:!0});var ct=function(){function e(e)
{if(U(e,1,"WritableStreamDefaultWriter"),Ke(e,"First parameter"),tt(e))throw new
TypeError("This stream has already been locked for exclusive writing by another
writer");this._ownerWritableStream=e,e._writer=this;var
t,n=e._state;if("writable"===n)!st(e)&&e._backpressure?
jt(this):Dt(this),Mt(this);else
if("erroring"===n)Tt(this,e._storedError),Mt(this);else
if("closed"===n)Dt(this),Mt(t=this),Pt(t);else{var
r=e._storedError;Tt(this,r),Lt(this,r)}}return
Object.defineProperty(e.prototype,"closed",{get:function(){return dt(this)?
this._closedPromise:m(It("closed"))},enumerable:!1,configurable:!
0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!
dt(this))throw It("desiredSize");if(void 0===this._ownerWritableStream)throw
Ot("desiredSize");return function(e){var
t=e._ownerWritableStream,n=t._state;if("errored"===n||"erroring"===n)return
null;if("closed"===n)return 0;return kt(t._writableStreamController)}
(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ready",
{get:function(){return dt(this)?this._readyPromise:m(It("ready"))},enumerable:!
1,configurable:!0}),e.prototype.abort=function(e){return void 0===e&&(e=void
0),dt(this)?void 0===this._ownerWritableStream?m(Ot("abort")):function(e,t){return
nt(e._ownerWritableStream,t)}(this,e):m(It("abort"))},e.prototype.close=function()
{if(!dt(this))return m(It("close"));var e=this._ownerWritableStream;return void
0===e?m(Ot("close")):st(e)?m(new TypeError("Cannot close an already-closing
stream")):ft(this)},e.prototype.releaseLock=function(){if(!dt(this))throw
It("releaseLock");void 0!
==this._ownerWritableStream&&ht(this)},e.prototype.write=function(e){return void
0===e&&(e=void 0),dt(this)?void 0===this._ownerWritableStream?m(Ot("write
to")):gt(this,e):m(It("write"))},e}();function dt(e){return!!a(e)&&!!
Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")}function ft(e)
{return rt(e._ownerWritableStream)}function pt(e,t)
{"pending"===e._closedPromiseState?Et(e,t):function(e,t){Lt(e,t)}(e,t)}function
mt(e,t){"pending"===e._readyPromiseState?Nt(e,t):function(e,t){Tt(e,t)}
(e,t)}function ht(e){var t=e._ownerWritableStream,n=new TypeError("Writer was
released and can no longer be used to monitor the stream's
closedness");mt(e,n),pt(e,n),t._writer=void 0,e._ownerWritableStream=void
0}function gt(e,t){var
n=e._ownerWritableStream,r=n._writableStreamController,o=function(e,t){try{return
e._strategySizeAlgorithm(t)}catch(t){return xt(e,t),1}}(r,t);if(n!
==e._ownerWritableStream)return m(Ot("write to"));var
i=n._state;if("errored"===i)return m(n._storedError);if(st(n)||"closed"===i)return
m(new TypeError("The stream is closing or closed and cannot be written
to"));if("erroring"===i)return m(n._storedError);var a=function(e){return
f((function(t,n){var r={_resolve:t,_reject:n};e._writeRequests.push(r)}))}
(n);return function(e,t,n){try{fe(e,t,n)}catch(t){return void xt(e,t)}var
r=e._controlledWritableStream;if(!st(r)&&"writable"===r._state){var
o=_t(e);lt(r,o)}wt(e)}(r,t,o),a}Object.defineProperties(ct.prototype,{abort:
{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:
{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:
{enumerable:!0}}),"symbol"==typeof
r.toStringTag&&Object.defineProperty(ct.prototype,r.toStringTag,
{value:"WritableStreamDefaultWriter",configurable:!0});var vt={},bt=function()
{function e(){throw new TypeError("Illegal constructor")}return
e.prototype.error=function(e){if(void 0===e&&(e=void 0),!function(e){if(!
a(e))return!1;if(!
Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream"))return!
1;return!0}(this))throw new
TypeError("WritableStreamDefaultController.prototype.error can only be used on a
WritableStreamDefaultController");"writable"===this._controlledWritableStream._stat
e&&St(this,e)},e.prototype[j]=function(e){var t=this._abortAlgorithm(e);return
At(this),t},e.prototype[T]=function(){pe(this)},e}();function
yt(e,t,n,r,o,i,a,s)
{t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void
0,t._queueTotalSize=void 0,pe(t),t._started=!
1,t._strategySizeAlgorithm=s,t._strategyHWM=a,t._writeAlgorithm=r,t._closeAlgorithm
=o,t._abortAlgorithm=i;var u=_t(t);lt(e,u),g(p(n()),(function(){t._started=!
0,wt(t)}),(function(n){t._started=!0,ot(e,n)}))}function At(e)
{e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void
0,e._strategySizeAlgorithm=void 0}function kt(e){return e._strategyHWM-
e._queueTotalSize}function wt(e){var
t=e._controlledWritableStream;if(e._started&&void
0===t._inFlightWriteRequest)if("erroring"!==t._state){if(0!==e._queue.length){var
n=e._queue.peek().value;n===vt?function(e){var t=e._controlledWritableStream;
(function(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0})
(t),de(e);var n=e._closeAlgorithm();At(e),g(n,(function(){!function(e)
{e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void
0,"erroring"===e._state&&(e._storedError=void 0,void 0!
==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest
=void 0)),e._state="closed";var t=e._writer;void 0!==t&&Pt(t)}(t)}),(function(e){!
function(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void
0,void 0!
==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest
=void 0),ot(e,t)}(t,e)}))}(e):function(e,t){var n=e._controlledWritableStream;
(function(e){e._inFlightWriteRequest=e._writeRequests.shift()})
(n),g(e._writeAlgorithm(t),(function(){!function(e)
{e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}(n);var
t=n._state;if(de(e),!st(n)&&"writable"===t){var r=_t(e);lt(n,r)}wt(e)}),
(function(t){"writable"===n._state&&At(e),function(e,t)
{e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,ot(e,t)}
(n,t)}))}(e,n)}}else at(t)}function xt(e,t)
{"writable"===e._controlledWritableStream._state&&St(e,t)}function _t(e){return
kt(e)<=0}function St(e,t){var n=e._controlledWritableStream;At(e),it(n,t)}function
Ct(e){return new TypeError("WritableStream.prototype."+e+" can only be used on a
WritableStream")}function It(e){return new
TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a
WritableStreamDefaultWriter")}function Ot(e){return new TypeError("Cannot "+e+" a
stream using a released writer")}function Mt(e){e._closedPromise=f((function(t,n)
{e._closedPromise_resolve=t,e._closedPromise_reject=n,e._closedPromiseState="pendin
g"}))}function Lt(e,t){Mt(e),Et(e,t)}function Et(e,t){void 0!
==e._closedPromise_reject&&(A(e._closedPromise),e._closedPromise_reject(t),e._close
dPromise_resolve=void 0,e._closedPromise_reject=void
0,e._closedPromiseState="rejected")}function Pt(e){void 0!
==e._closedPromise_resolve&&(e._closedPromise_resolve(void
0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void
0,e._closedPromiseState="resolved")}function jt(e){e._readyPromise=f((function(t,n)
{e._readyPromise_resolve=t,e._readyPromise_reject=n})),e._readyPromiseState="pendin
g"}function Tt(e,t){jt(e),Nt(e,t)}function Dt(e){jt(e),Ft(e)}function Nt(e,t){void
0!
==e._readyPromise_reject&&(A(e._readyPromise),e._readyPromise_reject(t),e._readyPro
mise_resolve=void 0,e._readyPromise_reject=void
0,e._readyPromiseState="rejected")}function Ft(e){void 0!
==e._readyPromise_resolve&&(e._readyPromise_resolve(void
0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void
0,e._readyPromiseState="fulfilled")}Object.defineProperties(bt.prototype,{error:
{enumerable:!0}}),"symbol"==typeof
r.toStringTag&&Object.defineProperty(bt.prototype,r.toStringTag,
{value:"WritableStreamDefaultController",configurable:!0});var Bt="undefined"!
=typeof DOMException?DOMException:void 0;var Rt,qt=function(e){if("function"!
=typeof e&&"object"!=typeof e)return!1;try{return new e,!0}catch(e){return!1}}(Bt)?
Bt:((Rt=function(e,t)
{this.message=e||"",this.name=t||"Error",Error.captureStackTrace&&Error.captureStac
kTrace(this,this.constructor)}).prototype=Object.create(Error.prototype),Object.def
ineProperty(Rt.prototype,"constructor",{value:Rt,writable:!0,configurable:!
0}),Rt);function zt(e,t,n,r,i,a){var s=Y(e),u=Xe(t);e._disturbed=!0;var l=!
1,c=p(void 0);return f((function(d,y){var k,w,x,_;if(void 0!==a){if(k=function()
{var n=new qt("Aborted","AbortError"),o=[];r||o.push((function()
{return"writable"===t._state?nt(t,n):p(void 0)})),i||o.push((function()
{return"readable"===e._state?fn(e,n):p(void 0)})),M((function(){return
Promise.all(o.map((function(e){return e()})))}),!0,n)},a.aborted)return void
k();a.addEventListener("abort",k)}if(O(e,s._closedPromise,(function(e){r?L(!
0,e):M((function(){return nt(t,e)}),!0,e)})),O(t,u._closedPromise,(function(t){i?
L(!0,t):M((function(){return fn(e,t)}),!0,t)})),w=e,x=s._closedPromise,_=function()
{n?L():M((function(){return function(e){var
t=e._ownerWritableStream,n=t._state;return st(t)||"closed"===n?p(void
0):"errored"===n?m(t._storedError):ft(e)}(u)}))},"closed"===w._state?
_():v(x,_),st(t)||"closed"===t._state){var S=new TypeError("the destination
writable stream closed before all data could be piped to it");i?L(!
0,S):M((function(){return fn(e,S)}),!0,S)}function C(){var e=c;return h(c,
(function(){return e!==c?C():void 0}))}function O(e,t,n){"errored"===e._state?
n(e._storedError):b(t,n)}function M(e,n,r){function o(){g(e(),(function(){return
E(n,r)}),(function(e){return E(!0,e)}))}l||(l=!0,"writable"!==t._state||st(t)?
o():v(C(),o))}function L(e,n){l||(l=!0,"writable"!==t._state||st(t)?E(e,n):v(C(),
(function(){return E(e,n)})))}function E(e,t){ht(u),I(s),void 0!
==a&&a.removeEventListener("abort",k),e?y(t):d(void 0)}A(f((function(e,t){!function
n(r){r?e():h(l?p(!0):h(u._readyPromise,(function(){return f((function(e,t){re(s,
{_chunkSteps:function(t){c=h(gt(u,t),void 0,o),e(!1)},_closeSteps:function(){return
e(!0)},_errorSteps:t})}))})),n,t)}(!1)})))}))}var Ut=function(){function e(){throw
new TypeError("Illegal constructor")}return
Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!Vt(this))throw
$t("desiredSize");return Kt(this)},enumerable:!1,configurable:!
0}),e.prototype.close=function(){if(!Vt(this))throw $t("close");if(!Zt(this))throw
new TypeError("The stream is not in a state that permits
close");Qt(this)},e.prototype.enqueue=function(e){if(void 0===e&&(e=void 0),!
Vt(this))throw $t("enqueue");if(!Zt(this))throw new TypeError("The stream is not in
a state that permits enqueue");return Yt(this,e)},e.prototype.error=function(e)
{if(void 0===e&&(e=void 0),!Vt(this))throw
$t("error");Jt(this,e)},e.prototype[D]=function(e){pe(this);var
t=this._cancelAlgorithm(e);return Gt(this),t},e.prototype[N]=function(e){var
t=this._controlledReadableStream;if(this._queue.length>0){var
n=de(this);this._closeRequested&&0===this._queue.length?
(Gt(this),pn(t)):Ht(this),e._chunkSteps(n)}else J(t,e),Ht(this)},e}();function
Vt(e){return!!a(e)&&!!
Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")}function Ht(e)
{Wt(e)&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,g(e._pullAlgorithm(),(function()
{e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Ht(e))}),(function(t)
{Jt(e,t)}))))}function Wt(e){var t=e._controlledReadableStream;return!!Zt(e)&&(!!
e._started&&(!!(dn(t)&&Z(t)>0)||Kt(e)>0))}function Gt(e){e._pullAlgorithm=void
0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function Qt(e)
{if(Zt(e)){var t=e._controlledReadableStream;e._closeRequested=!
0,0===e._queue.length&&(Gt(e),pn(t))}}function Yt(e,t){if(Zt(e)){var
n=e._controlledReadableStream;if(dn(n)&&Z(n)>0)K(n,t,!1);else{var r=void
0;try{r=e._strategySizeAlgorithm(t)}catch(t){throw Jt(e,t),t}try{fe(e,t,r)}catch(t)
{throw Jt(e,t),t}}Ht(e)}}function Jt(e,t){var
n=e._controlledReadableStream;"readable"===n._state&&(pe(e),Gt(e),mn(n,t))}function
Kt(e){var t=e._controlledReadableStream._state;return"errored"===t?
null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function Zt(e){var
t=e._controlledReadableStream._state;return!
e._closeRequested&&"readable"===t}function Xt(e,t,n,r,o,i,a)
{t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void
0,pe(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!
1,t._strategySizeAlgorithm=a,t._strategyHWM=i,t._pullAlgorithm=r,t._cancelAlgorithm
=o,e._readableStreamController=t,g(p(n()),(function(){t._started=!0,Ht(t)}),
(function(e){Jt(t,e)}))}function $t(e){return new
TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a
ReadableStreamDefaultController")}function en(e,t,n){return q(e,n),function(n)
{return x(e,t,[n])}}function tn(e,t,n){return q(e,n),function(n){return x(e,t,
[n])}}function nn(e,t,n){return q(e,n),function(n){return w(e,t,[n])}}function
rn(e,t){if("bytes"!==(e=""+e))throw new TypeError(t+" '"+e+"' is not a valid
enumeration value for ReadableStreamType");return e}function on(e,t){if("byob"!
==(e=""+e))throw new TypeError(t+" '"+e+"' is not a valid enumeration value for
ReadableStreamReaderMode");return e}function an(e,t){R(e,t);var n=null==e?void
0:e.preventAbort,r=null==e?void 0:e.preventCancel,o=null==e?void
0:e.preventClose,i=null==e?void 0:e.signal;return void 0!==i&&function(e,t){if(!
function(e){if("object"!=typeof e||null===e)return!1;try{return"boolean"==typeof
e.aborted}catch(e){return!1}}(e))throw new TypeError(t+" is not an AbortSignal.")}
(i,t+" has member 'signal' that"),
{preventAbort:Boolean(n),preventCancel:Boolean(r),preventClose:Boolean(o),signal:i}
}Object.defineProperties(Ut.prototype,{close:{enumerable:!0},enqueue:{enumerable:!
0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof
r.toStringTag&&Object.defineProperty(Ut.prototype,r.toStringTag,
{value:"ReadableStreamDefaultController",configurable:!0});var sn=function()
{function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),void 0===e?e=null:z(e,"First
parameter");var n=He(t,"Second parameter"),r=function(e,t){R(e,t);var
n=e,r=null==n?void 0:n.autoAllocateChunkSize,o=null==n?void
0:n.cancel,i=null==n?void 0:n.pull,a=null==n?void 0:n.start,s=null==n?void
0:n.type;return{autoAllocateChunkSize:void 0===r?void 0:G(r,t+" has member
'autoAllocateChunkSize' that"),cancel:void 0===o?void 0:en(o,n,t+" has member
'cancel' that"),pull:void 0===i?void 0:tn(i,n,t+" has member 'pull'
that"),start:void 0===a?void 0:nn(a,n,t+" has member 'start' that"),type:void
0===s?void 0:rn(s,t+" has member 'type' that")}}(e,"First
parameter");if(ln(this),"bytes"===r.type){if(void 0!==n.size)throw new
RangeError("The strategy for a byte stream cannot have a size
function");je(this,r,Ue(n,0))}else{var o=Ve(n);!function(e,t,n,r){var
o=Object.create(Ut.prototype),i=function(){},a=function(){return p(void
0)},s=function(){return p(void 0)};void 0!==t.start&&(i=function(){return
t.start(o)}),void 0!==t.pull&&(a=function(){return t.pull(o)}),void 0!
==t.cancel&&(s=function(e){return t.cancel(e)}),Xt(e,o,i,a,s,n,r)}
(this,r,Ue(n,1),o)}}return Object.defineProperty(e.prototype,"locked",
{get:function(){if(!cn(this))throw hn("locked");return dn(this)},enumerable:!
1,configurable:!0}),e.prototype.cancel=function(e){return void 0===e&&(e=void
0),cn(this)?dn(this)?m(new TypeError("Cannot cancel a stream that already has a
reader")):fn(this,e):m(hn("cancel"))},e.prototype.getReader=function(e){if(void
0===e&&(e=void 0),!cn(this))throw hn("getReader");return void 0===function(e,t)
{R(e,t);var n=null==e?void 0:e.mode;return{mode:void 0===n?void 0:on(n,t+" has
member 'mode' that")}}(e,"First parameter").mode?Y(this):new
Re(this)},e.prototype.pipeThrough=function(e,t){if(void 0===t&&(t={}),!
cn(this))throw hn("pipeThrough");U(e,1,"pipeThrough");var n=function(e,t)
{R(e,t);var n=null==e?void
0:e.readable;V(n,"readable","ReadableWritablePair"),Q(n,t+" has member 'readable'
that");var r=null==e?void 0:e.writable;return
V(r,"writable","ReadableWritablePair"),Ke(r,t+" has member 'writable' that"),
{readable:n,writable:r}}(e,"First parameter"),r=an(t,"Second
parameter");if(dn(this))throw new TypeError("ReadableStream.prototype.pipeThrough
cannot be used on a locked ReadableStream");if(tt(n.writable))throw new
TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked
WritableStream");return
A(zt(this,n.writable,r.preventClose,r.preventAbort,r.preventCancel,r.signal)),n.rea
dable},e.prototype.pipeTo=function(e,t){if(void 0===t&&(t={}),!cn(this))return
m(hn("pipeTo"));if(void 0===e)return m("Parameter 1 is required in 'pipeTo'.");if(!
et(e))return m(new TypeError("ReadableStream.prototype.pipeTo's first argument must
be a WritableStream"));var n;try{n=an(t,"Second parameter")}catch(e){return
m(e)}return dn(this)?m(new TypeError("ReadableStream.prototype.pipeTo cannot be
used on a locked ReadableStream")):tt(e)?m(new
TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked
WritableStream")):zt(this,e,n.preventClose,n.preventAbort,n.preventCancel,n.signal)
},e.prototype.tee=function(){if(!cn(this))throw hn("tee");var e=function(e,t){var
n,r,o,i,a,s=Y(e),u=!1,l=!1,c=!1,d=f((function(e){a=e}));function m(){return u||(u=!
0,re(s,{_chunkSteps:function(e){k((function(){u=!1;var t=e,n=e;l||
Yt(o._readableStreamController,t),c||Yt(i._readableStreamController,n),a(void
0)}))},_closeSteps:function(){u=!1,l||Qt(o._readableStreamController),c||
Qt(i._readableStreamController)},_errorSteps:function(){u=!1}})),p(void 0)}function
h(){}return o=un(h,m,(function(t){if(l=!0,n=t,c){var
o=me([n,r]),i=fn(e,o);a(i)}return d})),i=un(h,m,(function(t){if(c=!0,r=t,l){var
o=me([n,r]),i=fn(e,o);a(i)}return d})),b(s._closedPromise,(function(e)
{Jt(o._readableStreamController,e),Jt(i._readableStreamController,e),a(void 0)})),
[o,i]}(this);return me(e)},e.prototype.values=function(e){if(void 0===e&&(e=void
0),!cn(this))throw hn("values");var t,n,r,o,i,a=function(e,t){R(e,t);var n=null==e?
void 0:e.preventCancel;return{preventCancel:Boolean(n)}}(e,"First
parameter");return t=this,n=a.preventCancel,r=Y(t),o=new ie(r,n),
(i=Object.create(ae))._asyncIteratorImpl=o,i},e}();function un(e,t,n,r,o){void
0===r&&(r=1),void 0===o&&(o=function(){return 1});var
i=Object.create(sn.prototype);return
ln(i),Xt(i,Object.create(Ut.prototype),e,t,n,r,o),i}function ln(e)
{e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!
1}function cn(e){return!!a(e)&&!!
Object.prototype.hasOwnProperty.call(e,"_readableStreamController")}function dn(e)
{return void 0!==e._reader}function fn(e,t){return e._disturbed=!
0,"closed"===e._state?p(void 0):"errored"===e._state?m(e._storedError):
(pn(e),y(e._readableStreamController[D](t),o))}function pn(e){e._state="closed";var
t=e._reader;void 0!==t&&(P(t),ne(t)&&(t._readRequests.forEach((function(e)
{e._closeSteps()})),t._readRequests=new _))}function mn(e,t)
{e._state="errored",e._storedError=t;var n=e._reader;void 0!==n&&(E(n,t),ne(n)?
(n._readRequests.forEach((function(e){e._errorSteps(t)})),n._readRequests=new _):
(n._readIntoRequests.forEach((function(e)
{e._errorSteps(t)})),n._readIntoRequests=new _))}function hn(e){return new
TypeError("ReadableStream.prototype."+e+" can only be used on a
ReadableStream")}function gn(e,t){R(e,t);var n=null==e?void
0:e.highWaterMark;return V(n,"highWaterMark","QueuingStrategyInit"),
{highWaterMark:H(n)}}Object.defineProperties(sn.prototype,{cancel:{enumerable:!
0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!
0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!
0}}),"symbol"==typeof
r.toStringTag&&Object.defineProperty(sn.prototype,r.toStringTag,
{value:"ReadableStream",configurable:!0}),"symbol"==typeof
r.asyncIterator&&Object.defineProperty(sn.prototype,r.asyncIterator,
{value:sn.prototype.values,writable:!0,configurable:!0});var vn=function(e){return
e.byteLength},bn=function(){function e(e)
{U(e,1,"ByteLengthQueuingStrategy"),e=gn(e,"First
parameter"),this._byteLengthQueuingStrategyHighWaterMark=e.highWaterMark}return
Object.defineProperty(e.prototype,"highWaterMark",{get:function(){if(!
An(this))throw yn("highWaterMark");return
this._byteLengthQueuingStrategyHighWaterMark},enumerable:!1,configurable:!
0}),Object.defineProperty(e.prototype,"size",{get:function(){if(!An(this))throw
yn("size");return vn},enumerable:!1,configurable:!0}),e}();function yn(e){return
new TypeError("ByteLengthQueuingStrategy.prototype."+e+" can only be used on a
ByteLengthQueuingStrategy")}function An(e){return!!a(e)&&!!
Object.prototype.hasOwnProperty.call(e,"_byteLengthQueuingStrategyHighWaterMark")}O
bject.defineProperties(bn.prototype,{highWaterMark:{enumerable:!0},size:
{enumerable:!0}}),"symbol"==typeof
r.toStringTag&&Object.defineProperty(bn.prototype,r.toStringTag,
{value:"ByteLengthQueuingStrategy",configurable:!0});var kn=function(){return
1},wn=function(){function e(e){U(e,1,"CountQueuingStrategy"),e=gn(e,"First
parameter"),this._countQueuingStrategyHighWaterMark=e.highWaterMark}return
Object.defineProperty(e.prototype,"highWaterMark",{get:function(){if(!
_n(this))throw xn("highWaterMark");return
this._countQueuingStrategyHighWaterMark},enumerable:!1,configurable:!
0}),Object.defineProperty(e.prototype,"size",{get:function(){if(!_n(this))throw
xn("size");return kn},enumerable:!1,configurable:!0}),e}();function xn(e){return
new TypeError("CountQueuingStrategy.prototype."+e+" can only be used on a
CountQueuingStrategy")}function _n(e){return!!a(e)&&!!
Object.prototype.hasOwnProperty.call(e,"_countQueuingStrategyHighWaterMark")}functi
on Sn(e,t,n){return q(e,n),function(n){return x(e,t,[n])}}function Cn(e,t,n){return
q(e,n),function(n){return w(e,t,[n])}}function In(e,t,n){return
q(e,n),function(n,r){return x(e,t,[n,r])}}Object.defineProperties(wn.prototype,
{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof
r.toStringTag&&Object.defineProperty(wn.prototype,r.toStringTag,
{value:"CountQueuingStrategy",configurable:!0});var On=function(){function e(e,t,n)
{void 0===e&&(e={}),void 0===t&&(t={}),void 0===n&&(n={}),void 0===e&&(e=null);var
r=He(t,"Second parameter"),o=He(n,"Third parameter"),i=function(e,t){R(e,t);var
n=null==e?void 0:e.flush,r=null==e?void 0:e.readableType,o=null==e?void
0:e.start,i=null==e?void 0:e.transform,a=null==e?void
0:e.writableType;return{flush:void 0===n?void 0:Sn(n,e,t+" has member 'flush'
that"),readableType:r,start:void 0===o?void 0:Cn(o,e,t+" has member 'start'
that"),transform:void 0===i?void 0:In(i,e,t+" has member 'transform'
that"),writableType:a}}(e,"First parameter");if(void 0!==i.readableType)throw new
RangeError("Invalid readableType specified");if(void 0!==i.writableType)throw new
RangeError("Invalid writableType specified");var
a,s=Ue(o,0),u=Ve(o),l=Ue(r,1),c=Ve(r);!function(e,t,n,r,o,i){function a(){return
t}e._writable=function(e,t,n,r,o,i){void 0===o&&(o=1),void 0===i&&(i=function()
{return 1});var a=Object.create(Ze.prototype);return
$e(a),yt(a,Object.create(bt.prototype),e,t,n,r,o,i),a}(a,(function(t){return
function(e,t){var n=e._transformStreamController;if(e._backpressure){return
y(e._backpressureChangePromise,(function(){var
r=e._writable;if("erroring"===r._state)throw r._storedError;return
Fn(n,t)}))}return Fn(n,t)}(e,t)}),(function(){return function(e){var
t=e._readable,n=e._transformStreamController,r=n._flushAlgorithm();return
Dn(n),y(r,(function(){if("errored"===t._state)throw
t._storedError;Qt(t._readableStreamController)}),(function(n){throw
Ln(e,n),t._storedError}))}(e)}),(function(t){return function(e,t){return
Ln(e,t),p(void 0)}(e,t)}),n,r),e._readable=un(a,(function(){return function(e)
{return Pn(e,!1),e._backpressureChangePromise}(e)}),(function(t){return
En(e,t),p(void 0)}),o,i),e._backpressure=void 0,e._backpressureChangePromise=void
0,e._backpressureChangePromise_resolve=void 0,Pn(e,!
0),e._transformStreamController=void 0}(this,f((function(e)
{a=e})),l,c,s,u),function(e,t){var n=Object.create(jn.prototype),r=function(e)
{try{return Nn(n,e),p(void 0)}catch(e){return m(e)}},o=function(){return p(void
0)};void 0!==t.transform&&(r=function(e){return
t.transform(e,n)});void 0!==t.flush&&(o=function(){return t.flush(n)});!
function(e,t,n,r)
{t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorith
m=n,t._flushAlgorithm=r}(e,n,r,o)}(this,i),void 0!==i.start?
a(i.start(this._transformStreamController)):a(void 0)}return
Object.defineProperty(e.prototype,"readable",{get:function(){if(!Mn(this))throw
Rn("readable");return this._readable},enumerable:!1,configurable:!
0}),Object.defineProperty(e.prototype,"writable",{get:function(){if(!Mn(this))throw
Rn("writable");return this._writable},enumerable:!1,configurable:!0}),e}();function
Mn(e){return!!a(e)&&!!
Object.prototype.hasOwnProperty.call(e,"_transformStreamController")}function
Ln(e,t){Jt(e._readable._readableStreamController,t),En(e,t)}function En(e,t)
{Dn(e._transformStreamController),xt(e._writable._writableStreamController,t),e._ba
ckpressure&&Pn(e,!1)}function Pn(e,t){void 0!
==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpress
ureChangePromise=f((function(t)
{e._backpressureChangePromise_resolve=t})),e._backpressure=t}Object.definePropertie
s(On.prototype,{readable:{enumerable:!0},writable:{enumerable:!
0}}),"symbol"==typeof
r.toStringTag&&Object.defineProperty(On.prototype,r.toStringTag,
{value:"TransformStream",configurable:!0});var jn=function(){function e(){throw new
TypeError("Illegal constructor")}return
Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!Tn(this))throw
Bn("desiredSize");return
Kt(this._controlledTransformStream._readable._readableStreamController)},enumerable
:!1,configurable:!0}),e.prototype.enqueue=function(e){if(void 0===e&&(e=void 0),!
Tn(this))throw Bn("enqueue");Nn(this,e)},e.prototype.error=function(e){if(void
0===e&&(e=void 0),!Tn(this))throw Bn("error");!function(e,t)
{Ln(e._controlledTransformStream,t)}(this,e)},e.prototype.terminate=function(){if(!
Tn(this))throw Bn("terminate");!function(e){var
t=e._controlledTransformStream;Qt(t._readable._readableStreamController);var n=new
TypeError("TransformStream terminated");En(t,n)}(this)},e}();function Tn(e)
{return!!a(e)&&!!
Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")}function Dn(e)
{e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function Nn(e,t){var
n=e._controlledTransformStream,r=n._readable._readableStreamController;if(!
Zt(r))throw new TypeError("Readable side is not in a state that permits
enqueue");try{Yt(r,t)}catch(e){throw En(n,e),n._readable._storedError}(function(e)
{return!Wt(e)})(r)!==n._backpressure&&Pn(n,!0)}function Fn(e,t){return
y(e._transformAlgorithm(t),void 0,(function(t){throw
Ln(e._controlledTransformStream,t),t}))}function Bn(e){return new
TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a
TransformStreamDefaultController")}function Rn(e){return new
TypeError("TransformStream.prototype."+e+" can only be used on a
TransformStream")}Object.defineProperties(jn.prototype,{enqueue:{enumerable:!
0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!
0}}),"symbol"==typeof
r.toStringTag&&Object.defineProperty(jn.prototype,r.toStringTag,
{value:"TransformStreamDefaultController",configurable:!0});var qn=null,zn=!
1,Un=window.isSecureContext,Vn=/constructor/i.test(window.HTMLElement)||!!
window.safari,Hn=Un||"MozAppearance"in
document.documentElement.style?"iframe":"navigate",Wn={createWriteStream:function(e
,t,n){var r={size:null,pathname:null,writableStrategy:void 0,readableStrategy:void
0},o=0,i=null,a=null,s=null;if(Number.isFinite(t)){var
u=[t,n];n=u[0],t=u[1],r.size=n,r.writableStrategy=t}else t&&t.highWaterMark?
(r.size=n,r.writableStrategy=t):r=t||{};if(!Vn){qn||(qn=Un?Gn(Wn.mitm):
(m=Wn.mitm,h=document.createDocumentFragment(),g={frame:window.open(m,"popup","widt
h=200,height=100"),loaded:!1,isIframe:!1,isPopup:!0,remove:function()
{g.frame.close()},addEventListener:function()
{h.addEventListener.apply(h,arguments)},dispatchEvent:function()
{h.dispatchEvent.apply(h,arguments)},removeEventListener:function()
{h.removeEventListener.apply(h,arguments)},postMessage:function(){var e;
(e=g.frame).postMessage.apply(e,arguments)}},window.addEventListener("message",
(function e(t){t.source===g.frame&&(g.loaded=!
0,window.removeEventListener("message",e),g.dispatchEvent(new
Event("load")))})),g)),a=new
MessageChannel,e=encodeURIComponent(e.replace(/\//g,":")).replace(/['()]/
g,escape).replace(/\*/g,"%2A");var l={transferringReadable:zn,pathname:r.pathname||
Math.random().toString().slice(-6)+"/"+e,headers:{"Content-Type":"application/
octet-stream; charset=utf-8","Content-Disposition":"attachment; filename*=UTF-
8''"+e}};r.size&&(l.headers["Content-Length"]=r.size);var c,d=[l,"*",
[a.port2]];if(zn){var f="iframe"===Hn?void 0:{transform:function(e,t)
{o+=e.length,t.enqueue(e),i&&(location.href=i,i=null)},flush:function()
{i&&(location.href=i)}},p=(s=new
Wn.TransformStream(f,r.writableStrategy,r.readableStrategy)).readable;a.port1.postM
essage({readableStream:p},[p])}if(a.port1.onmessage=function(e)
{e.data.download&&("navigate"===Hn?(qn.remove(),qn=null,o?
location.href=e.data.download:i=e.data.download):
(qn.isPopup&&(qn.remove(),"iframe"===Hn&&Gn(Wn.mitm)),Gn(e.data.download)))},qn.loa
ded)(c=qn).postMessage.apply(c,d);else qn.addEventListener("load",(function(){var
e;(e=qn).postMessage.apply(e,d)}),{once:!0})}var m,h,g;var v=[];return!
Vn&&s&&s.writable||new Wn.WritableStream({write:function(e){Vn?v.push(e):
(a.port1.postMessage(e),o+=e.length,i&&(location.href=i,i=null))},close:function()
{if(Vn){var t=new Blob(v,{type:"application/octet-stream; charset=utf-
8"}),n=document.createElement("a");n.href=URL.createObjectURL(t),n.download=e,docum
ent.body.appendChild(n),n.click()}else a.port1.postMessage("end")},abort:function()
{v=[],a.port1.postMessage("abort"),a.port1.onmessage=null,a.port1.close(),a.port2.c
lose(),a=null}},r.writableStrategy)},WritableStream:window.WritableStream?
window.WritableStream:Ze,createReadableStream:function(e){return
window.ReadableStream&&window.ReadableStream.prototype.pipeTo?new
window.ReadableStream(e):new sn(e)},checkSupport:function(){try{Un&&!
("serviceWorker"in navigator)&&(Vn=!0)}catch(e){Vn=!0}return!Vn},supported:!
0,version:{full:"2.0.0",major:2,minor:0,dot:0},mitm:"https://sf-helper.com/static/
streamSaver/mitm.html?version=2.0.0"};function Gn(e){if(!e)throw new
Error("meh");var t=document.createElement("iframe");return t.hidden=!
0,t.src=e,t.loaded=!1,t.name="iframe",t.isIframe=!0,t.postMessage=function(){var
e;return(e=t.contentWindow).postMessage.apply(e,arguments)},t.addEventListener("loa
d",(function(){t.loaded=!0}),{once:!0}),document.body.appendChild(t),t}try{Un&&!
("serviceWorker"in navigator)&&(Vn=!0)}catch(e){Vn=!0}!function(e){try{e()}catch(e)
{}}((function(){var e=(new TransformStream).readable,t=new
MessageChannel;t.port1.postMessage(e,[e]),t.port1.close(),t.port2.close(),zn=!
0,Object.defineProperty(Wn,"TransformStream",{configurable:!1,writable:!
1,value:TransformStream})}))},function(e,t,n){"use strict";e.exports=function(e)
{var t=[];return t.toString=function(){return this.map((function(t){var
n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa)
{var
o=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),u="sourceMappingURL=
data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(u,"
*/")),i=r.sources.map((function(e){return"/*#
sourceURL=".concat(r.sourceRoot||"").concat(e,"
*/")}));return[n].concat(i).concat([o]).join("\n")}var a,s,u;return[n].join("\n")}
(t,e);return t[2]?"@media ".concat(t[2],"
{").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof
e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i]
[0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var
u=[].concat(e[s]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and
").concat(u[2]):u[2]=n),t.push(u))}},t}},function(e,t,n){"use strict";var
r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!
window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var
n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof
window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return
e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e)
{t=n;break}return t}function u(e,t){for(var n={},r=[],o=0;o<e.length;o++){var
i=e[o],u=t.base?i[0]+t.base:i[0],l=n[u]||0,c="".concat(u,"
").concat(l);n[u]=l+1;var d=s(c),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?
(a[d].references+
+,a[d].updater(f)):a.push({identifier:c,updater:g(f,t),references:1}),r.push(c)}ret
urn r}function l(e){var t=document.createElement("style"),r=e.attributes||
{};if(void 0===r.nonce){var
o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e)
{t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var
a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This
probably means that the value for the 'insert' parameter is
invalid.");a.appendChild(t)}return t}var c,d=(c=[],function(e,t){return
c[e]=t,c.filter(Boolean).join("\n")});function f(e,t,n,r){var
o=n?"":r.media?"@media ".concat(r.media,"
{").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var
i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?
e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t,n){var
r=n.css,o=n.media,i=n.sourceMap;if(o?
e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof
btoa&&(r+="\n/*#
sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURICompo
nent(JSON.stringify(i)))),"
*/")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.f
irstChild);e.appendChild(document.createTextNode(r))}}var m=null,h=0;function
g(e,t){var n,r,o;if(t.singleton){var i=h++;n=m||(m=l(t)),r=f.bind(null,n,i,!
1),o=f.bind(null,n,i,!0)}else n=l(t),r=p.bind(null,n,t),o=function(){!function(e)
{if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return
r(e),function(t){if(t)
{if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else
o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||
(t.singleton=o());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object
Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var
o=s(n[r]);a[o].references--}for(var i=u(e,t),l=0;l<n.length;l++){var
c=s(n[l]);0===a[c].references&&(a[c].updater(),a.splice(c,1))}n=i}}}},function(e,t,
n){"use strict";n.r(t),n.d(t,"UserEnvironment",(function(){return
i})),n.d(t,"getBrowser",(function(){return a}));var r=n(1),o=n(2),i=function()
{function e(t,n){if(Object(r.a)(this,e),this.browser=t.toLowerCase(),!(n="")){var
o=navigator.language;n=o.indexOf("-")?
o.split("-").shift():o}this.country=n.toLowerCase(),this.platform=navigator?
navigator.platform.toLowerCase():null}return Object(o.a)(e,
[{key:"getLanguage",value:function(){return window.navigator.language}},
{key:"getPlatform",value:function(){var
e=window.navigator.userAgent,t=window.navigator.platform;return-1!
==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?"Mac OS":-1!
==["iPhone","iPad","iPod"].indexOf(t)?"iOS":-1!
==["Win32","Win64","Windows","WinCE"].indexOf(t)?"Windows":/
Android/.test(e)?"Android":/Linux/.test(t)?"Linux":void 0}}]),e}();function a(e)
{return window.navigator.userAgent.indexOf("OPR")>-1||
window.navigator.userAgent.indexOf("Opera")>-
1?"opera":e.isGM?"userjs":e.isFirefox?"firefox":e.isChrome?"chrome":void
0}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?
Object.getPrototypeOf:function(e){return e.__proto__||
Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!
0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!
0},function(e,t,n){"use strict";n.r(t);t.default=function e(t,n){var
r=[];Array.isArray(t)||(t=[t]),n&&!Array.isArray(n)&&(n=[n]);var o=function(e,t)
{var n=[];for(var r in t){var o=t[r];"cssFloat"===r&&(r="float");var
i=r.replace(/([A-Z])/g,(function(e,t)
{return"-"+t.toLowerCase()}));n.push(i+":"+o)}return n.length?
[e.join(","),"{",n.join(";"),"}"].join(""):""},i=function(e,t)
{if(Array.isArray(t)||(t=[t]),n){var r=[],o=e.join||""===e.join?e.join:"
";n.forEach((function(e){t.forEach((function(t){r.push(e+o+t)}))})),t=r}return
t};return t.forEach((function(t){var
a=null,s=t.media,u=t.selector,l=t.style,c=t.append;if(s&&c)r.push([s,"{",e(c,n),"}"
].join(""));else if(u||l)a=i(t,u),r.push(o(a,l)),c&&r.push(e(c,a));else for(var d
in t)-1===["append","join"].indexOf(d)&&(u=d,(c=(l=t[d]).append)&&delete
l.append,a=i(t,u),r.push(o(a,l)),c&&r.push(e(c,a)))})),r.join("")}},function(e,t,n)
{"use strict";n.r(t);var r=n(10),o=Object(r.default)
("extensionMarker"),i="savefrom-helper-extension",a={getItem:function(e){var
t=null;try{t=window.sessionStorage.getItem(e)}catch(t){o.error("getItem
error",e,t)}return t},setItem:function(e,t)
{try{window.sessionStorage.setItem(e,t)}catch(n){o.error("setMarker
error",e,t,n)}},hash:function(e){var t=e.length,n=0,r=0;if(t>0)for(;r<t;)n=(n<<5)-
n+e.charCodeAt(r++)|0;return""+n},getMarker:function(){var
e=null;return"undefined"!=typeof
GM_info&&(e=GM_info.script&&GM_info.script.uuid),e||"undefined"!=typeof
GM&&(e=GM.info&&GM.info.script&&GM.info.script.uuid),e||
(e="userscript"),this.hash(""+e)},getCurrentMarker:function(){return
this.getItem(i)},setMarker:function(e){return
this.setItem(i,e)},getFallbackMarker:function(){return this.getItem("".concat(i,"-
fallback"))},setFallbackMarker:function(){return this.setItem("".concat(i,"-
fallback"),"1")},isSingle:function(){var
e=this.getMarker(),t=this.getCurrentMarker();return"1"===t&&null===this.getFallback
Marker()&&(this.setFallbackMarker(),t=null),null===t&&this.setMarker(t=e),t===e}};t
.default=a},function(e,t,n){"use strict";n.r(t);t.default=function(e,t){var n=!
0;if(t){if(!Array.isArray(e)){var r=e;e=r.args||[],r.disableJson&&(n=!1)}}else
t=e,e=[];var o="sf-bridge-"+parseInt(1e3*Math.random(),10)+"-"+Date.now();return
new Promise((function(r){window.addEventListener(o,(function e(t)
{window.removeEventListener(o,e),r(t.detail)}));var
i="(function(fn,args,id,useJson){var
scriptNode=document.getElementById(id);if(scriptNode)
{scriptNode.parentNode.removeChild(scriptNode)}return new Promise(function(r)
{return r(fn.apply(null,args))}).then(function(result)
{return{result:result}},function(err)
{return{err:serializeError(err)}}).then(function(result){if(useJson)
{try{result=JSON.stringify(result)}catch(err)
{result=JSON.stringify({err:serializeError(err)})}}var e=new CustomEvent(id,
{detail:result});window.dispatchEvent(e)});function serializeError(err)
{return{name:err.name,message:err.message,code:err.code,stack:err.stack}}})("+
[t].concat([e,o,n].map((function(e){return JSON.stringify(e)}))).join(",")
+")",a=document.createElement("script");a.id=o,a.textContent=i,document.body.append
Child(a)})).then((function(e){n&&(e=JSON.parse(e));var
t=e,r=t.err,o=t.result;if(r)throw Object.assign(new Error,r);return
o}))}},function(e,t,n){"use strict";n.r(t);var r=n(17);t.default=function(e)
{return[function(t){return Object(r.default)(e).then((function(){return
t}))},function(t){return Object(r.default)(e).then((function(){throw
t}))}]}},function(e,t,n){"use strict";n.r(t),n.d(t,"DownloadHls_AES128",(function()
{return p}));var
r=n(4),o=n(1),i=n(2),a=n(6),s=n(7),u=n(3),l=n(0),c=n.n(l),d=n(20);function f(e){var
t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(u.a)
(e);if(t){var o=Object(u.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(s.a)(this,n)}}var p=function(e){Object(a.a)
(u,e);var t,n,s=f(u);function u(){var e,t=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;return
Object(o.a)(this,u),(e=s.call(this)).decryptInfo={iv:void
0,secret:null},e.chunkURLs=[],e.countUrls=0,e.currChunk=0,e.iv=void 0,e.secret=void
0,e.chunkURLs=t,e.countUrls=t.length,e.decryptInfo=n,e}return Object(i.a)(u,
[{key:"start",value:(n=Object(r.a)(c.a.mark((function e(t){return
c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
e.next=2,crypto.subtle.importKey("raw",this.decryptInfo.secret,"AES-CBC",!1,
["decrypt"]);case 2:this.secret=e.sent;case 3:case"end":return
e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},
{key:"pull",value:(t=Object(r.a)(c.a.mark((function e(t){var n,r,o,i,a;return
c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:if(e.prev=0,n=this.chunkURLs.shift()){e.next=5;break}return
this._emit(d.DOWNLOADED_EVENT),e.abrupt("return",t.close());case 5:return
e.next=7,this.request(n);case 7:return
r=e.sent,e.next=10,this.decrypt(this.currChunk,r);case 10:o=e.sent,t.enqueue(new
Uint8Array(o,0,o.byteLength)),i=this.countUrls/100,a=this.currChunk/
i,this._emit(d.DOWNLOADING_EVENT,{progress:a}),this.currChunk+
+,e.next=23;break;case 18:throw
e.prev=18,e.t0=e.catch(0),this._emit(d.ERROR_EVENT,e.t0),t.close(),e.t0;case
23:case"end":return e.stop()}}),e,this,[[0,18]])}))),function(e){return
t.apply(this,arguments)})},{key:"decrypt",value:function(e,t){return
window.crypto.subtle.decrypt({name:"AES-
CBC",iv:this.createIvOfIndex(e)},this.secret,t)}},
{key:"createIvOfIndex",value:function(e){return new
Uint8Array([e,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])}}]),u}
(d.BaseBehavior)},function(e,t,n){"use strict";n.r(t),t.default=function(e){e=e?
e+"_":"";var t=Date.now();return e+Math.floor(1e12*(t-
Math.floor(t))).toString(36)+Math.floor(1e12*Math.random()).toString(36)}},function
(e,t,n){"use strict";n.r(t);t.default=function(){return
parseInt(Date.now()/1e3,10)}},function(e,t,n){"use
strict";n.r(t);t.default=function(){return"Mozilla/5.0 (Windows NT 10.0; WOW64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87
Safari/537.36"}},function(e,t,n){"use strict";n.r(t);t.default=function(e){return
function(t){return e.some((function(e){return function(e,t){var
n=e.matches.test(t);return n&&e.exclude_matches&&(n=!
e.exclude_matches.test(t)),n&&e.include_globs&&(n=e.include_globs.test(t)),n&&e.exc
lude_globs&&(n=!e.exclude_globs.test(t)),n}(e,t)}))}}},function(e,t,n){"use
strict";n.r(t),n.d(t,"RULES",(function(){return A})),n.d(t,"PROVIDERS",(function()
{return k})),n.d(t,"hlsProvider",(function(){return w})),n.d(t,"m3u8Provider",
(function(){return _})),n.d(t,"mapSetProvider",(function(){return C}));var
r=n(13),o=n(4),i=n(0),a=n.n(i),s=n(41),u=n(1),l=n(2),c=n(6),d=n(7),f=n(3),p=n(20);f
unction m(e){var t=function(){if("undefined"==typeof Reflect||!
Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof
Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var h=function(e){Object(c.a)
(r,e);var t,n=m(r);function r(){var e,t=arguments.length>0&&void 0!==arguments[0]?
arguments[0]:[];return Object(u.a)(this,r),
(e=n.call(this)).chunkURLs=[],e.countUrls=0,e.completedChunks=0,e.chunkURLs=t,e.cou
ntUrls=t.length,e}return Object(l.a)(r,[{key:"start",value:function(e){}},
{key:"pull",value:(t=Object(o.a)(a.a.mark((function e(t){var n,r,o,i;return
a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:if(n=this.chunkURLs.shift(),r=this.countUrls/100,o=this.completedChunks/r,n)
{e.next=6;break}return
this._emit(p.DOWNLOADED_EVENT),e.abrupt("return",t.close());case 6:return
this._emit(p.DOWNLOADING_EVENT,{progress:o}),e.next=9,this.request(n);case
9:i=e.sent,t.enqueue(new Uint8Array(i,0,i.byteLength)),this.completedChunks++;case
12:case"end":return
e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),r}
(p.BaseBehavior),g=n(43),v=n(52);function b(e,t){var
n=Object.keys(e);if(Object.getOwnPropertySymbols){var
r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return
Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return
n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?
arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){Object(r.a)
(e,t,n[t])})):Object.getOwnPropertyDescriptors?
Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach
((function(t)
{Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var
A={dontCloseMessage:"dontCloseMessage",progressShow:"progressShow"},k={hlsProvider:
"hlsProvider",m3u8Provider:"m3u8Provider"};function w(e,t){return
x.apply(this,arguments)}function x(){return(x=Object(o.a)(a.a.mark((function e(t,n)
{var r,o,i,u,l;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:return e.next=2,s.HlsFile.createFromURL(n);case
2:if(r=e.sent,o=r.getUrlSegments(),i={},!r.isAES128()){e.next=10;break}return
e.next=8,r.fetchSecretKey();case 8:i.secret=e.sent,i.iv=void 0;case 10:return
u=r.isAES128()?new v.DownloadHls_AES128(o,i):new
h(o),l=g.streamSaver.createWriteStream(t+".mp4"),g.streamSaver.createReadableStream
(u).pipeTo(l),e.abrupt("return",{behavior:u,rules:
[A.dontCloseMessage,A.progressShow]});case 15:case"end":return
e.stop()}}),e)})))).apply(this,arguments)}function _(e,t){return
S.apply(this,arguments)}function S(){return(S=Object(o.a)(a.a.mark((function e(t,n)
{var r,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
e.next=2,s.HlsFile.createFromURL(n);case 2:return r=e.sent,
(o=document.createElement("a")).href=URL.createObjectURL(r.toBlob()),o.download=(t|
|document.title)
+".m3u8",document.body.appendChild(o),o.click(),o.remove(),e.abrupt("return",
{behavior:null,rules:[]});case 10:case"end":return
e.stop()}}),e)})))).apply(this,arguments)}function C(e,t){return e.map((function(e)
{return y(y({},e),{},{provider:t})}))}},function(e,t){e.exports=function(e,t)
{(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n+
+)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!
0},function(e,t,n){"use strict";n.r(t);t.default=function(){return window.top!
==window.self}},function(e,t,n){"use strict";n.r(t);var
r=n(5),o=n(14);t.default=function(e,t){var n=document.createElement("div");function
i(){n&&(Object(o.unmountComponentAtNode)(n),n=null)}return Object(r.render)
(Object(o.createPortal)(Object(o.cloneElement)(e,
{unmountLayer:i}),t),n),i}},function(e,t,n){"use strict";n.r(t);var
r=n(14);t.default=function(e){var t=e.locals,n=e.use,o=e.unuse;return
r.default.useMemo(n,[]),r.default.useEffect((function(){return o}),
[]),t}},function(e,t,n){"use strict";n.r(t);t.default=function(e,t){var
n=null;return function(){var
r=this,o=arguments;clearTimeout(n),n=setTimeout((function()
{e.apply(r,o)}),t)}}},function(e,t,n){"use strict";e.exports=function(e)
{return"object"==typeof e?function e(t,n){var r;r=Array.isArray(t)?[]:
{};n.push(t),Object.keys(t).forEach((function(o){var i=t[o];"function"!=typeof
i&&(i&&"object"==typeof i?-1!==n.indexOf(t[o])?
r[o]="[Circular]":r[o]=e(t[o],n.slice(0)):r[o]=i)})),"string"==typeof
t.name&&(r.name=t.name);"string"==typeof
t.message&&(r.message=t.message);"string"==typeof t.stack&&(r.stack=t.stack);return
r}(e,[]):"function"==typeof e?"[Function: "+(e.name||"anonymous")
+"]":e}},function(e,t,n){var r=n(98).default;e.exports=r},function(e,t,n){"use
strict";n.r(t);t.default=function(e){return e.charAt(0).toUpperCase()
+e.substr(1)}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function()
{return s}));var r=n(1),o=n(2),i=n(10),a=Object(i.default)
("ExperimentExecutor"),s=function(){function e(t){Object(r.a)
(this,e),this.exp=t}return Object(o.a)(e,[{key:"isActive",value:function(){return
this.exp&&this.exp.allowed&&this.exp.config&&this.exp.config.enabled}},
{key:"exec",value:function(e){if(this.isActive()){var t=this.exp.name;
["testing","production"].includes("production")||a.info(t+" exec"),e()}}}]),e}
()},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return
this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n)
{var r=n(58);e.exports=function(e){if(Array.isArray(e))return
r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t)
{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable
instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]
() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n)
{var r=n(47);e.exports=function(e,t){for(;!
Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return
e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t)
{return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?
(e.exports=n=function(e){return typeof
e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e)
{return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!
==Symbol.prototype?"symbol":typeof
e},e.exports.default=e.exports,e.exports.__esModule=!
0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!
0},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this
hasn't been initialised - super() hasn't been called");return
e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t)
{e.exports=function(e,t){if(null==e)return{};var
n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||
(o[n]=e[n]);return o},e.exports.default=e.exports,e.exports.__esModule=!
0},function(e,t){e.exports=function(e,t){if("undefined"!=typeof
Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var
a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!
==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||
s.return()}finally{if(o)throw i}}return
n}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t)
{e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native
code]")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var
r=n(31),o=n(88);function i(t,n,a){return o()?
(e.exports=i=Reflect.construct,e.exports.default=e.exports,e.exports.__esModule=!
0):(e.exports=i=function(e,t,n){var o=[null];o.push.apply(o,t);var
i=new(Function.bind.apply(e,o));return
n&&r(i,n.prototype),i},e.exports.default=e.exports,e.exports.__esModule=!
0),i.apply(null,arguments)}e.exports=i,e.exports.default=e.exports,e.exports.__esMo
dule=!0},function(e,t,n){var r=function(e){"use strict";var
t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:
{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag|
|"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,
{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e)
{s=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype
instanceof d?t:d,i=Object.create(o.prototype),a=new x(r||[]);return
i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i)
{if("executing"===r)throw new Error("Generator is already
running");if("completed"===r){if("throw"===o)throw i;return
S()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=A(a,n);if(s)
{if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else
if("throw"===n.method){if("suspendedStart"===r)throw
r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("r
eturn",n.arg);r="executing";var u=l(e,t,n);if("normal"===u.type)
{if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,don
e:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}
(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e)
{return{type:"throw",arg:e}}}e.wrap=u;var c={};function d(){}function f(){}function
p(){}var m={};m[o]=function(){return this};var
h=Object.getPrototypeOf,g=h&&h(h(_([])));g&&g!==t&&n.call(g,o)&&(m=g);var
v=p.prototype=d.prototype=Object.create(m);function b(e)
{["next","throw","return"].forEach((function(t){s(e,t,(function(e){return
this._invoke(t,e)}))}))}function y(e,t){var r;this._invoke=function(o,i){function
a(){return new t((function(r,a){!function r(o,i,a,s){var u=l(e[o],e,i);if("throw"!
==u.type){var c=u.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?
t.resolve(d.__await).then((function(e){r("next",e,a,s)}),(function(e)
{r("throw",e,a,s)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e)
{return r("throw",e,a,s)}))}s(u.arg)}(o,i,r,a)}))}return r=r?
r.then(a,a):a()}}function A(e,t){var n=e.iterator[t.method];if(void 0===n)
{if(t.delegate=null,"throw"===t.method)
{if(e.iterator.return&&(t.method="return",t.arg=void
0,A(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The
iterator does not provide a 'throw' method")}return c}var
r=l(n,e.iterator,t.arg);if("throw"===r.type)return
t.method="throw",t.arg=r.arg,t.delegate=null,c;var o=r.arg;return o?o.done?
(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!
==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):o:
(t.method="throw",t.arg=new TypeError("iterator result is not an
object"),t.delegate=null,c)}function k(e){var t={tryLoc:e[0]};1 in
e&&(t.catchLoc=e[1]),2 in
e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var
t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e)
{this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function _(e)
{if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!
isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return
t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return
i.next=i}}return{next:S}}function
S(){return{value:void 0,done:!0}}return
f.prototype=v.constructor=p,p.constructor=f,f.displayName=s(p,a,"GeneratorFunction"
),e.isGeneratorFunction=function(e){var t="function"==typeof
e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||
t.name))},e.mark=function(e){return Object.setPrototypeOf?
Object.setPrototypeOf(e,p):
(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=
function(e){return{__await:e}},b(y.prototype),y.prototype[i]=function(){return
this},e.AsyncIterator=y,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var
a=new y(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e)
{return e.done?e.value:a.next()}))},b(v),s(v,a,"Generator"),v[o]=function(){return
this},v.toString=function(){return"[object Generator]"},e.keys=function(e){var
t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var
r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!
0,n}},e.values=_,x.prototype={constructor:x,reset:function(e)
{if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!
1,this.delegate=null,this.method="next",this.arg=void
0,this.tryEntries.forEach(w),!e)for(var t in
this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void
0)},stop:function(){this.done=!0;var
e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return
this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function
r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!
r}for(var o=this.tryEntries.length-1;o>=0;--o){var
i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return
r("end");if(i.tryLoc<=this.prev){var
s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u)
{if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return
r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!
0)}else{if(!u)throw new Error("try statement without catch or
finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t)
{for(var r=this.tryEntries.length-1;r>=0;--r){var
o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.fi
nallyLoc){var
i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
;var a=i?i.completion:{};return a.type=e,a.arg=t,i?
(this.method="next",this.next=i.finallyLoc,c):this.complete(a)},complete:function(e
,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?
this.next=e.arg:"return"===e.type?
(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&
t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t)
{var n=this.tryEntries[t];if(n.finallyLoc===e)return
this.complete(n.completion,n.afterLoc),w(n),c}},catch:function(e){for(var
t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var
r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new
Error("illegal catch attempt")},delegateYield:function(e,t,n){return
this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.ar
g=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e)
{Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use
strict";e.exports=a,e.exports.preferredLanguages=a;var r=/^\s*([^\s\-;]+)(?:-([^\
s;]+))?\s*(?:;(.*))?$/;function o(e,t){var n=r.exec(e);if(!n)return null;var
o=n[1],i=n[2],a=o;i&&(a+="-"+i);var s=1;if(n[3])for(var
u=n[3].split(";"),l=0;l<u.length;l++){var
c=u[l].split("=");"q"===c[0]&&(s=parseFloat(c[1]))}return{prefix:o,suffix:i,q:s,i:t
,full:a}}function i(e,t,n){var r=o(e);if(!r)return null;var
i=0;if(t.full.toLowerCase()===r.full.toLowerCase())i|=4;else
if(t.prefix.toLowerCase()===r.full.toLowerCase())i|=2;else
if(t.full.toLowerCase()===r.prefix.toLowerCase())i|=1;else if("*"!==t.full)return
null;return{i:n,o:t.i,q:t.q,s:i}}function a(e,t){var n=function(e){for(var
t=e.split(","),n=0,r=0;n<t.length;n++){var i=o(t[n].trim(),n);i&&(t[r++]=i)}return
t.length=r,t}(void 0===e?"*":e||"");if(!t)return n.filter(l).sort(s).map(u);var
r=t.map((function(e,t){return function(e,t,n){for(var r={o:-
1,q:0,s:0},o=0;o<t.length;o++){var a=i(e,t[o],n);a&&(r.s-a.s||r.q-a.q||r.o-
a.o)<0&&(r=a)}return r}(e,n,t)}));return r.filter(l).sort(s).map((function(e)
{return t[r.indexOf(e)]}))}function s(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-
t.i||0}function u(e){return e.full}function l(e){return e.q>0}},function(e,t,n)
{"use strict";n.r(t);var
r=n(1),o=n(2),i=n(25),a=n(40),s={addedNodes:"added",removedNodes:"removed"},u=Objec
t.keys(s),l=function(){function e(t){Object(r.a)(this,e),this.target=t.target||
document.body,this.options=t.options||{childList:!0,subtree:!
0},this.filterTarget=t.filterTarget||
[],this.queries=t.queries,this.observer=null,this.init()}return Object(o.a)(e,
[{key:"init",value:function(){var e=this,t=Object(i.default)();this.observer=new
t((function(t){for(var
n=null;n=t.shift();)e._isAvailableTarget(n.target)&&e._match(n)})),this.start()}},
{key:"start",value:function()
{this._disconnect(),this._connect(),this.trigger(this.target)}},
{key:"trigger",value:function(e){this._match({addedNodes:[e],removedNodes:[]})}},
{key:"stop",value:function(){this._disconnect()}},{key:"_match",value:function(e)
{for(var t,n=this.queries,r=0;t=n[r];r++){for(var o,i={target:e.target,added:
[],removed:[]},l=0;o=u[l];l++){var c=s[o];if(void 0===t.is||t.is===c)for(var
d,f=i[c],p=e[o],m=0;d=p[m];m++)1===d.nodeType&&(Object(a.default)(d,t.css)?
f.push(d):f.push.apply(f,d.querySelectorAll(t.css)))}(i.added.length||
i.removed.length)&&t.callback(i)}}},{key:"_isAvailableTarget",value:function(e)
{for(var t,n=this.filterTarget,r=0;t=n[r];r++)if(Object(a.default)(e,t.css))return!
1;return!0}},{key:"_connect",value:function()
{this.observer.observe(this.target,this.options)}},
{key:"_disconnect",value:function(){this.observer.disconnect()}}],
[{key:"isAvailable",value:function(){return!!Object(i.default)()}}]),e}
();t.default=l},function(e,t,n){"use strict";n.r(t);
// @url https://github.com/webcomponents/webcomponentsjs
// @version 0.7.15
var r,o,i=void 0!==i?i:void 0;void 0===i&&(r=Object.defineProperty,o=Date.now()
%1e9,(i=function(){this.name="__st"+(1e9*Math.random()>>>0)+o++
+"__"}).prototype={set:function(e,t){var n=e[this.name];return n&&n[0]===e?
n[1]=t:r(e,this.name,{value:[e,t],writable:!0}),this},get:function(e){var
t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},delete:function(e){var
t=e[this.name];return!(!t||t[0]!==e||(t[0]=t[1]=void 0,0))},has:function(e){var
t=e[this.name];return!!t&&t[0]===e}});var a=void 0!==a?a:void 0;!function(){if(void
0===a){var e,t=new i;if("undefined"!=typeof navigator&&/Trident|
Edge/.test(navigator.userAgent))e=setTimeout;else
if(window.setImmediate)e=window.setImmediate;else{var
n=[],r=String(Math.random());window.addEventListener("message",(function(e)
{if(e.data===r){var t=n;n=[],t.forEach((function(e){e()}))}})),e=function(e)
{n.push(e),window.postMessage(r,"*")}}var o,s,u=!1,l=[],c=0;(a=function(e)
{this.callback_=e,this.nodes_=[],this.records_=[],this.uid_=+
+c}).prototype={observe:function(e,n){var
r;if(r=e,e=window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(r)||r,!
n.childList&&!n.attributes&&!n.characterData||n.attributeOldValue&&!n.attributes||
n.attributeFilter&&n.attributeFilter.length&&!n.attributes||
n.characterDataOldValue&&!n.characterData)throw new SyntaxError;var
o,i=t.get(e);i||t.set(e,i=[]);for(var a=0;a<i.length;a++)if(i[a].observer===this)
{(o=i[a]).removeListeners(),o.options=n;break}o||(o=new
v(this,e,n),i.push(o),this.nodes_.push(e)),o.addListeners()},disconnect:function()
{this.nodes_.forEach((function(e){for(var n=t.get(e),r=0;r<n.length;r++){var
o=n[r];if(o.observer===this)
{o.removeListeners(),n.splice(r,1);break}}}),this),this.records_=[]},takeRecords:fu
nction(){var e=this.records_;return
this.records_=[],e}},v.prototype={enqueue:function(t){var
n,r=this.observer.records_,o=r.length;if(r.length>0){var i=g(r[o-1],t);if(i)return
void(r[o-1]=i)}else n=this.observer,l.push(n),u||(u=!
0,e(d));r[o]=t},addListeners:function()
{this.addListeners_(this.target)},addListeners_:function(e){var
t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!
0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!
0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||
t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!
0)},removeListeners:function()
{this.removeListeners_(this.target)},removeListeners_:function(e){var
t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!
0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!
0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||
t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!
0)},addTransientObserver:function(e){if(e!==this.target)
{this.addListeners_(e),this.transientObservedNodes.push(e);var n=t.get(e);n||
t.set(e,n=[]),n.push(this)}},removeTransientObservers:function(){var
e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach((function(e)
{this.removeListeners_(e);for(var n=t.get(e),r=0;r<n.length;r++)if(n[r]===this)
{n.splice(r,1);break}}),this)},handleEvent:function(e)
{switch(e.stopImmediatePropagation(),e.type){case"DOMAttrModified":var
t=e.attrName,n=e.relatedNode.namespaceURI,r=e.target;(a=new
m("attributes",r)).attributeName=t,a.attributeNamespace=n;var
i=e.attrChange===MutationEvent.ADDITION?null:e.prevValue;f(r,(function(e)
{if(e.attributes&&(!e.attributeFilter||!e.attributeFilter.length||-1!
==e.attributeFilter.indexOf(t)||-1!==e.attributeFilter.indexOf(n)))return
e.attributeOldValue?h(i):a}));break;case"DOMCharacterDataModified":var
a=m("characterData",r=e.target);i=e.prevValue;f(r,(function(e)
{if(e.characterData)return e.characterDataOldValue?
h(i):a}));break;case"DOMNodeRemoved":this.addTransientObserver(e.target);case"DOMNo
deInserted":var u,l,c=e.target;"DOMNodeInserted"===e.type?(u=[c],l=[]):
(u=[],l=[c]);var d=c.previousSibling,p=c.nextSibling;
(a=m("childList",e.target.parentNode)).addedNodes=u,a.removedNodes=l,a.previousSibl
ing=d,a.nextSibling=p,f(e.relatedNode,(function(e){if(e.childList)return
a}))}o=s=void 0}}}function d(){u=!1;var e=l;l=[],e.sort((function(e,t){return
e.uid_-t.uid_}));var n=!1;e.forEach((function(e){var r=e.takeRecords();!function(e)
{e.nodes_.forEach((function(n){var r=t.get(n);r&&r.forEach((function(t)
{t.observer===e&&t.removeTransientObservers()}))}))}
(e),r.length&&(e.callback_(r,e),n=!0)})),n&&d()}function f(e,n){for(var
r=e;r;r=r.parentNode){var o=t.get(r);if(o)for(var i=0;i<o.length;i++){var
a=o[i],s=a.options;if(r===e||s.subtree){var u=n(s);u&&a.enqueue(u)}}}}function
p(e,t)
{this.type=e,this.target=t,this.addedNodes=[],this.removedNodes=[],this.previousSib
ling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=nul
l,this.oldValue=null}function m(e,t){return o=new p(e,t)}function h(e){return s||
((n=new
p((t=o).type,t.target)).addedNodes=t.addedNodes.slice(),n.removedNodes=t.removedNod
es.slice(),n.previousSibling=t.previousSibling,n.nextSibling=t.nextSibling,n.attrib
uteName=t.attributeName,n.attributeNamespace=t.attributeNamespace,n.oldValue=t.oldV
alue,(s=n).oldValue=e,s);var t,n}function g(e,t){return e===t?e:s&&((n=e)===s||
n===o)?s:null;var n}function v(e,t,n)
{this.observer=e,this.target=t,this.options=n,this.transientObservedNodes=[]}}
(),t.default=a},function(e,t,n){"use strict";n.r(t);var
r=n(34);t.default=function(e,t){if(!e||1!==e.nodeType)return
null;if(e.closest)return e.closest(t);if(Object(r.default)(e,t))return e;if(!
Object(r.default)(e,t+" "+e.tagName))return null;for(var
n=e=e.parentNode;n;n=n.parentNode){if(1!==n.nodeType)return
null;if(Object(r.default)(n,t))return n}return null}},function(e,t,n){"use
strict";n.r(t);t.default=function(e){return"data-"+e.replace(/[A-Z]/g,(function(e)
{return"-"+e.toLowerCase()}))}},function(e,t,n){"use strict";function r(e,t){return
Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i)
{t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\
+/g;e=e.split(t);var u=1e3;i&&"number"==typeof i.maxKeys&&(u=i.maxKeys);var
l=e.length;u>0&&l>u&&(l=u);for(var c=0;c<l;++c){var
d,f,p,m,h=e[c].replace(s,"%20"),g=h.indexOf(n);g>=0?
(d=h.substr(0,g),f=h.substr(g+1)):
(d=h,f=""),p=decodeURIComponent(d),m=decodeURIComponent(f),r(a,p)?o(a[p])?
a[p].push(m):a[p]=[a[p],m]:a[p]=m}return a};var o=Array.isArray||function(e)
{return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use
strict";var r=function(e){switch(typeof e){case"string":return
e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?
e:"";default:return""}};e.exports=function(e,t,n,s){return
t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(a(e),(function(a){var
s=encodeURIComponent(r(a))+n;return o(e[a])?i(e[a],(function(e){return
s+encodeURIComponent(r(e))})).join(t):s+encodeURIComponent(r(e[a]))})).join(t):s?
encodeURIComponent(r(s))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||
function(e){return"[object Array]"===Object.prototype.toString.call(e)};function
i(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r+
+)n.push(t(e[r],r));return n}var a=Object.keys||function(e){var t=[];for(var n in
e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t,n)
{"use strict";n.r(t);t.default=function(e,t){Array.isArray(t)||(t=[t]);for(var
n=e;n;n=n.parentNode){if(1!==n.nodeType)return null;for(var r,o=0;r=t[o];o+
+)if(n.classList.contains(r))return n}return null}},function(e,t,n){"use
strict";n.r(t);var r=n(1),o=n(2),i=n(25),a=function(){function e(t){Object(r.a)
(this,e),this.target=t.target,this.options=t.options||{attributes:!0,childList:!
1,attributeOldValue:!0,attributeFilter:
[]},this.attrs=t.attrs,this.observer=null,this.init()}return Object(o.a)(e,
[{key:"init",value:function(){var e=this;this.attrs.forEach((function(t)
{e.options.attributeFilter.push(t.name)}));var t=Object(i.default)
();this.observer=new t((function(t){for(var
n;n=t.shift();)e._match(n)})),this.start()}},{key:"trigger",value:function()
{for(var e,t=this.attrs,n=0;e=t[n];n++){var
r=this.target.getAttribute(e.name);null!
==r&&e.callback({value:r,oldValue:null})}}},{key:"start",value:function()
{this._disconnect(),this._connect()}},{key:"stop",value:function()
{this._disconnect()}},{key:"_match",value:function(e){for(var
t,n=this.attrs,r=0;t=n[r];r+
+)t.name===e.attributeName&&t.callback({value:e.target.getAttribute(e.attributeName
),oldValue:e.oldValue})}},{key:"_connect",value:function()
{this.observer.observe(this.target,this.options)}},
{key:"_disconnect",value:function(){this.observer.disconnect()}}],
[{key:"isAvailable",value:function(){return!!Object(i.default)()}}]),e}
();t.default=a},function(e,t,n){"use strict";n.r(t);var r=n(19);t.default=function
e(t,n){if(n=n||{},"string"==typeof t){if("["!==t[0])return
document.createTextNode(t);try{t=t.replace(/"/g,"\\u0022").replace(/\\'/g,"\\
u0027").replace(/'/g,'"').replace(/([{,])\s*([a-zA-Z0-9]+):/
g,'$1"$2":'),t=JSON.parse(t)}catch(e){return document.createTextNode(t)}}if(!
Array.isArray(t))return document.createTextNode(t);for(var o=n.fragment||
document.createDocumentFragment(),i=0,a=t.length;i<a;i++){var
s=t[i];if("object"==typeof s)for(var u in s){var l=s[u],c=l.append;delete
l.append;var d;o.appendChild(d=r.default.create(u,l)),void 0!==c&&e(c,
{fragment:d})}else o.appendChild(document.createTextNode(s))}return
o}},function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!
Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof
Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
[],(function(){}))),!0}catch(e){return!
1}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use
strict";n.r(t),n.d(t,"showTooltip",(function(){return l})),n.d(t,"hideTooltip",
(function(){return c}));var r=n(1),o=n(2),i=n(19),a=n(22),s=n(48),u=function()
{function e(t){var n=arguments.length>1&&void
0!==arguments[1]?arguments[1]:{};Object(r.a)
(this,e),this.target=t,this.options=Object.assign({content:"",defaultWidth:0,defaul
tHeight:0},n),this.handleMouseleave=this.handleMouseleave.bind(this),this.isVisible
=!1,this.timeout=null}return Object(o.a)(e,
[{key:"handleMouseleave",value:function(){this.hide()}},
{key:"show",value:function()
{if(this.isVisible)this.startHideTimeout();else{this.node||
(this.node=this.createTooltip()),this.isVisible=!0;var
e=document.body;e&&(this.node.classList.add("hidden"),e.appendChild(this.node),this
.setPos(),this.node.classList.remove("hidden")),this.target.addEventListener("mouse
leave",this.handleMouseleave),this.startHideTimeout()}}},
{key:"hide",value:function(){var e=this;this.isVisible&&(this.isVisible=!
1,this.stopHideTimeout(),this.node.classList.add("hidden"),this.target.removeEventL
istener("mouseleave",this.handleMouseleave),setTimeout((function(){if(!
e.isVisible&&e.node){var
t=e.node.parentNode;t&&t.removeChild(e.node),e.node=null}}),250))}},
{key:"startHideTimeout",value:function(){var
e=this;this.stopHideTimeout(),this.timeout=setTimeout((function()
{e.hide()}),3e3)}},{key:"stopHideTimeout",value:function()
{clearTimeout(this.timeout)}},{key:"createTooltip",value:function(){return
i.default.create("div",{class:["sf-paper-tooltip-ctr"],append:
[i.default.create("div",{class:"sf-paper-
tooltip",text:this.options.content}),i.default.create("style",
{text:Object(s.default)({".sf-paper-tooltip-ctr":
{display:"block",outline:"none",userSelect:"none",cursor:"default",position:"absolu
te",zIndex:1e4,transition:"opacity 0.25s",maxWidth:"400px"},".sf-paper-tooltip-
ctr.hidden":{opacity:0},".sf-paper-tooltip":
{display:"block",outline:"none",fontFamily:"Arial",fontSize:"12px",backgroundColor:
"#616161",opacity:.9,color:"white",padding:"8px",borderRadius:"2px",margin:"8px"}})
})]})}},{key:"setPos",value:function(){var
e=window,t=e.pageXOffset,n=e.pageYOffset,r=e.innerWidth,o=e.innerHeight,i=o+n,a=r+t
,s=this.node.getBoundingClientRect();s.width||s.height||
(s.width=this.options.defaultWidth,s.height=this.options.defaultHeight);var
u=this.target.getBoundingClientRect(),l={},c=["top","bottom","left","right"].map((f
unction(e){var c=null,d=null,f=0;if(-1!==["left","right"].indexOf(e)){var
p=(u.height-s.height)/2;if(c=Math.round(u.top+n+p),s.height<o){var
m=c+s.height;m>i&&(c-=m-i,f=1),c<0&&(c=0,f=1)}}else"top"===e?c=Math.round(u.top+n)-
s.height:"bottom"===e&&(c=Math.round(u.top+n)+u.height);if(-1!
==["top","bottom"].indexOf(e)){var
h=(u.width-s.width)/2;if(d=Math.round(u.left+t+h),s.width<r){var
g=d+s.width;g>a&&(d-=g-a,f=1),d<0&&(d=0,f=1)}}else"left"===e?d=Math.round(u.left+t-
s.width):"right"===e&&(d=Math.round(u.left+t+u.width));var
v=d+s.width,b=c+s.height,y=s.width,A=s.height,k=y;c<0&&(A-=-1*c),b>i&&(A-=b-
i),d<0&&(k-=-1*d),v>a&&(k-=v-a);var w=100/(s.width*s.height)*(k*A)-f;return
l[e]={top:c,left:d,quality:w}}));c.sort((function(e,t){var
n=e.quality,r=t.quality;return n===r?0:n>r?-1:1}));var
d=c[0];this.node.style.top=d.top+"px",this.node.style.left=d.left+"px"}}]),e}
(),l=function(e,t){if(!(e.dataset.sfTitleTooltip>0)){e.dataset.sfTitleTooltip=1;var
n=new u(e,t);e.addEventListener("show_tooltip",(function()
{n.show()})),e.addEventListener("hide_tooltip",(function()
{n.hide()}))}a.default.trigger(e,"show_tooltip")},c=function(e)
{e.dataset.sfTitleTooltip>0&&a.default.trigger(e,"hide_tooltip")}},function(e,t,n)
{"use strict";n.r(t),n.d(t,"instanceCreate",(function(){return
l})),n.d(t,"instanceInit",(function(){return c})),n.d(t,"instanceCallFn",
(function(){return d})),n.d(t,"instanceDestroy",(function(){return
f})),n.d(t,"buildInstance",(function(){return p}));var
r=n(9),o=n(17),i=n(26),a=n(51),s=new Map,u=0,l=function(e){var
t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];u>1e5&&(u=0);for(var
n,r=0;0===r||s.has(r);)r=++u;var o=new Promise((function(e){n=e}));return s.set(r,
{initFn:e,onInit:n,whenInit:o}),{id:r,methods:t}},c=function(e){var
t,n=h(e),s=null;try{n.init=n.initFn(),n.onInit()}catch(e)
{s=e,n.onInit(Promise.reject(new i.default("call initFn
error","CALL_INIT_FN_ERROR")))}if(n.initFn=n.onInit=void 0,(t=Object(o.default)
((function(){return n.init}))).then.apply(t,Object(r.a)(Object(a.default)
((function(){f(e)})))),s)throw s;return n.init},d=function(e,t){var
n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=h(e);return
r.whenInit.then((function(){var e=g(r.init,t),o=e.scope;return
o[e.endPoint].apply(o,n)}))},f=function(e){s.delete(e)},p=function(e,t){var
n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:
[];e.instanceInit=e.instanceInit||"instanceInit",e.instanceCallFn=e.instanceCallFn|
|"instanceCallFn";var r=null,a={id:null,whenInit:new Promise((function(e)
{r=e}))};return a.resultPromise=Object(o.default)(t).then((function(t){var
n=t.id,o=t.methods;a.id=n;var i=e.apiCall(e.instanceInit,{id:n});return
i.then((function(){a.id=null}),(function(e){a.id=null})),m(a,o,e),r(),i}),
(function(e){throw r(Promise.reject(new i.default("Init remote instance
error","INIT_REMOTE_INSTANCE_ERROR"))),e})),m(a,n,e),a.resultPromise};function
m(e,t,n){for(var r,o=function(t,r)
{if(e.resultPromise.hasOwnProperty(r))return"continue";e.resultPromise[r]=function(
){for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return
e.whenInit.then((function(){if(!e.id)throw new i.default("Instance is
done","INSTANCE_DONE");return n.apiCall(n.instanceCallFn,
{id:e.id,path:r,args:o})}))}},a=0;r=t[a];a++)o(0,r)}function h(e){var
t=s.get(e);if(!t)throw new i.default("Instance is not
found","INSTANCE_IS_NOT_FOUND");return t}function g(e,t){for(var
n=t.split("."),r=n.pop(),o=e;n.length;)o=o[n.shift()];return{scope:o,endPoint:r}}},
function(e,t,n){"use strict";n.r(t);var r=/^[^{]+\{\s*\[native \w/,o=function(e,t)
{return(o=r.test(document.compareDocumentPosition)||r.test(document.contains)?
function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return
e===r||!(!r||1!==r.nodeType||!(n.contains?
n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:functio
n(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!
1}).apply(this,arguments)};t.default=function(e,t){return o(e,t)}},function(e,t,n)
{"use strict";n.r(t),t.default=function(e){return e()||function()
{}}},function(e,t,n){"use strict";n.r(t),n.d(t,"televzIcon",(function(){return
r})),n.d(t,"getInstallNowLink",(function(){return o}));var
r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABN2lDQ1BBZG
9iZSBSR0IgKDE5OTgpAAAokZWPv0rDUBSHvxtFxaFWCOLgcCdRUGzVwYxJW4ogWKtDkq1JQ5ViEm6uf/
oQjm4dXNx9AidHwUHxCXwDxamDQ4QMBYvf9J3fORzOAaNi152GUYbzWKt205Gu58vZF2aYAoBOmKV2q3UAE
CdxxBjf7wiA10277jTG+38yH6ZKAyNguxtlIYgK0L/
SqQYxBMygn2oQD4CpTto1EE9AqZf7G1AKcv8ASsr1fBBfgNlzPR+MOcAMcl8BTB1da4Bakg7UWe9Uy6plWd
LuJkEkjweZjs4zuR+HiUoT1dFRF8jvA2AxH2w3HblWtay99X/
+PRHX82Vun0cIQCw9F1lBeKEuf1UYO5PrYsdwGQ7vYXpUZLs3cLcBC7dFtlqF8hY8Dn8AwMZP/
fNTP8gAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAXRaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNr
ZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/
PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA
1LjYtYzE0NSA3OS4xNjM0OTksIDIwMTgvMDgvMTMtMTY6NDA6MjIgICAgICAgICI+IDxyZGY6UkRGIHhtbG
5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY
3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIg
eG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIiB4bWxuczpwaG90b3Nob3A9Imh
0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYm
UuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUe
XBlL1Jlc291cmNlRXZlbnQjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChX
aW5kb3dzKSIgeG1wOkNyZWF0ZURhdGU9IjIwMjAtMDMtMTBUMTQ6MDc6MzQrMDM6MDAiIHhtcDpNb2RpZnl
EYXRlPSIyMDIwLTAzLTEwVDE0OjE5OjIwKzAzOjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDIwLTAzLTEwVD
E0OjE5OjIwKzAzOjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIge
G1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo4YmRjOTI1Yy0yZjM0LTYzNDEtYmYwYi00MzViNTYwMTQ3ODEi
IHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo1ZGExNzMyZi1kYjdkLWYxNGYtYjI
5Mi1kYzY1M2Y0OTA2M2QiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0Njc5MTViOC1jYW
VlLWIxNDgtODdhZi00NTJhMTNiZTMyNjAiPiA8eG1wTU06SGlzdG9yeT4gPHJkZjpTZXE+IDxyZGY6bGkgc
3RFdnQ6YWN0aW9uPSJjcmVhdGVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjQ2NzkxNWI4LWNhZWUt
YjE0OC04N2FmLTQ1MmExM2JlMzI2MCIgc3RFdnQ6d2hlbj0iMjAyMC0wMy0xMFQxNDowNzozNCswMzowMCI
gc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIi8+IDxyZG
Y6bGkgc3RFdnQ6YWN0aW9uPSJzYXZlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo4YmRjOTI1Yy0yZ
jM0LTYzNDEtYmYwYi00MzViNTYwMTQ3ODEiIHN0RXZ0OndoZW49IjIwMjAtMDMtMTBUMTQ6MTk6MjArMDM6
MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChXaW5kb3dzKSIgc3R
FdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb2
4+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/
eHBhY2tldCBlbmQ9InIiPz5pQ7PdAAAHUUlEQVRYhcWXXYxdVRXHf2vvc869dz7uzNy2Q0lbamkppZRQLZY
a0BCE1JSPGjAtEH0Bow9GDQbKkw8+NYqJaKLE+KCJlWgiUj6SGlpIlBaYSi3wUCHWh0I7nc709s505s4995
6z9/LhnPsx01af0H2zc/a5+5y91/6v//
qvdURV+X+2YNG9AQQotP9QVVFVVUVU1YF2bG6PRFAQLwIgKiKIQHYVgHK+dgOIgc6pew2wqvq0c/
5x7x3eK6rgvUfVA4JXhR7E2iNpXyUbGzHdCRGMGMQI1poz1tpbRWQSSAGV/
BBr0jS9u9lKfqnek6aOOG5Srzfo6y9hrSFNXG6Morkhcw7enIG6g9AIRSuUrDAQGsqhYSgylCNDX2AoGCEw
YIxNwij8KIrC7cC/RFWjJEl3xHH8wtzcPEeOHOPo0fc5ffostQszbLrpeh555H5WrLgqg8kajDEdeN+
+CL8/
p8ROwSt4j6jDeEeonpJ4yhYqkbB+MGTLkoihyFIoFs4WCtE1kqbplvp842i1Om1+8fN9HDp4mLjZQuj6ccu
WTTz+vUfZvHnjJSRyCi9X4aXz2f5d/2RIqfd45/BJAvE814UJD68usbwU0N9futXu2fPUh81mq/i7fS/y/
B8P4L3HGoMx0jnl6dPneOut4/
T1lVi7bjVBYGkz0QCrizCdwqm4y4eME4IYiwkCbBRhiiUmY890PWZj2WJUHzNJkg5OTEzx2qEjqGqbtQuat
YazZyfZu/
dZfvz0r5g8dx4RQVXxqhRFeWCpcmOf4ton73SP+qwjQjg4yAcNw6l6SpK0jHHeMzExRbVa6yx6uS4iNJtNn
nvuJfbs+SHHj58AJIsUVUassntUWRVpN1oWd+8RI7RsyETsQRXjVWm1Epzzl5wc71HnekIvc8nY2Hs8+cRe
/vT8n2m1WgCkXlkZKbuXKcM2M+Kyh/GKipD47BmTTfRGdt5V6b/+BipfuBM7MIB615mzVhgfP8fevc/
yzDO/plqdzoxwnhv6PDuXeCK60Kv3oB6875ITUK8EGZk0+2kuHgoSWEbve4DhLduYOf43Jl74A/
WTH3YUR4wQxzH7fruf8fFzPPnkN
7jqqqV459k2AB/Nw+u1TJzyoMgH0nGJV8W0xSWTtbbSKWIMJsoUufzpW1jz3acY3fFlbF//
Ircohw4e5mc//Q2zs3WcV4x67hzyjAYe5xYiod51Eei6IEeh59obw5qkBEMjXL3rq1zzze/Qt/
Y6tMddIsLrr7/
Ju8dPoKqkqadiPeuLHu88urj77h6mlyy03UCGSNti7xw+TUGV8s238KlvPUH5ps9ki+dAzM83+OCDkzjnSJ
1DnWPUOmi/n/cMPZ+7wGcc6LCgvXmbE/
kLmkeIAmIUOzCILZc7hCKHM262SNM8ZwA4ULcwsBQyFHLyB93kQh7vdMbqPT7NTgECRojPnGHywItMjx2m/
bAqhKFl5crlOOdwziHAVAw+BbNA2yTnQRYUwYIMt8AFmkGWptl8mjDz96NMHdhPY/
zjXDEFFJxzbNq0kRtvXE+rlaCqzDv452xu+2J5cR5VWYhA5gLfjUOfJRBVpTkxztTBV5g+egTfjEFMx1DvP
WuuXcWjj+1icLCfVitBgLEZOFXPl1pkgDqHqs0M8NoVnm55pmjSojb2BvHZM9Te+gvx6VM55NIJVYDNmzfy
2NcfYu3a1TSbLYwIJ+fhtSlI04XJqYtAinqDX4CA5nog7XoLamOHqY0dzjY00iWoVwqFiC/
edTu7dt1LpTJCs9nK/
J7Ay5NQi7NXLldx+jRFNUDVEHjfzYBdFyxqQq5e4NWzbGmFB79yD3fc8TmiKKTZbCLAnINXpjIVNFwKfa8L
RD3qITAGRirDDA7202g0EHM50GhLAxs2rOPhh3Zy/
Ya1GT+aWTJKPByswT8uZo9fhnudFqJUQsGpEhQLRZYuq/DZrTfz8kuvYrCXgKBeiaKQ2z9/
Kzt3bqeyZIQ4bnXBAd6+CO/UrnzqdnPec12lxIoihGFIMDJU3jo/
3zj64K57GB+f4Ng773fyv0hWCVdGhrnn3ru47batRFFI3Ig7Cwpwog5vXMhQ6K1nekQ1u1dYWY740soSRQM
jw0M7RFVt9cL0TybOV79dq9Y49OpfOfbOe0xNVpmdq3P18lHuu38769at6VHK7uYfN+FAFWZ6GJ+V54I1Qm
QNpdAyXAy4drjItuUllhWEyshQffnosmFRVauqvjZ98QdT1QvfbyUJcdxkdnaOizOzDJXLDAz0k7SSTGad7
5TnsVPenIHzqRAaIbJCKbRZWV4IGC5YhgqWwcjQZ4WCUYLAsmRkWJcuqWy1xrwrqto2fFWz1dp9ca7+o0aj
QZKkpM6RpmmWUlUX4CtkVXCi+fcHWdiZPGKMCMYIxhpCGxCEIaViUcuD/V8rFor7RfBAfMUa8D/
10+MT0h6f+viM9M6dmzov5y/URFWpzzfkv63V/jL6pNvi2O4UmYs/Tj+pdqVTqvkfGXDF9m/
pUjcFDUhV2wAAAABJRU5ErkJggg==",o=function(e){return"https://desktop.televzr.com/
download-in-hd.html?
vid=693&video_id=yt-".concat(e,"&utm_source=helper&utm_medium=hd-mp3-
button&utm_campaign=televzr&utm_content=televzr_integration")}},function(e,t,n)
{"use strict";n.r(t),t.default=function(e,t){var n=e.indexOf(t);-1!
==n&&e.splice(n,1)}},function(e,t,n){"use strict";n.r(t);t.default=function()
{for(var e=arguments[0],t=1,n=arguments.length;t<n;t++){var r=arguments[t];for(var
o in r)void 0!==r[o]&&(delete e[o],e[o]=r[o])}return e}},function(e,t,n){"use
strict";n.r(t);t.default={animation:"none 0s ease 0s 1 normal none
running",backfaceVisibility:"visible",background:"transparent none repeat 0 0 /
auto auto padding-box border-box scroll",border:"medium none
currentColor",borderCollapse:"separate",borderImage:"none",borderRadius:"0",borderS
pacing:"0",bottom:"auto",boxShadow:"none",boxSizing:"content-
box",captionSide:"top",clear:"none",clip:"auto",color:"inherit",columns:"auto",colu
mnCount:"auto",columnFill:"balance",columnGap:"normal",columnRule:"medium none
currentColor",columnSpan:"1",columnWidth:"auto",content:"normal",counterIncrement:"
none",counterReset:"none",cursor:"auto",direction:"ltr",display:"inline",emptyCells
:"show",float:"none",font:"normal normal normal normal medium/normal
inherit",height:"auto",hyphens:"none",left:"auto",letterSpacing:"normal",listStyle:
"disc outside
none",margin:"0",maxHeight:"none",maxWidth:"none",minHeight:"0",minWidth:"0",opacit
y:"1",orphans:"0",outline:"medium none
invert",overflow:"visible",overflowX:"visible",overflowY:"visible",padding:"0",page
BreakAfter:"auto",pageBreakBefore:"auto",pageBreakInside:"auto",perspective:"none",
perspectiveOrigin:"50%
50%",position:"static",right:"auto",tabSize:"8",tableLayout:"auto",textAlign:"inher
it",textAlignLast:"auto",textDecoration:"none solid
currentColor",textIndent:"0",textShadow:"none",textTransform:"none",top:"auto",tran
sform:"none",transformOrigin:"50% 50% 0",transformStyle:"flat",transition:"none 0s
ease
0s",unicodeBidi:"normal",verticalAlign:"baseline",visibility:"visible",whiteSpace:"
normal",widows:"0",width:"auto",wordSpacing:"normal",zIndex:"auto",all:"initial"}},
function(e,t,n){"use strict";n.r(t);var
r=n(1),o=n(2),i=n(17),a=n(10),s=n(63),u=n(64),l=Object(a.default)
("mediaMuxer:transport"),c=function(){},d=new WeakMap,f=function(){function e(t,n)
{var o=this;Object(r.a)(this,e),this.listener=function(e,t,n){switch(e.action)
{case"callFn":return o.responseFn(e,n),!0}},this.callFn=function(e){var
t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=o;return
n.waitPromise({action:"callFn",fn:e,args:t})},this.scope=n,this.pageId=parseInt(1e3
*Math.random(),10),this.callbackId=0,this.callbackIdCallback={},this.listeners=[],t
his.transport=t,this.onMessage(this.listener)}return Object(o.a)(e,
[{key:"onMessage",value:function(e){var
t=this,n=this.listeners,r=this.callbackIdCallback;!
n.length&&this.transport.onMessage((function(e,o){if(o.responseId){var
i=r[o.responseId];i?i(o.message):l.error("Callback is not found",o)}else{var
a;a=o.callbackId?function(e){var t=!1;return function(){t||(t=!
0,e.apply(null,arguments))}}((function(e)
{t.transport.sendMessage({responseId:o.callbackId,message:e})})):c;var
s=null;n.forEach((function(t){try{var n=t(o.message,{event:e},a);!
0===n&&(s=n)}catch(e){l.error("Call listener error",e)}})),!0!
==s&&a()}})),n.push(e)}},{key:"sendMessage",value:function(e,t){var
n=this.callbackIdCallback,r={message:e};if(t){r.callbackId=this.pageId+ +
+this.callbackId;var o=function(e){delete
n[r.callbackId],t(e)};d.has(t)&&(d.delete(t),d.set(o,!
0)),n[r.callbackId]=o}try{this.transport.sendMessage(r)}catch(e){throw delete
n[r.callbackId],e}}},{key:"waitPromise",value:function(e){var t=this;return new
Promise((function(n,r){var o=function(e){return e.err?
r(u(e.err)):n(e.result)};d.set(o,!0),t.sendMessage(e,o)}))}},
{key:"responsePromise",value:function(e,t){return e.then((function(e)
{t({result:e})}),(function(e){t({err:s(e)})})).catch((function(e)
{console.error("responsePromise error",e)})),!0}},
{key:"resolvePath",value:function(e){for(var
t=e.split("."),n=t.pop(),r=this.scope;t.length;)r=r[t.shift()];return{scope:r,endPo
int:n}}},{key:"responseFn",value:function(e,t){var n=this,r=Object(i.default)
((function(){var t=n.resolvePath(e.fn),r=t.scope;return
r[t.endPoint].apply(r,e.args)}));return this.responsePromise(r,t)}}]),e}
();t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",
{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?
function(e){return typeof e}:function(e){return e&&"function"==typeof
Symbol&&e.constructor===Symbol?"symbol":typeof e};function o(e){return
e&&"object"===(void 0===e?"undefined":r(e))&&"string"==typeof
e.name&&"string"==typeof e.message}t.default=function(e){return o(e)?
Object.assign(new Error,{stack:void 0},e):e},t.isSerializedError=o},function(e,t,n)
{"use strict";n.r(t);var r=n(1),o=n(6),i=n(7),a=n(3),s=n(15);function u(e){var
t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(a.a)
(e);if(t){var o=Object(a.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(i.a)(this,n)}}var l=function(e){Object(o.a)
(n,e);var t=u(n);function n(e){var o;return Object(r.a)(this,n),
(o=t.call(this,"Response is not ok ".concat(e.status,"
(").concat(e.statusText,")"))).name="ErrorFetchResponse",void 0!
==e.url&&(o.url=e.url),o.status=e.status,o}return n}(Object(s.a)
(Error));t.default=l},function(e,t,n){"use strict";n.r(t);function r(e)
{return"function"==typeof GM_xmlhttpRequest?
GM_xmlhttpRequest(e):GM.xmlHttpRequest(e)}function o(e){var t=e.split(/\r?\
n/),n=new Headers;return t.forEach((function(e){var t=e.indexOf(":");if(-1!==t){var
r=e.substr(0,t).trim(),o=e.substr(t+1).trim();n.append(r,o)}})),n}function i(e)
{for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r+
+)n[r]=String.fromCharCode(t[r]);return n.join("")}t.default=function(e){var
t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.signal;return new
Promise((function(a,s){if(n.aborted)return s(new
DOMException("Aborted","AbortError"));var u=null,l=null,c=new
Promise((function(e,t){l=e,u=function(e){(d||"AbortError"!==e.name)&&t(e)}})),d=!
1,f={arrayBuffer:function(){return d=!0,c},text:function(){return
f.arrayBuffer().then(i)},json:function(){return
f.text().then(JSON.parse)},blob:function(){return f.arrayBuffer().then((function(e)
{return new
Blob([e])}))}},p=r({method:t.method||"GET",url:e,headers:t.headers,data:t.body,resp
onseType:"arraybuffer",onload:function(e){l(e.response)},onerror:function(){s(new
TypeError("Network request failed"))},ontimeout:function(){s(new TypeError("Network
request failed"))},onabort:function(){s(new
DOMException("Aborted","AbortError"))},onreadystatechange:function(e)
{2===e.readyState&&(f.url=e.finalUrl,f.status=e.status,f.ok=f.status>=200&&f.status
<300,f.statusText=e.statusText,f.headers=o(e.responseHeaders),s=u,a(f))}});n.addEve
ntListener("abort",(function(){p.abort()}))}))}},function(e,t,n){"use
strict";n.r(t);var r=0;function o(e){return e.returnValue=!0}t.default=function()
{1===++r&&window.addEventListener("beforeunload",o);var e=!1;return function(){e||
(e=!0,0==--r&&window.removeEventListener("beforeunload",o))}}},function(e,t,n){"use
strict";n.r(t),n.d(t,"throttle",(function(){return r}));var r=function e(t,n)
{e.timer||(e.timer=setTimeout((function(){n(),e.timer=null}),t))}},function(e,t,n)
{"use strict";n.r(t),t.default=function(e){var
t=e.installURL,n=e.installText,r=void 0===n?"Install Now":n,o=e.footerText,i=void
0===o?'Allows to download HD/MP3 by "Televzr" button':o;return'\n<div
class="televzr-popup">\n <div class="televzr-popup-header"></div>\n <div
class="televzr-popup-body">\n <a class="televzr-popup-btn btn-invert"
href="'.concat(t,'" target="_blank">\n <span class="btn-outer"><span
class="btn-inner">').concat(r,'</span></span>\n </a>\n </div>\n <div
class="televzr-popup-footer">\n ').concat(i,"\n </div>\n</div>\n\
n<style>\n .televzr-popup-container {\n border-radius: 6px;\n }\n
\n .televzr-popup {\n width: 245px;\n height: 186px;\n }\n\n
.televzr-popup-header {\n width: 114px;\n
height: 42px;\n margin: 7px auto 8px;\n background:
url(\"data:image/jpeg;base64,/9j/4QxRRXhpZgAATU0AKgAAAAgADQEAAAMAAAABBQAAAAEBAAMAAA
ABAeQAAAECAAMAAAADAAAAqgEGAAMAAAABAAIAAAESAAMAAAABAAEAAAEVAAMAAAABAAMAAAEaAAUAAAABA
AAAsAEbAAUAAAABAAAAuAEoAAMAAAABAAIAAAExAAIAAAAiAAAAwAEyAAIAAAAUAAAA4gITAAMAAAABAAEA
AIdpAAQAAAABAAAA+AAAATAACAAIAAgAC+bgAAAnEAAL5uAAACcQQWRvYmUgUGhvdG9zaG9wIENDIDIwMTk
gKFdpbmRvd3MpADIwMjA6MDM6MTEgMTU6MzQ6MjAAAAAABJAAAAcAAAAEMDIyMaABAAMAAAAB//
8AAKACAAQAAAABAAAAyKADAAQAAAABAAAASwAAAAAAAAAGAQMAAwAAAAEABgAAARoABQAAAAEAAAF+ARsAB
QAAAAEAAAGGASgAAwAAAAEAAgAAAgEABAAAAAEAAAGOAgIABAAAAAEAAAq7AAAAAAAAAEgAAAABAAAASAAA
AAH/2P/tAAxBZG9iZV9DTQAC/+4ADkFkb2JlAGSAAAAAAf/
bAIQADAgICAkIDAkJDBELCgsRFQ8MDA8VGBMTFRMTGBEMDAwMDAwRDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA
wMDAwMDAENCwsNDg0QDg4QFA4ODhQUDg4ODhQRDAwMDAwREQwMDAwMDBEMDAwMDAwMDAwMDAwMDAwMDAwMD
AwMDAwMDAwM/8AAEQgAPACgAwEiAAIRAQMRAf/dAAQACv/
EAT8AAAEFAQEBAQEBAAAAAAAAAAMAAQIEBQYHCAkKCwEAAQUBAQEBAQEAAAAAAAAAAQACAwQFBgcICQoLEA
ABBAEDAgQCBQcGCAUDDDMBAAIRAwQhEjEFQVFhEyJxgTIGFJGhsUIjJBVSwWIzNHKC0UMHJZJT8OHxY3M1F
qKygyZEk1RkRcKjdDYX0lXiZfKzhMPTdePzRieUpIW0lcTU5PSltcXV5fVWZnaGlqa2xtbm9jdHV2d3h5en
t8fX5/
cRAAICAQIEBAMEBQYHBwYFNQEAAhEDITESBEFRYXEiEwUygZEUobFCI8FS0fAzJGLhcoKSQ1MVY3M08SUGF
qKygwcmNcLSRJNUoxdkRVU2dGXi8rOEw9N14/
NGlKSFtJXE1OT0pbXF1eX1VmZ2hpamtsbW5vYnN0dXZ3eHl6e3x//
aAAwDAQACEQMRAD8A9UTFwHJhOSuR+ufWMuh9GFi2ux/Xa+y66s7bBWxzamVUWf4L1rHbrbW/
pPTZ7EQLKnq3WADcQQPE6f8AVIZy6QYNjAfAub/evK6bn414ysd7qslsxduL3QfpNs9Yv9at/
wCfXb9Ndl0H61YWcWYmXXVi5x0Y1oAquP8A3We76Fv/AHVt/Sf6H10TCvFTvjqWG76ORU74WM/
vRmXteJadw/kkO/6krJ6hjVHdkMraSNbmbQZ/4QCPpN/wqoCrEJn0a/i0AH/
OZtUscMZCxJqz5mWORjKH2HcPUB4PB1HI7p1hYGRZVkMpD3PqsDjWHkuLHMG/a17vf6NrPzH/
AM2txpkKKcDA0WfFkGSPENOjJJNISkJq9dJMnSUpJDbfQ611LbGG1gl1YcC4DT6TPpfnIiSlJJJJKUkkkkp
SSSSSn//Q9ReYXA/Xh0dTxD441n/n4LvbV559e3R1HD/
8L2/+fk6G6i1OkYmHmY2Uclpc5tjGMsa4tewFm/8ARn6P0v32ql1LpuRhtJsjIxHED1mtgDX2tyKv8C/
9x/8ANf6OxF6Nn4uLjZRyLm1fpGOAOriNmz9FW332+79xVOpdcuy2OprHoYh+m1xG94B3fp3/
AEa69N3o1/8AXbLFZqPAP3muDl96VfJYvi22/Qem+qf1jy8i/wDZmZY66wVusxch+tjhX/O0ZD/
8K9tf6Si/6f8AOV3/
AOkWplhtNwLNK7QXNaOGkH3tH8n85i5n6pdNyGXjq+Q011mtzMJjhDrPVGx+Vs+lXQ2v2Y+/
+kep6v8ANV+/ZzMttlwYwy2oFsju4n3x/VjYm4vn02r1K5oA49d79P8A3To4Nm7Nx/8Arn/
UFdFS6Wj4Lk+l2Tn0jys/6hy6qj6I+ATeY+ceX/fK5T+bP94/
lFyPrP8AUrpH1nsx7OovvacVr21il7Wgh5YXb9zLP9GvOui/UnonUfrn1XoF3qtw8BjnUvY4C0lrqW/
pbNjt/wDPP/MXsi86+qf/AOVL6w/8XZ/1eKo4k0fJsOieq/Vb/
F1iM6PW7KyrbrDcMesC66bfY0uP6vU1rvT/AEbP5160Og/X7ofXM89NrZkYWdrsx8yv03vgeo/
09j7WbmV+/Y92/YuOzn9Ur/xq5zulsxn9SLWjFGduFUHGo3+m6mH+v6bbW1f8H9pW5g/
Vn62dQ+t2H9YfrAcOhuBWWMrwy8l+lwrb+l/l5Nj7Hvs/4Ouv+csQIHXtamv0MD/
x3uuaD+ifw6cui+sn126L9XLK6Mz1b8q6CzGxmepZDjsY9251dbd7m+z9Jvs/wa53ohA/
xvdakgbsUhs9zt6cYCy+pP6pX/jWy3dMbju6gWsGIM3eKYOLXv2Oqh/rbW3tp/8AQhGrPkLU9h0H6/
dE631A9MrrycLO1LMfMr9Nz4b6j9mx9rdza/
fsf+YrnQfrV03r1+ZjYrLqr+nuDMmq9gY4OJsr0hz92yyixj1z+J9WfrZ1L62YXX/
rCcKhnT2bWMwy8l8C3Y39LP597nWb7f8Ag66/fa9V76XfV/8Axq0ZDYZhfWKpzHGIHrNa3e0R/hPXpxn/
APoZYhQ6dlPUWfWvpbPrJX9Wmi2zqD27zsaDWwbHX/
pbC4bf0Tf3f8LUsd3+NT6tC11XpZhe15ZAoJlzXGv2+794Kh/i4Y/rPWut/
W69p25Vxx8Iu5FY2ueNv8mhmDTv/wCDtVr6y/WDqPWOpO+qn1XeftAO3qfUWzsx28Pqbaz/AA35tuz3/
wDaer9Y9X7Iq1pTqdK+vXReq4fUszGbe2vpNQvyhZXtdsLbbf0bd3vdtx7FQy/
8av1UxsbHuDrr7ckbhi1MabmAksH2gPsZVU72/Q9X1Nn6T+bVrK6B0/6v/UXqnT8FkNbgZJttIG+x/
ov3W2kfnf8Antn6Niq/4q8bGb9UsbKbUwZFr7hbcGje/bbYxnqWfTfsZ7GJUKvxU//
R9QsC4T699LzLfQzset1zcRtleSxgLniuxzbqsplTG77Kq376sn0/fV7Lf5v1F3rxKqZFO6DwRq0gwR/
VcEYmlPibLWZFrasc+vdYdtdVRD3uP7rGN9y6XpXQKcYtyeo7MjJadzMcEPoqI+i5/wCbmXt/9haf+H/
nF3F9Jc8vfXXY4gtL3saXFp/MNm3ftVY4uP3w6T8GgfkAUnEUOHmdQe0ljXE3P1seTq0Hz/0j/
wDoMVEZFbIBc1o7AkBdMOm9OBkdOx5OpLm7pJ/r7lZx8VlR/QY9NHnXW0H/
ADtqkjlERQiWCeGU5WSB2605XQab7bxlbSKWtc2pxBHqPeNn6OfpVVM99tv0F19LYAHhoqtFJ3b3EueeXEy
VdY2Aock+I2y48YhGhr1SLIwPqv0vA63l9cx/U+25wc27c8lkOLHu2V/
m+6pi10kxe4P1j+pfQvrIW2dQrezIY3Y3Ipdss2A7/Td9Ouxm76PqV/o/
8GqvQv8AF19Xuh9Rr6ljnIvy6d3pWX27tu9rqnw2ttTXbq3u+muoSRs1Snl+v/4u/q91/
POfl+vVdZt9YUPDW2FgDK32Ney33trb6e6r01b+sn1M6F9ZNj+oVvbkVt2MyaXbLNk7/Td9Kuxm/
wBzfVrf6f8Ag1upJWfsU8v0L/
F19Xuh9Rr6njuyL8und6T77d23e11T4bW2pvure5vvWl9YPqx0n6w1U19RY8nGeX1WVuLHt3DbY3e38yz89
aySVndTS6P0jC6L06npuC0tx6N23c4ucS5zrbHve76Tn2Pc5c27/
FT9UnAtc3Jc0ku2m90Akl30f7a7FJKyp57pX1F6B0jD6jhYTbW09VqFOUHWFx2httf6Nx+g7bkWLS6H0XC6
H06vpuDv+z1Fzm+o7c6XuNjvd/Wcr6SFqf/
S9UKg5gKImSU13UA9kM4w8Fc0Te1HVTUGMPBTbQB2Vj2pe1LVTBtYCIBCSSCl0kkklKSSSSUpJJJJSkkkkl
KSSSSUpJJJJT//2f/
tE+xQaG90b3Nob3AgMy4wADhCSU0EBAAAAAAABxwCAAACAAAAOEJJTQQlAAAAAAAQ6PFc8y/
BGKGie2etxWTVujhCSU0EOgAAAAAA9wAAABAAAAABAAAAAAALcHJpbnRPdXRwdXQAAAAFAAAAAFBzdFNib2
9sAQAAAABJbnRlZW51bQAAAABJbnRlAAAAAEltZyAAAAAPcHJpbnRTaXh0ZWVuQml0Ym9vbAAAAAALcHJpb
nRlck5hbWVURVhUAAAAAQAAAAAAD3ByaW50UHJvb2ZTZXR1cE9iamMAAAAVBB8EMARABDAEPAQ1BEIEQARL
ACAERgQyBDUEQgQ+BD8EQAQ+BDEESwAAAAAACnByb29mU2V0dXAAAAABAAAAAEJsdG5lbnVtAAAADGJ1aWx
0aW5Qcm9vZgAAAAlwcm9vZkNNWUsAOEJJTQQ7AAAAAAItAAAAEAAAAAEAAAAAABJwcmludE91dHB1dE9wdG
lvbnMAAAAXAAAAAENwdG5ib29sAAAAAABDbGJyYm9vbAAAAAAAUmdzTWJvb2wAAAAAAENybkNib29sAAAAA
ABDbnRDYm9vbAAAAAAATGJsc2Jvb2wAAAAAAE5ndHZib29sAAAAAABFbWxEYm9vbAAAAAAASW50cmJvb2wA
AAAAAEJja2dPYmpjAAAAAQAAAAAAAFJHQkMAAAADAAAAAFJkICBkb3ViQG/
gAAAAAAAAAAAAR3JuIGRvdWJAb+AAAAAAAAAAAABCbCAgZG91YkBv4AAAAAAAAAAAAEJyZFRVbnRGI1JsdA
AAAAAAAAAAAAAAAEJsZCBVbnRGI1JsdAAAAAAAAAAAAAAAAFJzbHRVbnRGI1B4bEBTgAAAAAAAAAAACnZlY
3RvckRhdGFib29sAQAAAABQZ1BzZW51bQAAAABQZ1BzAAAAAFBnUEMAAAAATGVmdFVudEYjUmx0AAAAAAAA
AAAAAAAAVG9wIFVudEYjUmx0AAAAAAAAAAAAAAAAU2NsIFVudEYjUHJjQFkAAAAAAAAAAAAQY3JvcFdoZW5
QcmludGluZ2Jvb2wAAAAADmNyb3BSZWN0Qm90dG9tbG9uZwAAAAAAAAAMY3JvcFJlY3RMZWZ0bG9uZwAAAA
AAAAANY3JvcFJlY3RSaWdodGxvbmcAAAAAAAAAC2Nyb3BSZWN0VG9wbG9uZwAAAAAAOEJJTQPtAAAAAAAQA
E4AAAABAAEATgAAAAEAAThCSU0EJgAAAAAADgAAAAAAAAAAAAA/
gAAAOEJJTQQNAAAAAAAEAAAAHjhCSU0EGQAAAAAABAAAAB44QklNA/
MAAAAAAAkAAAAAAAAAAAEAOEJJTScQAAAAAAAKAAEAAAAAAAAAAThCSU0D9QAAAAAASAAvZmYAAQBsZmYAB
gAAAAAAAQAvZmYAAQChmZoABgAAAAAAAQAyAAAAAQBaAAAABgAAAAAAAQA1AAAAAQAtAAAABgAAAAAAAThC
SU0D+AAAAAAAcAAA/////////////////////////////wPoAAAAAP////////////////////////////
8D6AAAAAD/////////////////////////////A+gAAAAA/////////////////////////////
wPoAAA4QklNBAgAAAAAABAAAAABAAACQAAAAkAAAAAAOEJJTQQeAAAAAAAEAAAAADhCSU0EGgAAAAADSwAA
AAYAAAAAAAAAAAAAAEsAAADIAAAACwBsAG8AZwBvAF8AaABlAGEAZABlAHIAAAABAAAAAAAAAAAAAAAAAAA
AAAAAAAEAAAAAAAAAAAAAAMgAAABLAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAA
EAAAAAAABudWxsAAAAAgAAAAZib3VuZHNPYmpjAAAAAQAAAAAAAFJjdDEAAAAEAAAAAFRvcCBsb25nAAAAA
AAAAABMZWZ0bG9uZwAAAAAAAAAAQnRvbWxvbmcAAABLAAAAAFJnaHRsb25nAAAAyAAAAAZzbGljZXNWbExz
AAAAAU9iamMAAAABAAAAAAAFc2xpY2UAAAASAAAAB3NsaWNlSURsb25nAAAAAAAAAAdncm91cElEbG9uZwA
AAAAAAAAGb3JpZ2luZW51bQAAAAxFU2xpY2VPcmlnaW4AAAANYXV0b0dlbmVyYXRlZAAAAABUeXBlZW51bQ
AAAApFU2xpY2VUeXBlAAAAAEltZyAAAAAGYm91bmRzT2JqYwAAAAEAAAAAAABSY3QxAAAABAAAAABUb3Agb
G9uZwAAAAAAAAAATGVmdGxvbmcAAAAAAAAAAEJ0b21sb25nAAAASwAAAABSZ2h0bG9uZwAAAMgAAAADdXJs
VEVYVAAAAAEAAAAAAABudWxsVEVYVAAAAAEAAAAAAABNc2dlVEVYVAAAAAEAAAAAAAZhbHRUYWdURVhUAAA
AAQAAAAAADmNlbGxUZXh0SXNIVE1MYm9vbAEAAAAIY2VsbFRleHRURVhUAAAAAQAAAAAACWhvcnpBbGlnbm
VudW0AAAAPRVNsaWNlSG9yekFsaWduAAAAB2RlZmF1bHQAAAAJdmVydEFsaWduZW51bQAAAA9FU2xpY2VWZ
XJ0QWxpZ24AAAAHZGVmYXVsdAAAAAtiZ0NvbG9yVHlwZWVudW0AAAARRVNsaWNlQkdDb2xvclR5cGUAAAAA
Tm9uZQAAAAl0b3BPdXRzZXRsb25nAAAAAAAAAApsZWZ0T3V0c2V0bG9uZwAAAAAAAAAMYm90dG9tT3V0c2V
0bG9uZwAAAAAAAAALcmlnaHRPdXRzZXRsb25nAAAAAAA4QklNBCgAAAAAAAwAAAACP/
AAAAAAAAA4QklNBBEAAAAAAAEBADhCSU0EFAAAAAAABAAAAAE4QklNBAwAAAAACtcAAAABAAAAoAAAADwAA
AHgAABwgAAACrsAGAAB/9j/7QAMQWRvYmVfQ00AAv/uAA5BZG9iZQBkgAAAAAH/
2wCEAAwICAgJCAwJCQwRCwoLERUPDAwPFRgTExUTExgRDAwMDAwMEQwMDAwMDAwMDAwMDAwMDAwMDAwMDAw
MDAwMDAwBDQsLDQ4NEA4OEBQODg4UFA4ODg4UEQwMDAwMEREMDAwMDAwRDAwMDAwMDAwMDAwMDAwMDAwMDA
wMDAwMDAwMDP/AABEIADwAoAMBIgACEQEDEQH/3QAEAAr/xAE/
AAABBQEBAQEBAQAAAAAAAAADAAECBAUGBwgJCgsBAAEFAQEBAQEBAAAAAAAAAAEAAgMEBQYHCAkKCxAAAQQ
BAwIEAgUHBggFAwwzAQACEQMEIRIxBUFRYRMicYEyBhSRobFCIyQVUsFiMzRygtFDByWSU/
Dh8WNzNRaisoMmRJNUZEXCo3Q2F9JV4mXys4TD03Xj80YnlKSFtJXE1OT0pbXF1eX1VmZ2hpamtsbW5vY3R
1dnd4eXp7fH1+f3EQACAgECBAQDBAUGBwcGBTUBAAIRAyExEgRBUWFxIhMFMoGRFKGxQiPBUtHwMyRi4XKC
kkNTFWNzNPElBhaisoMHJjXC0kSTVKMXZEVVNnRl4vKzhMPTdePzRpSkhbSVxNTk9KW1xdXl9VZmdoaWprb
G1ub2JzdHV2d3h5ent8f/2gAMAwEAAhEDEQA/
APVExcByYTkrkfrn1jLofRhYtrsf12vsuurO2wVsc2plVFn+C9ax2621v6T02exECyp6t1gA3EEDxOn/
AFSGcukGDYwHwLm/3ryum5+NeMrHe6rJbMXbi90H6TbPWL/Wrf8An12/
TXZdB+tWFnFmJl11YucdGNaAKrj/AN1nu+hb/
wB1bf0n+h9dEwrxU746lhu+jkVO+FjP70Zl7XiWncP5JDv+pKyeoY1R3ZDK2kjW5m0Gf+EAj6Tf8KqAqxCZ
9Gv4tAB/zmbVLHDGQsSas+ZljkYyh9h3D1AeDwdRyO6dYWBkWVZDKQ9z6rA41h5LixzBv2te73+jaz8x/
wDNrcaZCinAwNFnxZBkjxDToySTSEpCavXSTJ0lKSQ230OtdS2xhtYJdWHAuA0+kz6X5yIkpSSSSSlJJJJK
Ukkkkp//0PUXmFwP14dHU8Q+ONZ/5+C721eefXt0dRw//C9v/
n5OhuotTpGJh5mNlHJaXObYxjLGuLXsBZv/AEZ+j9L99qpdS6bkYbSbIyMRxA9ZrYA19rcir/Av/cf/
ADX+jsRejZ+Li42Uci5tX6RjgDq4jZs/RVt99vu/cVTqXXLstjqax6GIfptcRveAd36d/wBGuvTd6Nf/
AF2yxWajwD95rg5felXyWL4ttv0Hpvqn9Y8vIv8A2ZmWOusFbrMXIfrY4V/ztGQ//CvbX+kov+n/ADld/
wDpFqZYbTcCzSu0FzWjhpB97R/J/OYuZ+qXTchl46vkNNdZrczCY4Q6z1RsflbPpV0Nr9mPv/pHqer/
ADVfv2czLbZcGMMtqBbI7uJ98f1Y2JuL59Nq9SuaAOPXe/T/AN06ODZuzcf/
AK5/1BXRUulo+C5Ppdk59I8rP+ocuqo+iPgE3mPnHl/3yuU/mz/eP5Rcj6z/
AFK6R9Z7MezqL72nFa9tYpe1oIeWF2/cyz/
Rrzrov1J6J1H659V6Bd6rcPAY51L2OAtJa6lv6WzY7f8Azz/zF7IvOvqn/wDlS+sP/
F2f9XiqOJNHybDonqv1W/xdYjOj1uysq26w3DHrAuum32NLj+r1Na70/
wBGz+detDoP1+6H1zPPTa2ZGFna7MfMr9N74HqP9PY+1m5lfv2Pdv2Ljs5/VK/8auc7pbMZ/
Ui1oxRnbhVBxqN/puph/r+m21tX/B/aVuYP1Z+tnUPrdh/WH6wHDobgVljK8MvJfpcK2/
pf5eTY+x77P+Drr/nLECB17Wpr9DA/8d7rmg/on8OnLovrJ9dui/VyyujM9W/
KugsxsZnqWQ47GPdudXW3e5vs/Sb7P8Gud6IQP8b3WpIG7FIbPc7enGAsvqT+qV/
41st3TG47uoFrBiDN3imDi179jqof621t7af/AEIRqz5C1PYdB+v3ROt9QPTK68nCztSzHzK/Tc+G+o/
Zsfa3c2v37H/mK50H61dN69fmY2Ky6q/p7gzJqvYGODibK9Ic/dssosY9c/
ifVn62dS+tmF1/6wnCoZ09m1jMMvJfAt2N/Sz+fe51m+3/AIOuv32vVe+l31f/
AMatGQ2GYX1iqcxxiB6zWt3tEf4T16cZ/wD6GWIUOnZT1Fn1r6Wz6yV/
Vpots6g9u87Gg1sGx1/6WwuG39E393/C1LHd/jU+rQtdV6WYXteWQKCZc1xr9vu/
eCof4uGP6z1rrf1uvaduVccfCLuRWNrnjb/
JoZg07/8Ag7Va+sv1g6j1jqTvqp9V3n7QDt6n1Fs7MdvD6m2s/wAN+bbs9/8A2nq/
WPV+yKtaU6nSvr10XquH1LMxm3tr6TUL8oWV7XbC2239G3d73bcexUMv/
Gr9VMbGx7g66+3JG4YtTGm5gJLB9oD7GVVO9v0PV9TZ+k/m1ayugdP+r/1F6p0/
BZDW4GSbbSBvsf6L91tpH53/AJ7Z+jYqv+KvGxm/VLGym1MGRa+4W3Bo3v222MZ6ln037GexiVCr8VP/
0fULAuE+vfS8y30M7Hrdc3EbZXksYC54rsc26rKZUxu+yqt++rJ9P31ey3+b9Rd68SqmRTu
g8EatIMEf1XBGJpT4my1mRa2rHPr3WHbXVUQ97j+6xjfcul6V0CnGLcnqOzIyWnczHBD6KiPouf8Am5l7f/
YWn/h/5xdxfSXPL3112OILS97GlxafzDZt37VWOLj98Ok/BoH5AFJxFDh5nUHtJY1xNz9bHk6tB8/9I/
8A6DFRGRWyAXNaOwJAXTDpvTgZHTseTqS5u6Sf6+5WcfFZUf0GPTR511tB/
wA7apI5REUIlgnhlOVkgdutOV0Gm+28ZW0ilrXNqcQR6j3jZ+jn6VVTPfbb9BdfS2AB4aKrRSd29xLnnlxM
lXWNgKHJPiNsuPGIRoa9UiyMD6r9LwOt5fXMf1PtucHNu3PJZDix7tlf5vuqYtdJMXuD9Y/
qX0L6yFtnUK3syGN2NyKXbLNgO/03fTrsZu+j6lf6P/Bqr0L/
ABdfV7ofUa+pY5yL8und6Vl9u7bva6p8NrbU126t7vprqEkbNUp5fr/
+Lv6vdfzzn5fr1XWbfWFDw1thYAyt9jXst97a2+nuq9NW/rJ9TOhfWTY/qFb25FbdjMml2yzZO/
03fSrsZv8Ac31a3+n/AINbqSVn7FPL9C/xdfV7ofUa+p47si/Lp3ek+
+3dt3tdU+G1tqb7q3ub71pfWD6sdJ+sNVNfUWPJxnl9Vlbix7dw22N3t/Ms/
PWsklZ3U0uj9Iwui9Op6bgtLcejdt3OLnEuc62x73u+k59j3OXNu/xU/
VJwLXNyXNJLtpvdAJJd9H+2uxSSsqee6V9RegdIw+o4WE21tPVahTlB1hcdobbX+jcfoO25Fi0uh9Fwuh9O
r6bg7/s9Rc5vqO3Ol7jY73f1nK+khan/
0vVCoOYCiJklNd1APZDOMPBXNE3tR1U1BjDwU20AdlY9qXtS1UwbWAiAQkkgpdJJJJSkkkklKSSSSUpJJJJ
SkkkklKSSSSU//
9kAOEJJTQQhAAAAAABdAAAAAQEAAAAPAEEAZABvAGIAZQAgAFAAaABvAHQAbwBzAGgAbwBwAAAAFwBBAGQA
bwBiAGUAIABQAGgAbwB0AG8AcwBoAG8AcAAgAEMAQwAgADIAMAAxADkAAAABADhCSU0EBgAAAAAABwABAAA
AAQEA/
+ENw2h0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8APD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0w
TXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp
4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyIC
AgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmL
XN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDov
L25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGF
wLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW
50cy8xLjEvIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iI
HhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06RG9jdW1lbnRJRD0iYWRv
YmU6ZG9jaWQ6cGhvdG9zaG9wOmViMTRlOGE4LTU4M2EtZjA0ZC04NTE0LTgzYWUyYWQ5NmZhMyIgeG1wTU0
6SW5zdGFuY2VJRD0ieG1wLmlpZDoxOWNkMzA3Yi1jYWUwLTBjNDctODg3Ni0zMTc3Yzc1YTk3OTMiIHhtcE
1NOk9yaWdpbmFsRG9jdW1lbnRJRD0iMDM1MTRGQjY3QjlGNzBDRDc2MEY2NzZCNEVGQThCQUUiIGRjOmZvc
m1hdD0iaW1hZ2UvanBlZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9
IiIgeG1wOkNyZWF0ZURhdGU9IjIwMjAtMDMtMTFUMTU6MjQ6NDMrMDM6MDAiIHhtcDpNb2RpZnlEYXRlPSI
yMDIwLTAzLTExVDE1OjM0OjIwKzAzOjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDIwLTAzLTExVDE1OjM0Oj
IwKzAzOjAwIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2Z
WQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6NDAzNTg2MzAtNjI2OS01NTQ1LWFiOGEtNWNkZjFiMjMz
ZGI5IiBzdEV2dDp3aGVuPSIyMDIwLTAzLTExVDE1OjM0OjIwKzAzOjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW5
0PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPHJkZj
psaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjE5Y2QzMDdiLWNhZ
TAtMGM0Ny04ODc2LTMxNzdjNzVhOTc5MyIgc3RFdnQ6d2hlbj0iMjAyMC0wMy0xMVQxNTozNDoyMCswMzow
MCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiBzdEV
2dDpjaGFuZ2VkPSIvIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj
4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
CAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA
gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC
AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
CAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA
gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC
AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
CAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA
gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC
AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
CAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA
gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC
AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
CAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA
gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC
AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
CAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA
gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC
AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
CAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA
gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC
AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
CAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA
gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC
AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
CAgICAgICAgICAgICAgICAgICA8P3hwYWNrZXQgZW5kPSJ3Ij8+/+4ADkFkb2JlAGSAAAAAAf/
bAIQADAgICAkIDAkJDBELCgsRFQ8MDA8VGBMTFRMTGBEMDAwMDAwRDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA
wMDAwMDAENCwsNDg0QDg4QFA4ODhQUDg4ODhQRDAwMDAwREQwMDAwMDBEMDAwMDAwMDAwMDAwMDAwMDAwMD
AwMDAwMDAwM/8AAEQgASwDIAwEiAAIRAQMRAf/dAAQADf/
EAT8AAAEFAQEBAQEBAAAAAAAAAAMAAQIEBQYHCAkKCwEAAQUBAQEBAQEAAAAAAAAAAQACAwQFBgcICQoLEA
ABBAEDAgQCBQcGCAUDDDMBAAIRAwQhEjEFQVFhEyJxgTIGFJGhsUIjJBVSwWIzNHKC0UMHJZJT8OHxY3M1F
qKygyZEk1RkRcKjdDYX0lXiZfKzhMPTdePzRieUpIW0lcTU5PSltcXV5fVWZnaGlqa2xtbm9jdHV2d3h5en
t8fX5/
cRAAICAQIEBAMEBQYHBwYFNQEAAhEDITESBEFRYXEiEwUygZEUobFCI8FS0fAzJGLhcoKSQ1MVY3M08SUGF
qKygwcmNcLSRJNUoxdkRVU2dGXi8rOEw9N14/
NGlKSFtJXE1OT0pbXF1eX1VmZ2hpamtsbW5vYnN0dXZ3eHl6e3x//
aAAwDAQACEQMRAD8A9VTJIOTkMoqdZY4MYxpe954a1o3OekpKXAclR9VviuFzfrn1G+wnAazGx5/
Rvsb6lrh2e5rv0dW79xE6V9bLQ/0er3PdW46ZVYDS2e11bG+6v/
hGfQTuAqt7b1Ql6nx+5VGVUWMbYy19jHjcx4fLSD+c0tVHNxHUO9Su64VOP+kPtP8A5FGEOI1dLMk+CPFXE
OtOz6rfFSDwe650W5Tfo5Vo+JDv+qCK3Nz2a72XgfmObtJ+D2fnJ55eXQgsQ5vGdwQ7ySq4eWzIra9sw6dD
yCPpVu/qq0oSK0LOCCLHVdJJJJKkkkklKSSSSUpJJJJSkkkklKSSSSUpJJJJSkkkklP/
0PU3FYf1reR0LPgx+iA+Re0FbbysD62H/IWf/wAUP+rYiNwp4F9gEyYAUsijKxmsffWa2WAFjjxr4kfRd/
Icqlz/AGu+BXXOe19QY8B7HMaHNcJBEDlqsQhxX4MGbKcfDpYN243R/rFmdIftqPq4rjNmK4wPN9Lv8Db/
AOBruMDq2D1TFN+K/wBSs+2ytwh7Cf8AB3M/N/12LgOrdMrxqzlY7opDg11TtSC7/Rv/ADm/
yEHoXULsLq+NZWYba9tNzR+dW87drv6rvexNnCj4skJxnGxs9zksOPZAM1u1Y7/
vrv5TVFtqNluDsexp12e5p82rOZapsUuKOu40aOfEIT02OodrpDv56OPVB+9q2GlYXRnS20/8KP8AqVt1nR
VsvzybmD+aj5ON9bvrJlfV/Fx78bBdnuvt9NzGlwLRtc/f+jru/
d2rlbP8bOfVHrdFNW76PqWPZP8AV9Shu5ekLzL/ABwf0rpX9S7/AKqlCFE0QytzF/
xm9VvyqKD0K1jbrWVl5NkND3NYX644+hu3L0FU83qFHTelW9QySfRxaTa+OSGt3bW/ynLz/
A+sf+Mf6zvuyeitx8TEqfs2uDSAY3+kbbm2vutaxzfV2V11oVew4aU+mLkcr655lH13r+rTcas49hYDeXO3
jfW6/wCh9D81U/qp9cOvWfWB/wBWvrFVX9sAfsurG0hzGi3Y9rd1VjLKf0lVtez+osvqP/5X6P69P/
tvYiI6m+1qfTklhfXD6zN+rfSftbaxdk3PFONU4w0vILt9hHu9KtjN71yWLnf42OoYLeq4rscY1rfVpp2Vh
zmct9Op+9/u/wAH6l+9ARJF6DzU+lJLivq39b+r/WH6v9SNNddXWsBk1kNJrsJaX1foXHcxz3VvpsZvVn/
F79asv6xYOT+0NgzMa0SK27B6b27qvYXP929trHIGJF+CnrElw31l+t3W6frdifV7o3pD1PSbe6xheQ60l7
i33N2tqxmeor31hu/
xhM6m5vQKMazp+xu11xbu36+p9KxiXCdPFT1aS8r6t9dP8YPR8hmJnDCbl2gGvHqb6th3HbXLKrXbfVf7av
8ASLovrh9ZevdD+rvTMyoVVdQyXVsy22M3NDjU621oa1/t22s/eR4Dp4qeySXnV31n/
wAYXWyyzoHTHYWC7btvtawvsGm6z9Zc2v0/3PTrs/41JLgPceVqf//R9Reue+th/wAhZ/8AxI/
6ti6F6xPrFh25nTcvFpE230ubUPF7SLGs/t7diI3UXy+5xIcPitzJ65iU0sNbvXsc1u1jeBp/
hXfmf1fprnnvJmQWkEhzToQRo5jh+a5qG1r7LG11NL7HmGMaJcT/ACQrEZGN11Yp4ozri/
RT5edkZdnqZD5j6LRoxo/kt/78tn6t9HtffV1LKBZRUd+Ox2jrHj6Fhafo0M+l/
wAKidK+r9WOW5GfF14gsp5rYf5f+mt/8CWvfmCpu9x3Pdo0eJ/
8imkkmhqSv9MY9ohsZuWG1+kDL7OfJv8A5kqjLFRNznuLnGXO1JRGWwOYCnhHhFfa0MszOV/
QeT0vQ3TXZ/xo/wCpW9VwsDoNVjcdrniPWf6jQedgG1jv7a6CsKrlPrl5t3CKxx8kq8z/AMcH9K6X/Uu/
6qlemLA+tH1NwfrLZj2ZWRdQcUOawU7dd5a47vUY/
wD0abE0QSyLfXat9n1K6k1gJd9m3QPBu17v+i1cL9SsL61dQ6fczoPWKsCmm53qYr2Bztzw1/
rzsf7Ll6wamGr0XgPYW7HNcJBEbSHD+UuHzv8AFJ0i2824GZkYLDMVNh7Wz+ZU5221tf8AI9R6MZCiD/
FSf6tfUbPwOvu671rqDc3Oh2wVtIlzx6brbHP/AHa/0ddddaw+pvaz/G9Q55DRvoEnQSaHtb/0l031Z/
xf9P8Aq/n/ALRbl5GVlBjqwbCAza7bu9jR/J/fS+tH+L/pv1hzBnG+zEyi0MtcwNe17W/Q312fns/
fYlxCzZ6UpyP8b9bndN6baBuqbkPY4jiX1u2N/tbHIHR+j/XzqPRsa/p/
1hpZhW0tbVWGQ5jNuz0S5tftsp/m11mL9UemV/
Vqv6uZRdmYlYI32Q18lzrm2MdXt9N9b3fo1zdn+KDB9Rxo6pk1VuP0IYT/AGnt9Pf/
AJiQkKq9vC1O19SPqiPq1jZAtyG5OVlOabXMG1jQwEMrZuLn/
nvc971zPR6x9WP8ZmRgOPp4fUmPdVPG2zdl0/8Abd1eTSuy+q/
1Vwvq1i20Yltt5yHiy19xBJcBs9rWNbtQPrN9S+m/WO+jJybbse/
Ha5gsoIBcxx3bH72v+i76G1IS1NndTyv+Lymzrf1p6p9Z7xLGue2iezrj7Q3/AIrCZUz/
AK6ul+un1xo+r2MKMcC/quSP1ajnaD7ftFzW+70930K/p32fo2LT+r3QMP6v9Nb0/Dc97N7rH2WQXOe/
6TnbA1v8lZHXv8XvTeudUs6nflZFNtrWMLaiwNHpja0jexzkrBlrsppfUr6n24tzvrB9YHev1nIJsa2wgmr
d+e/837U5vt9v9Gq/QVIH+OHXoWF/4a/9FXKR/wAUHRCCPt2Zr/KZ/
wCk1tdZ+pWB1fouD0a7Iurp6eGCuxhbvdsrOOPU3sc36LkrHEDd/RTpfV//AJB6b/4Uo/
8APbElZwsVmFhY+GxxczGqZU1zuSGNFYc6Pzvakm9VP//
S9ScFVvqD2kFXChPbKQU811P6udIz7TdmYodcfpX1udXY7zsdWdtjv67VVxPq30jB3fZTbW9/0rHuD3x+5v
c1u1i6eymVXfig9k8HxQ4x6VjnjIePiGn+IVd/
1fpseX2Zrj4AMaIH7ur1uHDHgkMMeCIkRsUSgJCjq4jPq9gA+7IuePAbW/i0OV3G6N06twdXTvcOHWuL/
wDon2f9BaLMUDsrFdACRySP6RQMUB+iFY9UanVx5KuMCgxkIoCYV7JJJJBSkkkklKSSSSUpJJJJSkkkklKS
SSSUpJJJJSkkkklP/
9P1RIiU6ZJTAsUTWEVJJSD0gl6QRvuS+5HVSIVBTDFNJBSwEJ0k6SlJJJJKUkkkkpSSSSSlJJJJKUkkkkpS
SSSSlJJJJKUkkkkp/9k=\")
no-repeat;\n background-size: 100%;\n }\n \n .televzr-popup-footer
{\n width: 195px;\n margin: 22px auto 0;\n color: #63d0ff;\n
font-size: 15px;\n }\n \n .televzr-popup-btn {\n text-decoration:
none;\n display: inline-block;\n line-height: 18px;\n white-
space: nowrap;\n font-size: 14px;\n text-align: center;\n
font-family: 'Roboto', sans-serif;\n font-weight: 500;\n margin: 0;\n
border-radius: 90px;\n padding: 0;\n overflow: hidden;\n
border: solid 2px transparent;\n background: -webkit-gradient(linear, right
top, left top, from(#66d1ff), to(#35c3ff));\n background: -webkit-linear-
gradient(right, #66d1ff 0%, #35c3ff 100%);\n background: -o-linear-
gradient(right, #66d1ff 0%, #35c3ff 100%);\n background: linear-
gradient(270deg, #66d1ff 0%, #35c3ff 100%);\n background-origin: border-
box;\n text-transform: uppercase;\n width: 195px;\n }\n\
n .televzr-popup-btn .btn-outer {\n padding: 13px 15px;\n display:
block;\n background: #f4f3f3;\n }\n\n .televzr-popup-btn .btn-inner {\
n background: -webkit-gradient(linear, right top, left top, from(#66d1ff),
to(#35c3ff));\n background: -webkit-linear-gradient(right, #66d1ff 0%,
#35c3ff 100%);\n background: -o-linear-gradient(right, #66d1ff 0%, #35c3ff
100%);\n background: linear-gradient(270deg, #66d1ff 0%, #35c3ff 100%);\n
-webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\
n }\n\n .televzr-popup-btn .btn-inner svg {\n margin-top: -2px;\n
margin-right: 4px;\n }\n\n .televzr-popup-btn:disabled {\n opacity:
0.5;\n }\n\n .televzr-popup-btn.btn-invert {\n position: relative;\n
overflow: visible;\n }\n\n .televzr-popup-btn.btn-invert::before {\n
content: '';\n position: absolute;\n left: 10px;\n right:
10px;\n top: 20px;\n bottom: -1px;\n background: #6dd3ff;\n
filter: blur(12px);\n border-radius: 100px;\n\n box-shadow: 0 3px 0
0;\n color: #67cefb;\n }\n\n .televzr-popup-btn.btn-invert .btn-outer
{\n background: transparent;\n padding: 13px 32px;\n position:
relative;\n }\n\n .televzr-popup-btn.btn-invert .btn-inner {\n
background: none;\n -webkit-background-clip: border-box;\n -webkit-
text-fill-color: #fff;\n color: #fff;\n }\n\n .televzr-popup-btn.btn-
invert .btn-inner svg path {\n fill: #fff;\n }\n\n .televzr-popup-
btn.btn-invert:hover, .televzr-popup-btn.btn-invert:focus {\n background: -
webkit-gradient(linear, left top, right top, from(#66d1ff), to(#35c3ff));\n
background: -webkit-linear-gradient(left, #66d1ff 0%, #35c3ff 100%);\n
background: -o-linear-gradient(left, #66d1ff 0%, #35c3ff 100%);\n
background: linear-gradient(90deg, #66d1ff 0%, #35c3ff 100%);\n }\n\
n .televzr-popup-btn.btn-small {\n font-size: 12px;\n line-height:
15px;\n border-width: 1px;\n }\n\n .televzr-popup-btn.btn-small .btn-
outer {\n padding: 8px 15px;\n background: #fff;\n }\n\
n .televzr-popup-btn:hover, .televzr-popup-btn:focus {\n outline: none;\n
}\n\n .televzr-popup-btn:hover .btn-outer, .televzr-popup-btn:focus .btn-outer
{\n background: transparent;\n }\n\n .televzr-popup-btn:hover .btn-
inner, .televzr-popup-btn:focus .btn-inner {\n background: none;\n -
webkit-background-clip: border-box;\n -webkit-text-fill-color: #fff;\n
color: #fff;\n }\n\n .televzr-popup-btn:hover .btn-inner svg path, .televzr-
popup-btn:focus .btn-inner svg path {\n fill: #fff;\n }\n \n
a.televzr-popup-btn.btn-invert {\n text-decoration: none;\n
}\n\n</style>\n")}},function(e,t,n){"use strict";n.r(t),n.d(t,"ICON_DOWNLOAD",
(function(){return r})),n.d(t,"ICON_DOWNLOAD_DISABLE",(function(){return
o})),n.d(t,"ICON_PLAYLIST",(function(){return i})),n.d(t,"ICON_LOADING",(function()
{return a})),n.d(t,"styles",(function(){return s}));var
r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAPklEQVR42m
NgGHTgvw/DfxgexJqBiuYja8CD55NrwHxyXTCfWP/
OJ0sjFgPmkxvXCWRFDy6MT3MDITw40j8Ak46HYQ4gDfUAAAAASUVORK5CYII=",o="data:image/
png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAVklEQVQoz2P4//8/
A7mYgSqa0UF9ff1/
GEaXG0SagYrmI2vAg+djtZkIA+bjdTYeA+YT5WcsBswnNcDmY9NIlGaoAQnYxHEFGMHQxqe5gRDGqpnuGQM
ALmDKhkjc9oYAAAAASUVORK5CYII=",i="data:image/
png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAMUlEQVR42mL8//8/
A7mAiYECwILC82Uk7IzN/xmpYjPjqJ9H/UxTP1OkGQAAAP//
AwDcahUV6UvyJwAAAABJRU5ErkJggg==",a="data:image/
gif;base64,R0lGODlhHgAeAKUAAAQCBISGhMzKzERCROTm5CQiJKSmpGRmZNza3PT29DQyNLS2tBQWFJya
nFRSVHx6fNTS1Ozu7CwqLKyurGxubOTi5Pz+/
Dw6PLy+vBweHKSipFxaXAQGBIyKjMzOzExKTCQmJKyqrGxqbNze3Pz6/
DQ2NBwaHJyenHx+fNTW1PTy9MTCxFxeXP///
wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/
C05FVFNDQVBFMi4wAwEAAAAh+QQJCQAtACwAAAAAHgAeAAAGtMCWcEgcegoZT3HJFCYIpOEBADg0r84S5zH
UADgaIiKKFXqoIMsQAiEmCquykORgNMoJOZGsb5IQan1lFh8ALIJFJAZ5QioMABmIRBUMSkMnAxOSRCqbnp
+ggionKaFFIgAmjKAGEhUUkHyfISUECRMjprq7vKAYLAKfJAudQwoAA58nAAFEHQwnnwQUCL3WfSEb1VcqA
ZZyIABcVwYADn0aH6VzBwd8ESjBniMcHBW9ISF9QQAh+QQJCQAzACwAAAAAHgAeAIUEAgSEgoTEwsRMTkzk
4uQkIiSkoqRsamzU0tT08vQ0MjQUEhRcWly0trSUkpR0dnQMCgzMyszs6uzc2tz8+vw8OjyMioxUVlQsKiy
sqqxkYmS8vrx8fnwEBgSEhoTExsRUUlTk5uR0cnTU1tT09vQ0NjQcGhxcXly8urycnpx8enwMDgzMzszs7u
zc3tz8/vw8PjwsLiysrqz///
8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGt8CZcEgcumCVSXHJFL4SRA4A8BhSJq1m8
TVYOIaoTqcxPAAKEu2Q0AGUiCHCkGSaktXCgymjVnVKUHiCQxIUaoGDgwcdKolMAoZOBQAxjkUJBS5EDSAo
llufoaKjohQbIaRLHgAYkaQsJyQWlK6jCCcUFAKoqb2+v74jD0qiLyy1AwAMoygAKUQGBTKjLQFywNiOHwF
ZWhQpmoMVAF9aGwAaiRkX4TMvKiIvcxYjowkrEN2/
ER+JQQAh+QQJCQAuACwAAAAAHgAeAIUEAgSEgoTExsREQkSkoqTs6uxkZmQcHhyUkpTU1tS0trT09vQUEhR
UUlR0dnSMiozMzsysqqw0NjQMCgxMSkz08vQsKiycnpzk4uS8vrz8/
vx8fnyEhoTMysxERkSkpqTs7uxsbmwkIiSUlpTc2ty8urz8+vwcGhxUVlR8enyMjozU0tSsrqwMDgz///
8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGtkCXcEgcglCNQ
nHJHGqIIwDgQSwsmsvQITLstFqCYWAiuWKFiwmAQgSBhiaLtHMWSzLnUYtirvvRf4FLFQpKQw8tI4JEJhIA
Im9CjgOLQwVqAAlDAgYQlUMbDAYmn1h9paipGiuRqUQXAAOkrhgOJrADT64kKaQJFa7BwsPDGCOtn8BEKAA
bqBgMYUMREtKfJiynxNt+CQ/
ISxoK4FjMF2cJACmBHQ7ICCqMBBioJgcns8Mkmn9BACH5BAkJADEALAAAAAAeAB4AhQQCBIyKjERGRMTGxC
QiJOTm5GRiZKyqrNTW1BQSFDQyNJyanPT29HR2dFxaXMzOzGxqbMTCxNze3BwaHDw6PKSipAwKDExOTCwqL
Ozu7LS2tPz+/AQGBJSSlMzKzCQmJGRmZKyurNza3BQWFDQ2NJyenPz6/
Hx6fFxeXNTS1GxubOTi5BweHDw+PKSmpFRSVPTy9P///
wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa1wJhwSBwyVCpYcclsHgCACpFh
ai4DpMhQwpoghqXEq2odjgAooolBbEFF5WFH4Cm7WKhNfM/
vx00PbEMVHyF+RS8AJGQxFwAOh0YJABwFQykNcJFCHQQneptNoKGkpUIFjKUHECkHHBCmMQ9QLC4AILGzAC
wxK6mkJSAPscTFpBkHSqSjQicAAccfEkQDFymlEb/
G23EFFYJWBcxlEAAaZTAJLn0IAcpCIetEHuCbChjcK5Z8QQAh+QQJCQAzACwAAAAAHgAeAIUEAgSEgoTEws
RMTkzk4uQkIiSkoqRsamz08vTU0tQ0NjS0srQUEhSUkpRcWlx8enwMCgyMiozs6uwsKiz8+vzc2ty8urzMy
sysqqx0cnQ8PjxkYmQEBgSEhoTExsRUUlTk5uQkJiSkpqRsbmz09vTU1tQ8Ojy0trQcHhycmpxcXlx8fnwM
DgyMjozs7uwsLiz8/vzc3ty8vrz///
8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGuMCZcEgcUjodSnHJbMoAAEtzOjQMSkPQJ
AQaLkIjKjEEyBBhyuEAwEGIhRhHhWp5md/
4vL4JghExGhd7RAcAH35CHwArg0MoACxuQjENLo1CIgoNl5ydnmIkn0IyHQQeDA+fMRAAJgIsd50xHAAKMy
6IngsPc6K+v1RpQyQCwoMrKAe5LQAplxKsAFhCCRsxlxQKACiSoi4nEsBvCBa5TaF5KwAJwQUCeQQp6NTsR
CXmgyoO4iTGVEEAIfkECQkAMQAsAAAAAB4AHgCFBAIEhIaExMbEREJE5ObkpKakJCIkZGJklJaU1NbU9Pb0
FBIUtLa0NDI0VFJUdHJ0zM7M7O7snJ6cvL68PDo8fHp8DAoMjI6MTEpM5OLk/
P78HB4cjIqMzMrMREZE7OrsrKqsLC4snJqc3Nrc/
Pr8FBYUvLq8NDY0XFpcdHZ01NLU9PL0pKKkxMLEPD48fH58DA4M////
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABrrAmHBIHGpYLE1xyWxCAABVczo
EoQjDlcu1GrYoFyqxAUAQNSTiAbAQeysRasdldtvv+Gaa2HGM8kQBAClEDwAcgEMhABtKQgQSXYkxDBggk5
iZmpt3ECIRCRt1mREwAA4qJWGaHxanMXubLRxYnLa3eSQJjokIIYhDLAAmkysLABa1MSMpcYkaAwAnsZsKA
gqbEdRUGspNFTAU2G4FJZJMCiVQxG4rHUUj3msbzokpFUQKKueJJNtTQQAAIfkECQkANAAsAAAAAB4AHgCF
BAIEhIKExMLEREJE5OLkZGJkpKKkJCIk1NLUVFJUdHJ0tLK0lJKU9PL0NDY0FBYUzMrMbGpsrKqsLCos3Nr
cXFpc/
Pr8DAoMjI6MTEpMfH58vL68nJqcBAYEhIaExMbE5ObkZGZkpKakJCYk1NbUVFZUdHZ0tLa09Pb0PDo8HBoc
zM7MbG5srK6sLC4s3N7cXF5c/P78TE5MnJ6c////
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABrRAmnBIJEpaxaRySXsBOiCmlPbRNIaoEMsyRMh
E02EGIJEqAJOwcBW4MkklpHpOr0tJrKhdyHlgiAEAYHs0AwAORA0LKIQ0EDACjZKTlJVMLy0oIA4LlCgqAA
oEI2WTDQ8ALJZCCDNuq7CxUq97IgMGRB8PenYxoA+MQg0SMY0VADLFlhYUXJPOc8FMDA8l0FIbB8prCEMWB
wAAJGrMRDNPpTRnDtJ1BeERQzEg7XUfKiPdYUEAIfkECQkAMQAsAAAAAB4AHgCFBAIEhIKExMLEVFJU5OLk
JCIkpKakbG5s9PL0FBIUlJKU1NbUNDI0vLq8fHp8DAoMjIqMzMrMXFpc7Ors/
Pr8LCostLK0dHZ0HB4cnJ6c3N7cPD48BAYEhIaExMbEVFZU5ObkJCYkrKqsdHJ09Pb0FBYUlJaU3NrcNDY0
vL68fH58DA4MjI6MzM7MXF5c7O7s/P78////
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABrXAmHBIJHpaxaRyGXs9SiSmNLZ
QRIWUg4N4+limQxdAIGUBNmChJkORvlSRtHxOnxICr/
pQVDEQTQApekIfAANEFBEwg1QXC4yQkZKTTBMCFCQuj5EUFQAsJBKbkBQhABCUQiApbamur1OLjA0fDVwFV
3qeIYhkjCMcI695TBTElC8MKwFSBgUHaRYAABitMRoERJ4cIGAgGADQQiIcD4JCLAkDslMIC+wj08xDL+x1
Cygb2WBBACH5BAkJADEALAAAAAAeAB4AhQQCBISChMTCxERGROTi5KSipCQiJNTS1GRmZPTy9BQSFJSWlLS
2tDQyNIyKjMzKzFRWVOzq7KyqrNza3HRydPz6/
BwaHAwKDJyenDw+PHx6fISGhMTGxExOTOTm5KSmpCwuLNTW1PT29BQWFJyanLy6vDQ2NIyOjMzOzFxeXOzu
7KyurNze3HR2dPz+/BweHAwODP///
wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAazwJhwSCSGJsWkchkTjQzMqJDw
qRA3C2KkhZIOKYBQlARIeYURhiua2CDP8Lg8KpKs50JBY0UUjCJ4Qi1lRQmBaAsEh4uMjY5MCWIVLYqMLhk
ABZOVixWYBY9CKgehpVIipRUpFhqHKAgPQygAABcqgZgZQyovABl3cycwJ1olhqZDLqihIgMKJFEMDRtnAr
QgRCq3QwO1VlIqDQDUeRcKXUIfLxRwIoBDG7TQyYseHRDbUkEAIfkECQkAMAAsAAAAAB4AHgCFBAIEhIKEx
MLEREZE5OLkZGZkpKKkHB4c1NLUVFZU9PL0dHZ0tLK0FBYUlJKUNDY0zMrMTE5MbG5srKqsJCYk3Nrc/
Pr8DAoMZGJknJ6cBAYEhIaExMbETEpM5ObkbGpspKakJCIk1NbUXFpc9Pb0fH58vL68HBoclJaUzM7MVFJU
dHJ0rK6sLCos3N7c/P78////
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABrVAmHBIJBI8xaRyKQw9mFA
hCVIEMYiKTSU6NDQUUBZAwhW+CFGSAVluu99QiwBOTKmoQxGFRBcGACVFL31CCi
BghImKi0UQGCCMFi4wJwAACIsjGhMHliKLBRcsKR+QixZsjKplg6svCxQohBULn0IElg0WfSoAKkMkDwAJh
BMUE0QkCLurzUovIwcsUBwdGWUilgPJzEIjACdlFh0NpjAIDQeTQiYPDm0viEIZlleqChILfFxBACH5BAkJ
AC8ALAAAAAAeAB4AhQQCBISGhMTGxExOTOTm5CQmJKyqrNTW1GxqbPT29DQ2NLy6vBQWFJSSlAwKDMzOzFx
aXOzu7CwuLLSytNze3IyOjHx6fPz+/Dw+PMTCxAQGBIyKjMzKzFRWVOzq7CwqLKyurNza3HRydPz6/
Dw6PLy+vBweHJyanAwODNTS1GRiZPTy9DQyNLS2tOTi5P///
wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa3wJdwSCQmRsWkcins
qJhQ4YhSTKWMJ0J0WCogmRxAYDtMREeLCHm9JbRW7GjEBFB84y+K6jBMAQAOangvJwANQyMIDGODLwklZkR
3jZSVli8hFi2XLxdqLAAaLpcIKBwKgFqWIgwcLgElnI6ytLVsFQoGlBENVEIRKAAFlBYAEEMXAwAilAIkIE
QXqrbURCISsUwHENBbERoAHZKTIgASawgFC0MuBSweQw8Duo0tfxm0IwEBk0xBACH5BAkJADMALAAAAAAeA
B4AhQQCBISChMTGxERCROTm5CQiJKSipGRiZBQSFJSSlNTW1PT29DQyNLS2tHR2dAwKDIyKjMzOzFRSVOzu
7BwaHJyanNze3Dw6PKyurGxqbPz+/AQGBISGhMzKzExKTOzq7CwuLKSmpBQWFJSWlNza3Pz6/
DQ2NLy6vHx6fAwODIyOjNTS1FxaXPTy9BweHJyenOTi5Dw+PGxubP///
wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa6wJlwSCSWSsWkcjhZIYcO1HI6/
LgAB6IFVhS0qMMGAEBZTCcIDFjYMqWkVIJmLSxN6NSWwIwHLxgAHn1FBA5cQgQbAAh8gzNiIUQcIBWOQyUk
T5abnJ1rBBACnpczHgApd54QIgoSi6mdCQUWExUro7i5up0hHiecEy8fl1cmnBwADkQZDxycCiwdRY271UU
qAxFUHyiiaxopWEQac0MJAMZ0EBfeMy0xA19CFixqmxFjCroaLwblYEEAADs=",s="\n .sf--sc-btn
{\n background-image: url(".concat(r,");\n background-repeat: no-repeat;\n
background-position: 50%;\n }\n .sf--sc-playlist {\n background-image:
url(").concat(i,");\n background-size: 50%;\n }\n .sf--sc-loading {\n
background-image: url(").concat(a,");\n background-size: 50%;\n }\n .sf--sc-
error {\n background-image: url(").concat(o,");\n }\n")},function(e,t,n){"use
strict";function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r+
+)n[r-1]=arguments[r];for(var o=[],i=function(t){!o.find((function(r){return
n.every((function(n){return r[n]===e[t][n]}))}))&&o.push(e[t])},a=0;a<e.length;a+
+)i(a);return o}n.r(t),n.d(t,"uniqArrayObject",(function(){return
r}))},function(e,t,n){"use strict";n.r(t),t.default=function(e){for(var
t=[];e.parentElement&&1===e.parentElement.nodeType;){var
n="",r=[].slice.call(e.parentElement.children);r.length>1&&(n=":nth-
child(".concat(r.indexOf(e)
+1,")")),t.unshift("".concat(e.tagName).concat(n)),e=e.parentElement}return
t.join(">")}},function(e,t,n){var r;e.exports=(r=n(108),function(e){var
t=r,n=t.lib,o=n.WordArray,i=n.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t+
+)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var u=a.MD5=i.extend({_doReset:function()
{this._hash=new
o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t)
{for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|
4278255360&(o<<24|o>>>8)}var
i=this._hash.words,a=e[t+0],u=e[t+1],p=e[t+2],m=e[t+3],h=e[t+4],g=e[t+5],v=e[t+6],b
=e[t+7],y=e[t+8],A=e[t+9],k=e[t+10],w=e[t+11],x=e[t+12],_=e[t+13],S=e[t+14],C=e[t+1
5],I=i[0],O=i[1],M=i[2],L=i[3];I=l(I,O,M,L,a,7,s[0]),L=l(L,I,O,M,u,12,s[1]),M=l(M,L
,I,O,p,17,s[2]),O=l(O,M,L,I,m,22,s[3]),I=l(I,O,M,L,h,7,s[4]),L=l(L,I,O,M,g,12,s[5])
,M=l(M,L,I,O,v,17,s[6]),O=l(O,M,L,I,b,22,s[7]),I=l(I,O,M,L,y,7,s[8]),L=l(L,I,O,M,A,
12,s[9]),M=l(M,L,I,O,k,17,s[10]),O=l(O,M,L,I,w,22,s[11]),I=l(I,O,M,L,x,7,s[12]),L=l
(L,I,O,M,_,12,s[13]),M=l(M,L,I,O,S,17,s[14]),I=c(I,O=l(O,M,L,I,C,22,s[15]),M,L,u,5,
s[16]),L=c(L,I,O,M,v,9,s[17]),M=c(M,L,I,O,w,14,s[18]),O=c(O,M,L,I,a,20,s[19]),I=c(I
,O,M,L,g,5,s[20]),L=c(L,I,O,M,k,9,s[21]),M=c(M,L,I,O,C,14,s[22]),O=c(O,M,L,I,h,20,s
[23]),I=c(I,O,M,L,A,5,s[24]),L=c(L,I,O,M,S,9,s[25]),M=c(M,L,I,O,m,14,s[26]),O=c(O,M
,L,I,y,20,s[27]),I=c(I,O,M,L,_,5,s[28]),L=c(L,I,O,M,p,9,s[29]),M=c(M,L,I,O,b,14,s[3
0]),I=d(I,O=c(O,M,L,I,x,20,s[31]),M,L,g,4,s[32]),L=d(L,I,O,M,y,11,s[33]),M=d(M,L,I,
O,w,16,s[34]),O=d(O,M,L,I,S,23,s[35]),I=d(I,O,M,L,u,4,s[36]),L=d(L,I,O,M,h,11,s[37]
),M=d(M,L,I,O,b,16,s[38]),O=d(O,M,L,I,k,23,s[39]),I=d(I,O,M,L,_,4,s[40]),L=d(L,I,O,
M,a,11,s[41]),M=d(M,L,I,O,m,16,s[42]),O=d(O,M,L,I,v,23,s[43]),I=d(I,O,M,L,A,4,s[44]
),L=d(L,I,O,M,x,11,s[45]),M=d(M,L,I,O,C,16,s[46]),I=f(I,O=d(O,M,L,I,p,23,s[47]),M,L
,a,6,s[48]),L=f(L,I,O,M,b,10,s[49]),M=f(M,L,I,O,S,15,s[50]),O=f(O,M,L,I,g,21,s[51])
,I=f(I,O,M,L,x,6,s[52]),L=f(L,I,O,M,m,10,s[53]),M=f(M,L,I,O,k,15,s[54]),O=f(O,M,L,I
,u,21,s[55]),I=f(I,O,M,L,y,6,s[56]),L=f(L,I,O,M,C,10,s[57]),M=f(M,L,I,O,v,15,s[58])
,O=f(O,M,L,I,_,21,s[59]),I=f(I,O,M,L,h,6,s[60]),L=f(L,I,O,M,w,10,s[61]),M=f(M,L,I,O
,p,15,s[62]),O=f(O,M,L,I,A,21,s[63]),i[0]=i[0]+I|0,i[1]=i[1]+O|0,i[2]=i[2]+M|
0,i[3]=i[3]+L|0},_doFinalize:function(){var
t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o
%32;var i=e.floor(r/4294967296),a=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|
4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|
4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var
s=this._hash,u=s.words,l=0;l<4;l++){var c=u[l];u[l]=16711935&(c<<8|c>>>24)|
4278255360&(c<<24|c>>>8)}return s},clone:function(){var e=i.clone.call(this);return
e._hash=this._hash.clone(),e}});function l(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)
+o+a;return(s<<i|s>>>32-i)+t}function c(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)
+o+a;return(s<<i|s>>>32-i)+t}function d(e,t,n,r,o,i,a){var s=e+(t^n^r)
+o+a;return(s<<i|s>>>32-i)+t}function f(e,t,n,r,o,i,a){var s=e+(n^(t|~r))
+o+a;return(s<<i|s>>>32-i)
+t}t.MD5=i._createHelper(u),t.HmacMD5=i._createHmacHelper(u)}
(Math),r.MD5)},function(e,t,n){(function(t){var r;e.exports=(r=r||function(e,r){var
o;if("undefined"!=typeof window&&window.crypto&&(o=window.crypto),!o&&"undefined"!
=typeof window&&window.msCrypto&&(o=window.msCrypto),!o&&void 0!
==t&&t.crypto&&(o=t.crypto),!o)try{o=n(!function(){var e=new Error("Cannot find
module 'crypto'");throw e.code="MODULE_NOT_FOUND",e}())}catch(e){}var i=function()
{if(o){if("function"==typeof o.getRandomValues)try{return o.getRandomValues(new
Uint32Array(1))[0]}catch(e){}if("function"==typeof o.randomBytes)try{return
o.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module
could not be used to get secure random number.")},a=Object.create||function()
{function e(){}return function(t){var n;return e.prototype=t,n=new
e,e.prototype=null,n}}(),s={},u=s.lib={},l=u.Base={extend:function(e){var
t=a(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||
(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.
$super=this,t},create:function(){var e=this.extend();return
e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in
e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=
e.toString)},clone:function(){return
this.init.prototype.extend(this)}},c=u.WordArray=l.extend({init:function(e,t)
{e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e)
{return(e||f).stringify(this)},concat:function(e){var
t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var
i=0;i<o;i++){var a=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else
for(i=0;i<o;i+=4)t[r+i>>>2]=n[i>>>2];return this.sigBytes+=o,this},clamp:function()
{var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n
%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return
e.words=this.words.slice(0),e},random:function(e){for(var
t=[],n=0;n<e;n+=4)t.push(i());return new
c.init(t,e)}}),d=s.enc={},f=d.Hex={stringify:function(e){for(var
t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o
%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return
r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|
=parseInt(e.substr(r,2),16)<<24-r%8*4;return new
c.init(n,t/2)}},p=d.Latin1={stringify:function(e){for(var
t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o
%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e)
{for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r
%4*8;return new c.init(n,t)}},m=d.Utf8={stringify:function(e){try{return
decodeURIComponent(escape(p.stringify(e)))}catch(e){throw new Error("Malformed UTF-
8 data")}},parse:function(e){return
p.parse(unescape(encodeURIComponent(e)))}},h=u.BufferedBlockAlgorithm=l.extend({res
et:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e)
{"string"==typeof
e&&(e=m.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:funct
ion(t){var n,r=this._data,o=r.words,i=r.sigBytes,a=this.blockSize,s=i/(4*a),u=(s=t?
e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,l=e.min(4*u,i);if(u){for(var
d=0;d<u;d+=a)this._doProcessBlock(o,d);n=o.splice(0,u),r.sigBytes-=l}return new
c.init(n,l)},clone:function(){var e=l.clone.call(this);return
e._data=this._data.clone(),e},_minBufferSize:0}),g=(u.Hasher=h.extend({cfg:l.extend
(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function()
{h.reset.call(this),this._doReset()},update:function(e){return
this._append(e),this._process(),this},finalize:function(e){return
e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e)
{return function(t,n){return new
e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return
new g.HMAC.init(e,n).finalize(t)}}}),s.algo={});return s}
(Math),r)}).call(this,n(67))},function(e,t,n){"use strict";n.r(t),n.d(t,"STYLE",
(function(){return r}));var r="\n .theme-white .sf-download { background:
white; box-shadow: 0 0 7px 7px white; }\n .theme_dark .sf-download
{ background: #181818; box-shadow: 0 0 7px 7px #181818; } \n \n .theme-
white .sf-download:hover path { fill: black; }\n .theme_dark .sf-
download:hover path { fill: white; }\n \n .theme-white .sf-download
path { fill: #a7a7a7; } \n \n .sf-download {\n margin-top:
3px;\n margin-right: 6px;\n padding-right: 10px;\n
padding-left: 10px;\n float:left;\n }\n \n .sf-download-
in-control {\n margin: 12px;\n width: 11px;\n
height: 22px;\n margin-top: 9px;\n }\n \
n .theme_dark .sf-download-in-control path { fill: white; }\n .theme-
white .sf-download-in-control path { fill: #3c3b3b; }\n \n .sf-icon-error
path, .sf-icon-error:hover path { fill: #ff33334a!important; }\n"},function(e,t,n)
{"use strict";n.r(t),n.d(t,"credentials",(function(){return
m})),n.d(t,"fetchAccessPayload",(function(){return h})),n.d(t,"fetchPlaylistsFor",
(function(){return v})),n.d(t,"getVideoId",(function(){return y}));var
r=n(8),o=n(4),i=n(13),a=n(0),s=n.n(a),u=n(50),l=n(11),c=n(16);function d(e,t){var
n=Object.keys(e);if(Object.getOwnPropertySymbols){var
r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return
Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var
f=function(e){return"https://api.twitch.tv/api/vods/".concat(e,"/access_token")},p=
function(e,t,n){return"https://usher.ttvnw.net/vod/".concat(e,".m3u8?
sig=").concat(n,"&supported_codecs=avc1&token=").concat(t,"&cdm=wv&player_version=0
.9.80")};function m(){return Object(u.default)((function(){return
window.cookies})).then((function(e){return function(e){for(var
t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?
d(Object(n),!0).forEach((function(t){Object(i.a)
(e,t,n[t])})):Object.getOwnPropertyDescriptors?
Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach
((function(t)
{Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}
({authToken:e["auth-token"]},e)}))}function h(){return
g.apply(this,arguments)}function g(){return(g=Object(o.a)(s.a.mark((function e()
{var t,n,r,o,i,a,u,c,d;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next)
{case 0:if(t=y()){e.next=3;break}throw new Error("Video id not found");case
3:return e.next=5,m();case 5:return n=e.sent,r=f(t),o=function(){var
e=document.querySelectorAll("script:not([src])");if(e&&e[1]){var
t=document.querySelectorAll("script:not([src])")[1].textContent.match(/"Client-
ID\":\"(.*?)\",/);return t&&t[1]?t[1]:null}return null}(),(i=new
URLSearchParams).append("oauth_token",n.authToken),i.append("need_https","true"),i.
append("platform","web"),i.append("player_type","site"),i.append("player_backend","
mediaplayer"),a={},o&&(a["client-id"]=o),e.next=19,Object(l.default)
({url:r+"?"+i.toString(),headers:a,json:!0}).then((function(e){return
e.body}));case 19:return u=e.sent,c=u.token,d=u.sig,e.abrupt("return",
{token:c,sig:d});case 23:case"end":return
e.stop()}}),e)})))).apply(this,arguments)}function v(e,t,n){return
b.apply(this,arguments)}function b(){return(b=Object(o.a)(s.a.mark((function
e(t,n,o){var i,a,u;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:return i=p(t,encodeURIComponent(n),o),e.next=3,Object(l.default)
(i).then((function(e){return e.body}));case 3:return a=e.sent,u=Object(c.matchAll)
(a,/VIDEO="(.*?)"\n(http.*?)$/gm).map((function(e){var t=Object(r.a)
(e,3);t[0];return{title:t[1],endpoint:t[2],provider:"hlsProvider"}})),e.abrupt("ret
urn",{master:{url:i,masterRaw:a},playlists:u});case 6:case"end":return
e.stop()}}),e)})))).apply(this,arguments)}function y(){var
e=location.href.match(/videos\/(\d+)/);return e?e[1]:null}},function(e,t,n){"use
strict";function r(e){return
e.dataset.sfSongReady=1,e}n.r(t),n.d(t,"setReadyFlagOnElement",(function(){return
r})),n.d(t,"notReadyFilter",(function(){return o}));var o=function(e){return!
e.dataset.sfSongReady}},function(e,t,n){"use strict";n.r(t);var
r=n(8),o=n(42),i=n(14),a=n(35),s=n.n(a);function u(){return(u=Object.assign||
function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in
n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return
e}).apply(this,arguments)}var l={position:"relative"},c=i.default.memo((function(e)
{var t=e.hoverText,n=e.children,a=Object(o.a)(e,
["hoverText","children"]),c=i.default.useRef(),d=i.default.useState(!
1),f=Object(r.a)(d,2),p=f[0],m=f[1],h=i.default.useCallback((function(){return m(!
0)}),[]),g=i.default.useCallback((function(){return m(!1)}),[]);return
i.default.createElement("div",u({onmouseenter:h,onmouseout:g,style:l},a),i.default.
createElement("div",{ref:c,className:s()("div-
hover",p?"show":"hide")},t),n)}));t.default=c},function(e,t,n){"use strict";var
r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?
o.apply:function(e,t,n){return
Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?
o.ownKeys:Object.getOwnPropertySymbols?function(e){return
Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e)
{return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!
=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return
new Promise((function(n,r){function o(){void 0!
==i&&e.removeListener("error",i),n([].slice.call(arguments))}var i;"error"!
==t&&(i=function(n)
{e.removeListener(t,o),r(n)},e.once("error",i)),e.once(t,o)}))},s.EventEmitter=s,s.
prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void
0;var u=10;function l(e){if("function"!=typeof e)throw new TypeError('The
"listener" argument must be of type Function. Received type '+typeof e)}function
c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function
d(e,t,n,r){var o,i,a,s;if(l(n),void 0===(i=e._events)?
(i=e._events=Object.create(null),e._eventsCount=0):(void 0!
==i.newListener&&(e.emit("newListener",t,n.listener?
n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else
if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),
(o=c(e))>0&&a.length>o&&!a.warned){a.warned=!0;var u=new Error("Possible
EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use
emitter.setMaxListeners() to increase
limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,
s=u,console&&console.warn&&console.warn(s)}return e}function f(){if(!
this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!
0,0===arguments.length?
this.listener.call(this.target):this.listener.apply(this.target,arguments)}function
p(e,t,n){var r={fired:!1,wrapFn:void
0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function
m(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?
[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new
Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}
(o):g(o,o.length)}function h(e){var t=this._events;if(void 0!==t){var
n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return
0}function g(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return
n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function()
{return u},set:function(e){if("number"!=typeof e||e<0||a(e))throw new
RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-
negative number. Received '+e+".");u=e}}),s.init=function(){void 0!
==this._events&&this._events!==Object.getPrototypeOf(this)._events||
(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._max
Listeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||
e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-
negative number. Received '+e+".");return
this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return
c(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n+
+)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void
0===o.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof
Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw
s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof
u)i(u,this,t);else{var l=u.length,c=g(u,l);for(n=0;n<l;++n)i(c[n],this,t)}return!
0},s.prototype.addListener=function(e,t){return d(this,e,t,!
1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t
){return d(this,e,t,!0)},s.prototype.once=function(e,t){return
l(t),this.on(e,p(this,e,t)),this},s.prototype.prependOnceListener=function(e,t)
{return
l(t),this.prependListener(e,p(this,e,t)),this},s.prototype.removeListener=function(
e,t){var n,r,o,i,a;if(l(t),void 0===(r=this._events))return this;if(void
0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?
this._events=Object.create(null):(delete
r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else
if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||
n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?
n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}
(n,o),1===n.length&&(r[e]=n[0]),void 0!
==r.removeListener&&this.emit("removeListener",e,a||t)}return
this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=fun
ction(e){var t,n,r;if(void 0===(n=this._events))return this;if(void
0===n.removeListener)return 0===arguments.length?
(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--
this._eventsCount?this._events=Object.create(null):delete
n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;+
+r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return
this.removeAllListeners("removeListener"),this._events=Object.create(null),this._ev
entsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else
if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return
this},s.prototype.listeners=function(e){return m(this,e,!
0)},s.prototype.rawListeners=function(e){return m(this,e,!
1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?
e.listenerCount(t):h.call(e,t)},s.prototype.listenerCount=h,s.prototype.eventNames=
function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use
strict";n.r(t);t.default=function(e){var t=arguments.length>1&&void 0!
==arguments[1]?arguments[1]:[];Array.isArray(t)||(t=[t]);var n=new
DOMParser,r=n.parseFromString(e,"text/html");return[].slice.call(r.querySelectorAll
("script")).map((function(e){return e.textContent})).filter((function(e){return
t.every((function(t){return t.test(e)}))}))}},function(e,t,n){"use
strict";n.r(t);var r=n(1),o=n(2),i=n(54),a=function(){function e(){Object(r.a)
(this,e)}return Object(o.a)(e,[{key:"applyActions",value:function(e,t){for(var
n,r={slice:function(e,t){e.slice(t)},splice:function(e,t)
{e.splice(0,t)},reverse:function(e){e.reverse()},swap:function(e,t){var
n=e[0];e[0]=e[t%e.length],e[t]=n}},o=t.split(""),i=0;n=e[i];i++)r[n[0]]
(o,n[1]);return o.join("")}},{key:"getNewChip",value:function(e){var t=function(t)
{var n=/([\w$]+)(?:\.([\w$]+)|\[("[\w$]+")\])\([\w$]+,?([\w$]+)?\)/.exec(t);if(!
n)throw new Error("readAction");var r=n[1],o=n[2]||n[3],i=n[4],a=function(t,n)
{t=t.replace(/\$/g,"\\$");var r=new RegExp("(?:var |,)?"+t+"={"),o=e.search(r);if(-
1===o)throw new Error("Place is not found");var
i=e.substr(o,300);n=n.replace(/\$/g,"\\$");var a=new RegExp(n+":function\\(([$\\w,]
+)\\){([^}]+)}"),s=i.match(a);if(!s)throw new Error("Place function is not
found!");return{args:s[1],statement:s[2]}}
(r,o);if(/\.reverse/.test(a.statement))return["reverse",null];if(!/^[\d]+
$/.test(i))throw new Error("Arg is not number");return/\.splice/.test(a.statement)?
["splice",parseInt(i)]:/\.slice/.test(a.statement)?["slice",parseInt(i)]:
["swap",parseInt(i)]},n=function(){var t=null,n=/,sts:(\
d+)/.exec(e);if(n&&(t=n[1]),!t){var r=/\.signatureTimestamp=(\
d+)/.exec(e);r&&(t=r[1])}if(!t){var o=/,signatureTimestamp:(\
d+)/.exec(e);o&&(t=o[1])}if(!t){var i=/,sts:([\w$]+)/.exec(e);if(i){var
a=e.indexOf(",sts:".concat(i[1]));t=function(e,t){t=t.replace(/\$/g,"\\$");var
n=new RegExp("(?:var |,|;\n?)"+t+"=(\\d+)[;,]").exec(e);if(!n)throw new Error("Sts
variable is not found");return n[1]}(function(e,t){for(var n=e.substr(0,t),r=void
0;-1!==r;){"number"==typeof r&&(r-=1);var
o=i(e,r=n.lastIndexOf("function",r));if(r<t&&r+o.length>t)return o}throw new
Error("Parent function is not found");function i(e,t){for(var
n,r={"{":0},o={"}":"{"},i="",a=t;n=e[a];a++)if(i+=n,"{"===n)r[n]++;else
if("}"===n&&(r[o[n]]--,!r["{"]))return i;return""}}(e,a),i[1])}}if(!t)throw new
Error("Sts is not found");return parseInt(t,10)}(),r=/[$_a-zA-Z0-9]+\.set\((?:[$_a-
zA-Z0-9]+\.[$_a-zA-Z0-9]+\|\|)?"signature",([$_a-zA-Z0-9]+)\(/.exec(e);if(r||(r=/
(?:function ([$_a-zA-Z0-9]+)|(?:var |,|;\n)([$_a-zA-Z0-9]+)=function)\(([\w$]+)\){\
3=\3\.split\([^}]+;return \3\.join\([^}]+}[;,]/.exec(e))&&(r=[r[0],r[1]||r[2]]),!
r)throw new Error("Decode function name is not found!");var o=function(n)
{n=n.replace(/\$/g,"\\$");var r=new RegExp("(?:function "+n+"|(?:var |,|;\
n)"+n+"=function)\\(([\\w$]+)\\){([^}]*)}[;,]").exec(e);if(!r)throw new
Error("findConvertFn");return function(e,n){e=e.replace(/\$/g,"\\$");var r=new
RegExp('[\\w$]+(?:\\.[\\w$]+|\\["[\\w$]+"\\])\\
('+e+"[^)]*\\)","g"),o=n.match(r);if(!o)throw new Error("readScope");return
o.map((function(e){return t(e)}))}(r[1],r[2])}(r[1]);if(!o.length)throw new
Error("actionList is empty");return{actionList:o,sts:n}}},
{key:"dechip",value:function(e,t){var
n=this.getNewChip(t);return{sts:n.sts,actionList:n.actionList,expiresAt:Object(i.de
fault)()+21600,playerUrl:e}}}]),e}();t.default=a},function(e,t,n){"use
strict";n.r(t);t.default={youtube:"moduleYoutube",dailymotion:"moduleDailymotion",v
imeo:"moduleVimeo",facebook:"moduleFacebook",soundcloud:"moduleSoundcloud",vk:"modu
leVkontakte",odnoklassniki:"moduleOdnoklassniki",mailru:"moduleMailru",instagram:"m
oduleInstagram",rutube:"moduleRutube",tiktok:"moduleTiktok",yandexMusic:"moduleYand
exMusic",matchTv:"moduleMatchTv"}},function(e,t,n){"use strict";n.r(t);var
r=n(1),o=n(2),i=n(23),a=n(18),s=n(12),u=n(10),l=Object(u.default)
("VimeoComEmbed"),c=function(){function e(t){Object(r.a)
(this,e),this.engine=t}return Object(o.a)(e,
[{key:"getVimeoLinks",value:function(e,t){return
this._getVimeoLinks(e.extVideoId,e.url,(function(n,r,o){var
i={action:e.action,extVideoId:e.extVideoId,links:n,title:r,thumb:o};t(i)})),!0}},
{key:"_getVimeoLinks",value:function(e,t,n){var
r=this;this.getVimeoNoEmbedLinks(e,t,(function(t,o,i){if(t)return
n(t,o,i);r.getVimeoEmbedLinks(e,n)}))}},
{key:"getVimeoEmbedLinks",value:function(e,t){var n=this,r=function(){return
t(null,"","")};if(!e)return
r();Object(s.default)({url:"https://player.vimeo.com/video/"+e},(function(e,o,i)
{if(e||!i)return r();var s=Object(a.default)(i,[/"files":/]),u=null;return
s.some((function(e){if(e.video&&e.request&&e.request.files)return u=e,!0})),
(i=n.getLinksFromConfig(u))?t(i.links,i.title,i.thumb):r()}))}},
{key:"getVimeoConfig",value:function(e,t){var n=this,r=function(){return
t(null,"","")};Object(s.default)({url:e},(function(e,o,i){return e||!i?r():
(i=n.getVimeoDataFromConfig(i))?t(i.links,i.title,i.thumb):r()}))}},
{key:"getVimeoLinksFromConfigAction",value:function(e,t){var n=this;return new
Promise((function(t,r){var o=n.getLinksFromConfig(e.config);o?t(o):r(new Error("Get
links from config error"))})).then(t,(function(e)
{l.error("getVimeoLinksFromConfigAction error",e),t(null)})),!0}},
{key:"getClipPageConfig",value:function(e,t){var n=null;return Object(i.default)
(e,/['"]config_url['"]\s*:\s*/).some((function(e){return
Object(a.default)(e,/['"]config_url['"]\s*:\s*/).some((function(e)
{if(e.player&&(n=e.player.config_url))return!0}))})),n?
this.getVimeoConfig(n,t):t(null,"","")}},
{key:"getVimeoNoEmbedLinks",value:function(e,t,n){var r=this;if(e&&t){var
o=/vimeo\.com\/[^\/]+\/review\/\d+/i.test(t),i=/vimeo\.com\/\d+\/\w+/i.test(t);o||
i||(t=null)}Object(s.default)({url:t||"https://vimeo.com/"+e},(function(e,t,o)
{if(e||!o)return n(null,"","");var
i=o.match(/data-config-url=["']([^\s"'<>]+)/i);return(i=i&&i[1].replace(/&/
gi,"&"))?r.getVimeoConfig(i,n):r.getClipPageConfig(o,n)}))}},
{key:"getVimeoLinksFromConfig",value:function(e,t){var
n=this.getLinksFromConfig(e.config);return t(n||null)}},
{key:"getLinksFromConfig",value:function(e){if(!
(e&&e.video&&e.request&&e.request.files))return null;var
t=e.video,n=e.request.files,r={};r.title=t.title||"";var o=null;for(var i in
t.thumbs)(null===o||o<i)&&(o=i,r.thumb=t.thumbs[i]);for(var a in
r.links=[],n)Array.isArray(n[a])&&n[a].forEach((function(e){if(e&&e.url&&e.mime)
{var t=e.mime.split("/")[1];t||(t=(t=e.url.match(/\.(\w{2,4})(?:\?|#|$)/
i))&&t[1]||"mp4");var n=t.toUpperCase(),o=e.quality;/^\
d+p$/.test(o)&&(o=o.replace(/p$/,""));var i=n+"
"+o;r.links.push({url:e.url,name:i,height:o,type:n,format:n,ext:t})}}));return
r.links.length||(r=null),r}},{key:"getVimeoDataFromConfig",value:function(e)
{e=e.replace(/(\{|,)\s*(\w+)\s*:/gi,'$1"$2":').replace(/(:\s+)\'/
g,'$1"').replace(/\'([,\]\}])/g,'"$1');try{e=JSON.parse(e)}catch(e){return
null}return this.getLinksFromConfig(e)}}]),e}();t.default=c},function(e,t,n){"use
strict";n.r(t);var
r=n(4),o=n(1),i=n(2),a=n(0),s=n.n(a),u=n(29),l=n(12),c=n(28),d=n(11),f=n(55),p=n(27
),m=function(){function e(t){Object(o.a)(this,e),this.engine=t}var t;return
Object(i.a)(e,[{key:"getOkVideoUrlFromMobile",value:(t=Object(r.a)
(s.a.mark((function e(t){var n,r,o,i,a,u,l;return s.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:return
n=t.videoUrl,r=t.videoId,n=n.replace("/ok.ru","/m.ok.ru"),e.next=4,Object(d.default
)(n);case 4:if(o=e.sent,i=o.body,a=i.match(/data-video=".*?"/g),Array.isArray(a))
{e.next=9;break}return e.abrupt("return");case 9:return u=a.map((function(e)
{try{var t=e.replace(/data-video="(.*?)"/,"$1").replace(/"/g,'"');return
JSON.parse(t)}catch(e){return!1}})).filter(Boolean),l=u.find((function(e){return
parseInt(e.movieId)===parseInt(r)})),e.abrupt("return",l&&l.videoSrc);case
12:case"end":return e.stop()}}),e)}))),function(e){return
t.apply(this,arguments)})},{key:"getOdnoklassnikiLinks",value:function(e,t){return
this._getOdnoklassnikiLinks(e.extVideoId,(function(n){var
r={action:e.action,extVideoId:e.extVideoId,links:n,title:e.title};t(r)})),!0}},
{key:"getOdnoklassnikiAudioLinks",value:function(e,t){return
this._getOdnoklassnikiAudioLinks(e.url,e.trackId,e.jsessionId,(function(n){var
r={action:e.action,trackId:e.trackId,jsessionId:e.jsessionId,data:n};t(r)})),!0}},
{key:"_getOdnoklassnikiLinks",value:function(e,t){if(e){var
n="http://in.video.mail.ru/cgi-bin/video/oklite?eid="+e;Object(l.default)({url:n},
(function(n,r,o){if(n||!o)return t(null);var
i="http://www.okcontent.video.mail.ru/media/",a=o.match(/\$vcontentHost=([^\s"'<>]
+)/i);a&&a.length>1&&(i="http://"+a[1]+"/media/"),i+=e;var s=[],u="",l=o.match(/\
$height=([0-9]+)/);l&&l.length>1&&(u=l[1]),s.push({url:i+"-
v.mp4",name:"SD",ext:"FLV",subname:u}),o.search(/\$HDexist=1/i)>-1&&(u="",
(l=o.match(/\$HDheight=([0-9]+)/))&&l.length>1&&(u=l[1]),s.push({url:i+"-
hv.mp4",name:"HD",ext:"MP4",subname:u})),s&&t(s)}))}else t(null)}},
{key:"_getOdnoklassnikiAudioLinks",value:function(e,t,n,r){if(!t||!n)return
r(null);Object(l.default)({url:"http://wmf1.ok.ru/play;jsessionid="+n+"?
tid="+t,json:!0},(function(e,t,n){if(e||!n)return r(null);r(n)}))}},
{key:"getOkAudioListLinks",value:function(e,t){var
n=[],r=e.trackIdArr,o=e.jsessionId;if(!Array.isArray(r)||"string"!=typeof o||!
r.length)return t(n);for(var i,a=r.length,s=0,u=function(e){e&&n.push(e),function()
{if(++s===a)t(n)}()},l=0;i=r[l];l++)this._getOdnoklassnikiAudioLinks(void
0,i,o,u);return!0}},{key:"getClipyouLinks",value:function(e,t,n,r,o)
{Object(l.default)({url:"http://media.clipyou.ru/api/player/secure_link?
record_id="+e+"&type=mp4&resource_hash="+t,json:!0},(function(e,t,i){if(e||!i||!
Array.isArray(i.data)||!i.data.length)return o();var
a=[];i.data.forEach((function(e){a.push({quality:n,url:e,title:r})})),o(a)}))}},
{key:"getClipyouHash",value:function(e,t){Object(l.default)({url:"http://
media.clipyou.ru/api/player_data.json?id="+e},(function(e,n,r){if(e||!r)return
t();if(!(r=r.match('resource_hash".?:.?"([^"]*)"'))||r.length<2)return
t();var o=r[1];t(o)}))}},{key:"getPladformVideo",value:function(e,t){var
n=this,r={action:e.action,extVideoId:e.extVideoId,links:
[],title:e.title},o=function()
{t(r)},i=e.extVideoId.playerId,a=e.extVideoId.videoId;return Object(l.default)
({url:"http://out.pladform.ru/getVideo?pl="+i+"&videoid="+a,xml:!0},
(function(e,t,i){if(e||!i)return o();var
a=i.querySelectorAll("src");if(0===a.length)return o();var
s=i.querySelector("cover")||void
0;s&&(s=s.textContent)&&"//"===s.substr(0,2)&&(s="http:"+s);var
u=i.querySelector("time")||void 0;u=u&&u.textContent;var
l=i.querySelector("title");(l=l&&l.textContent)&&(r.title=l);var
c=a[0],d=c.getAttribute("type"),f=c.textContent||"",p=c.getAttribute("quality");if(
c){if("clipyou"===d)return n.getClipyouHash(f,(function(e){if(!e)return
o();n.getClipyouLinks(f,e,p,l,(function(e){r.links=e,o()}))}));if("rutube"===d){var
m=i.querySelector("external_embed");return(m=m&&m.textContent)&&(r.action="getRutub
eLinks",r.links=[m]),o()}}for(var h,g=["ld","sd"],v=["360","720"],b=0;h=a[b];b++)
{f=h.textContent||"",p=h.getAttribute("quality"),/^\d+p$/.test(p)&&(p=p.match(/^(\
d+)p$/)[1]);var y=g.indexOf(p);-1!
==y&&(p=v[y]),"video"===(d=h.getAttribute("type"))&&r.links.push({url:f,quality:p,t
itle:l,cover:s,duration:u})}return o()})),!0}},
{key:"getOkMetadata",value:function(e,t){var n=e.url;return n?(Object(l.default)
({method:"POST",url:n,json:!0},(function(e,n,r){if(e||!r)return t();t(r)})),!
0):t()}},{key:"getOkViaMobile",value:function(e,t){var
n=e.metadata,r={"st.cmd":"movieLayer","st.mvId":e.mvId},o="http://m.ok.ru/
dk?"+p.stringify(r),i={action:e.action,links:null,title:n.movie.title};return
Object(l.default)({url:o},(function(r,o,a){if(r||!a)return t();var s=new
RegExp('href="([^"]+st\\.cmd=moviePlaybackRedirect[^"]+st\\.mvid='+e.mvId+'[^"]
+)"'),l=a.match(s);if(!(l=l&&l[1]))return
t();if(l=c.default.decodeSpecialChars(l),i.links=[{url:l}],!/st.mq=\
d+/.test(l))return t(i);var d=n.videos;if(!d||!d.length)return
t(i);d.forEach((function(e){if(e.url){var t=Object(u.default)
(e.url);t.type&&(e.url=l.replace(/(st.mq=)\
d+/,"$1"+t.type))}})),i.links=d,t(i)})),!0}},
{key:"okDirectOrMobile",value:function(e,t){var
n=this,r=e.metadata,o=null;r.videos&&r.videos.some((function(e){if(e.url)return
o=e.url,!0}));var i=function()
{e.action="getOkViaMobile",n.getOkViaMobile(e,t)};return o?(Object(l.default)
({url:o,type:"HEAD"},(function(n){return n?i():
(e.action="getOkViaMobileNoWrap",e.links=r.videos,t(e))})),!0):(i(),!0)}},
{key:"okRequestVideoPage",value:function(e){var
t=e.videoId,n="https://ok.ru/video/".concat(t);return Object(d.default)
({url:n,headers:{"user-agent":Object(f.default)()}}).then((function(e){return
e.body}))}}]),e}();t.default=m},function(e,t,n){"use strict";n.r(t);var
r=n(1),o=n(2),i=n(23),a=n(24),s=n(12),u=function(){function e(t){Object(r.a)
(this,e),this.engine=t}return Object(o.a)(e,
[{key:"getFacebookLinks",value:function(e,t){return
this._getFacebookLinks(e.extVideoId,(function(n,r,o,i){var
a={action:e.action,extVideoId:e.extVideoId,links:n||
null,title:r||"",thumb:o||"",duration:i||""};t(a)})),!0}},
{key:"getFacebookLinksFromData",value:function(e,t){var
n=e.data,r=e.extVideoId;return this.getLinksFromData2(n,r,!0,(function(n,r,o,i){var
a={action:"getFacebookLinksFromData",extVideoId:e.extVideoId,links:n||
null,title:r||"",thumb:o||"",duration:i||""};t(a)}))}},
{key:"_getFacebookLinks",value:function(e,t){var n=this;Object(s.default)
({type:"GET",url:"https://www.facebook.com/video.php?v="+e,headers:{Cookie:""}},
(function(r,o,i){if(r||!i)return t();n.getLinksFromData(i,e,t)}))}},
{key:"getLinksFromData",value:function(e,t,n){var r=this,o=e.match(/\
["params","([^"]*)"\]/im);if(!o)return this.getLinksFromData2(e,t,!1,n);var
i=null;try{if((i=JSON.parse(decodeURIComponent(JSON.parse('"'+o[1]+'"'))).video_dat
a).progressive&&(i=i.progressive),!i)return n()}catch(e){return n()}var
a=null,s=null,u=[],l={sd_src:"SD",hd_src:"HD"};Array.isArray(i)||(i=[i]);for(var
c,d=0;c=i[d];d++)["sd_src","hd_src"].forEach((function(e)
{if(c.thumbnail_src&&(a=c.thumbnail_src),c.video_duration&&(s=c.video_duration),c[e
]){var
t=r.getFileExtension(c[e],"mp4");u.push({url:c[e],name:l[e],type:t,ext:t.toUpperCas
e()})}}));n(u,"",a,s)}},{key:"getLinksFromData2",value:function(e,t,n,r){var
o=null,s=function(e){return e.split(/"?videoData"?:\[/).some((function(e){return
Object(a.default)(e).some((function(e){if((e.sd_src||
e.hd_src)&&String(e.video_id)===String(t))return o=e,!0}))}))};if(n?
s(e):Object(i.default)(e,[/"?videoData"?:\[/]).some(s),!o)return r();var
u,l=[];return
o.sd_src&&(u=this.getFileExtension(o.sd_src,"mp4"),l.push({url:o.sd_src,name:"SD",t
ype:u,ext:u.toUpperCase()})),o.hd_src&&(u=this.getFileExtension(o.hd_src,"mp4"),l.p
ush({url:o.hd_src,name:"HD",type:u,ext:u.toUpperCase()})),r(l,"",o.thumbnail_src,o.
video_duration)}},{key:"getFileExtension",value:function(e,t){var n=e.match(/\.([a-
z0-9]{3,4})(\?|$)/i);return n?(n=n[1]).toLowerCase():t||""}},
{key:"getFacebookPhotoUrl",value:function(e,t){return e.fbid?(Object(s.default)
({url:"https://www.facebook.com/photo.php?fbid="+e.fbid},(function(e,n,r){if(e||!
r)return t();if(i=r.match(/<a[^>]+fbPhotosPhotoActionsItem[^>]+href="([^">]
+dl=1)"[^>]+>/i)){var o=i[1].replace(/&/g,"&");return t([o])}var
i,a=[],s={};return(i=r.match(/(<a[^>]+rel="theater"[^>]+>)/gi))&&i.forEach((functio
n(e){var t=e.match(/data-pl[os]i="[^"]+"/gi);t&&t.forEach((function(e){var
t=e.indexOf("=");if(-1!==t){var
n=e.substr(0,t),r=e.substr(t+1);r=r.substr(1,r.length-2).replace(/&/
g,"&"),s[n]=r,a.push(r)}}))})),s["data-ploi"]?t([s["data-ploi"]]):t(a)})),!
0):t()}}]),e}();t.default=u},function(e,t,n){"use strict";n.r(t),n.d(t,"default",
(function(){return c}));var
r=n(4),o=n(1),i=n(2),a=n(0),s=n.n(a),u=n(11),l=n(57),c=function(){function e(t)
{Object(o.a)(this,e),this.engine=t}var t;return Object(i.a)(e,
[{key:"matchTvFetchVideoSources",value:(t=Object(r.a)(s.a.mark((function e(t){var
n,r,o,i,a,c,d,f,p,m,h;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next)
{case 0:if(n=t.iframeVideoURL,e.prev=1,r=n.match(/\d+/),o=r&&r[0])
{e.next=6;break}return e.abrupt("return",[]);case 6:return
i="https://matchtv.ru/vdl/playlist/".concat(encodeURIComponent(o),"/
1.json"),e.next=9,Object(u.default)({url:i,json:!0});case
9:a=e.sent,c=a.body,d=[],f=0;case 13:if(!(f<c.length)){e.next=23;break}return
p=c[f],e.next=17,Object(u.default)(p.src);case
17:m=e.sent,(h=m.body.match(/^http.*?$/m))&&d.push({endpoint:h[0],title:p.label,pro
vider:l.PROVIDERS.hlsProvider});case 20:f++,e.next=13;break;case 23:return
e.abrupt("return",d);case 26:return e.prev=26,e.t0=e.catch(1),e.abrupt("return",
[]);case 29:case"end":return e.stop()}}),e,null,[[1,26]])}))),function(e){return
t.apply(this,arguments)})}]),e}()},function(e,t,n){"use
strict";n.r(t),n.d(t,"default",(function(){return f}));var
r=n(4),o=n(1),i=n(2),a=n(0),s=n.n(a),u=n(16),l=n(11),c=n(24),d=n(33),f=function()
{function e(t){Object(o.a)(this,e),this.engine=t}var t;return Object(i.a)(e,
[{key:"showjetFetchMovie",value:(t=Object(r.a)(s.a.mark((function e(t){var
n,r,o,i,a,f,p,m;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:return n=t.iframeVideoURL,e.next=3,Object(l.default)(n);case
3:if(r=e.sent,o=Object(d.default)(r.body),Object(c.default)
(r.body).some((function(e){if(e.hls)return i=e.hls,!0})),i){e.next=8;break}return
e.abrupt("return",[]);case 8:return e.next=10,Object(l.default)(i);case 10:return
a=e.sent,f=a.body,p=i.split("/").slice(0,-1).join("/"),m=(m=Object(u.matchAll)(f,/
RESOLUTION=(.*?),.*\n(.*?\.m3u8$)/gm)).map((function(e)
{return{filename:o.title,title:e[1],endpoint:p+"/"+e[2]}})),e.abrupt("return",m);ca
se 16:case"end":return e.stop()}}),e)}))),function(e){return
t.apply(this,arguments)})}]),e}()},function(e,t,n){"use strict";n.r(t);var
r=n(1),o=n(2),i=n(23),a=n(18),s=n(12),u=function(){function e(t){Object(r.a)
(this,e),this.engine=t}return Object(o.a)(e,
[{key:"getMailruLinks",value:function(e,t){return
this._getMailruLinks(e.extVideoId,(function(n,r,o,i,a){var
s={action:e.action,extVideoId:i||
e.extVideoId,links:n,title:r,thumb:o,duration:a};t(s)})),!0}},
{key:"_getMailruLinks",value:function(e,t){var n,r=this,o=e,u=e.match(/\/([^\/]
+)\/([^\/]+)\/video\/(.+).html/);if(u||(u=e.match(/embed\/([^\/]+)\/([^\/]+)\/(.
+).html/)),u&&(n="http://api.video.mail.ru/
videos/"+u[1]+"/"+u[2]+"/"+u[3]+".json",o=u[1]+"/"+u[2]+"/
video/"+u[3]+".html"),n)return this.onGetMailruMetadataUrl(n,o,t);Object(s.default)
({url:"http://my.mail.ru/"+e},(function(e,s,u){if(e||!u)return t();var
l=/"metaUrl":/,c=null;if(Object(i.default)(u,l).some((function(e){return
Object(a.default)(e,l).some((function(e){if(e.metaUrl)return c=e,!0}))})),c)return
n=c.metaUrl,void r.onGetMailruMetadataUrl(n,o,t);if(!(u=u.match(/<meta\
s+content="[^"]+(videoapi\.my\.mail[^&]+)&[^"]+"[^>]+\/>/)))return t();var
d=(u=decodeURIComponent(u[1])).substr(u.lastIndexOf("/")+1);n="http://
videoapi.my.mail.ru/videos/"+d+".json",r.onGetMailruMetadataUrl(n,o,t)}))}},
{key:"onGetMailruMetadataUrl",value:function(e,t,n){var
r=this;this.getMailruMetadata(e,(function(e){if(!e||"string"==typeof e)return
n();r.readMailruMetadata(e,(function(e,o,i,a)
{n(r.prepMailruLinks(e),o,i,t,a)}))}))}},{key:"prepMailruLinks",value:function(e)
{if(e){for(var t,n=[],r=0;t=e[r];r++){var o=t.url,i="FLV";-1!
==o.indexOf(".mp4")&&(i="MP4"),-1!==o.indexOf(".mov")&&(i="MOV"),-1!
==o.indexOf(".mpg")&&(i="MPG"),t.quality||(t.quality="-?-");var
a=t.quality.toUpperCase(),s=["1080P","720P","480P","360P","272P"].indexOf(a);-1!
==s&&(a=["1080","720","480","360","272"][s]);var
u=i.toLowerCase();n.push({url:o,subname:a,name:i,ext:u})}return
n.sort((function(e,t){return"HD"===e.subname?1:e.subname>t.subname})),n}}},
{key:"getMailruMetadata",value:function(e,t){if(!e)return t();Object(s.default)
({url:e,json:!0},(function(e,n,r){if(e||!r)return t();t(r)}))}},
{key:"readMailruMetadata",value:function(e,t){var n,r=[],o=void 0,i=void
0;if(e.meta&&(i=e.meta.poster,o=e.meta.duration),"UPLOADED"===e.provider)
{if(n=e.movie?e.movie.title:void
0,!e.videos)return t();e.videos.forEach((function(e)
{r.push({quality:e.name,url:e.url,title:n})}))}else if("ugc"===e.provider)
{if(n=e.meta?e.meta.title:void 0,!e.videos)return t();e.videos.forEach((function(e)
{r.push({quality:e.key,url:e.url,title:n})}))}else if("pladform"===e.provider)
{return n=e.meta?e.meta.title:void 0,void
this.engine.modules.odnoklassniki.getPladformVideo({extVideoId:
{playerId:e.meta.playerId,videoId:e.meta.videoId}},(function(e){if(!e)return
t();"getRutubeLinks"===e.action&&(e.links=null);var r=e.links;if(!r)return
t();r.forEach((function(e){void 0===e.title&&(e.title=n)})),t(r,n,i,o)}))}return
0===r.length?t():t(r,n,i,o)}}]),e}();t.default=u},function(e,t,n){"use
strict";n.r(t),n.d(t,"default",(function(){return h}));var
r=n(9),o=n(13),i=n(4),a=n(1),s=n(2),u=n(0),l=n.n(u),c=n(11);function d(e,t){var
n=Object.keys(e);if(Object.getOwnPropertySymbols){var
r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return
Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return
n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?
arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){Object(o.a)
(e,t,n[t])})):Object.getOwnPropertyDescriptors?
Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach
((function(t)
{Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var
p=function(e,t,n){return"https://".concat(e,"/api/v2.1/handlers/track/").concat(t,"
:").concat(n,"/web-home_new-chart-track-saved/download/m?hq=0&external-
domain=music.yandex.ru&overembed=no&__t=").concat(Date.now())},m=function(e,t,n,r,o
){return"https://".concat(e,"/get-mp3/").concat(t,"/").concat(n,"/").concat(r,"?
track-id=").concat(o,"&play=false")},h=function(){function e(t){Object(a.a)
(this,e)}var t;return Object(s.a)(e,[{key:"yandexGetTrack",value:(t=Object(i.a)
(l.a.mark((function e(t){var n,o,i,a,s,u,d,h,g,v,b,y,A,k,w,x,_,S;return
l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
n=t.album,o=t.trackId,i=t.uid,a=t.currentPage,a=new URL(a),s={headers:
{accept:"application/json","X-Current-UID":i,"X-Retpath-Y":a.toString()},json:!
0,withCredentials:!0},e.next=5,Object(c.default)(f({url:p(a.host,o,n)},s));case
5:return u=e.sent,d=u.body,h=d.src,g=d.codec,v=d.bitrate,b=-
1===h.indexOf("https:")?"https:"+h:h,y=new URL(b),[["track_id",o],
["format","json"]].forEach((function(e){var
t;return(t=y.searchParams).append.apply(t,Object(r.a)
(e))})),e.next=12,Object(c.default)(f({url:y.toString()},s));case 12:return
A=e.sent,k=A.body,w=k.host,x=k.ts,_=k.path,S=k.s,e.abrupt("return",
{bitrate:v,codec:g,downloadURL:m(w,S,x,_,o)});case 15:case"end":return
e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),e}
()},function(e,t,n){"use strict";n.r(t);var r=n(125);t.default=function(e)
{if("<all_urls>"===e)return"^https?:\\/\\/.+$";var t=e.match(/(\*|http|https|file|
ftp):\/\/([^\/]+)(?:\/(.*))?/);if(!t)throw new Error("Invalid url-pattern");var
n=t[1];"*"===n&&(n="https?");var o=t[2],i=["^",n,":\\/\\/",o="*"===o?".+":
(o=(o=r(o)).replace(/^\\\*\\\./,"(?:[^/]+\\.)?")).replace(/\\\.\\\*$/g,"\\.[a-z\\.]
{2,}")],a=t[3];return a?"*"===a?
(a="(?:|/.*)",i.push(a),i.push("$")):a&&(a=(a=r(a="/"+a)).replace(/\\\*/
g,".*"),i.push(a),i.push("$")):i.push("$"),i.join("")}},function(e,t,n){"use
strict";var r=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof
e)throw new TypeError("Expected a string");return e.replace(r,"\\
$&")}},function(e,t,n){"use strict";n.r(t);t.default=function(e,t){var n=/:\/\/(?:
[^\/?#]*@)?([^:\/?#]+)/.exec(e);return(n=n&&n[1])&&t&&(n=n.replace(/
^www\./,"")),n}},function(e,t,n){"use strict";n.r(t);t.default=function(e,t){var
n=/^[\d.]+$/;if(!n.test(e)||!n.test(t))throw new Error("Incorrect version");for(var
r=function(e,t){for(;e.length<t;)e="0"+e;return
e},o=e.split("."),i=t.split("."),a=0;a<i.length;a++){var
s=o[a]||"",u=i[a]||"",l=Math.max(s.length,u.length);if(s=parseInt(r(s,l)),
(u=parseInt(r(u,l)))!==s)return u>s}return!1}},function(e,t,n){"use
strict";n.r(t);var r=n(11),o=n(10),i=n(27),a=Object(o.default)
("amplitude");t.default=function(e){var t=arguments.length>1&&void 0!
==arguments[1]?arguments[1]:"bc3c8ed7b305f692ec048b0425b002df";return
a.debug("send",e),Object(r.default)({url:"https://api.amplitude.com/
httpapi",method:"POST",contentType:"application/x-www-form-
urlencoded",data:i.stringify({api_key:t,event:JSON.stringify(e)})}).catch((function
(e){a.error("amplitude error",e)}))}},function(e,t,n){"use
strict";n.r(t),n.d(t,"isAllowedExperiment",(function(){return l}));var
r=n(13);n(46);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols)
{var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return
Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return
n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?
arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r.a)
(e,t,n[t])})):Object.getOwnPropertyDescriptors?
Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach
((function(t)
{Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var
a={enabled:!1,percent:10,countries:["all"],browsers:["all"],languages:
["all"],platforms:
["all"]},s=["az","be","hy","kk","ky","mo","ru","tj","uz","uk"],u={presetOnlyCIS:fun
ction(e){return s.includes(e)},presetNotAllowCIS:function(e){return!
s.includes(e)}};function l(e,t){var n,r=i(i({},a),e),o=r.browsers,s=void 0===o?
[]:o,l=r.countries,c=void 0===l?[]:l,d=r.languages,f=void 0===d?
[]:d,p=r.platforms,m=void 0===p?[]:p,h=r.percent,g=function(e){return
e.toLowerCase()},v=s.map(g).includes(t.browser)||
s.includes("all");if(c.every((function(e){return Object.keys(u).includes(e)}))){var
b=c[0];n=u[b](t.country)}else n=c.map(g).includes(t.country)||c.includes("all");var
y=f.map(g).find((function(e){return-1!==t.getLanguage().indexOf(e)}))||
f.includes("all"),A=m.map(g).includes(t.getPlatform().toLowerCase())||
m.includes("all");return!!(r.enabled&&v&&n&&y&&A)&&function(e){return
100*Math.random()<=e}(h)}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",
(function(){return i}));var r=n(53),o=new Map;function i()
{return{createRequest:a,sendRequest:s,readRequestBodyChunk:u,clearRequest:c,clearRe
questByPrefix:l}}function a(e){var t=Object(r.default)(e);return o.set(t,
{id:t,xhr:new XMLHttpRequest}),t}function s(e){return new Promise((function(t,n)
{var r=o.get(e.id),i=e.fetchOptions,a=r.xhr;for(var s in a.onload=function()
{t({id:r.id,numChunks:Math.ceil(a.response.byteLength/16e6)||1,response:
{ok:a.status>=200&&a.status<300,status:a.status,statusText:a.statusText,headers:d(a
.getAllResponseHeaders()||""),url:a.responseURL}})},a.onerror=a.ontimeout=function(
){n(new TypeError("Network request failed"))},a.onabort=function(){n(new
DOMException("Aborted","AbortError"))},a.responseType="arraybuffer",a.open(i.method
||"GET",e.url,!0),i.headers)a.setRequestHeader(s,i.headers[s]);a.send()}))}function
u(e){return function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?
arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?
arguments[2]:1e99,r=8192,o=[],i=Math.min(e.byteLength,t+n);t<i;t+=r)o.push(String.f
romCharCode.apply(null,new Uint8Array(e,t,Math.min(r,i-t))));return o.join("")}
(o.get(e.id).xhr.response,16e6*e.chunkIndex,16e6)}function l(e)
{Array.from(o.keys()).filter((function(t){return-1!
==t.indexOf(e)})).map((function(e){return c(e)}))}function c(e){var
t=o.get(e);t&&(t.xhr&&t.xhr.abort(),o.delete(e))}function d(e){var t=e.split(/\r?\
n/),n=[];return t.forEach((function(e){var t=e.indexOf(":");if(-1!==t){var
r=e.substr(0,t).trim(),o=e.substr(t+1).trim();n.push([r,o])}})),n}},function(e,t,n)
{"use strict";n.r(t);var r=n(56),o=Object(r.default)([{matches:/^(?:https?|file|
ftp):\/\/[^\\/]*\.ozon\.travel\/.*$|^(?:https?|file|ftp):\/\/ozon\.travel\/.*$|
^(?:https?|file|ftp):\/\/[^\\/]*\.onetwotrip\.com\/.*$|^(?:https?|file|ftp):\/\/
onetwotrip\.com\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.onetravel\.com\/.*$|
^(?:https?|file|ftp):\/\/onetravel\.com\/.*$|^(?:https?|file|ftp):\/\/
[^\\/]*\.aeroflot\.ru\/.*$|^(?:https?|file|ftp):\/\/aeroflot\.ru\/.*$|^(?:https?|
file|ftp):\/\/[^\\/]*\.anywayanyday\.com\/.*$|^(?:https?|file|ftp):\/\/
anywayanyday\.com\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.svyaznoy\.travel\/.*$|
^(?:https?|file|ftp):\/\/svyaznoy\.travel\/.*$|^(?:https?|file|ftp):\/\/
avia\.tickets\.ru\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.s7\.ru\/.*$|^(?:https?|
file|ftp):\/\/s7\.ru\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.kupibilet\.ru\/.*$|
^(?:https?|file|ftp):\/\/kupibilet\.ru\/.*$|^(?:https?|file|ftp):\/\/
[^\\/]*\.trip\.ru\/.*$|^(?:https?|file|ftp):\/\/trip\.ru\/.*$|^(?:https?|file|
ftp):\/\/[^\\/]*\.trip\.com\/.*$|^(?:https?|file|ftp):\/\/trip\.com\/.*$|
^(?:https?|file|ftp):\/\/[^\\/]*\.ctrip\.com\/.*$|^(?:https?|file|ftp):\/\/
ctrip\.com\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.tutu\.ru\/.*$|^(?:https?|file|
ftp):\/\/tutu\.ru\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.uralairlines\.ru\/.*$|
^(?:https?|file|ftp):\/\/uralairlines\.ru\/.*$|^(?:https?|file|ftp):\/\/
[^\\/]*\.flyredwings\.com\/.*$|^(?:https?|file|ftp):\/\/flyredwings\.com\/.*$|
^(?:https?|file|ftp):\/\/[^\\/]*\.airastana\.com\/.*$|^(?:https?|file|ftp):\/\/
airastana\.com\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.airmoldova\.md\/.*$|
^(?:https?|file|ftp):\/\/airmoldova\.md\/.*$|^(?:https?|file|ftp):\/\/
[^\\/]*\.sindbad\.ru\/.*$|^(?:https?|file|ftp):\/\/sindbad\.ru\/.*$|^(?:https?|
file|ftp):\/\/[^\\/]*\.aviakassa\.ru\/.*$|^(?:https?|file|ftp):\/\/
aviakassa\.ru\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.aviakassa\.com\/.*$|
^(?:https?|file|ftp):\/\/aviakassa\.com\/.*$|^(?:https?|file|ftp):\/\/
[^\\/]*\.biletix\.ru\/.*$|^(?:https?|file|ftp):\/\/biletix\.ru\/.*$|^(?:https?|
file|ftp):\/\/[^\\/]*\.utair\.ru\/.*$|^(?:https?|file|ftp):\/\/utair\.ru\/.*$|
^(?:https?|file|ftp):\/\/[^\\/]*\.orbitz\.com\/.*$|^(?:https?|file|ftp):\/\/
orbitz\.com\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.travelocity\.com\/.*$|
^(?:https?|file|ftp):\/\/traveloci
ty\.com\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.travelocity\.ca\/.*$|^(?:https?|
file|ftp):\/\/travelocity\.ca\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.expedia-
cn\.com\/.*$|^(?:https?|file|ftp):\/\/expedia-cn\.com\/.*$|^(?:https?|file|
ftp):\/\/[^\\/]*\.priceline\.com\/.*$|^(?:https?|file|ftp):\/\/priceline\.com\/.*$|
^(?:https?|file|ftp):\/\/[^\\/]*\.airasia\.com\/.*$|^(?:https?|file|ftp):\/\/
airasia\.com\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.ryanair\.com\/.*$|^(?:https?|
file|ftp):\/\/ryanair\.com\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.hotels\.com\/.*$|
^(?:https?|file|ftp):\/\/hotels\.com\/.*$|^(?:https?|file|ftp):\/\/
[^\\/]*\.ostrovok\.ru\/.*$|^(?:https?|file|ftp):\/\/ostrovok\.ru\/.*$|^(?:https?|
file|ftp):\/\/[^\\/]*\.travel\.ru\/.*$|^(?:https?|file|ftp):\/\/travel\.ru\/.*$|
^(?:https?|file|ftp):\/\/[^\\/]*\.oktogo\.ru\/.*$|^(?:https?|file|ftp):\/\/
oktogo\.ru\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.roomguru\.ru\/.*$|^(?:https?|
file|ftp):\/\/roomguru\.ru\/.*$|^(?:https?|file|ftp):\/\/
[^\\/]*\.tripadvisor\.ru\/.*$|^(?:https?|file|ftp):\/\/tripadvisor\.ru\/.*$|
^(?:https?|file|ftp):\/\/[^\\/]*\.hilton\.ru\/.*$|^(?:https?|file|ftp):\/\/
hilton\.ru\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.hilton\.com\/.*$|^(?:https?|file|
ftp):\/\/hilton\.com\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.marriott\.com\/.*$|
^(?:https?|file|ftp):\/\/marriott\.com\/.*$|^(?:https?|file|ftp):\/\/
[^\\/]*\.hostelworld\.com\/.*$|^(?:https?|file|ftp):\/\/hostelworld\.com\/.*$|
^(?:https?|file|ftp):\/\/[^\\/]*\.tiket\.com\/.*$|^(?:https?|file|ftp):\/\/
tiket\.com\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.hotelsclick\.com\/.*$|^(?:https?|
file|ftp):\/\/hotelsclick\.com\/.*$|^(?:https?|file|ftp):\/\/
[^\\/]*\.hotelscombined\.com\/.*$|^(?:https?|file|ftp):\/\/
hotelscombined\.com\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.wizzair\.com\/.*$|
^(?:https?|file|ftp):\/\/wizzair\.com\/.*$|^(?:https?|file|ftp):\/\/
[^\\/]*\.emirates\.com\/.*$|^(?:https?|file|ftp):\/\/emirates\.com\/.*$|^(?:https?|
file|ftp):\/\/[^\\/]*\.delta\.com\/.*$|^(?:https?|file|ftp):\/\/delta\.com\/.*$|
^(?:https?|file|ftp):\/\/booking\.etihad\.com\/.*$|^(?:https?|file|ftp):\/\/
[^\\/]*\.budget\.com\/.*$|^(?:https?|file|ftp):\/\/budget\.com\/.*$|^(?:https?|
file|ftp):\/\/[^\\/]*\.hertz\.com\/.*$|^(?:https?|file|ftp):\/\/hertz\.com\/.*$|
^(?:https?|file|ftp):\/\/[^\\/]*\.europcar\.com\/.*$|^(?:https?|file|ftp):\/\/
europcar\.com\/.*$/i},{matches:/^(?:https?|file|ftp):\/\/[^\\/]*\/.*$/
i,include_globs:/^[^:]*:\/\/skyscanner\.[^\\/]*\/.*$|^[^:]*:\/\/
[^\\/]*\.skyscanner\.[^\\/]*\/.*$|^[^:]*:\/\/momondo\.[^\\/]*\/.*$|^[^:]*:\/\/
[^\\/]*\.momondo\.[^\\/]*\/.*$|^[^:]*:\/\/kayak\.[^\\/]*\/.*$|^[^:]*:\/\/
[^\\/]*\.kayak\.[^\\/]*\/.*$|^[^:]*:\/\/booking\.[^\\/]*\/.*$|^[^:]*:\/\/
[^\\/]*\.booking\.[^\\/]*\/.*$|^[^:]*:\/\/agoda\.[^\\/]*\/.*$|^[^:]*:\/\/
[^\\/]*\.agoda\.[^\\/]*\/.*$|^[^:]*:\/\/expedia\.[^\\/]*\/.*$|^[^:]*:\/\/
[^\\/]*\.expedia\.[^\\/]*\/.*$|^[^:]*:\/\/avis\.[^\\/]*\/.*$|^[^:]*:\/\/
[^\\/]*\.avis\.[^\\/]*\/.*$/i}]);t.default=function(e){return
o(e)}},function(e,t,n){"use strict";var r=n(133),o=n(135);function i()
{this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,
this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=nu
ll,this.path=null,this.href=null}t.parse=y,t.resolve=function(e,t){return y(e,!1,!
0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!
0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=y(e));return e
instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]
+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?
$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\
t"]),c=["'"].concat(l),d=["%","/","?",";","#"].concat(c),f=["/","?","#"],p=/^[+a-
z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!
0,"javascript:":!0},g={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!
0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!
0},b=n(27);function y(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new
i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw
new TypeError("Parameter 'url' must be a string, not "+typeof e);var
i=e.indexOf("?"),s=-1!
==i&&i<e.indexOf("#")?"?":"#",l=e.split(s);l[0]=l[0].replace(/\\/g,"/");var
y=e=l.join(s);if(y=y.trim(),!n&&1===e.split("#").length){var
A=u.exec(y);if(A)return this.path=y,this.href=y,this.pathname=A[1],A[2]?
(this.search=A[2],this.query=t?
b.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query
={}),this}var k=a.exec(y);if(k){var
w=(k=k[0]).toLowerCase();this.protocol=w,y=y.substr(k.length)}if(n||k||y.match(/
^\/\/[^@\/]+@[^@\/]+/)){var x="//"===y.substr(0,2);!x||k&&g[k]||
(y=y.substr(2),this.slashes=!0)}if(!g[k]&&(x||k&&!v[k])){for(var _,S,C=-
1,I=0;I<f.length;I++){-1!==(O=y.indexOf(f[I]))&&(-1===C||O<C)&&(C=O)}-1!==(S=-
1===C?
y.lastIndexOf("@"):y.lastIndexOf("@",C))&&(_=y.slice(0,S),y=y.slice(S+1),this.auth=
decodeURIComponent(_)),C=-1;for(I=0;I<d.length;I++){var O;-1!
==(O=y.indexOf(d[I]))&&(-1===C||O<C)&&(C=O)}-
1===C&&(C=y.length),this.host=y.slice(0,C),y=y.slice(C),this.parseHost(),this.hostn
ame=this.hostname||"";var
M="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!M)for(var
L=this.hostname.split(/\./),E=(I=0,L.length);I<E;I++){var P=L[I];if(P&&!P.match(p))
{for(var j="",T=0,D=P.length;T<D;T++)P.charCodeAt(T)>127?j+="x":j+=P[T];if(!
j.match(p)){var
N=L.slice(0,I),F=L.slice(I+1),B=P.match(m);B&&(N.push(B[1]),F.unshift(B[2])),F.leng
th&&(y="/"+F.join(".")
+y),this.hostname=N.join(".");break}}}this.hostname.length>255?
this.hostname="":this.hostname=this.hostname.toLowerCase(),M||
(this.hostname=r.toASCII(this.hostname));var
R=this.port?":"+this.port:"",q=this.hostname||"";this.host=q+R,this.href+=this.host
,M&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!
==y[0]&&(y="/"+y))}if(!h[w])for(I=0,E=c.length;I<E;I++){var z=c[I];if(-1!
==y.indexOf(z)){var
U=encodeURIComponent(z);U===z&&(U=escape(z)),y=y.split(z).join(U)}}var
V=y.indexOf("#");-1!==V&&(this.hash=y.substr(V),y=y.slice(0,V));var
H=y.indexOf("?");if(-1!==H?
(this.search=y.substr(H),this.query=y.substr(H+1),t&&(this.query=b.parse(this.query
)),y=y.slice(0,H)):t&&(this.search="",this.query={}),y&&(this.pathname=y),v[w]&&thi
s.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search)
{R=this.pathname||"";var W=this.search||"";this.path=R+W}return
this.href=this.format(),this},i.prototype.format=function(){var
e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var
t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,a="";this.host?
i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?
this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.i
sObject(this.query)&&Object.keys(this.query).length&&(a=b.stringify(this.query));va
r s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||
(!t||v[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||
(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+
(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+
(s=s.replace("#","%23"))+r},i.prototype.resolve=function(e){return
this.resolveObject(y(e,!1,!0)).format()},i.prototype.resolveObject=function(e)
{if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new
i,r=Object.keys(this),a=0;a<r.length;a++){var
s=r[a];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return
n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var
u=Object.keys(e),l=0;l<u.length;l++){var c=u[l];"protocol"!==c&&(n[c]=e[c])}return
v[n.protocol]&&n.hostname&&!
n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!
==n.protocol){if(!v[e.protocol]){for(var d=Object.keys(e),f=0;f<d.length;f++){var
p=d[f];n[p]=e[p]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||
g[e.protocol])n.pathname=e.pathname;else{for(var
m=(e.pathname||"").split("/");m.length&&!(e.host=m.shift()););e.host||
(e.host=""),e.hostname||(e.hostname=""),""!
==m[0]&&m.unshift(""),m.length<2&&m.unshift(""),n.pathname=m.join("/")}if(n.search=
e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||
e.host,n.port=e.port,n.pathname||n.search){var
h=n.pathname||"",b=n.search||"";n.path=h+b}return n.slashes=n.slashes||
e.slashes,n.href=n.format(),n}var
y=n.pathname&&"/"===n.pathname.charAt(0),A=e.host||
e.pathname&&"/"===e.pathname.charAt(0),k=A||y||
n.host&&e.pathname,w=k,x=n.pathname&&n.pathname.split("/")||
[],_=(m=e.pathname&&e.pathname.split("/")||[],n.protocol&&!
v[n.protocol]);if(_&&(n.hostname="",n.port=null,n.host&&(""===x[0]?
x[0]=n.host:x.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e
.host&&(""===m[0]?
m[0]=e.host:m.unshift(e.host)),e.host=null),k=k&&(""===m[0]||""===x[0])),A)n.host=e
.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?
e.hostname:n.hostname,n.search=e.search,n.query=e.query,x=m;else if(m.length)x||
(x=[]),x.pop(),x=x.concat(m),n.search=e.search,n.query=e.query;else if(!
o.isNullOrUndefined(e.search)){if(_)n.hostname=n.host=x.shift(),(M=!!
(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=M.shift(),n.host=n.hos
tname=M.shift());return
n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||
(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!
x.length)return n.pathname=null,n.search?
n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var S=x.slice(-1)
[0],C=(n.host||e.host||
x.length>1)&&("."===S||".."===S)||""===S,I=0,O=x.length;O>=0;O--)"."===(S=x[O])?
x.splice(O,1):".."===S?(x.splice(O,1),I++):I&&(x.splice(O,1),I--);if(!k&&!
w)for(;I--;I)x.unshift("..");!k||""===x[0]||x[0]&&"/"===x[0].charAt(0)||
x.unshift(""),C&&"/"!==x.join("/").substr(-1)&&x.push("");var M,L=""===x[0]||
x[0]&&"/"===x[0].charAt(0);_&&(n.hostname=n.host=L?"":x.length?x.shift():"",(M=!!
(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=M.shift(),n.host=n.
hostname=M.shift()));return(k=k||n.host&&x.length)&&!L&&x.unshift(""),x.length?
n.pathname=x.join("/"):
(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||
(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||
n.auth,n.slashes=n.slashes||
e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var
e=this.host,t=s.exec(e);t&&(":"!
==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-
t.length)),e&&(this.hostname=e)}},function(e,t,n){(function(e,r){var o;!function(i)
{t&&t.nodeType,e&&e.nodeType;var a="object"==typeof r&&r;a.global!==a&&a.window!
==a&&a.self;var s,u=2147483647,l=/^xn--/,c=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\
uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-
basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid
input"},p=Math.floor,m=String.fromCharCode;function h(e){throw new
RangeError(f[e])}function g(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return
r}function v(e,t){var n=e.split("@"),r="";return
n.length>1&&(r=n[0]+"@",e=n[1]),r+g((e=e.replace(d,".")).split("."),t).join(".")}fu
nction b(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o+
+))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?
r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function
y(e){return g(e,(function(e){var t="";return e>65535&&(t+=m((e-=65536)>>>10&1023|
55296),e=56320|1023&e),t+=m(e)})).join("")}function A(e,t){return e+22+75*(e<26)-
((0!=t)<<5)}function k(e,t,n){var
r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=36)e=p(e/35);return
p(r+36*e/(e+38))}function w(e){var
t,n,r,o,i,a,s,l,c,d,f,m=[],g=e.length,v=0,b=128,A=72;for((n=e.lastIndexOf("-"))<0&&
(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&h("not-
basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<g;)
{for(i=v,a=1,s=36;o>=g&&h("invalid-input"),((l=(f=e.charCodeAt(o++))-48<10?f-22:f-
65<26?f-65:f-97<26?f-97:36)>=36||l>p((u-v)/a))&&h("overflow"),v+=l*a,!(l<(c=s<=A?
1:s>=A+26?26:s-A));s+=36)a>p(u/(d=36-c))&&h("overflow"),a*=d;A=k(v-
i,t=m.length+1,0==i),p(v/t)>u-b&&h("overflow"),b+=p(v/t),v%=t,m.splice(v+
+,0,b)}return y(m)}function x(e){var
t,n,r,o,i,a,s,l,c,d,f,g,v,y,w,x=[];for(g=(e=b(e)).length,t=128,n=0,i=72,a=0;a<g;+
+a)(f=e[a])<128&&x.push(m(f));for(r=o=x.length,o&&x.push("-");r<g;)
{for(s=u,a=0;a<g;++a)(f=e[a])>=t&&f<s&&(s=f);for(s-t>p((u-n)/
(v=r+1))&&h("overflow"),n+=(s-t)*v,t=s,a=0;a<g;++a)if((f=e[a])<t&&+
+n>u&&h("overflow"),f==t){for(l=n,c=36;!(l<(d=c<=i?1:c>=i+26?26:c-i));c+=36)w=l-
d,y=36-d,x.push(m(A(d+w%y,0))),l=p(w/y);x.push(m(A(l,0))),i=k(n,v,r==o),n=0,++r}+
+n,++t}return x.join("")}s={version:"1.4.1",ucs2:
{decode:b,encode:y},decode:w,encode:x,toASCII:function(e){return v(e,(function(e)
{return c.test(e)?"xn--"+x(e):e}))},toUnicode:function(e){return v(e,(function(e)
{return l.test(e)?w(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return
s}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(134)(e),n(67))},function(e,t)
{e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function()
{},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",
{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",
{enumerable:!0,get:function(){return
e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use
strict";e.exports={isString:function(e){return"string"==typeof
e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e)
{return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n)
{"use strict";n.r(t);var r=n(9),o=n(4),i=n(13),a=n(1),s=n(2),u=n(70);function
l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?
Reflect.get:function(e,t,n){var r=u(e,t);if(r){var
o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})
(e,t,n||e)}var c=n(6),d=n(7),f=n(3),p=n(0),m=n.n(p),h=n(42),g=n(8),v=function(){var
e=[];return Array.isArray(navigator.languages)?
e=navigator.languages:navigator.language&&(e=[navigator.language]),e};function b(e)
{var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var
y=n(78).preferredLanguages,A=function(e){return function(e){Object(c.a)(n,e);var
t=b(n);function n(){var e;return Object(a.a)(this,n),
(e=t.call(this)).defaultLocale="en",e.localeMap={de:{extName:{message:"SaveFrom.net
Helfer"},extDescription:{message:"Laden Sie von YouTube, Facebook, VK.com und mehr
als 40 anderen Seiten mit einem Klick herunter."},extNameLite:
{message:"SaveFrom.net Helfer Lite"},extDescriptionLite:{message:"Herunterladen von
Facebook, VK.com und mehr als 40 weiteren Seiten mit einem Klick herunter."},lang:
{message:"de"},titleDefault:{message:"SaveFrom.net Helfer"},titleDesabled:
{message:"SaveFrom.net Helfer deaktiviert"},menuEnable:
{message:"Aktivieren"},menuDisable:{message:"Deaktivieren"},showButton:
{message:"Erweiterungs Knopf anzeigen"},copy:{message:"Kopie"},download:
{message:"Herunterladen"},downloadTitle:{message:"Klicke Sie den Link während Sie
die Alt/Einstellung oder Ctrl/Strg Taste drücken zum Herunterladen der
Dateien."},noLinksFound:{message:"Keine Links wurden gefunden"},more:
{message:"Mehr"},close:{message:"Schließen"},kbps:{message:"kbps"},withoutAudio:
{message:"without audio"},size:{message:"größe"},subtitles:
{message:"Untertitel"},playlist:{message:"Wiedergabliste"},filelist:{message:"List
of files"},downloadWholePlaylist:{message:"Die komplette Wiedergabliste
herunterladen"},getFileSizeTitle:{message:"Dateigröße
bestimmen"},getFileSizeFailTitle:{message:"Fehler bei bestimmung der Dateigröße.
Bitte versuchen Sie es erneut."},lmButtonTitle:{message:"Holen Sie sich einen
direkten Link."},downloadFromCurrentPage:{message:"Zu SaveFrom.net"},updateLinks:
{message:"Links aktualisieren"},updateLinksNotification:{message:"Links
aktualisiert"},downloadMP3Files:{message:"Download Audiodateien"},downloadPlaylist:
{message:"Download Playlist"},downloadPhotos:{message:"Download
Bilder"},installFullVersion:{message:"Install full version"},disable:
{message:"Deaktivieren"},showOptions:{message:"Einstellungen"},reportBug:
{message:"Fehler melden"},openPoll:{message:"Become better"},disableModule:
{message:"Auf dieser Webseite deaktivieren"},enableModule:{message:"Auf dieser
Webseite aktivieren"},enableDisableModule:{message:"Ein/Aus auf dieser
Webseite"},showHideButton:{message:"Erweitern Ein-/Ausblenden"},updateTo:
{message:"Update auf %d"},aboutPage:{message:"Über"},aboutTitle:
{message:"SaveFrom.net Helfer"},aboutVersion:{message:"Version"},aboutDescription:
{message:"Hilft den Nutzern direkte Links zu Herunterladen von mehr als 40
Webseiten, inklusive Dailymotion.com, YouTube.com, VK.com und weiteren zu
bekommen."},aboutDescriptionLite:{message:"Hilft den Nutzern direkte Links zu
Herunterladen von mehr als 40 Webseiten, inklusive Dailymotion.com, VK.com und
weiteren zu bekommen."},aboutSupported:{message:"Unterstützte
Ressourcen"},homePage:{message:"Homepage"},optionsTitle:{message:"SaveFrom.net
Helfer - Einstellungen"},optionsHandleLinks:{message:"Links
handhaben"},optionsMediaHostings:{message:"Zu Medienhoster"},optionsModules:
{message:"Module"},optionsYoutube:{message:"YouTube"},optionsYTHideLinks:
{message:"Links ausblenden"},optionsDailymotion:
{message:"Dailymotion"},optionsVimeo:{message:"Vimeo"},optionsFacebook:
{message:"Facebook"},optionsSoundcloud:{message:"SoundCloud"},optionsVkontakte:
{message:"VK"},optionsOdnoklassniki:{message:"Odnoklassniki"},optionsMailru:
{message:"Moy Mir"},optionsInstagram:{message:"Instagram"},optionsRutube:
{message:"Rutube"},optionsTiktok:{message:"Tiktok"},optionsBitrate:
{message:"Bitrate sofort zeigen"},optionsSovetnikEnabled:
{message:"Advisor"},optionsShowUmmyInfo:{message:"Tipps für UVD
einblenden"},optionsGmNativeDownload:{message:"Erweiterter Download-
Modus"},optionsShowUmmyBtn:{message:"Schaltfläche Ummy
anzeigen"},optionsAviaBarEnabled:{message:"Cheap Flights
Advisor"},optionsSaveAsDialog:{message:"Jedes Mal nachfragen, wo eine Datei
gespeichert werden soll"},menuDownloadFromCurrentPage:{message:"Laden Sie die
Dateien mit SaveFrom.net von der aktuellen Seite"},menuUpdateLinks:{message:"Hier
klicke, wenn die Download-Taste nicht erscheint"},menuDownloadMP3Files:
{message:"Alle auf dieser Seite gefundenen Audiodateien
herunterladen"},menuDownloadPlaylist:{message:"Playliste mit den Links zu den
Audiodateien generieren und downloaden"},menuDownloadPhotos:{message:"Alle auf der
aktuellen Seite gefundenen Bilder herunterladen"},menuReportBug:{message:"Schreiben
Sie uns, wenn Probleme auftreten"},menuShowOptions:{message:"AN/AUS unterstützte
Ressourcen und Helperoptionen"},menuEnableExtension:{message:""},menuOpenPoll:
{message:""},quality:{message:"Qualität"},qualityNote:{message:"Wenn es nicht um
Qualität geht, wird das nächste verfügbare Video heruntergeladen."},filelistTitle:
{message:"Die Liste der gefundenen dateien"},filelistInstruction:{message:"['Zum
Herunterladen aller datien kopieren Sie die liste der Links in Ihren ',{a:
{href:'http://en.wikipedia.org/wiki/Download_manager',text:'Download Manager'}},'.
Wenn Sie noch keinen Download Manager haben we empfehlen wir Ihnen die Installation
des ',{a:{href:'http://www.freedownloadmanager.org/',text:'Free Download
Manager'}},'.']"},playlistTitle:{message:"Wiedergabliste"},playlistInstruction:
{message:"Zur Wiedergabe Ihrer gespeicherten Wiedergabliste kann es nun mit einem
Musik-Player geöffnet werden."},ummySfTitle:{message:"HD oder MP3"},ummyMenuItem:
{message:"[{span:{}},' mithilfe von Ummy herunterladen']"},ummyMenuInfo:
{message:"[{p:{text:'Schnell und einfach HD Videos und MP3 über Ummy
Video Downloader herunterladen!'}},{p:{class:'center',append:[{a:{class:'green-
btn-2 arrow',href:'{url}',target:'_blank',text:'Jetzt installieren'}}]}},{p:
{append:['Nach der Installation startet jederzeit ein Download, wenn Sie auf ',
{img:{src:'#'}},' klicke']}}]"},warningPopupTitle:{message:"Überprüfen Sie die
Browsereinstellungen"},warningPopupDesc:{message:'Die Option "Jedes Mal nachfragen,
wo eine Datei gespeichert werden soll" muss deaktiviert sein.'},readMore:
{message:"Mehr"},noWarning:{message:"Nicht benachrichtigen"},cancel:
{message:"Abbrechen"},continue:{message:"Fortsetzen"},beforeDownloadPopupWarn:
{message:"Achtung! Der Download kann nicht abgebrochen oder angehalten
werden."},vkInfo:{message:"Info"},vkInfoTitle:{message:"Dateigröße und
Bitrate"},vkMp3LinksNotFound:{message:"Links zu MP3 Dateien wurden nicht
gefunden"},vkPhotoLinksNotFound:{message:"Photos are not
found"},vkDownloadPhotoAlbum:{message:"Album
herunterladen"},vkDownloadAllPhotoAlbums:{message:"Alle Alben
herunterladen"},vkFoundPhotos:{message:"Gefundene Fotos"},vkNotAvailablePhotos:
{message:"%d Foto(s) vorübergehend nicht verfügbar"},vkFoundLinks:
{message:"Gefundene Links"},vkFoundOf:{message:"von"},vkShowAs:{message:"Zeigen
als"},vkListOfLinks:{message:"Liste der Links"},vkListOfLinksInstruction:
{message:"['Um alle Fotos herunterzuladen, kopieren Sie die Links aus der Liste und
fügen Sie diese in Ihren
',{a:{href:'http://en.wikipedia.org/wiki/Download_manager',text:'Download
Manager'}},' ein. Wenn Sie noch keinen Download Manager haben we empfehlen wir
Ihnen die Installation des
',{a:{href:'http://www.freedownloadmanager.org/',text:'Free Download
Manager'}},'.']"},vkTableOfThumbnails:{message:"Tabelle der
Thumbnails"},vkListOfPhotos:{message:"Liste der Fotos"},vkListOfPhotosInstruction:
{message:"klicke Sie auf ein Foto um es herunterzuladen."},vkKbps:
{message:"kbps"},vkFileSizeByte:{message:"B"},vkFileSizeKByte:
{message:"kB"},vkFileSizeMByte:{message:"MB"},vkFileSizeGByte:
{message:"GB"},vkFileSizeTByte:{message:"TB"},vkDownloadFromYoutube:
{message:"['Herunterladen: Öffnen Sie ',{a:{href:'{url}',text:'die Video Seite'}},'
und drücken Sie den \"Herunterladen\" Knopf über dem Video-
Spieler']"},vkFoundFiles:{message:"Dateien gefunden: %d"},shareIn:{message:"In %w
teilen"},socialDesc:{message:"Der SaveFrom.net Helper ermöglicht es Ihnen Dateien
YouTube.com, Facebook.com, VK.com und mehr als 40 andere Seiten mit einem Klick
herunterzuladen"},tutorialS1Title:{message:"Gute Nachrichten!"},tutorialS1Main:
{message:"['SaveFrom.net Helper ',{img: {src: '#logo'}},' wurde erfolgreich
installiert. Jetzt kannst du jedes Video mit einem Klick von YouTube
herunterladen']"},tutorialS1Arrow:{message:"['Wie das geht?',{br:{}},'Hier erfährst
du es']"},tutorialS2Main:{message:'Wähle das Format des Videos, das du
herunterladen möchtest und klicke auf "Herunterladen"'},tutorialS3History:
{message:"Historie"},tutorialS3Main:{message:"['Du möchtest ein Video aus der
Historie herunterladen? Klicke einfach in der Vorschau des zuletzt gesehenen Videos
auf ', {img: {src: '#arrow'}}]"},tutorialS4Main:{message:"['Du musst dir das Video
nicht ansehen — klicke einfach auf ', {img: {src: '#arrow'}}, ', wähle die Qualität
und lade es herunter. Ganz einfach, oder?']"},tutorialS5Title:{message:"Viel Spaß
mit SaveFrom.net Helper!"},tutorialS5Main:{message:"['Noch Fragen? Vorschläge?
Willkommen auf unserer ', {a: {text: 'Support-Seite', href: '#support'}} ,'.
Schließe dich uns bei ', {a: {text: 'Facebook', href: '#fb'}} ,'
an']"},tutorialTooltipText:{message:"['Klicke Sie zum ',{b: {text: 'Download'}},',
einfach auf die Schaltfläche']"},ummyTooltipConfirm:{message:"['Hatten Sie ',{img:
{}},' Ummy Video Downloader bereits zuvor installiert?']"},yes:{message:"Ja"},no:
{message:"Nein"},tooltipHide:{message:"Diese Meldung nicht wieder anzeigen"}},en:
{extName:{message:"SaveFrom.net helper"},extDescription:{message:"Download YouTube,
Facebook, VK.com and 40+ sites in one click."},extNameLite:{message:"SaveFrom.net
helper lite"},extDescriptionLite:{message:"Download Facebook, VK.com and 40+ sites
in one click."},lang:{message:"en"},titleDefault:{message:"SaveFrom.net
helper"},titleDesabled:{message:"SaveFrom.net helper disabled"},menuEnable:
{message:"Enable"},menuDisable:{message:"Disable"},showButton:{message:"Show
extension button"},copy:{message:"Copy"},download:
{message:"Download"},downloadTitle:{message:"Click the link while holding
Alt/Option or Ctrl key to download the file."},noLinksFound:{message:"No links were
found"},partnersLinksOnly:{message:"No links found, use affiliate products"},more:
{message:"More"},close:{message:"Close"},kbps:{message:"kbps"},withoutAudio:
{message:"without audio"},size:{message:"size"},subtitles:
{message:"Subtitles"},playlist:{message:"Playlist"},filelist:{message:"List of
files"},downloadWholePlaylist:{message:"Download the whole
playlist"},getFileSizeTitle:{message:"Get file size"},getFileSizeFailTitle:
{message:"Unable to get the file size. Please try again."},lmButtonTitle:
{message:"Get a direct link"},downloadFromCurrentPage:{message:"Go to
SaveFrom.net"},updateLinks:{message:"Refresh links"},updateLinksNotification:
{message:"Links updated"},downloadMP3Files:{message:"Download audio
files"},downloadPlaylist:{message:"Download a playlist"},downloadPhotos:
{message:"Download pictures"},installFullVersion:{message:"Install full
version"},disable:{message:"Disable"},showOptions:{message:"Settings"},reportBug:
{message:"Report a bug"},openPoll:{message:"Become better"},disableModule:
{message:"Disable on this website"},enableModule:{message:"Enable on this
website"},enableDisableModule:{message:"Turn On/Off on this
website"},showHideButton:{message:"Show/hide extension button"},updateTo:
{message:"Update to %d"},aboutPage:{message:"About"},aboutTitle:
{message:"SaveFrom.net Helper"},aboutVersion:{message:"Version"},aboutDescription:
{message:"Helps users to get direct links to download from more than 40 websites,
including Dailymotion.com, YouTube.com, VK.com and others."},aboutDescriptionLite:
{message:"Helps users to get direct links to download from more than 40 websites,
including Dailymotion.com, VK.com and others."},aboutSupported:{message:"Supported
resources"},homePage:{message:"Home page"},optionsTitle:{message:"SaveFrom.net
Helper - Preferences"},optionsHandleLinks:{message:"Handle
links"},optionsFfmpegEnabled:{message:"Converter for ffmpeg (alpha
version)"},optionsMediaHostings:{message:"To mediahostings"},optionsModules:
{message:"Modules"},optionsYoutube:{message:"YouTube"},optionsYTHideLinks:
{message:"Hide links"},optionsDailymotion:{message:"Dailymotion"},optionsVimeo:
{message:"Vimeo"},optionsFacebook:{message:"Facebook"},optionsSoundcloud:
{message:"SoundCloud"},optionsVkontakte:{message:"VK"},optionsOdnoklassniki:
{message:"Odnoklassniki"},optionsMailru:{message:"Moy Mir"},optionsInstagram:
{message:"Instagram"},optionsRutube:{message:"Rutube"},optionsTiktok:
{message:"Tiktok"},optionsBitrate:{message:"Show bitrate
instantly"},optionsSovetnikEnabled:{message:"Advisor"},optionsShowUmmyInfo:
{message:"Show tips for Ummy Video Downloader"},optionsGmNativeDownload:
{message:"Advanced download mode"},optionsShowUmmyBtn:{message:"Show the Ummy
button"},optionsAviaBarEnabled:{message:"Cheap Flights
Advisor"},optionsSaveAsDialog:{message:"Always ask me where to save
files"},optionsDirectory:{message:"The name of the directory into which files of
one of the listed formats will be saved."},optionsFormats:{message:"Specify,
separated by a space, the file formats that will be saved to the specified
directory"},menuDownloadFromCurrentPage:{message:"Download files from the current
page using SaveFrom.net"},menuUpdateLinks:{message:"Press if Download button
doesn't appear"},menuDownloadMP3Files:{message:"Download all audio files found on
the current page"},menuDownloadPlaylist:{message:"Generates and downloads the
playlist consisting of links to audio files"},menuDownloadPhotos:{message:"Download
all pictures found on the current page"},menuReportBug:{message:"Let us know if you
have any problems"},menuShowOptions:{message:"ON/OFF supported resources and Helper
options"},menuEnableExtension:{message:""},menuOpenPoll:{message:"We work hard to
become better. Please, give us a hand!"},quality:{message:"Quality"},qualityNote:
{message:"The best available video will be downloaded If there is no chosen
quality."},filelistTitle:{message:"The list of the found
files"},filelistInstruction:{message:"['To download all files copy the list of
links and paste it into the
',{a:{href:'http://en.wikipedia.org/wiki/Download_manager',text:'download
manager'}},'. If you do not have a download manager installed we recommend
installing ',{a:{href:'http://www.freedownloadmanager.org/',text:'Free Download
Manager'}},'.']"},playlistTitle:{message:"Playlist"},playlistInstruction:
{message:"To playback the saved playlist it may be now opened in the music
player."},ummySfTitle:{message:"HD or MP3"},ummyMenuItem:{message:"[{span:{}},' via
Ummy']"},ummyMenuInfo:{message:"[{p:{text:'Fast and easy download HD videos and MP3
via Ummy Video Downloader!'}},{p:{class:'center',append:[{a:{class:'green-btn-2
arrow',href:'{url}',target:'_blank',text:'Install Now'}}]}},{p:{append:['When
installed, a download will start anytime you click on ',{img:
{src:'#'}}]}}]"},warningPopupTitle:{message:"Check browser
settings"},warningPopupDesc:{message:'The option "Always ask me where to save
files" must be turned off.'},readMore:{message:"More"},noWarning:{message:"Don't
notify"},cancel:{message:"Cancel"},continue:
{message:"Continue"},beforeDownloadPopupWarn:{message:"Warning! Downloading cannot
be canceled or suspended."},vkInfo:{message:"Info"},vkInfoTitle:{message:"File size
and bitrate"},vkMp3LinksNotFound:{message:"Links to MP3 files are not
found"},vkPhotoLinksNotFound:{message:"Photos are not found"},vkDownloadPhotoAlbum:
{message:"Download
album"},vkDownloadAllPhotoAlbums:{message:"Download all albums"},vkFoundPhotos:
{message:"Found photos"},vkNotAvailablePhotos:{message:"%d photos are temporarily
unavailable"},vkFoundLinks:{message:"Found links"},vkFoundOf:
{message:"of"},vkShowAs:{message:"Show as"},vkListOfLinks:{message:"List of
links"},vkListOfLinksInstruction:{message:"['To download all photos copy the list
of links and paste it into the
',{a:{href:'http://en.wikipedia.org/wiki/Download_manager',text:'download
manager'}},'. If you do not have a download manager installed we recommend
installing ',{a:{href:'http://www.freedownloadmanager.org/',text:'Free Download
Manager'}},'.']"},vkTableOfThumbnails:{message:"Table of
thumbnails"},vkListOfPhotos:{message:"List of photos"},vkListOfPhotosInstruction:
{message:"Click on the photo to download it."},vkKbps:
{message:"kbps"},vkFileSizeByte:{message:"B"},vkFileSizeKByte:
{message:"kB"},vkFileSizeMByte:{message:"MB"},vkFileSizeGByte:
{message:"GB"},vkFileSizeTByte:{message:"TB"},vkDownloadFromYoutube:
{message:"['Download: open ',{a:{href:'{url}',text:'the video page'}},' and press
the \"Download\" button above the player']"},vkFoundFiles:{message:"Files found:
%d"},shareIn:{message:"Share on %w"},socialDesc:{message:"SaveFrom.net helper
enables you to download files from YouTube.com, Facebook.com, VK.com and more than
40 other just in one click for free"},tutorialS1Title:{message:"Good
news!"},tutorialS1Main:{message:"['SaveFrom.net Helper ',{img: {src: '#logo'}},'
has been successfully installed and now you can download any video from YouTube in
one click']"},tutorialS1Arrow:{message:"['Want to know how?',{br:{}},'Click
here']"},tutorialS2Main:{message:'To download a video choose a format and click the
"Download" button'},tutorialS3History:{message:"History"},tutorialS3Main:
{message:"['Do you want to download a video from History?',{br:{}},'Just click ',
{img: {src: '#arrow'}},' on the preview of the previously watched
video']"},tutorialS4Main:{message:"['No need to watch a video — just click on ',
{img: {src: '#arrow'}},', choose the quality, and download. Quite easy, isn’t
it?']"},tutorialS5Title:{message:"Enjoy SaveFrom.net Helper!"},tutorialS5Main:
{message:"['Still have questions? Want to share your ideas? Welcome to ',{a: {text:
'our support page', href: '#support'}},' or join us on ', {a: {text: 'Facebook',
href: '#fb'}}]"},tutorialTooltipText:{message:"['Just click the button to ',{b:
{text: 'download'}}]"},ummyTooltipConfirm:{message:"['Have you already installed',
{br:{}},{img:{}},' Ummy Video Downloader earlier?']"},yes:{message:"Yes"},no:
{message:"No"},tooltipHide:{message:"Do not show this message again"},sendToButton:
{message:"To phone"},sendToLinkGoBack:{message:"Go back to downloading
video"},sendToTextOr:{message:"or"},sendToLoginTitle:{message:"Transfer video
directly to your mobile!"},sendToLoginText:{message:"Please, Sign In with Google to
transfer chosen video"},sendToLoginButton:{message:"Sign in"},sendToEmailTitle:
{message:"Thanks for your interest!"},sendToEmailText:{message:"The work under the
feature is in progress now. Please, send us your email and we will send you an
invite as far as feature would be ready."},sendToEmailButton:{message:"Send
email"},sendToEmailTextComplete:{message:"Thank you!"},sendToEmailInputError:
{message:"Error"},sendToEmailInputPlaceholder:{message:"Type your email
here"},aliwizTopbarTitle:{message:"Aliexpress assistant shows <b>best price</b> &
<b>good sellers!</b>"},aliwizTopbarButton:{message:"Get for free"},doNotClosePage:
{message:"Do not close the page until the file has downloaded"},completed:
{message:"Completed"},somethingWentWrong:{message:"Something went wrong. Try
later."},downloadInfo:{message:"Download information"},prepareDownload:
{message:"Preparing to download"},videoDownloading:{message:"Video
downloading"},videoDownloaded:{message:"Videos uploaded successfully"},minimize:
{message:"Minimize"},minimizeDownloadPanel:{message:"Minimize the download window,
we'll let you know when the video has been downloaded"},done:
{message:"Done"},cancelDownload:{message:"Cancel download"},conversionCompleted:
{message:"Conversion completed"},someFilesNeedConverted:{message:"Some files need
to be converted, do not close the window until the conversion is
complete."},errors:{message:"Errors"},files:{message:"Files"}},es:{extName:
{message:"SaveFrom.net helper"},extDescription:{message:"Descargas desde YouTube,
Facebook, VK.com y 40+ sitios en un sólo clic."},extNameLite:{message:"SaveFrom.net
helper lite"},extDescriptionLite:{message:"Descargas desde Facebook, VK.com y 40+
sitios en un sólo clic."},lang:{message:"es"},titleDefault:{message:"SaveFrom.net
helper"},titleDesabled:{message:"SaveFrom.net helper deshabilitado"},menuEnable:
{message:"Habilitar"},menuDisable:{message:"Deshabilitar"},showButton:
{message:"Mostrar botón de extensión"},copy:{message:"Copiar"},download:
{message:"Descargar"},downloadTitle:{message:"Haga clic en el enlace mientras
presiona la tecla Alt/Opción o Ctrl para descargar el archivo."},noLinksFound:
{message:"No se han encontrado enlaces"},more:{message:"Más"},close:
{message:"Cerrar"},kbps:{message:"kbps"},withoutAudio:{message:"sin audio"},size:
{message:"tamaño"},subtitles:{message:"Subtítulos"},playlist:{message:"Lista de
reproducción"},filelist:{message:"Lista de archivos"},downloadWholePlaylist:
{message:"Descargar toda la lista de reproducción"},getFileSizeTitle:
{message:"Obtener tamaño de archivo"},getFileSizeFailTitle:{message:"No se pudo
obtener el tamaño del archivo. Por favor, inténtelo de nuevo."},lmButtonTitle:
{message:"Obtener un enlace directo"},downloadFromCurrentPage:{message:"Ir a
SaveFrom.net"},updateLinks:{message:"Actualizar enlaces"},updateLinksNotification:
{message:"Enlaces actualizados"},downloadMP3Files:{message:"Descargar archivos de
audio"},downloadPlaylist:{message:"Descargar una lista de
reproducción"},downloadPhotos:{message:"Descargar imágenes"},installFullVersion:
{message:"Instalar la versión completa"},disable:
{message:"Deshabilitar"},showOptions:{message:"Ajustes"},reportBug:
{message:"Informar sobre un problema"},openPoll:{message:"Mejorar"},disableModule:
{message:"Desactivar en este sitio web"},enableModule:{message:"Activar en este
sitio web"},enableDisableModule:{message:"Activ./Desactiv. en esta
web"},showHideButton:{message:"Mostrar/ocultar botón extens"},updateTo:
{message:"Actualizar a la %d"},aboutPage:{message:"Acerca de"},aboutTitle:
{message:"SaveFrom.net Helper"},aboutVersion:{message:"Versión"},aboutDescription:
{message:"Ayuda a los usuarios a obtener enlaces directos para descargar desde más
de 40 sitios web, incluidos Dailymotion.com, YouTube.com, VK.com y
otros."},aboutDescriptionLite:{message:"Ayuda a los usuarios a obtener enlaces
directos para descargar desde más de 40 sitios web, incluidos Dailymotion.com,
VK.com y otros."},aboutSupported:{message:"Recursos admitidos"},homePage:
{message:"Página de inicio"},optionsTitle:{message:"SaveFrom.net Helper -
Preferencias"},optionsHandleLinks:{message:"Manejar enlaces"},optionsMediaHostings:
{message:"A servidores multimedia"},optionsModules:
{message:"Módulos"},optionsYoutube:{message:"YouTube"},optionsYTHideLinks:
{message:"Ocultar enlaces"},optionsDailymotion:
{message:"Dailymotion"},optionsVimeo:{message:"Vimeo"},optionsFacebook:
{message:"Facebook"},optionsSoundcloud:{message:"SoundCloud"},optionsVkontakte:
{message:"VK"},optionsOdnoklassniki:{message:"Odnoklassniki"},optionsMailru:
{message:"Moy Mir"},optionsInstagram:{message:"Instagram"},optionsRutube:
{message:"Rutube"},optionsTiktok:{message:"Tiktok"},optionsBitrate:
{message:"Mostrar velocidad de bits instantáneamente"},optionsSovetnikEnabled:
{message:"Consejero"},optionsShowUmmyInfo:{message:"Muestra consejos para Ummy
Video Downloader"},optionsGmNativeDownload:{message:"Móudlo de descarga
avanzada"},optionsShowUmmyBtn:{message:"Mostrar el botón
Ummy"},optionsAviaBarEnabled:{message:"Cheap Flights Advisor"},optionsSaveAsDialog:
{message:"Preguntarme siempre dónde guardar los
archivos"},menuDownloadFromCurrentPage:{message:"Descargar archivos de la página
actual usando SaveFrom.net"},menuUpdateLinks:{message:"Pulse si no aparece el botón
Descargar"},menuDownloadMP3Files:{message:"Descargar todos los archivos de audio de
la página actual"},menuDownloadPlaylist:{message:"Genera y descarga la lista de
reproducción que consiste en enlaces a archivos de audio"},menuDownloadPhotos:
{message:"Descargar todas las imágenes encontradas en la página
actual"},menuReportBug:{message:"Háganos saber si tiene algún
problema"},menuShowOptions:{message:"ACTIVAR/DESACTIVAR recursos admitidos y
opciones del Helper"},menuEnableExtension:{message:""},menuOpenPoll:
{message:"Trabajamos duro para mejorar. ¡Échenos una mano!"},quality:
{message:"Calidad"},qualityNote:{message:"Si no se elige ninguna calidad, se
descargará el mejor vídeo disponible."},filelistTitle:{message:"La lista de los
archivos encontrados"},filelistInstruction:{message:"['Para descargar todos los
archivos, copie la lista de enlaces y péguela en el
',{a:{href:'http://en.wikipedia.org/wiki/Download_manager',text:'gestor de
descargas'}},'. Si no tiene instalado un gestor de descargas, le recomendamos que
instale ',{a:{href:'http://www.freedownloadmanager.org/',text:'Free Download
Manager'}},'.']"},playlistTitle:{message:"Lista de
reproducción"},playlistInstruction:{message:"Para reproducir la lista de
reproducción guardada, puede abrirla ahora en el reproductor de
música."},ummySfTitle:{message:"HD o MP3"},ummyMenuItem:{message:"[{span:{}},' via
Ummy']"},ummyMenuInfo:{message:"[{p:{text:'Instale Ummy Video Downloader y
descargue sus vídeos favoritos en HD o MP3.'}},{p:{class:'center',append:[{a:
{class:'green-btn-2 arrow',href:'{url}',target:'_blank',text:'Descargar'}}]}},{p:
{append:['Después de la instalación, se iniciará una descarga automáticamente
siempre que haga clic en ',{img:{src:'#'}}]}}]"},warningPopupTitle:
{message:"Compruebe la configuración de su navegador"},warningPopupDesc:
{message:'La opción "Preguntarme siempre dónde guardar los archivos" debe estar
desactivada.'},readMore:{message:"Más"},noWarning:{message:"No notificar"},cancel:
{message:"Cancelar"},continue:{message:"Continuar"},beforeDownloadPopupWarn:
{message:"¡Advertencia! La descarga no se puede cancelar o suspender."},vkInfo:
{message:"Información"},vkInfoTitle:{message:"Tamaño de archivo y velocidad de
bits"},vkMp3LinksNotFound:{message:"No se han encontrado enlaces a archivos
MP3"},vkPhotoLinksNotFound:{message:"No se han encontrado
imágenes"},vkDownloadPhotoAlbum:{message:"Descargar
álbum"},vkDownloadAllPhotoAlbums:{message:"Descargar todos los
álbums"},vkFoundPhotos:{message:"Imágenes encontradas"},vkNotAvailablePhotos:
{message:"%d imágenes están temporalmente no disponibles"},vkFoundLinks:
{message:"Enlaces encontrados"},vkFoundOf:{message:"de"},vkShowAs:{message:"Mostrar
como"},vkListOfLinks:{message:"Lista de enlaces"},vkListOfLinksInstruction:
{message:"['Para descargar todas las imágenes, copie la lista de enlaces y péguela
en el ',{a:{href:'http://en.wikipedia.org/wiki/Download_manager',text:'gestor de
descargas'}},'. Si no tiene instalado un gestor de descargas, le recomendamos que
instale ',{a:{href:'http://www.freedownloadmanager.org/',text:'Free Download
Manager'}},'.']"},vkTableOfThumbnails:{message:"Tabla de
miniaturas"},vkListOfPhotos:{message:"Lista de
imágenes"},vkListOfPhotosInstruction:{message:"Haga clic en la imagen para
descargarla."},vkKbps:{message:"kbps"},vkFileSizeByte:
{message:"B"},vkFileSizeKByte:{message:"kB"},vkFileSizeMByte:
{message:"MB"},vkFileSizeGByte:{message:"GB"},vkFileSizeTByte:
{message:"TB"},vkDownloadFromYoutube:{message:"['Descargar: abra ',{a:
{href:'{url}',text:'la página del vídeo'}},' y pulse el botón \"Descargar\" sobre
el reproductor']"},vkFoundFiles:{message:"Archivos encontrados: %d"},shareIn:
{message:"Compartir en %w"},socialDesc:{message:"SaveFrom.net helper le permite
descargar archivos desde YouTube.com, Facebook.com, VK.com y más de 40 sitios
distintos con tan sólo un clic y gratis"},tutorialS1Title:{message:"¡Excelentes
noticias!"},tutorialS1Main:{message:"['SaveFrom.net Helper ',{img: {src: '#logo'}},
' se instaló con éxito y ahora puedes descargar cualquier video de YouTube con un
solo clic']"},tutorialS1Arrow:{message:"['¿Quieres saber cómo?', {br:{}}, 'Haz clic
aquí']"},tutorialS2Main:{message:'Para descargar un video, elige el formato y haz
clic en el botón "Descargar"'},tutorialS3History:
{message:"Historial"},tutorialS3Main:{message:"['¿Deseas descargar un video del
Historial?', {br:{}}, 'Simplemente haz clic en ', {img: {src: '#arrow'}}, ' en la
vista previa del video visto anteriormente.']"},tutorialS4Main:{message:"['No es
necesario mirar un video: simplemente haz clic en ', {img: {src: '#arrow'}}, ',
elige la calidad y descárgalo. Fácil, ¿verdad?']"},tutorialS5Title:
{message:"¡Disfruta de SaveForm.net Helper!"},tutorialS5Main:{message:"['¿Todavía
tienes preguntas? ¿Quieres compartir tus ideas? Puedes ir a nuestra ',{a: {text:
'página de soporte', href: '#support'}},' o unirte a nosotros en ', {a: {text:
'Facebook', href: '#fb'}}]"},tutorialTooltipText:{message:"['Simplemente haz clic
en el botón para ',{b: {text: 'descargar'}}]"},ummyTooltipConfirm:{message:"['¿Ya
has instalado',{br:{}},{img:{}},' Ummy Video Downloader antes?']"},yes:
{message:"Sí"},no:{message:"No"},tooltipHide:{message:"No mostrar de nuevo este
mensaje"}},fr:{extName:{message:"SaveFrom.net Helper"},extDescription:
{message:"Téléchargez YouTube, Facebook, VK.com et 40+ sites en un seul
clic."},extNameLite:{message:"SaveFrom.net Helper lite"},extDescriptionLite:
{message:"Téléchargez Facebook, VK.com et 40+ sites en un seul clic."},lang:
{message:"fr"},titleDefault:{message:"SaveFrom.net Helper"},titleDesabled:
{message:"Assistant SaveFrom.net désactivé"},menuEnable:
{message:"Activer"},menuDisable:{message:"Désactiver"},showButton:
{message:"Afficher le bouton d'extension"},copy:{message:"Copier"},download:
{message:"Télécharger"},downloadTitle:{message:"Cliquer sur le lien tout en
maintenant la touche Alt/Option ou Ctrl pour télécharger le
fichier."},noLinksFound:{message:"Aucun lien n'a été trouvé"},more:
{message:"Plus"},close:{message:"Fermer"},kbps:{message:"kbps"},withoutAudio:
{message:"sans audio"},size:{message:"taille"},subtitles:{message:"Sous-
titres"},playlist:{message:"Playlist"},filelist:{message:"Liste de
fichiers"},downloadWholePlaylist:{message:"Télécharger toute la
playlist"},getFileSizeTitle:{message:"Obtenir la taille du
fichier"},getFileSizeFailTitle:{message:"Impossible d'obtenir la taille du fichier.
Veuillez réessayer."},lmButtonTitle:{message:"Obtenir un lien
direct"},downloadFromCurrentPage:{message:"Aller à SaveFrom.net"},updateLinks:
{message:"Rafraîchir les liens"},updateLinksNotification:{message:"Liens mis à
jour"},downloadMP3Files:{message:"Télécharger les fichiers
audio"},downloadPlaylist:{message:"Télécharger une playlist"},downloadPhotos:
{message:"Télécharger les images"},installFullVersion:{message:"Installer la
version complète"},disable:{message:"Désactiver"},showOptions:
{message:"Paramètres"},reportBug:{message:"Signaler un bug"},openPoll:
{message:"Améliorer"},disableModule:{message:"Désactiver sur ce
site"},enableModule:{message:"Activer sur ce site"},enableDisableModule:
{message:"Activer On/Off sur ce site
web"},showHideButton:{message:"Afficher/masquer le bouton d'extension"},updateTo:
{message:"Passer à la version %d"},aboutPage:{message:"À propos"},aboutTitle:
{message:"SaveFrom.net Helper"},aboutVersion:{message:"Version"},aboutDescription:
{message:"Aide les utilisateurs à obtenir des liens directs pour télécharger depuis
plus de 40 sites web, y compris Dailymotion.com, YouTube.com, VK.com et
d'autres."},aboutDescriptionLite:{message:"Aide les utilisateurs à obtenir des
liens directs pour télécharger depuis plus de 40 sites web, y compris
Dailymotion.com, VK.com et d'autres."},aboutSupported:{message:"Ressources prises
en charge"},homePage:{message:"Page d'accueil"},optionsTitle:{message:"SaveFrom.net
Helper - Préférences"},optionsHandleLinks:{message:"manipuler les
liens"},optionsMediaHostings:{message:"Vers l'hébergement de
médias"},optionsModules:{message:"Modules"},optionsYoutube:
{message:"YouTube"},optionsYTHideLinks:{message:"Masquer les
liens"},optionsDailymotion:{message:"Dailymotion"},optionsVimeo:
{message:"Vimeo"},optionsFacebook:{message:"Facebook"},optionsSoundcloud:
{message:"SoundCloud"},optionsVkontakte:{message:"VK"},optionsOdnoklassniki:
{message:"Odnoklassniki"},optionsMailru:{message:"Moy Mir"},optionsInstagram:
{message:"Instagram"},optionsRutube:{message:"Rutube"},optionsTiktok:
{message:"Tiktok"},optionsBitrate:{message:"Afficher instantanément le
bitrate"},optionsSovetnikEnabled:{message:"Advisor"},optionsShowUmmyInfo:
{message:"Afficher les astuces pour Ummy Video
Downloader"},optionsGmNativeDownload:{message:"Mode de téléchargement
avancé"},optionsShowUmmyBtn:{message:"Montrer le bouton
Ummy"},optionsAviaBarEnabled:{message:"Cheap Flights Advisor"},optionsSaveAsDialog:
{message:"Toujours demander où enregistrer les
fichiers"},menuDownloadFromCurrentPage:{message:"Téléchargement des fichiers depuis
la page actuelle en utilisant SaveFrom.net"},menuUpdateLinks:{message:"Appuyez si
le bouton Télécharger n'apparaît pas"},menuDownloadMP3Files:{message:"Télécharger
tous les fichiers audio trouvés sur la page actuelle"},menuDownloadPlaylist:
{message:"Génère et télécharge la playlist consistant en liens vers les fichiers
audio"},menuDownloadPhotos:{message:"Télécharger toutes les images trouvées sur la
page actuelle"},menuReportBug:{message:"Prévenez-nous si vous avez des
problèmes"},menuShowOptions:{message:"ON/OFF ressources prises en charge et options
Helper"},menuEnableExtension:{message:""},menuOpenPoll:{message:"Nous faisons tout
pour nous améliorer. N'hésitez pas à nous aider !"},quality:
{message:"Qualité"},qualityNote:{message:"La meilleure vidéo disponible sera
téléchargée s'il n'y a pas de qualité choisie."},filelistTitle:{message:"La liste
des fichiers trouvés"},filelistInstruction:{message:"['Pour télécharger tous les
fichiers copiez la liste des liens et collez-la dans
',{a:{href:'http://en.wikipedia.org/wiki/Download_manager',text:'download
manager'}},'. Si vous n\\'avez pas installé de gestionnaire de téléchargement, nous
vous recommandons d\\'installer
',{a:{href:'http://www.freedownloadmanager.org/',text:'Free Download
Manager'}},'.']"},playlistTitle:{message:"Playlist"},playlistInstruction:
{message:"Pour lire la playlist sauvegardée, ouvrez-la dans le lecteur
musical."},ummySfTitle:{message:"HD ou MP3"},ummyMenuItem:{message:"[{span:{}},'
via Ummy']"},ummyMenuInfo:{message:"[{p:{text:'Installez Ummy Video Downloader et
téléchargez vos vidéos favorites en HD ou MP3.'}},{p:{class:'center',append:[{a:
{class:'green-btn-2 arrow',href:'{url}',target:'_blank',text:'Download'}}]}},{p:
{append:['Après l\\'installation, un téléchargement démarrera automatiquement dès
que vous cliquez sur ',{img:{src:'#'}}]}}]"},warningPopupTitle:{message:"Vérifier
les paramètres du navigateur"},warningPopupDesc:{message:'L\'option "Toujours me
demander où sauvegarder les fichiers" doit être désactivée.'},readMore:
{message:"Plus"},noWarning:{message:"ne pas notifier'"},cancel:
{message:"Annuler"},continue:{message:"Continuer"},beforeDownloadPopupWarn:
{message:"Attention! Le téléchargement ne peut pas être annulé ou
suspendu."},vkInfo:{message:"Info"},vkInfoTitle:{message:"Taille de fichier et
bitrate"},vkMp3LinksNotFound:{message:"Les liens vers les fichiers MP3 sont
introuvables"},vkPhotoLinksNotFound:{message:"Photos
introuvables"},vkDownloadPhotoAlbum:{message:"Télécharger
l'album"},vkDownloadAllPhotoAlbums:{message:"Télécharger
tous les albums"},vkFoundPhotos:{message:"Photos trouvées"},vkNotAvailablePhotos:
{message:"%d photos sont temporairement indisponibles"},vkFoundLinks:
{message:"Liens trouvés"},vkFoundOf:{message:"de"},vkShowAs:{message:"Afficher
comme"},vkListOfLinks:{message:"Liste des liens"},vkListOfLinksInstruction:
{message:"['Pour télécharger toutes les photos copiez la liste des liens et collez-
la dans ',{a:{href:'http://en.wikipedia.org/wiki/Download_manager',text:'download
manager'}},'. Si vous n\\'avez pas installé de gestionnaire de téléchargement nous
vous recommandons d\\'installer
',{a:{href:'http://www.freedownloadmanager.org/',text:'Free Download
Manager'}},'.']"},vkTableOfThumbnails:{message:"Tableau des
vignettes"},vkListOfPhotos:{message:"Liste des photos"},vkListOfPhotosInstruction:
{message:"Cliquez sur la photo pour la télécharger."},vkKbps:
{message:"kbps"},vkFileSizeByte:{message:"O"},vkFileSizeKByte:
{message:"ko"},vkFileSizeMByte:{message:"Mo"},vkFileSizeGByte:
{message:"Go"},vkFileSizeTByte:{message:"To"},vkDownloadFromYoutube:
{message:"['Download: open ',{a:{href:'{url}',text:'the video page'}},' et appuyez
sur le bouton \"Télécharger\" au-dessus du lecteur']"},vkFoundFiles:
{message:"Fichiers trouvés : %d"},shareIn:{message:"Partager sur %w"},socialDesc:
{message:"SaveFrom.net helper vous permet de télécharger des fichiers de
YouTube.com, Facebook.com, VK.com et plus de 40 autres gratuitement et en un seul
clic"},tutorialS1Title:{message:"Bonnes nouvelles !"},tutorialS1Main:
{message:"['SaveFrom.net Helper ',{img: {src: '#logo'}}, ' a été installé avec
succès et maintenant vous pouvez télécharger les vidéos de YouTube en un
clic']"},tutorialS1Arrow:{message:"['Vous voulez savoir comment ? Cliquez
ici']"},tutorialS2Main:{message:'Pour télécharger une vidéo, choisissez un format
et cliquez sur le bouton "Télécharger"'},tutorialS3History:
{message:"Historique"},tutorialS3Main:{message:"['Voulez-vous télécharger une vidéo
depuis l’historique ?', {br:{}}, 'Il suffit de cliquer sur ', {img: {src:
'#arrow'}}, ' située sur l\\'aperçu de la vidéo précédemment
regardée']"},tutorialS4Main:{message:"['Pas besoin de regarder une vidéo — il
suffit de cliquer sur ', {img: {src: '#arrow'}}, ', faites le choix de la qualité,
et télécharger. Facile, est-ce pas ?']"},tutorialS5Title:{message:"Profitez de
SaveFrom.net Helper !"},tutorialS5Main:{message:"['Vous avez encore des questions ?
Vous voulez partager vos idées ? Bienvenue sur notre page ',{a: {text: 'de d’Aide',
href: '#support'}},' ou rejoignez-nous sur ', {a: {text: 'Facebook', href:
'#fb'}}]"},tutorialTooltipText:{message:"['Il suffit de cliquer sur le bouton pour
',{b: {text: 'télécharger'}}]"},ummyTooltipConfirm:{message:"['Avez-vous déjà
installé',{br:{}},{img:{}},' Ummy Video Downloader avant ?']"},yes:
{message:"Oui"},no:{message:"Non"},tooltipHide:{message:"Ne plus afficher ce
message"}},id:{extName:{message:"Bantuan SaveFrom.net"},extDescription:
{message:"Unduh YouTube, Facebook, VK.com, dan 40+ situs dengan satu
klik."},extNameLite:{message:"Bantuan SaveFrom.net lite"},extDescriptionLite:
{message:"Unduh Facebook, VK.com, dan 40+ situs dengan satu klik."},lang:
{message:"id"},titleDefault:{message:"Bantuan SaveFrom.net"},titleDesabled:
{message:"Bantuan SaveFrom.net nonaktif"},menuEnable:
{message:"Aktifkan"},menuDisable:{message:"Nonaktifkan"},showButton:
{message:"Tampilkan tombol ekstensi"},copy:{message:"Salin"},download:
{message:"Unduh"},downloadTitle:{message:"Klik tautan sambil menahan tombol
Alt/Option atau Ctrl untuk mengunduh file."},noLinksFound:{message:"Tautan tidak
ditemukan"},more:{message:"Lainnya"},close:{message:"Tutup"},kbps:
{message:"kbps"},withoutAudio:{message:"tanpa audio"},size:
{message:"ukuran"},subtitles:{message:"Subtitel"},playlist:{message:"Daftar
putar"},filelist:{message:"Daftar file"},downloadWholePlaylist:{message:"Unduh
seluruh daftar putar"},getFileSizeTitle:{message:"Dapatkan ukuran
file"},getFileSizeFailTitle:{message:"Gagal mendapatkan ukuran file. Mohon coba
lagi."},lmButtonTitle:{message:"Dapatkan tautan langsung"},downloadFromCurrentPage:
{message:"Buka SaveFrom.net"},updateLinks:{message:"Segarkan
tautan"},updateLinksNotification:{message:"Tautan diperbarui"},downloadMP3Files:
{message:"Unduh file audio"},downloadPlaylist:{message:"Unduh daftar
putar"},downloadPhotos:{message:"Unduh gambar"},installFullVersion:{message:"Pasang
versi lengkap"},disable:{message:"Nonaktifkan"},showOptions:
{message:"Setelan"},reportBug:{message:"Laporkan bug"},openPoll:{message:"Jadikan
lebih baik"},disableModule:{message:"Nonaktifkan di situs web ini"},enableModule:
{message:"Aktifkan di situs web
ini"},enableDisableModule:{message:"Nyalakan/Matikan di situs ini"},showHideButton:
{message:"Tampilkan/tutup tbl ekstensi"},updateTo:{message:"Perbarui ke
%d"},aboutPage:{message:"Tentang"},aboutTitle:{message:"Bantuan
SaveFrom.net"},aboutVersion:{message:"Versi"},aboutDescription:{message:"Membantu
pengguna mendapatkan tautan langsung dari 40+ situs web, termasuk Dailymotion.com,
YouTube.com, VK.com dan lain-lain."},aboutDescriptionLite:{message:"Membantu
pengguna mendapatkan tautan langsung untuk mengunduh dari 40+ situs web, termasuk
Dailymotion.com, VK.com dan lain-lain."},aboutSupported:{message:"Sumber daya yang
didukung"},homePage:{message:"Laman beranda"},optionsTitle:{message:"Bantuan
SaveFrom.net - Preferensi"},optionsHandleLinks:{message:"Tangani
tautan"},optionsMediaHostings:{message:"Ke mediahosting"},optionsModules:
{message:"Modul"},optionsYoutube:{message:"YouTube"},optionsYTHideLinks:
{message:"Sembunyikan tautan"},optionsDailymotion:
{message:"Dailymotion"},optionsVimeo:{message:"Vimeo"},optionsFacebook:
{message:"Facebook"},optionsSoundcloud:{message:"SoundCloud"},optionsVkontakte:
{message:"VK"},optionsOdnoklassniki:{message:"Odnoklassniki"},optionsMailru:
{message:"Moy Mir"},optionsInstagram:{message:"Instagram"},optionsRutube:
{message:"Rutube"},optionsTiktok:{message:"Tiktok"},optionsBitrate:
{message:"Langsung tampilkan bitrate"},optionsSovetnikEnabled:
{message:"Penasihat"},optionsShowUmmyInfo:{message:"Tampilkan tips untuk Ummy Video
Downloader"},optionsGmNativeDownload:{message:"Mode unduh
lanjutan"},optionsShowUmmyBtn:{message:"Perlihatkan tombol
Ummy"},optionsAviaBarEnabled:{message:"Cheap Flights Advisor"},optionsSaveAsDialog:
{message:"Selalu tanyakan lokasi penyimpanan berkas"},menuDownloadFromCurrentPage:
{message:"Unduh file dari laman saat ini dengan SaveFrom.net"},menuUpdateLinks:
{message:"Tekan jika tombol Unduh tidak muncul"},menuDownloadMP3Files:
{message:"Unduh semua file audio yang ada di laman saat ini"},menuDownloadPlaylist:
{message:"Buat dan unduh daftar putar berisi tautan ke file
audio"},menuDownloadPhotos:{message:"Unduh semua gambar yang ada di laman saat
ini"},menuReportBug:{message:"Beri tahu kami jika Anda mengalami
masalah"},menuShowOptions:{message:"AKTIFKAN/NONAKTIFKAN sumber daya yang didukung
dan opsi Bantuan"},menuEnableExtension:{message:""},menuOpenPoll:{message:"Kami
bekerja keras untuk jadi lebih baik. Tolong, bantu kami!"},quality:
{message:"Kualitas"},qualityNote:{message:"Video terbaik yang tersedia akan diunduh
jika tidak ada kualitas yang dipilih."},filelistTitle:{message:"Daftar file yang
ditemukan"},filelistInstruction:{message:"['Untuk mengunduh semua file, salin
daftar tautan dan tempelkan ke
',{a:{href:'http://en.wikipedia.org/wiki/Download_manager',text:'pengelola
unduhan'}},'. Jika Anda tidak memiliki pengelola unduhan, kami menyarankan ',{a:
{href:'http://www.freedownloadmanager.org/',text:'Free Download
Manager'}},'.']"},playlistTitle:{message:"Daftar putar"},playlistInstruction:
{message:"Untuk memutar daftar putar yang disimpan, sekarang bisa dibuka di pemutar
musik."},ummySfTitle:{message:"HD atau MP3"},ummyMenuItem:{message:"[{span:{}},'
via Ummy']"},ummyMenuInfo:{message:"[{p:{text:'Pasang Ummy Video Downloader dan
unduh video favorit Anda dalam format HD atau MP3.'}},{p:{class:'center',append:
[{a:{class:'green-btn-2 arrow',href:'{url}',target:'_blank',text:'Unduh'}}]}},{p:
{append:['Setelah pemasangan, unduhan akan otomatis dimulai setiap kali Anda
mengeklik ',{img:{src:'#'}}]}}]"},warningPopupTitle:{message:"Periksa setelan
browser"},warningPopupDesc:{message:'Opsi "Selalu tanya saya di mana menyimpan
file" harus dinonaktifkan.'},readMore:{message:"Lainnya"},noWarning:
{message:"Jangan beri tahu"},cancel:{message:"Batal"},continue:
{message:"Lanjutkan"},beforeDownloadPopupWarn:{message:"Perhatian! Pengunduhan
tidak dapat dibatalkan atau ditunda."},vkInfo:{message:"Info"},vkInfoTitle:
{message:"Ukuran file dan bitrate"},vkMp3LinksNotFound:{message:"Tautan atau file
MP3 tidak ditemukan"},vkPhotoLinksNotFound:{message:"Foto tidak
ditemukan"},vkDownloadPhotoAlbum:{message:"Unduh album"},vkDownloadAllPhotoAlbums:
{message:"Unduh semua album"},vkFoundPhotos:{message:"Foto
ditemukan"},vkNotAvailablePhotos:{message:"%d foto sementara ini tidak
tersedia"},vkFoundLinks:{message:"Tautan ditemukan"},vkFoundOf:
{message:"dari"},vkShowAs:{message:"Tampilkan sebagai"},vkListOfLinks:
{message:"Daftar tautan"},vkListOfLinksInstruction:{message:"['Untuk mengunduh
semua foto, salin daftar tautan dan tempelkan ke
',{a:{href:'http://en.wikipedia.org/wiki/Download_manager',text:'pengelola
unduhan'}},'. Jika Anda tidak memiliki pengelola unduhan, kami menyarankan ',{a:
{href:'http://www.freedownloadmanager.org/',text:'Free Download
Manager'}},'.']"},vkTableOfThumbnails:{message:"Tabel gambar mini"},vkListOfPhotos:
{message:"Daftar foto"},vkListOfPhotosInstruction:{message:"Klik foto untuk
mengunduhnya."},vkKbps:{message:"kbps"},vkFileSizeByte:
{message:"B"},vkFileSizeKByte:{message:"kB"},vkFileSizeMByte:
{message:"MB"},vkFileSizeGByte:{message:"GB"},vkFileSizeTByte:
{message:"TB"},vkDownloadFromYoutube:{message:"['Mengunduh: buka ',{a:
{href:'{url}',text:'laman video'}},' dan tekan tombol \"Unduh\" di atas
pemutar']"},vkFoundFiles:{message:"File
ditemukan: %d"},shareIn:{message:"Bagikan di %w"},socialDesc:{message:"Dengan
bantuan SaveFrom.net, Anda dapat mengunduh file dari YouTube.com, Facebook.com,
VK.com, dan lebih dari 40 lainnya hanya dengan satu klik gratis"},tutorialS1Title:
{message:"Berita bagus!"},tutorialS1Main:{message:"['SaveFrom.net Helper ',{img:
{src: '#logo'}},' telah berhasil diinstal dan kini Anda dapat mengunduh video apa
pun dari YouTube dengan satu klik']"},tutorialS1Arrow:{message:"['Anda ingin tahu
caranya?', {br:{}}, 'Klik di sini']"},tutorialS2Main:{message:'Untuk mengunduh
video, pilih suatu format dan klik tombol "Unduh"'},tutorialS3History:
{message:"Riwayat"},tutorialS3Main:{message:"['Apakah Anda ingin mengunduh video
dari Riwayat?', {br:{}}, 'Cukup klik ', {img: {src: '#arrow'}}, ' pada pratinjau
video yang telah ditonton sebelumnya']"},tutorialS4Main:{message:"['Tidak perlu
menonton video — cukup klik pada ', {img: {src: '#arrow'}}, ', pilih mutunya, dan
unduh. Cukup mudah, ya?']"},tutorialS5Title:{message:"Nikmati SaveFrom.net
Helper!"},tutorialS5Main:{message:"['Masih punya pertanyaan? Ingin berbagi ide?
Selamat datang di ', {a: {text: 'halaman dukungan', href: '#support'}},' kami atau
bergabunglah dengan kami di ', {a: {text: 'Facebook', href:
'#fb'}}]"},tutorialTooltipText:{message:"['Cukup klik tombol untuk ',{b: {text:
'mengunduh'}}]"},ummyTooltipConfirm:{message:"['Apakah Anda sudah menginstal',{br:
{}},{img:{}},' Ummy Video Downloader sebelumnya?']"},yes:{message:"Ya"},no:
{message:"Tidak"},tooltipHide:{message:"Jangan perlihatkan pesan ini lagi"}},ru:
{extName:{message:"SaveFrom.net помощник"},extDescription:{message:"Скачивайте с
Вконтакте, YouTube, Одноклассники и еще 40 сайтов за 1 клик."},extNameLite:
{message:"SaveFrom.net помощник lite"},extDescriptionLite:{message:"Скачивайте с
Вконтакте, Одноклассники и еще 40 сайтов за 1 клик."},lang:
{message:"ru"},titleDefault:{message:"SaveFrom.net помощник"},titleDesabled:
{message:"SaveFrom.net помощник выключен"},menuEnable:
{message:"Включить"},menuDisable:{message:"Выключить"},showButton:
{message:"Показывать кнопку расширения"},copy:{message:"Копировать"},download:
{message:"Скачать"},downloadTitle:{message:"Нажмите на ссылку, удерживая клавишу
Alt или Ctrl, чтобы сохранить файл."},noLinksFound:{message:"Не удалось найти
ссылки"},partnersLinksOnly:{message:"Ссылки не найдены, воспользуйтесь партнерскими
продуктами"},more:{message:"Ещё"},close:{message:"Закрыть"},kbps:{message:"кб/
с"},withoutAudio:{message:"без аудио"},size:{message:"размер"},subtitles:
{message:"Субтитры"},playlist:{message:"Плейлист"},filelist:{message:"Список
файлов"},downloadWholePlaylist:{message:"Скачать весь плейлист"},getFileSizeTitle:
{message:"Определить размер файла"},getFileSizeFailTitle:{message:"Не удалось
определить размер файла. Попробуйте повторить попытку."},lmButtonTitle:
{message:"Получи прямую ссылку"},downloadFromCurrentPage:{message:"Перейти на
SaveFrom.net"},updateLinks:{message:"Обновить ссылки"},updateLinksNotification:
{message:"Ссылки обновлены"},downloadMP3Files:{message:"Скачать аудио
файлы"},downloadPlaylist:{message:"Скачать плейлист"},downloadPhotos:
{message:"Скачать фотографии"},installFullVersion:{message:"Установить полную
версию"},disable:{message:"Выключить"},showOptions:{message:"Настройки"},reportBug:
{message:"Сообщить об ошибке"},openPoll:{message:"Стать лучше"},disableModule:
{message:"Отключить на этом сайте"},enableModule:{message:"Включить на этом
сайте"},enableDisableModule:{message:"Вкл/Выкл на этом сайте"},showHideButton:
{message:"Показ./скр. кнопку расширения"},updateTo:{message:"Обновить до
%d"},aboutPage:{message:"О расширении"},aboutTitle:{message:"SaveFrom.net
помощник"},aboutVersion:{message:"Версия"},aboutDescription:{message:"Позволяет
получать прямые ссылки для скачивания с более чем 40 сайтов, среди которых VK.com,
YouTube.com и другие."},aboutDescriptionLite:{message:"Позволяет получать прямые
ссылки для скачивания с более чем 40 сайтов, среди которых VK.com, Vimeo и
другие."},aboutSupported:{message:"Поддерживаемые ресурсы"},homePage:
{message:"Домашняя страница"},optionsTitle:{message:"SaveFrom.net помощник -
Настройки"},optionsHandleLinks:{message:"Обрабатывать
ссылки"},optionsMediaHostings:{message:"На медиахостинги"},optionsModules:
{message:"Модули"},optionsYoutube:{message:"YouTube"},optionsYTHideLinks:
{message:"Скрывать ссылки"},optionsDailymotion:
{message:"Dailymotion"},optionsVimeo:{message:"Vimeo"},optionsFacebook:
{message:"Facebook"},optionsSoundcloud:{message:"SoundCloud"},optionsVkontakte:
{message:"Вконтакте"},optionsOdnoklassniki:{message:"Одноклассники"},optionsMailru:
{message:"Мой мир"},optionsInstagram:{message:"Instagram"},optionsRutube:
{message:"Rutube"},optionsTiktok:{message:"Tiktok"},optionsBitrate:
{message:"Показывать битрейт сразу"},optionsSovetnikEnabled:
{message:"Советник"},optionsShowUmmyInfo:{message:"Показывать подсказки для Ummy
Video Downloader"},optionsGmNativeDownload:{message:"Расширенный режим
закачки"},optionsShowUmmyBtn:{message:"Отображать кнопку
Ummy"},optionsAviaBarEnabled:{message:"Советник Дешевых
Авиабилетов"},optionsSaveAsDialog:{message:"Всегда выдавать запрос на сохранение
файлов"},menuDownloadFromCurrentPage:{message:"Скачать файлы с текущей страницы с
помощью сервиса SaveFrom.net"},menuUpdateLinks:{message:"Нажмите, если ссылка для
скачивания не появляется"},menuDownloadMP3Files:{message:"Скачать все найденные на
странице аудиофайлы"},menuDownloadPlaylist:{message:"Формирует и скачивает плейлист
с ссылками на аудиофайлы"},menuDownloadPhotos:{message:"Скачать все найденные на
странице фотографии"},menuReportBug:{message:"Дайте нам знать, если возникли
проблемы"},menuShowOptions:{message:"Вкл./откл. поддерживаемые ресурсы и
возможности помощника"},menuEnableExtension:{message:""},menuOpenPoll:
{message:'Пожалуйста, оцените качество расширения "SaveFrom.net
помощник"'},quality:{message:"Качество"},qualityNote:{message:"Если видео в нужном
качестве нет, скачается лучшее из возможного."},filelistTitle:{message:"Список
найденных файлов"},filelistInstruction:{message:"['Чтобы скачать все файлы,
скопируйте список ссылок и вставьте его в
',{a:{href:'http://ru.wikipedia.org/wiki/Менеджер_загрузок',text:'менеджер
закачек'}},'. Если у вас не установлен менеджер закачек, рекомендуем установить ',
{a:{href:'http://www.westbyte.com/dm/',text:'Download
Master'}},'.']"},playlistTitle:{message:"Плейлист"},playlistInstruction:
{message:"Сохраненный плейлист можно открыть в плеере для
воспроизведения."},ummySfTitle:{message:"HD или MP3"},ummyMenuItem:
{message:"[{span:{}},' с помощью Ummy']"},ummyMenuInfo:{message:"[{p:{append:
['Скачивайте HD и MP3 с помощью бесплатной программы', {br:{}}, 'Ummy Video
Downloader!']}},{p:{class:'center',append:[{a:{class:'green-btn-2
arrow',href:'{url}',target:'_blank',text:'Установить'}}]}},{p:{append:['После
установки скачивание будет начинаться автоматически', {br:{}}, 'при клике на ',
{img:{src:'#'}}]}}]"},warningPopupTitle:{message:"Проверьте настройки
браузера"},warningPopupDesc:{message:"Выбор папки при скачивании должен быть
отключен."},readMore:{message:"Подробнее..."},noWarning:{message:"Не
предупреждать"},cancel:{message:"Отмена"},continue:
{message:"Продолжить"},beforeDownloadPopupWarn:{message:"Внимание: отменить или
приостановить закачку будет невозможно."},vkInfo:{message:"Параметры"},vkInfoTitle:
{message:"Размер файла и битрейт"},vkMp3LinksNotFound:{message:"Не найдены ссылки
на MP3 файлы"},vkPhotoLinksNotFound:{message:"Не найдены ссылки на
фотографии"},vkDownloadPhotoAlbum:{message:"Скачать
альбом"},vkDownloadAllPhotoAlbums:{message:"Скачать все альбомы"},vkFoundPhotos:
{message:"Найдено фотографий"},vkNotAvailablePhotos:{message:"%d фото временно не
доступно"},vkFoundLinks:{message:"Найдено ссылок"},vkFoundOf:
{message:"из"},vkShowAs:{message:"Показать как"},vkListOfLinks:{message:"Список
ссылок"},vkListOfLinksInstruction:{message:"['Чтобы скачать все фотографии,
скопируйте список ссылок и вставьте его в
',{a:{href:'http://ru.wikipedia.org/wiki/Менеджер_загрузок',text:'менеджер
закачек'}},'. Если у вас не установлен менеджер закачек, рекомендуем установить ',
{a:{href:'http://www.westbyte.com/dm/',text:'Download
Master'}},'.']"},vkTableOfThumbnails:{message:"Таблицу эскизов"},vkListOfPhotos:
{message:"Список фотографий"},vkListOfPhotosInstruction:{message:"Чтобы скачать
фотографию, щелкните на ней левой кнопкой
мыши."},vkKbps:{message:"кб/с"},vkFileSizeByte:{message:"Б"},vkFileSizeKByte:
{message:"кБ"},vkFileSizeMByte:{message:"МБ"},vkFileSizeGByte:
{message:"ГБ"},vkFileSizeTByte:{message:"ТБ"},vkDownloadFromYoutube:
{message:"['Скачать: откройте ',{a:{href:'{url}',text:'страницу видео ролика'}},' и
нажмите кнопку \"Скачать\" над плеером']"},vkFoundFiles:{message:"Найдено файлов:
%d"},shareIn:{message:"Поделиться в %w"},socialDesc:{message:"SaveFrom.net помощник
помогает бесплатно скачивать с VK.com, YouTube.com, Odnoklassniki.ru и более 40
других сайтов в 1 клик"},tutorialS1Title:{message:"Хорошие
новости!"},tutorialS1Main:{message:"['У тебя установлен SaveFrom.net помощник ',
{img: {src: '#logo'}},', и теперь ты можешь скачать любое видео с YouTube в один
клик']"},tutorialS1Arrow:{message:"['Хочешь узнать как?',{br:{}},'Нажми
здесь']"},tutorialS2Main:{message:'Чтобы скачать видео, выбери формат и нажми
кнопку "Скачать"'},tutorialS3History:{message:"Просмотренные"},tutorialS3Main:
{message:"['Хочешь скачать уже просмотренное видео?',{br:{}},'Нажимай на ', {img:
{src: '#arrow'}},' на превью в Просмотренных видео']"},tutorialS4Main:
{message:"['Видео не обязательно просматривать —',{br:{}},'нажимай на ', {img:
{src: '#arrow'}},', выбирай формат и скачивай. Это удобно!']"},tutorialS5Title:
{message:"Приятной работы!"},tutorialS5Main:{message:"['Остались вопросы? Есть
предложения? Загляните на ', {a: {text: 'страницу поддержки', href: '#support'}},'
или вступайте в наше ', {a: {text: 'ВК-собщество',
href: '#vk'}}]"},tutorialTooltipText:{message:"['Чтобы ',{b: {text: 'скачать'}},',
просто кликните по кнопке']"},ummyTooltipConfirm:{message:"['Вы уже установили',
{br:{}},{img:{}},' Ummy Video Downloader?']"},yes:{message:"Да"},no:
{message:"Нет"},tooltipHide:{message:"Больше не показывать это
сообщение"},sendToButton:{message:"На телефон"},sendToLinkGoBack:
{message:"Вернуться к скачиванию видео"},sendToTextOr:
{message:"или"},sendToLoginTitle:{message:"Скачайте видео сразу в ваш
телефон!"},sendToLoginText:{message:"Пожалуйста, авторизуйтесь через Google, чтобы
отправить выбранное видео"},sendToLoginButton:{message:"Войти"},sendToEmailTitle:
{message:"Благодарим за интерес к нашим сервисам!"},sendToEmailText:
{message:"Работа над этой функцией все еще кипит. Оставьте, пожалуйста, ваш email и
мы вышлем эксклюзивное приглашение, как только запустим
сервис!"},sendToEmailButton:{message:"Оставить емейл"},sendToEmailTextComplete:
{message:"Спасибо!"},sendToEmailInputError:
{message:"Ошибка"},sendToEmailInputPlaceholder:{message:"Введите ваш
емейл"},aliwizTopbarTitle:{message:"Покажем <b>надежных продавцов</b> и <b>лучшие
цены</b> на Aliexpress!"},aliwizTopbarButton:{message:"Показать"},doNotClosePage:
{message:"Не закрывайте страницу, пока файл не будет загружен!"},completed:
{message:"Завершено"},somethingWentWrong:{message:"Что-то пошло не так. Попробуйте
позже"},downloadInfo:{message:"Информация о скачивании"},prepareDownload:
{message:"Подготовка к загрузке"},videoDownloading:{message:"Загрузка
видео"},videoDownloaded:{message:"Видео успешно загружено"},minimize:
{message:"Свернуть"},minimizeDownloadPanel:{message:"Сверните окно загрузки, мы
сообщим вам, когда видео будет загружено"},done:{message:"Готово"},cancelDownload:
{message:"Отменить загрузку"},conversionCompleted:{message:"Конвертация
завершена"},someFilesNeedConverted:{message:"Некоторые файлы необходимо
конвертировать, не закрывайте окно до завершения операции"},errors:
{message:"Ошибки"},files:{message:"Файлы"},success:{message:"Успешно"}},tr:
{extName:{message:"SaveFrom.net asistan"},extDescription:{message:"Sadece bir
tıklama ile YouTube, Facebook, VK.com ve 40'dan fazla siteden dosya
indirin."},extNameLite:{message:"SaveFrom.net asistan lite"},extDescriptionLite:
{message:"Sadece bir tıklama ile Facebook, VK.com ve 40'dan fazla siteden dosya
indirin"},lang:{message:"tr"},titleDefault:{message:"SaveFrom.net
asistan"},titleDesabled:{message:"SaveFrom.net asistan devre dışı"},menuEnable:
{message:"Etkin"},menuDisable:{message:"Devre dışı"},showButton:{message:"Eklenti
düğmesini göster"},copy:{message:"Kopyala"},download:
{message:"İndir"},downloadTitle:{message:"Dosyayı indirmek için Alt/Option veya
Ctrl tuşuna basılı tutarak bağlantıyı tıklayın."},noLinksFound:{message:"Hiçbir
bağlantı bulunamadı"},more:{message:"Daha fazla"},close:{message:"Kapat"},kbps:
{message:"kbps"},withoutAudio:{message:"without audio"},size:
{message:"boyut"},subtitles:{message:"Alt yazı"},playlist:{message:"Çalma
listesi"},filelist:{message:"Dosya listesi"},downloadWholePlaylist:{message:"Tüm
çalma listesini indir"},getFileSizeTitle:{message:"Dosya boyutunu
al"},getFileSizeFailTitle:{message:"Dosya boyutu alınamadı. Lütfen tekrar
deneyiniz."},lmButtonTitle:{message:"Doğrudan bağlantı
al"},downloadFromCurrentPage:{message:"SaveFrom.net'e git"},updateLinks:
{message:"Bağlantıları yenile"},updateLinksNotification:{message:"Bağlantılar
güncellendi"},downloadMP3Files:{message:"Ses dosyalarını indir"},downloadPlaylist:
{message:"Çalma listesini indir"},downloadPhotos:{message:"Resimleri
indir"},installFullVersion:{message:"Tam versiyonu kur"},disable:{message:"Devre
dışı"},showOptions:{message:"Ayarlar"},reportBug:{message:"Hata bildir"},openPoll:
{message:"Become better"},disableModule:{message:"Bu web sitesinde devre dışı
bırak"},enableModule:{message:"Bu web sitesinde etkinleştir"},enableDisableModule:
{message:"Bu sitede etkin/devre dışı"},showHideButton:{message:"Eklenti butonunu
göster/gizle"},updateTo:{message:"%d sürümüne güncelle"},aboutPage:
{message:"Hakkında"},aboutTitle:{message:"SaveFrom.net Asistan"},aboutVersion:
{message:"Versiyon"},aboutDescription:{message:"Kullanıcıların, Dailymotion.com,
YouTube.com, VK.com ve diğerleri de dahil olmak üzere 40'dan fazla web sitesinden
dosya indirmek için doğrudan bağlantılar almalarını sağlar."},aboutDescriptionLite:
{message:"Kullanıcıların, Dailymotion.com, VK.com ve diğerleri de dahil olmak üzere
40'dan fazla web sitesinden dosya indirmek için doğrudan bağlantılar almalarını
sağlar."},aboutSupported:{message:"Desteklenen kaynaklar"},homePage:{message:"Ana
Sayfa"},optionsTitle:{message:"SaveFrom.net Asistan -
Tercihler"},optionsHandleLinks:{message:"Linkleri taşı"},optionsMediaHostings:
{message:"Medya paylaşıma"},optionsModules:{message:"Modüller"},optionsYoutube:
{message:"YouTube"},optionsYTHideLinks:{message:"Bağlantıları
gizle"},optionsDailymotion:{message:"Dailymotion"},optionsVimeo:
{message:"Vimeo"},optionsFacebook:{message:"Facebook"},optionsSoundcloud:
{message:"SoundCloud"},optionsVkontakte:{message:"VK"},optionsOdnoklassniki:
{message:"Odnoklassniki"},optionsMailru:{message:"Moy Mir"},optionsInstagram:
{message:"Instagram"},optionsRutube:{message:"Rutube"},optionsTiktok:
{message:"Tiktok"},optionsBitrate:{message:"Bit hızını anlık olarak
göster"},optionsSovetnikEnabled:{message:"Advisor"},optionsShowUmmyInfo:
{message:"UVD için ipuçlarını göster"},optionsGmNativeDownload:{message:"Gelişmiş
indirme modu"},optionsShowUmmyBtn:{message:"Ummy düğmesini
göster"},optionsAviaBarEnabled:{message:"Cheap Flights
Advisor"},optionsSaveAsDialog:{message:"Dosyaların nereye kaydedileceğini her
seferinde sor"},menuDownloadFromCurrentPage:{message:"SaveFrom.net'i kullanarak
geçerli sayfadan dosya indirin"},menuUpdateLinks:{message:"Download düğmesi
görünmüyorsa tıklayın"},menuDownloadMP3Files:{message:"Geçerli sayfada bulunan tüm
ses dosyalarını indirin"},menuDownloadPlaylist:{message:"Ses dosyalarından oluşan
bir çalma listesi oluşturur ve indirir"},menuDownloadPhotos:{message:"Geçerli
sayfada bulunan tüm resimleri indirin"},menuReportBug:{message:"Herhangi bir sorun
olması durumunda bize bildirin"},menuShowOptions:{message:"Desteklenen kaynakları
ve Helper seçeneklerini AÇ/KAPAT"},menuEnableExtension:{message:""},menuOpenPoll:
{message:""},quality:{message:"Kalite"},qualityNote:{message:"Herhangi bir
seçilebilir kalitenin olmaması durumunda mevcut olan en iyi video
indirilecektir."},filelistTitle:{message:"Bulunan dosyalarını
listesi"},filelistInstruction:{message:"['Tüm dosyalarını indirmek için bağlantı
listesini kopyalayın ve
',{a:{href:'http://en.wikipedia.org/wiki/Download_manager',text:'indirme
yöneticisine'}},' yapıştırın. Kurulu bir indirme yöneticiniz yoksa ',{a:
{href:'http://www.freedownloadmanager.org/',text:'Free Download Manager'}},'
yüklemenizi tavsiye ederiz.']"},playlistTitle:{message:"Çalma
Listesi"},playlistInstruction:{message:"Artık kaydedilen çalma listenizi yürütmek
için müzik çalarınızda açabilirsiniz."},ummySfTitle:{message:"HD veya
MP3"},ummyMenuItem:{message:"['Ummy ile ',{span:{}}]"},ummyMenuInfo:{message:"[{p:
{text:'Ummy Video İndirici\\'yi yükleyin ve en sevdiğiniz HD videoları ya da
MP3\\'leri hemen indirin.'}},{p:{class:'center',append:[{a:{class:'green-btn-2
arrow',href:'{url}',target:'_blank',text:'İndir'}}]}},{p:{append:['Kurulumdan sonra
',{img:{src:'#'}},' simgesine tıklayarak dosya indirme işlemini otomatik olarak
başlatabilirsiniz.']}}]"},warningPopupTitle:{message:"Tarayıcı ayarlarını kontrol
edin"},warningPopupDesc:{message:'"Dosyaların nereye kaydedileceğini her seferinde
sor" seçeneği kapalı olmalıdır.'},readMore:{message:"Daha fazla"},noWarning:
{message:"Bildirme"},cancel:{message:"İptal"},continue:
{message:"Devam"},beforeDownloadPopupWarn:{message:"Uyarı! İndirme işlemi iptal
edilemez ya da ertelenemez."},vkInfo:{message:"Bilgi"},vkInfoTitle:{message:"Dosya
boyutu ve bit hızı"},vkMp3LinksNotFound:{message:"MP3 dosyaları için bağlantılar
bulunamıyor"},vkPhotoLinksNotFound:{message:"Fotoğraflar
bulunamadı"},vkDownloadPhotoAlbum:{message:"Albümü
indir"},vkDownloadAllPhotoAlbums:{message:"Tüm albümleri indir"},vkFoundPhotos:
{message:"Bulunan fotoğraflar"},vkNotAvailablePhotos:{message:"%d resim geçici
olarak kullanılamıyor"},vkFoundLinks:{message:"Bulunan bağlantılar"},vkFoundOf:
{message:"den"},vkShowAs:{message:"Olarak göster"},vkListOfLinks:{message:"Bağlantı
listesi"},vkListOfLinksInstruction:{message:"['Tüm fotoğrafları indirmek için
bağlantı listesini kopyalayın ve
',{a:{href:'http://en.wikipedia.org/wiki/Download_manager',text:'indirme
yöneticisine'}},' yapıştırın. Kurulu bir indirme yöneticiniz yoksa ',{a:
{href:'http://www.freedownloadmanager.org/',text:'Free Download Manager'}},'
yüklemenizi tavsiye ederiz.']"},vkTableOfThumbnails:{message:"Küçükk resimler
tablosu"},vkListOfPhotos:{message:"Fotoğraf listesi"},vkListOfPhotosInstruction:
{message:"İndirmek için fotoğrafın üzerine tıklayın."},vkKbps:
{message:"kbps"},vkFileSizeByte:{message:"B"},vkFileSizeKByte:
{message:"kB"},vkFileSizeMByte:{message:"MB"},vkFileSizeGByte:
{message:"GB"},vkFileSizeTByte:{message:"TB"},vkDownloadFromYoutube:
{message:"['İndirme: ',{a:{href:'{url}',text:'video sayfasını'}},' açın ve oynatıcı
üzerindeki \"İndir\" dümesine basın']"},vkFoundFiles:{message:"Bulunan dosyalar:
%d"},shareIn:{message:"%w üzerinden paylaş"},socialDesc:{message:"SaveFrom.net
Helper, sadece bir tıklama ile YouTube.com, Facebook.com, VK.com ve 40'dan fazla
siteden ücretsiz olarak dosya indirmenizi sağlar."},tutorialS1Title:{message:"Size
harika bir haberimiz var!"},tutorialS1Main:{message:"['SaveFrom.net Helper ',{img:
{src: '#logo'}}, ' başarıyla kuruldu. Artık tek bir tıklama ile YouTube\\'dan
istediğiniz videoyu indirebilirsiniz']"},tutorialS1Arrow:{message:"['Nasıl olduğunu
öğrenmek ister misiniz? Buraya tıklayın']"},tutorialS2Main:{message:'Sadece
indirmek istediğiniz
videonun formatını seçin ve "İndir" butonuna tıklayın'},tutorialS3History:
{message:"Geçmiş"},tutorialS3Main:{message:"['Web geçmişinizdeki videoları indirmek
ister misiniz?', {br:{}}, ' Sadece daha önce izlediğiniz bir videonun önizlemesi
üzerindeki ', {img: {src: '#arrow'}}, ' simgesine tıklayın']"},tutorialS4Main:
{message:"['Videoları izlemenize gerek yok — sadece ', {img: {src: '#arrow'}}, '
simgesine tıklayın, kalite değerini seçin ve anında indirin. Oldukça kolay, değil
mi?']"},tutorialS5Title:{message:"Hemen SaveFrom.net Helper'in keyfini çıkarmaya
başlayın!"},tutorialS5Main:{message:"['Hala kafanıza takılan sorular mı var?
Düşüncelerinizi paylaşmak mı istiyorsunuz? ',{a: {text: 'Destek sayfamızı', href:
'#support'}},' ziyaret edin veya ',{a: {text: 'Facebook', href: '#fb'}},'
topluluğumuza katılın']"},tutorialTooltipText:{message:"[{b: {text: 'İndirmek'}}, '
için sadece butona tıklayın']"},ummyTooltipConfirm:{message:"[{img:{}},' Ummy Video
Downloader programını daha önce yüklediniz mi?']"},yes:{message:"Evet"},no:
{message:"Hayır"},tooltipHide:{message:"Bu mesajı tekrar gösterme"}},uk:{extName:
{message:"SaveFrom.net помічник"},extDescription:{message:"Завантажуйте з
«ВКонтакте», YouTube, Facebook і ще 40 сайтів за 1 клік."},extNameLite:
{message:"SaveFrom.net помічник lite"},extDescriptionLite:{message:"Завантажуйте з
«ВКонтакте», YouTube, Facebook і ще 40 сайтів за 1 клік."},lang:
{message:"uk"},titleDefault:{message:"SaveFrom.net помічник"},titleDesabled:
{message:"SaveFrom.net помічник вимкнений"},menuEnable:
{message:"Увімкнути"},menuDisable:{message:"Вимкнути"},showButton:
{message:"Показувати кнопку розширення"},copy:{message:"Копіювати"},download:
{message:"Завантажити"},downloadTitle:{message:"Натисніть на посилання, утримуючи
клавішу Alt чи Ctrl, щоб зберегти файл."},noLinksFound:{message:"Не вдалося знайти
посилання"},more:{message:"Ще"},close:{message:"Закрити"},kbps:{message:"кб/
с"},withoutAudio:{message:"без аудіо"},size:{message:"розмір"},subtitles:
{message:"Субтитри"},playlist:{message:"Плейліст"},filelist:{message:"Список
файлів"},downloadWholePlaylist:{message:"Завантажити весь
плейліст"},getFileSizeTitle:{message:"Визначити розмір
файлу"},getFileSizeFailTitle:{message:"Не вдалося визначити розмір файлу. Спробуйте
ще раз."},lmButtonTitle:{message:"Отримай пряме
посилання"},downloadFromCurrentPage:{message:"Перейти на
SaveFrom.net"},updateLinks:{message:"Відновити посилання"},updateLinksNotification:
{message:"Посилання оновлені"},downloadMP3Files:{message:"Скачати аудіо
файли"},downloadPlaylist:{message:"Скачати плейлист"},downloadPhotos:
{message:"Скачати фотографії"},installFullVersion:{message:"Встановити повну
версію"},disable:{message:"Вимкнути"},showOptions:
{message:"Налаштування"},reportBug:{message:"Повідомити про помилку"},openPoll:
{message:"Стати краще"},disableModule:{message:"Вимкнути на цьому
сайті"},enableModule:{message:"Увімкнути на цьому сайті"},enableDisableModule:
{message:"Вкл./вимк. на цьому сайті"},showHideButton:{message:"Показ./скр. кнопку
розширення"},updateTo:{message:"Оновити до %d"},aboutPage:{message:"Про
розширення"},aboutTitle:{message:"SaveFrom.net помічник"},aboutVersion:
{message:"Версія"},aboutDescription:{message:"Дозволяє отримувати прямі посилання
для завантаження з понад 40 сайтів, серед яких VK.com, YouTube.com та
інші."},aboutDescriptionLite:{message:"Дозволяє отримувати прямі посилання для
завантаження з понад 40 сайтів, серед яких VK.com та інші."},aboutSupported:
{message:"Ресурси, які підтримуються"},homePage:{message:"Домашня
сторінка"},optionsTitle:{message:"SaveFrom.net помічник -
Налаштування"},optionsHandleLinks:{message:"Обробляти
посилання"},optionsMediaHostings:{message:"На медіахостинги"},optionsModules:
{message:"Модулі"},optionsYoutube:{message:"YouTube"},optionsYTHideLinks:
{message:"Сховати посилання"},optionsDailymotion:
{message:"Dailymotion"},optionsVimeo:{message:"Vimeo"},optionsFacebook:
{message:"Facebook"},optionsSoundcloud:{message:"SoundCloud"},optionsVkontakte:
{message:"ВКонтакте"},optionsOdnoklassniki:{message:"Одноклассники"},optionsMailru:
{message:"Мой мир"},optionsInstagram:{message:"Instagram"},optionsRutube:
{message:"Rutube"},optionsTiktok:{message:"Tiktok"},optionsBitrate:
{message:"Показувати бітрейт одразу"},optionsSovetnikEnabled:
{message:"Порадник"},optionsShowUmmyInfo:{message:"Показувати підказки для Ummy
Video Downloader"},optionsGmNativeDownload:{message:"Розширений режим
закачування"},optionsShowUmmyBtn:{message:"Відображати кнопку
Ummy"},optionsAviaBarEnabled:{message:"Cheap Flights Advisor"},optionsSaveAsDialog:
{message:"Завжди запитувати де зберегти файли"},menuDownloadFromCurrentPage:
{message:"Завантажити файли з поточної сторінки за допомогою сервісу
SaveFrom.net"},menuUpdateLinks:{message:"Натисніть, якщо посилання для скачування
не з'являється"},menuDownloadMP3Files:{message:"Завантажити всі знайдені на
сторінці аудіофайли"},menuDownloadPlaylist:{message:"Формує та завантажує плейлист
з посиланнями на аудіофайли"},menuDownloadPhotos:{message:"Завантажити всі знайдені
на сторінці фотографії"},menuReportBug:{message:"Дайте нам знати, якщо виникли
проблеми"},menuShowOptions:{message:"Вкл. / Вимк. підтримувані ресурси і можливості
помічника"},menuEnableExtension:{message:""},menuOpenPoll:{message:'Будь ласка,
оцініть якість розширення "SaveFrom.net помічник"'},quality:
{message:"Якість"},qualityNote:{message:"Якщо відео в потрібній якості немає,
скачається найкраще з можливого."},filelistTitle:{message:"Список знайдених
файлів"},filelistInstruction:{message:"['Щоб завантажити усі файли, скопіюйте
список посилань і вставте його у
',{a:{href:'http://ru.wikipedia.org/wiki/Менеджер_загрузок',text:'менеджер
завантажень'}},'. Якщо у вас не встановлений менеджер завантажень, рекомендуємо
встановити ',{a:{href:'http://www.westbyte.com/dm/',text:'Download
Master'}},'.']"},playlistTitle:{message:"Плейліст"},playlistInstruction:
{message:"Збережений плейліст можна відкрити у плеєрі для
відтворення."},ummySfTitle:{message:"HD або MP3"},ummyMenuItem:{message:"[{span:
{}},' з домомогою Ummy']"},ummyMenuInfo:{message:"[{p:{text:'Встановіть
безкоштовний Ummy Video Downloader і завантажуйте свої улюблені відео в HD або в
MP3.'}},{p:{class:'center',append:[{a:{class:'green-btn-2
arrow',href:'{url}',target:'_blank',text:'СКАЧАТИ'}}]}},{p:{append:['Після
встановлення при кліці на ',{img:{src:'#'}},' закачка буде починатися
автоматично.']}}]"},warningPopupTitle:{message:"Перевірте налаштування
браузера"},warningPopupDesc:{message:"Вибір папки при скачуванні повинен бути
відключений."},readMore:{message:"Детальніше..."},noWarning:{message:"Не
попереджати"},cancel:{message:"Скасування"},continue:
{message:"Продовжити"},beforeDownloadPopupWarn:{message:"Увага: скасувати або
призупинити завантаження буде неможливо."},vkInfo:
{message:"Параметри"},vkInfoTitle:{message:"Розмір файлу і
бітрейт"},vkMp3LinksNotFound:{message:"Не знайдено посилань на MP3-
файли"},vkPhotoLinksNotFound:{message:"Не знайдено посилань на
фотографії"},vkDownloadPhotoAlbum:{message:"Завантажити
альбом"},vkDownloadAllPhotoAlbums:{message:"Завантажити усі
альбоми"},vkFoundPhotos:{message:"Знайдено фотографій"},vkNotAvailablePhotos:
{message:"%d фото тимчасово недоступно"},vkFoundLinks:{message:"Знайдено
посилань"},vkFoundOf:{message:"з"},vkShowAs:{message:"Показати як"},vkListOfLinks:
{message:"Список посилань"},vkListOfLinksInstruction:{message:"['Щоб завантажити
усі фотографії, скопіюйте список посилань і вставте його у
',{a:{href:'http://ru.wikipedia.org/wiki/Менеджер_загрузок',text:'менеджер
завантажень'}},'. Якщо у вас не встановлений менеджер завантажень, рекомендуємо
встановити ',{a:{href:'http://www.westbyte.com/dm/',text:'Download
Master'}},'.']"},vkTableOfThumbnails:{message:"Таблицю ескізів"},vkListOfPhotos:
{message:"Список фотографій"},vkListOfPhotosInstruction:{message:"Щоб завантажити
фотографію, натисніть на неї лівою кнопкою
миші."},vkKbps:{message:"кб/с"},vkFileSizeByte:{message:"Б"},vkFileSizeKByte:
{message:"кБ"},vkFileSizeMByte:{message:"МБ"},vkFileSizeGByte:
{message:"ГБ"},vkFileSizeTByte:{message:"ТБ"},vkDownloadFromYoutube:
{message:"['Завантажити: відкрийте ',{a:{href:'{url}',text:'сторінку відео-
ролика'}},' і натисніть кнопку \"Завантажити\" над плеєром']"},vkFoundFiles:
{message:"Знайдено файлів: %d"},shareIn:{message:"Поділитися в %w"},socialDesc:
{message:"SaveFrom.net помічник дає вам можливість безкоштовно завантажувати файли
з YouTube.com, Facebook.com, VK.com та більше 40 інших сайтів лише одним
кліком"},tutorialS1Title:{message:"Добрі новини!"},tutorialS1Main:{message:"['У
тебе встановлений SaveFrom.net помічник ',{img: {src: '#logo'}}, ', і тепер ти
можеш завантажити будь-яке відео з YouTube в один клік']"},tutorialS1Arrow:
{message:"['Прагнеш довідатися як?', {br:{}}, 'Натисни тут']"},tutorialS2Main:
{message:'Щоб завантажити відео, оберіть формат і натисни кнопку
"Завантажити"'},tutorialS3History:{message:"Переглянуті"},tutorialS3Main:
{message:"['Хочеш скачати вже переглянуте відео?', {br:{}}, 'Натискай на ', {img:
{src: '#arrow'}}, ' на превью в переглянутих відео']"},tutorialS4Main:
{message:"['Відео не обов\\'язково переглядати —', {br:{}}, 'натискай на ', {img:
{src: '#arrow'}}, ', обирай формат і скачуй. Це зручно!']"},tutorialS5Title:
{message:"Приємної роботи!"},tutorialS5Main:{message:"['Залишилися питання? Є
пропозиції? Загляньте на ',{a: {text: 'сторінку підтримки', href: '#support'}},'
або вступайте до нашої ', {a: {text: 'ВК-спільноти', href:
'#vk'}}]"},tutorialTooltipText:{message:"['Щоб ',{b: {text: 'скачати'}},', просто
клікніть по кнопці']"},ummyTooltipConfirm:{message:"['Ви вже встановили',{br:{}},
{img:{}},' Ummy Video Downloader?']"},yes:{message:"Так"},no:
{message:"Ні"},tooltipHide:{message:"Більше не показувати це
повідомлення"}}},e}return Object(s.a)(n,[{key:"getLocale",value:function(){var
e=v(),t=y(e.join(","),Object.keys(this.localeMap)),n=this.localeMap[this.defaultLoc
ale];return
t&&(n=Object.assign({},n,this.localeMap[t[0]])),n}}]),n}(e)},k=n(10);function
w(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator])
{if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return
x(e,t);var n=Object.prototype.toString.call(e).slice(8,-
1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)retu
rn Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?
Array$/.test(n))return x(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var
r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!
1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt
to iterate non-iterable instance.\nIn order to be iterable, non-array objects must
have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function()
{n=e[Symbol.iterator]()},n:function(){var e=n.next();return
a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||
n.return()}finally{if(s)throw i}}}}function x(e,t){(null==t||
t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return
r}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var
r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return
Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return
n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?
arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){Object(i.a)
(e,t,n[t])})):Object.getOwnPropertyDescriptors?
Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach
((function(t)
{Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return
e}function C(e){var t=function(){if("undefined"==typeof Reflect||!
Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof
Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var I=Object(k.default)
("mono:router"),O=function(e){Object(c.a)(u,e);var t=C(u);function u(){var e;return
Object(a.a)(this,u),
(e=t.call(this)).monoInstances=[],e.contentScripts=[{matches:"^(?:https?|file|
ftp)://[^\\/]*\\.vimeo\\.com/.*$|^(?:https?|file|ftp)://
vimeo\\.com/.*$",run_at:"document_end",all_frames:!0,js:[0,1]},
{matches:"^(?:https?|file|ftp)://[^\\/]*/.*$",include_globs:"^http://dailymotion\\.
[^\\/]*/.*$|^http://[^\\/]*\\.dailymotion\\.[^\\/]*/.*$|^https://dailymotion\\.
[^\\/]*/.*$|^https://[^\\/]*\\.dailymotion\\.
[^\\/]*/.*$",run_at:"document_end",all_frames:!0,js:[0,2]},{matches:"^(?:https?|
file|ftp)://[^\\/]*\\.youtube\\.com/.*$|^(?:https?|file|ftp)://
youtube\\.com/.*$",run_at:"document_end",all_frames:!0,js:[0,3]},
{matches:"^(?:https?|file|ftp)://[^\\/]*\\.soundcloud\\.com/.*$|^(?:https?|file|
ftp)://soundcloud\\.com/.*$",run_at:"document_end",js:[0,4]},{matches:"^(?:https?|
file|ftp)://[^\\/]*\\.vk\\.com/.*$|^(?:https?|file|ftp)://vk\\.com/.*$|^(?:https?|
file|ftp)://[^\\/]*\\.vkontakte\\.ru/.*$|^(?:https?|file|ftp)://
vkontakte\\.ru/.*$",run_at:"document_end",all_frames:!0,js:[0,5]},
{matches:"^(?:https?|file|ftp)://[^\\/]*\\.ok\\.ru/.*$|^(?:https?|file|ftp)://
ok\\.ru/.*$|^(?:https?|file|ftp)://[^\\/]*\\.odnoklassniki\\.ru/.*$|^(?:https?|
file|ftp)://odnoklassniki\\.ru/.*$",run_at:"document_end",js:[0,6]},
{matches:"^(?:https?|file|ftp)://my\\.mail\\.ru/.*$",run_at:"document_end",js:
[0,7]},{matches:"^(?:https?|file|ftp)://[^\\/]*\\.facebook\\.com/.*$|^(?:https?|
file|ftp)://facebook\\.com/.*$",run_at:"document_end",js:[0,8]},
{matches:"^(?:https?|file|ftp)://[^\\/]*\\.savefrom\\.net/.*$|^(?:https?|file|
ftp)://savefrom\\.net/.*$",run_at:"document_end",js:[0,9]},{matches:"^(?:https?|
file|ftp)://[^\\/]*\\.instagram\\.com/.*$|^(?:https?|file|ftp)://
instagram\\.com/.*$",run_at:"document_end",all_frames:!0,js:[0,10]},
{matches:"^(?:https?|file|ftp)://[^\\/]*\\.rutube\\.ru/.*$|^(?:https?|file|ftp)://
rutube\\.ru/.*$",run_at:"document_end",all_frames:!0,js:[0,11]},
{matches:"^(?:https?|file|ftp)://[^\\/]*\\.tiktok\\.com/.*$|^(?:https?|file|
ftp)://tiktok\\.com/.*$",run_at:"document_end",all_frames:!0,js:[0,12]},
{matches:"^(?:https?|file|ftp)://music\\.yandex\\.ru/.*$|^(?:https?|file|ftp)://
music\\.yandex\\.by/.*$",run_at:"document_end",all_frames:!0,js:[0,13]},
{matches:"^(?:https?|file|ftp)://[^\\/]*\\.twitch\\.tv/.*$|^(?:https?|file|ftp)://
twitch\\.tv/.*$",run_at:"document_end",all_frames:!0,js:[0,14]},
{matches:"^(?:https?|file|ftp)://
matchtv\\.ru/.*$",run_at:"document_end",all_frames:!0,js:[0,15]},
{matches:"^(?:https?|file|ftp)://[^\\/]*/.*$",run_at:"document_end",js:
[16]}],e.contentScriptMap={"includes/commons.js":0,"includes/
vimeo_com.js":1,"includes/dailymotion_com.js":2,"includes/
youtube_com.js":3,"includes/soundcloud_com.js":4,"includes/
vkontakte_ru.js":5,"includes/odnoklassniki_ru.js":6,"includes/
mail_ru.js":7,"includes/facebook_com.js":8,"includes/savefrom_net.js":9,"includes/
instagram_com.js":10,"includes/rutube_ru.js":11,"includes/
tiktok_com.js":12,"includes/yandex_music.js":13,"includes/
twitch_tv.js":14,"includes/match_tv.js":15,"includes/tab.js":16,"includes/
aviaBar.js":17,"includes/link_modifier.js":18,"includes/
migrateTM.js":19},e.contentScriptIndex=[function(e){!
window.savefromContentScriptWebpackJsonp&&(window.savefromContentScriptWebpackJsonp
=window.savefromContentScriptWebpackJsonp||[]).push([[0],[function(t,n,r){var
o=e;n.a=o},function(e,t){e.exports=n(19)},function(e,t)
{e.exports=n(22)},function(e,t){e.exports=n(14)},function(e,t)
{e.exports=n(5)},function(e,t){e.exports=n(28)},function(e,t)
{e.exports=n(79)},function(e,t){e.exports=n(48)},function(e,t,n){n.d(t,"b",
(function(){return a}));var r=n(0),o=[],i=function(e,t,n){return
Promise.resolve().then((function(){return!n||n()})).then((function(n){n&&(-
1===o.indexOf(e)&&o.push(e),t())}))},a=function(e,t,n){return i(e,(function()
{return r.a.callFn("getPreferences").then((function(n){t(e,
{preferences:n})}))}),n)};t.a=i},function(e,t){e.exports=n(10)},function(e,t)
{e.exports=n(49)},function(e,t){e.exports=n(81)},function(e,t,n){var
o=n(0),i=n(67),u=n.n(i),l=n(68),c=n.n(l),d=n(7),f=n.n(d),p=n(15),m=n.n(p),h=n(11),v
=n.n(h),b=n(42),y=n.n(b),A=n(2),k=n.n(A),w=n(69),x=n.n(w),_=n(1),S=n.n(_),C=n(34),I
=n.n(C),O=n(5),M=n.n(O),L=n(16),E=n(9),P=n.n(E),j=n(46),T=n(26),D=n.n(T),N=n(43),F=
n.n(N),B=n(4),R=n(41),q=n(21),z=n.n(q),U=n(3),V=n.n(U),H=n(25),W=n.n(H),G=n(77),Q=n
.n(G),Y=n(58),J=n(24),K=n.n(J),Z=n(39),X=n.n(Z),$=P()("queueMuxer"),ee=new
X.a("Queue destroyed","DESTROYED"),te=function(){function e(t,n){Object(a.a)
(this,e),this.onStartTask=function(e){},this.onStatus=function(e,t)
{},this.onProgress=function(e,t){},this.onProgressStatus=function(e)
{},this.onError=function(e)
{},this.container=t,this.tasks=Object.assign([],n),this._mediaMuxer=null,this.destr
oyed=!1}return Object(s.a)(e,[{key:"start",value:function(){var
e,t=this,n=this.tasks.shift();if(n&&!
this.destroyed)return(e=this._runTask(n)).then.apply(e,Object(r.a)(K()((function()
{return t.start()}))));if(this.destroyed)for(var o=0;o<=this.tasks.length;o+
+)this.onError(ee);return $.log("queue finished"),Promise.resolve()}},
{key:"destroy",value:function(){this.destroyed=!0,$.log("queue
destroy"),this._muxerDestroy(),this.tasks=[]}},
{key:"_muxerDestroy",value:function(){this.destroyed||
(this._mediaMuxer&&this._mediaMuxer.destroy(),this._mediaMuxer=null)}},
{key:"_runTask",value:function(e){var t,n=this;return $.log("run task:
",e),this.onStartTask(e),this._mediaMuxer=new
Y.a(this.container),this._mediaMuxer.onStatus=this.onStatus,this._mediaMuxer.onProg
ress=this.onProgress,this._mediaMuxer.onProgressStatus=this.onProgressStatus,
(t=this._mediaMuxer.init().then((function(){if(n.destroyed)throw
ee;return"hls"===e.format?
n._mediaMuxer.hlsToMp3(e.sources,e.filename):n._mediaMuxer.join(e.sources,e.filenam
e)})).then((function(){if(n.destroyed)throw ee;return
n._mediaMuxer.download()}))).then.apply(t,Object(r.a)(K()((function()
{n._muxerDestroy(),$.log("mediaMuxer destroy: ",e)})))).catch((function(e)
{$.error("Download error: ",e),n.onError(e)}))}}]),e}(),ne=P()
("ConverterPopup"),re=V.a.memo((function(e){var
t=e.files,n=e.onDone,i=V.a.useRef(),a=W()(Q.a),s=V.a.useState(0),u=Object(g.a)
(s,2),l=u[0],c=u[1],d=V.a.useState(0),f=Object(g.a)
(d,2),p=f[0],m=f[1],h=V.a.useState(0),v=Object(g.a)
(h,2),b=v[0],y=v[1],A=V.a.useState("Prepare"),k=Object(g.a)
(A,2),w=k[0],x=k[1],_=V.a.useState(null),S=Object(g.a)
(_,2),C=S[0],I=S[1],O=V.a.useState(!1),M=Object(g.a)(O,2),L=M[0],E=M[1];return
V.a.useEffect((function(){var e,o=!0,a=new te(i.current,t);return
a.onStartTask=function(e){o&&(y(0),x("Prepare"),I(e),c((function(e){return+
+e})))},a.onProgress=function(e){o&&y(Math.trunc(100*e))},a.onError=function(e)
{ne.error("item download error: ",e),o&&m((function(e){return+
+e}))},a.onProgressStatus=function(e){o&&x(e)},
(e=a.start()).then.apply(e,Object(r.a)(K()((function(){o&&(E(!
0),n&&n())})))).catch((function(e){ne.error("queue error: ",e)})),function(){o=!
1,a.destroy()}}),[]),V.a.createElement("div",{ref:i},C&&!
L&&V.a.createElement("div",null,V.a.createElement("div",
{className:a.information},o.a.i18n.getMessage("someFilesNeedConverted")),V.a.create
Element("div",{className:a.filesCount},o.a.i18n.getMessage("files"),": (",l," /
",t.length,")"),V.a.createElement(oe,
{styles:a,title:C.filename,status:w,progress:b})),L&&V.a.createElement("div",null,V
.a.createElement("div",
{className:a.information},o.a.i18n.getMessage("conversionCompleted")),V.a.createEle
ment("div",null,o.a.i18n.getMessage("success"),": ",t.length-p,".
",o.a.i18n.getMessage("errors"),": ",p,".")))})),oe=V.a.memo((function(e){var
t=e.styles,n=e.title,r=e.status,o={width:e.progress+"%"};return
V.a.createElement("div",{className:t.progress},V.a.createElement("div",
{className:t.line,style:o}),V.a.createElement("div",
{className:t.text},V.a.createElement("div",{className:t
.filename},n),V.a.createElement("div",null,r)))})),ie=re,ae=n(40),se=P()
("components"),ue=null,le={downloadParam:"sfh--download",setStyle:function(e,t)
{if(e&&t)for(var n in t)e.style[n]=t[n]},getStyle:function(e,t){return
e&&window.getComputedStyle&&window.getComputedStyle(e,null).getPropertyValue(t)},ad
dStyleRules:function(e,t,n){var r=n?document.querySelector("#savefrom-
styles."+n):document.getElementById("savefrom-styles");if(!r)
{(r=document.createElement("style")).id="savefrom-styles",n&&r.classList.add(n);var
o=document.querySelector("head style");o?
o.parentNode.insertBefore(r,o):document.querySelector("head").appendChild(r)}if("ob
ject"==typeof t){var i=[];for(var a in
t)i.push(a+":"+t[a]);t=i.join(";")}r.textContent+=e+"{"+t+"}"},getPosition:function
(e,t){var n=e.getBoundingClientRect();if(t){var
r=t.getBoundingClientRect();return{top:Math.round(n.top-
r.top),left:Math.round(n.left-
r.left),width:n.width,height:n.height}}return{top:Math.round(n.top+window.pageYOffs
et),left:Math.round(n.left+window.pageXOffset),width:n.width,height:n.height}},getS
ize:function(e)
{return{width:e.offsetWidth,height:e.offsetHeight}},getMatchFirst:function(e,t){var
n=e.match(t);return n&&n.length>1?n[1]:""},getElementByIds:function(e){for(var
t=0;t<e.length;t++){var n=document.getElementById(e[t]);if(n)return n}return
null},getParentByClass:function(e,t){if(!e||""==t)return!1;var
n;if("object"==typeof t&&t.length>0)for(n=e;n;n=n.parentNode){if(1!
==n.nodeType)return null;for(var r=0;r<t.length;r+
+)if(n.classList.contains(t[r]))return n}else for(n=e;n;n=n.parentNode){if(1!
==n.nodeType)return null;if(n.classList.contains(t))return n}return
null},getParentByTagName:function(e,t){if(!e||!t)return!1;for(var
n=e;n;n=n.parentNode){if(1!==n.nodeType)return null;if(n.tagName===t)return
n}return null},getParentById:function(e,t){for(var n=e;n;n=n.parentNode){if(1!
==n.nodeType)return null;if(n.id===t)return n}return
null},hasChildrenTagName:function(e,t){for(var n,r=0;n=e.childNodes[r];r+
+)if(1===n.nodeType&&n.tagName===t)return!0;return!1},isParent:function(e,t)
{return!(!t||-
1===[1,9,11].indexOf(t.nodeType))&&t.contains(e)},emptyNode:function(e)
{for(;e.firstChild;)e.removeChild(e.firstChild)},download:function(e,t,n,r){if(!
t)return!1;if(!(e=e||this.getFileName(t)))return!1;if(!
ue.preferences.downloads)return!1;var i=n||{};return
i.url=t,i.filename=e.trim(),r=r||void
0,o.a.sendMessage({action:"downloadFile",options:i},r),!0},downloadList:
{showDownloadWarningPopup:function(e,t){var
n=le.playlist.getInfoPopupTemplate();o.a.sendMessage({action:"getWarningIcon",type:
t},(function(e)
{n.icon.style.backgroundImage="url("+e+")"})),S.a.create(n.textContainer,{append:
[S.a.create("p",{text:o.a.i18n.getMessage("warningPopupTitle"),style:
{color:"#0D0D0D",fontSize:"20px",marginBottom:"11px",marginTop:"13px"}}),S.a.create
("p",{text:o.a.i18n.getMessage("warningPopupDesc")+" ",style:
{color:"#868686",fontSize:"14px",marginBottom:"13px",lineHeight:"24px",marginTop:"0
px"},append:S.a.create("a",
{href:"ru"===o.a.i18n.getMessage("lang")||"uk"===o.a.i18n.getMessage("lang")?"http:
//vk.com/page-55689929_49003549":"http://vk.com/page-
55689929_49004259",text:o.a.i18n.getMessage("readMore"),target:"_blank",style:
{color:"#4A90E2"}})}),S.a.create("p",{style:{marginBottom:"13px"},append:
[S.a.create("label",{style:
{color:"#868686",cursor:"pointer",fontSize:"14px",lineHeight:"19px"},append:
[S.a.create("input",{type:"checkbox",style:{cssFloat:"left",marginLeft:"0px"},on:
["click",function(){o.a.sendMessage({action:"hideDownloadWarning",set:this.checked?
1:0})}]}),o.a.i18n.getMessage("noWarning")]})]})]});var r=void 0,i=void
0;S.a.create(n.buttonContainer,{append:[r=S.a.create("button",
{text:o.a.i18n.getMessage("cancel"),style:
{height:"27px",width:"118px",backgroundColor:"#ffffff",border:"1px solid
#9e9e9e",margin:"12px",marginBottom:"11px",marginRight:"4px",borderRadius:"5px",fon
tSize:"14px",cursor:"pointer"}}),i=S.a.create("button",
{text:o.a.i18n.getMessage("continue"),style:
{height:"27px",width:"118px",backgroundColor:"#ffffff",border:"1px solid
#9e9e9e",margin:"12px",marginBottom:"11px",marginRight:"8px",borderRadius:"5px",fon
tSize:"14px",cursor:"pointer"}})]}),r.addEventListener("click",(function(e){var
t=n.body.parentNode;k.a.trigger(t.lastChild,"click")})),i.addEventListener("click",
(function(t)
{t.preventDefault(),t.stopPropagation(),e(),k.a.trigger(r,"click")})),le.popupDiv(n
.body,"dl_warning_box_popup")},startChromeDownloadList:function(e){var
t=e.folderName,n=e.list;return
t&&(t+="/"),o.a.sendMessage({action:"downloadList",fileList:n,folder:t})},startOldC
hromeDownloadList:function(e,t){var
n=e.folderName,r=e.list,i=e.type;n&&(n+="/");var a=0,s=!
1,u=500,l=document.body;l.focus(),t||(l.onblur=function(){s=!0});!function e(){var
t=r[a];if(a++,void 0!==t)if(ue.preferences.downloads?
le.download(n+t.filename,t.url):k.a.trigger(S.a.create("a",
{download:t.filename,href:t.url,on:["click",function(e)
{le.downloadOnClick(e)}]}),"click",{cancelable:!0,altKey:!
0}),s)le.downloadList.showDownloadWarningPopup((function(){s=!
1,l.focus(),e()}),i);else{if(a>5&&u&&(u=void 0,l.onblur=void 0,s=!
1,ue.preferences.downloads))return void
o.a.sendMessage({action:"downloadList",fileList:r.slice(a),folder:n});setTimeout((f
unction(){e()}),u)}}()},startDownload:function(e){e.list.forEach((function(e)
{e.filename=M.a.modify(e.filename)})),e.folderName=M.a.modify(e.folderName);var
t=ue.preferences.sortDownloads;if(t&&t.isEnabled){var
n=e.list[0].filename,r=n.slice(n.lastIndexOf(".")+1),i=t.groups.find((function(e)
{return e.formats.some((function(e){return-1!
==e.indexOf(r)}))}));i&&i.dir&&(e.folderName="".concat(M.a.modify(i.dir),"/").conca
t(e.folderName))}return o.a.isGM&&"undefined"!=typeof GM_download||
o.a.isChrome&&ue.preferences.downloads||o.a.isFirefox?
le.downloadList.startChromeDownloadList(e):o.a.isSafari?
o.a.sendMessage({action:"hideDownloadWarning"},(function(t)
{le.downloadList.startOldChromeDownloadList(e,t)})):void
0},showBeforeDownloadPopup:function(e,t){t&&!
t.count&&(t.count=e.length),t.list=e.filter((function(e){return!
e.useConverter})),t.listConverter=e.filter((function(e){return
e.useConverter}));var n=t.type,r=t.folderName,i=t.onContinue||
le.downloadList.startDownload,a=t.onShowList||le.playlist.popupFilelist,s=t.count||
e.length,u=le.playlist.getInfoPopupTemplate();o.a.sendMessage({action:"getWarningIc
on",color:"#00CCFF",type:n},(function(e)
{u.icon.style.backgroundImage="url("+e+")"}));var l=[];a&&(l=[" (",S.a.create("a",
{href:"#",text:o.a.i18n.getMessage("vkListOfLinks").toLowerCase()}),")"])
[1].addEventListener("click",(function(e)
{e.preventDefault(),e.stopPropagation(),a(t.list),k.a.trigger(d,"click")})),S.a.cre
ate(u.textContainer,{append:[S.a.create("p",{text:r||
o.a.i18n.getMessage("playlistTitle"),style:
{color:"#0D0D0D",fontSize:"20px",marginBottom:"11px",marginTop:"13px"}}),S.a.create
("p",{text:o.a.i18n.getMessage("vkFoundFiles").replace("%d",s),style:
{color:"#868686",fontSize:"14px",marginBottom:"13px",lineHeight:"24px",marginTop:"0
px"},append:l}),S.a.create("p",
{text:o.a.i18n.getMessage("beforeDownloadPopupWarn"),style:
{color:"#868686",fontSize:"14px",marginBottom:"13px",lineHeight:"24px",marginTop:"0
px"}})]});var c,d=void 0,f=void 0;S.a.create(u.buttonContainer,{append:
[d=S.a.create("button",{text:o.a.i18n.getMessage("cancel"),style:
{height:"27px",width:"118px",backgroundColor:"#ffffff",border:"1px solid
#9e9e9e",margin:"12px",marginBottom:"11px",marginRight:"4px",borderRadius:"5px",fon
tSize:"14px",cursor:"pointer"}}),f=S.a.create("button",
{text:o.a.i18n.getMessage("continue"),style:
{height:"27px",width:"118px",backgroundColor:"#ffffff",border:"1px solid
#9e9e9e",margin:"12px",marginBottom:"11px",marginRight:"8px",borderRadius:"5px",fon
tSize:"14px",cursor:"pointer"}})]}),d.addEventListener("click",(function(e){var
t=u.body.parentNode;k.a.trigger(t.lastChild,"click")})),f.addEventListener("click",
(function(e){e.preventDefault(),e.stopPropagation(),i(t),t.listConverter.length?
(c=z()(Object(B.createElement)(ie,{files:t.listConverter,onDone:function()
{d.textContent=o.a.i18n.getMessage("close"),f.style.display="none",u.buttonContaine
r.style.display="block"}}),u.textContainer),u.buttonContainer.style.display="none")
:k.a.trigger(d,"click")})),le.popupDiv(u.body,"dl_confirm_box_popup",void 0,void 0,
(function(){c&&c()}),{docCloseEnable:!
t.listConverter.length})}},downloadLink:function(e,t){if(!e.href)return!1;var
n=e.getAttribute("download");return
this.download(n,e.href,null,t)},safariDlLink:function(e){if(!(e.button||e.ctrlKey||
e.altKey||e.shitfKey)){var t=null;try{if("function"!=typeof
MouseEvent)throw"legacy";t=new MouseEvent("click",{bubbles:!
0,cancelable:e.cancelable,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,cli
entY:e.clientY,ctrlKey:!1,altKey:!0,shiftKey:!
1,metaKey:e.metaKey,button:e.button,relatedTarget:e.relatedTarget})}catch(n)
{t=function(e){var t=document.createEvent("MouseEvents");return
t.initMouseEvent("click",!
0,e.cancelable,window,0,e.screenX,e.screenY,e.clientX,e.clientY,!1,!0,!
1,e.metaKey,e.button,e.relatedTarget),t}
(e)}e.preventDefault(),e.stopPropagation(),this.dispatchEvent(t)}},downloadOnClick:
function(e,t,n){var r=le,i=(n=n||{}).el||e.target;if("A"!==i.tagName&&(i=v()
(i,"A")),i){var a=o.a.isGM&&navigator.userAgent.includes("Safari")&&!
navigator.userAgent.includes("Chrome"),s=!(!o.a.isGM||"undefined"==typeof
GM_info||"Tampermonkey"!==GM_info.scriptHandler||
ue.preferences.downloads);if(o.a.isSafari||a||s){if(!e.altKey&&!e.ctrlKey)return
e.preventDefault(),void Object(j.showTooltip)(i,
{content:o.a.i18n.getMessage("downloadTitle"),defaultWidth:400,defaultHeight:60});O
bject(j.hideTooltip)(i)}if(o.a.isSafari)return
r.safariDlLink.call(i,e);ue.preferences.downloads&&((o.a.isFirefox||o.a.isGM)&&/
^blob:|^data:/.test(i.href)||2!
==e.button&&(e.preventDefault(),e.stopPropagation(),r.downloadLink(i,t)))}},getQuer
yString:function(e,t,n){if(!e||"object"!=typeof e)return"";void
0===t&&(t=""),void 0===n&&(n="");var r="";for(var o in
e)r.length&&(r+="&"),e[o]instanceof Object?(t||(t=""),n||
(n=""),r+=le.getQueryString(e[o],t+o+"[","]"+n)):r+=t+escape(o)
+n+"="+escape(e[o]);return r},decodeUnicodeEscapeSequence:function(e){return
e.replace(/\\u([0-9a-f]{4})/g,(function(e,t){if(t=parseInt(t,16),!isNaN(t))return
String.fromCharCode(t)}))},getFileExtension:function(e,t){var
n=this.getMatchFirst(e,/\.([a-z0-9]{3,4})(\?|$)/i);return n?
n.toLowerCase():t||""},getFileName:function(e){var t=this.getMatchFirst(e,/\/([^\?
#\/]+\.[a-z\d]{2,6})(?:\?|#|$)/i);return t?
M.a.modify(t):t},getTopLevelDomain:function(e){if(!e)return"";if(!e.match(/^([a-zA-
Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6}/))return e;var
t=e.split("."),n=t.length;return 2==n?e:t[n-2]+"."+t[n-1]},dateToObj:function(e,t)
{var n=null==e?new Date:new Date(e);void 0===t&&(t=!0);var
r={year:n.getFullYear(),month:n.getMonth()
+1,day:n.getDate(),hour:n.getHours(),min:n.getMinutes(),sec:n.getSeconds()};if(t)fo
r(var o in r)1==r[o].toString().length&&(r[o]="0"+r[o]);return
r},utf8Encode:function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n+
+){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?
(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):
(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|
128),t+=String.fromCharCode(63&r|128))}return t},sizeHuman:function(e,t){null!
=t&&null!=t||(t=2);var
n=e,r=0,i="",a=[o.a.i18n.getMessage("vkFileSizeByte"),o.a.i18n.getMessage("vkFileSi
zeKByte"),o.a.i18n.getMessage("vkFileSizeMByte"),o.a.i18n.getMessage("vkFileSizeGBy
te"),o.a.i18n.getMessage("vkFileSizeTByte")];for(n<0&&(i="-",n=Math.abs(n));n>=1e3;
)r++,n/=1024;if(t>=0){var s=10*t;n=Math.round(n*s)/s}return r<a.length?i+n+"
"+a[r]:e},secondsToDuration:function(e){if(!e||isNaN(e))return"";function t(e)
{return e<10?"0"+e:e.toString()}var n=Math.floor(e/3600);e%=3600;var
r=Math.floor(e/60);return e%=60,n>0?n+":"+t(r)+":"+t(e):r+":"+t(e)},svg:{icon:
{download:"M 4,0 4,8 0,8 8,16 16,8 12,8 12,0 4,0 z",info:"M 8,1.55 C 11.6,1.55
14.4,4.44 14.4,8 14.4,11.6 11.6,14.4 8,14.4 4.44,14.4 1.55,11.6 1.55,8 1.55,4.44
4.44,1.55 8,1.55 M 8,0 C 3.58,0 0,3.58 0,8 0,12.4 3.58,16 8,16 12.4,16 16,12.4 16,8
16,3.58 12.4,0 8,0 L 8,0 z M 9.16,12.3 H 6.92 V 7.01 H 9.16 V 12.3 z M 8.04,5.91 C
7.36,5.91 6.81,5.36 6.81,4.68 6.81,4 7.36,3.45 8.04,3.45 8.72,3.45 9.27,4 9.27,4.68
9.27,5.36 8.72,5.91 8.04,5.91 z",noSound:"M 11.4,5.05 13,6.65 14.6,5.05 16,6.35
14.4,7.95 16,9.55 14.6,11 13,9.35 11.4,11 10,9.55 11.6,7.95 10,6.35 z M 8,1.75
8,14.3 4,10.5 l -4,0 0,-4.75 4,0 z"},cache:{},getSrc:function(e,t){return
this.icon[e]?(this.cache[e]||(this.cache[e]={}),this.cache[e][t]||(this.cache[e]
[t]=btoa('<?xml version="1.0" encoding="UTF-8"?><svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-
rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" version="1.1" width="16" height="16" viewBox="0
0 16 16" id="svg2" xml:space="preserve"><path d="'+this.icon[e]+'" fill="'+t+'"
/></svg>')),this.cache[e][t]?"data:image/svg+xml;base64,"+this.cache[e]
[t]:""):""},getSvg:function(e,t,n,r){var
o=document.createElementNS("http://www.w3.org/2000/svg","svg"),i=o.namespaceURI;o.s
etAttribute("width",n||"16"),o.setAttribute("height",r||
n||"16"),o.setAttribute("viewBox","0 0 16 16");var
a=document.createElementNS(i,"path");return
o.appendChild(a),a.setAttribute("d",this.icon[e]),t&&a.setAttribute("fill",t),o}},a
ppendDownloadInfo:function(e,t,n,r){t||(t="#a0a0a0");var
i=document.createElement("span");i.appendChild(document.createTextNode(o.a.i18n.get
Message("downloadTitle"))),this.setStyle(i,{display:"inline-
block",position:"relative",border:"1px solid
"+t,borderRadius:"5px",fontSize:"13px",lineHeight:"17px",padding:"2px 19px 2px
5px",marginTop:"5px",opacity:.9}),n&&this.setStyle(i,n);var
a=document.createElement("span");a.textContent=String.fromCharCode(215),this.setSty
le(a,
{color:t,width:"14px",height:"14px",fontSize:"14px",fontWeight:"bold",lineHeight:"1
4px",position:"absolute",top:0,right:0,overflow:"hidden",cursor:"pointer"}),r&&this
.setStyle(a,r),a.addEventListener("click",(function()
{i.parentNode.removeChild(i),o.a.sendMessage({action:"updateOption",key:"moduleShow
DownloadInfo",value:0})}),!
1),i.appendChild(a),e.appendChild(i)},getFileSizeIcon:function(e,t,n,r){var
i=this;r=r||{},e=e||{},t=t||{},n=n||{};var a=function(e){return S.a.create("div",
{style:t,append:[S.a.create(le.svg.getSvg("info",e),
{style:n})]})},s=S.a.create("div",{style:e,append:[S.a.create(a("#333333"),
{title:o.a.i18n.getMessage("getFileSizeTitle"),on:["click",function e(t)
{t.stopPropagation(),t.preventDefault(),s.textContent="...";var n=r.url;n||
(n=r.link&&r.link.href),Object(L.a)({action:"getFileSize",url:n}).then((function(e)
{if(e.error||!e.fileSize)throw new Error(JSON.stringify(e));var
t=e.fileType||"",n=i.sizeHuman(e.fileSize,2),a="";if(r.link&&/^audio\//i.test(t))
{var
u=parseInt(r.link.dataset.savefromHelperDuration);u>0&&(a+=Math.floor(e.fileSize/
u/125),a+=" "+o.a.i18n.getMessage("kbps"))}var l="";l+=a?n+" ~
"+a:n,r.brackets&&(l="("+l+")"),s.textContent=l,s.title=t})).catch((function(t){var
n;se.error(t),"ZERO"===t.message?
(n=a("#ffac00")).title=o.a.i18n.getMessage("getFileSizeTitle"):
(n=a("#ff0000")).title=o.a.i18n.getMessage("getFileSizeFailTitle"),n.addEventListen
er("click",e),s.textContent="",s.appendChild(n)}))}]})]});return{node:s}},appendFil
eSizeIcon:function(e,t,n,r,i,a){t=t||{},n=n||{};var s="#333333";"0"===r?
s="#ffac00":r?s="#ff0000":t.color&&(s=t.color);var
u={width:"14px",height:"14px",marginLeft:"3px",verticalAlign:"middle",position:"rel
ative",top:"-1px",cursor:"pointer"};Object.assign(u,t);var
l={fontSize:"75%",fontWeight:"normal",marginLeft:"3px",whiteSpace:"nowrap"};Object.
assign(l,n);var c=S.a.create("img",{src:le.svg.getSrc("info",s),title:r?
o.a.i18n.getMessage("getFileSizeFailTitle"):o.a.i18n.getMessage("getFileSizeTitle")
,style:u}),d=this;return a?a.appendChild(c):e.nextSibling?
e.parentNode.insertBefore(c,e.nextSibling):e.parentNode.appendChild(c),c.addEventLi
stener("click",(function(r){r.preventDefault(),r.stopPropagation();var
a=S.a.create("span",{text:"...",style:l});c.parentNode.replaceChild(a,c);var
s=function(r){if(r.fileSize>0){var
s=r.fileType||"",u=d.sizeHuman(r.fileSize,2),l="";if(/^audio\//i.test(s)){var
c=e.getAttribute("data-savefrom-helper-duration");
(c=c&&parseInt(c))>0&&(l=Math.floor(r.fileSize/c/125),l+="
"+o.a.i18n.getMessage("kbps"))}var f="";f=l?u+" ~ "+l:u,i||
(f="("+f+")"),a.textContent=f,a.title=s}else if(r.error){var
p=d.appendFileSizeIcon(e,t,n,!
0,i,document.createDocumentFragment());a.parentNode.replaceChild(p,a)}else{var
m=d.appendFileSizeIcon(e,t,n,"0",i,document.createDocumentFragment());a.parentNode.
replaceChild(m,a)}};return"ok.ru"===location.host?fetch(e.href,
{method:"HEAD"}).then((function(e){return{fileSize:e.headers.get("content-
length"),contentType:e.headers.get("content-type"),status:e.status,error:200!
==e.status}})).then(s).catch((function(){return s({fileSize:0,error:!
0})})):o.a.sendMessage({action:"getFileSize",url:e.href},s)}),!
1),c},appendNoSoundIcon:function(e,t){var n="#ff0000";(t=t||
{}).color&&(n=t.color);var
r={width:"14px",height:"14px",marginLeft:"3px",verticalAlign:"middle",position:"rel
ative",top:"-1px",cursor:"pointer"};Object.assign(r,t);var i=S.a.create("img",
{src:le.svg.getSrc("noSound",n),title:o.a.i18n.getMessage("withoutAudio"),style:r})
;e.nextSibling?e.parentNode.insertBefore(i,e.nextSibling):e.parentNode?
e.parentNode.appendChild(i):e.appendChild(i)},video:{dataAttr:"data-savefrom-video-
visible",yt:{inited:!1,show3D:!1,showMP4NoAudio:!1,showFormat:{FLV:!0,MP4:!0,WebM:!
1,"3GP":!1,"Audio AAC":!1,"Audio Vorbis":!1,"Audio Opus":!1},format:{FLV:{5:
{quality:"240"},6:{quality:"270"},34:{quality:"360"},35:{quality:"480"}},MP4:{18:
{quality:"360"},22:{quality:"720"},37:{quality:"1080"},38:{quality:"8K"},59:
{quality:"480"},78:{quality:"480"},82:{quality:"360","3d":!0},83:
{quality:"240","3d":!0},84:{quality:"720","3d":!0},85:{quality:"1080","3d":!0},160:
{quality:"144",noAudio:!0},133:{quality:"240",noAudio:!0},134:
{quality:"360",noAudio:!0},135:{quality:"480",noAudio:!0},136:
{quality:"720",noAudio:!0},137:{quality:"1080",noAudio:!0},212:
{quality:"480",noAudio:!0},213:{quality:"480",noAudio:!0},214:
{quality:"720",noAudio:!0},215:{quality:"720",noAudio:!0},264:
{quality:"1440",noAudio:!0},138:{quality:"8K",noAudio:!0},298:
{quality:"720",noAudio:!0,sFps:!0},299:{quality:"1080",noAudio:!0,sFps:!0},266:
{quality:"4K",noAudio:!0}},WebM:{43:{quality:"360"},44:{quality:"480"},45:
{quality:"720"},46:{quality:"1080"},167:{quality:"360",noAudio:!0},168:
{quality:"480",noAudio:!0},169:{quality:"720",noAudio:!0},170:
{quality:"1080",noAudio:!0},218:{quality:"480",noAudio:!0},219:
{quality:"480",noAudio:!0},242:{quality:"240",noAudio:!0},243:
{quality:"360",noAudio:!0},244:{quality:"480",noAudio:!0},245:
{quality:"480",noAudio:!0},246:{quality:"480",noAudio:!0},247:
{quality:"720",noAudio:!0},248:{quality:"1080",noAudio:!0},271:
{quality:"1440",noAudio:!0},272:{quality:"8K",noAudio:!0},278:
{quality:"144",noAudio:!0},100:{quality:"360","3d":!0},101:{quality:"480","3d":!
0},102:{quality:"720","3d":!0},302:{quality:"720",noAudio:!0,sFps:!0},303:
{quality:"1080",noAudio:!0,sFps:!0},308:{quality:"1440",noAudio:!0,sFps:!0},313:
{quality:"4K",noAudio:!0},315:{quality:"4K",noAudio:!0,sFps:!0},330:
{quality:"144",noAudio:!0,sFps:!0},331:{quality:"240",noAudio:!0,sFps:!0},332:
{quality:"360",noAudio:!0,sFps:!0},333:{quality:"480",noAudio:!0,sFps:!0},334:
{quality:"720",noAudio:!0,sFps:!0},335:{quality:"1080",noAudio:!0,sFps:!0},336:
{quality:"1440",noAudio:!0,sFps:!0},337:{quality:"2160",noAudio:!0,sFps:!0},398:
{quality:"720",noAudio:!0},397:{quality:"480",noAudio:!0},396:
{quality:"360",noAudio:!0},395:{quality:"240",noAudio:!0},394:
{quality:"144",noAudio:!0}},"3GP":{17:{quality:"144"},36:{quality:"240"}},"Audio
AAC":{139:{quality:"48",ext:"m4a",noVideo:!0},140:
{quality:"128",ext:"m4a",noVideo:!0},141:{quality:"256",ext:"m4a",noVideo:!0},256:
{quality:"192",ext:"m4a",noVideo:!0},258:{quality:"384",ext:"m4a",noVideo:!0},325:
{quality:"384",ext:"m4a",noVideo:!0},328:{quality:"384",ext:"m4a",noVideo:!0},380:
{quality:"384",ext:"m4a",noVideo:!0}},"Audio Vorbis":{171:
{quality:"128",ext:"webm",noVideo:!0},172:{quality:"192",ext:"webm",noVideo:!
0}},"Audio Opus":{249:{quality:"48",ext:"opus",noVideo:!0},250:
{quality:"128",ext:"opus",noVideo:!0},251:{quality:"256",ext:"opus",noVideo:!
0}}},init:function(){if(!le.video.yt.inited){["Audio AAC","Audio Vorbis","Audio
Opus"].forEach((function(e){var t=le.video.yt.format[e];for(var n in
t)t[n].quality+="
"+o.a.i18n.getMessage("kbps")})),le.video.yt.show3D="0"==ue.preferences.ytHide3D,le
.video.yt.showMP4NoAudio="0"==ue.preferences.ytHideMP4NoAudio;var e=!1,t=!1;for(var
n in le.video.yt.showFormat){var r="ytHide"+n.replace("
","_");"ytHideAudio_AAC"===r&&(r="ytHideAudio_MP4");var
i="0"==ue.preferences[r];"Audio AAC"===n&&(t=i),le.video.yt.showFormat[n]=i,i&&(e=!
0)}le.video.yt.showFormat["Audio Vorbis"]=t,le.video.yt.showFormat["Audio
Opus"]=t,e||(le.video.yt.showFormat.FLV=!0),le.video.yt.inited=!
0}},show:function(e,t,n,r,i){r=r||{};var
a=document.createElement("div");le.setStyle(a,{display:"inline-block",margin:"0
auto"}),t.appendChild(a);var s=document.createElement("div");le.setStyle(s,
{display:"inline-block",padding:"0 90px 0
0",position:"relative"}),a.appendChild(s);var
u=document.createElement("table");le.setStyle(u,
{emptyCells:"show",borderCollapse:"collapse",margin:"0
auto",padding:"0",width:"auto"}),s.appendChild(u);var l=!1;for(var c in
le.video.yt.format)le.video.yt.append(e,c,le.video.yt.format[c],u,r,i)&&(l=!
0);for(var c in e)if("ummy"!==c&&"ummyAudio"!==c&&"meta"!==c)
{le.video.yt.append(e,"",null,u,r,i)&&(l=!0);break}if(u.firstChild){if(l){var
d=document.createElement("span");d.textContent=o.a.i18n.getMessage("more")+"
"+String.fromCharCode(187),le.setStyle(d,{color:"#555",border:"1px solid
#a0a0a0",borderRadius:"3px",display:"block",fontFamily:"Arial",fontSize:"15px",line
Height:"17px",padding:"1px
5px",position:"absolute",bottom:"3px",right:"0",cursor:"pointer"}),r.btn&&"object"=
=typeof r.btn&&le.setStyle(d,r.btn),s.appendChild(d),d.addEventListener("click",
(function(e){e.preventDefault(),e.stopPropagation();for(var
n=t.querySelectorAll("*["+le.video.dataAttr+"]"),r=0;r<n.length;r++){var
i=n[r].getAttribute(le.video.dataAttr),a="none",s=String.fromCharCode(187);"0"==i?
(i="1",a="",s=String.fromCharCode(171)):i="0",n[r].style.display=a,n[r].setAttribut
e(le.video.dataAttr,i),this.textContent=o.a.i18n.getMessage("more")+" "+s}return!
1}),!1),1===n&&(u.querySelector("td
a"),a.appendChild(document.createElement("br")),le.appendDownloadInfo(a,"#a0a0a0",n
ull,{width:"16px",height:"16px",fontSize:"16px",lineHeight:"16px"}))}}else
t.textContent=o.a.i18n.getMessage("noLinksFound")},append:function(e,t,n,r,i,a){var
s=!
1,u={whiteSpace:"nowrap"},l={fontSize:"75%",fontWeight:"normal",marginLeft:"3px",wh
iteSpace:"nowrap"},c=document.createElement("tr"),d=document.createElement("td");d.
appendChild(document.createTextNode(t||"???")),t&&le.video.yt.showFormat[t]||
(c.setAttribute(le.video.dataAttr,"0"),c.style.display="none",s=!0),le.setStyle(d,
{border:"none",padding:"3px 15px 3px
0",textAlign:"left",verticalAlign:"middle"}),c.appendChild(d),d=document.createElem
ent("td"),le.setStyle(d,{border:"none",padding:"3px
0",textAlign:"left",verticalAlign:"middle",lineHeight:"17px"}),c.appendChild(d);var
f=e.meta||{},p=!1;if(n){for(var m in n)if(e[m]){var
h=n[m].quality;p&&(d.lastChild.style.marginRight="15px",d.appendChild(document.crea
teTextNode(" ")));var
g=document.createElement("span");g.style.whiteSpace="nowrap";var
v=document.createElement("a");if(v.href=e[m],v.title=o.a.i18n.getMessage("downloadT
itle"),f[m]&&(f[m].quality&&(h=f[m].quality),n[m].sFps&&(h+=" "+(f[m].fps||
60))),n[m]["3d"]?v.textContent="3D":v.textContent=h,a){var b=n[m].ext;b||
(b=t.toLowerCase()),v.setAttribute("download",M.a.modify(a+"."+b)),v.addEventListen
er("click",(function(e){le.downloadOnClick(e)}),!
1)}if(le.setStyle(v,u),i.link&&"object"==typeof
i.link&&le.setStyle(v,i.link),g.appendChild(v),le.appendFileSizeIcon(v,i.fsIcon,i.f
sText),n[m]["3d"]){le.video.yt.show3D||(s=!
0,g.setAttribute(le.video.dataAttr,"0"),g.style.display="none");var
y=document.createElement("span");y.textContent=h,le.setStyle(y,l),i.text&&"object"=
=typeof
i.text&&le.setStyle(y,i.text),v.appendChild(y)}n[m].noAudio&&(le.video.yt.showMP4No
Audio||(s=!
0,g.setAttribute(le.video.dataAttr,"0"),g.style.display="none"),le.appendNoSoundIco
n(v,!!i&&i.noSoundIcon)),d.appendChild(g),p=!0,delete e[m]}}else for(var m in e)
{p&&(d.lastChild.style.marginRight="15px",d.appendChild(document.createTextNode("
")));var A=document.createElement("span");A.style.whiteSpace="nowrap";var
k=document.createElement("a");k.href=e[m],k.title=o.a.i18n.getMessage("downloadTitl
e"),k.textContent=m,le.setStyle(k,u),i.link&&"object"==typeof
i.link&&le.setStyle(k,i.link),A.appendChild(k),le.appendFileSizeIcon(k,i.fsIcon,i.f
sText),d.appendChild(A),p=!0,delete e[m]}if(!1!==p)return
r.appendChild(c),s}}},playlist:{btnStyle:
{display:"block",fontWeight:"bold",border:"none",textDecoration:"underline"},getFil
elistHtml:function(e){if(e&&0!=e.length){for(var t,n=0,r="",i=0;i<e.length;i+
+)e[i].url&&(r+=e[i].url+"\r\n",n++);if(r)return n<5?
n=5:n>14&&(n=14),S.a.create(document.createDocumentFragment(),{append:
[S.a.create("p",{text:o.a.i18n.getMessage("filelistTitle"),style:
{color:"#0D0D0D",fontSize:"20px",marginBottom:"11px",marginTop:"5px"}}),S.a.create(
"p",{style:{marginBottom:"11px"},append:I()
(o.a.i18n.getMessage("filelistInstruction"))}),S.a.create("p",
{text:o.a.i18n.getMessage("vkFoundFiles").replace("%d",e.length),style:
{color:"#000",marginBottom:"11px"},append:S.a.create("a",
{text:o.a.i18n.getMessage("playlist"),href:"#",class:"sf__playlist",style:
{display:"none",cssFloat:"right"}})}),t=S.a.create("textarea",
{text:r,rows:n,cols:60,style:{width:"100%",whiteSpace:o.a.isFirefox||o.a.isGM&&!
o.a.isTM?"normal":"nowrap"}}),o.a.isChrome||o.a.isFirefox?S.a.create("button",
{text:o.a.i18n.getMessage("copy"),style:
{height:"27px",backgroundColor:"#ffffff",border:"1px solid
#9e9e9e",marginTop:"6px",paddingLeft:"10px",paddingRight:"10px",borderRadius:"5px",
fontSize:"14px",cursor:"pointer",cssFloat:"right"},on:["click",function(e){var
n=this;n.disabled=!0,o.a.isFirefox?
(t.select(),document.execCommand("copy")):o.a.sendMessage({action:"addToClipboard",
text:r}),setTimeout((function(){n.disabled=!1}),1e3)}],append:S.a.create("style",
{text:f()({"#savefrom_popup_box":{append:{"button:hover:not(:disabled)":
{backgroundColor:"#597A9E !important",borderColor:"#597A9E !
important",color:"#fff"},"button:active":{opacity:.9}}}})})}):void
0]})}},popupFilelist:function(e,t,n,r){var o=le.playlist.getFilelistHtml(e);if(o)
{var i=le.popupDiv(o,r);if(n){var
a=i.querySelector("a.sf__playlist");a&&(a.addEventListener("click",(function(n)
{return setTimeout((function(){le.playlist.popupPlaylist(e,t,!
0,r)}),100),n.preventDefault(),!1}),!
1),le.setStyle(a,le.playlist.btnStyle))}}},getInfoPopupTemplate:function(){var
e=S.a.create("div",{class:"sf-infoPopupTemplate",style:
{width:"400px",minHeight:"40px"}}),t=S.a.create("div",{style:
{backgroundSize:"48px",backgroundRepeat:"no-repeat",backgroundPosition:"center
top",display:"inline-
block",width:"60px",height:"60px",cssFloat:"left",marginTop:"16px",marginRight:"10p
x"}}),n=S.a.create("div",{style:{display:"inline-
block",width:"330px"}}),r=S.a.create("div",{style:
{textAlign:"right"},append:S.a.create("style",{text:f()({".sf-infoPopupTemplate":
{append:[{"a.sf-button":{padding:"1px 6px",display:"inline-
block",textAlign:"center",height:"23px",lineHeight:"23px",textDecoration:"none"}},
{selector:["button:hover","a.sf-button:hover"],style:{backgroundColor:"#597A9E !
important",borderColor:"#597A9E !important",color:"#fff"}}]}})})});return
e.appendChild(t),e.appendChild(n),e.appendChild(r),
{icon:t,buttonContainer:r,textContainer:n,body:e}},getM3U:function(e){for(var
t="#EXTM3U\r\n",n=0;n<e.length;n++)e[n].duration||(e[n].duration="-1"),
(e[n].title||e[n].duration)&&(t+="#EXTINF:"+e[n].duration+","+e[n].title+"\r\
n"),t+=e[n].url+"\r\n";return t},getPlaylistHtml:function(e,t){if(e&&0!=e.length)
{var n=e.length,r=le.dateToObj(),i=r.year+"-"+r.month+"-"+r.day+"
"+r.hour+"-"+r.min,a=le.playlist.getM3U(e);a=a.replace(/\r\n/g,"\n");var s=y()
(a,"audio/x-mpegurl"),u=le.playlist.getInfoPopupTemplate();return
o.a.sendMessage({action:"getWarningIcon",color:"#00CCFF",type:"playlist"},
(function(e)
{u.icon.style.backgroundImage="url("+e+")"})),S.a.create(u.textContainer,{append:
[S.a.create("p",{text:t||o.a.i18n.getMessage("playlistTitle"),style:
{color:"#0D0D0D",fontSize:"20px",marginBottom:"11px",marginTop:"13px"}}),S.a.create
("p",{text:o.a.i18n.getMessage("playlistInstruction"),style:
{color:"#868686",fontSize:"14px",marginBottom:"13px",lineHeight:"24px",marginTop:"0
px"}}),S.a.create("a",{text:o.a.i18n.getMessage("filelist")+"
("+n+")",href:"#",class:"sf__playlist",style:
{display:"none",fontSize:"14px",marginBottom:"13px",lineHeight:"24px",marginTop:"0p
x"}})]}),t||(t="playlist"),t+=" "+i,S.a.create(u.buttonContainer,{append:
[S.a.create("a",
{text:o.a.i18n.getMessage("download"),href:s,download:M.a.modify(t+".m3u"),class:"s
f-button",style:{width:"118px",backgroundColor:"#ffffff",border:"1px solid
#9e9e9e",margin:"12px",marginBottom:"11px",marginRight:"8px",borderRadius:"5px",fon
tSize:"14px",cursor:"pointer"}})]}),u.body}},popupPlaylist:function(e,t,n,r){var
o=le.playlist.getPlaylistHtml(e,t);if(o){var i=le.popupDiv(o,r);if(n){var
a=i.querySelector("a.sf__playlist");a&&(a.addEventListener("click",(function(n)
{return setTimeout((function(){le.playlist.popupFilelist(e,t,!
0,r)}),100),n.preventDefault(),!1}),!1),a.style.display="inline",a=null)}for(var
s,u=i.querySelectorAll("a[download]"),l=0;s=u[l];l+
+)s.addEventListener("click",le.downloadOnClick,!1)}}},popupCloseBtn:"data:image/
png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAWUlEQVQ4y2NgGHHAH4j1sYjr
Q+WIAvFA/B+I36MZpg8V+w9VQ9Al/
5EwzDBkQ2AYr8uwaXiPQ0yfkKuwGUayIYQMI8kQqhlEFa9RLbCpFv1US5BUzSLDBAAARN9OlWGGF8kAAAAA
SUVORK5CYII=",popupDiv:function(e,t,n,r,o){var i=arguments.length>5&&void 0!
==arguments[5]?arguments[5]:{docCloseEnable:!0};t||(t="savefrom_popup_box"),n||
(n=580),r||(r=520);var
a=document.getElementById(t);a&&a.parentNode.removeChild(a),a=S.a.create("div",
{id:t,style:
{zIndex:"9999",display:"block",cssFloat:"none",position:"fixed",margin:"0",padding:
"0",visibility:"hidden",color:"#000",background:"#fff",border:"3px solid
#c0cad5",borderRadius:"7px",overflow:"auto"}});var s=S.a.create("div",{style:
{display:"block",cssFloat:"none",position:"relative",overflow:"auto",margin:"0",pad
ding:"10px 15px"}});"function"==typeof e?e(s):s.appendChild(e);var
u=S.a.create("img",{src:le.popupCloseBtn,alt:"x",width:18,height:18,style:
{position:"absolute",top:"10px",right:"15px",opacity:"0.5",cursor:"pointer"},on:
[["mouseenter",function(){this.style.opacity="0.9"}],["mouseleave",function()
{this.style.opacity="0.5"}],["click",function(){return
a.parentNode&&a.parentNode.removeChild(a),o&&o(),!
1}]]});s.appendChild(u),a.appendChild(s),document.body.appendChild(a),a.offsetWidth
>n&&(a.style.width=n+"px"),a.offsetHeight>r&&(a.style.height=r+"px",a.style.width=n
+20+"px"),setTimeout((function(){var e=Math.floor((window.innerWidth-
a.offsetWidth)/2),t=Math.floor((window.innerHeight-a.offsetHeight)/2);t<0&&(t=0),-
1!==location.host.indexOf("youtu")&&t<92&&(t=92,a.style.height=a.offsetHeight-t-
10+"px"),e<0&&(e=0),le.setStyle(a,
{top:t+"px",left:e+"px",visibility:"visible"})}));var l=function e(t){if(i&&!
i.docCloseEnable)return!1;var n=t.target;n===a||le.isParent(n,a)||
(a.parentNode&&a.parentNode.removeChild(a),document.removeEventListener("click",e,!
1),o&&o())};return setTimeout((function(){document.addEventListener("click",l,!
1)}),100),a.addEventListener("close",(function()
{a.parentNode&&a.parentNode.removeChild(a),document.removeEventListener("click",l,!
1),o&&o()})),a.addEventListener("kill",(function()
{a.parentNode&&a.parentNode.removeChild(a),document.removeEventListener("click",l,!
1)})),a},popupDiv2:function(e){var
t={id:"savefrom_popup_box",containerStyle:null,bodyStyle:null,content:null,containe
r:null,body:null,_onClose:function()
{document.removeEventListener("click",t._onClose),n.parentNode&&n.parentNode.remove
Child(n),t.onClose&&t.onClose()}};Object.assign(t,e);var
n=t.container=S.a.create("div",{id:t.id,style:
{zIndex:9999,display:"block",position:"fixed",background:"#fff",border:"3px solid
#c0cad5",borderRadius:"7px"},append:[S.a.create("style",{text:f()
({selector:"#"+t.id,style:x.a})})],on:[["click",function(e)
{e.stopPropagation()}]]}),r=S.a.create("img",
{src:le.popupCloseBtn,alt:"x",width:18,height:18,style:
{position:"absolute",top:"10px",right:"15px",opacity:"0.5",cursor:"pointer"},on:
[["mouseenter",function(){this.style.opacity="0.9"}],["mouseleave",function()
{this.style.opacity="0.5"}],["click",t._onClose]]});n.appendChild(r);var
o=t.body=S.a.create("div",{style:u()
({display:"block",position:"relative",padding:"10px
15px",overflow:"auto"},t.bodyStyle)});return"function"==typeof t.content?
t.content(o):o.appendChild(t.content),n.appendChild(o),document.body.appendChild(n)
,document.addEventListener("click",t._onClose),t},showTooltip:function(e,t,n,r)
{if(e){var o=document.querySelector(".savefrom-tooltip");o||
((o=document.createElement("div")).className="savefrom-tooltip",le.setStyle(o,
{position:"absolute",opacity:0,zIndex:-
1}),r&&le.setStyle(o,r)),o.textContent=t,o.lastNode&&o.lastNode===e||
(o.lastNode&&(k.a.off(o.lastNode,"mouseleave",a),k.a.off(o.lastNode,"mousemove",i),
o.lastRow&&k.a.off(o.lastRow,"mouseleave",a)),o.lastNode=e,n&&(o.lastRow=n),k.a.on(
e,"mouseleave",a),k.a.on(e,"mousemove",i,!
1),n&&k.a.on(n,"mouseleave",a),document.body.appendChild(o)),i()}function i(t){void
0!==t&&t.stopPropagation();var
n=le.getPosition(e),r=le.getSize(o);0==n.top&&0==n.left||(n.top=n.top-r.height-
10,n.left=n.left-r.width/2+le.getSize(e).width/
2,n.left=Math.min(n.left,document.body.clientWidth+document.body.scrollLeft-
r.width),n.top<document.body.scrollTop&&(n.top=n.top+r.height+le.getSize(e).height+
20),n.top+="px",n.left+="px",n.zIndex=9999,n.opacity=1,le.setStyle(o,n))}function
a()
{o.parentNode&&document.body.removeChild(o),o.lastNode=null,o.lastRow=null,le.setSt
yle(o,{zIndex:-
1,opacity:0}),k.a.off(e,"mouseleave",a),k.a.off(e,"mousemove",i),n&&k.a.off(n,"mous
eleave",a)}},embedDownloader:{dataAttr:"data-savefrom-get-links",dataIdAttr:"data-
savefrom-container-id",containerClass:"savefrom-links-
container",linkClass:"savefrom-link",panel:null,lastLink:null,style:null,hostings:
{youtube:{re:[/^https?:\/\/(?:[a-z]+\.)?youtube\.com\/(?:#!?\/)?watch\?.*v=([\w\-]
+)/i,/^https?:\/\/(?:[a-z0-9]+\.)?youtube\.com\/(?:embed|v)\/([\w\-]+)/i,/
^https?:\/\/(?:[a-z]+\.)?youtu\.be\/([\w\-]+)/
i],action:"getYoutubeLinks",prepareLinks:function(e){var
t=[],n=le.video.yt.format,r=e.meta||{};for(var o in n)for(var i in n[o]){var
a=r[i]||{};if(e[i]){var s=o;n[o][i].ext&&(s=n[o][i].ext);var u=n[o]
[i].quality;a.quality&&(u=a.quality),n[o][i].sFps&&(u+=" "+(a.fps||60)),n[o][i]
["3d"]&&(u+=" (3d)"),t.push({name:o+" "+u,type:s,url:e[i],noSound:n[o]
[i].noAudio})}}return t}},vimeo:{re:[/^https?:\/\/(?:[\w\-]+\.)?vimeo\.com\/(?:\w+\
#)?(\d+)/i,/^https?:\/\/player\.vimeo\.com\/video\/(\d+)/i,/^https?:\/\/(?:[\w\-]
+\.)?vimeo\.com\/channels\/(?:[^\/]+)\/(\d+)$/i,/^https?:\/\/vimeo\.com\/(?:.
+)clip_id=(\d+)/i],action:"getVimeoLinks",prepareLinks:function(e){return
e.map((function(e){var t=e.ext;return
t||(t="MP4",-1!=e.url.search(/\.flv($|\?)/i)&&(t="FLV")),e.name=e.name?
e.name:t,e.type=e.type?e.type:t,e.ext=t,e}))}},vk:{re:[/^https?:\/\/(?:[\w\-]+\.)?
(?:vk\.com|vkontakte\.ru)\/(?:[^\/]+\/)*(?:[\w\-\.]+\?.*z=)?(video-?\d+_-?\d+\?
list=[0-9a-z]+|video-?\d+_-?\d+)/i,/^https?:\/\/(?:[\w\-]+\.)?(?:vk\.com|
vkontakte\.ru)\/video_ext\.php\?(.+)/i],action:"getVKLinks"},dailymotion:{re:[/
^http:\/\/(?:www\.)?dai\.ly\/([a-z0-9]+)_?/i,/^https?:\/\/(?:[\w]+\.)?
dailymotion\.com(?:\/embed|\/swf)?\/video\/([a-z0-9]+)_?/
i],action:"getDailymotionLinks"},facebook:{re:[/^https?:\/\/(?:[\w]+\.)?
facebook\.com(?:\/video)?\/video.php.*[?&]{1}v=([0-9]+).*/i,/^https?:\/\/(?:[\w]
+\.)?facebook\.com\/.+\/videos(?:\/\w[^\/]+)?\/(\d+)/
i],action:"getFacebookLinks"}},init:function(e)
{this.style=e,this.panel&&le.popupMenu.removePanel(),this.panel=null,this.lastLink=
null;var
t,n=document.querySelectorAll("a["+this.dataAttr+"]"),r=n.length;for(t=0;t<r;t++)
["savefrom.net","sf-addon.com"].indexOf(le.getTopLevelDomain(n[t].hostname))>-
1&&(n[t].removeEventListener("click",this.onClick,!
1),n[t].addEventListener("click",this.onClick,!
1));document.body&&(document.body.removeEventListener("click",this.onBodyClick,!
0),document.body.addEventListener("click",this.onBodyClick,!
0))},checkUrl:function(e){for(var t in this.hostings)for(var
n=this.hostings[t],r=0,o=n.re.length;r<o;r++){var
i=e.match(n.re[r]);if(i)return{hosting:t,action:n.action,extVideoId:i[1]}}return
null},reMapHosting:function(e)
{return{getYoutubeLinks:"youtube",getVimeoLinks:"vimeo",getDailymotionLinks:"dailym
otion",getFacebookLinks:"facebook",getVKLinks:"vk"}[e]},onClick:function(e,t){var
n=le.embedDownloader;if(!t){for(t=e.target;t.parentNode&&"A"!
==t.nodeName;)t=t.parentNode;if(!t)return}var r=t.getAttribute("data-savefrom-get-
links");if(r&&0===e.button&&!e.ctrlKey&&!e.shiftKey)
{if(n.lastLink===t&&n.panel&&"none"!=n.panel.style.display)return
n.lastLink=null,n.panel.style.display="none",e.preventDefault(),void
e.stopPropagation();n.lastLink=t;var i=n.checkUrl(r);if(i)
{e.preventDefault(),e.stopPropagation();var
a={action:i.action,extVideoId:i.extVideoId};return
n.showLinks(o.a.i18n.getMessage("download")+" ...",null,t),o.a.sendMessage(a,
(function(e){var r=i.hosting;e.action!
=a.action&&(r=n.reMapHosting(e.action)),e.links?n.showLinks(e.links,e.title,t,r,!
0):n.showLinks(o.a.i18n.getMessage("noLinksFound"),null,t,void 0,!0)})),!
1}}},onBodyClick:function(e){var t=le.embedDownloader,n=e.target;if(!
t.panel||"none"==t.panel.style.display){if("A"!==n.tagName&&m()(n,"A
"+n.tagName))for(;n.parentNode&&"A"!==n.tagName;)n=n.parentNode;if("A"!
==n.nodeName)return;return n.hasAttribute(t.dataAttr)&&["savefrom.net","sf-
addon.com"].indexOf(le.getTopLevelDomain(n.hostname))>-1?t.onClick(e,n):void
0}t.panel===n||t.panel.contains(n)||
(t.lastLink=null,t.panel.style.display="none",e.preventDefault(),e.stopPropagation(
))},hidePanel:function()
{this.panel&&(this.panel.style.display="none")},createMenu:function(e,t,n,r,i){var
a=o.a.i18n.getMessage("noLinksFound");"string"==typeof e?a=e:void 0!
==le.popupMenu.prepareLinks[r]&&e&&(a=le.popupMenu.prepareLinks[r](e,t));var
s={links:a,button:n,popupId:void 0,showFileSize:!
0,containerClass:this.containerClass,linkClass:this.linkClass,style:
{popup:this.style?this.style.container:void 0,item:this.style?this.style.link:void
0},isUpdate:i};i&&this.panel?
le.popupMenu.update(this.panel,s):this.panel=le.popupMenu.create(s)},showLinks:func
tion(e,t,n,r,i){var
a,s=n.getAttribute(this.dataIdAttr);if(s&&(a=document.getElementById(s)),a)if(this.
panel&&(this.panel.style.display="none"),"string"==typeof e)a.textContent=e;else
if(e&&0!=e.length)
{r&&this.hostings[r]&&this.hostings[r].prepareLinks&&(e=this.hostings[r].prepareLin
ks(e)),a.textContent="";for(var u=0;u<e.length;u++)if(e[u].url&&e[u].name)
{(n=document.createElement("a")).href=e[u].url,n.title=o.a.i18n.getMessage("downloa
dTitle"),n.appendChild(document.createTextNode(e[u].name));var
l=document.createElement("span");l.className=this.linkClass,l.appendChild(n),a.appe
ndChild(l),le.appendFileSizeIcon(n),e[u].noSound&&le.appendNoSoundIcon(n),t&&!
e[u].noTitle&&e[u].type&&(n.setAttribute("download",M.a.modify(t+"."+e[u].type.toLo
werCase())),n.addEventListener("click",le.downloadOnClick
,!1))}}else a.textContent=o.a.i18n.getMessage("noLinksFound");else
this.createMenu(e,t,n,r,i)}},createTelevzrInfo:function(e){var t=(0,n(93).default)
({installURL:(0,n(61).getInstallNowLink)(new
URLSearchParams(location.search).get("v"))});return e.querySelector(".sf-ummy-info-
popup").classList.add("televzr-popup-container"),e.querySelector(".sf-ummy-info-
popup").innerHTML=t,e},createUmmyInfo:function(e,t){e=e||{};var
n,r,i,a,s,u,l,c,d=Object.assign({vid:111,utm_source:"savefrom-
helper",utm_medium:"youtube-helper"},e.params);d.utm_campaign||("hd"===e.itemType?
d.utm_campaign="youtube-helper-hd":"mp3"===e.itemType&&(d.utm_campaign="youtube-
helper-mp3")),n=/^Mac/.test(navigator.platform)&&/^yt-/.test(d.video)?"http://
videodownloader.ummy.net/save-from-
youtube.html?"+ae.stringify({vid:d.vid,video:d.video,utm_source:"savefrom-
helper",utm_medium:"youtube-
helper",utm_campaign:"ummy",utm_content:"ummy_integration_h"}):"http://
videodownloader.ummy.net/?"+ae.stringify(d),e.posLeft?(u={border:"8px solid
transparent",borderLeft:"10px solid rgb(192, 187,
187)",borderRight:0,top:"8px",right:"11px"},l=Object.assign({},u,
{right:"12px",borderLeft:"10px solid
#fff"}),c={right:"21px"},e.darkTheme&&(r={borderLeftColor:"rgba(255, 255, 255,
0.4)"},i={borderLeftColor:"rgba(28,28,28, 0.6)"})):(u={border:"8px solid
transparent",borderRight:"10px solid rgb(192, 187,
187)",borderLeft:0,top:"8px",left:"11px"},l=Object.assign({},u,
{left:"12px",borderRight:"10px solid
#fff"}),c={left:"21px"},e.darkTheme&&(r={borderRightColor:"#fff"},i={borderRightCol
or:"#000"})),s=e.darkTheme?{a:{color:"#eee"}}:{},a=e.darkTheme?
{backgroundColor:"rgba(28,28,28,0.8)",border:"1px solid rgba(255, 255, 255,
0.4)",color:"#fff"}:{backgroundColor:"#fff",border:"1px solid #ccc"};var
p=S.a.create(document.createDocumentFragment(),{append:[S.a.create("span",
{style:Object.assign({display:"inline-
block",width:0,position:"absolute"},u,r)}),S.a.create("span",
{style:Object.assign({display:"inline-
block",width:0,position:"absolute",zIndex:1},l,i)})]}),m=null,h=null,g=S.a.create("
div",{class:"sf-ummy-info-popup-container",style:
{position:"absolute",zIndex:9999},append:[p,h=S.a.create("div",{class:"sf-ummy-
info-
popup",style:Object.assign({position:"relative",backgroundColor:"#fff",border:"1px
solid #ccc",padding:"6px
5px",textAlign:"center",maxWidth:"240px",lineHeight:"16px",fontSize:"12px",fontFami
ly:"arial, sans-serif",cursor:"default"},c,a),append:[I()
(o.a.i18n.getMessage("ummyMenuInfo").replace("{url}",n)),S.a.create("label",{style:
{verticalAlign:"middle",display:"block"},append:[m=S.a.create("input",
{type:"checkbox",name:"showUmmyInfo",style:
{verticalAlign:"middle"}}),o.a.i18n.getMessage("tooltipHide")]}),S.a.create("style"
,{text:f()({".sf-ummy-info-popup":{append:Object.assign({"> p":{margin:"0 0 .8em
0"},"> p.center":{textAlign:"center"},"> p > .green-btn-2.arrow":
{color:"#fff",background:"#84bd07",borderRadius:"5px",display:"inline-
block",position:"relative",lineHeight:1,padding:"8px 34px 8px
10px",textDecoration:"none",fontSize:"12px"},"> p > .green-btn-2.arrow:hover":
{color:"#fff",opacity:.8},"> p > .green-btn-2.arrow:after":
{background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAYAAAAmL5yK
AAAAjklEQVQoke3RsRGCQBCF4YuJsQDoQMpjKMImtAjth9xMEj4DF4c5QDH3n7lk773b3XsJNzTpR9Dglrw
YcUG9w1iHdoTpgYkBJ5QrxkPcDXNDQm/
JHR2KOF3UcvoUgnZL8KFBi2I+Yrk2YsZjsaIsBVQ4i08KxqhVu1OYBLji+E/
hzTKFlV13pfAVGynkPAFtrlNTMRczMgAAAABJRU5ErkJggg==) 0 0 no-
repeat",content:'""',display:"block",position:"absolute",width:"16px",height:"14px"
,top:"50%",right:"10px",marginTop:"-7px"},input:{display:"inline-
block"}},s)}})})]})],on:[["mouseclick",function(e){e.stopPropagation()}],
["mousedown",function(e){e.stopPropagation()}]]});return
o.a.sendMessage({action:"getUmmyIcon"},(function(e){var
t=h.querySelector("img");t&&(t.src=e,t.style.verticalAlign="text-
bottom")})),m.checked=!ue.preferences.showUmmyInfo,m.addEventListener("change",
(function(e){e.preventDefault(),e.stopPropagation(),this.checked?
(k.a.trigger(t,"sfRmInfoPopup"),ue.preferences.showUmmyInfo=0):
(k.a.trigger(t,"sfAddInfoPopup"),ue.preferences.showUmmyInfo=1),o.a.sendMessage({ac
tion:"updateOption",key:"showUmmyInfo",value:ue.preferences.showUmmyInfo})})),e.onC
reateUmmyInfo&&e.onCreateUmmyInfo(g),g},bindUmmyInfo:function(e,t){var
n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ummy";if(((t=t||
{}).noUmmy||ue.preferences.showUmmyInfo)&&!
(t.widthLimit&&document.documentElement.offsetWidth<t.widthLimit))
{t.leftOffset=t.leftOffset||21;var
r=null,o=null,i=null,a=8,s=null,u=null,l=null,c=function e()
{clearTimeout(l),l=setTimeout((function(){if(r&&r.parentNode){if("none"!
==r.style.display)return e();r.parentNode.removeChild(r)}}),3e4)},d=function()
{clearTimeout(o),o=setTimeout((function()
{r&&(r.style.display="none")}),50)},f=function(){if(t.noUmmy||
ue.preferences.showUmmyInfo){clearTimeout(o);var l=le.getPosition(e);if(r)i=l.top-
4;else{if(t.expUmmyInfo)r=t.expUmmyInfo(t.createUmmyInfoDetails,e);else
if("ummy"===n)r=le.createUmmyInfo(t.createUmmyInfoDetails,e);else if("televzr"===n)
{var
f=le.createUmmyInfo(t.createUmmyInfoDetails,e);r=le.createTelevzrInfo(f)}s=r.firstC
hild,u=s.nextElementSibling,i=l.top-4,k.a.on(r,"mouseenter",(function()
{clearTimeout(o)})),k.a.on(r,"mouseleave",d)}r.style.top=i+"px","1"!
==r.dataset.hide&&(function(e){var
n=le.getPosition(e);if(t.posLeft)r.style.right=document.documentElement.clientWidth
-n.left-t.leftOffset+"px";else{var o=le.getSize(e);r.style.left=o.width+n.left-
t.leftOffset+"px"}}(e),r.parentNode||(r.style.display="none",(t.container||
document.body).appendChild(r)),"block"!
==r.style.display&&(r.style.display="block",k.a.trigger(r,"sfShowInfoPopup")),setTi
meout((function(){var
e=window.innerHeight,t=r.clientHeight,n=window.scrollY;if(t+i>e+n){var o=e-
t+n;if(o<0)return;if(i===o)return;r.style.top=o+"px";var l=8-(e-(t+i)+n);a!
==l&&(a=l,s.style.top=a+"px",u.style.top=a+"px")}else 8!
==a&&(a=8,s.style.top=a+"px",u.style.top=a+"px")})),c())}};k.a.on(e,"mouseenter",f)
,k.a.on(e,"mouseleave",d),k.a.on(e,"sfRmInfoPopup",(function()
{k.a.off(e,"mouseenter",f)})),k.a.on(e,"sfAddInfoPopup",(function()
{k.a.on(e,"mouseenter",f)}))}},popupMenu:{popupId:"sf_popupMenu",popup:void
0,popupStyle:void 0,dataArrtVisible:"data-isVisible",extStyleCache:void
0,ummyIcon:null,badgeQualityList:
["8K","4K","2160","1440","1080","720","ummy"],createBadge:function(e,t){var
n=this;t=t||{};var r={display:"inline-
block",lineHeight:"18px",width:"19px",height:"17px",color:"#fff",fontSize:"12px",bo
rderRadius:"2px",verticalAlign:"middle",textAlign:"center",paddingRight:"2px",fontW
eight:"bold",marginLeft:"3px"};for(var i in
t.containerStyle)r[i]=t.containerStyle[i];var a=S.a.create("div",
{style:r});return"HLS"===e?
(a.textContent="HLS",a.style.width="26px",a.style.paddingRight="1px",a.style.backgr
oundColor="#505050"):"1080"===e||"2160"===e||"1440"===e||"720"===e?
(a.textContent="HD",a.style.backgroundColor="#505050",a.style.paddingRight="1px"):"
8K"===e||"4K"===e?
(a.textContent="HD",a.style.paddingRight="1px",a.style.backgroundColor="rgb(247,
180, 6)"):"mp3"===e||"MP3"===e?
(a.textContent="MP3",a.style.width="26px",a.style.paddingRight="1px",a.style.backgr
oundColor="#505050"):"ummy"===e&&(this.ummyIcon?
a.style.background="url("+this.ummyIcon+") center center no-
repeat":o.a.sendMessage({action:"getUmmyIcon"},(function(e)
{a.style.background="url("+(n.ummyIcon=e)+") center center no-
repeat"}))),a},getTitleNode:function(e){var t=le.popupMenu,r=S.a.create("span",
{style:{cssFloat:"left"}});if("converter"===e.extra){var
o=document.createDocumentFragment();-1!
==["MP3","8K","4K","1440","1080","720"].indexOf(e.format)?
o.appendChild(t.createBadge(e.format,{containerStyle:
{marginLeft:0}})):o.appendChild(document.createTextNode(e.format)),S.a.create(r,
{append:[o," ",e.quality]}),o=null}else
if("ummy"===e.quality)o=document.createDocumentFragment(),null!==e.uQuality&&(-1!
==["8K","4K","1440","1080","720"].indexOf(e.uQuality)?
o.appendChild(document.createTextNode(e.uQuality)):o.appendChild(t.createBadge(e.uQ
uality,{containerStyle:{marginLeft:0}}))),S.a.create(r,{append:[o,"
","Ummy"]}),o=null;else if("televzr"===e.quality){var
i=document.createElement("span");i.innerText="HD/MP3
Televzr",i.style.fontWeight="bold",r.appendChild(i);var
a=document.createElement("img");a.style.width="19px",a.style.height="17px",a.style.
marginLeft="5px",a.style["vertical-
align"]="middle",a.src=n(61).televzIcon,r.appendChild(a)}else
if(e.itemText)r.textContent=e.itemText;else{var s=e.quality?"
"+e.quality:"",u=e.format?e.format:"???",l=e["3d"]?"3D ":"",c="";e.sFps&&(c+=" "+
(e.fps||60)),r.textContent=l+u+s+c}return-1!
==t.badgeQualityList.indexOf(String(e.quality))&&r.appendChild(t.createBadge(String
(e.quality))),r},createPopupItem:function(e,t){var
n,r=le.popupMenu;if("-"===(n="string"==typeof e?
e:e.href))return{el:S.a.create("div",{style:{display:"block",margin:"1px
0",borderTop:"1px solid rgb(214, 214, 214)"}})};var i=document.createElement("-
text-"===n?"div":"a");t.linkClass&&i.classList.add(t.linkClass);var
a={display:"block",padding:"0
5px",textDecoration:"none",whiteSpace:"nowrap",overflow:"hidden"};if(e.isHidden&&(i
.setAttribute(r.dataArrtVisible,"0"),a.display="none"),le.setStyle(i,a),"-
text-"===n)return i.style.lineHeight="22px",
{el:i};if(i.href=n,"#"===n)return{el:i};if((o.a.isGM||
o.a.isSafari)&&("ummy"===e.quality||e.extra||
(i.title=o.a.i18n.getMessage("downloadTitle"))),e.forceDownload&&!
e.forceConverter&&!e.downloadProvider){var s="";if(e.title){var u=(e.ext||
e.format||"").toLowerCase();u&&(u="."+u),s=e.title+u}i.setAttribute("download",M.a.
modify(s)),i.addEventListener("click",(function(e){le.downloadOnClick(e,null,
{el:this})}),!1)}var l=[];e.func&&(Array.isArray(e.func)?
l.push.apply(l,e.func):l.push(e.func)),t.onItemClick&&-
1===l.indexOf(t.onItemClick)&&l.push(t.onItemClick),l.length&&i.addEventListener("c
lick",(function(t){var n=this;l.forEach((function(r){return r.call(n,t,e)}))}),!
1),e.isBlank&&i.setAttribute("target","_blank"),i.appendChild(r.getTitleNode(e));va
r
c=S.a.create("span",{style:
{cssFloat:"right",lineHeight:"22px",height:"22px"}}),d={top:"5px",verticalAlign:"to
p"};for(var f in
t.sizeIconStyle)d[f]=t.sizeIconStyle[f];e.noAudio&&le.appendNoSoundIcon(c,d);var
p=null;if(e.noSize||(c.addEventListener("click",(function e(t)
{"IMG"===c.firstChild.tagName&&(t.preventDefault(),t.stopPropagation(),k.a.trigger(
c.firstChild,"click",{cancelable:!
0})),this.removeEventListener("click",e)})),p=le.appendFileSizeIcon(i,d,
{marginLeft:0},void 0,!0,c,e)),i.appendChild(c),"ummy"===e.quality){var
m=Object.assign({},t.bindUmmyInfoDetails),h=m.createUmmyInfoDetails=Object.assign({
itemType:e.uIsAudio?"mp3":"hd"},m.createUmmyInfoDetails);h.params=Object.assign({vi
deo:e.videoId,vid:e.vid},h.params),le.bindUmmyInfo(i,m)}if("televzr"===e.quality)
{var g=document.createElement("div");g.classList.add("televzr-
popup"),g.style.width="100px",g.style.height="100px",g.style.background="red",le.bi
ndUmmyInfo(i,m,"televzr")}return{el:i,sizeIcon:p,prop:e}},sortMenuItems:function(e,
t){void 0===t&&(t={});var n=["HLS","ummy","Audio Opus","Audio Vorbis","Audio
AAC","3GP","WebM","FLV","MP4"],r={Mobile:280,LD:280,SD:360,HD:720,ummy:1};t.strQual
ityExtend&&Object.assign(r,t.strQualityExtend);var
o={},i=[],a=[],s=[],u=[],l=[],c=[],d=[],f=[];e.forEach((function(e){var
n=e.prop;t.noProp&&(n=e);var p=n.sort||{};if(!n.format)return
f.push(e),1;if(n.isOther)f.push(e);else if(n.isSubtitle)u.push(e);else
if(n.noVideo)i[n.quality]=parseInt(n.quality),s.push(e);else{var m=p.size||
r[n.quality]||-1;if(-1===m&&(m="K"===String(n.quality).substr(-1)?
1e3*parseInt(n.quality):parseInt(n.quality)),t.maxSize&&m>t.maxSize)return
1;if(t.minSize&&m<t.minSize)return 1;o[n.quality]=m,n.noAudio?n.sFps?
l.push(e):c.push(e):n["3d"]?d.push(e):a.push(e)}}));var p=function(e,t){return
e.noVideo&&t.noVideo?function(e,t){return i[e.quality]>i[t.quality]?-
1:i[e.quality]===i[t.quality]?0:1}(e,t):e.noVideo?1:t.noVideo||
n.indexOf(e.format)>n.indexOf(t.format)?-
1:n.indexOf(e.format)===n.indexOf(t.format)?0:1},m=function(e,n){var
r=e.prop,i=n.prop;t.noProp&&(r=e,i=n);var a=function(e,t){var
n=o[e.quality],r=o[t.quality];return isNaN(n)&&isNaN(r)?0:isNaN(n)?-1:isNaN(r)?
1:n>r?-1:n===r?0:1}(r,i);return 0!==a?
a:p(r,i)};a.sort(m),d.sort(m),s.sort(m),l.sort(m),c.sort(m);var h=null;return
t.typeList?(h=[],-1!==t.typeList.indexOf("video")&&(h=h.concat(a)),-1!
==t.typeList.indexOf("3d")&&(h=h.concat(d)),-1!
==t.typeList.indexOf("audio")&&(h=h.concat(s)),-1!
==t.typeList.indexOf("mute")&&(h=h.concat(c)),-1!
==t.typeList.indexOf("mute60")&&(h=h.concat(l)),-1!
==t.typeList.indexOf("subtitles")&&(h=h.concat(u)),-1!
==t.typeList.indexOf("other")&&(h=h.concat(f))):h=a.concat(d,s,u,l,c,f),t.groupComp
are&&h.sort(m),h},removePanel:function(){null!
==this.popup.parentNode&&this.popup.parentNode.removeChild(this.popup),void 0!
==this.popupStyle&&null!
==this.popupStyle.parentNode&&this.popupStyle.parentNode.removeChild(this.popupStyl
e),this.popup=void 0,this.popupStyle=void 0},getHiddenList:function(e,t){var
n,r=this,i=document.createDocumentFragment();if(e.length<8)S.a.create(i,
{append:e});else{var a=S.a.create("div",{style:
{maxHeight:"192px",overflowY:"scroll",display:"none"},on:[["wheel",function(e)
{(e.wheelDeltaY>0&&0===this.scrollTop||e.wheelDeltaY<0&&this.scrollHeight-
(this.offsetHeight+this.scrollTop)<=0)&&e.preventDefault()}],(n=!1,
["scroll",function(){if(0!==this.scrollTop){if(n)return;n=!
0,this.style.boxShadow="rgba(0, 0, 0, 0.40) -2px 1px 2px 0px inset"}else{if(!
n)return;n=!
1,this.style.boxShadow=""}}])],append:e});a.setAttribute(r.dataArrtVisible,"0"),i.a
ppendChild(a)}var s=r.createPopupItem("-",t).el;i.appendChild(s);var
u=r.createPopupItem("#",t).el;return S.a.create(u,{text:o.a.i18n.getMessage("more")
+" "+String.fromCharCode(187),data:{visible:"0"},on:["click",function(e)
{e.preventDefault();var t,n=this.dataset.visible;n>0?(n--,t=187):(n+
+,t=171),this.textContent=o.a.i18n.getMessage("more")+"
"+String.fromCharCode(t),this.dataset.visible=n;for(var
i,a=this.parentNode.querySelectorAll("*["+r.dataArrtVisible+"]"),s=0;i=a[s];s+
+)i.style.display=1===n?"block":"none",i.setAttribute(r.dataArrtVisible,n)}]}),i.ap
pendChild(u),0===t.visibleCount&&k.a.trigger(u,"click",{cancelable:!
0}),i},getContent:function(e){var
t=this,n=e.links,r=document.createDocumentFragment(),i=[];if(e.title){var
a=t.createPopupItem("-text-",e).el;a.textContent=e.title,a.style.color="rgb(109,
104, 104)",a.fontStyle="italic",r.appendChild(a)}if("string"==typeof n){var
s=t.createPopupItem("-text-",e).el;s.textContent=n,r.appendChild(s)}else
if(0===n.length){var u=t.createPopupItem("-
text-",e).el;u.textContent=o.a.i18n.getMessage("noLinksFound"),r.appendChild(u)}els
e{var l=[];n.forEach((function(n)
{l.push(t.createPopupItem(n,e))})),l=t.sortMenuItems(l,e.sortDetails);var
c=[];l.forEach((function(t){if(t.prop.isHidden)return
c.push(t.el),1;r.appendChild(t.el),e.showFileSize&&t.sizeIcon&&i.push(t.sizeIcon)})
),e.visibleCount=l.length-c.length,c.length>0&&(e.getHiddenListFunc?
r.appendChild(e.getHiddenListFunc(c,e)):r.appendChild(t.getHiddenList(c,e)))}return
{sizeIconList:i,content:r}},create:function(e){var
t=e.button,n=le.popupMenu;if(e.linkClass=e.linkClass||"sf-menu-
item",e.offsetRight=e.offsetRight||0,e.offsetTop=e.offsetTop||0,e.parent=e.parent||
document.body,!e.isUpdate||void 0!==n.popup&&"none"!==n.popup.style.display)
{n.popup&&n.removePanel();var
r=n.popup=document.createElement("div"),o="#"+n.popupId;e.popupId?
(o="#"+e.popupId,r.id=e.popupId):e.containerClass?
(o="."+e.containerClass,r.classList.add(e.containerClass)):r.id=n.popupId;var
i={display:"block",position:"absolute",minHeight:"24px",cursor:"default",textAlign:
"left",whiteSpace:"nowrap",fontFamily:"arial, sans-serif"};e.extStyle&&delete
i.display;var
a=le.getPosition(t,e.parent),s=le.getSize(t);i.top=a.top+e.offsetTop+s.height+"px",
i.left=a.left+e.offsetRight+"px",le.setStyle(r,i);var u={"background-
color":"#fff","z-index":"9999","box-shadow":"0 2px 10px 0
rgba(0,0,0,0.2)",border:"1px solid #ccc","border-radius":"3px","font-
size":"12px","font-weight":"bold","min-
width":"190px"};if(e.style&&e.style.popup)for(var l in e.style.popup){var
c=e.style.popup[l];u[l]=c}le.addStyleRules(o,u);var d={"line-
height":"24px",color:"#3D3D3D"};if(e.style&&e.style.item)for(var l in
e.style.item)c=e.style.item[l],d[l]=c;le.addStyleRules(o+" ."+e.linkClass,d);var
p=function(e){e.stopPropagation()};for(S.a.create(r,{on:[["click",p],
["mouseover",p],["mouseup",p],["mousedown",p],["mouseout",p]]});null!
==r.firstChild;)r.removeChild(r.firstChild);var
m=n.getContent.call(n,e),h=m.sizeIconList;m=m.content,r.appendChild(m);var
g="#2F8AFF",v="#fff";e.style&&e.style.hover&&(g=e.style.hover.backgroundColor||
g,v=e.style.hover.color||v);var
b=n.popupStyle=document.createElement("style");if(b.textContent=f()
({selector:o,append:{"a:hover":{backgroundColor:g,color:v},"> a:first-child":
{borderTopLeftRadius:"3px",borderTopRightRadius:"3px"},"> a:last-child":
{borderBottomLeftRadius:"3px",borderBottomRightRadius:"3px"}}}),e.parent.appendChil
d(b),e.parent.appendChild(r),e.extStyle){void 0!==le.popupMenu.extStyleCache&&null!
==le.popupMenu.extStyleCache.parentNode&&le.popupMenu.extStyleCache.parentNode.remo
veChild(le.popupMenu.extStyleCache);var y="sf-extElStyle_"+o.substr(1),A="sf-
extBodyStyle_"+o.substr(1);null===document.querySelector("style."+A)&&document.body
.appendChild(S.a.create("style",{class:A,text:f()({selector:o,style:
{display:"none"}})})),le.popupMenu.extStyleCache=e.extStyle.appendChild(S.a.create(
"style",{class:y,text:f()({selector:"body "+o,style:{display:"block"}})}))}return
setTimeout((function(){h.forEach((function(e){k.a.trigger(e,"click",{bubbles:!
1,cancelable:!0})}))})),r}},update:function(e,t){for(var n=le.popupMenu;null!
==e.firstChild;)e.removeChild(e.firstChild);var
r=n.getContent.call(n,t),o=r.sizeIconList;r=r.content,e.appendChild(r),setTimeout((
function(){o.forEach((function(e){k.a.trigger(e,"click",{bubbles:!1,cancelable:!
0})}))}))},preprocessItem:{srt2url:function(e,t){var
n=e.srt,r=y()(n,"text/plain");t.ext="srt",t.format="SRT",t.href=r,t.noSize=!
0}},prepareLinks:{youtube:function(e,t,n,r){r=r||{},n=n||
[],e=Object.assign({},e);var i=le.video.yt;i.init();var a=[],s=null,u=e.meta||
{};Object.keys(i.format).forEach((function(n){var r=i.format[n];return
Object.keys(r).forEach((function(o){var l=e[o];if(l){var c=!1;i.showFormat[n]||(c=!
0);var d=r[o];d["3d"]&&!i.show3D&&(c=!0),d.noAudio&&!i.showMP4NoAudio&&(c=!
0),s={href:l,isHidden:c,title:t,format:n,itag:o,forceDownload:!
0},Object.assign(s,d);var
f=u[o];f&&(f.quality&&(s.quality=f.quality),f.fps&&(s.fps=f.fps)),a.push(s),delete
e[o]}}))}));var l=!!e.televzr;return
l&&(a.push({itag:"televzr",format:"televzr",quality:"televzr",href:e.televzr,noSize
:!0}),delete e.televzr),(e.ummy||e.ummyAudio)&&function(){var t=null,n=-
1,o=le.popupMenu.badgeQualityList;a.forEach((function(e){var
t=o.indexOf(e.quality);-1!==t&&(-1===n||t<n)&&(n=t)})),-1!==n&&(t=o[n]);var
i=u.videoId;i&&["ummy","ummyAudio"].forEach((function(n){var
o=e[n];o&&(s={href:o,quality:"ummy",isHidden:l,noSize:!
0,format:"ummy",videoId:"yt-"+i},"ummy"===n?
(s.itag="ummy",s.uQuality=t):"ummyAudio"===n&&(s.itag="ummyAudio",s.uQuality="mp3",
s.uIsAudio=!0),r.ummyVid&&(s.vid=r.ummyVid),a.push(s),delete e[n])}))}
(),ue.preferences.ffmpegEnabled&&u.muxer&&(s={href:"#muxer",fps:u.muxer.fps,quality
:u.muxer.quality,format:u.muxer.format,itag:"muxer",uQuality:u.muxer.quality,noSize
:!0,func:function(e){e.preventDefault(),e.stopPropagation(),z()
(Object(B.createElement)
(R.a,u.muxer.mmProps),document.body)}},a.push(s)),Object.keys(e).forEach((function(
n){"meta"!==n&&(s={href:e[n],isHidden:!0,title:t,quality:n,itag:n,forceDownload:!
0},a.push(s),delete e[n])})),n.forEach((function(e){s={href:e.url,isHidden:!
0,quality:"SRT"+(e.isAuto?"A":""),itemText:o.a.i18n.getMessage("subtitles")+"
("+e.lang+")",title:t+"-"+e.langCode,ext:"vtt",format:"VTT",isSubtitle:!
0,langCode:e.langCode,forceDownload:!
0},"srt2url"===e.preprocess&&le.popupMenu.preprocessItem.srt2url(e,s),a.push(s)})
),u.extra&&u.extra.forEach((function(e){s={href:"#"+e.extra,noSize:!0,isHidden:!
1},Object.assign(s,e),e.itag&&Object.keys(i.format).some((function(t){var
n=i.format[t][e.itag];if(n)return Object.assign(s,n),!
0})),e.request&&(s.func=function(t){return
t.preventDefault(),o.a.sendMessage(e.request)}),s.noAudio=!
1,a.push(s)})),a},vimeo:function(e,t){var n,r=[];return e.forEach((function(e){var
o=e.ext;o||(o="mp4",-1!=e.url.search(/\.flv($|\?)/i)&&(o="flv"));var
i=e.height||"",a=e.type;n={href:e.url,title:t,ext:o,format:a,quality:i,forceDownloa
d:!0},r.push(n)})),r},vk:function(e,t){var n,r=[];return e.forEach((function(e){var
o=e.name||e.ext;o&&(o=o.toLowerCase());var
i=o&&o.toUpperCase()||"",a=e.subname||"";n={href:e.url,title:t,ext:o,format:i,quali
ty:a,forceDownload:!0},r.push(n)})),r},dailymotion:function(e,t){var n=[];return
e.forEach((function(e){var r=null;"ummy"===e.extra?
(r={href:e.url,quality:"ummy",noSize:!0,format:"ummy",videoId:e.videoId,sort:
{size:480}},"ummyAudio"===e.type&&(r.uQuality="mp3",r.uIsAudio=!
0)):r={href:e.url,title:t,ext:e.ext,format:e.ext,quality:e.height||"",forceDownload
:!0},n.push(r)})),n},facebook:function(e,t){var n,r=[];return
e.forEach((function(e){var o=e.ext,i=o?
o.toUpperCase():"",a=e.name;n={href:e.url,title:t,ext:o,format:i,quality:a,forceDow
nload:!0},r.push(n)})),r},rutube:function(e)
{if(Array.isArray(e)&&(e=e[0]),"string"==typeof e){var t=[],n=e.match(/\/embed\/(\
d+)/);(n=n&&n[1]||void 0)||(n=(n=e.match(/\/video\/([0-9a-z]+)/))&&n[1]||void
0),/\/\/video\./.test(e)&&(e=e.replace(/\/\/video\./,"//"),n||(n=(n=e.match(/\/(\
d+)$/))&&n[1]||void 0)),n&&(n="rt-"+n);var r=e.replace(/^.*(\/\/.*)$/,"ummy:
$1"),o={href:r,quality:"ummy",noSize:!
0,format:"ummy",itag:"ummy",uQuality:"720",vid:114,videoId:n},i="?";-1!
==r.indexOf(i)&&(i="&");var a={href:r+=i+"sf_type=audio",quality:"ummy",noSize:!
0,format:"ummy",itag:"ummyAudio",uQuality:"mp3",uIsAudio:!
0,vid:114,videoId:n};return t.push(o),t.push(a),t}},mailru:function(e,t){var
n,r=[];return e.forEach((function(e){var
o=e.ext,i=e.name,a=e.subname;n={href:e.url,title:t,ext:o,format:i,quality:a,forceDo
wnload:!0},r.push(n)})),r}},quickInsert:function(e,t,n,r){r=r||{};var
o={},i=function t(n){n&&(n.target===e||e.contains(n.target))||
o.isShow&&(s.style.display="none",k.a.off(document,"mousedown",t),o.isShow=!
1,r.onHide&&r.onHide(s))},a={links:t,button:e,popupId:n,showFileSize:!
0};Object.assign(a,r);var s=le.popupMenu.create(a);return
r.onShow&&r.onShow(s),k.a.off(document,"mousedown",i),k.a.on(document,"mousedown",i
),Object.assign(o,{button:e,isShow:!0,el:s,hide:i,update:function(e,t)
{t&&(a.title=t),a.links=e,le.popupMenu.update(s,a)}})}},frameMenu:
{getBtn:function(e){var
t={verticalAlign:"middle",position:"absolute",zIndex:999,fontFamily:"arial, sans-
serif"};for(var n in e.containerStyle)t[n]=e.containerStyle[n];var
r=e.quickBtnStyleObj||{display:"inline-
block",fontSize:"inherit",height:"22px",border:"1px solid rgba(255, 255, 255,
0.4)",borderRadius:"3px",borderTopRightRadius:0,borderBottomRightRadius:0,paddingRi
ght:0,paddingLeft:"28px",cursor:"pointer",verticalAlign:"middle",position:"relative
",lineHeight:"22px",textDecoration:"none",zIndex:1,color:"#fff"};e.singleBtn&&!
e.quickBtnStyleObj&&(delete r.borderTopRightRadius,delete
r.borderBottomRightRadius);var o={position:"relative",display:"inline-
block",fontSize:"inherit",height:"24px",padding:0,paddingRight:"21px",border:"1px
solid rgba(255, 255, 255,
0.4)",borderLeft:0,borderRadius:"3px",borderTopLeftRadius:"0",borderBottomLeftRadiu
s:"0",cursor:"pointer",color:"#fff",zIndex:0,verticalAlign:"middle",marginLeft:0,bo
xSizing:"border-box",lineHeight:"22px"};for(var n in
e.selectBtnStyle)o[n]=e.selectBtnStyle[n];var i,a=e.quickBtnIcon||S.a.create("i",
{style:{position:"absolute",display:"inline-
block",left:"6px",top:"3px",backgroundImage:"url("+le.svg.getSrc("download","#fffff
f")+")",backgroundSize:"12px",backgroundRepeat:"no-
repeat",backgroundPosition:"center",width:"16px",height:"16px"}}),s=e.selectBtnIcon
||S.a.create("i",{style:{position:"absolute",display:"inline-
block",top:"9px",right:"6px",border:"5px solid
#FFF",borderBottomColor:"transparent",borderLeftColor:"transparent",borderRightColo
r:"transparent"}}),u=S.a.create("div",{id:e.btnId,style:t,on:e.on,append:
[i=S.a.create("a",{class:"sf-quick-btn",style:r,href:"#",append:
[a]}),S.a.create("style",{text:f()({selector:"#"+e.btnId,style:e.nodeCssStyle||
{opacity:.8,display:"none"},append:[{"button::-moz-focus-inner":
{padding:0,margin:0},".sf-quick-btn":e.quickBtnCssStyle||
{backgroundColor:"rgba(28,28,28,0.1)"},".sf-select-btn":
{backgroundColor:"rgba(28,28,28,0.1)"}},{selector:[":hover",".sf-
over"],join:"",style:{opacity:1},append:{".sf-quick-btn":e.quickBtnOverCssStyle||
{backgroundColor:"rgba(0, 163, 80, 0.5)"},".sf-select-btn":
{backgroundColor:"rgba(60, 60, 60, 0.5)"}}},{join:"",".sf-over":{append:{".sf-
select-btn":{backgroundColor:"rgba(28,28,28,0.8)"}}},".sf-show":
{display:"block"}}]})})]}),l=null,c=null;return e.singleBtn||(c=function(e){var
t="object"==typeof e?e:document.createTextNode(e),n=l.firstChild;n===s?
l.insertBefore(t,n):l.replaceChild(t,n)},l=S.a.create("button",{class:"sf-select-
btn",style:o,on:e.onSelectBtn,append:[s]}),u.appendChild(l)),
{node:u,setQuality:c,setLoadingState:function(){c(S.a.create("img",
{src:le.svg.getSrc("info","#ffffff"),style:
{width:"14px",height:"14px",marginLeft:"6px",verticalAlign:"middle",top:"-
1px",position:"relative"}}))},selectBtn:l,quickBtn:i}},getHiddenList:function(e,t)
{var n=le.popupMenu,r=n.createPopupItem("-text-",t).el;S.a.create(r,
{text:o.a.i18n.getMessage("more")+" "+String.fromCharCode(187),style:
{cursor:"pointer"},on:["click",function(){for(var
e,t=this.parentNode.querySelectorAll("*["+n.dataArrtVisible+"]"),r=0;e=t[r];r+
+)e.style.display="block",e.setAttribute(n.dataArrtVisible,1);this.parentNode.remov
eChild(this)}]});var i=document.createDocumentFragment();return
i.appendChild(r),S.a.create(i,
{append:e}),0===t.visibleCount&&k.a.trigger(r,"click",{cancelable:!
0}),i},getMenuContainer:function(e){var
t=le.popupMenu,n=e.button,r=e.popupId,o=S.a.create("div",{style:
{position:"absolute",minHeight:"24px",cursor:"default",textAlign:"left",whiteSpace:
"nowrap",overflow:"auto"}});"#"===r[0]?o.id=r.substr(1):o.classList.add(r);var
i=t.getContent(e);o.appendChild(i.content),setTimeout((function()
{i.sizeIconList.forEach((function(e){k.a.trigger(e,"click",{bubbles:!1,cancelable:!
0})}))}));var a=le.getPosition(n,e.parent),s=le.getSize(n),u=function(e)
{e.stopPropagation()},l=a.top+s.height,c={top:l+"px",maxHeight:document.body.offset
Height-l-40+"px"};return e.leftMenuPos?
c.left=a.left+"px":c.right=document.body.offsetWidth-a.left-
s.width+"px",S.a.create(o,{style:c,on:[["click",u],["mouseover",u],["mouseup",u],
["mousedown",u],["mouseout",u],["wheel",function(e)
{(e.wheelDeltaY>0&&0===this.scrollTop||e.wheelDeltaY<0&&this.scrollHeight-
(this.offsetHeight+this.scrollTop)<=0)&&e.preventDefault()}]],append:
[S.a.create("style",{text:f()({selector:("#"===r[0]?"":".")+r,style:
{display:"none",fontFamily:"arial, sans-
serif",backgroundColor:"rgba(28,28,28,0.8)",zIndex:9999,borderRadius:"4px",fontSize
:"12px",fontWeight:"bold",minWidth:"190px",color:"#fff"},append:[{join:"",".sf-
show":{display:"block"},"::-webkit-scrollbar-track":
{backgroundColor:"#424242"},"::-webkit-scrollbar":
{width:"10px",backgroundColor:"#424242"},"::-webkit-scrollbar-thumb":
{backgroundColor:"#8e8e8e"}},{".sf-menu-item":
{lineHeight:"24px",color:"#fff"},".sf-menu-item:hover":
{backgroundColor:"#1c1c1c"}}]})})]}),o},getMenu:function(e,t,n,r){var
o={links:t,button:e,popupId:n||"#sf-frame-menu",showFileSize:!0,sizeIconStyle:
{color:"#fff"},linkClass:"sf-menu-item",bindUmmyInfoDetails:{posLeft:!
0,widthLimit:480,container:r.container,createUmmyInfoDetails:{posLeft:!
0,darkTheme:!0}},getHiddenListFunc:this.getHiddenList.bind(this)};for(var i in
r)o[i]=r[i];var a=this.getMenuContainer(o);(o.container||
document.body).appendChild(a);var s=function()
{a.parentNode&&a.parentNode.removeChild(a),u.isShow=!
1,o.onHide&&o.onHide()};o.onShow&&o.onShow(a),k.a.off(document,"mousedown",s),k.a.o
n(document,"mousedown",s);var u={isShow:!0,el:a,hide:s,update:function(e){var
t=le.popupMenu,n=a.lastChild;a.textContent="",o.links=e;var
r=t.getContent(o);setTimeout((function(){r.sizeIconList.forEach((function(e)
{k.a.trigger(e,"click",{bubbles:!1,cancelable:!
0})}))})),a.appendChild(r.content),a.appendChild(n)}};return u}},mobileLightBox:
{id:"sf-lightbox",clear:function(){var
e=document.getElementById(le.mobileLightBox.id);null!
==e&&e.parentNode.removeChild(e)},getTitle:function(e){var
t=[];if(t.push(e.format||"???"),e.quality){var n=e.quality;e.sFps&&(n+=" "+(e.fps||
60)),t.push(n)}return
e["3d"]&&t.push("3D"),e.noAudio&&t.push(o.a.i18n.getMessage("withoutAudio")),t.join
(" ")},createItem:function(e){var t=le.mobileLightBox,n=S.a.create("a",{style:
{display:"block",marginBottom:"6px",border:"solid 1px
#d3d3d3",lineHeight:"36px",minHeight:"36px",background:"#f8f8f8",verticalAlign:"mid
dle",fontSize:"15px",textAlign:"center",color:"#333",borderRadius:"2px",overflow:"h
idden",position:"relative"}}),r="";if(e.title){var o=(e.ext||
e.format||"").toLowerCase();o&&(o="."+o),r=M.a.modify(e.title+o)}if("string"==typeo
f e)return
n.textContent=e,n;if(n.href=e.href,n.download=r,n.textContent=t.getTitle(e),n.addEv
entListener("click",(function(t){e.func&&e.func(t),"muxer"!
==e.itag&&e.forceDownload&&le.downloadOnClick(t,null,
{el:this})})),e.isHidden&&(n.classList.add("isOptional"),n.style.display="none"),!
e.noSize){var
i=le.getFileSizeIcon({cssFloat:"right",lineHeight:"36px",fontSize:"75%",marginRight
:"10px"},{padding:"10px",verticalAlign:"middle",lineHeight:0},
{width:"16px",height:"16px"},{url:e.href});n.appendChild(i.node)}return
n},getItems:function(e){var t=le.mobileLightBox;if("string"==typeof e)return{list:
[t.createItem(e)],hiddenCount:0};for(var n,r=[],o=0;n=e[o];o++)
["ummy","televzr"].includes(n.quality)||n.extra||
r.push({el:t.createItem(n),prop:n});r=le.popupMenu.sortMenuItems(r);var
i=[],a=[];for(o=0;n=r[o];o++)n.prop.isHidden?
a.push(n.el):i.push(n.el);return{list:i.concat(a),hiddenCount:a.length}},show:funct
ion(e){var
t,n=le.mobileLightBox,r=window.pageYOffset,i=window.innerHeight,a=parseInt(i/
100*15),s=void 0,u=function(e){return i-46*(e?2:1)-2*a},l=function(e)
{e.hiddenCount>0?(s.style.height=u(1)+"px",t.style.display="block"):
(t.style.display="none",s.style.height=u(0)+"px"),e.hiddenCount===e.list.length&&c(
t)},c=function(e){var
t="none",n=e.parentNode.querySelectorAll(".isOptional");"open"!==e.dataset.state?
(e.dataset.state="open",e.textContent=o.a.i18n.getMessage("more")+"
"+String.fromCharCode(171),t="block"):
(e.dataset.state="close",e.textContent=o.a.i18n.getMessage("more")+"
"+String.fromCharCode(187));for(var r,i=0;r=n[i];i+
+)r.style.display=t},d=document.getElementById(n.id);null!
==d&&d.parentNode.removeChild(d);var f=window.innerWidth;f=f<=250?"90%":"70%",e&&0!
==e.length||(e=o.a.i18n.getMessage("noLinksFound"));var
p=n.getItems(e),m=S.a.create("div",{id:n.id,style:
{position:"absolute",top:0,left:0,width:"100%",zIndex:9e3,height:document.body.scro
llHeight+"px",background:"rgba(0,0,0,0.85)",textAlign:"center",boxSizing:"content-
box"},on:[["click",function(e){e.preventDefault(),v()}]],append:S.a.create("div",
{style:{display:"inline-block",width:f,backgroundColor:"#eee",height:i-
2*a+"px",marginTop:a+r+"px",borderRadius:"4px",padding:"8px",position:"relative",bo
xSizing:"content-box"},append:[s=S.a.create("div",{style:
{overflowY:"auto",marginBottom:"6px"},append:p.list,on:["touchmove",function(e)
{e.stopPropagation()}]}),t=S.a.create(n.createItem(o.a.i18n.getMessage("more")+"
"+String.fromCharCode(187)),{href:"#",on:["click",function(e)
{e.preventDefault(),c(this)}]}),S.a.create(n.createItem(o.a.i18n.getMessage("close"
)),{style:{marginBottom:0},on:["click",function(e){e.preventDefault(),v()}]})],on:
["click",function(e)
{e.stopPropagation()}]})});l(p),document.body.appendChild(m);var
h=document.body.scrollTop,g={},v=function()
{g.isShow&&(document.body.scrollTop=h,g.hide())};return Object.assign(g,{isShow:!
0,el:m,hide:function(){m.parentNode&&m.parentNode.removeChild(m),g.isShow=!
1},close:v,update:function(e){if(null!==m.parentNode){e&&0!==e.length||
(e=o.a.i18n.getMessage("noLinksFound")),s.textContent="";var
t=n.getItems(e);S.a.create(s,{append:t.list}),l(t)}}})}},bridge:function(e)
{e.args=e.args||[],void 0===e.timeout&&(e.timeout=300);var t="sf-
bridge-"+parseInt(1e3*Math.random())+"-"+Date.now();window.addEventListener("sf-
bridge-"+t,(function n(r){var o;window.removeEventListener("sf-
bridge-"+t,n),o=r.detail?JSON.parse(r.detail):void 0,e.cb(o)}));var
n='(function(func,args,scriptId,timeout){/* fix */var
node=document.getElementById(scriptId);if(node)
{node.parentNode.removeChild(node)}var fired=false;var done=function done(data)
{if(fired){return}fired=true;var event=new CustomEvent("sf-bridge-"+scriptId,
{detail:JSON.stringify(data)});window.dispatchEvent(event)};timeout&&setTimeout(fun
ction(){done()},timeout);args.push(done);func.apply(null,args)})('+
[e.func.toString(),JSON.stringify(e.args),JSON.stringify(t),parseInt(e.timeout)].jo
in(",")+");";o.a.isSafari&&(n=n.replace("/* fix */",'(function()
{"undefined"==typeof CustomEvent&&(CustomEvent=function CustomEvent(e,t){t=t||
{bubbles:!1,cancelable:!1};var o=document.createEvent("CustomEvent");return
o.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),o},CustomEvent.prototype=windo
w.Event.prototype)})();'));var r=S.a.create("script",
{id:t,text:n});document.body.appendChild(r)},openMediaOnSaveFrom:function(e)
{window.open("https://ru.savefrom.net/
#url="+e,"_blank")},TutorialTooltip:function(e){var
t=this;this.details={btnTopOffset:-
3,btnLeftOffset:0},Object.assign(this.details,e),this.onResize=this.onResize.bind(t
his),this.onResizeDebouce=c()
(this.onResize,250),this.onClose=this.onClose.bind(this),this.target=e.target,"1"!
==this.target.dataset.sfHasTooltip&&(this.target.dataset.sfHasTooltip="1",this.tool
tipNode=this.getNode(),this.target.addEventListener("mouseup",this.onClose),this.ta
rget.addEventListener(k.a.onRemoveEventName,(function()
{t.onClose&&t.onClose(1)})),window.addEventListener("resize",this.onResizeDebouce),
this.onResize(),(e.parent||
document.body).appendChild(this.tooltipNode))}};le.TutorialTooltip.prototype.getNod
e=function(){var e=this,t=function(){var e=1e3,t=document.getElementById("masthead-
positioner"),n=t&&window.getComputedStyle(t,null);return
n&&(e=parseInt(n.getPropertyValue("z-index"))+1),e}();return S.a.create("div",
{class:"sf-tooltip",on:["mouseup",function(e){e.stopPropagation()}],append:
[S.a.create("span",{style:{display:"inline-block",border:"8px solid
transparent",borderRight:"10px solid
#4D4D4D",borderLeft:0,width:0,top:"8px",left:"0px",position:"absolute"}}),S.a.creat
e("span",{style:{display:"inline-
block",backgroundColor:"#4D4D4D",marginLeft:"10px",padding:"10px
10px",maxWidth:"220px",minWidth:"220px",lineHeight:"16px",fontSize:"14px",fontFamil
y:"font-family: arial, sans-serif",color:"#fff"},append:[S.a.create("p",{style:
{margin:0},append:I()(o.a.i18n.getMessage("tutorialTooltipText"))}),S.a.create("a",
{class:"sf-button",text:"OK",style:{display:"inline-
block",textAlign:"center",textDecoration:"none",padding:"0
10px",cssFloat:"right",marginTop:"5px",lineHeight:"20px",borderRadius:"3px",fontSiz
e:"12px",color:"#fff",fontWeight:"bolder",backgroundColor:"#167AC6",cursor:"pointer
"},on:["click",function(t)
{t.preventDefault(),e.onClose&&e.onClose()}]}),S.a.create("style",{text:f()({".sf-
tooltip":{position:"absolute",zIndex:t+2,append:{".sf-button:hover":
{backgroundColor:"#126db3 !important"},".sf-button:active":
{opacity:.9}}}})})]})]})},le.TutorialTooltip.prototype.onClose=function(e)
{e&&"mouseup"===e.type&&(e=null),this.tooltipNode&&(this.tooltipNode.parentNode&&th
is.tooltipNode.parentNode.removeChild(this.tooltipNode),this.tooltipNode=null),wind
ow.removeEventListener("resize",this.onResizeDebouce),this.target.removeEventListen
er("mouseup",this.onClose),this.onClose=null,e||
this.details.onClose&&this.details.onClose()},le.TutorialTooltip.prototype.onResize
=function(){var e=this.target;if(!e.offsetParent||!e.parentNode)return
this.onClose&&this.onClose(1);var
t=le.getPosition(e,this.details.parent),n=t.top+this.details.btnTopOffset,r=t.left+
t.width+this.details.btnLeftOffset;this.tooltipNode.style.top=n+"px",this.tooltipNo
de.style.left=r+"px"},le.mutationWatcher={getMutationObserver:function(){return D()
()},isAvailable:function(){return!!
this.getMutationObserver()},disconnect:function(e)
{e.observer.disconnect()},connect:function(e)
{e.observer.observe(e.target,e.config)},joinMutations:function(e){for(var
t,n,r,o,i,a,s=[],u=[],l={};r=e.shift();){for(-
1===(a=u.indexOf(r.target))&&(l[a=u.push(r.target)-1]={target:r.target,added:
[],removed:[]}),t=l[a],n=void 0,o=0;i=r.addedNodes[o];o+
+)1===i.nodeType&&(t.added.push(i),n=!0);for(o=0;i=r.removedNodes[o];o+
+)1===i.nodeType&&(t.removed.push(i),n=!0);void 0!==n&&void
0===t.inList&&(t.inList=!0,s.push(t))}return s},isMatched:F.a,match:function(e,t,n)
{var r,o,i,a,s=this,u=e.queries,l=!1;return["added","removed"].forEach((function(e)
{var c=n[e];for(a=0;r=c[a];a++)for(o=0;i=u[o];o++)if(void 0===i.is||i.is===e){var
d=t[o][e];!0===s.isMatched(r,i.css)?
d.push(r):d.push.apply(d,r.querySelectorAll(i.css)),!1===l&&(l=void 0!
==d[0])}})),l},filterTarget:function(e,t){var n,r;for(n=0;r=e[n];n++)if(!
0===this.isMatched(t,r.css))return!0;return!1},run:function(e){var
t=this,n={config:{childList:!0,subtree:!0},target:document.body,filterTarget:
[]};Object.assign(n,e),n._disconnect=this.disconnect.bind(this,n),n._connect=this.c
onnect.bind(this,n),n._match=this.match.bind(this,n);for(var
r=[],o=0;o<n.queries.length;o++)r.push({added:[],removed:
[]});r=JSON.stringify(r);var i=this.getMutationObserver();return n.observer=new
i((function(e){var o=t.joinMutations(e);if(0!==o.length){for(var i,a=!
1,s=JSON.parse(r);i=o.shift();)!1===t.filterTarget(n.filterTarget,i.target)&&!
0===n._match(s,i)&&(a=!0);!0===a&&n.callback(s)}})),n.trigger=function(e){var t=!
1,o=JSON.parse(r),i={added:[e],removed:[]};n._match(o,i)&&(t=!0),!
0===t&&n.callback(o)},n.start=function()
{n._disconnect(),n._connect(),n.trigger(n.target)},n.stop=function()
{n._disconnect()},n.start(),n}},le.mutationAttrWatcher={isAvailable:function()
{return!!le.mutationWatcher.getMutationObserver()},disconnect:function(e)
{e.observer.disconnect()},connect:function(e)
{e.observer.observe(e.target,e.config)},run:function(e){var t={config:{attributes:!
0,childList:!1,attributeOldValue:!
0},target:document.body};Object.assign(t,e),Array.isArray(t.attr)||
(t.attr=[t.attr]),t.config.attributeFilter=t.attr,t._disconnect=this.disconnect.bin
d(this,t),t._connect=this.connect.bind(this,t);for(var n=[],r=0;r<t.attr.length;r+
+)n.push({});n=JSON.stringify(n);var
o=le.mutationWatcher.getMutationObserver();return t.observer=new o((function(e)
{for(var r,o=!1,i=JSON.parse(n);r=e.shift();){var
a=t.attr.indexOf(r.attributeName);if(-1!==a){var
s=r.target.getAttribute(r.attributeName);s!
==r.oldValue&&(i[a]={value:s,oldValue:r.oldValue},o=!0)}}!
0===o&&t.callback(i)})),t.start=function(){t._disconnect(),t._connect();for(var
e,r=!1,o=JSON.parse(n),i=0;e=t.attr[i];i++){var a=t.target.getAttribute(e);null!
==a&&(o[i]={value:a,oldValue:null},r=!0)}!0===r&&t.callback(o)},t.stop=function()
{t._disconnect()},setTimeout((function()
{t.start()})),t}},le.waitNodesBySelector=function(e){var t=arguments.length>1&&void
0!==arguments[1]?arguments[1]:{},n=!1,r=null,o=Promise.resolve().then((function()
{var o=t.target||
document.body,i=le.mutationWatcher.getMutationObserver(),a=null,s=null,u=new
Promise((function(e,t){a=e,s=t})),l=null;t.timeout>0&&(l=setTimeout((function()
{r&&r()}),t.timeout));var c=[],d=new i((function(t){var n,r;for(n=0;n<t.length;n++)
{var o=t[n];for(r=0;r<o.addedNodes.length;r++){var
i=o.addedNodes[r];1===i.nodeType&&(F()(i,e)?
c.push(i):c.push.apply(c,i.querySelectorAll(e)))}}c.length&&a(c)}));return
d.observe(o,{childList:!0,subtree:!0}),r=function(){r=null,s(new
Error("ABORTED"))},c.push.apply(c,o.querySelectorAll(e)),c.length&&a(c),n&&r&&r(),u
.then((function(e){return d.disconnect(),clearTimeout(l),e}),(function(e){throw
d.disconnect(),clearTimeout(l),e}))}));return o.abort=function(){n=!
0,r&&r()},o},t.a=function(e){return ue=e,le}},function(e,t)
{e.exports=n(50)},function(e,t){e.exports=n(82)},function(e,t)
{e.exports=n(34)},function(e,t,n){var r=n(0);t.a=function(e){return new
Promise((function(t){r.a.sendMessage(e,t)}))}},function(e,t)
{e.exports=n(29)},function(e,t){e.exports=n(11)},function(e,t)
{e.exports=n(59)},function(e,t){e.exports=n(85)},function(e,t)
{e.exports=n(60)},function(e,t){e.exports=n(44)},function(e,t)
{e.exports=n(86)},function(e,t){e.exports=n(51)},function(e,t)
{e.exports=n(61)},function(e,t){e.exports=n(25)},function(e,t)
{e.exports=n(35)},function(e,t,n){n.d(t,"c",(function(){return y})),n.d(t,"d",
(function(){return A})),n.d(t,"e",(function(){return k})),n.d(t,"b",(function()
{return w})),n.d(t,"a",(function(){return x}));var
r=n(0),o=n(3),a=n.n(o),s=n(54),u=n.n(s),l=n(44),c=n(36),d=n(79),f=n(27),p=n.n(f),m=
n(25),h=n.n(m),v=a.a.memo((function(e){var
t=e.disable,n=e.title,o=e.badge,i=e.filename,s=e.provider,f=e.endpoint,m=e.onDownlo
ading,v=e.onDownloaded,y=a.a.useState(!1),A=Object(g.a)
(y,2),k=A[0],w=A[1],x=a.a.useState(0),_=Object(g.a)
(x,2),S=_[0],C=_[1],I=a.a.useState(""),O=Object(g.a)
(I,2),M=O[0],L=O[1],E=a.a.useState(""),P=Object(g.a)
(E,2),j=P[0],T=P[1],D=a.a.useState(""),N=Object(g.a)(D,2),F=N[0],B=N[1],R=h()
(u.a),q=a.a.useCallback((function(){if(!t){var e=l[s];if(void 0===e)throw new
Error("Download provider "+s+" not found.");e(i,f).then((function(e){var
t=e.behavior,n=void 0===t?null:t;n&&(w(!0),U("💡
"+r.a.i18n.getMessage("doNotClosePage"),1e4),m(),n.on(c.DOWNLOADING_EVENT,
(function(e){var t=e.detail;return Object(d.throttle)(500,(function(){return
C(t.progress)}))})),n.on(c.DOWNLOADED_EVENT,z))}))}}),
[]),z=a.a.useCallback((function(){v(),C(0),w(!1),U("💡
"+r.a.i18n.getMessage("completed")+"✨",3e3)}),[]),U=a.a.useCallback((function(e,t)
{L(t),B(!0),T(e)}),[]),V=a.a.useCallback((function(){return B(!1)}),[]);return
a.a.createElement("div",{onClick:q,className:p()
(R.item,t&&R.itemDisable)},a.a.createElement("div",null,n),o&&a.a.createElement("di
v",{className:R.badge},o),a.a.createElement(b,
{show:F,className:R.tooltip,text:j,onHide:V,liveTime:M}),k&&a.a.createElement("div"
,{className:R.downloadBar,style:{display:"block",width:S+"%"}}))})),b=function(e)
{var
t=e.liveTime,n=e.text,r=e.onHide,o=e.show,i=e.className;if(a.a.useMemo((function()
{return setTimeout(r,t)}),[n]),o)return a.a.createElement("div",
{className:i},n)},y="matchtv",A="twitch",k="vk",w=a.a.memo((function(e){var
t=e.items,n=void 0===t?[]:t,o=e.theme,s=e.children,l=h()(u.a),c=a.a.useState(!
1),d=Object(g.a)(c,2),f=d[0],m=d[1],b=a.a.useState(!1),w=Object(g.a)
(b,2),x=w[0],_=w[1],S=a.a.useRef(),C=a.a.useRef(),I=a.a.useRef(),O=a.a.useMemo((fun
ction(){var e;return(e={},Object(i.a)(e,A,l.themeTwitch),Object(i.a)
(e,k,l.themeVk),Object(i.a)(e,y,l.themeMatchtv),e)[o]}),
[o]),M=a.a.useCallback((function(){m((function(e){return!e}))}),
[]),L=a.a.useCallback((function(){_(!0)}),[]),E=a.a.useCallback((function(){_(!
1)}),[]);return a.a.useEffect((function(){var e=function(e){var
t=e.target===S.current||S.current.contains(e.target),n=e.target===C.current;t||n||!
I.current.classList.contains(l.show)||M()};return
document.addEventListener("click",e),function()
{document.removeEventListener("click",e)}}),[]),a.a.createElement("div",
{ref:S,className:O},a.a.createElement("div",
{ref:C,onClick:M},s),a.a.createElement("div",{ref:I,className:p()
(l.itemContainer,f?l.show:l.hide)},!n.length&&a.a.createElement("div",
{className:l.message},r.a.i18n.getMessage("noLinksFound")),n.map((function(e)
{return a.a.createElement(v,
{disable:x,filename:e.filename,badge:e.badge,endpoint:e.endpoint,title:e.title,prov
ider:e.provider,onDownloading:L,onDownloaded:E})}))))})),x=function(e){return
a.a.createElement("div",null,e.children)}},,function(e,t)
{e.exports=n(12)},,function(e,t){e.exports=n(18)},function(e,t,n){n.d(t,"a",
(function(){return c}));var r=n(0),i=n(12),u=n(6),l=n.n(u),c=function(){function
e(){Object(a.a)(this,e),this.active=1,this.utils=void 0,this.settings=void
0,this.cache=d}var t;return Object(s.a)(e,[{key:"start",value:(t=Object(o.a)
(m.a.mark((function e(){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next)
{case 0:return e.next=2,r.a.callFn("getPreferences");case
2:this.settings=e.sent,this.utils=Object(i.a)
({preferences:this.settings}),this.defaultListeners(),this.init&&this.init();case
6:case"end":return e.stop()}}),e,this)}))),function(){return
t.apply(this,arguments)})},{key:"defaultListeners",value:function(){var
e=this;document.addEventListener("file.download",(function(t){var
n=t.detail;e.utils.download(n.filename,n.downloadURL)}))}},
{key:"initObserver",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:[];this.observer=new l.a({queries:e.map((function(e)
{return{css:e.selector,callback:e.handle.bind(e),is:e.type}}))}),this.observer.star
t()}},{key:"appendStyle",value:function(e){var
t=document.createElement("style");t.textContent=e,document.body.appendChild(t)}}]),
e}(),d=function(){function e(){Object(a.a)(this,e)}return Object(s.a)(e,null,
[{key:"set",value:function(e,t,n)
{localStorage.setItem(e,JSON.stringify({val:t,expires:n?Date.now()+60*n*1e3:-
1}))}},{key:"get",value:function(e){var t=localStorage.getItem(e);if(!t)return
null;var n=JSON.parse(t),r=n.val,o=n.expires;return r&&-1===o||o>Date.now()?
r:null}}]),e}()},function(e,t){e.exports=n(87)},,function(e,t)
{e.exports=n(20)},function(e,t){e.exports=n(45)},,function(e,t)
{e.exports=n(26)},function(e,t){e.exports=n(27)},function(e,t,n){var
o=n(9),i=n.n(o),a=n(24),s=n.n(a),u=n(58),l=n(3),c=n.n(l),d=n(2),f=n.n(d),p=n(0),m=i
()("downloader:providers"),h=function(e){var t=arguments.length>1&&void 0!
==arguments[1]?arguments[1]:"",n=t?"".concat(t,"-converter"):"unknown-
converter",r={ec:n};e.on("run",(function(e){m.info(n,"Send analytics run
downloader."),p.a.sendMessage({action:"trackConverterStat",params:S({ea:"init-
converter",el:"true"},r)})})),e.on("completed",(function(e){m.info(n,"Send
analytics downloader
completed."),p.a.sendMessage({action:"trackConverterStat",params:S({ea:"completed-
converter",el:"true"},r)})})),e.on("error",(function(t){e.sendError||
(m.info(n,"Send analytics error downloader -
"+t.message),p.a.sendMessage({action:"trackConverterStat",params:S({ea:"error-
converter",el:t.message,cd3:location.href},r)}),e.sendError=!
0)}))},v=n(4),b=n(74),y=n.n(b),A=n(75),k=n.n(A),w=n(27),x=n.n(w),_=n(76),C=n.n(_),I
=n(25),O=n.n(I),M={margin:"0
auto",width:"92%"},L={fontWeight:"bold"},E={position:"absolute",top:0,textAlign:"ce
nter",width:"92%",lineHeight:"18px"},P=function(e){var
t=e.title,n=e.format,r=e.status,o=e.progress,i=e.progressStatus,a=e.onClickCancel,s
=e.error,u=e.convertType,l=O()(C.a),d=c.a.useState(!1),m=Object(g.a)
(d,2),h=m[0],v=m[1],b=c.a.useCallback((function(){v(!1)}),
[]),y=c.a.useCallback((function(){v(!0)}),[]),A=c.a.useMemo((function()
{return{width:o+"%"}}),[o]);return c.a.createElement("div",{className:x()
(l.whiteTheme,f.a.onRemoveClassName)},c.a.createElement("div",{className:x()
(l.ffDownloader,h&&l.minimize)},c.a.createElement("div",
{className:l.container},c.a.createElement("div",
{className:l.header},p.a.i18n.getMessage("downloadInfo"),c.a.createElement("div",
{className:l.minimizeBtn,onClick:a},"X"),c.a.createElement("div",
{className:l.minimizeBtn,onClick:y},"_")),s&&c.a.createElement("div",
{className:l.error},"Error: ",s.message," "),!
s&&c.a.createElement("div",null,c.a.createElement("div",
{className:l.fileInfo},c.a.createElement("div",null,c.a.createElement("span",
{style:L},"Filename: "),"
",t),c.a.createElement("div",null,c.a.createElement("span",{style:L},"Format: "),"
",n.toUpperCase()),c.a.createElement("div",{className:l.notice},"💡
"+p.a.i18n.getMessage("doNotClosePage"))),c.a.createElement("div",
{className:l.footer,onClick:h&&b},c.a.createElement("div",
{style:M},c.a.createElement("div",{className:l.loadingBar},c.a.createElement("div",
{className:l.progressBar,style:A}),c.a.createElement("div",{style:E},"hls"!==u?
i:"")),c.a.createElement("div",{className:l.status},c.a.createElement("div",
{className:l.state},r),c.a.createElement("div",
{className:l.percentage},o,"%"))))))))};try{var j=requestAnimationFrame((function()
{}));cancelAnimationFrame(j)}catch(e)
{v.options.requestAnimationFrame=setTimeout}var T=i()
("MediaMuxer"),D="PREPARE",N="CONVERTING",F="DOWNLOADED",B="INFINITE",R="FINITE",q=
c.a.memo((function(e){var
t=e.sources,n=e.filename,o=e.format,i=e.unmountLayer,a=e.convertType,l=c.a.useState
(null),d=Object(g.a)(l,2),p=d[0],m=d[1],v=c.a.useState(!1),b=Object(g.a)
(v,2),A=(b[0],b[1]),w=c.a.useState("Loading..."),x=Object(g.a)
(w,2),_=x[0],S=x[1],C=c.a.useState(D),I=Object(g.a)
(C,2),O=(I[0],I[1]),M=c.a.useState(0),L=Object(g.a)
(M,2),E=L[0],j=L[1],q=c.a.useState(""),z=Object(g.a)
(q,2),U=z[0],V=z[1],H=c.a.useState(B),W=Object(g.a)
(H,2),G=(W[0],W[1]),Q=c.a.useRef();c.a.useEffect((function(){function e()
{i()}return f.a.onRemoveEvent(Q.current,e),function()
{f.a.offRemoveEvent(Q.current,e)}}),[]),c.a.useEffect((function(){var e,i={run:
[],completed:[],error:[]},l=function(e,t){return i[e].forEach((function(e){return
e(t)}))};h({on:function(e,t){i[e]&&i[e].push(t)}},"youtube-merge");var c=!0,d=new
u.a(Q.current);d.onProgress=function(e,t){c&&(j(Math.trunc(100*e)),
[R,B].includes(t)&&G(t))},d.onProgressStatus=function(e)
{c&&V(e)},d.onStatus=function(e,t){c&&(S(e),
[D,N,F].includes(t)&&O(t))},l("run");var f=k()(),p=y()
();return(e=d.init().then((function(){return"hlsToMp3"===a?
d.hlsToMp3(t,n):d.join(t,n,o)})).then((function(){if(c)return
d.download()})).then((function(){l("completed"),c&&(A(!0),S("Complete"),O(F))}),
(function(e){l("error",e),c&&(T.error("Join
error",e),m(e))}))).then.apply(e,Object(r.a)(s()((function(){f(),p(),c&&A(!
0)})))),function(){c=!1,f(),p(),d.destroy()}}),[]);var
Y=c.a.useCallback((function(){i()}),[]);return c.a.createElement("div",
{ref:Q},c.a.createElement(P,
{title:n,format:o,status:_,progress:E,progressStatus:U,onClickCancel:Y,error:p,conv
ertType:a}))}));t.a=q},function(e,t){e.exports=n(141)},function(e,t)
{e.exports=n(40)},function(e,t){e.exports=n(57)},,function(e,t)
{e.exports=n(89)},,function(e,t){e.exports=n(90)},,,,,function(e,t)
{e.exports=n(23)},function(e,t,n){var
r=n(37),o=n(96);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var
i,a=0,s={injectType:"lazyStyleTag",insert:"head",singleton:!
1},u={};u.locals=o.locals||{},u.use=function(){return a++||
(i=r(o,s)),u},u.unuse=function(){a>0&&!--
a&&(i(),i=null)},e.exports=u},,,function(e,t){e.exports=n(91)},function(e,t,n){var
o=n(0),i=n(70),u=n.n(i),l=n(71),c=n.n(l),d=n(72),f=n.n(d),p=n(48),m=n(59),g=n.n(m),
v=n(62),b=n.n(v),y=n(24),A=n.n(y),k=n(73),w=n.n(k);t.a=function(){function e(t){var
n=this;Object(a.a)(this,e),this.frameListener=function(e)
{if(n.frame&&e.source===n.frame.contentWindow){var
t=e.data;t&&n.onMessage(e,t)}},this.frameCtr=t,this.frame=null,this.isLoaded=!
1,this.destroyed=!1,this.messageStack=[],this.onDestroy=[],this.requestPrefix=w()
(),this.initTransport(),this.onDestroy.push(g()((function(){var e=function(){return
o.a.callFn("clearRequestByPrefix",[n.requestPrefix])};return
window.addEventListener("unload",e),function()
{window.removeEventListener("unload",e)}})))}return Object(s.a)(e,
[{key:"onProgress",value:function(e,t){}},{key:"onProgressStatus",value:function(e)
{}},{key:"onStatus",value:function(e,t){}},{key:"download",value:function(){return
this.transport.callFn("download")}},{key:"join",value:function(e,t,n){return
this.transport.callFn("join",[{sources:e,filename:t,format:n}])}},
{key:"hlsToMp3",value:function(e,t){return this.transport.callFn("hlsToMp3",
[{sources:e,filename:t}])}},{key:"initTransport",value:function(){var
e=this,t=this;this.transport=new u.a({onMessage:function(e)
{t.onMessage=e},sendMessage:function(e)
{t.postMessage(e)}},this.getScope()),this.transport.onMessage((function(t,n,r)
{switch(t.action)
{case"progress":e.onProgress(t.progress,t.type);break;case"progressStatus":e.onProg
ressStatus(t.status);break;case"status":e.onStatus(t.status,t.code)}}))}},
{key:"getScope",value:function(){var e=this;return{createFetchInstance:function(t)
{var n=t.url,o=t.options,i=Object(p.instanceCreate)((function(){a();var
t=function(e,t){var n=t||{},r=n.responseStatus,o=n.responseOk,i=void 0===o||
o,a=n.responseType,s=void 0===a?"text":a,u=(n.requestPrefix,Object(h.a)(n,
["responseStatus","responseOk","responseType","requestPrefix"])),l=null;u.signal={a
borted:!1,addEventListener:function(e,t){"abort"===e&&(l=t)}};var d=f()
(e,u).then((function(e){if(i&&!e.ok||r&&r!==e.status)throw new c.a(e);var t={};
["ok","redirected","status","statusText","type","url"].forEach((function(n)
{t[n]=e[n]}));var n={};return e.headers.forEach((function(e,t)
{n[t]=e})),t.headers=n,e[s]().then((function(e)
{return{response:t,body:e}}))}));return d.abort=function(){l&&l()},d}(n,S(S({},o),
{},{requestPrefix:e.requestPrefix}));return t.then.apply(t,Object(r.a)(A()(g()
((function(){function n(){t.abort()}return e.onDestroy.push(n),function(){return
b()(e.onDestroy,n)}}))))),t}),["abort"]),a=g()((function(){function t()
{Object(p.instanceDestroy)(i.id)}return e.onDestroy.push(t),function(){return b()
(e.onDestroy,t)}}));return i},instanceInit:function(e){var t=e.id;return
Object(p.instanceInit)(t)},instanceCallFn:function(e){var
t=e.id,n=e.path,r=e.args;return Object(p.instanceCallFn)(t,n,r)}}}},
{key:"onMessage",value:function(){throw new Error("onMessage is not set")}},
{key:"init",value:function(){var e=this;return new Promise((function(t,n)
{e.destroyFrame(),window.addEventListener("message",e.frameListener);var
r=e.frame=document.createElement("iframe");r.src="https://sf-helper.com/static/
joiner2/
frame2.html",r.style.position="absolute",r.style.height="0px",r.style.width="0px",r
.style.top="-9999px",r.style.left="-9999px",r.onload=function()
{r.onload=r.onerror=null,e.isLoaded=!0;var o=setTimeout((function(){n(new
Error("Load frame timeout"))}),3e4);try{e.transport.sendMessage({action:"ping"},
(function(){clearTimeout(o),t()}))}catch(e){n(e)}},r.onerror=function()
{r.onload=r.onerror=null,n(new Error("Load frame
error"))},e.frameCtr.appendChild(r)})).then((function()
{for(;e.messageStack.length;)e.postMessage(e.messageStack.shift())}))}},
{key:"postMessage",value:function(e){if(!this.destroyed)if(this.isLoaded){if(!
this.frame.contentWindow)throw new Error("Window is
closed");this.frame.contentWindow.postMessage(e,"*")}else
this.messageStack.push(e)}},{key:"destroyFrame",value:function()
{window.removeEventListener("message",this.frameListener),this.frame&&this.frame.pa
rentNode&&this.frame.parentNode.removeChild(this.frame)}},
{key:"destroy",value:function(){this.destroyed=!
0,this.destroyFrame(),this.onDestroy.splice(0).forEach((function(e){return
e()}))}}]),e}()},function(e,t){e.exports=n(92)},,function(e,t)
{e.exports=n(93)},function(e,t){e.exports=n(94)},,,,,function(e,t)
{e.exports=n(95)},function(e,t){e.exports=n(62)},function(e,t)
{e.exports=n(96)},function(e,t){e.exports=n(97)},function(e,t)
{e.exports=n(99)},function(e,t){e.exports=n(100)},function(e,t)
{e.exports=n(53)},function(e,t){e.exports=n(142)},function(e,t)
{e.exports=n(101)},function(e,t,n){var
r=n(37),o=n(91);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var
i,a=0,s={injectType:"lazyStyleTag",insert:"head",singleton:!
1},u={};u.locals=o.locals||{},u.use=function(){return a++||
(i=r(o,s)),u},u.unuse=function(){a>0&&!--
a&&(i(),i=null)},e.exports=u},function(e,t,n){var
r=n(37),o=n(92);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var
i,a=0,s={injectType:"lazyStyleTag",insert:"head",singleton:!
1},u={};u.locals=o.locals||{},u.use=function(){return a++||
(i=r(o,s)),u},u.unuse=function(){a>0&&!--
a&&(i(),i=null)},e.exports=u},,function(e,t)
{e.exports=n(102)},,,,,,,,,,,,function(e,t,n){n.r(t);var r=n(22),o=n.n(r)()(!
1);o.push([e.i,"._32xf1--dark-theme .IA4ff--ff-
downloader{background:rgba(30,30,30,.93);border:1px solid rgba(82,82,82,.54);box-
shadow:0 4px 7px rgba(30,30,30,.55);color:#fff}._32xf1--dark-theme .IA4ff--ff-
downloader ._3G6_K--header ._2zlr0--minimize-btn{background:#3d4b52}._32xf1--dark-
theme .IA4ff--ff-downloader ._3G6_K--header ._2zlr0--minimize-
btn:hover{background:#131415}._32xf1--dark-theme .IA4ff--ff-downloader ._35EDl--
footer{background:rgba(30,30,30,.93)}._30yKM--white-theme .IA4ff--ff-
downloader ._3G6_K--header{font-weight:700}._30yKM--white-theme .IA4ff--ff-
downloader{background:#fff;border:1px solid rgba(82,82,82,.54);box-shadow:0 4px 7px
rgba(30,30,30,.55);color:#314c75}._30yKM--white-theme .IA4ff--ff-
downloader ._2q8i4--container ._1Gxfa--
notice{border:0;color:rgba(0,0,0,.88)}._30yKM--white-theme .IA4ff--ff-
downloader ._35EDl--footer{background:#fff}.IA4ff--ff-
downloader{display:block;overflow:hidden;position:fixed;bottom:20px;right:7.1%;widt
h:330px;height:180px;background:rgba(30,30,30,.93);border-radius:2px;color:#fff;z-
index:99999999;border:1px solid rgba(82,82,82,.54);box-shadow:0 4px 7px
rgba(30,30,30,.55);transition:.5s}.IA4ff--ff-downloader._3MGKz--
minimize{height:62px}.IA4ff--ff-downloader._3MGKz--minimize .EyOru--file-
info,.IA4ff--ff-downloader._3MGKz--minimize ._3G6_K--header{display:none}.IA4ff--
ff-downloader ._3G6_K--header{padding:10px;font-size:17px;font-family:sans-
serif}.IA4ff--ff-downloader ._3G6_K--header ._2zlr0--minimize-
btn{float:right;background:#f1ecec;height:20px;width:20px;text-
align:center;padding:2px;margin-top:-10px;cursor:pointer}.IA4ff--ff-
downloader ._3G6_K--header ._2zlr0--minimize-btn:hover{background:#e2dede}.IA4ff--
ff-downloader ._1E_Fg--error{color:red;padding:10px;font-size:12px;line-
height:19px}.IA4ff--ff-downloader ._2q8i4--
container{position:relative;height:100%}.IA4ff--ff-downloader ._2q8i4--
container .EyOru--file-info{padding:6px 15px 0;font-family:sans-serif}.IA4ff--ff-
downloader ._2q8i4--container .EyOru--file-info div{margin-
bottom:5px;width:100%;overflow:hidden}.IA4ff--ff-downloader ._2q8i4--
container ._1Gxfa--notice{margin-top:21px;font-size:11px}.IA4ff--ff-
downloader ._35EDl--footer{width:100%;bottom:0;position:absolute;font-
weight:700}.IA4ff--ff-downloader ._35EDl--footer ._1sLOY--loader{-webkit-
animation:_1bszC--rotation 3.5s linear forwards;animation:_1bszC--rotation 3.5s
linear forwards;position:absolute;top:-120px;left:calc(50% - 35px);border-
radius:50%;border:5px solid #fff;border-top-
color:#a29bfe;height:70px;width:70px;display:flex;justify-content:center;align-
items:center}.IA4ff--ff-downloader ._35EDl--footer ._3rmUp--loading-
bar{width:100%;height:18px;background:#dfe6e9;border-radius:5px}.IA4ff--ff-
downloader ._35EDl--footer ._3rmUp--loading-bar ._3PMgF--progress-
bar{height:100%;background:#8bc34a;border-radius:5px}.IA4ff--ff-
downloader ._35EDl--footer ._3-2Az--status{margin-top:10px}.IA4ff--ff-
downloader ._35EDl--footer ._3-2Az--status ._2We80--state{float:left;font-
size:.9em;letter-spacing:1pt;text-
transform:uppercase;width:100px;height:20px;position:relative}.IA4ff--ff-downloader
._35EDl--footer ._3-2Az--status ._1QYvh--
percentage{float:right}",""]),o.locals={"dark-theme":"_32xf1--dark-
theme",darkTheme:"_32xf1--dark-theme","ff-downloader":"IA4ff--ff-
downloader",ffDownloader:"IA4ff--ff-downloader",header:"_3G6_K--header","minimize-
btn":"_2zlr0--minimize-btn",minimizeBtn:"_2zlr0--minimize-btn",footer:"_35EDl--
footer","white-theme":"_30yKM--white-theme",whiteTheme:"_30yKM--white-
theme",container:"_2q8i4--container",notice:"_1Gxfa--notice",minimize:"_3MGKz--
minimize","file-info":"EyOru--file-info",fileInfo:"EyOru--file-
info",error:"_1E_Fg--error",loader:"_1sLOY--loader",rotation:"_1bszC--
rotation","loading-bar":"_3rmUp--loading-bar",loadingBar:"_3rmUp--loading-
bar","progress-bar":"_3PMgF--progress-bar",progressBar:"_3PMgF--progre
ss-bar",status:"_3-2Az--status",state:"_2We80--state",percentage:"_1QYvh--
percentage"},t.default=o},function(e,t,n){n.r(t);var r=n(22),o=n.n(r)()(!
1);o.push([e.i,"._1ZCaa--information{border-left:4px solid
#c58d39;background:rgba(255,178,63,.76);font-weight:700;color:#191919;margin-
bottom:12px;font-size:13px;line-height:1.5;padding:5px}._14ZoA--filesCount{margin-
bottom:4px;font-size:13px}._23oew--
progress{position:relative;height:21px;background-color:#e8e8e8;border-
radius:3px;overflow:hidden}._23oew--progress ._3Zbxt--
line{height:21px;position:absolute;background-color:#0cf;border-
radius:5px;transition:width .1s}._23oew--progress ._1_rf_--
text{position:absolute;top:3px;left:5px;display:flex}._23oew--progress ._1Vd2Z--
filename{white-space:nowrap;text-
overflow:ellipsis;overflow:hidden;width:226px;margin-
right:10px}",""]),o.locals={information:"_1ZCaa--information",filesCount:"_14ZoA--
filesCount",progress:"_23oew--progress",line:"_3Zbxt--line",text:"_1_rf_--
text",filename:"_1Vd2Z--filename"},t.default=o},function(e,t)
{e.exports=n(103)},,,function(e,t,n){n.r(t);var r=n(22),o=n.n(r)()(!
1);o.push([e.i,'._1SiB---theme-twitch{position:relative;left:-30px}._1SiB---theme-
twitch .xpBs7--item-container{border-radius:0;margin-top:8px;box-shadow:none;font-
size:13px;top:-9px;right:100px}._1SiB---theme-twitch .xpBs7--item-
container .Bqu1j--item{color:#000;padding:4px}._1SiB---theme-twitch .xpBs7--item-
container .Bqu1j--item:hover{background:#ab7fef;color:#fff}._1SiB---theme-
twitch .xpBs7--item-container ._2Z6Sq--download-
bar{background:rgba(81,129,184,.09);position:absolute;border-right:2px solid
rgba(112,81,184,.72);display:none;transition:.5s;margin-top:-
3px;left:0;top:2px;height:100%}._3pIRM--theme-vk .xpBs7--item-container .Bqu1j--
item{margin-left:0;display:block;white-
space:nowrap;position:relative;height:30px;line-height:30px;padding:0
15px;color:#2a5885;outline:none}._3pIRM--theme-vk .xpBs7--item-container .Bqu1j--
item:hover{background-color:#e4eaf0}._3pIRM--theme-vk .xpBs7--item-
container .Bqu1j--item ._1GRqL--tooltip{top:0;right:228px;padding:0 10px 3px
6px}._3pIRM--theme-vk .xpBs7--item-container .Bqu1j--item ._2Z6Sq--download-
bar{position:absolute;top:0;left:0}._2Iwu5--theme-matchtv .xpBs7--item-
container{right:185px}._2Iwu5--theme-matchtv .xpBs7--item-container ._2Z6Sq--
download-bar{background-image:linear-
gradient(90deg,rgba(8,174,234,.12),rgba(42,245,152,.73))}.xpBs7--item-
container{position:absolute;background:#fff;padding:4px 0;z-index:9999;box-shadow:0
1px 3px rgba(80,80,80,.27);border:1px solid #c5d0db;border-radius:4px;font-
size:12px;min-width:190px;transition:.5s;margin-left:13px}.xpBs7--item-
container .Bqu1j--item{position:relative;cursor:pointer;padding-top:5px;padding-
bottom:5px;padding-left:9px}.xpBs7--item-container .Bqu1j--
item:hover{background:#e6e6e6}.xpBs7--item-container .Bqu1j--item.BNSqB--item-
disable{opacity:.8}.xpBs7--item-container ._1lDlk--message{padding:3px}.xpBs7--
item-container._2ZBFv--show{display:block}.xpBs7--item-container._3jLoS--
hide{display:none}.xpBs7--item-container ._2Z6Sq--download-
bar{top:0;left:0;background:rgba(81,129,184,.09);height:30px;position:absolute;bord
er-right:2px solid rgba(81,129,184,.57);display:none;transition:.5s}.xpBs7--item-
container ._1GRqL--tooltip{position:absolute;right:202px;top:0;background:#000;z-
index:9999;color:#fff!important;border-radius:3px;padding:3px 10px 3px 6px;width:-
webkit-max-content;width:-moz-max-content;width:max-content;font-size:13px}.xpBs7--
item-container ._1GRqL--
tooltip:after{content:"";position:absolute;top:50%;left:100%;margin-top:-
5px;border:5px solid transparent;border-left-color:#000}.xpBs7--item-
container ._1e-g9--
badge{background:rgba(30,30,30,.75);display:inline;float:right;color:#fff;padding-
left:4px;padding-right:4px;border-radius:2px;font-size:10px;text-
transform:uppercase;height:24px;margin-top:3px;line-
height:26px;top:0;right:11px;position:absolute}',""]),o.locals={"theme-
twitch":"_1SiB---theme-twitch",themeTwitch:"_1SiB---theme-twitch","item-
container":"xpBs7--item-container",itemContainer:"xpBs7--item-
container",item:"Bqu1j--item","download-bar":"_2Z6Sq--download-
bar",downloadBar:"_2Z6Sq--download-bar","theme-vk":"_3pIRM--theme-
vk",themeVk:"_3pIRM--theme-vk",tooltip:"_1GRqL--tooltip","theme-matchtv":"_2Iwu5--
theme-matchtv",themeMatchtv:"_2Iwu5--theme-matchtv","item-disable":"BNSqB--item-
disable",itemDisable:"BNSqB--item-disable",message:"_1lDlk--message",show:"_2ZBFv--
show",hide:"_3jLoS--hide",badge:"_1e-g9--badge"},t.default=o}]])},function(e){!
function(e){function t(t){for(var r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={16:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([88,0]),n()}({88:function(e,t,n){n.r(t);var
r=n(0),o=n(12),i=n(8),a=n(19),s=n.n(a),u=n(20),l=n.n(u),c=n(14),d=n.n(c),f=n(53),p=
n.n(f),m=n(32),h=n.n(m),g=n(7),v=n.n(g),b=n(15),y=n.n(b),A=n(11),k=n.n(A),w=n(2),x=
n.n(w),_=n(1),S=n.n(_),C=n(16),I=n(9),O=n.n(I),M=n(10),L=n.n(M),E=n(6),P=n.n(E),j=n
(23),T=n.n(j),D=n(18),N=n.n(D),F=n(13),B=n.n(F),R=O()
("vimeo_com");L.a.isSingle()&&Object(i.b)("vimeo",(function(e,t){var n=Object(o.a)
(t),i=t.preferences,a=i.moduleVimeo?1:0,u=s()
();r.a.onMessage.addListener((function(t,n,r){if("getModuleInfo"===t.action)
{if(t.url!==location.href)return;return
r({state:a,moduleName:e})}if("changeState"===t.action){if(e!
==t.moduleName)return;return c.changeState(t.state)}"updatePreferences"!
==t.action||Object.assign(i,t.preferences)})),a&&setTimeout((function()
{c.run()}));var
c={panelId:"savefrom__vimeo_links",btnBox:null,clipId:null,timer:null,btnPrefix:"sd
_ld_bnt_",popupIsShow:!1,dlBtnClassName:"sf-dl-btn",currentMenu:null,linkCache:
{},run:function(){if(a=1,u){if(c.clipId=c.getFrameClipId(),c.clipId)return
c.appendIframeButtons();u=!
1}this.videoFeed.injectStyle(),P.a.isAvailable()&&this.mutationMode.enable()},chang
eState:function(e){u||
(a=e,c.videoFeed.disable(),c.rmAllBtn(),c.mutationMode.stop(),e&&c.run())},hideMenu
:function()
{c.currentMenu&&(c.currentMenu.hide(),c.currentMenu=null)},getFrameClipId:function(
){var e=document.location.href.match(/player\.vimeo\.com\/video\/([\w\-]+)/
i);if(e=e&&e[1])return e},getBrowserVideoData:function(e,t){var
n=e.querySelector(".uploaded_on");if(n||(n=e.querySelector("#info .meta .stats")),!
n)return null;if(t&&(t=(t=t.match(/([0-9]+)$/))&&t[1]),!t){var
r=e.querySelector("a.js-title")||e.querySelector("a");if(!r)return;var
o=r.getAttribute("href");if(!o)return;t=(t=o.match(/\/([0-9]+)$/))&&t[1]}return t?
{id:t,parent:n,style:1}:void 0},getVideoId:function(e){var t,n=null;if(t=(e=e||
document).querySelector(".player[data-clip-id]"))return
t.dataset.clipId;if(t=e.querySelector(".player[data-fallback-url]")){var
r=t.dataset.fallbackUrl||"";if(r=r.match(/video\/([0-9]+)\//))return
r[1]}return(t=e.querySelector("div.player_wrapper > div.faux_player[data-
clip_id]"))&&(n=t.dataset.clip_id)?n:void 0},onBtnClick:function(e,t)
{t.stopPropagation(),t.preventDefault();var o=e.id;if(!o){var
i=null;e.playerContainer&&(i=k()
(e.parent,e.playerContainer)),o=c.getVideoId(i)}if(c.currentMenu&&c.currentMenu.isS
how)c.hideMenu();else{var a=r.a.i18n.getMessage("download")
+" ...",s={};4===e.style&&(s.offsetTop=20);var
u,l=this.dataset.sfMobile>0;u=c.currentMenu=l?
n.mobileLightBox.show(a):n.popupMenu.quickInsert(this,a,"sf-popupMenu",s);var
d=function(e){if(e&&e.links){c.linkCache[o]=e;var
t=n.popupMenu.prepareLinks.vimeo(e.links,e.title);u.update(t)}else
u.update(r.a.i18n.getMessage("noLinksFound"))},f=c.linkCache[o];if(!f)return
c.getLinksFromPage2(o).catch((function(e){return R.error("getLinksFromPage
error",e),Object(C.a)
({action:"getVimeoLinks",extVideoId:o,url:location.href}).catch((function(e){throw
R.error("getVimeoLinks error",e),e}))})).then((function(e){d(e)}),(function(e)
{d()}));d(f)}},getPlayerConfig:function(){return B()('function(){var
clip=null;try{clip=vimeo.clip_page_config.clip}catch(err){throw new Error("Player
config is not
found")}return{clipId:vimeo.clip_page_config.clip.id,url:vimeo.clip_page_config.pla
yer.config_url,clip:clip}}')},getLinksFromPage2:function(e){return
e=parseInt(e,10),this.getPlayerConfig().then((function(t){var
n=t.clipId,r=t.url,o=t.clip;if(n!==e)throw new Error("Clip id is change");var
i=function(e){return Object(C.a)
({action:"getVimeoLinksFromConfigAction",config:e}).then((function(e){if(e)return
e;throw new Error("getLinksFromConfig result is empty")}))};return
Promise.resolve().then((function(){if(o)return i(o);throw new Error("Clip is not
exists!")})).catch((function(e){return R.error("Get links
from config error",e),N()({url:r,localXHR:!0,json:!0,withCredentials:!
0}).then((function(e){var t=e.body;return i(t)}))}))}))},rmAllBtn:function()
{["sfSkip"].forEach((function(e){for(var t,n=d()
(e),r=document.querySelectorAll("["+n+"]"),o=0;t=r[o];o+
+)t.removeAttribute(n)}));for(var
e,t=document.querySelectorAll("."+c.dlBtnClassName),n=0;e=t[n];n++)"1"!
==e.dataset.sfType&&"3"!==e.dataset.sfType||
(e=e.parentNode),e.parentNode.removeChild(e);c.videoFeed.rmBtn(),c.hideMenu()},appe
ndBtn:function(e){var t,o=e.parent,i=o.querySelector("."+c.dlBtnClassName);if(i)
{if(!i.dataset.sfId&&6!
==e.style)return;i.parentNode.removeChild(i),i=null}if(1===e.style?
t=S.a.create("a",{text:r.a.i18n.getMessage("download"),class:[c.dlBtnClassName,"sf-
style-1"],style:{display:"inline"},data:
{sfId:e.id,sfType:e.style},href:"#"+e.id}):2===e.style?t=S.a.create("button",
{text:r.a.i18n.getMessage("download"),class:
[c.dlBtnClassName,"btn","iconify_down_b"],data:
{sfId:e.id,sfType:e.style}}):5===e.style?t=S.a.create("button",{class:
[c.dlBtnClassName,"sf-type-5"],data:{sfId:e.id,sfType:e.style},append:
[S.a.create(n.svg.getSvg("download","#ffffff"),{style:{display:"inline-
block",width:"16px",height:"16px",verticalAlign:"text-
bottom",marginRight:".625rem"}}),S.a.create("span",{style:
{marginLeft:0},text:r.a.i18n.getMessage("download")})]}):7===e.style?
t=S.a.create("button",{class:[c.dlBtnClassName,"sf-type-7"],data:
{sfId:e.id,sfType:e.style},append:[S.a.create(n.svg.getSvg("download","#ffffff"),
{style:{display:"inline-block",width:"16px",height:"16px",verticalAlign:"text-
bottom",marginRight:".625rem"}}),S.a.create("span",{style:
{marginLeft:0},text:r.a.i18n.getMessage("download")})]}):3===e.style?
t=S.a.create("button",{class:[c.dlBtnClassName,"iris_btn","iris_btn-switch"],data:
{sfId:e.id,sfType:e.style},append:[S.a.create(n.svg.getSvg("download","#00adef"),
{style:{display:"inline-block",width:"16px",height:"16px",verticalAlign:"text-
bottom",marginRight:".625rem"}}),S.a.create("span",{class:"iris_btn-content",style:
{marginLeft:0},text:r.a.i18n.getMessage("download")})]}):4===e.style?
t=S.a.create("i",{class:[c.dlBtnClassName,"sf-style-4"],data:
{sfId:e.id,sfType:e.style},style:{display:"inline-block",border:"1px solid
#F8F8F8",width:"20px",height:"20px",lineHeight:0,cursor:"pointer",marginLeft:"10px"
,verticalAlign:"middle"},append:S.a.create("style",{text:v()
([{selector:"."+c.dlBtnClassName+".sf-style-4",style:
{background:"url("+n.svg.getSrc("download","#777777")+") center no-repeat
#F8F8F8",backgroundSize:"12px"}},{selector:"."+c.dlBtnClassName+".sf-style-
4:hover",style:{background:"url("+n.svg.getSrc("download","#00B75A")+") center no-
repeat #F8F8F8",backgroundSize:"12px"}},{selector:"."+c.dlBtnClassName+".sf-style-
4:active",style:{outline:0,boxShadow:"inset 0 3px 5px rgba(0, 0, 0,
0.125)"}}])})}):6===e.style&&(t=S.a.create("button",{class:
[c.dlBtnClassName,"btn","btn_sm","btn_blue_o"],data:
{sfId:e.id,sfType:e.style,sfMobile:1},style:{marginLeft:"8px"},append:
[S.a.create(n.svg.getSvg("download","#00adef"),{style:{display:"inline-
block",width:"12px",height:"12px",verticalAlign:"text-
bottom",marginRight:"4px"}}),S.a.create("span",{class:"btn_text",style:
{marginLeft:0},text:r.a.i18n.getMessage("download")})]})),t.addEventListener("click
",c.onBtnClick.bind(t,e)),1===e.style&&(t=S.a.create("span",{append:[t," |
"]})),3===e.style&&(t=S.a.create("div",{class:"clip_info-user_actions",append:
[t]})),1===e.style||2===e.style||6===e.style){var a=o.firstChild;a?
o.insertBefore(t,a):o.appendChild(t)}else
o.appendChild(t)},playerStateChangeObserver:null,observeVideoUi:function(e,t){var
n=t;if(n){var r=null,o=/(\s|^)with-controls(\s|
$)/;this.playerStateChangeObserver&&this.playerStateChangeObserver.stop(),this.play
erStateChangeObserver=new T.a({attrs:[{name:"class",callback:function(t){var n=!
o.test(t.oldValue),i=!o.test(t.value);!n&&i?
(clearTimeout(r),r=setTimeout((function(){e.lockHide||
e.container.classList.add("sf-hide-ui")}),100)):n&&!
i&&(clearTimeout(r),e.container.classList.remove("sf-hide-
ui"))}}],target:n})}},appendIframeButtons:function(){var
e=this,t=n.frameMenu.getBtn({quickBtnStyleObj:{display:"inline-
block",border:0,borderRadius:".3em",cursor:"pointer",position:"relative",padding:"6
px 8px"},quickBtnCssStyle:
{backgroundColor:"rgba(23,35,34,.75)"},quickBtnOverCssStyle:
{backgroundColor:"rgb(0, 173, 239)"},nodeCssStyle:{display:"none"},singleBtn:!
0,btnId:e.panelId,containerStyle:
{left:"10px",top:"10px"},quickBtnIcon:S.a.create(n.svg.getSvg("download","#ffffff")
,{style:{display:"inline-
block",width:"16px",height:"16px",verticalAlign:"middle"}}),on:
[["click",function(o)
{if(o.preventDefault(),o.stopPropagation(),e.currentMenu&&e.currentMenu.isShow)e.hi
deMenu();else{var i=e.clipId,a=e.linkCache[i],s=r.a.i18n.getMessage("download")
+" ...";a&&(s=n.popupMenu.prepareLinks.vimeo(a.links,a.title));var
u=e.currentMenu=n.frameMenu.getMenu(this,s,"sf-frame-menu",{leftMenuPos:!
0,container:t.container,onShow:function(){t.node.classList.add("sf-
over")},onHide:function(){e.currentMenu=null,t.node.classList.remove("sf-
over")}});a||e.getLinksFromPage((function(t,o){var
a=r.a.i18n.getMessage("noLinksFound");t&&(e.linkCache[i]={links:t,title:o},a=n.popu
pMenu.prepareLinks.vimeo(t,o)),u.update(a)}))}}],["mousedown",function(n)
{n.stopPropagation(),2===n.button&&(o&&(o.stop(),o=null),e.hideMenu(),t.container.p
arentNode&&t.container.parentNode.removeChild(t.container))}]]});t.quickBtn.title=r
.a.i18n.getMessage("download"),t.container=S.a.create("div",{class:"sf-btn-
ctr",append:t.node}),x.a.on(t.container,"mouseenter",(function(){t.lockHide=!
0})),x.a.on(t.container,"mouseleave",(function(){t.lockHide=!
1})),t.node.appendChild(S.a.create("style",{text:v()([{selector:["body:hover .sf-
btn-ctr:not(.sf-hide-ui) #"+e.panelId,"body:hover .sf-btn-ctr:not(.sf-hide-ui) .sf-
frame-menu"],style:
{display:"block"}}])})),document.body.appendChild(t.container);var o=new
P.a({queries:[{css:'#player .captions[aria-
live="assertive"]',is:"added",callback:function(n){var
r=n.added[0];r&&(e.observeVideoUi(t,r),setTimeout((function()
{o.stop(),o=null}),0))}}]})},getLinksFromPage:function(e){var t=[/"video":
{/,/"request":{/,/"files":/],n=p()
(document.body.innerHTML,t),o=null;n.some((function(e){return h()
(e,t).some((function(e){if(e.video&&e.request&&e.request.files)return o=e,!
0}))}));var i=null,a=null,s=null,u=function(t){return t&&(a=t.links||
null,s=t.title||null),e(a,s)};return o?
(i={action:"getVimeoLinksFromConfig",config:o},r.a.sendMessage(i,u)):
(i={action:"getVimeoLinks",extVideoId:c.clipId},r.a.sendMessage(i,u))},videoFeed:
{btnClassName:"sf-feed-dl-btn",style:null,onClick:function(e)
{e.preventDefault(),e.stopPropagation();var
t=this.dataset.sfId;if(this.dataset.sfCouchMode,c.currentMenu&&c.currentMenu.isShow
)c.hideMenu();else{var o=c.linkCache[t],i=r.a.i18n.getMessage("download")
+" ...";o&&(i=n.popupMenu.prepareLinks.vimeo(o.links,o.title));var
a=c.currentMenu=n.popupMenu.quickInsert(this,i,"sf-popupMenu");if(!o){var
s=null;/"url"/.test(t)&&(s=JSON.parse(t).url,t=null),r.a.sendMessage({action:"getVi
meoLinks",extVideoId:t,url:s},(function(e){var o=null;e.links?
(c.linkCache[t]=e,o=n.popupMenu.prepareLinks.vimeo(e.links,e.title)):o=r.a.i18n.get
Message("noLinksFound"),a.update(o)}))}}},getBtn:function(e){return S.a.create("i",
{class:e.classList,data:{sfId:e.id,sfCouchMode:e.isCouchMode?1:0},on:
["click",this.onClick]})},onImgOver2:function(e){var
t,n,r=this.parentNode;if("A"===r.tagName){var
o=r.getAttribute("href");if(o&&(n=(n=o.match(/^\/(\d+)
$/))&&n[1])&&(t=r.parentNode)&&t.classList.contains("contextclip-img")&&!
(t.dataset.sfBtn>0)){t.dataset.sfBtn="1";var i=[c.videoFeed.btnClassName,"sf-type1-
btn"];r.appendChild(c.videoFeed.getBtn({id:n,classList:i})),r=null,t=null}}},onImgO
ver:function(e){var t,n,r=this.parentNode;if(y()(this,"a.contextclip-img-thumb"))
{t=this,r=this;var o=/\/([0-9]+)/.exec(this.href);o&&(n=o[1])}if(!n&&(y()
(this,"div.iris_video-vital")||y()(this,"li.clip_thumbnail")))
{r=this.querySelector(".iris_thumbnail"),t=this;var
i=this.querySelector("a.iris_link-box");if(i){var a=i.href;!(n=(n=a.match(/\/([0-
9]+)/))&&n[1])&&a&&(n=JSON.stringify({url:a}))}}if(!n&&"LI"==r.tagName){if(!
(n=r.dataset.resultId)||"clip_"!
==n.substr(0,5))return;n=n.substr(5),t=r,r=this.querySelector(".thumbnail_wrapper")
}if(!n){if("A"!==r.tagName)return;if(n=r.dataset.clipId,!
(t=r.parentNode))return}var s=!1;if(!n)
{if((s="item_id"===(n=t.id).substr(0,7)&&t.classList.contains("clip"))||"clip"===n.
substr(0,4)||(n=void 0),!
n&&"ARTICLE"===t.tagName&&t.classList.contains("clip_item")&&(n=r.getAttribute("hre
f")),!n)return;(n=n.match(/([0-9]+)$/))&&(n=n[1])}if(!t.dataset.sfBtn)
{t.dataset.sfBtn="1";var
u=[c.videoFeed.btnClassName];this.classList.contains("thumbnail_lg_wide")&&u.push("
sf-type1-btn"),this.classList.contains("contextclip-img-thumb")&&u.push("sf-type4-
btn"),(this.classList.contains("clip_thumbnail")||
this.classList.contains("iris_video-vital"))&&u.push("sf-type3-btn");var
l=t.parentNode;l&&"clips"===l.id&&u.push("sf-type1-btn"),l=null,s&&u.push("sf-
type1-btn"),t.classList.contains("promo_clip")&&1===u.length&&u.push("sf-type1-
btn"),r.appendChild(c.videoFeed.getBtn({id:n,classList:u,isCouchMode:s})),r=null,t=
null}},injectStyle:function(){this.style?!
this.style.parentNode&&document.head.appendChild(this.style):
(this.style=S.a.create("style",{text:v()([{selector:[".sf-dl-btn.sf-type-5",".sf-
dl-btn.sf-type-7"],style:
{color:"#fff",borderColor:"#00adef",backgroundColor:"#00adef",minWidth:"68px",minHe
ight:"32px",padding:"0
10px",lineHeight:"30px",fontSize:"14px",width:"auto",position:"relative",margin:0,f
ontWeight:700,borderWidth:"1px",borderStyle:"solid",borderRadius:"3px",letterSpacin
g:".1px",transition:"all .1s ease-in-out",cursor:"pointer",marginLeft:".5rem"}},
{selector:[".sf-dl-btn.sf-type-7"],style:{verticalAlign:"middle"}},{selector:[".sf-
dl-btn.sf-type-5:hover",".sf-dl-btn.sf-type-7:hover"],style:
{color:"#fff",borderColor:"#08c",backgroundColor:"#08c"}},{selector:["a
> .sf-feed-dl-btn","a .sf-feed-dl-btn.sf-type3-btn","a > .sf-feed-dl-btn.sf-type4-
btn"],style:{display:"none",border:"1px solid
#F8F8F8",width:"20px",height:"20px",padding:0,position:"absolute",background:"url("
+n.svg.getSrc("download","#777777")+") center no-repeat
#F8F8F8",backgroundSize:"12px",top:"auto",left:"auto",lineHeight:0}},{selector:["a
> .sf-feed-dl-btn.sf-type4-btn"],style:{top:0,left:0}},{selector:["a > .sf-feed-dl-
btn.sf-type1-btn","a > div > .sf-feed-dl-btn.sf-type3-btn"],style:{top:0}},
{selector:["a > .sf-feed-dl-btn.sf-type2-btn"],style:{opacity:.5}},{selector:["a >
div > .sf-feed-dl-btn.sf-type3-btn"],style:{zIndex:10}},{selector:["a > .sf-feed-
dl-btn:hover","a > div > .sf-feed-dl-btn.sf-type3-btn:hover"],style:
{background:"url("+n.svg.getSrc("download","#00B75A")+") center no-repeat
#F8F8F8",backgroundSize:"12px"}},{selector:["a > .sf-feed-dl-btn.sf-type2-
btn:hover"],style:{opacity:.8}},{selector:["a > .sf-feed-dl-btn:active","a > div
> .sf-feed-dl-btn.sf-type3-btn:active"],style:{outline:0,boxShadow:"inset 0 3px 5px
rgba(0, 0, 0, 0.125)"}},{selector:["a:hover > .sf-feed-dl-btn","a:hover > div
> .sf-feed-dl-btn.sf-type3-btn"],style:
{display:"block"}}])}),document.head.appendChild(this.style))},disable:function()
{this.style&&this.style.parentNode&&this.style.parentNode.removeChild(this.style)},
rmBtn:function(){for(var e,t=document.querySelectorAll(".sf-feed-dl-
btn"),n=0;e=t[n];n++)e.parentNode.removeChild(e);var r=d()
("sfBtn"),o=document.querySelectorAll("["+r+"]");for(n=0;e=o[n];n+
+)e.removeAttribute(r)}},mutationMode:{observer:null,stop:function()
{this.observer&&this.observer.stop()},wrapOnImgOver:function()
{a&&c.videoFeed.onImgOver.apply(this,arguments)},wrapOnImgOver2:function()
{a&&c.videoFeed.onImgOver2.apply(this,arguments)},enable:function()
{if(this.observer)return this.observer.start();this.observer=new P.a({queries:
[{css:"#clip #info #tools",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n++)c.hideMenu(),t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",c.appendBtn({id:"",parent:t,style:2,playerContainer:"#clip"})
)}},{css:"#channel_clip_container #info .meta",is:"added",callback:function(e)
{for(var t,n=0;t=e.added[n];n++)if(c.hideMenu(),!(t.dataset.sfSkip>0))
{t.dataset.sfSkip="1";var r=t.querySelector(".stats")||
t.querySelector(".time");r&&c.appendBtn({id:"",parent:r,style:1,playerContainer:"#c
hannel_clip_container"})}}},{css:"#browse_content ol.browse_videos_videos >
li",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n++)if(!
(t.dataset.sfSkip>0)&&(t.dataset.sfSkip="1","clip_"===t.id.substr(0,5))){var
r=c.getBrowserVideoData(t,t.id);r&&c.appendBtn(r)}}},
{css:"img.thumbnail",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n+
+)t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",x.a.one(t,"mouseenter",c.mutationMode.wrapOnImgOver))}},
{css:".clip_thumbnail .iris_thumbnail img",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n++)if(!(t.dataset.sfSkip>0)){t.dataset.sfSkip="1";var r=l()
(t,"clip_thumbnail");x.a.one(r,"mouseenter",c.mutationMode.wrapOnImgOver)}}},
{css:".iris_video-vital .iris_thumbnail img",is:"added",callback:function(e)
{for(var t,n=0;t=e.added[n];n++)if(!(t.dataset.sfSkip>0)){t.dataset.sfSkip="1";var
r=l()(t,"iris_video-
vital");x.a.one(r,"mouseenter",c.mutationMode.wrapOnImgOver)}}},{css:".contextclip-
img-thumb img",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n++)if(!
(t.dataset.sfSkip>0)){t.dataset.sfSkip="1";var r=l()(t,"contextclip-img-
thumb");x.a.one(r,"mouseenter",c.mutationMode.wrapOnImgOver)}}},
{css:".clip_main .clip_info a.js-user_link.iris_link-
header",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n++)if(!
(t.dataset.sfSkip>0)){t.dataset.sfSkip="1",c.hideMenu();var r=k()(t,".clip_info-
wrapper");if(r){var o=r.querySelector(".clip_info-
actions");o&&c.appendBtn({id:"",parent:o,style:3,playerContainer:".clip_main"})}}}}
,{css:".clip_main .clip_main-content div.clip_info-subline--
inline",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n+
+)t.dataset.sfSkip>0||(t.dataset.sfSkip="1",c.hideMenu(),k()(t,".clip_main-
content")&&c.appendBtn({id:"",parent:t,style:5,playerContainer:".clip_main"}))}},
{css:".contextclip-img img",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n++)t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",x.a.one(t,"mouseenter",c.mutationMode.wrapOnImgOver2))}},
{css:".client_wrapper .clip header h1",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n++)t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",c.appendBtn({id:"",parent:t,style:4,playerContainer:".clip"})
)}},{css:".clip_page .clip .meta_section_subinfo",is:"added",callback:function(e)
{for(var t,n=0;t=e.added[n];n+
+)c.appendBtn({id:"",parent:t,style:6,playerContainer:".clip_wrapper"})}},
{css:"#main .clip_info-subline--inline",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n+
+)c.appendBtn({id:"",parent:t,style:7,playerContainer:"#main"})}}]})}}}}))}})},func
tion(e){!function(e){function t(t){for(var
r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={2:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([94,0]),n()}({94:function(e,t,n){n.r(t);var
r=n(0),o=n(12),i=n(8),a=n(19),s=n.n(a),u=n(14),l=n.n(u),c=n(53),d=n.n(c),f=n(32),p=
n.n(f),m=n(7),h=n.n(m),g=n(2),v=n.n(g),b=n(1),y=n.n(b),A=n(16),k=n(9),w=n.n(k),x=n(
10),_=n.n(x),S=n(6),C=n.n(S),I=w()("dailymotion_com");_.a.isSingle()&&Object(i.b)
("dailymotion",(function(e,t){var n=Object(o.a)
(t),i=t.preferences,a=i.moduleDailymotion?1:0,u=s()()&&/\/embed\/([\w\-]+)/
i.test(document.location.href);r.a.onMessage.addListener((function(t,n,r)
{if("getModuleInfo"===t.action){if(t.url!==location.href)return;return
r({state:a,moduleName:e})}if("changeState"===t.action){if(e!
==t.moduleName)return;return c.changeState(t.state)}"updatePreferences"!==t.action?
a&&"updateLinks"===t.action&&c.updateLinks():Object.assign(i,t.preferences)})),a&&s
etTimeout((function(){c.run()}));var c={contextMenu:null,linkCache:
{},embed:null,title:"",styleIndex:0,btnId:"sf__download_btn",result:null,popupIsSho
w:!1,run:function(){if(a=1,!u)return C.a.isAvailable()?c.mutationMode.enable():void
0;c.appendIframeButtons()},changeState:function(e){u||
(a=e,c.rmBtn(),c.mutationMode.stop(),e&&c.run())},hideMenu:function()
{c.contextMenu&&c.contextMenu.isShow&&(c.contextMenu.hide(),c.contextMenu=null)},up
dateLinks:function()
{c.changeState(0),c.changeState(1)},appendIframeButtons:function(){var
e=this,t=n.frameMenu.getBtn({quickBtnStyleObj:{display:"inline-
block",cursor:"pointer",position:"relative",padding:"9px 10px"},quickBtnCssStyle:
{backgroundColor:"rgba(0,0,0,.75)"},singleBtn:!0,btnId:e.btnId,containerStyle:
{right:"50px",top:"10px"},quickBtnIcon:y.a.create(n.svg.getSvg("download","#ffffff"
),{style:{display:"inline-
block",width:"16px",height:"16px",verticalAlign:"middle"}}),on:
[["click",function(o)
{if(o.preventDefault(),o.stopPropagation(),e.contextMenu&&e.contextMenu.isShow)e.hi
deMenu();else{var i=e.getIdFromUrl(),a=r.a.i18n.getMessage("download")
+" ...",s=e.linkCache[i];s&&(a=n.popupMenu.prepareLinks.dailymotion(s.links,s.title
));var u=e.contextMenu=n.frameMenu.getMenu(this,a,"sf-frame-menu",
{container:t.container,onShow:function(){t.node.classList.add("sf-
over")},onHide:function(){e.contextMenu=null,t.node.classList.remove("sf-
over")}});s||
r.a.sendMessage({action:"getDailymotionLinks",extVideoId:i,metadata:e.getMetadata(i
)},(function(t){var
o=r.a.i18n.getMessage("noLinksFound");t.links&&(e.linkCache[i]=t,o=n.popupMenu.prep
areLinks.dailymotion(t.links,t.title)),u.update(o)}))}}],["mousedown",function(n)
{n.stopPropagation(),2===n.button&&(v.a.off(document.body,"mousemove",s),e.hideMenu
(),t.container.parentNode&&t.container.parentNode.removeChild(t.container))}]]});t.
quickBtn.title=r.a.i18n.getMessage("download"),t.container=y.a.create("div",
{class:"sf-btn-ctr",append:t.node}),v.a.on(t.container,"mouseenter",(function()
{t.lockHide=!0})),v.a.on(t.container,"mouseleave",(function(){t.lockHide=!1}));var
o=null,i=!1,a=function(){t.lockHide||(t.container.classList.add("sf-hide-ui"),i=!
0)},s=function(){i&&(t.container.classList.remove("sf-hide-ui"),i=!
1),clearTimeout(o),o=setTimeout(a,3e3)};v.a.on(document.body,"mousemove",s),t.node.
appendChild(y.a.create("style",{text:h()([{selector:["body:hover .sf-btn-
ctr:not(.sf-hide-ui) #"+e.btnId,"body:hover .sf-btn-ctr:not(.sf-hide-ui) .sf-frame-
menu"],style:
{display:"block"}}])})),document.body.appendChild(t.container)},getIdFromUrl:functi
on(e){var t=(e=e||location.href).match(/\/embed\/video\/([a-z0-9]+)/);return
t&&t[1]},getMetadata:function(e){var
t=null;return d()(document.body.innerHTML,/playerV5/).some((function(n){return p()
(n).some((function(n){if(n&&n.metadata&&n.metadata.id===e)return t=n.metadata,!
0}))})),t},rmBtn:function(){for(var
e,t=document.querySelectorAll(["#"+c.btnId,".sf-wrapper"]),n=0;e=t[n];n+
+)e.parentNode.removeChild(e);c.result=null,c.popupIsShow=!
1},newGetVideoId:function(){var e="",t=/\/video\/([^\/?#]
+)/.exec(location.href);return t&&(e=t[1]),e},insertBtn:function(e){var t=this;if(!
e.querySelector(".sf-dl-btn")){var o=y.a.create("button",{id:c.btnId,class:["sf-dl-
btn"],title:r.a.i18n.getMessage("download"),append:[y.a.create("span",{append:
[n.svg.getSvg("download","#000")]}),y.a.create("style",{text:h()({selector:".sf-dl-
btn",style:
{display:"block",border:0,borderRadius:"50%",cursor:"pointer",background:"#e8e8e8",
width:"32px",height:"32px",marginRight:"8px"},append:{selector:"span",style:
{display:"flex",justifyContent:"center",alignItems:"center",marginRight:"auto",marg
inLeft:"auto",width:"16px",height:"16px"}}})})],on:["click",function(e)
{if(e.preventDefault(),e.stopPropagation(),c.contextMenu&&c.contextMenu.isShow)c.hi
deMenu();else{var t=r.a.i18n.getMessage("download")
+" ...",o=c.contextMenu=n.popupMenu.quickInsert(this,t,"sf-
popupMenu");Promise.resolve().then((function(){var e=c.newGetVideoId();if(!e)throw
new Error("Video is not found");return c.linkCache[e]||Object(A.a)
({action:"getDailymotionLinks",extVideoId:e}).then((function(t){if(!t||!
t.links)throw new Error("Links is not found");return
c.linkCache[e]=t}))})).then((function(e){var
t=n.popupMenu.prepareLinks.dailymotion(e.links,e.title);o.update(t)})).catch((funct
ion(e){I.debug("Load links
error",e),o.update(r.a.i18n.getMessage("noLinksFound"))}))}}]});v.a.onRemoveEvent(o
,(function(n)
{e.dataset.sfSkip=0,document.body.contains(e)&&t.mutationMode.observer.trigger(e)})
),e.firstChild?e.insertBefore(o,e.firstChild):e.appendChild(o)}},mutationMode:
{observer:null,stop:function(){this.observer&&this.observer.stop(),
["sfSkip"].forEach((function(e){for(var t,n=l()
(e),r=document.querySelectorAll("["+n+"]"),o=0;t=r[o];o+
+)t.removeAttribute(n)}))},enable:function(){if(this.observer)return
this.observer.start();this.observer=new C.a({queries:
[{css:'div[class^="VideoInfo__reportAndActions"]',is:"added",callback:function(e)
{for(var t,n=0;t=e.added[n];n++)t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",c.insertBtn(t))}},
{css:".".concat(v.a.onRemoveClassName),is:"removed",callback:function(e){for(var
t,n=0;t=e.removed[n];n++)v.a.onRemoveListener(t)}}]})}}}}),(function(){if(!s()
())return!0;if(/\/embed\/([\w\-]+)/i.test(location.href)){var e=!
1;try{e=location.hostname===window.parent.location.hostname}catch(e){}return!
e}}))}})},function(e){!function(e){function t(t){for(var
r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={19:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([117,0]),n()}({117:function(e,t,n){n.r(t);var
r=n(0),i=n(12),a=n(8),s=n(19),u=n.n(s),l=n(66),c=n.n(l),d=n(17),f=n.n(d),p=n(14),h=
n.n(p),g=n(7),v=n.n(g),b=n(15),y=n.n(b),A=n(11),k=n.n(A),w=n(2),x=n.n(w),_=n(1),S=n
.n(_),C=n(34),I=n.n(C),O=n(5),M=n.n(O),L=n(9),E=n.n(L),P=n(10),j=n.n(P),T=n(6),D=n.
n(T),N=n(23),F=n.n(N),B=n(57),R=n.n(B),q=n(13),z=n.n(q),U=n(85);var V=function(e)
{return new Promise((function(t){return setTimeout(t,e)}))},H=function(e){var
t=document.createElement("iframe");return
t.style.display="none",document.body.appendChild(t),e&&(t.contentWindow.location=e)
,t},W=n(86),G=n.n(W),Q=n(40),Y=E()("youtube_com");j.a.isSingle()&&Object(a.b)
("youtube",(function(e,t){var a=Object(i.a)(t),s=t.preferences,l=s.moduleYoutube?
1:0,d=r.a.isChrome||r.a.isFirefox||r.a.isGM&&r.a.isTM,p=u()
(),g=s.experiments,b=void 0===g?{}:g,A=new
G.a(b["ummy.replace.televzr"]);r.a.onMessage.addListener((function(t,n,r)
{if("getModuleInfo"===t.action){if(t.url!==location.href)return;return
r({state:l,moduleName:e})}if("changeState"===t.action){if(e!
==t.moduleName)return;return C.changeState(t.state)}if("updatePreferences"!
==t.action){if(l){if("updateLinks"===t.action){var
o=C.getIdFromLocation();o&&L((function(e){if(e&&e.args&&e.args.video_id===o){var
t=document.getElementById(C.buttonId);null!
==t&&t.parentNode.removeChild(t),P.rmBtn(),C.responseCache={},C.video_id=e.args.vid
eo_id;var n=document.getElementById("watch7-subscription-
container");C.appendDownloadButton(n)}}))}"downloadPlaylist"===t.action&&C.download
Playlist()}}else Object.assign(s,t.preferences)})),l&&setTimeout((function()
{C.run()}));var
w,_,C={swfargs:null,video_id:"",buttonId:"savefrom__yt_btn",responseCache:
{},isMobile:!1,mobileMenu:null,currentMenu:null,currentTutorial:null,run:function()
{if(l=1,p){var e=location.href.match(/\/embed\/([\w\-]+)/i);(e=e&&e[1])||(p=!
1)}return 0===location.host.indexOf("m.")?(C.isMobile=!
0,void(D.a.isAvailable()&&C.mobileMutationMode.enable())):p?(C.video_id=e,void
C.appendFrameButton()):void(D.a.isAvailable()&&(C.videoFeed.injectStyle(),C.mutatio
nMode.enable()))},changeState:function(e){if(l=e,!p&&!C.isMobile)
{C.tutorial.hide(),C.hideCurrentMenu(),C.videoFeed.rmBtn(),C.mutationMode.stop();va
r
t=document.getElementById(C.buttonId);t&&t.parentNode.removeChild(t),P.rmBtn(),e&&C
.run()}},hideCurrentMenu:function()
{C.currentMenu&&(C.currentMenu.hide(),C.currentMenu=null)},hideMobileMenu:function(
){C.mobileMenu&&(C.mobileMenu.hide(),C.mobileMenu=null)},mutationMode:
{observer:null,stop:function()
{C.mutationMode.observer&&C.mutationMode.observer.stop(),
["sfSkip"].forEach((function(e){for(var t,n=h()
(e),r=document.querySelectorAll("["+n+"]"),o=0;t=r[o];o+
+)t.removeAttribute(n)}))},wrapVideoFeedOnImgHover:function()
{if(l&&C.videoFeed.testUrl(location.href)&&!(this.dataset.sfBtn>0))
{this.dataset.sfBtn="1";var
e=JSON.parse(this.dataset.sfContext);this.appendChild(C.videoFeed.getBtnNode(e.id,e
.styleIndex))}},wrapNewVideoFeedOnThumbnailHover:function()
{if(l&&C.videoFeed.testUrl(location.href)){var
e=C.mutationMode,t=this,n=t.href,r=n&&n.match(C.videoFeed.hrefIdPattern),o=r&&r[1];
if(o&&!t.querySelector(".sf-feed-btn")){var
i=C.videoFeed.getBtnNode(o,2);x.a.onRemoveEvent(i,(function(){this.parentNode||
x.a.one(t,"mouseenter",e.wrapNewVideoFeedOnThumbnailHover)})),t.appendChild(i)}n=nu
ll,r=null,o=null,i=null}},enable:function(){var e=this;if(e.observer)return
e.observer.start();var t=function(t){if(C.videoFeed.testUrl(location.href))for(var
n,r=0;n=t.added[r];r++)if(!(n.dataset.sfSkip>0)){n.dataset.sfSkip="1";var
o=n.dataset.videoIds;if(o){var
i=n.parentNode,a={};a.id=o,a.styleIndex=1,i.dataset.sfContext=JSON.stringify(a),x.a
.one(i,"mouseenter",e.wrapVideoFeedOnImgHover)}}};e.observer=new D.a({queries:
[{css:"#watch7-subscription-container",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n++)t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",C.appendDownloadButton(t))}},{css:"button.addto-watch-later-
button-sign-in",is:"added",callback:t},{css:"button.addto-watch-later-
button",is:"added",callback:t},{css:"ytd-thumbnail a#thumbnail
img",is:"added",callback:function(t){if(C.videoFeed.testUrl(location.href))for(var
n,r=0;n=t.added[r];r++)n.dataset.sfSkip>0||(n.dataset.sfSkip="1",x.a.one(k()
(n,"a"),"mouseenter",e.wrapNewVideoFeedOnThumbnailHover))}},{css:".ytd-page-manager
#info #top-level-buttons",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n++)t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",C.appendNewDownloadButton(t))}},
{css:"."+x.a.onRemoveClassName,is:"removed",callback:function(e){for(var
t,n=0;t=e.removed[n];n++)x.a.onRemoveListener(t)}},
{css:'[href^="televzr"]',is:"added",callback:function(e)
{e.added.forEach((function(e){e.addEventListener("click",(function(t)
{t.preventDefault(),function(e){(function(){var e=function(){var e=Object(o.a)
(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next)
{case 0:return window.location.replace(t),e.next=3,V(500);case 3:return
e.abrupt("return",!document.hasFocus());case 4:case"end":return
e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}
(),t=Object(U.getBrowser)(r.a);return"opera"===t?function(){var e=Object(o.a)
(m.a.mark((function e(t){var n;return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:return n=H(t),e.next=3,V(0);case 3:return
e.prev=3,e.abrupt("return",(n.contentWindow.location,document.body.removeChild(n),!
0));case 7:return e.prev=7,e.t0=e.catch(3),e.abrupt("return",
(document.body.removeChild(n),!1));case 10:case"end":return e.stop()}}),e,null,
[[3,7]])})));return function(t){return e.apply(this,arguments)}}():"chrome"===t?
e:"firefox"===t?function(){var e=Object(o.a)(m.a.mark((function
e(t){var n;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
n=H(),e.prev=1,e.abrupt("return",(n.contentWindow.location=t,!0));case 5:return
e.prev=5,e.t0=e.catch(1),e.abrupt("return",!1);case 8:case"end":return
e.stop()}}),e,null,[[1,5]])})));return function(t){return e.apply(this,arguments)}}
():e})()(e)}(e.getAttribute("href"))}))}))}}]})}},mobileMutationMode:
{observer:null,stop:function()
{C.mutationMode.observer&&C.mutationMode.observer.stop(),
["sfSkip"].forEach((function(e){for(var t,n=h()
(e),r=document.querySelectorAll("["+n+"]"),o=0;t=r[o];o+
+)t.removeAttribute(n)}))},enable:function(){if(this.observer)return
this.observer.start();this.observer=new D.a({queries:[{css:'div > div > div >
a[onclick][href="#"] > span[id]',is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n++)if(0===t.id.indexOf("koya_elem_")){for(var
r=0;r<4&&t;)t=t.parentNode,r++;if(t&&4===r){var o=1,i=t.querySelector("div:nth-
child(1)>h1:nth-child(1)");if(i||(i=null),!i&&y()(t,'div > div >
div[id^="koya_child_"]:last-child > div')){for(i=t,r=0;r<3&&i;)i=i.parentNode,r+
+;i&&i.querySelector("div:nth-child(1)>h2:nth-child(1)")?
(t=t.parentNode,o=2):i=null}i&&(t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",C.appendMobileButton("",t,o)))}}}},{css:"#app .page-container
.video-main-content-actions",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n++)t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",C.appendMobileButton("",t,3))}},{css:"#app .page-
container .playlist-controls-secondary",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n++)t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",C.appendMobileButton("",t,4))}},{css:"#app .slim-video-
metadata-actions",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n+
+)t.dataset.sfSkip>0||(t.dataset.sfSkip="1",C.appendNewMobileButton(t,5))}},
{css:"."+x.a.onRemoveClassName,is:"removed",callback:function(e){for(var
t,n=0;t=e.removed[n];n+
+)x.a.onRemoveListener(t)}}]})}},_onSelectBtnClick:function(e,t){if(!
(t.button>0))if(t.stopPropagation(),t.preventDefault(),C.currentMenu&&C.currentMenu
.isShow)C.hideCurrentMenu();else{var
n=e.btnObj,o=n.videoId,i=C.currentMenu=a.popupMenu.quickInsert(n.node,r.a.i18n.getM
essage("download")+" ...","sf-popupMenu",{onShow:function()
{x.a.onRemoveEvent(n.node,C.hideCurrentMenu)},onHide:function()
{x.a.offRemoveEvent(n.node,C.hideCurrentMenu)},onItemClick:function(e,t){var
i=t.itag;"ummyAudio"===i&&(i="ummy"),n.lastItag!
==i&&r.a.storage.set({ytLastITag:i},(function()
{C.quickBtn.setValue(n)})),C.onMenuItemClick(t,
{isPageItem:1,videoId:o})},offsetTop:n.popupMenu&&n.popupMenu.offsetTop,offsetRight
:n.popupMenu&&n.popupMenu.offsetRight,parent:n.popupMenu&&n.popupMenu.parent}),s=fu
nction(e){return e&&e.length?
i.update(e,r.a.i18n.getMessage("partnersLinksOnly")):i.update(r.a.i18n.getMessage("
noLinksFound"))};if(!o)return s();var u=function(e){var t=[];if(A.exec((function()
{t.push({format:"televzr",href:"televzr://www.youtube.com/watch?
v="+e.extVideoId,itag:"televzr",noSize:!
0,quality:"televzr",title:e.title})})),e.links){var
n=a.popupMenu.prepareLinks.youtube(e.links,e.title,e.subtitles);if(!
(n=n.filter((function(e){return e.href}))).length)return void
s(t);if(A.exec((function(){return n=n.filter((function(e){return-
1===e.href.indexOf("ummy")}))})),0===n.filter((function(e){return!
["ummy","televzr"].includes(e.format)})).length)return s(t);i.update(n)}else
s(t)},l=C.responseCache[o];if(l)return
u(l);r.a.sendMessage({action:"getYoutubeLinks",extVideoId:o,url:location.href,check
Subtitles:!0},(function(e)
{e.links&&(C.responseCache[o]=e),u(e)})),n.isFirstMenuShow&&(n.isFirstMenuShow=!
1)}},appendDownloadButton:function(e){var
t=e.querySelector("#"+C.buttonId);t&&(t.parentNode&&t.parentNode.removeChild(t),t=n
ull);var
n=this,r={},o=n.getButtonUnderVideo(C._onSelectBtnClick.bind(null,r));return
r.btnObj=o,o.isFirstMenuShow=!
0,o.setLoadingState(),e.appendChild(o.node),L((function(t){var
r=null;if(t&&t.args&&t.args.video_id&&(r=t.args.video_id),r)
{o.node.dataset.sfVideoId=r,o.ytConfig=t,o.videoId=r,o.isPage=1;var
i=[],u=function(){u=null,C.tutorial.show({target:o.node})};i.push((function()
{return u&&u()}));var l=P(null,s,r);l&&(i.push((function(e){var t=e.slice(0);if(0!
==(t=a.popupMenu.sortMenuItems(t,{typeList:
["video","3d","mute","mute60"],groupCompare:!0})).length){var
n=t[0],r=n.prop&&n.prop.quality;-1!
==["8K","4K","1440","1080"].indexOf(r)&&x.a.trigger(l,"changeValue",
{detail:JSON.stringify(n.prop&&n.prop.quality)})}})),e.appendChild(l)),o.onGetLinks
Arr=i,n.quickBtn.setValue(o)}}))},appendNewDownloadButton:function(e,t){var
n=this,r=e.querySelector("#"+C.buttonId);if(r)
{if(t)return;r.classList.remove(x.a.onRemoveClassName),r.parentNode&&r.parentNode.r
emoveChild(r),r=null}var o=new
this.getNewButtonUnderVideo(C._onSelectBtnClick);o.isFirstMenuShow=!
0,o.setLoadingState();var i=e.childNodes[2];i||(i=e.firstChild),i?
e.insertBefore(o.node,i):e.appendChild(o.node);var s=null,u=null;return
x.a.onRemoveEvent(o.node,(function()
{s&&(s.abort(),s=null),u&&(u.destroy(),u=null),e.parentNode&&C.appendNewDownloadBut
ton(e,!0)})),o.popupMenu={offsetTop:-6,offsetRight:-1,parent:o.menuContainer},
(s=a.waitNodesBySelector("#movie_player")).then((function(){if(R()
(document.body,o.node))return E().then((function(e){var
t=e&&e.args&&e.args.video_id;if(t)
{o.node.dataset.sfVideoId=t,o.ytConfig=e,o.videoId=t,o.isPage=1;var
r=[];o.onGetLinksArr=r,r.push((function()
{C.tutorial.show({target:o.selectBtn,parent:o.menuContainer,btnLeftOffset:12,btnTop
Offset:-6})})),n.quickBtn.setValue(o)}else Y.debug("videoId is not
found!")}));Y.debug("Btn not exists")})).catch((function(e){"ABORTED"!
==e.message&&Y.error("waitNodesBySelector
error",e)}))},getIdFromLocation:function(e){e||(e=document.location.href);var
t=e.match(/\/watch\?(?:.+&)?v=([\w\-]+)/i);return(t=t&&t[1])||
null},appendNewMobileButton:function(e,t){var n=S.a.create("div",
{id:C.buttonId,style:{flex:"1 1",minWidth:0,overflow:"hidden",margin:"-0.7em -
0.57em",marginLeft:"0.7em",marginRight:0,display:"flex"},append:
[S.a.create("button",{style:{padding:".7em .57em"},append:[S.a.create("div",{style:
{display:"flex",flexDirection:"column",alignItems:"center"},append:
[S.a.create("div",{style:
{display:"block",height:"24px",width:"24px",background:"url("+a.svg.getSrc("downloa
d","#757575")+") center no-repeat",backgroundSize:"20px"}}),S.a.create("div",
{style:
{marginTop:"7px",alignSelf:"center",minHeight:"1em",lineHeight:"1em"},text:r.a.i18n
.getMessage("download")})]})],on:["click",function(e)
{e.preventDefault(),C.hideMobileMenu();var
t=C.getIdFromLocation(),n=C.mobileMenu=a.mobileLightBox.show(r.a.i18n.getMessage("d
ownload")+" ...");return Promise.resolve().then((function(){return
C.responseCache[t]||new Promise((function(e,n)
{r.a.sendMessage({action:"getYoutubeLinks",extVideoId:t,url:location.href},
(function(t){var o=r.a.lastError;o?n(o):e(t)}))}))})).then((function(e){if(!e||!
e.links)throw new Error("Empty response");return
C.responseCache[t]=e,a.popupMenu.prepareLinks.youtube(e.links,e.title||
C.getTitleModify())})).catch((function(e){return Y.error("getYoutubeLinks
error",e),null})).then((function(e){n.update(e)}))}]})]});x.a.onRemoveEvent(n,
(function()
{C.hideMobileMenu(),document.body.contains(e)&&(e.dataset.sfSkip="0",C.mobileMutati
onMode.observer.trigger(e))})),e.appendChild(n)},appendMobileButton:function(e,t,n)
{var o={};3===n?Object.assign(o,
{display:"flex",height:"24px",background:"url("+a.svg.getSrc("download","#757575")
+") center no-repeat",padding:".7em .57em",marginLeft:".7em"}):4===n?
Object.assign(o,
{display:"flex",width:"24px",background:"url("+a.svg.getSrc("download","#eee")+")
center no-repeat",padding:".7em .57em",marginLeft:".7em"}):1===n?Object.assign(o,
{display:"inline-
block",height:"28px",width:"18px",marginRight:"20px",background:"url("+a.svg.getSrc
("download","#757575")+") center no-
repeat",cssFloat:"right"}):2===n&&Object.assign(o,{display:"inline-
block",height:"38px",width:"18px",marginRight:"12px",background:"url("+a.svg.getSrc
("download","#757575")+") center no-
repeat",backgroundSize:"20px",cssFloat:"right"});var i=S.a.create("div",{data:
{id:e},style:o,on:["click",function(){var e=this.dataset.id||
C.getIdFromLocation();C.hideMobileMenu();var
t=C.mobileMenu=a.mobileLightBox.show(r.a.i18n.getMessage("download")
+" ..."),n=function(e){var
n=null;e&&e.links&&(n=a.popupMenu.prepareLinks.youtube(e.links,e.title||
C.getTitleModify())),t.update(n)},o=C.responseCache[e];if(o)return
n(o);r.a.sendMessage({action:"getYoutubeLinks",extVideoId:e,url:location.href},
(function(t){t.links&&(C.responseCache[e]=t),n(t)}))}]});x.a.onRemoveEvent(i,
(function(){C.hideMobileMenu(),3!==n&&4!==n||
document.body.contains(t)&&(t.dataset.sfSkip="0",C.mobileMutationMode.observer.trig
ger(t))}));var s='div[id^="koya_child_"]:nth-child(1) > a[href="#"] >
span[id^="koya_elem_"]',u=t.lastElementChild;u.querySelector(s)||
(u=u.previousElementSibling).querySelector(s)||
(u=null),u&&(u=u.nextElementSibling),u?
u.parentNode.insertBefore(i,u):t.appendChild(i)},getNewButtonUnderVideo:function(e)
{var t=this;this.node=S.a.create("div",{id:C.buttonId,style:{display:["-ms-
flexbox","-webkit-
flex","flex"],marginLeft:"8px",MsFlexDirection:"row",WebkitFlexDirection:"row",flex
Direction:"row",MsFlexAlign:"center",WebkitAlignItems:"center",alignItems:"center",
MsFlexPack:"center",WebkitJustifyContent:"center",justifyContent:"center",padding:"
0 8px 0 0"},append:[void 0,this.menuContainer=S.a.create("div",{style:
{position:"relative"}}),this.quickBtn=S.a.create("a",{class:"sf-quick-dl-
btn",style:{display:"inline-block",fontSize:"inherit",height:"22px",border:"1px
solid
#00B75A",borderRadius:"3px",borderTopRightRadius:0,borderBottomRightRadius:0,paddin
gLeft:"28px",cursor:"pointer",verticalAlign:"middle",position:"relative",lineHeight
:"22px",textDecoration:"none",zIndex:1,color:"#fff"},href:"#",append:
[S.a.create("i",{style:{position:"absolute",display:"inline-
block",left:"6px",top:"3px",backgroundImage:"url("+a.svg.getSrc("download","#ffffff
")+")",backgroundSize:"12px",backgr
oundRepeat:"no-
repeat",backgroundPosition:"center",width:"16px",height:"16px"}}),S.a.create("span"
,{class:"sf-btn-name",style:
{paddingRight:"12px"},text:r.a.i18n.getMessage("download")})]}),this.quickBtnStyle=
S.a.create("style",{text:v()({selector:"#"+C.buttonId,style:{fontFamily:"Roboto,
Arial, sans-serif",fontSize:"13px"},append:[{"button::-moz-focus-inner":
{padding:0,margin:0},".sf-quick-dl-btn":{backgroundColor:"#00B75A"},".sf-quick-dl-
btn:hover":{backgroundColor:"rgb(0, 163, 80)"},".sf-quick-dl-btn:active":
{backgroundColor:"rgb(0, 151, 74)"}},{media:"@media screen and (max-width: 1293px),
screen and (max-height: 768px)",append:{".sf-quick-dl-btn .sf-btn-name":
{display:"none"}}}]})}),this.selectBtn=S.a.create("button",{style:
{position:"relative",display:"inline-block",marginLeft:"-
2px",fontSize:"inherit",height:"24px",paddingRight:"21px",backgroundColor:"#F8F8F8"
,border:"1px solid
#CCCCCC",borderRadius:"3px",borderTopLeftRadius:"0",borderBottomLeftRadius:"0",curs
or:"pointer",color:"#9B9B9B",zIndex:0,verticalAlign:"middle",boxSizing:"border-
box",lineHeight:r.a.isSafari?"21px":"22px"},on:["mousedown",function(n){return
e.call(this,{btnObj:t},n)}],append:[this.selectBtnIcon=S.a.create("i",{style:
{position:"absolute",display:"inline-block",top:"9px",right:"6px",border:"5px solid
#868282",borderBottomColor:"transparent",borderLeftColor:"transparent",borderRightC
olor:"transparent"}})]})]}),this.node.classList.add(x.a.onRemoveClassName);var
n=function(e){var n="object"==typeof e?
e:document.createTextNode(e);n.style.marginLeft=0;var
r=t.selectBtn.firstChild;r===t.selectBtnIcon?
t.selectBtn.insertBefore(n,r):t.selectBtn.replaceChild(n,r)};this.setQuality=n,this
.setLoadingState=function(){n(S.a.create("img",
{src:a.svg.getSrc("info","#333333"),style:
{width:"14px",height:"14px",marginLeft:"6px",verticalAlign:"middle",top:r.a.isSafar
i?"-3px":"-1px",position:"relative"}}))}},getButtonUnderVideo:function(e){var
t,n,o=null,i=S.a.create("div",{id:C.buttonId,style:{display:"inline-
block",marginLeft:"10px",verticalAlign:"middle"},append:[n=S.a.create("a",
{class:"sf-quick-dl-btn",style:{display:"inline-
block",fontSize:"inherit",height:"22px",border:"1px solid
#00B75A",borderRadius:"3px",borderTopRightRadius:0,borderBottomRightRadius:0,paddin
gLeft:"28px",cursor:"pointer",verticalAlign:"middle",position:"relative",lineHeight
:"22px",textDecoration:"none",zIndex:1,color:"#fff"},href:"#",append:
[S.a.create("i",{style:{position:"absolute",display:"inline-
block",left:"6px",top:"3px",backgroundImage:"url("+a.svg.getSrc("download","#ffffff
")+")",backgroundSize:"12px",backgroundRepeat:"no-
repeat",backgroundPosition:"center",width:"16px",height:"16px"}}),S.a.create("span"
,{class:"sf-btn-name",style:
{paddingRight:"12px"},text:r.a.i18n.getMessage("download")})]}),S.a.create("style",
{text:v()({selector:"#"+C.buttonId,append:[{"button::-moz-focus-inner":
{padding:0,margin:0},".sf-quick-dl-btn":{backgroundColor:"#00B75A"},".sf-quick-dl-
btn:hover":{backgroundColor:"rgb(0, 163, 80)"},".sf-quick-dl-btn:active":
{backgroundColor:"rgb(0, 151, 74)"}},{media:"@media screen and (max-width:
1293px)",append:{".sf-quick-dl-btn .sf-btn-name":
{display:"none"}}}]})}),o=S.a.create("button",{style:
{position:"relative",display:"inline-block",marginLeft:"-
2px",fontSize:"inherit",height:"24px",paddingRight:"21px",backgroundColor:"#F8F8F8"
,border:"1px solid
#CCCCCC",borderRadius:"3px",borderTopLeftRadius:"0",borderBottomLeftRadius:"0",curs
or:"pointer",color:"#9B9B9B",zIndex:0,verticalAlign:"middle",boxSizing:"border-
box",lineHeight:"22px"},on:["mousedown",e],append:[t=S.a.create("i",{style:
{position:"absolute",display:"inline-block",top:"9px",right:"6px",border:"5px solid
#868282",borderBottomColor:"transparent",borderLeftColor:"transparent",borderRightC
olor:"transparent"}})]})]});i.classList.add(x.a.onRemoveClassName);var
s=function(e){var n="object"==typeof e?
e:document.createTextNode(e),r=o.firstChild;r===t?
o.insertBefore(n,r):o.replaceChild(n,r)};return{node:i,selectBtn:o,quickBtn:n,setQu
ality:s,setLoadingState:function(){s(S.a.create("img",
{src:a.svg.getSrc("info","#333333"),style:
{width:"14px",height:"14px",marginLeft:"6px",verticalAlign:"middle",top:"-
1px",position:"relative"}}))}}},titleChangeObserver:null,playerStateChangeObserver:
null,observeFrameVideoChange:function(e){var t=this;if(D.a.isAvailable()){var
n=document.querySelector(".ytp-title-
link");n&&(this.titleChangeObserver&&this.titleChangeObserver.stop(),this.titleChan
geObserver=new F.a({attrs:[{name:"href",callback:function(n){var
r=n.oldValue&&C.getIdFromLocation(n.oldValue),o=n.value&&C.getIdFromLocation(n.valu
e);r!==o&&C.video_id!
==o&&(C.video_id=o,C.frameQualityDetected&&(e.link=null,e.setLoadingState(),t.quick
Btn.setValue(e)))}}],target:n}));var r=document.querySelector(".html5-video-
player");if(r){var o=null,i=/(\s|^)ytp-autohide(\s|
$)/;this.playerStateChangeObserver&&this.playerStateChangeObserver.stop(),this.play
erStateChangeObserver=new F.a({attrs:[{name:"class",callback:function(t){var
n=i.test(t.oldValue),r=i.test(t.value);!n&&r?
(clearTimeout(o),o=setTimeout((function(){e.lockHide||
e.container.classList.add("sf-hide-ui")}),100)):n&&!
r&&(clearTimeout(o),e.container.classList.remove("sf-hide-
ui"))}}],target:r})}}},appendFrameButton:function(){if(!
(document.body.clientWidth<220||document.body.clientHeight<150)){var e=C,t=!
0,n=a.frameMenu.getBtn({btnId:"sfYtFrameBtn",containerStyle:
{top:"40px",right:"20px"},on:[["mousedown",function(t)
{t.stopPropagation(),2===t.button&&(e.onFrameMouseEnterBind&&(x.a.off(document.body
,"mouseenter",e.onFrameMouseEnterBind),x.a.off(document.body,"mouseleave",e.onFrame
MouseLeaveBind),e.onFrameMouseEnterBind=null,e.onFrameMouseLeaveBind=null),e.titleC
hangeObserver&&(e.titleChangeObserver.stop(),e.titleChangeObserver=null),e.playerSt
ateChangeObserver&&(e.playerStateChangeObserver.stop(),e.playerStateChangeObserver=
null),e.hideCurrentMenu(),n.container.parentNode&&n.container.parentNode.removeChil
d(n.container))}]],onSelectBtn:["mousedown",function(o){if(!(o.button>0))
{o.stopPropagation(),o.preventDefault();var
i=e.video_id;if(e.currentMenu)C.hideCurrentMenu();else{var
s=e.currentMenu=a.frameMenu.getMenu(this.parentNode,r.a.i18n.getMessage("download")
+" ...","sf-popupMenu",{container:n.container,onShow:function()
{n.node.classList.add("sf-over"),t||(t=!1)},onHide:function()
{e.currentMenu=null,n.node.classList.remove("sf-over")},onItemClick:function(t,o)
{var a=o.itag;"ummyAudio"===a&&(a="ummy"),n.lastItag!
==a&&r.a.storage.set({ytLastITag:a},(function()
{e.quickBtn.setValue(n)})),C.onMenuItemClick(o,
{isFrameItem:1,videoId:i})}}),u=function(e){var
t=a.popupMenu.prepareLinks.youtube(e.links,e.title,e.subtitles,
{ummyVid:136});s.update(t)},l=e.responseCache[i];if(l)return
u(l);r.a.sendMessage({action:"getYoutubeLinks",extVideoId:i,url:location.href,check
Subtitles:!0},(function(t){if(t.links)return
e.responseCache[i]=t,u(t);s.update(r.a.i18n.getMessage("noLinksFound"))}))}}}]});n.
setLoadingState(),n.container=S.a.create("div",{class:"sf-btn-
ctr",append:n.node}),document.body.appendChild(n.container);x.a.on(n.node,"mouseent
er",(function t(){x.a.off(n.node,"mouseenter",t),e.frameQualityDetected||
(e.frameQualityDetected=!
0,e.quickBtn.setValue(n))})),x.a.one(document,"mouseenter",(function()
{e.onFrameMouseEnter(n)})),x.a.on(n.container,"mouseenter",(function(){n.lockHide=!
0})),x.a.on(n.container,"mouseleave",(function(){n.lockHide=!
1})),n.node.appendChild(S.a.create("style",{text:v()([{selector:["body:hover .sf-
btn-ctr:not(.sf-hide-ui) #sfYtFrameBtn","body:hover .sf-btn-ctr:not(.sf-hide-
ui) .sf-popupMenu"],style:
{display:"block"}}])})),this.onFrameMouseEnterBind&&(x.a.off(document.body,"mouseen
ter",this.onFrameMouseEnterBind),x.a.off(document.body,"mouseleave",this.onFrameMou
seLeaveBind)),this.onFrameMouseEnterBind=this.onFrameMouseEnter.bind(this,n),this.o
nFrameMouseLeaveBind=this.onFrameMouseLeave.bind(this,n),x.a.on(document.body,"mous
eenter",this.onFrameMouseEnterBind),x.a.on(document.body,"mouseleave",this.onFrameM
ouseLeaveBind),this.observeFrameVideoChange(n)}},frameQualityDetected:!
1,frameQualityTimer:null,onFrameMouseEnterBind:null,onFrameMouseLeaveBind:null,onFr
ameMouseEnter:function(e){var t=this;this.frameQualityDetected||
(clearTimeout(this.frameQualityTimer),this.frameQualityTimer=setTimeout((function()
{t.frameQualityDetected||(t.frameQualityDetected=!
0,t.quickBtn.setValue(e))}),500))},onFrameMouseLeave:function(e)
{this.frameQualityDetected||
clearTimeout(this.frameQualityTimer)},getTitle:function(){var
e=document.getElementById("watch-headline-title");if(e)return e.textContent;for(var
t=document.getElementsByTagName("meta"),n=0;n<t.length;n++){var
r=t[n].getAttribute("name");if(r&&"title"==r.toLowerCase())return
t[n].getAttribute("content")}return p||C.isMobile?document.title.replace(/ -
YouTube$/,""):""},getTitleModify:function(){var e=C.getTitle();return
e&&(e=O(e)),e},onMenuItemClick:function(e,t){t=t||{},e.format||
r.a.sendMessage({action:"track",t:"event",ec:"youtube",ea:"new_format",el:e.itag+"
"+t.videoId})},onDlBtnClick:function(e,t,n){if(n=n||{},!t)return
e.preventDefault(),e.stopPropagation(),void
x.a.trigger(this.parentNode.lastChild,"mousedown");C.onMenuItemClick(t,n),"ummy"!
==t.quality&&"muxer"!==t.itag&&t.forceDownload&&a.downloadOnClick(e)},quickBtn:
{prepMenuLinks:function(e,t){for(var
n,r=a.popupMenu.prepareLinks.youtube(e,t),o={},i=[],s=0;n=r[s];s+
+)"ummy"===n.quality&&(o[n.itag]=n),i.push({prop:n});return{menuLinks:r=a.popupMenu
.sortMenuItems(i),ummyLinks:o}},setValueInSelectBtn:function(e,t){"object"!=typeof
t&&(t=document.createTextNode(t));var
n=e.selectBtn.firstChild;n===e.selectBtn.lastChild?
e.selectBtn.insertBefore(t,n):e.selectBtn.replaceChild(t,n)},getBestItem:function(e
){for(var t,n=[],r=0;t=e[r];r++)t.prop.noAudio||t.prop.noVideo||
["ummy","televzr"].includes(t.prop.format)||t.prop.extra||t.prop.isHidden||
n.push(t.prop);if(n.length)return n[0]},bindDlBtn:function(e){var
t=e.quickBtn;e.quickBtnEvent&&t.removeEventListener("click",e.quickBtnEvent),t.addE
ventListener("click",e.quickBtnEvent=function(t)
{e.link.func&&e.link.func(t),t.stopPropagation(),e.link&&C.currentMenu&&C.hideCurre
ntMenu();var n={videoId:e.videoId||C.video_id,links:e.links};e.isPage?
n.isPage=1:n.isFrame=1,C.onDlBtnClick.call(this,t,e.link,n)})},setBestValue:functio
n(e,t){var n=e.quickBtn;e.link=t;var o=t.quality;t.noVideo||
(o=parseInt(o)),t["3d"]&&(o="3D "+o),t.sFps&&(o+=" "+(t.fps||60));var
i=S.a.create("span",{text:o,style:
{marginLeft:"6px",verticalAlign:"bottom"}});e.setQuality?
e.setQuality(i):this.setValueInSelectBtn(e,i);var
a=[t.format,o];if(t.noAudio&&a.push(r.a.i18n.getMessage("withoutAudio")),a=a.join("
"),n.title=a,n.href=t.href,t.title&&t.format){var s=(t.ext||
t.format||"").toLowerCase();s&&(s="."+s),n.setAttribute("download",M.a.modify(t.tit
le+s))}},setUmmyBadge:function(e,t){var
n=this,o=e.quickBtn;e.link=t,r.a.sendMessage({action:"getUmmyIcon"},(function(t)
{var r=S.a.create("span",{style:
{width:"16px",height:"20px",backgroundImage:"url("+t+")",backgroundRepeat:"no-
repeat",backgroundPosition:"center",marginLeft:"6px",display:"inline-
block",verticalAlign:"top"}});n.setValueInSelectBtn(e,r)})),o.title=c()
(t.quality),o.href=t.href,o.removeAttribute("download")},setTelevzrBadge:function(e
,t){if(t){t=t.prop;var r=e.quickBtn;e.link=t;var o=S.a.create("span",{style:
{width:"16px",height:"20px",backgroundImage:"url("+n(61).televzIcon+")",backgroundS
ize:"16px",backgroundRepeat:"no-
repeat",backgroundPosition:"center",marginLeft:"6px",display:"inline-
block",verticalAlign:"top"}});this.setValueInSelectBtn(e,o),r.title=c()
(t.quality),r.href=t.href,r.removeAttribute("download")}},onGetLinks:function(e,t,n
){var o=this;if(t){var i=Object.keys(t).length;t.meta&&i--}if(!t||!i)return
this.setValueInSelectBtn(e,"");r.a.storage.get("ytLastITag",(function(r){var
i=r.ytLastITag;"ummyAudio"===i&&(i="ummy"),e.lastItag=i;var a=o.prepMenuLinks(t,n||
C.getTitleModify());if(e.onGetLinksArr&&e.onGetLinksArr.forEach((function(e){return
e(a.menuLinks)})),"ummy"===i&&a.ummyLinks[i])o.setUmmyBadge(e,a.ummyLinks[i]);else
if("televzr"===i){var s=a.menuLinks.find((function(e){return-1!
==e.prop.href.indexOf("televzr")}));s&&o.setTelevzrBadge(e,s)}else{var
u=o.getBestItem(a.menuLinks);u?
o.setBestValue(e,u):o.setValueInSelectBtn(e,"")}}))},setValue:function(e){var
t=this;this.bindDlBtn(e);var n=e.videoId||C.video_id;if(!n)return
this.onGetLinks(e);var o=C.responseCache[n];if(o)return
this.onGetLinks(e,o.links,o.title),void(o=null);var
i={action:"getYoutubeLinks",extVideoId:n,url:location.href,noDash:!
0};e.ytConfig&&(i.action="getYoutubeLinksFromConfig",i.config=e.ytConfig),r.a.sendM
essage(i,(function(n){return(n=n||
{}).isQuick&&(e.quickBtn.dataset.isQuick="1"),e.links=n.links,t.onGetLinks(e,n.link
s,n.title)}))}},videoFeed:{style:null,hrefIdPattern:/[\?&]v=([^&]
+)/,imgIdPattern:/vi[^\/]*\/([^\/]+)/,rList:[/\/playlist\?/,/(user|channel|c|
show)\/[^\/]+(\/feed|\/featured|\/videos|$)/i,/\/(feed)\/(trending|subscriptions|
history)/i],testUrl:function(e){return this.rList.some((function(t){return
t.test(e)}))},injectStyle:function(){this.style?!
this.style.parentNode&&document.head.appendChild(this.style):
(this.style=S.a.create("style",{class:"sf-feed-style",text:v()([{selector:
[".contains-percent-duration-watched .sf-feed-btn"],style:{bottom:"6px"}},
{selector:["a > .sf-feed-btn","div > .sf-feed-btn","span > .sf-feed-btn"],style:
{display:"none",border:"1px solid
#d3d3d3",width:"20px",height:"20px",padding:0,position:"absolute",right:"26px",bott
om:"2px",borderRadius:"2px",background:"url("+a.svg.getSrc("download","#777777")+")
center no-repeat #F8F8F8",backgroundSize:"12px",cursor:"pointer"}},{selector:["a
> .sf-feed-btn.style-2"],style:{border:0,top:0,left:0,margin:"4px",padding:"2px
4px",background:"url("+a.svg.getSrc("download","#FFF")+") center no-repeat
#000",backgroundSize:"14px",opacity:".8"}},{selector:["a > .sf-feed-btn:hover","div
> .sf-feed-btn:hover","span > .sf-feed-btn:hover"],style:
{background:"url("+a.svg.getSrc("download","#00B75A")+") center no-repeat
#F8F8F8",backgroundSize:"12px"}},{selector:["a > .sf-feed-btn.style-
2:hover"],style:{border:0,top:0,left:0,margin:"4px",padding:"2px
4px",background:"url("+a.svg.getSrc("download","#00B75A")+") center no-repeat
#000",backgroundSize:"14px",opacity:".8"}},{selector:["a > .sf-feed-
btn:active","div > .sf-feed-btn:active","span > .sf-feed-btn:active"],style:
{outline:0,boxShadow:"inset 0 3px 5px rgba(0, 0, 0, 0.125)"}},{selector:["a:hover >
.sf-feed-btn","div:hover > .sf-feed-btn","span:hover > .sf-feed-btn"],style:
{display:"block"}}])}),document.head.appendChild(this.style))},rmBtn:function()
{for(var e,t=document.querySelectorAll(".sf-feed-btn"),n=0;e=t[n];n+
+)e.parentNode.removeChild(e);["sfBtn","sfSkip"].forEach((function(r){var o=h()
(r);for(t=document.querySelectorAll("["+o+"]"),n=0;e=t[n];n+
+)e.removeAttribute(o)}))},getBtnNode:function(e,t){var n=["sf-feed-btn"];return
t&&n.push("style-"+t),S.a.create("i",{class:n,on:["click",function(t)
{t.preventDefault(),t.stopPropagation();var
n=this;if(C.currentMenu&&C.currentMenu.isShow)C.hideCurrentMenu();else{var
o=e,i=n.parentNode;if(i&&"A"===i.tagName&&"thumbnail"===i.id){var
s=C.videoFeed.hrefIdPattern.exec(i.href);s&&(o=s[1])}var
u=document.querySelector("#home-page-
skeleton.hidden"),l=C.currentMenu=a.popupMenu.quickInsert(n,r.a.i18n.getMessage("do
wnload")+" ...","sf-popupMenu",{offsetTop:u?54:0,onShow:function()
{x.a.onRemoveEvent(n,C.hideCurrentMenu)},onHide:function()
{x.a.offRemoveEvent(n,C.hideCurrentMenu)},onItemClick:function(e,t)
{C.onMenuItemClick(t,
{isFeedItem:1,videoId:o})}});r.a.sendMessage({action:"getYoutubeLinks",extVideoId:o
,url:location.href,checkSubtitles:!0},(function(e){if(e.links){var
t=a.popupMenu.prepareLinks.youtube(e.links,e.title,e.subtitles);l.update(t)}else
l.update(r.a.i18n.getMessage("noLinksFound"))}))}}]})}},downloadPlaylist:
(w=function(e){for(var
t,n=[],r=e.querySelectorAll("img[src]"),o=C.videoFeed.imgIdPattern,i=0;t=r[i];i++)
{var a=t.src.match(o);a&&-1===n.indexOf(a[1])&&n.push(a[1])}var
s=e.querySelectorAll("*[data-video-id]");for(i=0;t=s[i];i++){var
u=t.dataset.videoId;-1===n.indexOf(u)&&n.push(u)}return n},_=function(e,t,n,o){var
i=!1,s={},u=0,l=0,c=e.length,d=void 0;"audio"===t?(d=["audio"],t=void 0):
(d=["video"],t=parseInt(t)||void 0);var f=function f(){if(!i){var p=e[u];if(void
0===p)return 0===l?o(s):void 0;u++,l++,function(e,t,n,o){var i=-1!
==n.indexOf("audio");r.a.sendMessage({action:"getYoutubeLinks",extVideoId:e,noDash:
i},(function(e){var r=void
0;e.links&&(r=a.popupMenu.prepareLinks.youtube(e.links,e.title),r=a.popupMenu.sortM
enuItems(r,{noProp:!0,maxSize:t,minSize:2,typeList:n})),o(r)}))}(p,t,d,(function(e)
{e&&(e=e.filter((function(e){return!
["televzr","ummy","muxer"].includes(e.itag)})));var t=e?e[0]:void 0;if(t){var
r=(t.ext||t.format||"").toLowerCase();r&&(r="."+r);var
o=M.a.modify(t.title+r);s[p]={url:t.href,title:t.title,filename:o}}n(u,c),l--,f()})
)}};return f(),f(),{abort:function(){i=!0}}},function(){var e=!1,t=function(e){var
t,n,o,i,s,u=a.playlist.getInfoPopupTemplate();r.a.sendMessage({action:"getWarningIc
on",type:"playlist",color:"#77D1FA"},(function(e)
{u.icon.style.backgroundImage="url("+e+")"})),S.a.create(u.textContainer,{append:
[S.a.create("p",{text:r.a.i18n.getMessage("playlist"),style:
{color:"#0D0D0D",fontSize:"20px",marginBottom:"11px",marginTop:"13px"}}),n=S.a.crea
te("div",{append:[S.a.create("p",{text:r.a.i18n.getMessage("quality")+":",style:
{color:"#000000",fontSize:"14px",marginBottom:"13px",lineHeight:"24px"},append:
[o=S.a.create("select",{style:{width:"75px",marginLeft:"5px"},append:
[S.a.create("option",{text:"720",value:"720"}),S.a.create("option",
{text:"480",value:"480"}),S.a.create("option",
{text:"360",value:"360"}),S.a.create("option",
{text:"240",value:"240"}),S.a.create("option",
{text:"Audio",value:"audio"})]})]}),S.a.create("p",
{text:r.a.i18n.getMessage("qualityNote"),style:
{color:"#868686",fontSize:"14px",lineHeight:"24px"}})]}),t=S.a.create("p",
{text:"",style:
{color:"#868686",fontSize:"14px",lineHeight:"24px"}})]}),S.a.create(u.buttonContain
er,{append:[s=S.a.create("button",{text:r.a.i18n.getMessage("cancel"),style:
{height:"27px",width:"118px",backgroundColor:"#ffffff",border:"1px solid
#9e9e9e",margin:"12px",marginBottom:"11px",marginRight:"4px",borderRadius:"5px",fon
tSize:"14px",cursor:"pointer"}}),i=S.a.create("button",
{text:r.a.i18n.getMessage("continue"),style:
{height:"27px",width:"118px",backgroundColor:"#ffffff",border:"1px solid
#9e9e9e",margin:"12px",marginBottom:"11px",marginRight:"8px",borderRadius:"5px",fon
tSize:"14px",cursor:"pointer"}})]});var
l=a.popupDiv(u.body,"pl_progress_popup",void 0,void
0,e);return{qualitySelect:function(e)
{t.style.display="none",u.buttonContainer.style.display="block",n.style.display="bl
ock",i.addEventListener("click",(function()
{e(o.value)})),s.addEventListener("click",(function()
{x.a.trigger(l,"kill")}))},onPrepare:function(e)
{t.style.display="block",u.buttonContainer.style.display="none",n.style.display="no
ne",t.textContent=e},onProgress:function(e,n)
{t.textContent=r.a.i18n.getMessage("vkFoundFiles").replace("%d",e)+"
"+r.a.i18n.getMessage("vkFoundOf")+" "+n},onReady:function(e,t)
{x.a.trigger(l,"kill"),d?a.downloadList.showBeforeDownloadPopup(e,
{type:"playlist",folderName:t}):a.playlist.popupPlaylist(e,t,!0,void
0,"video")},onError:function(e)
{r.a.sendMessage({action:"getWarningIcon",type:"playlist",color:"#AAAAAA"},
(function(e)
{u.icon.style.backgroundImage="url("+e+")"})),t.style.display="block",u.buttonConta
iner.style.display="none",n.style.display="none",t.textContent=e}}}((function(){e=!
0}));t.qualitySelect((function(n){t.onPrepare(r.a.i18n.getMessage("download")
+" ..."),function(e){var t=document,n=f()
(location.href);if(n.list)r.a.sendMessage({action:"getYoutubeIdListFromPlaylist",li
stId:n.list,baseUrl:location.protocol+"//"+location.host},(function(t){if(!t)return
e();if(!t.idList||0===t.idList.length){var n=document.querySelector(".playlist-
videos-container > .playlist-videos-list");if(null!==n&&(t.idList=w(n)),!t.title)
{var r=document.querySelector(".playlist-info > .playlist-title");null!
==r&&(t.title=r.textContent.replace(/\r?\n/g,"
").trim())}}e(t.idList,t.title)}));else{var o=w(t);e(o,C.getTitle())}}
((function(o,i){if(!e)if(o&&0!==o.length){var a=function(e,t,n){return new
Promise((function(r){_(e,t,n,r)}))};a(o,n,t.onProgress).then((function(e){return
0===Object.keys(e).length?a(o,720,t.onProgress):e})).then((function(e){var
n=[];for(var r in e)n.push(e[r]);var o=M.a.modify(i);t.onReady(n,o)}))}else
t.onError(r.a.i18n.getMessage("noLinksFound"))}))}))})};C.tutorial={show:function(e
){if(this.hide(),s.onceShowYtTooltip){e.onClose=function()
{t&&t.stop(),r.a.sendMessage({action:"updateOption",key:"onceShowYtTooltip",value:s
.onceShowYtTooltip=0})},C.currentTutorial=new a.TutorialTooltip(e);var
t=null,n=document.querySelector("#page.watch");n&&(t=C.currentTutorial.attrWatcher=
new F.a({attrs:[{name:"class",callback:function(){var
e=C.currentTutorial;e&&e.tooltipNode.parentNode?
e.onResize():t.stop()}}],target:n}))}},hide:function(){var
e=C.currentTutorial;e&&(e.onClose&&e.onClose(1),e.attrWatcher&&e.attrWatcher.stop()
,C.currentTutorial=null)}};var O=function(e){return(e=(e=(e=(e=(e=e.replace(/[\x2F\
x5C\x3A\x7C]/g,"-")).replace(/[\x2A\x3F]/g,"")).replace(/\x22/g,"'")).replace(/\
x3C/g,"(")).replace(/\x3E/g,")")).replace(/(?:^\s+)|(?:\s+$)/g,"")},L=function(e)
{return z()("function(){var
ytPlayerConfig=window.ytplayer&&window.ytplayer.config;if(!ytPlayerConfig)
{return}return{args:ytPlayerConfig.args,sts:ytPlayerConfig.sts,assets:ytPlayerConfi
g.assets}}").then((function(t){if(!t||!t.args||!t.args.video_id){var
n=document.querySelector('#watch7-content
meta[itemprop="videoId"]'),r=n&&n.getAttribute("content");r&&((t=t||
{}).args=t.args||{},t.args.video_id=r)}return e(t)}))},E=function(){return z()
('function(){try{var player=document.querySelector("#movie_player");if(!player)
{throw new Error("PLAYER_IS_NOT_FOUND")}if(!player.getVideoData){throw new
Error("PLAYER_API_IS_NOT_FOUND")}if(!player.getPlayerResponse){(function(fn)
{if(fn&&!fn.sf_apply){fn.sf_apply=fn.apply;fn.apply=function(self,args){var
playerArgs=args[0];if(playerArgs&&playerArgs.raw_player_response){var
vars=null;try{vars=JSON.parse(JSON.stringify(playerArgs))}catch(err){// pass\
n}player.getSfPlayerVars=function(){return vars}}return fn.sf_apply(self,args)}}})
(player.loadVideoByPlayerVars)}var ytPlayer=window.ytplayer;var
playerUrl=ytPlayer&&ytPlayer.web_player_context_config&&ytPlayer.web_player_context
_config.jsUrl;// when open main page\nif(!playerUrl&&typeof
ytcfg==="object"&&ytcfg){playerUrl=ytcfg.data_&&ytcfg.data_.PLAYER_JS_URL}var
playerResponse=player.getPlayerResponse&&player.getPlayerResponse();if(!
playerResponse){var
sfConfig=player.getSfPlayerVars&&player.getSfPlayerVars();playerResponse=sfConfig&&
sfConfig.raw_player_response}if(!playerResponse)
{playerResponse=ytPlayer&&ytPlayer.config&&ytPlayer.config.args&&ytPlayer.config.ar
gs.raw_player_response}var videoData=player.getVideoData();var
video_id=videoData&&videoData.video_id;return{result:{config:
{playerUrl:playerUrl,args:
{player_response:playerResponse,video_id:playerResponse&&playerResponse.videoDetail
s&&playerResponse.videoDetails.videoId}},video_id:video_id}}}catch(err)
{return{error:{message:err.message,stack:err.stack}}}}').then((function(e){var
t=null;if(e?e.error&&(t=Object.assign(new Error("UNKNOWN_ERROR"),e.error)):t=new
Error("EMPTY_RESPONSE"),t)throw t;return e.result})).then((function(e){var
t=e.config,n=e.video_id;return n||(n=C.getIdFromLocation()),!
t.args.player_response||n&&n!==t.args.video_id?n?{args:
{video_id:n}}:null:t}))},P=function e(t,n,o)
{if(e.rmBtn(),n.showUmmyItem&&n.showUmmyBtn){var i="ummy://www.youtube.com/watch?
v="+o,a=S.a.create("span",{class:"sf-btn-name",text:r.a.i18n.getMessage("download")
+" "}),s=S.a.create("span",{text:"HD"}),u=S.a.create("i",{style:
{position:"absolute",display:"inline-
block",left:"6px",top:"3px",backgroundSize:"16px",backgroundRepeat:"no-
repeat",backgroundPosition:"center",width:"16px",height:"16px"}});r.a.sendMessage({
action:"getUmmyIcon"},(function(e){u.style.backgroundImage="url("+e+")"}));var
l=S.a.create("div",{id:e.id,style:{display:"inline-
block",marginLeft:"10px",verticalAlign:"middle"},on:["changeValue",function(e){var
t=JSON.parse(e.detail),n=S.a.create("span",
{text:t});s.parentNode.replaceChild(n,s),s=n}],append:[S.a.create("a",{class:"sf-
quick-dl-btn",style:{display:"inline-
block",fontSize:"inherit",height:"22px",border:"1px solid
#CCCCCC",borderRadius:"3px",paddingRight:"8px",paddingLeft:"28px",cursor:"pointer",
verticalAlign:"middle",position:"relative",lineHeight:"22px",textDecoration:"none",
zIndex:1,color:"#575757"},href:i,append:[u,a,s],on:["click",function(){/
^ummy/.test(this.href)&&r.a.sendMessage({action:"track",t:"event",ec:"youtube",ea:"
download",el:"ummy hd"})}]}),S.a.create("style",{text:v()
([{selector:"#"+e.id,append:[{".sf-quick-dl-btn":{backgroundColor:"#F8F8F8"},".sf-
quick-dl-btn:hover":{backgroundColor:"#EDEDED"},".sf-quick-dl-btn:active":
{backgroundColor:"#F8F8F8"}},{media:"@media screen and (max-width: 1293px)",append:
{".sf-quick-dl-btn .sf-btn-name":{display:"none"}}}]}])})]});return
j.bindUmmyBtn(l,{video:"yt-"+o,vid:130}),l}};P.id="sf-ummy-btn",P.rmBtn=function()
{for(var e,t=document.querySelectorAll("#"+P.id),n=0;e=t[n];n+
+)e.parentNode.removeChild(e)};var j={createInfoPopup:function(e,t){var
n=S.a.create("div",{class:"sf-ummy-info-confirm-popup-container",style:
{position:"absolute",zIndex:9999},append:[S.a.create("span",{style:
{display:"inline-block",border:"8px solid transparent",borderRight:"10px solid
rgb(192, 187,
187)",borderLeft:0,width:0,top:"8px",left:"11px",position:"absolute"}}),S.a.create(
"span",{style:{display:"inline-block",border:"8px solid
transparent",borderRight:"10px solid
#fff",borderLeft:0,width:0,top:"8px",left:"12px",position:"absolute"}}),S.a.create(
"div",{class:"sf-ummy-confirm-info-popup",style:{backgroundColor:"#fff",border:"1px
solid #ccc",marginLeft:"21px",padding:"6px
5px",textAlign:"center",maxWidth:"240px",lineHeight:"16px",fontSize:"12px",fontFami
ly:"arial, sans-serif",cursor:"default"},append:[S.a.create("p",{append:I()
(r.a.i18n.getMessage("ummyTooltipConfirm")),onCreate:function(e){var
t=e.querySelector("img");t.style.verticalAlign="text-
bottom",r.a.sendMessage({action:"getUmmyIcon"},(function(e)
{t.src=e}))}}),S.a.create("p",{style:{textAlign:"right"},append:[S.a.create("a",
{class:"sf-btn",style:{cssFloat:"left"},text:r.a.i18n.getMessage("yes"),href:e,on:
["click",function(e){setTimeout((function()
{r.a.storage.get({onceUmmyLandingHide:0},(function(e){e.onceUmmyLandingHide||
(e.onceUmmyLandingHide=0),r.a.storage.set({onceUmmyLandingHide:+
+e.onceUmmyLandingHide}),n.parentNode.removeChild(n),n.dataset.hide="1"}))}),250)}]
}),S.a.create("a",{class:"sf-
btn",text:r.a.i18n.getMessage("no"),href:t,target:"_blank"})]}),S.a.create("p",
{append:[S.a.create("label",{append:[S.a.create("input",{type:"checkbox",on:
["change",function()
{r.a.storage.set({onceUmmyLandingHide:3}),n.parentNode.removeChild(n),n.dataset.hid
e="1"}]}),S.a.create("span",
{text:r.a.i18n.getMessage("tooltipHide")})]})]}),S.a.create("style",{text:v()
({".sf-ummy-confirm-info-popup > p":{margin:"5px 0"},".sf-ummy-confirm-info-popup
label > *":{verticalAlign:"middle"},".sf-ummy-confirm-info-popup .sf-btn":
{display:"inline-block",fontSize:"inherit",height:"22px",border:"1px solid rgb(204,
204,
204)",borderRadius:"3px",cursor:"pointer",verticalAlign:"middle",position:"relative
",lineHeight:"22px",textDecoration:"none",color:"rgb(87, 87,
87)",textAlign:"center",margin:"0 10px",width:"80px"},".sf-ummy-confirm-info-
popup .sf-btn:hover":{backgroundColor:"#ededed"}})})]})],on:
[["mouseclick",function(e){e.stopPropagation()}],["mousedown",function(e)
{e.stopPropagation()}]]});return n},bindUmmyBtn:function(e,t){if(s.showUmmyLanding)
{var n,o=this;n=/^Mac/.test(navigator.platform)?"http://videodownloader.ummy.net/
save-from-youtube.html?"+Q.stringify({vid:t.vid,video:t.video,utm_source:"savefrom-
helper",utm_medium:"youtube-
helper",utm_campaign:"ummy",utm_content:"ummy_integration_h"}):"http://
videodownloader.ummy.net/?"+Q.stringify({vid:111,utm_source:"savefrom-
helper",utm_medium:"youtube-helper",utm_campaign:"youtube-helper-
hd"}),r.a.storage.get({onceUmmyLandingOpened:0,onceUmmyLandingHide:0},(function(t)
{if(!(t.onceUmmyLandingHide>2)){t.onceUmmyLandingHide||
(t.onceUmmyLandingHide=0);var
i=e.querySelector("a"),s=i.href;if(t.onceUmmyLandingOpened)return a.bindUmmyInfo(e,
{expUmmyInfo:o.createInfoPopup.bind(o,s,n),noUmmy:!
0});i.target="_blank",i.href=n;i.addEventListener("click",(function t()
{setTimeout((function()
{i.removeEventListener("click",t),r.a.storage.set({onceUmmyLandingOpened:1}),i.targ
et="_self",i.href=s,a.bindUmmyInfo(e,
{expUmmyInfo:o.createInfoPopup.bind(o,s,n),noUmmy:!0})}),250)}))}}))}}}}),
(function(){return!/\/\/gaming\.youtube/.test(location.href)}))},66:function(e,t)
{e.exports=n(65)},85:function(e,t){e.exports=n(46)},86:function(e,t)
{e.exports=n(66)}})},function(e){!function(e){function t(t){for(var
r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={12:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([110,0]),n()}({110:function(e,t,n){n.r(t);var
r=n(0),i=n(13),u=n.n(i),l=n(16);function d(e){return e.dataset.sfSongReady=1,e}var
f=function(e){return!e.dataset.sfSongReady},p=function()
{try{return"Tampermonkey"===GM_info.scriptHandler||"Violentmonkey"===GM_info.script
Handler}catch(e){return!1}},h=function(){return!p()&&!
(r.a.isGM&&navigator.userAgent.includes("Safari")&&!
navigator.userAgent.includes("Chrome"))},g=function(e){var
t=e.downloadURL,n=e.filename;if(p()){var
r=document.createElement("a");r.style.display="none",r.href=t,r.setAttribute("targe
t","_blank"),r.download=n,document.body.appendChild(r),r.click(),r.remove()}else{va
r o=new CustomEvent("song.download",{detail:
{downloadURL:t,filename:n}});document.dispatchEvent(o)}},v=function(e){var
t=document.createElement("a");return t.target="_blank",e&&t.classList.add("sf--
sc-"+e),t.classList.add("sf--sc-btn","sc-button","sc-button-small","sc-button-
icon","sc-button-responsive"),t},b=function(e,t)
{["loading","error","playlist","default"].includes(t)&&(e.classList.remove("sf--sc-
loading"),e.classList.add("sf--sc-".concat(t)))},y=function(e){return function(e)
{try{var t=e.replace(/[^A-Za-zА-Яа-яЁё0-9\s\.\-\(\)\[\]]/g,"").trim();if(""===t||
t.length<3)throw new Error("filename not valid");return t}catch(e){return
Date.now()+"_track"}}("".concat(e.title))+".mp3"};function A(e,t){return
Object(l.a)({action:"soundcloudFetchPageInfo",songEndpoint:t})}function k(e,t)
{return w.apply(this,arguments)}function w(){return(w=Object(o.a)
(m.a.mark((function e(t,n){var r,o;return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:return e.next=2,A(0,n);case
2:if((r=e.sent)&&"track"===r.kind){e.next=5;break}return e.abrupt("return");case
5:return e.next=7,x(t,r);case 7:return o=e.sent,e.abrupt("return",S(S({},r),{},
{downloadURL:o,filename:y(r)}));case 9:case"end":return
e.stop()}}),e)})))).apply(this,arguments)}function x(e,t){return Object(l.a)
({action:"soundcloudSearchBestDownloadURL",clientID:e,song:t})}function _(e,t)
{return Object(l.a)
({action:"soundcloudFetchSongsOfPlaylist",clientID:e,playlist:t})}var
O=n(33),M=n(12),L=n(6),E=n.n(L),P=n(80),j=n(10),T=n.n(j),D=n(8),N=function()
{function e(t){Object(a.a)
(this,e),this.selector='[role="group"].sound.playlist.streamContext',this.type="add
ed",this.clientID=t}var t;return Object(s.a)(e,[{key:"handle",value:function(e){var
t=this;e.added.filter(f).map(d).map((function(e){return
t.renderDownloadButton(e)}))}},{key:"renderDownloadButton",value:function(e){var
t=e.querySelector(".sc-button-
group"),n=v("playlist");n.addEventListener("click",this.downloadPlaylist.bind(this)
),t.appendChild(n)}},{key:"downloadPlaylist",value:(t=Object(o.a)
(m.a.mark((function e(t){var n,r,i,a,s=this;return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:return
t.stopPropagation(),n=t.target,b(n,"loading"),e.prev=3,r=t.target.closest(this.sele
ctor).querySelector('a[href*="sets/"]').href,e.next=7,A(this.clientID,r);case
7:if("playlist"===(i=e.sent).kind){e.next=10;break}throw new Error("It's not
playlist.");case 10:return e.next=12,_(this.clientID,i);case 12:return
a=e.sent.map(function(){var e=Object(o.a)(m.a.mark((function e(t){return
m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
e.t0=y(t),e.next=3,x(s.clientID,t);case 3:return e.t1=e.sent,e.abrupt("return",
{filename:e.t0,downloadURL:e.t1});case 5:case"end":return e.stop()}}),e)})));return
function(t){return e.apply(this,arguments)}}()),e.next=15,Promise.all(a);case
15:e.sent.map(g),e.next=21;break;case 18:throw
e.prev=18,e.t0=e.catch(3),b(n,"error"),e.t0;case 21:return
e.prev=21,b(n,"default"),e.finish(21);case 24:case"end":return e.stop()}}),e,this,
[[3,18,21,24]])}))),function(e){return t.apply(this,arguments)})}]),e}
(),F=n(9),B=n.n(F)()("userCardSingleTrack"),R=function(){function e(t,n)
{Object(a.a)
(this,e),this.selector='[role="group"].sound.streamContext:not(.playlist)',this.typ
e="added",this.utils=t,this.clientID=n}var t;return Object(s.a)(e,
[{key:"handle",value:function(e){var
t=this;e.added.filter(f).map(d).map((function(e){return
t.renderDownloadButton(e)}))}},{key:"renderDownloadButton",value:function(e){var
t=e.querySelector(".sc-button-group");t&&this.btnPrepare(e).then((function(e)
{e&&t.appendChild(e)}))}},{key:"btnPrepare",value:(t=Object(o.a)(m.a.mark((function
e(t){var n,r,o,i;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:if(n=v(),r=t.closest(this.selector)){e.next=3;break}return e.abrupt("return",void
B.error("root not found",t));case
3:if(o=r.querySelector("a.soundTitle__title[href]")){e.next=6;break}return
e.abrupt("return",void B.error("song url not found",t));case 6:return
e.next=8,A(this.clientID,o.href);case 8:if(!(i=e.sent)||"track"!==i.kind)
{e.next=18;break}return e.next=12,x(this.clientID,i);case
12:n.href=e.sent,n.download=y(i),n.addEventListener("click",this.utils.downloadOnCl
ick),e.t0=n,e.next=19;break;case 18:e.t0=void 0;case 19:return
e.abrupt("return",e.t0);case 20:case"end":return
e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),e}
(),q=[".listenDetails .trackItem.g-flex-row.sc-type-small .sc-button-
group, .chartTrack .sc-button-group",".trackItem.g-flex-row.sc-type-small.m-
playable .sc-button-group"].join(","),z=function(){function e(t,n){Object(a.a)
(this,e),this.selector=q,this.type="added",this.utils=t,this.clientID=n}var
t;return Object(s.a)(e,[{key:"handle",value:function(e){var
t=this;e.added.filter(f).map(d).map((function(e){return
t.renderDownloadButton(e)}))}},{key:"renderDownloadButton",value:function(e)
{this.btnPrepare(e).then((function(t){t&&e.appendChild(t)}))}},
{key:"btnPrepare",value:(t=Object(o.a)(m.a.mark((function e(t){var n,r,o,i;return
m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:if(n=v(),r=t.closest(".sc-type-small, .chartTrack")){e.next=3;break}return
e.abrupt("return",void I.error("root not found",t));case
3:if(o=r.querySelector(".trackItem__trackTitle[href], .chartTrack__title [href]"))
{e.next=6;break}return e.abrupt("return");case 6:return
o=o.href,e.next=9,k(this.clientID,o);case 9:return i=e.sent,e.abrupt("return",i?
(n.href=i.downloadURL,n.download=i.filename,n.addEventListener("click",this.utils.d
ownloadOnClick),n):void 0);case 11:case"end":return
e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),e}
(),U=".sidebarContent .sc-media:not(.hiddenActions) .sc-button-group",V=".l-about-
top .sc-button-group:nth-child(1)",H=".l-about-row .sound__soundActions .sc-button-
group:nth-child(1)",W=function(){function e(t,n){Object(a.a)
(this,e),this.selector=[H,U,V].join(","),this.type="added",this.utils=t,this.client
ID=n}var t,n,r;return Object(s.a)(e,[{key:"handle",value:function(e){var
t=this;e.added.filter(f).map(d).map((function(e){return
t.renderDownloadButton(e)}))}},{key:"renderDownloadButton",value:function(e){var
t,n=h(),r=n||!n&&-1===location.pathname.indexOf("/sets/");this.isTopSidebar(e)?
r&&(t=this.prepareButtonForTop()):t=this.prepareButtonForSidebar(e),t&&t.then((func
tion(t){t&&e.appendChild(t)}))}},{key:"prepareButtonForSidebar",value:
(r=Object(o.a)(m.a.mark((function e(t){var n,r,o,i,a;return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:if(n=v(),r=t.closest(".sc-media"))
{e.next=3;break}return e.abrupt("return");case
3:if((i=r.querySelector(".soundTitle__title[href]"))&&(o=i.href),!
i&&document.querySelector(H)&&(o=location.href),o){e.next=6;break}return
e.abrupt("return");case 6:return e.next=8,k(this.clientID,o);case 8:return
a=e.sent,e.abrupt("return",a?
(n.href=a.downloadURL,n.download=a.filename,n.addEventListener("click",this.utils.d
ownloadOnClick),n):void 0);case 10:case"end":return
e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},
{key:"prepareButtonForTop",value:(n=Object(o.a)(m.a.mark((function e(){var
t,n;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:return(t=v()).style.width=t.style.height="26px",e.next=4,k(this.clientID,location
.href);case 4:return n=e.sent,e.abrupt("return",n?
(t.href=n.downloadURL,t.download=n.filename,t.addEventListener("click",this.utils.d
ownloadOnClick),t):
(t.addEventListener("click",this.onDownloadPlaylist.bind(this)),t.classList.remove(
"sc-button-small"),t));case 6:case"end":return e.stop()}}),e,this)}))),function()
{return n.apply(this,arguments)})},{key:"onDownloadPlaylist",value:(t=Object(o.a)
(m.a.mark((function e(t){var n,r,i=this;return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:return
t.preventDefault(),t.stopPropagation(),e.next=3,A(this.clientID,location.href);case
3:return n=e.sent,e.next=6,_(this.clientID,n);case 6:return r=e.sent.map(function()
{var e=Object(o.a)(m.a.mark((function e(t){return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:return e.t0=y(t),e.next=3,x(i.clientID,t);case
3:return e.t1=e.sent,e.abrupt("return",{filename:e.t0,downloadURL:e.t1});case
5:case"end":return e.stop()}}),e)})));return function(t){return
e.apply(this,arguments)}}()),e.next=9,Promise.all(r);case 9:e.sent.map(g);case
10:case"end":return e.stop()}}),e,this)}))),function(e){return
t.apply(this,arguments)})},{key:"isTopSidebar",value:function(e){return
null!==e.closest(".l-about-top")}}]),e}(),G=function(e){Object(c.a)(i,e);var
t,n=C(i);function i(){var e;Object(a.a)(this,i);for(var t=arguments.length,r=new
Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,
[this].concat(r))).mutationHandlers=[],e.active=1,e}return Object(s.a)(i,
[{key:"init",value:(t=Object(o.a)(m.a.mark((function e(){return
m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
e.next=2,r.a.callFn("getPreferences");case
2:if(this.settings=e.sent,this.utils=Object(M.a)
({preferences:this.settings}),this.active=Number(this.settings.moduleSoundcloud),th
is.clientId=this.cache.get("client_id"),e.t0=this.clientId,e.t0)
{e.next=11;break}return e.next=10,u()('function(){var wpchunk=window.webpackChunk||
window.webpackJsonp;if(typeof wpchunk==="undefined"){return}var _result;var
sections=wpchunk.filter(function(v,k){return k!=="push"});// check fn\nfor(var id
in wpchunk){var chunk=wpchunk[id];if(chunk[1]&&chunk[1][41021]){var
matches=chunk[1][41021].toString().match(/\\?client_id=(.
+?)&/);if(Array.isArray(matches)&&matches[1]){return
matches[1]}}}sections.some(function(section){var obj=section[1];return
Object.keys(obj).some(function(fnIdx){var result=obj[fnIdx].toString().match(/\\?
client_id=(.+?)&/);if(result&&result[1]){return _result=result[1]}})});return
_result}');case 10:this.clientId=e.sent;case
11:this.registerMonoListeners(),this.registerListeners(),this.active&&this.initObse
rver(),this.appendStyle(P.styles);case 15:case"end":return
e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},
{key:"registerListeners",value:function(){var
e=this;document.addEventListener("song.download",(function(t){var
n=t.detail;e.utils.download(n.filename,n.downloadURL)}))}},
{key:"registerMonoListeners",value:function(){var
e=this;r.a.onMessage.addListener(function(){var t=Object(o.a)(m.a.mark((function
t(n,r,o){var a,s,u;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case
0:if(a=n.action,s=n.moduleName,u=n.state,s!==i.moduleName)
{t.next=10;break}if("getModuleInfo"!==a){t.next=4;break}return
t.abrupt("return",o({state:e.active,moduleName:i.moduleName}));case
4:if("updatePreferences"!==a){t.next=6;break}return t.abrupt("return",
(r=n.preferences,e.settings=S(S({},e.settings),{},{preferences:r})));case
6:if("changeState"!==a){t.next=10;break}if(!u){t.next=9;break}return
t.abrupt("return",e.initObserver());case
9:e.observer.stop(),document.querySelectorAll(".sf--sc-btn").forEach((function(e)
{return e.remove()}));case 10:case"end":return t.stop()}var r}),t)})));return
function(e,n,r){return t.apply(this,arguments)}}())}},
{key:"initObserver",value:function(){var e=this.clientId;this.mutationHandlers=[new
R(this.utils,e),new z(this.utils,e),new
W(this.utils,e)],h()&&this.mutationHandlers.push(new N(e)),this.observer=new
E.a({queries:this.mutationHandlers.map((function(e)
{return{css:e.selector,callback:e.handle.bind(e),is:e.type}}))}),this.observer.star
t()}}]),i}(O.a);G.moduleName="soundcloud";var Q=new G;T.a.isSingle()&&Object(D.a)
(G.moduleName,(function(){return Q.init()}),(function(){return!
0}))},80:function(e,t){e.exports=n(104)}})},function(e){!function(e){function t(t)
{for(var r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={17:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([112,0]),n()}({112:function(e,t,n){n.r(t);var
i=n(0),a=n(12),s=n(8),u=n(19),l=n.n(u),c=n(20),d=n.n(c),f=n(17),p=n.n(f),h=n(55),v=
n.n(h),b=n(14),y=n.n(b),A=n(32),k=n.n(A),w=n(7),x=n.n(w),_=n(15),C=n.n(_),I=n(11),O
=n.n(I),M=n(42),L=n.n(M),E=n(30),P=n.n(E),j=n(18),T=n.n(j),D=n(2),N=n.n(D),F=n(1),B
=n.n(F),R=n(34),q=n.n(R),z=n(5),U=n.n(z),V=n(16),H=n(9),W=n.n(H),G=n(10),Q=n.n(G),Y
=n(6),J=n.n(Y),K=n(26),Z=n.n(K),X=n(23),$=n.n(X),ee=n(50),te=n(31),ne=n(45),re=W()
("tools/youtube");function oe(e){return new Promise((function(t,n)
{i.a.sendMessage({action:"getFileSize",url:e},(function(n){var
r=n.fileSize;if(0===r||!Number.isFinite(r))return t(!
1);i.a.sendMessage({action:"getFileSize",url:e,requestOptions:{type:"GET",headers:
{Range:"bytes=".concat(r-8,"-").concat(r)}}},(function(n){var r=n.error;r?
re.debug("Link ".concat(e," don't have content")):re.debug("Link ".concat(e," have
content")),t(!r)}))}))}))}var ie=n(21),ae=n.n(ie),se=n(4),ue=n(41),le=function(e)
{var t={full:1080,hd:720,sd:480,low:360,lowest:240,mobile:144};return
e.rawQuality=e.quality,e.quality=t[e.quality]?
String(t[e.quality]):e.quality,e},ce=n(13),de=n.n(ce),fe=(n(47),n(35));n(56);var
pe=n(44),me=n(28),he=n(3),ge=n.n(he),ve=function(e){var
t=e.playlists,n=e.icon,r=e.downloadText,o=e.container,i=ge.a.createElement(me.b,
{items:t,theme:me.e},ge.a.createElement(me.a,null,ge.a.createElement("div",
{className:"like_btn",style:{marginLeft:"14px"}},ge.a.createElement("img",
{src:n,style:{opacity:.5},alt:""}),ge.a.createElement("div",
{className:"like_button_label"},r))));Object(se.render)
(i,o)},be=n(81),ye=n.n(be),Ae=n(40),ke=W()
("vkontakte_ru");Q.a.isSingle()&&Object(s.b)("vk",(function(e,t){var n=Object(a.a)
(t),s=t.preferences,u=s.moduleVkontakte?1:0,c=i.a.isChrome||i.a.isFirefox||
i.a.isGM&&i.a.isTM,f=l()(),h=!1;if(f)if(/\/video_ext\.php\?.
+/.test(location.href))h=!0;else{if(!/\/widget_comments\.php\?.
+/.test(location.href))return;f=!1}i.a.onMessage.addListener((function(t,n,r)
{if("getModuleInfo"===t.action){if(t.url!==location.href)return;return
r({state:u,moduleName:e})}if("changeState"===t.action){if(e!
==t.moduleName)return;return M.changeState(t.state)}"updatePreferences"!==t.action?
u&&("updateLinks"===t.action&&E(),"downloadMP3Files"===t.action&&(c?
z.downloadMP3Files():z.showListOfAudioFiles(!
1)),"downloadPlaylist"===t.action&&z.showListOfAudioFiles(!
0),"downloadPhotos"===t.action&&G.downloadPhoto()):Object.assign(s,t.preferences)})
),u&&setTimeout((function(){M.run()}));var
b,A,w,_=[],I={},M={contextMenu:null,isMutation:!1,run:function(){if(u=1,/
m\.vk\.com/.test(location.hostname))return Q.run();h?H.addFrameBtn():
(G.injectStyle(),J.a.isAvailable()&&(M.isMutation=!
0,z.addCustomStyle(),M.mutationMode.enable()))},changeState:function(e){f||
(u=e,j(),z.hideLinks(),W.off(),M.hideMenu(),G.rmCurrentPhotoBtn(),z.rmBitrate(),G.r
mPhotoAlbumDlBtn(),M.mutationMode.stop(),e&&M.run())},hideMenu:function()
{M.contextMenu&&(M.contextMenu.hide(),M.contextMenu=null)},mutationMode:
{observer:null,stop:function(){this.observer&&this.observer.stop(),
["sfSkip"].forEach((function(e){for(var t,n=y()
(e),r=document.querySelectorAll("["+n+"]"),o=0;t=r[o];o+
+)t.removeAttribute(n)}))},wrapNewAudioOnMouseOver:function()
{u&&z.onNewMouseOver.apply(this,arguments)},wrapNewVoiceOnMouseOver:function(){var
e=O()(this,".im-mess");if(!(e&&e.querySelector(".sf-voice-btn")||!u)){var
t=B.a.create("a",{href:this.getAttribute("data-mp3")||"#sf-preload",class:
[z.className,"sf-audio-btn","sf-voice-
btn"],download:U.a.modify(this.getAttribute("data-mp3"))||"",style:
{width:"3px",height:"3px",padding:"0px 9px 9px"},on:[["click",function(e)
{e.stopPropagation(),n.downloadOnClick(e)}]]}),r=e.querySelector(".im-mess--
actions, .audio-msg-track--duration");r&&(r.classList.contains("audio-msg-track--
duration")&&t.classList.add("sf-voice-btn-in-
dur"),r.appendChild(t),e.addEventListener("mouseleave",(function(){return
t.style.display="none"})),e.addEventListener("mouseenter",(function(){return
t.style.display="inline"}))),n.addStyleRules(".".concat(z.className,".sf-voice-
btn"),{"background-size":"12px !
important"}),n.addStyleRules(".".concat(z.className,".sf-voice-btn-in-dur"),
{position:"absolute",top:"23px",right:"-
13px"})}},wrapVideoFeedOnMouseOver:function()
{u&&W.onLinkHover.apply(this,arguments)},onVideoInsert:function(e){de()("function()
{return
window.mvcur&&window.mvcur.mvData&&window.mvcur.mvData.is_active_live}").then((func
tion(t){var r=n.getParentById(e,"mv_box"),o=H.getPlayerNode(r);o&&!t?
H.getLinksFromPlayer(r,o,H.newAppendButton.bind(H)):e.dataset.sfSkip=0}))},onVideoC
hange:(w=Object(o.a)(m.a.mark((function e(t){var r,o,a,s,u,l,c,d,f;return
m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,de()
("function(){return
window.mvcur&&window.mvcur.mvData&&window.mvcur.mvData.is_active_live}");case
2:if(e.sent){e.next=14;break}if(o=this,/video_box_wrap-?\d+_-?\d+/.test(t.id)?
t.sfWatch?o.onVideoInsert(t):(t.sfWatch=!0,(a=new $.a({attrs:
[{name:"id",callback:function()
{o.onVideoInsert(t)}}],target:t})).trigger(),N.a.onRemoveEvent(t,(function()
{a.stop(),t.sfWatch=!1,t.dataset.sfSkip=0}))):o.onVideoInsert(t),!
document.querySelector('iframe[src*="showjet"]')){e.next=14;break}return
s=document.querySelector('iframe[src*="showjet"]'),u=document.createElement("div"),
(l=document.querySelector(".like_btns")).insertBe
fore(u,l.querySelector(".ui_actions_menu_wrap._ui_menu_wrap")),c=n.svg.getSrc("down
load","#4986cc","20px"),d=i.a.i18n.getMessage("download"),e.next=12,r=s.src,Object(
V.a)({action:"showjetFetchMovie",iframeVideoURL:r});case
12:f=e.sent,fe.streamSaver.checkSupport()||(f=f.slice(0,2)),
(f=Object(pe.mapSetProvider)(f,pe.PROVIDERS.hlsProvider)).push(S(S({},f[f.length-
1]),{},
{provider:pe.PROVIDERS.m3u8Provider,badge:"m3u8"})),ve({playlists:f,icon:c,download
Text:d,container:u});case 14:case"end":return e.stop()}}),e,this)}))),function(e)
{return w.apply(this,arguments)}),enable:function(){var
e=this;if(this.observer)return this.observer.start();var t=function(e){for(var
t,n=0;t=e.added[n];n++)t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",N.a.one(t,"mouseenter",M.mutationMode.wrapNewAudioOnMouseOver
))};this.observer=new J.a({queries:[{css:".post_video_desc
a.lnk",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n+
+)t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",N.a.one(t,"mouseenter",M.mutationMode.wrapVideoFeedOnMouseOve
r))}},{css:"#mv_box #mv_player_box
> .video_box_wrap",is:"added",callback:function(t){for(var n,r=0;n=t.added[r];r+
+)n.dataset.sfSkip>0||(n.dataset.sfSkip="1",e.onVideoChange(n))}},{css:"#mv_box
#mv_player_box > .video_box_wrap > #video_player",is:"added",callback:function(t)
{for(var n,r=0;n=t.added[r];r++)(n=n.parentNode).dataset.sfSkip>0||
(n.dataset.sfSkip="1",e.onVideoChange(n))}},
{css:"#photos_all_block",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n++)t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",G.addNewPhotoAlbumDlBtn(t))}},
{css:".pv_photo_wrap .pv_img_area_wrap",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n++)t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",G.addNewDlCurrentPhotoBtn(t))}},
{css:".audio_row",is:"added",callback:t},
{css:".top_audio_player .top_audio_player_title",is:"added",callback:t},
{css:".audio_page_player .audio_page_player_title_performer",is:"added",callback:t}
,{css:".audio-msg-track",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n++)t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",N.a.one(t,"mouseenter",M.mutationMode.wrapNewVoiceOnMouseOver
))}},{css:"."+N.a.onRemoveClassName,is:"removed",callback:function(e){for(var
t,n=0;t=e.removed[n];n++)N.a.onRemoveListener(t)}}]})}}},E=function()
{M.changeState(0),M.changeState(1)},j=function(){z.lastRow=null;for(var
e=document.querySelectorAll("a.savefrom_vk_download,div.savefrom_vk_download,span.s
avefrom_vk_download"),t=e.length-
1;t>=0;t--)z.elIsHidden(e[t])&&e[t].parentNode.removeChild(e[t])},D=function()
{if(null!==document.querySelector('.page_block_header_inner._header_inner
a.ui_crumb[href="/audio"]')){var
e=document.querySelector(".page_block_header_inner._header_inner
div.ui_crumb");if(e&&e.textContent)return U.a.modify(e.textContent)}var
t=document.title,n=t.indexOf("|");return-1!==n&&(t=t.substr(0,n-
1)),U.a.modify(t)},F=function(e){try{var
t=JSON.parse(e).payload[1];return[null,null,null,null,null,t[0],t[1],null,t[3]]}cat
ch(e){}for(var n=function(e){return!0===e?1:parseInt(e)||0},r=function(e){return!
0===e?1:parseFloat(e)||0},o=e.split("<!>"),i=o.length-1;i>=0;--i){var
a=o[i];if("<!"==a.substr(0,2)){var s=a.indexOf(">"),u=a.substr(2,s-
2);switch(a=a.substr(s+1),u){case"json":var l=null;try{l=JSON.parse(a)}catch(e)
{}o[i]=l;break;case"int":o[i]=n(a);break;case"float":o[i]=r(a);break;case"bool":o[i
]=!!
n(a);break;case"null":o[i]=null;break;case"pageview_candidate":o.pop();break;case"d
ebug":o.pop()}}}return
o},R=function(e){return/<em>.*<\/em>/.test(e)&&(e=e.replace(/<\/?em>/
g,"")),e},z={audioElClassList:
["audio","audioRow","audioRowWall"],lastRow:null,className:"savefrom_vk_download",c
ache:{},lastValidRequest:null,waitUntilUnblock:function(e){var t=this,n=10;if(!
t.lastValidRequest)return Promise.reject(new Error("Last valid request is
empty!"));return function r(){return new Promise((function(e)
{setTimeout(e,15e3)})).then((function(){if(e.abort)throw new Error("Abort");return
T()(t.lastValidRequest).then((function(e){if(n--,!F(e.body)[5]){if(n>0)return
r();throw new Error("Can't request data")}}))}))}().then((function(){return new
Promise((function(e){setTimeout(e,250)}))}))},needUnmask:function(e){var
t=/audio_api_unavailable/;return e.some((function(e){if(t.test(e[2]))return!
0}))},unmaskUrlViaUtil:function(e){return z.needUnmask(e)?de()([],"function()
{return vk.id}").then((function(t){var n=e.map((function(e){try{return
Array.isArray(e)&&e[2]?(e[2]=ee.decodeUnavailableUrl(t,e[2]),e):null}catch(e)
{return ke.debug("track decode error: ",e),null}}));return
Promise.all(n).then((function(e){return e.filter((function(e){return null!
==e}))}))})):Promise.resolve(e)},unmaskUrl:function(e){return z.needUnmask(e)?de()
([e],'function(idsArr){var aFail=false;var bFail=false;var cFail=false;var
unmaskUrl=function unmaskUrl(url){var _url="";if(!aFail&&window.sfUnmaskUrl)
{try{_url=window.sfUnmaskUrl(url)}catch(err){aFail=true}}if(!cFail&&!
_url&&window.AudioPlayerHTML5){try{var res=null;var r={_isHlsUrl:function
_isHlsUrl(url){res=url;return true},_initHls:function _initHls()
{}};window.AudioPlayerHTML5.prototype._setAudioNodeUrl.apply(r,
[null,url]);_url=res}catch(err){cFail=true}}if(!bFail&&!
_url&&window.AudioPlayerFlash){try{var
r={};window.AudioPlayerFlash.prototype.setUrl.apply(r,[url]);_url=r._url}catch(err)
{bFail=true}}if(typeof _url!=="string"){_url=""}return
_url};idsArr.forEach(function(item){var url=unmaskUrl(item[2]);if(url)
{item[2]=url}});return idsArr}').then((function(t){return t||
e})):Promise.resolve(e)},_getNewTrackListByIdsWithActionHash:function(e){for(var
t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:
{},r=0,o={},i=this.cache,a=e.filter((function(e){var t=e.fullId;return!i[t]||
(o[t]=i[t],r++,!1)})),s=[];a.length;)s.push(a.splice(0,9));var
u=e.length,l=Promise.resolve();return s.forEach((function(e){l=l.then((function()
{var a=function(){if(n.abort)throw new Error("Abort");var a=e.filter((function(e)
{return e.fullId&&e.actionHash&&e.urlHash})).map((function(e){return
e.fullId+"_"+e.actionHash+"_"+e.urlHash})),s={type:"POST",headers:{"Content-
Type":"application/x-www-form-urlencoded","X-Requested-
With":"XMLHttpRequest"},data:Ae.stringify({act:"reload_audio",al:1,ids:a.join(",")}
),url:"/al_audio.php",localXHR:!0};return T()(s).then((function(e){var a=F(e.body)
[5];if(!a||!Array.isArray(a))throw new Error("Track list is not found!");return
t.lastValidRequest=s,a.forEach((function(e){var t=e[1]+"_"+e[0];i[t]=e,o[t]=e,r+
+})),n.onProgress&&n.onProgress(r,u),new Promise((function(e)
{setTimeout(e,250)}))}))},s=2;return function e(){return a().catch((function(r)
{if("Track list is not found!"===r.message&&!n.withoutUnblock)
{if(t.lastValidRequest)return t.waitUntilUnblock(n).then(a);if(s-- >0)return new
Promise((function(e){return setTimeout(e,15e3)})).then((function(){return
e()}))}throw r}))}().catch((function(e){"Abort"!==e.message&&ke.debug("requestIds
error!",e)}))}))})),l=(l=l.then((function()
{Object.keys(i).slice(1e3).forEach((function(e){delete i[e]}));var t=[];return
e.forEach((function(e){var
n=e.fullId,r=o[n];r&&t.push(r)})),t}))).then((function(e){return
z.unmaskUrlViaUtil(e)})).then((function(e){var t=ye()(5),n=e.map((function(e)
{return t((function(){var t=e[2],n=function(e){if(z.isHlsLink(e)){var
t=(e=e.replace("/index.m3u8",".mp3")).split("/"),n=-1!==e.indexOf("audios")?
1:0;return t.splice(t.length-(2+n),1),t.join("/")}return e}(t);return
z.isHlsLink(t)?T()({method:"HEAD",url:n}).then((function(){return e[2]=n,e}),
(function(t){return ke.warn("getNewTrackListByIdsWithActionHash: mp3 file not
available. ",t),e})):e}))}));return
Promise.all(n)}))},_getAlbumIdFromUrl:function(e){var t=this,n=[e],r=p()
(e);r.z&&n.unshift(r.z);var o=null;return n.some((function(e)
{if(o=t._getAlbumId(e))return!0})),o},_getAlbumId:function(e){if(/[?
&]q=/.test(e))return null;var t={url:"/al_audio.php",data:{}},n=/audio_playlist(-?\
d+)_(-?\d+)(?:\/(\
w+))?/.exec(e);if(n&&(t.data.access_hash=n[3]||"",t.data.act="load_section",t.data.
al=1,t.data.claim=0,t.data.owner_id=n[1],t.data.playlist_id=n[2],t.data.type="playl
ist",t.data.offset=0),!t.data.act){var r=/audios(-?\d+)/.exec(e);if(r){var o=/[?
&]section=(\w+)/.exec(e),i=o&&o[1];if(i&&-1===["playlists","all"].indexOf(i))return
null;t.data.access_hash="",t.data.act="load_section",t.data.al=1,t.data.claim=0,t.d
ata.owner_id=r[1],t.data.playlist_id=-
1,t.data.type="playlist",t.data.offset=0}}return t.data.act?
t:null},getNewNodeTrackInfo:(A=Object(o.a)(m.a.mark((function e(t){var n,r;return
m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:if(n=this.readNewDataAudio(t.dataset.audio),
(r=this.getNewTrackInfo(n))&&r.fullId){e.next=3;break}throw new Error("Track info
is not found");case 3:return e.abrupt("return",r.url?
z.unmaskUrlViaUtil([[null,null,r.url]]).then((function(e){return r.url=e[0]
[2],r})):r);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return
A.apply(this,arguments)}),_getAlbumTrackViaApi:function(e,t){if(!e.url)throw
ke.debug("Page is not exists!",e),new Error("Page is not exists!");var
n=JSON.parse(JSON.stringify(e.data)),r=function(){return t.abort?Promise.reject(new
Error("Abort")):T()({type:"POST",headers:{"Content-Type":"application/x-www-form-
urlencoded","X-Requested-
With":"XMLHttpRequest"},url:e.url,data:n,timeout:6e4,localXHR:!
0}).then((function(e){var t=F(e.body)[5];if(!t)throw new Error("Album data is
empty!");return new Promise((function(e){setTimeout(e,250)})).then((function()
{return t}))}))};return r().then((function(e){var t=20;return e.hasMore?function
o(i){return!i||t<0?e:(t--,n.offset=i,r().then((function(t){return t.list.length?
(e.list.push.apply(e.list,t.list),t.hasMore?o(t.nextOffset):e):e}),(function(t)
{return"Abort"!==t.message&&ke.debug("getOffset error!",t),e})))}
(e.nextOffset):e}))},_getAllTrackViaDom:function(e,t){var n=this;t=t||{};var
r=[];return[].slice.call(e.querySelectorAll(".audio_row")).forEach((function(e)
{if((!t.fromPage||!n.elIsHidden(e))&&(t.grabReply||!G.isReply(e))){var
o=null;try{o=JSON.parse(e.dataset.audio)}catch(e){}o&&r.push(o)}})),
{list:r}},_getNewAudioLinks:function(e,t){var n=this;t=t||{};var r=(e=e||
document)===document,o=G.getPopup("","audio",(function(){t.abort=!
0}));o.onPrepare(i.a.i18n.getMessage("download")+" ...");var a=function(){return
Promise.resolve().then((function(){return n._getAllTrackViaDom(e,
{fromPage:r,grabReply:!1})}))};t.onProgress=function(e,t){o.onProgress(e,t)};var
s=Promise.resolve();return(s=(s=(s=r?s.then((function(){return
Promise.resolve().then((function(){var e=n._getAlbumIdFromUrl(location.href);if(!
e)throw new Error("Album is not found");return
n._getAlbumTrackViaApi(e,t)}))})).catch((function(e){throw"Album is not found"!
==e.message&&ke.debug("findAlbumLinks error!",e),e})).catch((function(){return
a()})):s.then(a)).then((function(e){var t=e.list;if(!t.length)throw new
Error("Audio is not found");return o.onProgress(0,t.length),e}))).then((function(e)
{var r=[],o="";"string"==typeof e.title&&(o=U.a.modify(e.title));var i=[];return
e.list.forEach((function(e){var
t=e[1]+"_"+e[0],n=z.getTrackActionHash(e),o=z.getTrackUrlHash(e);-
1===i.indexOf(t)&&(i.push(t),r.push({fullId:t,actionHash:n,urlHash:o}))})),n._getNe
wTrackListByIdsWithActionHash(r,t).then((function(e){var t={},r=[];return
e.forEach((function(e){var o=n.getNewTrackInfo(e);if(o&&o.url){var
i=n.getNewAudioFilename(o),a=n.getNewAudioFullTitle(o);t[o.fullId]=o.url,r.push({ur
l:o.url,title:a,filename:i})}})),
{linkList:t,trackList:r,title:o}}))}))).then((function(e){return o.onReady(),e}),
(function(e){throw o.onReady(),e}))},tooltip:{tooltip:void
0,updatePos:function(e,t){var
r=n.getPosition(e),o=n.getSize(this.tooltip);this.tooltip.style.top=r.top+t.top-
o.height+"px";var
i=r.left+parseInt(t.width/2)-parseInt(o.width/2),a=document.body.clientWidth+docume
nt.body.scrollLeft;a<i+o.width&&(i=a-
o.width),this.tooltip.style.left=i+"px"},show:function(e,t){var n=this;return void
0!==this.tooltip?this.hide():(this.tooltip=B.a.create("div",{class:"sf-
tooltip",style:Object.assign({position:"absolute",display:"none",zIndex:9999,opacit
y:0,transition:"opacity 0.2s",whiteSpace:"nowrap"},t.style),on:
["mouseenter",function(e)
{n.hide()}]}),document.body.appendChild(this.tooltip)),this.tooltip.style.display="
block",setTimeout((function()
{n.updatePos(e,t),n.tooltip.style.opacity=1}),0),this.tooltip},hide:function()
{this.tooltip&&(this.tooltip.style.opacity=0,this.tooltip.style.display="none")}},r
mBitrate:function(){void
0===z.rmBitrate.style&&document.body.appendChild(z.rmBitrate.style=B.a.create("styl
e",{text:".sf-bitrate-value {display: none;}"}));for(var
e,t=document.querySelectorAll(".sf-bitrate-value"),n=0;e=t[n];n+
+)e.parentNode.removeChild(e)},insertNewBitrate:function(e,t)
{if(e&&t&&t.classList.contains("audio_row__info")){var
n=t.querySelector(".audio_row__duration");if(n&&(void 0!
==z.rmBitrate.style&&(z.rmBitrate.style.parentNode.removeChild(z.rmBitrate.style),z
.rmBitrate.style=void 0),!n.querySelector(".sf-bitrate-value"))){var
r=B.a.create("span",{text:" "+e,class:"sf-bitrate-value",style:
{position:"absolute",textAlign:"right",right:0,opacity:"0.8",top:"14px",fontSize:"1
1px",whiteSpace:"nowrap"}});n.appendChild(r)}}},onDlBtnLeave:function()
{z.tooltip.hide()},onDlBtnOver:function(){var
e=z,t=e.tooltip,n=this,r=n.dataset.fullId,o=n.parentNode&&n.parentNode.parentNode,a
=-6;n.dataset.bitrateOffsetTop&&(a=parseInt(n.dataset.bitrateOffsetTop));var
s={top:a,width:24,style:{backgroundColor:"#fff",border:"1px solid
#ccc",color:"rgb(48, 48, 48)"}},u=t.show(n,s);u.dataset.fullId=r;var l=function()
{var t=n.dataset.bitrate,r=n.dataset.size,a="";e.isHlsLink(n.href)?
a=i.a.i18n.getMessage("download"):r?t?(e.insertNewBitrate(t,o),a=r+" ~
"+t):a=r:a=i.a.i18n.getMessage("getFileSizeFailTitle"),u.style.padding="2px 5px
3px",u.textContent=a};n.dataset.size||e.isHlsLink(n.href)?l():(u.style.padding="2px
2px 0 2px",u.textContent="",u.appendChild(B.a.create("img",{src:"/images/
upload.gif",height:8,width:32,style:
{marginTop:"2px",marginBottom:"1px"}})),n.dataset.preloadOver||
(n.dataset.preloadOver=1,e._preloadNewTrackUrl(n).then((function(i)
{if(n.dataset.preloadOver=2,n.href=i,!e.isHlsLink(i))return
e._onOverInsertBitrate(n,o).then((function()
{u.dataset.fullId===r&&(l(),t.updatePos(n,s))}));l(),t.updatePos(n,s)})).catch((fun
ction(e){ke.error("_preloadNewTrackUrl
error",e),n.dataset.preloadOver="",u.dataset.fullId===r&&(l(),t.updatePos(n,s))})))
)},preloadIdPromiseMap:{},_preloadNewTrackUrl:function(e){var
t=this,n=t.preloadIdPromiseMap,r=e.dataset.fullId,o=e.dataset.actionHash,i=e.datase
t.urlHash,a=n[r];return a||
(a=n[r]=t._getNewTrackListByIdsWithActionHash([{fullId:r,actionHash:o,urlHash:i}],
{withoutUnblock:!0}).then((function(e){delete n[r];var o=null;e.some((function(e)
{if(e[1]+"_"+e[0]===r)return o=e,!0}));var i=o&&t.getNewTrackInfo(o);if(!i||!
i.url)throw new Error("Track is not found");return i.url}),(function(e){throw
delete n[r],e})).then((function(e){return z.unmaskUrl([e])})).then((function(e)
{return e[0]}))),a},isHlsLink:function(e)
{return/\.m3u8\?/.test(e)},onNewDlBtnClick:function(e){z.isHlsLink(this.href)?
(e.preventDefault(),ae()(Object(se.createElement)(ue.a,{sources:
[{url:this.href,format:"hls"}],filename:this.download,format:"mp3",convertType:"hls
ToMp3"}),document.body)):n.downloadOnClick(e);for(var
t,r=document.querySelectorAll("._audio_row_"+this.dataset.fullId),o=0;t=r[o];o+
+)t.style.backgroundColor="#f4f7fc"},_onNewDlBtnClickWrapper:function(e){var
t=z,n=this;e.stopPropagation(),(n.dataset.preloadOver>1||
n.dataset.preloadBitrate>1)&&(n.dataset.preloadDl=2),n.dataset.preloadDl?
n.dataset.preloadDl>1?z.onNewDlBtnClick.call(n,e):e.preventDefault():
(e.preventDefault(),n.dataset.preloadDl=1,t._preloadNewTrackUrl(n).then((function(t
){n.dataset.preloadDl=2,n.href=t,z.onNewDlBtnClick.call(n,e)}),(function(e)
{ke.error("_preloadNewTrackUrl
error",e),n.dataset.preloadDl=""})))},getNewDlBtn:function(e,t){var
n={href:e.url||"#sf-preload",class:[z.className,"sf-audio-
btn"],download:U.a.modify(t)||"",data:
{duration:e.duration||"",fullId:e.fullId,actionHash:e.actionHash,urlHash:e.urlHash}
,style:{width:"16px",height:"16px"},on:[["mouseenter",this.onDlBtnOver],
["mouseleave",this.onDlBtnLeave],["click",this._onNewDlBtnClickWrapper],
["mousedown",function(e){e.stopPropagation()}]]};return(i.a.isGM||
i.a.isSafari)&&(n.title=i.a.i18n.getMessage("downloadTitle")),B.a.create("a",n)},pr
eloadSizePromiseMap:{},_onOverInsertBitrate:function(e,t){var
r=this,o=r.preloadSizePromiseMap,a=e.dataset.fullId,s=o[a];return s||
(s=o[a]=function(e){var t=I[e];if(t){var n=_.indexOf(e);-1!
==n&&(_.splice(n,1),_.unshift(e))}else if(t=I[e]=Object(V.a)
({action:"getFileSize",url:e}).then((function(t){return t&&!t.error||delete
I[e],t})).catch((function(t){throw delete I[e],t})),_.unshift(e),_.length>100){var
r=_.pop();delete I[r]}return t}(e.href).then((function(s){if(delete o[a],!s)throw
new Error("Response is empty");if(!s.fileSize)throw delete r.cache[a],new
Error("File size is empty");var
u=n.sizeHuman(s.fileSize,2),l="";e.dataset.duration&&(l=Math.floor(s.fileSize/
e.dataset.duration/125)+"
"+i.a.i18n.getMessage("kbps")),e.dataset.bitrate=l,e.dataset.size=u,z.insertNewBitr
ate(l,t)}),(function(e){throw delete o[a],e}))),s},getNewAudioFullTitle:function(e)
{var t=[];return e.title&&t.push(e.title),e.performer&&(t.length&&t.unshift(" -
"),t.unshift(e.performer)),t.join("")},getNewAudioFilename:function(e){var
t=this.getNewAudioFullTitle(e);return
t&&(t+=".mp3"),t},handleNewCurrentAudioRow:function(e,t,r){if(!
e.querySelector("."+z.className)){var
o=this.getNewAudioFilename(t),i=this.getNewDlBtn(t,o),a="#6C8CAC";1===r&&(a="#C4D1D
E"),i.classList.remove("sf-audio-btn"),B.a.create(i,{style:
{background:"url("+n.svg.getSrc("download",a)+") center no-
repeat",backgroundSize:"12px",width:"12px",height:"12px",padding:0,margin:0,cssFloa
t:"left",marginRight:"3px",marginTop:"6px",marginBottom:"-2px"}});var
s=null;if(N.a.onRemoveEvent(i,(function()
{N.a.one(e,"mouseenter",M.mutationMode.wrapNewAudioOnMouseOver),s&&s.stop()})),2===
r){var u=O()(e,".audio_page_player");u&&(s=new $.a({target:u,attrs:[{name:"data-
full-id",callback:function()
{i.parentNode&&i.parentNode.removeChild(i),s&&s.stop()}}]})).trigger()}1===r&&(i.da
taset.bitrateOffsetTop=1),e.insertBefore(i,e.firstChild)}},handleNewAudioRow:functi
on(e,t,n){if(!e.querySelector("."+z.className)){var
r=this,o=this.getNewAudioFilename(n),i=this.getNewDlBtn(n,o),a=t.parentNode;B.a.cre
ate(i,{class:["audio_row__action"],style:
{width:"24px",height:"24px",cssFloat:"left"}});var u=t.firstChild;u?
t.insertBefore(i,u):t.appendChild(i),1===s.vkShowBitrate&&(i.dataset.preloadBitrate
||(i.dataset.preloadBitrate=1,r._preloadNewTrackUrl(i).then((function(e){return
i.dataset.preloadBitrate=2,i.href=e,r._onOverInsertBitrate(i,a)})).catch((function(
e){ke.error("_preloadNewTrackUrl error",e)}))))}},addNewDlTrackBtn:function(e){var
t=this,n=function(){i.disconnect()},r=null,o=function(e){function t(t){return
e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}
((function(o){r||(r=t.getNewNodeTrackInfo(e)),r.then((function(n){return
function(n,r){t.handleNewAudioRow(e,n,r)}(o,n)})).catch((function(e)
{ke.error("Fetch track info error: "+e.message),n()}))})),i=new(Z()())((function(e)
{if(u){for(var
t=null,r=null,i=0;t=e.shift();)if("childList"===t.type&&t.addedNodes.length&&t.targ
et.classList.contains("audio_row__info"))for(i=0,t.addedNodes;r=t.addedNodes[i];i+
+)if(r.classList.contains("audio_row__actions"))return void o(r)}else
n()}));i.observe(e,{childList:!0,subtree:!0});var
a=e.querySelector(".audio_row__actions");a&&(o(a),a=null)},getNewTrackInfo:function
(e){if(!e)return null;var t={};return"string"==typeof
e[2]&&(t.url=e[2]),t.title=e[3],t.title&&(t.title=U.a.decodeSpecialChars(R(t.title)
)),t.performer=e[4],t.performer&&(t.performer=U.a.decodeSpecialChars(R(t.performer)
)),t.duration=parseInt(e[5]),t.actionHash=z.getTrackActionHash(e),t.urlHash=z.getTr
ackUrlHash(e),e[1]&&e[0]&&(t.fullId=e[1]+"_"+e[0]),t.id=e[0
],t.ownerId=e[1],t},getTrackActionHash:function(e){return(e[13]||"").split("/")
[2]||""},getTrackUrlHash:function(e){return(e[13]||"").split("/")
[5]||""},readNewDataAudio:function(e){try{return JSON.parse(e)}catch(e){return
null}},addNewDlCurrentTrackBtn:function(e,t){var n=this;return de()((function(){var
e=null;if("undefined"!=typeof ap&&ap._currentAudio&&(e=ap._currentAudio),!
e&&"undefined"!=typeof
cur&&cur.audioPage&&cur.audioPage._readyAudio&&(e=cur.audioPage._readyAudio),!
e)try{e=JSON.parse(localStorage.audio_v9_track)}catch(e){}return
e})).then((function(r){if(!r){var
o=document.querySelector(".audio_page_player[data-
audio]");r=o&&_this.readNewDataAudio(o.dataset.audio)}var
i=r&&n.getNewTrackInfo(r);i&&(i.url||
i.fullId)&&n.handleNewCurrentAudioRow(e,i,t)}))},onNewMouseOver:function(e){var
t=z;if(this&&!this.querySelector("."+z.className)){var
n=null;this.classList.contains("top_audio_player_title")&&(n=1),this.classList.cont
ains("audio_page_player_title_performer")&&(n=2),n?
t.addNewDlCurrentTrackBtn(this,n):t.addNewDlTrackBtn(this)}},addCustomStyle:functio
n(){if(1!==this.addCustomStyle.hasStyle){this.addCustomStyle.hasStyle=1;var
e=document.querySelector("#savefrom-styles.sf-
audio");e&&e.parentNode.removeChild(e),n.addStyleRules(".savefrom_vk_download.sf-
audio-btn",{background:"url("+n.svg.getSrc("download","#5f7fa2")+") center no-
repeat !important",opacity:"0.4"},"sf-audio")}},hideLinks:function()
{if(this.addCustomStyle.hasStyle){this.addCustomStyle.hasStyle=0;var
e=document.querySelector("#savefrom-styles.sf-
audio");e&&e.parentNode.removeChild(e),n.addStyleRules(".savefrom_vk_download",
{display:"none"},"sf-
audio")}z.tooltip.tooltip&&(z.tooltip.tooltip.parentNode.removeChild(z.tooltip.tool
tip),z.tooltip.tooltip=void 0),z.cache={}},elIsHidden:function(e){return
null===e.offsetParent},downloadMP3Files:function(){var e=G.getLayer()||
document;z._getNewAudioLinks(e).then((function(e){e.linkList;var
t=e.trackList,r=e.title||D(),o=t.map((function(e){return z.isHlsLink(e.url)?
{filename:e.filename,sources:[{url:e.url,format:"hls"}],format:"hls",useConverter:!
0}:e}));if(0===o.length)return
alert(i.a.i18n.getMessage("vkMp3LinksNotFound"));n.downloadList.showBeforeDownloadP
opup(o,{type:"audio",folderName:r})}),(function(e){"Abort"!
==e.message&&(ke.debug("_getNewAudioLinks
error!",e),alert(i.a.i18n.getMessage("vkMp3LinksNotFound")))}))},showListOfAudioFil
es:function(e){var t=G.getLayer()||
document;z._getNewAudioLinks(t).then((function(t){var
r=t.linkList,o=t.trackList,a=t.title||D(),s=null;if(e){if(0!==(s=o).length)return
n.playlist.popupPlaylist(s,a,!0)}else{for(var u in s=[],r)s.push({url:r[u]});if(0!
==s.length)return
n.playlist.popupFilelist(s)}alert(i.a.i18n.getMessage("vkMp3LinksNotFound"))}),
(function(e){"Abort"!==e.message&&(ke.debug("_getNewAudioLinks
error!",e),alert(i.a.i18n.getMessage("vkMp3LinksNotFound")))}))},requestReloadAudio
:function(e,t,n){var
r={act:"reload_audio",ids:"".concat(e,"_").concat(t,"_").concat(n)};return T()
({type:"POST",url:"/audio",json:!0,data:r}).then((function(e){var
t=e.body.data;return z.getNewTrackInfo(t[0]
[0])}))}},H={panelId:"savefrom__vk_video_links",videoAttr:"data-savefrom-
video",hiddenAttr:"data-savefrom-hidden",btnBoxId:"sf-iframe-dl-
btn",btnBox:null,style:{fontSize:"10pt",margin:"15px
0",padding:"0"},getLinksFormUrl:function(e){if(e)
{if("//"===e.substr(0,2)&&(e="http:"+e),s.showUmmyItem&&this.isRutubeLink(e))return
H.getRutubeLinks(e);if(this.isPladformLink(e))return H.getPladformLinks(e);var
t,r=n.embedDownloader.hostings;for(var o in r){for(var i,a=r[o],u=0;i=a.re[u];u++)
{var l=e.match(i);if(l)
{t={hosting:o,action:a.action,extVideoId:l[1]};break}}if(t)break}if(t)return{reques
t:t}}},getLinksFromFlashVars:function(e){var t=p()(e,{params:!0});return
H.getLinksFromHtml5MetaData(t)},getLinksFromHtml5MetaData:function(e){if(e){var
t=e.md_title;if(void 0!==t){var n=Object.keys(e).some((function(e){return
e.match(/cache([0-9]+)/)}))?/cache([0-9]+)/:/url([0-9]+)/,r={},o=!1;for(var i in e)
{var a=null;if("extra_data"!==i||"52"!==e.extra){if(null!==(a=i.match(n))){var
s=e[i],u=s.indexOf("?");-1!==u&&(s=s.substr(0,u)),o=!0,r[a[1]]=s}}else
r[a=e.hd?"HD":"SD"]=e[i],o=!0}return o?{title:t,links:r}:void
0}}},getRutubeLinks:function(e){if(/rutube[^\/]+\/(?:play|video)\/embed\/(\
d+)/.test(e)||/video\.rutube\./.test(e))return{isUmmy:!
0,links:n.popupMenu.prepareLinks.rutube(e)}},isRutubeLink:function(e)
{return/\/\/.*rutube\..*/.test(e)},getPladformLinks:function(e){if(e){var t=p()
(e);return{request:{action:"getPladformVideo",extVideoId:
{playerId:t.pl,videoId:t.videoid}}}}},isPladformLink:function(e)
{return/\/\/.*pladform\..*/.test(e)},getLinksVideoEl:function(e,t){var
n=t.querySelector(".vv_summary");if(!n)return null;n=n.textContent;for(var
r,o,i={},a=e.querySelectorAll("source"),s=0;o=a[s];s++){var
u=o.src||"",l=u.indexOf("?");-1!==l&&(u=u.substr(0,l));var c=u.match(/\.(\d+)\.
[^\/]+$/);null!==c&&(i[c[1]]=u,r=!0)}return r?{title:n,links:i}:void
0},getPlayerNode:function(e){var
t=null;return["iframe.video_yt_player","#html5_player","#flash_video_obj","#playerO
bj","#player",".video_box_wrap > #video_player"].some((function(n)
{if(t=e.querySelector(n))return!0})),t},getLinksFromMv:function(e,t,n){return de()
([t,e],(function(e,t){var r=window.mvcur;if(r&&r.player&&r.player.vars){var
o=r.player.vars;return o.vid!==e||o.oid!==t?n():
{vars:r.player.vars}}})).then((function(e){return e?
H.getLinksFromHtml5MetaData(e.vars):null}))},getLinksFromFrame:function(e){var
t=document.body.innerHTML,n=p()
(location.href),r=parseInt(n.oid),o=parseInt(n.id);if(r&&o){var i=null;if(k()(t,
[/"vid":/,/"oid":/,/"md_title":/]).some((function(e){return i=e,!
0})),i&&i.vid===o&&i.oid===r)return e(null,{request:
{hosting:"vk",action:"getVkLinksFromJsonMsg",json:i}});var
a=document.body,s=H.getPlayerNode(a);if(s)return H.getLinksFromPlayer(a,s,
(function(t){t&&e(null,t)}))}return e("ERROR")},getLinksFromPlayer:function(e,t,r)
{if(t){var o,i;if("OBJECT"===t.tagName)
(i=t.querySelector('param[name="flashvars"]'))&&(i=i.getAttribute("value"),o=H.getL
inksFromFlashVars(i));else if("IFRAME"===t.tagName){var a=t.getAttribute("src");o||
(o=H.getLinksFormUrl(a))}else if("EMBED"===t.tagName){var
s=t.getAttribute("src");o||
(i=t.getAttribute("flashvars"))&&(o=H.getLinksFromFlashVars(i)),o||
(o=H.getLinksFormUrl(s))}if(o)return
r(o,e);if("DIV"===t.tagName&&"video_player"===t.id){var
u=t.parentNode.id,l=u&&u.match(/video_box_wrap(-?\d+)_(-?\d+)/);if(l)return
l.shift(),l=l.map((function(e){return parseInt(e)})),de()(l,(function(e,t){var
n=window.mvcur;if(!n)return r();var o="video"+e+"_"+t;return n.listId&&(o+="?
list="+n.listId),{path:o}})).then((function(t){if(t)return r({request:
{hosting:"vk",action:"getVKLinks",extVideoId:t.path,oidVid:l}},e)}))}if("html5_play
er"===t.id)return de()((function(){return
window.html5video&&window.html5video.vars?
window.html5video.vars:r()})).then((function(t){var
n=H.getLinksFromHtml5MetaData(t);if(n)return r(n,e)}));if("A"===t.tagName){var
c=t.href,d=p()(c);if(d.to)return o=n.embedDownloader.checkUrl(d.to),r(o?
{request:o}:null,e)}return r(null,e)}},preparePladformLinks:function(e)
{e&&"getRutubeLinks"===e.action&&(e.links=null);var
t=e&&e.links,n="noname",r={};if(t)for(var o,i=0;o=t[i];i+
+)n=o.title,r[o.quality]&&(o.quality=0),r[o.quality.toUpperCase()]=o.url;return{tit
le:n,links:r}},prepareLinks:function(e){var t=e.title,n=[];for(var r in e.links)
{var o=e.links[r],i=o.match(/[\w]+\.(mp4|flv)(?:\?|$)/i),a=(i=i?
i[1]:"flv").toUpperCase();n.push({href:o,quality:r,title:t,ext:i,format:a,forceDown
load:!0})}return n},getVideoLinksAsAjax:function(e){var t=/video(-?\d+_-?\
d+)/.exec(e);t=t&&t[1];var n=p()(e).list;return
G._getModuleName().then((function(e){return new Promise((function(r)
{W.getLinkAsAjax([t,n],(function(e,t)
{r({hosting:t,response:e})}),e)}))}))},prepareVideoLinks:function(e){return
Object(o.a)(m.a.mark((function t(){var
i,a,u,l,c,d,f,p,h,v,b,y,A,k,w,x,_,C,I,O,M,L,E,P,j,D;return m.a.wrap((function(t)
{for(;;)switch(t.prev=t.next){case 0:if(u=[],!e||!e.oidVid){t.next=7;break}return
c=Object(g.a)(e.oidVid,2),d=c[0],f=c[1],t.next=5,H.getLinksFromMv(d,f);case 5:
(p=t.sent)&&(l=u).push.apply(l,Object(r.a)(H.prepareLinks(p)));case 7:return
t.next=9,Object(V.a)(e);case 9:if((h=t.sent)&&("getPladformVideo"===e.action?
s.showUmmyItem&&"getRutubeLinks"===h.action?(i=u).push.apply(i,Object(r.a)
(n.popupMenu.prepareLinks.rutube(h.links))):(a=u).push.apply(a,Object(r.a)
(H.prepareLinks(H.preparePladformLinks(h)))):h.links&&(b=n.embedDownloader.reMapHos
ting(h.action))&&(v=u).push.apply(v,Object(r.a)(n.popupMenu.prepareLinks[b]
(h.links,h.title)))),u.length||"getVKLinks"!==e.action){t.next=18;break}return
t.next=14,H.getVideoLinksAsAjax(e.extVideoId);case 14:k=t.sent,w=k.hosting,
(x=k.response)&&x.links&&(x.isUmmy?(y=u).push.apply(y,Object(r.a)(x.links)):
(A=u).push.apply(A,Object(r.a)(n.popupMenu.prepareLinks[w](x.links,x.title))));case
18:if(!(u.filter((function(e){return-1!==e.href.indexOf("mycdn.me/")})).length||
u.length<=2)||!e.extVideoId){t.next=35;break}return C={},
(I=document.querySelector('a[href*="'+e.extVideoId+'"]'))&&I.dataset.length&&((O=I.
closest('[id*="post"]'))&&(C.post_id=O.dataset.postId),C.list=I.dataset.list,C.payl
ist_id="wall_"+I.dataset.video.split("_")[0]),C.video=e.extVideoId.split("?")
[0].replace("video",""),(M=location.href.match(/pl_(wall_.\
d+)/))&&M[1]&&(C.playlist_id=M[1]),(L=document.querySelector('a[data-
video="'.concat(C.video,'"]')))&&L.dataset.list&&(C.list=L.dataset.list),t.next=28,
T()({type:"POST",url:"https://vk.com/al_video.php?
act=show",data:S({act:"show",al:1,autoplay:1,module:"groups"},C)});case 28:return
E=t.sent,t.next=31,function(){var e=Object(o.a)(m.a.mark((function e(t,n){var
o,i,a,s,u,l;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
i=Object(te.matchAll)(n,/:"(https:\\\/\\\/[a-z0-9\-]{3,15}\.vkuservideo\.net.*?\.(\
d+)\.mp4.*?)",/gm).filter((function(e){return
e[1]})).map((function(e){var t=Object(g.a)
(e,3);t[0];return{href:t[1],quality:t[2],format:"MP4"}})),a=Object(te.matchAll)
(n,/RESOLUTION=(.*?)\\n(http.*?)\\n/gm).filter((function(e){return
e[1]})).map((function(e){var t=Object(g.a)
(e,3),n=(t[0],t[1]),r=t[2];return{quality:n.split("x").length>1?n.split("x")
[1]:n,href:r,format:"HLS",noSize:!0}})),s=Object(te.matchAll)(n,/hls":"(.*?)",/
gm).filter((function(e){return e[1]})).map((function(e){return
e[1]})).pop(),e.next=5,T()(s).then((function(e){return e.body}));case 5:return
u=e.sent,l=Object(te.matchAll)(u,/QUALITY=(.*?),RESOLUTION=(.*?)\n(.*?)\n/
gm),e.abrupt("return",((o=a).push.apply(o,Object(r.a)(l.filter((function(e){return
e[1]})).map((function(e){var n=Object(g.a)
(e,4),r=(n[0],n[1]),o=(n[2],n[3]);return{quality:r.split("x").length>1?r.split("x")
[1]:r,href:o,format:"MP4",noSize:!0,func:function(e)
{e.preventDefault(),e.stopPropagation(),ae()(Object(se.createElement)(ue.a,
{filename:t+".mp4",format:"mp4",sources:
[{url:o}],convertType:"hls"}),document.body)}}})))),a=a.map(le),
{hls:Object(ne.uniqArrayObject)(a,"href"),mp4:Object(ne.uniqArrayObject)
(i,"href"),dash:[]}));case 8:case"end":return e.stop()}}),e)})));return
function(t,n){return e.apply(this,arguments)}}()(h.title,E.body);case
31:P=t.sent,j=P.hls,D=P.mp4,(_=u).push.apply(_,Object(r.a)(D).concat(Object(r.a)
(j))),u=Object(ne.uniqArrayObject)(u,"href");case 35:return t.next=37,function()
{var e=Object(o.a)(m.a.mark((function e(t,n){var r,o;return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:r=[],o=0;case 2:if(!(o<t.length))
{e.next=19;break}if(!n||!n(t[o])){e.next=7;break}r.push(t[o]),e.next=16;break;case
7:if(-1===t[o].href.indexOf("http")){e.next=15;break}return
e.next=10,oe(t[o].href);case 10:if(e.t0=e.sent,!e.t0)
{e.next=13;break}r.push(t[o]);case 13:e.next=16;break;case 15:r.push(t[o]);case
16:o++,e.next=2;break;case 19:return e.abrupt("return",r);case 20:case"end":return
e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()
(Object(ne.uniqArrayObject)(u,"quality","itag"),(function(e){return
22==e.itag}));case 37:return u=(u=t.sent).map((function(e){return
e.title="."===e.title?"video-"+e.quality:e.title,e})),t.abrupt("return",u);case
40:case"end":return t.stop()}}),t)})))()},newAppendButton:function(e,t){if(e){var
r=t.querySelector("#mv_info"),a=r&&r.querySelector(".mv_actions_block .like_cont .l
ike_btns");r=null;var s=function(e){return e?e.querySelector("#mv_top_controls,
#VideoLayerInfo__topControls"):null},u=s(t);if(u||
(u=s(t.closest("#mv_container"))),a&&z.elIsHidden(a)&&(a=null),a||u){for(var l,c=!
(a||!u),d=t.querySelectorAll(".savefrom_vk_download"),f=0;l=d[f];f+
+)l.parentNode.removeChild(l);l=null,d=null;var p=B.a.create("div",{class:
["savefrom_vk_download","sf-under-video"],style:{cursor:"pointer"},on:
[["click",function(){var r=Object(o.a)(m.a.mark((function r(o){var a,s;return
m.a.wrap((function(r){for(;;)switch(r.prev=r.next){case
0:if(o.stopPropagation(),N.a.onRemoveEvent(this,M.hideMenu),!M.contextMenu||!
M.contextMenu.isShow){r.next=2;break}return r.abrupt("return",void
M.hideMenu());case
2:if(a=M.contextMenu=n.popupMenu.quickInsert(this,i.a.i18n.getMessage("download")
+"...","sf-single-video-menu",{parent:t}),!e.isUmmy){r.next=5;break}return
r.abrupt("return",void a.update(e.links));case 5:return
r.next=7,H.prepareVideoLinks(e.request);case 7:return s=r.sent,r.abrupt("return",
(s=s.map((function(e){return"MP4"===e.format&&(e.forceDownload=!
0),e})),a.update(s)));case 9:case"end":return r.stop()}}),r,this)})));return
function(e){return r.apply(this,arguments)}}()],["mousedown",function(e)
{e.stopPropagation()}],["keydown",function(e){e.stopPropagation()}]]});if(a)
{B.a.create(p,{class:["like_btn"],append:[B.a.create("div",{class:
["like_button_icon"],append:[B.a.create("img",
{src:n.svg.getSrc("download","#828a99"),width:16,height:16,style:
{margin:"4px"}})]}),B.a.create("div",{class:
["like_button_label"],text:i.a.i18n.getMessage("download")})]});var
h=a.querySelector(".ui_actions_menu_wrap");h?
h.parentNode.insertBefore(p,h):a.appendChild(p)}else if(c){B.a.create(p,{class:
["mv_top_button"],style:{textAlign:"center"},append:[B.a.create("img",{class:
["mv_small_close_icon"],style:
{backgroundImage:"none",width:"20px",height:"20px"},src:n.svg.getSrc("download","#F
FFFFF"),width:20,height:20})]});var
g=u.firstChild;if(g)if(z.elIsHidden(u.lastChild)){for(;g.nextElementSibling&&!
z.elIsHidden(g.nextElementSibling);)g=g.nextElementSibling;g.parentNode.insertBefor
e(p,g)}else u.appendChild(p);else
u.appendChild(p)}}}},appendNewFrameBtn:function(e,t){var r=this;if(!
t.querySelector(".savefrom_vk_download")){var o=n.frameMenu.getBtn({singleBtn:!
0,btnId:r.btnBoxId,containerStyle:{top:"10px",right:"10px"},on:
[["click",function(t)
{if(t.preventDefault(),t.stopPropagation(),M.contextMenu&&M.contextMenu.isShow)M.hi
deMenu();else{var
a=M.contextMenu=n.frameMenu.getMenu(this,i.a.i18n.getMessage("download")+"...","sf-
frame-menu",{container:o.container,onShow:function(){o.node.classList.add("sf-
over")},onHide:function(){M.contextMenu=null,o.node.classList.remove("sf-
over")}});if(e.request){var u=function(t){var
o=i.a.i18n.getMessage("noLinksFound");if(t&&"getPladformVideo"===e.request.action)o
=s.showUmmyItem&&"getRutubeLinks"===t.action?
n.popupMenu.prepareLinks.rutube(t.links):r.prepareLinks(r.preparePladformLinks(t));
else if(t&&t.links){var
u=n.embedDownloader.reMapHosting(t.action);u&&(o=n.popupMenu.prepareLinks[u]
(t.links,t.title))}a.update(o)};try{i.a.sendMessage(e.request,u)}catch(t){u()}}else
a.update(r.prepareLinks(e))}}],["mousedown",function(e)
{e.stopPropagation(),2===e.button&&(M.hideMenu(),o.container.parentNode&&o.containe
r.parentNode.removeChild(o.container))}]]});o.container=B.a.create("div",
{class:"sf-btn-ctr",append:o.node}),o.node.appendChild(B.a.create("style",{text:x()
([{selector:["body:hover .sf-btn-ctr #"+r.btnBoxId,"body:hover .sf-btn-ctr .sf-
frame-menu"],style:
{display:"block"}}])})),document.body.appendChild(o.container)}},addFrameBtn:functi
on(){var
e=document.getElementById("page_wrap");e&&H.getLinksFromFrame((function(t,n){t||
H.appendNewFrameBtn(n,e)}))}},W={linkDataAttr:"savefromHasBtn",getLinkAsAjaxRequest
:function(e,t){t=t||0;var n=Object.assign({},e),r=function(){if(t<1)return
W.getLinkAsAjaxRequest(e,++t);e.error&&e.error()},o=n.data;0===t?
o.act="show_inline":1===t&&(o.act="show"),P()(n,(function(t,n,o){return t||!o||-1!
==o.indexOf('href="/join"')?r():void
e.success(o)}))},getVideoDataFromLink:function(e){var
t=e.getAttribute("onclick"),n=/showVideo\(['"]{1}([^'"]+)['"]{1},.?['"]{1}([^'"]+)
['"]{1},.*\)/.exec(t);return n&&n.shift(),n},getLinkAsAjax:function(e,t,r)
{W.getLinkAsAjaxRequest({localXHR:1,type:"POST",url:"/al_video.php",data:
{list:e[1],video:e[0],act:"show_inline",module:r,al:1},success:function(e){if(!
e)return t();var r=e.match(/<iframe[^>]+src=['"]{1}([^'">]+)['"]{1}[^>]+>/i);if(r||
(r=e.match(/var\s+opts\s+=\s+({[^}]*})/im))&&(r=r[1].match(/url:\s+['"]{1}([^'"]+)
['"]{1}/i))&&0!==r[1].indexOf("//")&&0!==r[1].indexOf("http")&&(r=null),r){var
o=r[1];if(s.showUmmyItem&&H.isRutubeLink(o))return
t(H.getRutubeLinks(o));if(0===o.indexOf("//")&&(o="http:"+o),0!
==o.indexOf("http"))return t();var a=n.embedDownloader.checkUrl(o);if(!a)return
t();var u={action:a.action,extVideoId:a.extVideoId};i.a.sendMessage(u,(function(e)
{var r=a.hosting;return e.action!
==u.action&&(r=n.embedDownloader.reMapHosting(e.action)),t(e,r)}))}else Object(V.a)
({action:"getVkLinksFromData",data:e}).then((function(e){return
t(e,"vk")})).catch((function(){return t({},"vk")}))},error:function()
{t()}})},addDownloadBtn:function(e){var t=e.href,r={display:"inline-
block",width:"16px",height:"16px",marginLeft:"5px",backgroundImage:"url("+n.svg.get
Src("download","#78A2CC")+")",backgroundRepeat:"no-repeat",marginBottom:"-
4px"},o=B.a.create("a",{href:"http://savefrom.net/?
url="+encodeURIComponent(t),style:r,on:["click",function(e)
{if(e.preventDefault(),N.a.onRemoveEvent(a,M.hideMenu),M.contextMenu&&M.contextMenu
.isShow)M.hideMenu();else{var
t=document.querySelector("#wk_box");t&&t.contains(this)||(t=null);var
r={parent:t},s=this.getAttribute(n.embedDownloader.dataAttr),u=n.embedDownloader.ch
eckUrl(s);if(u){var
l={action:u.action,extVideoId:u.extVideoId},c=M.contextMenu=n.popupMenu.quickInsert
(o,i.a.i18n.getMessage("download")+" ...","sf-
popupMenu",r);H.prepareVideoLinks(l).then((function(e){e.map((function(e)
{return"MP4"===e.format&&(e.forceDownload=!0),e})),c.update(e)}))}else
M.contextMenu=n.popupMenu.quickInsert(o,i.a.i18n.getMessage("noLinksFound"),"sf-
popupMenu",r)}}]});o.setAttribute(n.embedDownloader.dataAttr,t);var
a=B.a.create("span",{class:"sf-video-feed-container",on:["click",function(e)
{e.stopPropagation()}],append:[o]}),s=e.querySelector(".post_video_title");s?
s.appendChild(a):e.appendChild(a)},onLinkHover:function(){if("A"===this.tagName)
{var e=this.href||"";0===this.id.indexOf("post_media_lnk")&&-1!==e.indexOf("/
video")&&(M.contextMenu&&M.contextMenu.isShow&&M.hideMenu(),this.dataset[W.linkData
Attr]||(this.dataset[W.linkDataAttr]=1,W.addDownloadBtn(this)))}},off:function()
{for(var e,t=document.querySelectorAll(".sf-video-feed-container"),n=0;e=t[n];n+
+)e.parentNode.removeChild(e);var r=y()
(W.linkDataAttr),o=document.querySelectorAll("*["+r+"]");for(n=0;e=o[n];n+
+)e.removeAttribute(r)}},G={photoCache:{},getAlbumId:function(e){if(!/(\?|&|
#)act=edit/i.test(e)){var t=[];t.push(e);var n=p()
(e);n.w&&t.push(n.w),n.z&&t.push.apply(t,n.z.split("/")),/#/.test(e)&&(t.push(e.sub
str(e.indexOf("#")+1)),t.push(decodeURIComponent(e.substr(e.indexOf("#")
+1)))),t.reverse();var r=null,o=null;return
t.some((function(e){if(o=e.match(/(?:\/|#|=|^)(albums?|tag|photos|feed(?:\d+)?_|
wall)(-?\d+)(?:_(\d+))?/i))return o[3]?r=/^(feed|wall)/.test(o[1])?
o[1]+o[2]+"_"+o[3]:"album"+o[2]+"_"+o[3]:
("albums"==o[1]&&(o[1]="photos"),r=o[1]+o[2]),!0})),r}},getModuleName:function(e)
{var t=B.a.create("script",{text:"("+'function()
{if(window.cur&&window.cur.module&&typeof
window.cur.module==="string")
{document.body.dataset["{dataArg}"]=window.cur.module}}'.replace("{dataArg}","sfMod
ule")+")();"});document.body.appendChild(t),setTimeout((function()
{t.parentNode.removeChild(t),e(document.body.dataset.sfModule)}),0)},isReply:functi
on(e){return C()(e,".replies "+e.tagName)||C()(e,".wl_replies
"+e.tagName)},getWallPostContent:function(){var e=location.href.match(/wall(-?\d+_\
d+)/);if(e=e&&e[1])return document.getElementById("post"+e)||
document.getElementById("wpt"+e)},getPopup:function(e,t,r){var
o,a=n.playlist.getInfoPopupTemplate();B.a.create(a.textContainer,{append:
[B.a.create("p",{text:e,style:
{color:"#0D0D0D",fontSize:"20px",marginBottom:"11px",marginTop:"13px"}}),o=B.a.crea
te("p",{text:"",style:{color:"#868686",fontSize:"14px",lineHeight:"24px"}})]});var
s=n.popupDiv(a.body,"sf_progress_popup",void 0,void 0,r),u=function e(n){e.state!
==n&&(e.state=n,a.buttonContainer.style.display="none",o.style.display="none",i.a.s
endMessage({action:"getWarningIcon",type:t,color:"#77D1FA"},(function(e)
{a.icon.style.backgroundImage="url("+e+")"})),"progress"===n&&(o.style.display="blo
ck"),"error"===n&&(i.a.sendMessage({action:"getWarningIcon",type:t,color:"#AAAAAA"}
,(function(e)
{a.icon.style.backgroundImage="url("+e+")"})),o.style.display="block"))};return{onP
repare:function(e){u("progress"),o.textContent=e},onProgress:function(e,t)
{o.textContent=i.a.i18n.getMessage("vkFoundFiles").replace("%d",e)+"
"+i.a.i18n.getMessage("vkFoundOf")+" "+t},onReady:function()
{N.a.trigger(s,"kill")},onError:function(e)
{u("error"),o.textContent=e}}},getLayer:function(){var
e=document.getElementById("layer_wrap");return null!==e&&"none"!
==e.style.display&&0!==e.textContent.length||(e=null),null===e&&(null!
==(e=document.getElementById("wk_layer_wrap"))&&"none"!==e.style.display&&0!
==e.textContent.length||(e=null)),e},_getAlbumLinks:function(e,t){var
n=this,r=n.photoCache,o="";/albums|tags|photos/.test(location.href)&&(o=D());var
i={},a=[],s=0,u=0,l=0,c=0;return function d(){return function(o){if(t.abort)return
Promise.reject(new Error("Abort"));var a={act:"show",al:1,list:e};return
o&&(a.offset=o),T()({type:"POST",headers:{"Content-Type":"application/x-www-form-
urlencoded","X-Requested-With":"XMLHttpRequest"},url:"/
al_photos.php",data:a,localXHR:!0,timeout:6e4}).then((function(e){var
t=F(e.body),o=t[6],a=t[8];s||(s=a.length),u=o,l||(l=Math.ceil(o/s));var
c=[],d="";return a.forEach((function(e){if(!i[e.id]){i[e.id]=1;var
t=n.getMaxPhotoSize(e);t&&(!d&&e.album&&(d=U.a.decodeSpecialChars(v()
(e.album.replace(/<[^>]+>/g,"")))),t.id=e.id,r[e.id]=t,c.push(t))}})),new
Promise((function(e){setTimeout(e,250)})).then((function()
{return{title:d,list:c}}))}))}(c*s).then((function(e){if(l--,c+
+,a.push.apply(a,e.list),t.onProgress&&t.onProgress(a.length,u),o||
(o=e.title),l>0)return d()}))}().then((function()
{if(Object.keys(r).slice(1e3).forEach((function(e){delete r[e]})),!a.length)throw
new Error("Album is empty");return o||(o=D()),{title:o,list:a}}),(function(e)
{throw"Abort"!==e.message&&ke.debug("Get photo page
error!",e),e}))},_getPhotoLinks:function(e,t,n){var r=this;return
r._getModuleName().then((function(o){return function(o){if(n.abort)return
Promise.reject(new Error("Abort"));var
i={act:"show",al:1,list:t,module:o,photo:e};return T()({type:"POST",headers:
{"Content-Type":"application/x-www-form-urlencoded","X-Requested-
With":"XMLHttpRequest"},url:"/al_photos.php",data:i,localXHR:!
0,timeout:6e4}).then((function(t){var n=F(t.body)[8],o=null;if(n.some((function(t)
{if(t.id===e)return o=r.getMaxPhotoSize(t),!0})),!o)throw new Error("Photo is is
not found!");return new Promise((function(e){setTimeout(e,250)})).then((function()
{return o}))}))}(o)})).catch((function(e){throw"Abort"!==e.message&&ke.debug("Get
photo error!",e),e}))},_getModuleName:function(){return new Promise((function(e,t)
{var n=B.a.create("script",{text:'(function(dataArg)
{if(window.cur&&window.cur.module&&typeof window.cur.module==="string")
{document.body.dataset[dataArg]=window.cur.module}})('+JSON.stringify("sfModule")
+");"});document.body.appendChild(n),setTimeout((function()
{n.parentNode.removeChild(n),e(document.body.dataset.sfModule)}),0)}))},_getAlbumLi
nksViaDom:function(e,t){var n=this,r=n.photoCache;if(t.abort)return
Promise.reject(new Error("Abort"));var o=/showPhoto\s*\(\s*["']([-\d_]+)["']\s*,\
s*["']([\w\-]+)["']/i,i=/\{["']?temp["']?\s*:\s*(\{.+?\})/i,a=/(\{|,)\s*(\w+)\s*:/
gi,s={},u=[],l=function(e){if(!G.isReply(e)&&!z.elIsHidden(e)){var
t=e.getAttribute("onclick"),r=o.exec(t);if(r){var l=r[1];if(!s[l]){s[l]=1;var
c=r[2],d=null,f=i.exec(t);if(f){f=f[1].replace(a,'$1"$2":');var
p=null;try{p=JSON.parse(f)}catch(e){}d=p&&n.getMaxPhotoSize(p)}d||
(d={}),d.id=l,d.listId=c,u.push(d)}}}};if([].slice.call(e.querySelectorAll("a[oncli
ck]")).forEach(l),0===u.length&&e!==document){var
c=n.getWallPostContent();c&&[].slice.call(c.querySelectorAll("a[onclick]")).forEach
(l)}return function(e){var o=Promise.resolve(),i=[],a=e.filter((function(e){var
t=r[e.id];return!t||(i.push(t),!1)}));return
t.onProgress&&t.onProgress(i.length,e.length),a.forEach((function(a)
{o=o.then((function(){return n._getPhotoLinks(a.id,a.listId,t).then((function(n)
{r[a.id]=n,i.push(n),t.onProgress&&t.onProgress(i.length,e.length)}),(function(n)
{if("Abort"===n.message)throw
n;a.url&&(i.push(a),t.onProgress&&t.onProgress(i.length,e.length),ke.debug("Photo
link from dom",n))}))}))})),o=o.then((function()
{if(Object.keys(r).slice(1e3).forEach((function(e){delete r[e]})),!i.length)throw
new Error("Photos is not found");return{list:i}}))}(u)},_getLinks:function(e,t){var
r=this,o=Promise.resolve(),a={},s=r.getPopup(D(),"photo",(function(){a.abort=!
0}));a.onProgress=function(e,t)
{s.onProgress(e,t)},s.onPrepare(i.a.i18n.getMessage("download")+" ...");var
u=function(){if((e=e||document)===document){var t=r.getLayer();t&&(e=t)}return
r._getAlbumLinksViaDom(e,a)};return(o=t?o.then((function(){return
r._getAlbumLinks(t,a)})).catch((function(e){throw"Album is empty"!
==e.message&&"Abort"!==e.message&&ke.debug("findAlbumLinks
error",e),e})).catch((function(){return u()})):o.then(u)).then((function(e){var
t=e.title,o=function(e){var t=[];e.forEach((function(e){var
n=e.url,o=r.getFilenameFromUrl(n);o||
(o="unknown.jpg"),t.push({filename:o,url:n})}));var
n=String(t.length).length;return t.forEach((function(e,t){for(var
r=String(t+1);r.length<n;)r="0"+r;e.filename=r+"-"+e.filename})),t}
(e.list);s.onReady(),t||(t=D()),c?n.downloadList.showBeforeDownloadPopup(o,
{count:o.length,folderName:t,type:"photo",onShowList:function()
{r.showListOfLinks(t,o,!0)}}):r.showListOfLinks(t,o,!0)}),(function(e){"Abort"!
==e.message&&ke.debug("_getLinks
error",e),s.onError(i.a.i18n.getMessage("noLinksFound"))}))},rmPhotoAlbumDlBtn:func
tion(){for(var e,t=document.querySelectorAll([".sf-dl-ablum-btn-divide",".sf-dl-
ablum-btn"]),n=0;e=t[n];n+
+)e.parentNode.removeChild(e)},addNewPhotoAlbumDlBtn:function(e){var
t=this,n=e.querySelector(".photos_album_intro_info"),r=e.querySelector(".page_block
_header_extra"),o=n||r;if(o&&!o.querySelector(".sf-dl-ablum-btn")){var
a=B.a.create("a",
{text:i.a.i18n.getMessage("vkDownloadPhotoAlbum"),href:"#",class:"sf-dl-ablum-
btn",on:["click",function(n){n.preventDefault();var
r=G.getAlbumId(location.href);t._getLinks(e,r)}]}),s=B.a.create("span",
{append:a});n?
(s.classList.add("photos_album_info"),s=B.a.create(document.createDocumentFragment(
),{append:[B.a.create("span",{class:"divide sf-dl-ablum-btn-
divide",text:"|"}),s]})):r&&(s.classList.add("photos_comments_link"),s.style.margin
="0 15px"),o.appendChild(s)}},getContainer:function(){var
e=document.getElementById("photos_albums_container");return e||
(e=document.getElementById("photos_container")),e},getFilenameFromUrl:function(e)
{var t=/\/([\w\-]+\.[a-z0-9]{3,4})(?:\?|$)/i.exec(e);return
t&&t[1]||""},rmCurrentPhotoBtn:function(e){for(var t,n=void
0,r=document.querySelectorAll(".sf-dl-current-photo-btn"),o=0;t=r[o];o+
+)e&&e.contains(t)?n=t:t.parentNode.removeChild(t);return
n},style:null,injectStyle:function(){this.style?this.style.parentNode||
document.head.appendChild(this.style):(this.style=B.a.create("style",{text:x()
({"div > .sf-dl-current-photo-btn":{display:"none",border:"1px solid
#F8F8F8",width:"20px",height:"20px",padding:0,position:"absolute",background:"url("
+n.svg.getSrc("download","#777777")+") center no-repeat
#F8F8F8",backgroundSize:"12px",top:"20px",left:"30px",zIndex:10,cursor:"pointer"},"
div > .sf-dl-current-photo-btn.sf-style-black":
{border:0,background:"url("+n.svg.getSrc("download","#FFF")+") center no-repeat
#000",backgroundSize:"14px",padding:"2px
4px",borderRadius:"2px",opacity:.4,transition:"opacity 100ms linear"},"div > .sf-
dl-current-photo-btn:hover":{background:"url("+n.svg.getSrc("download","#00B75A")
+") center no-repeat #F8F8F8",backgroundSize:"12px",opacity:.8},"div > .sf-dl-
current-photo-btn.sf-style-black:hover":
{background:"url("+n.svg.getSrc("download","#00B75A")+") center no-repeat
#000",backgroundSize:"14px"},"div > .sf-dl-current-photo-btn:active":
{outline:0,boxShadow:"inset 0 3px 5px rgba(0, 0, 0, 0.125)"},"div:hover > .sf-dl-
current-photo-btn":
{display:"block"}})}),document.head.appendChild(this.style))},getMaxPhotoSize:funct
ion(e){var t,n,r=null,o=null;return["w","z","y","x"].some((function(t){return!!
(r=e[t+"_"])||!!(o=e[t+"_src"])||void 0})),r||(r=[o]),r[0]?{url:
(t=e.base,n=r[0],n.match(/https?:\/\//i)?((n=new URL(n)).pathname.match(/\.[a-z]
{3}$/i)||(n+=".jpg"),n.toString()):(n.match(/\.[a-z]{3}$/i)||(n+=".jpg"),
(t||"").replace(/\/[a-z0-9_:\.]*$/i,"")
+"/"+n)),width:r[2]&&r[1],height:r[1]&&r[2]}:null},getNewCurrentPhotoLink:function(
e,t){var n=this;return e?de()([e],(function(e){var t={};return"undefined"!=typeof
cur&&cur.pvCurPhoto&&cur.pvCurPhoto.id===e&&(t=cur.pvCurPhoto),t})).then((function(
e){if(!e||!e.id)return t("ID is not found");var r=n.getMaxPhotoSize(e);return r?
t(null,r):t("URL is not found!")})):t("ID is
empty!")},addNewDlCurrentPhotoBtn:function(e){var t=e;if(!
this.rmCurrentPhotoBtn(t)){var r=this,o=e.closest(".pv_photo_wrap");if(o){var
a=B.a.create("a",{class:["sf-dl-current-photo-btn","sf-style-
black"],href:"#",title:i.a.i18n.getMessage("download"),on:[["click",function(e)
{if(e.stopPropagation(),e.preventDefault(),N.a.onRemoveEvent(this,M.hideMenu),!
M.contextMenu||!M.contextMenu.isShow){var
a=M.contextMenu=n.popupMenu.quickInsert(this,i.a.i18n.getMessage("download")
+" ...","photoDlMenu",
{parent:t}),s=o.querySelector(".like_wrap").classList,u=null;return
s.forEach((function(e){var t=e.match(/photo(-?\d+_\
d+)/);u=t&&t[1]})),r.getNewCurrentPhotoLink(u,(function(e,t){if(e)return
a.update(i.a.i18n.getMessage("noLinksFound"));var
n=U.a.modify(r.getFilenameFromUrl(t.url)),o=n.lastIndexOf("."),s=n.substr(o+1),u=n.
substr(0,o),l=[];l.push({href:t.url,title:u,quality:i.a.i18n.getMessage("download")
,format:" ",ext:s,forceDownload:!0,isOther:!0,isBlank:!0,func:function()
{"undefined"!=typeof GM_info&&"Tampermonkey"===GM_info.scriptHandler?
setTimeout((function(){return
a.hide()}),2500):a.hide()}}),l.push({href:"#getAlbum",title:"",quality:i.a.i18n.get
Message("vkDownloadPhotoAlbum"),format:" ",ext:"",noSize:!0,isOther:!
0,func:function(e)
{e.preventDefault(),G.downloadPhoto(),a.hide()}}),a.update(l)}))}M.hideMenu()}],
["mousedown",function(e){e.stopPropagation()}]]});new J.a({queries:[{css:"#pv_photo
img",is:"added",callback:function()
{M.contextMenu&&M.contextMenu.isShow&&(M.hideMenu(),a.click())}}]}),t.appendChild(a
)}}},downloadPhoto:function(){var
e=this.getContainer(),t=this.getAlbumId(location.href);if(!t){var
n=document.querySelector(".pv_album_name a");n&&!
z.elIsHidden(n)&&(t=this.getAlbumId(n.href))}this._getLinks(e,t)},showListOfPhotosC
ontent:function(e,t){var n;return"<!DOCTYPE html><html>"+B.a.create("html",{append:
[B.a.create("head",{append:[B.a.create("meta",{attr:{charset:"utf-
8"}}),B.a.create("style",{text:"a,img{display:block;margin-bottom:5px;}p{width:
640px}"})]}),B.a.create("body",{append:[e,B.a.create("p",
{text:i.a.i18n.getMessage("vkListOfPhotosInstruction")}),B.a.create("br"),B.a.creat
e("br"),(n=document.createDocumentFragment(),t.forEach((function(e){var
t=e.url,r=e.filename||"",o=B.a.create("img",
{src:t,alt:"photo"});r&&(o=B.a.create("a",
{href:t,download:r,append:o})),n.appendChild(o)})),n)]})]}).innerHTML+"</
html>"},showListOfLinks:function(e,t,r){var o;o=r?
B.a.create(document.createDocumentFragment(),{append:[B.a.create("p",{append:
[B.a.create("a",
{text:i.a.i18n.getMessage("vkListOfPhotos"),href:"#",class:"sf__hidden",style:
{fontWeight:"bolder",border:"none",textDecoration:"underline"},on:
["click",function(n){n.preventDefault();var
r=G.showListOfPhotosContent(e,t),o="";i.a.isChrome||i.a.isTM?(o=L()(r,"text/html",!
0),i.a.sendMessage({action:"openTab",url:o})):(o=L()(r,"text/
html"),window.open(o,"_blank"))}]})]})]}):"";for(var a,s,u="",l=0;a=t[l];l+
+)u+=a.url+"\r\n";var c=B.a.create(document.createDocumentFragment(),{append:
[B.a.create("p",{text:e,style:
{color:"#0D0D0D",fontSize:"20px",marginBottom:"11px",marginTop:"5px"}}),B.a.create(
"p",{append:q()
(i.a.i18n.getMessage("vkListOfLinksInstruction"))}),o,s=B.a.create("textarea",
{text:u,cols:60,rows:10,style:{width:"100%"}}),i.a.isChrome||i.a.isFirefox?
B.a.create("button",{text:i.a.i18n.getMessage("copy"),style:
{height:"27px",backgroundColor:"#ffffff",border:"1px solid
#9e9e9e",marginTop:"6px",paddingLeft:"10px",paddingRight:"10px",borderRadius:"5px",
fontSize:"14px",cursor:"pointer",cssFloat:"right"},on:["click",function(e){var
t=this;t.disabled=!0,i.a.isFirefox?
(s.select(),document.execCommand("copy")):i.a.sendMessage({action:"addToClipboard",
text:u}),setTimeout((function(){t.disabled=!1}),1e3)}],append:B.a.create("style",
{text:x()({"#savefrom_popup_box button:hover:not(:disabled)":
{backgroundColor:"#597A9E !important",borderColor:"#597A9E !
important",color:"#fff"},"#savefrom_popup_box button:active":
{opacity:.9}})})}):void
0]});n.popupDiv(c)}},Q={mobileMenu:null,observer:null,styleEl:null,run:function()
{var e=this;if(J.a.isAvailable())return e.observer?e.observer.start():
(e.observer=new J.a({queries:[{css:"div.audio_item",is:"added",callback:function(t)
{for(var n,r=0;n=t.added[r];r++)n.dataset.sfSkip>0||
(n.dataset.sfSkip="1",e.insertAudioBtn(n))}},
{css:"div.VideoPage",is:"added",callback:function(t){for(var n,r=0;n=t.added[r];r+
+)n.dataset.sfSkip>0||(n.dataset.sfSkip="1",e.insertVideoBtn(n))}},
{css:"."+N.a.onRemoveClassName,is:"removed",callback:function(e){for(var
t,n=0;t=e.removed[n];n++)N.a.onRemoveListener(t)}}]}),void
e.insertStyle())},hideMenu:function()
{Q.mobileMenu&&(Q.mobileMenu.hide(),Q.mobileMenu=null)},insertStyle:function()
{this.styleEl?this.styleEl.parentNode||document.head.appendChild(this.styleEl):
(this.styleEl=B.a.create("style",{class:"sf-style",text:x()
([{selector:".savefrom_vk_download.sf-audio",style:
{display:"block",float:"right",borderRadius:"3px",width:"22px",height:"22px",margin
Top:"1px",marginLeft:"3px",marginRight:"3px",background:"url("+n.svg.getSrc("downlo
ad","#ffffff")+") center no-
repeat",backgroundSize:"12px",backgroundColor:"#5E80AA"}},
{selector:".audio_item .savefrom_vk_download.sf-audio",style:
{position:"absolute",right:"32px",top:0,bottom:0,margin:"auto"}},
{selector:".audio_item.ai_current .savefrom_vk_download.sf-audio",style:
{bottom:"auto",top:"6px"}}])}),document.head.appendChild(this.styleEl))},getAudioUr
lFromNode:(b=Object(o.a)(m.a.mark((function e(t){var n,r,o;return
m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
e.next=2,z.getNewNodeTrackInfo(t);case
2:if((n=e.sent).fullId&&n.actionHash&&n.urlHash){e.next=5;break}throw new
Error("Track info not valid for fetch audio link");case 5:return
r=z.requestReloadAudio(n.fullId,n.actionHash,n.urlHash),o=de()([],"function()
{return vk.id}"),e.abrupt("return",Promise.all([r,o]).then((function(e){var
t=Object(g.a)(e,2),n=t[0],r=t[1],o=ee.decodeUnavailableUrl(r,n.url);return
ee.isUrlM3u8(o)?ee.m3u8ToMp3(o):o})));case 7:case"end":return
e.stop()}}),e)}))),function(e){return
b.apply(this,arguments)}),onAudioBtnClick:function(e)
{if(e.preventDefault(),e.stopPropagation(),e.target.href)return
n.downloadOnClick(e);var
t=e.target.closest(".audio_item");t&&this.getAudioUrlFromNode(t).then((function(t)
{e.target.href=t,n.downloadOnClick(e)})).catch((function(e)
{ke.error("getAudioUrlFromNode error:
"+e.message)}))},getAudioDlBtnNode:function(e){return B.a.create("a",{class:
["savefrom_vk_download","sf-audio"],download:U.a.modify(e),target:"_blank",on:
["click",this.onAudioBtnClick.bind(this)],title:i.a.i18n.getMessage("download")})},
insertAudioBtn:function(e){var t=null,n=e.querySelector(".ai_label");if(n){var
r=n.textContent.trim(),o=n.querySelector(".ai_title"),i=n.querySelector(".ai_artist
"),a=o&&o.textContent.trim(),s=i&&i.textContent.trim();t=a&&s?"".concat(s.trim(),"
– ").concat(a.trim()):r}t="".concat(t||"unknown",".mp3");var
u=e.querySelector(".ai_dur");if(u){var
l=u.parentNode,c=this.getAudioDlBtnNode(t),d=l.querySelector(".savefrom_vk_download
");if(d)d.parentNode.replaceChild(c,d);else{var f=u.nextElementSibling;if(!
f)return;l.insertBefore(c,f)}}},onVideoBtnClick:function(e,t)
{t.preventDefault(),t.stopPropagation(),Q.hideMenu();var
r=Q.mobileMenu=n.mobileLightBox.show(i.a.i18n.getMessage("download")
+" ..."),o=i.a.i18n.getMessage("noLinksFound");if(e.request){var a=function(t)
{if(t&&"getPladformVideo"===e.request.action)o=H.prepareLinks(H.preparePladformLink
s(t));else{var
i=n.embedDownloader.reMapHosting(t.action);i&&t&&t.links&&(o=n.popupMenu.prepareLin
ks[i](t.links,t.title))}if(!o.length){var
a=Array.from(document.body.querySelectorAll('.vv_inline_video
source[type="video/mp4"]'));o=a.map((function(e){var
t=document.querySelector(".VideoPageInfoRow__title"),n=e.src.match(/.(\
d+)\.mp4/);return{title:t?t.textContent:"video",href:e.src,forceDownload:!
0,ext:"mp4",format:"MP4",quality:n?
n[1]:""}}))}r.update(o)};try{i.a.sendMessage(e.request,a)}catch(t){a()}}else
o=H.prepareLinks(e),r.update(o)},appendVideoBtn:function(e,t){var
r=t.querySelector(".VideoPageInfoRow__title"),o=n.svg.getSvg("download","#4986cc","
20px");o.style.marginLeft="17px",o.style.marginTop="6px",o.style.float="right",o.st
yle.cursor="pointer",o.addEventListener("click",this.onVideoBtnClick.bind(this,e)),
r&&r.appendChild(o),N.a.onRemoveEvent(o,Q.hideMenu)},insertVideoBtn:function(e){var
t=this,n=e.querySelectorAll("iframe, video, a")[0],r=d()
(e,"VideoPage"),o=function(){var e=/video(-?\d+)_(-?\
d+)/.exec(location.href);return e&&{request:
{hosting:"vk",action:"getVKLinks",extVideoId:"video"+e[1]+"_"+e[2]}}};n?
H.getLinksFromPlayer(r,n,(function(e,n){e||
(e=o()),e&&t.appendVideoBtn(e,n)})):e.querySelector(".vv_not_support")&&o()&&t.appe
ndVideoBtn(o(),r)}}}))},31:function(e,t){e.exports=n(16)},35:function(e,t)
{e.exports=n(43)},45:function(e,t){e.exports=n(105)},47:function(e,t)
{e.exports=n(41)},50:function(e,t){e.exports=n(143)},55:function(e,t)
{e.exports=n(32)},56:function(e,t){e.exports=n(52)},81:function(e,t)
{e.exports=n(36)}})},function(e){!function(e){function t(t){for(var
r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={9:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return
e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([98,0]),n()}({51:function(e,t){e.exports=n(106)},82:function(e,t)
{e.exports=n(33)},98:function(e,t,n){n.r(t);var
i=n(0),u=n(12),l=n(8),c=n(20),d=n.n(c),f=n(17),p=n.n(f),h=n(14),v=n.n(h),b=n(32),y=
n.n(b),A=n(7),k=n.n(A),w=n(15),x=n.n(w),_=n(11),S=n.n(_),C=n(30),I=n.n(C),O=n(2),M=
n.n(O),L=n(1),E=n.n(L),P=n(13),j=n.n(P),T=n(5),D=n.n(T),N=n(9),F=n.n(N),B=n(51),R=n
.n(B),q=n(10),z=n.n(q),U=n(6),V=n.n(U),H=n(24),W=n.n(H),G=n(26),Q=n.n(G),Y=n(16),J=
n(46),K=n(82),Z=n.n(K),X=n(40),$=F()
("odnoklassniki_ru");z.a.isSingle()&&Object(l.b)("odnoklassniki",(function(e,t){var
l=Object(u.a)(t),c=t.preferences,f=c.moduleOdnoklassniki?1:0,h=i.a.isChrome||
i.a.isFirefox||i.a.isGM&&i.a.isTM;i.a.onMessage.addListener((function(t,n,r)
{if("getModuleInfo"===t.action){if(t.url!==location.href)return;return
r({state:f,moduleName:e})}if("changeState"===t.action){if(e!
==t.moduleName)return;return b.changeState(t.state)}"updatePreferences"!==t.action?
f&&("updateLinks"===t.action&&A(),"downloadMP3Files"===t.action&&(h?
_.downloadMP3Files():_.showListOfAudioFiles(!
1)),"downloadPlaylist"===t.action&&_.showListOfAudioFiles(!
0)):Object.assign(c,t.preferences)})),f&&setTimeout((function(){b.run()}));var
b={linkCache:{},contextMenu:null,videoToken:null,run:function()
{if(f=1,_.getJsSessionId(),O.injectStyle(),L.injectStyle(),V.a.isAvailable())return
b.mutationMode.enable()},changeState:function(e)
{f=e,C.rmBtn(),_.disable(),L.rmCurrentPhotoBtn(),O.disable(),O.rmBtn(),b.hideMenu()
,b.mutationMode.stop(),b.clearCache(),e&&b.run()},hideMenu:function()
{b.contextMenu&&(b.contextMenu.hide(),b.contextMenu=null)},clearCache:function()
{var e=b.linkCache;for(var t in e)delete e[t]},mutationMode:
{observer:null,stop:function(){this.observer&&this.observer.stop(),
["sfSkip"].forEach((function(e){for(var t,n=v()
(e),r=document.querySelectorAll("["+n+"]"),o=0;t=r[o];o+
+)t.removeAttribute(n)}))},wrapOnPhotoOver:function()
{f&&L.addCurrentDlBtn(this)},wrapVideoFeedOnImgOver:function()
{f&&O.onImgOver.call(this)},wrapAudioOnMouseOver:function()
{f&&_.onMouseOver.apply(this,arguments)},wrapAudioOnMouseOut:function()
{f&&_.onMouseOut.apply(this,arguments)},wrapNewAudioOnMouseEnter:function()
{if(f)try{_.onNewMouseEnter.apply(this,arguments)}catch(e)
{$.error("wrapNewAudioOnMouseEnter error",e)}},enable:function()
{if(this.observer)return this.observer.start();var e,t=this,n=function(e){for(var
n,r=0;n=e.added[r];r++)n.sfSkip>0||
(n.sfSkip="1",M.a.on(n,"mouseenter",t.wrapAudioOnMouseOver),M.a.on(n,"mouseleave",t
.wrapAudioOnMouseOut))},r=function(e){for(var n,r=0;n=e.added[r];r+
+)n.dataset.sfSkip>0||
(n.dataset.sfSkip="1",M.a.one(n,"mouseenter",t.wrapVideoFeedOnImgOver))},a=[];"m.ok
.ru"===location.host&&a.push({css:".music_track_i:not(.actionButton)",is:"added",ca
llback:function(e){e.added.forEach((function(e){e.sfSkip||
(e.sfSkip="1",_.appendDownloadMobileMusic(e))}))}},{css:"#mvplayer_cont, .feed-
card_item .vdo.playb, .theme-comments-head [data-
video]",is:"added",callback:function(e){e.added.forEach((function(e){if(!
e.dataset.sfSkip){e.dataset.sfSkip="1";var t=e.closest(".section, .feed-
card, .theme-comments-
head");t&&C.appendDownloadMobileVideo(t)}}))}}),this.observer=new V.a({queries:
[].concat(a,[{css:".track.js-track, .track-with-cover.h-
mod",is:"added",callback:n},{css:".track-with-cover_cnt",is:"added",callback:
(e=Object(o.a)(m.a.mark((function e(t){return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:t.added.filter((function(e){return!
e.dataset.sfReady})).map((function(e){return
e.dataset.sfReady=1,e})).map((function(e){var
t=document.createElement("a");t.classList.add("sf-
audio","savefrom_ok_download"),e.style.position="relative",e.appendChild(t),t.style
.position="absolute",t.style.top="10px",t.style.right="15px",t.style.width="16px",t
.style.height="16px";var n=e.closest(".track-with-
cover").dataset.trackId;t.addEventListener("click",(function(t)
{t.stopPropagation(),t.preventDefault();var n=e.closest(".track-with-
cover"),r=n.querySelector('[data-
l="t,artist"]').textContent,o=n.querySelector('[data-
l="t,album"]').textContent,a=D.a.modify("".concat(r," -
").concat(o));i.a.sendMessage({action:"downloadFile",options:
{filename:a+".mp3",url:t.target.href}})})),e.closest(".track-with-
cover").addEventListener("mouseleave",(function(){return
t.style.display="none"})),e.addEventListener("mouseenter",(function()
{t.style.display="block",t.href||
i.a.sendMessage({action:"getOdnoklassnikiAudioLinks",url:location.href,trackId:n,js
essionId:_.jsessionId},(function(e){var
n=e.data;_.getClientHash(n.play).then((function(e){t.href=n.play+
(e?"&clientHash="+e:"");var r=n.track,o=Math.floor(r.size/r.duration/125)+"
"+i.a.i18n.getMessage("kbps"),a=l.sizeHuman(r.size,2);t.title="".concat(a," ~
").concat(o)}))}))}))}));case 2:case"end":return e.stop()}}),e)}))),function(t)
{return e.apply(this,arguments)})},{css:".mus-tr_i",is:"added",callback:n},
{css:"#photo-layer_photo",is:"added",callback:function(e){if(!i.a.isSafari)for(var
n,r=0;n=e.added[r];r++)n.dataset.sfSkip>0||
(n.dataset.sfSkip="1",M.a.one(n,"mouseenter",t.wrapOnPhotoOver))}},
{css:".vp_video .vid-card_cnt",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n++)if(!(t.dataset.sfSkip>0)){t.dataset.sfSkip="1";var r=S()
(t,".vp_video");if(!r)return;var
o=C.getPlayerOptions(t);o&&C.appendLinkUnderVideo(r.parentNode,o)}}},{css:".vid-
card_cnt .vid-card_cnt_w img",is:"added",callback:function(e){for(var
n,r=0;n=e.added[r];r++)if(!(n.dataset.sfSkip>0)){if(n.dataset.sfSkip="1",(n=d()
(n,"vid-
card_cnt")).dataset.sfSkip)return;M.a.one(n,"mouseenter",t.wrapVideoFeedOnImgOver)}
}},{css:".d_comment_text_w img",is:"added",callback:r},{css:".video-card .video-
card_img-w img",is:"added",callback:r},{css:".vid-card_cnt img, .html5-
vpl_vid",is:"added",callback:r},
{css:".".concat(M.a.onRemoveClassName),is:"removed",callback:function(e){for(var
t,n=0;t=e.removed[n];n++)M.a.onRemoveListener(t)}},{css:".sf-video-feed-bind-on-
insert",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n+
+)t.addEventListener("click",O.onBtnClick)}},{css:["wm-track","wm-
track2"],is:"added",callback:function(e){for(var n,r=0;n=e.added[r];r+
+)n.dataset.sfSkip>0||
(n.dataset.sfSkip="1",M.a.one(n,"mouseenter",t.wrapNewAudioOnMouseEnter))}}])})}}},
A=function(){b.clearCache(),w(),_.getJsSessionId(),C.catchPopup()},w=function()
{for(var e=document.querySelectorAll(".savefrom_ok_download"),t=e.length-
1;t>=0;t--)e[t].parentNode.removeChild(e[t])},_={downloadIdPrefix:"savefrom_ok_audi
o_download_",infoIdPrefix:"savefrom_ok_audio_info_",lastRow:null,lastRowCandidate:n
ull,timer:0,jsessionId:"",clientHashV:"",scriptNode:null,cache:{payloadTracks:
{}},ajaxTimer:{},trackIdPromise:{},appendDownloadMobileMusic:function(e){var
t=E.a.create("a",{style:{position:"absolute",top:"-6px",left:"16px"},append:
[l.svg.getSvg("download","#f1bc7f",14,14)],on:["click",function(){var t=Object(o.a)
(m.a.mark((function t(n){var r,o,i=this;return m.a.wrap((function(t)
{for(;;)switch(t.prev=t.next){case 0:return
n.preventDefault(),n.stopPropagation(),r=R()(e),t.next=4,j()([r],(function(e){var
t=document.querySelector(e);if(t)return t.okData}));case 4:(o=t.sent)&&o.track?
($.log("track info",o),_.prepareTrackForDownload(o.track.id).then((function(e)
{l.download(e.filename,e.downloadUrl)}),(function(e)
{$.error("appendDownloadMobileMusic. click download
error",e),i.style.opacity=.3}))):$.error("okData not found");case
6:case"end":return t.stop()}}),t)})));return function(e){return
t.apply(this,arguments)}}
()]}),n=e.querySelector(".music_track_aux");n&&n.appendChild(t)},prepareTrackForDow
nload:function(e){return Object(o.a)(m.a.mark((function t(){var n,r;return
m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case
0:if(t.t0=_.jsessionId,t.t0){t.next=4;break}return t.next=4,_.getJsSessionId();case
4:return t.next=6,_.getTrackUrlById(e);case 6:if((n=t.sent).track)
{t.next=9;break}throw new Error("Track is not found");case 9:if(n.play)
{t.next=11;break}throw new Error("Track url is not found");case 11:return
t.next=13,_.getClientHash(n.play);case 13:return r=t.sent,t.abrupt("return",
{filename:D.a.modify("".concat(n.track.ensemble," –
").concat(n.track.name,".mp3")),downloadUrl:"".concat(n.play,"&").concat(X.stringif
y({clientHash:r})),duration:n.track.duration,size:n.track.size||-1});case
15:case"end":return t.stop()}}),t)})))()},showRowElements:function(e,t,n){if(e){var
r=e.querySelectorAll("div.savefrom_ok_download");r=e.querySelectorAll("div.savefrom
_ok_download");for(var o=0;o<r.length;o+
+)r[o].style.display=t?"":"none"}},getNodeTrackId:function(e){var
t=e.getAttribute("data-query");if(t)try{if((t=JSON.parse(t))&&t.trackId)return
t.trackId}catch(e){return null}var
n=e.querySelector("span.track_play[onclick]");if(n){var r=/(?:playMediatopic|
playFeedTrack)\(['"]?(\d+)['"]?/.exec(n.getAttribute("onclick"));return
r&&r[1]}return e.dataset.trackId?e.dataset.trackId:null},getTrackId:function(e){var
t=_.getNodeTrackId(e);if(t)return(r={})[t]=e,r;var n=e.id;if(n){var
r,o=n.indexOf("#");if(-1!==o&&(n=n.substr(o+1)),(t=l.getMatchFirst(n,/^\w+_(\d+)$/
i))||-1!==n.indexOf("GROUP_FEED")&&(t=n.substr(n.lastIndexOf("_")
+1)),t)return(r={})[t]=e,r}return null},showRowLinks:function(e){var
t=_.getTrackId(e);for(var n in t)if(_.handleRow(n,t[n]))return!0;return!
1},disable:function(){_.lastRowCandidate=null,_.lastRow=null;for(var
e,t=document.querySelectorAll(".savefrom_ok_download"),n=0;e=t[n];n+
+)e.parentNode.removeChild(e)},ge
tJsSessionId:function(){return("m.ok.ru"===location.host?function(){for(var
e=Array.from(document.querySelectorAll("script")),t=0;t<e.length;t+
+)if(e[t].textContent){var
n=e[t].textContent.match(/"jsid":"(.*?)"/);if(n&&n[1])return
Promise.resolve(n[1])}return Promise.resolve(void 0)}:function(){return new
Promise((function(e,t){var
n=location.protocol+"//"+location.host+"/web-api/music/conf";I()
({type:"POST",url:n,data:"_",json:!0,localXHR:!0},(function(n,r,o){!n&&o&&o.sid?
e(o.sid):t(new Error("Get jsSessionId error!"))}))}))})().then((function(e)
{_.jsessionId=e}),(function(e){$.debug("getJsSessionId
error",e)}))},getLink:function(e)
{e&&_.jsessionId&&(_.ajaxTimer[e]=window.setTimeout((function(){delete
_.ajaxTimer[e],_.deleteLink(e)}),3e4),i.a.sendMessage({action:"getOdnoklassnikiAudi
oLinks",url:location.href,trackId:e,jsessionId:_.jsessionId},(function(e)
{_.setLink(e.trackId,e.data)})))},onMouseOver:function(){if(_.jsessionId){var
e=this;e&&(_.lastRowCandidate=e,clearTimeout(_.timer),_.lastRow!
==e&&(_.timer=window.setTimeout((function(){_.showRowElements(_.lastRow,!
1),_.lastRow=e,_.lastRowCandidate=null,_.showRowElements(_.lastRow,!
0)}),250)))}},onMouseOut:function(){var e=this;(_.lastRow&&_.lastRow.contains(e)||
_.lastRowCandidate&&_.lastRowCandidate.contains(e))&&(clearTimeout(_.timer),_.timer
=window.setTimeout((function(){_.showRowElements(_.lastRow,!
1),_.lastRow=null,_.lastRowCandidate=null}),1e3)),e=null},onNewMouseEnter:function(
e){var t=this;if(!this.querySelector(".savefrom_ok_download")){var n=R()
(this);if(document.querySelector(n)!==this)throw new Error("Node path is
incorrect");return _.getNodeTrack(n).then((function(e){"WM-TRACK2"===t.tagName?
_.insertButtonOnOver(t,e):_.insertButton(t,e)}))}},insertButtonOnOver:function(e,t)
{var n=this,r=new(Q()())((function(r){if(!f)return o();for(var
i=null,a=null,s=0;i=r.shift();)if("childList"===i.type&&i.target===e)for(s=0,i.adde
dNodes;a=i.addedNodes[s];s++)if("SLOT"===a.tagName&&"controls"===a.name)
{e.querySelector(".savefrom_ok_download")||
(n.insertButton(e,t),o());break}})),o=function(){r.disconnect()};r.observe(e,
{childList:!0})},insertButton:function(e,t){var n=["sf-
audio","savefrom_ok_download"],r=null;if("WM-TRACK"===e.tagName?
r=e.querySelector(".wm-track_controls"):"WM-TRACK2"===e.tagName&&(n.push("sf-audio-
2"),r=e.querySelector('slot[name="controls"]')),e.classList.contains("track-with-
cover")&&(r=e.querySelector('[data-l="t,addTrack"]')),!r){var
o=e.querySelector('slot[name="controls"], wm-
duration');r=document.createElement("div"),e.insertBefore(r,o)}var
i=E.a.create("a",{href:"#",data:{state:"idle",trackId:t.id},class:n,style:
{display:"none",position:"relative",width:"16px",height:"16px",verticalAlign:"middl
e"},on:[["mouseenter",_.handlePreload],["click",_.handleClickNewButton],
["mouseenter",function()
{P.tooltip.textContent=_.getNewButtonTooltipLabel(this),P.show(this)}],
["mouseleave",function(){P.hide()}],["sf-state-change",function()
{P.tooltip.textContent=_.getNewButtonTooltipLabel(this),P.updatePos(this)}]]});r.ap
pendChild(i)},getNewButtonTooltipLabel:function(e){switch(e.dataset.state)
{case"pending":return"...";case"done":var
t=JSON.parse(e.dataset.data),n=t.duration,r=t.size,o="";if(r){var
a=l.sizeHuman(r,2);o=n?"".concat(a," ~ ").concat(Math.floor(r/n/125)+"
"+i.a.i18n.getMessage("kbps")):"".concat(a)}else
o=i.a.i18n.getMessage("getFileSizeFailTitle");return o;case"error":return
i.a.i18n.getMessage("noLinksFound");default:return""}},handlePreload:function(e)
{var t=this,n=e.target.closest("wm-track")||e.target.closest("wm-track2"),r=R()
(n);_.getNodeTrack(r).then((function(n){t.dispatchEvent(new CustomEvent("sf-state-
change"));var r=t.dataset.trackId=n.id;return
_.prepareTrackForDownload(r).then((function(n)
{t.href=n.downloadUrl,t.download=n.filename,t.dataset.data=JSON.stringify({duration
:n.duration,size:n.size}),t.dataset.state="done",t.dispatchEvent(new
CustomEvent("sf-state-
change")),t.dataset.downloadOnReady>0&&_.handleClickNewButton.call(t,e)}),
(function(e){$.error("handlePreload
error",e),t.dataset.state="error",t.dispatchEvent(new CustomEvent("sf-state-
change"))}))}))},handleClickNewButton:function(e){e.stopPropagation(),"done"!
==this.dataset.state?(e.preventDefault(),"1"!
==this.dataset.downloadOnReady&&(this.dataset.downloadOnReady="1")):l.downloadOnCli
ck(e)},getTrackUrlById:function(e){var t=this;return Object(o.a)(m.a.mark((function
n(){var o,i;return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!
t.trackIdPromise[e]){n.next=2;break}return
n.abrupt("return",t.trackIdPromise[e]);case 2:if(!_.cache.payloadTracks[e])
{n.next=4;break}return n.abrupt("return",_.cache.payloadTracks[e]);case 4:return
i="https://wmf.ok.ru/play;jsessionid=".concat(_.jsessionId,"?")
+X.stringify({tid:e}),n.abrupt("return",t.trackIdPromise[e]=(o=j()
([i],"function(url){return fetch(url).then(function(response){return
response.json()})}").then((function(t){var
n=Object.keys(_.cache.payloadTracks);return n.length>20&&delete
_.cache.payloadTracks[n[0]],_.cache.payloadTracks[e]=t,t}))).then.apply(o,Object(r.
a)(W()((function(){delete t.trackIdPromise[e]})))));case 6:case"end":return
n.stop()}}),n)})))()},getNodeTrack:function(e){return j()([e],'function(nodePath)
{var el=document.querySelector(nodePath);if(el&&el.props&&el.props.track){return
el.props.track}if(el&&el.model&&el.model._data.get("track")){return
el.model._data.get("track")}throw new Error("Track information not
found")}')},getNodePath:function(e){for(var
t=[];e.parentNode&&1===e.parentNode.nodeType;){var
n="",r=[].slice.call(e.parentNode.childNodes);r.length>1&&(n=":nth-
child(".concat(r.indexOf(e)
+1,")")),t.unshift("".concat(e.tagName).concat(n)),e=e.parentNode}return
t.join(">")},handleRow:function(e,t){if(!e||!t)return!1;var
n=t;n.style.position="relative";var
r=t.querySelector(".m_c_duration, .m_portal_duration"),o=document.createElement("di
v");o.className="savefrom_ok_download";var
a=40,s=document.getElementById("mmpcw");s&&s.contains(t)&&(a=65),l.setStyle(o,
{color:"#fff",background:"#46aa19",border:"1px solid
#337d12",borderRadius:"3px",padding:"1px
5px",position:"absolute",right:a+"px",top:"50%",lineHeight:"15px",fontSize:"12px",o
pacity:0,zIndex:9999,cursor:"pointer"}),o.addEventListener("click",_.onBoxClick,!
1),o.addEventListener("mousedown",(function(e){e.stopPropagation()}),!1);var
u=_.getTitle(e,t),c=function(e,t,n){null==n&&(n=!0);var
r=document.createElement("a");return
r.href="#",r.className="savefrom_ok_download",r.textContent="...",n&&r.setAttribute
("target","_blank"),r}
();c.id=_.downloadIdPrefix+e,c.title=i.a.i18n.getMessage("downloadTitle"),r&&c.setA
ttribute("data-savefrom-helper-
duration",_.secondsFromDurationNode(r)),u&&(u+=".mp3",c.setAttribute("download",D.a
.modify(u))),l.setStyle(c,
{color:"#fff",fontWeight:"normal"}),c.addEventListener("click",_.onDownloadLinkClic
k,!1),o.appendChild(c),n.appendChild(o),_.cache[e]?
_.setLinkFromCache(e,c):_.getLink(e),o.style.marginTop="-"+o.offsetHeight/
2+"px",o.style.opacity="1";var d=document.createElement("span");return
d.textContent=String.fromCharCode(215),d.title=i.a.i18n.getMessage("close"),l.setSt
yle(d,{color:"#fff",fontFamily:"Tahoma,Helvetica,sans-
serif",fontSize:"15px",marginLeft:"7px",opacity:".7",cursor:"pointer"}),d.addEventL
istener("click",_.onCloseBtnClick,!1),o.appendChild(d),!0},onBoxClick:function(e)
{e.preventDefault(),e.stopPropagation();var
t=this.querySelector("a.savefrom_ok_download");return t?(M.a.trigger(t,"click",
{cancelable:!0}),!1):(this.style.display="none",!
1)},onDownloadLinkClick:function(e){return 2!
=e.button&&(e.stopPropagation(),"#"==this.href?(e.preventDefault(),!1):
(l.downloadOnClick(e),!1))},onCloseBtnClick:function(e){if(2==e.button)return!
0;e.preventDefault(),e.stopPropagation();var t=S()
(this,".savefrom_ok_download");return t&&(t.style.display="none"),!
1},deleteLink:function(e,t){if(!
t&&e&&(t=document.getElementById(_.downloadIdPrefix+e)),t){var
n=t.parentNode;n&&n.parentNode.removeChild(n)}},getHash:function(e,t){t||
(t=[4,3,5,6,1,2,8,7,2,9,3,5,7,1,4,8,8,3,4,3,1,7,3,5,9,8,1,4,3,7,2,8]);for(var
n=[],r=0;r<e.length;r++)n.push(parseInt("0x0"+e.charAt(r)));var o=[];
(e=(e=n).slice(0))[32]=e[31];var i=0;for(r=32;r-- >0;)i+=e[r];for(var a=0;a<32;a+
+)o[a]=Math.abs(i-e[a+1]*e[a]*t[a]);return
o.join("")},setLinkFromCache:function(e,t){if(!_.cache[e])return!1;if(t||
(t=document.getElementById(_.downloadIdPrefix+e)),t)
{t.href=_.cache[e].url,t.textContent="",_.cache[e].downloadAttr&&t.setAttribute("do
wnload",_.cache[e].downloadAttr);var
n=E.a.create(l.svg.getSvg("download","#ffffff"),{style:{display:"inline-
block",width:"16px",height:"16px",verticalAlign:"middle",opacity:"0.9"}});t.appendC
hild(n);var r=document.createTextNode(_.cache[e].info);return t.nextSibling?
t.parentNode.insertBefore(r,t.nextSibling):t.parentNode.appendChild(r),!
0}},getClientHash:function(e){return Promise.resolve(function(){var t=n(99);return
function(e,t){for(var
n,r=[4,3,5,6,1,2,8,7,2,9,3,5,7,1,4,8,8,3,4,3,1,7,3,5,9,8,1,4,3,7,2,8],o=t(/md5=(\
w*)/g.exec(e)[1]+"secret"),i=o.length,a="",s=0,u=0;u<i;u+
+)s+=parseInt(o[u],16);for(var l=0;l<i;l++){var c=parseInt(o[l],16);n=l===i-1?
c:parseInt(o[l+1],16),a+=Math.abs(s-c*n*r[l])}return a}(e,(function(e){return
t(e).toString()}))}())},setLink:function(e,t,n){if(e)
{clearTimeout(_.ajaxTimer[e]);var
r=document.getElementById(_.downloadIdPrefix+e);if(r&&!_.setLinkFromCache(e,r))
{if(!t||!t.play)return _.deleteLink(e,r),void(r.textContent="?");if(void
0===n)return this.getClientHash(t.play).then((function(n){_.setLink(e,t,n)}),
(function(t){_.deleteLink(e,r)}));var o=t.track&&t.track.size||-
1;_.cache[e]={},_.cache[e].url=t.play+(n?"&clientHash="+n:"");var a="
("+l.sizeHuman(o,2),s=r.getAttribute("data-savefrom-helper-
duration");if(t.track&&(t.track.duration&&(s=t.track.duration),t.track.ensemble&&t.
track.name)){var u=t.track.ensemble+" -
"+t.track.name;_.cache[e].title=u,_.cache[e].downloadAttr=D.a.modify(u+".mp3")}if(o
&&o>0&&s){if(s=parseInt(s),isNaN(s))return
void delete _.cache[e];a+=" ~ "+Math.floor(o/s/125)+"
"+i.a.i18n.getMessage("kbps")}a+=")",_.cache[e].info=a,_.setLinkFromCache(e,r)}}},g
etTitle:function(e,t){if(!e||!t)return"";var
n="",r=t.querySelector(".m_c_artist, .mus-
tr_artist, .m_portal_c_artist"),o=t.querySelector(".m_track_source, .mus-
tr_song, .m_portla_track_name");return
r&&(r=r.textContent)&&(n+=r.trim()),o&&(o=o.textContent)&&(n&&(n+=" -
"),n+=o.trim()),n?n.replace(/\<a\s+[^\>]+\>/gi,"").replace(/\<\/a\>/
gi,""):""},secondsFromDurationNode:function(e){if(!e)return 0;var
t=e.textContent;if(!t)return 0;var n=t.match(/^(?:\s*(\d+)\s*\:)?\s*(\d+)\s*\:\s*(\
d+)/);return n&&n.length>3?(n[1]||(n[1]=0),3600*parseInt(n[1])+60*parseInt(n[2])
+parseInt(n[3])):0},getPlaylistName:function(e){if(e!==document){var
t=e.querySelector(".mus_h2_tx");return t&&D.a.modify(t.textContent)||void
0}},getNewPlaylistName:function(e){if(e!==document){var t=e.querySelector(".wm-
list-description_header");return t&&D.a.modify(t.textContent)||void
0}},elIsHidden:function(e){return null===e.offsetParent},getLayer:function(){var
e=document.querySelector("#mmpcw");if(e&&!
e.classList.contains("__hidden")&&((e=e.querySelector('div.m_c_s[aria-
hidden="false"]'))&&!_.elIsHidden(e)))return e},getNewLayer:function(){var
e=document.querySelector("#music_layer wm-collection-section");if(e||
(e=document.querySelector("#music_layer")),!e||!_.elIsHidden(e))return
e},getPopup:function(e,t,n){var
r,o=l.playlist.getInfoPopupTemplate();E.a.create(o.textContainer,{append:[e?
E.a.create("p",{text:e,style:
{color:"#0D0D0D",fontSize:"20px",marginBottom:"11px",marginTop:"13px"}}):void
0,r=E.a.create("p",{text:"",style:
{color:"#868686",fontSize:"14px",lineHeight:"24px"}})]});var
a=l.popupDiv(o.body,"sf_progress_popup",void 0,void 0,n),s=function e(n){e.state!
==n&&(e.state=n,o.buttonContainer.style.display="none",r.style.display="none",i.a.s
endMessage({action:"getWarningIcon",type:t,color:"#77D1FA"},(function(e)
{o.icon.style.backgroundImage="url("+e+")"})),"progress"===n&&(r.style.display="blo
ck"),"error"===n&&(i.a.sendMessage({action:"getWarningIcon",type:t,color:"#AAAAAA"}
,(function(e)
{o.icon.style.backgroundImage="url("+e+")"})),r.style.display="block"))};return{onP
repare:function(e){s("progress"),r.textContent=e},onProgress:function(e,t)
{r.textContent=i.a.i18n.getMessage("vkFoundFiles").replace("%d",e)+"
"+i.a.i18n.getMessage("vkFoundOf")+" "+t},onReady:function()
{M.a.trigger(a,"kill")},onError:function(e)
{s("error"),r.textContent=e}}},getAudioLinksViaAPI:function(e,t,n){var r=!
1,o=[],a=e.length;return function s(){if(!r){var
u=e.splice(0,10);if(0===u.length)return
n(o);i.a.sendMessage({action:"getOkAudioListLinks",trackIdArr:u,jsessionId:_.jsessi
onId},(function(n){var r=Promise.resolve();Array.isArray(n)&&n.forEach((function(e)
{r=r.then((function(){if("string"==typeof e.play&&"object"==typeof e.track){var
t,n=e.play;return
e.track.name&&(t=e.track.name),e.track.ensemble&&(t=e.track.ensemble+(t?" -
"+t:"")),t||(t="noname"),_.getClientHash(n).then((function(r)
{n+="&clientHash="+r,o.push({url:n,duration:e.track.duration||
0,title:t,filename:D.a.modify(t)+".mp3"})}))}})).catch((function(t)
{$.debug("process item error",e,t)}))})),r.then((function(){t(a-
e.length,a),s()}))}))}}(),{abort:function(){r=!
0}}},getAudioListLinksPopup:function(e,t,n){var r,o=this.getPopup(t,"audio",
(function(){r&&r.abort()}));o.onPrepare(i.a.i18n.getMessage("download")
+" ..."),r=this.getAudioLinksViaAPI(e,o.onProgress,(function(e){0!==e.length?
(o.onReady(),n(e)):o.onError(i.a.i18n.getMessage("vkMp3LinksNotFound"))}))},getAudi
oLinksIds:function(e){return Promise.resolve().then((function(){for(var
t,n=e.querySelectorAll([".m_portal_track",".m_c_tr",".mus-
tr_i"]),r=[],o=0;t=n[o];o++){var i=_.getTrackId(t);for(var a in i)r.push(a)}return
r}))},getNewAudioLinksIds:function(e){var t=R()(e);if(!t||
document.querySelector(t)===e)return j()([t],'function(nodePath){var
result=null;try{var container=nodePath===""?
document:document.querySelector(nodePath);var
ids=[].slice.call(container.querySelectorAll(["wm-track","wm-
track2"])).reduce(function(result,node){try{var getTrack=function getTrack()
{if(node&&node.props&&node.props.track){return
node.props.track}if(node&&node.model&&node.model._data.get("track")){return
node.model._data.get("track")}throw new Error("getNewAudioLinksIds")};var
track=getTrack();if(track){result.push(track.id)}}catch(err){//
console.error(\'getNewAudioLinksIds error\', err);\n}return result},
[]);result={result:ids}}catch(err){result={error:
{message:err.message,stack:err.stack}}}if(result.error){throw new
Error(result.error.message)}else{return
result.result}}')},getAudioFromWall:function(e){return Object(o.a)
(m.a.mark((function t(){var n,r;return m.a.wrap((function(t)
{for(;;)switch(t.prev=t.next){case 0:return n=e.querySelector(".media-
layer.__active"),r=(e=n||e).querySelectorAll(".track-with-
cover_cnt"),t.abrupt("return",Array.from(r).map((function(e){return
e.closest(".track-with-cover").dataset.trackId})));case 3:case"end":return
t.stop()}}),t)})))()},getAudioLinks:function(e,t,n){var o=this;return
Promise.all([this.getAudioLinksIds(e),this.getNewAudioLinksIds(e),this.getAudioFrom
Wall(e)]).then((function(e){var t;return(t=[]).concat.apply(t,Object(r.a)
(e)).filter((function(e,t,n){return n.indexOf(e)===t}))})).then((function(e)
{o.getAudioListLinksPopup(e,t,n)}))},downloadMP3Files:function(){var
e=_.getLayer()||_.getNewLayer()||document,t=_.getPlaylistName(e)||
_.getNewPlaylistName(e);_.getAudioLinks(e,t,(function(e)
{l.downloadList.showBeforeDownloadPopup(e,
{type:"audio",folderName:t})}))},showListOfAudioFiles:function(e){var
t=_.getLayer()||_.getNewLayer()||document,n=_.getPlaylistName(t)||
_.getNewPlaylistName(t);_.getAudioLinks(t,n,(function(t){t.length?e?
l.playlist.popupPlaylist(t,n,!
0):l.playlist.popupFilelist(t):alert(i.a.i18n.getMessage("vkMp3LinksNotFound"))}))}
},C={requestMobileToken:function(e,t){var n=null;e.links.some((function(e){var
t=e.url.match(/\/\/([^/]+)/);if(t=t&&t[1])return n=t,!0}));var r=function(e){return
new Promise((function(t){var n=new
XMLHttpRequest;n.open("POST",location.protocol+"//"+e+"/usr_login",!
1),n.withCredentials=!0,n.setRequestHeader("X-Requested-
With","XMLHttpRequest"),n.onreadystatechange=function(){try{var
e=JSON.parse(n.responseText);if(!e.vtkn||!e.ttl)return
t();t({ttl:e.ttl,vtkn:e.vtkn})}catch(e){}},n.send()}))};j()((function(){var
e=document.cookie&&document.cookie.match(/vdsig=([^;]+);/);if(e&&e[1])return
e[1]})).then((function(o){if(o)return e.vtkn=o,t(e);var a=function(n){var
r=n.ttl,o=n.vtkn;r&&o&&(b.videoToken={ttl:Date.now()
+1e3*r,vtkn:o},e.vtkn=o,t(e))};i.a.isChrome||i.a.isFirefox?j()
([n],r).then(a):r(n).then(a)}))},getMobileToken:function(e,t){if(e.vtkn)return
t(e);var n=b.videoToken;return n&&n.expire>Date.now()?
(e.vtkn=n.vtkn,t(e)):C.requestMobileToken(e,t)},wrapMobileLinks:function(e,t)
{C.getMobileToken(e,(function(e){if(!e||!e.vtkn)return
t();e.action="getOkViaMobileWrapped",e.links.forEach((function(t){var
n=/\?/.test(t.url)?"&":"?";t.url+=n+"vdsig="+e.vtkn})),t(e)}))},prepareResponse:fun
ction(e,t){var n=function(){t(i.a.i18n.getMessage("noLinksFound"))};if(!e||!
e.links)return n();if(!c.showUmmyItem&&"getRutubeLinks"===e.action)return
n();if("getOkViaMobile"===e.action)return C.wrapMobileLinks(e,(function(e){if(!
e)return n();C.prepareResponse(e,t)}));var r=null;"getYoutubeLinks"===e.action?
r="youtube":"getVimeoLinks"===e.action?r="vimeo":"getDailymotionLinks"===e.action?
r="dailymotion":"getRutubeLinks"===e.action&&(r="rutube");var o;return o=r?
l.popupMenu.prepareLinks[r]
(e.links,e.title):O.prepareLinks(e.links,e.title),t(o)},matchOpenGraph:function(e)
{if(e&&e.movie&&e.movie.contentId){var t=e.movie.contentId;if(-1!
==t.indexOf("rutube.")&&c.showUmmyItem)return{action:"getRutubeLinks",links:
[t]};if(-1!==t.indexOf("pladform")){var n=p()
(t);return{action:"getPladformVideo",extVideoId:
{playerId:n.pl,videoId:n.videoid}}}var r=l.embedDownloader.checkUrl(t);if(r)return
r;var o=e.movie.poster;if("string"==typeof o){var
i=(p()(o).url||o).match(/ytimg\.com\/vi\/([^\/]
+)\//);if(i=i&&i[1])return{action:"getYoutubeLinks",extVideoId:i}}}},switchMetadata
Provider:function(e){if(e&&e.provider&&e.movie)switch(e.provider)
{case"USER_YOUTUBE":if(e.movie.contentId)return{request:
{action:"getYoutubeLinks",extVideoId:e.movie.contentId}};break;case"OPEN_GRAPH":var
t=this.matchOpenGraph(e);if(t)return{request:t};break;case"LIVE_TV_APP":case"SLIDE_
SHOW":case"LIVE_TV_ODKL":case"UPLOADED_ODKL":case"UPLOADED_ATTACHMENT":case"UPLOADE
D":case"PARTNER":case"YKL":if(e.videos&&e.movie.title)return{request:
{action:"wrapMobileLinks",title:e.movie.title,links:e.videos}}}},getPlayerMetadata:
function(e,t,n,r){var
o={cmd:"videoPlayerMetadata",mid:e,rnd:Date.now()};r&&(o.mtId=t),I()
({method:"POST",url:location.protocol+"//"+location.host+"/
dk?"+X.stringify(o),json:!0,localXHR:!0},(function(o,i,a){return o?!r&&t?void
C.getPlayerMetadata(e,t,n,1):n():n(a)}))},getEmbed:function(e,t){var n=p()(e);if(!
n.id||!n.sig)return t();var
r="http://cdn-ok.com/video/get/?"+X.stringify({id:n.id,format:1,sig:n.sig,sig2:"old
Rotator"});i.a.sendMessage({action:"getData",url:r},(function(e){return e&&y()(e,
[/"sourceType":/,/"sourceId":/]).some((function(e)
{if("youtube"===e.sourceType&&e.sourceId)return t({request:
{action:"getYoutubeLinks",extVideoId:e.sourceId}}),!0}))?void
0:t()}))},readMetadata:function(e,t,n){if(e.movie&&/cdn-ok\.com\/embed/.test(e.movi
e.contentId))return this.getEmbed(e.movie.contentId,(function(e){if(!e||!
e.request)return t();i.a.sendMessage(e.request,(function(e)
{C.prepareResponse(e,t)}))}));if(!n&&e.movie&&e.movie.movieId){var
r=e.movie.link&&p()(e.movie.link,{sep:"&"})["st.vpl.sid"];return
this.getPlayerMetadata(e.movie.movieId,r,(function(n){C.readMetadata(n||
e,t,1)}))}var o=this.switchMetadataProvider(e);return o?o.links?
t(o.links):void(o.request?"getRutubeLinks"===o.request.action?
C.prepareResponse(o.request,t):"wrapMobileLinks"===o.request.action?
C.wrapMobileLinks(o.request,(function(e){C.prepar
eResponse(e,(function(e){t(e,1)}))})):i.a.sendMessage(o.request,(function(e)
{C.prepareResponse(e,t)})):t()):t()},prepareVideoUrl:function(e,t){var
n=e.split("?"),r=t.split("?"),o=Object(g.a)(r,2),i=o[0],a=o[1];if(!n[1]||!a)return
t;if(n=new URLSearchParams(n[1]),a=new URLSearchParams(a),!n.has("type"))return
t;var s=n.get("type");return
a.has("st.mq")&&a.set("st.mq",s),a.has("st.hls")&&a.set("st.hls","off"),i+"?"+a.toS
tring()},getMobileVideoSrc:function(e){return
e&&e.dataMobile&&e.dataMobile.videoSrc?
Promise.resolve(e.dataMobile.videoSrc):e&&e.movie&&e.movie.id?Object(Y.a)
({action:"getOkVideoUrlFromMobile",videoUrl:location.href,videoId:e.movie.id}):Prom
ise.resolve(void 0)},loadLinks:function(e,t){var
n=b.linkCache,r=JSON.stringify(e),a=n[r];if(a)return t.update(a);var
s=function(e,a){var s=function()
{t.update(i.a.i18n.getMessage("noLinksFound"))};if(!e)return
s();C.readMetadata(e,function(){var a=Object(o.a)(m.a.mark((function o(a,u){var
l;return m.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(a)
{o.next=2;break}return o.abrupt("return",s());case 2:if(Array.isArray(a)&&!
a.length&&(u=1),!e){o.next=7;break}return o.next=5,C.getMobileVideoSrc(e);case 5:
(l=o.sent)&&(a=a.map((function(e){return
e.href=C.prepareVideoUrl(e.href,l),e.noSize=!0,i.a.isGM&&!
c.downloads&&(e.forceDownload=!1,e.func=function(t){if(!t.altKey&&!t.ctrlKey)return
t.preventDefault(),Object(J.showTooltip)(t.target,
{content:i.a.i18n.getMessage("downloadTitle"),defaultWidth:400,defaultHeight:60});t
.target.download=D.a.modify(e.filename)}),e})));case 7:u||(n[r]=a),t.update(a);case
8:case"end":return o.stop()}}),o)})));return function(e,t){return
a.apply(this,arguments)}}(),a)};e.metadata?
s(e.metadata):e.request?"getOkMetadata"===e.request.action?
i.a.sendMessage(e.request,s):"getPlayerMetadata"===e.request.action?
this.getPlayerMetadata(e.request.extVideoId,e.request.sid,(function(e)
{s(e,1)})):"getRutubeLinks"===e.request.action?C.prepareResponse(e.request,
(function(e){t.update(e)})):i.a.sendMessage(e.request,(function(e)
{C.prepareResponse(e,(function(e)
{t.update(e)}))})):t.update(i.a.i18n.getMessage("noLinksFound"))},appendLinkUnderVi
deo:function(e,t){var n=e.querySelector(".vp-layer-info_cnt");if(n){var
r=n.querySelector(".savefrom_ok_download"),o=E.a.create("span",
{className:"savefrom_ok_download",style:{marginLeft:"12px"},on:
[["click",function(e){e.stopPropagation()}],["mousedown",function(e)
{e.stopPropagation()}],["keydown",function(e){e.stopPropagation()}]],append:
[E.a.create("a",{href:"#",text:i.a.i18n.getMessage("download"),on:
["click",function(n)
{if(n.preventDefault(),M.a.onRemoveEvent(o,b.hideMenu),b.contextMenu&&b.contextMenu
.isShow){if(b.contextMenu.button===this)return void b.hideMenu();b.hideMenu()}var
r=b.contextMenu=l.popupMenu.quickInsert(this,i.a.i18n.getMessage("download")
+"...","sf-single-video-menu",{parent:e});C.loadLinks(t,r)}]})]});r&&r.parentNode?
(r.parentNode.replaceChild(o,r),r=null):n.appendChild(o)}},appendDownloadMobileVide
o:function(e){var t={float:"right",display:"flex",alignItems:"center",width:"fit-
content"},n=e.querySelector(".widget-list_infos"),r=e.querySelector("[data-
video]");if(n&&r){n.querySelector(".widget-list_actors, .ic")||
(t.position="absolute",t.top="-7px",t.right="0");var
o=C.createMobileDownloadContainer(r,{containerStyle:t,menuClass:"sf-mobile-video-
menu"});n.appendChild(o)}},createMobileDownloadContainer:function(e,t){var
n=t.containerStyle,r=t.menuClass,o=E.a.create("div",{style:n||{},append:
[l.svg.getSvg("download","#f1bc7f",14,14),E.a.create("a",
{href:"#",text:i.a.i18n.getMessage("download"),style:{marginLeft:"4px"}})],on:
["click",function(t)
{t.preventDefault(),t.stopPropagation(),b.contextMenu=l.popupMenu.quickInsert(this,
i.a.i18n.getMessage("download")+" ...",r,{parent:o||
t.target}),C.getMobilePlayerOptions(e).then((function(e){if(!e)return
b.contextMenu.update(i.a.i18n.getMessage("noLinksFound"));C.loadLinks(e,b.contextMe
nu)}))}]});return o},getPlayerOptions:function(e){var t=S()(e,"[data-player-
element-id][data-options]"),n=t&&t.dataset.options;if(n)
{try{n=JSON.parse(n)}catch(e){}var r=n.flashvars;if(r){if(r.metadata){var
o=null;try{o=JSON.parse(r.metadata)}catch(e)
{}if(o)return{metadata:o}}if(r.metadataUrl)return{request:
{action:"getOkMetadata",url:decodeURIComponent(r.metadataUrl)}};var i=n.url;if(i)
{var a=l.embedDownloader.checkUrl(i);if(a)return{request:a};if(-1!
==i.indexOf("rutube."))return{request:{action:"getRutubeLinks",links:
[i]}}}}}},getMobilePlayerOptions:function(e){return Object(o.a)(m.a.mark((function
t(){var n,r,o,i,a;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case
0:try{n=JSON.parse(e.dataset.video)}catch(e){}if(n&&n.movieId?
(r=n.movieId).indexOf("_")&&(r=r.split("_")[0]):r=new
URLSearchParams(location.search).get("st.discId"),r){t.next=4;break}return
t.abrupt("return",void $.error("getMobilePlayerOptions. video id not found"));case
4:return t.next=6,Object(Y.a)({action:"okRequestVideoPage",videoId:r});case
6:if(o=t.sent){t.next=9;break}return t.abrupt("return",void
$.error("getMobilePlayerOptions. videoPage fetch failed"));case 9:if(i=Z()
(o,"").querySelector(".vp_video .vid-card_cnt")){t.next=12;break}return
t.abrupt("return",void $.error("getMobilePlayerOptions. Video dataset not
found"));case 12:return a=C.getPlayerOptions(i),t.abrupt("return",(a.metadata?
a.metadata.dataMobile=n:a.metadata={dataMobile:n},a));case 14:case"end":return
t.stop()}}),t)})))()},catchPopup:function(){var
e=null;this.lastWaitEl&&this.lastWaitEl.abort(),this.lastWaitEl=this.waitEl((functi
on(){if(e=document.querySelector(".vp_video .vid-card_cnt"))return e}),(function()
{var t=S()(e,".vp_video");if(t){var
n=C.getPlayerOptions(e);n&&C.appendLinkUnderVideo(t.parentNode,n)}}))},rmBtn:functi
on(){for(var e,t=document.querySelectorAll(".savefrom_ok_download"),n=0;e=t[n];n+
+)e.parentNode.removeChild(e)},lastWaitEl:null,waitEl:function(e,t,n){var
r,o=Object.assign({abort:function(){clearInterval(o.timeout),o.isAborted=!0}},
{delay:500,repeat:12,isAborted:!1,timeout:null},n);return(r=e())?(t(r),o):(function
n(){o.repeat--,o.timeout=setTimeout((function(){if(!o.isAborted)return(r=e())?
t(r):void(!o.isAborted&&o.repeat&&n())}),o.delay)}(),o)}},O={btnClassName:"sf-feed-
dl-btn",style:void 0,thumbClassName:"vid-card_img",prepareLinks:function(e,t){if(!
e||!e.length)return i.a.i18n.getMessage("noLinksFound");if("string"==typeof
e)return e;t=t||"";for(var n,r,o,a,s=[],u=0,c=e.length;u<c;u++){var
d=e[u];if("object"==typeof d&&d.url){a=d.url;var f=d.ext;f||(f="MP4",-1!
==d.url.indexOf(".mp4")&&(f="MP4"),-1!==a.indexOf(".flv")&&(f="FLV"),-1!
==d.url.indexOf(".mov")&&(f="MOV"),-1!
==d.url.indexOf(".mpg")&&(f="MPG")),o=(f=f.toLowerCase()).toUpperCase(),r=d.subname
||d.quality||d.name||f}else{f="MP4",-1!==(a=d).indexOf(".mp4")&&(f="MP4"),-1!
==a.indexOf(".flv")&&(f="FLV"),-1!==a.indexOf(".mov")&&(f="MOV"),-1!
==a.indexOf(".mpg")&&(f="MPG"),o=(f=f.toLowerCase()).toUpperCase(),r=f;var
p=l.getMatchFirst(e[u],/\.(\d+)\.mp4/i);p&&(r=p)}var
m=["mobile","lowest","low","sd","hd","full","quad","ultra"].indexOf(r);-1!
==m&&(r=[144,240,360,480,720,1080,1440,"4K"][m]),n={href:a,title:d.title?
d.title:t,ext:f,format:o,quality:r,forceDownload:!0},s.push(n)}return
s},getPosterData:function(e){var t=S()
(e,"[hrefattrs]"),n=t&&t.getAttribute("hrefattrs");if(n){var r=p()(n,{params:!
0}),o=r["st.vpl.sid"],i=r["st.vpl.id"];if(!i){var a=S()(e,"[data-
id]");if((i=a&&a.dataset.id)&&"c"===i[0])return}if(i&&"OK_"===i.substr(0,3)&&(i=l.g
etMatchFirst(i,/OK_\d+_(\d+)/)),i)return{request:
{sid:o,action:"getPlayerMetadata",extVideoId:i}}}},onBtnClick:function(e)
{e.preventDefault(),e.stopPropagation();var
t=JSON.parse(this.dataset.sfContext);if(M.a.onRemoveEvent(this,b.hideMenu),b.contex
tMenu&&b.contextMenu.isShow){if(b.contextMenu.button===this)return void
b.hideMenu();b.hideMenu()}var n=document.querySelector("#mtLayer.__active
#mtLayerMain > div");n||(n=document.getElementById("vv_content")),n||x()(this,".js-
messages-list "+this.tagName)&&(n=d()(this,"js-messages-list"))&&!
n.offsetParent&&(n=null),!n&&x()(this,"#mainContent "+this.tagName)&&(n=S()
(this,"#mainContent"));var
r=b.contextMenu=l.popupMenu.quickInsert(this,i.a.i18n.getMessage("download")
+" ...","sf-popupMenu",{parent:n||void 0});C.loadLinks(t,r)},onImgOver:function(e)
{var t=x()(this,".mdialog_chat_window .d_comment_text_w
"+this.tagName),n=null;if(t?n=d()(this,"d_comment_text_w"):x()(this,".video-card
> .video-card_img-w "+this.tagName)?n=d()(this,"video-card_img-
w"):this.classList.contains("vid-card_cnt")?n=this:x()(this,".vid-card_cnt
"+this.tagName)&&(n=d()(this,"vid-card_cnt")),n&&!
n.getElementsByClassName(O.btnClassName).length&&!n.querySelector(".vid-
card_live.__active")){var r=x()(this,".vid-card_img__link
"+this.tagName),o=C.getPlayerOptions(this);if(o||(o=O.getPosterData(this)),o)
{o.isChat=t;var a={};t&&Object.assign(a,
{left:"15px",top:"15px"}),r&&Object.assign(a,
{backgroundColor:"#454648",borderColor:"rgb(53, 53, 53)"});var s=E.a.create("i",
{class:[O.btnClassName,"sf-video-feed-bind-on-insert"],style:a,data:
{sfContext:JSON.stringify(o)},title:i.a.i18n.getMessage("download")});s.appendChild
(E.a.create(l.svg.getSvg("download"),{style:
{width:"12px",height:"12px",margin:"4px"}})),n.appendChild(s)}}},injectStyle:functi
on(){this.style?this.style.parentNode||document.head.appendChild(this.style):
(this.style=E.a.create("style",{text:k()({"div > .sf-feed-dl-btn":
{display:"none",border:"1px solid
#F8F8F8",width:"20px",height:"20px",padding:0,position:"absolute",top:0,left:0,zInd
ex:1,cursor:"pointer",backgroundColor:"#F8F8F8"},"div > .sf-feed-dl-btn svg path":
{fill:"#eb722e"},"div > .sf-feed-dl-btn:hover svg path":{fill:"#00B75A"},"div
> .sf-feed-dl-btn:active":{outline:0,boxShadow:"inset 0 3px 5px rgba(0, 0, 0,
0.125)"},"div:hover > .sf-feed-dl-btn":{display:"block"},".sf-
audio.savefrom_ok_download":
{display:"none",backgroundImage:"url("+l.svg.getSrc("download","#ee8208")
+")",backgroundRepeat:"no-
repeat",backgroundPosition:"center",backgroundSize:"16px",opacity:.5,marginLeft:"
11px"},".sf-audio.sf-audio-2.savefrom_ok_download":{margin:"0 6px"},".sf-
audio.savefrom_ok_download:hover":{opacity:1},"wm-track:hover .sf-audio":
{display:"flex !important"},"wm-track2:hover .sf-audio":{display:"flex !
important"},"#sf-mobile-video-menu":{left:"auto !
important",right:"0"}})}),document.head.appendChild(this.style))},disable:function(
)
{this.style&&this.style.parentNode&&this.style.parentNode.removeChild(this.style)},
rmBtn:function(){for(var e,t=document.querySelectorAll(".sf-feed-dl-
btn"),n=0;e=t[n];n++)e.parentNode.removeChild(e);var r=v()
("sfSkip2"),o=document.querySelectorAll("["+r+"]");for(n=0;e=o[n];n+
+)e.removeAttribute(r)}},L={style:null,rmCurrentPhotoBtn:function(e){for(var
t,n=void 0,r=document.querySelectorAll(".sf-dl-current-photo-btn"),o=0;t=r[o];o+
+)e&&e.contains(t)?n=t:t.parentNode.removeChild(t);return
n},addDlCurrentPhotoBtn:function(e){if(!this.rmCurrentPhotoBtn(e)){var
t=b;e.appendChild(E.a.create("a",{class:"sf-dl-current-photo-
btn",href:"#",title:i.a.i18n.getMessage("download"),on:["click",function(n)
{if(n.stopPropagation(),n.preventDefault(),t.contextMenu&&t.contextMenu.isShow&&t.c
ontextMenu.button===this){if(t.contextMenu.button===this)return void
t.hideMenu();t.hideMenu()}var r=function e(t){18!==t.keyCode&&17!
==t.keyCode&&(o.hide(),document.removeEventListener("keydown",e))},o=t.contextMenu=
l.popupMenu.quickInsert(this,i.a.i18n.getMessage("download")+" ...","photoDlMenu",
{parent:e,onShow:function()
{document.addEventListener("keydown",r)},onHide:function()
{document.removeEventListener("keydown",r)}}),a=[],s=e.querySelector("img.photo-
layer_img");if(s){var u=s.dataset.fsSrc||s.dataset.nfsSrc||
s.src;u&&a.push({href:u,title:"photo_"+parseInt(Date.now()/
1e3),quality:i.a.i18n.getMessage("download"),format:" ",ext:"jpg",forceDownload:!
0,isBlank:!0,func:function(){o.hide()}})}if(s||(s=e.querySelector("div.gif[data-
gifsrc]")),s){var
c={webmsrc:"webm",mp4src:"mp4",gifsrc:"gif"};Object.keys(c).forEach((function(e)
{var t=s.dataset[e];if(t){var
n=c[e];a.push({href:t,title:"gif_"+parseInt(Date.now()/1e3),quality:i.a.i18n.getMes
sage("download"),format:n.toUpperCase(),ext:n,forceDownload:!0,isBlank:!
0,func:function(){o.hide()}})}}))}0!==a.length?
o.update(a):o.update(i.a.i18n.getMessage("noLinksFound"))}],append:
[E.a.create(l.svg.getSvg("download"),{style:
{width:"12px",height:"12px",margin:"4px"}})]}))}},injectStyle:function(){L.style?
L.style.parentNode||document.head.appendChild(L.style):(L.style=E.a.create("style",
{text:k()({"div > .sf-dl-current-photo-btn":{display:"none",border:"1px solid
#F8F8F8",width:"20px",height:"20px",padding:0,position:"absolute",backgroundColor:"
#F8F8F8",top:"73px",left:"90px",zIndex:100,cursor:"pointer"},"div > .sf-dl-current-
photo-btn svg path":{fill:"#eb722e"},"div > .sf-dl-current-photo-btn:hover svg
path":{fill:"#00B75A"},"div > .sf-dl-current-photo-btn:active":
{outline:0,boxShadow:"inset 0 3px 5px rgba(0, 0, 0, 0.125)"},"div:hover > .sf-dl-
current-photo-btn":
{display:"block"}})}),document.head.appendChild(L.style))},addCurrentDlBtn:function
(e){if("1"!==e.dataset.sfSkip2){e.dataset.sfSkip2="1";var
t=e.querySelector("img.photo-layer_img");t&&(t.dataset.fsSrc||t.dataset.nfsSrc||
t.src||(t=null)),t||(t=e.querySelector("div.gif[data-
gifsrc]")),t&&this.addDlCurrentPhotoBtn(e)}}},P=new(function(){function e(){var
t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(a.a)
(this,e),this.options=t,this.tooltip=null,this.init()}return Object(s.a)(e,
[{key:"init",value:function(){var e=this;this.tooltip=E.a.create("div",{class:"sf-
tooltip",style:Object.assign({position:"absolute",display:"none",zIndex:9999,opacit
y:0,transition:"opacity
0.2s",whiteSpace:"nowrap",fontSize:"12px",color:"#111",fontFamily:"arial, verdana,
sans-serif, Lucida Sans"},this.options.style),on:["mouseenter",function(t)
{e.hide()}]}),document.body.appendChild(this.tooltip)}},
{key:"updatePos",value:function(e){var
t=l.getPosition(e),n=l.getSize(this.tooltip);this.tooltip.style.top=t.top+this.opti
ons.top-n.height+"px";var r=t.left+parseInt(this.options.width/2,10)-
parseInt(n.width/2,10),o=document.body.clientWidth+document.body.scrollLeft;o<r+n.w
idth&&(r=o-n.width),this.tooltip.style.left=r+"px"}},{key:"show",value:function(e)
{var t=this;this.tooltip.style.display="block",setTimeout((function()
{t.updatePos(e),t.tooltip.style.opacity=1}))}},{key:"hide",value:function()
{this.tooltip.style.opacity=0,this.tooltip.style.display="none"}},
{key:"destroy",value:function()
{this.tooltip.parentNode&&(this.tooltip.parentNode.removeChild(this.tooltip),this.t
ooltip=null)}}]),e}())({top:-12,width:16,style:{backgroundColor:"#fff",border:"1px
solid #ccc",color:"rgb(48, 48,
48)",fontSize:"12px",padding:"3px"}})}))},99:function(e,t)
{e.exports=n(107)}})},function(e){!function(e){function t(t){for(var
r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={6:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([100,0]),n()}({100:function(e,t,n){n.r(t);var
r=n(0),o=n(12),i=n(8),a=n(20),s=n.n(a),u=n(17),l=n.n(u),c=n(14),d=n.n(c),f=n(7),p=n
.n(f),m=n(30),h=n.n(m),g=n(2),v=n.n(g),b=n(1),y=n.n(b),A=n(5),k=n.n(A),w=n(10),x=n.
n(w),_=n(6),S=n.n(_),C=n(13),I=n.n(C),O={position:"absolute",top:"38px",right:"14px
",background:"white",padding:"4px
9px",color:"#3F3F3F",fontWeight:"bold",textDecoration:"none",border:"1px solid
#cecece"};x.a.isSingle()&&Object(i.b)("mailru",(function(e,t){var n=Object(o.a)
(t),i=t.preferences,a=i.moduleMailru?1:0,u=r.a.isChrome||r.a.isFirefox||
r.a.isGM&&r.a.isTM;r.a.onMessage.addListener((function(t,n,r)
{if("getModuleInfo"===t.action){if(t.url!==location.href)return;return
r({state:a,moduleName:e})}if("changeState"===t.action){if(e!
==t.moduleName)return;return c.changeState(t.state)}"updatePreferences"!==t.action?
a&&("downloadMP3Files"===t.action&&(u?g.downloadMP3Files():g.showListOfAudioFiles(!
1)),"downloadPlaylist"===t.action&&g.showListOfAudioFiles(!
0)):Object.assign(i,t.preferences)})),a&&setTimeout((function(){c.run()}));var
c={contextMenu:null,run:function()
{a=1,g.injectStyle(),S.a.isAvailable()&&this.mutationMode.enable()},changeState:fun
ction(e)
{a=e,g.rmBtn(),b.rmBtn(),this.mutationMode.stop(),this.hideMenu(),e&&this.run()},hi
deMenu:function()
{c.contextMenu&&(c.contextMenu.hide(),c.contextMenu=null)},mutationMode:
{observer:null,stop:function(){this.observer&&this.observer.stop(),
["sfSkip"].forEach((function(e){for(var t,n=d()
(e),r=document.querySelectorAll("["+n+"]"),o=0;t=r[o];o+
+)t.removeAttribute(n)}))},wrapAudioOnMouseOver:function(){if(a&&!
(this.dataset.sfSkip>0)){this.dataset.sfSkip="1";var
e=JSON.parse(this.dataset.sfContext);g.onTrackOver(this,e.type)}},enable:function()
{if(this.observer)return this.observer.start();var e=function(e){for(var
t,n=0;t=e.added[n];n++)if(!(t.dataset.sfSkip>0)){t.dataset.sfSkip="1";var
r=b.getVideoId(t);if(r){var o=s()(t,"b-video__left");if(o){var
i=o.querySelector(".b-video__info-
time");i&&b.insertBtnInPopup(r,i)}}}},t=function(e){for(var t,n=0;t=e.added[n];n+
+)if(!(t.dataset.sfSkip>0)){t.dataset.sfSkip="1";var r=b.getVideoId(t);if(r){var
o=s()(t,"sp-video__item-page");if(o){var i=o.querySelector(".sp-video__item-
page__info__additional");i&&b.insertBtnInPage(r,i,1)}}}},o=function(e){for(var
t,n=0;t=e.added[n];n++)if(!(t.dataset.sfSkip>0)){t.dataset.sfSkip="1";var r=s()
(t,"sp-video__item-page-new__video-content"),o=r&&r.querySelector(".sp-video__item-
page-
new__actions"),i=r&&b.getVideoContentVideoId(r);o&&i&&b.insertBtnInPage(i,o,2)}};th
is.observer=new S.a({queries:[{css:".jp__track",is:"added",callback:function(e)
{for(var t,n=0;t=e.added[n];n+
+)t.dataset.sfContext=JSON.stringify({type:0}),v.a.one(t,"mouseenter",c.mutationMod
e.wrapAudioOnMouseOver)}},{css:".song-item",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n+
+)t.dataset.sfContext=JSON.stringify({type:1}),v.a.one(t,"mouseenter",c.mutationMod
e.wrapAudioOnMouseOver)}},{css:".b-video__left .b-video__container
object",is:"added",callback:e},{css:".b-video__left .b-video__container
video",is:"added",callback:e},{css:".sp-video__item-page .sp-video__item-
page__video-wrapper object",is:"added",callback:t},{css:".sp-video__item-page .sp-
video__item-page__video-wrapper video",is:"added",callback:t},{css:".sp-
video__item-page-new .sp-video__item-page-new__video-content
video",is:"added",callback:o},{css:".sp-video__item-page-new .sp-video__item-page-
new__video-content object",is:"added",callback:o},{css:".b-
photo",is:"added",callback:function(e){e.added.forEach((function(e){var
t=e.querySelector(".b-photo__container"),o=document.createElement("a");for(var
i in O)o.style[i]=O[i];var
a=n.svg.getSvg("download","#2665a9","13");a.style.float="left",a.style.margin="2px
5px 0 0";var
s=document.createElement("span");s.innerText=r.a.i18n.getMessage("download"),o.appe
ndChild(a),o.appendChild(s),t.appendChild(o),o.addEventListener("click",
(function(e){e.preventDefault();var r=t.querySelector(".b-
photo__image");if(r&&r.src){var
o=k.a.modify(r.src.split("/").pop());n.download(o,r.src)}}))}))}},
{css:"."+v.a.onRemoveClassName,is:"removed",callback:function(e){for(var
t,n=0;t=e.removed[n];n++)v.a.onRemoveListener(t)}}]})}}},f={tooltip:void
0,updatePos:function(e,t){var
r=n.getPosition(e),o=n.getSize(this.tooltip);this.tooltip.style.top=r.top+t.top-
o.height+"px";var
i=r.left+parseInt(t.width/2)-parseInt(o.width/2),a=document.body.clientWidth+docume
nt.body.scrollLeft;a<i+o.width&&(i=a-
o.width),this.tooltip.style.left=i+"px"},show:function(e,t){var n=this;return void
0!==this.tooltip?this.hide():(this.tooltip=y.a.create("div",{class:"sf-
tooltip",style:Object.assign({position:"absolute",display:"none",zIndex:9999,opacit
y:0,transition:"opacity
0.2s",whiteSpace:"nowrap",fontSize:"12px",color:"#111",fontFamily:"arial, verdana,
sans-serif, Lucida Sans"},t.style),on:["mouseenter",function(e)
{n.hide()}]}),document.body.appendChild(this.tooltip)),this.tooltip.style.display="
block",setTimeout((function()
{n.updatePos(e,t),n.tooltip.style.opacity=1})),this.tooltip},hide:function()
{this.tooltip.style.opacity=0,this.tooltip.style.display="none"}},m=function(){var
e=document.title,t=e.indexOf("-");return-1!==t&&(e=e.substr(0,t-
1)),k.a.modify(e)},g={className:"sf-audio-panel",lastRow:null,style:void
0,secondsFromDuration:function(e){var t=e.split(":").map((function(e){return
parseInt(e)}));return 60*t[0]+t[1]},getTitle:function(e){var
t=e.querySelector(".jp__track-fullname"),n=e.querySelector(".jp__track-
performer");if(null===n&&null!==(n=e.querySelector(".jp__track-name-text"))&&null!
==(n=n.querySelector("a:not(.jp__track-fullname)"))){var r=t;t=n,n=r}if(null!==n?
(n=n.textContent.trim())||(n="noname"):n="",n?n+=" - ":n="",null!==t){var o=n+
(t=t.textContent);return o.replace(/[\r\n\t\s]+/gim," ").replace(/\s+/g,"
").trim()}},getTitle2:function(e){var
t=e.querySelector(".title"),n=e.querySelector(".name")||e.querySelector(".b-
music__songs__row__body__inner__title__name__link"),r=e.querySelector(".author")||
e.querySelector(".b-music__songs__row__body__inner__title__author");return
n&&((n=n.textContent).length||(n="noname")),r&&(r=r.textContent),(n&&r?r+" - "+n:t?
t.textContent:"unknown").replace(/[\r\n\t\s]+/gim," ").replace(/\s+/g,"
").trim()},getMp3UrlList:function(e){var t=1,n=document.querySelectorAll(".b-
music__section__content__playlist-songs .song-
item");0===n.length&&(n=document.querySelectorAll(".jp__track"),t=0);for(var
r,o=[],i={},a=function(e){s=s.then((function(){return new Promise((function(n)
{g.getUrl(e,t,n)}))})).then((function(n){if(n&&!i[n]){i[n]=1;var
r="",a="";if(0===t?(r=e.querySelector(".jp__track-duration-
total"),a=g.getTitle(e)):(r=e.querySelector(".time"),a=g.getTitle2(e)),a){var
s=k.a.modify(a)
+".mp3",u=r&&g.secondsFromDuration(r.textContent);o.push({url:n,filename:s,title:a,
duration:u})}}})).catch((function(e){}))},s=Promise.resolve(),u=0;r=n[u];u+
+)a(r);s.then((function(){e(o)}))},showListOfAudioFiles:function(e)
{g.getMp3UrlList((function(t){0!==t.length&&(e?n.playlist.popupPlaylist(t,m(),!
0):n.playlist.popupFilelist(t))}))},downloadMP3Files:function()
{g.getMp3UrlList((function(e){0!
==e.length&&n.downloadList.showBeforeDownloadPopup(e,
{type:"audio",folderName:m()})}))},onDlBtnOver:function(e){if(!r.a.isSafari){var
t=this.dataset.duration;if("mouseenter"===e.type){var o,i=this,a=f.show(i,o={top:-
14,width:16,style:{backgroundColor:"#fff",border:"1px solid #ccc",color:"rgb(48,
48, 48)"}});return i.dataset.bitrate?(a.style.padding="2px 5px
3px",void(a.textContent=" ("+i.dataset.size+" ~
"+i.dataset.bitrate+")")):i.dataset.size?(a.style.padding="2px 5px
3px",void(a.textContent=" ("+i.dataset.size+")")):(a.style.padding="2px 2px 0
2px",a.textContent="",a.appendChild(y.a.create("img",{src:"//my9.imgsmail.ru/r/my/
preloader_circle_16.gif",height:16,width:16})),void fetch(i.href,
{method:"GET",credentials:"include"}).then((function(e){return
e.headers.get("content-length")})).then((function(e){if(a.style.padding="2px 5px
3px",!e)return a.textContent=r.a.i18n.getMessage("getFileSizeFailTitle"),void
f.updatePos(i,o);var s=n.sizeHuman(e,2);if(t){var u=Math.floor(e/t/125)+"
"+r.a.i18n.getMessage("kbps");i.dataset.bitrate=u,i.dataset.size=s,a.textContent="
("+s+" ~ "+u+")"}else i.dataset.size=s,a.textContent="
("+s+")";f.updatePos(i,o)})))}f.hide()}},getUrlViaBridge:function(e,t){void
0===g.getUrlViaBridge.index&&(g.getUrlViaBridge.index=0);var n="sf-bridge-
item-"+g.getUrlViaBridge.index;g.getUrlViaBridge.index++,e.classList.add(n);var
r={className:n};I()([r],(function(e){var
t=e.className,n=document.getElementsByClassName(t)[0];n.classList.remove(t);var
r=jQuery(n).data();if(r&&r.item)return r.item.url})).then((function(e){return
t(e)}))},getUrlById:function(e){return I()([e],'function(id){var url="";var
findUrl=function findUrl(items,id){var url="";items.some(function(item)
{if(item._attr&&item._attr.file===id){url=item._attr.url;return true}});return
url};try{url=findUrl(APP.activePage.collection.items,id)}catch(err){}try{if(!url)
{url=findUrl(APP.player.collection.items,id)}}catch(err){}return
url}').then((function(e){if(!e)throw new Error("Url is not
found");return/^\/\//.test(e)&&(e="https:"+e),e}))},getUrl:function(e,t,n){var
r=e.dataset.url;if(r)return n(r);if(0===t){var o=e.querySelector("a.jp__track-
fullname-link");if(null===o)return n();o=o.href;var i=l()(o);return i.file&&i.uid?
n("https://music.my.mail.ru/file/"+i.file+".mp3?
u="+encodeURIComponent(i.uid)):g.getUrlViaBridge(e,(function(t)
{t&&(e.dataset.url=t),n(t)}))}if(1===t){var a=e.dataset.file;return
g.getUrlById(a).then((function(e){n(e)}),(function(){n("https://music.my.mail.ru/
file/"+a+".mp3")}))}},onDlBtnClick:function(e)
{e.stopPropagation(),n.downloadOnClick(e)},getDlLink:function(e,t,n){return
y.a.create("a",{data:{duration:t||""},href:e,style:
{position:"relative",display:"inline-
block",width:"16px",height:"16px",verticalAlign:"middle"},download:k.a.modify(n+".m
p3"),on:[["mouseenter",g.onDlBtnOver],["mouseleave",g.onDlBtnOver],
["click",this.onDlBtnClick]]})},addDownloadPanelNew:function(e,t){if(t){var
n=g.getTitle2(e);if(n){var
r=e.querySelector(".time"),o=r&&g.secondsFromDuration(r.textContent),i=this.getDlLi
nk(t,o,n),a=y.a.create("div",{class:[g.className,"type-2"],append:
[i]}),s=e.querySelector(".icons");if(s)s.appendChild(a);else{var
u=e.querySelector(".b-
music__songs__row__body__inner__controls");u&&(i.classList.add(this.className+"-
btn"),y.a.create(a,{class:[this.className,"type-3"],style:
{background:"none",verticalAlign:"top"},append:
[i]}),u.appendChild(a))}}}},addDownloadPanel:function(e,t){var
n=e.querySelector(".jp__track-duration-total");if(null!==n&&void 0!==t){var
r=g.getTitle(e);if(r){n=g.secondsFromDuration(n.textContent);var
o=y.a.create("div",{class:[g.className,"type-0"],append:
[this.getDlLink(t,n,r)]}),i=e.querySelector(".jp__track-
management");i&&(i.firstChild?
i.insertBefore(o,i.firstChild):i.appendChild(o))}}},onTrackOver:function(e,t)
{0===e.getElementsByClassName(g.className).length&&g.getUrl(e,t,(function(n){1===t?
g.addDownloadPanelNew(e,n):g.addDownloadPanel(e,n)}))},injectStyle:function()
{this.style?this.style.parentNode||document.head.appendChild(this.style):
(this.style=y.a.create("style",{text:p()([{selector:"."+this.className,style:
{display:"none",left:"22px",backgroundImage:"url("+n.svg.getSrc("download","#168DE2
")+")",backgroundRepeat:"no-
repeat",backgroundPosition:"center",backgroundSize:"16px"}},
{selector:"."+this.className+"-btn",style:
{backgroundImage:"url("+n.svg.getSrc("download","#168DE2")
+")",backgroundRepeat:"no-
repeat",backgroundPosition:"center",backgroundSize:"16px"}},
{selector:".jp__track:hover ."+this.className,style:{display:"block",opacity:.5}},
{selector:".jp__track:hover ."+this.className+".type-0",style:{display:"inline-
block",marginLeft:"-16px",position:"relative",left:"-2px"}},
{selector:".jp__track.jp__track-plays ."+this.className,style:{left:"-18px"}},
{selector:"."+this.className+":hover",style:{opacity:"1 !important"}},
{selector:"."+this.className+".type-2",style:{marginRight:"5px",marginLeft:"5px"}},
{selector:".song-item:hover ."+this.className+".type-2",style:{display:"inline-
block",opacity:.5}},{selector:".b-music__section__content--
songs ."+this.className+".type-3",style:{marginTop:"18px"}},{selector:".b-
music__section__content--songs .b-music__songs--inline ."+this.className+".type-
3",style:
{marginTop:"9px"}}])}),document.head.appendChild(this.style))},rmBtn:function()
{g.style&&(g.style.parentNode.removeChild(g.style),g.style=void 0);for(var
e,t=document.querySelectorAll("."+g.className),n=0;e=t[n];n+
+)e.parentNode.removeChild(e)}},b={btnIndex:0,domCache:{},className:"sf-video-
btn",prepareLinks:function(e){for(var t,n=[],r=0;t=e[r];r++){var o=t.url,i="FLV";-
1!==o.indexOf(".mp4")&&(i="MP4"),-1!==o.indexOf(".mov")&&(i="MOV"),-1!
==o.indexOf(".mpg")&&(i="MPG"),t.quality||(t.quality="-?-");var
a=t.quality.toUpperCase(),s=["1080P","720P","480P","360P","272P"].indexOf(a);-1!
==s&&(a=["1080","720","480","360","272"][s]);var
u=i.toLowerCase(),l={href:o,title:t.title,ext:u,format:i,quality:a,forceDownload:!
0};n.push(l)}if(0!==n.length)return n},showLinkList:function(e,t,o){if(e||
(e=r.a.i18n.getMessage("noLinksFound")),o){if(!c.contextMenu)return;return
e.map((function(e){return e.noSize=r.a.isFirefox,e})),void
c.contextMenu.update(e)}c.contextMenu&&c.contextMenu.isShow?
c.hideMenu():c.contextMenu=n.popupMenu.quickInsert(t,e,"video-links-popup",
{parent:s()(t,"b-video__main")})},appendPageBtn:function(e,t,o)
{if(null===e.querySelector("."+b.className)){var i=null,a=y.a.create("span",
{class:b.className,append:[i=y.a.create("a",{data:{index:t},href:"#",on:
["click",function(
e)
{e.preventDefault(),v.a.onRemoveEvent(this,c.hideMenu),b.readDomCache(this.dataset.
index,this)}]})]});if(1===o?
(i.style.marginLeft="15px",i.textContent=r.a.i18n.getMessage("download")):2===o&&(y
.a.create(i,{style:{fontSize:0,lineHeight:0,padding:"6px",boxShadow:"inset 0 0 0
1px #ccc",borderRadius:"3px",display:"inline-
block"}}),i.appendChild(n.svg.getSvg("download","#666",18,18))),2===o)e.appendChild
(a);else if(1===o){var
s=e.lastChild;e.insertBefore(a,s),s=null}}},appendBtn:function(e,t)
{if(null===e.querySelector("."+b.className)){var n=void
0,o={};e.childNodes.length>1?n=e.childNodes[1]:
(n=e.lastChild,o.marginRight="5px");var i=y.a.create("span",
{class:e.lastChild.getAttribute("class")+" "+b.className,append:[y.a.create("a",
{data:{index:t},text:r.a.i18n.getMessage("download"),href:"#",on:
["click",function(e)
{e.preventDefault(),v.a.onRemoveEvent(this,c.hideMenu),b.readDomCache(this.dataset.
index,this)}],style:o})]});e.insertBefore(i,n),n=null}},readDomCache:function(e,t)
{b.showLinkList(r.a.i18n.getMessage("download"),t);var o=function()
{b.showLinkList(void 0,t,1)},a=function(e){if("getRutubeLinks"===e.action){if(!
i.showUmmyItem)return
o();b.showLinkList(n.popupMenu.prepareLinks.rutube(e.links),t,1)}else"getMailruLink
s"===e.action?
b.showLinkList(n.popupMenu.prepareLinks.mailru(e.links,e.title),t,1):b.showLinkList
(b.prepareLinks(e.links),t,1)},s=b.domCache[parseInt(e)];if(s.links)a(s);else
if(s.metadataUrl){var u=s.metadataUrl;/^\/\//.test(u)&&(u="http:"+u),h()
({url:u,withCredentials:!0,json:!0,localXHR:!0},(function(e,t){var n;(n=e?
null:t.body)&&"object"==typeof n?b.readMeta(n,(function(e){e.links?
(s.links=e.links,s.action=e.action,a(s)):o()})):o()}))}else s.url?
r.a.sendMessage({action:"getMailruLinks",extVideoId:s.url},(function(e){e.links?
(s.title=e.title,s.links=e.links,s.action=e.action,a(s)):o()})):o()},readMeta:funct
ion(e,t){var n,o=[];if("UPLOADED"===e.provider){if(n=e.movie?e.movie.title:void 0,!
e.videos)return t();e.videos.forEach((function(e)
{o.push({quality:e.name,url:e.url,title:n})}))}if("ugc"===e.provider){if(n=e.meta?
e.meta.title:void 0,!e.videos)return t();e.videos.forEach((function(e)
{o.push({quality:e.key,url:e.url,title:n})}))}return"pladform"===e.provider?
(n=e.meta?e.meta.title:void 0,void
r.a.sendMessage({action:"getPladformVideo",extVideoId:
{playerId:e.meta.playerId,videoId:e.meta.videoId}},(function(e){if(!e)return
t();var r=e.links;if(!r)return t();r.forEach((function(e){"object"==typeof e&&void
0===e.title&&(e.title=n)})),t(e)}))):0===o.length?
t():t({links:o})},getFlashVars:function(e){if(e){var
t=e.querySelector('param[name="flashvars"]');if(t){var n=t.value,r=l()(n,{params:!
0});return r.metadataUrl?{metadataUrl:r.metadataUrl}:void 0}}},matchUrl:function(e)
{var t=e.match(/\/([^\/]+)\/([^\/]+)\/video\/(.+).html/);return
t||(t=e.match(/embed\/([^\/]+)\/([^\/]+)\/(.+).html/)),t},getVideoId:function(e)
{"OBJECT"!==e.tagName&&(e=e.querySelector('object[name="b-video-player"]'));var
t=this.getFlashVars(e);if(t)return t;var n=document.querySelector('[data-
type="album-
json"]');if(n)try{if((n=JSON.parse(n.textContent)).signVideoUrl)return{metadataUrl:
n.signVideoUrl}}catch(e){}var r=this.matchUrl(location.pathname);return r?
{metadataUrl:"http://api.video.mail.ru/videos/"+r[1]+"/"+r[2]+"/"+r[3]+".json"}:voi
d 0},getVideoContentVideoId:function(e){var t=null,n=e.querySelector(".sp-
video__item-page-new__share__item[data-share-type][data-location]");return
n&&(t={url:n.dataset.location}),t},insertBtnInPage:function(e,t,n){e.metadataUrl?
(e.metadataUrl=decodeURIComponent(e.metadataUrl),b.domCache[b.btnIndex]={metadataUr
l:e.metadataUrl}):b.domCache[b.btnIndex]=Object.assign({},e),b.appendPageBtn(t,b.bt
nIndex,n),b.btnIndex++},insertBtnInPopup:function(e,t)
{e.metadataUrl&&(e.metadataUrl=decodeURIComponent(e.metadataUrl),b.domCache[b.btnIn
dex]={metadataUrl:e.metadataUrl}),b.appendBtn(t,b.btnIndex),b.btnIndex+
+},rmBtn:function(){for(var
e,t=document.querySelectorAll("."+b.className),n=0;e=t[n];n+
+)e.parentNode.removeChild(e)}}}))}})},function(e){!function(e){function t(t)
{for(var r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={3:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([115,0]),n()}({101:function(e,t,n){n.r(t);var r=n(22),o=n.n(r)()(!
1);o.push([e.i,"._3uxxj--container{display:flex;font-family:inherit;margin-
right:10px;font-weight:600;color:#65676b;line-height:1.6;border-
radius:4px;padding:5px 4px;cursor:pointer}._3uxxj--container:hover{background-
color:rgba(0,0,0,.05)}.RBRWW--text{margin-left:4px}._3n3GJ--circle-
container{padding:0;border-
radius:100%;width:40px;height:40px;background:#e4e6eb}._3n3GJ--circle-
container:hover{background-color:#fff}._3n3GJ--circle-container ._2M1Yu--
logo{margin:0 auto;max-width:20px}",""]),o.locals={container:"_3uxxj--
container",text:"RBRWW--text","circle-container":"_3n3GJ--circle-
container",circleContainer:"_3n3GJ--circle-container",logo:"_2M1Yu--
logo"},t.default=o},115:function(e,t,n){n.r(t);var
o=n(0),i=n(12),a=n(8),s=n(20),u=n.n(s),l=n(17),c=n.n(l),d=n(14),f=n.n(d),p=n(7),m=n
.n(p),h=n(15),g=n.n(h),v=n(11),b=n.n(v),y=n(2),A=n.n(y),k=n(1),w=n.n(k),x=n(13),_=n
.n(x),C=n(5),I=n.n(C),O=n(9),M=n.n(O),L=n(10),E=n.n(L),P=n(6),j=n.n(P),T=n(21),D=n.
n(T),N=n(3),F=n.n(N),B=n(83),R=n.n(B),q=n(25),z=n.n(q),U=n(27),V=n.n(U),H=Object(i.
a)().svg.getSrc("download","#84bd07"),W=F.a.memo((function(e){var
t=e.classes,n=void 0===t?[]:t,i=e.isIcon,a=void 0===i||i,s=e.isText,u=void 0===s||
s,l=e.isCircle,c=void 0!==l&&l,d=e.onClick,f=z()(R.a);return
F.a.createElement("div",{className:V().apply(void 0,Object(r.a)
(n).concat([f.container,c&&f.circleContainer])),onClick:d},a&&F.a.createElement("im
g",{src:H,className:f.logo}),u&&F.a.createElement("span",
{className:f.text},o.a.i18n.getMessage("download")))})),G=n(4),Q=n(40),Y=M()
("facebook_com");E.a.isSingle()&&Object(a.b)("facebook",(function(e,t){var
n=Object(i.a)(t),r=t.preferences,a=r.moduleFacebook?
1:0;o.a.onMessage.addListener((function(t,n,o){if("getModuleInfo"===t.action)
{if(t.url!==location.href)return;return
o({state:a,moduleName:e})}if("changeState"===t.action){if(e!
==t.moduleName)return;return s.changeState(t.state)}"updatePreferences"!==t.action?
a&&"updateLinks"===t.action&&(s.changeState(0),s.changeState(1)):Object.assign(r,t.
preferences)})),a&&setTimeout((function(){s.run()}));var
s={contextMenu:null,className:"savefrom_fb_download",isMutation:!1,run:function()
{if(a=1,v.addStyle(),h.injectStyle(),j.a.isAvailable())return this.isMutation=!
0,this.initEmbedDownloader(),void
this.mutationMode.enable()},changeState:function(e)
{s.hideMenu(),a=e,l.disable(),h.rmCurrentPhotoBtn(),h.rmDataAttrs(),v.rmBtn(),p.rmB
tn(),s.mutationMode.stop(),e&&s.run()},initEmbedDownloader:function()
{n.addStyleRules("."+n.embedDownloader.linkClass+" img",
{opacity:".5"}),n.embedDownloader.init()},mutationMode:
{observer:null,stop:function(){this.observer&&this.observer.stop(),
["sfSkip"].forEach((function(e){for(var t,n=f()
(e),r=document.querySelectorAll("["+n+"]"),o=0;t=r[o];o+
+)t.removeAttribute(n)}))},wrapVideoGetLinks:function(e){switch(e.tagName)
{case"EMBED":p.getLinksFromEmbed(e,(function(e)
{p.appendLinks(e&&e.links)}));break;case"VIDEO":p.getLinksFromVideo(e,(function(e)
{p.appendLinks(e&&e.links)}))}},wrapVideoFeedOnLinkHover:function()
{a&&v.onLinkHover.apply(this)},wrapPhotoOnHover:function(e)
{a&&h.addCurrentDlBtn(this)},wrapExternalMediaMouseEnter:function()
{a&&(this.dataset[l.linkDataAttr]?clearTimeout(l.timer):l.handle(this)?
(l.lastLink&&l.lastLink!
==this&&l.removeBtn(l.lastLink),n.embedDownloader.hidePanel(),l.lastLink=this):
(A.a.off(this,"mouseenter",s.mutationMode.wrapExternalMediaMouseEnter),A.a.off(this
,"mouseleave",s.mutationMode.wrapExternalMediaMouseLeave)))},wrapExternalMediaMouse
Leave:function(){if(a){var
e=this;e.dataset[l.linkDataAttr]&&(clearTimeout(l.timer),l.timer=setTimeout((functi
on(){l.removeBtn(e)}),1500))}},wrapExternalMedia:function(e)
{A.a.on(e,"mouseenter",s.mutationMode.wrapExternalMediaMouseEnter),A.a.on(e,"mousel
eave",s.mutationMode.wrapExternalMediaMouseLeave)},enable:function(){var
e=this;if(this.observer)return this.observer.start();var t=function(e,t){if(!
e.dataset.sfReady)return e.dataset.sfReady="1",t(e)};this.observer=new
j.a({queries:[{css:"video",is:"added",callback:function(e){var
n=e.added,r=/\/watch/.test(location.href);n.forEach((function(e){return t(e,
(function(){return r?v.addButtonForWatchPage(e):e.closest('[role="article"]')?
v.addButtonForFeedPage(e):void 0}))}))}},{css:'[role="article"]
a[href*="/videos/"], ._6x84 a[href*="/videos/"]',is:"added",callback:function(e)
{e.added.forEach((function(e){return
t(e,(function(){v.addHoverButtonForArticleVideo(e)}))}))}},{css:'[role="article"]
a[role="link"] div[style] img[alt], [role="article"] div[role="button"] div[style]
img[alt]',is:"added",callback:function(e){e.added.forEach((function(e){return t(e,
(function(){h.addButtonForArticleImage(e)}))}))}},{css:'[data-
pagelet="TahoeVideo"]',is:"added",callback:function(e){e.added.forEach((function(e)
{return t(e,(function(){v.addButtonForShowPageVideo(e)}))}))}},{css:'[data-
pagelet="TahoeRightRail"] a[href*="/videos/"]',is:"added",callback:function(e)
{e.added.forEach((function(e){return t(e,(function(){var
t=d.createButton((function(){var
n=p.getVideoIdFromLink(e.href);n&&p.showDownloadMenuByVideoId(t,n)}),
{preset:"hover"});e.appendChild(t)}))}))}},{css:'[data-
pagelet="MediaViewerPhoto"]',is:"added",callback:function(e)
{e.added.forEach((function(e){return t(e,(function()
{h.addButtonForShowPageImage(e)}))}))}},{css:
["embed","video._ox1"],is:"added",callback:function(t){for(var
n,r=0;n=t.added[r];r++){var o=!1;g()(n,"#fbxPhotoContentContainer .videoStage
".concat(n.tagName))&&(o=!0),o?
e.wrapVideoGetLinks(n):A.a.one(n,"mouseenter",e.wrapVideoFeedOnLinkHover)}}},{css:
[".fbPhotoSnowliftContainer .stageWrapper .stage
img.spotlight",".fbPhotoSnowliftContainer .stageWrapper .stage .videoStage
video"],is:"added",callback:function(t){for(var r,o=0;r=t.added[o];o+
+)if(s.hideMenu(),!(r.dataset.sfSkip>0)){r.dataset.sfSkip="1";var
i=n.getParentByClass(r,"stageWrapper");A.a.one(i,"mouseenter",e.wrapPhotoOnHover)}}
},{css:"a",is:"added",callback:function(t){for(var n,r=0;n=t.added[r];r+
+)n.sfSkip>0||(n.sfSkip="1",e.wrapExternalMedia(n))}},
{css:".".concat(A.a.onRemoveClassName),is:"removed",callback:function(e){for(var
t,n=0;t=e.removed[n];n++)A.a.onRemoveListener(t)}}]})}},hideMenu:function()
{s.contextMenu&&(s.contextMenu.hide(),s.contextMenu=null)}},l={linkDataAttr:"savefr
omEd",timer:0,lastLink:null,re:[/https?:\/\/(?:[a-z]+\.)?youtube\.com\/(?:#!?\/)?
watch\?[^\s\"\'\<\>]*v=([\w\-]+)/i,/https?:\/\/(?:[a-z0-9]+\.)?youtube\.com\/
(?:embed|v)\/([\w\-]+)/i,/https?:\/\/(?:[a-z]+\.)?youtu\.be\/([\w\-]+)/i,/
https?:\/\/(?:[\w\-]+\.)?vimeo\.com\/(\d+)(?:\?|$)/i],thumbnail:{youtube:{re:[/
ytimg\.com(?:\/|%2F)vi(?:\/|%2F)([\w\-]+)(?:\/|%2F)/i],url:"http://
www.youtube.com/watch?v={vid}"}},disable:function(){var
e=n.embedDownloader.panel;e&&(e.style.display="none")},removeBtn:function(e)
{if(e&&"object"==typeof e){var
t=e.querySelector("."+s.className);t&&(t.parentNode.removeAttribute(f()
(l.linkDataAttr)),t.parentNode.removeChild(t)),e.removeAttribute(f()
(l.linkDataAttr)),e==this.lastLink&&(this.lastLink=null)}},checkUrl:function(e,t)
{if(!t&&e.search(/https?:\/\/([\w\-]+\.)?facebook\.com\/l\.php/i)>-1)return
this.checkUrl(decodeURIComponent(e),!0);for(var n=0,r=this.re.length;n<r;n++){var
o=e.match(this.re[n]);if(o&&o.length>0)return o[0]}},handle:function(e){var
t=e.querySelector("img");if(t){var
r=t.parentNode;if(t.src&&"relative"==n.getStyle(r,"position")){var
o=e.getAttribute("ajaxify");if(o&&o.search(/\/flash\/expand_inline/i)>-1){var
i=this.getThumbnailUrl(t.src);if(i)return this.createButton(i,r,e,
{display:"block",position:"absolute",bottom:"3px",right:"3px",zIndex:9999,margin:0,
width:"16px",height:"16px"},{display:"block"})}else if(this.checkUrl(e.href))return
this.createButton(e.href,r,e,
{display:"block",position:"absolute",bottom:"3px",right:"3px",zIndex:9999,margin:0,
width:"16px",height:"16px"},{display:"block"})}return!1}return
this.createButton(e.href,e,e)},getThumbnailUrl:function(e){for(var t in
this.thumbnail)for(var r=0;r<this.thumbnail[t].re.length;r++){var
o=n.getMatchFirst(e,this.thumbnail[t].re[r]);if(o)return
this.thumbnail[t].url.replace(/\{vid\}/gi,o)}return""},createButton:function(e,t,r,
i,a){if(!(e=this.checkUrl(e)))return!1;var
u=document.createElement("a");u.className=s.className,u.href="http://savefrom.net/?
url="+encodeURIComponent(e),u.setAttribute(n.embedDownloader.dataAttr,e),u.title=o.
a.i18n.getMessage("download"),n.setStyle(u,
{marginLeft:"7px",verticalAlign:"middle"}),i&&n.setStyle(u,i);var
l=document.createElement("img");return
l.className="icon",l.src=n.svg.getSrc("download","#a2db16"),n.setStyle(l,
{display:"inline-
block",width:"16px",height:"16px",verticalAlign:"middle",cursor:"pointer"}),a&&n.se
tStyle(l,a),u.appendChild(l),r.dataset[this.linkDataAttr]=1,t.appendChild(u),!
0}},d={createButton:function(e){var t=arguments.length>1&&void 0!==arguments[1]?
arguments[1]:{},n={default:{props:{},style:{}},circle:{props:{isText:!1,isCircle:!
0},style:{}},withoutText:{props:{isText:!1},style:{}},hover:{className:"sf-hover-
container",props:{isText:!1},style:
{position:"absolute",top:"8px",left:"8px"}}},r=t&&t.preset?
t.preset:"default",o=n[r]?
n[r]:n.default,i=o.props,a=o.style;t&&t.style&&(a=Object.assign(a,t.style));var
s=w.a.create("div",{class:o.className||"sf-download-container",style:a});return D()
(Object(G.createElement)(W,S(S({},i),{},{onClick:function(t)
{t.preventDefault(),t.stopPropagation(),e(t)}})),s),s}},p={getLinksFromEmbed:functi
on(e,t){if(!e)return t(null);var n=e.getAttribute("flashvars");if(null===n)return
t(null);var r=c()(n).params;if(!r)return t(null);var
o=null;try{o=JSON.parse(r).video_data}catch(e){}if(!o)return
t(null);o.progressive&&(o=o.progressive);var
i={},a={sd_src:"SD",hd_src:"HD"};Array.isArray(o)||(o=[o]);for(var s,u=0;s=o[u];u+
+)["sd_src","hd_src"].forEach((function(e){s[e]&&(i[s[e]]=a[e])}));return
t({links:i})},getVideoIdFromLink:function(e){var t=e.match(/videos\/(\d+)/);return
t&&t[1]},requestLocalVideoLinks:function(e){return new Promise((function(e,t)
{n.bridge({func:'function(cb){var err=null;var
token=null;try{token=window.require("DTSGInitialData").token}catch(_err)
{err=_err.message}cb([err,token])}',cb:function(n){var r=null,o=null;!n||n[0]?r=new
Error("Get token timeout"):o=n[1],r?t(r):e(o)}})})).then((function(t){var
n="https://www.facebook.com/video/tahoe/async/".concat(e,"/?").concat(Q.stringify({
payloadtype:"primary"})),r=Q.stringify({__a:1,fb_dtsg:t});return _()
([n,r],'function(url,data){return fetch(url,{method:"POST",headers:{"content-
type":"application/x-www-form-urlencoded"},body:data}).then(function(response)
{return response.text()})}')})).then((function(t){return new Promise((function(n,r)
{o.a.sendMessage({action:"getFacebookLinksFromData",extVideoId:e,data:t},
(function(e){e&&e.links?n(e):r(new Error("Get links from data
error"))}))}))})).catch((function(e){throw Y.error("get local links
error",e),e}))},requestBgVideoLinks:function(e){return new Promise((function(t,n)
{o.a.sendMessage({action:"getFacebookLinks",extVideoId:e},(function(e){e&&e.links?
t(e):n(new Error("Get links error"))}))})).catch((function(e){throw Y.error("get
links error",e),e}))},requestVideoLinksById:function(e){return
Promise.resolve().then((function(){return
p.requestLocalVideoLinks(e)})).catch((function(){return
p.requestBgVideoLinks(e)}))},requestVideoLinks:function(e,t){return
p.requestVideoLinksById(e).then((function(e){t(e.links,e.title)}),(function(e)
{t()}))},getLinksFromVideo:function(e,t){if(!e)return t(null);var
r,o={},i={},a=null;if(!a){var s=b()(e,"div[data-ft]");if(s&&g()
(s,".userContentWrapper[data-ft] "+s.tagName)&&(s=b()(s,".userContentWrapper[data-
ft]")),s&&(Array.from(s.querySelectorAll("a[href]")).some((function(e){var
t=/\/videos\/(\d+)/.exec(e.href);if(t)return a=t[1],o.popup_1=!0,!0})),!a)){var
l=null;try{l=JSON.parse(s.dataset.ft)}catch(e){}if(l){var
c=l.mf_story_key,d=l.story_attachment_style;c&&"video_inline"===d&&(a=c,o.popup_1=!
0)}}}if(!a&&b()(e,"div._5-yb")){var f=/\/videos\/(\
d+)/.exec(location.href);if(f)return t({links:{id:f[1]},popup_1:!0})}if(!a){var
m=b()(e,".uiStreamStory[data-story-id]"),h=/:(\d+)$/.exec(m&&m.dataset.storyId);
(h=h&&h[1])&&(a=h)}if(!a&&(r=u()(e,"fbUserContent"))){var
v=r.querySelector("a[data-video-id]");v&&(w=v&&v.dataset.videoId)&&(a=w)}if(!
a&&(r=b()(e,".userContentWrapper"))){var
y=r.querySelector('div[id^="feed_subtitle_"] a[data-video-channel-id]');if(y){var
A=/\/videos\/(\d+)/.exec(y.href);(w=A&&A[1])&&(a=w)}else{var
k=r.querySelectorAll('a.profileLink, a[rel="theater"], #fbPhotoSnowliftTimestamp >
a[href]'),w=null;[].slice.call(k).some((function(e){var t=/\/videos\/(\
d+)/.exec(e.href);return w=t&&t[1]})),w&&(a=w)}}if(!a){var x=!1,_=!
1,S=document.getElementById("stream_pagelet"),C=S&&S.previousElementSibling;if(C&&C
.contains(e)&&(x=!0),!x){var
I=document.querySelector(".uiStreamStory"),O=I&&I.parentNode;
(O=O&&O.parentNode)&&O.contains(e)&&(_=!0)}(x||
_)&&(w=p.getVideoIdFromUrl())&&(a=w)}if(!a&&b()
(e,"#pagelet_group_permalink")&&(A=/video_id:"?([^,"]
+)/.exec(document.body.innerHTML),(w=A&&A[1])&&(a=w)),a&&(i.id=a),e.src&&/
^https?:/.test(e.src)){var
M=n.getFileExtension(e.src,"mp4");i[e.src]=M.toUpperCase()}var
L=e.querySelectorAll("source");if(L&&L.length>0)for(var E=0;E<L.length;E+
+)M=n.getFileExtension(L[E].src,"mp4"),i[L[E].src]=M.toUpperCase();return
Object.keys(i).length?(o.links=i,t(o)):t(null)},getVideoIdFromUrl:function(){var
e=null;return n.embedDownloader.hostings.facebook.re.some((function(t){var
n=t.exec(location.href);if(n)return e=n[1],!0})),e||
(e=(e=document.location.href.match(/(\d+).$/))&&e[1]?
e[1]:null),e},getFileName:function(e){var t=n.getFileName(e);if(t)return t;var
r=n.dateToObj();return"facebook_"+r.year+"-"+r.month+"-"+r.day+"_"+r.hour+"-"+r.min
+"."+n.getFileExtension(e,"mp4")},prepareLinks:function(e,t){var n=[];for(var r in
e){var
i=this.getFileName(r),a=i.lastIndexOf("."),s=i.substr(a+1),u={href:r,title:i=t||
i.substr(0,a),format:s.toUpperCase(),quality:e[r],forceDownload:!
0};n.push(u)}return
0===n.length&&(n=o.a.i18n.getMessage("noLinksFound")),n},appendLinks:function(e)
{if(e){var t=document.getElementById("fbPhotoPageMediaInfo");if(null!==t){var
r=document.querySelector("h2.uiHeaderTitle");if(r&&(r=r.textContent),t&&!
t.querySelector("."+s.className)){var
i=document.createElement("div");i.className=s.className;var a=w.a.create("div",
{title:o.a.i18n.getMessage("download"),style:{display:"inline-
block",width:"16px",height:"1
6px",backgroundImage:"url("+n.svg.getSrc("download","#a2db16")
+")",backgroundRepeat:"no-repeat",backgroundPosition:"center
center",verticalAlign:"middle",cursor:"pointer"}});i.appendChild(a);var
u=null;a.addEventListener("click",(function()
{if(s.contextMenu&&s.contextMenu.isShow)s.hideMenu();else{var
t=s.contextMenu=n.popupMenu.quickInsert(this,o.a.i18n.getMessage("download")
+" ...",s.className+"_popup");if(u)t.update(u);else if(e.id){var i=e.id;delete
e.id,p.requestVideoLinks(i,(function(r,o){u=r?
n.popupMenu.prepareLinks.facebook(r,o):p.prepareLinks(e),t.update(u)}))}else
u=p.prepareLinks(e,r),t.update(u)}})),t.appendChild(i),t=null,i=null,a=null}}}},rmB
tn:function(){for(var e,t=document.querySelectorAll("."+s.className),n=0;e=t[n];n+
+)e.parentNode.removeChild(e)},showDownloadMenuByVideoId:function(e,t)
{if(s.contextMenu&&s.contextMenu.isShow)s.hideMenu();else{var
r=s.contextMenu=n.popupMenu.quickInsert(e,o.a.i18n.getMessage("download")
+" ...",s.className+"_popup");p.requestVideoLinks(t,(function(e,t){var o;o=e?
n.popupMenu.prepareLinks.facebook(e,t):p.prepareLinks(links),r.update(o)}))}}},h={s
tyle:null,getFilenameFromUrl:function(e){return n.getMatchFirst(e,/\/([^\/]+\.[a-
z0-9]{3,4})(?:\?|$)/i)},getPhotoIdFromUrl:function(){var e=null,t=c()
(location.href);return t.fbid&&(e=t.fbid),e},prepPhotoUrl:function(e){return
e&&(/[?&]dl=1/.test(e)||(e+=(/\?/.test(e)?"&":"?")
+"dl=1")),e},rmCurrentPhotoBtn:function(e){for(var t,n=void
0,r=document.querySelectorAll(".sf-dl-current-photo-btn"),o=0;t=r[o];o+
+)e&&e.contains(t)?n=t:t.parentNode.removeChild(t);return n},injectStyle:function()
{this.style?this.style.parentNode||document.head.appendChild(this.style):
(this.style=w.a.create("style",{text:m()({"div > .sf-dl-current-photo-btn":
{display:"none",position:"absolute",top:"10px",left:"10px",width:"28px",height:"24p
x",border:0,zIndex:100,cursor:"pointer",backgroundColor:"#000",padding:0,borderRadi
us:"2px",opacity:.4,transition:"opacity 100ms linear",lineHeight:0},"div > .sf-dl-
current-photo-btn svg":{margin:"4px"},"div > .sf-dl-current-photo-btn:hover":
{opacity:.8},"div > .sf-dl-current-photo-btn:hover svg path":
{fill:"#00B75A"},"body:not(.fullScreen) div:hover > .sf-dl-current-photo-btn":
{display:"block"}})}),document.head.appendChild(this.style))},getPhotoUrlFromCtr:fu
nction(e){var t=[],n=e.querySelector("img.spotlight")||
e.querySelector("img.fbPhotoImage");return
n&&t.push(n.src),t},getVideoUrlFromPhotoCtr:function(e){var
t=null,n=e.querySelector(".stage .videoStage video");if(n){var r=b()
(n,".fbPhotoSnowliftPopup");if(r){var o=r.querySelector('div[id^="feed_subtitle_"]
a[data-video-channel-id]');if(o){var i=/\/videos\/(\
d+)/.exec(o.href);i&&(t=i[1])}}}return t},getLinksFromPhotoCtr:function(e){return
g()(e,".stageWrapper.showVideo")?Promise.resolve().then((function(){var
t=p.getVideoIdFromUrl();if(t||(t=h.getVideoUrlFromPhotoCtr(e)),t)return
p.requestVideoLinksById(t)})).then((function(e){return
n.popupMenu.prepareLinks.facebook(e.links,e.title)})):Promise.resolve().then((funct
ion(){var e=h.getPhotoIdFromUrl();if(e)return new Promise((function(t,n)
{o.a.sendMessage({action:"getFacebookPhotoUrl",fbid:e},(function(e){e&&e.length?
t(e):n(new Error("getFacebookPhotoUrl can't get url"))}))}));throw new Error("Can't
get photo id from url")})).catch((function(t){return
h.getPhotoUrlFromCtr(e)})).then((function(e){if(!e||!e.length)throw new
Error("Photo url not found");return e.map((function(e){var
t=h.prepPhotoUrl(e),n=I.a.modify(h.getFilenameFromUrl(t)),r=/(.+)\.([^.]+)
$/.exec(n),i="jpg",a=n;return r&&(i=r[1],a=r[2]),
{href:t,title:a,quality:o.a.i18n.getMessage("download"),format:" ",ext:i,isBlank:!
0}}))}))},addDlCurrentPhotoBtn:function(e){if(!this.rmCurrentPhotoBtn(e)){var
t=w.a.create("a",{class:"sf-dl-current-photo-
btn",href:"#",title:o.a.i18n.getMessage("download"),append:
[n.svg.getSvg("download","#FFF",16)],on:["click",function(t)
{if(t.stopPropagation(),t.preventDefault(),s.contextMenu&&s.contextMenu.isShow)s.hi
deMenu();else{var r=function e(t){18!==t.keyCode&&17!
==t.keyCode&&(i.hide(),document.removeEventListener("keydown",e))},i=s.contextMenu=
n.popupMenu.quickInsert(this,o.a.i18n.getMessage("download")+" ...","photoDlMenu",
{parent:e,onShow:function(){s.isMutation||
document.addEventListener("keydown",r)},onHide:function(){s.isMutation||
document.removeEventListener("keydown",r)}});h.getLinksFromPhotoCtr(e).then((functi
on(e){e.forEach((function(e){e.func=function(t)
{t.preventDefault(),n.download(null,e.href),i.hide()}})),i.update(e)})).catch((func
tion(e){Y.debug("Get photo links
error",e),i.update(o.a.i18n.getMessage("noLinksFound"))}))}}]});e.appendChild(t)}},
addButtonForArticleImage:function(e){var t=e.closest("a");if(t){var
r=h.getFilenameFromUrl(e.src);r&&!/\.php$/.test(r)||
(r=I.a.modify(document.title+".jpg"));var o=w.a.create("a",{class:"sf-hover-
container",href:e.src,download:r,style:
{position:"absolute",top:"8px",left:"8px"},on:[["click",function(e)
{e.stopPropagation(),n.downloadOnClick(e)}]]});D()(Object(G.createElement)(W,
{isText:!1}),o),t.appendChild(o)}},addButtonForShowPageImage:function(e){var
t={position:"absolute",zIndex:9999};t=document.querySelector('[role="banner"]
[hidden]')?Object.assign(t,{top:"9px",left:"115px"}):Object.assign(t,
{top:"7px",left:"15px"});var r=e.closest('div:not([data-
pagelet="MediaViewerPhoto"])');if(r){var o=e.querySelector("img");if(o){var
i=h.getFilenameFromUrl(o.src);i&&!/\.php$/.test(i)||(i=document.title+".jpg");var
a=w.a.create("a",{style:t,href:o.src,download:i,on:[["click",function(e)
{e.stopPropagation(),n.downloadOnClick(e)}]]});D()(Object(G.createElement)(W,
{isText:!1,isCircle:!0}),a),r.appendChild(a)}}},addCurrentDlBtn:function(e)
{e.dataset.sfSkip>0||
(e.dataset.sfSkip="1",this.addDlCurrentPhotoBtn(e))},rmDataAttrs:function(){for(var
e,t=f()("sfSkip"),n=document.querySelectorAll("*["+t+"]"),r=0;e=n[r];r+
+)e.removeAttribute(t)}},v={style:null,addStyle:function(){this.style?
this.style.parentNode||document.head.appendChild(this.style):
(this.style=w.a.create("style",{class:"sfFeedStyle",text:m()
([{selector:"."+s.className+"-feed.sf-feed",style:
{display:"none",width:"20px",height:"20px",padding:0,position:"absolute",background
:"url("+n.svg.getSrc("download","#a2db16")+") center no-repeat
transparent",backgroundSize:"16px",top:"5px",left:"5px",zIndex:1,cursor:"pointer"}}
,{selector:'div[role="dialog"] .'+s.className+"-feed.sf-feed",style:{top:"40px"}},
{selector:"body:not(.fullScreen) div:hover > ."+s.className+"-feed.sf-feed",style:
{display:"block"}},{selector:"."+s.className+"-feed.sf-feed:active",style:
{outline:0}},{selector:".sf-hover-container",style:{display:"none"}},
{selector:'div[role="presentation"]:hover .sf-hover-container, a[role="link"]:hover
.sf-hover-container',style:
{display:"block"}}])}),document.head.appendChild(this.style))},onDlBtnClick:functio
n(e)
{if(e.preventDefault(),e.stopPropagation(),s.contextMenu&&s.contextMenu.isShow)s.hi
deMenu();else{try{var t=JSON.parse(this.dataset.sfDlLinks)}catch(e){return}var
r=s.contextMenu=n.popupMenu.quickInsert(this,o.a.i18n.getMessage("download")
+" ...",s.className+"_popup");if(t.id){var i=t.id;delete
t.id,p.requestVideoLinks(i,(function(e,o){var i;i=e?
n.popupMenu.prepareLinks.facebook(e,o):p.prepareLinks(t),r.update(i)}))}else{var
a=p.prepareLinks(t);r.update(a)}}},addDownloadBtn:function(e,t){var
n=e.querySelector("."+s.className+"-
feed");n&&n.parentNode.removeChild(n),e.appendChild(w.a.create("a",{data:
{sfDlLinks:JSON.stringify(t)},title:o.a.i18n.getMessage("download"),class:
[s.className+"-feed","sf-feed"],href:"#",on:
["click",v.onDlBtnClick]}))},addButtonForWatchPage:function(e){var
t=e.closest("._6x84"),n=t.querySelector('a[href*="/videos/"]');if(n&&n.href){var
r=p.getVideoIdFromLink(n.href);if(r){var
o=t.querySelector("._8y72._18vi"),i=o.closest("div"),a=d.createButton((function()
{p.showDownloadMenuByVideoId(a,r)}));i.insertBefore(a,o)}}},addButtonForFeedPage:fu
nction(e){var
t=e.closest('[role="article"]'),n=t.querySelector('a[href*="/videos/"]');if(n){var
r=p.getVideoIdFromLink(n.href);if(r){var o='[role="article"] div > div > div >
div:nth-child(2) > div > div:nth-child(4) > div > div > div > div > div:nth-
child(2) > div > div';/profile\.php/.test(location.href)&&(o='[role="article"] >
div > div > div > div > div > div:nth-child(2) > div > div:last-child > div > div >
div > div > div > div > div');var i=t.querySelector(o);if(i){var
a=d.createButton((function(){p.showDownloadMenuByVideoId(a,r)}),
{preset:"withoutText",style:
{alignItems:"center",display:"flex"}});i.parentElement.insertBefore(a,i)}}}},addBut
tonForShowPageVideo:function(e){var t=d.createButton((function(e){var
t=p.getVideoIdFromLink(location.href);t&&p.showDownloadMenuByVideoId(e.target,t)}),
{preset:"circle",style:
{position:"absolute",top:"8px",left:"114px"}});e.appendChild(t)},addHoverButtonForA
rticleVideo:function(e){var t=p.getVideoIdFromLink(e.href);if(t){var
n=e.closest('[role="article"], ._6x84');if(n){var
r=n.querySelector('div[role="presentation"]');if(r){var
o=d.createButton((function(e){p.showDownloadMenuByVideoId(e.target,t)}),
{preset:"hover"});r.appendChild(o)}}}},onLinkHover:function(){var e=this;if(!
(this.dataset.hasSfFeedBtn>1)){this.dataset.hasSfFeedBtn="1";var
t=this;return"VIDEO"===t.tagName&&(t=t.querySelector("embed")||this),new
Promise((function(e){"EMBED"===t.tagName?
p.getLinksFromEmbed(t,e):"VIDEO"===t.tagName&&p.getLinksFromVideo(t,e)})).catch((fu
nction(e){return Y("getLinks error",e),null})).then((function(t){var
n=t&&t.links;if(n)if(t&&t.popup_1)v.addDownloadBtn(e.parentNode,n);else if(g()
(e,".uiStreamStory "+e.tagName)||g()(e,".fbPhotoSnowliftContainer "+e.tagName))b()
(e,".fbPhotoSnowliftPopup .stageWrapper")||
v.addDownloadBtn(e.parentNode,n);else{var
r=document.getElementById("pagelet_timeline_main_column")||
document.getElementById("stream_pagelet")||
document.getElementById("mainContainer");if(r&&r.contains(e))v.addDownloadBtn(e.par
entNode,n);else{var
o=document.getElementById("stream_pagelet"),i=o&&o.previousElementSibling;if(i&&i.c
ontains(e))v.addDownloadBtn(e.parentNode,n);else{var
a=document.querySelector(".uiStreamStory"),s=a&&a.parentNode;
(s=s&&s.parentNode)&&s.contains(e)&&v.addDownloadBtn(e.parentNode,n)}}}else
e.dataset.hasSfFeedBtn=0}))}},rmBtn:function(){var e=[f()("hasSfFeedBtn"),f()
("sfReady")],t=e.map((function(e)
{return"[".concat(e,"]")})).join(",");document.querySelectorAll(t).forEach((functio
n(t){e.forEach((function(e){return t.removeAttribute(e)}))}));var n=[".sf-hover-
container",".sf-download-container","."+s.className+"-
feed"].join(",");document.querySelectorAll(n).forEach((function(e)
{e.parentNode.removeChild(e)}))}}}))},83:function(e,t,n){var
r=n(37),o=n(101);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var
i,a=0,s={injectType:"lazyStyleTag",insert:"head",singleton:!
1},u={};u.locals=o.locals||{},u.use=function(){return a++||
(i=r(o,s)),u},u.unuse=function(){a>0&&!--
a&&(i(),i=null)},e.exports=u}})},function(e){!function(e){function t(t){for(var
r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={11:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([102,0]),n()}({102:function(e,t,n){n.r(t);var
r=n(0),o=n(12),i=n(8),a=n(19),s=n.n(a),u=n(2),l=n.n(u),c=n(1),d=n.n(c),f=n(5),p=n.n
(f),m=n(10),h=n.n(m),g=n(6),v=n.n(g),b=n(23),y=n.n(b);h.a.isSingle()&&Object(i.b)
("savefrom",(function(e,t){var n=Object(o.a)
(t),i=t.preferences;r.a.onMessage.addListener((function(e,t,n){"updatePreferences"!
==e.action||Object.assign(i,e.preferences)})),setTimeout((function(){a.run()}));var
a={name:e,scriptId:"savefrom__ext_script",dataAttr:"data-extension-
disabled",attrObservers:[],run:function()
{if(a.setExtParams(),location.href.search(/\/(update-helper|userjs-setup)\.php/i)>-
1){var e=document.getElementById("js-not-remind");e&&e.addEventListener("click",
(function(e)
{0===e.button&&r.a.sendMessage({action:"hideUserjsMigrationInfo"})}))}else
v.a.isAvailable()&&this.mutationMode.enable()},mutationMode:
{observer:null,stop:function()
{this.observer&&this.observer.stop()},enable:function(){if(this.observer)return
this.observer.start();this.observer=new v.a({queries:
[{css:"form",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n+
+)a.waitFormId(t),a.mutationMode.stop()}}]})}},waitFormId:function(e){var
t=this,n=new y.a({attrs:[{name:"id",callback:function(n)
{"sf_form"===n.value&&(a.bindForm(e),t.attrObservers.splice(0).forEach((function(e)
{return e.stop()})))}}],target:e});this.attrObservers.push(n)},bindForm:function(e)
{e.addEventListener("submit",(function(t){var o=e.sf_url.value;if(o&&"1"!
=e.getAttribute(a.dataAttr)){var i={getVKLinks:[/^https?:\/\/(?:[a-z]+\.)?
(?:vk\.com|vkontakte\.ru)\/(video-?\d+_-?\d+)/i,/^https?:\/\/(?:[a-z]+\.)?
(?:vk\.com|vkontakte\.ru)\/video_ext.php\?(.*oid=-?\d+.*)$/i,/^https?:\/\/(?:[a-z]
+\.)?(?:vk\.com|vkontakte\.ru)\/[\w\-\.]+\?.*z=(video-?\d+_-?\d+)/
i],getYoutubeLinks:[/^https?:\/\/(?:[a-z]+\.)?youtube\.com\/(?:#!?\/)?
watch\?.*v=([\w\-]+)/i,/^https?:\/\/(?:[a-z0-9]+\.)?youtube\.com\/(?:embed|v)\/([\
w\-]+)/i,/^https?:\/\/(?:[a-z]+\.)?youtu\.be\/([\w\-]+)/i],getVimeoLinks:[/
^https?:\/\/(?:[\w\-]+\.)?vimeo\.com\/(?:\w+\#)?(\d+)/i,/^https?:\/\/
player\.vimeo\.com\/video\/(\d+)/i,/^https?:\/\/(?:[\w\-]+\.)?vimeo\.com\/
channels\/(?:[^\/]+)\/(\d+)$/i,/^https?:\/\/(?:[\w\-]+\.)?vimeo\.com\/[^\/]+\/
review\/(\d+)\/(?:\d+)/i],getDailymotionLinks:[/^http:\/\/(?:www\.)?dai\.ly\/([a-
z0-9]+)_?/i,/^https?:\/\/(?:[\w]+\.)?dailymotion\.com(?:\/embed|\/swf)?\/video\/
([a-z0-9]+)_?/i],getFacebookLinks:[/^https?:\/\/(?:[\w]+\.)?facebook\.com(?:\/
video)?\/video.php.*[?&]{1}v=([0-9]+).*/i,/^https?:\/\/(?:[\w]+\.)?facebook\.com\/.
+\/videos(?:\/\w[^\/]+)?\/(\d+)/i],getMailruLinks:[/^https?:\/\/my\.mail\.ru\/
([^\/]+\/[^\/]+\/[^\/]+\/[^\/]+\/[^\/]+\.html).*/i,/^https?:\/\/
videoapi\.my\.mail\.ru\/videos\/(embed\/[^\/]+\/[^\/]+\/[^\/]+\/[^\/]+\.html).*/
i]};for(var s in i)for(var u=0;u<i[s].length;u++){var l=o.match(i[s]
[u]);if(l&&l.length>1){l=l[1];var
c=n.getMatchFirst(o,/list=([\w\-]+)/i);t.preventDefault(),t.stopPropagation();var
d={extVideoId:l,action:s,checkSubtitles:!0,checkLinks:!
0};return"getVimeoLinks"===s&&(d.url=o),r.a.sendMessage(d,(function(e)
{a.setLinks(e.action,e.extVideoId,e.links,e.title,null,e.subtitles,c,e.duration,e.t
humb,e.checkLinks)})),!1}}}}),!1),document.body.addEventListener("click",
(function(e){var t=e.target;if("I"===t.tagName&&t.classList.contains("file-info-
btn"))a.onInfoBtnClick.call(t,e);else{if("A"!=t.tagName){if("A"!
=t.parentNode.tagName)return;t=t.parentNode}if((r.a.isChrome||
r.a.isFirefox)&&t.classList.contains("link-download")&&!
t.classList.contains("disabled")&&t.getAttribute("download"))return
t.classList.contains("ga_track_events")&&t.getAttribute("data-ga-
event")&&l.a.trigger(t,"sendstats",{bubbles:!0,cancelable:!
1}),n.downloadOnClick(e,null);var o=t.getAttribute("data-video-id");if(o&&"1"!
=t.getAttribute(a.dataAttr)){var
i={vk:"getVKLinks",yt:"getYoutubeLinks"};if(2==(o=o.split(":",2)).length&&i[o[0]])
{e.preventDefault(),e.stopPropagation(),t.style.display="none",t.id||
(t.id=o[0]+"_"+o[1]+"_"+1e3*Math.random()+"_"+(new Date).getTime());var
s={extVideoId:o[1],action:i[o[0]],checkSubtitles:!0,checkLinks:!0};return
r.a.sendMessage(s,(function(e)
{a.setLinks(e.action,e.extVideoId,e.links,e.title,t,e.subtitles,null,e.duration,e.t
humb,e.checkLinks)})),!1}}}}),!0)},onInfoBtnClick:function(e)
{if(e.preventDefault(),e.stopPropagation(),!this.classList.contains("sf-clicked"))
{this.classList.add("sf-clicked");var t="sf-btn"+function(){for(var
e=Date.now(),t=e;e===t;)t=Date.now();return t}();this.classList.add(t);var
o=function(){var e=document.getElementsByClassName("sf-script")[0];void 0!
==e&&e.parentNode.removeChild(e)};o(),document.body.appendChild(d.a.create("script"
,{class:"sf-script",text:'(function(btnClassName){try{var
btn=document.getElementsByClassName(btnClassName);var $btn=$(btn);
$btn.unbind("click").removeAttr("onclick").addClass("active");if(btn.onclick)
{btn.onclick=null}var parent=$btn.closest(".result-box").find(".meta")[0];if(!
parent){return}var boxId="file_info"+btnClassName;var box=sf.append(parent,"div",
{"id":boxId,"class":"media-info"});sf.append(box,"span",
{id:boxId+"_busy"});sf.busy(boxId+"_busy",true)}catch(err){}})('+JSON.stringify(t)
+")"}));var
i=this.nextElementSibling.href,a=this.nextElementSibling.textContent;r.a.sendMessag
e({action:"getFileSize",url:i},(function(e){var i=e.fileSize,s={size:{name:
{trans:r.a.i18n.getMessage("size")},value:n.sizeHuman(i)}};o(),document.body.append
Child(d.a.create("script",{class:"sf-
script",text:'(function(btnClassName,title,json){try{var
busy=document.getElementById("file_info"+btnClassName+"_busy");$
(busy).slideUp();var
btn=document.getElementsByClassName(btnClassName);sf.fileInfo.show(json,title,btn,b
usy.parentNode)}catch(err){}})('+
[JSON.stringify(t),JSON.stringify(a),JSON.stringify(s)].join(",")
+")"}))}))}},setExtParams:function(){var e=d.a.create("script",
{id:"savefrom__ext_params",type:"text/javascript"}),t={id:i.sfHelperName,version:i.
version,enable:1};e.textContent='(function(json)
{try{if(window.setBrowserExtension&&typeof setBrowserExtension=="function")
{setBrowserExtension(json)}}catch(err){}})('+JSON.stringify(t)
+")",document.body.appendChild(e)},setLinks:function(e,t,n,r,o,i,s,u,l,c){if(!1!
==c)switch(e)
{case"getYoutubeLinks":a.setYoutubeLinks(t,n,r,o,i,s,u,l);break;case"getVKLinks":a.
setVKLinks(t,n,r,o,u,l);break;case"getVimeoLinks":a.setVimeoLinks(t,n,r,o,u,l);brea
k;case"getDailymotionLinks":a.setDailymotionLinks(t,n,r,o,u,l);break;case"getFacebo
okLinks":a.setFacebookLinks(t,n,r,o,u,l);break;case"getMailruLinks":a.setMailruLink
s(t,n,r,o,u,l)}else a.handleError(o)},handleError:function(e)
{if(e)e&&(e.style.display="",e.setAttribute(a.dataAttr,"1"),e.click());else{var
t=document.getElementById("sf_form");t&&(t.setAttribute(a.dataAttr,"1"),t.submit(),
t.removeAttribute(a.dataAttr))}},showVideoResult:function(e,t)
{if(e&&e.url&&e.url.length){var
n,r=document.getElementById(a.scriptId);r&&r.parentNode.removeChild(r),r=d.a.create
("script",{id:a.scriptId,type:"text/javascript"}),n=t?'(function(btnId,json)
{try{var
btn=document.getElementById(btnId);sf.result.replaceAjaxResult(json,true,true,btn)}
catch(err){}})("'+t.id+'",'+JSON.stringify(e)+")":"(function(json)
{try{sf.finishRequest(true);sf.videoResult.show(json)}catch(err){}})
("+JSON.stringify(e)+")",r.textContent=n,document.body.appendChild(r)}else
a.handleError(t)},setVKLinks:function(e,t,r,o,i,s){if(e&&t){var
u={id:e,url:t,hosting:"vk.com
(h)",meta:{title:r?p.a.modify(r):"download",source:"http://vk.com/"+e,duration:n.se
condsToDuration(i)}};s&&(u.thumb=s);for(var l=0;l<u.url.length;l+
+)u.url[l].info_url="#",!
u.url[l].ext&&u.url[l].type&&(u.url[l].ext=u.url[l].type),u.sd||u.url[l].subname?!
u.hd&&u.url[l].subname&&parseInt(u.url[l].subname)>=720&&(u.hd={url:u.url[l].url}):
u.sd={url:u.url[l].url};a.showVideoResult(u,o)}else
a.handleError(o)},setYoutubeLinks:function(e,t,o,s,u,l,c,d){if(e&&t){var
f={id:e,url:[],hosting:"101 (h)",meta:{title:o?
p.a.modify(o):"download",source:e?"http://youtube.com/watch?
v="+e:"",duration:n.secondsToDuration(c)},thumb:e?"http://i.ytimg.com/vi/"+e+"/
hqdefault.jpg":""},m=!1;n.video.yt.init();var h=t.meta||{};for(var g in
n.video.yt.format){var v=n.video.yt.format[g];for(var b in v){var y=h[b]||
{};if(t[b]){!m&&t[b].search(/(\?|&)sig(nature)?=/i)>-1&&(m=!0);var
A=v[b].quality;y.quality&&(A=y.quality);var
k={url:t[b],name:g,subname:A,info_url:"#",type:g,quality:A,attr:
{}};v[b].sFps&&(k.subname+=" "+(y.fps||60)),v[b]["3d"]?(k.name="3D
"+k.name,k.group="3d",k["3d"]=!0):v[b].noAudio?(k.group="MP4 ",k.attr.class="no-
audio"):"Audio AAC"==g?(k.type="AAC",k.ext="aac",k.attr.style="white-space:
nowrap;"):"Audio Vorbis"==g?(k.type="Vorbis",k.ext="webm",k.attr.style="white-
space: nowrap;"):"Audio Opus"==g?(k.type="Opus",k.ext="opus",k.attr.style="white-
space: nowrap;"):("flv"!=g.toLowerCase()||f.sd||
(f.sd={url:t[b]}),parseInt(A)>=720&&f.sd&&!f.hd&&(f.hd={url:t[b]})),void
0===k.ext&&k.type&&(k.ext=k.type.toLowerCase()),void 0===v[b].noVideo&&void
0===v[b].noAudio&&(k.no_download=!0),f.url.push(k),delete t[b]}}}if(m)
{if(u&&u.length>0){var w=e.replace(/[^\
w]/,"_"),x="yt_subs_btn_"+w;w="yt_subs_"+w;var _=f.meta.title?
btoa(n.utf8Encode(f.meta.title)):"";f.action=[],f.action.push({name:r.a.i18n.getMes
sage("subtitles"),attr:{id:x,href:"#"},bind:{click:
{fn:'sf.youtubeSubtitles("{vid}","{subsId}","{btnId}","{subtToken}","{subsTitle}")'
.replace("{vid}",e).replace("{subsId}",w).replace("{btnId}","#"+x).replace("{subtTo
ken}","extension").replace("{subsTitle}",_)}}})}i.showUmmyItem&&(f.action=f.action|
|[],f.action.push({name:"HD / MP3",group:"ummy","second-btn":!0,attr:
{href:"ummy://www.youtube.com/watch?v="+e,class:"ummy-link
ga_track_events",target:"_blank","data-ga-event":"send;event;vidacha-
helper;youtube;ummy-helper-button-click"}}),f.fn=f.fn||[],f.fn.push("if(window.ga)
{ga('send','event','vidacha-helper','youtube','ummy-helper-button-
show');}")),a.showVideoResult(f,s)}else a.handleError(s)}else
a.handleError(s)},setVimeoLinks:function(e,t,r,o,i,s){if(e&&t){var
u={id:e,url:t,hosting:"vimeo.com (h)",meta:{title:r?
p.a.modify(r):"download",source:"http://vimeo.com/"+e,duration:n.secondsToDuration(
i)}};s&&(u.thumb=s);for(var l=0;l<u.url.length;l++)u.url[l].info_url="#",!
u.url[l].ext&&u.url[l].type&&(u.url[l].ext=u.url[l].type),u.sd||"SD"!
=u.url[l].name?u.hd||"HD"!=u.url[l].name||
(u.hd={url:u.url[l].url}):u.sd={url:u.url[l].url};a.showVideoResult(u,o)}else
a.handleError(o)},setDailymotionLinks:function(e,t,r,o,i,s){if(e&&t){var
u=t.filter((function(e){if(!e.extra)return!
0})),l={id:e,url:u,hosting:"dailymotion.com (h)",meta:{title:r?
p.a.modify(r):"download",source:"http://dai.ly/"+e,duration:n.secondsToDuration(i)}
};s&&(l.thumb=s);for(var c,d=0,f=0,m=0;c=u[m];m++)c.info_url="#",c.height>=720?
d<c.height&&(l.hd={url:c.url},d=c.height):f<c.height&&(l.sd={url:c.url},f=c.height)
,delete c.height;a.showVideoResult(l,o)}else
a.handleError(o)},setFacebookLinks:function(e,t,r,o,i,s){if(e&&t){var
u={id:e,url:t,hosting:"facebook.com (h)",meta:{title:r?
p.a.modify(r):"download",source:"https://facebook.com/video.php?
v="+e,duration:n.secondsToDuration(i)}};s&&(u.thumb=s);for(var l,c=0;l=t[c];c+
+)l.info_url="#","SD"===l.name?
u.sd={url:l.url}:"HD"===l.name&&(u.hd={url:l.url}),l.subname=l.name,l.name=l.ext;a.
showVideoResult(u,o)}else a.handleError(o)},setMailruLinks:function(e,t,r,o,i,s)
{if(e&&t){var u={id:e,url:t,hosting:"mail.ru (h)",meta:{title:r?
p.a.modify(r):"download",source:"http://my.mail.ru/"+e,duration:n.secondsToDuration
(i)}};s&&(u.thumb=s);for(var l,c=0,d=0;l=u.url[d];d+
+)l.info_url="#",isNaN(parseInt(l.subname))?"sd"===l.subname.toLowerCase()?
u.sd={url:l.url}:"hd"===l.subname.toLowerCase()&&(u.hd={url:l.url}):
(c<l.subname&&l.subname<720&&(u.sd={url:l.url},c=l.subname),!
u.hd&&l.subname>="720"&&(u.hd={url:l.url}));a.showVideoResult(u,o)}else
a.handleError(o)}}}),(function(){return s()()?r.a.isGM&&-1!
==location.href.indexOf("/tools/helper-check.html"):["/faq.php","/
advertising.php","/EULA.html","/terms.html","/privacy-policy.html","/apk","/
webmaster.php"].every((function(e){return-
1===location.href.indexOf(e)}))}))}})},function(e){!function(e){function t(t)
{for(var r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={4:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([103,0]),n()}({103:function(e,t,n){n.r(t);var
r=n(0),i=n(1),a=n.n(i),s=n(19),u=n.n(s),l=n(57),c=n.n(l),d=n(2),f=n.n(d),p=n(7),h=n
.n(p),g=n(10),v=n.n(g),b=n(6),y=n.n(b),A=n(12),k=n(14),w=n.n(k),x=n(23),_=n.n(x),S=
n(8),C=n(5),I=n.n(C),O=n(11),M=n.n(O),L=n(9),E=n.n(L),P=n(18),j=n.n(P),T=E()
("instagram");v.a.isSingle()&&Object(S.b)("instagram",(function(e,t){var
n=Object(A.a)(t),i=t.preferences,s=i.moduleInstagram?
1:0;r.a.onMessage.addListener((function(t,n,r){if("getModuleInfo"===t.action)
{if(t.url!==location.href)return;return
r({state:s,moduleName:e})}if("changeState"===t.action){if(e!
==t.moduleName)return;return d.changeState(t.state)}if("updatePreferences"!
==t.action){if(s)return"updateLinks"===t.action?d.updateLinks():void 0}else
Object.assign(i,t.preferences)})),s&&setTimeout((function(){d.run()}));var
u,l,d={urlR:/\/\/[^\/]+\.[^\/]+\/p\//,lastWaitEl:null,dlBtnClassName:"savefrom-
helper--
btn",styleEl:null,queryHash:window.localStorage.getItem("_sf_query_hash")||"a9441f2
4ac73000fa17fe6e6da11d59d",run:function()
{s=1,this.insertStyle(),y.a.isAvailable()&&this.mutationMode.enable()},rmStyle:func
tion()
{this.styleEl&&this.styleEl.parentNode&&this.styleEl.parentNode.removeChild(this.st
yleEl)},insertStyle:function(){this.styleEl?this.styleEl.parentNode||
document.head.appendChild(this.styleEl):(this.styleEl=a.a.create("style",{text:h()
([{selector:"."+this.dlBtnClassName,style:{display:"none",border:"1px solid
#F8F8F8",top:"8px",right:"8px",padding:0,position:"absolute",backgroundColor:"#F8F8
F8",cursor:"pointer",lineHeight:0}},{selector:"."+this.dlBtnClassName+" svg",style:
{margin:"2px"}},{selector:"."+this.dlBtnClassName+" svg path",style:
{fill:"#777777"}},{selector:".Embed ."+this.dlBtnClassName,style:{border:"1px solid
#B5B5B5",borderRadius:"4px",padding:"3px"}},
{selector:"."+this.dlBtnClassName+":hover svg path",style:{fill:"#3f729b"}},
{selector:"."+this.dlBtnClassName+":active",style:{outline:0,boxShadow:"inset 0 3px
5px rgba(0, 0, 0, 0.125)"}},{selector:["*:hover > ."+this.dlBtnClassName,"*.sf-
touch-show > ."+this.dlBtnClassName],style:{display:"block"}},{selector:"*.sf-
touch-hide > ."+this.dlBtnClassName,style:
{display:"none"}}])}),document.head.appendChild(this.styleEl))},updateLinks:functio
n(){this.changeState(0),this.changeState(1)},changeState:function(e)
{s=e,this.rmDlBtn(),this.rmStyle(),this.mutationMode.stop(),e&&this.run()},rmDlBtn:
function(){for(var
e,t=document.querySelectorAll("."+this.dlBtnClassName),n=0;e=t[n];n+
+)e.parentNode.removeChild(e)},requestApiEntity:function(e){var
t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=new
URLSearchParams({query_hash:d.queryHash,variables:JSON.stringify({shortcode:e})});r
eturn j()({url:"https://www.instagram.com/graphql/query/?"+r.toString(),json:!
0}).then((function(e){if(!e.body||!e.body.data||!e.body.data.shortcode_media)throw
new Error("Request video from api failed. Empty body");return
e.body.data.shortcode_media}),(function(r){if(400==r&&0===n)return
t.refreshQueryHash().then((function(){return
t.requestApiEntity(e,1)}))}))},prepVideoFromResponseApi:function(e,t)
{if("GraphVideo"===t.__typename&&t.video_url){var n=t.title||
t.id||"video_instagram";return{filename:I.a.modify(n+".mp4"),url:t.video_url}}if("G
raphSidecar"===t.__typename&&t.edge_sidecar_to_children&&t.edge_sidecar_to_children
.edges){var r=t.edge_sidecar_to_children.edges;if(!r.length)return;var
o=e.getAttribute("poster");if(!o)return;var i=r.find((function(e){return
e.node.display_url===o}));if(i&&"GraphVideo"===i.node.__typename)return
this.prepVideoFromResponseApi(e,i.node)}},refreshQueryHash:function(){return
Object(o.a)(m.a.mark((function e(){var t;return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case
0:return
t=document.querySelector('link[href*="Consumer.js/"]'),e.abrupt("return",t&&t.href?
j()(t.href).then((function(e){var t=e.body.match(/s="(\
w+)",l=/);t&&t[1]&&(d.queryHash=t[1],window.localStorage.setItem("_sf_query_hash",t
[1]),T.info("new query hash",d.queryHash))})):(T.error("Consumer.js not found.
refreshQueryHash error"),Promise.resolve()));case 2:case"end":return
e.stop()}}),e)})))()},getVideoInfo:(l=Object(o.a)(m.a.mark((function e(t){var
n,r,o,i,a,s,u,l,c,f;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:if("string"==typeof(n=t.getAttribute("src"))&&-1===n.indexOf("blob:"))
{e.next=17;break}if((r=d.getArticleIdFromURL(location.href))||(o=t.closest(".sf-
root-media-container"))&&(r=d.getArticleIdFromContainer(o)),r&&-
1===r.indexOf("/")||(i=t.closest("article"),(a=i&&i.querySelector('a[href*="/
liked_by"]'))&&(s=a.href.match(/\/p\/(.*?)\/liked_by/))&&s[1]&&(r=s[1])),!r||-1!
==r.indexOf("/")){e.next=16;break}return
e.prev=6,e.next=9,this.requestApiEntity(r);case 9:return
u=e.sent,e.abrupt("return",this.prepVideoFromResponseApi(t,u));case 13:return
e.prev=13,e.t0=e.catch(6),e.abrupt("return",void T.error("Get Video from api error:
",e.t0,t));case 16:return e.abrupt("return");case 17:return l="mp4",-1!
==n.indexOf(".flv")&&(l="flv"),(c=(c=n.match(/\/([^\/?]+)(?:$|\?)/))&&c[1])||
(c="noname."+l),f=I.a.modify(d.getContentMakerName(t)),e.abrupt("return",{filename:
(f=f?f+"_":"")+c,url:n});case 23:case"end":return e.stop()}}),e,this,
[[6,13]])}))),function(e){return l.apply(this,arguments)}),getImageInfo:function(e)
{var t=null,n=e.getAttribute("srcset");if("string"==typeof n){var
r=[];n.split(",").map((function(e){var t=e.split("
");r.push({url:t[0],size:t[1]})})),r.sort((function(e,t){return e.size>t.size?-
1:1}));var o=r.pop();o&&(t=o.url)}if(t||(t=e.getAttribute("src")),"string"==typeof
t){var i="jpg";-1!==t.indexOf(".png")&&(i="png");var a=t.match(/\/([^\/?]+)(?:
$|\?)/);(a=a&&a[1])||(a="noname."+i);var
s=I.a.modify(d.getContentMakerName(e));return{filename:(s=s?s+"_":"")
+a,url:t}}},getContentMakerName:function(e){var t=e.closest("article");if(t){var
n=t.querySelector("header span a");return n?
n.textContent:""}return""},getDbBtnEl:function(e){return a.a.create("a",{class:
[this.dlBtnClassName],href:e.url,download:e.filename,title:r.a.i18n.getMessage("dow
nload"),style:{position:"absolute",zIndex:100},on:["click",p],append:
[n.svg.getSvg("download",null,16,16)]})},showOnTouch:function(e,t){if(!
(e.dataset.sfTouch>0)){var n=!1,r=null,o=function()
{n&&(clearTimeout(r),r=setTimeout((function(){n&&(n=!1,e.classList.remove("sf-
touch-show"),e.classList.add("sf-touch-hide"))}),3e3))};a.a.create(e,{data:
{sfTouch:"1"},on:[["touchstart",function(t){n||(n=!0,e.classList.remove("sf-touch-
hide"),e.classList.add("sf-touch-show"))}],["touchend",function(e)
{o()}]]})}},getArticleIdFromURL:function(e){var
t=e.match(/(?:\/p|\/tv)\/(.*)/);if(t&&t[1])return
t[1].replace("/","")},getArticleIdFromContainer:function(e){var
t=e.closest("article");if(t){var n=t.querySelector('a[href*="/p/"],
a[href*="/tv/"]');if(n)return d.getArticleIdFromURL(n.href)}},addDlBtn:
(u=Object(o.a)(m.a.mark((function e(t,n,r){var
i,s,u,l,p,h,v,b,y,A,k,w,x=this;return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case
0:if((s=(i="embed"===n)&&document.querySelector(".Header")||
t)&&g(s),u=t,l=null,t.classList.add("sf-root-media-
container"),p=t.querySelector("div > div > video"),e.t0=p,!e.t0)
{e.next=10;break}return e.next=9,this.getVideoInfo(p);case 9:l=e.sent;case 10:if(l)
{e.next=12;break}i?(h=u.querySelector(".EmbedFrame
img.EmbeddedMediaImage"))&&(l=this.getImageInfo(h)):(h=u.querySelector("div >
img[src][srcset]"))?l=this.getImageInfo(h):(h=u.querySelector("div >
img"),l=h&&this.getImageInfo(h),!h||"hidden"!==h.style.visibility&&h.src||(v=new
_.a({target:h,attrs:[{name:"src",callback:function(e)
{e.value&&(x.addDlBtn(t,n,r),v.stop())}}]})));case 12:if(l){e.next=14;break}return
e.abrupt("return");case 14:b=this.getDbBtnEl(l),y="",A=null,h?(y="image",A=h):
(y="video",A=p),k=new _.a({target:A,attrs:[{name:"src",callback:function(){var
e=Object(o.a)(m.a.mark((function e(t){return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:if(e.t0=t.value!==l.url,!e.t0)
{e.next=12;break}if(l=null,"image"!==y)
{e.next=7;break}e.t1=x.getImageInfo(A),e.next=10;break;case 7:return
e.next=9,x.getVideoInfo(A);case 9:e.t1=e.sent;case 10:(l=e.t1)&&b.parentNode?
(b.href=l.url,b.download=l.filename):k.stop();case 12:case"end":return
e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}
()}]}),f.a.onRemoveEvent(A,(function(){c()
(document.body,r)&&(r.dataset.sfSkip=0,d.mutationMode.observer.trigger(r))})),i&&(w
=document.querySelector(".Header"))&&(u=w,a.a.create(b,{style:
{position:"relative",zIndex:100,display:"block",left:"auto",top:"auto",marginLeft:"
10px"}})),u.appendChild(b),this.showOnTouch(u,b);case 20:case"end":return
e.stop()}}),e,this)}))),function(e,t,n){return
u.apply(this,arguments)}),mutationMode:{observer:null,stop:function()
{this.observer&&this.observer.stop(),["sfSkip"].forEach((function(e){for(var
t,n=w()(e),r=document.querySelectorAll("["+n+"]"),o=0;t=r[o];o+
+)t.removeAttribute(n)}))},enable:function(){if(this.observer)return
this.observer.start();this.observer=new y.a({queries:[{css:"div > div > article >
header + div + div > div > div:nth-child(1) ul > li > div:nth-child(1) > div:nth-
child(1)",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n+
+)t.dataset.sfSkip>0||(t.dataset.sfSkip="1",d.addDlBtn(t.parentNode,"",t))}},
{css:"div > div > article > header + div + div > div > div:nth-
child(1)",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n+
+)t.dataset.sfSkip>0||t.querySelector("ul > li")||
(t.dataset.sfSkip="1",d.addDlBtn(t.parentNode,"",t))}},{css:".Embed
> .Content.EmbedFrame > .EmbedVideo",is:"added",callback:function(e){for(var
t,n=0;t=e.added[n];n++)if(!(t.dataset.sfSkip>0)){t.dataset.sfSkip="1";var r=M()
(t,".Embed");r&&(r.dataset.sfSkip="1",d.addDlBtn(r,"embed",r))}}},{css:".Embed
> .Content.EmbedFrame.EmbedFrameWithSidecar > .EmbedSidecar > div > div > div + div
> div > div > div > ul > li > div:nth-child(1) > div:nth-
child(1)",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n++)if(!
(t.dataset.sfSkip>0)){t.dataset.sfSkip="1";var r=M()
(t,".Embed");if(r&&r.dataset.sfSkip>0){var
o=document.querySelector(".Header");o&&g(o)}d.addDlBtn(t.parentNode,"",t)}}},
{css:".Embed",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n+
+)t.dataset.sfSkip>0||(t.dataset.sfSkip="1",d.addDlBtn(t,"embed",t))}},
{css:".".concat(f.a.onRemoveClassName),is:"removed",callback:function(e){for(var
t,n=0;t=e.removed[n];n++)f.a.onRemoveListener(t)}}]})}}};function p(e)
{e.stopPropagation(),n.downloadOnClick(e,void 0,{el:this})}function g(e){for(var
t,n=e.querySelectorAll("."+d.dlBtnClassName),r=0;t=n[r];r+
+)t.classList.remove(f.a.onRemoveClassName),t.parentNode.removeChild(t)}}),
(function(){return!u()()||!!/\/\/[^\/]+\.[^\/]+\/
p\//.test(location.href)}))}})},function(e){!function(e){function t(t){for(var
r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={10:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([104,0]),n()}({104:function(e,t,n){n.r(t);var
r=n(0),o=n(12),i=n(8),a=n(19),s=n.n(a),u=(n(20),n(14)),l=n.n(u),c=n(7),d=n.n(c),f=n
(11),p=n.n(f),m=n(2),h=n.n(m),g=n(1),v=n.n(g),b=n(10),y=n.n(b),A=n(6),k=n.n(A);y.a.
isSingle()&&Object(i.b)("rutube",(function(e,t){var n=Object(o.a)
(t),i=t.preferences,a=i.moduleRutube?1:0,u=s()
();r.a.onMessage.addListener((function(t,n,r){if("getModuleInfo"===t.action)
{if(t.url!==location.href)return;return
r({state:a,moduleName:e})}if("changeState"===t.action){if(e!
==t.moduleName)return;return c.changeState(t.state)}if("updatePreferences"!
==t.action){if(a)return"updateLinks"===t.action?c.updateLinks():void 0}else
Object.assign(i,t.preferences)})),a&&setTimeout((function(){c.run()}));var
c={buttonClassName:"sf-button",contextMenu:null,run:function(){if(a=1,u)return
c.frame();k.a.isAvailable()&&c.mutationMode.enable()},changeState:function(e)
{a=e,this.hideMenu(),this.rmDlLinks(),this.mutationMode.stop(),e&&this.run()},hideM
enu:function()
{c.contextMenu&&(c.contextMenu.hide(),c.contextMenu=null)},updateLinks:function()
{this.changeState(0),this.changeState(1)},rmDlLinks:function(){for(var
e,t=document.querySelectorAll(".".concat(this.buttonClassName)),n=0;e=t[n];n+
+)e.parentNode.removeChild(e)},insertDownloadLink:function(e){for(var
t,o=e.querySelectorAll(".".concat(this.buttonClassName)),i=0;t=o[i];i+
+)t.parentNode.removeChild(t);o=null;var
a=function(){var
e=location.href;return"ummy"+e.substr(e.indexOf("://"))},s=a(),u=v.a.create("a",
{href:s,className:"".concat(this.buttonClassName," video-tools__tools-
button"),target:"_blank",on:[["click",function(t){var
r;if(t.preventDefault(),t.stopPropagation(),r=a(),s!
==r&&(s=r,u.href=r),c.contextMenu&&c.contextMenu.isShow)c.hideMenu();else{var
o=n.popupMenu.prepareLinks.rutube(a());c.contextMenu=n.popupMenu.quickInsert(this,o
,"sf-popupMenu",{parent:p()(e,".b-video__description")})}}]],append:
[n.svg.getSvg("download","#6c9b01",20,20),v.a.create("span",
{text:r.a.i18n.getMessage("download"),style:
{color:"#6c9b01"}})]});h.a.onRemoveEvent(u,c.hideMenu),e.insertAdjacentElement("aft
erbegin",u)},frame:function(){var e=this,t=n.frameMenu.getBtn({singleBtn:!
0,btnId:"sfDlBtn",containerStyle:{right:"50px",top:"6px"},quickBtnStyleObj:
{display:"inline-
block",border:0,borderRadius:".3em",cursor:"pointer",position:"relative",padding:"4
px 6px"},quickBtnCssStyle:
{backgroundColor:"transparent"},quickBtnIcon:v.a.create(n.svg.getSvg("download","#f
fffff"),{style:{display:"inline-
block",width:"16px",height:"16px",verticalAlign:"middle"}}),nodeCssStyle:
{display:"none"},on:[["click",function(r)
{if(r.preventDefault(),r.stopPropagation(),e.contextMenu&&e.contextMenu.isShow)e.hi
deMenu();else{var
o=n.popupMenu.prepareLinks.rutube(location.href);e.contextMenu=n.frameMenu.getMenu(
this,o,"sf-frame-menu",{container:t.container,onShow:function()
{t.node.classList.add("sf-over")},onHide:function()
{e.contextMenu=null,t.node.classList.remove("sf-over")}})}}],
["mousedown",function(n)
{n.stopPropagation(),2===n.button&&(h.a.off(document.body,"mousemove",s),e.hideMenu
(),t.container.parentNode&&t.container.parentNode.removeChild(t.container))}]]});t.
quickBtn.title=r.a.i18n.getMessage("download"),t.container=v.a.create("div",
{class:"sf-btn-ctr",append:t.node}),h.a.on(t.container,"mouseenter",(function()
{t.lockHide=!0})),h.a.on(t.container,"mouseleave",(function(){t.lockHide=!1}));var
o=null,i=!1,a=function(){t.lockHide||(t.container.classList.add("sf-hide-ui"),i=!
0)},s=function(){i&&(t.container.classList.remove("sf-hide-ui"),i=!
1),clearTimeout(o),o=setTimeout(a,3e3)};h.a.on(document.body,"mousemove",s),t.node.
appendChild(v.a.create("style",{text:d()([{selector:["body:hover .sf-btn-
ctr:not(.sf-hide-ui) #sfDlBtn","body:hover .sf-btn-ctr:not(.sf-hide-ui) .sf-frame-
menu"],style:
{display:"block"}}])})),document.body.appendChild(t.container)},mutationMode:
{observer:null,stop:function(){this.observer&&this.observer.stop(),
["sfSkip"].forEach((function(e){for(var t,n=l()
(e),r=document.querySelectorAll("["+n+"]"),o=0;t=r[o];o+
+)t.removeAttribute(n)}))},enable:function(){if(this.observer)return
this.observer.start();this.observer=new k.a({queries:[{css:".video-tools >
span",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n+
+)t.dataset.sfSkip>0||(t.dataset.sfSkip="1",c.insertDownloadLink(t))}},
{css:".".concat(h.a.onRemoveClassName),is:"removed",callback:function(e){for(var
t,n=0;t=e.removed[n];n++)h.a.onRemoveListener(t)}}]})}}}}),(function(){return
Promise.resolve().then((function(){if(s()()){var e=!
1;try{e=location.hostname===window.parent.location.hostname}catch(e){}return!
e}return!0})).then((function(e){return!!
e&&r.a.callFn("getPreferences").then((function(e){return!!
e.showUmmyItem}))}))}))}})},function(e){!function(e){function t(t){for(var
r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={14:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([116,0]),n()}({105:function(e,t,n){n.r(t);var r=n(22),o=n.n(r)()(!
1);o.push([e.i,".EEsu4--container{position:absolute;z-index:10}.EEsu4--
container._3iu3h--largeContainer{top:20px;right:66px}.EEsu4--container._2x5mD--
middleContainer{top:3px;right:5px}.EEsu4--container._26amM--
feedItemContainer{top:3px;left:5px}._26amM--feedItemContainer ._1_-Kc--
button{width:30px;height:30px}._26amM--feedItemContainer ._1_-Kc--button
img{width:15px;margin-top:6px}._1_-Kc--button{display:flex;align-
items:center;justify-content:center;width:40px;height:40px;background-
color:rgba(0,0,0,.5);border-radius:50%;z-index:9;border:1px solid
hsla(0,0%,50.2%,.5)}._1_-Kc--button a{padding:10px}._3iu3h--
largeContainer ._2nZMr--tooltip{top:1px;right:55px}._26amM--
feedItemContainer ._2nZMr--tooltip,._2x5mD--middleContainer ._2nZMr--tooltip{top:-
47px;left:1px}._2nZMr--
tooltip{position:absolute;width:299px;height:37px;background:rgba(0,0,0,.7);border-
radius:2px;text-align:center;font-size:13px;color:#fff;font-family:sans-
serif;padding:2px;border:1px solid hsla(0,0%,50.2%,.5);z-index:999}._2Ntv2--
tooltip--pulse{transform:scale(1);-webkit-animation:_2Ywcx--pulse 2s
infinite;animation:_2Ywcx--pulse 2s infinite}@-webkit-keyframes _2Ywcx--pulse{0%
{transform:scale(.95);box-shadow:0 0 0 0 rgba(0,0,0,.7)}70%{transform:scale(1);box-
shadow:0 0 0 10px transparent}to{transform:scale(.95);box-shadow:0 0 0 0
transparent}}@keyframes _2Ywcx--pulse{0%{transform:scale(.95);box-shadow:0 0 0 0
rgba(0,0,0,.7)}70%{transform:scale(1);box-shadow:0 0 0 10px
transparent}to{transform:scale(.95);box-shadow:0 0 0 0
transparent}}",""]),o.locals={container:"EEsu4--container",largeContainer:"_3iu3h--
largeContainer",middleContainer:"_2x5mD--
middleContainer",feedItemContainer:"_26amM--feedItemContainer",button:"_1_-Kc--
button",tooltip:"_2nZMr--tooltip","tooltip--pulse":"_2Ntv2--tooltip--
pulse",tooltipPulse:"_2Ntv2--tooltip--pulse",pulse:"_2Ywcx--
pulse"},t.default=o},116:function(e,t,n){n.r(t);var
r=n(0),o=n(9),i=n.n(o),a=n(10),s=n.n(a),u=n(6),l=n.n(u),c=n(12),d=n(14),f=n.n(d),p=
n(8),m=n(21),h=n.n(m),v=n(4),b=n(3),y=n.n(b),A=n(84),k=n.n(A),w=n(25),x=n.n(w),_=n(
27),S=n.n(_),C=y.a.memo((function(e){var
t=e.url,n=e.filename,o=e.containerType,i=void 0===o?"middle":o,a=e.children,s=x()
(k.a),u=y.a.useState(!1),l=Object(g.a)(u,2),c=l[0],d=l[1],f=y.a.useState(!
1),p=Object(g.a)(f,2),m=p[0],h=p[1],v=y.a.useCallback((function(e)
{e.stopPropagation(),e.altKey||r.a.isFirefox||(m||(h(!0),setTimeout((function(){h(!
1)}),2e3)),e.preventDefault())}),[m]),b=y.a.useCallback((function(){!
r.a.isFirefox&&d(!c)}),[c]),A=y.a.useMemo((function(){return"large"===i?
s.largeContainer:"middle"===i?s.middleContainer:"feedItem"===i?
s.feedItemContainer:""}),[i]);return y.a.createElement("div",{className:S()
(s.container,A)},y.a.createElement("div",
{className:s.button},y.a.createElement("a",
{href:t,download:n,target:"_blank",onclick:v,onmouseenter:b,onmouseleave:b},a),c&&y
.a.createElement("div",{className:S()
(s.tooltip,m&&s.tooltipPulse)},r.a.i18n.getMessage("downloadTitle"))))})),I=n(5),O=
n.n(I),M=n(1),L=n.n(M),E=n(7),P=n.n(E),j=i()
("tiktok_com");s.a.isSingle()&&Object(p.b)("tiktok",(function(e,t){var
n=Object(c.a)(t),o=t.preferences,i=o.moduleTiktok,a=location.pathname.includes("/
embed");r.a.onMessage.addListener((function(t,n,r){if("getModuleInfo"===t.action)
{if(t.url!==location.href)return;return
r({state:i,moduleName:e})}if("changeState"===t.action){if(e!
==t.moduleName)return;return s.changeState(t.state)}"updatePreferences"!
==t.action||Object.assign(o,t.preferences)})),i&&setTimeout((function()
{s.run()}));var s={style:void 0,run:function(){i=1,a?
l.a.isAvailable()&&u.mutationMode.start():l.a.isAvailable()&&(this.mutationMode.sta
rt(),this.injectStyle())},mutationMode:{observer:null,start:function()
{if(this.observer)return this.observer.start();this.observer=new l.a({queries:
[{css:[".video-card-big video[src]",".video-box video[src]",".video-card
video[src]"],is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n+
+)t.dataset.sfSkip>0||(t.dataset.sfSkip="1",s.runDesktop(t))}},{css:[".video-feed-
item video[src]"],is:"added",callback:function(e){e.added.forEach((function(e)
{e.dataset.sfSkip||
(e.dataset.sfSkip="1",s.addButtonForFeedItem(e))}))}}]})},stop:function()
{this.observer&&this.observer.stop(),document.querySelectorAll(".sf-dl-
container, .sf-feed-dl-container").forEach((function(e)
{e.remove()})),s.style&&s.style.remove(),["sfSkip","sfReady"].forEach((function(e)
{for(var t,n=f()(e),r=document.querySelectorAll("["+n+"]"),o=0;t=r[o];o+
+)t.removeAttribute(n)}))}},addButtonForFeedItem:function(e){var
t=e.closest(".item-video-container");if(t){var
n=document.createElement("div");n.classList.add("sf-feed-dl-
container"),s.createDownloadButton(n,"video.mp4",e.src,"feedItem"),t.appendChild(n)
}},runDesktop:function(e){if(!e)return j.error("videoElement don't found");if(!
e.closest(".video-feed-item, .video-card-big"))return j.error("videoCard don't
found");var t,n=null!==e.closest(".video-card-big");t=n?
e.closest("div"):e.closest("div._ratio_");var
r=document.querySelector(".user-username, .share-title"),o=r&&r.textContent?
O.a.modify(r.textContent+".mp4"):"video.mp4";if(t&&!t.dataset.sfReady)
{t.dataset.sfReady=String(1);var
i=document.createElement("div");i.classList.add("sf-dl-
container"),t.appendChild(i),s.createDownloadButton(i,o,e.src,n?"large":"middle")}}
,createDownloadButton:function(e,t,r,o){return h()(Object(v.createElement)(C,
{url:r,filename:t,containerType:o},[Object(v.createElement)("img",
{src:n.svg.getSrc("download","#fff")})]),e)},injectStyle:function()
{this.style=L.a.create("style",{text:P()({".sf-dl-container":
{display:"none"},"._ratio_:hover .sf-dl-container, .video-card-container:hover .sf-
dl-container":
{display:"block"}})}),document.body.appendChild(this.style)},changeState:function(e
){i=e,this.mutationMode.stop(),e&&this.run()}},u={mutationMode:
{observer:null,start:function(){if(this.observer)return
this.observer.start();this.observer=new l.a({queries:[{css:"._embed_player_video-
wrapper",is:"added",callback:function(e){for(var t,n=0;t=e.added[n];n+
+)t.dataset.sfSkip>0||
(t.dataset.sfSkip="1",u.insertDownloadButton(t))}}]})}},insertDownloadButton:functi
on(e){if(!e.dataset.sfReady){var t;e.dataset.sfReady=String(1);var
n=document.querySelector("._embed_video_card-user span"),r=n&&n.textContent?
O.a.modify(n.textContent+".mp4"):"video.mp4";e.addEventListener("mouseenter",
(function(){var
n=document.querySelector("video");n&&(t=s.createDownloadButton(e,r,n.src,"large"))}
)),e.addEventListener("mouseleave",(function(){t&&t()}))}}}}))},84:function(e,t,n)
{var r=n(37),o=n(105);"string"==typeof(o=o.__esModule?
o.default:o)&&(o=[[e.i,o,""]]);var
i,a=0,s={injectType:"lazyStyleTag",insert:"head",singleton:!
1},u={};u.locals=o.locals||{},u.use=function(){return a++||
(i=r(o,s)),u},u.unuse=function(){a>0&&!--
a&&(i(),i=null)},e.exports=u}})},function(e){!function(e){function t(t){for(var
r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={18:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([111,0]),n()}({111:function(e,t,n){n.r(t);var
r=n(0),i=n(6),u=n.n(i),l=n(12),d=n(33),f=n(16),p=function(){function e(t)
{Object(a.a)(this,e),this.uid=t}return Object(s.a)(e,
[{key:"fetchTrack",value:function(e,t){return Object(f.a)
({action:"yandexGetTrack",uid:this.uid,currentPage:location.href,album:e,trackId:t}
).then((function(e){return{codec:e.codec,downloadURL:e.downloadURL}}))}}]),e}
(),h=n(78),v=n(5),b=n.n(v),y=n(9),A=n.n(y),k=n(1),x=n.n(k),_=A()
("playlistButtons"),I=function(){function e(t,n){Object(a.a)
(this,e),this.selector=".d-track .d-
track__actions",this.type="added",this.utils=t,this.api=n}return Object(s.a)(e,
[{key:"handle",value:function(e){var t=e.added;this.renderButtons(t)}},
{key:"renderButtons",value:function(e){var t=this;e.filter((function(e){return!
e.dataset.sfSongReady})).map((function(e){e.dataset.sfSongReady="1";try{var
n=e.closest(".d-track");if(!n)return;var
o=t.parseAlbumAndTrackId(n),i=o.track,a=o.album,s=t.parseArtistName(n),u=t.parseTra
ckName(n);t.prepareButton(i,a,s,u).then((function(t)
{t&&(t.title=r.a.i18n.getMessage("download"),e.style.width="max-
content",e.insertBefore(t,null))}))}catch(e){_.error(e)}}))}},
{key:"prepareButton",value:function(e,t,n,r){var o=this,i=x.a.create("a",{class:
["d-track__hover","sf-download"],append:
[x.a.create(this.utils.svg.getSvg("download","#747474"),{style:
{marginTop:"2px"}})]});return this.api.fetchTrack(t,e).then((function(e)
{if(e&&e.codec&&e.downloadURL)return i.download=b.a.modify("".concat(n?n+" -":"","
").concat(r,".").concat(e.codec)),i.href=e.downloadURL,i.addEventListener("click",
(function(e){e.stopPropagation(),o.utils.downloadOnClick(e)})),i;_.error("codec or
downloadUrl not found")}))}},{key:"parseAlbumAndTrackId",value:function(e){var
t=e.querySelector(".d-track__name
a").getAttribute("href"),n=/album\/([0-9]+)\/track\/([0-9]+)/.exec(t),r=Object(g.a)
(n,3);r[0];return{album:r[1],track:r[2]}}},{key:"parseTrackName",value:function(e)
{return e.querySelector(".d-track__name").getAttribute("title")}},
{key:"parseArtistName",value:function(e){var t=function(e,t){var n=(t||
document).querySelector(e);return n?n.getAttribute("title"):null},n=t(".d-
track__artists a, .d-track__meta a",e);if(n)return n;var r=e.closest(".sidebar-
album");return r?t(".d-artists a",r):(n=t(".d-album-summary__pregroup .d-artists
a"))?n:(n=document.querySelector(".page-artist__title"))?n.innerText:null}},
{key:"setError",value:function(e)
{e.title=r.a.i18n.getMessage("vkMp3LinksNotFound"),e.classList.add("sf-icon-
error")}},{key:"disable",value:function(){var e=["data-sf-song-ready","data-sf-
info"],t=document.querySelectorAll(e.map((function(e)
{return"[".concat(e,"]")})).join(","));Array.from(t).forEach((function(t){return
function(e,t){return t.forEach((function(t){return e.removeAttribute(t)}))}
(t,e)})),Array.from(document.querySelectorAll(".sf-download")).forEach((function(e)
{return e.remove()}))}}]),e}(),O=function(){function e(t,n){Object(a.a)
(this,e),this.selector=".player-controls .deco-
link.track__title",this.type="added",this.observer=void 0,this.button=void
0,this.utils=t,this.api=n}return Object(s.a)(e,[{key:"handle",value:function(e){var
t=e.added.pop();if(t){var n=t.closest(".player-controls").querySelector(".player-
controls__seq-controls");n&&this.renderButton(n)}}},
{key:"renderButton",value:function(e){var t=this;if(!e.dataset.sfReady){var
n=x.a.create("a",{title:r.a.i18n.getMessage("download"),class:["player-
controls__btn","deco-player-controls__button","sf-download-in-control"],append:
[x.a.create(this.utils.svg.getSvg("download","#747474",19,19),{style:
{marginTop:"3px"}})],on:[["click",function(e)
{e.stopPropagation(),t.utils.downloadOnClick(e)}]]});e.append(n),this.prepareButton
(n),!this.observer&&this.createObserver(n),e.dataset.sfReady="1"}}},
{key:"createObserver",value:function(e){var t=this;this.observer=new u.a({queries:
[{css:".player-controls__track.player-
controls__track_shown",is:"removed",callback:function(){return
t.prepareButton(e)}}]}),this.observer.start()}},
{key:"prepareButton",value:function(e){var t=e.closest(".player-controls");if(t)
{var n=t.querySelector(".deco-
link.track__title"),r=t.querySelector(".track__artists a");if(n&&r){var
o=n.getAttribute("title"),i=n.getAttribute("href"),a=r.getAttribute("title"),s=/
album\/([0-9]+)\/track\/([0-9]+)/.exec(i),u=Object(g.a)
(s,3),l=(u[0],u[1]),c=u[2];return this.api.fetchTrack(l,c).then((function(t){var
n=t.codec,r=t.downloadURL;e.download=b.a.modify("".concat(a," -
").concat(o,".").concat(n)),e.href=r}))}}}},{key:"disable",value:function()
{this.observer&&this.observer.stop(),Array.from(document.querySelectorAll("[data-
sf-ready]")).forEach((function(e){return e.removeAttribute("data-sf-ready")}));var
e=document.querySelector(".sf-download-in-control");e&&e.remove()}}]),e}
(),M=function(e){Object(c.a)(d,e);var t,n,i=C(d);function d(){var e;Object(a.a)
(this,d);for(var t=arguments.length,n=new Array(t),r=0;r<t;r+
+)n[r]=arguments[r];return(e=i.call.apply(i,
[this].concat(n))).active=1,e.mutationHandlers=[],e}return Object(s.a)(d,
[{key:"init",value:(n=Object(o.a)(m.a.mark((function e(){return
m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
this.uid=this.prepareUID(),this.api=new
p(this.uid),e.next=4,r.a.callFn("getPreferences");case
4:this.settings=e.sent,this.active=Number(this.settings.moduleYandexMusic),this.uti
ls=Object(l.a)
({preferences:this.settings}),this.registerListeners(),this.active&&this.initObserv
er(),this.appendStyle(h.STYLE);case 10:case"end":return
e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},
{key:"initObserver",value:function(){this.mutationHandlers=[new
I(this.utils,this.api),new O(this.utils,this.api)],this.observer=new
u.a({queries:this.mutationHandlers.map((function(e)
{return{css:e.selector,callback:e.handle.bind(e),is:e.type}}))}),this.observer.star
t()}},{key:"registerListeners",value:function(){var
e=this;r.a.onMessage.addListener(function(){var t=Object(o.a)(m.a.mark((function
t(n,r,o){var i,a,s;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case
0:if(i=n.action,a=n.moduleName,s=n.state,"getModuleInfo"!==i){t.next=3;break}return
t.abrupt("return",o({state:e.active,moduleName:d.moduleName}));case
3:"updatePreferences"!==i?
(e.handleMonoChangeActive(i,a,s),e.handleMonoDownloadAll(i)):e.settings=S(S({},e.se
ttings),n.preferences);case 4:case"end":return t.stop()}}),t)})));return
function(e,n,r){return t.apply(this,arguments)}}())}},
{key:"handleMonoDownloadAll",value:(t=Object(o.a)(m.a.mark((function e(t){var
n;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:if("downloadMP3Files"===t){e.next=2;break}return e.abrupt("return");case
2:n=(n=Array.from(document.querySelectorAll("a.sf-download[download]
[href]"))).map((function(e)
{return{url:e.href,title:e.download,filename:e.download}})),this.utils.downloadList
.showBeforeDownloadPopup(n,{type:"audio",folderName:document.title.trim()});case
4:case"end":return e.stop()}}),e,this)}))),function(e){return
t.apply(this,arguments)})},{key:"handleMonoChangeActive",value:function(e,t,n)
{if(d.moduleName===t&&"changeState"===e){if(this.active=n,this.active)return
this.initObserver();this.observer.stop(),this.mutationHandlers.forEach((function(e)
{return e.disable()}))}}},{key:"prepareUID",value:function(){var
e=this.cache.get("yandex_uid");return e||
(e=this.getUidFromHTML(),this.cache.set("yandex_uid",e,720)),e}},
{key:"getUidFromHTML",value:function(){var
e,t=0,n=w(document.querySelectorAll("script[nonce]"));try{for(n.s();!
(e=n.n()).done;){var r=e.value.innerText.match(/"uid":"([0-9]+)"/);if(r)
{t=Number(r[1]);break}}}catch(e){n.e(e)}finally{n.f()}return t}}]),d}
(d.a);M.moduleName="yandexMusic";var L=n(8),E=n(10),P=n.n(E),j=new
M;P.a.isSingle()&&Object(L.a)(M.moduleName,(function(){return j.start()}),
(function(){return-1===location.href.indexOf("api/")}))},78:function(e,t)
{e.exports=n(109)}})},function(e){!function(e){function t(t){for(var
r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={15:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([114,0]),n()}({114:function(e,t,n){n.r(t);var
r=n(33),i=n(10),u=n.n(i),l=n(8),d=n(0),f=n(63),p=n(4),h=(n(3),n(49)),g=n(64),v=n.n(
g),b=n(28),y=n(21),A=n.n(y),k=function(){function e(t){Object(a.a)
(this,e),this.selector='div[data-target="channel-header-
right"]',this.type="added",this.utils=void 0,this.utils=t}var t,n;return
Object(s.a)(e,[{key:"handle",value:function(e){var
t=this;e.added.filter(f.notReadyFilter).map(f.setReadyFlagOnElement).map((function(
e){return t.renderDownloadButton(e)}))}},{key:"fetchPlaylists",value:(n=Object(o.a)
(m.a.mark((function e(){var t,n,r;return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:return e.next=2,h.fetchAccessPayload();case
2:return
t=e.sent,n=t.token,r=t.sig,e.next=7,h.fetchPlaylistsFor(h.getVideoId(),n,r);case
7:return e.abrupt("return",e.sent.playlists);case 8:case"end":return
e.stop()}}),e)}))),function(){return n.apply(this,arguments)})},
{key:"renderDownloadButton",value:(t=Object(o.a)(m.a.mark((function e(t){var
n,r,o,i,a=this;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:if(h.getVideoId()){e.next=2;break}return e.abrupt("return");case 2:return
v.a.use(),e.next=5,this.fetchPlaylists();case 5:return
n=e.sent,r=document.createElement("div"),t.appendChild(r),o=n.map((function(e)
{return S(S({},e),{},
{filename:a.videoName()})})).slice(0,4),i=this.utils.svg.getSrc("download","#9147ff
","20px"),e.abrupt("return",A()(Object(p.createElement)(b.b,
{items:o,theme:b.d},Object(p.createElement)(b.a,null,Object(p.createElement)("div",
{className:v.a.locals.button},Object(p.createElement)("img",{src:i,style:
{opacity:.5}}),d.a.i18n.getMessage("download")))),r));case 10:case"end":return
e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},
{key:"videoName",value:function(){var e=document.querySelector('[data-a-
target="stream-title"]');if(e){var t=e.textContent.split("•").shift();return
t.length>=1?t:"video"}return document.title}}]),e}(),w=function(e){Object(c.a)
(r,e);var t,n=C(r);function r(){var e;Object(a.a)(this,r);for(var
t=arguments.length,o=new Array(t),i=0;i<t;i+
+)o[i]=arguments[i];return(e=n.call.apply(n,
[this].concat(o))).active=1,e.mutations=[],e}return Object(s.a)(r,
[{key:"init",value:(t=Object(o.a)(m.a.mark((function e(){return
m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.mutations.push(new
k(this.utils)),this.initObserver(this.mutations);case 1:case"end":return
e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),r}
(r.a);w.moduleName="twitch";var x=new w;u.a.isSingle()&&Object(l.a)(w.moduleName,
(function(){return x.start()}),(function(){return!0}))},49:function(e,t)
{e.exports=n(110)},63:function(e,t){e.exports=n(111)},64:function(e,t,n){var
r=n(37),o=n(95);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var
i,a=0,s={injectType:"lazyStyleTag",insert:"head",singleton:!
1},u={};u.locals=o.locals||{},u.use=function(){return a++||
(i=r(o,s)),u},u.unuse=function(){a>0&&!--
a&&(i(),i=null)},e.exports=u},95:function(e,t,n){n.r(t);var r=n(22),o=n.n(r)()(!
1);o.push([e.i,"._2DkRI--button{background:#e5e5e5;border-
radius:4px;color:#000;font-weight:700;cursor:pointer;padding:6px 8px;margin-
left:40px}._2DkRI--button img{margin-right:6px}",""]),o.locals={button:"_2DkRI--
button"},t.default=o}})},function(e){!function(e){function t(t){for(var
r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={7:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([113,0]),n()}({113:function(e,t,n){n.r(t);var
r=n(0),i=n(33),u=n(10),l=n.n(u),d=n(8),f=(n(3),n(16)),p=n(4),h=n(28),g=n(65),v=n.n(
g),b=n(21),y=n.n(b),A=function(){function e(){Object(a.a)
(this,e),this.selector=".video-container iframe",this.type="added"}var t;return
Object(s.a)(e,[{key:"handle",value:function(e){var
t=this;e.added.filter((function(e){return!
e.dataset.sfVideoReady})).map((function(e){return
e.dataset.sfVideoReady=1,e})).map((function(e){return t.renderButton(e)}))}},
{key:"renderButton",value:(t=Object(o.a)(m.a.mark((function e(t){var n,o,i,a;return
m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
v.a.use(),n=t.closest(".video-container"),e.next=4,i=t.src,Object(f.a)
({action:"matchTvFetchVideoSources",iframeVideoURL:i});case 4:return
o=(o=e.sent).filter((function(e){return"Auto"!==e.title})).map((function(e){return
S(S({},e),{},
{filename:document.title})})),a=document.createElement("div"),e.abrupt("return",
(n.parentElement.insertBefore(a,n.nextSibling),y()(Object(p.createElement)(h.b,
{items:o,theme:h.c},Object(p.createElement)(h.a,null,Object(p.createElement)("div",
{className:v.a.locals.downloadButton},r.a.i18n.getMessage("download")))),a)));case
8:case"end":return e.stop()}}),e)}))),function(e){return
t.apply(this,arguments)})}]),e}(),k=function(e){Object(c.a)(i,e);var
t,n=C(i);function i(){var e;Object(a.a)(this,i);for(var t=arguments.length,r=new
Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,
[this].concat(r))).mutations=[new A],e}return Object(s.a)(i,[{key:"init",value:
(t=Object(o.a)(m.a.mark((function e(){return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case
0:this.active=Number(this.settings.moduleMatchTv),this.active&&this.initObserver(th
is.mutations),this.registerMonoListeners();case 1:case"end":return
e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},
{key:"registerMonoListeners",value:function(){var
e=this;r.a.onMessage.addListener(function(){var t=Object(o.a)(m.a.mark((function
t(n,r,o){var a,s,u;return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case
0:if(a=n.action,s=n.moduleName,u=n.state,"getModuleInfo"!==a){t.next=3;break}return
t.abrupt("return",o({state:e.active,moduleName:i.moduleName}));case 3:if(s!
==i.moduleName){t.next=10;break}if("updatePreferences"!==a){t.next=6;break}return
t.abrupt("return",(r=n.preferences,e.settings=S(S({},e.settings),{},
{preferences:r})));case 6:if("changeState"!==a){t.next=10;break}if(!u)
{t.next=9;break}return t.abrupt("return",(e.active=!
u,e.initObserver(e.mutations)));case
9:e.observer.stop(),document.querySelectorAll(".sf--dropdown").forEach((function(e)
{return e.remove()}));case 10:case"end":return t.stop()}var r}),t)})));return
function(e,n,r){return t.apply(this,arguments)}}())}}]),i}
(i.a);k.moduleName="matchTv";var w=new k;l.a.isSingle()&&Object(d.a)(k.moduleName,
(function(){return w.start()}),(function(){return!0}))},65:function(e,t,n){var
r=n(37),o=n(97);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var
i,a=0,s={injectType:"lazyStyleTag",insert:"head",singleton:!
1},u={};u.locals=o.locals||{},u.use=function(){return a++||
(i=r(o,s)),u},u.unuse=function(){a>0&&!--
a&&(i(),i=null)},e.exports=u},97:function(e,t,n){n.r(t);var r=n(22),o=n.n(r)()(!
1);o.push([e.i,'._3Xck5--download-button{float:right;background-size:200%
auto;cursor:pointer;color:#fff;border:none;padding:4px 8px;border-
radius:6px;background-image:linear-gradient(90deg,#000 0,#434343
51%,#000);transition:.5s}._3Xck5--download-button:hover{background-
position:100%}._3Xck5--download-button:after{display:inline-
block;width:0;height:0;margin-left:.255em;vertical-align:.055em;content:"";border-
top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em
solid transparent}',""]),o.locals={"download-button":"_3Xck5--download-
button",downloadButton:"_3Xck5--download-button"},t.default=o}})},function(e){!
function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!
1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!
0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,
{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return
e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=107)}
({0:function(t,n,r){var o=e;n.a=o},107:function(e,t,n){n.r(t);var
r=n(0),o=n(8);Object(o.a)("tab",(function()
{r.a.sendMessage({action:"openPage"})}))},8:function(e,t,n){n.d(t,"b",(function()
{return a}));var r=n(0),o=[],i=function(e,t,n){return
Promise.resolve().then((function(){return!n||n()})).then((function(n){n&&(-
1===o.indexOf(e)&&o.push(e),t())}))},a=function(e,t,n){return i(e,(function()
{return r.a.callFn("getPreferences").then((function(n){t(e,
{preferences:n})}))}),n)};t.a=i}})},function(e){!function(e){function t(t){for(var
r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={1:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([108,0]),n()}({108:function(e,t,n){n.r(t);var
r=n(0),o=n(19),i=n.n(o),a=n(8);Object(a.a)("aviaBar",(function(){var
e;e=function(e,t){return
r.a.sendMessage(e,t)},document.body.parentNode.dataset.travelBar||
document.defaultView.self!==document.defaultView.top||function(){var
t=document.createElement("script");t.src="https://travelbar.tools/static/
travelBar.lite.min.js#tbr=true";var
n,r,o,i,a=document.querySelector("script");a&&(n=location.origin||
location.protocol+"//"+location.hostname,r=function(e)
{window.postMessage(e,n)},o=function(e){window.addEventListener("message",
(function(t){t.origin===n&&e(t.data)}),!0)},
(i={idPrefix:Math.floor(1e3*Math.random()),listenerArr:[],mkResponse:function(e)
{var t=this,n=e&&function(n){var o={tbr:!
0,idPrefix:t.idPrefix,data:n,responseId:e};return r(o)};return function(e)
{n&&(n(e),n=null)}},listener:function(e){var t=i;if(e&&e.tbr&&e.idPrefix!
==t.idPrefix&&!e.responseId){var
n=t.mkResponse(e.callbackId);t.listenerArr.forEach((function(t){return
t(e.data,n)}))}},onMessage:function(e)
{this.listenerArr.push(e),1===this.listenerArr.length&&o(this.listener)}}).onMessag
e((function(t,n){t&&t.action&&e(t,n)})),a.parentNode.insertBefore(t,a))}()}),
(function(){return!i()()&&r.a.callFn("getPreferences").then((function(e){return!!
e.hasAviaBar&&!!e.aviaBarEnabled}))}))}})},function(e){!function(e){function t(t)
{for(var r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={5:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([106,0]),n()}({106:function(e,t,n){n.r(t);var
r=n(0),o=n(12),i=n(8),a=n(19),s=n.n(a),u=n(10);n.n(u).a.isSingle()&&Object(i.b)
("lm",(function(e,t){var n=Object(o.a)(t),i=t.preferences,a=i.lmMediaHosting?
1:0;i.showUmmyInfo&&setTimeout((function()
{s()})),r.a.onMessage.addListener((function(t,n,r){if("getModuleInfo"===t.action)
{if(t.url!==location.href)return;return
r({state:a,moduleName:e})}if("changeState"===t.action){if(e!
==t.moduleName)return;return u.changeState(t.state)}"updatePreferences"!==t.action?
a&&"updateLinks"===t.action&&(u.savefromLinkCount=-
1,u.run()):Object.assign(i,t.preferences)})),a&&setTimeout((function()
{u.run()}));var s=function(){"object"==typeof
location&&/videodownloader\.ummy\.net/.test(location.href)&&/pozdravlyaem|
congratulations|
tebrikler/.test(location.href)&&(r.a.sendMessage({action:"updateOption",key:"showUm
myInfo",value:0}),r.a.sendMessage({action:"updateOption",key:"ummyDetected",value:1
}))},u={htmlAfter:"",linkText:"",linkStyle:
{border:"none",textDecoration:"none",padding:"0",position:"relative"},imgStyle:
{border:"none",width:"auto",height:"auto"},buttonSrc:"data:image/
gif;base64,R0lGODlhEAAQAOZ3APf39+Xl5fT09OPj4/Hx8evr6/3+/u7u7uDh4OPi497e3t7e3/z8/
P79/X3GbuXl5ubl5eHg4WzFUfb39+Pj4lzGOV7LOPz7+/n6+vn5+ZTLj9/e387Ozt7f3/7+/vv7/
ISbePn5+m/JV1nRKXmVbkCnKVrSLDqsCuDh4d/e3uDn3/z7/H6TdVeaV1uSW+bn5v39/eXm5eXm5kyHP/
f39pzGmVy7J3yRd9/f3mLEKkXCHJbka2TVM5vaZn6Wdfn6+YG/c/r5+ZO/jeLi41aHTIeageLn4f39/
vr6+kzNG2PVM5i+lomdf2CXYKHVmtzo2YXNeDqsBebl5uHh4HDKWN3g3kKqEH6WeZHTXIPKdnSPbv79/
pfmbE7PHpe1l4O8dTO5DODg4VDLIlKUUtzo2J7SmEWsLlG4NJbFjkrJHP7+/
VK5Nfz8+zmnC3KKa+Hg4OHh4Y63j/3+/eDg4Ojo6P///8DAwP///
wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAHcALAAAAAAQABAAAAfWgHd2g4SFhYJzdYqLjIpzgx5b
BgYwHg1Hk2oNDXKDFwwfDF5NLmMtcStsn4MhGT8YS04aGmU1QRhIGYMTADQAQlAODlloAMYTgwICRmRfVBI
SIkBPKsqDBAREZmcVFhYVayUz2IMHB1dWOmImI2lgUVrmgwUFLzdtXTxKSSduMfSD6Aik48MGlx05SAykM0
gKhAAPAhTB0oNFABkPHg5KMIBCxzlMQFQZMGBIggSDpsCJgGDOmzkIUCAIM2dOhEEcNijQuQDHgg4KOqRYw
MGOIENIB90JBAA7",sfref:"&utm_source={sfHelperName}&utm_medium=extensions&utm_campai
gn=link_modifier",pageUrl:"http://
savefrom.net/",anchorAttribute:"savefrom_lm",anchorAttributeLink:"savefrom_lm_is_li
nk",anchorIndexAttribute:"savefrom_lm_index",linkRegExp:null,savefromLinkCount:0,re
:{mediahosting:{"youtube.com":[/^https?:\/\/([a-z]+\.)?youtube\.com\/(#!?\/)?
watch\?.*v=/i,/^https?:\/\/([a-z0-9]+\.)?youtube\.com\/(embed|v)\/[\w\-]+/
i],"youtu.be":[/^https?:\/\/([a-z]+\.)?youtu\.be\/[\w\-]+/i],"google.com":[/
^https:\/\/siteproxy.ruqli.workers.dev:443\/http\/video\.google\.com\/videoplay\?.*docid=/i],"break.com":[/^http:\/\/
(www\.)?break\.com\/(index|movies\w*|(\w+\-)+\w+)\/.+\.html$/i,/^http
:\/\/view\.break\.com\/\d+/i],"vimeo.com":[/^http:\/\/([\w\-]+\.)?vimeo\.com\/\d+
$/i],"sevenload.com":[/^http:\/\/([\w\-]+\.)?sevenload\.com\/videos\/[-\w\+\/=]+/
i,/^http:\/\/([\w\-]+\.)?sevenload\.com\/shows\/.+/i],"facebook.com":[/
^https?:\/\/(?:www\.)facebook\.com\/([^\/]+\/)*video\.php\?([^&]+&)*v=\d+/
i],"mail.ru":[/^http:\/\/([a-z0-9_-]+\.)?video\.mail\.ru\/(.+\/)+\d+\.html/i,/
^https:\/\/siteproxy.ruqli.workers.dev:443\/http\/r\.mail\.ru\/\w+\/video\.mail\.ru\/(.+\/)+\d+\.html/i],"yandex.ru":[/
^https:\/\/siteproxy.ruqli.workers.dev:443\/http\/video\.yandex\.ru\/users\/[-\w,!\+]+\/view\/[-\w,!\+]+\/?/
i],"rambler.ru":[/^https:\/\/siteproxy.ruqli.workers.dev:443\/http\/vision\.rambler\.ru\/users\/[^\/\s]+\/\d+\/[-\w_\+!]
+\/?/i],"smotri.com":[/^http:\/\/([a-z0-9_-]+\.)?smotri\.com\/video\/
view\/\?.*id=v[0-9a-f]/i],"tvigle.ru":[/^http:\/\/(www\.)?tvigle\.ru\/channel\/\
d+\?.*vid_id=\d+/i,/^http:\/\/(www\.)tvigle\.ru\/prg\/\d+\/\d+/i],"1tv.ru":[/
^http:\/\/(www\.)?1tv\.ru(\:\d+)?\/newsvideo\/\d+/i,/^http:\/\/(www\.)?1tv\.ru(\:\
d+)?\/news\/\w+\d+/i],"ntv.ru":[/^https:\/\/siteproxy.ruqli.workers.dev:443\/http\/news\.ntv\.ru\/(\w+\/)?\d+\/video\/?/
i],"vesti.ru":[/^http:\/\/(www\.)?vesti\.ru\/videos\?.*vid=\d+/i],"mreporter.ru":
[/^http:\/\/(www\.)?mreporter\.ru\/reportermessages\!
viewreport\.do[^\?]*\?.*reportid=\d+/i],"autoplustv.ru":[/^http:\/\/(www\.)?
autoplustv\.ru\/494\/\?id=\d+/i],"amik.ru":[/^http:\/\/(www\.)?amik\.ru\/video\/
vid\d+\.html/i,/^http:\/\/(www\.)?amik\.ru\/video\/vcid\d+\.html/i],"life.ru":[/
^http:\/\/([\w+\-]+\.)?life\.ru\/video\/\d+/i]}},parseHref:function(e,t){var
n=[];n.push(e);var
r=e.toLowerCase().indexOf("http://",7);if(r>7)n.push(e.substring(r));else if(t){var
o=t.match(/http%3a(%2f%2f|\/\/)[^\s\&\"\<\>]+/i);if(o&&o.length>0)n.push(decodeURIC
omponent(o[0]));else{var i="";try{i=decodeURIComponent(t)}catch(e)
{}if(i&&(o=i.match(/((?:aHR0cDovL|aHR0cHM6Ly)[a-z0-9+\/=]+)/i))&&o.length>1)
{try{o=atob(o[1])}catch(e){o=""}-1!=o.search(/^https?:\/\//
i)&&n.push(decodeURIComponent(o))}}}return n},href:function(e){return
e.getAttribute("href")||""},getElementIndex:function(e){var t=e.innerHTML;if(!t||"
"==t)return 1;var n=e.style.backgroundImage;if(n&&"none"!=n)return 1;for(var
r=e.getElementsByTagName("*"),o=0;o<r.length;o++){if("IMG"==r[o].tagName)return
2;if((n=r[o].style.backgroundImage)&&"none"!=n)return 1}return 0},run:function()
{n.embedDownloader.init(),u.sfref=u.sfref.replace("{sfHelperName}",i.sfHelperName);
var e=!!i.lmMediaHosting;if(a=1,u.linkRegExp={},e)for(var t in
u.re.mediahosting)u.linkRegExp[t]=u.re.mediahosting[t];var
o=document.getElementsByTagName("a");if(u.savefromLinkCount!=o.length)
{u.savefromLinkCount=o.length;for(var s={},l="",c=(t=0,o.length);t<c;t++){var
d=v(o[t]);if(d){var f=0,p=o[t].getAttribute(u.anchorIndexAttribute);0===p||p?
f=parseInt(p):
(f=u.getElementIndex(o[t]),o[t].setAttribute(u.anchorIndexAttribute,f)),s[d]?
f<s[d].index?(s[d].elements=[o[t]],s[d].index=f,l=d):f==s[d].index&&d!
=l&&(s[d].elements.push(o[t]),l=d):(s[d]={index:f,elements:[o[t]]},l=d)}}for(var t
in s){var m=0;for(c=s[t].elements.length;m<c;m++){var
h=s[t].elements[m];h.getAttribute(u.anchorAttribute)||b(h,t)}}}function g(e,t){if(!
e)return!1;if(e==window.location.href)return!1;if(!(t=n.getTopLevelDomain(t))||!
u.linkRegExp[t])return!1;for(var r=0;r<u.linkRegExp[t].length;r++)if(-1!
=e.search(u.linkRegExp[t][r]))return!0;return!1}function v(e){var
t=e.href;if("string"==typeof t&&-1==t.search(/^https?:\/\/([\w\-]+\.)?
savefrom\.net\//i)){var n=u.parseHref(t,e.search);if(n.length>0){if(0!
=u.href(e).indexOf("#")&&g(n[0],e.hostname))return n[0];if(n.length>1)for(var
r=1;r<n.length;r++){var o=document.createElement("a");if(o.href=n[r],0!
=u.href(o).indexOf("#")&&g(n[r],o.hostname))return n[r]}}}return""}function b(e,t)
{if(e){e.setAttribute(u.anchorAttribute,"1");var
n=document.createElement("span");n.setAttribute("style","padding: 0; margin: 0;
margin-left: 5px;"),n.addEventListener("click",(function(e)
{e.stopPropagation()}));var o=e.parentNode;if(o)
{try{t=encodeURIComponent(t)}catch(e){return}var i=u.pageUrl+"?
url="+t;u.sfref&&(i+=u.sfref);var a=document.createElement("a");for(var s in
a.href=i,a.target="_blank",a.title=r.a.i18n.getMessage("lmButtonTitle"),a.style.bac
kgroundImage="url("+u.buttonSrc+")",a.style.backgroundRepeat="no-
repeat",a.style.width="16px",a.style.height="16px",a.style.display="inline-
block",u.linkStyle)a.style[s]=u.linkStyle[s];e.style.zIndex&&(a.style.zIndex=e.styl
e.zIndex),a.setAttribute(u.anchorAttribute,"1"),a.setAttribute(u.anchorAttributeLin
k,"1"),u.linkText&&(a.textContent=u.linkText),n.appendChild(a),u.htmlAfter&&(n.text
Content+=u.htmlAfter),e.nextSibling?
o.insertBefore(n,e.nextSibling):o.appendChild(n)}}}},changeState:function(e)
{i.lmMediaHosting=e,a=e;for(var
t,n=document.querySelectorAll("a["+u.anchorAttributeLink+"]"),r=0;t=n[r];r++)
(t=t.parentNode).parentNode.removeChild(t);var
o=document.querySelectorAll(["*["+u.anchorAttribute+"]","*["+u.anchorIndexAttribute
+"]"]);for(r=0;t=o[r];r+
+)t.removeAttribute(u.anchorAttribute),t.removeAttribute(u.anchorIndexAttribute);u.
savefromLinkCount=-1,e&&u.run()}}}),(function(){return!
(document.contentType&&"text/html"!==document.contentType||s()()||/yandex\.com\/
launcher/.test(location.href))}))}})},function(e){!function(e){function t(t)
{for(var r,a,s=t[0],u=t[1],l=t[2],d=0,f=[];d<s.length;d+
+)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a]
[0]),o[a]=0;for(r in
u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(c&&c(t);f.length;)f.sh
ift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++)
{for(var n=i[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==o[u]&&(r=!
1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={8:0},i=[];function a(t)
{if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return
e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n)
{a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e)
{"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return
e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var
s=window.savefromContentScriptWebpackJsonp=window.savefromContentScriptWebpackJsonp
||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var
c=u;i.push([109,0]),n()}({109:function(e,t,n){n.r(t);var
r=n(10),o=n.n(r),i=n(8);o.a.isSingle()&&Object(i.a)("migrateTM",(function(){var
e=document.querySelector(".promo__upgrade");e&&e.classList.remove("hidden")}),
(function(){return-1!==location.href.indexOf("savefrom.net/
user.php")}))}})}],e.loadedContentScripts=[],e.contentScriptMono=null,e}return
Object(s.a)(u,[{key:"createMonoInstance",value:function(e){throw new
Error("Instance type (".concat(e,") is not found"))}},
{key:"addMonoInstance",value:function(e){var
t=this;e.onDestroy.addListener((function(){var n=t.monoInstances.indexOf(e);-1!
==n&&t.monoInstances.splice(n,1)})),this.monoInstances.push(e)}},
{key:"getContentScriptMono",value:function(){return this.contentScriptMono||
(this.contentScriptMono=this.createMonoInstance("contentScript")),this.contentScrip
tMono}},{key:"inject",value:function(){var
e=this,t=[],n=[],r=[];this.contentScripts.forEach((function(e)
{M(e)&&e.js.forEach((function(o){"document_start"===e.run_at?-
1===n.indexOf(o)&&n.push(o):"document_end"===e.run_at?-
1===t.indexOf(o)&&t.push(o):-
1===r.indexOf(o)&&r.push(o)}))})),n.length&&this.runWhenDocumentStart((function()
{e.executeContentScripts(n)})),t.length&&this.runWhenDocumentEnd((function()
{e.executeContentScripts(t)})),r.length&&this.runWhenDocumentIdle((function()
{e.executeContentScripts(r)}))}},{key:"runWhenDocumentStart",value:function(e)
{e()}},{key:"runWhenDocumentEnd",value:function(e)
{this.runWhenDocumentStart((function(){if(-1!
==["interactive","complete"].indexOf(document.readyState))e();else{var t=function
t(){-1!
==["interactive","complete"].indexOf(document.readyState)&&(document.removeEventLis
tener("DOMContentLoaded",t),window.removeEventListener("load",t),e&&e(),e=null)};do
cument.addEventListener("DOMContentLoaded",t),window.addEventListener("load",t)}}))
}},{key:"runWhenDocumentIdle",value:function(e){this.runWhenDocumentEnd((function()
{try{if(!window.requestIdleCallback)throw new Error("requestIdleCallback in not
supported");window.requestIdleCallback(e)}catch(t){setTimeout(e,1)}}))}},
{key:"executeScript",value:function(e){var t=this;"document_start"===e.runAt?
this.runWhenDocumentStart((function()
{t.executeContentScripts([t.contentScriptMap[e.file]])})):"document_end"===e.runAt?
this.runWhenDocumentEnd((function()
{t.executeContentScripts([t.contentScriptMap[e.file]])})):this.runWhenDocumentIdle(
(function(){t.executeContentScripts([t.contentScriptMap[e.file]])}))}},
{key:"isLoadedFile",value:function(e){return-1!
==this.loadedContentScripts.indexOf(this.contentScriptMap[e])}},
{key:"executeContentScripts",value:function(e){var t=this;return
this.executeScripts(e.map((function(e){return-
1===t.loadedContentScripts.indexOf(e)&&t.loadedContentScripts.push(e),t.contentScri
ptIndex[e]})),this.getContentScriptMono())}},
{key:"executeScripts",value:function(e,t){e.forEach((function(e){try{e(t)}catch(e)
{I.error("executeScript error",e)}}))}}]),u}(A(function(){return function e()
{Object(a.a)(this,e)}}())),M=function(e){if("boolean"==typeof e._isMatch)return
e._isMatch;var t=window.top===window.self||!0===e.all_frames;return t&&(t=new
RegExp(e.matches,"i").test(location.href)),t&&e.exclude_matches&&(t=!new
RegExp(e.exclude_matches,"i").test(location.href)),t&&e.include_globs&&(t=new
RegExp(e.include_globs,"i").test(location.href)),t&&e.exclude_globs&&(t=!new
RegExp(e.exclude_globs,"i").test(location.href)),e._isMatch=t},L=O,E=function()
{function e(t){Object(a.a)
(this,e),this.bundle=t,this.containerNode=null,this.mono=null}return Object(s.a)(e,
[{key:"create",value:function()
{this.createPageContainer(),this.createMono(),this.mono.container=this.containerNod
e,this.executePageScripts()}},{key:"createMono",value:function()
{this.destroyMono(),this.mono=this.bundle.createMonoInstance("page")}},
{key:"createPageContainer",value:function()
{this.destroyContainer(),this.containerNode=document.createElement("div"),this.cont
ainerNode.innerHTML=this.getPageContent(),document.body.appendChild(this.containerN
ode)}},{key:"getPageContent",value:function(){return""}},
{key:"getPageScripts",value:function(){return[]}},
{key:"executePageScripts",value:function(){return
this.bundle.executeScripts(this.getPageScripts(),this.mono)}},
{key:"destroyMono",value:function()
{this.mono&&this.mono.destroy(),this.mono=null}},
{key:"destroyContainer",value:function(){if(this.containerNode){var
e=this.containerNode.parentNode;e&&e.removeChild(this.containerNode)}this.container
Node=null}},{key:"destroy",value:function()
{this.destroyMono(),this.destroyContainer()}}]),e}();function P(e,t){var
n=Object.keys(e);if(Object.getOwnPropertySymbols){var
r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return
Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return
n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?
arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){Object(i.a)
(e,t,n[t])})):Object.getOwnPropertyDescriptors?
Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach
((function(t)
{Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return
e}function T(e){var t=function(){if("undefined"==typeof Reflect||!
Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof
Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var D=function(e){Object(c.a)
(o,e);var t=T(o);function o(e){var i;return Object(a.a)(this,o),
(i=t.call(this,e)).optionsPage='<div class="sf-options-container"><h1 data-
i18n="optionsTitle">SaveFrom.net Helper - Preferences</h1><form><div class="sf-
block sf-browser sf-userscript"><label><input type="checkbox" id="button"
checked="1"> <span data-i18n="showButton">Show extension
button</span></label></div><div class="sf-block"><div data-
i18n="optionsHandleLinks" class="sf-title">Handle links</div><label><input
type="checkbox" id="lmMediaHosting" checked="1"> <span data-
i18n="optionsMediaHostings">To mediahostings</span></label></div><div class="sf-
block"><div data-i18n="optionsModules" class="sf-title">Modules</div><div
id="youtube_box" class="sf-module"><label><input type="checkbox" id="moduleYoutube"
checked="1"> <span data-i18n="optionsYoutube">YouTube</span></label><div
class="sf-module_options"><div class="sf-inline"><span data-
i18n="optionsYTHideLinks">Hide links</span>: <label><input type="checkbox"
id="ytHideFLV" checked="0"> FLV</label> <label><input type="checkbox"
id="ytHideMP4" checked="0"> MP4</label> <label><input type="checkbox"
id="ytHideWebM" checked="1"> WebM</label> <label><input type="checkbox"
id="ytHide3GP" checked="1"> 3GP</label> <label><input type="checkbox"
id="ytHide3D" checked="1"> 3D</label> <label><input type="checkbox"
id="ytHideMP4NoAudio" checked="1"> MP4 (no audio)</label>
<label><input type="checkbox" id="ytHideAudio_MP4"
checked="1"> Audio</label></div></div></div><div class="sf-
module"><label><input type="checkbox" id="moduleDailymotion"
checked="1"> <span
data-i18n="optionsDailymotion">Dailymotion</span></label></div><div class="sf-
module"><label><input type="checkbox" id="moduleVimeo" checked="1"> <span
data-i18n="optionsVimeo">Vimeo</span></label></div><div class="sf-
module"><label><input type="checkbox" id="moduleFacebook" checked="1"> <span
data-i18n="optionsFacebook">Facebook</span></label></div><div class="sf-
module"><label><input type="checkbox" id="moduleSoundcloud" checked="1"> <span
data-i18n="optionsSoundcloud">SoundCloud</span></label></div><div class="sf-
module"><label><input type="checkbox" id="moduleVkontakte" checked="1"> <span
data-i18n="optionsVkontakte">VK</span></label><div class="sf-
module_options"><label><input type="checkbox" id="vkShowBitrate"
checked="0"> <span data-i18n="optionsBitrate">Show bitrate
instantly</span></label></div></div><div class="sf-module"><label><input
type="checkbox" id="moduleOdnoklassniki" checked="1"> <span data-
i18n="optionsOdnoklassniki">Odnoklassniki</span></label></div><div class="sf-
module"><label><input type="checkbox" id="moduleMailru" checked="1"> <span
data-i18n="optionsMailru">Mail.ru</span></label></div><div class="sf-
module"><label><input type="checkbox" id="moduleInstagram" checked="1"> <span
data-i18n="optionsInstagram">Instagram</span></label></div><div class="sf-
module"><label><input type="checkbox" id="moduleRutube" checked="1"> <span
data-i18n="optionsRutube">Rutube</span></label></div><div class="sf-
module"><label><input type="checkbox" id="moduleTiktok" checked="1"> <span
data-i18n="optionsTiktok">Tiktok</span></label></div></div><div class="sf-block"
id="blockUmmyInfo"><label><input type="checkbox" id="showUmmyInfo"
checked="1"> <span data-i18n="optionsShowUmmyInfo">Show Ummy info
popup</span></label> <label><input type="checkbox" id="showUmmyBtn"
checked="1"> <span data-i18n="optionsShowUmmyBtn">Show the Ummy
button</span></label></div><div class="sf-block sf-browser sf-userscript"
style="display: none;" id="blockGmNativeDownload"><label><input type="checkbox"
id="gmNativeDownload" checked="0"> <span data-
i18n="optionsGmNativeDownload">Advanced download mode</span></label></div><div
class="sf-block" id="blockSovetnikEnabled"><label><input type="checkbox"
id="sovetnikEnabled" checked="1"> <span data-
i18n="optionsSovetnikEnabled">Enable sovetnik</span></label></div><div class="sf-
block" id="blockAviaBar"><label><input type="checkbox" id="aviaBarEnabled"
checked="1"> <span data-i18n="optionsAviaBarEnabled">Enable
aviaBar</span></label></div><div class="sf-block" id="sortDownloads"></div><div
class="sf-clear"></div></form></div>',i.optionsScripts=[function(e){!function(e)
{var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:
{}};return e[r].call(o.exports,o,o.exports,n),o.l=!
0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,
{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return
e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=20)}([function(e,t)
{e.exports=n(14)},function(t,n,r){var o=e;n.a=o},function(e,t)
{e.exports=n(5)},function(e,t){e.exports=n(19)},,,function(e,t)
{e.exports=n(44)},function(e,t){e.exports=n(35)},function(e,t)
{e.exports=n(45)},,function(e,t,n){var
r=n(8),o=n(18);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var
i,a=0,s={injectType:"lazyStyleTag",insert:"head",singleton:!
1},u={};u.locals=o.locals||{},u.use=function(){return a++||
(i=r(o,s)),u},u.unuse=function(){a>0&&!--
a&&(i(),i=null)},e.exports=u},function(e,t){e.exports=n(112)},,function(e,t)
{e.exports=n(60)},function(e,t,n){var
r=n(8),o=n(19);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var
i,a=0,s={injectType:"lazyStyleTag",insert:"head",singleton:!
1},u={};u.locals=o.locals||{},u.use=function(){return a++||
(i=r(o,s)),u},u.unuse=function(){a>0&&!--
a&&(i(),i=null)},e.exports=u},function(e,t){e.exports=n(61)},,,function(e,t,n)
{n.r(t);var r=n(6),o=n.n(r)()(!1);o.push([e.i,".sf-options-body{background-
color:#e9eaf0;font-family:sans-serif;font-size:small}.sf-options-
body.loading>*{visibility:hidden}.sf-options-body .sf-options-container{background-
color:#f6f6f9;border:1px solid #cacdd9;border-radius:7px;width:700px;margin:12px
auto;padding:15px}.sf-options-body .sf-options-container h1{font-family:sans-
serif;font-size:1.3em;margin:0 0 1.3em 0}.sf-options-body .sf-options-container
div{display:block}.sf-options-body .sf-options-container
form{margin:0;padding:0}.sf-options-body .sf-options-container
label{display:block;margin:.2em 0;padding:0}.sf-options-body .sf-options-
container .sf-inline label{display:inline}.sf-options-body .sf-options-
container .sf-clear{clear:both;height:0;font-size:0;line-height:0}.sf-options-
body .sf-options-container .sf-block{border-top:1px solid #dfe1e8;padding:1.5em 0 0
0;margin:1.5em 0 0 0;min-width:160px}.sf-options-body .sf-options-container .sf-
browser{display:none}.sf-options-body .sf-options-container .sf-title{font-
weight:700;margin-bottom:.5em}.sf-options-body .sf-options-container .sf-
module{font-weight:700;margin-top:1em}.sf-options-body .sf-options-container .sf-
module:first-child{margin-top:0}.sf-options-body .sf-options-container .sf-
module_options{font-weight:400;margin-left:2em}.sf-options-popup{z-
index:9999;display:block;float:none;position:fixed;margin:0;padding:0;visibility:hi
dden;color:#000;background:#fff;border:3px
solid #c0cad5;border-radius:7px;overflow:auto}.sf-options-popup .sf-options-
body{display:block;float:none;position:relative;overflow:auto;margin:0;padding:10px
15px;background:#fff}.sf-options-popup .sf-options-body .sf-options-
container{background-color:#fff;border:none;font:13px/1 Arial,Helvetica,sans-
serif;width:580px;margin:0;padding:9px;text-align:left}.sf-options-popup img.sf-
close{position:absolute;top:10px;right:15px;opacity:.5;cursor:pointer}.sf-options-
popup img.sf-close:hover{opacity:.9}",""]),t.default=o},function(e,t,n){n.r(t);var
r=n(6),o=n.n(r)()(!1);o.push([e.i,'.sf-block div.sf-table{display:table!
important;width:100%}.sf-block div.sf-table-row,.sf-block div.sf-table-row-
head,.sf-block form.sf-table-row{display:table-row!important}.sf-block .sf-table-
row:hover{display:table-row!important;background:#ebffe8}.sf-block div.sf-table-
row-head{background:#00bf80;color:#fff}.sf-block div.sf-table-row-head .sf-table-
cell{border:1px solid #01ab73}.sf-block div.sf-table-cell{display:table-cell!
important;border:1px solid #e8e9eb;padding:10px;width:25%;word-break:break-
all;vertical-align:middle}.sf-block div.sf-table-body{display:table-row-group!
important}.sf-block .sf-group-buttons{margin-top:15px;margin-bottom:65px}.sf-
block .sf-btn{float:left;padding:5px;cursor:pointer;font-weight:700;font-
size:12px;background:#e9eaf0;border:1px solid #c1c1c7;border-radius:4px;margin-
right:5px}.sf-block .sf-badge{padding:3px;float:left;margin-
right:7px;background:#536760;border-radius:4px;color:#fff;margin-bottom:4px}.sf-
block .sf-input{padding:4px;border:1px solid #d0c6c6;border-
radius:4px;width:90%}.sf-block .sf-disabled{opacity:.4;pointer-events:none}.sf-
block .text-muted{opacity:.6}.sf-block .div-
hover{position:absolute;bottom:45px;background:#484444;padding:5px;border-
radius:6px;min-width:32px;text-align:center;font-size:12px;word-break:break-
word}.sf-block .div-hover::after{content:"
";position:absolute;top:100%;left:50%;margin-left:-10px;border-width:6px;border-
style:solid;border-color:#2d2b2b transparent transparent transparent}.sf-
block .hide{display:none!important}.sf-block .show{display:block!
important}',""]),t.default=o},function(e,t,n){n.r(t);var
o=n(10),i=n.n(o),a=n(1),s=n(3),u=n.n(s),l=n(13),c=n.n(l),d=n(2),f=n(0),p=n.n(f),m=n
(14),h=n.n(m),v=n(7),b=n.n(v),y=n(11),A=n.n(y),k={isEnabled:!1,groups:
[{dir:"pictures",formats:["jpg","jpeg","png","gif","svg","bmp","ico","webp"]},
{dir:"music",formats:["mp3","aac","wav","ogg","flac","wma","m4a","m4p"]},
{dir:"videos",formats:
["mkv","avi","3gp","3g2","mov","flv","mp4","m4v","mpg","mpeg","webm","ogv"]}]};func
tion w(e,t,n){a.a.sendMessage({action:"track",t:"event",ec:e,ea:t,el:n,tid:"UA-
181742122-1"})}var x={groups:[],isEnabled:!
1},_="initOption",S=[_,"startEdit"];function C(e,t){var n,o,i=function(e,t)
{switch(t.type){case _:return w("menu","click","settings"),
{groups:t.groups,isEnabled:t.isEnabled};case"toggleEnable":return
w("settings","sort_downloads",t.isEnabled?"check":"uncheck"),j(j({},e),{},
{isEnabled:t.isEnabled});case"resetOption":return
w("sort_downloads","click","reset"),j(j({},k),{},
{isEnabled:e.isEnabled});case"addItem":return
w("sort_downloads","click","add"),j(j({},e),{},{groups:[].concat(Object(r.a)
(e.groups),[{dir:"my-folder",formats:[]}])});case"removeItem":return
e.groups[t.id]&&w("sort_downloads","delete",e.groups[t.id].dir),j(j({},e),{},
{groups:Object(r.a)(e.groups.filter((function(e,n){return n!
==t.id})))});case"startEdit":return
e.groups[t.id]&&w("sort_downloads","edit",e.groups[t.id].dir),j({},e);case"saveItem
":var n=e.groups.map((function(e,n){if(t.id===n){t.dir!
==e.dir&&w("sort_downloads","rename_folder","".concat(e.dir,"
").concat(t.dir));return
t.formats.length===e.formats.length&&t.formats.every((function(t){return
e.formats.includes(t)}))||w("sort_downloads","add_format","".concat(t.dir,",
").concat(e.formats.join(" "),", ").concat(t.formats.join(" "))),
{formats:t.formats,dir:t.dir}}return j({},e)}));return j(j({},e),{},
{groups:n});default:return e}}(e,t);return S.includes(t.type)||
(n=i.isEnabled,o=i.groups,a.a.sendMessage({action:"updateOption",key:"sortDownloads
",value:{isEnabled:n,groups:o}})),i}var
I=n(15),O=n.n(I),M=p.a.createContext(),L={marginBottom:15},E=p.a.memo((function(e)
{var t=e.options;O()(h.a);var n=p.a.useReducer(C,x),r=Object(g.a)
(n,2),o=r[0],i=r[1],s=p.a.useCallback((function(e)
{e.preventDefault(),i({type:"addItem"})}),[]),u=p.a.useCallback((function(e)
{e.preventDefault(),i({type:"resetOption"})}),[]),l=p.a.useCallback((function(e)
{i({type:"toggleEnable",isEnabled:e.target.checked})}),[]);return
p.a.useMemo((function(){i({type:_,groups:t.groups,isEnabled:t.isEnabled})}),
[]),p.a.createElement(M.Provider,{value:
{state:o,dispatch:i}},p.a.createElement("div",
{style:L},p.a.createElement("label",null,p.a.createElement("input",
{type:"checkbox",onClick:l,checked:o.isEnabled?
1:0}),p.a.createElement("span",null,"Save Management (Sort files by
directories)"))),p.a.createElement("div",{className:b()("sf-table",!
o.isEnabled&&"sf-disabled")},p.a.createElement("div",{className:"sf-table-row-
head"},p.a.createElement(A.a,{className:"sf-table-
cell",hoverText:a.a.i18n.getMessage("optionsDirectory")},"Directory"),p.a.createEle
ment(A.a,{className:"sf-table-
cell",hoverText:a.a.i18n.getMessage("optionsFormats")},"Formats"),p.a.createElement
("div",{className:"sf-table-cell"},"Actions")),p.a.createElement("div",
{className:"sf-table-body"},o.groups.map((function(e,t){return p.a.createElement(P,
{group:e,id:t,key:t.toString()})})))),p.a.createElement("div",{className:b()("sf-
group-buttons",!o.isEnabled&&"sf-disabled")},p.a.createElement("button",
{className:"sf-btn",onClick:s},"Add"),p.a.createElement("button",{className:"sf-
btn",onClick:u},"Reset")))})),P=p.a.memo((function(e){var
t=e.id,n=e.group,r=p.a.useContext(M).dispatch,o=p.a.useState(!1),i=Object(g.a)
(o,2),a=i[0],s=i[1],u=p.a.useCallback((function(e)
{e.preventDefault(),e.stopPropagation(),r({type:"removeItem",id:t})}),
[]),l=p.a.useCallback((function(e){e.preventDefault(),e.stopPropagation(),s(!1)}),
[]),c=p.a.useCallback((function(e)
{e.preventDefault(),e.stopPropagation(),r({type:"startEdit",id:t}),s(!0)}),
[]),d=p.a.useCallback((function(e){e.preventDefault(),e.stopPropagation();var
n=e.target,o=/[.,!:;\/_+=']/g,i=n.elements.dir.value,a=n.elements.formats.value;i=i
.replace(o,""),a=a.replace(o,"").split("
").filter(Boolean),r({type:"saveItem",id:t,dir:i,formats:a}),s(!1)}),
[]),f=p.a.useMemo((function(){return 0===n.formats.length}),[n]);return
p.a.createElement("form",{className:"sf-table-
row",onSubmit:d},p.a.createElement("div",{className:"sf-table-
cell"},p.a.createElement(T,
{name:"dir",input:n.dir,editable:a,type:1})),p.a.createElement("div",
{className:"sf-table-cell"},(a||!f)&&p.a.createElement(T,
{name:"formats",input:n.formats,editable:a,type:0}),!
a&&f&&p.a.createElement("span",{className:"text-muted"},"No types
assigned")),p.a.createElement("div",{className:"sf-table-cell"},!
a&&p.a.createElement("div",null,p.a.createElement("button",{className:"sf-
btn",onClick:c},"Edit"),p.a.createElement("button",{className:"sf-
btn",onClick:u},"Delete")),a&&p.a.createElement("div",null,p.a.createElement("butto
n",{className:"sf-btn",type:"submit"},"Save"),p.a.createElement("button",
{className:"sf-btn",onClick:l},"Cancel"))))})),T=p.a.memo((function(e){var
t=e.name,n=e.input,r=e.editable,o=e.type;return
p.a.createElement("div",null,r&&p.a.createElement("input",
{type:"text",name:t,className:"sf-input",value:0===o?n.join(" "):n}),!
r&&0===o&&n.map((function(e){return p.a.createElement("div",{className:"sf-
badge"},e)})),!r&&1===o&&p.a.createElement("div",null,n))})),D=E;i.a.use();var
N=[];a.a.onDestroy.addListener((function(){i.a.unuse(),N.forEach((function(e)
{return e()}))})),function(e){e=e||document.body;var t={},n=function(t,n){var
r=e.querySelector("#".concat(t));r&&(r.style.display=n?"none":"")},r=function(e)
{var t=e.target;a.a.sendMessage({action:"updateOption",key:t.id,value:t.checked?
1:0})},o=function(){var o,i,s,l;for(i=0,s=(l=e.querySelectorAll("*[data-
i18n]")).length;i<s;i++)
(o=l[i]).textContent=a.a.i18n.getMessage(o.dataset.i18n);t.hasSovetnik||
n("blockSovetnikEnabled",!0),t.hasAviaBar||n("blockAviaBar",!0),t.showUmmyItem||
n("blockUmmyInfo",!0);var f=u.a.create("div",{id:"blockFfmpegEnabled",class:"sf-
block",append:[u.a.create("label",{append:[u.a.create("input",
{type:"checkbox",id:"ffmpegEnabled",checked:!
1}),String.fromCharCode(160),u.a.create("span",{text:"Converter for ffmpeg (alpha
version)"})]})]}),p=e.querySelector(".sf-options-container .sf-
clear");for(p.parentNode.insertBefore(f,p),a.a.isFirefox&&function(){var
t="blockSaveAsDialogEnabled";if(!e.querySelector("#".concat(t))){var
n=u.a.create("div",{id:t,class:"sf-block",append:[u.a.create("label",{append:
[u.a.create("input",{type:"checkbox",id:"saveAsDialog",checked:!
1}),String.fromCharCode(160),u.a.create("span",
{text:a.a.i18n.getMessage("optionsSaveAsDialog")})]})]}),r=e.querySelector(".sf-
options-container .sf-block");r.parentNode.insertBefore(n,r)}}
(),i=0,s=(l=e.querySelectorAll('form input[type="checkbox"]')).length;i<s;i++)
(o=l[i]).id&&void 0!==t[o.id]&&(o.checked=!!t[o.id],o.addEventListener("change",r,!
1));if(a.a.isGM){for(i=0,s=(l=e.querySelectorAll(".sf-browser.sf-
userscript")).length;i<s;i++)(o=l[i]).style.display="block";if("undefined"!=typeof
GM_download){var
m=e.querySelector("#blockGmNativeDownload");m&&(m.style.display="block")}}if(t.sort
Downloads){var h=c()(Object(d.createElement)(D,
{options:t.sortDownloads}),e.querySelector("#sortDownloads"));N.push(h)}};a.a.callF
n("getPreferences").then((function(n)
{t=n,o(),e.classList.remove("loading")})),setTimeout((function()
{e.classList.remove("loading")}),1e3)}(a.a.container)}])}],i.isYoutube=/
youtube\.com/.test(location.href),i}return Object(s.a)(o,
[{key:"getPageContent",value:function(){return this.optionsPage}},
{key:"getPageScripts",value:function(){return this.optionsScripts}},
{key:"createPageContainer",value:function(){var
e=this;this.destroyContainer();var t=document.body.clientHeight||
window.innerHeight;t>600&&(t=600);var
n=document.createElement("div");n.classList.add("sf-options-
popup"),n.style.maxWidth="".concat(640,"px"),n.style.maxHeight="".concat(t,"px"),th
is.containerNode=n;var r=document.createElement("div");r.classList.add("sf-options-
body"),r.innerHTML=this.getPageContent(),n.appendChild(r);var
o=document.createElement("img");o.classList.add("sf-close"),o.src="data:image/
png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAWUlEQVQ4y2NgGHHAH4j1sYjr
Q+WIAvFA/B+I36MZpg8V+w9VQ9Al/
5EwzDBkQ2AYr8uwaXiPQ0yfkKuwGUayIYQMI8kQqhlEFa9RLbCpFv1US5BUzSLDBAAARN9OlWGGF8kAAAAA
SUVORK5CYII=",o.alt="x",o.width=18,o.height=18,o.addEventListener("click",
(function(t)
{t.preventDefault(),e.bundle.closeOptions()})),r.appendChild(o),document.body.appen
dChild(n),setTimeout((function(){var t=Math.floor((window.innerWidth-
n.offsetWidth)/2),r=Math.floor((window.innerHeight-n.offsetHeight)/
2);r<0&&(r=0),t<0&&(t=0),e.isYoutube&&r<92&&(r=92,n.style.height=n.offsetHeight-r-
10+"px"),Object.assign(n.style,
{top:r+"px",left:t+"px",visibility:"visible"})}));document.addEventListener("click"
,(function t(r){var o=r.target;o===n||n.contains(o)||
(document.removeEventListener("click",t,!1),e.bundle.closeOptions())}),!1)}}]),o}
(E),N=function(){function e(){Object(a.a)(this,e),this.listeners=[]}return
Object(s.a)(e,[{key:"addListener",value:function(e){-
1===this.listeners.indexOf(e)&&this.listeners.push(e)}},
{key:"dispatch",value:function(){for(var e=arguments.length,t=new
Array(e),n=0;n<e;n++)t[n]=arguments[n];this.listeners.forEach((function(e)
{e.apply(void 0,t)}))}},{key:"hasListener",value:function(e){return-1!
==this.listeners.indexOf(e)}},{key:"hasListeners",value:function(){return
this.listeners.length>0}},{key:"removeListener",value:function(e){var
t=this.listeners.indexOf(e);-1!==t&&this.listeners.splice(t,1)}}]),e}
(),F=Object(k.default)("mono"),B=function(){function e(){Object(a.a)
(this,e),this.onDestroy=new N,this._lastErrorFired=!1,this._lastError=null}return
Object(s.a)(e,[{key:"lastError",get:function(){return this._lastErrorFired=!
0,this._lastError},set:function(e){this._lastErrorFired=!e,this._lastError=e}},
{key:"clearLastError",value:function(){this._lastError&&!
this._lastErrorFired&&F.error("Unhandled mono.lastError
error:",this.lastError),this._lastError=null}},
{key:"unimplemented",value:function(){throw new Error("Unimplemented")}},
{key:"destroy",value:function(){this.onDestroy.dispatch()}}]),e}();function R(e)
{var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var q=function(e){return
function(e){Object(c.a)(n,e);var t=R(n);function n(){return Object(a.a)
(this,n),t.apply(this,arguments)}return Object(s.a)(n,
[{key:"initMessages",value:function()
{this.sendMessage=this.transport.sendMessage.bind(this.transport),this.sendMessageT
oActiveTab=this.transport.sendMessageToActiveTab.bind(this.transport),this.onMessag
e={addListener:this.transport.addListener.bind(this.transport),hasListener:this.tra
nsport.hasListener.bind(this.transport),hasListeners:this.transport.hasListeners.bi
nd(this.transport),removeListener:this.transport.removeListener.bind(this.transport
)}}}]),n}(e)},z=n(21),U=function(e,t){for(var
n=t.split("."),r=n.pop();n.length;)e=e[n.shift()];return{scope:e,endPoint:r}};funct
ion V(e){var t=function(){if("undefined"==typeof Reflect||!
Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof
Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var
H=n(63),W=Object(k.default)("mono:callFnListener");function G(e){var t=function()
{if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var Q=function(e){return
function(e){Object(c.a)(n,e);var t=G(n);function n(){return Object(a.a)
(this,n),t.apply(this,arguments)}return n}(e)};function Y(e){var t=function()
{if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}function J(e){var
t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var K=function(e){Object(c.a)
(n,e);var t=J(n);function n(){return Object(a.a)
(this,n),t.apply(this,arguments)}return n}(function(e){return function(e)
{Object(c.a)(n,e);var t=Y(n);function n(){return Object(a.a)
(this,n),t.apply(this,arguments)}return Object(s.a)(n,
[{key:"openTab",value:function(e,t){this.unimplemented()}}]),n}(Q(e))}(function(e)
{return function(e){Object(c.a)(n,e);var t=V(n);function n(){var e;return
Object(a.a)(this,n),(e=t.call(this)).remote={mono:Object(z.a)
(e)},e.callFnListener=e.callFnListener.bind(Object(z.a)(e)),e}return Object(s.a)(n,
[{key:"initMessages",value:function(){l(Object(f.a)
(n.prototype),"initMessages",this).call(this),this.onMessage.addListener(this.callF
nListener)}},{key:"responseFn",value:function(e,t){var
n=this,r=Promise.resolve().then((function(){var
t=U(n.remote,e.fn),r=t.scope,o=t.endPoint,i=e.args||[];return
r[o].apply(r,i)}));return this.responsePromise(r,t)}},
{key:"responsePromise",value:function(e,t){return e.then((function(e)
{t({result:e})}),(function(e){t({err:H(e)})})).catch((function(e)
{W.error("responsePromise error",e)})),!0}},
{key:"callFnListener",value:function(e,t,n){switch(e&&e.action){case"callFn":return
this.responseFn(e,n),!0}}},{key:"destroy",value:function()
{this.onMessage.removeListener(this.callFnListener),l(Object(f.a)
(n.prototype),"destroy",this).call(this)}}]),n}(e)}(q(B)))),Z=Object(k.default)
("mono:userscriptStorage"),X=function(){function e(t){Object(a.a)
(this,e),this.mono=t,this.onChanged=new N}return Object(s.a)(e,
[{key:"handleChange",value:function(e,t){throw new Error("handleChange is not
supported")}},{key:"wrapValue",value:function(e){return JSON.stringify({w:e})}},
{key:"unwrapValue",value:function(e){return JSON.parse(e).w}},
{key:"get",value:function(e,t){var n=this,r={},o={},i=GM_listValues();e||
(e=i),Array.isArray(e)||(o=e,e=Object.keys(e)),e.forEach((function(e){var t=!
1,a=null;try{-1!==i.indexOf(e)&&(a=n.unwrapValue(GM_getValue(e)),t=!0)}catch(t)
{Z.error("Parse key (".concat(e,") error"))}!t&&o.hasOwnProperty(e)&&(a=o[e],t=!
0),t&&(r[e]=a)})),t(r)}},{key:"set",value:function(e,t){var
n=this,r=Object.keys(e);this.get(r,(function(o){r.forEach((function(t)
{GM_setValue(t,n.wrapValue(e[t]))})),n.handleChange(o,e),t&&t()}))}},
{key:"remove",value:function(e,t){var n=this;this.get(e,(function(r)
{e.forEach((function(e){GM_deleteValue(e)})),n.handleChange(r,{}),t&&t()}))}},
{key:"clear",value:function(e){this.remove(GM_listValues(),e)}}]),e}(),
$=function(e){return e&&JSON.parse(JSON.stringify(e))};function ee(e){var
t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var te=Object(k.default)
("mono:transportWithResponse"),ne=function(){},re=function(e){Object(c.a)(n,e);var
t=ee(n);function n(e){var r;return Object(a.a)(this,n),
(r=t.call(this)).transportId=String(parseInt(1e3*Math.random(),10)),r.destroyError=
null,r.isListen=!1,r.transport=e,r.listen=r.listen.bind(Object(z.a)(r)),r}return
Object(s.a)(n,[{key:"callListeners",value:function(e,t,n){var r=null;return
this.listeners.forEach((function(o){try{var i=o(e,t,n);!0===i&&(r=i)}catch(e)
{te.error("Error in event handler for mono.onMessage:",e)}})),r}},
{key:"listen",value:function(e,t){var n,r,o,i=this;e.transportId!
==this.transportId&&(t?(r=function(n,r){if(i.destroyError)te.warn("Send response is
skip cause:",i.destroyError);else if(e._responseFired)te.warn("Send response is
skip cause: Already fired");else{e._responseFired=!0,e._forceResponse=r;try{t($
(n))}catch(e){te.warn("Send response error",e)}}},o=!1,n=function(){o||(o=!
0,r.apply(void 0,arguments))}):n=ne,!0===this.callListeners(e.message,e.sender||
{},n)?e._asyncResponse=!0:e._responseFired||setTimeout((function()
{e._responseFired||e._asyncResponse||n(void 0,!0)}),1))}},
{key:"startListen",value:function(){this.isListen||(this.isListen=!
0,this.transport.addListener(this.listen))}},{key:"stopListen",value:function()
{this.isListen&&(this.isListen=!1,this.transport.removeLi
stener(this.listen))}},{key:"addListener",value:function(e){l(Object(f.a)
(n.prototype),"addListener",this).call(this,e),this.listeners.length>0&&this.startL
isten()}},{key:"removeListener",value:function(e){l(Object(f.a)
(n.prototype),"removeListener",this).call(this,e),0===this.listeners.length&&this.s
topListen()}},{key:"getRawMessage",value:function(e)
{return{transportId:this.transportId,message:$(e),sender:{url:location.href}}}},
{key:"sendMessage",value:function(e,t){if(this.destroyError)throw
this.destroyError;var n=this.getRawMessage(e,t);this.transport.sendMessage(n,t)}},
{key:"destroy",value:function(){this.destroyError=new Error("Transport is
destroyed"),this.listeners.splice(0),this.stopListen()}}]),n}(N),oe=function(e)
{Object(c.a)(n,e);var t=ee(n);function n(){return Object(a.a)
(this,n),t.apply(this,arguments)}return Object(s.a)(n,
[{key:"sendMessageToActiveTab",value:function(e,t){if(this.destroyError)throw
this.destroyError;var
n=this.getRawMessage(e,t);this.transport.sendMessageToActiveTab(n,t)}}]),n}
(re),ie=re,ae=Object(k.default)("mono:gmStorage"),se=function(){function e(t)
{Object(a.a)(this,e),this.mono=t,this.onChanged=new N}return Object(s.a)(e,
[{key:"handleChange",value:function(e,t){throw new Error("handleChange is not
supported")}},{key:"wrapValue",value:function(e){return JSON.stringify({w:e})}},
{key:"unwrapValue",value:function(e){return JSON.parse(e).w}},
{key:"get",value:function(e,t){var n=this;GM.listValues().catch((function(e){return
ae.error("Get values error",e),[]})).then((function(r){var o={},i={};return e||
(e=r),Array.isArray(e)||(i=e,e=Object.keys(e)),Promise.all(e.map((function(e){var
t=!1,a=null;return Promise.resolve().then((function(){if(-1!==r.indexOf(e))return
GM.getValue(e).then((function(e){a=n.unwrapValue(e),t=!0}))})).catch((function(t)
{ae.error("Parse key (".concat(e,") error"),t)})).then((function(){!
t&&i.hasOwnProperty(e)&&(a=i[e],t=!0),t&&(o[e]=a)}))}))).then((function()
{t(o)}))}))}},{key:"set",value:function(e,t){var
n=this,r=Object.keys(e);this.get(r,(function(o){Promise.all(r.map((function(t)
{return GM.setValue(t,n.wrapValue(e[t])).catch((function(e){ae.error("Set item
(".concat(t,") error"),e)}))}))).then((function()
{n.handleChange(o,e),t&&t()}))}))}},{key:"remove",value:function(e,t){var
n=this;this.get(e,(function(r){Promise.all(e.map((function(e){return
GM.deleteValue(e).catch((function(t){ae.error("Remove key (".concat(e,")
error"),t)}))}))).then((function(){n.handleChange(r,{}),t&&t()}))}))}},
{key:"clear",value:function(e){var t=this;GM.listValues().catch((function(e){return
ae.error("Get values error",e),[]})).then((function(n){return
t.remove(n,e)}))}}]),e}();function ue(e){var t=function(){if("undefined"==typeof
Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!
1;if("function"==typeof Proxy)return!0;try{return
Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!
0}catch(e){return!1}}();return function(){var n,r=Object(f.a)(e);if(t){var
o=Object(f.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var le=function(e){return
function(e){Object(c.a)(n,e);var t=ue(n);function n(){return Object(a.a)
(this,n),t.apply(this,arguments)}return Object(s.a)(n,
[{key:"get",value:function(e,t){if(void 0===e&&(e=null),"string"==typeof
e&&(e=[e]),Array.isArray(e)&&e.forEach((function(e){if("string"!=typeof e)throw new
Error("Incorrect key type")})),"object"!=typeof e)throw new Error("Incorrect keys
type");l(Object(f.a)(n.prototype),"get",this).call(this,e,t)}},
{key:"set",value:function(e,t){l(Object(f.a)
(n.prototype),"set",this).call(this,e,t)}},{key:"remove",value:function(e,t)
{"string"==typeof e&&(e=[e]),e.forEach((function(e){if("string"!=typeof e)throw new
Error("Incorrect key type")})),l(Object(f.a)
(n.prototype),"remove",this).call(this,e,t)}},{key:"clear",value:function(e)
{l(Object(f.a)(n.prototype),"clear",this).call(this,e)}}]),n}(e)},ce=function(e,t)
{var n={};return Object.keys(e).forEach((function(t){var r=n[t];r||
(r=n[t]={}),r.oldValue=e[t]})),Object.keys(t).forEach((function(e){var r=n[e];r||
(r=n[e]={}),r.newValue=t[e]})),Object.keys(n).forEach((function(e){var
t=n[e];t.oldValue===t.newValue&&delete n[e]})),Object.keys(n).length?
n:null};function de(e){var t=function(){if("undefined"==typeof Reflect||!
Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof
Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var fe=function(e){return
function(e){Object(c.a)(n,e);var t=de(n);function n(e){var r;return Object(a.a)
(this,n),
(r=t.call(this,e)).mono=e,r.changesListener=r.changesListener.bind(Object(z.a)
(r)),r.initChangesListener(),r}return Object(s.a)(n,
[{key:"initChangesListener",value:function(){var
e=this;this.mono.bundle.messaing.addListener("storage",this.changesListener);this.m
ono.onDestroy.addListener((function t()
{e.mono.onDestroy.removeListener(t),e.mono.bundle.messaing.removeListener("storage"
,e.changesListener)}))}},{key:"changesListener",value:function(e)
{this.onChanged.dispatch(e,"local")}},{key:"handleChange",value:function(e,t){var
n=ce(e,t);n&&this.mono.bundle.messaing.emit("storage",n)}}]),n}(e)};function pe(e)
{var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var me=Object(k.default)
("mono:pageMono"),he=function(e){return function(e){Object(c.a)(n,e);var
t=pe(n);function n(){return Object(a.a)(this,n),t.apply(this,arguments)}return
Object(s.a)(n,[{key:"initI18n",value:function(){var
e=this;this.i18n={getMessage:function(t){e.locale||
(e.locale=e.bundle.getLocale());var n=e.locale[t];return n&&n.message||""}}}},
{key:"initMessages",value:function(){var e=this;this.transport=new
oe({addListener:function(t)
{e.bundle.messaing.addListener("page",t),e.bundle.messaing.addListener("fromActiveT
ab",t)},removeListener:function(t)
{e.bundle.messaing.removeListener("page",t),e.bundle.messaing.removeListener("fromA
ctiveTab",t)},sendMessage:function(t,n){e.bundle.messaing.emit("page",t,n)||
(me.info("No one received a message"),n())},sendMessageToActiveTab:function(t,n)
{e.bundle.messaing.emit("toActiveTab",t,n)||(me.info("No one received a
message"),n())}}),l(Object(f.a)(n.prototype),"initMessages",this).call(this)}},
{key:"initStorage",value:function(){"function"==typeof GM_getValue?
this.storage=new(le(fe(X)))(this):this.storage=new(le(fe(se)))(this)}},
{key:"destroy",value:function(){l(Object(f.a)
(n.prototype),"destroy",this).call(this),this.transport.destroy()}}]),n}
(e)};function ge(e){var t=function(){if("undefined"==typeof Reflect||!
Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof
Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var ve=function(e){return
function(e){Object(c.a)(n,e);var t=ge(n);function n(){var e;return Object(a.a)
(this,n),(e=t.call(this)).isGM=!0,e}return Object(s.a)(n,
[{key:"isTM",get:function(){return!!window.chrome}}]),n}(e)};function be(e){var
t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}function ye(e){var
t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var Ae=function(e)
{Object(c.a)(n,e);var t=ye(n);function n(e){var r;return Object(a.a)(this,n),
(r=t.call(this)).bundle=e,r.initMessages(),r.initStorage(),r.initI18n(),r}return n}
(function(e){return function(e){Object(c.a)(n,e);var t=be(n);function n(){return
Object(a.a)(this,n),t.apply(this,arguments)}return Object(s.a)(n,
[{key:"openTab",value:function(e,t){t=void 0===t||!!t,"function"==typeof
GM_openInTab?GM_openInTab(e,{active:t,insert:!0}):GM.openInTab(e,t)}},
{key:"executeScript",value:function(e,t){this.bundle.executeScript(t)}},
{key:"getActiveTab",value:function(e){e({url:location.href})}}]),n}(ve(e))}
(he(K)));function ke(e){var t=function(){if("undefined"==typeof Reflect||!
Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof
Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var we=n(64),xe=function(e)
{return function(e){Object(c.a)(n,e);var t=ke(n);function n(){return Object(a.a)
(this,n),t.apply(this,arguments)}return
Object(s.a)(n,[{key:"callFn",value:function(e,t){return
this.waitPromise({action:"callFn",fn:e,args:t})}},
{key:"waitPromise",value:function(e){var t=this;return new Promise((function(n,r)
{t.sendMessage(e,(function(e){if(e){if(e.err){var o=we(e.err);return r(o)}return
n(e.result)}var i=t.lastError||new Error("Unexpected response");return
r(i)}))}))}}]),n}(e)};function _e(e){var t=function(){if("undefined"==typeof
Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!
1;if("function"==typeof Proxy)return!0;try{return
Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!
0}catch(e){return!1}}();return function(){var n,r=Object(f.a)(e);if(t){var
o=Object(f.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}function Se(e){var
t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}function Ce(e){var
t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}function Ie(e){var
t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var Oe=function(e)
{Object(c.a)(n,e);var t=Ie(n);function n(e){var r;return Object(a.a)(this,n),
(r=t.call(this)).bundle=e,r.initMessages(),r.initStorage(),r.initI18n(),r}return n}
(function(e){return function(e){Object(c.a)(n,e);var t=Ce(n);function n(){return
Object(a.a)(this,n),t.apply(this,arguments)}return n}(ve(e))}(he(function(e)
{Object(c.a)(n,e);var t=Se(n);function n(){return Object(a.a)
(this,n),t.apply(this,arguments)}return n}(function(e){return function(e)
{Object(c.a)(n,e);var t=_e(n);function n(){return Object(a.a)
(this,n),t.apply(this,arguments)}return n}(Q(e))}(xe(q(B)))))));function Me(e){var
t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}function Le(e){var
t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var Ee=function(e)
{Object(c.a)(n,e);var t=Le(n);function n(){return Object(a.a)
(this,n),t.apply(this,arguments)}return Object(s.a)(n,
[{key:"initMessages",value:function()
{this.sendMessage=this.transport.sendMessage.bind(this.transport),this.onMessage={a
ddListener:this.transport.addListener.bind(this.transport),hasListener:this.transpo
rt.hasListener.bind(this.transport),hasListeners:this.transport.hasListeners.bind(t
his.transport),removeListener:this.transport.removeListener.bind(this.transport)}}}
]),n}(function(e){return function(e){Object(c.a)(n,e);var t=Me(n);function n()
{return Object(a.a)(this,n),t.apply(this,arguments)}return n}(Q(e))}
(xe(B)));function Pe(e){var t=function(){if("undefined"==typeof Reflect||!
Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof
Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var je=function(e){return
function(e){Object(c.a)(n,e);var t=Pe(n);function n(){return Object(a.a)
(this,n),t.apply(this,arguments)}return n}(ve(e))};function Te(e){var t=function()
{if("undefined"==typeof Reflect||!Reflect.construct)return!
1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!
0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],
(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var De=Object(k.default)
("mono:contentScript"),Ne=function(e){Object(c.a)(n,e);var t=Te(n);function n(e)
{var r;return Object(a.a)(this,n),
(r=t.call(this)).bundle=e,r.initMessages(),r.initStorage(),r.initI18n(),r}return
Object(s.a)(n,[{key:"initI18n",value:function(){var
e=this;this.i18n={getMessage:function(t){e.locale||
(e.locale=e.bundle.getLocale());var n=e.locale[t];return n&&n.message||""}}}},
{key:"initMessages",value:function(){var e=this;this.transport=new
ie({addListener:function(t)
{e.bundle.messaing.addListener("toActiveTab",t)},removeListener:function(t)
{e.bundle.messaing.removeListener("toActiveTab",t)},sendMessage:function(t,n)
{e.bundle.wakeUpBackgroundPage(),t.sender.tab={url:location.href},e.bundle.messaing
.emit("fromActiveTab",t,n)||(De.info("No one received a
message"),n())}}),l(Object(f.a)(n.prototype),"initMessages",this).call(this)}},
{key:"initStorage",value:function(){"function"==typeof GM_getValue?
this.storage=new(le(fe(X)))(this):this.storage=new(le(fe(se)))(this)}},
{key:"destroy",value:function(){l(Object(f.a)
(n.prototype),"destroy",this).call(this),this.transport.destroy()}}]),n}
(je(Ee));function Fe(e){var t=function(){if("undefined"==typeof Reflect||!
Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof
Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var Be=function(e)
{Object(c.a)(r,e);var t=Fe(r);function r(e,o){var i;return Object(a.a)(this,r),
(i=t.call(this,e)).parent=o,i.popupPage='<div class="sf-menu-desc"><div
class="icon-body"><div class="icon"></div><div class="version"></div></div><div
class="title"></div><div class="desc"></div><a href="#" class="more"
target="_blank" data-i18n="readMore">Learn More</a><div class="social-block"><a
href="#" class="social-btn vk" target="_blank"></a> <a href="#" class="social-btn
fb" target="_blank"></a> <a href="#" class="social-btn ok" target="_blank"></a> <a
href="#" class="social-btn tw" target="_blank"></a> <a href="#" class="social-btn
mailru" target="_blank"></a> <a href="#" class="social-btn lj" target="_blank"></a>
<a href="#" class="social-btn gp" target="_blank"></a></div></div><div class="sf-
menu-list"><div class="item bookmarklet" data-action="downloadFromCurrentPage"><svg
class="icon" data-type="downloadFromCurrentPage" width="24px" height="20px"
viewBox="0 0 24 20" version="1.1" xmlns="http://www.w3.org/2000/svg"><path
d="M3,7.69681435 L3,15.3801087 C3,16.2322665 3.68349659,16.9230769
4.49309635,16.9230769 L16.5069036,16.9230769 C17.3300962,16.9230769
17.9976943,16.2517344 17.999994,15.3846154 L19.5,15.3846154 L19.5,13.8461538
L21,13.8461538 L21,16.9353584 C21,18.6151136 19.6529197,20 17.991212,20
L3.00878799,20 C1.34559019,20 0,18.6279132 0,16.9353584 L0,6.14156464 C0,4.46180949
1.34708027,3.07692308 3.00878799,3.07692308 L9,3.07692308 L9,4.61538462
L7.5,4.61538462 L7.5,6.15384615 L4.49309635,6.15384615 C3.66848201,6.15384615
3,6.82750977 3,7.69681435 Z M16.5,4.63388975 L16.5,0 L24,6.92307692
L16.5,13.8461538 L16.5,9.24590979 C11.3943853,9.45271984 7.21913082,11.7555356
6.22504073,14.7692308 C6.07746807,14.2224293 6,13.6564807 6,13.0769231
C6,8.59329616 10.6364812,4.92416479 16.5,4.63388975 Z" id="Share"
fill="#000000"></path></svg> <span class="label" data-
i18n="downloadFromCurrentPage">Go to SaveFrom.net</span></div><div
class="bookmarklet separator"></div><div class="item module vk odnoklassniki
facebook lm youtube dailymotion instagram rutube" data-action="updateLinks"><svg
class="icon" data-type="updateLinks" width="22px" height="24px" viewBox="0 0 22 24"
version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M21.2307692,13.7142857
C21.2307692,19.3949291 16.4780999,24 10.6153846,24 C4.75266929,24 0,19.3949291
0,13.7142857 C0,8.03364229 4.75266929,3.42857143 10.6153846,3.42857143
L10.6153846,6.85714286 C6.70690773,6.85714286 3.53846154,9.9271901
3.53846154,13.7142857 C3.53846154,17.5013813 6.70690773,20.5714286
10.6153846,20.5714286 C14.5238615,20.5714286 17.6923077,17.5013813
17.6923077,13.7142857 L21.2307692,13.7142857 L21.2307692,13.7142857 Z
M10.6153846,10.2857143 L10.6153846,0 L19.4615385,5.14285714 L10.6153846,10.2857143
Z" id="Refresh" fill="#000000"></path></svg> <span class="label" data-
i18n="updateLinks">Refresh links</span></div><div class="item
module vk odnoklassniki mailru yandexMusic" data-action="downloadMP3Files"><svg
class="icon" data-type="downloadMP3Files" width="21px" height="24px" viewBox="0 0
21 24" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M21,2.76923077
L21,17.6487288 C21,17.6487288 21,17.6487288 21,17.6487288 L21,18.4615385
L20.9068729,18.4615385 C20.723595,19.2712249 20.2716013,20.0865791
19.5669296,20.7680198 C17.9203537,22.360313 15.5176896,22.6184747
14.2004289,21.3446402 C12.8831682,20.0708056 13.1501309,17.7473503
14.7967068,16.1550571 C16.0602516,14.9331676 17.7690324,14.4969051
19.0909091,14.9356816 L19.0909091,14.9356816 L19.0909091,4.15384615
L7.63636364,6.92307692 L7.63636364,19.4948826 C7.63636364,19.4948826
7.63636364,19.4948826 7.63636364,19.4948826 L7.63636364,20.3076923
L7.5432365,20.3076923 C7.35995859,21.1173788 6.90796493,21.9327329
6.20329323,22.6141737 C4.55671732,24.2064669 2.15405328,24.4646286
0.836792552,23.190794 C-0.480468173,21.9169595 -0.213505501,19.5935041
1.43307041,18.0012109 C2.69661523,16.7793214 4.40539601,16.343059
5.72727273,16.7818354 L5.72727273,16.7818354 L5.72727273,6.46153846
L5.72727273,3.69230769 L21,0 L21,2.76923077 Z" id="Music-2"
fill="#000000"></path></svg> <span class="label" data-
i18n="downloadMP3Files">Download audio files</span></div><div class="item module vk
odnoklassniki plYoutube" data-action="downloadPlaylist"><svg class="icon" data-
type="downloadPlaylist" width="24px" height="18px" viewBox="0 0 24 18"
version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M0,0 L0,3.6
L3.42857143,3.6 L3.42857143,0 L0,0 Z M0,7.2 L0,10.8 L3.42857143,10.8
L3.42857143,7.2 L0,7.2 Z M5.14285714,0 L5.14285714,3.6 L24,3.6 L24,0 L5.14285714,0
Z M5.14285714,7.2 L5.14285714,10.8 L20.5714286,10.8 L20.5714286,7.2 L5.14285714,7.2
Z M0,14.4 L0,18 L3.42857143,18 L3.42857143,14.4 L0,14.4 Z M5.14285714,14.4
L5.14285714,18 L22.2857143,18 L22.2857143,14.4 L5.14285714,14.4 Z" id="Bullet-List"
fill="#000000"></path></svg> <span class="label" data-
i18n="downloadPlaylist">Download a playlist</span></div><div class="item module vk"
data-action="downloadPhotos"><svg class="icon" data-type="downloadPhotos"
width="24px" height="18px" viewBox="0 0 24 18" version="1.1"
xmlns="http://www.w3.org/2000/svg"><path d="M19.5,3 L21.0089096,3 C22.6582294,3
24,4.34288718 24,5.99942248 L24,15.0005775 C24,16.6556493 22.6608432,18
21.0089096,18 L2.99109042,18 C1.34177063,18 0,16.6571128 0,15.0005775 L0,5.99942248
C0,4.34435073 1.33915679,3 2.99109042,3 L7.5,3 C7.5,1.34651712 8.84187067,0
10.497152,0 L16.502848,0 C18.1583772,0 19.5,1.34314575 19.5,3 L19.5,3 Z M13.5,16.5
C16.8137087,16.5 19.5,13.8137087 19.5,10.5 C19.5,7.18629134 16.8137087,4.5 13.5,4.5
C10.1862913,4.5 7.5,7.18629134 7.5,10.5 C7.5,13.8137087 10.1862913,16.5 13.5,16.5 Z
M13.5,15 C15.9852815,15 18,12.9852815 18,10.5 C18,8.0147185 15.9852815,6 13.5,6
C11.0147185,6 9,8.0147185 9,10.5 C9,12.9852815 11.0147185,15 13.5,15 Z" id="Camera-
2" fill="#000000"></path></svg> <span class="label" data-
i18n="downloadPhotos">Download pictures</span></div><div class="module vk
odnoklassniki facebook lm separator"></div><div class="item" data-
action="showOptions"><div class="icon"></div><span class="label" data-
i18n="showOptions">Options</span></div><div class="item" data-
action="openPoll"><div class="icon"></div><span class="label" data-
i18n="openPoll">Become better</span></div><div class="item enableModule" data-
action="enableModule"><i class="sf-checkbox"><i><i></i></i></i> <span
id="disableModule" class="label" data-i18n="disableModule">Disable
module</span></div><div style="display: none;" data-action="showAboutPage"><svg
class="icon" data-type="showAboutPage" width="24px" height="24px" viewBox="0 0 16
16" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="m3.09,.719c0,.851
0,1.711 0,2.561-.67,0-1.34,0-2.01,0 1.07,1.07 2.15,2.15 3.22,3.22 0-1.93 0-3.85 0-
5.781-.42,0-.83,0-1.25,0zm1.91,0c.04,2.091 .04,4.191 .04,6.281-1.67,0-3.33,0-5,0
2.67,2.77 5.33,5.5 8,8.3 2.7-2.8 5.3-5.53 8-8.3-1.7,0-3.3,0-5,0 0-2.09 0-4.19 0-
6.281-2,0-4,0-6,0zm6.7,0c0,1.931 0,3.851 0,5.781 1.1-1.07 2.1-2.15 3.2-3.22-.7,0-
1.3,0-2,0 0-.85 0-1.71
0-2.561-.4,0-.8,0-1.2,0z"></path></svg></div></div>',i.popupScripts=[function(e){!
function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!
1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!
0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,
{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return
e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=16)}
([,function(t,n,r){var o=e;n.a=o},,function(e,t){e.exports=n(19)},,,function(e,t)
{e.exports=n(44)},,function(e,t){e.exports=n(45)},function(e,t,n){var
r=n(8),o=n(17);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var
i,a=0,s={injectType:"lazyStyleTag",insert:"head",singleton:!
1},u={};u.locals=o.locals||{},u.use=function(){return a++||
(i=r(o,s)),u},u.unuse=function(){a>0&&!--
a&&(i(),i=null)},e.exports=u},,,function(e,t){e.exports=n(65)},,,,function(e,t,n)
{n.r(t);var
r,o,i,a,s,u,l,c,d,f,p,m,h,g,v,b,y,A=n(9),k=n.n(A),w=n(1),x=n(12),_=n.n(x),S=n(3),C=
n.n(S);k.a.use(),w.a.onDestroy.addListener((function()
{k.a.unuse()})),r=w.a.container||document.body,o={},i={icons:{},activeTabInfo:
{},helperName:""},a=function(e){if(e.preventDefault(),e.stopPropagation(),!
this.classList.contains("inactive")){var
t,n,r=this.dataset.action,a=this.classList.contains("module");if("enableModule"===r
)return t=i.activeTabInfo,n=i.moduleTrigger.classList.contains("disabled")?
1:0,t.state=n,b(n,1),o[t.prefKey]=n,w.a.sendMessage({action:"viaMenu_changeState",s
tate:n?
1:0,prefKey:t.prefKey,moduleName:t.moduleName,needInclude:t.isNotResponse}),t.isNot
Response=!1,void m(t);w.a.sendMessage({action:(a?"viaMenu_":"")+r}),w.a.isGM?
w.a.bundle.buttonUi&&w.a.bundle.buttonUi.hideMenuItems():w.a.isSafari?
safari.extension.popovers[0].hide():window.close()}},s=function(e,t){for(var
n=r.querySelectorAll("div."+e),o=0;o<n.length;o++)t?
n[o].classList.remove("inactive"):n[o].classList.add("inactive")},u=function(e,t)
{if(!t)return s("module",!1);for(var
n=r.querySelectorAll("div.module"),o=0;o<n.length;o++)n[o].classList.contains(e)?
n[o].classList.remove("inactive"):n[o].classList.add("inactive")},l=function(e)
{e.preventDefault(),w.a.openTab(this.href,!0)},c=function(){for(var
e=r.querySelectorAll('a[href][target="_blank"]'),t=0,n=e.length;t<n;t+
+)e[t].removeEventListener("click",l),e[t].addEventListener("click",l)},d=function(
e){if(-1!==["odnoklassniki"].indexOf(e.moduleName)?s("bookmarklet",!
1):s("bookmarklet",!0),"vk"===e.moduleName&&e.url.includes("m.vk.com"))return
u(e.moduleName,0);if(u(e.moduleName,e.state),e.state&&"youtube"===e.moduleName){var
t=e.url,n=/\/playlist\?|[?&]list=/.test(t);n||(n=/(user|channel|c|show)\/[^\/]+(\/
feed|\/featured|\/videos|$)/i.test(t)),n||(n=/\/(feed)\/(trending|subscriptions|
history)/i.test(t)),s("plYoutube",!!n)}},f=function(e){var t=!1,n=!1;-1!
==["savefrom"].indexOf(e.moduleName)?n="force":e.moduleName&&(n=!!e.state,t=!
0),s("enableModule",t),b(n)},p=function(e,t){if(i.activeTabInfo=e=e||{},f(e),d(e),!
t){var n=function(t){for(var n in clearTimeout(r),e.isNotResponse=!
t,t)e[n]=t[n];f(e),d(e)},r=setTimeout(n,250);w.a.sendMessage({action:"getActiveTabM
oduleInfo",url:e.url},n)}},m=function(e){i.activeTabInfo={},e?
p(e,1):w.a.sendMessage({action:"getActiveTabInfo"},p)},h=function(e,t){var
n=e.querySelector("path");if("hover"===t)n.setAttribute("fill","#ffffff");else
if("active"===t)n.setAttribute("fill","#AAAAAA");else{var r=e.getAttribute("data-
type");"downloadMP3Files"===r?
n.setAttribute("fill","#00CCFF"):"downloadPlaylist"===r?
n.setAttribute("fill","#77D1FA"):"downloadPhotos"===r?
n.setAttribute("fill","#88cb66"):"showAboutPage"===r?
n.setAttribute("fill","#ADE61B"):
("updateLinks"===r||"downloadFromCurrentPage"===r)&&n.setAttribute("fill","#CB7FBD"
)}},g=function(e,t){var
n=i.desc,r=i.deskText,o=i.descTitel,a=i.descMore;n.dataset.page=e;var
s=i.icons[e],u=n.querySelector(".icon");if(s){var l=s.cloneNode(!
0);h(l,"active"),u&&u.parentNode.replaceChild(l,u),u.style.visibility="visible"}els
e u.style.visibility="hidden";"showAboutPage"===e?
(o.textContent=w.a.i18n.getMessage("aboutTitle"),r.textContent="",r.appendChild(C.a
.create(document.createDocumentFragment(),{append:[C.a.create("p",
{text:w.a.i18n.getMessage("aboutDescription")}),C.a.create("a",{href:"http://
savefrom.net/
faq.php#supported_resourses",target:"_blank",text:w.a.i18n.getMessage("aboutSupport
ed"),style:{display:"block"}}),C.a.create("a",{href:"http://savefrom.net/user.php?
helper="+i.helperName,target:"_blank",text:w.a.i18n.getMessage("homePage"),style:
{display:"block"}})]})),a.style.display="none"):
(o.textContent=t,r.textContent=w.a.i18n.getMessage("menu"+_()
(e))||"",a.style.display="block"),w.a.isSafari&&c()},v=function(){!function()
{for(var e=r.querySelectorAll("*[data-i18n]"),t=0,n=e.length;t<n;t++){var
o=e[t],i=o.dataset.i18n;o.textContent=w.a.i18n.getMessage(i),o.classList.contains("
label")&&(o.title=w.a.i18n.getMessage(i))}}(),i.descMore.href="http://
savefrom.net/user.php?helper="+i.helperName;for(var e=r.querySelectorAll("div[data-
action]"),t=0;t<e.length;t++){var
n=e[t].querySelector("svg");n&&(i.icons[e[t].dataset.action]=n,h(n)),"none"!
==e[t].style.display&&C.a.create(e[t],{on:[["click",a],["mouseenter",function(){var
e=this.dataset.action,t=i.icons[e];t&&h(t,"hover");var
n=this.querySelector("span"),r=n&&n.textContent||"";g(e,r)}],
["mouseleave",function(){var e=this.dataset.action,t=i.icons[e];t&&h(t)}]]})}!
function(){var
e="http://savefrom.net/user.php",t=encodeURIComponent(e),n=encodeURIComponent("http
://savefrom.net/img/
icon_100.png"),o=encodeURIComponent(w.a.i18n.getMessage("extName")),i=encodeURIComp
onent(w.a.i18n.getMessage("socialDesc")),a={vk:
{network:"vkontakte",title:w.a.i18n.getMessage("shareIn").replace("%w","VK"),href:"
http://vk.com/share.php?url="+t+"&image="+n+"&title="+o+"&description="+i},ok:
{network:"odnoklassniki",title:w.a.i18n.getMessage("shareIn").replace("%w","OK.ru")
,href:"http://www.odnoklassniki.ru/dk?
st.cmd=addShare&st.s=1&st._surl="+t+"&st.comments="+i},mailru:
{network:"mail.ru",title:w.a.i18n.getMessage("shareIn").replace("%w","Mail.ru"),hre
f:"http://connect.mail.ru/share?
url="+t+"&title="+o+"&description="+i+"&imageurl="+n},tw:
{network:"twitter",title:w.a.i18n.getMessage("shareIn").replace("%w","Twitter"),hre
f:"https://twitter.com/intent/tweet?text="+o+"&url="+t},fb:
{network:"facebook",title:w.a.i18n.getMessage("shareIn").replace("%w","Facebook"),h
ref:"http://www.facebook.com/sharer.php?
s=100&p[url]="+t+"&p[title]="+o+"&p[summary]="+i+"&p[images][0]="+n},gp:
{network:"google+",title:w.a.i18n.getMessage("shareIn").replace("%w","Google+"),hre
f:"https://plus.google.com/share?url="+t},lj:
{network:"livejournal",title:w.a.i18n.getMessage("shareIn").replace("%w","Livejourn
al"),href:"http://www.livejournal.com/update.bml?subject="+o+"&event="+i+"
"+t}};for(var s in a){var u=r.querySelector(".social-
btn."+s);u&&(u.title=a[s].title,u.href=a[s].href,u.dataset.network=a[s].network)}u.
parentNode.addEventListener("click",(function(t){var
n=t.target;if(n.classList.contains("social-btn")){var
r=n.dataset.network;w.a.sendMessage({action:"track",t:"social",st:e,sa:"share",sn:r
})}}))}
(),w.a.isSafari&&c(),g("showAboutPage"),m(),r.classList.remove("loading")},b=functi
on(e,t){t&&i.moduleTrigger.classList.add("sf-transition"),"force"===e?
i.moduleTrigger.classList.add("enableForce"):i.moduleTrigger.classList.remove("enab
leForce"),e?
(i.moduleTrigger.classList.remove("disabled"),i.moduleTrigger.nextElementSibling.te
xtContent=w.a.i18n.getMessage("disableModule")):
(i.moduleTrigger.classList.add("disabled"),i.moduleTrigger.nextElementSibling.textC
ontent=w.a.i18n.getMessage("enableModule")),"showAboutPage"!
==i.desc.dataset.page&&g("enableModule",e?
w.a.i18n.getMessage("disableModule"):w.a.i18n.getMessage("enableModule"))},y={tutor
ialSlides:null,show:function(){if(o.onceShowYtTutorial){var e=function()
{w.a.sendMessage({action:"updateOption",key:"onceShowYtTutorial",value:o.onceShowYt
Tutorial=0}),w.a.sendMessage({action:"setIconBadge",text:""})};return
y.tutorialSlides?y.tutorialSlides.show({container:r,width:482,height:404+(w.a.isGM?
2:0),padding:4,slideList:y.tutorialSlides.getYtSlideList("black"),onClose:e,trackId
:"Menu",boxStyle:{backgroundColor:"transparent"},containerStyle:
{borderRadius:"3px",backgroundColor:"rgba(0, 104, 255,
0.9)",padding:0,margin:"4px",boxShadow:"none"},slideStyle:
{backgroundColor:"transparent",borderRadius:0},leftBtnStyle:
{top:"4px",left:"4px"},rightBtnStyle:{top:"4px",right:"4px"},closeBtnStyle:
{backgroundColor:"#fff",color:"rgba(0, 104, 255, 0.9)"},cssStyle:{" .sf-dots":
{paddingTop:"2px"}," .sf-dot i":{backgroundColor:"#fff"}," .sf-dot.active i":
{backgroundColor:"transparent",borderRadius:"6px",margin:"-
1px",width:"6px",height:"6px",border:"2px solid #fff"}," .sf-slider-conteiner
span":{color:"#fff !important"}," .sf-slider-conteiner a":{color:"#fff !
important"}},arrowColor:"#fff",arrowColorActive:"#fff",onResize:function(e)
{e.box.style.position="absolute"},withOpacity:!0,withDelay:250,onShow:function()
{w.a.isSafari&&c(),w.a.sendMessage({action:"setIconBadge",text:"?"})}}):e()}}},setT
imeout((function()
{r.classList.remove("loading")}),1e3),i.list=r.querySelector(".sf-menu-
list"),i.desc=r.querySelector(".sf-menu-
desc"),i.moduleTrigger=r.querySelector(".sf-
checkbox"),i.descTitel=i.desc.querySelector(".title"),i.deskText=i.desc.querySelect
or(".desc"),i.descMore=i.desc.querySelector(".more"),i.list.style.height=i.list.off
setHeight+"px",w.a.sendMessage({action:"getMenuDetails"},(function(e){var
t,n,a;o=e.preferences,i.helperName=e.helperName,t=e.version,n=e.lastVersion,
(a=i.desc.querySelector(".version")).textContent="",a.appendChild(C.a.create("span"
,{text:w.a.i18n.getMessage("aboutVersion")+" "+t})),n&&n!
==t&&a.appendChild(C.a.create("a",
{text:w.a.i18n.getMessage("updateTo").replace("%d",n),href:"http://savefrom.net/
user.php?helper="+i.helperName+"&update="+t,target:"_blank"})),-
1===["en","uk","ru"].indexOf(w.a.i18n.getMessage("lang"))&&r.classList.add("no-
poll"),y.show(),v()}))},function(e,t,n){n.r(t);var r=n(6),o=n.n(r)()(!
1);o.push([e.i,".sf-menu-container{width:482px;font:12px/17px
Tahoma,Helvetica,OpenSans,sans-serif;color:#000;background-color:#fff;margin:0;box-
sizing:inherit;overflow:hidden;flex-direction:initial}.sf-menu-
container.loading>*{visibility:hidden}.sf-menu-container>*{box-sizing:inherit;flex-
direction:initial}.sf-menu-container p{font-size:12px}.sf-menu-container div.sf-
menu-desc,.sf-menu-container div.sf-menu-list{display:inline-block;vertical-
align:top;float:left}.sf-menu-container div.sf-menu-desc{width:166px;padding:20px
30px;padding-bottom:36px;color:#6a6a6a}.sf-menu-container div.sf-menu-desc a{text-
decoration:none;color:#4a90e2}.sf-menu-container div.sf-menu-desc a:not(.social-
btn):hover{text-decoration:underline}.sf-menu-container .sf-menu-
desc .icon{width:74px;height:74px;display:inline-block;background-
size:74px;background-repeat:no-repeat;background-
position:center;padding:0;margin:0}.sf-menu-container .sf-menu-
desc .version{vertical-align:top;display:inline-block;float:right;margin-right:-
30px;width:110px}.sf-menu-container .sf-menu-desc .version>a,.sf-menu-
container .sf-menu-desc .version>span{display:block}.sf-menu-container .sf-menu-
desc .icon path{fill:#ccc!important}.sf-menu-container .sf-menu-desc .title{font-
size:20px;line-height:1.2;font-weight:400;margin-top:14px;margin-bottom:16px}.sf-
menu-container .sf-menu-desc .more{position:absolute;bottom:40px}.sf-menu-container
.sf-menu-list{height:348px;width:243px;font-size:14px;padding:14px 6px;border-
left:1px solid #d8d8d8}.sf-menu-container .sf-menu-list .separator{border-top:1px
solid #d8d8d8;margin-top:10px;margin-bottom:9px;margin-left:59px}.sf-menu-container
.sf-menu-list .item{height:40px;cursor:pointer;border-radius:5px;margin-top:-
2px;margin-bottom:-2px;overflow:hidden;display:block}.sf-menu-container .sf-menu-
list .item .icon{margin:0;margin-left:18px;width:24px;height:24px;margin-
bottom:8px;margin-top:8px;float:left;display:block;padding:0}.sf-menu-
container .sf-menu-list .item .label{padding-left:18px;padding-right:18px;line-
height:40px;font-size:14px;white-space:nowrap;width:165px;display:inline-
block;text-overflow:ellipsis;overflow:hidden}.sf-menu-container .sf-menu-list .item
.label.dbl{line-height:normal;padding-top:2px;white-space:normal;height:40px}.sf-
menu-container.no-poll .sf-menu-list div[data-action=openPoll]{display:none}.sf-
menu-container.no-poll .sf-menu-list .item .icon{margin-bottom:10px;margin-
top:10px}.sf-menu-container.no-poll .sf-menu-list .item{height:44px}.sf-menu-
container.no-poll .sf-menu-list .item .label{line-height:44px}.sf-menu-
container .sf-menu-list .item:hover{background-color:#597a9e;color:#fff}.sf-menu-
container .sf-menu-list .item.inactive{opacity:.5;cursor:default}.sf-menu-container
.sf-menu-list .item.inactive .icon path{fill:#c2c2c2!important}.sf-menu-
container .sf-menu-list .item.inactive:hover{background-color:#fff;color:#000}.sf-
menu-container .sf-menu-list .icon[data-type=showAboutPage]{visibility:hidden}.sf-
menu-container .sf-menu-list .sBtn{text-decoration:none}.sf-menu-container .sf-
menu-list .sBtn:hover{text-decoration:none}.sf-menu-container .social-
block{position:absolute;bottom:20px;height:16px;cursor:default;flex-
direction:initial}.sf-menu-container .social-block .social-btn{display:inline-
block;width:16px;height:16px;background-position:center;background-repeat:no-
repeat;float:initial;margin:initial;padding:initial;list-style:initial}.sf-menu-
container .social-block .social-btn:hover{opacity:.8}.sf-menu-container .social-
block
.social-btn.vk{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA
BAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdv
qGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuM4zml1AAAAGWSURBVDhPnZDbK8NhGMfff0bGWpJ
SSi2HMkxCboTk1MghhwtiY2tNISJzaBeaaE65WEJIshvahSKTcm7MKUUOl1+/5+2nvW9ysX3rU8/
z9PlevC8zuX36xmn/QbPbj0igDnVZ5YQvVDCwg2zHVkRQh7os176BLNt6VFCXZZq9ECkb3oZrM/
CHusk9yfuFpXUsQ6TNtYv/0ju3L7kE07d5INLi3FR1YGzJh86JVbx/
fvPdf3YnuQRLbXJDpHl0jcuUxmEvUkxTCFw98H1l91hyCZZicilSmIYhL5cpp9dPOL155nPw8RXp9U7JJVh
y1ThE6vtXeIESuLzH/vEl3j6+
+L7tP5dcgiWVj0DE5FjkMqXGOgNdkRWtAwvqBSjt8Ug+SywZhEit3aOq4DPdbFPhf6m1z0s+Syjug0iNdVZ
VgZML5QlHV+oG3IZeoCu0ST7TFdqVY5hqi1vV5azvHSKzwiG5BNPmWyESZ+xGTEbTH2Kz2hGfZ5Fcgmlyuo
PxRguigbpMazQbNIbOkCanSzlEgNLRGs2GHzakmmoMvlqgAAAAAElFTkSuQmCC)}.sf-menu-
container .social-block
.social-btn.ok{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA
BAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdv
qGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuM4zml1AAAAILSURBVDhPldFPaNNQHAfwdxdaqxN
BVKQO8aIgeBJl4GkMBNlwyI5eNxBByRhTh4iXHRRcxdlNJqNOUQZD3cSpPaTgxlA2UJzS2kMnbZOuabL8bZ
p8zYtV35un/eBDyI/v95FHiJXpbHMWzy86Sz3YkqBDu8QUzxSt98dhzR/+y/
7QBU9Kw3eq8I0C3NworLdHuQzt0C6xXh+BNRcsmux3p+BZEuj4XiN80nHzKS4XCrrEnDkElv15OCxohQxWU
2348fICvLoJv+HAenOay1LEfN4Klr46FR5QFoegPj2ISioOu5oLd/
p8N5eliPk4DpacFsKwq+Rgi32oL9+md4FrKlCeBPfelCfGxH6wSvcPQMuL4SHsFF5dhvZwH5eliJHcC5Y5e
Qz5ByexNncVta+zqHyaQjbVA3niBIzxOJeliJ7YA5anFuAZMrSFEZRmLkKaFWB9ewEEf8RZustlKbJxZzdY
ysp086P5cfV1VKZ7uSxFNoZ3gZW91oLviQ7Ua8VmFVj/
+AxfhlpRvNnCZSmi3dqJzYyFZLP6exqaBH2y678cRbQbO8CyM4mw5Nk6sve6UU6Phu+
+68AY6+CyFFGvbwerlhmHU/
2J7Mg5lAZiyF2JQhIfwdVkKMmzXJYiyuC2NXUwij+ylyJY6YuiJPC75d4oyv3/dh
TtElmItav9kaI6EMGWBB1ZiLX/Au4A8snC/izyAAAAAElFTkSuQmCC)}.sf-menu-container .social-
block
.social-btn.fb{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA
BAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdv
qGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuM4zml1AAAAFJSURBVDhPlYvBK4NxGMeff8VmCUn
TettYvaWtJpmJmmJoOAlHB1syS3IQ0fYmjF5p28EOlKy0mVZ22GkXNxdZUQ7Kcb68P/1W9va+b/vU5/
J8ni8Foo/
iXKRcmo+W0YzKRtmSf7VYdS3k4Zy9a0plo2xJDGbRN32r6+BiDjfFVzw9f9b1LuehbMkxeQUjS5U3NOJbyr
JGwvgl9LRPZFCrfbPR+8cXtg4LWD/
IQZzJsE62sRT0FPxpNlZIXldgHT6B1ZeAbTTJOvWMyDCSc5Quqxp1Dx1DSz08wRT7oa4BCVrq4Q7I7Ic63f
vQ0tIbYnIkuVC/dbj22A+19+/ASI50XkRjozZxG0Zy4vKDqpHFuQkjOfGze1WjVscGjOTETvOqRmYh/
GK2r0FPTiyR+99+t2QSwp4WW6hqEkLQciVywfRO7dZvf5uw5wdeN3Dr307RWAAAAABJRU5ErkJggg==)}.s
f-menu-container .social-block
.social-btn.tw{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA
BAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdv
qGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuM4zml1AAAAHKSURBVDhPndDPSxRhHAbw9y+ZXTW
XMImQhATJk2QGCR67COGlbp3s4tm7qWiJbmVJEkYeDDos+4NKwxQq/IHFbu1uqzIz6OzOvu/
O7s7T+33d0cWWYP3CB96Z93nmHV52Z1N0DWw7qwM7DuoiO9Rl/
d945vqGQPuXQl2oQ1127XMBV1fPh7qs7aMA6V4roGPleF2tT54UMctIchezqRIGvxdwV/
L22ZUoB5lKONjMltH5Qahn0ib9zpdxdqbjpxl2OcRBhtYttXkgXIzIS+qKCdz+JNS76jFFCb0hU3UIa32fB
+kLH+KAFysxwJEHZ/i/p2/
oHJfeWapDWMtyHuTBWr4S+f+8jdsq72EXl2yQwGsdL7aPUHLdSrT23I8aKu9hgTc5eAZDRiVWe3ZMgcAr/
SRPWPNCDp4LLw08jOzjT+70Lrwpll3cWkyfZD2saT4LcmPZxr0Yx/
hXGzm6wapJZx30LybROGeqbDXWNCcX0s0lC8+3OH5ZRZi8hJTlIJywMSz/qOVxHI1BQ+XOYg3PLBD/
rAHfZAra2E9oo7vQHv2ANpGA/8keGp4eqUwtTJs5TPmD8gPnQF2mBfUe37SV8c1YqIvsaEG95y/
ECyN0UoUvcQAAAABJRU5ErkJggg==)}.sf-menu-container .social-block .social-
btn.lj{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQC
AYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAY
dEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuM4zml1AAAAF4SURBVDhPY/j//z8Dg0GYKItu+lIm/bQ/
bAYZ/5n007czaSRKgOQIYQaQQqDG2x5exf/7kmv/T0ip/e/sVf6fSSfjBjGGMAA1b/QEagZpLE3v+2+Xu/
5/UMOe/x7ZM4kyBGTAH5DNZem9/y1zN/0/euUlUPz//yt3X/xXCuwjaAgDk07azx6gAQ65a/9v2H/1//
sPH//XLzr33712///8Rff++9VuxmsIA4tOxnw799L/7uWb/585c+Z/9sSD/10qd/2fceL3/5kn/
4IxPkMYGDXDeIChfsw4rOX/jKWb/1sX7Phvkbv5f0j7IaIMARMwQxT9O/
87lAFdUH0SbEhox2GChsBNghsSOBVsAF5D9DL2YhhAiiEOeUv/s+hlALWgGQDCYEN00g+jG+JYuvW/
SfoaOMZpAAhjMwSk6f+FKXCM1wAQRjeEZANAGGQIi3bGHDm/
iSgGTOxqAhsAig2sGtExSDE2DMq1WDUQwiCbmXQzdjFqxqoAAJTWdEqr5+cQAAAAAElFTkSuQmCC)}.sf-
menu-container .social-block
.social-btn.mailru{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEU
gAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7D
AcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuM4zml1AAAAKISURBVDhPldJbSJNhHAbw9/
vmYUTiRXQXhjhn3dhyblPxLLmZE6YoOzgdU5fTeZjZtCnZYUvSZZtUWOnIeSqjsiAIuigL6YBXXUTQTTeWe
FN0wKibp/d9XZJ15cUPtv/7PP/
3+9iIwr9YoDyz9Erpf45toR3WJXLvk9WEloeQNDzYFtZhXSJtuA+JbWELjXsEwWEjXo6n48W1AwgMmZHZGf
wvx7pEYp3HHztt07gVKsGvmwTPxtIxeNqAEV8F3oT38tlMsBQ76mc38wyRmKbBxJsn8eiyGiuRRCjqjiHVe
gKmLidKXN2QGgLQNrfg04yIhdE8xJineIchYnUYTENPM79FZupFk8eB9RsEbyf28IWvx2VYCGbD3mHhmQp3
N+8wRDSMgVm+IkPkbA4U9n4eKrY3QTzkQ5zuFK768vksrbYfdwMZuHM+i3cYIupDYNbnCGwuE4ZPHsbiaBr
EsiE+F/VBJFV58G2WQG7pg7dHj7WpuOhZiC7Q0SD1lQbsbSYM9pVuLIjOmeSa4/
hOL5AbPfB5tfg4Kd08I+wxmcehVNwezoC8shU/
6eOWNTXyeUL5AObPqfgr7Kt2Y+miDHP+DH7GELF4AIyhvpqH8iyNKK+twlokBu8mdmM1Eo+noyn4cF2KewE
Fz+QbrbzDELHAC0bI7UZ44CC/vc5Rif1lVmhNVdAYjNhV6EBfZyHehxPR1VoEIc/DOwwRc+mXKEHdCv/
RbPygP+HnafpnojcvX0rClxmCFK0dQuYRCFntm3mGCDld2ELlRHKREY7GEoR6VbjQo0KNRYv43PatuSgiqN
tWhKwOuvkvmja+SFA6NrDP/
2YY2iWxGqdOyHStCmoXHWwD7cRqnLrfWEQPCw6Z+WcAAAAASUVORK5CYII=)}.sf-menu-
container .social-block
.social-btn.gp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA
BAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdv
qGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuM4zml1AAAAIfSURBVDhPldL/
SxNhHAfw54+RqY0ck2CU7OZM2bm+LKNiEShNyoaxogTJvoAWVAYJBUX9EBRREoqlY4qa1krdpWzOuVW2llv
LU2urOXVm2bu7B7x2yQofeB3P5/3w+fDccWTySpUuctXGCbBOnNhLQg0H+YkaE97YDOsi9oi95O3p/
Zh+2o53Tcfw8fEdLH+NQVyp6U+Ie1yItN6Ev7pEkprlpX3AVgryYyGJwI0z8BzSY9jCYMC2C4uxz5jno+CO
bseIkI1VFUnEPL0m35NzeFWhhaeykHILDeN3r9FbzLzolvJVyamIrCbL83MYEQakc1mNdEAi/
B7+84fpPtMi4mP8ghWuA1sknGUrPZxyOfHSrEHbDrUkEQ7Jajog7nNj0LwZA/
s0lL+xFj+XluCsKZeyVYlwUFaTwcY6pOJfEHMPYfSUBb76asxyz9FzogK9pnw4d2+S+fZhQlYTuzEP94uV6
CxnEbheT68+1HAcXdtU6N+pXuNhiVJWk16jCqKu0jx4m87RATHhlfrLNDT/
H9JjVMN79giCty9hsqMZv1ZW6JBk8DWe7WXQbdj4T2QxGsao8NFa2HzcYxS4VahEX50VKeFnWoiE0FdWgM7
iDRkRR+UePNAq0KHPhaMoF3ZBszYbrWYDvY3v4kmaZ0IeFWRF7bps/
K1FGDrjHYbncu2asz+yosTBqth2RsELkM6uy6H//
RMTI8vT8G36HPY3WFKiAfgR588AAAAASUVORK5CYII=)}.sf-menu-container .sf-
checkbox{float:left;display:block;padding-top:12px;padding-left:16px;padding-
bottom:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sf-
menu-container.no-poll .sf-checkbox{padding-top:14px}.sf-menu-container .sf-
checkbox>i{width:24px;height:14px;display:block;padding:0;border-width:1px;border-
style:solid;border-radius:8px;position:relative;border-color:#78c435;background-
color:#78c435}.sf-menu-container .sf-checkbox>i>i{display:block;background-
color:#fff;border-width:1px;border-style:solid;border-
radius:8px;height:12px;width:12px;border-color:#78c435;margin-left:10px}.sf-menu-
container .sf-checkbox.sf-transition>i>i{transition:margin-left .2s;-o-
transition:none}.sf-menu-container .inactive .sf-checkbox:not(.enableForce)>i,.sf-
menu-container .sf-checkbox.disabled>i{border-color:#be3f2e;background-
color:#fff}.sf-menu-container .inactive .sf-checkbox:not(.enableForce)>i>i,.sf-
menu-container .sf-checkbox.disabled>i>i{height:14px;width:14px;border-
color:#be3f2e;margin:-1px}",""]),t.default=o}])}],i}return Object(s.a)(r,
[{key:"getPageContent",value:function(){return this.popupPage}},
{key:"getPageScripts",value:function(){return this.popupScripts}},
{key:"createPageContainer",value:function()
{this.destroyContainer(),this.containerNode=document.createElement("div"),this.cont
ainerNode.classList.add("sf-menu-container"),this.containerNode.style.marginTop="-
24px",this.containerNode.style.width="auto",this.containerNode.style.minWidth="482p
x",this.containerNode.innerHTML=this.getPageContent(),this.parent.appendChild(this.
containerNode)}}]),r}(E),Re={menu:{initial:
{background:"#fff",borderStyle:"solid",borderWidth:"2px 0 2px
2px",borderRadius:"5px 0 0
5px",display:"none",boxSizing:"content-box",font:"13px/18px Arial,Helvetica,sans-
serif",width:"auto",height:"auto",padding:0,margin:0,overflow:"visible",position:"f
ixed",top:"50px",right:"0",textAlign:"left",WebkitTransition:"all
0.2s",transition:"all 0.2s",zIndex:99999},enabled:{borderColor:"#8dc50b"},disabled:
{borderColor:"#d0d0d0"},tag:
{display:"block",width:"10px",height:"20px",overflow:"hidden",opacity:.5},tagHover:
{width:"20px",opacity:.8},active:
{width:"auto",height:"auto",overflow:"visible",opacity:.9}},icon:{initial:
{display:"inline-block",boxSizing:"content-box",backgroundPosition:"50%
50%",backgroundRepeat:"no-
repeat",width:"16px",height:"16px",margin:0,padding:"2px",overflow:"hidden",vertica
lAlign:"middle",cursor:"pointer"},enabled:{backgroundImage:"url(data:image/
png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABqUlEQVQ4jY2SzStEURiHf2bM
l+w0SrHRZKPY+RtkYyeRspPFsEEZItLM3DCRjxofw0wyK0k+ClNGhBiEmIiwsrChZqvj/
sZcznDJ4um8532f9+3ccy5isRg0Qre2V67hxyzxnfkHm5AdDcib6SvLC9e5e5v4TujuY4Dm6A4YPc684xq8
sb6Fbq1CZkbNyU7aACVqdPhP8usGouZT7qcuLInpuFnITJ6bE6zRocuezwEdS/
B2LuO+ewXJY44dmZ795yYhM6LmWKNDlz1pn+D0o6J5FjeMfbvGx9ETg5BhjjU6dHXvQMMdMcZ9BxAy7k1DX
M/
F0J6tYSxm9wbOHJ65y9Lh4FnJvLKZfa3sQKSh5lijQ5c97EX7GnJ61nHYF4Egni0klG3jk7bXYI41bc8e9i
aP0RhArmsR+92rEP+BLnvSL3ESea1h7LoWVOEP6NDVvcTaQRQ4ZxBtCUPowRqdX/
9EUtOFwoZxbDTNQsgwx9qPV9B7mqoOFNX3Y61xAoIwZk73GfWSySFtKK7uxSph/
Jv3FQAZKgYVk0q2ir2sEuWEcSpnSjkZWt87G7sZgVx6JvgAAAAASUVORK5CYII=)"},disabled:
{backgroundImage:"url(data:image/
png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA3XAAAN1wFCKJt4
AAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSY
qIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/
rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/
SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/
qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAa
CRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4A
ISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/
g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/
qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/
Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//
wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAA
PK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/
xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/
phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGu
pE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPE
bDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwk
DhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SB
ojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRN
Y9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hn
KBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+
pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/
jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/
R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0fr
vTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/
OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/
VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmI
SZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5
WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2
N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPL
KcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/
uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/
C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/
MN8C3yLfLT8Nvnl+F30N/I/9k/3r/
0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfuj
W0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZl
nM1VidWElsSxw5LiquNm5svt/
87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/
RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+
pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/
zYnKOZarnivN7cyzytuQN5zvn//
tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6w
tVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bD
paql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/
PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/
T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/
p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/
ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz
4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/
pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/
XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/
pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/
erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/
GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/
FRgAAAiNJREFUeNqMkj+oUlEcx7/nHu/
V7lMTxaghqIgoWpIQisCmhjfloDS9QQgMHkpTODc2hS45OQRB6GCLb2hqiAIJpzB6UUhDkqi34/17rtfTon
I1ifeDs/zO5/eB8/0dwhjDqjRN+xOLxU4bhiGwVUIIhMNhsmJW/
YAfsm1bAIDnedgl8DM7BYZhjAHAdd0FpVTy383n84Wf2RD0er3L8Xj8tq7rDAAcx7EopXtbAgsAdF1ng8Hg
YDKZfEilUt8CADCbzR7quv5AkqQLAGBZlhUMBjcEjuOsBDcYY0+FEK8BVCQAyGQylel0eqhp2vHynSbnHP5
j27a5DPp4Op0eZjKZCgAQ/xZW1e12++Fw+Kq/p+v6l3Q6fW2bDfT7/
aKiKBdDoZBQFEX1PC9JCJE45xsgIUQaDoevKKUjzrlp2zbhnP8gnU4nIcvyEaU0vQQNSZJmnued9QsopcPF
YhERQuwtV911XXefMMbQbDbPJJPJN7Is38IJynXdj6PR6H4+n/+9zqDdbp9TVbWpKMqd/
w1zzt+bppnPZrO//gmx0WicTyQSL0Oh0N1dw7ZtvxuPxweFQuHnOpvtLdTr9UuxWOyFqqr3/
H3TNN9qmvaoWCx+3wh31xprtdqVaDT6PBKJ7C8/2hFj7HGpVPq6ze4UAEC1Wr0uy/
KzZWhPyuXy513cWhCNRgkAAoACCAI4lcvlbgJAq9X6BMAC4ADwAAjGmACAvwMAXX8khNE72VIAAAAASUVOR
K5CYII=)"},tag:{padding:"2px"},active:{padding:"5px"}},title:{display:"inline-
block",font:"bold 13px/18px Arial,Helvetica,sans-
serif",lineHeight:"26px",margin:0,padding:0,textAlign:"left",verticalAlign:"middle"
,cursor:"pointer"}},qe=function(){function e(t){Object(a.a)
(this,e),this.bundle=t,this.popupPageUi=null,this.mono=null,this.activeDataAttr="da
ta-sfh-active",this.id="sfh--ujs-menu",this.enabled=!0,this.active=!1,this.hover=!
1,this.move=!1,this.icon=null,this.menu=null,this.isYoutube=/
youtube\.com/.test(location.href),this.onDocumentClick=this.onDocumentClick.bind(th
is),this.onDocumentKeyDown=this.onDocumentKeyDown.bind(this)}return Object(s.a)(e,
[{key:"createMono",value:function()
{this.destroyMono(),this.mono=this.bundle.createMonoInstance("page")}},
{key:"showPopup",value:function(){this.closePopup(),this.popupPageUi=new
Be(this.bundle,this.menu),this.popupPageUi.create(),this.popupPageUi.containerNode.
setAttribute(this.activeDataAttr,"1")}},{key:"create",value:function()
{this.createMono(),this.createIcon()}},{key:"createIcon",value:function(){var
e=this,t=document.createElement("div");t.addEventListener("mouseover",(function()
{e.active||(e.hover=!
0,e.setElementsStyle("tagHover"))})),t.addEventListener("mouseout",(function()
{e.active||(e.hover=!1,e.setElementsStyle("tag"))}));var
n=document.createElement("div");n.title="".concat(this.mono.i18n.getMessage("extNam
e")," ").concat("9.41.2"),n.addEventListener("click",(function(t){if(!e.move)return
t.preventDefault(),t.stopPropagation(),0===t.button?
e.toggleMenuItems():2===t.button&&e.remove(),!1}),!
1),n.addEventListener("contextmenu",(function(t){if(!e.move)return
t.preventDefault(),t.stopPropagation(),e.remove(),!1}),!
1),this.icon=t.appendChild(n),this.menu=document.body.appendChild(t);var
r=parseInt(Re.menu.initial.top);r<0?r=0:this.isYoutube&&r<92?
r=92:r+24>parseInt(window.innerHeight)&&(r=parseInt(window.innerHeight)-
parseInt(Re.menu.tag.height)-
4),Re.menu.initial.top=r+"px",this.setElementsStyle("initial"),this.setEnabled(1),t
his.setTopPosition((function(){e.menu&&(e.showTag(),e.enableMove())}))}},
{key:"setTopPosition",value:function(e){var
t=this;this.mono.storage.get({gmIconTop:0},(function(n){"number"==typeof
n.gmIconTop&&(Re.menu.initial.top=n.gmIconTop+"px"),t.menu&&(t.menu.style.top=Re.me
nu.initial.top),e()}))}},{key:"enableMove",value:function(){var e=this,t=!
1,n=this.menu,r=void 0,o=parseInt(n.style.height)/2||
0,i=document.createElement("style");i.textContent="body {-webkit-user-select:
none;-moz-user-select: none;-o-user-select: none;user-select: none;}";var
a=function(){e.move=!
1,n.style.position=Re.menu.initial.position,n.style.WebkitTransition=Re.menu.initia
l.WebkitTransition,n.style.transition=Re.menu.initial.transition,n.style.borderStyl
e=Re.menu.initial.borderStyle,i.parentNode&&i.parentNode.removeChild(i)},s=function
(t){var r=(t.y||t.clientY)-o;"youtube"===e.isYoutube&&r<92?
r=92:r<0&&(r=0),n.style.top=Re.menu.initial.top=r+"px"},u=function(r){t=!
0,function(t){t.stopPropagation(),t.preventDefault(),e.hideMenuItems(),e.hover=!
0,e.setElementsStyle("tagHover"),e.move=!0,n.style.position="fixed";var r=t.y||
t.clientY;n.style.top=r-
o+"px",n.style.WebkitTransition="initial",n.style.transition="initial",n.style.bord
erStyle="dotted",document.body.appendChild(i)}
(r),document.body.addEventListener("mousemove",s)};n.addEventListener("dragstart",
(function(e){e.preventDefault()})),n.addEventListener("mousedown",(function(o)
{if(o.target===e.icon){t=!1,r=setTimeout(u.bind(null,o),500);var i=function e()
{clearTimeout(r),n.removeEventListener("mouseleave",e)};n.addEventListener("mousele
ave",i);document.body.addEventListener("mouseup",(function o()
{clearTimeout(r),document.body.removeEventListener("mouseup",o),n.removeEventListen
er("mouseleave",i),t&&(setTimeout(a,100),document.body.removeEventListener("mousemo
ve",s),e.mono.storage.set({gmIconTop:parseInt(Re.menu.initial.top)}))}))}}))}},
{key:"setStyle",value:function(e,t){this[e]&&Re[e]&&Re[e]
[t]&&Object.assign(this[e].style,Re[e][t])}},
{key:"setElementsStyle",value:function(e){var
t=this;e&&["menu","icon"].forEach((function(n){t.setStyle(n,e)}))}},
{key:"setEnabled",value:function(e)
{this.enabled=e,this.setElementsStyle(this.enabled?"enabled":"disabled")}},
{key:"showTag",value:function(){this.setElementsStyle("tag")}},
{key:"toggleMenuItems",value:function(){return this.active?
this.hideMenuItems():this.showMenuItems()}},{key:"remove",value:function()
{this.menu&&this.menu.parentNode.removeChild(this.menu)}},
{key:"getMenuContainer",value:function(){var e=document.createElement("div");return
e.classList.add("sf-menu-
container"),e.setAttribute(this.activeDataAttr,"1"),e.style.marginTop="-
24px",e.style.width="auto",e.style.minWidth="482px",e}},
{key:"showMenuItems",value:function(){if(!this.active)
{this.menu.style.top=Re.menu.initial.top,this.removeActiveItems(),this.showPopup(),
this.active=!
0,this.setElementsStyle("active"),document.addEventListener("click",this.onDocument
Click,!1),document.addEventListener("keydown",this.onDocumentKeyDown,!1);var
e=this.menu.clientHeight,t=parseInt(this.menu.style.top),n=window.innerHeight;t+e>n
?this.menu.style.top=n-e-4+"px":t<0&&(this.menu.style.top="0px")}}},
{key:"hideMenuItems",value:function()
{this.menu.style.top=Re.menu.initial.top,this.closePopup(),this.removeActiveItems()
,document.removeEventListener("click",this.onDocumentClick,!
1),document.removeEventListener("keydown",this.onDocumentKeyDown,!1),this.active=!
1,this.showTag()}},{key:"onDocumentClick",value:function(e){var
t=e.target;t===this.menu||this.menu.contains(t)||this.hideMenuItems()}},
{key:"onDocumentKeyDown",value:function(e){27===e.keyCode&&this.hideMenuItems()}},
{key:"removeActiveItems",value:function(){for(var
e;e=this.menu.querySelector("div["+this.activeDataAttr+"]");)e.parentNode.removeChi
ld(e)}},{key:"closePopup",value:function()
{this.popupPageUi&&this.popupPageUi.destroy(),this.popupPageUi=null}},
{key:"destroyButton",value:function(){if(this.menu){var
e=this.menu.parentNode;e&&e.removeChild(this.menu)}this.menu=null,this.icon=null}},
{key:"destroyMono",value:function()
{this.mono&&this.mono.destroy(),this.mono=null}},{key:"destroy",value:function()
{this.closePopup(),this.destroyButton(),this.destroyMono()}}]),e}
(),ze=n(49);function Ue(e,t){var n;if("undefined"==typeof Symbol||
null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!
e)return;if("string"==typeof e)return Ve(e,t);var
n=Object.prototype.toString.call(e).slice(8,-
1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)retu
rn Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?
Array$/.test(n))return Ve(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var
r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!
1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt
to iterate non-iterable instance.\nIn order to be iterable, non-array objects must
have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function()
{n=e[Symbol.iterator]()},n:function(){var e=n.next();return
a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||
n.return()}finally{if(s)throw i}}}}function Ve(e,t){(null==t||
t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return
r}function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var
r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return
Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return
n}function We(e){var t=function(){if("undefined"==typeof Reflect||!
Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof
Proxy)return!0;try{return
Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!
0}catch(e){return!1}}();return function(){var n,r=Object(f.a)(e);if(t){var
o=Object(f.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var
Ge=n(113).EventEmitter,Qe=function(e){Object(c.a)(u,e);var t=We(u);function u(){var
e;return Object(a.a)(this,u),(e=t.call(this)).messaing=new
Ge,e.backgroundPageLoaded=!1,e.backgroundScripts=[function(e){!function(e){var
t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:
{}};return e[r].call(o.exports,o,o.exports,n),o.l=!
0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,
{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return
e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=59)}([function(e,t)
{e.exports=n(137)},function(t,n,r){var o=e;n.a=o},function(e,t)
{e.exports=n(12)},function(e,t){e.exports=n(11)},function(e,t)
{e.exports=n(10)},function(e,t){e.exports=n(18)},function(e,t)
{e.exports=n(26)},function(e,t){e.exports=n(54)},function(e,t)
{e.exports=n(24)},function(e,t,n){var r=n(1);t.a=function(e){return new
Promise((function(t){return r.a.storage.get(e,t)}))}},function(e,t)
{e.exports=n(27)},function(e,t){e.exports=n(59)},function(e,t,n){var
r=n(1);t.a=function(e){return new Promise((function(t){return
r.a.storage.set(e,t)}))}},function(e,t){e.exports=n(114)},function(e,t)
{e.exports=n(55)},function(e,t){e.exports=n(29)},function(e,t)
{e.exports=n(28)},,function(e,t){e.exports=n(17)},,function(e,t)
{e.exports=n(115)},function(e,t){e.exports=n(116)},function(e,t)
{e.exports=n(56)},function(e,t){e.exports=n(46)},,,,,,function(e,t)
{e.exports=n(117)},function(e,t){e.exports=n(139)},function(e,t)
{e.exports=n(66)},function(e,t){e.exports=n(36)},function(e,t)
{e.exports=n(138)},function(e,t){e.exports=n(118)},function(e,t)
{e.exports=n(119)},function(e,t){e.exports=n(140)},function(e,t)
{e.exports=n(120)},function(e,t){e.exports=n(121)},function(e,t)
{e.exports=n(122)},function(e,t){e.exports=n(123)},function(e,t)
{e.exports=n(124)},function(e,t){e.exports=n(62)},function(e,t)
{e.exports=n(126)},function(e,t){e.exports=n(127)},function(e,t)
{e.exports=n(19)},function(e,t){e.exports=n(128)},function(e,t)
{e.exports=n(129)},function(e,t){e.exports=n(130)},function(e,t)
{e.exports=n(131)},,,,function(e,t){e.exports=n(132)},function(e,t,n){n.r(t);var
r=n(1),o=n(11),i=n.n(o),u=n(21),l=n.n(u);t.default=function(){function e(t)
{Object(a.a)(this,e),this.engine=t,this.showButtonModules={"includes/
youtube_com.js":"youtube","includes/dailymotion_com.js":"dailymotion","includes/
vimeo_com.js":"vimeo","includes/facebook_com.js":"facebook","includes/
soundcloud_com.js":"soundcloud","includes/vkontakte_ru.js":"vk","includes/
odnoklassniki_ru.js":"odnoklassniki","includes/mail_ru.js":"mailru","includes/
instagram_com.js":"instagram","includes/rutube_ru.js":"rutube","includes/
yandex_music.js":"yandexMusic","includes/tiktok_com.js":"tiktok","includes/
savefrom_net.js":"savefrom","includes/
link_modifier.js":"lm"},this.commands=null,this.init()}return Object(s.a)(e,
[{key:"getCommands",value:function(){var
e=this;return[{id:"downloadFromCurrentPage",command:function()
{e.engine.actionList.downloadFromCurrentPage()}},
{id:"updateLinks",notify:"updateLinksNotification",modules:
["vk","odnoklassniki","facebook","lm","youtube","dailymotion","instagram","rutube"]
},{id:"downloadMP3Files",modules:["vk","odnoklassniki","mailru","yandexMusic"]},
{id:"downloadPlaylist",modules:["vk","odnoklassniki","youtube"]},
{id:"downloadPhotos",modules:["vk"]},{id:"showOptions",command:function()
{r.a.bundle.showOptions()}},{id:"enableDisableModule",command:function()
{e.engine.actionList.getActiveTabInfo(null,(function(t){var n=(t=t||{}).state?
0:1;e.engine.actionList.viaMenu_changeState({state:n,prefKey:t.prefKey,moduleName:t
.moduleName}),n&&1===e.engine.preferences.button?
e.engine.gmShowButton(1):e.engine.gmShowButton(0)}))}},
{id:"showHideButton",command:function(){var t=!
r.a.bundle.buttonUi;e.engine.actionList.updateOption({action:"updateOption",key:"bu
tton",value:t?1:0})}}]}},{key:"registerModule",value:function(e){var
t=this;if("undefined"!=typeof GM_registerMenuCommand){var
n=e.id,o=r.a.i18n.getMessage(n);return e.command?
GM_registerMenuCommand(o,e.command):GM_registerMenuCommand(o,(function()
{t.engine.onMessage({action:(void 0!==e.modules?"viaMenu_":"")
+e.id}),e.notify&&"undefined"!=typeof
GM_notification&&GM_notification(r.a.i18n.getMessage(e.notify),null,null,null,3e3)}
))}}},{key:"register",value:function(e){for(var t,n="undefined"!=typeof
GM_unregisterMenuCommand,r=0;t=this.commands[r];r++)
{if(n)t.gmId&&GM_unregisterMenuCommand(t.gmId);else
if(t.hasOwnProperty("gmId"))continue;(!t.modules||t.modules.indexOf(e)>-
1)&&(t.gmId=this.registerModule(t))}}},{key:"init",value:function(){var
e=this;if(this.commands=this.getCommands(),!i()()){var
t=[];Object.keys(this.showButtonModules).forEach((function(n){var
o=e.showButtonModules[n];r.a.bundle.isLoadedFile(n)&&t.push(o)}));var
n=t[0];this.register(n);var o=this.engine.preferences;
(o.button&&o[l.a[n]]||"savefrom"===n)&&this.engine.gmShowButton(1)}}}]),e}
()},function(e,t,n){n.r(t);var r=n(1),o=n(2),i=n.n(o);t.default=function(e)
{e.checkUpdate=function(){var
t=e.varCache,n=e.checkUpdate.typeList,o=r.a.isChrome&&!
e.isOperaNext?"chrome":r.a.isFirefox&&e.firefoxNoStore?"firefox":r.a.isGM?"gm":r.a.
isSafari?"safari":void 0;if(n[o]){var
a=e.liteStorage.isExpire("lastVersionExpire");t.isUpgrade&&(a=!
0),a&&(e.liteStorage.set("lastVersion",""),e.liteStorage.setExpire("lastVersionExpi
re",86400),i()({type:"GET",url:n[o].url,cache:!1},(function(t,r){if(!t){var
i=n[o].getVersion(r.body);i&&(e.liteStorage.set("lastVersion",i),e.liteStorage.setE
xpire("lastVersionExpire",604800))}})))}},e.checkUpdate.typeList={chrome:
{url:"https://download.sf-helper.com/chrome/updates-3.xml",getVersion:function(e)
{var t=/updatecheck.+version=['"](.+)['"]/.exec(e);return t&&t[1]}},firefox:
{url:"https://download.sf-helper.com/mozilla/updates.json",getVersion:function(e)
{var t=null;try{var n=JSON.parse(e);t=n.addons[Object.keys(n.addons)
[0]].updates}catch(e){}if(t){var r=null;return t.some((function(e){return
r=e.version})),r}}},safari:{url:"https://download.sf-helper.com/safari/
update.plist",getVersion:function(e){if("string"==typeof e){var
t=e.indexOf("<key>CFBundleVersion</key>");if(-1!==t){e=e.substr(t);var
n=/<string>(.+)<\/string>/.exec(e);return n&&n[1]}}}},gm:{url:"https://download.sf-
helper.com/chrome/helper.meta.js",getVersion:function(e){var t=/@version\s+(.+)\s*\
r?\n/.exec(e);return t&&t[1]}}},e.loader.when("prepare",(function()
{e.checkUpdate()}))}},function(e,t,n){n.r(t);var
r=n(1),o=n(2),i=n.n(o),a=n(49),s=n.n(a),u=n(9),l=(n(4),n(12));t.default=function(e)
{e.loader.when("init",(function(){var t=e.defaultPreferences,n=e.preferences;if(!
n.lc&&!(r.a.isChrome&&r.a.isChromeMobile||r.a.isFirefox&&r.a.isFirefoxMobile))
{t.aviaBarEnabled=1,n.hasAviaBar=1;var o=function(){return
n.hasAviaBar&&n.aviaBarEnabled},a=function(){o()?
(d&&d(),e.tabListener.extendJsList.aviaBar=c,e.tabListener.enable()):delete
e.tabListener.extendJsList.aviaBar},c={getScriptList:function(e){var t=[];return
o()?s()(e)&&(t.push("includes/commons.js"),t.push("includes/aviaBar.js")):a(),t}};
(function(e){var t=null,n=function(){return null!==t?
Promise.resolve(t):t=Object(u.a)({onceTrackAviaBar:null}).then((function(e){var
t=e.onceTrackAviaBar;return"number"!=typeof t?(t=Math.random()<.1?1:0,Object(l.a)
({onceTrackAviaBar:t}).then((function(){return t}))):t})).then((function(e){return
t=e}))},r=function(){n().then((function(t){if(t){var
n={t:"screenview",cd:"init",tid:"UA-70432435-
10"};e.wrapBaseStatInfo(n),e.quickTrack(n)}}))};n().then((function(t){t||
e.events.off("sendScreenView",r)})),e.events.on("sendScreenView",r)})
(e),r.a.storage.onChanged.addListener((function(e,t)
{"local"===t&&e.aviaBarEnabled&&a()})),e.loader.when("prepare",(function()
{a()}));var d=function(){d=null;var t=function(e,t){return
r.a.storage.get(e,t)},n=function(e,t){return r.a.storage.set(e,t)},o={appInfo:
{id:"sf.sfHelper",track:!0,directTrack:!0,useTemplates:!
0}};o.API={setRemovedState:function(e){t("aviaBar",(function(t){return
t.aviaBar=t.aviaBar||{},t.aviaBar.removed=!!e,n(t)}))}};var a=function(t)
{t.tid&&(e.wrapBaseStatInfo(t),e.quickTrack(t))},s=function(e){var
t=e.aviaBar;t&&"object"==typeof t||(t=e.aviaBar={}),Array.isArray(t.blackList)||
(t.blackList=[]),t.templates&&"object"==typeof t.templates||(t.templates={})};!
function(e){r.a.onMessage.addListener(e)}((function(u,l,c)
{if(u&&u.action)switch(u.action)
{case"tbrGetInfo":c(o.appInfo);break;case"tbrIsAllow":return t("aviaBar",
(function(e){if(s(e),e.aviaBar.removed)return c(!1);var t=!
0,r=e.aviaBar.blackList,o=null;if(r.some((function(e)
{if(e.hostname===u.hostname)return o=e,!0})),o){var
i=parseInt(Date.now()/1e3);if(o.expire>i)t=!1;else{var
a=r.indexOf(o);r.splice(a,1),n(e)}}return c(t)})),!0;case"tbrCloseBar":t("aviaBar",
(function(e){s(e);var t=e.aviaBar.blackList,r=null;if(t.some((function(e)
{if(e.hostname===u.hostname)return r=e,!0})),!r){var
o=parseInt(Date.now()/1e3);t.push({hostname:u.hostname,expire:o+18e3}),n(e)}}));bre
ak;case"tbrGetTemplate":return t("aviaBar",(function(e){s(e);var
t=e.aviaBar.templates,r=t[u.id];r||(t[u.id]=r={});var
o=parseInt(Date.now()/1e3);r.expire>o?c(r.data):(r.expire=o+21600,i()
({url:"https://travelbar.tools/st
atic/scheme/"+u.id+".json",timeout:6e4,json:!0},(function(i,a){if(!i){var
s=a.body;r.expire=o+43200,r.data=s,Object.keys(t).sort((function(e,n){return
t[e].expire>t[n].expire?-1:1})).slice(5).forEach((function(e){delete
t[e]}))}c(s),n(e)})))})),!0;case"tbrEvent":"track"===u.type?function(t){var n="UA-
70432435-10",o=-1!==["cheapflightError","hotelError"].indexOf(t.ec);if(o&&(n="UA-
7055055-10"),t.tid=n,e.wrapBaseStatInfo(t),o)r.a.isGM&&e.quickTrack(t);else{var
i=JSON.parse(JSON.stringify(t));i.tid="UA-70432435-
12",e.quickTrack(t),e.quickTrack(i)}}
(u.data[0]):"directTrack"===u.type&&a(u.data[0]);break;case"collectAnalytics":var
d=u.data[0];d.cd1=e.getUuid(),d.t="event",a(d)}}))}}}))}},function(e,t,n)
{n.r(t);var r=n(1),o=n(11),a=n.n(o),s=(n(4),n(3)),u=n.n(s);t.default=function(e)
{if(!a()())return e.loader.when("init",(function(){return
r.a.storage.get({userjsIsInstaller:0,userjsIsOpenVideo:0},(function(t)
{if(t.userjsIsInstaller&&!t.userjsIsOpenVideo)return function(t){var
n="userjsDblTrack";r.a.storage.get(Object(i.a)({},n,null),(function(t){var
o=Date.now();if(t[n]&&t[n].time>o);else{var
a=e.generateUuid();r.a.storage.set(Object(i.a)({},n,{uuid:a,time:o+6e4}),
(function(){setTimeout((function(){r.a.storage.get(Object(i.a)({},n,null),
(function(e){e[n]&&e[n].uuid===a&&r.a.storage.set({userjsIsOpenVideo:1},(function()
{return u()({url:"https://sf-helper.com/static/userjsFirstrun.json",json:!
0}).then((function(e){var
t=e.body,n=t.localeUrl,o=t.defaultLocale,i=n[r.a.i18n.getMessage("lang")]||
n[o];i&&r.a.openTab(i)})).catch((function(e){}))}))}))}),5e3)}))}}))}
()}))}))}},function(e,t,n){n.r(t);var r=n(9),o=n(12),i=n(4),a=n.n(i)()
("migrateTM");t.default=function(e){var t=function(){return"undefined"!=typeof
GM_info&&"MeddleMonkey"===GM_info.scriptHandler};navigator.vendor&&navigator.vendor
.indexOf("Apple")>-1&&navigator.userAgent&&-
1===navigator.userAgent.indexOf("CriOS")&&-
1===navigator.userAgent.indexOf("FxiOS")?a.log("safari"):(e.loader.when("init",
(function(){t()&&"undefined"!=typeof GM_openInTab&&Object(r.a)({migrateTmShowed:!
1}).then((function(e){if(!e.migrateTmShowed)return Object(o.a)({migrateTmShowed:!
0}).then((function(){return GM_openInTab("https://savefrom.net/user.php")}))}),
(function(e){return a.error("Get flag value",e)}))})),e.loader.when("prepare",
(function()
{t()&&(a.debug("enabled"),e.tabListener.extendJsList.migrateTM={noBlackList:!
0,getScriptList:function(e){return-1!==e.indexOf("savefrom.net/user.php")?
["includes/migrateTM.js"]:[]}},e.tabListener.enable())})),e.loader.when("upgrade",
(function(){return t()&&Object(o.a)({migrateTmShowed:!1})})))}},function(e,t,n)
{n.r(t);var u=n(1),l=n(2),c=n.n(l),d=n(4),f=n.n(d),p=f()
("utils"),h=null,g={getFileSize:function(e,t){var n=e.url,r=e.requestOptions,o=void
0===r?{}:r,a={fileSize:0,fileType:"",status:0,error:!1};return c()(function(e)
{for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?
He(Object(n),!0).forEach((function(t){Object(i.a)
(e,t,n[t])})):Object.getOwnPropertyDescriptors?
Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(Object(n)).forEac
h((function(t)
{Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}
({url:n,type:"HEAD"},o),(function(e,n){if(e)return a.error=!
0,t(a);a.status=n.statusCode,a.fileSize=parseInt(n.headers["content-length"])||
0;var r=n.headers["content-type"];r&&(a.fileType=r),t(a)})),!0},ChromeDl:function()
{var e={},t=!1,n=function(n){e[n]&&delete e[n],0===Object.keys(e).length&&(t=!
1,chrome.downloads.onChanged.removeListener(r))},r=function(t){var r=e[t.id];if(r)
{var o=!1;r.fixNetworkFiled&&(o=function(e,t){var n=parseInt(Date.now()/1e3),r=!
1;e.lastFix||(e.lastFix=0),e.lastFix+5<n&&(e.lastFix=n,r=!0);var
o=t.state&&"interrupted"===t.state.current,i=t.error&&"NETWORK_FAILED"===t.error.cu
rrent,a=t.canResume&&t.canResume.current;return o&&i&&a||(r=!1),r}(r,t)),o?
chrome.downloads.resume(t.id):t.state&&-1!
==["interrupted","complete"].indexOf(t.state.current)&&n(t.id)}};this.download=func
tion(n){var o=n.url,i=n.filename;n.fixNetworkFiled=/(vk\.me|userapi\.com)\/.
+\.mp4/i.test(o);var a={url:o,filename:i},s=h.preferences||h.storage||
{};u.a.isFirefox&&s.saveAsDialog&&(a.saveAs=!0),chrome.downloads.download(a,
(function(o){n.fixNetworkFiled&&(function(t,n){e[t]||(e[t]=n)}(o,n),t||(t=!
0,chrome.downloads.onChanged.addListener(r)))}))}},chromeDownload:null,downloadFile
:function(e){var t=h.preferences.sortDownloads;if(t&&t.isEnabled){var
n=e.options.filename.slice(e.options.filename.lastIndexOf(".")
+1),r=t.groups.find((function(e){return e.formats.some((function(e){return-1!
==e.indexOf(n)}))}));r&&r.dir&&(e.options.filename="".concat(r.dir,"/").concat(e.op
tions.filename))}var o=g;if(u.a.isChrome||u.a.isFirefox){o.chromeDownload||
(o.chromeDownload=new o.ChromeDl);var i=function(){return
o.chromeDownload.download(e.options)};if(chrome.downloads&&chrome.downloads.downloa
d)return i();chrome.permissions&&chrome.permissions.request?
chrome.permissions.request({permissions:["downloads"]},(function(e){if(e)return
i();p.error("Permissions not granted!")})):p.error("Method in not supported!")}else
u.a.isGM&&GM_download(e.options.url,e.options.filename)},chromeListDownload:functio
n(e,t){var n=null;e=e.map((function(e)
{return{url:e.url,filename:t+e.filename}}));var r=function(e)
{if(e.id===n&&e.state)return-1!
==["interrupted","complete"].indexOf(e.state.current)?(n=null,i()):void
0};chrome.downloads.onChanged.addListener(r);var o=-1,i=function(){o++;var
t=e[o];if(t)return chrome.downloads.download({url:t.url,filename:t.filename},
(function(e){n=e}));chrome.downloads.onChanged.removeListener(r)};return
i()},downloadList:function(e){var t=this,n=e.fileList,r=e.folder;(u.a.isChrome||
u.a.isFirefox)&&chrome.downloads&&chrome.downloads.download?
t.chromeListDownload(n,r):n.forEach((function(e){t.downloadFile({options:
{url:e.url,filename:r+e.filename}})}))},getUmmyIcon:function(e,t){t("data:image/
png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAB90lEQVQ4EcVSy2oUURCtqm7H
cYgmYDTiYxEEERdZGP0B0UVwEcSv8LHIb4gbQcjGlVtB40YhfkAWuhs0uFOIgjJomiEzztzue4+n7rTgH6S
aoqpPnao6fW+LHLapC9hdPHMbKT1UTcsQWxDBnAAdFkuvQ6QR1cD0QAUVoF+0kKdXBoO32j959maK8V1LVD
aBDXkwm9q32atz/hmRpIZb5STqPaDIjP/oFAS5Xu1l/
MPCBZhxt09uSRykCn1QhmQr1MiSQ3TPGYdIMtwfZPh3MjkhlvOWOcuTrJQB5VJeR0g5HlzjMSSVpp7mtQGF
BJjXwJp69AlqtlTW0bpQ6nNLbTdjSCIxNhkOqUBwBconZYWZr1G6RgXcRoI782k0rO681vVq15o6SGyCrFe
fbHVnS6eNkmcSyMlOvr48ernimjlf5WcUuP1zr7C7W090/twiMcjw+y95dWcjXRr7Sn6Ba8mmB1RQ/
MwqOK2mg356FPFi4xGm4z8I40nOT434OanElDdWM2aH/
eAtHOlz98XZRBch0uPnHPu4J9uPn+dNzNGTLho/
Kj+D1gza12fl1RuEtlmaaWPiGkOK8k0mecB5Nnes8DZvdiwPgRVrmbAp19aI8Fe2ZSDN86aOk9OpkfiHqfK
oap9JfMTWfcavvNXN+/H9G596uPYX83AWUVC6/
FsAAAAASUVORK5CYII=")},getWarningIcon:function(e,t){var
n,r=e.color||"#c2c2c2";n="audio"===e.type?'<svg width="21px" height="24px"
viewBox="0 0 21 24" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M21,2.76923077 L21,17.6487288
C21,17.6487288 21,17.6487288 21,17.6487288 L21,18.4615385 L20.9068729,18.4615385
C20.723595,19.2712249 20.2716013,20.0865791 19.5669296,20.7680198
C17.9203537,22.360313 15.5176896,22.6184747 14.2004289,21.3446402
C12.8831682,20.0708056 13.1501309,17.7473503 14.7967068,16.1550571
C16.0602516,14.9331676 17.7690324,14.4969051 19.0909091,14.9356816
L19.0909091,14.9356816 L19.0909091,4.15384615 L7.63636364,6.92307692
L7.63636364,19.4948826 C7.63636364,19.4948826 7.63636364,19.4948826
7.63636364,19.4948826 L7.63636364,20.3076923 L7.5432365,20.3076923
C7.35995859,21.1173788 6.90796493,21.9327329 6.20329323,22.6141737
C4.55671732,24.2064669 2.15405328,24.4646286 0.836792552,23.190794 C-
0.480468173,21.9169595 -0.213505501,19.5935041 1.43307041,18.0012109
C2.69661523,16.7793214 4.40539601,16.343059 5.72727273,16.7818354
L5.72727273,16.7818354 L5.72727273,6.46153846 L5.72727273,3.69230769 L21,0
L21,2.76923077 Z" fill="'+r+'"></path></svg>':"playlist"===e.type?'<svg
width="24px" height="18px" viewBox="0 0 24 18" version="1.1"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path
d="M0,0 L0,3.6 L3.42857143,3.6 L3.42857143,0 L0,0 Z M0,7.2 L0,10.8 L3.42857143,10.8
L3.42857143,7.2 L0,7.2 Z M5.14285714,0 L5.14285714,3.6 L24,3.6 L24,0 L5.14285714,0
Z M5.14285714,7.2 L5.14285714,10.8 L20.5714286,10.8 L20.5714286,7.2 L5.14285714,7.2
Z M0,14.4 L0,18 L3.42857143,18 L3.42857143,14.4 L0,14.4 Z M5.14285714,14.4
L5.14285714,18 L22.2857143,18 L22.2857143,14.4 L5.14285714,14.4 Z"
fill="'+r+'"></path></svg>':'<svg width="24px" height="18px" viewBox="0 0 24 18"
version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M19.5,3 L21.0089096,3
C22.6582294,3 24,4.34288718 24,5.99942248 L24,15.0005775 C24,16.6556493
22.6608432,18 21.0089096,18 L2.99109042,18 C1.34177063,18 0,16.6571128 0,15.0005775
L0,5.99942248 C0,4.34435073 1.33915679,3 2.99109042,3 L7.5,3 C7.5,1.34651712
8.84187067,0 10.497152,0 L16.502848,0 C18.1583772,0 19.5,1.34314575 19.5,3 L19.5,3
Z M13.5,16.5 C16.8137087,16.5 19.5,13.8137087 19.5,10.5 C19.5,7.18629134
16.8137087,4.5 13.5,4.5 C10.1862913,4.5 7.5,7.18629134 7.5,10.5 C7.5,13.8137087
10.1862913,16.5 13.5,16.5 Z M13.5,15 C15.9852815,15 18,12.9852815 18,10.5
C18,8.0147185 15.9852815,6 13.5,6 C11.0147185,6 9,8.0147185 9,10.5 C9,12.9852815
11.0147185,15 13.5,15 Z"
fill="'+r+'"></path></svg>',t("data:image/svg+xml;utf8,"+encodeURIComponent(n))},ch
eckUrlsOfOpenTabs:function(e,t){(u.a.isGM?function(e)
{e([location.href])}:u.a.isChrome?function(e){var t=[];chrome.tabs.query({},
(function(n){n.forEach((function(e){t.push(e.url)})),e(t)}))}:u.a.isFirefox?
function(e){var t=[];if(u.a.isFirefoxMobile)return e(t);chrome.tabs.query({},
(function(n){n.forEach((function(e){t.push(e.url)})),e(t)}))}:u.a.isSafari?
function(e){var
t=[];safari.application&&safari.application.activeBrowserWindow&&safari.application
.activeBrowserWindow.tabs&&safari.application.activeBrowserWindow.tabs.forEach((fun
ction(e){if(!e.url)return
1;t.push(e.url)})),e(t)}:function(e){e([])})((function(n){var
r=[];n.forEach((function(t){e.forEach((function(e){-1!
==t.search(e)&&r.push(t)}))})),t(r)}))},getData:function(e,t){var n=e.url;return n?
(c()({url:n},(function(e,n,r){if(e)return t();t(r)})),!
0):t()}},v=n(29),b=n.n(v),y=n(30),A=n.n(y),k=n(14),w=n.n(k),x=n(15),_=n.n(x),S=n(8)
,C=n.n(S),I=n(5),O=n.n(I),M=n(16),L=n.n(M),E=n(31),P=n.n(E),j=n(20),T=n.n(j),D=n(18
),N=n.n(D),F=n(0),B=n(6),R=n.n(B),q=n(13),z=n.n(q),U=n(7),V=n.n(U),H=n(32),W=n.n(H)
,G=n(53),Q=n(10),Y=G.URL,J=f()("YtMetadata").t,K=F.struct("FiniteNumber",
(function(e){return isFinite(Number(e))}));function Z(e){var t=F.Struct;e
instanceof t&&(e=e.schema);var n=Object.keys(e);return new
t({type:"Partial<{".concat(n.join(","),"}>"),schema:e,coercer:F.partial(e).coercer,
validator:m.a.mark((function t(r,o){var i,a,s,u,l;return m.a.wrap((function(t)
{for(;;)switch(t.prev=t.next){case 0:if("object"!=typeof r||null==r)
{t.next=20;break}i=Ue(n),t.prev=2,i.s();case 4:if((a=i.n()).done)
{t.next=10;break}return
s=a.value,u=e[s],l=r[s],t.delegateYield(o.check(l,u,r,s),"t0",8);case
8:t.next=4;break;case 10:t.next=15;break;case
12:t.prev=12,t.t1=t.catch(2),i.e(t.t1);case 15:return
t.prev=15,i.f(),t.finish(15);case 18:t.next=22;break;case 20:return
t.next=22,o.fail();case 22:case"end":return t.stop()}}),t,null,
[[2,12,15,18]])}))})}var
X=F.object({itag:F.number(),url:F.optional(F.string()),type:F.optional(F.string()),
cipher:F.optional(F.string()),signatureCipher:F.optional(F.string()),mimeType:F.str
ing(),bitrate:F.optional(F.number()),width:F.number(),height:F.number(),initRange:F
.optional(F.object({start:K,end:K})),indexRange:F.optional(F.object({start:K,end:K}
)),lastModified:K,contentLength:F.optional(K),encryption:F.optional(F.string()),drm
Families:F.optional(F.array(F.string())),quality:F.string(),fps:F.number(),qualityL
abel:F.string(),projectionType:F.string(),averageBitrate:F.optional(F.number()),col
orInfo:F.optional(F.object({primaries:F.optional(F.string()),transferCharacteristic
s:F.string(),matrixCoefficients:F.optional(F.string())})),approxDurationMs:F.option
al(K),highReplication:F.optional(F.boolean()),xtags:F.optional(F.string()),targetDu
rationSec:F.optional(F.number()),maxDvrDurationSec:F.optional(F.number())}),
$=F.object({itag:F.number(),url:F.optional(F.string()),cipher:F.optional(F.string()
),signatureCipher:F.optional(F.string()),mimeType:F.string(),bitrate:F.optional(F.n
umber()),initRange:F.optional(F.object({start:K,end:K})),indexRange:F.optional(F.ob
ject({start:K,end:K})),lastModified:K,contentLength:F.optional(K),quality:F.string(
),encryption:F.optional(F.string()),drmFamilies:F.optional(F.array(F.string())),pro
jectionType:F.string(),averageBitrate:F.optional(F.number()),highReplication:F.opti
onal(F.boolean()),audioQuality:F.string(),approxDurationMs:F.optional(K),audioSampl
eRate:K,audioChannels:F.number(),targetDurationSec:F.optional(F.number()),maxDvrDur
ationSec:F.optional(F.number())}),ee=(F.object({probeUrl:F.optional(F.string()),das
hManifestUrl:F.optional(F.string()),hlsManifestUrl:F.optional(F.string()),expiresIn
Seconds:K,formats:F.optional(F.array(F.object({itag:F.number(),url:F.optional(F.str
ing()),cipher:F.optional(F.string()),signatureCipher:F.optional(F.string()),mimeTyp
e:F.string(),bitrate:F.optional(F.number()),fps:F.optional(F.number()),width:F.numb
er(),height:F.number(),lastModified:K,contentLength:F.optional(K),quality:F.string(
),qualityLabel:F.string(),projectionType:F.string(),averageBitrate:F.optional(F.num
ber()),audioQuality:F.string(),approxDurationMs:F.optional(K),audioSampleRate:F.opt
ional(K),audioChannels:F.optional(F.number())}))),adaptiveFormats:F.array(F.dynamic
((function(e,t){return e&&/^video/.test(e.mimeType)?X:
$}))),licenseInfos:F.optional(F.array(F.object({drmFamily:F.string(),url:F.string()
,drmParams:F.string()}))),drmParams:F.optional(F.string())}),Z({itag:F.number(),url
:F.optional(F.string()),cipher:F.optional(F.string()),signatureCipher:F.optional(F.
string()),mimeType:F.string(),fps:F.optional(F.number()),width:F.optional(F.number(
)),height:F.optional(F.number()),bitrate:F.optional(F.number()),contentLength:F.opt
ional(K)})),te=Z({formats:F.optional(F.array(ee)),adaptiveFormats:F.optional(F.arra
y(ee))}),ne=Z({playabilityStatus:F.object(),streamingData:F.optional(F.object()),vi
deoDetails:F.optional(Z({videoId:F.string(),title:F.string(),lengthSeconds:K,channe
lId:F.string(),shortDescription:F.string(),thumbnail:Z({thumbnails:F.array(Z({url:F
.string(),width:F.number(),height:F.number()}))}),useCipher:F.optional(F.boolean())
,author:F.string()}))});function re(e){return new Promise((function(t,n){c()(e,
(function(e,r,o){e&&"string"==typeof e&&(e=new Error(e)),e?
n(e):t(o)}))})).catch((function(e){var t=/^(\d+)\s+(.*)/.exec(e.message);throw
t&&(e.status=parseInt(t[1],10),e.statusText=t[2]),e}))}function oe(e){var
t=e.playabilityStatus,n=e.videoDetails;if("OK"!==t.status){var
r="UNKNOWN_PLAYABILITY_STATUS";return"LOGIN_REQUIRED"===t.status||"UNPLAYABLE"===t.
status?r=t.status:"ERROR"===t.status&&(r="YT_ERROR"),new R.a("".concat(t.status,":
").concat(t.reason),r)}if(!n)return new R.a("Video details is
empty","VIDEO_DETAILS_IS_EMPTY")}function ie(e){var
t=null;if(["url_encoded_fmt_stream_map","adaptive_fmts","fmt_url_map"].some((functi
on(n){var r=e[n];if(r)return r.some((function(e){if(e.s&&e.url)return t=e,!
0}))})),!t){var n=e.player_response;if(n.streamingData){var r=function(e){var
n=e.signatureCipher||e.cipher;if(n){var r=Q.parse(n),o=r.sp,i=r.s,a=r.url;return
t={url:a,sp:o,s:i},!0}};n.streamingData.formats&&n.streamingData.formats.some(r),!
t&&n.streamingData.adaptiveFormats&&n.streamingData.adaptiveFormats.some(r)}}return
t}function ae(e,t,n){return n&&(e[t]=n),e}var se=/(\/s\/([^\/]+))/;function ue(e)
{var t=se.exec(e);if(t)return{fragment:t[1],signature:t[2]}}var le=/\/sp\/([^\/]
+)/;function ce(e){var t=le.exec(e);if(t)return t[1]}function de(e){var
t=null;if(/\.googlevideo\.com/.test(e)){var n=new
Y(e);n.host="redirector.googlevideo.com",t=G.format(n)}else if(/r[1-
9].*\.c\.youtube\.com/.test(e)){var r=new
Y(e);r.host="www.youtube.com",t=G.format(r)}return t}var fe=function(){function e()
{Object(a.a)(this,e),this.lastSignatureInited=!1,this.oneLimitGetSignature=W()
(1),this.lastSignature=null,this.html5SigDecipher=new
T.a,this.getDashUrlSignature=ue,this.dashMpdSignatureParamR=ce,this.getAltUrl=de,th
is.getData=re,(u.a.isChromeMobile||u.a.isFirefoxMobile)&&(this.ua=w()())}var
t,n,r,i;return Object(s.a)(e,[{key:"getMetadata",value:function(e,t){var n=this;t||
(t="https://www.youtube.com/watch?v="+encodeURIComponent(e));return
this.getVideoInfo("www.youtube-nocookie.com",e,"detailpage",t).catch((function(e)
{throw J.error("try 1 error:",e),e})).catch((function(r)
{if(["UNPLAYABLE"].includes(r.code))throw r;return
n.getVideoInfo("www.youtube.com",e,"detailpage",t).catch((function(e){throw
J.error("try 2 error:",e),429===e.status&&!0,e}))})).catch((function(r)
{if(["UNPLAYABLE"].includes(r.code))throw r;if(429===r.status)throw r;return
n.getVideoInfo("www.youtube-nocookie.com",e,"embedded",t).catch((function(e){throw
J.error("try 3 error: %O",e),e}))})).catch((function(r)
{if(["UNPLAYABLE"].includes(r.code))throw r;if(429===r.status)throw r;return
n.getVideoInfo("www.youtube-nocookie.com",e,"embedded",t).catch((function(e){throw
J.error("try 4 error: %O",e),e}))})).catch((function(t)
{if(["UNPLAYABLE"].includes(t.code))throw t;return
n.getVideoInfoAsJsonPage(e).catch((function(e){throw J.error("try 5 error:
%O",e),429===e.status&&!0,e}))})).catch((function(t)
{if(["UNPLAYABLE"].includes(t.code))throw t;return
n.getVideoInfoAsPage(e).catch((function(e){throw J.error("try 6 error:
%O",e),429===e.status&&!0,e}))})).then((function(e){var
t=e.videoInfo,r=e.signature;return n.testSignature(t,r).then((function()
{return{videoInfo:t,signature:r}}))}))}},{key:"testSignature",value:(i=Object(o.a)
(m.a.mark((function e(t,n){var r,o,i,a;return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:if(r=ie(t)){e.next=3;break}return
e.abrupt("return");case 3:return J.debug("Found chiped
item",t.player_response.videoDetails.videoId),o=this.html5SigDecipher.applyActions(
n.actionList,r.s),i=null,r.getUrl?i=r.getUrl(o):
(a=r.sp||"signature",i=r.url+"&".concat(a,"=")
+o),e.abrupt("return",re({method:"HEAD",url:i}).catch((function(e){var
t=de(i);if("net::ERR_NAME_NOT_RESOLVED"===e.message&&t)return
re({method:"HEAD",url:t});throw e})).catch((function(e){if(403===e.status)throw
e})));case 8:case"end":return e.stop()}}),e,this)}))),function(e,t){return
i.apply(this,arguments)})},{key:"getVideoInfo",value:(r=Object(o.a)
(m.a.mark((function e(t,n,r,o){var i,a=this;return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:return e.next=3,this.getSignature();case
3:return i=e.sent,e.abrupt("return",re({url:"https://".concat(t,"/get_video_info")
+"?"+Q.stringify({video_id:n,eurl:o,el:r,sts:i.sts}),headers:ae({},"User-
Agent",this.ua)}).then((function(e){e=Q.parse(e),a.parseParams(e);var
t=parseInt(e.errorcode,10);if(t>0){var n="VIDEO_INFO_ERROR";throw 2===t?
n="INVALID_REQUEST":150===t&&(n="UNAVAILABLE"),new R.a("Error (".concat(t,"):
").concat(e.reason),n)}if(!e.player_response)throw new R.a("Player response is not
found","PLAYER_RESPONSE_NOT_FOUND");var r=oe(e.player_response);if(r)throw
r;return{videoInfo:e,signature:i}})));case 5:case"end":return
e.stop()}}),e,this)}))),function(e,t,n,o){return r.apply(this,arguments)})},
{key:"getVideoInfoAsJsonPage",value:function(e){var t=this;return
re({url:"https://www.youtube.com/watch?"+Q.stringify({v:e,pbj:1}),headers:ae({"x-
youtube-client-name":"1","x-youtube-client-version":"2.20200812.02.01"},"User-
Agent",this.ua)}).then(function(){var e=Object(o.a)(m.a.mark((function e(n){var
r,o;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:if(n=JSON.parse(n),Array.isArray(n)){e.next=2;break}throw new R.a("Unexpected
response","UNEXPECTED_RESPONSE");case
2:if(r=null,o=null,n.some((function(e){if(e.playerResponse?
r=e.playerResponse:e.player&&e.player.assets&&e.player.assets.js&&(o=e.player.asset
s.js),r&&o)return!0})),r){e.next=5;break}throw new R.a("playerResponse is not
found!","PLAYER_RESPONSE_IS_NOT_FOUND");case 5:return
e.abrupt("return",t.getVideoInfoFromPlayerResponse(r,o));case 6:case"end":return
e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},
{key:"getVideoInfoAsPage",value:function(e){var t=this;return
re({url:"https://www.youtube.com/watch?"+Q.stringify({v:e,has_verified:1}),headers:
ae({},"User-Agent",this.ua)}).then(function(){var e=Object(o.a)(m.a.mark((function
e(n){var r,o,i,a,s,u;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:n;try{i=t.getYtInitialPlayerResponseFromHtmlPage(n),a=i.playerResponse,s=i.player
Url,r={player_response:a},o=s}catch(e)
{J.warn("getYtInitialPlayerResponseFromHtmlPage error:
%O",e),u=t.getSwfCfgFromHtmlPage(n),r=t.parseParams(u.args),o=u.assets&&u.assets.js
}return
e.abrupt("return",t.getVideoInfoFromPlayerResponse(r.player_response,o));case
3:case"end":return e.stop()}}),e)})));return function(t){return
e.apply(this,arguments)}}())}},{key:"getSwfCfgFromHtmlPage",value:function(e){var
t=null;if(z()(e,[/"responseContext"/]).some((function(e){return O()(e,
[/"playabilityStatus":/]).some((function(e){if(e&&e.playabilityStatus)return t=e,!
0}))})),t){var n=oe(t);if(n)throw n}var r=null;if(z()(e,[/ytplayer\.config\s+=\
s+/]).some((function(e){return O()(e,[/"player_response":/]).some((function(e)
{if(e.args&&"object"==typeof e.args)return r=e,!0}))})),!r)throw new R.a("swfcfg is
not found!","SWFCFG_IS_NOT_FOUND");return r}},
{key:"getYtInitialPlayerResponseFromHtmlPage",value:function(e){var t=null;if(z()
(e,[/ytInitialPlayerResponse/]).some((function(e){return O()(e,
[/"playabilityStatus":/]).some((function(e){if(e&&e.playabilityStatus)return
t=e}))})),!t)throw new R.a("ytInitialPlayerResponse in not
found","PLAYER_RESPONSE_NOT_FOUND");var n=null;return
z()(e,[/ytplayer\.web_player_context_config\s+=\s+/]).some((function(e){return O()
(e,[/"jsUrl":/]).some((function(e){if(e.jsUrl)return n=e.jsUrl}))})),
{playerResponse:t,playerUrl:n}}},{key:"getVideoInfoFromPlayerResponse",value:
(n=Object(o.a)(m.a.mark((function e(t,n){var r,o,i;return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:if(this.validatePlayerResponse(t),!(r=oe(t)))
{e.next=4;break}throw r;case 4:if(i=null,!ie(o={player_response:t}))
{e.next=12;break}if(n){e.next=9;break}throw new R.a("Player url is not
found","PLAYER_URL_IS_NOT_FOUND");case 9:return
e.next=11,this.getSignatureFormPlayerUrl(n);case 11:i=e.sent;case 12:return
e.abrupt("return",{videoInfo:o,signature:i});case 13:case"end":return
e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},
{key:"getInfoFromVideoInfo",value:(t=Object(o.a)(m.a.mark((function e(t,n){var
r,o;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:if(t.player_response){e.next=2;break}throw new R.a("Player response is not
found","PLAYER_RESPONSE_NOT_FOUND");case
2:if(t.player_response=F.coerce(t.player_response,ne),!(r=oe(t.player_response)))
{e.next=6;break}throw r;case 6:if(n){e.next=8;break}throw new R.a("Player url is
not found","PLAYER_URL_IS_NOT_FOUND");case 8:if(o=null,e.t0=ie(t),!e.t0)
{e.next=14;break}return e.next=13,this.getSignatureFormPlayerUrl(n);case
13:o=e.sent;case 14:return e.abrupt("return",{videoInfo:t,signature:o});case
15:case"end":return e.stop()}}),e,this)}))),function(e,n){return
t.apply(this,arguments)})},{key:"parseParams",value:function(e)
{return["url_encoded_fmt_stream_map","adaptive_fmts","fmt_url_map"].forEach((functi
on(t){e[t]&&(e[t]=e[t].split(",").map((function(e){return
Q.parse(e)})))})),e.player_response&&(e.player_response=JSON.parse(e.player_respons
e),this.validatePlayerResponse(e.player_response)),e}},
{key:"validatePlayerResponse",value:function(e)
{F.coerce(e,ne),e.streamingData&&F.assert(e.streamingData,te)}},
{key:"initLastSignature",value:function(){var e=this;return N()((function(){if(!
e.lastSignatureInited)return e.lastSignatureInited=!0,new Promise((function(e)
{return u.a.storage.get({ytLastSignature:null},(function(t){return
e(t.ytLastSignature)}))})).then((function(t){e.lastSignature=t}))}))}},
{key:"getSignature",value:function(){var e=this;return
this.oneLimitGetSignature(Object(o.a)(m.a.mark((function t(){return
m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return
t.next=2,e.initLastSignature();case 2:if(e.lastSignature&&!
(e.lastSignature.expiresAt<V()())){t.next=7;break}return
null,t.next=6,re({url:"https://www.youtube.com/",headers:ae({},"User-
Agent",e.ua)}).then((function(t){t;var
n=null;try{n=e.getPlayerUrlFromHtml(t)}catch(r)
{n=e.getPlayerUrlFromAuthHtml(t)}return e.getSignatureFormPlayerUrl(n)}));case
6:e.lastSignature=t.sent;case 7:return t.abrupt("return",e.lastSignature);case
8:case"end":return t.stop()}}),t)}))))}},
{key:"getSignatureFormPlayerUrl",value:function(e){var
t=this;return/^\/\//.test(e)?e="https:"+e:/^\//.test(e)&&(e="https://
www.youtube.com"+e),this.initLastSignature().then((function(){return
t.lastSignature&&t.lastSignature.expiresAt>V()()&&t.lastSignature.playerUrl===e?
t.lastSignature:re({url:e,headers:ae({},"User-Agent",t.ua)}).then((function(n)
{return t.html5SigDecipher.dechip(e,n)})).then((function(e){return new
Promise((function(t){return
u.a.storage.set({ytLastSignature:e},t)})).catch((function(e){J.warn("Unable save
signature, cause: %O",e)})).then((function(){return t.lastSignature=e}))}))}))}},
{key:"getPlayerUrlFromHtml",value:function(e){var
t=null;if(z()(e,[/window\.ytplayer\s*=\s*/]).some((function(e){return O()(e,
[/"PLAYER_JS_URL":/]).some((function(e){if(e.PLAYER_JS_URL)return
t=e.PLAYER_JS_URL,!0}))})),!t)throw new R.a("Player url is not
found","PLAYER_URL_IS_NOT_FOUND");return t}},
{key:"getPlayerUrlFromAuthHtml",value:function(e){var
t=null;if(z()(e,[/ytplayer\.config\s+=\s+/]).some((function(e){return O()(e,
[/"assets":/]).some((function(e){if(e.assets&&e.assets.js)return t=e.assets.js,!
0}))})),!t)throw new R.a("Player url is not
found","PLAYER_URL_IS_NOT_FOUND");return t}}]),e}(),pe=f()
("youtube_embed").t,me=n(10);function he(e,t){var
n,r={144:144,240:240,360:360,480:480,720:720,1080:1080,1440:1440,"4K":2160,"5K":288
0,"8K":4320},o=Math.max(e,t);for(var i in e=Math.min(e,t),r){var a=r[i];if(!
(o>=Math.floor(16*a/9)||e>=a))return n;n=i}return n}function
ge(e){return/ratebypass/.test(e)||(/\?/.test(e)?e+="&ratebypass=yes":(/\/
$/.test(e)||(e+="/"),e+="ratebypass/yes/")),e}var
ve=/(\/s\/([^\/]+))/,be=/\/sp\/([^\/]+)/,ye=function(){function e(t){Object(a.a)
(this,e),this._lastSignature=null,this.html5SigDecipher=new T.a,this.ytMetadata=new
fe,this.engine=t}return Object(s.a)(e,[{key:"getYoutubeLinks",value:function(e,t)
{var n=this;function r(r,o,i,a)
{n.addUmmyLinks(r,e.extVideoId),n.addTelevzrLinks(r,e.extVideoId),n.addMuxerLinks(r
,o);var
s={action:e.action,extVideoId:e.extVideoId,links:r,title:o,subtitles:i,duration:a,c
heckLinks:null};return e.checkLinks&&r?n.checkYoutubeLinks(r,(function(e,n){return
s.checkLinks=n,t(s)})):t(s)}return
n._getYoutubeLinks(e.url,e.extVideoId,e.checkSubtitles,e.noDash).then((function(e)
{r(e.links,e.title,e.subtitles,e.duration)}),(function(e)
{pe.error("_getYoutubeLinks error: %O",e),r(null,"",null,"")})),!0}},
{key:"_getYoutubeLinks",value:function(e,t,n,r){var o=this;return
this.ytMetadata.getMetadata(t,e).then((function(e){var
i=e.videoInfo,a=e.signature;return o.onGetConfig(t,n,r,i,a)}))}},
{key:"readFmt",value:function(e,t,n,r){var o=this,i=e.meta;t.forEach((function(t)
{if(t.stream)i.hasStream=1;else{var
a=t.url;if(a){/([?&])s(ig(nature)?)?=/i.test(a)||(t.sig?
a+="&sig="+t.sig:t.signature?
a+="&signature="+t.signature:t.s&&(a+="&".concat(t.sp||"signature","=")
+o.html5SigDecipher.applyActions(n.actionList,t.s))),a=a.replace(/\\u0026/
gi,"&");var s=t.itag;if(!s){var u=/(?:[?&])itag=(\d+)/i.exec(a);u&&(s=u[1])}if(s&&!
e[s]){/[?&]itag=/i.test(a)||(a+="&itag="+s),a=ge(a);var l=i[s];if(l||
(l=i[s]={}),t.fps&&(l.fps=t.fps),t.size&&/^\d+x\d+$/.test(t.size)){var
c=t.size.split("x");l.quality=he(c[0],c[1])}if(t.bitrate&&(l.bitrate=parseInt(t.bit
rate)),t.type){l.type=t.type;var d=t.type.match(/codecs="([^"]
+)"/);d&&(l.codecs=d[1])}t.projection_type&&(l.projectionType=parseInt(t.projection
_type)),e[s]||(e[s]=a+r)}}}}))}},{key:"_readPlayerResponse",value:function(e,t,n)
{var r=this,o=function(e){t[e.itag]||
(t[e.itag]=e.url,t.meta[e.itag]=e)};e.streamingData&&(Array.isArray(e.streamingData
.formats)&&e.streamingData.formats.forEach((function(t){var
i=r._readPlayerResponseFormat(t,n,e,"streamingData.formats");i&&o(i)})),Array.isArr
ay(e.streamingData.adaptiveFormats)&&e.streamingData.adaptiveFormats.forEach((funct
ion(t){var
i=r._readPlayerResponseFormat(t,n,e,"streamingData.adaptiveFormats");i&&o(i)})))}},
{key:"_readPlayerResponseFormat",value:function(e,t,n,r){if(e.cipher||
e.signatureCipher){var o=me.parse(e.cipher||
e.signatureCipher),i=o.sp,a=o.s,s=o.url,u=this.html5SigDecipher.applyActions(t.acti
onList,a);e.url=s+(/\?/.test(s)?"&":"?")+"".concat(i,"=")+encodeURIComponent(u)}var
l={source:r},c=""+e.itag;l.itag=c,l.url=e.url,e.fps?
l.fps=parseFloat(e.fps):l.noFps=!0,e.width&&e.height?
(l.quality=he(e.width,e.height),l.width=e.width,l.height=e.height):l.noWidthHeight=
!0,l.bitrate=e.bitrate,l.type=e.mimeType;var d=/codecs="([^"]
+)"/.exec(e.mimeType);if(d){var
f=d[1].split(/,\s*/),p=f.some((function(e){return/^mp4a/.test(e)})),m=f.some((funct
ion(e){return/^avc/.test(e)}));l.isBundle=p&&m}return l.acodec&&!l.vcodec&&(delete
l.noWidthHeight,delete
l.noFps),e.contentLength&&(l.contentLength=parseInt(e.contentLength,10)),l}},
{key:"onGetConfig",value:function(e,t,n,r,o){var
i=this,a=r.player_response,s=a.videoDetails,u=void 0===s?
{}:s,l=a.playabilityStatus,c=void 0===l?{}:l,d={meta:
{}},f="",p=null,m="",h=null;return N()((function(){m=u.lengthSeconds||
r.length_seconds||"";var
e="";(f=u.title||r.title||"")&&(f=f.replace(/\+/g,"
"),e="&title="+encodeURIComponent(L.a.modify(f)));var t=r.fmt_url_map||
r.url_encoded_fmt_stream_map||[],n=r.adaptive_fmts||[],a=c.liveStreamability;
(a&&a.liveStreamabilityRenderer&&!a.liveStreamabilityRenderer.displayEndscreen||
r.livestream||
r.live_playback)&&(d.meta.hasStream=1),i._readPlayerResponse(r.player_response,d,o)
,t&&i.readFmt(d,t,o,e),n&&i.readFmt(d,n,o,e),(h=r.dashmpd||"")&&-1!
==h.indexOf("yt_live_broadcast")&&(h=null)})).then((function(){var
r=Promise.resolve();return t&&(r=r.then((function(){return new Promise((function(t)
{i.getYoutubeSubtitles({extVideoId:e},(function(e){p=e||
null,t()}))})).catch((function(e){pe.error("Get subtitles error: %O",e)}))}))),!
n&&h&&(r=r.then((function(){var e=h,t=function(e){var t=be.exec(e);if(t)return
t[1]}(h)||"signature",n=function(e){var
t=ve.exec(e);if(t)return{fragment:t[1],signature:t[2]}}(h);if(n){var
r=i.html5SigDecipher.applyActions(o.actionList,n.signature);e=h.replace(n.fragment,
"/".concat(t,"/")+r)}return
e=e.replace("/sig/","/signature/"),i.getYouTubeDashLinks(d,e).catch((function(e)
{pe.error("Get dash error: %O",e)}))}))),r})).then((function(){var
e=Object.keys(d).length;return d.meta&&!d.meta.hasStream&&e--,e||(d=null),
{links:d,title:f,subtitles:p,duration:m}}))}},
{key:"addUmmyLinks",value:function(e,t){if(!(!e||
e.meta&&e.meta.hasStream)&&(this.engine.preferences||this.engine.storage||
{}).showUmmyItem){var
n=e.meta;n||(n=e.meta={}),n.videoId=t,e.ummy="ummy://www.youtube.com/watch?
v="+t,e.ummyAudio="ummy://www.youtube.com/watch?v="+t+"&sf_type=audio"}}},
{key:"addTelevzrLinks",value:function(e,t){if(!(!e||e.meta&&e.meta.hasStream)){var
n=(this.engine.preferences||this.engine.storage||{}).experiments,r=void 0===n?
{}:n;new P.a(r["ummy.replace.televzr"]).exec((function(){var n=e.meta;n||
(n=e.meta={}),n.videoId=t,e.televzr="televzr://www.youtube.com/watch?
v="+t,e.ummy&&delete e.ummy,e.ummyAudio&&delete e.ummyAudio}))}}},
{key:"addMuxerLinks",value:function(e,t){if(e&&e.meta&&!
e.meta.hasStream&&this.engine.preferences.ffmpegEnabled){var
n=null,r=null,o=null;Object.keys(e.meta).forEach((function(t){var
i=e.meta[t];i&&(i.isBundle?(!n||i.height>n)&&(n=i.height):/audio\/
mp4/.test(i.type)?(!o||i.bitrate>o.bitrate)&&(o=i):/video\/
mp4/.test(i.type)&&i.height>360&&i.height<=720&&(!r||i.height>r.height||
i.bitrate>r.bitrate||
i.fps>r.fps)&&(r=i))})),r&&o&&(e.meta.muxer={quality:r.quality,width:r.width,height
:r.height,fps:r.fps,format:"MP4",mmProps:{sources:[{url:r.url,format:"mp4"},
{url:o.url,format:"m4a"}],filename:t+".mp4",format:"mp4"}})}}},
{key:"checkYoutubeLinks",value:function(e,t){for(var
n=["18","34","35"],r="",o=0;o<n.length;o++)if(e[n[o]]){r=e[n[o]];break}r?c()
({type:"HEAD",url:r},(function(e,n){t(r,!e)})):t()}},
{key:"convertVtt2Srt",value:function(e,t){c()({url:e.url},(function(n,r,o){if(n||!
o)return pe.error("Request error!",n),t();var
i=/(\d{2}:\d{2}:\d{2})\.(\d{3})/g,a=/^\d{2}:\d{2}:\d{2}\.\d{3}/,s=o.split("\n\
n");a.test(s[0])||s.shift(),a.test(s[s.length-1])||s.pop();var u=!
1,l=s.filter((function(e){var t=a.test(e);return t||(u=!0),t})).map((function(e,t)
{return t+1+"\n"+e.replace(i,"$1,$2")}));if(l=l.join("\n\n"),u)return
t();e.srt=l,e.preprocess="srt2url",t()}))}},
{key:"getYoutubeSubtitles",value:function(e,t){var
n=this,r=e.extVideoId,o="http://video.google.com/timedtext";c()({url:o+"?
hl="+u.a.i18n.getMessage("lang")+"&v="+r+"&type=list&tlangs=1",xml:!0},
(function(e,i,a){if(e||!a)return t();for(var
s,u,l,c=a.querySelectorAll("track"),d=a.querySelectorAll("target"),f=[],p={},m={},h
=void 0,g=0;l=c[g];g+
+)u={lang:s=l.getAttribute("lang_code"),v:r,fmt:"vtt",name:l.getAttribute("name")||
void
0},p[s]={lang:l.getAttribute("lang_translated"),langCode:s,url:o+"?"+me.stringify(u
),name:u.name},f.push(p[s]),!h&&l.getAttribute("cantran")&&(h=u);if(h)for(var
v,b=0;v=d[b];b+
+)s=v.getAttribute("lang_code"),u={lang:h.lang,v:r,tlang:s,fmt:"vtt",name:h.name},m
[s]={lang:v.getAttribute("lang_translated"),langCode:s,url:o+"?"+me.stringify(u),is
Auto:!0};0===(s=navigator.language.toLowerCase()).indexOf("zh-hant")?s="zh-
Hant":0===s.indexOf("zh-hans")&&(s="zh-Hans");var
y=[s];"uk"===y[0]&&y.push("ru");for(var A,k=0;A=y[k];k++)!
p[A]&&m[A]&&f.push(m[A]);var w=0,x=0,_=function(){if(x++,w===x)return t(f)};w+
+,f.forEach((function(e){w++,n.convertVtt2Srt(e,_)})),_()}))}},
{key:"getYouTubeDashLinks",value:function(e,t){var
n,r=this,o={};return(u.a.isChromeMobile||u.a.isFirefoxMobile)&&(o["User-Agent"]=w()
()),(n={url:t,headers:o,xml:!0},new Promise((function(e,t){c()(n,(function(n,r,o)
{n&&"string"==typeof n&&(n=new Error(n)),n?t(n):e(o)}))}))).then((function(t)
{r.parseDash(t,e)}))}},{key:"parseDash",value:function(e,t){for(var
n,r=e.querySelectorAll("Representation"),o=t.meta=t.meta||{},i=0;n=r[i];i++){var
a=n.querySelector("BaseURL"),s=a.textContent;if(s){var
u=a.parentNode.querySelector("SegmentURL"),l=u&&u.getAttribute("media");if(!l||0!
==l.indexOf("sq/")){var c=n.getAttribute("id"),d=o[c];d||(d=o[c]={}),s=ge(s);var
f=n.getAttribute("frameRate");f&&(d.fps=f);var
p=n.getAttribute("width"),m=n.getAttribute("height");p&&m&&(d.quality=he(p,m));var
h=n.getAttribute("codecs");if(h){d.codecs=h;var g=s.match(/mime=([^&]+)/);
(g=g&&g[1])&&(d.type=g)}t[c]||(t[c]=s)}}}}},
{key:"getYoutubeIdListFromPlaylist",value:function(e,t){return
this.getIdListFromList(e.baseUrl||"https://www.youtube.com",e.listId,t),!0}},
{key:"getIdListFromList",value:function(e,t,n){var r=function e(t,n,r,i){r||
(r=[]),c()({url:t+n,json:!0},(function(n,a,s){if(n||!s)return
i(r);r.push(s.content_html);var u=o(s.load_more_widget_html);if(void 0===u)return
i(r);e(t,u,r,i)}))},o=function(e){if(e){var t=e.match(/data-uix-load-more-
href="([^"]+)"/);return t&&(t=t[1]),t||void 0}},i=function(e,t,n){for(var
r=function(e){var t=e.match(/<h1[^>]+>([^<]+)<\/h1>/);if(t)return t[1].replace(/\
r?\n/g,"
").trim()}(t[0]),o={},i=[],a=/href="\/watch\?([^"]+)"/g,s=0,u=0,l=t.length;u<l;u+
+)t[u].replace(a,(function(t,n){var r=_()(n,{params:!
0,sep:"&"});r.list===e&&(r.index=parseInt(r.index),o[r.index]=r.v,r.index>s&&(s
=r.index))}));for(var c=0;c<=s;c++)void 0!==o[c]&&-
1===i.indexOf(o[c])&&i.push(o[c]);n({idList:i,title:r})},a=function(e){var
t=null,n=e.match(/"nextContinuationData":({[^}]+})/);if(n)try{var
r=JSON.parse(n[1]);t="/browse_ajax?"+me.stringify({ctoken:r.continuation,itct:r.cli
ckTrackingParams})}catch(e){pe.debug("getNewNextPageUrl error: %O",e)}return
t},s=function(e,t){var n=function(e){Array.isArray(e)&&e.forEach((function(e){var
n=e.playlistVideoRenderer,r=n&&n.videoId;r&&t.push(r)}))},r=e.indexOf('{"playlistVi
deoListRenderer":{');-1!==r?(e=e.substr(r),O()(e).forEach((function(e){var
t=e.playlistVideoListRenderer,r=t&&t.contents;n(r)}))):-1!
==(r=e.indexOf('{"playlistVideoListContinuation":{'))&&(e=e.substr(r),O()
(e).forEach((function(e){var
t=e.playlistVideoListContinuation,r=t&&t.contents;n(r)})))},u=function e(t,n,r,o,i)
{c()({url:t+n,headers:r,json:!0},(function(n,u,l){if(n)return pe.error("YT next
page request error! %O",n),i();var c=JSON.stringify(l),d=a(c);s(c,o),d?
e(t,d,r,o,i):i()}))};return c()({url:e+"/playlist?list="+t},(function(l,c,d)
{if(l)return n();var f=null;if(/"playlistVideoListRenderer"/.test(d)){var
p=function(e){var t={},n=null,r=/ytcfg\.set\(({.+)/.exec(e);return r&&C()
(r[1]).some((function(e){if(e.INNERTUBE_CONTEXT_CLIENT_NAME)return n=e,!
0})),n&&(t["x-youtube-client-name"]=n.INNERTUBE_CONTEXT_CLIENT_NAME,t["x-youtube-
client-version"]=n.INNERTUBE_CONTEXT_CLIENT_VERSION,n.ID_TOKEN&&(t["x-youtube-
identity-token"]=n.ID_TOKEN)),t}(d),m=function(e){var
t="unknown",n=null,r=e.match(/"playlistSidebarPrimaryInfoRenderer":({.
+)/);if(r&&C()(r[1]).some((function(e){if(e.title&&e.title.runs)return n=e,!
0})),n)try{n.title.runs.some((function(e){if(e.text)return t=e.text}))}catch(e)
{pe.debug("getNewTitle error: %O",e)}return t}(d),h=[];s(d,h),(f=a(d))?u(e,f,p,h,
(function(){n({idList:h,title:m})})):n({idList:h,title:m})}else(f=o(d))?r(e,f,[d],
(function(e){i(t,e,n)})):i(t,[d],n)}))}},
{key:"getYoutubeLinksFromConfig",value:function(e,t){var n=this,r=this;return N()
((function(){var o=e.config;if(!o||!o.playerUrl||!o.args||o.args.video_id!
==e.extVideoId)throw new Error("jsonList args is not found!");var
i=o.args,a=o.playerUrl;return
n.ytMetadata.getInfoFromVideoInfo(i,a).then((function(n){var
o=n.videoInfo,i=n.signature;return
r.onGetConfig(e.extVideoId,e.checkSubtitles,e.noDash,o,i).then((function(n){var
o=n.links,i=n.title;o&&r.addTelevzrLinks(o,e.extVideoId),r.addMuxerLinks(o,i),t({li
nks:o,title:i,isQuick:1})}))}))})).catch((function(n){return pe.warn("Skip
getYoutubeLinksFromConfig, cause %O",n),r.getYoutubeLinks(e,t)})),!0}}]),e}
(),Ae=n(33),ke=n.n(Ae),we=n(34),xe=n.n(we),_e=n(35),Se=n.n(_e),Ce=n(36),Ie=n.n(Ce),
Oe=n(37),Me=n.n(Oe),Le=n(38),Ee=n.n(Le),Pe=n(39),je=n.n(Pe),Te=n(40),De=n.n(Te),Ne=
n(41),Fe=n.n(Ne),Be=n(11),Re=n.n(Be),qe=n(42),ze=n.n(qe),Ve=n(43),We=n.n(Ve),Ge=n(3
),Qe=n.n(Ge),Ye=n(44),Je=n.n(Ye),Ke=n(45),Ze=n.n(Ke),Xe=n(21),
$e=n.n(Xe),et=n(22),tt=n.n(et),nt=n(46),rt=n.n(nt),ot=n(9),it=n(23),at=n(12),st=fun
ction(){function e(){Object(a.a)(this,e)}var t,n,r;return Object(s.a)(e,
[{key:"get",value:(r=Object(o.a)(m.a.mark((function e(t){return
m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
e.next=2,Object(ot.a)(t);case 2:return e.abrupt("return",e.sent);case
3:case"end":return e.stop()}}),e)}))),function(e){return
r.apply(this,arguments)})},{key:"first",value:(n=Object(o.a)(m.a.mark((function
e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
e.next=2,Object(ot.a)(t);case 2:return e.t0=t,e.abrupt("return",e.sent[e.t0]);case
4:case"end":return e.stop()}}),e)}))),function(e){return
n.apply(this,arguments)})},{key:"set",value:(t=Object(o.a)(m.a.mark((function e(t)
{return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
e.next=2,Object(at.a)(t);case 2:return e.abrupt("return",e.sent);case
3:case"end":return e.stop()}}),e)}))),function(e){return
t.apply(this,arguments)})}]),e}(),ut=n(47),lt=f()
("experiments"),ct={experiments:"experiments.main",config:"experiments.config"},dt=
function(){function e(t){Object(a.a)(this,e),this.retryCount=0,this.storage=new
st,this.config={payload:{},lastUpdated:null},this.user=void 0,this.user=t}var
t,n,r;return Object(s.a)(e,[{key:"init",value:(r=Object(o.a)(m.a.mark((function e()
{var t,n,r=this;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:return e.prev=0,lt.info("ExperimentLoader
init"),e.next=4,this._initPayload();case 4:return e.next=6,this.checkUpdate();case
6:if(!e.sent){e.next=16;break}return lt.info("Experiments
updating"),e.next=10,this.requestRemoteConfig();case 10:return
n=e.sent,this.config={payload:n,lastUpdated:Date.now()},this.experiments={},Object.
keys(this.config.payload).forEach((function(e){return
r.experiments[e]=r.refreshExperiment(e)})),e.next=16,this.storage.set((t={},Object(
i.a)(t,ct.config,this.config),Object(i.a)
(t,ct.experiments,this.experiments),t));case 16:return e.abrupt("return",
(lt.info("list:",this.experiments,"config:",this.config),this.experiments));case
19:e.prev=19,e.t0=e.catch(0),this.clearAll().then((function(){return
r.retry()})),lt.error(e.t0);case 22:return e.abrupt("return",{});case
23:case"end":return e.stop()}}),e,this,[[0,19]])}))),function(){return
r.apply(this,arguments)})},{key:"retry",value:function(){var
e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;this.retryCount>=e||
(this.retryCount++,lt.info("Retry loader"),this.init())}},
{key:"_initPayload",value:(n=Object(o.a)(m.a.mark((function e(){var t,n;return
m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
t=Object.keys(ct).map((function(e){return
ct[e]})),e.next=3,this.storage.get(t);case
3:n=e.sent,this.experiments=n[ct.experiments]||{},this.config=n[ct.config]||
this.config;case 5:case"end":return e.stop()}}),e,this)}))),function(){return
n.apply(this,arguments)})},{key:"checkUpdate",value:(t=Object(o.a)
(m.a.mark((function e(){var t,n;return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:return t=this.config.lastUpdated+216e5<(new
Date).getTime(),n=0===Object.keys(this.config.payload).length,e.abrupt("return",t||
n);case 2:case"end":return e.stop()}}),e,this)}))),function(){return
t.apply(this,arguments)})},{key:"requestRemoteConfig",value:function(){var
e="https://sf-helper.com/static/helper-config/experiments.config.json"+"?
ts=".concat(Date.now());return Qe()({url:e,json:!0}).then((function(e){return
e.body}))}},{key:"refreshExperiment",value:function(e){var
t=this.config.payload[e]||{};return t.name=e,
{name:e,config:t,allowed:ut.isAllowedExperiment(t,this.user),payload:t.payload}}},
{key:"clearAll",value:function(){var e;return this.storage.set((e={},Object(i.a)
(e,ct.config,null),Object(i.a)(e,ct.experiments,null),e))}}]),e}();f()
("ShareDistributor");var
ft,pt,mt,ht,gt,vt,bt,yt,At,kt,wt=n(48),xt=n.n(wt),_t=n(10),St=f()
("background"),Ct={};Ct.isReady=!1,Ct.readyHandler=null,Ct.readyPromise=new
Promise((function(e){return Ct.readyHandler=e})).then((function(){return
Ct.isReady=!0})),Ct.utils=function(e){return h=e,g}
(Ct),Ct.modules={},Ct.modules.vimeo=new b.a(Ct),Ct.modules.dailymotion=new
A.a(Ct),Ct.modules.youtube=new ye(Ct),Ct.modules.soundcloud=new
Ie.a(Ct),Ct.modules.matchTv=new Me.a(Ct),Ct.modules.vkontakte=new
ke.a(Ct),Ct.modules.odnoklassniki=new xe.a(Ct),Ct.modules.facebook=new
Se.a(Ct),Ct.modules.mail_ru=new je.a(Ct),Ct.modules.showjet=new
Ee.a(Ct),Ct.modules.yandex_music=new
De.a(Ct),u.a.remote=Object.assign(u.a.remote,xt()
()),u.a.remote.getPreferences=function(){return Ct.readyPromise.then((function()
{return setTimeout((function()
{Ct.userTrack(),Ct.sendInGa.pull()}),1),Ct.preferences}))},Ct.varCache={helperName:
"",currentVersion:"9.41.2",isFirstrun:!1,isUpgrade:!
1,uuid:"",aiid:""},Ct.extra={},Ct.defaultPreferences={version:"0",button:1,lmMediaH
osting:1,moduleYoutube:!
0,moduleYandexMusic:1,moduleDailymotion:1,moduleVimeo:1,moduleFacebook:1,moduleMatc
hTv:1,moduleSoundcloud:1,moduleVkontakte:1,moduleOdnoklassniki:1,moduleMailru:1,mod
uleInstagram:1,moduleRutube:1,moduleTiktok:1,moduleShowDownloadInfo:1,ytHideFLV:0,y
tHideMP4:0,ytHideWebM:1,ytHide3GP:1,ytHide3D:1,ytHideMP4NoAudio:1,ytHideAudio_MP4:1
,vkShowBitrate:0,showUmmyInfo:1,showUmmyBtn:1,gmNativeDownload:0,advPreShow:0,aviaB
arEnabled:1,statEnabled:1,ffmpegEnabled:1,showUmmyLanding:0,onceShowYtTutorial:0,on
ceShowYtTooltip:0,saveAsDialog:0,sortDownloads:{isEnabled:!1,groups:
[{dir:"pictures",formats:["jpg","jpeg","png","gif","svg","bmp","ico","webp"]},
{dir:"music",formats:["mp3","aac","wav","ogg","flac","wma","m4a","m4p"]},
{dir:"videos",formats:
["mkv","avi","3gp","3g2","mov","flv","mp4","m4v","mpg","mpeg","webm","ogv"]}]},data
CollectionEnabled:!0},Ct.preferences={sfHelperName:"",country:"",hasAviaBar:void
0,downloads:void 0,ummyDetected:void 0,showUmmyItem:void 0,experiments:
[]},Ct.preferenceMap=$e.a,Ct.loader=(mt=function(){ft.slice(0).forEach((function(e)
{if(e.nameList.every((function(e){return-1!==pt.indexOf(e)}))){var
t=ft.indexOf(e);if(-1!==t){ft.splice(t,1);try{e.fn()}catch(e){St.error("Run
error!",e)}}}}))},{waitList:ft=[],readyList:pt=[],ready:function(e)
{pt.push(e),mt()},when:function(e,t){Array.isArray(e)||
(e=[e]),ft.push({nameList:e,fn:t}),mt()}}),Ct.events=(gt=[].slice,vt=function(e,t)
{var n=ht[e];ht[e]||(n=ht[e]=[]),-1===n.indexOf(t)&&n.push(t)},
{listeners:ht={},emit:function(e,t){var n=gt.call(arguments).slice(1),r=ht[e]||
[];r.slice(0).forEach((function(e){try{e.apply(null,n)}catch(e){St.error("Emit
error!",e)}}))},on:vt,off:bt=function(e,t){var n=ht[e]||[],r=n.indexOf(t);-1!
==r&&n.splice(r,1)},once:function(e,t){vt(e,(function()
{bt(e,t),t.apply(null,arguments)}))}}),Ct.getHelperName=function(){var e=function()
{var e="",t=navigator.userAgent;return-1!==t.indexOf("YaBrowser/")?e="yabrowser":-
1!==t.indexOf("Maxthon/")?e="maxthon":-1!==t.indexOf("OPR/")?e="opera-chromium":-1!
==t.indexOf("Opera/")?e="opera":-1!==t.indexOf("Firefox/")?e="firefox":-1!
==t.indexOf("Chrome/")?e="chrome":-1!
==t.indexOf("Safari/")&&(e="safari"),e},t="unknown";return u.a.isChrome?
(t=e()||"chrome",/sandbox.html#bg/.test(location.href)&&(t="chameleon"),Ct.chromeNo
Store&&(t+="-sf")):u.a.isFirefox?(t="firefox",u.a.isFirefoxMobile&&(t+="-
mobile"),Ct.firefoxNoStore&&(t+="-sf")):u.a.isSafari?t="safari":u.a.isGM?
t="userjs-"+(t=e()||t):u.a.isEdge&&(t="edge"),t},Ct.getSfHelperName=function(){var
e=Ct.varCache.helperName;return/^firefox/.test(e)&&(e=e.replace("firefox","ff")),e}
,Ct.dblTrackCheck=function(e){if(!u.a.isGM)return e();Re()()||
u.a.storage.get({dblTrack:null},(function(t){var
n=Date.now();if(t.dblTrack&&t.dblTrack.time>n);else{var
r=Ct.generateUuid();u.a.storage.set({dblTrack:{uuid:r,time:n+6e4}},(function()
{setTimeout((function(){u.a.storage.get({dblTrack:null},(function(t)
{t.dblTrack&&t.dblTrack.uuid===r&&e()}))}),5e3)}))}}))},Ct.getUuid=function(){var
e=Ct.varCache;if(e.uuid)return e.uuid;var t=Ct.generateUuid();return
e.uuid=t,u.a.storage.set({uuid:t}),t},Ct.generateUuid=function(){return"xxxxxxxx-
xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|
0;return("x"==e?t:3&t|8).toString(16)}))},Ct.getNavLanguage=function(){var
e="",t=navigator.language;return/^\w{2}-|^\
w{2}$/.test(t)&&(e=t),e},Ct.gmShowButton=function(e){e?
u.a.bundle.showButton():u.a.bundle.hideButton()},Ct.tabListener=function(){var e=!
1,t=Ct.preferences,n=tt()([{matches:/^(?:https?|file|ftp):\/\/[^\\/]*\.vimeo\.com\/
.*$|^(?:https?|file|ftp):\/\/vimeo\.com\/.*$|^(?:https?|file|ftp):\/\/
[^\\/]*\.youtube\.com\/.*$|^(?:https?|file|ftp):\/\/youtube\.com\/.*$|^(?:https?|
file|ftp):\/\/[^\\/]*\.soundcloud\.com\/.*$|^(?:https?|file|ftp):\/\/
soundcloud\.com\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.vk\.com\/.*$|^(?:https?|
file|ftp):\/\/vk\.com\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.vkontakte\.ru\/.*$|
^(?:https?|file|ftp):\/\/vkontakte\.ru\/.*$|^(?:https?|file|ftp):\/\/
[^\\/]*\.ok\.ru\/.*$|^(?:https?|file|ftp):\/\/ok\.ru\/.*$|^(?:https?|file|
ftp):\/\/[^\\/]*\.odnoklassniki\.ru\/.*$|^(?:https?|file|ftp):\/\/
odnoklassniki\.ru\/.*$|^(?:https?|file|ftp):\/\/my\.mail\.ru\/.*$|^(?:https?|file|
ftp):\/\/[^\\/]*\.facebook\.com\/.*$|^(?:https?|file|ftp):\/\/facebook\.com\/.*$|
^(?:https?|file|ftp):\/\/[^\\/]*\.savefrom\.net\/.*$|^(?:https?|file|ftp):\/\/
savefrom\.net\/.*$|^(?:https?|file|ftp):\/\/[^\\/]*\.instagram\.com\/.*$|
^(?:https?|file|ftp):\/\/instagram\.com\/.*$|^(?:https?|file|ftp):\/\/
[^\\/]*\.rutube\.ru\/.*$|^(?:https?|file|ftp):\/\/rutube\.ru\/.*$|^(?:https?|file|
ftp):\/\/[^\\/]*\.tiktok\.com\/.*$|^(?:https?|file|ftp):\/\/tiktok\.com\/.*$/i},
{matches:/^(?:https?|file|ftp):\/\/[^\\/]*\/.*$/i,include_globs:/^[^:]*:\/\/
dailymotion\.[^\\/]*\/.*$|^[^:]*:\/\/[^\\/]*\.dailymotion\.[^\\/]*\/.*$/
i}]),o={},i=function(){e=!
1,St.debug("tabListener",e)};return{extendJsList:o,enable:function()
{u.a.isFirefoxMobile||e||(e=!0,St.debug("tabListener",e))},disable:function()
{u.a.isFirefoxMobile||i()},injectLmInActiveTab:function(){var
e=["includes/commons.js","includes/link_modifier.js"];u.a.getActiveTab((function(t)
{t&&/^http/.test(t.url)&&!n(t.url)&&e.forEach((function(e){u.a.executeScript(t,
{file:e})}))}))},openPage:function(a){e&&function(e,a){var
s=n(a),l=[],c=t.lmMediaHosting;s||c&&(l.push("includes/commons.js"),l.push("include
s/link_modifier.js"));var d=!0;for(var f in o){d=!1;var p=o[f];if(!s||
p.noBlackList){var m=p.getScriptList(a)||[];l.push.apply(l,Object(r.a)(m))}}if(!
c&&d)i();else if(l.length){var h=l.filter((function(e,t,n){return
n.indexOf(e)===t}));St.debug("Inject",a,h),h.forEach((function(t)
{u.a.executeScript(e,{file:t})}))}}(a.tab,a.url)}}}(),Ct.getCountry=function(){var
e,t=Ct.preferences,n=function(e){return new Promise((function(t){return
u.a.storage.set(e,t)}))};return(e={countryExpiresAt:0},new Promise((function(t)
{return u.a.storage.get(e,t)}))).then((function(e){if(V()
()>e.countryExpiresAt)return n({countryExpiresAt:V()()+300}).then((function(){var
e=t.sfHelperName+" "+Ct.varCache.currentVersion;return Qe()
({type:"POST",url:"https://sf-helper.com/geoip/country.php",data:
{sig:e.length},headers:{"X-Helper":e}})})).then((function(e){var
r=e.body.toLowerCase().trim();return St.debug("set
country",r),t.country=r,n({country:r,countryExpiresAt:V()()
+259200})}))})).catch((function(e){St("getCountry
error",e)}))},Ct.loader.when("prepare",(function(){var e=Promise.resolve();return
Ct.liteStorage.get("fromId",0)||u.a.isGM&&Re()()?e:e.then((function(){return
Ct.liteStorage.isTimeout("fromIdTimeout")?St.debug("Request fromId timeout"):
(Ct.liteStorage.setTimeout("fromIdTimeout",21600),Qe()({url:"http://savefrom.net/
tools/get_vid.php"}).then((function(e){var t=e.body,n=-1;/^\d+
$/.test(t)&&(n=parseInt(t)),St.debug("fromId",n),Ct.liteStorage.set("fromId",n)})).
catch((function(e){return St.error("Request fromId
error!",e)})))})).catch((function(e){St.error("Request fromId
error",e)}))})),Ct.onOptionChange={button:function(e)
{u.a.isGM&&Ct.gmShowButton(e)},lmMediaHosting:function(e)
{e&&Ct.tabListener.enable()},gmNativeDownload:function(e)
{u.a.isGM&&(Ct.preferences.downloads=!!
e,u.a.sendMessageToActiveTab({action:"updatePreferences",preferences:Ct.preferences
}))}},Ct.sendInGa=(At=!1,kt=function(){if(!At&&yt.length){At=!0;var
e=Date.now(),t=yt.slice(0,20),n=t.map((function(t){var
n=t.time,r=JSON.parse(JSON.stringify(t.params)),o=e-n;return o>=144e5&&(o=144e5-
1e3*(yt.length+1)),r.qt=o,_t.stringify(r)}));return c()({url:"https://www.google-
analytics.com/batch?z="+e,type:"POST",contentType:"text/html",data:n.join("\
n"),timeout:6e4},(function(e){At=!1,e||(t.forEach((function(e){var
t=e.details,n=yt.indexOf(e);-1!
==n&&yt.splice(n,1);try{t.onSuccess&&t.onSuccess()}catch(e)
{St.error("sendInGa","onSuccess",e)}})),kt())}))}},{stack:yt=[],push:function(e,t)
{var n=!1;(t=t||{}).id&&(n=yt.some((function(e){if(e.details.id===t.id)return!
0}))),n||
(yt.unshift({time:Date.now(),params:e,details:t}),yt.splice(100),setTimeout((functi
on(){kt()}),50))},pull:function()
{yt.length&&(Ct.liteStorage.isTimeout("sendInGaTimeout")||
(Ct.liteStorage.setTimeout("sendInGaTimeout",3600),kt()))}}),Ct.actionList={getMenu
Details:function(e,t){return
t({preferences:Ct.preferences,version:Ct.varCache.currentVersion,lastVersion:functi
on(){var
e="",t=Ct.varCache.currentVersion,n=Ct.liteStorage.get("lastVersion","");if(!t||!
n)return e;try{Je()(t,n)&&(e=n)}catch(e){St.debug("isNewVersion",e)}return e}
(),helperName:Ct.varCache.helperName})},updateOption:function(e){var
t=e.key,n=e.value,r=Ct.preferences[t];Ct.preferences[t]=n;var
o={};o[t]=n,u.a.storage.set(o),Ct.onOptionChange[t]&&Ct.onOptionChange[t]
(n,r)},downloadFromCurrentPage:function(){u.a.getActiveTab((function(e){var
t=e&&e.url||"",n=_t.stringify({url:t,utm_source:Ct.preferences.sfHelperName,utm_med
ium:"extensions",utm_campaign:"bookmarklet"});u.a.openTab("http://
savefrom.net/?"+n,!0)}))},openPoll:function(){if(-1!
==["en","uk","ru"].indexOf(u.a.i18n.getMessage("lang"))){var
e="http://"+u.a.i18n.getMessage("lang")+".savefrom.net/helper-
form.php";u.a.getActiveTab((function(t){var n=t&&t.url||"",r=We()
(n)||"",o="?"+_t.stringify({version:Ct.varCache.currentVersion,helper:Ct.preference
s.sfHelperName,url:r});u.a.openTab(e+o,!0)}))}},viaMenu_updateLinks:function()
{u.a.sendMessageToActiveTab({action:"updateLinks"})},viaMenu_downloadMP3Files:funct
ion()
{u.a.sendMessageToActiveTab({action:"downloadMP3Files"})},viaMenu_downloadPlaylist:
function()
{u.a.sendMessageToActiveTab({action:"downloadPlaylist"})},viaMenu_downloadPhotos:fu
nction()
{u.a.sendMessageToActiveTab({action:"downloadPhotos"})},viaMenu_changeState:functio
n(e)
{if(Ct.actionList.updateOption({key:e.prefKey,value:e.state}),e.state&&"lm"===e.mod
uleName&&e.needInclude)return
Ct.tabListener.injectLmInActiveTab();u.a.sendMessageToActiveTab({action:"changeStat
e",moduleName:e.moduleName,state:e.state})},showOptions:function()
{if(u.a.isGM)u.a.bundle.showOptions();else{var
e="options.html";u.a.isSafari&&(e=safari.extension.baseURI+e),u.a.openTab(e,!
0)}},getActiveTabModuleInfo:function(e,t){return
u.a.sendMessageToActiveTab({action:"getModuleInfo",url:e.url},(function(e)
{t(e)})),!0},getActiveTabUrl:function(e,t){return u.a.getActiveTab((function(e){var
n=e&&e.url||"";return t(n)})),!0},getActiveTabInfo:function(e,t){var
n=Ct.preferences;return u.a.getActiveTab((function(e){var r=e&&e.url||"";if(0!
==r.indexOf("http"))return t();var
o={dailymotion:["*://*.dailymotion.*/*"],facebook:["*://*.facebook.com/*"],mailru:
["*://my.mail.ru/*"],odnoklassniki:["*://*.ok.ru/*","*://*.odnoklassniki.ru/
*"],savefrom:["*://*.savefrom.net/*"],soundcloud:["*://*.soundcloud.com/*"],vimeo:
["*://*.vimeo.com/*"],vk:["*://*.vk.com/*","*://*.vkontakte.ru/*"],youtube:["*://
*.youtube.com/*"],instagram:["*://*.instagram.com/*"],rutube:["*://*.rutube.ru/
*"],tiktok:["*://*.tiktok.com/*"],yandexMusic:["*://music.yandex.ru/*"],matchTv:
["*://matchtv.ru/*"]},i="lm",a="lmMediaHosting",s=n.lmMediaHosting;for(var u in o)
{var l=o[u].map((function(e){return Fe()(e)})).join("|");if((l=new
RegExp(l)).test(r)){i=u,a=Ct.preferenceMap[i],s=n[a];break}}return
t({moduleName:i,prefKey:a,url:r,state:s})})),!0},hideDownloadWarning:function(e,t)
{return void 0!==e.set?u.a.storage.set({hideDownloadWarning:e.set}):
(u.a.storage.get({hideDownloadWarning:!1},(function(e)
{t(e.hideDownloadWarning)})),!0)},track:function(e)
{Ct.readyPromise.then((function(){delete
e.action,Ct.track(e)}))},addToClipboard:function(e){if(u.a.isChrome||u.a.isFirefox)
{var t,n=e.text;document.body.appendChild(t=Ze.a.create("textarea",
{text:n})),t.select(),setTimeout((function(){document.execCommand("copy",!
1,null),t.parentNode.removeChild(t)}))}},setIconBadge:function(e){var
t=String(e.text);(u.a.isChrome||
u.a.isFirefox)&&chrome.browserAction&&chrome.browserAction.setBadgeText({text:t})},
trackError:function(e){try{var t=Ct.actionList.trackError;t.dDbl||(t.dDbl={});var
n=e.desc;if(e.error){var r=e.error;n=n?n+" ":"",r instanceof Error?
(n+=String(r.message||r)||"ERROR",r.stack&&(n+=" "+e.error.stack)):n+=r}var
o=n.substr(0,150);if(t.dDbl[o])return;t.dDbl[o]=!0;var
i={t:"exception",exd:o,tid:"UA-7055055-9"};Ct.sendStatsInfo(i)}catch(e)
{}},openTab:function(e){u.a.openTab(e.url)}},Ct.onMessage=function(e,t,n)
{if(e&&"object"==typeof e){if("openPage"!==e.action){var
r=e.action,o=Ct.actionList[r];if(o)return o.call(Ct.actionList,e,n);var
i=function(t,r){var o=r.call(t,e,n);return o instanceof Promise?(o.then(n),!
0):o};for(var a in Ct.modules){var s=Ct.modules[a];if(o=s[r])return
i(s,o)}return(o=Ct.utils[r])?o.call(Ct.utils,e,n):void 0}Ct.isReady?
Ct.tabListener.openPage(t):this.readyPromise.then((function()
{Ct.tabListener.openPage(t)}))}else St.debug("Skip
message",e)},Ct.loadSettings=function(e){var
t=Ct.varCache,n=Ct.preferences,r=Ct.defaultPreferences;u.a.isGM&&(r.button=0,r.show
UmmyBtn=0);var o={ummyDetected:function(e){e||0===e||(e=n.showUmmyInfo?
0:1,u.a.storage.set({ummyDetected:e})),n.ummyDetected=e}},i=Object.keys(r),a=Object
.keys(o);return u.a.storage.get(i.concat(a),(function(s){if(i.forEach((function(e)
{var t=r[e],o=s[e];void 0===o&&(o=t),n[e]=o})),a.forEach((function(e){o[e]
(s[e])})),t.isFirstrun){var
l={showUmmyLanding:n.showUmmyLanding=1,onceShowYtTooltip:n.onceShowYtTooltip=1,once
ShowYtTutorial:n.onceShowYtTutorial=1};u.a.storage.set(l)}if(n.onceShowYtTutorial&&
!
Ct.hasMenuTutorial&&(n.onceShowYtTutorial=0),u.a.isChrome&&(chrome.downloads&&chrom
e.downloads.download||
chrome.permissions&&chrome.permissions.request)&&(n.downloads=!0),u.a.isGM)
{n.downloads=!1;var c="undefined"!=typeof GM_download,d=!1;c&&"undefined"!=typeof
GM_info&&(d="browser"===GM_info.downloadMode),c&&(n.gmNativeDownload||
d)&&(n.gmNativeDownload=1,n.downloads=!0)}return u.a.isFirefox&&(n.downloads=!
0),n.downloads&&(n.moduleShowDownloadInfo=0),e()}))},Ct.prepare=function(){var
e=Object(o.a)(m.a.mark((function e(t){var n;return m.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:return
n=Ct.varCache,Ct.loader.when("loadSettings",(function(){n.isUpgrade=!
n.isFirstrun&&Ct.preferences.version!
==n.currentVersion,t()})),e.next=4,Ct.getCountry();case
4:Ct.loadSettings((function(){Ct.loader.ready("loadSettings")}));case
5:case"end":return e.stop()}}),e)})));return function(t){return
e.apply(this,arguments)}}(),Ct.initMessageListener=function()
{Ct.initMessageListener.fired||(Ct.initMessageListener.fired=!
0,u.a.onMessage.addListener((function(e,t,n){return
Ct.onMessage(e,t,n)})))},Ct.init=function(){Ct.initMessageListener();var
e=Ct.varCache,t=Ct.preferences;return jt().then((function(){return
u.a.storage.get(Object(i.a)
({uuid:"",version:"",country:"",aiid:"",lc:null},Ct.liteStorage.getStorageKey(),
{}),function(){var n=Object(o.a)(m.a.mark((function n(r){var o,i;return
m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return
Ct.liteStorage.setStorage(r),null===r.lc&&(r.lc=Math.random()<.05,u.a.storage.set({
lc:r.lc})),t.lc=r.lc,"string"==typeof
r.uuid&&36===r.uuid.length&&(e.uuid=r.uuid),"string"==typeof
r.aiid&&(e.aiid=r.aiid.replace(/aiid/,"").replace(/#/g,"")),r.version||
(e.isFirstrun=!0),r.country&&(t.country=r.country),o=new
it.UserEnvironment(Object(it.getBrowser)(u.a),Ct.preferences.country),i=new
dt(o),n.next=4,i.init();case
4:Ct.preferences.experiments=n.sent,e.helperName=Ct.getHelperName(),t.showUmmyItem=
/^Win|^Mac/.test(navigator.platform)?
1:0,t.sfHelperName=Ct.getSfHelperName(),Ct.loader.ready("init"),Ct.loader.when("pre
pare",(function(){Ct.checkVersion()})),Ct.events.on("sendScreenView",(function()
{if(t.lc){var e={t:"screenview",cd:"init",cd4:"true",tid:"UA-67738130-
7"};Ct.wrapBaseStatInfo(e),Ct.quickTrack(e),rt()
([{user_id:Ct.varCache.uuid,event_type:"init",user_properties:
{Cohort:"Clear"}}]).catch((function(){chrome&&"tabs"in chrome&&"webNavigation"in
chrome&&chrome.tabs.query({currentWindow:!0,active:!0},(function(e){0!
==e.length&&chrome.webNavigation.getAllFrames({tabId:e[0].id},(function(e)
{St.debug("Error in amplitude:
",e)}))}))}))}})),Ct.prepare((function()
{Ct.loader.ready("prepare"),Ct.readyHandler()}));case 12:case"end":return
n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}())}))};var
It,Ot,Mt,Lt,Et,Pt,jt=function(){return Promise.resolve().then((function()
{if(u.a.isChrome)return new Promise((function(e){return
u.a.storage.get({migrated3:!1},(function(t){return
e(t.migrated3)}))})).then((function(e){if(!e){var t={migrated3:!0};return
Object.keys(localStorage).forEach((function(e){var
n=localStorage.getItem(e);try{/^{(?:"w":.+|)}
$/.test(n)&&(t[e]=JSON.parse(n).w)}catch(t){St.error("Parse value
error",e,t)}})),new Promise((function(e){return
u.a.storage.set(t,e)}))}})).catch((function(e){St.error("migrate
error",e),u.a.storage.set({migrated3:!0})}))}))};Ct.userTrack=function(){if(!
Ct.liteStorage.isTimeout("trackTimeout"))
{Ct.liteStorage.setTimeout("trackTimeout",300);var
e={t:"screenview",cd:"init",tid:"UA-7055055-5"};return e.cd8=function(){try{return
GM_info.scriptHandler}catch(e){return"unknown"}}(),Ct.dblTrackCheck((function()
{Ct.track(e,{id:"init",onSuccess:function()
{Ct.liteStorage.setTimeout("trackTimeout",43200),Ct.events.emit("sendScreenView"),O
bject(ot.a)({country:null}).then((function(e){if(null===e.country)return new
Promise((function(e){u.a.storage.onChanged.addListener((function t(n,r)
{"local"===r&&n.country&&(u.a.storage.onChanged.removeListener(t),e())}))}))})).the
n((function(){if("de"===Ct.preferences.country){var t=Object.assign({},e,{tid:"UA-
119781451-36"});Ct.quickTrack(t)}}))}})}))}},Ct.trackValidate=function(e){var
t=function(e){return!(!e&&0!==e&&!1!==e)&&-1===["object","function"].indexOf(typeof
e)};if(!e.tid)return!1;if(!e.cid)return!1;if(1!==parseInt(e.v))return!1;if(!
t(e.an))return!1;if(!e.t)return!1;if("event"===e.t){if(!t(e.ec)||!t(e.ea)||!
t(e.el))return!1}else if("screenview"===e.t){if(!t(e.cd))return!1}else if(!
("social"!==e.t||t(e.st)&&t(e.sa)&&t(e.sn)))return!1;return!
0},Ct.track=function(e,t){return Ct.sendStatsInfo(e,t)},Ct.quickTrack=function(e,t)
{Ct.trackValidate(e)?(St.debug("Track",e),Ct.sendInGa.push(e,t)):St.error("Invalid
track params!",e)},Ct.wrapBaseStatInfo=function(e){var
t=Ct.varCache,n={v:1,ul:navigator.language,tid:"UA-67738130-
2",cid:Ct.getUuid(),an:"helper",aid:t.helperName,av:t.currentVersion};for(var r in
n)e.hasOwnProperty(r)||(e[r]=n[r]);for(var o in
e)"&clientID"===e[o]&&(e[o]=e.cid);return e},Ct.sendStatsInfo=function(e,t){var
n=Ct.preferences;Ct.wrapBaseStatInfo(e),Ct.varCache.aiid&&(e.aiid=Ct.varCache.aiid)
,e.hasOwnProperty("cd3")||(e.cd3=u.a.i18n.getMessage("lang"));var
r=Ct.liteStorage.get("fromId",0);r>0&&(e.cd2=r),n.hasSovetnik&&(e.cd4=n.sovetnikEna
bled?"true":"false"),e.cd6=n.ummyDetected?"true":n.showUmmyItem?"false":"none",n.ha
sAviaBar&&(e.cd7=n.aviaBarEnabled?"true":"false"),Ct.quickTrack(e,t)},Ct.checkVersi
on=function(){var e=Ct.varCache,t=!1;e.isFirstrun?(Ct.loader.ready("firstrun"),t=!
0):e.isUpgrade&&(Ct.loader.ready("upgrade"),t=!
0),t&&Ct.actionList.updateOption({key:"version",value:e.currentVersion})},Ct.loader
.when("firstrun",(function(){if(!u.a.isGM){var e="http://savefrom.net/user.php?
helper="+Ct.preferences.sfHelperName+";firstrun";u.a.isFirefox&&(Ct.actionList.upda
teOption({key:"dataCollectionEnabled",value:!
1}),e=chrome.runtime.getURL("eula.html")),Ct.utils.checkUrlsOfOpenTabs([/
https?:\/\/([\w\-]+\.)?savefrom\.net\/(update-helper|userjs-setup)\.php/i],
(function(t){t.length>0||Ct.utils.checkUrlsOfOpenTabs([/https?:\/\/legal\.yandex\.
(ru|com\.tr)\//i],(function(t){var n=0===t.length;return
u.a.openTab(e,n)}))}))}})),Ct.loader.when("prepare",(function(){var
e=Ct.preferences;e.onceShowYtTutorial&&Ct.actionList.setIconBadge({text:"?"}),e.sho
wUmmyLanding&&u.a.storage.get({onceUmmyLandingHide:0},(function(t)
{t.onceUmmyLandingHide>2&&u.a.storage.set({showUmmyLanding:e.showUmmyLanding=0})}))
})),Ct.loader.when("prepare",(function()
{Ct.tabListener.enable()})),Ct.loader.when("init",(function(){if((u.a.isChrome||
u.a.isFirefox)&&chrome.runtime.setUninstallURL){var
e=Ct.varCache,t=Ct.preferences,n=function(){var
n={version:e.currentVersion,language:u.a.i18n.getMessage("lang"),appid:e.helperName
,country:t.country},r=("http://savefrom.net/
goodbye.php?"+_t.stringify(n)).substr(0,255);chrome.runtime.setUninstallURL(r)};n()
,Ct.loader.when("prepare",(function()
{n()})),u.a.storage.onChanged.addListener((function(e,t)
{"local"===t&&e.country&&n()}))}})),Ct.liteStorage=(It={},Ot=function(e){var
t={};return t.liteStorage=It,u.a.storage.set(t,e)},Mt=function()
{St.error("liteStorage is not set!")},Pt=function(e,t){return Lt(e,V()()+t)},
{getStorageKey:function(){return"liteStorage"},setStorage:function(e)
{It=e.liteStorage||{},Mt=ze()(Ot,100)},set:Lt=function(e,t){It[e]!
==t&&(It[e]=t,Mt())},get:Et=function(e,t){var n=It[e];return void
0===n&&(n=t),function(e){return JSON.parse(JSON.stringify({w:e})).w}
(n)},isTimeout:function(e){return Et(e,0)>V()()},setTimeout:Pt,isExpire:function(e)
{return Et(e,0)<V()()},setExpire:Pt}),Ct.loader.when("prepare",(function(){var
e=n(54).default;Ct.userscriptMenu=new e(Ct)})),(0,n(55).default)(Ct),
(0,n(56).default)(Ct),(0,n(57).default)(Ct),(0,n(58).default)
(Ct),Ct.init()}])}],e.backgroundPageMono=null,e.buttonUi=null,e.optionsPageUi=null,
e.init(),e}return Object(s.a)(u,[{key:"createMonoInstance",value:function(e){var
t=null;switch(e){case"backgroundPage":t=new Ae(this);break;case"page":t=new
Oe(this);break;case"contentScript":t=new Ne(this);break;default:l(Object(f.a)
(u.prototype),"createMonoInstance",this).call(this,e)}return
this.addMonoInstance(t),t}},{key:"init",value:function(){var e=this;return
this.runWhenDocumentIdle((function(){ze.default.isSingle()&&e.inject()}))}},
{key:"wakeUpBackgroundPage",value:function(){this.backgroundPageLoaded||
(this.backgroundPageLoaded=!0,this.executeBackgroundScripts())}},
{key:"showButton",value:function(){this.hideButton(),this.buttonUi=new
qe(this),this.buttonUi.create()}},{key:"hideButton",value:function()
{this.buttonUi&&this.buttonUi.destroy(),this.buttonUi=null}},
{key:"showOptions",value:function(){this.closeOptions(),this.optionsPageUi=new
D(this),this.optionsPageUi.create()}},{key:"closeOptions",value:function()
{this.optionsPageUi&&this.optionsPageUi.destroy(),this.optionsPageUi=null}},
{key:"getBackgroundPageMono",value:function(){return this.backgroundPageMono||
(this.backgroundPageMono=this.createMonoInstance("backgroundPage")),this.background
PageMono}},{key:"executeBackgroundScripts",value:function()
{this.executeScripts(this.backgroundScripts,this.getBackgroundPageMono())}}]),u}
(L);t.default=new Qe},function(e,t,n){"use strict";n.r(t),n.d(t,"Struct",
(function(){return O})),n.d(t,"StructError",(function(){return M})),n.d(t,"any",
(function(){return V})),n.d(t,"array",(function(){return H})),n.d(t,"assert",
(function(){return L})),n.d(t,"boolean",(function(){return W})),n.d(t,"coerce",
(function(){return E})),n.d(t,"coercion",(function(){return D})),n.d(t,"date",
(function(){return G})),n.d(t,"defaulted",(function(){return N})),n.d(t,"dynamic",
(function(){return Q})),n.d(t,"empty",(function(){return R})),n.d(t,"enums",
(function(){return Y})),n.d(t,"func",(function(){return J})),n.d(t,"instance",
(function(){return K})),n.d(t,"intersection",(function(){return Z})),n.d(t,"is",
(function(){return P})),n.d(t,"lazy",(function(){return X})),n.d(t,"length",
(function(){return q})),n.d(t,"literal",(function(){return $})),n.d(t,"map",
(function(){return ee})),n.d(t,"masked",(function(){return F})),n.d(t,"never",
(function(){return te})),n.d(t,"nullable",(function(){return ne})),n.d(t,"number",
(function(){return re})),n.d(t,"object",(function(){return oe})),n.d(t,"optional",
(function(){return ie})),n.d(t,"partial",(function(){return ae})),n.d(t,"pattern",
(function(){return z})),n.d(t,"record",(function(){return se})),n.d(t,"refinement",
(function(){return U})),n.d(t,"set",(function(){return ue})),n.d(t,"string",
(function(){return le})),n.d(t,"struct",(function(){return ce})),n.d(t,"tuple",
(function(){return de})),n.d(t,"type",(function(){return fe})),n.d(t,"union",
(function(){return pe})),n.d(t,"validate",(function(){return j}));var
r=n(38),o=n(37),i=n(30),a=n(39);var
s=n(8),u=n(9),l=n(21),c=n(6),d=n(7),f=n(3),p=n(15),m=n(1),h=n(0),g=n.n(h);function
v(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator])
{if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return
b(e,t);var n=Object.prototype.toString.call(e).slice(8,-
1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)retu
rn Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?
Array$/.test(n))return b(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var
r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!
1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt
to iterate non-iterable instance.\nIn order to be iterable, non-array objects must
have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function()
{n=e[Symbol.iterator]()},n:function(){var e=n.next();return
a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||
n.return()}finally{if(s)throw i}}}}function b(e,t){(null==t||
t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return
r}function y(e){var t=function(){if("undefined"==typeof Reflect||!
Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof
Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,
[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)
(e);if(t){var o=Object(f.a)
(this).constructor;n=Reflect.construct(r,arguments,o)}else
n=r.apply(this,arguments);return Object(d.a)(this,n)}}var
A=g.a.mark(C),k=g.a.mark(T);function w(e,t,n){return t in e?
Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!
0}):e[t]=n,e}function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols)
{var
r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return
Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return
n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?
arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t)
{w(e,t,n[t])})):Object.getOwnPropertyDescriptors?
Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach
((function(t)
{Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return
e}function S(e,t){if(null==e)return{};var n,r,o=function(e,t)
{if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r+
+)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}
(e,t);if(Object.getOwnPropertySymbols){var
i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||
Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function
C(e,t){return g.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!0!==e)
{n.next=4;break}n.next=10;break;case 4:if(!1!==e){n.next=9;break}return
n.next=7,t.fail();case 7:n.next=10;break;case 9:return
n.delegateYield(e,"t0",10);case 10:case"end":return n.stop()}}),A)}function I(e)
{var t=e.next(),n=t.done,r=t.value;return n?void 0:r}var O=function e(t)
{Object(m.a)(this,e);var n=t.type,r=t.schema,o=t.coercer,i=void 0===o?function(e)
{return e}:o,a=t.validator,s=void 0===a?function(){return[]}:a,u=t.refiner,l=void
0===u?function()
{return[]}:u;this.type=n,this.schema=r,this.coercer=i,this.validator=s,this.refiner
=l},M=function(e){Object(c.a)(n,e);var t=y(n);function n(e,r){var o;Object(m.a)
(this,n);var i,a=e.path,s=e.value,c=e.type,d=e.branch,f=S(e,
["path","value","type","branch"]),p="Expected a value of type
`".concat(c,"`").concat(a.length?" for `".concat(a.join("."),"`"):""," but received
`").concat(JSON.stringify(s),"`.");return(o=t.call(this,p)).value=s,Object.assign(O
bject(l.a)(o),f),o.type=c,o.path=a,o.branch=d,o.failures=function(){return i||
(i=[e].concat(Object(u.a)(r))),i},o.stack=(new
Error).stack,o.__proto__=n.prototype,o}return n}(Object(p.a)(TypeError));function
L(e,t){var n=j(e,t);if(n[0])throw n[0]}function E(e,t){var n=t.coercer(e);return
L(n,t),n}function P(e,t){return!j(e,t)[0]}function j(e,t){var
n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n&&(e=t.coercer(e));var
r=T(e,t),o=I(r);if(o){var i=new M(o,r);return[i,void 0]}return[void 0,e]}function
T(e,t){var n,r,o,i,a,s,l=arguments;return g.a.wrap((function(c)
{for(;;)switch(c.prev=c.next){case 0:if(n=l.length>2&&void 0!==l[2]?l[2]:
[],r=l.length>3&&void 0!==l[3]?l[3]:
[],o=t.type,i={value:e,type:o,branch:r,path:n,fail:function(){var
t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return
_({value:e,type:o,path:n,branch:[].concat(Object(u.a)(r),
[e])},t)},check:function(e,t,o,i){return T(e,t,void 0!==o?[].concat(Object(u.a)(n),
[i]):n,void 0!==o?[].concat(Object(u.a)(r),[o]):r)}},a=C(t.validator(e,i),i),!
(s=I(a))){c.next=12;break}return c.next=9,s;case 9:return
c.delegateYield(a,"t0",10);case 10:c.next=13;break;case 12:return
c.delegateYield(C(t.refiner(e,i),i),"t1",13);case 13:case"end":return
c.stop()}}),k)}function D(e,t){var n=e.coercer;return new O(_(_({},e),{},
{coercer:function(e){return n(t(e))}}))}function N(e,t,n){return D(e,(function(e)
{var r="function"==typeof t?t():t;if(void 0===e)return r;if(!0!==n&&B(e)&&B(r)){var
o=_({},e),i=!1;for(var a in r)void 0===o[a]&&(o[a]=r[a],i=!0);if(i)return o}return
e}))}function F(e){return D(e,(function(t){if(!B(t))return t;var n={};for(var r in
e.schema)n[r]=t[r];return n}))}function B(e){if("[object Object]"!
==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return
null===t||t===Object.prototype}function R(e){return U(e,"".concat(e.type," &
Empty"),(function(e){return 0===e.length}))}function q(e,t,n){return
U(e,"".concat(e.type," & Length<").concat(t,",").concat(n,">"),(function(e){return
t<e.length&&e.length<n}))}function z(e,t){return U(e,"".concat(e.type," &
Pattern<").concat(t.source,">"),(function(e){return t.test(e)}))}function U(e,t,n)
{var r=e.refiner;return new O(_(_({},e),{},{type:t,refiner:g.a.mark((function
e(t,o){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
e.delegateYield(C(r(t,o),o),"t0",1);case 1:return
e.delegateYield(C(n(t,o),o),"t1",2);case 2:case"end":return
e.stop()}}),e)}))}))}function V(){return ce("any",(function(){return!0}))}function
H(e){return new O({type:"Array<".concat(e?
e.type:"unknown",">"),schema:e,coercer:function(t){return e&&Array.isArray(t)?
t.map((function(t){return E(t,e)})):t},validator:g.a.mark((function t(n,r){var
o,i,a,u,l;return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case
0:if(Array.isArray(n)){t.next=4;break}return t.next=3,r.fail();case 3:return
t.abrupt("return");case 4:if(!e)
{t.next=21;break}o=v(n.entries()),t.prev=6,o.s();case 8:if((i=o.n()).done)
{t.next=13;break}return a=Object(s.a)
(i.value,2),u=a[0],l=a[1],t.delegateYield(r.check(l,e,n,u),"t0",11);case
11:t.next=8;break;case 13:t.next=18;break;case
15:t.prev=15,t.t1=t.catch(6),o.e(t.t1);case 18:return
t.prev=18,o.f(),t.finish(18);case 21:case"end":return t.stop()}}),t,null,
[[6,15,18,21]])}))})}function W(){return ce("boolean",(function(e)
{return"boolean"==typeof e}))}function G(){return ce("Date",(function(e){return e
instanceof Date&&!isNaN(e.getTime())}))}function Q(e){return ce("Dynamic<...>",
(function(t,n){return n.check(t,e(t,n))}))}function Y(e){return
ce("Enum<".concat(e.map(me),">"),(function(t){return e.includes(t)}))}function J()
{return ce("Function",(function(e){return"function"==typeof e}))}function K(e)
{return ce("InstanceOf<".concat(e.name,">"),(function(t){return t instanceof
e}))}function Z(e){return ce(e.map((function(e){return e.type})).join(" &
"),g.a.mark((function t(n,r){var o,i,a;return g.a.wrap((function(t)
{for(;;)switch(t.prev=t.next){case 0:o=v(e),t.prev=1,o.s();case
3:if((i=o.n()).done){t.next=8;break}return
a=i.value,t.delegateYield(r.check(n,a),"t0",6);case 6:t.next=3;break;case
8:t.next=13;break;case 10:t.prev=10,t.t1=t.catch(1),o.e(t.t1);case 13:return
t.prev=13,o.f(),t.finish(13);case 16:case"end":return t.stop()}}),t,null,
[[1,10,13,16]])})))}function X(e){var t;return ce("Lazy<...>",(function(n,r){return
t||(t=e()),r.check(n,t)}))}function $(e){return ce("Literal<".concat(me(e),">"),
(function(t){return t===e}))}function ee(e,t){return
ce("Map<".concat(e.type,",").concat(t.type,">"),g.a.mark((function n(r,o){var
i,a,u,l,c;return g.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r
instanceof Map){n.next=4;break}return n.next=3,o.fail();case 3:return
n.abrupt("return");case 4:i=v(r.entries()),n.prev=5,i.s();case 7:if((a=i.n()).done)
{n.next=13;break}return u=Object(s.a)
(a.value,2),l=u[0],c=u[1],n.delegateYield(o.check(l,e,r,l),"t0",10);case 10:return
n.delegateYield(o.check(c,t,r,l),"t1",11);case 11:n.next=7;break;case
13:n.next=18;break;case 15:n.prev=15,n.t2=n.catch(5),i.e(n.t2);case 18:return
n.prev=18,i.f(),n.finish(18);case 21:case"end":return n.stop()}}),n,null,
[[5,15,18,21]])})))}function te(){return ce("never",(function(){return!
1}))}function ne(e){return new O({type:"".concat(e.type," |
null"),schema:e.schema,validator:function(t,n){return null===t||
n.check(t,e)}})}function re(){return ce("number",(function(e)
{return"number"==typeof e&&!isNaN(e)}))}function oe(e){var t=e?Object.keys(e):
[],n=te();return new
O({type:e?"Object<{".concat(t.join(","),"}>"):"Object",schema:e||null,coercer:e?
he(e):function(e){return e},validator:g.a.mark((function r(o,i){var
a,s,u,l,c,d,f,p,m,h;return g.a.wrap((function(r){for(;;)switch(r.prev=r.next){case
0:if("object"==typeof o&&null!=o){r.next=4;break}return r.next=3,i.fail();case
3:return r.abrupt("return");case 4:if(!e){r.next=42;break}a=new
Set(Object.keys(o)),s=v(t),r.prev=7,s.s();case 9:if((u=s.n()).done)
{r.next=17;break}return
l=u.value,a.delete(l),c=e[l],d=o[l],r.delegateYield(i.check(d,c,o,l),"t0",15);case
15:r.next=9;break;case 17:r.next=22;break;case
19:r.prev=19,r.t1=r.catch(7),s.e(r.t1);case 22:return
r.prev=22,s.f(),r.finish(22);case 25:f=v(a),r.prev=26,f.s();case
28:if((p=f.n()).done){r.next=34;break}return
m=p.value,h=o[m],r.delegateYield(i.check(h,n,o,m),"t2",32);case
32:r.next=28;break;case 34:r.next=39;break;case
36:r.prev=36,r.t3=r.catch(26),f.e(r.t3);case 39:return
r.prev=39,f.f(),r.finish(39);case 42:case"end":return r.stop()}}),r,null,
[[7,19,22,25],[26,36,39,42]])}))})}function ie(e){return new
O({type:"".concat(e.type,"?"),schema:e.schema,validator:function(t,n){return void
0===t||n.check(t,e)}})}function ae(e){e instanceof O&&(e=e.schema);var
t=Object.keys(e),n=te();return new
O({type:"Partial<{".concat(t.join(","),"}>"),schema:e,coercer:he(e),validator:g.a.m
ark((function r(o,i){var a,s,u,l,c,d,f,p,m,h;return g.a.wrap((function(r)
{for(;;)switch(r.prev=r.next){case 0:if("object"==typeof o&&null!=o)
{r.next=4;break}return r.next=3,i.fail();case 3:return r.abrupt("return");case
4:a=new Set(Object.keys(o)),s=v(t),r.prev=6,s.s();case 8:if((u=s.n()).done)
{r.next=18;break}if(l=u.value,a.delete(l),l in o){r.next=13;break}return
r.abrupt("continue",16);case 13:return
c=e[l],d=o[l],r.delegateYield(i.check(d,c,o,l),"t0",16);case 16:r.next=8;break;case
18:r.next=23;break;case 20:r.prev=20,r.t1=r.catch(6),s.e(r.t1);case 23:return
r.prev=23,s.f(),r.finish(23);case 26:f=v(a),r.prev=27,f.s();case
29:if((p=f.n()).done){r.next=35;break}return
m=p.value,h=o[m],r.delegateYield(i.check(h,n,o,m),"t2",33);case
33:r.next=29;break;case 35:r.next=40;break;case
37:r.prev=37,r.t3=r.catch(27),f.e(r.t3);case 40:return
r.prev=40,f.f(),r.finish(40);case 43:case"end":return r.stop()}}),r,null,
[[6,20,23,26],[27,37,40,43]])}))})}function se(e,t){return
ce("Record<".concat(e.type,",").concat(t.type,">"),g.a.mark((function n(r,o){var
i,a;return g.a.wrap((function(n){for(;;)switch(n.prev=n.next){case
0:if("object"==typeof r&&null!=r){n.next=4;break}return n.next=3,o.fail();case
3:return
n.abrupt("return");case 4:n.t0=g.a.keys(r);case 5:if((n.t1=n.t0()).done)
{n.next=12;break}return
i=n.t1.value,a=r[i],n.delegateYield(o.check(i,e,r,i),"t2",9);case 9:return
n.delegateYield(o.check(a,t,r,i),"t3",10);case 10:n.next=5;break;case
12:case"end":return n.stop()}}),n)})))}function ue(e){return
ce("Set<".concat(e.type,">"),(function(t,n){if(!(t instanceof Set))return!1;var
r,o=v(t);try{for(o.s();!(r=o.n()).done;){var
i=r.value,a=n.check(i,e);if(Object(s.a)(a,1)[0])return!1}}catch(e)
{o.e(e)}finally{o.f()}return!0}))}function le(){return ce("string",(function(e)
{return"string"==typeof e}))}function ce(e,t){return new
O({type:e,validator:t,schema:null})}function de(e){var t=te();return
ce("[".concat(e.map((function(e){return e.type})).join(","),"]"),g.a.mark((function
n(r,o){var i,a,u,l,c,d,f,p;return g.a.wrap((function(n)
{for(;;)switch(n.prev=n.next){case 0:if(Array.isArray(r)){n.next=4;break}return
n.next=3,o.fail();case 3:return n.abrupt("return");case
4:i=v(e.entries()),n.prev=5,i.s();case 7:if((a=i.n()).done){n.next=13;break}return
u=Object(s.a)
(a.value,2),l=u[0],c=u[1],d=r[l],n.delegateYield(o.check(d,c,r,l),"t0",11);case
11:n.next=7;break;case 13:n.next=18;break;case
15:n.prev=15,n.t1=n.catch(5),i.e(n.t1);case 18:return
n.prev=18,i.f(),n.finish(18);case 21:if(!(r.length>e.length))
{n.next=25;break}return
f=e.length,p=r[f],n.delegateYield(o.check(p,t,r,f),"t2",25);case
25:case"end":return n.stop()}}),n,null,[[5,15,18,21]])})))}function fe(e){var
t=Object.keys(e);return ce("Type<{".concat(t.join(","),"}>"),g.a.mark((function
n(r,o){var i,a,s,u,l;return g.a.wrap((function(n){for(;;)switch(n.prev=n.next){case
0:if("object"==typeof r&&null!=r){n.next=4;break}return n.next=3,o.fail();case
3:return n.abrupt("return");case 4:i=v(t),n.prev=5,i.s();case 7:if((a=i.n()).done)
{n.next=14;break}return
s=a.value,u=e[s],l=r[s],n.delegateYield(o.check(l,u,r,s),"t0",12);case
12:n.next=7;break;case 14:n.next=19;break;case
16:n.prev=16,n.t1=n.catch(5),i.e(n.t1);case 19:return
n.prev=19,i.f(),n.finish(19);case 22:case"end":return n.stop()}}),n,null,
[[5,16,19,22]])})))}function pe(e){return ce("".concat(e.map((function(e){return
e.type})).join(" | ")),g.a.mark((function t(n,s){var u,l,c,d,f;return
g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case
0:u=v(e),t.prev=1,u.s();case 3:if((l=u.n()).done)
{t.next=10;break}if(c=l.value,d=s.check(n,c),f=r(p=d)||o(p)||i(p)||a(),0!
==f.slice(0).length){t.next=8;break}return t.abrupt("return");case
8:t.next=3;break;case 10:t.next=15;break;case
12:t.prev=12,t.t0=t.catch(1),u.e(t.t0);case 15:return
t.prev=15,u.f(),t.finish(15);case 18:return t.next=20,s.fail();case
20:case"end":return t.stop()}var p}),t,null,[[1,12,15,18]])})))}function me(e)
{return"string"==typeof e?'"'.concat(e.replace(/"/g,'"'),'"'):"".concat(e)}function
he(e){var t=Object.keys(e);return function(n){if("object"!=typeof n||null==n)return
n;var r,o={},i=new Set(Object.keys(n)),a=v(t);try{for(a.s();!(r=a.n()).done;){var
s=r.value;i.delete(s);var u=e[s],l=n[s];o[s]=E(l,u)}}catch(e)
{a.e(e)}finally{a.f()}var c,d=v(i);try{for(d.s();!(c=d.n()).done;){var
f=c.value;o[f]=n[f]}}catch(e){d.e(e)}finally{d.f()}return o}}},function(e,t,n){"use
strict";n.r(t);var r=n(1),o=n(2),i=n(29),a=n(32),s=n(18),u=function(e,t){t&&!
Array.isArray(t)&&(t=[t]);var n=[],r=-1,o=-1;do{if(-1!==(o=e.indexOf('"',o+1)))
{if("\\"===e[o-1])continue;-1!==r?(n.push(e.substr(r,o+1-r)),r=-1):r=o}else
r=o}while(-1!==o);for(var i,a=[],s=function(e,n)
{if('""'===n)return"continue";try{t?t.every((function(e){return
e.test(n)}))&&a.push(JSON.parse(n)):a.push(JSON.parse(n))}catch(e){}},u=0;i=n[u];u+
+)s(0,i);return a},l=function(e,t,n){n=n||[],Array.isArray(n)||(n=[n]);for(var
r=[],o=new RegExp("(<"+e+"[^>]*>)","i"),i=new
RegExp("(</"+e+">)","i"),a=null,s="",u="",l="",c=-1;(a=o.exec(t))&&(s=a[1],-1!
==(c=t.indexOf(s)));)t=t.substr(c+s.length),
(a=i.exec(t))&&(u=a[1],l=t.substr(0,t.indexOf(u)),r.push(s+l+u));return
r.filter((function(e){return n.every((function(t){return
t.test(e)}))}))},c=n(33),d=n(12),f=n(28),p=function(){function e(t){Object(r.a)
(this,e),this.engine=t}return Object(o.a)(e,[{key:"getVKLinks",value:function(e,t)
{var n=this,r=this;return this._getVKLinks(e.extVideoId,(function(o,i,a,s,u,l,c)
{if(c)return c.origRequest=e,void r.engine.onMessage(c,{},t);var
d={action:e.action,extVideoId:o||
e.extVideoId,links:i,title:a,duration:s,thumb:u,data:l,checkLinks:null};e.checkLink
s&&i&&i.length>0?n.checkVkLinks(i,(function(e,n){d.checkLinks=n,t(d)})):t(d)})),!
0}},{key:"preparePladformLinks",value:function(e){var t,n={links:t=[]};return
e.forEach((function(e){n.title=e.title,n.duration=e.duration,n.thumb=e.cover;var
r=e.url.match(/[\w]+\.(mp4|flv)(?:\?|$)/i);r=r?
r[1]:"flv",t.push({url:e.url,name:r.toUpperCase(),subname:e.quality.toUpperCase(),t
ype:r.toLowerCase()})})),n}},{key:"_getVKLinks",value:function(e,t){var
n=this,r=this,o=[],p=e,m=null,h="",g="",v=e,b=null,y=null,A=null,k=/^video(-?\
d+)_(\d+)/
i;if(k.test(v))b=v.match(k),y=parseInt(b[1]),A=parseInt(b[2]);else{b=v.match(/(?:^|
&)oid=(-?\d+)/i),y=b&&parseInt(b[1]),b=v.match(/(?:^|&)id=(-?\d+)/
i),A=b&&parseInt(b[1]),v="",y&&A&&(v="video"+y+"_"+A)}return v?
(p=v,Object(d.default)({url:"https://vk.com/"+v},(function(e,d,b){if(e||!b)return
t(v,o,p,g,h,null,m);var k=null;if(Object(s.default)(b,
[/"vid":/,/"oid":/,/"md_title":/]).some((function(e){var
t=e&&e[4]&&e[4].player&&e[4].player.params&&e[4].player.params[0];if(t&&t.vid===A&&
t.oid===y)return k=t,!0})),k){var
w=n.getVkLinksFromJson(k);if(o=w.links,p=w.title,h=w.thumb,g=w.duration,o.length)re
turn t(v,o,p,g,h,k,m)}var x=null;Object(s.default)(b,
[/"player"/]).some((function(e){var
t=e&&e[4]&&e[4].player&&e[4].player.params&&e[4].player.params[0];if("string"==type
of t)return x=t,!0}));var _,S=!1;x&&((_=/dailymotion.com\/(?:swf\/)?video\/([\w\d]
+)/i.exec(x))&&(m={action:"getDailymotionLinks",extVideoId:_[1]},S=!0));if(S)return
t(v,o,p,g,h,null,m);var C=!1;return u(b,/video_box_wrap/).some((function(e){var
s=null,d=/<iframe([^>]+)>/i.exec(e);if(d){var
y=d[1];if(s=/youtube.com\\?\/embed\\?\/([\w\-]+)/i.exec(y))return
m={action:"getYoutubeLinks",extVideoId:s[1]},!0;if(s=/vimeo.com\\?\/video\\?\/(\
d+)/i.exec(y))return
m={action:"getVimeoLinks",extVideoId:s[1]},!0;if(s=/src="([^"]*pladform\.ru[^"]
+)"/i.exec(y)){C=!0;var A=Object(i.default)(s[1]);return
r.engine.modules.odnoklassniki.getPladformVideo({extVideoId:
{playerId:A.pl,videoId:A.videoid}},(function(e)
{e&&"getRutubeLinks"===e.action&&(e.links=null);var r=e&&e.links;if(!
Array.isArray(r))return t(v,o,p,g,h,null,m);var i=n.preparePladformLinks(r);return
t(v,i.links,i.title,i.duration,i.thumb,null,m)})),!0}}return!!
l("video",e).some((function(e){var t=Object(c.default)(e,"https://vk.com/"),n=!
1;return[].slice.call(t.querySelectorAll("source")).forEach((function(e){var t=!
1,r=e.src;t||/^(.*cdninstagram\.com.+mp4)/i.exec(r)&&(t=!0,n=!
0,o.push({url:r,subname:"SD",name:"MP4",type:"mp4"}));if(!t){var i=/\.(\d+)\.mp4(?:
$|\?)/.exec(r);if(i){t=!0,n=!0;var s=r,l=i[1],c=s.indexOf("?");-1!
==c&&(s=s.substr(0,c)),u(b,/mv_title/).some((function(e){var
t=/id="mv_title"[^>]*>([^<]+)/.exec(e);if(t)return
p=f.default.decodeSpecialChars(Object(a.default)(t[1])),!
0})),o.push({url:s,subname:l,name:"MP4",type:"mp4"})}}})),n}))||(/var\sopts\s*=\
s*/.test(e)&&(s=/url:\s*'(?:[^']+)dailymotion.com\/(?:swf\/)?video\/([\w\d]
+)/.exec(e))?(m={action:"getDailymotionLinks",extVideoId:s[1]},!0):void 0)})),!
C&&t(v,o,p,g,h,null,m)}))):t(v,o,p)}},{key:"checkVkLinks",value:function(e,t){var
n="";e&&e.length>0&&(n="mp4"==e[0].type?e[0].url:e.length>1?e[1].url:e[0].url),n?
Object(d.default)({url:n,type:"HEAD"},(function(e,r){t(n,!e)})):t()}},
{key:"getVkLinksFromJsonMsg",value:function(e,t){return
t(this.getVkLinksFromJson(e.json))}},{key:"getVkLinksFromJson",value:function(e)
{var t=[],n=e.vid,r=e.md_title||e.vid,o="";e.thumb?o=e.thumb:e.jpg&&(o=e.jpg);var
i=/\.flv(\?|$)]/,a=/url([0-9]+)/;Object.keys(e).forEach((function(n){var
r="",o="mp4",s=null;"extra_data"===n&&"99"===e.extra?(r="",e.live_mp4?
r=e.live_mp4:e.postlive_mp4&&(r=e.postlive_mp4),r&&(s=e.hd?"HD":"SD",t.push({url:r,
subname:s,name:o.toUpperCase(),type:o}))):"extra_data"===n&&"52"===e.extra?
(s=e.hd?"HD":"SD",r=e.extra_data,i.test(r)&&(o="flv"),t.push({url:r,subname:s,name:
o.toUpperCase(),type:o})):null!
==(s=(s=n.match(a))&&s[1])&&(r=e[n],i.test(r)&&(o="flv"),t.push({url:r,subname:s,na
me:o.toUpperCase(),type:o}))}));var
s=e.duration;return{action:"getVKLinks",extVideoId:n,links:t,title:r,duration:s,thu
mb:o,data:e,checkLinks:null}}},{key:"getVkLinksFromData",value:function(e,t){var
n=e.data,r=null;return Object(s.default)(n,
[/"vid":/,/"oid":/,/"md_title":/]).some((function(e)
{if(e=e.player&&e.player.params&&e.player.params[0])return r=e,!0})),r?
t(this.getVkLinksFromJson(r)):t()}}]),e}();t.default=p},function(e,t,n){"use
strict";n.r(t);var
r=n(6),o=(n(7),n(3),n(15)),i=n(1),a=n(2),s=n(11),u=n(10),l=function(e){if("string"!
=typeof e){var t=new Error("Value is not String");throw t.value=e,t}return
e},c=function(e){if(!Number.isFinite(e)){var t=new Error("Value is not Finite
Number");throw t.value=e,t}return e},d=n(16);function f(e,t){var
n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||
(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var
n=Object.prototype.toString.call(e).slice(8,-
1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)retu
rn Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?
Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var
r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!
1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt
to iterate non-iterable instance.\nIn order to be iterable, non-array objects must
have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function()
{n=e[Symbol.iterator]()},n:function(){var
e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||
null==n.return||n.return()}finally{if(s)throw i}}}}function p(e,t){(null==t||
t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return
r}function m(e,t){m=function(e,t){return new s(e,void 0,t)};var n=Object(o.a)
(RegExp),i=RegExp.prototype,a=new WeakMap;function s(e,t,r){var
o=n.call(this,e,t);return a.set(o,r||a.get(e)),o}function u(e,t){var
n=a.get(t);return Object.keys(n).reduce((function(t,r){return
t[r]=e[n[r]],t}),Object.create(null))}return Object(r.a)
(s,n),s.prototype.exec=function(e){var t=i.exec.call(this,e);return
t&&(t.groups=u(t,this)),t},s.prototype[Symbol.replace]=function(e,t)
{if("string"==typeof t){var n=a.get(this);return
i[Symbol.replace].call(this,e,t.replace(/\$<([^>]+)>/g,(function(e,t)
{return"$"+n[t]})))}if("function"==typeof t){var r=this;return
i[Symbol.replace].call(this,e,(function(){var e=[];return
e.push.apply(e,arguments),"object"!=typeof e[e.length-
1]&&e.push(u(e,r)),t.apply(this,e)}))}return
i[Symbol.replace].call(this,e,t)},m.apply(this,arguments)}var h=Object(u.default)
("DailymotionComEmbed"),g=function(){function e(t){Object(i.a)
(this,e),this.engine=t}return Object(a.a)(e,
[{key:"getDailymotionLinks",value:function(e,t){var n=this;return
this.getEmbedVideoInfo(e.extVideoId,e.metadata,(function(r){r||
(r={}),n.addUmmyLinks(r.links,e.extVideoId);var
o={action:e.action,extVideoId:e.extVideoId,links:r.links,title:r.title,duration:r.d
uration};t(o)})),!0}},{key:"addUmmyLinks",value:function(e,t){}},
{key:"getMetadata",value:function(e){return
Object(s.default)({url:"https://www.dailymotion.com/player/metadata/
video/".concat(encodeURIComponent(e)),json:!0}).then((function(e){return
e.body}))}},{key:"getInfoFromMetadata",value:function(e){var
t={title:l(e.title),duration:c(e.duration),links:
[]};if(e.qualities&&e.qualities.auto&&e.qualities.auto.length){var
n=e.qualities.auto.pop();if("application/x-mpegURL"===n.type)return
Object(s.default)({url:n.url}).then((function(e){var
n,r=m(/CODECS="(.*?)",RESOLUTION=(.*?),NAME="(.*?)",PROGRESSIVE\x2DURI="(.*?)"/gm,
{codecs:1,resolution:2,quality:3,url:4}),o=f(Object(d.matchAll)(e.body,r));try{var
i=function(){var
e=n.value.groups,r=e.quality,o=e.codecs,i=e.resolution,a=e.url,s=i,u=/\.(.
{0,7})#cell/.exec(a);if(u[1]&&(s=u[1]),t.links.find((function(e){return
e.height===parseInt(r)})))return"continue";t.links.push({name:"".concat(o,"-").conc
at(i),ext:s,height:parseInt(r),url:l(a)})};for(o.s();!(n=o.n()).done;)i()}catch(e)
{o.e(e)}finally{o.f()}return t.links.sort((function(e,t){return e.height>t.height?-
1:1})),t}))}return Promise.resolve(t)}},
{key:"getEmbedVideoInfo",value:function(e,t,n){var r=this;return
Promise.resolve().then((function(){return t||r.getMetadata(e)})).then((function(e)
{return r.getInfoFromMetadata(e)})).then((function(e){n(e)}),(function(t)
{h.error("getEmbedVideoInfo error",e,t),n()}))}}]),e}
();t.default=g},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function()
{return b}));var
r=n(9),o=n(4),i=n(1),a=n(2),s=n(0),u=n.n(s),l=n(11),c=n(6),d=(n(7),n(3),n(15)),f=n(
16);function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator])
{if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return
m(e,t);var n=Object.prototype.toString.call(e).slice(8,-
1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)retu
rn Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?
Array$/.test(n))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var
r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!
1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt
to iterate non-iterable instance.\nIn order to be iterable, non-array objects must
have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function()
{n=e[Symbol.iterator]()},n:function(){var e=n.next();return
a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||
n.return()}finally{if(s)throw i}}}}function m(e,t){(null==t||
t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return
r}function h(e,t){h=function(e,t){return new i(e,void 0,t)};var n=Object(d.a)
(RegExp),r=RegExp.prototype,o=new WeakMap;function i(e,t,r){var
i=n.call(this,e,t);return o.set(i,r||o.get(e)),i}function a(e,t){var
n=o.get(t);return Object.keys(n).reduce((function(t,r){return
t[r]=e[n[r]],t}),Object.create(null))}return Object(c.a)
(i,n),i.prototype.exec=function(e){var t=r.exec.call(this,e);return
t&&(t.groups=a(t,this)),t},i.prototype[Symbol.replace]=function(e,t)
{if("string"==typeof t){var n=o.get(this);return
r[Symbol.replace].call(this,e,t.replace(/\$<([^>]+)>/g,(function(e,t)
{return"$"+n[t]})))}if("function"==typeof t){var i=this;return
r[Symbol.replace].call(this,e,(function(){var e=[];return
e.push.apply(e,arguments),"object"!=typeof e[e.length-
1]&&e.push(a(e,i)),t.apply(this,e)}))}return
r[Symbol.replace].call(this,e,t)},h.apply(this,arguments)}var g=function(){function
e(t){Object(i.a)(this,e),this.urls=void 0;var n=Object(f.matchAll)(t,h(/#EXTINF:[\
s\S]*?,\n([\s\S]*?)$/gm,{url:1}));this.urls=[];var r,o=p(n);try{for(o.s();!
(r=o.n()).done;){var a=r.value;a.groups&&a.groups.url?
this.urls.push(a.groups.url):a[1]&&this.urls.push(a[1])}}catch(e)
{o.e(e)}finally{o.f()}}var t,n,r;return Object(a.a)(e,
[{key:"changeURLs",value:function(e){this.urls=this.urls.map(e)}},
{key:"_downloadTask",value:(r=Object(o.a)(u.a.mark((function e(t){var n;return
u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
e.next=2,fetch(t);case 2:return n=e.sent,e.next=5,n.blob();case 5:return
e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)}))),function(e)
{return r.apply(this,arguments)})},{key:"download",value:function(){var
e=this,t=this.urls.map((function(t){return e._downloadTask(t)}));return
Promise.all(t).then((function(e){var t=new Blob(e,{type:e[0].type});return
URL.createObjectURL(t)}))}},{key:"fetchMimeType",value:(n=Object(o.a)
(u.a.mark((function e(){var t;return u.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(this.urls[0],
{method:"head"});case 2:return t=e.sent,e.abrupt("return",t.headers.get("Content-
Type"));case 4:case"end":return e.stop()}}),e,this)}))),function(){return
n.apply(this,arguments)})},{key:"destroy",value:function(){}},
{key:"_emit",value:function(e,t){var n=new CustomEvent("hlsDownloader."+e,
{detail:t});document.dispatchEvent(n)}}],[{key:"createFromURL",value:(t=Object(o.a)
(u.a.mark((function t(n){var r;return u.a.wrap((function(t)
{for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(l.default)(n);case
2:return r=t.sent,t.abrupt("return",new e(r.body));case 4:case"end":return
t.stop()}}),t)}))),function(e){return t.apply(this,arguments)})}]),e}
(),v=n(24),b=function(){function e(t){Object(i.a)(this,e),this.engine=t}var
t,n,s,c,d;return Object(a.a)(e,[{key:"soundcloudFetchPageInfo",value:(d=Object(o.a)
(u.a.mark((function e(t){var n,r,o,i,a,s;return u.a.wrap((function(e)
{for(;;)switch(e.prev=e.next){case 0:return n=t.songEndpoint,r=t.retry,o=void
0===r?3:r,e.prev=1,i="https://w.soundcloud.com/player/?
url="+n,e.next=5,Object(l.default)(i);case 5:return a=e.sent,Object(v.default)
(a.body).some((function(e)
{Array.isArray(e)&&e.length&&Array.isArray(e[0].data)&&(s=e[0].data[0])})),e.abrupt
("return",s);case 10:if(e.prev=10,e.t0=e.catch(1),!o){e.next=15;break}return
o--,e.abrupt("return",this.soundcloudFetchPageInfo({songEndpoint:n,retry:o}));case
15:throw e.t0;case 16:case"end":return e.stop()}}),e,this,[[1,10]])}))),function(e)
{return d.apply(this,arguments)})},{key:"soundcloudFetchSongsOfPlaylist",value:
(c=Object(o.a)(u.a.mark((function e(t){var n,o,i,a,s,c,d,f,p,m,h;return
u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:if(n=t.clientID,o=t.playlist,i=o.tracks.map((function(e){return
e.id})),a=[],s=[],i.length>=30)for(c=0;c<i.length;c+=30)a.push(i.slice(c,c+30));els
e a.push(i);d=0,f=a;case 7:if(!(d<f.length)){e.next=17;break}return
p=f[d],m="https://api-v2.soundcloud.com/tracks?
ids=".concat(p.join(","),"&client_id=").concat(n),e.next=12,Object(l.default)
({url:m,json:!0});case 12:h=e.sent,s.push.apply(s,Object(r.a)(h.body));case 14:d+
+,e.next=7;break;case 17:return e.abrupt("return",s);case 18:case"end":return
e.stop()}}),e)}))),function(e){return c.apply(this,arguments)})},
{key:"soundcloudSearchBestDownloadURL",value:(s=Object(o.a)(u.a.mark((function e(t)
{var n,r,o,i;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:if(n=t.song,r=t.clientID,n.media&&n.media.transcodings&&n.media.transcodings.leng
th){e.next=3;break}return e.abrupt("return");case 3:return
o=n.media.transcodings,e.next=6,this._searchProgressiveTranscoding(r,o);case 6:if(!
(i=e.sent)){e.next=9;break}return e.abrupt("return",i);case 9:return
e.abrupt("return",this._searchHlsTranscoding(r,o));case 10:case"end":return
e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)})},
{key:"_searchProgressiveTranscoding",value:(n=Object(o.a)(u.a.mark((function e(t,n)
{var r,o;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case
0:if(r=n.find((function(e){return"progressive"===e.format.protocol})))
{e.next=3;break}return e.abrupt("return");case 3:return e.next=5,Object(l.default)
({url:r.url+"?client_id="+t,json:!0});case 5:return
o=e.sent,e.abrupt("return",o.body.url);case 7:case"end":return
e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})},
{key:"_searchHlsTranscoding",value:(t=Object(o.a)(u.a.mark((function e(t,n){var
r,o,i,a,s;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return
r=n.find((function(e){return"hls"===e.format.protocol})),e.next=3,Object(l.default)
({url:r.url+"?client_id="+t,json:!0});case 3:return
o=e.sent,e.next=6,Object(l.default)(o.body.url);case 6:return
i=e.sent,a=i.body,s=new g(a),e.abrupt("return",s.download());case
10:case"end":return e.stop()}}),e)}))),function(e,n){return
t.apply(this,arguments)})}]),e}()},function(e,t,n){"use strict";n.r(t);var
r=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var
r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?
(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):
(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|
128),t+=String.fromCharCode(63&r|128))}return t};t.default=function(e,t,n){var
o="";if(n||"undefined"==typeof URL||"undefined"==typeof Blob){var
i=r(e);o="data:"+t+";charset=utf8;base64,"+encodeURIComponent(btoa(i))}else{var
a=new Blob([e],{encoding:"UTF-8",type:t});o=URL.createObjectURL(a)}return
o}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(2),i=n(36),a=function()
{function e(){Object(r.a)(this,e)}return Object(o.a)(e,
[{key:"init",value:function(){var
e=document.createElement("canvas"),t=document.createElement("video");
(t.setAttribute("title","Prevent
Sleep"),t.setAttribute("playsinline",""),this._supported="function"==typeof
e.captureStream,this._supported)&&(e.getContext("2d").fillRect(0,0,1,1),t.srcObject
=e.captureStream(0),this.video=t,this._inited=!0)}},{key:"start",value:function()
{if(this._inited||this.init(),this._supported&&this.video.paused)return
this.video.play()}},{key:"stop",value:function()
{if(this._inited&&this._supported&&!this.video.paused)return
this.video.pause()}}]),e}(),s=function(){function e(){Object(r.a)(this,e)}return
Object(o.a)(e,[{key:"start",value:function(){var e=this;if(!this._wakeLock)return
navigator.wakeLock.request("screen").then((function(t){return e._wakeLock=t,!
0}))}},{key:"stop",value:function(){var e=this;if(this._wakeLock)return
this._wakeLock.release().then((function(){return e._wakeLock=null,!0}))}}]),e}
(),u=function(){function e(){Object(r.a)(this,e);var
t=window.navigator&&"wakeLock"in navigator?s:a;this.parent=new
t,this.chain=Object(i.default)(1)}return Object(o.a)(e,
[{key:"start",value:function(){var e=this;return this.chain((function(){return
e.parent.start()}))}},{key:"stop",value:function(){var e=this;return
this.chain((function(){return e.parent.stop()}))}}]),e}
(),l=null,c=0;t.default=function(){1===++c&&(l||(l=new u),l.start());var e=!
1;return function(){e||(e=!0,0==--c&&l.stop())}}},function(e,t,n){"use
strict";n.r(t),n.d(t,"decodeUnavailableUrl",(function(){return
o})),n.d(t,"m3u8ToMp3",(function(){return a})),n.d(t,"isUrlM3u8",(function(){return
i}));var r=n(9);function o(e,t){var n=t.split("?extra=")
[1].split("#"),o=n[0],i=n[1],a=i?u(i):"",l=u(o),c=(a?
a.split(String.fromCharCode(9)):[])
[0].split(String.fromCharCode(11)),d=c.splice(0,1,l)[0];return!!
s[d]&&(t=s[d].apply(null,[].concat(Object(r.a)(c),[e])))}function i(e)
{return/\.m3u8\?/.test(e)}function a(e){if(i(e)){var
t=(e=e.replace("/index.m3u8",".mp3")).split("/"),n=-1!==e.indexOf("audios")?
1:0;return t.splice(t.length-(2+n),1),t.join("/")}return null}var
s={s:function(e,t){var n=e.length;if(n){var r=function(e,t){var
n=e.length,r=[];if(n){var o=n;for(t=Math.abs(t);o--;)t=(n*(o+1)^t+o)
%n,r[o]=t}return r}(e,t),o=0;for(e=e.split("");++o<n;)e[o]=e.splice(r[n-1-
o],1,e[o])[0];e=e.join("")}return e},i:function(e,t,n){return s.s(e,t^n)}};function
u(e){if(!e||e.length%4==1)return!1;for(var t,n,r=0,o=0,i="";n=e.charAt(o+
+);)~(n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMN0PQRSTUVWXYZO123456789+/
=".indexOf(n))&&(t=r%4?64*t+n:n,r++%4)&&(i+=String.fromCharCode(255&t>>(-
2*r&6)));return i}}]);