if(!window.jsapi_){window.jsapi_={};
(function(){function l(a){try{return a.defaultView&&a.defaultView.frameElement||null}catch(b){return null}}function u(a){this.time=a.time;this.target=a.target;this.rootBounds=r(a.rootBounds);this.boundingClientRect=r(a.boundingClientRect);this.intersectionRect=r(a.intersectionRect||t());this.isIntersecting=!!a.intersectionRect;a=this.boundingClientRect;a=a.width*a.height;var b=this.intersectionRect;b=b.width*b.height;this.intersectionRatio=a?Number((b/a).toFixed(4)):this.isIntersecting?1:0}function g(a,
b){var c=b||{};if("function"!=typeof a)throw Error("callback must be a function");if(c.root&&1!=c.root.nodeType)throw Error("root must be an Element");this.g=z(this.g.bind(this),this.v);this.B=a;this.a=[];this.b=[];this.l=this.H(c.rootMargin);this.thresholds=this.G(c.threshold);this.root=c.root||null;this.rootMargin=this.l.map(function(d){return d.value+d.u}).join(" ");this.c=[];this.f=[]}function z(a,b){var c=null;return function(){c||(c=setTimeout(function(){a();c=null},b))}}function v(a,b,c,d){"function"==
typeof a.addEventListener?a.addEventListener(b,c,d||!1):"function"==typeof a.attachEvent&&a.attachEvent("on"+b,c)}function w(a,b,c,d){"function"==typeof a.removeEventListener?a.removeEventListener(b,c,d||!1):"function"==typeof a.M&&a.M("on"+b,c)}function m(a){try{var b=a.getBoundingClientRect()}catch(c){}if(!b)return t();b.width&&b.height||(b={top:b.top,right:b.right,bottom:b.bottom,left:b.left,width:b.right-b.left,height:b.bottom-b.top});return b}function t(){return{top:0,bottom:0,left:0,right:0,
width:0,height:0}}function r(a){return!a||"x"in a?a:{top:a.top,y:a.top,bottom:a.bottom,left:a.left,x:a.left,right:a.right,width:a.width,height:a.height}}function x(a,b){for(var c=b;c;){if(c==a)return!0;c=n(c)}return!1}function n(a){var b=a.parentNode;return 9==a.nodeType&&a!=k?l(a):b&&11==b.nodeType&&b.host?b.host:b&&b.assignedSlot?b.assignedSlot.parentNode:b}if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in
window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return 0<this.intersectionRatio}});else{var k=function(a){for(var b=l(a);b;)a=b.ownerDocument,b=l(a);return a}(window.document),p=[];g.prototype.v=100;g.prototype.h=null;g.prototype.A=!0;g.prototype.observe=function(a){if(!this.a.some(function(b){return b.element==a})){if(!a||1!=a.nodeType)throw Error("target must be an Element");this.I();this.a.push({element:a,
s:null});this.j(a.ownerDocument);this.g()}};g.prototype.unobserve=function(a){this.a=this.a.filter(function(b){return b.element!=a});this.m(a.ownerDocument);0==this.a.length&&this.o()};g.prototype.disconnect=function(){this.a=[];this.L();this.o()};g.prototype.takeRecords=function(){var a=this.b.slice();this.b=[];return a};g.prototype.G=function(a){a=a||[0];Array.isArray(a)||(a=[a]);return a.sort().filter(function(b,c,d){if("number"!=typeof b||isNaN(b)||0>b||1<b)throw Error("threshold must be a number between 0 and 1 inclusively");
return b!==d[c-1]})};g.prototype.H=function(a){a=(a||"0px").split(/\s+/).map(function(b){b=/^(-?\d*\.?\d+)(px|%)$/.exec(b);if(!b)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(b[1]),u:b[2]}});a[1]=a[1]||a[0];a[2]=a[2]||a[0];a[3]=a[3]||a[1];return a};g.prototype.j=function(a){var b=a.defaultView;if(b&&-1==this.c.indexOf(a)){var c=this.g,d=null,e=null;this.h?d=b.setInterval(c,this.h):(v(b,"resize",c,!0),v(a,"scroll",c,!0),this.A&&"MutationObserver"in b&&(e=
new b.MutationObserver(c),e.observe(a,{attributes:!0,childList:!0,characterData:!0,subtree:!0})));this.c.push(a);this.f.push(function(){var f=a.defaultView;f&&(d&&f.clearInterval(d),w(f,"resize",c,!0));w(a,"scroll",c,!0);e&&e.disconnect()});a!=(this.root&&this.root.ownerDocument||k)&&(b=l(a))&&this.j(b.ownerDocument)}};g.prototype.m=function(a){var b=this.c.indexOf(a);if(-1!=b){var c=this.root&&this.root.ownerDocument||k;if(!this.a.some(function(e){e=e.element.ownerDocument;if(e==a)return!0;for(;e&&
e!=c;)if(e=(e=l(e))&&e.ownerDocument,e==a)return!0;return!1})){var d=this.f[b];this.c.splice(b,1);this.f.splice(b,1);d();a!=c&&(b=l(a))&&this.m(b.ownerDocument)}}};g.prototype.L=function(){var a=this.f.slice(0);this.c.length=0;for(var b=this.f.length=0;b<a.length;b++)a[b]()};g.prototype.g=function(){var a=this.K(),b=a?this.D():t();this.a.forEach(function(c){var d=c.element,e=m(d),f=this.J(d),h=c.s,q=a&&f&&this.i(d,e,b);c=c.s=new u({time:window.performance&&performance.now&&performance.now(),target:d,
boundingClientRect:e,rootBounds:b,intersectionRect:q});h?a&&f?this.F(h,c)&&this.b.push(c):h&&h.isIntersecting&&this.b.push(c):this.b.push(c)},this);this.b.length&&this.B(this.takeRecords(),this)};g.prototype.i=function(a,b,c){if("none"!=window.getComputedStyle(a).display){var d=b;b=n(a);for(a=!1;!a&&b;){var e=null,f=1==b.nodeType?window.getComputedStyle(b):{};if("none"==f.display)return null;if(b==this.root||9==b.nodeType)if(a=!0,b==this.root||b==k)e=c;else{var h=(b=n(b))&&m(b);f=b&&this.i(b,h,c);
h&&f?(e=f.top-h.top,h=f.left-h.left,e={top:e,left:h,height:f.height,width:f.width,bottom:e+f.height,right:h+f.width}):d=b=null}else h=b.ownerDocument,b!=h.body&&b!=h.documentElement&&"visible"!=f.overflow&&(e=m(b));if(e){f=Math.max(e.top,d.top);h=Math.min(e.bottom,d.bottom);var q=Math.max(e.left,d.left);d=Math.min(e.right,d.right);e=d-q;var y=h-f;d=0<=e&&0<=y&&{top:f,bottom:h,left:q,right:d,width:e,height:y}||null}if(!d)break;b=b&&n(b)}return d}};g.prototype.D=function(){if(this.root)var a=m(this.root);
else{a=k.documentElement;var b=k.body;a={top:0,left:0,right:a.clientWidth||b.clientWidth,width:a.clientWidth||b.clientWidth,bottom:a.clientHeight||b.clientHeight,height:a.clientHeight||b.clientHeight}}return this.C(a)};g.prototype.C=function(a){var b=this.l.map(function(c,d){return"px"==c.u?c.value:c.value*(d%2?a.width:a.height)/100});b={top:a.top-b[0],right:a.right+b[1],bottom:a.bottom+b[2],left:a.left-b[3]};b.width=b.right-b.left;b.height=b.bottom-b.top;return b};g.prototype.F=function(a,b){var c=
a&&a.isIntersecting?a.intersectionRatio||0:-1,d=b.isIntersecting?b.intersectionRatio||0:-1;if(c!==d)for(var e=0;e<this.thresholds.length;e++){var f=this.thresholds[e];if(f==c||f==d||f<c!==f<d)return!0}};g.prototype.K=function(){return!this.root||x(k,this.root)};g.prototype.J=function(a){return x(this.root||k,a)&&(!this.root||this.root.ownerDocument==a.ownerDocument)};g.prototype.I=function(){0>p.indexOf(this)&&p.push(this)};g.prototype.o=function(){var a=p.indexOf(this);-1!=a&&p.splice(a,1)};window.IntersectionObserver=
g;window.IntersectionObserverEntry=u}})();
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var h;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function ba(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}}function ca(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c}
var ea="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},fa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
function ha(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var ia=ha(this);function ja(a,b){if(b)a:{for(var c=ia,d=a.split("."),e=0;e<d.length-1;e++){var f=d[e];if(!(f in c))break a;c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!=e&&null!=f&&fa(c,d,{configurable:!0,writable:!0,value:f})}}var ka;
if("function"==typeof Object.setPrototypeOf)ka=Object.setPrototypeOf;else{var la;a:{var ma={zc:!0},na={};try{na.__proto__=ma;la=na.zc;break a}catch(a){}la=!1}ka=la?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var oa=ka;
function pa(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""}ja("String.prototype.repeat",function(a){return a?a:function(b){var c=pa(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
function qa(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var ra="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)qa(d,e)&&(a[e]=d[e])}return a};ja("Object.assign",function(a){return a||ra});
ja("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=pa(this,b,"endsWith");void 0===c&&(c=d.length);for(var e=Math.max(0,Math.min(c|0,d.length)),f=b.length;0<f&&0<e;)if(d[--e]!=b[--f])return!1;return 0>=f}});
ja("Symbol",function(a){function b(e){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c("jscomp_symbol_"+(e||"")+"_"+d++,e)}function c(e,f){this.a=e;fa(this,"description",{configurable:!0,writable:!0,value:f})}if(a)return a;c.prototype.toString=function(){return this.a};var d=0;return b});
ja("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=ia[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&fa(d.prototype,a,{configurable:!0,writable:!0,value:function(){return sa(aa(this))}})}return a});function sa(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
ja("WeakMap",function(a){function b(l){this.ba=(k+=Math.random()+1).toString();if(l){l=ba(l);for(var n;!(n=l.next()).done;)n=n.value,this.set(n[0],n[1])}}function c(){}function d(l){var n=typeof l;return"object"===n&&null!==l||"function"===n}function e(l){if(!qa(l,g)){var n=new c;fa(l,g,{value:n})}}function f(l){var n=Object[l];n&&(Object[l]=function(r){if(r instanceof c)return r;Object.isExtensible(r)&&e(r);return n(r)})}if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),n=Object.seal({}),
r=new a([[l,2],[n,3]]);if(2!=r.get(l)||3!=r.get(n))return!1;r["delete"](l);r.set(n,4);return!r.has(l)&&4==r.get(n)}catch(v){return!1}}())return a;var g="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var k=0;b.prototype.set=function(l,n){if(!d(l))throw Error("Invalid WeakMap key");e(l);if(!qa(l,g))throw Error("WeakMap key fail: "+l);l[g][this.ba]=n;return this};b.prototype.get=function(l){return d(l)&&qa(l,g)?l[g][this.ba]:void 0};b.prototype.has=function(l){return d(l)&&
qa(l,g)&&qa(l[g],this.ba)};b.prototype["delete"]=function(l){return d(l)&&qa(l,g)&&qa(l[g],this.ba)?delete l[g][this.ba]:!1};return b});
ja("Map",function(a){function b(){var k={};return k.La=k.next=k.head=k}function c(k,l){var n=k.a;return sa(function(){if(n){for(;n.head!=k.a;)n=n.La;for(;n.next!=n.head;)return n=n.next,{done:!1,value:l(n)};n=null}return{done:!0,value:void 0}})}function d(k,l){var n=l&&typeof l;"object"==n||"function"==n?f.has(l)?n=f.get(l):(n=""+ ++g,f.set(l,n)):n="p_"+l;var r=k.f[n];if(r&&qa(k.f,n))for(var v=0;v<r.length;v++){var u=r[v];if(l!==l&&u.key!==u.key||l===u.key)return{id:n,list:r,index:v,pa:u}}return{id:n,
list:r,index:-1,pa:void 0}}function e(k){this.f={};this.a=b();this.size=0;if(k){k=ba(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var k=Object.seal({x:4}),l=new a(ba([[k,"s"]]));if("s"!=l.get(k)||1!=l.size||l.get({x:4})||l.set({x:4},"t")!=l||2!=l.size)return!1;var n=l.entries(),r=n.next();if(r.done||r.value[0]!=k||"s"!=r.value[1])return!1;r=n.next();return r.done||4!=r.value[0].x||
"t"!=r.value[1]||!n.next().done?!1:!0}catch(v){return!1}}())return a;var f=new WeakMap;e.prototype.set=function(k,l){k=0===k?0:k;var n=d(this,k);n.list||(n.list=this.f[n.id]=[]);n.pa?n.pa.value=l:(n.pa={next:this.a,La:this.a.La,head:this.a,key:k,value:l},n.list.push(n.pa),this.a.La.next=n.pa,this.a.La=n.pa,this.size++);return this};e.prototype["delete"]=function(k){k=d(this,k);return k.pa&&k.list?(k.list.splice(k.index,1),k.list.length||delete this.f[k.id],k.pa.La.next=k.pa.next,k.pa.next.La=k.pa.La,
k.pa.head=null,this.size--,!0):!1};e.prototype.clear=function(){this.f={};this.a=this.a.La=b();this.size=0};e.prototype.has=function(k){return!!d(this,k).pa};e.prototype.get=function(k){return(k=d(this,k).pa)&&k.value};e.prototype.entries=function(){return c(this,function(k){return[k.key,k.value]})};e.prototype.keys=function(){return c(this,function(k){return k.key})};e.prototype.values=function(){return c(this,function(k){return k.value})};e.prototype.forEach=function(k,l){for(var n=this.entries(),
r;!(r=n.next()).done;)r=r.value,k.call(l,r[1],r[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var g=0;return e});
ja("Set",function(a){function b(c){this.a=new Map;if(c){c=ba(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.a.size}if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(ba([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||
f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;b.prototype.add=function(c){c=0===c?0:c;this.a.set(c,c);this.size=this.a.size;return this};b.prototype["delete"]=function(c){c=this.a["delete"](c);this.size=this.a.size;return c};b.prototype.clear=function(){this.a.clear();this.size=0};b.prototype.has=function(c){return this.a.has(c)};b.prototype.entries=function(){return this.a.entries()};b.prototype.values=function(){return this.a.values()};b.prototype.keys=b.prototype.values;
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.a.forEach(function(f){return c.call(d,f,f,e)})};return b});ja("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});ja("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length,f=c||0;for(0>f&&(f=Math.max(f+e,0));f<e;f++){var g=d[f];if(g===b||Object.is(g,b))return!0}return!1}});
ja("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==pa(this,b,"includes").indexOf(b,c||0)}});ja("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(k){return k};var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}});
ja("String.prototype.padStart",function(a){return a?a:function(b,c){var d=pa(this,null,"padStart"),e=b-d.length,f=void 0!==c?String(c):" ";return(0<e&&f?f.repeat(Math.ceil(e/f.length)).substring(0,e):"")+d}});ja("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)qa(b,d)&&c.push([d,b[d]]);return c}});var ta=ta||{},m=this||self,ua=/^[\w+/_-]+[=]{0,2}$/,va=null;
function wa(a){return(a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&ua.test(a)?a:""}function xa(){}function ya(a){a.Ib=void 0;a.G=function(){return a.Ib?a.Ib:a.Ib=new a}}function za(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"}function Aa(a){var b=za(a);return"array"==b||"object"==b&&"number"==typeof a.length}function Ba(a){return"function"==za(a)}function p(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}
function Ca(a){return Object.prototype.hasOwnProperty.call(a,Da)&&a[Da]||(a[Da]=++Fa)}function Ga(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(Da);try{delete a[Da]}catch(b){}}var Da="closure_uid_"+(1E9*Math.random()>>>0),Fa=0;function Ha(a,b,c){return a.call.apply(a.bind,arguments)}
function Ia(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}function Ja(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Ja=Ha:Ja=Ia;return Ja.apply(null,arguments)}
function Ka(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}var La=Date.now||function(){return+new Date};function q(a,b){var c=a.split("."),d=m;c[0]in d||"undefined"==typeof d.execScript||d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)c.length||void 0===b?d[e]&&d[e]!==Object.prototype[e]?d=d[e]:d=d[e]={}:d[e]=b}
function t(a,b){function c(){}c.prototype=b.prototype;a.W=b.prototype;a.prototype=new c;a.prototype.constructor=a}function Ma(a){return a};function Na(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Na);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}t(Na,Error);Na.prototype.name="CustomError";var Oa;function Pa(a,b){for(var c=a.split("%s"),d="",e=c.length-1,f=0;f<e;f++)d+=c[f]+(f<b.length?b[f]:"%s");Na.call(this,d+c[e])}t(Pa,Na);Pa.prototype.name="AssertionError";var Qa=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Ra=Array.prototype.lastIndexOf?function(a,b,c){return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;0>c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==
typeof b||1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},w=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};function Sa(a,b,c){for(var d="string"===typeof a?a.split(""):a,e=a.length-1;0<=e;--e)e in d&&b.call(c,d[e],e,a)}
var Ta=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,g="string"===typeof a?a.split(""):a,k=0;k<d;k++)if(k in g){var l=g[k];b.call(c,l,k,a)&&(e[f++]=l)}return e},Ua=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},Va=Array.prototype.reduce?function(a,b,c,d){d&&
(b=Ja(b,d));return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,d){var e=c;w(a,function(f,g){e=b.call(d,e,f,g,a)});return e},Wa=Array.prototype.reduceRight?function(a,b,c,d){d&&(b=Ja(b,d));return Array.prototype.reduceRight.call(a,b,c)}:function(a,b,c,d){var e=c;Sa(a,function(f,g){e=b.call(d,e,f,g,a)});return e},Xa=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,
e[f],f,a))return!0;return!1},Ya=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0};function Za(a,b,c){b=$a(a,b,c);return 0>b?null:"string"===typeof a?a.charAt(b):a[b]}function $a(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1}
function ab(a,b,c){for(var d="string"===typeof a?a.split(""):a,e=a.length-1;0<=e;e--)if(e in d&&b.call(c,d[e],e,a))return e;return-1}function bb(a,b){return 0<=Qa(a,b)}function cb(a){return 0==a.length}function db(a,b,c){eb(a,c,0,b)}function fb(a,b){var c=Qa(a,b),d;(d=0<=c)&&gb(a,c);return d}function gb(a,b){return 1==Array.prototype.splice.call(a,b,1).length}function hb(a){return Array.prototype.concat.apply([],arguments)}
function ib(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function eb(a,b,c,d){return Array.prototype.splice.apply(a,jb(arguments,1))}function jb(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function kb(a,b,c){return lb(a,c||mb,!1,b)}function lb(a,b,c,d,e){for(var f=0,g=a.length,k;f<g;){var l=f+(g-f>>>1),n;c?n=b.call(e,a[l],l,a):n=b(d,a[l]);0<n?f=l+1:(g=l,k=!n)}return k?f:-f-1}
function nb(a,b){a.sort(b||mb)}function ob(a,b,c){var d=c||mb;nb(a,function(e,f){return d(b(e),b(f))})}function mb(a,b){return a>b?1:a<b?-1:0}function pb(a,b){return a===b}function qb(a,b){return hb.apply([],Ua(a,b,void 0))};q("JsAPI.Array.indexOf",Qa);q("JsAPI.Array.lastIndexOf",Ra);q("JsAPI.Array.forEach",w);q("JsAPI.Array.forEachRight",Sa);q("JsAPI.Array.filter",Ta);q("JsAPI.Array.map",Ua);q("JsAPI.Array.reduce",Va);q("JsAPI.Array.reduceRight",Wa);q("JsAPI.Array.some",Xa);q("JsAPI.Array.every",Ya);q("JsAPI.Array.count",function(a,b,c){var d=0;w(a,function(e,f,g){b.call(c,e,f,g)&&++d},c);return d});q("JsAPI.Array.find",Za);q("JsAPI.Array.findIndex",$a);
q("JsAPI.Array.findRight",function(a,b,c){b=ab(a,b,c);return 0>b?null:"string"===typeof a?a.charAt(b):a[b]});q("JsAPI.Array.findIndexRight",ab);q("JsAPI.Array.contains",bb);q("JsAPI.Array.isEmpty",cb);q("JsAPI.Array.clear",function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0});q("JsAPI.Array.insert",function(a,b){bb(a,b)||a.push(b)});q("JsAPI.Array.insertAt",db);q("JsAPI.Array.insertArrayAt",function(a,b,c){Ka(eb,a,c,0).apply(null,b)});
q("JsAPI.Array.insertBefore",function(a,b,c){var d;2==arguments.length||0>(d=Qa(a,c))?a.push(b):db(a,b,d)});q("JsAPI.Array.remove",fb);q("JsAPI.Array.removeAt",gb);q("JsAPI.Array.removeIf",function(a,b,c){b=$a(a,b,c);return 0<=b?(gb(a,b),!0):!1});q("JsAPI.Array.removeAllIf",function(a,b,c){var d=0;Sa(a,function(e,f){b.call(c,e,f,a)&&gb(a,f)&&d++});return d});q("JsAPI.Array.concat",hb);q("JsAPI.Array.join",function(a){return Array.prototype.concat.apply([],arguments)});q("JsAPI.Array.clone",ib);
q("JsAPI.Array.splice",eb);q("JsAPI.Array.slice",jb);q("JsAPI.Array.removeDuplicates",function(a,b,c){function d(n){return p(n)?"o"+Ca(n):(typeof n).charAt(0)+n}b=b||a;c=c||d;for(var e={},f=0,g=0;g<a.length;){var k=a[g++],l=c(k);Object.prototype.hasOwnProperty.call(e,l)||(e[l]=!0,b[f++]=k)}b.length=f});q("JsAPI.Array.binarySearch",kb);q("JsAPI.Array.binarySelect",function(a,b,c){return lb(a,b,!0,void 0,c)});q("JsAPI.Array.binaryInsert",function(a,b,c){c=kb(a,b,c);return 0>c?(db(a,b,-(c+1)),!0):!1});
q("JsAPI.Array.binaryRemove",function(a,b,c){b=kb(a,b,c);return 0<=b?gb(a,b):!1});q("JsAPI.Array.sort",nb);q("JsAPI.Array.sortByKey",ob);q("JsAPI.Array.sortObjectsByKey",function(a,b,c){ob(a,function(d){return d[b]},c)});q("JsAPI.Array.isSorted",function(a,b,c){b=b||mb;for(var d=1;d<a.length;d++){var e=b(a[d-1],a[d]);if(0<e||0==e&&c)return!1}return!0});
q("JsAPI.Array.equals",function(a,b,c){if(!Aa(a)||!Aa(b)||a.length!=b.length)return!1;var d=a.length;c=c||pb;for(var e=0;e<d;e++)if(!c(a[e],b[e]))return!1;return!0});q("JsAPI.Array.defaultCompare",mb);q("JsAPI.Array.inverseDefaultCompare",function(a,b){return-mb(a,b)});q("JsAPI.Array.defaultCompareEquality",pb);q("JsAPI.Array.range",function(a,b,c){var d=[],e=0,f=a;c=c||1;void 0!==b&&(e=a,f=b);if(0>c*(f-e))return[];if(0<c)for(a=e;a<f;a+=c)d.push(a);else for(a=e;a>f;a+=c)d.push(a);return d});
q("JsAPI.Array.repeat",function(a,b){for(var c=[],d=0;d<b;d++)c[d]=a;return c});q("JsAPI.Array.shuffle",function(a,b){for(var c=b||Math.random,d=a.length-1;0<d;d--){var e=Math.floor(c()*(d+1)),f=a[d];a[d]=a[e];a[e]=f}});var y={ia:function(a){return void 0!==a},C:function(a){return"string"==typeof a},$:function(a){return"boolean"==typeof a},l:function(a){return"number"==typeof a},Ee:function(a){return null===a},h:function(a){return null!=a},isArray:function(a){return"array"===za(a)},J:function(a){return"function"===za(a)},Ub:function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];if(!c.length)return a;d=c.shift();if(p(a)&&p(d))for(var e in d)if(p(d[e])){if(!a[e]){var f={};Object.assign(a,(f[e]={},
f))}y.Ub(a[e],d[e])}else f={},Object.assign(a,(f[e]=d[e],f));return y.Ub.apply(y,[a].concat(c instanceof Array?c:ca(ba(c))))}};y.now=Date.now;function rb(){return null};function sb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function tb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function ub(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function vb(a){for(var b in a)return!1;return!0}function wb(a,b){return null!==a&&b in a?a[b]:void 0}function xb(a){var b={},c;for(c in a)b[c]=a[c];return b}var yb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
function zb(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<yb.length;f++)c=yb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Ab;function Bb(){if(void 0===Ab){var a=null,b=m.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:Ma,createScript:Ma,createScriptURL:Ma})}catch(c){m.console&&m.console.error(c.message)}Ab=a}else Ab=a}return Ab};function Cb(a,b){this.a=a===Db&&b||"";this.f=Eb}Cb.prototype.Ka=!0;Cb.prototype.Da=function(){return this.a};function Fb(a){return a instanceof Cb&&a.constructor===Cb&&a.f===Eb?a.a:"type_error:Const"}var Eb={},Db={};function Gb(a,b){this.f=a===Hb&&b||"";this.i=Ib}Gb.prototype.Ka=!0;Gb.prototype.Da=function(){return this.f.toString()};Gb.prototype.Gb=!0;Gb.prototype.a=function(){return 1};function Jb(a){return a instanceof Gb&&a.constructor===Gb&&a.i===Ib?a.f:"type_error:TrustedResourceUrl"}var Ib={},Hb={};function Kb(a){return/^[\s\xa0]*$/.test(a)}var Lb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};
function Mb(a,b){if(b)a=a.replace(Nb,"&amp;").replace(Ob,"&lt;").replace(Pb,"&gt;").replace(Qb,"&quot;").replace(Rb,"&#39;").replace(Sb,"&#0;");else{if(!Tb.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Nb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Ob,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Pb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Qb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Rb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Sb,"&#0;"))}return a}
var Nb=/&/g,Ob=/</g,Pb=/>/g,Qb=/"/g,Rb=/'/g,Sb=/\x00/g,Tb=/[\x00&<>"']/;
function Ub(a){var b=0,c=Lb(String(Wb)).split(".");a=Lb(String(a)).split(".");for(var d=Math.max(c.length,a.length),e=0;0==b&&e<d;e++){var f=c[e]||"",g=a[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];if(0==f[0].length&&0==g[0].length)break;b=Xb(0==f[1].length?0:parseInt(f[1],10),0==g[1].length?0:parseInt(g[1],10))||Xb(0==f[2].length,0==g[2].length)||Xb(f[2],g[2]);f=f[3];g=g[3]}while(0==b)}return b}function Xb(a,b){return a<b?-1:a>b?1:0};function Yb(a,b){this.f=a===Zb&&b||"";this.i=$b}Yb.prototype.Ka=!0;Yb.prototype.Da=function(){return this.f.toString()};Yb.prototype.Gb=!0;Yb.prototype.a=function(){return 1};function ac(a){return a instanceof Yb&&a.constructor===Yb&&a.i===$b?a.f:"type_error:SafeUrl"}var bc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function cc(a){if(a instanceof Yb)return a;a="object"==typeof a&&a.Ka?a.Da():String(a);bc.test(a)||(a="about:invalid#zClosurez");return new Yb(Zb,a)}
function dc(a){if(a instanceof Yb)return a;a="object"==typeof a&&a.Ka?a.Da():String(a);bc.test(a)||(a="about:invalid#zClosurez");return new Yb(Zb,a)}var $b={},Zb={};function ec(){this.a="";this.f=fc}ec.prototype.Ka=!0;var fc={};ec.prototype.Da=function(){return this.a};function gc(a){var b=new ec;b.a=a;return b}var hc=gc("");function ic(a){if(a instanceof Yb)return'url("'+ac(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';a=a instanceof Cb?Fb(a):jc(String(a));if(/[{;}]/.test(a))throw new Pa("Value does not allow [{;}], got: %s.",[a]);return a}
function jc(a){var b=a.replace(kc,"$1").replace(kc,"$1").replace(lc,"url");if(mc.test(b)){if(nc.test(a))return"zClosurez";for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}if(!b||!c||!oc(a))return"zClosurez"}else return"zClosurez";return pc(a)}function oc(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b}
var mc=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,lc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),kc=RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),nc=/\/\*/;function pc(a){return a.replace(lc,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(g,k,l){f=k;return l});b=cc(d).Da();return c+f+b+f+e})};function qc(){this.a="";this.f=rc}qc.prototype.Ka=!0;var rc={};
function sc(a,b){if(-1!=a.indexOf("<"))throw Error("Selector does not allow '<', got: "+a);var c=a.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(c))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+a);a:{for(var d={"(":")","[":"]"},e=[],f=0;f<c.length;f++){var g=c[f];if(d[g])e.push(d[g]);else{b:{var k=void 0;for(k in d)if(d[k]==g){k=!0;break b}k=!1}if(k&&e.pop()!=g){c=!1;break a}}}c=0==e.length}if(!c)throw Error("() and [] in selector must be balanced, got: "+
a);if(!(b instanceof ec)){c=b;d="";for(var l in c){if(!/^[-_a-zA-Z0-9]+$/.test(l))throw Error("Name allows only [-_a-zA-Z0-9], got: "+l);e=c[l];null!=e&&(e=Array.isArray(e)?Ua(e,ic).join(" "):ic(e),d+=l+":"+e+";")}b=d?gc(d):hc}l=b instanceof ec&&b.constructor===ec&&b.f===fc?b.a:"type_error:SafeStyle";return tc(a+"{"+l.replace(/</g,"\\3C ")+"}")}function uc(a){function b(d){Array.isArray(d)?w(d,b):c+=vc(d)}var c="";w(arguments,b);return tc(c)}qc.prototype.Da=function(){return this.a};
function vc(a){return a instanceof qc&&a.constructor===qc&&a.f===rc?a.a:"type_error:SafeStyleSheet"}function tc(a){var b=new qc;b.a=a;return b}var wc=tc("");var xc;a:{var yc=m.navigator;if(yc){var zc=yc.userAgent;if(zc){xc=zc;break a}}xc=""}function z(a){return-1!=xc.indexOf(a)};function Ac(){return z("Firefox")||z("FxiOS")}function Bc(){return(z("Chrome")||z("CriOS"))&&!z("Edge")};function Cc(){this.f="";this.j=Dc;this.i=null}Cc.prototype.Gb=!0;Cc.prototype.a=function(){return this.i};Cc.prototype.Ka=!0;Cc.prototype.Da=function(){return this.f.toString()};function Ec(a){return a instanceof Cc&&a.constructor===Cc&&a.j===Dc?a.f:"type_error:SafeHtml"}function Fc(a){if(a instanceof Cc)return a;var b="object"==typeof a,c=null;b&&a.Gb&&(c=a.a());return Gc(Mb(b&&a.Ka?a.Da():String(a)),c)}
function Hc(a){function b(f){Array.isArray(f)?w(f,b):(f=Fc(f),e.push(Ec(f).toString()),f=f.a(),0==d?d=f:0!=f&&d!=f&&(d=null))}var c=Fc(Ic),d=c.a(),e=[];w(a,b);return Gc(e.join(Ec(c).toString()),d)}function Jc(a){return Hc(Array.prototype.slice.call(arguments))}var Dc={};function Gc(a,b){return Kc(a,b)}function Kc(a,b){var c=new Cc,d=Bb();c.f=d?d.createHTML(a):a;c.i=b;return c}var Lc=new Cc;Lc.f=m.trustedTypes&&m.trustedTypes.emptyHTML?m.trustedTypes.emptyHTML:"";Lc.i=0;var Ic=Lc,Mc=Kc("<br>",0);var Nc=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=Ec(Ic);return!b.parentElement});function Oc(a,b){if(Nc())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Ec(b)}
function Pc(a,b){a.src=Jb(b);var c;(c=a.ownerDocument&&a.ownerDocument.defaultView)&&c!=m?c=wa(c.document):(null===va&&(va=wa(m.document)),c=va);c&&a.setAttribute("nonce",c)}function Qc(a,b,c,d){a=a instanceof Yb?a:dc(a);b=b||m;c=c instanceof Cb?Fb(c):c||"";return b.open(ac(a),c,d,void 0)};function Rc(a){return 0==a.length}function Sc(a){return a=Mb(a,void 0)}function Tc(a,b,c){return a.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c.replace(/\$/g,"$$$$"))}function Uc(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^La()).toString(36)}var Vc=2147483648*Math.random()|0;function Wc(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}
function Xc(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};function Yc(){this.a=Zc("smi2.ru");this.f=Zc("exad.smi2.ru")}ya(Yc);function $c(){return"JsAPI Library 5.20.10"}function ad(a){return a.a[Math.random()*a.a.length>>0]}function bd(a){return a.f[Math.random()*a.f.length>>0]}function Zc(a){var b=[];a=y.isArray(a)?a:a.split(",");for(var c=0;c<a.length;c++){var d=a[c];y.C(d)&&!Kb(d)&&b.push(Lb(d))}return b};q("JsAPI.Config.getAppName",function(){Yc.G();return"JsAPI Library"});q("JsAPI.Config.getAppVersion",function(){Yc.G();return"5.20.10"});q("JsAPI.Config.getAppNameVersion",function(){return $c(Yc.G())});q("JsAPI.Config.getDomain",function(){return ad(Yc.G())});q("JsAPI.Config.setDomain",function(a){Yc.G().a=Zc(a)});q("JsAPI.Config.getRtbDomain",function(){return bd(Yc.G())});q("JsAPI.Config.setRtbDomain",function(a){Yc.G().f=Zc(a)});function cd(a){if(a.xa&&"function"==typeof a.xa)return a.xa();if("string"===typeof a)return a.split("");if(Aa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}b=[];c=0;for(d in a)b[c++]=a[d];return b}
function dd(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(Aa(a)||"string"===typeof a)w(a,b,void 0);else{if(a.Ia&&"function"==typeof a.Ia)var c=a.Ia();else if(a.xa&&"function"==typeof a.xa)c=void 0;else if(Aa(a)||"string"===typeof a){c=[];for(var d=a.length,e=0;e<d;e++)c.push(e)}else c=ub(a);d=cd(a);e=d.length;for(var f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)}};function ed(a,b,c){return Math.min(Math.max(a,b),c)};function fd(a,b){this.f={};this.a=[];this.i=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof fd)for(c=a.Ia(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])}h=fd.prototype;h.xa=function(){gd(this);for(var a=[],b=0;b<this.a.length;b++)a.push(this.f[this.a[b]]);return a};h.Ia=function(){gd(this);return this.a.concat()};
function gd(a){if(a.i!=a.a.length){for(var b=0,c=0;b<a.a.length;){var d=a.a[b];hd(a.f,d)&&(a.a[c++]=d);b++}a.a.length=c}if(a.i!=a.a.length){var e={};for(c=b=0;b<a.a.length;)d=a.a[b],hd(e,d)||(a.a[c++]=d,e[d]=1),b++;a.a.length=c}}h.get=function(a,b){return hd(this.f,a)?this.f[a]:b};h.set=function(a,b){hd(this.f,a)||(this.i++,this.a.push(a));this.f[a]=b};h.forEach=function(a,b){for(var c=this.Ia(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};
function hd(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var id=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function jd(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f=null;if(0<=e){var g=c[d].substring(0,e);f=c[d].substring(e+1)}else g=c[d];b(g,f?decodeURIComponent(f.replace(/\+/g," ")):"")}};function kd(){this.j=this.f="";this.i=!1;this.a=new ld(null,this.i)}kd.prototype.toString=function(){var a=[],b=this.f;b&&(a.push("//"),a.push(encodeURIComponent(String(b)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")));if(b=this.j)this.f&&"/"!=b.charAt(0)&&a.push("/"),a.push(md(b,"/"==b.charAt(0)?nd:od,!0));(b=this.a.toString())&&a.push("?",b);return a.join("")};function md(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,pd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}
function pd(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var od=/[#\?:]/g,nd=/[#\?]/g,qd=/[#\?@]/g;function ld(a,b){this.f=this.a=null;this.i=a||null;this.j=!!b}function rd(a){a.a||(a.a=new fd,a.f=0,a.i&&jd(a.i,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}h=ld.prototype;h.add=function(a,b){rd(this);this.i=null;a=sd(this,a);var c=this.a.get(a);c||this.a.set(a,c=[]);c.push(b);this.f+=1;return this};
function td(a,b){rd(a);b=sd(a,b);if(hd(a.a.f,b)){a.i=null;a.f-=a.a.get(b).length;var c=a.a,d=b;hd(c.f,d)&&(delete c.f[d],c.i--,c.a.length>2*c.i&&gd(c))}}function ud(a,b){rd(a);b=sd(a,b);return hd(a.a.f,b)}h.forEach=function(a,b){rd(this);this.a.forEach(function(c,d){w(c,function(e){a.call(b,e,d,this)},this)},this)};h.Ia=function(){rd(this);for(var a=this.a.xa(),b=this.a.Ia(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
h.xa=function(a){rd(this);var b=[];if("string"===typeof a)ud(this,a)&&(b=hb(b,this.a.get(sd(this,a))));else{a=this.a.xa();for(var c=0;c<a.length;c++)b=hb(b,a[c])}return b};h.set=function(a,b){rd(this);this.i=null;a=sd(this,a);ud(this,a)&&(this.f-=this.a.get(a).length);this.a.set(a,[b]);this.f+=1;return this};h.get=function(a,b){if(!a)return b;var c=this.xa(a);return 0<c.length?String(c[0]):b};
h.toString=function(){if(this.i)return this.i;if(!this.a)return"";for(var a=[],b=this.a.Ia(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.xa(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.i=a.join("&")};function sd(a,b){var c=String(b);a.j&&(c=c.toLowerCase());return c}
function vd(a,b){b&&!a.j&&(rd(a),a.i=null,a.a.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(td(this,d),td(this,e),0<c.length&&(this.i=null,this.a.set(sd(this,e),ib(c)),this.f+=c.length))},a));a.j=b};function wd(){return z("iPhone")&&!z("iPod")&&!z("iPad")}function xd(){return wd()||z("iPad")||z("iPod")};function yd(a){yd[" "](a);return a}yd[" "]=xa;function zd(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)};var Ad=z("Opera"),Bd=z("Trident")||z("MSIE"),Cd=z("Edge"),Dd=Cd||Bd,Ed=z("Gecko")&&!(-1!=xc.toLowerCase().indexOf("webkit")&&!z("Edge"))&&!(z("Trident")||z("MSIE"))&&!z("Edge"),Fd=-1!=xc.toLowerCase().indexOf("webkit")&&!z("Edge"),Gd=z("Macintosh"),Hd=z("Windows"),Id=z("Linux")||z("CrOS"),Jd=z("Android"),Kd=wd(),Ld=z("iPad"),Md=z("iPod");function Nd(){var a=m.document;return a?a.documentMode:void 0}var Wb;
a:{var Od="",Pd=function(){var a=xc;if(Ed)return/rv:([^\);]+)(\)|;)/.exec(a);if(Cd)return/Edge\/([\d\.]+)/.exec(a);if(Bd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Fd)return/WebKit\/(\S+)/.exec(a);if(Ad)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Pd&&(Od=Pd?Pd[1]:"");if(Bd){var Qd=Nd();if(null!=Qd&&Qd>parseFloat(Od)){Wb=String(Qd);break a}}Wb=Od}var Rd={};function Sd(a){return zd(Rd,a,function(){return 0<=Ub(a)})}var Td;
if(m.document&&Bd){var Ud=Nd();Td=Ud?Ud:parseInt(Wb,10)||void 0}else Td=void 0;var Vd=Td;var Wd=!Bd||9<=Number(Vd),Xd=Bd||Ad||Fd;function Yd(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}Yd.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};Yd.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};Yd.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};function Zd(a,b){this.width=a;this.height=b}Zd.prototype.aspectRatio=function(){return this.width/this.height};Zd.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};Zd.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};Zd.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function $d(a){return a?new ae(be(a)):Oa||(Oa=new ae)}function ce(a,b){var c=b||document;if(c.getElementsByClassName)c=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;c=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):de(c,"*",a,b)[0]||null}return c||null}
function de(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,g;g=a[f];f++)b==g.nodeName&&(d[e++]=g);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;g=a[f];f++)b=g.className,"function"==typeof b.split&&bb(b.split(/\s+/),c)&&(d[e++]=g);d.length=e;return d}return a}
function ee(a,b){sb(b,function(c,d){c&&"object"==typeof c&&c.Ka&&(c=c.Da());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:fe.hasOwnProperty(d)?a.setAttribute(fe[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})}
var fe={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function ge(){var a=window.document;a=he(a)?a.documentElement:a.body;return new Zd(a.clientWidth,a.clientHeight)}
function je(a){var b=a.scrollingElement?a.scrollingElement:!Fd&&he(a)?a.documentElement:a.body||a.documentElement;a=a.parentWindow||a.defaultView;return Bd&&Sd("10")&&a.pageYOffset!=b.scrollTop?new Yd(b.scrollLeft,b.scrollTop):new Yd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}function ke(a,b,c){return le(document,arguments)}
function le(a,b){var c=String(b[0]),d=b[1];if(!Wd&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Sc(d.name),'"');if(d.type){c.push(' type="',Sc(d.type),'"');var e={};zb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=me(a,c);d&&("string"===typeof d?c.className=d:Array.isArray(d)?c.className=d.join(" "):ee(c,d));2<b.length&&ne(a,c,b);return c}
function ne(a,b,c){function d(k){k&&b.appendChild("string"===typeof k?a.createTextNode(k):k)}for(var e=2;e<c.length;e++){var f=c[e];if(!Aa(f)||p(f)&&0<f.nodeType)d(f);else{a:{if(f&&"number"==typeof f.length){if(p(f)){var g="function"==typeof f.item||"string"==typeof f.item;break a}if(Ba(f)){g="function"==typeof f.item;break a}}g=!1}w(g?ib(f):f,d)}}}function me(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)}
function he(a){return"CSS1Compat"==a.compatMode}function oe(a,b){a.appendChild(b)}function pe(a){for(var b;b=a.firstChild;)a.removeChild(b)}function qe(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function re(a){return p(a)&&1==a.nodeType}function se(a){var b;if(Xd&&!(Bd&&Sd("9")&&!Sd("10")&&m.SVGElement&&a instanceof m.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return re(b)?b:null}
function te(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function be(a){return 9==a.nodeType?a:a.ownerDocument||a.document}
function ue(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else pe(a),a.appendChild(be(a).createTextNode(String(b)))}function ve(a){return Bd&&!Sd("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")}function we(a){a=a.tabIndex;return"number"===typeof a&&0<=a&&32768>a}
function ae(a){this.f=a||m.document||document}ae.prototype.o=function(a){return"string"===typeof a?this.f.getElementById(a):a};ae.prototype.a=function(a,b,c){return le(this.f,arguments)};ae.prototype.appendChild=oe;ae.prototype.contains=te;function xe(a){function b(f,g){var k=g+"  ";try{if(void 0===f)c.push("undefined");else if(null===f)c.push("NULL");else if("string"===typeof f)c.push('"'+f.replace(/\n/g,"\n"+g)+'"');else if(Ba(f))c.push(String(f).replace(/\n/g,"\n"+g));else if(p(f)){f[Da]||d.push(f);var l=Ca(f);if(e[l])c.push("*** reference loop detected (id="+l+") ***");else{e[l]=!0;c.push("{");for(var n in f)Ba(f[n])||(c.push("\n"),c.push(k),c.push(n+" = "),b(f[n],k));c.push("\n"+g+"}");delete e[l]}}else c.push(f)}catch(r){c.push("*** "+
r+" ***")}}var c=[],d=[],e={};b(a,"");for(a=0;a<d.length;a++)Ga(d[a])};function ye(){};function ze(){this.a=Yc.G()}ya(ze);
function Ae(a,b,c,d,e){var f=ze.G();try{if(c(),d)try{d()}catch(n){}}catch(n){try{var g=Be(n);c="";n.fileName&&(c=n.fileName);d=-1;n.lineNumber&&(d=n.lineNumber);var k=-1;n.columnNumber&&(k=n.columnNumber);Ce(f,"error",a,b,g,c,d,k)}catch(r){try{var l=Be(r);g="";r.fileName&&(g=r.fileName);c=-1;r.lineNumber&&(c=r.lineNumber);d=-1;r.columnNumber&&(d=r.columnNumber);Ce(f,"error",a,b,l,g,c,d)}catch(v){Ce(f,"error",a,b,v.toString()+"\n"+(v.stack||""))}}finally{if(e)try{e(n)}catch(r){}}}}
ze.prototype.info=function(a,b,c){Ce(this,"info",a,b,c)};ze.prototype.error=function(a,b,c){Ce(this,"error",a,b,c)};function Be(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack.toString();var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n")}catch(e){b=c}}return b}
function Ce(a,b,c,d,e,f,g,k){var l=new ld;y.ia(c)&&l.add("a",c.substr(0,64));y.ia(d)&&l.add("c",d.substr(0,64));y.ia(e)&&l.add("m",e.substr(0,1024));y.ia(f)&&l.add("fn",f.substr(0,256));y.ia(g)&&0<g&&l.add("ln",g);y.ia(k)&&0<k&&l.add("cn",k);l.add("u",document.URL.substr(0,1024));c=document?document.parentWindow||document.defaultView:window;try{c.jsapi_image_requests||(c.jsapi_image_requests=[]);var n=new kd;n.f=ad(a.a);n.j="/newdata/jsapi/"+b;a=l;a instanceof ld?(n.a=a,vd(n.a,n.i)):(a=md(a,qd),n.a=
new ld(a,n.i));var r=ke("img",{src:n,alt:""});c.jsapi_image_requests.push(r)}catch(v){}};var De=Ac(),Ee=wd()||z("iPod"),Fe=z("iPad"),Ge=z("Android")&&!(Bc()||Ac()||z("Opera")||z("Silk")),He=Bc(),Ie=z("Safari")&&!(Bc()||z("Coast")||z("Opera")||z("Edge")||z("Edg/")||z("OPR")||Ac()||z("Silk")||z("Android"))&&!xd();var Je={},Ke=null;function Le(a){var b=4;void 0===b&&(b=0);Me();b=Je[b];for(var c=[],d=0;d<a.length;d+=3){var e=a[d],f=d+1<a.length,g=f?a[d+1]:0,k=d+2<a.length,l=k?a[d+2]:0,n=e>>2;e=(e&3)<<4|g>>4;g=(g&15)<<2|l>>6;l&=63;k||(l=64,f||(g=64));c.push(b[n],b[e],b[g]||"",b[l]||"")}return c.join("")}function Ne(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return Le(b)}function Oe(a){var b=[];Pe(a,function(c){b.push(c)});return b}
function Qe(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):-1!="=.".indexOf(a[b-1])&&(c=-1!="=.".indexOf(a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;Pe(a,function(f){d[e++]=f});return d.subarray(0,e)}
function Pe(a,b){function c(l){for(;d<a.length;){var n=a.charAt(d++),r=Ke[n];if(null!=r)return r;if(!Kb(n))throw Error("Unknown base64 encoding at char: "+n);}return l}Me();for(var d=0;;){var e=c(-1),f=c(0),g=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}}
function Me(){if(!Ke){Ke={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Je[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===Ke[f]&&(Ke[f]=e)}}}};var Re=0,Se=0;function Te(a){this.i=null;this.a=this.j=this.F=0;this.s=!1;a&&Ue(this,a)}var Ve=[];function Ue(a,b){var c=b.constructor===Uint8Array?b:b.constructor===ArrayBuffer?new Uint8Array(b):"undefined"!=typeof Buffer&&b.constructor===Buffer?new Uint8Array(b):b.constructor===Array?new Uint8Array(b):b.constructor===String?Qe(b):new Uint8Array(0);a.i=c;a.F=0;a.j=a.i.length;a.a=a.F}Te.prototype.reset=function(){this.a=this.F};
Te.prototype.f=function(){var a=this.i;var b=a[this.a];var c=b&127;if(128>b)return this.a+=1,c;b=a[this.a+1];c|=(b&127)<<7;if(128>b)return this.a+=2,c;b=a[this.a+2];c|=(b&127)<<14;if(128>b)return this.a+=3,c;b=a[this.a+3];c|=(b&127)<<21;if(128>b)return this.a+=4,c;b=a[this.a+4];c|=(b&15)<<28;if(128>b)return this.a+=5,c>>>0;this.a+=5;128<=a[this.a++]&&128<=a[this.a++]&&128<=a[this.a++]&&128<=a[this.a++]&&this.a++;return c};Te.prototype.O=Te.prototype.f;function We(a){if(Ve.length){var b=Ve.pop();a&&Ue(b,a);a=b}else a=new Te(a);this.a=a;this.F=this.a.a;this.f=this.i=-1;this.j=!1}We.prototype.reset=function(){this.a.reset();this.f=this.i=-1};function Xe(a){var b=a.a;(b=b.a==b.j)||(b=a.j)||(b=a.a,b=b.s||0>b.a||b.a>b.j);if(b)return!1;a.F=a.a.a;b=a.a.f();var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.j=!0,!1;a.i=b>>>3;a.f=c;return!0}
function Ye(a){switch(a.f){case 0:if(0!=a.f)Ye(a);else{for(a=a.a;a.i[a.a]&128;)a.a++;a.a++}break;case 1:1!=a.f?Ye(a):(a=a.a,a.a+=8);break;case 2:if(2!=a.f)Ye(a);else{var b=a.a.f();a=a.a;a.a+=b}break;case 5:5!=a.f?Ye(a):(a=a.a,a.a+=4);break;case 3:b=a.i;do{if(!Xe(a)){a.j=!0;break}if(4==a.f){a.i!=b&&(a.j=!0);break}Ye(a)}while(1)}}function Ze(a,b,c){var d=a.a.j,e=a.a.f();e=a.a.a+e;a.a.j=e;c(b,a);a.a.a=e;a.a.j=d}function $e(a){return a.a.f()}
function af(a){var b=a.a.f();a=a.a;var c=a.i,d=a.a,e=d+b,f=[];for(b="";d<e;){var g=c[d++];if(128>g)f.push(g);else if(192>g)continue;else if(224>g){var k=c[d++];f.push((g&31)<<6|k&63)}else if(240>g){k=c[d++];var l=c[d++];f.push((g&15)<<12|(k&63)<<6|l&63)}else if(248>g){k=c[d++];l=c[d++];var n=c[d++];g=(g&7)<<18|(k&63)<<12|(l&63)<<6|n&63;g-=65536;f.push((g>>10&1023)+55296,(g&1023)+56320)}8192<=f.length&&(b+=String.fromCharCode.apply(null,f),f.length=0)}if(8192>=f.length)f=String.fromCharCode.apply(null,
f);else{c="";for(e=0;e<f.length;e+=8192)c+=String.fromCharCode.apply(null,jb(f,e,e+8192));f=c}a.a=d;return b+f};function bf(){this.a=[]}bf.prototype.length=function(){return this.a.length};function cf(a){var b=a.a;a.a=[];return b}function df(a,b){for(;127<b;)a.a.push(b&127|128),b>>>=7;a.a.push(b)}function ef(a,b){if(0<=b)df(a,b);else{for(var c=0;9>c;c++)a.a.push(b&127|128),b>>=7;a.a.push(1)}};function ff(){this.i=[];this.f=0;this.a=new bf}function gf(a,b){df(a.a,8*b+2);var c=cf(a.a);a.i.push(c);a.f+=c.length;c.push(a.f);return c}function hf(a,b){var c=b.pop();for(c=a.f+a.a.length()-c;127<c;)b.push(c&127|128),c>>>=7,a.f++;b.push(c);a.f++}ff.prototype.reset=function(){this.i=[];cf(this.a);this.f=0};function jf(a){for(var b=new Uint8Array(a.f+a.a.length()),c=a.i,d=c.length,e=0,f=0;f<d;f++){var g=c[f];b.set(g,e);e+=g.length}c=cf(a.a);b.set(c,e);a.i=[b];return b}
function kf(a,b,c){null!=c&&null!=c&&(df(a.a,8*b),ef(a.a,c))}function lf(a,b,c){null!=c&&null!=c&&(df(a.a,8*b),df(a.a,c))}function mf(a,b,c){null!=c&&(df(a.a,8*b),a.a.a.push(c?1:0))}
function B(a,b,c){if(null!=c){b=gf(a,b);for(var d=a.a,e=0;e<c.length;e++){var f=c.charCodeAt(e);if(128>f)d.a.push(f);else if(2048>f)d.a.push(f>>6|192),d.a.push(f&63|128);else if(65536>f)if(55296<=f&&56319>=f&&e+1<c.length){var g=c.charCodeAt(e+1);56320<=g&&57343>=g&&(f=1024*(f-55296)+g-56320+65536,d.a.push(f>>18|240),d.a.push(f>>12&63|128),d.a.push(f>>6&63|128),d.a.push(f&63|128),e++)}else d.a.push(f>>12|224),d.a.push(f>>6&63|128),d.a.push(f&63|128)}hf(a,b)}}
function nf(a,b,c,d){null!=c&&(b=gf(a,b),d(c,a),hf(a,b))}function of(a,b,c,d){if(null!=c)for(var e=0;e<c.length;e++){var f=gf(a,b);d(c[e],a);hf(a,f)}};function F(){}var pf="function"==typeof Uint8Array;function H(a,b,c,d){a.a=null;b||(b=[]);a.s=void 0;a.i=-1;a.oa=b;a:{if(b=a.oa.length){--b;var e=a.oa[b];if(!(null===e||"object"!=typeof e||Array.isArray(e)||pf&&e instanceof Uint8Array)){a.j=b-a.i;a.f=e;break a}}a.j=Number.MAX_VALUE}a.F={};if(c)for(b=0;b<c.length;b++)e=c[b],e<a.j?(e+=a.i,a.oa[e]=a.oa[e]||qf):(rf(a),a.f[e]=a.f[e]||qf);if(d&&d.length)for(b=0;b<d.length;b++)sf(a,d[b])}var qf=[];function rf(a){var b=a.j+a.i;a.oa[b]||(a.f=a.oa[b]={})}
function tf(a,b,c){for(var d=[],e=0;e<a.length;e++)d[e]=b.call(a[e],c,a[e]);return d}function I(a,b){if(b<a.j){var c=b+a.i,d=a.oa[c];return d===qf?a.oa[c]=[]:d}if(a.f)return d=a.f[b],d===qf?a.f[b]=[]:d}function J(a,b,c){a=I(a,b);return null==a?c:a}function uf(a,b){var c=I(a,b);c=null==c?c:!!c;return null==c?!1:c}function vf(a,b,c){b<a.j?a.oa[b+a.i]=c:(rf(a),a.f[b]=c)}function L(a,b,c){return wf(a,b,c,0)}function M(a,b,c){return wf(a,b,c,"")}
function wf(a,b,c,d){c!==d?vf(a,b,c):b<a.j?a.oa[b+a.i]=null:(rf(a),delete a.f[b]);return a}function sf(a,b){for(var c,d,e=0;e<b.length;e++){var f=b[e],g=I(a,f);null!=g&&(c=f,d=g,vf(a,f,void 0))}return c?(vf(a,c,d),c):0}function xf(a,b,c){a.a||(a.a={});if(!a.a[c]){var d=I(a,c);d&&(a.a[c]=new b(d))}return a.a[c]}function yf(a,b,c){zf(a,b,c);b=a.a[c];b==qf&&(b=a.a[c]=[]);return b}function zf(a,b,c){a.a||(a.a={});if(!a.a[c]){for(var d=I(a,c),e=[],f=0;f<d.length;f++)e[f]=new b(d[f]);a.a[c]=e}}
function O(a,b,c){a.a||(a.a={});var d=c?c.oa:c;a.a[b]=c;vf(a,b,d)}function Af(a,b,c){var d=Bf[0];a.a||(a.a={});var e=c?c.oa:c;a.a[b]=c;(c=sf(a,d))&&c!==b&&void 0!==e&&(a.a&&c in a.a&&(a.a[c]=void 0),vf(a,c,void 0));vf(a,b,e)}function Cf(a,b){a.a||(a.a={});b=b||[];for(var c=[],d=0;d<b.length;d++)c[d]=b[d].oa;a.a[2]=b;vf(a,2,c)}function U(a,b,c,d){zf(a,d,b);var e=a.a[b];e||(e=a.a[b]=[]);c=c?c:new d;a=I(a,b);e.push(c);a.push(c.oa)}F.prototype.toString=function(){return this.oa.toString()};function Df(a){H(this,a,null,null)}t(Df,F);function Ef(a){H(this,a,null,null)}t(Ef,F);function Ff(a){H(this,a,Gf,null)}t(Ff,F);function Hf(a){H(this,a,null,null)}t(Hf,F);
function If(a,b){var c=J(a,1,"");0<c.length&&B(b,1,c);c=J(a,2,0);0!==c&&lf(b,2,c);c=J(a,3,"");0<c.length&&B(b,3,c);c=J(a,4,"");0<c.length&&B(b,4,c);c=J(a,5,"");0<c.length&&B(b,5,c);(c=uf(a,6))&&mf(b,6,c);c=J(a,7,"");0<c.length&&B(b,7,c);c=xf(a,Ef,8);null!=c&&nf(b,8,c,Jf);c=J(a,9,"");0<c.length&&B(b,9,c);c=J(a,10,"");0<c.length&&B(b,10,c);c=J(a,11,"");0<c.length&&B(b,11,c)}function Jf(a,b){var c=J(a,1,"");0<c.length&&B(b,1,c);c=J(a,2,"");0<c.length&&B(b,2,c)}var Gf=[2];
function Kf(a){var b=new ff;var c=xf(a,Df,3);null!=c&&nf(b,3,c,If);c=J(a,1,0);0!==c&&kf(b,1,c);c=yf(a,Hf,2);0<c.length&&of(b,2,c,Lf);return jf(b)}function Lf(a,b){var c=xf(a,Df,9);null!=c&&nf(b,9,c,If);c=J(a,1,0);0!==c&&kf(b,1,c);c=J(a,2,0);0!==c&&kf(b,2,c);c=J(a,3,0);0!==c&&kf(b,3,c);c=J(a,4,0);0!==c&&lf(b,4,c);c=J(a,5,0);0!==c&&kf(b,5,c);c=J(a,6,"");0<c.length&&B(b,6,c);c=J(a,10,"");0<c.length&&B(b,10,c);(c=uf(a,7))&&mf(b,7,c);c=J(a,8,"");0<c.length&&B(b,8,c)};function Mf(a,b){this.aa=a|0;this.a=b|0}function Nf(a){return 4294967296*a.a+(a.aa>>>0)}h=Mf.prototype;
h.toString=function(a){a=a||10;if(2>a||36<a)throw Error("radix out of range: "+a);var b=this.a>>21;if(0==b||-1==b&&(0!=this.aa||-2097152!=this.a))return b=Nf(this),10==a?""+b:b.toString(a);b=14-(a>>2);var c=Math.pow(a,b),d=Of(c,c/4294967296);c=Pf(this,d);d=Math.abs(Nf(this.add(Qf(Rf(c,d)))));var e=10==a?""+d:d.toString(a);e.length<b&&(e="0000000000000".substr(e.length-b)+e);d=Nf(c);return(10==a?d:d.toString(a))+e};function Sf(a){return 0==a.aa&&0==a.a}
function Tf(a,b){return a.aa==b.aa&&a.a==b.a}function Uf(a,b){return a.a==b.a?a.aa==b.aa?0:a.aa>>>0>b.aa>>>0?1:-1:a.a>b.a?1:-1}function Qf(a){var b=~a.aa+1|0;return Of(b,~a.a+!b|0)}h.add=function(a){var b=this.a>>>16,c=this.a&65535,d=this.aa>>>16,e=a.a>>>16,f=a.a&65535,g=a.aa>>>16;a=(this.aa&65535)+(a.aa&65535);g=(a>>>16)+(d+g);d=g>>>16;d+=c+f;b=(d>>>16)+(b+e)&65535;return Of((g&65535)<<16|a&65535,b<<16|d&65535)};
function Rf(a,b){if(Sf(a))return a;if(Sf(b))return b;var c=a.a>>>16,d=a.a&65535,e=a.aa>>>16,f=a.aa&65535,g=b.a>>>16,k=b.a&65535,l=b.aa>>>16,n=b.aa&65535;var r=f*n;var v=(r>>>16)+e*n;var u=v>>>16;v=(v&65535)+f*l;u+=v>>>16;u+=d*n;var x=u>>>16;u=(u&65535)+e*l;x+=u>>>16;u=(u&65535)+f*k;x=x+(u>>>16)+(c*n+d*l+e*k+f*g)&65535;return Of((v&65535)<<16|r&65535,x<<16|u&65535)}
function Pf(a,b){if(Sf(b))throw Error("division by zero");if(0>a.a){if(Tf(a,Vf)){if(Tf(b,Wf)||Tf(b,Xf))return Vf;if(Tf(b,Vf))return Wf;var c=Yf(Pf(Zf(a,1),b),1);if(Tf(c,$f))return 0>b.a?Wf:Xf;var d=a.add(Qf(Rf(b,c)));return c.add(Pf(d,b))}return 0>b.a?Pf(Qf(a),Qf(b)):Qf(Pf(Qf(a),b))}if(Sf(a))return $f;if(0>b.a)return Tf(b,Vf)?$f:Qf(Pf(a,Qf(b)));var e=$f;for(d=a;0<=Uf(d,b);){c=Math.max(1,Math.floor(Nf(d)/Nf(b)));var f=Math.ceil(Math.log(c)/Math.LN2);f=48>=f?1:Math.pow(2,f-48);for(var g=ag(c),k=Rf(g,
b);0>k.a||0<Uf(k,d);)c-=f,g=ag(c),k=Rf(g,b);Sf(g)&&(g=Wf);e=e.add(g);d=d.add(Qf(k))}return e}h.and=function(a){return Of(this.aa&a.aa,this.a&a.a)};h.or=function(a){return Of(this.aa|a.aa,this.a|a.a)};h.xor=function(a){return Of(this.aa^a.aa,this.a^a.a)};function Yf(a,b){b&=63;if(0==b)return a;var c=a.aa;return 32>b?Of(c<<b,a.a<<b|c>>>32-b):Of(0,c<<b-32)}function Zf(a,b){b&=63;if(0==b)return a;var c=a.a;return 32>b?Of(a.aa>>>b|c<<32-b,c>>b):Of(c>>b-32,0<=c?0:-1)}
function bg(a){a|=0;return-128<=a&&128>a?cg(a):new Mf(a,0>a?-1:0)}function ag(a){return 0<a?0x7fffffffffffffff<=a?dg:new Mf(a,a/4294967296):0>a?-9223372036854775808>=a?Vf:Qf(new Mf(-a,-a/4294967296)):$f}function Of(a,b){return new Mf(a,b)}var eg={};function cg(a){return zd(eg,a,function(b){return new Mf(b,0>b?-1:0)})}var $f=Of(0,0),Wf=Of(1,0),Xf=Of(-1,-1),dg=Of(4294967295,2147483647),Vf=Of(0,2147483648);function fg(a,b){this.a=a;this.f=b}function gg(){var a=new Uint8Array(16),b=window.crypto;if(y.h(b))b.getRandomValues(a);else for(b=0;16>b;b++)a[b]=255*Math.random()>>>0&255;a[6]&=15;a[6]|=64;a[8]&=63;a[8]|=128;b=hg(a,0);a=hg(a,8);return new fg(b,a)}fg.prototype.version=function(){return Zf(this.a,12).and(bg(15)).aa};fg.prototype.toString=function(){return ig(Zf(this.a,32),8)+"-"+ig(Zf(this.a,16),4)+"-"+ig(this.a,4)+"-"+ig(Zf(this.f,48),4)+"-"+ig(this.f,12)};
function ig(a,b){var c=Yf(Wf,4*b);return c.or(a.and(c.add(Qf(Wf)))).toString(16).substring(1)}function hg(a,b){for(var c=$f,d=b,e=b+8;d<e;d++)c=Yf(c,8).or(bg(a[d]&255));return c};function jg(){};function kg(){}t(kg,jg);function lg(a){this.a=a}t(lg,kg);lg.prototype.set=function(a,b){try{this.a.setItem(a,b)}catch(c){if(0==this.a.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};lg.prototype.get=function(a){a=this.a.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};lg.prototype.key=function(a){return this.a.key(a)};function mg(){var a=null;try{a=window.localStorage||null}catch(b){}this.a=a}t(mg,lg);function ng(a,b){this.f=a;this.a=null;if(Bd&&!(9<=Number(Vd))){og||(og=new fd);this.a=og.get(a);this.a||(b?this.a=document.getElementById(b):(this.a=document.createElement("userdata"),this.a.addBehavior("#default#userData"),document.body.appendChild(this.a)),og.set(a,this.a));try{this.a.load(this.f)}catch(c){this.a=null}}}t(ng,kg);var pg={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},og=null;
function qg(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return pg[b]})}ng.prototype.set=function(a,b){this.a.setAttribute(qg(a),b);try{this.a.save(this.f)}catch(c){throw"Storage mechanism: Quota exceeded";}};ng.prototype.get=function(a){a=this.a.getAttribute(qg(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};function rg(){var a=new mg;if(a.a)try{a.a.setItem("__sak","1");a.a.removeItem("__sak");var b=!0}catch(c){b=!1}else b=!1;(a=b?a:null)||(a=new ng("UserDataSharedStore"),a=a.a?a:null);this.a=a;this.a?(a=this.a.get("_jsapi::uid"),y.C(a)||(a=gg().toString(),this.a.set("_jsapi::uid",a))):a=null;this.ba=a}ya(rg);function sg(){var a=rg.G().ba,b=window.location.hostname;if(y.C(a)&&y.C(b)){var c=new Ef;M(c,1,a);M(c,2,b);a=new ff;Jf(c,a);c=jf(a);return Le(c)}return null}
function tg(){var a=rg.G();return ug(a,"_sm::yid")}function vg(){var a=rg.G();return ug(a,"_sm::fid")}function wg(){var a=rg.G();return ug(a,"_sm::id")}function ug(a,b){if(!b||!y.C(b))return"";try{var c=a.a;if(c){var d=c.get(b);return y.C(d)?Tc(String(d),'"',""):""}}catch(e){console.error(e)}return""};function xg(a){yg();var b=Bb();a=b?b.createScriptURL(a):a;return new Gb(Hb,a)}var yg=xa;function zg(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function Ag(a,b){this.i=a;this.j=b;this.f=0;this.a=null}Ag.prototype.get=function(){if(0<this.f){this.f--;var a=this.a;this.a=a.next;a.next=null}else a=this.i();return a};function Bg(a,b){a.j(b);100>a.f&&(a.f++,b.next=a.a,a.a=b)};function Cg(){this.f=this.a=null}var Eg=new Ag(function(){return new Dg},function(a){a.reset()});Cg.prototype.add=function(a,b){var c=Eg.get();c.set(a,b);this.f?this.f.next=c:this.a=c;this.f=c};function Fg(){var a=Gg,b=null;a.a&&(b=a.a,a.a=a.a.next,a.a||(a.f=null),b.next=null);return b}function Dg(){this.next=this.a=this.Ha=null}Dg.prototype.set=function(a,b){this.Ha=a;this.a=b;this.next=null};Dg.prototype.reset=function(){this.next=this.a=this.Ha=null};function Hg(a){m.setTimeout(function(){throw a;},0)}var Ig;
function Jg(){var a=m.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!z("Presto")&&(a=function(){var e=me(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),k="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=Ja(function(l){if(("*"==k||l.origin==k)&&l.data==g)this.port1.onmessage()},this);
f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,k)}}});if("undefined"!==typeof a&&!z("Trident")&&!z("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.$b;c.$b=null;e()}};return function(e){d.next={$b:e};d=d.next;b.port2.postMessage(0)}}return function(e){m.setTimeout(e,0)}};function Kg(a,b){Lg||Mg();Ng||(Lg(),Ng=!0);Gg.add(a,b)}var Lg;function Mg(){if(m.Promise&&m.Promise.resolve){var a=m.Promise.resolve(void 0);Lg=function(){a.then(Og)}}else Lg=function(){var b=Og;!Ba(m.setImmediate)||m.Window&&m.Window.prototype&&!z("Edge")&&m.Window.prototype.setImmediate==m.setImmediate?(Ig||(Ig=Jg()),Ig(b)):m.setImmediate(b)}}var Ng=!1,Gg=new Cg;function Og(){for(var a;a=Fg();){try{a.Ha.call(a.a)}catch(b){Hg(b)}Bg(Eg,a)}Ng=!1};function Pg(a){this.a=Qg;this.O=void 0;this.j=this.f=this.i=null;this.F=this.s=!1;if(a!=xa)try{var b=this;a.call(void 0,function(c){Rg(b,Sg,c)},function(c){Rg(b,Tg,c)})}catch(c){Rg(this,Tg,c)}}var Qg=0,Sg=2,Tg=3;function Ug(){this.next=this.context=this.f=this.j=this.a=null;this.i=!1}Ug.prototype.reset=function(){this.context=this.f=this.j=this.a=null;this.i=!1};var Vg=new Ag(function(){return new Ug},function(a){a.reset()});function Wg(a,b,c){var d=Vg.get();d.j=a;d.f=b;d.context=c;return d}
function Xg(){var a=new Pg(xa);Rg(a,Sg,void 0);return a}Pg.prototype.then=function(a,b,c){return Yg(this,Ba(a)?a:null,Ba(b)?b:null,c)};Pg.prototype.$goog_Thenable=!0;function Zg(a,b){var c=Wg(b,b,void 0);c.i=!0;$g(a,c);return a}function ah(a,b){return Yg(a,null,b,void 0)}Pg.prototype.cancel=function(a){if(this.a==Qg){var b=new bh(a);Kg(function(){ch(this,b)},this)}};
function ch(a,b){if(a.a==Qg)if(a.i){var c=a.i;if(c.f){for(var d=0,e=null,f=null,g=c.f;g&&(g.i||(d++,g.a==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(c.a==Qg&&1==d?ch(c,b):(f?(d=f,d.next==c.j&&(c.j=d),d.next=d.next.next):dh(c),eh(c,e,Tg,b)))}a.i=null}else Rg(a,Tg,b)}function $g(a,b){a.f||a.a!=Sg&&a.a!=Tg||fh(a);a.j?a.j.next=b:a.f=b;a.j=b}
function Yg(a,b,c,d){var e=Wg(null,null,null);e.a=new Pg(function(f,g){e.j=b?function(k){try{var l=b.call(d,k);f(l)}catch(n){g(n)}}:f;e.f=c?function(k){try{var l=c.call(d,k);void 0===l&&k instanceof bh?g(k):f(l)}catch(n){g(n)}}:g});e.a.i=a;$g(a,e);return e.a}Pg.prototype.K=function(a){this.a=Qg;Rg(this,Sg,a)};Pg.prototype.Z=function(a){this.a=Qg;Rg(this,Tg,a)};
function Rg(a,b,c){if(a.a==Qg){a===c&&(b=Tg,c=new TypeError("Promise cannot resolve to itself"));a.a=1;a:{var d=c,e=a.K,f=a.Z;if(d instanceof Pg){$g(d,Wg(e||xa,f||null,a));var g=!0}else if(zg(d))d.then(e,f,a),g=!0;else{if(p(d))try{var k=d.then;if(Ba(k)){gh(d,k,e,f,a);g=!0;break a}}catch(l){f.call(a,l);g=!0;break a}g=!1}}g||(a.O=c,a.a=b,a.i=null,fh(a),b!=Tg||c instanceof bh||hh(a,c))}}
function gh(a,b,c,d,e){function f(l){k||(k=!0,d.call(e,l))}function g(l){k||(k=!0,c.call(e,l))}var k=!1;try{b.call(a,g,f)}catch(l){f(l)}}function fh(a){a.s||(a.s=!0,Kg(a.D,a))}function dh(a){var b=null;a.f&&(b=a.f,a.f=b.next,b.next=null);a.f||(a.j=null);return b}Pg.prototype.D=function(){for(var a;a=dh(this);)eh(this,a,this.a,this.O);this.s=!1};
function eh(a,b,c,d){if(c==Tg&&b.f&&!b.i)for(;a&&a.F;a=a.i)a.F=!1;if(b.a)b.a.i=null,ih(b,c,d);else try{b.i?b.j.call(b.context):ih(b,c,d)}catch(e){jh.call(null,e)}Bg(Vg,b)}function ih(a,b,c){b==Sg?a.j.call(a.context,c):a.f&&a.f.call(a.context,c)}function hh(a,b){a.F=!0;Kg(function(){a.F&&jh.call(null,b)})}var jh=Hg;function bh(a){Na.call(this,a)}t(bh,Na);bh.prototype.name="cancel";/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
function kh(a,b){this.j=[];this.M=a;this.Z=b||null;this.i=this.Ma=!1;this.f=void 0;this.D=this.R=this.s=!1;this.F=0;this.a=null;this.O=0}kh.prototype.cancel=function(a){if(this.Ma)this.f instanceof kh&&this.f.cancel();else{if(this.a){var b=this.a;delete this.a;a?b.cancel(a):(b.O--,0>=b.O&&b.cancel())}this.M?this.M.call(this.Z,this):this.D=!0;this.Ma||W(this,new lh(this))}};kh.prototype.K=function(a,b){this.s=!1;mh(this,a,b)};function mh(a,b,c){a.Ma=!0;a.f=c;a.i=!b;nh(a)}
function oh(a){if(a.Ma){if(!a.D)throw new ph(a);a.D=!1}}kh.prototype.V=function(a){oh(this);mh(this,!0,a)};function W(a,b){oh(a);mh(a,!1,b)}function qh(a,b){rh(a,b,null,void 0)}function sh(a,b){rh(a,null,b,void 0)}function th(a,b){rh(a,b,b,void 0)}function rh(a,b,c,d){a.j.push([b,c,d]);a.Ma&&nh(a)}kh.prototype.then=function(a,b,c){var d,e,f=new Pg(function(g,k){d=g;e=k});rh(this,d,function(g){g instanceof lh?f.cancel():e(g)});return f.then(a,b,c)};kh.prototype.$goog_Thenable=!0;
function uh(a){return Xa(a.j,function(b){return Ba(b[1])})}
function nh(a){if(a.F&&a.Ma&&uh(a)){var b=a.F,c=vh[b];c&&(m.clearTimeout(c.ba),delete vh[b]);a.F=0}a.a&&(a.a.O--,delete a.a);b=a.f;for(var d=c=!1;a.j.length&&!a.s;){var e=a.j.shift(),f=e[0],g=e[1];e=e[2];if(f=a.i?g:f)try{var k=f.call(e||a.Z,b);void 0!==k&&(a.i=a.i&&(k==b||k instanceof Error),a.f=b=k);if(zg(b)||"function"===typeof m.Promise&&b instanceof m.Promise)d=!0,a.s=!0}catch(l){b=l,a.i=!0,uh(a)||(c=!0)}}a.f=b;d&&(k=Ja(a.K,a,!0),d=Ja(a.K,a,!1),b instanceof kh?(rh(b,k,d),b.R=!0):b.then(k,d));
c&&(b=new wh(b),vh[b.ba]=b,a.F=b.ba)}function xh(){var a=new kh;W(a,Error("Invalid origin"));return a}function ph(){Na.call(this)}t(ph,Na);ph.prototype.message="Deferred has already fired";ph.prototype.name="AlreadyCalledError";function lh(){Na.call(this)}t(lh,Na);lh.prototype.message="Deferred was canceled";lh.prototype.name="CanceledError";function wh(a){this.ba=m.setTimeout(Ja(this.f,this),0);this.a=a}wh.prototype.f=function(){delete vh[this.ba];throw this.a;};var vh={};function yh(a,b){var c=b||{},d=c.document||document,e=Jb(a).toString(),f=me(document,"SCRIPT"),g={vc:f,Qa:void 0},k=new kh(zh,g),l=null,n=null!=c.timeout?c.timeout:5E3;0<n&&(l=window.setTimeout(function(){Ah(f,!0);W(k,new Bh(Ch,"Timeout reached for loading script "+e))},n),g.Qa=l);f.onload=f.onreadystatechange=function(){f.readyState&&"loaded"!=f.readyState&&"complete"!=f.readyState||(Ah(f,c.ac||!1,l),k.V(null))};f.onerror=function(){Ah(f,!0,l);W(k,new Bh(Dh,"Error while loading script "+e))};g=c.attributes||
{};zb(g,{type:"text/javascript",charset:"UTF-8"});ee(f,g);Pc(f,a);Eh(d).appendChild(f);return k}function Eh(a){var b=(a||document).getElementsByTagName("HEAD");return!b||cb(b)?a.documentElement:b[0]}function zh(){if(this&&this.vc){var a=this.vc;a&&"SCRIPT"==a.tagName&&Ah(a,!0,this.Qa)}}function Ah(a,b,c){null!=c&&m.clearTimeout(c);a.onload=xa;a.onerror=xa;a.onreadystatechange=xa;b&&window.setTimeout(function(){qe(a)},0)}var Dh=0,Ch=1;
function Bh(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);Na.call(this,c);this.code=a}t(Bh,Na);function Fh(){this.Qa=1E4}var Gh=0;function Hh(a,b,c,d,e){c="_"+c;m._jsapi_callbacks_||(m._jsapi_callbacks_={});d&&(m._jsapi_callbacks_[c]=Ih(c,d));b=xg(b);a=yh(b,{timeout:a.Qa,ac:!0});sh(a,Jh(c,e))}Fh.prototype.cancel=function(a){a&&(a.Xa&&a.Xa.cancel(),a.ba&&Kh(a.ba,!1))};function Ih(a,b){return function(c){Kh(a,!0);b.apply(void 0,arguments)}}function Jh(a,b){return function(){Kh(a,!1);b&&b()}}
function Kh(a,b){m._jsapi_callbacks_[a]&&(b?delete m._jsapi_callbacks_[a]:m._jsapi_callbacks_[a]=function(){})};function Lh(a){return y.l(a)&&-2147483648<=a&&2147483648>a?a:0}function Mh(a){return y.l(a)&&0<=a&&4294967296>a?a:0}function Nh(a){return y.$(a)?a:!1}function Oh(a){return y.C(a)?a:""};function Ph(a){H(this,a,Qh,null)}t(Ph,F);function Rh(a){H(this,a,null,null)}t(Rh,F);function Sh(a){H(this,a,null,null)}t(Sh,F);function Th(a){H(this,a,null,null)}t(Th,F);function Uh(a){H(this,a,null,null)}t(Uh,F);function Vh(a){H(this,a,null,null)}t(Vh,F);function Wh(a){H(this,a,null,null)}t(Wh,F);function Xh(a){H(this,a,null,null)}t(Xh,F);var Qh=[7,8];
function Yh(a){var b,c=J(a,1,0),d=J(a,2,""),e=(b=Zh(a))&&$h(b),f;if(f=b=ai(a))f=b,f={Ue:J(f,1,0),Te:J(f,2,0),userAgent:J(f,3,"")};var g;if(g=b=bi(a))g={id:J(b,1,0),name:J(b,2,""),domain:J(b,3,"")};var k;if(k=b=ci(a))k=b,k={url:J(k,1,""),oe:J(k,2,""),referrer:J(k,3,"")};var l=null==(b=I(a,7))?void 0:b,n=tf(yf(a,Vh,8),di,void 0),r;if(r=b=ei(a))r={Ke:J(b,1,0),me:J(b,2,0)};return{He:c,requestId:d,ff:e,se:f,Ve:g,page:k,we:l,le:n,ge:r,We:J(a,10,0),Xe:J(a,11,0),Ye:J(a,12,0),ee:J(a,13,""),ne:J(a,14,"")}}
function fi(a){a=new We(a);for(var b=new Ph;Xe(a)&&4!=a.f;)switch(a.i){case 1:var c=a.a.O();L(b,1,c);break;case 2:c=af(a);gi(b,c);break;case 3:c=new Rh;Ze(a,c,hi);ii(b,c);break;case 4:c=new Sh;Ze(a,c,ji);ki(b,c);break;case 5:c=new Th;Ze(a,c,li);mi(b,c);break;case 6:c=new Uh;Ze(a,c,ni);oi(b,c);break;case 7:if(a.s()){c=a;var d=a.a.f,e=c.a.f();e=c.a.a+e;for(var f=[];c.a.a<e;)f.push(d.call(c.a));c=f}else c=[$e(a)];for(d=0;d<c.length;d++)e=c[d],I(b,7).push(e);break;case 8:c=new Vh;Ze(a,c,pi);U(b,8,c,Vh);
break;case 9:c=new Wh;Ze(a,c,qi);ri(b,c);break;case 10:c=$e(a);si(b,c);break;case 11:c=$e(a);ti(b,c);break;case 12:c=$e(a);ui(b,c);break;case 13:c=af(a);vi(b,c);break;case 14:c=af(a);M(b,14,c);break;default:Ye(a)}return b}
function wi(a){var b=new ff;var c=J(a,1,0);0!==c&&kf(b,1,c);c=J(a,2,"");0<c.length&&B(b,2,c);c=Zh(a);null!=c&&nf(b,3,c,xi);c=ai(a);null!=c&&nf(b,4,c,yi);c=bi(a);null!=c&&nf(b,5,c,zi);c=ci(a);null!=c&&nf(b,6,c,Ai);c=I(a,7);if(0<c.length&&null!=c&&c.length){for(var d=gf(b,7),e=0;e<c.length;e++)df(b.a,c[e]);hf(b,d)}c=yf(a,Vh,8);0<c.length&&of(b,8,c,Bi);c=ei(a);null!=c&&nf(b,9,c,Ci);c=J(a,10,0);0!==c&&lf(b,10,c);c=J(a,11,0);0!==c&&lf(b,11,c);c=J(a,12,0);0!==c&&lf(b,12,c);c=J(a,13,"");0<c.length&&B(b,
13,c);c=J(a,14,"");0<c.length&&B(b,14,c);return jf(b)}function $h(a){return{id:J(a,1,""),pe:J(a,2,0),sessionId:J(a,3,""),locale:J(a,4,""),Ce:J(a,5,""),Fe:uf(a,6),Ie:J(a,7,""),xe:J(a,8,""),pf:J(a,9,"")}}
function hi(a,b){for(;Xe(b)&&4!=b.f;)switch(b.i){case 1:var c=af(b);Di(a,c);break;case 2:c=$e(b);Ei(a,c);break;case 3:c=af(b);Fi(a,c);break;case 4:c=af(b);Gi(a,c);break;case 5:c=af(b);Hi(a,c);break;case 6:c=!!b.a.f();Ii(a,c);break;case 7:c=af(b);Ji(a,c);break;case 8:c=af(b);Ki(a,c);break;case 9:c=af(b);Li(a,c);break;default:Ye(b)}return a}
function xi(a,b){var c=J(a,1,"");0<c.length&&B(b,1,c);c=J(a,2,0);0!==c&&lf(b,2,c);c=J(a,3,"");0<c.length&&B(b,3,c);c=J(a,4,"");0<c.length&&B(b,4,c);c=J(a,5,"");0<c.length&&B(b,5,c);(c=uf(a,6))&&mf(b,6,c);c=J(a,7,"");0<c.length&&B(b,7,c);c=J(a,8,"");0<c.length&&B(b,8,c);c=J(a,9,"");0<c.length&&B(b,9,c)}function Di(a,b){M(a,1,b)}function Ei(a,b){L(a,2,b)}function Fi(a,b){M(a,3,b)}function Gi(a,b){M(a,4,b)}function Hi(a,b){M(a,5,b)}function Ii(a,b){wf(a,6,b,!1)}function Ji(a,b){M(a,7,b)}
function Ki(a,b){M(a,8,b)}function Li(a,b){M(a,9,b)}function ji(a,b){for(;Xe(b)&&4!=b.f;)switch(b.i){case 1:var c=$e(b);Mi(a,c);break;case 2:c=$e(b);Ni(a,c);break;case 3:c=af(b);Oi(a,c);break;default:Ye(b)}return a}function yi(a,b){var c=J(a,1,0);0!==c&&lf(b,1,c);c=J(a,2,0);0!==c&&lf(b,2,c);c=J(a,3,"");0<c.length&&B(b,3,c)}function Mi(a,b){L(a,1,b)}function Ni(a,b){L(a,2,b)}function Oi(a,b){M(a,3,b)}
function li(a,b){for(;Xe(b)&&4!=b.f;)switch(b.i){case 1:var c=$e(b);Pi(a,c);break;case 2:c=af(b);Qi(a,c);break;case 3:c=af(b);Ri(a,c);break;default:Ye(b)}return a}function zi(a,b){var c=J(a,1,0);0!==c&&lf(b,1,c);c=J(a,2,"");0<c.length&&B(b,2,c);c=J(a,3,"");0<c.length&&B(b,3,c)}function Pi(a,b){L(a,1,b)}function Qi(a,b){M(a,2,b)}function Ri(a,b){M(a,3,b)}
function ni(a,b){for(;Xe(b)&&4!=b.f;)switch(b.i){case 1:var c=af(b);Si(a,c);break;case 2:c=af(b);Ti(a,c);break;case 3:c=af(b);Ui(a,c);break;default:Ye(b)}return a}function Ai(a,b){var c=J(a,1,"");0<c.length&&B(b,1,c);c=J(a,2,"");0<c.length&&B(b,2,c);c=J(a,3,"");0<c.length&&B(b,3,c)}function Si(a,b){M(a,1,b)}function Ti(a,b){M(a,2,b)}function Ui(a,b){M(a,3,b)}
function di(a,b){var c={ie:J(b,1,0),Ze:J(b,2,""),ve:J(b,3,0),count:J(b,4,0),imageWidth:J(b,5,0),imageHeight:J(b,6,0),Be:uf(b,7),je:J(b,8,0),width:J(b,9,0),height:J(b,10,0),ke:J(b,11,"")};a&&(c.Yb=b);return c}
function pi(a,b){for(;Xe(b)&&4!=b.f;)switch(b.i){case 1:var c=$e(b);L(a,1,c);break;case 2:c=af(b);M(a,2,c);break;case 3:c=$e(b);L(a,3,c);break;case 4:c=$e(b);L(a,4,c);break;case 5:c=$e(b);L(a,5,c);break;case 6:c=$e(b);L(a,6,c);break;case 7:c=!!b.a.f();wf(a,7,c,!1);break;case 8:for(var d=b.a,e=128,f=0,g=c=0;4>g&&128<=e;g++)e=d.i[d.a++],f|=(e&127)<<7*g;128<=e&&(e=d.i[d.a++],f|=(e&127)<<28,c|=(e&127)>>4);if(128<=e)for(g=0;5>g&&128<=e;g++)e=d.i[d.a++],c|=(e&127)<<7*g+3;if(128>e){d=f>>>0;e=c>>>0;if(c=
e&2147483648)d=~d+1>>>0,e=~e>>>0,0==d&&(e=e+1>>>0);d=4294967296*e+(d>>>0);c=c?-d:d}else d.s=!0,c=void 0;wf(a,8,c,0);break;case 9:c=$e(b);a.N(c);break;case 10:c=$e(b);L(a,10,c);break;case 11:c=af(b);M(a,11,c);break;default:Ye(b)}return a}
function Bi(a,b){var c=J(a,1,0);0!==c&&lf(b,1,c);c=J(a,2,"");0<c.length&&B(b,2,c);c=J(a,3,0);0!==c&&lf(b,3,c);c=J(a,4,0);0!==c&&lf(b,4,c);c=J(a,5,0);0!==c&&lf(b,5,c);c=J(a,6,0);0!==c&&lf(b,6,c);(c=uf(a,7))&&mf(b,7,c);c=J(a,8,0);0!==c&&null!=c&&(df(b.a,64),ef(b.a,c));c=J(a,9,0);0!==c&&lf(b,9,c);c=J(a,10,0);0!==c&&lf(b,10,c);c=J(a,11,"");0<c.length&&B(b,11,c)}Vh.prototype.N=function(a){return L(this,9,a)};
function qi(a,b){for(;Xe(b)&&4!=b.f;)switch(b.i){case 1:var c=$e(b);Vi(a,c);break;case 2:c=$e(b);Wi(a,c);break;default:Ye(b)}return a}function Ci(a,b){var c=J(a,1,0);0!==c&&lf(b,1,c);c=J(a,2,0);0!==c&&lf(b,2,c)}function Vi(a,b){L(a,1,b)}function Wi(a,b){L(a,2,b)}function gi(a,b){M(a,2,b)}function Zh(a){return xf(a,Rh,3)}function ii(a,b){O(a,3,b)}function Xi(a){return null!=I(a,3)}function ai(a){return xf(a,Sh,4)}function ki(a,b){O(a,4,b)}function bi(a){return xf(a,Th,5)}
function mi(a,b){O(a,5,b)}function ci(a){return xf(a,Uh,6)}function oi(a,b){O(a,6,b)}function ei(a){return xf(a,Wh,9)}function ri(a,b){O(a,9,b)}function si(a,b){L(a,10,b)}function ti(a,b){L(a,11,b)}function ui(a,b){L(a,12,b)}function vi(a,b){M(a,13,b)}function Yi(a){var b=new ff;var c=J(a,1,0);0!==c&&kf(b,1,c);c=J(a,2,"");0<c.length&&B(b,2,c);return jf(b)}function Zi(a,b){M(a,2,b)};function $i(){0!=aj&&(bj[Ca(this)]=this);this.ea=this.ea;this.ya=this.ya}var aj=0,bj={};$i.prototype.ea=!1;$i.prototype.wa=function(){if(!this.ea&&(this.ea=!0,this.X(),0!=aj)){var a=Ca(this);if(0!=aj&&this.ya&&0<this.ya.length)throw Error(this+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete bj[a]}};function cj(a,b){a.ea?b():(a.ya||(a.ya=[]),a.ya.push(b))}$i.prototype.X=function(){if(this.ya)for(;this.ya.length;)this.ya.shift()()};
function dj(a){a&&"function"==typeof a.wa&&a.wa()}function ej(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];Aa(d)?ej.apply(null,d):dj(d)}};var fj=!Bd||9<=Number(Vd),gj=!Bd||9<=Number(Vd),hj=Bd&&!Sd("9"),ij="ontouchstart"in m||!!(m.document&&document.documentElement&&"ontouchstart"in document.documentElement)||!(!m.navigator||!m.navigator.maxTouchPoints&&!m.navigator.msMaxTouchPoints),jj=function(){if(!m.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{m.addEventListener("test",xa,b),m.removeEventListener("test",xa,b)}catch(c){}return a}();function kj(a,b){this.type=a;this.f=this.target=b;this.defaultPrevented=this.F=!1}kj.prototype.stopPropagation=function(){this.F=!0};kj.prototype.i=function(){this.defaultPrevented=!0};var lj={vb:"mousedown",wb:"mouseup",Zb:"mousecancel",Ld:"mousemove",Nd:"mouseover",Md:"mouseout",Jd:"mouseenter",Kd:"mouseleave"};function mj(a,b){kj.call(this,a?a.type:"");this.relatedTarget=this.f=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.j=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.s=!1;this.pointerId=0;this.pointerType="";this.a=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.f=b;var e=a.relatedTarget;if(e){if(Ed){a:{try{yd(e.nodeName);
var f=!0;break a}catch(g){}f=!1}f||(e=null)}}else"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.j=a.keyCode||0;this.key=a.key||"";
this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.s=Gd?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:nj[a.pointerType]||"";this.state=a.state;this.a=a;a.defaultPrevented&&this.i()}}t(mj,kj);var oj=[1,4,2],nj={2:"touch",3:"pen",4:"mouse"};function pj(a){return fj?0==a.a.button:"click"==a.type?!0:!!(a.a.button&oj[0])}
mj.prototype.stopPropagation=function(){mj.W.stopPropagation.call(this);this.a.stopPropagation?this.a.stopPropagation():this.a.cancelBubble=!0};mj.prototype.i=function(){mj.W.i.call(this);var a=this.a;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,hj)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var qj="closure_listenable_"+(1E6*Math.random()|0);function rj(a){return!(!a||!a[qj])}var sj=0;function tj(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.mb=e;this.key=++sj;this.Va=this.eb=!1}function uj(a){a.Va=!0;a.listener=null;a.proxy=null;a.src=null;a.mb=null};function vj(a){this.src=a;this.a={};this.f=0}vj.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.a[f];a||(a=this.a[f]=[],this.f++);var g=wj(a,b,d,e);-1<g?(b=a[g],c||(b.eb=!1)):(b=new tj(b,this.src,f,!!d,e),b.eb=c,a.push(b));return b};function xj(a,b){var c=b.type;if(!(c in a.a))return!1;var d=fb(a.a[c],b);d&&(uj(b),0==a.a[c].length&&(delete a.a[c],a.f--));return d}function yj(a,b,c,d,e){a=a.a[b.toString()];b=-1;a&&(b=wj(a,c,d,e));return-1<b?a[b]:null}
function wj(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Va&&f.listener==b&&f.capture==!!c&&f.mb==d)return e}return-1};var zj="closure_lm_"+(1E6*Math.random()|0),Aj={},Bj=0;function Cj(a,b,c,d,e){if(d&&d.once)return Dj(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Cj(a,b[f],c,d,e);return null}c=Ej(c);return rj(a)?a.ha.add(String(b),c,!1,p(d)?!!d.capture:!!d,e):Fj(a,b,c,!1,d,e)}
function Fj(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=p(e)?!!e.capture:!!e,k=Gj(a);k||(a[zj]=k=new vj(a));c=k.add(b,c,d,g,f);if(c.proxy)return c;d=Hj();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)jj||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Ij(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Bj++;return c}
function Hj(){var a=Jj,b=gj?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b}function Dj(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)Dj(a,b[f],c,d,e);return null}c=Ej(c);return rj(a)?a.ha.add(String(b),c,!0,p(d)?!!d.capture:!!d,e):Fj(a,b,c,!0,d,e)}
function Kj(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)Kj(a,b[f],c,d,e);return null}d=p(d)?!!d.capture:!!d;c=Ej(c);if(rj(a))return a=a.ha,b=String(b).toString(),b in a.a?(f=a.a[b],c=wj(f,c,d,e),-1<c?(uj(f[c]),gb(f,c),0==f.length&&(delete a.a[b],a.f--),c=!0):c=!1):c=!1,c;if(!a)return!1;if(a=Gj(a))if(c=yj(a,b,c,d,e))return Lj(c);return!1}
function Lj(a){if("number"===typeof a||!a||a.Va)return!1;var b=a.src;if(rj(b))return xj(b.ha,a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Ij(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Bj--;(c=Gj(b))?(xj(c,a),0==c.f&&(c.src=null,b[zj]=null)):uj(a);return!0}function Ij(a){return a in Aj?Aj[a]:Aj[a]="on"+a}
function Mj(a,b,c,d){var e=!0;if(a=Gj(a))if(b=a.a[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.Va&&(f=Nj(f,d),e=e&&!1!==f)}return e}function Nj(a,b){var c=a.listener,d=a.mb||a.src;a.eb&&Lj(a);return c.call(d,b)}
function Jj(a,b){if(a.Va)return!0;if(!gj){var c;if(!(c=b))a:{c=["window","event"];for(var d=m,e=0;e<c.length;e++)if(d=d[c[e]],null==d){c=null;break a}c=d}e=c;c=new mj(e,this);d=!0;if(!(0>e.keyCode||void 0!=e.returnValue)){a:{var f=!1;if(0==e.keyCode)try{e.keyCode=-1;break a}catch(l){f=!0}if(f||void 0==e.returnValue)e.returnValue=!0}e=[];for(f=c.f;f;f=f.parentNode)e.push(f);f=a.type;for(var g=e.length-1;!c.F&&0<=g;g--){c.f=e[g];var k=Mj(e[g],f,!0,c);d=d&&k}for(g=0;!c.F&&g<e.length;g++)c.f=e[g],k=Mj(e[g],
f,!1,c),d=d&&k}return d}return Nj(a,new mj(b,this))}function Gj(a){a=a[zj];return a instanceof vj?a:null}var Oj="__closure_events_fn_"+(1E9*Math.random()>>>0);function Ej(a){if(Ba(a))return a;a[Oj]||(a[Oj]=function(b){return a.handleEvent(b)});return a[Oj]};function Pj(){$i.call(this);this.ha=new vj(this);this.Uc=this;this.cb=null}t(Pj,$i);Pj.prototype[qj]=!0;Pj.prototype.Xb=function(a){this.cb=a};Pj.prototype.addEventListener=function(a,b,c,d){Cj(this,a,b,c,d)};Pj.prototype.removeEventListener=function(a,b,c,d){Kj(this,a,b,c,d)};
function X(a,b){var c,d=a.cb;if(d)for(c=[];d;d=d.cb)c.push(d);d=a.Uc;var e=b,f=e.type||e;if("string"===typeof e)e=new kj(e,d);else if(e instanceof kj)e.target=e.target||d;else{var g=e;e=new kj(f,d);zb(e,g)}g=!0;if(c)for(var k=c.length-1;!e.F&&0<=k;k--){var l=e.f=c[k];g=Qj(l,f,!0,e)&&g}e.F||(l=e.f=d,g=Qj(l,f,!0,e)&&g,e.F||(g=Qj(l,f,!1,e)&&g));if(c)for(k=0;!e.F&&k<c.length;k++)l=e.f=c[k],g=Qj(l,f,!1,e)&&g;return g}
Pj.prototype.X=function(){Pj.W.X.call(this);if(this.ha){var a=this.ha,b=0,c;for(c in a.a){for(var d=a.a[c],e=0;e<d.length;e++)++b,uj(d[e]);delete a.a[c];a.f--}}this.cb=null};function Qj(a,b,c,d){b=a.ha.a[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.Va&&g.capture==c){var k=g.listener,l=g.mb||g.src;g.eb&&xj(a.ha,g);e=!1!==k.call(l,d)&&e}}return e&&!d.defaultPrevented};function Rj(a,b){Pj.call(this);this.f=a||1;this.a=b||m;this.i=Ja(this.wd,this);this.j=La()}t(Rj,Pj);h=Rj.prototype;h.ib=!1;h.Ja=null;h.wd=function(){if(this.ib){var a=La()-this.j;0<a&&a<.8*this.f?this.Ja=this.a.setTimeout(this.i,this.f-a):(this.Ja&&(this.a.clearTimeout(this.Ja),this.Ja=null),X(this,"tick"),this.ib&&(this.stop(),this.start()))}};h.start=function(){this.ib=!0;this.Ja||(this.Ja=this.a.setTimeout(this.i,this.f),this.j=La())};
h.stop=function(){this.ib=!1;this.Ja&&(this.a.clearTimeout(this.Ja),this.Ja=null)};h.X=function(){Rj.W.X.call(this);this.stop();delete this.a};function Sj(a,b,c){if(Ba(a))c&&(a=Ja(a,c));else if(a&&"function"==typeof a.handleEvent)a=Ja(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:m.setTimeout(a,b||0)};function Tj(a,b,c){$i.call(this);this.s=null!=c?a.bind(c):a;this.F=b;this.j=null;this.f=!1;this.i=0;this.a=null}Tj.prototype=ea($i.prototype);Tj.prototype.constructor=Tj;if(oa)oa(Tj,$i);else for(var Uj in $i)if("prototype"!=Uj)if(Object.defineProperties){var Vj=Object.getOwnPropertyDescriptor($i,Uj);Vj&&Object.defineProperty(Tj,Uj,Vj)}else Tj[Uj]=$i[Uj];Tj.W=$i.prototype;h=Tj.prototype;h.qd=function(a){this.j=arguments;this.a||this.i?this.f=!0:Wj(this)};
h.stop=function(){this.a&&(m.clearTimeout(this.a),this.a=null,this.f=!1,this.j=null)};h.pause=function(){this.i++};h.resume=function(){this.i--;this.i||!this.f||this.a||(this.f=!1,Wj(this))};h.X=function(){$i.prototype.X.call(this);this.stop()};function Wj(a){a.a=Sj(function(){a.a=null;a.f&&!a.i&&(a.f=!1,Wj(a))},a.F);var b=a.j;a.j=null;a.s.apply(null,b)};function Xj(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);}function Yj(a){var b=[];Zj(new ak,a,b);return b.join("")}function ak(){}
function Zj(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),Zj(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),bk(d,c),c.push(":"),Zj(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":bk(b,c);break;case "number":c.push(isFinite(b)&&
!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}}var ck={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},dk=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;
function bk(a,b){b.push('"',a.replace(dk,function(c){var d=ck[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),ck[c]=d);return d}),'"')};function ek(){}ek.prototype.a=null;function fk(a){var b;(b=a.a)||(b={},gk(a)&&(b[0]=!0,b[1]=!0),b=a.a=b);return b};var hk;function ik(){}t(ik,ek);function jk(a){return(a=gk(a))?new ActiveXObject(a):new XMLHttpRequest}function gk(a){if(!a.f&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.f=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.f}hk=new ik;function kk(a){Pj.call(this);this.headers=new fd;this.K=a||null;this.f=!1;this.D=this.a=null;this.s=this.Ba=this.R="";this.i=this.M=this.F=this.Z=!1;this.j=0;this.O=null;this.Y=lk;this.T=this.fa=!1}t(kk,Pj);var lk="",mk=/^https?$/i,nk=["POST","PUT"],ok=[];function pk(a,b,c,d,e,f){var g=new kk;ok.push(g);b&&g.ha.add("complete",b,!1,void 0,void 0);g.ha.add("ready",g.Ac,!0,void 0,void 0);g.j=1E4;f&&(g.fa=f);qk(g,a,c,d,e)}h=kk.prototype;h.Ac=function(){this.wa();fb(ok,this)};
function qk(a,b,c,d,e){if(a.a)throw Error("[goog.net.XhrIo] Object is active with another request="+a.R+"; newUri="+b);c=c?c.toUpperCase():"GET";a.R=b;a.s="";a.Ba=c;a.Z=!1;a.f=!0;a.a=a.K?jk(a.K):jk(hk);a.D=a.K?fk(a.K):fk(hk);a.a.onreadystatechange=Ja(a.tc,a);try{a.M=!0,a.a.open(c,String(b),!0),a.M=!1}catch(g){rk(a,g);return}b=d||"";var f=new fd(a.headers);e&&dd(e,function(g,k){f.set(k,g)});e=Za(f.Ia(),sk);d=m.FormData&&b instanceof m.FormData;!bb(nk,c)||e||d||f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");
f.forEach(function(g,k){this.a.setRequestHeader(k,g)},a);a.Y&&(a.a.responseType=a.Y);"withCredentials"in a.a&&a.a.withCredentials!==a.fa&&(a.a.withCredentials=a.fa);try{tk(a),0<a.j&&(a.T=uk(a.a),a.T?(a.a.timeout=a.j,a.a.ontimeout=Ja(a.Qa,a)):a.O=Sj(a.Qa,a.j,a)),a.F=!0,a.a.send(b),a.F=!1}catch(g){rk(a,g)}}function uk(a){return Bd&&Sd(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout}function sk(a){return"content-type"==a.toLowerCase()}
h.Qa=function(){"undefined"!=typeof ta&&this.a&&(this.s="Timed out after "+this.j+"ms, aborting",X(this,"timeout"),this.abort(8))};function rk(a,b){a.f=!1;a.a&&(a.i=!0,a.a.abort(),a.i=!1);a.s=b;vk(a);wk(a)}function vk(a){a.Z||(a.Z=!0,X(a,"complete"),X(a,"error"))}h.abort=function(){this.a&&this.f&&(this.f=!1,this.i=!0,this.a.abort(),this.i=!1,X(this,"complete"),X(this,"abort"),wk(this))};h.X=function(){this.a&&(this.f&&(this.f=!1,this.i=!0,this.a.abort(),this.i=!1),wk(this,!0));kk.W.X.call(this)};
h.tc=function(){this.ea||(this.M||this.F||this.i?xk(this):this.ud())};h.ud=function(){xk(this)};
function xk(a){if(a.f&&"undefined"!=typeof ta&&(!a.D[1]||4!=yk(a)||2!=zk(a)))if(a.F&&4==yk(a))Sj(a.tc,0,a);else if(X(a,"readystatechange"),4==yk(a)){a.f=!1;try{var b=zk(a);a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=0===b){var f=String(a.R).match(id)[1]||null;if(!f&&m.self&&m.self.location){var g=m.self.location.protocol;f=g.substr(0,g.length-1)}e=!mk.test(f?f.toLowerCase():"")}d=e}if(d)X(a,"complete"),X(a,"success");
else{try{var k=2<yk(a)?a.a.statusText:""}catch(l){k=""}a.s=k+" ["+zk(a)+"]";vk(a)}}finally{wk(a)}}}function wk(a,b){if(a.a){tk(a);var c=a.a,d=a.D[0]?xa:null;a.a=null;a.D=null;b||X(a,"ready");try{c.onreadystatechange=d}catch(e){}}}function tk(a){a.a&&a.T&&(a.a.ontimeout=null);a.O&&(m.clearTimeout(a.O),a.O=null)}function yk(a){return a.a?a.a.readyState:0}function zk(a){try{return 2<yk(a)?a.a.status:-1}catch(b){return-1}}
function Ak(a){if(a.a){a:{a=a.a.responseText;if(m.JSON)try{var b=m.JSON.parse(a);break a}catch(c){}b=Xj(a)}return b}};function Bk(){this.Z=Yc.G();this.j=window;this.T=this.j.self!==this.j.top;this.ha=this.j.document;this.Y=this.j.navigator;this.fa=this.j.location;this.R=new Fh;this.O=Xg();this.F=new Set;this.a=[];this.s=Xg();this.M=[];this.i=new Map;this.K=new Set;this.ea=[];this.D=!1;window&&p(window.location)&&y.C(window.location.href)&&window.location.href.includes("ztrack=trace")&&(this.D=!0);this.ya=new Tj(function(){Ck(this)},1E3,this);this.f=this.T?null:sg()}ya(Bk);
var Dk=new Map([["Content-Type","multipart/form-data"]]),Ek=Uc();
function Fk(a,b,c,d){var e=new kh;y.h(c)&&y.J(c)&&qh(e,c);y.h(d)&&y.J(d)&&sh(e,d);var f={};y.C(a.f)&&(f.suid=a.f);d=!1;c=b.init;y.h(c)&&y.$(c)&&(d=c);var g;c=b.block_id;if(!y.h(c)||!y.l(c)||0>c)W(e,Y("block_id"));else{f.block_id=g=c;c=b.source_block_id;if(y.h(c)){if(!y.l(c)||0>c){W(e,Y("source_block_id"));return}f.source_block_id=c}c=b.topic_id;if(y.h(c)){if(!y.l(c)||0>c){W(e,Y("topic_id"));return}f.topic_id=c}c=b.strategy_id;if(y.h(c)){if(!y.l(c)||0>c){W(e,Y("strategy_id"));return}f.strategy_id=
c}c=b.source_id;y.h(c)&&y.l(c)&&0<c&&(f.source_id=c);var k=10;c=b.count;if(y.h(c)){if(!y.l(c)||0>c||100<c){W(e,Y("count"));return}f.count=k=c}c=b.fields;if(y.h(c))if(y.l(c))f.fields=c;else{W(e,Y("fields"));return}try{c=tg(),y.h(c)&&y.C(c)&&c&&(f.yam_user_id=c),c=vg(),y.h(c)&&y.C(c)&&c&&(f.finger_user_id=c),c=wg(),y.h(c)&&y.C(c)&&c&&(f.local_user_id=c),c=b.local_user_id,y.h(c)&&y.C(c)&&c&&(f.local_user_id=c),c=b.yam_user_id,y.h(c)&&y.C(c)&&c&&(f.yam_user_id=c),c=b.finger_user_id,y.h(c)&&y.C(c)&&c&&
(f.finger_user_id=c)}catch(r){}c=b.click_tracking;if(y.h(c))if(y.C(c))f.click_tracking=c;else{W(e,Y("click_tracking"));return}var l=null;c=b.filter_news;if(y.h(c))if(y.isArray(c))l=c;else{W(e,Y("filter_news"));return}var n=null;c=window["jsapi_local_news_"+g];if(y.h(c))if(y.isArray(c))n=c;else{W(e,Y("local_news"));return}a.D&&console.log("Getting news: "+Yj(f));d&&(a.F["delete"](g),a.K["delete"](g));a.O=a.O.then(function(){return new Pg(function(r){th(e,r);Ae($c(),"jsapi.dao.Dao#getNews",function(){if(y.h(n)){for(var v=
[],u=0,x=n.length;u<x&&!(v.length>=k);u++){var E=n[u];if(y.h(E)&&p(E)){var D=E.id;if(y.h(D)&&y.l(D)){if(y.h(l)){if(bb(l,D))continue}else if(bb(a.a,D))continue;else a.a.push(D);v.push(E)}}}a.F.add(g);e.V(v)}else{a.F.has(g)&&(f.block_ignore_view=!0);f.filter_news=y.h(l)?l:a.a;var G=Yj(f);pk(Gk(a,"news"),function(C){C=C.target;if(200===zk(C)){var K=void 0;try{K=Ak(C)}catch(R){W(e,R);return}K?(a.F.add(g),K.length<k?y.h(l)?e.V(K):(a.a=[],w(K,function(R){y.h(l)||(R=R.id)&&a.a.push(R)}),f.filter_news=a.a,
f.count=k-K.length,G=Yj(f),pk(Gk(a,"news"),function(R){R=R.target;if(200===zk(R)){var T=void 0;try{T=Ak(R)}catch(V){e.V(K);return}T?(w(T,function(V){y.h(l)||(V=V.id)&&a.a.push(V)}),e.V(hb(K,T))):e.V(K)}else e.V(K)},"POST",G,Dk,!0)):(w(K,function(R){y.h(l)||(R=R.id)&&a.a.push(R)}),e.V(K))):e.V(K)}else W(e,Error("Failed to get news"))},"POST",G,Dk,!0)}},function(){},function(v){W(e,v)})})})}}
function Hk(a,b,c,d){var e=new kh;y.h(c)&&y.J(c)&&qh(e,c);y.h(d)&&y.J(d)&&sh(e,d);var f={};y.C(a.f)&&(f.suid=a.f);c=b.block_id;if(!y.h(c)||!y.l(c)||0>c)W(e,Y("block_id"));else if(f.block_id=c,c=b.news_id,!y.h(c)||!y.l(c)||0>c)W(e,Y("news_id"));else{f.news_id=c;c=b.image_width;if(y.h(c)){if(!y.l(c)||0>c){W(e,Y("image_width"));return}f.image_width=c}c=b.image_height;if(y.h(c)){if(!y.l(c)||0>c){W(e,Y("image_height"));return}f.image_height=c}c=b.fields;if(y.h(c))if(y.l(c))f.fields=c;else{W(e,Y("fields"));
return}c=b.strategy_id;if(y.h(c)){if(!y.l(c)||0>c){W(e,Y("strategy_id"));return}f.strategy_id=c}c=b.source_id;y.h(c)&&y.l(c)&&0<c&&(f.source_id=c);a.s=a.s.then(function(){return new Pg(function(g){th(e,g);Ae($c(),"jsapi.dao.Dao#getNewsDetails",function(){var k=Yj(f);pk(Gk(a,"news_details"),function(l){var n=l.target;if(200===zk(n)){l=void 0;try{l=Ak(n)}catch(r){W(e,r);return}l&&(n=l.id)&&a.a.push(n);e.V(l)}else W(e,Error("Failed to get news details"))},"POST",k,Dk,!0)},function(){},function(k){W(e,
k)})})})}}
function Ik(a,b,c,d){var e=new kh;y.h(c)&&y.J(c)&&qh(e,c);y.h(d)&&y.J(d)&&sh(e,d);var f=new Xh;d=null;c=window.jsapi_rtb_ctx;if(y.h(c))try{d=fi(Oe(c))}catch(g){}c=b.user_id;if(y.h(c))if(y.C(c))Zi(f,Oh(c));else{W(e,Y("user_id"));return}else if(null!=d&&Xi(d)&&!Rc(J(Zh(d),1,"")))Zi(f,J(Zh(d),1,""));else{W(e,Y("user_id"));return}a.O=a.O.then(function(){return new Pg(function(g){th(e,g);Ae($c(),"jsapi.dao.Dao#getRtbCookieMatching",function(){var k=Gh++%65535;L(f,1,k);var l=Le(Yi(f));Hh(a.R,"https://"+
bd(a.Z)+"/jsapi?action=rtb_cookie_matching&payload="+l,k,function(n){p(n)&&Array.isArray(n.urls)&&w(n.urls,function(r){y.C(r)&&Jk(r)});e.V(n)},function(){W(e,Error("Failed to handle RTB CookieMatching"))})},function(){},function(k){W(e,k)})})})}
function Kk(a,b,c,d){var e=new kh;y.h(c)&&y.J(c)&&qh(e,c);y.h(d)&&y.J(d)&&sh(e,d);var f=new Ph;c=null;var g=window.jsapi_bypass_data;y.h(g)&&y.C(g)&&M(f,14,g);g=window.jsapi_rtb_ctx;if(y.h(g))try{c=fi(Oe(g))}catch(n){}d=!1;g=b.init;y.h(g)&&y.$(g)&&(d=g);g=b.request_id;if(y.h(g))if(y.C(g))gi(f,Oh(g));else{W(e,Y("request_id"));return}else gi(f,gg().toString());g=b.user;if(y.h(g))if(p(g)){ii(f,new Rh);var k=g;g=k.id;if(y.h(g))if(y.C(g))Di(Zh(f),Oh(g));else{W(e,Y("user.id"));return}else null!=c&&Xi(c)&&
!Rc(J(Zh(c),1,""))&&Di(Zh(f),J(Zh(c),1,""));g=k.created;if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("user.created"));return}Ei(Zh(f),Mh(g))}else null!=c&&Xi(c)&&0!==J(Zh(c),2,0)&&Ei(Zh(f),J(Zh(c),2,0));g=k.session_id;if(y.h(g))if(y.C(g))Fi(Zh(f),Oh(g));else{W(e,Y("user.session_id"));return}else null!=c&&Xi(c)&&!Rc(J(Zh(c),3,""))&&Fi(Zh(f),J(Zh(c),3,""));g=k.locale;if(y.h(g))if(y.C(g))Gi(Zh(f),Oh(g));else{W(e,Y("user.locale"));return}else null!=c&&Xi(c)&&!Rc(J(Zh(c),4,""))&&Gi(Zh(f),J(Zh(c),4,""));g=k.ip;if(y.h(g))if(y.C(g))Hi(Zh(f),
Oh(g));else{W(e,Y("user.ip"));return}else null!=c&&Xi(c)&&!Rc(J(Zh(c),5,""))&&Hi(Zh(f),J(Zh(c),5,""));g=k.is_robot;if(y.h(g))if(y.$(g))Ii(Zh(f),Nh(g));else{W(e,Y("user.is_robot"));return}else null!=c&&Xi(c)&&Ii(Zh(f),uf(Zh(c),6))}else{W(e,Y("user"));return}else null!=c&&Xi(c)&&ii(f,Zh(c));try{Zh(f)&&p(Zh(f))&&(Ki(Zh(f),vg()),Ji(Zh(f),wg()),Li(Zh(f),tg()),g=b.local_user_id,y.h(g)&&y.C(g)&&g&&Ji(Zh(f),g),g=b.yam_user_id,y.h(g)&&y.C(g)&&g&&Li(Zh(f),g),g=b.finger_user_id,y.h(g)&&y.C(g)&&g&&Ki(Zh(f),g),
a.D&&console.info("Request rtb set Users","id:",J(Zh(f),1,""),"local_id:",J(Zh(f),7,""),"yid:",J(Zh(f),9,""),"fid:",J(Zh(f),8,""),$h(Zh(f))))}catch(n){a.D&&console.warn(n)}g=b.device;if(y.h(g))if(p(g)){ki(f,new Sh);k=g;g=k.screen_width;if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("device.screen_width"));return}Mi(ai(f),Mh(g))}else null!=c&&null!=I(c,4)&&0!==J(ai(c),1,0)&&Mi(ai(f),J(ai(c),1,0));g=k.screen_height;if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("device.screen_height"));return}Ni(ai(f),Mh(g))}else null!=c&&null!=
I(c,4)&&0!==J(ai(c),2,0)&&Ni(ai(f),J(ai(c),2,0));g=k.user_agent;if(y.h(g))if(y.C(g))Oi(ai(f),Oh(g));else{W(e,Y("device.user_agent"));return}else null!=c&&null!=I(c,4)&&!Rc(J(ai(c),3,""))&&Oi(ai(f),J(ai(c),3,""))}else{W(e,Y("device"));return}else null!=c&&null!=I(c,4)&&ki(f,ai(c));null!=I(f,4)||ki(f,new Sh);0===J(ai(f),1,0)&&(k=Lk(a),null!=k&&0!==k&&Mi(ai(f),k));0===J(ai(f),2,0)&&(k=Mk(a),null!=k&&0!==k&&Ni(ai(f),k));Rc(J(ai(f),3,""))&&(k=a.Y.userAgent,null==k||Rc(k)||Oi(ai(f),k));g=b.site;if(y.h(g))if(p(g)){mi(f,
new Th);k=g;g=k.id;if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("site.id"));return}Pi(bi(f),Mh(g))}else null!=c&&null!=I(c,5)&&0!==J(bi(c),1,0)&&Pi(bi(f),J(bi(c),1,0));g=k.name;if(y.h(g))if(y.C(g))Qi(bi(f),Oh(g));else{W(e,Y("site.name"));return}else null!=c&&null!=I(c,5)&&!Rc(J(bi(c),2,""))&&Qi(bi(f),J(bi(c),2,""));g=k.domain;if(y.h(g))if(y.C(g))Ri(bi(f),Oh(g));else{W(e,Y("site.domain"));return}else null!=c&&null!=I(c,5)&&!Rc(J(bi(c),3,""))&&Ri(bi(f),J(bi(c),3,""))}else{W(e,Y("site"));return}else null!=c&&null!=
I(c,5)&&mi(f,bi(c));g=b.page;if(y.h(g))if(p(g)){oi(f,new Uh);k=g;g=k.url;if(y.h(g))if(y.C(g))Si(ci(f),Oh(g));else{W(e,Y("page.url"));return}else null!=c&&null!=I(c,6)&&!Rc(J(ci(c),1,""))&&Si(ci(f),J(ci(c),1,""));g=k.canonical;if(y.h(g))if(y.C(g))Ti(ci(f),Oh(g));else{W(e,Y("page.canonical"));return}else null!=c&&null!=I(c,6)&&!Rc(J(ci(c),2,""))&&Ti(ci(f),J(ci(c),2,""));g=k.referrer;if(y.h(g))if(y.C(g))Ui(ci(f),Oh(g));else{W(e,Y("page.referrer"));return}else null!=c&&null!=I(c,6)&&!Rc(J(ci(c),3,""))&&
Ui(ci(f),J(ci(c),3,""))}else{W(e,Y("page"));return}else null!=c&&null!=I(c,6)&&oi(f,ci(c));null!=I(f,6)||oi(f,new Uh);Rc(J(ci(f),1,""))&&(k=a.fa.href,null==k||Rc(k)||Si(ci(f),k));Rc(J(ci(f),2,""))&&(k=Nk(),null==k||Rc(k)||Ti(ci(f),k));Rc(J(ci(f),3,""))&&(k=a.ha.referrer,null==k||Rc(k)||Ui(ci(f),k));var l=null;g=b.filter_ids;if(y.h(g))if(Array.isArray(g))l=g;else{W(e,Y("filter_ids"));return}g=b.blocks;if(y.h(g))if(Array.isArray(g))w(g,function(n,r){if(p(n)){var v=new Vh;g=n.block_type;if(y.h(g))switch(g){case "DEFAULT":wf(v,
8,0,0);break;case "VIDEO":wf(v,8,1,0);break;default:W(e,Y("blocks["+r+"].block_type"));return}g=n.block_id;if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("blocks["+r+"].block_id"));return}L(v,1,Mh(g))}g=n.bvuuid;y.h(g)&&y.C(g)&&M(v,11,Oh(g));g=n.tag_id;if(y.h(g))if(y.C(g))M(v,2,Oh(g));else{W(e,Y("blocks["+r+"].tag_id"));return}g=n.fields;if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("blocks["+r+"].fields"));return}L(v,3,Mh(g))}g=n.count;if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("blocks["+r+"].count"));return}L(v,4,Mh(g))}g=n.image_width;
if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("blocks["+r+"].image_width"));return}L(v,5,Mh(g))}g=n.image_height;if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("blocks["+r+"].image_height"));return}L(v,6,Mh(g))}g=n.ignore_block_view;if(y.h(g))if(y.$(g))wf(v,7,Nh(g),!1);else{W(e,Y("blocks["+r+"].ignore_block_view"));return}g=n.width;if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("blocks["+r+"].width"));return}v.N(Mh(g))}g=n.height;if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("blocks["+r+"].height"));return}L(v,10,Mh(g))}U(f,8,v,Vh)}});else{W(e,Y("blocks"));
return}g=b.adpreview;if(y.h(g))if(p(g)){ri(f,new Wh);k=g;g=k.main_news_id;if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("adpreview.main_news_id"));return}Vi(ei(f),Mh(g))}else null!=c&&null!=I(c,9)&&0!==J(ei(c),1,0)&&Vi(ei(f),J(ei(c),1,0));g=k.body_id;if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("adpreview.body_id"));return}Wi(ei(f),Mh(g))}else null!=c&&null!=I(c,9)&&0!==J(ei(c),2,0)&&Wi(ei(f),J(ei(c),2,0))}else{W(e,Y("adpreview"));return}else null!=c&&null!=I(c,9)&&ri(f,ei(c));g=b.source_block_id;if(y.h(g)){if(!y.l(g)||
0>g){W(e,Y("source_block_id"));return}si(f,Mh(g))}else null!=c&&0!==J(c,10,0)&&si(f,J(c,10,0));g=b.source_id;if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("source_id"));return}ti(f,Mh(g))}else null!=c&&0!==J(c,11,0)&&ti(f,J(c,11,0));g=b.strategy_id;if(y.h(g)){if(!y.l(g)||0>g){W(e,Y("strategy_id"));return}ui(f,Mh(g))}else null!=c&&0!==J(c,12,0)&&ui(f,J(c,12,0));g=b.ab_test;if(y.h(g))if(y.C(g))vi(f,Oh(g));else{W(e,Y("ab_test"));return}else null==c||Rc(J(c,13,""))||vi(f,J(c,13,""));a.D&&ye("Getting RTB news: "+
Yj(Yh(f)));d&&w(yf(f,Vh,8),function(n){a.F["delete"](J(n,1,0));a.K["delete"](J(n,1,0))});a.O=a.O.then(function(){return new Pg(function(n){th(e,n);Ae($c(),"jsapi.dao.Dao#getRtbNews",function(){w(yf(f,Vh,8),function(u){if(!uf(u,7)){var x=Nh(a.F.has(J(u,1,0)));wf(u,7,x,!1)}});var r=Gh++%65535;L(f,1,r);vf(f,7,(null!=l&&y.ia(l)?l:a.a)||[]);var v=Le(wi(f));Hh(a.R,"https://"+bd(a.Z)+"/jsapi?action=rtb_news&payload="+v,r,function(u){if(p(u)&&(Array.isArray(u.blocks)&&w(u.blocks,function(x){p(x)&&(y.l(x.block_id)&&
a.F.add(x.block_id),Array.isArray(x.items)&&w(x.items,function(E){y.l(E.id)&&a.a.push(E.id)}))}),Array.isArray(u.trace)))try{w(u.trace,function(x){if(p(x)&&y.C(x.type)&&y.ia(x.value)){var E=x.value;switch(x.type){case "info":x=console.info;break;case "warn":x=console.warn;break;case "error":x=console.error;break;case "table":x=console.table;break;default:x=console.log}x.call(this,E)}})}catch(x){console.error("Failed to process RTB trace object")}e.V(u)},function(){W(e,Error("Failed to get RTB news"))})},
function(){},function(r){W(e,r)})})})}
function Ok(a,b,c,d){var e=new kh;y.h(c)&&y.J(c)&&qh(e,c);y.h(d)&&y.J(d)&&sh(e,d);var f={};y.C(a.f)&&(f.suid=a.f);d=!1;c=b.init;y.h(c)&&y.$(c)&&(d=c);var g;c=b.block_id;if(!y.h(c)||!y.l(c)||0>c)W(e,Y("block_id"));else{f.block_id=g=c;var k="RANK";c=b.sort_type;y.h(c)&&(y.C(c)?k=c:W(e,Y("sort_type")));f.sort_type=k;c=b.count;if(y.h(c)){if(!y.l(c)||0>c||100<c){W(e,Y("count"));return}f.count=c}c=b.fields;if(y.h(c))if(y.l(c))f.fields=c;else{W(e,Y("fields"));return}c=b.has_images;if(y.h(c))if(y.$(c))f.has_images=
c;else{W(e,Y("has_images"));return}c=b.has_amp_url;if(y.h(c))if(y.$(c))f.has_amp_url=c;else{W(e,Y("has_amp_url"));return}c=b.has_recommend;if(y.h(c))if(y.$(c))f.has_recommend=c;else{W(e,Y("has_recommend"));return}c=b.is_good_feed;if(y.h(c))if(y.$(c))f.is_good_feed=c;else{W(e,Y("is_good_feed"));return}c=b.ctx;if(y.h(c))if(y.l(c))f.ctx=c;else{W(e,Y("ctx"));return}c=b.story;if(y.h(c))if(y.l(c))f.story=c;else{W(e,Y("story"));return}c=b.story_article;if(y.h(c))if(y.l(c))f.story_article=c;else{W(e,Y("story_article"));
return}var l=null;c=b.filter_ids;if(y.h(c))if(y.isArray(c))l=c;else{W(e,Y("filter_ids"));return}c=b.topics;if(y.h(c))if(y.isArray(c))f.topics=c;else{W(e,Y("topics"));return}c=b.publisher;if(y.h(c))if(y.l(c))f.publisher=c;else{W(e,Y("publisher"));return}c=b.filter_publishers;if(y.h(c))if(y.isArray(c))f.filter_publishers=c;else{W(e,Y("filter_publishers"));return}k=null;c=b.loc_id;if(y.h(c))if(y.l(c))k=c;else{W(e,Y("loc_id"));return}f.loc_id=y.h(k)?k:-1;c=b.strategy_id;if(y.h(c)){if(!y.l(c)||0>c){W(e,
Y("strategy_id"));return}f.strategy_id=c}c=b.trend_id;if(y.h(c))if(y.l(c))f.trend_id=c;else{W(e,Y("trend_id"));return}c=b.tag_id;if(y.h(c))if(y.l(c))f.tag_id=c;else{W(e,Y("tag_id"));return}c=b.image_width;if(y.h(c)){if(!y.l(c)||0>c){W(e,Y("image_width"));return}f.image_width=c}c=b.image_height;if(y.h(c)){if(!y.l(c)||0>c){W(e,Y("image_height"));return}f.image_height=c}c=b.similar_article_id;if(y.h(c))if(y.l(c))f.similar_article_id=c;else{W(e,Y("similar_article_id"));return}try{c=tg(),y.h(c)&&y.C(c)&&
c&&(f.yam_user_id=c),c=vg(),y.h(c)&&y.C(c)&&c&&(f.finger_user_id=c),c=wg(),y.h(c)&&y.C(c)&&c&&(f.local_user_id=c),c=b.local_user_id,y.h(c)&&y.C(c)&&c&&(f.local_user_id=c),c=b.yam_user_id,y.h(c)&&y.C(c)&&c&&(f.yam_user_id=c),c=b.finger_user_id,y.h(c)&&y.C(c)&&c&&(f.finger_user_id=c)}catch(n){}d&&(a.i["delete"](g),a.K["delete"](g));a.s=a.s.then(function(){return new Pg(function(n){th(e,n);Ae($c(),"jsapi.dao.Dao#getArticles",function(){a.i.has(g)&&(f.block_ignore_view=!0);var r=y.h(l)?l.length:a.i.has(g)?
a.i.get(g):0;f.offset=r;f.filter_ids=y.h(l)?l:a.M;r=Yj(f);pk(Gk(a,"articles"),function(v){v=v.target;if(200===zk(v)){var u=void 0;try{u=Ak(v)}catch(x){W(e,x);return}!y.h(l)&&u&&0<u.length&&(w(u,function(x){(x=x.id)&&a.M.push(x)}),a.i.set(g,(a.i.has(g)?a.i.get(g):0)+u.length));e.V(u)}else W(e,Error("Failed to get articles"))},"POST",r,Dk,!0)},function(){},function(r){W(e,r)})})})}}
function Pk(a,b,c,d){var e=new kh;y.h(c)&&y.J(c)&&qh(e,c);y.h(d)&&y.J(d)&&sh(e,d);var f={};y.C(a.f)&&(f.suid=a.f);c=b.block_id;if(!y.h(c)||!y.l(c)||0>c)W(e,Y("block_id"));else if(f.block_id=c,c=b.article_id,!y.h(c)||!y.l(c)||0>c)W(e,Y("article_id"));else{f.article_id=c;c=b.image_width;if(y.h(c)){if(!y.l(c)||0>c){W(e,Y("image_width"));return}f.image_width=c}c=b.image_height;if(y.h(c)){if(!y.l(c)||0>c){W(e,Y("image_height"));return}f.image_height=c}c=b.fields;if(y.h(c))if(y.l(c))f.fields=c;else{W(e,
Y("fields"));return}c=b.strategy_id;if(y.h(c)){if(!y.l(c)||0>c){W(e,Y("strategy_id"));return}f.strategy_id=c}a.s=a.s.then(function(){return new Pg(function(g){th(e,g);Ae($c(),"jsapi.dao.Dao#getArticleDetails",function(){var k=Yj(f);pk(Gk(a,"article_details"),function(l){var n=l.target;if(200===zk(n)){l=void 0;try{l=Ak(n)}catch(r){W(e,r);return}l&&(n=l.id)&&a.M.push(n);e.V(l)}else W(e,Error("Failed to get article details"))},"POST",k,Dk,!0)},function(){},function(k){W(e,k)})})})}}
Bk.prototype.H=function(a,b,c){var d=this,e=new kh;y.h(b)&&y.J(b)&&qh(e,b);y.h(c)&&y.J(c)&&sh(e,c);var f={};b=a.block_id;if(!y.h(b)||!y.l(b)||0>b)W(e,Y("block_id"));else{f.block_id=b;b=a.tags_count;y.h(b)&&(!y.l(b)||0>b?W(e,Y("tags_count")):f.tags_count=b);b=a.tags_type;y.h(b)&&(y.C(b)?f.tags_type=b:W(e,Y("tags_type")));b=a.fields;if(y.h(b))if(y.l(b))f.fields=b;else{W(e,Y("fields"));return}Ae($c(),"jsapi.dao.Dao#getProperties",function(){var g=Yj(f);pk(Gk(d,"properties"),function(k){k=k.target;if(200===
zk(k)){var l=void 0;try{l=Ak(k)}catch(n){W(e,n);return}e.V(l)}else W(e,Error("Failed to get properties"))},"POST",g,Dk,!0)},function(){},function(g){W(e,g)})}};
function Qk(a,b,c,d){var e=new kh;y.h(c)&&y.J(c)&&qh(e,c);y.h(d)&&y.J(d)&&sh(e,d);var f={};c=b.block_id;!y.h(c)||!y.l(c)||0>c?W(e,Y("block_id")):(f.block_id=c,c=b.tag_id,!y.h(c)||!y.l(c)||0>c?W(e,Y("tag_id")):(f.tag_id=c,Ae($c(),"jsapi.dao.Dao#getTagDetails",function(){var g=Yj(f);pk(Gk(a,"tag_details"),function(k){k=k.target;if(200===zk(k)){var l=void 0;try{l=Ak(k)}catch(n){W(e,n);return}e.V(l)}else W(e,Error("Failed to get tag details"))},"POST",g,Dk,!0)},function(){},function(g){W(e,g)})))}
function Rk(a,b,c,d){var e=new kh;y.h(c)&&y.J(c)&&qh(e,c);y.h(d)&&y.J(d)&&sh(e,d);var f={};b=b.block_id;!y.h(b)||!y.l(b)||0>b?W(e,Y("block_id")):(f.block_id=b,Ae($c(),"jsapi.dao.Dao#getLocation",function(){var g=Yj(f);pk(Gk(a,"location"),function(k){k=k.target;if(200===zk(k)){var l=void 0;try{l=Ak(k)}catch(n){W(e,n);return}e.V(l)}else W(e,Error("Failed to get location"))},"POST",g,Dk,!0)},function(){},function(g){W(e,g)}))}
function Sk(a,b,c,d){var e=new kh;y.h(c)&&y.J(c)&&qh(e,c);y.h(d)&&y.J(d)&&sh(e,d);var f={};b=b.block_id;!y.h(b)||!y.l(b)||0>b?W(e,Y("block_id")):(f.block_id=b,Ae($c(),"jsapi.dao.Dao#getCurrency",function(){var g=Yj(f);pk(Gk(a,"currency"),function(k){k=k.target;if(200===zk(k)){var l=void 0;try{l=Ak(k)}catch(n){W(e,n);return}e.V(l)}else W(e,Error("Failed to get currency"))},"POST",g,Dk,!0)},function(){},function(g){W(e,g)}))}
function Tk(a){var b;return p(a)&&Array.isArray(b=a.blocks)&&0!==b.length&&p(b[0])?b[0]:{}}function Uk(a){a=Tk(a);return y.h(a.block_view_uuid)?a.block_view_uuid:null}function Vk(a){a=Tk(a);return y.h(a.trackers)&&p(a.trackers)&&y.h(a.trackers.viewability)&&y.isArray(a.trackers.viewability)?a.trackers.viewability:null}function Wk(a){var b;return p(a)&&Array.isArray(b=a.blocks)&&0!==b.length&&p(b[0])&&(a=b[0],Array.isArray(a.items))?a.items:[]}
function Xk(a,b){var c,d;p(a)&&p(c=a.trackers)&&Array.isArray(d=c[b])&&w(d,function(e){y.C(e)&&Jk(e)})}function Jk(a){try{var b=window;b[Ek]||(b[Ek]=[]);var c=ke("img",{src:a,alt:""});b[Ek].push(c)}catch(d){}}function Yk(a,b){y.h(b)&&(y.isArray(b)?w(b,function(c){p(c)&&Zk(a,c)}):p(b)&&Zk(a,b))}
function Zk(a,b){var c=0;var d=b.news_id;if(y.h(d))if(y.l(d))c=d;else return;var e=0;d=b.article_id;if(y.h(d))if(y.l(d))e=d;else return;var f=0;d=b.block_id;if(y.h(d))if(y.l(d))f=d;else return;var g=0;d=b.strategy_id;if(y.h(d)){if(!y.l(d)||0>d)return;g=d}var k=0;d=b.source_id;if(y.h(d))if(y.l(d))k=d;else return;var l=null;d=b.bvuuid;if(y.h(d))if(y.C(d))l=d;else return;var n=null;d=b.nvuuid;if(y.h(d))if(y.C(d))n=d;else return;var r=null;d=b.ignore_block_view;y.h(d)&&y.$(d)&&(r=d);var v=null;d=b.ab_test;
if(y.h(d))if(y.C(d))v=d;else return;d=new Hf;0!==c&&L(d,1,Lh(c));0!==e&&L(d,2,Lh(e));0!==f&&(L(d,3,Lh(f)),y.h(r)?wf(d,7,Nh(r),!1):(c=Nh(a.K.has(f)),wf(d,7,c,!1)),a.K.add(f));0!==g&&L(d,4,Mh(g));0!==k&&L(d,5,Lh(k));y.h(l)&&!Rc(l)&&M(d,6,Oh(l));y.h(n)&&!Rc(n)&&M(d,10,Oh(n));y.h(v)&&!Rc(v)&&M(d,8,Oh(v));a.ea.push(d);a.ya.qd()}
function Ck(a){for(var b=[],c;y.h(c=a.ea.pop());)b.push(c);0!==b.length&&Ae($c(),"jsapi.dao.Dao#viewability",function(){var d=Gh++%65535,e=new Ff;L(e,1,Lh(d));Cf(e,b);e=Le(Kf(e));Hh(a.R,"https://"+ad(a.Z)+"/newdata/jsapi?action=viewability&payload="+e,d,function(){},function(){})},function(){},function(){})}function Y(a){return Error("The '"+a+"' parameter is invalid")}
function Nk(){try{var a=de(document,"link",void 0,void 0);if(y.h(a)&&Aa(a)){var b=Ta(a,function(d){return"canonical"===d.getAttribute("rel")&&y.h(d.getAttribute("href"))}),c;if(!cb(b)&&!Rc(c=b[0].getAttribute("href")))return c}}catch(d){}return null}function Lk(a){a=a.j.screen;return y.ia(a)&&(a=a.width,y.ia(a))?a:0}function Mk(a){a=a.j.screen;return y.ia(a)&&(a=a.height,y.ia(a))?a:0}function Gk(a,b){return"https://"+ad(a.Z)+"/newdata/jsapi?action="+b};function $k(){return Fd?"Webkit":Ed?"Moz":Bd?"ms":Ad?"O":null}function al(a,b){if(b&&a in b)return a;var c=$k();return c?(c=c.toLowerCase(),c+=Xc(a),void 0===b||c in b?c:null):null};function bl(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}bl.prototype.contains=function(a){return this&&a?a instanceof bl?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};bl.prototype.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
bl.prototype.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};bl.prototype.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};function cl(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}cl.prototype.contains=function(a){return a instanceof Yd?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};cl.prototype.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
cl.prototype.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};cl.prototype.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Z(a,b,c){if("string"===typeof b)(b=dl(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=dl(c,d);f&&(c.style[f]=e)}}var el={};function dl(a,b){var c=el[b];if(!c){var d=Wc(b);c=d;void 0===a.style[d]&&(d=$k()+Xc(d),void 0!==a.style[d]&&(c=d));el[b]=c}return c}function fl(a,b){var c=a.style[Wc(b)];return"undefined"!==typeof c?c:a.style[dl(a,b)]||""}
function gl(a,b){var c=be(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""}function hl(a,b){return gl(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}function il(a){return new Yd(a.offsetLeft,a.offsetTop)}function jl(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}function kl(a,b){var c=ll(a),d=ll(b);return new Yd(c.x-d.x,c.y-d.y)}
function ll(a){if(1==a.nodeType)return a=jl(a),new Yd(a.left,a.top);a=a.changedTouches?a.changedTouches[0]:a;return new Yd(a.clientX,a.clientY)}function ml(a){"number"==typeof a&&(a=Math.round(a)+"px");return a}function nl(a,b){a.style.height=ml(b)}function ol(a,b){a.style.width=ml(b)}
function pl(a){var b=ql;if("none"!=hl(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a}function ql(a){var b=a.offsetWidth,c=a.offsetHeight,d=Fd&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=jl(a),new Zd(a.right-a.left,a.bottom-a.top)):new Zd(b,c)}function rl(a,b){a.style.display=b?"":"none"}
var sl=Ed?"MozUserSelect":Fd||Cd?"WebkitUserSelect":null;
function tl(a){var b=be(a),c=Bd&&a.currentStyle;if(c&&he($d(b).f)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=ul(a,c.width,"width","pixelWidth"),a=ul(a,c.height,"height","pixelHeight"),new Zd(b,a);c=new Zd(a.offsetWidth,a.offsetHeight);if(Bd){b=vl(a,"paddingLeft");var d=vl(a,"paddingRight"),e=vl(a,"paddingTop"),f=vl(a,"paddingBottom");b=new bl(e,d,f,b)}else b=gl(a,"paddingLeft"),d=gl(a,"paddingRight"),e=gl(a,"paddingTop"),f=gl(a,"paddingBottom"),b=new bl(parseFloat(e),parseFloat(d),
parseFloat(f),parseFloat(b));!Bd||9<=Number(Vd)?(d=gl(a,"borderLeftWidth"),e=gl(a,"borderRightWidth"),f=gl(a,"borderTopWidth"),a=gl(a,"borderBottomWidth"),a=new bl(parseFloat(f),parseFloat(e),parseFloat(a),parseFloat(d))):(d=wl(a,"borderLeft"),e=wl(a,"borderRight"),f=wl(a,"borderTop"),a=wl(a,"borderBottom"),a=new bl(f,e,a,d));return new Zd(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)}
function ul(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return+b}function vl(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?ul(a,c,"left","pixelLeft"):0}var xl={thin:2,medium:4,thick:6};
function wl(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in xl?xl[c]:ul(a,c,"left","pixelLeft")}function yl(a){a.style[Bd?"styleFloat":"cssFloat"]="left"};q("JsAPI.Dom.appendChild",oe);q("JsAPI.Dom.createDom",ke);q("JsAPI.Dom.createTextNode",function(a){return document.createTextNode(String(a))});q("JsAPI.Dom.getElement",function(a){return"string"===typeof a?document.getElementById(a):a});q("JsAPI.Dom.getParentElement",se);q("JsAPI.Dom.removeChildren",pe);q("JsAPI.Dom.setStyle",Z);q("JsAPI.Event.listen",Cj);q("JsAPI.Event.listenOnce",Dj);q("JsAPI.Event.unlisten",Kj);var zl={"* ARIA-CHECKED":!0,"* ARIA-COLCOUNT":!0,"* ARIA-COLINDEX":!0,"* ARIA-CONTROLS":!0,"* ARIA-DESCRIBEDBY":!0,"* ARIA-DISABLED":!0,"* ARIA-EXPANDED":!0,"* ARIA-GOOG-EDITABLE":!0,"* ARIA-HASPOPUP":!0,"* ARIA-HIDDEN":!0,"* ARIA-LABEL":!0,"* ARIA-LABELLEDBY":!0,"* ARIA-MULTILINE":!0,"* ARIA-MULTISELECTABLE":!0,"* ARIA-ORIENTATION":!0,"* ARIA-PLACEHOLDER":!0,"* ARIA-READONLY":!0,"* ARIA-REQUIRED":!0,"* ARIA-ROLEDESCRIPTION":!0,"* ARIA-ROWCOUNT":!0,"* ARIA-ROWINDEX":!0,"* ARIA-SELECTED":!0,"* ABBR":!0,
"* ACCEPT":!0,"* ACCESSKEY":!0,"* ALIGN":!0,"* ALT":!0,"* AUTOCOMPLETE":!0,"* AXIS":!0,"* BGCOLOR":!0,"* BORDER":!0,"* CELLPADDING":!0,"* CELLSPACING":!0,"* CHAROFF":!0,"* CHAR":!0,"* CHECKED":!0,"* CLEAR":!0,"* COLOR":!0,"* COLSPAN":!0,"* COLS":!0,"* COMPACT":!0,"* COORDS":!0,"* DATETIME":!0,"* DIR":!0,"* DISABLED":!0,"* ENCTYPE":!0,"* FACE":!0,"* FRAME":!0,"* HEIGHT":!0,"* HREFLANG":!0,"* HSPACE":!0,"* ISMAP":!0,"* LABEL":!0,"* LANG":!0,"* MAX":!0,"* MAXLENGTH":!0,"* METHOD":!0,"* MULTIPLE":!0,
"* NOHREF":!0,"* NOSHADE":!0,"* NOWRAP":!0,"* OPEN":!0,"* READONLY":!0,"* REQUIRED":!0,"* REL":!0,"* REV":!0,"* ROLE":!0,"* ROWSPAN":!0,"* ROWS":!0,"* RULES":!0,"* SCOPE":!0,"* SELECTED":!0,"* SHAPE":!0,"* SIZE":!0,"* SPAN":!0,"* START":!0,"* SUMMARY":!0,"* TABINDEX":!0,"* TITLE":!0,"* TYPE":!0,"* VALIGN":!0,"* VALUE":!0,"* VSPACE":!0,"* WIDTH":!0},Al={"* USEMAP":!0,"* ACTION":!0,"* CITE":!0,"* HREF":!0,"* LONGDESC":!0,"* SRC":!0,"LINK HREF":!0,"* FOR":!0,"* HEADERS":!0,"* NAME":!0,"A TARGET":!0,
"* CLASS":!0,"* ID":!0,"* STYLE":!0};var Bl={};
function Cl(a){if(Bd&&!Sd(9))return[0,0,0,0];var b=Bl.hasOwnProperty(a)?Bl[a]:null;if(b)return b;65536<Object.keys(Bl).length&&(Bl={});var c=[0,0,0,0],d=RegExp("\\\\[0-9A-Fa-f]{1,5}\\s","g");b=Dl(a,RegExp("\\\\[0-9A-Fa-f]{6}\\s?","g"));b=Dl(b,d);b=Dl(b,/\\./g);b=b.replace(RegExp(":not\\(([^\\)]*)\\)","g"),"     $1 ");b=b.replace(RegExp("{[^]*","gm"),"");b=El(b,c,RegExp("(\\[[^\\]]+\\])","g"),2);b=El(b,c,RegExp("(#[^\\#\\s\\+>~\\.\\[:]+)","g"),1);b=El(b,c,RegExp("(\\.[^\\s\\+>~\\.\\[:]+)","g"),2);
b=El(b,c,/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,3);b=El(b,c,/(:[\w-]+\([^\)]*\))/gi,2);b=El(b,c,/(:[^\s\+>~\.\[:]+)/g,2);b=b.replace(/[\*\s\+>~]/g," ");b=b.replace(/[#\.]/g," ");El(b,c,/([^\s\+>~\.\[:]+)/g,3);b=c;return Bl[a]=b}function El(a,b,c,d){return a.replace(c,function(e){b[d]+=1;return Array(e.length+1).join(" ")})}function Dl(a,b){return a.replace(b,function(c){return Array(c.length+1).join("A")})};var Fl={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0},Gl=/[\n\f\r"'()*<>]/g,Hl={"\n":"%0a","\f":"%0c","\r":"%0d",'"':"%22","'":"%27","(":"%28",")":"%29",
"*":"%2a","<":"%3c",">":"%3e"};function Il(a){return Hl[a]}
function Jl(a,b,c){b=Lb(b);if(""==b)return null;var d=String(b.substr(0,4)).toLowerCase();if(0==("url("<d?-1:"url("==d?0:1)){if(!b.endsWith(")")||1<(b?b.split("(").length-1:0)||1<(b?b.split(")").length-1:0)||!c)a=null;else{a:for(b=b.substring(4,b.length-1),d=0;2>d;d++){var e="\"'".charAt(d);if(b.charAt(0)==e&&b.charAt(b.length-1)==e){b=b.substring(1,b.length-1);break a}}a=c?(a=c(b,a))&&"about:invalid#zClosurez"!=ac(a)?'url("'+ac(a).replace(Gl,Il)+'")':null:null}return a}if(0<b.indexOf("(")){if(/"|'/.test(b))return null;
for(a=/([\-\w]+)\(/g;c=a.exec(b);)if(!(c[1].toLowerCase()in Fl))return null}return b};function Kl(a,b){var c=m[a];return c&&c.prototype?(c=Object.getOwnPropertyDescriptor(c.prototype,b))&&c.get||null:null}function Ll(a,b){var c=m[a];return c&&c.prototype&&c.prototype[b]||null}var Ml=Kl("Element","attributes")||Kl("Node","attributes"),Nl=Ll("Element","hasAttribute"),Ol=Ll("Element","getAttribute"),Pl=Ll("Element","setAttribute"),Ql=Ll("Element","removeAttribute");Kl("Element","innerHTML")||Kl("HTMLElement","innerHTML");
var Rl=Ll("Element","getElementsByTagName"),Sl=Ll("Element","matches")||Ll("Element","msMatchesSelector"),Tl=Kl("Node","nodeName"),Ul=Kl("Node","nodeType"),Vl=Kl("Node","parentNode");Kl("Node","childNodes");var Wl=Kl("HTMLElement","style")||Kl("Element","style"),Xl=Kl("HTMLStyleElement","sheet"),Yl=Ll("CSSStyleDeclaration","getPropertyValue"),Zl=Ll("CSSStyleDeclaration","setProperty");function $l(a,b,c,d){if(a)return a.apply(b);a=b[c];if(!d(a))throw Error("Clobbering detected");return a}
function am(a,b,c,d){if(a)return a.apply(b,d);if(Bd&&10>document.documentMode){if(!b[c].call)throw Error("IE Clobbering detected");}else if("function"!=typeof b[c])throw Error("Clobbering detected");return b[c].apply(b,d)}function bm(a){return $l(Ml,a,"attributes",function(b){return b instanceof NamedNodeMap})}function cm(a,b,c){try{am(Pl,a,"setAttribute",[b,c])}catch(d){if(-1==d.message.indexOf("A security problem occurred"))throw d;}}
function dm(a){return $l(Wl,a,"style",function(b){return b instanceof CSSStyleDeclaration})}function em(a){return $l(Xl,a,"sheet",function(b){return b instanceof CSSStyleSheet})}function fm(a){return $l(Tl,a,"nodeName",function(b){return"string"==typeof b})}function gm(a){return $l(Ul,a,"nodeType",function(b){return"number"==typeof b})}function hm(a){return $l(Vl,a,"parentNode",function(b){return!(b&&"string"==typeof b.name&&b.name&&"parentnode"==b.name.toLowerCase())})}
function im(a,b){return am(Yl,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[b])||""}function jm(a,b,c){am(Zl,a,a.setProperty?"setProperty":"setAttribute",[b,c])};var km=Bd&&10>document.documentMode?null:RegExp("\\s*([^\\s'\",]+[^'\",]*(('([^'\\r\\n\\f\\\\]|\\\\[^])*')|(\"([^\"\\r\\n\\f\\\\]|\\\\[^])*\")|[^'\",])*)","g"),lm={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};
function mm(a,b,c){var d=[];a=nm(ib(a.cssRules));w(a,function(e){if(b&&!/[a-zA-Z][\w-:\.]*/.test(b))throw Error("Invalid container id");if(!(b&&Bd&&10==document.documentMode&&/\\['"]/.test(e.selectorText))){var f=b?e.selectorText.replace(km,"#"+b+" $1"):e.selectorText;d.push(sc(f,om(e.style,c)))}});return uc(d)}function nm(a){return Ta(a,function(b){return b instanceof CSSStyleRule||b.type==CSSRule.STYLE_RULE})}
function pm(a,b,c){a=qm("<style>"+a+"</style>");return null==a||null==a.sheet?wc:mm(a.sheet,void 0!=b?b:null,c)}function qm(a){if(Bd&&!Sd(10)||"function"!=typeof m.DOMParser)return null;a=Kc("<html><head></head><body>"+a+"</body></html>",null);return(new DOMParser).parseFromString(Ec(a),"text/html").body.children[0]}
function om(a,b){if(!a)return hc;var c=document.createElement("div").style,d=rm(a);w(d,function(e){var f=Fd&&e in lm?e:e.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");0!=f.lastIndexOf("--",0)&&0!=f.lastIndexOf("var",0)&&(e=im(a,e),e=Jl(f,e,b),null!=e&&jm(c,f,e))});return gc(c.cssText||"")}
function sm(a){var b=Array.from(am(Rl,a,"getElementsByTagName",["STYLE"])),c=qb(b,function(e){return ib(em(e).cssRules)});c=nm(c);c.sort(function(e,f){var g=Cl(e.selectorText);a:{for(var k=Cl(f.selectorText),l=mb,n=Math.min(g.length,k.length),r=0;r<n;r++){var v=l(g[r],k[r]);if(0!=v){g=v;break a}}g=mb(g.length,k.length)}return-g});a=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,null,!1);for(var d;d=a.nextNode();)w(c,function(e){am(Sl,d,d.matches?"matches":"msMatchesSelector",[e.selectorText])&&
e.style&&tm(d,e.style)});w(b,qe)}function tm(a,b){var c=rm(a.style),d=rm(b);w(d,function(e){if(!(0<=c.indexOf(e))){var f=im(b,e);jm(a.style,e,f)}})}function rm(a){Aa(a)?a=ib(a):(a=ub(a),fb(a,"cssText"));return a};var um="undefined"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native code]"),vm=0;function wm(){this.i=[];this.f=[];this.a="data-elementweakmap-index-"+vm++}wm.prototype.set=function(a,b){if(am(Nl,a,"hasAttribute",[this.a])){var c=parseInt(am(Ol,a,"getAttribute",[this.a])||null,10);this.f[c]=b}else c=this.f.push(b)-1,cm(a,this.a,c.toString()),this.i.push(a);return this};
wm.prototype.get=function(a){if(am(Nl,a,"hasAttribute",[this.a]))return a=parseInt(am(Ol,a,"getAttribute",[this.a])||null,10),this.f[a]};wm.prototype.clear=function(){this.i.forEach(function(a){am(Ql,a,"removeAttribute",[this.a])},this);this.i=[];this.f=[]};var xm=!Bd||10<=Number(Vd),ym=!Bd||null==document.documentMode;function zm(){};var Am={APPLET:!0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0,VIDEO:!0};var Bm={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,MENU:!0,METER:!0,NAV:!0,
NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,WBR:!0};var Cm={"ANNOTATION-XML":!0,"COLOR-PROFILE":!0,"FONT-FACE":!0,"FONT-FACE-SRC":!0,"FONT-FACE-URI":!0,"FONT-FACE-FORMAT":!0,"FONT-FACE-NAME":!0,"MISSING-GLYPH":!0};
function Dm(a){a=a||new Em;Fm(a);this.a=xb(a.a);this.F=xb(a.R);this.i=xb(a.i);this.D=a.Z;w(a.D,function(b){if(0!=b.lastIndexOf("data-",0))throw new Pa('Only "data-" attributes allowed, got: %s.',[b]);if(0==b.lastIndexOf("data-sanitizer-",0))throw new Pa('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.a["* "+b.toUpperCase()]=Gm},this);w(a.O,function(b){b=b.toUpperCase();if(-1==b.indexOf("-")||Cm[b])throw new Pa("Only valid custom element tag names allowed, got: %s.",
[b]);this.i[b]=!0},this);this.O=a.j;this.j=a.M;this.f=null;this.s=a.K}t(Dm,zm);function Hm(a){return function(b,c){var d=a(Lb(b),c);return d&&"about:invalid#zClosurez"!=ac(d)?ac(d):null}}function Em(){this.a={};w([zl,Al],function(a){w(ub(a),function(b){this.a[b]=Gm},this)},this);this.f={};this.D=[];this.O=[];this.R=xb(Am);this.i=xb(Bm);this.Z=!1;this.T=cc;this.ha=this.s=this.ea=this.j=rb;this.M=null;this.F=this.K=!1}
function Im(a,b){a.i={SPAN:!0};w(b,function(c){c=c.toUpperCase();if(Bm[c])this.i[c]=!0;else throw Error("Only whitelisted tags can be allowed. See goog.html.sanitizer.TagWhitelist.");},a);return a}function Jm(a,b){var c=a.a;a.a={};w(b,function(d){"string"===typeof d&&(d={tagName:"*",attributeName:d.toUpperCase(),uc:null});var e=Km(d.tagName,d.attributeName);if(!c[e])throw Error("Only whitelisted attributes can be allowed.");this.a[e]=d.uc?d.uc:Gm},a);return a}
function Lm(a,b){return function(c,d,e,f){c=a(c,d,e,f);return null==c?null:b(c,d,e,f)}}function Mm(a,b,c,d){a[c]&&!b[c]&&(a[c]=Lm(a[c],d))}
function Fm(a){if(a.F)throw Error("HtmlSanitizer.Builder.build() can only be used once.");Mm(a.a,a.f,"* USEMAP",Nm);var b=Hm(a.T);w(["* ACTION","* CITE","* HREF"],function(d){Mm(this.a,this.f,d,b)},a);var c=Hm(a.j);w(["* LONGDESC","* SRC","LINK HREF"],function(d){Mm(this.a,this.f,d,c)},a);w(["* FOR","* HEADERS","* NAME"],function(d){Mm(this.a,this.f,d,Ka(Om,this.ea))},a);Mm(a.a,a.f,"A TARGET",Ka(Pm,["_blank","_self"]));Mm(a.a,a.f,"* CLASS",Ka(Qm,a.s));Mm(a.a,a.f,"* ID",Ka(Rm,a.s));Mm(a.a,a.f,"* STYLE",
Ka(a.ha,c));a.F=!0}function Km(a,b){a||(a="*");return(a+" "+b).toUpperCase()}function Gm(a){return Lb(a)}function Pm(a,b){var c=Lb(b);return bb(a,c.toLowerCase())?c:null}function Nm(a){return(a=Lb(a))&&"#"==a.charAt(0)?a:null}function Om(a,b,c){return a(Lb(b),c)}function Qm(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e<b.length;e++){var f=a(b[e],c);f&&d.push(f)}return 0==d.length?null:d.join(" ")}function Rm(a,b,c){return a(Lb(b),c)}
function Sm(a,b){var c=b.data,d=hm(b);d&&"style"==fm(d).toLowerCase()&&!("STYLE"in a.F)&&"STYLE"in a.i&&(c=vc(pm(c,a.f,Ja(function(e,f){return this.O(e,{qe:f})},a))));return document.createTextNode(c)};q("JsAPI.Html.sanitizeWithOnlyAllowTags",function(a,b,c){b=new Dm(Jm(Im(new Em,b),c));c=!("STYLE"in b.F)&&"STYLE"in b.i;c="*"==b.j&&c?"sanitizer-"+Uc():b.j;b.f=c;if(xm){c=a;if(xm){a=me(document,"SPAN");b.f&&"*"==b.j&&(a.id=b.f);b.s&&(c=qm("<div>"+c+"</div>"),sm(c),c=c.innerHTML);c=Kc(c,null);var d=document.createElement("template");if(ym&&"content"in d)Oc(d,c),d=d.content;else{var e=document.implementation.createHTMLDocument("x");d=e.body;Oc(e.body,c)}c=document.createTreeWalker(d,NodeFilter.SHOW_ELEMENT|
NodeFilter.SHOW_TEXT,null,!1);for(d=um?new WeakMap:new wm;e=c.nextNode();){c:{var f=b;var g=e;switch(gm(g)){case 3:f=Sm(f,g);break c;case 1:if("TEMPLATE"==fm(g).toUpperCase())f=null;else{var k=fm(g).toUpperCase();if(k in f.F)var l=null;else f.i[k]?l=document.createElement(k):(l=me(document,"SPAN"),f.D&&cm(l,"data-sanitizer-original-tag",k.toLowerCase()));if(l){var n=l,r=bm(g);if(null!=r)for(var v=0;k=r[v];v++)if(k.specified){var u=f;var x=g,E=k,D=E.name;if(0==D.lastIndexOf("data-sanitizer-",0))u=
null;else{var G=fm(x);E=E.value;var C={tagName:Lb(G).toLowerCase(),attributeName:Lb(D).toLowerCase()},K={Bc:void 0};"style"==C.attributeName&&(K.Bc=dm(x));x=Km(G,D);x in u.a?(u=u.a[x],u=u(E,C,K)):(D=Km(null,D),D in u.a?(u=u.a[D],u=u(E,C,K)):u=null)}null!==u&&cm(n,k.name,u)}f=l}else f=null}break c;default:f=null}}if(f){if(1==gm(f)&&d.set(e,f),e=hm(e),g=!1,e)k=gm(e),l=fm(e).toLowerCase(),n=hm(e),11!=k||n?"body"==l&&n&&(k=hm(n))&&!hm(k)&&(g=!0):g=!0,k=null,g||!e?k=a:1==gm(e)&&(k=d.get(e)),k.content&&
(k=k.content),k.appendChild(f)}else pe(e)}d.clear&&d.clear();b=a}else b=me(document,"SPAN");0<bm(b).length&&(a=me(document,"SPAN"),a.appendChild(b),b=a);b=(new XMLSerializer).serializeToString(b);b=b.slice(b.indexOf(">")+1,b.lastIndexOf("</"))}else b="";c=Kc(b,null);a=document;b=me(a,"DIV");Bd?(c=Jc(Mc,c),Oc(b,c),b.removeChild(b.firstChild)):Oc(b,c);if(1==b.childNodes.length)b=b.removeChild(b.firstChild);else{for(a=a.createDocumentFragment();b.firstChild;)a.appendChild(b.firstChild);b=a}return b});var Tm=new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~".split(""));function Um(a){a=a.replace(/[\s\xa0]+$/,"").split("");for(var b=a.length-1;0<=b;b--)if(Tm.has(a[b]))a.pop();else break;return a.join("")};q("JsAPI.String.truncate",function(a,b,c,d){if(!y.h(a))return"";if(d)return a.length>b&&(a=a.substring(0,b-3)+"..."),a;if(a.length<=b)return a;c=c||"...";d=c.length;for(a=Um(a);a.length+d>b;){var e=a.lastIndexOf(" ");if(-1==e)break;a=Um(a.substring(0,e))}return a+c});var Vm;function Wm(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(Vm||(Vm={atomic:!1,autocomplete:"none",dropeffect:"none",haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:"vertical",readonly:!1,relevant:"additions text",required:!1,sort:"none",busy:!1,disabled:!1,hidden:!1,invalid:"false"}),c=Vm,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)};function Xm(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""}function Ym(a){return a.classList?a.classList:Xm(a).match(/\S+/g)||[]}function Zm(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)}function $m(a,b){return a.classList?a.classList.contains(b):bb(Ym(a),b)}function an(a,b){if(a.classList)a.classList.add(b);else if(!$m(a,b)){var c=Xm(a);Zm(a,c+(0<c.length?" "+b:b))}}
function bn(a,b){if(a.classList)w(b,function(f){an(a,f)});else{var c={};w(Ym(a),function(f){c[f]=!0});w(b,function(f){c[f]=!0});var d="",e;for(e in c)d+=0<d.length?" "+e:e;Zm(a,d)}}function cn(a,b){a.classList?a.classList.remove(b):$m(a,b)&&Zm(a,Ta(Ym(a),function(c){return c!=b}).join(" "))}function dn(a,b){a.classList?w(b,function(c){cn(a,c)}):Zm(a,Ta(Ym(a),function(c){return!bb(b,c)}).join(" "))};function en(a){$i.call(this);this.f=a;this.a={}}t(en,$i);var fn=[];function gn(a,b,c,d,e){return hn(a,b,c,d,e)}function hn(a,b,c,d,e){Array.isArray(c)||(c&&(fn[0]=c.toString()),c=fn);for(var f=0;f<c.length;f++){var g=Cj(b,c[f],d||a.handleEvent,e||!1,a.f||a);if(!g)break;a.a[g.key]=g}return a}function jn(a,b,c){kn(a,b,"K",c,void 0)}function kn(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)kn(a,b,c[g],d,e,f);else(b=Dj(b,c,d||a.handleEvent,e,f||a.f||a))&&(a.a[b.key]=b)}
function ln(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)ln(a,b,c[g],d,e,f);else d=d||a.handleEvent,e=p(e)?!!e.capture:!!e,f=f||a.f||a,d=Ej(d),e=!!e,c=rj(b)?yj(b.ha,String(c),d,e,f):b?(b=Gj(b))?yj(b,c,d,e,f):null:null,c&&(Lj(c),delete a.a[c.key]);return a}function mn(a){sb(a.a,function(b,c){this.a.hasOwnProperty(c)&&Lj(b)},a);a.a={}}en.prototype.X=function(){en.W.X.call(this);mn(this)};en.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function nn(){}ya(nn);nn.prototype.a=0;function on(a){Pj.call(this);this.j=a||$d();this.zb=pn;this.ba=null;this.L=!1;this.F=null;this.Ba=void 0;this.fa=this.O=this.Z=this.a=null}t(on,Pj);on.prototype.nd=nn.G();var pn=null;
function qn(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?"highlight":"unhighlight";case 4:return b?"activate":"deactivate";case 8:return b?"select":"unselect";case 16:return b?"check":"uncheck";case 32:return b?"focus":"blur";case 64:return b?"open":"close"}throw Error("Invalid component state");}function rn(a){return a.ba||(a.ba=":"+(a.nd.a++).toString(36))}h=on.prototype;h.o=function(){return this.F};function sn(a){a.Ba||(a.Ba=new en(a));return a.Ba}
function tn(a,b){if(a==b)throw Error("Unable to set parent component");var c;if(c=b&&a.Z&&a.ba){c=a.Z;var d=a.ba;c=c.fa&&d?wb(c.fa,d)||null:null}if(c&&a.Z!=b)throw Error("Unable to set parent component");a.Z=b;on.W.Xb.call(a,b)}h.Xb=function(a){if(this.Z&&this.Z!=a)throw Error("Method not supported");on.W.Xb.call(this,a)};h.nc=function(){return this.L};h.Za=function(){this.F=me(this.j.f,"DIV")};
function un(a,b,c){if(a.L)throw Error("Component already rendered");a.F||a.Za();b?b.insertBefore(a.F,c||null):a.j.f.body.appendChild(a.F);a.Z&&!a.Z.L||a.da()}h.da=function(){this.L=!0;vn(this,function(a){!a.L&&a.o()&&a.da()})};h.ja=function(){vn(this,function(a){a.L&&a.ja()});this.Ba&&mn(this.Ba);this.L=!1};h.X=function(){this.L&&this.ja();this.Ba&&(this.Ba.wa(),delete this.Ba);vn(this,function(a){a.wa()});this.F&&qe(this.F);this.Z=this.a=this.F=this.fa=this.O=null;on.W.X.call(this)};
function wn(a,b){xn(a,b,yn(a))}
function xn(a,b,c){if(b.L)throw Error("Component already rendered");if(0>c||c>yn(a))throw Error("Child component index out of bounds");a.fa&&a.O||(a.fa={},a.O=[]);if(b.Z==a){var d=rn(b);a.fa[d]=b;fb(a.O,b)}else{d=a.fa;var e=rn(b);if(null!==d&&e in d)throw Error('The object already contains the key "'+e+'"');d[e]=b}tn(b,a);db(a.O,b,c);b.L&&a.L&&b.Z==a?(a=a.Cb(),c=a.childNodes[c]||null,c!=b.o()&&a.insertBefore(b.o(),c)):(a.F||a.Za(),c=zn(a,c+1),un(b,a.Cb(),c?c.F:null))}h.Cb=function(){return this.F};
function yn(a){return a.O?a.O.length:0}function zn(a,b){return a.O?a.O[b]||null:null}function vn(a,b){a.O&&w(a.O,b,void 0)}function An(a,b){if(b){var c="string"===typeof b?b:rn(b);b=a.fa&&c?wb(a.fa,c)||null:null;if(c&&b){var d=a.fa;c in d&&delete d[c];fb(a.O,b);b.ja();b.F&&qe(b.F);tn(b,null)}}if(!b)throw Error("Child is not in parent component");return b}function Bn(a){for(var b=[];a.O&&0!=a.O.length;)b.push(An(a,zn(a,0)))};function Cn(){}var Dn;ya(Cn);var En={button:"pressed",checkbox:"checked",menuitem:"selected",menuitemcheckbox:"checked",menuitemradio:"checked",radio:"checked",tab:"selected",treeitem:"selected"};Cn.prototype.la=function(a){return a.j.a("DIV",Fn(this,a).join(" "),a.yb)};function Gn(a,b,c){if(a=a.o?a.o():a){var d=[b];Bd&&!Sd("7")&&(d=Hn(Ym(a),b),d.push(b));(c?bn:dn)(a,d)}}
function In(a,b){var c;if(a.ta&32&&(c=a.o())){if(!b&&a.ma&32){try{c.blur()}catch(d){}a.ma&32&&a.fc(null)}(ve(c)&&we(c))!=b&&(b?c.tabIndex=0:(c.tabIndex=-1,c.removeAttribute("tabIndex")))}}function Jn(a,b,c){Dn||(Dn={1:"disabled",8:"selected",16:"checked",64:"expanded"});b=Dn[b];var d=a.getAttribute("role")||null;d&&(d=En[d]||b,b="checked"==b||"selected"==b?d:b);b&&Wm(a,b,c)}Cn.prototype.qa=function(){return"goog-control"};
function Fn(a,b){var c=a.qa(),d=[c],e=a.qa();e!=c&&d.push(e);c=b.ma;for(e=[];c;){var f=c&-c;e.push(Kn(a,f));c&=~f}d.push.apply(d,e);(c=b.cc)&&d.push.apply(d,c);Bd&&!Sd("7")&&d.push.apply(d,Hn(d));return d}function Hn(a,b){var c=[];b&&(a=hb(a,[b]));w([],function(d){!Ya(d,Ka(bb,a))||b&&!bb(d,b)||c.push(d.join("_"))});return c}function Kn(a,b){if(!a.f){var c=a.qa();a.f={1:c+"-disabled",2:c+"-hover",4:c+"-active",8:c+"-selected",16:c+"-checked",32:c+"-focused",64:c+"-open"}}return a.f[b]};function Ln(){}t(Ln,Cn);function Mn(){}t(Mn,Ln);ya(Mn);Mn.prototype.qa=function(){return"fluidgrid-container"};Mn.prototype.la=function(a){try{var b=a.j.a("DIV",Fn(this,a).join(" "));Z(b,"position","relative");this.N(b,a.f);return b}catch(c){}finally{}};Mn.prototype.N=function(a,b){a&&b&&ol(a,b)};function Nn(a,b){a&&b&&nl(a,b)};function On(){}t(On,Cn);function Pn(){}t(Pn,On);ya(Pn);h=Pn.prototype;h.qa=function(){return"fluidgrid-container-item"};h.la=function(a){var b=a.j.a("DIV",Fn(this,a).join(" "));try{(0,a.M)(b,a.a,a.K)}catch(c){}Z(b,"position","absolute");Z(b,"overflow-x","hidden");this.N(b,a.D);this.ob(b,a.f);this.pb(b,a.s);return b};h.N=function(a,b){a&&ol(a,b)};function Qn(a){return a?pl(a).height:0}h.ob=function(a,b){a&&Z(a,"left",Math.floor(b)+"px")};h.pb=function(a,b){a&&Z(a,"top",Math.floor(b)+"px")};function Rn(a,b,c,d,e,f){if(Fd&&!Sd("525"))return!0;if(Gd&&e)return Sn(a);if(e&&!d)return!1;if(!Ed){"number"===typeof b&&(b=Tn(b));var g=17==b||18==b||Gd&&91==b;if((!c||Gd)&&g||Gd&&16==b&&(d||f))return!1}if((Fd||Cd)&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(Bd&&d&&b==a)return!1;switch(a){case 13:return Ed?f||e?!1:!(c&&d):!0;case 27:return!(Fd||Cd||Ed)}return Ed&&(d||e||f)?!1:Sn(a)}
function Sn(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||(Fd||Cd)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:case 58:return!0;case 173:return Ed;default:return!1}}function Tn(a){if(Ed)a=Un(a);else if(Gd&&Fd)switch(a){case 93:a=91}return a}
function Un(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};function Vn(a,b){Pj.call(this);a&&Wn(this,a,b)}t(Vn,Pj);h=Vn.prototype;h.Ta=null;h.sb=null;h.Tb=null;h.tb=null;h.ra=-1;h.Ea=-1;h.xb=!1;
var Xn={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Yn={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Zn=!Fd||Sd("525"),$n=Gd&&Ed;h=Vn.prototype;
h.Lc=function(a){if(Fd||Cd)if(17==this.ra&&!a.ctrlKey||18==this.ra&&!a.altKey||Gd&&91==this.ra&&!a.metaKey)this.Ea=this.ra=-1;-1==this.ra&&(a.ctrlKey&&17!=a.j?this.ra=17:a.altKey&&18!=a.j?this.ra=18:a.metaKey&&91!=a.j&&(this.ra=91));Zn&&!Rn(a.j,this.ra,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.Ea=Tn(a.j),$n&&(this.xb=a.altKey))};h.Nc=function(a){this.Ea=this.ra=-1;this.xb=a.altKey};
h.handleEvent=function(a){var b=a.a,c=b.altKey;if(Bd&&"keypress"==a.type){var d=this.Ea;var e=13!=d&&27!=d?b.keyCode:0}else(Fd||Cd)&&"keypress"==a.type?(d=this.Ea,e=0<=b.charCode&&63232>b.charCode&&Sn(d)?b.charCode:0):Ad&&!Fd?(d=this.Ea,e=Sn(d)?b.keyCode:0):("keypress"==a.type?($n&&(c=this.xb),b.keyCode==b.charCode?32>b.keyCode?(d=b.keyCode,e=0):(d=this.Ea,e=b.charCode):(d=b.keyCode||this.Ea,e=b.charCode||0)):(d=b.keyCode||this.Ea,e=b.charCode||0),Gd&&63==e&&224==d&&(d=191));var f=d=Tn(d);d?63232<=
d&&d in Xn?f=Xn[d]:25==d&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in Yn&&(f=Yn[b.keyIdentifier]);Ed&&Zn&&"keypress"==a.type&&!Rn(f,this.ra,a.shiftKey,a.ctrlKey,c,a.metaKey)||(a=f==this.ra,this.ra=f,b=new ao(f,e,a,b),b.altKey=c,X(this,b))};h.o=function(){return this.Ta};function Wn(a,b,c){a.tb&&bo(a);a.Ta=b;a.sb=Cj(a.Ta,"keypress",a,c);a.Tb=Cj(a.Ta,"keydown",a.Lc,c,a);a.tb=Cj(a.Ta,"keyup",a.Nc,c,a)}
function bo(a){a.sb&&(Lj(a.sb),Lj(a.Tb),Lj(a.tb),a.sb=null,a.Tb=null,a.tb=null);a.Ta=null;a.ra=-1;a.Ea=-1}h.X=function(){Vn.W.X.call(this);bo(this)};function ao(a,b,c,d){mj.call(this,d);this.type="key";this.j=a;this.repeat=c}t(ao,mj);var co={};function eo(a,b,c){on.call(this,c);if(!b){for(b=this.constructor;b;){var d=Ca(b);if(d=co[d])break;b=(b=Object.getPrototypeOf(b.prototype))&&b.constructor}b=d?Ba(d.G)?d.G():new d:null}this.i=b;this.yb=void 0!==a?a:null}t(eo,on);h=eo.prototype;h.yb=null;h.ma=0;h.ta=39;h.bb=255;h.cc=null;h.Eb=!0;function fo(a){a.L&&0!=a.Eb&&go(a,!1);a.Eb=!1}
h.Za=function(){var a=this.i.la(this);this.F=a;var b=Bd||Ad?a.getElementsByTagName("*"):null;if(sl){var c="none";a.style&&(a.style[sl]=c);if(b)for(var d=0,e;e=b[d];d++)e.style&&(e.style[sl]=c)}else if(Bd||Ad)if(c="on",a.setAttribute("unselectable",c),b)for(d=0;e=b[d];d++)e.setAttribute("unselectable",c);this.isVisible()||(rl(a,!1),a&&Wm(a,"hidden",!0))};h.Cb=function(){return this.o()};
h.da=function(){eo.W.da.call(this);var a=this.F;this.isVisible()||Wm(a,"hidden",!this.isVisible());this.za()||Jn(a,1,!this.za());this.ta&8&&Jn(a,8,!!(this.ma&8));this.ta&16&&Jn(a,16,!!(this.ma&16));this.ta&64&&Jn(a,64,!!(this.ma&64));a=this.i;null==this.zb&&(this.zb="rtl"==hl(this.L?this.F:this.j.f.body,"direction"));this.zb&&Gn(this.o(),a.qa()+"-rtl",!0);this.za()&&In(this,this.isVisible());if(this.ta&-2&&(this.Eb&&go(this,!0),this.ta&32&&(a=this.o()))){var b=this.Ra||(this.Ra=new Vn);Wn(b,a);gn(gn(gn(sn(this),
b,"key",this.Mc),a,"focus",this.Kc),a,"blur",this.fc)}};
function go(a,b){var c=sn(a),d=a.o();b?(gn(gn(gn(hn(c,d,lj.vb,a.Db,void 0),d,[lj.wb,lj.Zb],a.Fb),d,"mouseover",a.kc),d,"mouseout",a.jc),a.lb!=xa&&hn(c,d,"contextmenu",a.lb,void 0),Bd&&(Sd(9)||hn(c,d,"dblclick",a.hc,void 0),a.Wa||(a.Wa=new ho(a),cj(a,Ka(dj,a.Wa))))):(ln(ln(ln(ln(c,d,lj.vb,a.Db),d,[lj.wb,lj.Zb],a.Fb),d,"mouseover",a.kc),d,"mouseout",a.jc),a.lb!=xa&&ln(c,d,"contextmenu",a.lb),Bd&&(Sd(9)||ln(c,d,"dblclick",a.hc),dj(a.Wa),a.Wa=null))}
h.ja=function(){eo.W.ja.call(this);this.Ra&&bo(this.Ra);this.isVisible()&&this.za()&&In(this,!1)};h.X=function(){eo.W.X.call(this);this.Ra&&(this.Ra.wa(),delete this.Ra);delete this.i;this.Wa=this.cc=this.yb=null};h.isVisible=function(){return!0};h.za=function(){return!(this.ma&1)};function io(a,b){jo(a,2,b)&&ko(a,2,b)}h.jb=function(){return!!(this.ma&4)};h.Na=function(a){jo(this,4,a)&&ko(this,4,a)};
function ko(a,b,c,d){if(!d&&1==b)b=!c,c=a.Z,c&&"function"==typeof c.za&&!c.za()||!jo(a,1,!b)||(b||(a.Na(!1),io(a,!1)),a.isVisible()&&In(a,b),ko(a,1,!b,!0));else if(a.ta&b&&c!=!!(a.ma&b)){var e=a.i;if(d=a.o())(e=Kn(e,b))&&Gn(a,e,c),Jn(d,b,c);a.ma=c?a.ma|b:a.ma&~b}}function lo(a,b,c){if(a.L&&a.ma&b&&!c)throw Error("Component already rendered");!c&&a.ma&b&&ko(a,b,!1);a.ta=c?a.ta|b:a.ta&~b}function mo(a,b){return!!(a.bb&b)&&!!(a.ta&b)}function no(a,b,c){a.bb=c?a.bb|b:a.bb&~b}
function jo(a,b,c){return!!(a.ta&b)&&!!(a.ma&b)!=c&&(!(0&b)||X(a,qn(b,c)))&&!a.ea}h.kc=function(a){(!a.relatedTarget||!te(this.o(),a.relatedTarget))&&X(this,"enter")&&this.za()&&mo(this,2)&&io(this,!0)};h.jc=function(a){a.relatedTarget&&te(this.o(),a.relatedTarget)||!X(this,"leave")||(mo(this,4)&&this.Na(!1),mo(this,2)&&io(this,!1))};h.lb=xa;
h.Db=function(a){if(this.za()&&(mo(this,2)&&io(this,!0),pj(a)&&(!Gd||!a.ctrlKey))){mo(this,4)&&this.Na(!0);var b;if(b=this.i){var c;b=this.ta&32&&(c=this.o())?ve(c)&&we(c):!1}b&&this.o().focus()}!pj(a)||Gd&&a.ctrlKey||a.i()};h.Fb=function(a){this.za()&&(mo(this,2)&&io(this,!0),this.jb()&&oo(this,a)&&mo(this,4)&&this.Na(!1))};h.hc=function(a){this.za()&&oo(this,a)};
function oo(a,b){if(mo(a,16)){var c=!(a.ma&16);jo(a,16,c)&&ko(a,16,c)}mo(a,8)&&jo(a,8,!0)&&ko(a,8,!0);mo(a,64)&&(c=!(a.ma&64),jo(a,64,c)&&ko(a,64,c));c=new kj("action",a);b&&(c.altKey=b.altKey,c.ctrlKey=b.ctrlKey,c.metaKey=b.metaKey,c.shiftKey=b.shiftKey,c.s=b.s);return X(a,c)}h.Kc=function(){mo(this,32)&&jo(this,32,!0)&&ko(this,32,!0)};h.fc=function(){mo(this,4)&&this.Na(!1);mo(this,32)&&jo(this,32,!1)&&ko(this,32,!1)};
h.Mc=function(a){return this.isVisible()&&this.za()&&13==a.j&&oo(this,a)?(a.i(),a.stopPropagation(),!0):!1};if(!Ba(eo))throw Error("Invalid component class "+eo);if(!Ba(Cn))throw Error("Invalid renderer class "+Cn);var po=Ca(eo);co[po]=Cn;function qo(){return new eo(null)}if(!Ba(qo))throw Error("Invalid decorator function "+qo);
function ho(a){$i.call(this);this.f=a;this.a=!1;this.i=new en(this);cj(this,Ka(dj,this.i));a=this.f.F;gn(gn(hn(this.i,a,lj.vb,this.F,void 0),a,lj.wb,this.s),a,"click",this.j)}t(ho,$i);var ro=!Bd||9<=Number(Vd);ho.prototype.F=function(){this.a=!1};ho.prototype.s=function(){this.a=!0};
function so(a,b){if(!ro)return a.button=0,a.type=b,a;var c=document.createEvent("MouseEvents");c.initMouseEvent(b,a.bubbles,a.cancelable,a.view||null,a.detail,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,0,a.relatedTarget||null);return c}ho.prototype.j=function(a){if(this.a)this.a=!1;else{var b=a.a,c=b.button,d=b.type,e=so(b,"mousedown");this.f.Db(new mj(e,a.f));e=so(b,"mouseup");this.f.Fb(new mj(e,a.f));ro||(b.button=c,b.type=d)}};
ho.prototype.X=function(){this.f=null;ho.W.X.call(this)};function to(a,b,c,d,e){eo.call(this,null,Pn.G(),e);lo(this,255,!1);lo(this,2,!0);no(this,255,!1);no(this,2,!0);this.a=a;this.K=b;this.D=c;this.M=d;this.s=this.f=0}t(to,eo);to.prototype.N=function(a){this.D=a;this.L&&this.i.N(this.o(),a)};function uo(a,b){a.f=b;a.L&&a.i.ob(a.o(),b)}function vo(a,b){a.s=b;a.L&&a.i.pb(a.o(),b)};function wo(){Yc.G();this.a=new Map;this.i={root:null,rootMargin:"0px",threshold:.5};var a=this;this.f=new IntersectionObserver(function(b){xo(a,b)},this.i)}ya(wo);function yo(a,b,c,d){this.a=null;this.i=d;this.f=a;this.V=b;this.timeout=c}function zo(a,b,c,d,e){var f=void 0===f?null:f;var g="goog_"+Vc++;b.setAttribute("data-viewability-id",g);a.a.set(g,new yo(c,d,y.ia(e)?e:1E3,f));a.f.observe(b)}
function Ao(a,b){a.f.unobserve(b);if(b.hasAttribute("data-viewability-id")){var c=b.getAttribute("data-viewability-id"),d=a.a.get(c);y.h(d)&&(y.h(d.a)&&m.clearTimeout(d.a),a.a["delete"](c));b.removeAttribute("data-viewability-id")}}
function xo(a,b){w(b,function(c){var d=c.target,e=d.getAttribute("data-viewability-id"),f=a.a.get(e);if(y.h(e)&&!Rc(e)&&y.h(f)){e=f.a;var g=!1;p(f.i)&&y.h(f.i.always_on)&&(g=!0);g?(y.h(e)&&(m.clearTimeout(e),f.a=null),f.a=Sj(function(){y.h(f.V)&&f.V(f.f,c.isIntersecting)},f.timeout)):c.isIntersecting?y.h(e)||(f.a=Sj(function(){Ao(a,d);y.h(f.V)&&f.V(f.f,c.isIntersecting)},f.timeout)):y.h(e)&&(m.clearTimeout(e),f.a=null)}else Ao(a,d)})};function Bo(a,b,c,d,e,f,g,k){eo.call(this,null,Mn.G(),k);lo(this,255,!1);no(this,255,!1);fo(this);this.a=g||[];this.R=e;this.M=f;this.ua=a;this.ca=b;this.va=c;this.Y=d;this.T=0;this.s=null;this.f=this.K=this.D=0}t(Bo,eo);h=Bo.prototype;h.da=function(){Bo.W.da.call(this);this.ga=new Rj(50);var a=sn(this);hn(a,this.ga,"tick",this.Wc,void 0);hn(a,this,"a",this.Vc,void 0);this.ga.start();Co(this)};h.H=function(){return this.va};function Do(a){return a.H().item.width}
function Eo(a){return a.H().item.margin}h.Wc=function(){var a=tl(this.ca);a.width!=this.f&&(this.N(a.width),X(this,"a"))};h.Vc=function(){var a=this,b=Fo(a);this.D!=b?(vn(a,function(c){Bn(c)}),Bn(a),Co(a)):(a.D=b,a.K=Go(a),w(a.s,function(c,d){c.left=Ho(a,d);w(c.a,function(e){uo(e,c.left)})}))};
function Io(a,b){if(b){var c=a.T++,d=Number.MAX_VALUE,e=0;w(a.s,function(l,n){l.height<d&&(d=l.height,e=n)});var f=a.s[e],g=new to(b,c,Do(a),a.Y);wn(a,g);zo(wo.G(),g.o(),b,a.R);y.h(a.M)&&Jo(a,g,c);uo(g,f.left);vo(g,(0!==f.height?Eo(a):0)+f.height);f.height+=(0!==f.height?Eo(a):0)+(g.L?Qn(g.o()):0);f.a.push(g);var k=0;w(a.s,function(l){l.height>k&&(k=l.height)});a.L&&Nn(a.o(),k)}}
function Jo(a,b,c){var d=Cj(b.o(),"click",function(e){var f=0;for(e=e.target;re(e)&&e!==document.body&&128>f++;){if(e.tagName==="A".toString()){Lj(d);a.M(b.a,function(g){var k=b.D,l=b.f,n=b.s;An(a,zn(a,c));var r=new to(g,c,Do(a),a.Y);r.N(k);uo(r,l);vo(r,n);xn(a,r,c);zo(wo.G(),r.o(),g,a.R);Jo(a,r,c)});break}e=se(e)}})}h.N=function(a){this.f=a;this.L&&this.i.N(this.o(),a)};
function Co(a){a.T=0;a.f=tl(a.ca).width;a.D=Fo(a);a.K=Go(a);a.s=[];for(var b=0;b<a.D;b++)a.s.push(new Ko(Ho(a,b)));a.L&&Nn(a.o(),0);w(a.a,function(c){Io(a,c)})}function Fo(a){return Math.max(1,(a.f+Eo(a))/(Do(a)+Eo(a))>>0)}function Go(a){var b=a.D*(Do(a)+Eo(a))-Eo(a);switch(a.ua){case "left":return 0;case "right":return a.f-b;default:return(a.f-b)/2>>0}}function Ho(a,b){return a.K+b*(Do(a)+Eo(a))}function Ko(a){this.a=[];this.left=a;this.height=0};function Lo(a,b,c){var d=new kh;y.h(b)&&y.J(b)&&qh(d,b);y.h(c)&&y.J(c)&&sh(d,c);var e=Bk.G();b=a.parent_element;if(y.h(b)&&b instanceof HTMLElement){var f=b;var g="center";b=a.align;if(y.h(b))if(y.C(b))switch(b){case "center":g="center";break;case "left":g="left";break;case "right":g="right";break;default:W(d,Mo("align"));return}else{W(d,Mo("align"));return}var k=10;b=a.page_size;if(y.h(b)){if(!y.l(b)||0>b||100<b){W(d,Mo("page_size"));return}k=b}var l=Infinity;b=a.max_page_count;if(y.h(b)){if(!y.l(b)||
0>b){W(d,Mo("max_page_count"));return}l=b}var n=function(){};b=a.item_content_renderer;if(y.h(b))if(y.J(b))n=b;else{W(d,Mo("item_content_renderer"));return}var r=null;b=a.properties;if(y.h(b))if(p(b))r=b;else{W(d,Mo("properties"));return}var v=2;b=a.ctx;if(y.h(b))if(y.l(b))v=b;else{W(d,Mo("ctx"));return}b=a.block_id;if(!y.h(b)||!y.l(b)||0>b)W(d,Mo("block_id"));else{var u=b;var x="RANK";b=a.sort_type;y.h(b)&&(y.C(b)?x=b:W(d,Mo("sort_type")));var E=0;b=a.fields;if(y.h(b))if(y.l(b))E=b;else{W(d,Mo("fields"));
return}var D=!1;b=a.has_images;if(y.h(b))if(y.$(b))D=b;else{W(d,Mo("has_images"));return}var G=!1;b=a.has_recommend;if(y.h(b))if(y.$(b))G=b;else{W(d,Mo("has_recommend"));return}var C=null;b=a.topics;if(y.h(b))if(y.isArray(b))C=b;else{W(d,Mo("topics"));return}var K=0;b=a.publisher;if(y.h(b))if(y.l(b))K=b;else{W(d,Mo("publisher"));return}var R=null;b=a.filter_publishers;if(y.h(b))if(y.isArray(b))R=b;else{W(d,Mo("filter_publishers"));return}var T=null;b=a.loc_id;if(y.h(b))if(y.l(b))T=b;else{W(d,Mo("loc_id"));
return}var V=0;b=a.strategy_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,Mo("strategy_id"));return}V=b}var P=0;b=a.trend_id;if(y.h(b))if(y.l(b))P=b;else{W(d,Mo("trend_id"));return}Ae("jsapi.ui.block.AggregatorFluidGridBlock","create",function(){try{var N=!1,S=!1,A={init:!0,ctx:v,block_id:u,sort_type:x,fields:E,has_images:D,has_recommend:G,topics:C,publisher:K,filter_publishers:R,loc_id:T,strategy_id:V,trend_id:P};A.count=k;Ok(e,A,function(Q){try{var da=new Bo(g,f,r,n,function(Ea){Xk(Ea,"VIEWABILITY")},function(Ea,
Vb){Xk(Ea,"CLICK");A.count=1;Ok(e,A,function(ie){ie&&0<ie.length?Vb.call(this,ie[0]):S=!0;N=!1},function(){N=!1})},Q)}catch(Ea){W(d,Ea);return}try{un(da,f)}catch(Ea){W(d,Ea);return}1<l&&Cj(window,"scroll",function(){A.init=!1;!S&&!N&&0>=il(f).y+pl(da.o()).height-(je(document).y+ge().height)-500&&(N=!0,A.count=k,Ok(e,A,function(Ea){Ea&&0<Ea.length?(w(Ea,function(Vb){var ie=da;ie.a.push(Vb);Io(ie,Vb)}),da.a.length/k>=l&&(S=!0)):S=!0;N=!1},function(){N=!1}))});d.V(da)},function(){})}catch(Q){W(d,Q)}},
function(){},function(N){W(d,N)})}}else W(d,Mo("parent_element"))}function Mo(a){return Error("The '"+a+"' parameter is invalid")};function No(){}t(No,Ln);ya(No);No.prototype.qa=function(){return"list-container"};No.prototype.la=function(a){return a.j.a("DIV",Fn(this,a).join(" "))};function Oo(){}t(Oo,On);ya(Oo);Oo.prototype.qa=function(){return"list-container-item"};Oo.prototype.la=function(a){var b=a.j.a("DIV",Fn(this,a).join(" "));try{(0,a.s)(b,a.a,a.f)}catch(c){}return b};function Po(a,b,c,d){eo.call(this,null,Oo.G(),d);lo(this,255,!1);lo(this,2,!0);no(this,255,!1);no(this,2,!0);this.a=a;this.f=b;this.s=c}t(Po,eo);function Qo(a,b,c,d,e,f,g){eo.call(this,null,No.G(),g);lo(this,255,!1);no(this,255,!1);fo(this);this.a=f||[];this.s=d;this.f=e;this.M=b;this.D=c;this.K=0}t(Qo,eo);Qo.prototype.da=function(){Qo.W.da.call(this);var a=this;w(a.a,function(b){Ro(a,b)})};Qo.prototype.H=function(){return this.M};function So(a,b){a.a.push(b);a.nc&&Ro(a,b)}function Ro(a,b){if(b){var c=a.K++,d=new Po(b,c,a.D);wn(a,d);zo(wo.G(),d.o(),b,a.s);y.h(a.f)&&To(a,d,c)}}
function To(a,b,c){var d=Cj(b.o(),"click",function(e){var f=0;for(e=e.target;re(e)&&e!==document.body&&128>f++;){if(e.tagName==="A".toString()){Lj(d);a.f(b.a,function(g){An(a,zn(a,c));var k=new Po(g,c,a.D);xn(a,k,c);zo(wo.G(),k.o(),g,a.s);To(a,k,c)});break}e=se(e)}})};function Uo(a,b,c){var d=new kh;y.h(b)&&y.J(b)&&qh(d,b);y.h(c)&&y.J(c)&&sh(d,c);var e=Bk.G();b=a.parent_element;if(y.h(b)&&b instanceof HTMLElement){var f=b;var g=10;b=a.page_size;if(y.h(b)){if(!y.l(b)||0>b||100<b){W(d,Vo("page_size"));return}g=b}var k=Infinity;b=a.max_page_count;if(y.h(b)){if(!y.l(b)||0>b){W(d,Vo("max_page_count"));return}k=b}var l=function(){};b=a.item_content_renderer;if(y.h(b))if(y.J(b))l=b;else{W(d,Vo("item_content_renderer"));return}var n=null;b=a.properties;if(y.h(b))if(p(b))n=
b;else{W(d,Vo("properties"));return}var r=2;b=a.ctx;if(y.h(b))if(y.l(b))r=b;else{W(d,Vo("ctx"));return}b=a.block_id;if(!y.h(b)||!y.l(b)||0>b)W(d,Vo("block_id"));else{var v=b;var u="RANK";b=a.sort_type;y.h(b)&&(y.C(b)?u=b:W(d,Vo("sort_type")));var x=0;b=a.fields;if(y.h(b))if(y.l(b))x=b;else{W(d,Vo("fields"));return}var E=!1;b=a.has_images;if(y.h(b))if(y.$(b))E=b;else{W(d,Vo("has_images"));return}var D=!1;b=a.has_recommend;if(y.h(b))if(y.$(b))D=b;else{W(d,Vo("has_recommend"));return}var G=null;b=a.topics;
if(y.h(b))if(y.isArray(b))G=b;else{W(d,Vo("topics"));return}var C=0;b=a.publisher;if(y.h(b))if(y.l(b))C=b;else{W(d,Vo("publisher"));return}var K=null;b=a.filter_publishers;if(y.h(b))if(y.isArray(b))K=b;else{W(d,Vo("filter_publishers"));return}var R=null;b=a.loc_id;if(y.h(b))if(y.l(b))R=b;else{W(d,Vo("loc_id"));return}var T=0;b=a.strategy_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,Vo("strategy_id"));return}T=b}var V=0;b=a.trend_id;if(y.h(b))if(y.l(b))V=b;else{W(d,Vo("trend_id"));return}Ae("jsapi.ui.block.AggregatorListBlock",
"create",function(){try{var P=!1,N=!1,S={init:!0,ctx:r,block_id:v,sort_type:u,fields:x,has_images:E,has_recommend:D,topics:G,publisher:C,filter_publishers:K,loc_id:R,strategy_id:T,trend_id:V};S.count=g;Ok(e,S,function(A){try{var Q=new Qo(f,n,l,function(da){Xk(da,"VIEWABILITY")},function(da,Ea){Xk(da,"CLICK");S.count=1;Ok(e,S,function(Vb){Vb&&0<Vb.length?Ea.call(this,Vb[0]):N=!0;P=!1},function(){P=!1})},A)}catch(da){W(d,da);return}try{un(Q,f)}catch(da){W(d,da);return}1<k&&Cj(window,"scroll",function(){S.init=
!1;!N&&!P&&0>=il(f).y+pl(Q.o()).height-(je(document).y+ge().height)-500&&(P=!0,S.count=g,Ok(e,S,function(da){da&&0<da.length?(w(da,function(Ea){So(Q,Ea)}),Q.a.length/g>=k&&(N=!0)):N=!0;P=!1},function(){P=!1}))});d.V(Q)},function(){})}catch(A){W(d,A)}},function(){},function(P){W(d,P)})}}else W(d,Vo("parent_element"))}function Vo(a){return Error("The '"+a+"' parameter is invalid")};function Wo(){this.F=this.a=this.f=this.j=this.i=0};function Xo(){Pj.call(this);this.a=Yo;this.endTime=this.f=null}t(Xo,Pj);var Yo=0;Xo.prototype.s=function(){this.Ca("begin")};Xo.prototype.j=function(){this.Ca("end")};Xo.prototype.Ca=function(a){X(this,a)};function Zo(a,b,c){$i.call(this);this.a=a;this.j=b||0;this.f=c;this.i=Ja(this.Hc,this)}t(Zo,$i);h=Zo.prototype;h.ba=0;h.X=function(){Zo.W.X.call(this);this.stop();delete this.a;delete this.f};h.start=function(a){this.stop();this.ba=Sj(this.i,void 0!==a?a:this.j)};h.stop=function(){0!=this.ba&&m.clearTimeout(this.ba);this.ba=0};h.Hc=function(){this.ba=0;this.a&&this.a.call(this.f)};var $o={},ap=null;function bp(a){a=Ca(a);delete $o[a];vb($o)&&ap&&ap.stop()}function cp(){ap||(ap=new Zo(function(){dp()},20));var a=ap;0!=a.ba||a.start()}function dp(){var a=La();sb($o,function(b){ep(b,a)});vb($o)||cp()};function fp(a,b,c,d){Xo.call(this);if(!Array.isArray(a)||!Array.isArray(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.i=a;this.K=b;this.duration=c;this.O=d;this.coords=[];this.progress=0}t(fp,Xo);
function gp(a){if(a.a==Yo)a.progress=0,a.coords=a.i;else if(1==a.a)return;bp(a);var b=La();a.f=b;-1==a.a&&(a.f-=a.duration*a.progress);a.endTime=a.f+a.duration;a.progress||a.s();a.Ca("play");-1==a.a&&a.Ca("resume");a.a=1;var c=Ca(a);c in $o||($o[c]=a);cp();ep(a,b)}h=fp.prototype;h.stop=function(a){bp(this);this.a=Yo;a&&(this.progress=1);hp(this,this.progress);this.Ca("stop");this.j()};h.pause=function(){1==this.a&&(bp(this),this.a=-1,this.Ca("pause"))};
h.X=function(){this.a==Yo||this.stop(!1);this.Ca("destroy");fp.W.X.call(this)};function ep(a,b){b<a.f&&(a.endTime=b+a.endTime-a.f,a.f=b);a.progress=(b-a.f)/(a.endTime-a.f);1<a.progress&&(a.progress=1);hp(a,a.progress);1==a.progress?(a.a=Yo,bp(a),a.Ca("finish"),a.j()):1==a.a&&a.Vb()}function hp(a,b){Ba(a.O)&&(b=a.O(b));a.coords=Array(a.i.length);for(var c=0;c<a.i.length;c++)a.coords[c]=(a.K[c]-a.i[c])*b+a.i[c]}h.Vb=function(){this.Ca("animate")};h.Ca=function(a){X(this,new ip(a,this))};
function ip(a,b){kj.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.z=b.coords[2];this.duration=b.duration;this.progress=b.progress;this.state=b.a}t(ip,kj);(function(){if(Hd){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(xc))?a[1]:"0"}return Gd?(a=/10[_.][0-9_.]+/,(a=a.exec(xc))?a[0].replace(/_/g,"."):"10"):Jd?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(xc))?a[1]:""):Kd||Ld||Md?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(xc))?a[1].replace(/_/g,"."):""):""})();function jp(a){return(a=a.exec(xc))?a[1]:""}(function(){if(De)return jp(/Firefox\/([0-9.]+)/);if(Bd||Cd||Ad)return Wb;if(He)return xd()?jp(/CriOS\/([0-9.]+)/):jp(/Chrome\/([0-9.]+)/);if(Ie&&!xd())return jp(/Version\/([0-9.]+)/);if(Ee||Fe){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(xc);if(a)return a[1]+"."+a[2]}else if(Ge)return(a=jp(/Android\s+([0-9.]+)/))?a:jp(/Version\/([0-9.]+)/);return""})();function kp(a,b,c,d,e){fp.call(this,b,c,d,e);this.D=a}t(kp,fp);kp.prototype.F=xa;kp.prototype.Vb=function(){this.F();kp.W.Vb.call(this)};kp.prototype.j=function(){this.F();kp.W.j.call(this)};kp.prototype.s=function(){this.F();kp.W.s.call(this)};function lp(a,b,c,d,e){if(2!==b.length||2!==c.length)throw Error("Start and end points must be 2D");kp.call(this,a,b,c,d,e)}t(lp,kp);lp.prototype.F=function(){Z(this.D,"left",-Math.floor(this.coords[0])+"px");Z(this.D,"top",-Math.floor(this.coords[1])+"px")};function mp(){}t(mp,On);ya(mp);h=mp.prototype;h.qa=function(){return"scroll-container-item"};h.la=function(a){var b=a.j.a("DIV",Fn(this,a).join(" "));try{(0,a.K)(b,a.a,a.D)}catch(c){}yl(b);Z(b,"overflow","hidden");this.N(b,a.s);b&&nl(b,a.f);this.ob(b,0);this.pb(b,0);return b};h.N=function(a,b){a&&ol(a,b)};h.ob=function(a,b){a&&Z(a,"left",Math.floor(b)+"px")};h.pb=function(a,b){a&&Z(a,"top",Math.floor(b)+"px")};function np(a,b,c,d,e,f){eo.call(this,null,mp.G(),f);lo(this,255,!1);lo(this,2,!0);no(this,255,!1);no(this,2,!0);this.a=a;this.D=b;this.s=c;this.f=d;this.K=e}t(np,eo);np.prototype.N=function(a){this.s=a;this.L&&this.i.N(this.o(),a)};function op(){}t(op,Cn);function pp(){}t(pp,op);ya(pp);pp.prototype.la=function(a){var b=me(a.j.f,"DIV");Z(b,"overflow","hidden");this.N(b,a.s);b&&nl(b,a.f);return b};pp.prototype.N=function(a,b){a&&ol(a,b)};function qp(a,b,c){eo.call(this,null,pp.G(),c);lo(this,255,!1);no(this,255,!1);fo(this);this.s=a;this.f=b}t(qp,eo);qp.prototype.N=function(a){this.s=a;this.L&&this.i.N(this.o(),a)};function rp(a,b){a.f=b;if(a.L){var c=a.o();c&&nl(c,b)}};function sp(a){return 1-Math.pow(1-a,3)}function tp(a){return 3*a*a-2*a*a*a};function up(){}t(up,Cn);up.prototype.qa=function(){return"scroll-container"};up.prototype.N=function(a,b){a&&ol(a,b)};function vp(a,b){return b.f<wp(b)-1?a.Oa(b,b.f*a.ka(b),!0,tp):a.Wb(b,!0)}function xp(a,b){return 0<b.f?a.Oa(b,b.f*a.ka(b),!1,tp):a.Wb(b,!1)}function yp(a){var b=0;vn(a,function(c,d){c instanceof qp&&0==d%2&&vn(c,function(e,f){0==f%2&&e instanceof np&&b++})});return b};function zp(){}t(zp,Cn);function Ap(){}t(Ap,zp);ya(Ap);h=Ap.prototype;h.la=function(a){var b=a.j;b=b.a("DIV",void 0,b.a("DIV"));Z(b,"position","relative");Z(b.firstChild,"position","absolute");Z(b.firstChild,"top",(Bp(a)?Bp(a).top:0)+"px");Z(b.firstChild,"left",(Bp(a)?Bp(a).left:0)+"px");this.Qb(b,a.H().size);this.Rb(b,a.H().style);this.Ob(b,a.H().color);this.Pb(b,Bp(a));this.N(b,Bp(a),a.s);this.rb(b,Bp(a),Bp(a)?Bp(a).top+Bp(a).bottom:0);return b};
h.N=function(a,b,c){a&&(ol(a,c),b&&(c-=b.left,c-=b.right),ol(a.firstChild,c))};h.rb=function(a,b,c){a&&(nl(a,c),b&&(c-=b.top),nl(a.firstChild,c))};h.Qb=function(a,b){a&&Z(a.firstChild,"border-top-width",b+"px")};h.Rb=function(a,b){a&&Z(a.firstChild,"border-top-style",b)};h.Ob=function(a,b){a&&Z(a.firstChild,"border-top-color",b)};h.Pb=function(a,b){a&&(b||Z(a,"margin","none"))};function Cp(a,b,c,d,e){eo.call(this,null,b,e);lo(this,255,!1);no(this,255,!1);fo(this);this.D=a;this.s=c||0;this.f=d||0}t(Cp,eo);Cp.prototype.H=function(){return this.D};Cp.prototype.N=function(a){this.s=a;this.L&&this.i.N(this.o(),this.H().padding,a)};function Dp(a,b){a.f=b;a.L&&a.i.rb(a.o(),a.H().padding,b)}function Bp(a){return a.H().padding};function Ep(){}t(Ep,zp);ya(Ep);h=Ep.prototype;h.la=function(a){var b=a.j;b=b.a("DIV",void 0,b.a("DIV"));yl(b);Z(b,"position","relative");Z(b.firstChild,"position","absolute");Z(b.firstChild,"top",(Bp(a)?Bp(a).top:0)+"px");Z(b.firstChild,"left",(Bp(a)?Bp(a).left:0)+"px");ol(b,(a.H().size||0)+(Bp(a)?Bp(a).left+Bp(a).right:0));this.Qb(b,a.H().size);this.Rb(b,a.H().style);this.Ob(b,a.H().color);this.Pb(b,Bp(a));this.rb(b,Bp(a),a.f);return b};
h.rb=function(a,b,c){a&&(nl(a,c),b&&(c-=b.top,c-=b.bottom),nl(a.firstChild,c))};h.Qb=function(a,b){a&&Z(a.firstChild,"border-left-width",b+"px")};h.Rb=function(a,b){a&&Z(a.firstChild,"border-left-style",b)};h.Ob=function(a,b){a&&Z(a.firstChild,"border-left-color",b)};h.Pb=function(a,b){a&&(b||Z(a,"margin","none"))};function Fp(){}t(Fp,up);ya(Fp);h=Fp.prototype;h.la=function(a){var b=a.j.a("DIV",Fn(this,a).join(" "));a.F=b;Z(b,"position","absolute");this.N(b,a.s);b&&nl(b,a.M);return b};
h.qb=function(a,b){var c=a.j,d=yp(a),e=d,f=a.R,g=d%f;d=d/f>>0;for(var k=0,l;k<b.length;){for(;g<f&&k<b.length;g++){for(var n=zn(a,2*g),r=zn(a,2*g+1),v,u=v=0;u<=d;u++)0!=u&&(v+=a.ga),v+=Gp(a,u);n?(n.N(v),r&&(l=zn(r,0))&&(r.N(v),l.N(v))):(0!==g&&(r=new qp(v,a.ca),wn(r,new Cp(a.H().hs,Ap.G(),v,void 0)),wn(a,r)),n=new qp(v,Hp(a,g)),wn(a,n));0!==d&&(l=new Cp(a.H().vs,Ep.G(),void 0,Hp(a,g)),wn(n,l));r=b[k];v=new np(r,++e,Gp(a,d),Hp(a,g),a.Ga,c);wn(n,v);zo(wo.G(),v.o(),r,a.Fa);y.h(a.Aa)&&Ip(this,a,v,e,d,
g,n,yn(n)-1);k++}d++;g=0}};function Ip(a,b,c,d,e,f,g,k){var l=Cj(c.o(),"click",function(n){var r=0;for(n=n.target;re(n)&&n!==document.body&&128>r++;){if(n.tagName==="A".toString()){Lj(l);(0,b.Aa)(c.a,function(v){An(g,zn(g,k));var u=new np(v,d,Gp(b,e),Hp(b,f),b.Ga,b.j);xn(g,u,k);zo(wo.G(),u.o(),v,b.Fa);Ip(a,b,u,d,e,f,g,k)});break}n=se(n)}})}
h.pc=function(a){var b=a.s*wp(a)+a.ga*(wp(a)-1),c=0;vn(a,function(e,f){var g=0;e instanceof qp&&(e.N(b),0===f%2?(rp(e,Hp(a,c)),vn(e,function(k,l){if(0===l%2){if(k instanceof np){k.N(Gp(a,g++));var n=Hp(a,c);k.f=n;if(k.L){var r=k.o();r&&nl(r,n)}}}else k instanceof Cp&&Dp(k,Hp(a,c))}),c++):vn(e,function(k){k instanceof Cp&&k.N(b)}))});var d=fl(a.o(),"left");d=d?-parseInt(d,10):0;d!==a.f*this.ka(a)?this.Pa(a,d):new Pg(function(e){e()})};
h.oc=function(a){Bn(a);this.qb(a,a.a);var b=fl(a.o(),"left");b=b?-parseInt(b,10):0;b!==a.f*this.ka(a)?this.Pa(a,b):new Pg(function(c){c()})};h.yc=function(a,b){var c=a.f*this.ka(a),d=b.f-b.i,e=c-d;0==a.f?0<d&&(e=c-25*(1-Math.pow(Math.E,-d/25))):a.f==wp(a)-1&&0>d&&(e=c- -25*(1-Math.pow(Math.E,-d/-25)));Z(a.o(),"left",-e+"px")};
h.xc=function(a,b){var c=this.ka(a);c=ed(Math.floor(a.f*c-(b.f-b.i)),-25,(wp(a)-1)*c+25);if(25<Math.abs(b.f-b.i))if(0>b.f-b.i){if(a.f<wp(a)-1)return this.Oa(a,c+30,!0,sp)}else if(0<a.f)return this.Oa(a,c-30,!1,sp);return this.Pa(a,c)};h.Oa=function(a,b,c,d){var e=this;return new Pg(function(f){var g=new lp(a.o(),[b,0],[(a.f+(c?1:-1))*e.ka(a),0],Gp(a,0)*a.K,d);Dj(g,"end",function(){Jp(a,a.f+(c?1:-1));f()});gp(g)})};
h.Wb=function(a,b){var c=this;return new Pg(function(d){var e=a.f*c.ka(a),f=e+25*(b?1:-1);var g=new lp(a.o(),[e,0],[f,0],200);Dj(g,"end",function(){g=new lp(a.o(),[f,0],[e,0],300);Dj(g,"end",function(){d()});gp(g)});gp(g)})};h.Pa=function(a,b){var c=this;return new Pg(function(d){var e=new lp(a.o(),[b,0],[a.f*c.ka(a),0],500,sp);Dj(e,"end",function(){d()});gp(e)})};h.ka=function(a){return a.s+a.ga};function Kp(){}t(Kp,up);ya(Kp);h=Kp.prototype;h.la=function(a){var b=a.j.a("DIV",Fn(this,a).join(" "));a.F=b;Z(b,"position","absolute");this.N(b,a.s);b&&nl(b,a.M);return b};
h.qb=function(a,b){var c=a.j,d=yp(a),e=d,f=a.K,g=d/f>>0;d%=f;for(var k=0;k<b.length;){var l=zn(a,2*g);l||(0!==g&&(l=new qp(a.s,a.ca),wn(l,new Cp(a.H().hs,Ap.G(),a.s,void 0)),wn(a,l)),l=new qp(a.s,Hp(a,g)),wn(a,l));for(;d<f&&k<b.length;d++,k++){if(0!==d){var n=new Cp(a.H().vs,Ep.G(),void 0,Hp(a,g));wn(l,n)}n=b[k];var r=new np(n,e,Gp(a,d),Hp(a,g),a.Ga,c);wn(l,r);zo(wo.G(),r.o(),n,a.Fa);y.h(a.Aa)&&Lp(this,a,r,e,d,g,l,yn(l)-1);e++}g++;d=0}};
function Lp(a,b,c,d,e,f,g,k){var l=Cj(c.o(),"click",function(n){var r=0;for(n=n.target;re(n)&&n!==document.body&&128>r++;){if(n.tagName==="A".toString()){Lj(l);(0,b.Aa)(c.a,function(v){An(g,zn(g,k));var u=new np(v,d,Gp(b,e),Hp(b,f),b.Ga,b.j);xn(g,u,k);zo(wo.G(),u.o(),v,b.Fa);Lp(a,b,u,d,e,f,g,k)});break}n=se(n)}})}
h.pc=function(a){var b=0;vn(a,function(d,e){var f=0;d instanceof qp&&(d.N(a.s),0===e%2?(rp(d,Hp(a,b)),vn(d,function(g,k){if(0===k%2){if(g instanceof np){g.N(Gp(a,f++));var l=Hp(a,b);g.f=l;if(g.L){var n=g.o();n&&nl(n,l)}}}else g instanceof Cp&&Dp(g,Hp(a,b))}),b++):vn(d,function(g){g instanceof Cp&&g.N(a.s)}))});var c=fl(a.o(),"top");c=c?-parseInt(c,10):0;c!==a.f*this.ka(a)?this.Pa(a,c):new Pg(function(d){d()})};
h.oc=function(a){Bn(a);this.qb(a,a.a);var b=fl(a.o(),"top");b=b?-parseInt(b,10):0;b!==a.f*this.ka(a)?this.Pa(a,b):new Pg(function(c){c()})};h.yc=function(a,b){var c=a.f*this.ka(a),d=b.a-b.j,e=c-d;0==a.f?0<d&&(e=c-25*(1-Math.pow(Math.E,-d/25))):a.f==wp(a)-1&&0>d&&(e=c- -25*(1-Math.pow(Math.E,-d/-25)));Z(a.o(),"top",-e+"px")};
h.xc=function(a,b){var c=this.ka(a);c=ed(Math.floor(a.f*c-(b.a-b.j)),-25,(wp(a)-1)*c+25);if(25<Math.abs(b.a-b.j))if(0>b.a-b.j){if(a.f<wp(a)-1)return this.Oa(a,c+30,!0,sp)}else if(0<a.f)return this.Oa(a,c-30,!1,sp);return this.Pa(a,c)};h.Oa=function(a,b,c,d){var e=this;return new Pg(function(f){var g=new lp(a.o(),[0,b],[0,(a.f+(c?1:-1))*e.ka(a)],3.5*Hp(a,0)*a.R,d);Dj(g,"end",function(){Jp(a,a.f+(c?1:-1));f()});gp(g)})};
h.Wb=function(a,b){var c=this;return new Pg(function(d){var e=a.f*c.ka(a),f=e+25*(b?1:-1);var g=new lp(a.o(),[0,e],[0,f],200);Dj(g,"end",function(){g=new lp(a.o(),[0,f],[0,e],300);Dj(g,"end",function(){d()});gp(g)});gp(g)})};h.Pa=function(a,b){var c=this;return new Pg(function(d){var e=new lp(a.o(),[0,b],[0,a.f*c.ka(a)],500,sp);Dj(e,"end",function(){d()});gp(e)})};h.ka=function(a){return a.M+a.ca};function Mp(){}t(Mp,Cn);Mp.prototype.N=xa;Mp.prototype.Mb=xa;function Np(a,b){var c=a.o();c&&c.firstChild&&Z(c.firstChild,"border-radius",Math.round(b/2)+"px")}function Op(a,b){var c=a.o();c&&c.firstChild&&Z(c.firstChild,"background-color",b)}function Pp(a,b){var c;b&&(c=a.o())&&(Z(c,"padding-top",b.top?b.top+"px":0),Z(c,"padding-bottom",b.bottom?b.bottom+"px":0),Z(c,"padding-left",b.left?b.left+"px":0),Z(c,"padding-right",b.right?b.right+"px":0))}
function Qp(a,b){var c;b&&(c=a.o())&&(Z(c,"margin-top",b.top?b.top+"px":0),Z(c,"margin-bottom",b.bottom?b.bottom+"px":0),Z(c,"margin-left",b.left?b.left+"px":0),Z(c,"margin-right",b.right?b.right+"px":0))};function Rp(a,b,c){Pj.call(this);this.target=a;this.s=b||a;this.j=c||new cl(NaN,NaN,NaN,NaN);this.i=be(a);this.a=new en(this);cj(this,Ka(dj,this.a));this.deltaY=this.deltaX=this.K=this.D=this.screenY=this.screenX=this.clientY=this.clientX=0;this.f=!1;this.O=0;Cj(this.s,["touchstart","mousedown"],this.wc,!1,this);this.F=Sp}t(Rp,Pj);var Sp=m.document&&m.document.documentElement&&!!m.document.documentElement.setCapture&&!!m.document.releaseCapture;h=Rp.prototype;
h.X=function(){Rp.W.X.call(this);Kj(this.s,["touchstart","mousedown"],this.wc,!1,this);mn(this.a);this.F&&this.i.releaseCapture();this.s=this.target=null};
h.wc=function(a){var b="mousedown"==a.type;if(this.f||b&&(!pj(a)||Gd&&a.ctrlKey))X(this,"earlycancel");else{if(0==this.O)if(X(this,new Tp("start",this,a.clientX,a.clientY,a)))this.f=!0,b&&a.i();else return;else b&&a.i();b=this.i;var c=b.documentElement,d=!this.F;gn(this.a,b,["touchmove","mousemove"],this.Pc,{capture:d,passive:!1});gn(this.a,b,["touchend","mouseup"],this.fb,d);this.F?(c.setCapture(!1),hn(this.a,c,"losecapture",this.fb,void 0)):hn(this.a,b?b.parentWindow||b.defaultView:window,"blur",
this.fb,void 0);this.Z&&hn(this.a,this.Z,"scroll",this.vd,d);this.clientX=this.D=a.clientX;this.clientY=this.K=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.deltaX=this.target.offsetLeft;this.deltaY=this.target.offsetTop;this.ub=je($d(this.i).f)}};h.fb=function(a,b){mn(this.a);this.F&&this.i.releaseCapture();this.f?(this.f=!1,X(this,new Tp("end",this,a.clientX,a.clientY,a,Up(this,this.deltaX),Vp(this,this.deltaY),b||"touchcancel"==a.type))):X(this,"earlycancel")};
h.Pc=function(a){var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.f){var d=this.D-this.clientX,e=this.K-this.clientY;if(d*d+e*e>this.O)if(X(this,new Tp("start",this,a.clientX,a.clientY,a)))this.f=!0;else{this.ea||this.fb(a);return}}c=Wp(this,b,c);b=c.x;c=c.y;this.f&&X(this,new Tp("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(Xp(this,a,b,c),a.i())};
function Wp(a,b,c){var d=je($d(a.i).f);b+=d.x-a.ub.x;c+=d.y-a.ub.y;a.ub=d;a.deltaX+=b;a.deltaY+=c;return new Yd(Up(a,a.deltaX),Vp(a,a.deltaY))}h.vd=function(a){var b=Wp(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Xp(this,a,b.x,b.y)};function Xp(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";X(a,new Tp("drag",a,b.clientX,b.clientY,b,c,d))}
function Up(a,b){var c=a.j,d=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(null!=d?d+c:Infinity,Math.max(null!=d?d:-Infinity,b))}function Vp(a,b){var c=a.j,d=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(null!=d?d+c:Infinity,Math.max(null!=d?d:-Infinity,b))}function Tp(a,b,c,d,e,f,g){kj.call(this,a);this.clientX=c;this.clientY=d;this.left=void 0!==f?f:b.deltaX;this.top=void 0!==g?g:b.deltaY}t(Tp,kj);function Yp(a,b,c,d,e){eo.call(this,null,d,e);lo(this,255,!1);no(this,255,!1);fo(this);this.ga=a;this.R=!1;this.M=b;this.K=c;this.D=this.T=this.s=this.Y=0}t(Yp,eo);h=Yp.prototype;h.da=function(){Yp.W.da.call(this);var a=this;a.f=new Rp(a.o().firstChild,null,new cl(0,0,0,0));a.f.O=Math.pow(5,2);Cj(a.f,"start",function(){a.ca=!1});Cj(a.f,"beforedrag",function(b){a.ca&&b.i()});Cj(a.f,"drag",function(b){b="horizontal"==a.i.ab()?b.left:b.top;b!=a.s&&X(a,new Zp("b",a,b>a.s))})};
h.ja=function(){Yp.W.ja.call(this);ej(this.f)};h.H=function(){return this.ga};function $p(a){var b=a.T,c=a.D,d=!1,e=Math.floor(("horizontal"==a.i.ab()?a.M:a.K)/c),f=e*b;e!=a.Y&&(a.Y=e,a.L&&a.i.qc(a,e),d=!0);f!=a.s&&(a.s=f,a.L&&a.i.rc(a,f),d=!0);f=Math.max(0,f-(0!=b?e:0));b=e+(0!=b&&b!=c-1?e:0);if(d)switch(a.i.ab()){case "horizontal":a.f.j=new cl(f,0,b,0);break;case "vertical":a.f.j=new cl(0,f,0,b)}}h.jb=function(){return this.R};h.Na=function(a){this.R=a;if(this.L){var b=this.o();b&&rl(b,a)}};
h.N=function(a){this.M=a;this.L&&this.i.N(this,a)};function Zp(a,b,c){kj.call(this,a,b);this.direction=c}t(Zp,kj);function aq(){}t(aq,Mp);ya(aq);h=aq.prototype;h.la=function(a){var b=a.j,c;b=b.a("DIV",void 0,c=b.a("DIV"));a.F=b;Z(b,"position","absolute");Z(b,"bottom","0px");Z(b,"left","0px");Z(b,"z-index","100");Z(c,"position","relative");Z(c,"top","0px");Z(c,"left","0px");Z(c,"cursor","pointer");(c=a.o())&&rl(c,!1);this.Nb(a,a.H().size);Np(a,a.H().rounded?a.H().size:0);c=a.H().background;var d=a.o();d&&Z(d,"background-color",c);Op(a,a.H().color);Pp(a,a.H().padding);Qp(a,a.H().margin);this.N(a,a.M);return b};
h.ab=function(){return"horizontal"};h.N=function(a,b){var c=a.o();if(c){var d=b,e=a.H();if(e){var f=e.padding;f&&(d-=(f.left||0)+(f.right||0));(e=e.margin)&&(d-=(e.left||0)+(e.right||0))}ol(c,d)}};h.Nb=function(a,b){var c=a.o();c&&c.firstChild&&(nl(c,b),nl(c.firstChild,b))};h.qc=function(a,b){var c=a.o();if(c&&c.firstChild){var d=b,e=a.H();if(e){var f=e.padding;f&&(d-=(f.left||0)+(f.right||0));(e=e.margin)&&(d-=(e.left||0)+(e.right||0))}ol(c.firstChild,d)}};
h.rc=function(a,b){var c=a.o();c&&c.firstChild&&Z(c.firstChild,"left",b+"px")};function bq(){}t(bq,Mp);ya(bq);h=bq.prototype;h.la=function(a){var b=a.j,c;b=b.a("DIV",void 0,c=b.a("DIV"));a.F=b;Z(b,"position","absolute");Z(b,"top","0px");Z(b,"right","0px");Z(b,"z-index","100");Z(c,"position","relative");Z(c,"top","0px");Z(c,"right","0px");Z(c,"cursor","pointer");(c=a.o())&&rl(c,!1);this.Nb(a,a.H().size);Np(a,a.H().rounded?a.H().size:0);c=a.H().background;var d=a.o();d&&Z(d,"background-color",c);Op(a,a.H().color);Pp(a,a.H().padding);Qp(a,a.H().margin);this.Mb(a,a.K);return b};
h.ab=function(){return"vertical"};h.Mb=function(a,b){var c=a.o();if(c){var d=b,e=a.H();if(e){var f=e.padding;f&&(d-=(f.top||0)+(f.bottom||0));(e=e.margin)&&(d-=(e.top||0)+(e.bottom||0))}nl(c,d)}};h.Nb=function(a,b){var c=a.o();c&&c.firstChild&&(ol(c,b),ol(c.firstChild,b))};h.qc=function(a,b){var c=a.o();if(c&&c.firstChild){var d=b,e=a.H();if(e){var f=e.padding;f&&(d-=(f.top||0)+(f.bottom||0));(e=e.margin)&&(d-=(e.top||0)+(e.bottom||0))}nl(c.firstChild,d)}};
h.rc=function(a,b){var c=a.o();c&&c.firstChild&&Z(c.firstChild,"top",b+"px")};function cq(a,b){Pj.call(this);this.a=a;var c=re(this.a)?this.a:this.a?this.a.body:null;this.F=!!c&&"rtl"==hl(c,"direction");this.f=Cj(this.a,Ed?"DOMMouseScroll":"mousewheel",this,b)}t(cq,Pj);
cq.prototype.handleEvent=function(a){var b=0,c=0,d=a.a;"mousewheel"==d.type?(a=dq(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=dq(-d.wheelDeltaX),c=dq(-d.wheelDeltaY)):c=a):(a=d.detail,100<a?a=3:-100>a&&(a=-3),void 0!==d.axis&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);"number"===typeof this.i&&(b=ed(b,-this.i,this.i));"number"===typeof this.j&&(c=ed(c,-this.j,this.j));this.F&&(b=-b);b=new eq(a,d,b,c);X(this,b)};function dq(a){return Fd&&(Gd||Id)&&0!=a%40?a:a/40}
cq.prototype.X=function(){cq.W.X.call(this);Lj(this.f);this.f=null};function eq(a,b,c,d){mj.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d}t(eq,mj);function fq(a,b,c,d,e,f,g,k){eo.call(this,null,d,k);lo(this,255,!1);no(this,255,!1);fo(this);this.a=[];this.Fa=e;this.Aa=f;this.Sa=a;this.od=b;this.Ga=c;this.gb=d instanceof Fp?gq:d instanceof Kp?hq:null;a=tl(this.Sa);this.s=a.width;this.M=a.height;this.T=null;c=b.vs;a=0;c&&(a+=c.size||0,(c=c.padding)&&(a+=(c.left||0)+(c.right||0)));this.ga=a;a=b.hs;b=0;a&&(b+=a.size||0,(a=a.padding)&&(b+=(a.top||0)+(a.bottom||0)));this.ca=b;this.K=iq(this);this.R=jq(this);this.va=kq(this);this.ua=lq(this);this.f=
0;this.Y=!1;this.D=new Wo;this.Jb=y.h(g)?g:!1}t(fq,eo);var gq="horizontal",hq="vertical";h=fq.prototype;
h.da=function(){fq.W.da.call(this);var a=this,b=a.Sa;a.H();switch(a.gb){case gq:a.T=new Yp(a.H().scroll,a.s,-1,aq.G());un(a.T,b);break;case hq:a.T=new Yp(a.H().scroll,-1,a.M,bq.G()),un(a.T,b)}a.Ya=new Rj(200);a.kb=new cq(b);var c=sn(a);hn(c,a.Ya,"tick",a.gd,void 0);gn(c,a,["c","d","e"],a.fd);hn(c,a.kb,"mousewheel",a.rd,void 0);hn(c,b,"touchstart",a.zd,void 0);hn(c,b,"touchmove",a.yd,void 0);hn(c,b,"touchend",a.xd,void 0);gn(c,a.T,"b",function(d){d.direction?a.Lb():a.Kb()});a.Ya.start();mq(a)};
h.ja=function(){fq.W.ja.call(this);ej(this.Ya,this.kb)};h.H=function(){return this.od};h.N=function(a){this.s=a;this.L&&this.i.N(this.o(),a)};function Gp(a,b){var c=a.va;b%a.K==a.K-1&&(c+=a.s-(a.K*a.va+(a.K-1)*a.ga));return c}function Hp(a,b){var c=a.ua;b%a.R==a.R-1&&(c+=a.M-(a.R*a.ua+(a.R-1)*a.ca));return c}function mq(a){var b=(a.f+3)*a.K*a.R-a.a.length;0<b&&X(a,new nq("f",a,b))}function Jp(a,b){a.f=ed(b,0,wp(a)-1);var c=a.T;c.T=ed(a.f,0,c.D-1);$p(c);mq(a)}
function wp(a){return Math.max(1,Math.ceil(a.a.length/(a.K*a.R)))}h.Lb=function(){oq(this,!0)};h.Kb=function(){oq(this,!1)};function pq(a,b){if(y.h(b)&&0<b.length){a.a=hb(a.a,b);a.L&&a.i.qb(a,b);var c=a.T;c.D=wp(a);1<c.D&&!c.jb()&&c.Na(!0);c.jb&&$p(c)}}function oq(a,b){a.L&&!a.Y&&(a.Y=!0,Zg(ah(Xg().then(function(){return new Pg(function(c){b?qq(a).then(function(){c()}):rq(a).then(function(){c()})})}),function(){}),function(){a.Y=!1;a.T.ca=!0}))}
function qq(a){return a.L?vp(a.i,a):new Pg(function(b){a.Y=!1;b()})}function rq(a){return a.L?xp(a.i,a):new Pg(function(b){a.Y=!1;b()})}h.gd=function(){var a=tl(this.Sa);this.s!=a.width&&this.M!=a.height?(this.s=a.width,this.M=a.height,X(this,"c")):this.s!=a.width?(this.s=a.width,X(this,"d")):this.M!=a.height&&(this.M=a.height,X(this,"e"))};
h.fd=function(){switch(this.T.i.ab()){case "horizontal":this.T.N(this.s);break;case "vertical":var a=this.T,b=this.M;a.K=b;a.L&&a.i.Mb(a,b)}a=iq(this);b=jq(this);this.K!==a||this.R!==b?(this.K=a,this.R=b,this.va=kq(this),this.ua=lq(this),this.f=0,this.L&&(a=this.i,a.oc(this)),mq(this)):(this.va=kq(this),this.ua=lq(this),this.L&&(a=this.i,a.pc(this)))};h.rd=function(a){0<a.deltaY?this.Lb():this.Kb();a.i()};
h.zd=function(a){if(!this.Y){a=a.a;var b;a&&a.targetTouches&&(b=a.targetTouches[0])&&(this.D.i=b.pageX,this.D.j=b.pageY,this.D.f=this.D.i,this.D.a=this.D.j,this.D.F=0)}};h.yd=function(a){if(!this.Y){var b=a.a,c;b&&b.targetTouches&&(c=b.targetTouches[0])&&(this.D.F=c.pageY-this.D.a,this.D.f=c.pageX,this.D.a=c.pageY,this.i.yc(this,this.D))}this.Jb&&this.gb==gq||a.i()};h.xd=function(){var a=this;a.Y||(a.Y=!0,Zg(ah(Xg().then(function(){return a.i.xc(a,a.D)}),function(){}),function(){a.Y=!1}))};
function iq(a){var b=a.H().item.size.width;return Math.max(1,Math.floor((a.s+a.ga)/(b+a.ga)))}function jq(a){var b=a.H().item.size.height;return Math.max(1,Math.floor((a.M+a.ca)/(b+a.ca)))}function kq(a){return Math.floor((a.s+a.ga-a.K*a.ga)/a.K)}function lq(a){return Math.round((a.M+a.ca-a.R*a.ca)/a.R)}function nq(a,b,c){kj.call(this,a,b);this.count=c}t(nq,kj);fq.prototype.scrollBack=fq.prototype.Kb;fq.prototype.scrollForward=fq.prototype.Lb;function sq(a,b,c){var d=new kh;y.h(b)&&y.J(b)&&qh(d,b);y.h(c)&&y.J(c)&&sh(d,c);var e=Bk.G();b=a.parent_element;if(y.h(b)&&b instanceof HTMLElement){var f=b;c="vertical";b=a.orientation;if(y.h(b))if(y.C(b))switch(b){case "vertical":c="vertical";break;case "horizontal":c="horizontal";break;default:W(d,tq("orientation"));return}else{W(d,tq("orientation"));return}switch(c){case "horizontal":var g=Fp.G();break;case "vertical":g=Kp.G();break;default:throw Error("Unknown orientation");}var k=function(){};
b=a.item_content_renderer;if(y.h(b))if(y.J(b))k=b;else{W(d,tq("item_content_renderer"));return}var l=null;b=a.properties;if(y.h(b))if(p(b))l=b;else{W(d,tq("properties"));return}var n=2;b=a.ctx;if(y.h(b))if(y.l(b))n=b;else{W(d,tq("ctx"));return}var r=void 0;b=a.allow_external_touch_scroll;if(y.h(b))if(y.$(b))r=b;else{W(d,tq("allow_external_touch_scroll"));return}b=a.block_id;if(!y.h(b)||!y.l(b)||0>b)W(d,tq("block_id"));else{var v=b;var u="RANK";b=a.sort_type;y.h(b)&&(y.C(b)?u=b:W(d,tq("sort_type")));
var x=0;b=a.fields;if(y.h(b))if(y.l(b))x=b;else{W(d,tq("fields"));return}var E=!1;b=a.has_images;if(y.h(b))if(y.$(b))E=b;else{W(d,tq("has_images"));return}var D=!1;b=a.has_recommend;if(y.h(b))if(y.$(b))D=b;else{W(d,tq("has_recommend"));return}var G=null;b=a.topics;if(y.h(b))if(y.isArray(b))G=b;else{W(d,tq("topics"));return}var C=0;b=a.publisher;if(y.h(b))if(y.l(b))C=b;else{W(d,tq("publisher"));return}var K=null;b=a.filter_publishers;if(y.h(b))if(y.isArray(b))K=b;else{W(d,tq("filter_publishers"));
return}var R=null;b=a.loc_id;if(y.h(b))if(y.l(b))R=b;else{W(d,tq("loc_id"));return}var T=0;b=a.strategy_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,tq("strategy_id"));return}T=b}var V=0;b=a.trend_id;if(y.h(b))if(y.l(b))V=b;else{W(d,tq("trend_id"));return}Ae("jsapi.ui.block.AggregatorScrollBlock","create",function(){try{Z(f,"position","relative");Z(f,"overflow","hidden");var P=!1,N=!1,S=new fq(f,l,k,g,function(Q){Xk(Q,"VIEWABILITY")},function(Q,da){Xk(Q,"CLICK");A.count=1;Ok(e,A,function(Ea){y.h(Ea)&&0<Ea.length?
da.call(this,Ea[0]):N=!0;P=!1},function(){P=!1})},r),A={init:!0,ctx:n,block_id:v,sort_type:u,fields:x,has_images:E,has_recommend:D,topics:G,publisher:C,filter_publishers:K,loc_id:R,strategy_id:T,trend_id:V};Cj(S,"f",function(Q){N||P||(P=!0,A.count=Q.count,Ok(e,A,function(da){A.init=!1;y.h(da)&&0<da.length?pq(S,da):N=!0;P=!1},function(){P=!1}))});un(S,f);d.V(S)}catch(Q){W(d,Q)}},function(){},function(P){W(d,P)})}}else W(d,tq("parent_element"))}
function tq(a){return Error("The '"+a+"' parameter is invalid")};function uq(){}t(uq,Ln);ya(uq);uq.prototype.qa=function(){return"zen-container"};uq.prototype.la=function(a){var b=a.j;return b.a("DIV",Fn(this,a).join(" "),[b.a("DIV","left-button",b.a("DIV","arrow")),b.a("DIV","right-button",b.a("DIV","arrow"))])};function vq(a){return ce("left-button",a.o())}function wq(a){return ce("right-button",a.o())};function xq(a){Pj.call(this);this.f={};this.a={};this.i=new en(this);this.j=a}t(xq,Pj);var yq=[Bd&&!Sd("11")?"readystatechange":"load","abort","error"];function zq(a,b,c){(c="string"===typeof c?c:c.src)&&(a.f[b]={src:c,bc:"anonymous"})}xq.prototype.start=function(){var a=this.f;w(ub(a),function(b){var c=a[b];if(c&&(delete a[b],!this.ea)){var d;this.j?d=$d(this.j).a("IMG"):d=new Image;c.bc&&(d.crossOrigin=c.bc);hn(this.i,d,yq,this.F,void 0);this.a[b]=d;d.id=b;d.src=c.src}},this)};
xq.prototype.F=function(a){var b=a.f;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));X(this,{type:a.type,target:b});!this.ea&&(a=b.id,delete this.f[a],b=this.a[a])&&(delete this.a[a],ln(this.i,b,yq,this.F),vb(this.a)&&vb(this.f)&&X(this,"complete"))}};xq.prototype.X=function(){delete this.f;delete this.a;dj(this.i);xq.W.X.call(this)};var Aq=null,Bq=null;function Cq(a,b){var c=b?b:{r:0,g:0,b:0},d=a.naturalWidth||a.offsetWidth||a.width,e=a.naturalHeight||a.offsetHeight||a.height;if(!d||!e||!Bq&&(Aq=ke("canvas"),Bq=Aq.getContext&&Aq.getContext("2d"),!Bq))return c;Aq.width=d;Aq.height=e;try{Bq.drawImage(a,0,0);var f=Bq.getImageData(0,0,d,e);var g=f.data;d={r:0,g:0,b:0};e=0;var k=g.length;for(f=0;(e+=20)<k;)d.r+=g[e],d.g+=g[e+1],d.b+=g[e+2],++f;d.r=~~(d.r/f);d.g=~~(d.g/f);d.b=~~(d.b/f);return d}catch(l){}return c}
function Dq(a,b){return(299*a.r+587*a.g+114*a.b)/1E3<(b?b:128)}function Eq(a,b,c){var d=new xq;Cj(d,["load","error"],function(e){"load"===e.type?b&&b.call(this,e.target):c&&c.call(this);d.wa()});zq(d,"goog_"+Vc++,a);d.start()};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!m.requestAnimationFrame;++c)m.requestAnimationFrame=m[b+"RequestAnimationFrame"],m.cancelAnimationFrame=m[b+"CancelAnimationFrame"]||m[b+"CancelRequestAnimationFrame"];if(!m.requestAnimationFrame){var d=0;m.requestAnimationFrame=function(e){var f=(new Date).getTime(),g=Math.max(0,16-(f-d));d=f+g;return m.setTimeout(function(){e(f+g)},g)};m.cancelAnimationFrame||(m.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var Fq=[[],[]],Gq=0,Hq=!1,Iq=0;function Jq(a,b){var c=Iq++,d={pd:{id:c,Ha:a.measure,context:b},td:{id:c,Ha:a.sd,context:b},state:{},sa:void 0,nb:!1};return function(){0<arguments.length?(d.sa||(d.sa=[]),d.sa.length=0,d.sa.push.apply(d.sa,arguments),d.sa.push(d.state)):d.sa&&0!=d.sa.length?(d.sa[0]=d.state,d.sa.length=1):d.sa=[d.state];d.nb||(d.nb=!0,Fq[Gq].push(d));Hq||(Hq=!0,window.requestAnimationFrame(Kq))}}
function Kq(){Hq=!1;var a=Fq[Gq],b=a.length;Gq=(Gq+1)%2;for(var c,d=0;d<b;++d){c=a[d];var e=c.pd;c.nb=!1;e.Ha&&e.Ha.apply(e.context,c.sa)}for(d=0;d<b;++d)c=a[d],e=c.td,c.nb=!1,e.Ha&&e.Ha.apply(e.context,c.sa),c.state={};a.length=0};function Lq(a,b,c,d,e,f,g){eo.call(this,null,uq.G(),g);lo(this,255,!1);no(this,255,!1);fo(this);this.a=f||[];this.va=d;this.Fa=e;this.Aa=b;this.ca=!1;this.Ga=c;this.f=null;this.R=new Mq;this.ga=null;this.T=this.K=this.D=!1;this.ua=null;this.s=!ij&&!cb(this.a);this.Y=this.M=!1}t(Lq,eo);h=Lq.prototype;
h.Za=function(){Lq.W.Za.call(this);Nq(".zen-container{position:relative;overflow:hidden;margin:0}.zen-container .list-container{position:relative!important;vertical-align:top!important;width:100%;white-space:nowrap;overflow-y:hidden;overflow-x:scroll;padding:0 0 30px;margin-bottom:-30px!important}.zen-container .list-container-item{display:inline-block;overflow:hidden;vertical-align:top;white-space:normal;width:210px;height:256px;margin-right:10px;border-radius:4px;position:relative}.zen-container .list-container-item .link{text-decoration:none}.zen-container .list-container-item .image{border:none;position:absolute;top:0;left:0;right:0;bottom:0;background-repeat:no-repeat;background-position:center center;background-size:cover;height:90%}.zen-container .list-container-item .content{position:absolute;bottom:0;left:0;right:0}.zen-container .list-container-item .gradient{height:50px}.zen-container .list-container-item .title{padding:0 15px 15px;font-family:Arial,sans-serif;font-size:16px;line-height:19px;font-weight:700}.zen-container .list-container-item .subtitle{padding:0 15px 15px;font-family:Arial,sans-serif;font-size:14px;font-weight:400} .zen-container .list-container-item .adLabel {\nfont-family: Roboto,Helvetica,Arial,sans-serif; font-style: normal;font-size: 11px; line-height: 16px;font-weight: 400; color: #fff;  letter-spacing: 0.36px; position: absolute;  top: 5px;right: 5px;text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.6);}\n  .zen-container .list-container-item .title-light{color:#000}.zen-container .list-container-item .title-dark{color:#fff}.zen-container .list-container-item .subtitle-light{color:#000}.zen-container .list-container-item .subtitle-dark{color:#fff}.zen-container .left-button,.zen-container .right-button{position:absolute;top:45%;transform:translateY(-50%) translateZ(0);-webkit-transform:translateY(-50%) translateZ(0);-ms-transform:translateY(-50%) translateZ(0);will-change:transform;height:68px;width:44px;display:block;cursor:pointer;transition:transform .4s ease;-webkit-transition:transform .4s ease;border-radius:3px;background-color:#fff;box-shadow:0 0 15px 0 #000;margin:10px;z-index:1}.zen-container .left-button{left:-64px}.zen-container .right-button{right:-80px}.zen-container .left-button.visible{transform:translateY(-50%) translateX(100%) translateX(20px);-webkit-transform:translateY(-50%) translateX(100%) translateX(20px);-ms-transform:translateY(-50%) translateX(100%) translateX(20px)}.zen-container .right-button.visible{transform:translateY(-50%) translateX(-100%) translateX(-36px);-webkit-transform:translateY(-50%) translateX(-100%) translateX(-36px);-ms-transform:translateY(-50%) translateX(-100%) translateX(-36px)}.zen-container .left-button .arrow,.zen-container .right-button .arrow{display:block;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);height:32px;width:32px;background-position:center;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTguNTksMTYuNThMMTMuMTcsMTJMOC41OSw3LjQxTDEwLDZMMTYsMTJMMTAsMThMOC41OSwxNi41OFoiIC8+PC9zdmc+);background-size:contain}.zen-container .left-button .arrow{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTE1LjQxLDE2LjU4TDEwLjgzLDEyTDE1LjQxLDcuNDFMMTQsNkw4LDEyTDE0LDE4TDE1LjQxLDE2LjU4WiIgLz48L3N2Zz4=)}.zen-container .right-button .arrow{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTguNTksMTYuNThMMTMuMTcsMTJMOC41OSw3LjQxTDEwLDZMMTYsMTJMMTAsMThMOC41OSwxNi41OFoiIC8+PC9zdmc+)}");this.f=
new Qo(this.o(),this.Aa,this.Ga,this.va,this.Fa,this.a);wn(this,this.f);this.ga=vq(this);this.ua=wq(this)};h.da=function(){Lq.W.da.call(this);var a=this,b=sn(a);gn(b,a.o(),["mouseover","mouseleave"],a.mc);hn(b,a.ga,"click",a.Oc,void 0);hn(b,a.ua,"click",a.Sc,void 0);hn(b,a.f.o(),"scroll",a.mc,void 0);Cj(a.R,"visibilitychange",function(){a.ca=!Oq(a.R)});a.ca=!Oq(a.R);null!=a.o()&&zo(wo.G(),a.o(),void 0,function(){a.ca&&a.va("viewability_block")})};h.H=function(){return this.Aa};
function Pq(a,b){!ij&&cb(a.a)&&(a.s=!0);a.a.push(b);a.nc&&So(a.f,b)}function Qq(a){a.L&&a.K&&(cn(vq(a),"visible"),a.K=!1)}function Rq(a){a.L&&a.M&&(cn(wq(a),"visible"),a.M=!1)}
h.mc=function(a){switch(a.type){case "mouseover":a=a.clientX;var b=this.o(),c=be(b),d=new Yd(0,0);var e=c?be(c):document;e=!Bd||9<=Number(Vd)||he($d(e).f)?e.documentElement:e.body;b!=e&&(b=jl(b),c=je($d(c).f),d.x=b.left+c.x,d.y=b.top+c.y);d=d.x;c=pl(this.o());a-d<c.width/2?(this.D&&!ij&&this.L&&!this.K&&(an(vq(this),"visible"),this.K=!0),Rq(this)):(this.s&&!ij&&this.L&&!this.M&&(an(wq(this),"visible"),this.M=!0),Qq(this));break;case "mouseleave":Qq(this);Rq(this);break;case "scroll":c=this.f.o(),
a=c.scrollLeft,d=c.scrollWidth,c=pl(c).width,this.D=0!==a,this.s=a+c<d,this.D||Qq(this),this.s||Rq(this),d-(a+c)<c&&X(this,"g")}};h.Oc=function(){var a=this;a.T||(a.T=!0,Sq(a,!0,function(){a.T=!1;a.D=0!==a.f.o().scrollLeft;a.D||Qq(a)}))};h.Sc=function(){var a=this;a.Y||(a.Y=!0,Sq(a,!1,function(){a.Y=!1;var b=a.f.o(),c=b.scrollLeft,d=b.scrollWidth;b=pl(b).width;a.s=c+b<d;a.s||Rq(a)}))};
function Sq(a,b,c){var d=a.f.o(),e=d.scrollLeft,f=d.scrollWidth,g=pl(d).width;e=Math.max(-10,Math.min(f-g+10,e+(b?-1:1)*g));e=Tq(a,e);0>e&&(e=-e-1);e=Math.max(0,e-(b?0:1));e=Math.abs(kl(zn(a.f,0).o(),zn(a.f,e).o()).x);var k=d.scrollLeft,l=e-k,n=+new Date,r=Jq({sd:function(){var v=+new Date-n;var u=v/250;1>u?u=l/2*u*u+k:(u--,u=-l/2*(u*(u-2)-1)+k);d.scrollLeft=u;500>v?r():c()}},a);r()}
function Tq(a,b){for(var c=zn(a.f,0).o(),d=0,e=yn(a.f)-1;d<=e;){var f=d+e>>>1,g=Math.abs(kl(c,zn(a.f,f).o()).x);if(g<b)d=f+1;else if(g>b)e=f-1;else return f}return-(d+1)};function Uq(a,b,c){var d=new kh;y.h(b)&&y.J(b)&&qh(d,b);y.h(c)&&y.J(c)&&sh(d,c);var e=Bk.G();b=a.parent_element;if(y.h(b)&&b instanceof HTMLElement){var f=b;var g=10;b=a.page_size;if(y.h(b)){if(!y.l(b)||0>b||100<b){W(d,Vq("page_size"));return}g=b}var k=Infinity;b=a.max_page_count;if(y.h(b)){if(!y.l(b)||0>b){W(d,Vq("max_page_count"));return}k=b}var l=function(){};b=a.item_content_renderer;if(y.h(b))if(y.J(b))l=b;else{W(d,Vq("item_content_renderer"));return}var n=null;b=a.properties;if(y.h(b))if(p(b))n=
b;else{W(d,Vq("properties"));return}var r=2;b=a.ctx;if(y.h(b))if(y.l(b))r=b;else{W(d,Vq("ctx"));return}b=a.block_id;if(!y.h(b)||!y.l(b)||0>b)W(d,Vq("block_id"));else{var v=b;var u="RANK";b=a.sort_type;y.h(b)&&(y.C(b)?u=b:W(d,Vq("sort_type")));var x=0;b=a.fields;if(y.h(b))if(y.l(b))x=b;else{W(d,Vq("fields"));return}var E=!1;b=a.has_images;if(y.h(b))if(y.$(b))E=b;else{W(d,Vq("has_images"));return}var D=!1;b=a.has_recommend;if(y.h(b))if(y.$(b))D=b;else{W(d,Vq("has_recommend"));return}var G=null;b=a.topics;
if(y.h(b))if(y.isArray(b))G=b;else{W(d,Vq("topics"));return}var C=0;b=a.publisher;if(y.h(b))if(y.l(b))C=b;else{W(d,Vq("publisher"));return}var K=null;b=a.filter_publishers;if(y.h(b))if(y.isArray(b))K=b;else{W(d,Vq("filter_publishers"));return}var R=null;b=a.loc_id;if(y.h(b))if(y.l(b))R=b;else{W(d,Vq("loc_id"));return}var T=0;b=a.strategy_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,Vq("strategy_id"));return}T=b}var V=0;b=a.trend_id;if(y.h(b))if(y.l(b))V=b;else{W(d,Vq("trend_id"));return}Ae("jsapi.ui.block.AggregatorZenBlock",
"create",function(){try{var P=!1,N=!1,S={init:!0,ctx:r,block_id:v,sort_type:u,fields:x,has_images:E,has_recommend:D,topics:G,publisher:C,filter_publishers:K,loc_id:R,strategy_id:T,trend_id:V};S.count=g;Ok(e,S,function(A){try{var Q=new Lq(f,n,l,function(da){Xk(da,"VIEWABILITY")},function(da,Ea){Xk(da,"CLICK");S.count=1;Ok(e,S,function(Vb){Vb&&0<Vb.length?Ea.call(this,Vb[0]):N=!0;P=!1},function(){P=!1})},A)}catch(da){W(d,da);return}try{un(Q,f)}catch(da){W(d,da);return}1<k&&Cj(Q,"g",function(){S.init=
!1;N||P||(P=!0,S.count=g,Ok(e,S,function(da){da&&0<da.length?(w(da,function(Ea){Pq(Q,Ea)}),Q.a.length/g>=k&&(N=!0)):N=!0;P=!1},function(){P=!1}))});d.V(Q)},function(){})}catch(A){W(d,A)}},function(){},function(P){W(d,P)})}}else W(d,Vq("parent_element"))}function Vq(a){return Error("The '"+a+"' parameter is invalid")};function Wq(a,b,c){var d=new kh;y.h(b)&&y.J(b)&&qh(d,b);y.h(c)&&y.J(c)&&sh(d,c);var e=Bk.G();b=a.block_type;if(y.h(b))switch(b){case 1:case 2:case 4:break;default:W(d,Xq("block_type"));return}b=a.parent_element;if(y.h(b)&&b instanceof HTMLElement){var f=b;var g="center";b=a.align;if(y.h(b))if(y.C(b))switch(b){case "center":g="center";break;case "left":g="left";break;case "right":g="right";break;default:W(d,Xq("align"));return}else{W(d,Xq("align"));return}var k=10;b=a.page_size;if(y.h(b)){if(!y.l(b)||
0>b||100<b){W(d,Xq("page_size"));return}k=b}var l=Infinity;b=a.max_page_count;if(y.h(b)){if(!y.l(b)||0>b){W(d,Xq("max_page_count"));return}l=b}var n=function(){};b=a.item_content_renderer;if(y.h(b))if(y.J(b))n=b;else{W(d,Xq("item_content_renderer"));return}var r=null;b=a.properties;if(y.h(b))if(p(b))r=b;else{W(d,Xq("properties"));return}b=a.block_id;if(!y.h(b)||!y.l(b)||0>b)W(d,Xq("block_id"));else{var v=b;var u=0;b=a.source_block_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,Xq("source_block_id"));return}u=
b}var x=0;b=a.topic_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,Xq("topic_id"));return}x=b}var E=0;b=a.strategy_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,Xq("strategy_id"));return}E=b}var D=0;b=a.source_id;y.h(b)&&(!y.l(b)||0>b||(D=b));var G=0;b=a.fields;if(y.h(b))if(y.l(b))G=b;else{W(d,Xq("fields"));return}var C=void 0;b=a.click_tracking;if(y.h(b))if(y.C(b))C=b;else{W(d,Xq("click_tracking"));return}Ae("jsapi.ui.block.FluidGridBlock","create",function(){try{var K=!1,R=!1,T={init:!0,block_id:v,source_block_id:u,topic_id:x,
strategy_id:E,source_id:D,fields:G,click_tracking:C};T.count=k;Fk(e,T,function(V){try{var P=new Bo(g,f,r,n,function(N){Xk(N,"VIEWABILITY")},function(N,S){Xk(N,"CLICK");T.count=1;Fk(e,T,function(A){A&&0<A.length?S.call(this,A[0]):R=!0;K=!1},function(){K=!1})},V)}catch(N){W(d,N);return}try{un(P,f)}catch(N){W(d,N);return}1<l&&Cj(window,"scroll",function(){T.init=!1;!R&&!K&&0>=il(f).y+pl(P.o()).height-(je(document).y+ge().height)-500&&(K=!0,T.count=k,Fk(e,T,function(N){N&&0<N.length?(w(N,function(S){var A=
P;A.a.push(S);Io(A,S)}),P.a.length/k>=l&&(R=!0)):R=!0;K=!1},function(){K=!1}))});d.V(P)},function(){})}catch(V){W(d,V)}},function(){},function(K){W(d,K)})}}else W(d,Xq("parent_element"))}function Xq(a){return Error("The '"+a+"' parameter is invalid")};function Yq(a,b,c){var d=new kh;y.h(b)&&y.J(b)&&qh(d,b);y.h(c)&&y.J(c)&&sh(d,c);var e=Bk.G();b=a.block_type;if(y.h(b))switch(b){case 1:case 2:case 4:break;default:W(d,Zq("block_type"));return}b=a.parent_element;if(y.h(b)&&b instanceof HTMLElement){var f=b;var g=10;b=a.page_size;if(y.h(b)){if(!y.l(b)||0>b||100<b){W(d,Zq("page_size"));return}g=b}var k=Infinity;b=a.max_page_count;if(y.h(b)){if(!y.l(b)||0>b){W(d,Zq("max_page_count"));return}k=b}var l=function(){};b=a.item_content_renderer;if(y.h(b))if(y.J(b))l=
b;else{W(d,Zq("item_content_renderer"));return}var n=null;b=a.properties;if(y.h(b))if(p(b))n=b;else{W(d,Zq("properties"));return}b=a.block_id;if(!y.h(b)||!y.l(b)||0>b)W(d,Zq("block_id"));else{var r=b;var v=0;b=a.source_block_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,Zq("source_block_id"));return}v=b}var u=0;b=a.topic_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,Zq("topic_id"));return}u=b}var x=0;b=a.strategy_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,Zq("strategy_id"));return}x=b}var E=0;b=a.source_id;y.h(b)&&(!y.l(b)||0>
b||(E=b));var D=0;b=a.fields;if(y.h(b))if(y.l(b))D=b;else{W(d,Zq("fields"));return}var G=void 0;b=a.click_tracking;if(y.h(b))if(y.C(b))G=b;else{W(d,Zq("click_tracking"));return}Ae("jsapi.ui.block.ListBlock","create",function(){try{var C=!1,K=!1,R={init:!0,block_id:r,source_block_id:v,topic_id:u,strategy_id:x,source_id:E,fields:D,click_tracking:G};R.count=g;Fk(e,R,function(T){try{var V=new Qo(f,n,l,function(P){Xk(P,"VIEWABILITY")},function(P,N){Xk(P,"CLICK");R.count=1;Fk(e,R,function(S){S&&0<S.length?
N.call(this,S[0]):K=!0;C=!1},function(){C=!1})},T)}catch(P){W(d,P);return}try{un(V,f)}catch(P){W(d,P);return}1<k&&Cj(window,"scroll",function(){R.init=!1;!K&&!C&&0>=il(f).y+pl(V.o()).height-(je(document).y+ge().height)-500&&(C=!0,R.count=g,Fk(e,R,function(P){P&&0<P.length?(w(P,function(N){So(V,N)}),V.a.length/g>=k&&(K=!0)):K=!0;C=!1},function(){C=!1}))});d.V(V)},function(){})}catch(T){W(d,T)}},function(){},function(C){W(d,C)})}}else W(d,Zq("parent_element"))}
function Zq(a){return Error("The '"+a+"' parameter is invalid")};function $q(a,b,c){var d=new kh;y.h(b)&&y.J(b)&&qh(d,b);y.h(c)&&y.J(c)&&sh(d,c);var e=Bk.G();b=a.block_type;if(y.h(b))switch(b){case 1:case 2:case 4:break;default:W(d,ar("block_type"));return}b=a.parent_element;if(y.h(b)&&b instanceof HTMLElement){var f=b;c="vertical";b=a.orientation;if(y.h(b))if(y.C(b))switch(b){case "vertical":c="vertical";break;case "horizontal":c="horizontal";break;default:W(d,ar("orientation"));return}else{W(d,ar("orientation"));return}switch(c){case "horizontal":var g=Fp.G();
break;case "vertical":g=Kp.G();break;default:throw Error("Unknown orientation");}var k=function(){};b=a.item_content_renderer;if(y.h(b))if(y.J(b))k=b;else{W(d,ar("item_content_renderer"));return}var l=void 0;b=a.allow_external_touch_scroll;if(y.h(b))if(y.$(b))l=b;else{W(d,ar("allow_external_touch_scroll"));return}var n=null;b=a.properties;if(y.h(b))if(p(b))n=b;else{W(d,ar("properties"));return}b=a.block_id;if(!y.h(b)||!y.l(b)||0>b)W(d,ar("block_id"));else{var r=b;var v=0;b=a.source_block_id;if(y.h(b)){if(!y.l(b)||
0>b){W(d,ar("source_block_id"));return}v=b}var u=0;b=a.topic_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,ar("topic_id"));return}u=b}var x=0;b=a.strategy_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,ar("strategy_id"));return}x=b}var E=0;b=a.source_id;y.h(b)&&(!y.l(b)||0>b||(E=b));var D=0;b=a.fields;if(y.h(b))if(y.l(b))D=b;else{W(d,ar("fields"));return}var G=void 0;b=a.click_tracking;if(y.h(b))if(y.C(b))G=b;else{W(d,ar("click_tracking"));return}Ae("jsapi.ui.block.ScrollBlock","create",function(){try{Z(f,"position","relative");
Z(f,"overflow","hidden");var C=!1,K=!1,R={init:!0,block_id:r,source_block_id:v,topic_id:u,strategy_id:x,source_id:E,fields:D,click_tracking:G},T=new fq(f,n,k,g,function(V){Xk(V,"VIEWABILITY")},function(V,P){Xk(V,"CLICK");R.count=1;Fk(e,R,function(N){y.h(N)&&0<N.length?P.call(this,N[0]):K=!0;C=!1},function(){C=!1})},l);Cj(T,"f",function(V){K||C||(C=!0,R.count=V.count,Fk(e,R,function(P){R.init=!1;y.h(P)&&0<P.length?pq(T,P):K=!0;C=!1},function(){C=!1}))});un(T,f);d.V(T)}catch(V){W(d,V)}},function(){},
function(C){W(d,C)})}}else W(d,ar("parent_element"))}function ar(a){return Error("The '"+a+"' parameter is invalid")};function br(a,b,c){var d=new kh;y.h(b)&&y.J(b)&&qh(d,b);y.h(c)&&y.J(c)&&sh(d,c);var e=Bk.G();b=a.parent_element;if(y.h(b)&&b instanceof HTMLElement){var f=b;var g="center";b=a.align;if(y.h(b))if(y.C(b))switch(b){case "center":g="center";break;case "left":g="left";break;case "right":g="right";break;default:W(d,cr("align"));return}else{W(d,cr("align"));return}var k=10;b=a.page_size;if(y.h(b)){if(!y.l(b)||0>b||100<b){W(d,cr("page_size"));return}k=b}var l=Infinity;b=a.max_page_count;if(y.h(b)){if(!y.l(b)||
0>b){W(d,cr("max_page_count"));return}l=b}var n=function(){};b=a.item_content_renderer;if(y.h(b))if(y.J(b))n=b;else{W(d,cr("item_content_renderer"));return}var r=null;b=a.properties;if(y.h(b))if(p(b))r=b;else{W(d,cr("properties"));return}Ae("jsapi.ui.block.RtbFluidGridBlock","create",function(){try{a.init=!0,a.blocks=[{block_id:a.block_id,tag_id:"slot_"+a.block_id,fields:a.fields}],a.blocks[0].count=k,Kk(e,a,function(v){try{var u=Wk(v);Array.isArray(u)&&w(u,function(G){Xk(G,"view")});var x=new Bo(g,
f,r,n,function(G){p(G)&&Xk(G,"viewability")},function(G,C){Xk(G,"click");a.blocks[0].count=1;Kk(e,a,function(K){K=Wk(K);Array.isArray(K)&&w(K,function(R){Xk(R,"view")});K&&0<K.length?C.call(this,K[0]):D=!0;E=!1},function(){E=!1})},u)}catch(G){W(d,G);return}try{un(x,f)}catch(G){W(d,G);return}var E=!1,D=!1;1<l&&Cj(window,"scroll",function(){a.init=!1;!D&&!E&&0>=il(f).y+pl(x.o()).height-(je(document).y+ge().height)-500&&(E=!0,a.blocks[0].count=k,Kk(e,a,function(G){G=Wk(G);Array.isArray(G)&&w(G,function(C){Xk(C,
"view")});G&&0<G.length?(w(G,function(C){var K=x;K.a.push(C);Io(K,C)}),x.a.length/k>=l&&(D=!0)):D=!0;E=!1},function(){E=!1}))});d.V(x)},function(){})}catch(v){W(d,v)}},function(){},function(v){W(d,v)})}else W(d,cr("parent_element"))}function cr(a){return Error("The '"+a+"' parameter is invalid")};function dr(a,b,c){var d=new kh;y.h(b)&&y.J(b)&&qh(d,b);y.h(c)&&y.J(c)&&sh(d,c);var e=Bk.G();b=a.parent_element;if(y.h(b)&&b instanceof HTMLElement){var f=b;var g=10;b=a.page_size;if(y.h(b)){if(!y.l(b)||0>b||100<b){W(d,er("page_size"));return}g=b}var k=Infinity;b=a.max_page_count;if(y.h(b)){if(!y.l(b)||0>b){W(d,er("max_page_count"));return}k=b}var l=function(){};b=a.item_content_renderer;if(y.h(b))if(y.J(b))l=b;else{W(d,er("item_content_renderer"));return}var n=null;b=a.properties;if(y.h(b))if(p(b))n=
b;else{W(d,er("properties"));return}Ae("jsapi.ui.block.RtbListBlock","create",function(){try{var r=!1,v=!1;a.init=!0;a.blocks=[{block_id:a.block_id,tag_id:"slot_"+a.block_id,fields:a.fields}];a.blocks[0].count=g;Kk(e,a,function(u){try{var x=Wk(u);Array.isArray(x)&&w(x,function(D){Xk(D,"view")});var E=new Qo(f,n,l,function(D){p(D)&&Xk(D,"viewability")},function(D,G){Xk(D,"click");a.blocks[0].count=1;Kk(e,a,function(C){C=Wk(C);Array.isArray(C)&&w(C,function(K){Xk(K,"view")});C&&0<C.length?G.call(this,
C[0]):v=!0;r=!1},function(){r=!1})},x)}catch(D){W(d,D);return}try{un(E,f)}catch(D){W(d,D);return}1<k&&Cj(window,"scroll",function(){a.init=!1;!v&&!r&&0>=il(f).y+pl(E.o()).height-(je(document).y+ge().height)-500&&(r=!0,a.blocks[0].count=g,Kk(e,a,function(D){D=Wk(D);Array.isArray(D)&&w(D,function(G){Xk(G,"view")});D&&0<D.length?(w(D,function(G){So(E,G)}),E.a.length/g>=k&&(v=!0)):v=!0;r=!1},function(){r=!1}))});d.V(E)},function(){})}catch(u){W(d,u)}},function(){},function(r){W(d,r)})}else W(d,er("parent_element"))}
function er(a){return Error("The '"+a+"' parameter is invalid")};function fr(a,b,c){var d=new kh;y.h(b)&&y.J(b)&&qh(d,b);y.h(c)&&y.J(c)&&sh(d,c);var e=Bk.G();b=a.parent_element;if(y.h(b)&&b instanceof HTMLElement){var f=b;c="vertical";b=a.orientation;if(y.h(b))if(y.C(b))switch(b){case "vertical":c="vertical";break;case "horizontal":c="horizontal";break;default:W(d,gr("orientation"));return}else{W(d,gr("orientation"));return}switch(c){case "horizontal":var g=Fp.G();break;case "vertical":g=Kp.G();break;default:throw Error("Unknown orientation");}var k=function(){};
b=a.item_content_renderer;if(y.h(b))if(y.J(b))k=b;else{W(d,gr("item_content_renderer"));return}var l=void 0;b=a.allow_external_touch_scroll;if(y.h(b))if(y.$(b))l=b;else{W(d,gr("allow_external_touch_scroll"));return}var n=null;b=a.properties;if(y.h(b))if(p(b))n=b;else{W(d,gr("properties"));return}Ae("jsapi.ui.block.RtbScrollBlock","create",function(){try{Z(f,"position","relative");Z(f,"overflow","hidden");var r=!1,v=!1,u=new fq(f,n,k,g,function(x){p(x)&&Xk(x,"viewability")},function(x,E){Xk(x,"click");
a.blocks[0].count=1;Kk(e,a,function(D){D=Wk(D);Array.isArray(D)&&w(D,function(G){Xk(G,"view")});y.h(D)&&0<D.length?E.call(this,D[0]):v=!0;r=!1},function(){r=!1})},l);a.init=!0;a.blocks=[{block_id:a.block_id,tag_id:"slot_"+a.block_id,fields:a.fields}];Cj(u,"f",function(x){v||r||(r=!0,a.blocks[0].count=x.count,Kk(e,a,function(E){a.init=!1;E=Wk(E);Array.isArray(E)&&w(E,function(D){Xk(D,"view")});y.h(E)&&0<E.length?pq(u,E):v=!0;r=!1},function(){r=!1}))});un(u,f);d.V(u)}catch(x){W(d,x)}},function(){},
function(r){W(d,r)})}else W(d,gr("parent_element"))}function gr(a){return Error("The '"+a+"' parameter is invalid")};function hr(){this.a=!1;window&&p(window.location)&&y.C(window.location.href)&&window.location.href.includes("vastplayer=trace")&&(this.a=!0);this.key=ir("Wg1","t2t")+ir("131","ztt")}ya(hr);function jr(a,b){for(var c=new Uint8Array(b.length),d=0;d<b.length;d++)c[d]=b.charCodeAt(d)^a.charCodeAt(Math.floor(d%a.length));return c}function kr(a,b){return b?Array.from(b,function(c,d){return String.fromCharCode(c^a.charCodeAt(Math.floor(d%a.length)))}).join(""):""}
function ir(a,b){var c=jr(a,b);return c?Array.from(c,function(d){return d.toString(16).padStart(2,"0")}).join(""):""}function lr(a,b){var c=b.match(/.{2}/g);return c?(c=Uint8Array.from(c,function(d){return parseInt(d,16)}),kr(a,c)):""}function mr(a,b){return lr(a.key,b)}function nr(a,b){return mr(a,"4747586a5950500b415a")+"="+b}function or(a,b){return mr(a,"4747586a475a41105752")+"="+b}function pr(a,b){return mr(a,"4747586a57545912555e535b")+"="+b}
function qr(a,b){return mr(a,"4747586a4050460f")+"="+b}function rr(a,b){return mr(a,"4747586a575a5a16515940")+"="+b}function sr(){try{var a=(new mg).get("las_tch_uui");if(!a)return 0;a=parseInt(a,0);if(y.l(a)&&4E4<a)return a}catch(b){}return 0}function tr(){try{(new mg).set("las_tch_uui",Math.floor(Date.now()/1E3).toString())}catch(a){}}
function ur(a,b){var c={};c[mr(a,"515f5c565f585512")]=!1;c[mr(a,"5656535046")]=!0;c[mr(a,"464154565f795d0c5f44")]=!1;c[mr(a,"53505640465440076045555659715a405a5651")]=!0;c[mr(a,"425247545946")]=b;return c}function vr(){hr.G();return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,function(a){return(a^crypto.getRandomValues(new Uint8Array(1))[0]&15>>a/4).toString(16)})}
function wr(a,b,c,d,e,f){setTimeout(function(){var g=window[mr(a,"4b5e")];if("function"===typeof g){a.a&&console.log("Call",b,"u:",c,"r:",d,"b:",e,"n:",f);var k=ur(a,{u:c,b:e,n:f,r:d});g(b,mr(a,"5b5d5c41"),k);g(b,mr(a,"415641604750462b70"),c);g(b,mr(a,"55564176585c510c407e70"),function(r){a.a&&console.log("zTrack-Id",r)});k={};var l=[or(a,mr(a,"5c52415c4250")+"_"+e),pr(a,mr(a,"5c52415c4250")+"_"+f),qr(a,c),rr(a,d)],n="/?"+nr(a,mr(a,"565a475057416b11555b51"))+"&"+l.join("&");k[mr(a,"40565350465046")]=
"/?"+nr(a,mr(a,"565a475057416b11555b51")+"x0")+"&"+l.join("&");k[mr(a,"425247545946")]={};k[mr(a,"425247545946")][mr(a,"40565350465046")]="https://"+window.location.host+"/?"+nr(a,mr(a,"565a475057416b11555b51")+"x1")+"&"+l.join("&");g(b,mr(a,"5a5a41"),n,k);a.a&&console.log("zTrack-params",l,n,k);tr()}else a.a&&console.log("Error in ...")},15E3)}
function xr(a,b,c,d,e){var f=Xg(),g=sr();if(1E3<g){var k=Math.floor(Date.now()/1E3)-g;if(3600>k){a.a&&console.info("ZTrack-Skip",k);return}}100>g&&(g=0);var l="https://"+b+"/ztrack/?callback=_25&block_id="+c+"&y_last_match="+g,n=new Fh;f.then(function(){return new Pg(function(){Hh(n,l,25,function(r){if(p(r)){var v="",u="";y.h(r.user)&&p(r.user)&&y.C(r.user.id)&&(v=r.user.id);y.h(r.match)&&p(r.match)&&p(r.match.y)&&y.h(r.match.y.m)&&y.h(r.match.y.id)&&y.C(r.match.y.id)&&r.match.y.m&&(u=r.match.y.id);
tr();u&&wr(a,u,v,d,c,e)}else a.a&&console.warn("Error bad response on zTrack")},function(r){a.a&&console.warn("Error zTrack",r)})})})}q("TrackTool.e",function(a){var b=hr.G();return ir(b.key,a)});q("TrackTool.req",function(a,b,c,d,e){wr(hr.G(),a,b,c,d,e)});q("TrackTool.track",function(a,b,c,d){xr(hr.G(),a,b,c,d)});q("TrackTool.genId",function(){return vr()});function yr(a,b,c){var d=new kh;y.h(b)&&y.J(b)&&qh(d,b);y.h(c)&&y.J(c)&&sh(d,c);var e=Bk.G();b=a.parent_element;if(y.h(b)&&b instanceof HTMLElement){var f=b;var g=10;b=a.page_size;if(y.h(b)){if(!y.l(b)||0>b||100<b){W(d,zr("page_size"));return}g=b}var k=Infinity;b=a.max_page_count;if(y.h(b)){if(!y.l(b)||0>b){W(d,zr("max_page_count"));return}k=b}var l=function(){};b=a.item_content_renderer;if(y.h(b))if(y.J(b))l=b;else{W(d,zr("item_content_renderer"));return}var n=null;b=a.properties;if(y.h(b))if(p(b))n=
b;else{W(d,zr("properties"));return}Ae("jsapi.ui.block.RtbZenBlock","create",function(){try{var r=!1,v=!1;a.init=!0;a.blocks=[{block_id:a.block_id,tag_id:"slot_"+a.block_id,fields:a.fields}];a.blocks[0].count=g;Kk(e,a,function(u){try{var x=Vk(u),E=Uk(u),D=Wk(u);Array.isArray(D)&&w(D,function(C){Xk(C,"view")});var G=new Lq(f,n,l,function(C){y.C(C)&&"viewability_block"===C?Xk({trackers:{viewability_block:x}},"viewability_block"):p(C)&&Xk(C,"viewability")},function(C,K){Xk(C,"click");a.blocks[0].count=
1;a.blocks[0].bvuuid=E;Kk(e,a,function(R){R=Wk(R);Array.isArray(R)&&w(R,function(T){Xk(T,"view")});R&&0<R.length?K.call(this,R[0]):v=!0;r=!1},function(){r=!1})},D)}catch(C){W(d,C);return}try{un(G,f)}catch(C){W(d,C);return}1<k&&Cj(G,"g",function(){a.init=!1;v||r||(r=!0,a.blocks[0].count=g,a.blocks[0].bvuuid=E,Kk(e,a,function(C){C=Wk(C);Array.isArray(C)&&w(C,function(K){Xk(K,"view")});C&&0<C.length?(w(C,function(K){Pq(G,K)}),G.a.length/g>=k&&(v=!0)):v=!0;r=!1},function(){r=!1}))});d.V(G)},function(){})}catch(u){W(d,
u)}},function(){},function(r){W(d,r)})}else W(d,zr("parent_element"))}function zr(a){return Error("The '"+a+"' parameter is invalid")};var Ar,Br=$d().f.documentElement;Ar=Br.requestFullscreen?"fullscreenchange":Br.webkitRequestFullscreen?"webkitfullscreenchange":Br.mozRequestFullScreen?"mozfullscreenchange":Br.msRequestFullscreen?"MSFullscreenChange":"fullscreenchange";function Cr(){var a=$d().f,b=a.body;return!!(b.webkitRequestFullscreen||b.mozRequestFullScreen&&a.mozFullScreenEnabled||b.msRequestFullscreen&&a.msFullscreenEnabled||b.requestFullscreen&&a.fullscreenEnabled)}
function Dr(){var a=$d().f;return!!(a.webkitIsFullScreen||a.mozFullScreen||a.msFullscreenElement||a.fullscreenElement)};function Er(){}t(Er,Ln);ya(Er);Er.prototype.qa=function(){return"jsapi-player"};
Er.prototype.la=function(a){var b=a.H(),c=b.j,d=b.i,e=a.j,f,g;if(b.f&&(b.f&&p(b.f)&&p(b.a)&&y.$(b.a.ad_label_render)?b.a.ad_label_render:1)){var k=b.f;if(k&&y.ia(k)&&y.C(k.text)&&y.C(k.link)){var l=y.h(k.popup)&&k.popup,n="",r=k.text,v=k.link,u="";y.C(k.age)&&(r=r+" "+k.age);y.C(k.detail)&&(n=k.detail);y.C(k.erid)&&(u=k.erid);k=ke("div","jsapi-player-ad-label ",r);var x=ke("div","jsapi-player-ad-label-popup jsapi-player-control-hidden jsapi-player-ad-label-link-text",["\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0440\u0435\u043a\u043b\u0430\u043c\u043e\u0434\u0430\u0442\u0435\u043b\u0435: ",
ke("BR"),n,ke("HR"),"\u0415\u0420\u0418\u0420: "+u,ke("HR"),ke("A",{"class":"jsapi-media-ad-label-link",href:v,target:"_blank",rel:"noopener noreferrer nofollow"},"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435...")]);k.addEventListener("click",function(D){D.target.classList.contains("jsapi-player-ad-label")&&D.stopPropagation();l&&($m(x,"jsapi-player-control-hidden")?cn(x,"jsapi-player-control-hidden"):an(x,"jsapi-player-control-hidden"))},!0);l?g=ke("DIV",{"class":"jsapi-player-ad-label-link-popup"},
[k,x]):g=ke("A",{"class":"jsapi-player-ad-label-link",href:v,target:"_blank",rel:"noopener noreferrer nofollow"},[k])}}if(Fr(b)){n=e.a("DIV","jsapi-player-logo "+("top"===Fr(b)?"jsapi-player-logo-top":"jsapi-player-logo-bottom"));n.addEventListener("click",function(D){D.target.classList.contains("jsapi-player-logo")&&D.stopPropagation()},!0);var E=ke("a",{"class":"jsapi-player-logo-link",href:"https://smi2.net",target:"_blank",rel:"noopener noreferrer nofollow"},[n])}b=e.a("DIV",Fn(this,a).join(" "),
[f=e.a("VIDEO",{"class":"jsapi-player-video",muted:c,autoplay:c,playsinline:!0,playsInline:!0}),b.$a()&&e.a("CANVAS","jsapi-player-video-bg",[e.a("DIV")]),e.a("IFRAME",{"class":"jsapi-player-iframe",width:"100%",height:"100%"}),e.a("DIV","jsapi-player-ad-panel",[e.a("DIV","jsapi-player-control-fly "+(c?"jsapi-player-control-volume_off":"jsapi-player-control-volume_up")+(Gr(b,"volume")?"":" jsapi-player-control-hidden")),e.a("DIV","jsapi-player-ad",[e.a("DIV","jsapi-player-panel-top",[e.a("DIV","jsapi-player-control jsapi-player-control-close jsapi-player-control-hidden"),
e.a("DIV","jsapi-player-panel-adtop",[g?g:e.a("DIV","jsapi-player-ad"),"top"===Fr(b)&&E?E:e.a("DIV")])])])]),e.a("DIV","jsapi-player-panel-bottom",[e.a("DIV","jsapi-player-tools",[e.a("DIV","jsapi-player-elapsed",[e.a("DIV","jsapi-player-left-time jsapi-player-control-hidden"),-1!==d?e.a("DIV","jsapi-player-skip-ad jsapi-player-control-hidden"):e.a("DIV")]),e.a("DIV","jsapi-player-controls",[e.a("DIV","jsapi-player-control "+(c?"jsapi-player-control-pause":"jsapi-player-control-play")+(Gr(b,"play")?
"":" jsapi-player-control-hidden")),"bottom"===Fr(b)&&E?E:e.a("DIV"),e.a("DIV","jsapi-player-control jsapi-player-control-align-right jsapi-player-control-fullscreen"+(Gr(b,"fullscreen")&&Cr()?"":" jsapi-player-control-hidden"))]),e.a("DIV","jsapi-player-timeline",[e.a("DIV","jsapi-player-timeline-progress",[e.a("DIV","jsapi-player-timeline-progress-duration"),e.a("DIV","jsapi-player-timeline-progress-elapsed"+(Gr(b,"timeline")?"":" jsapi-player-control-hidden"))])])])])]);w(a.a,function(D){D=ke("SOURCE",
{type:D.f,src:D.a});f.appendChild(D)});return b};function Hr(a){return ce("jsapi-player-skip-ad",a.o())}function Ir(a){return ce("jsapi-player-control-fly",a.o())}function Jr(a){return ce("jsapi-player-controls",a.o()).firstChild.nextSibling.nextSibling}function Kr(a){return ce("jsapi-player-panel-top",a.o()).firstChild}function Lr(a){var b=ce("jsapi-player-video-bg",a.o());b.getContext("2d").drawImage(a.o().firstChild,0,0,b.width,b.height)}
function Mr(a,b){var c=ce("jsapi-player-controls",b.o()).firstChild;b.L&&!b.f.paused?(Nr(a,b),cn(c,"jsapi-player-control-play"),an(c,"jsapi-player-control-pause")):(a.a&&clearInterval(a.a),cn(c,"jsapi-player-control-pause"),an(c,"jsapi-player-control-play"))}function Nr(a,b){b.H().$a()&&function d(){Lr(b);a.a=setTimeout(d,1E3/15)}()};function Or(a,b,c,d){this.j=a;this.i=b;this.f=c;this.a=d}function Gr(a,b){if(p(a.a)&&y.isArray(a.a.hide_elements))for(var c=ba(a.a.hide_elements),d=c.next();!d.done;d=c.next())if(d=d.value,y.C(d)&&y.C(b)&&d.toLowerCase()===b.toLowerCase())return!1;return!0}function Pr(a){return p(a.a)&&y.$(a.a.stop_after_play)?!!a.a.stop_after_play:!1}function Fr(a){var b="";if(p(a.a)&&y.C(a.a.show_logo))switch(a.a.show_logo){case "top":b="top";break;case "bottom":b="bottom"}return b}
Or.prototype.$a=function(){return p(this.a)&&y.$(this.a.use_blur)?!!this.a.use_blur:!1};function Qr(a,b){this.a=a;this.f=b};function Rr(a,b,c){eo.call(this,null,Er.G(),c);lo(this,255,!1);no(this,255,!1);fo(this);this.a=a;this.Y=b;this.T=this.s=this.D=this.M=this.R=this.K=this.f=void 0}t(Rr,eo);h=Rr.prototype;h.H=function(){return this.Y};function Sr(a,b){var c=a.H();p(c.a)&&p(c.a.callback)&&y.J(c.a.callback[b])&&c.a.callback[b].call(c,b,a)}
h.da=function(){Rr.W.da.call(this);var a=this,b=sn(a);a.f=a.o().firstChild;a.K=ce("jsapi-player-controls",a.o()).firstChild;a.R=Ir(a);a.M=Hr(a);a.D=Jr(a);a.s=Kr(a);a.T=ce("jsapi-player-ad",a.o());gn(b,a.f,"canplay canplaythrough durationchange emptied ended loadeddata loadedmetadata pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),a.Jc);hn(b,ce("jsapi-player-iframe",a.o()).contentWindow,"resize",a.lc,void 0);a.K&&hn(b,a.K,"click",a.Rc,
void 0);a.R&&hn(b,a.R,"click",a.Qc,void 0);a.M&&hn(b,a.M,"click",a.Tc,void 0);a.D&&hn(b,a.D,"click",a.ic,void 0);a.s&&hn(b,a.s,"click",a.ic,void 0);a.T&&hn(b,a.T,"click",a.Xc,void 0);gn(b,m,Ar,function(){var c=Jr(a),d=Kr(a);Dr()?(cn(c,"jsapi-player-control-fullscreen"),an(c,"jsapi-player-control-fullscreen_exit"),cn(d,"jsapi-player-control-hidden")):(cn(c,"jsapi-player-control-fullscreen_exit"),an(c,"jsapi-player-control-fullscreen"),an(d,"jsapi-player-control-hidden"))})};
h.ja=function(){Rr.W.ja.call(this);Sr(this,"unload");this.s=this.D=this.T=this.M=this.R=this.K=this.f=void 0};
h.Jc=function(a){var b=this.i;Sr(this,a.type);switch(a.type){case "canplay":this.lc();X(this,"j");break;case "canplaythrough":X(this,"k");break;case "durationchange":X(this,"l");break;case "emptied":X(this,"m");break;case "ended":a=Hr(this);b=this.i;b.a&&clearInterval(b.a);a&&an(a,"jsapi-player-control-hidden");X(this,"n");break;case "loadeddata":X(this,"o");break;case "loadedmetadata":X(this,"p");break;case "pause":Mr(b,this);X(this,"q");break;case "play":Mr(b,this);X(this,"r");break;case "playing":X(this,
"s");break;case "progress":X(this,"t");break;case "ratechange":X(this,"u");break;case "seeked":X(this,"v");break;case "seeking":X(this,"w");break;case "stalled":X(this,"x");break;case "suspend":X(this,"y");break;case "timeupdate":var c=ce("jsapi-player-left-time",this.o());a=Hr(this);b=ce("jsapi-player-timeline-progress-elapsed",this.o());Gr(this.H(),"timeleft")&&cn(c,"jsapi-player-control-hidden");a&&Gr(this.H(),"skip")&&cn(a,"jsapi-player-control-hidden");var d=Math.floor(this.L?this.f.currentTime:
0),e=Math.floor(this.L?this.f.duration:0);if(3600<=d){var f=parseInt(d,10);var g=Math.floor(f/3600);var k=Math.floor((f-3600*g)/60);f=f-3600*g-60*k;10>g&&(g="0"+g);10>k&&(k="0"+k);10>f&&(f="0"+f);g=g+":"+k+":"+f}else k=parseInt(d,10),g=Math.floor(k/60),k-=60*g,10>g&&(g="0"+g),10>k&&(k="0"+k),g=g+":"+k;ue(c,g);0<=Tr(this)&&a&&(c=Tr(this)-d,ue(a,0<c?"\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c "+c:"\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c"));ol(b,Math.floor(100*
d/e)+"%");X(this,"z");break;case "volumechange":a=Ir(this);this.L&&!this.f.muted?(cn(a,"jsapi-player-control-volume_off"),an(a,"jsapi-player-control-volume_up")):(cn(a,"jsapi-player-control-volume_up"),an(a,"jsapi-player-control-volume_off"));X(this,"A");break;case "waiting":X(this,"B")}};
h.lc=function(){var a=pl(this.o().firstChild);ol(ce("jsapi-player-ad",this.o()),a.width);ol(ce("jsapi-player-tools",this.o()),a.width);this.H().$a()&&(ol(ce("jsapi-player-video-bg",this.o()),"100%"),Lr(this));Sr(this,"resize")};h.Rc=function(){this.f.paused?(this.f.play(),X(this,"C")):(this.f.pause(),X(this,"D"))};h.Qc=function(){this.f.muted?(this.f.muted=!1,X(this,"F")):(this.f.muted=!0,X(this,"E"))};h.Tc=function(){-1!==Tr(this)&&Tr(this)<(this.L?this.f.currentTime:0)&&X(this,"I")};
h.Xc=function(){X(this,"J")};h.ic=function(){if(Dr()){var a=$d().f;a.exitFullscreen?a.exitFullscreen():a.webkitCancelFullScreen?a.webkitCancelFullScreen():a.mozCancelFullScreen?a.mozCancelFullScreen():a.msExitFullscreen&&a.msExitFullscreen();X(this,"H")}else null!=this.o()&&(a=this.o(),a.requestFullscreen?a.requestFullscreen(void 0):a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen&&a.msRequestFullscreen(),X(this,"G"))};
function Tr(a){return null!=a.Y?a.Y.i:0}h.Zc=function(){return Pr(this.H())};h.pause=function(){this.L&&this.f.pause()};h.Yc=function(){return!1};h.$c=function(){return!0};h.type=function(){return"video"};Rr.prototype.isStopAfterPlay=Rr.prototype.Zc;Rr.prototype.getProperties=Rr.prototype.H;Rr.prototype.isRich=Rr.prototype.Yc;Rr.prototype.isVideo=Rr.prototype.$c;Rr.prototype.type=Rr.prototype.type;function Ur(){}t(Ur,Ln);ya(Ur);Ur.prototype.qa=function(){return"jsapi-player"};Ur.prototype.la=function(a){var b=a.j;return b.a("DIV",Fn(this,a).join(" "),[b.a("VIDEO",{"class":"jsapi-player-video",muted:!0}),b.a("IFRAME",{"class":"jsapi-player-iframe",width:"100%",height:"100%"}),b.a("DIV","jsapi-player-ad-panel",[b.a("DIV","jsapi-player-ad")])])};function Vr(a,b,c,d){this.i=a;this.a=b;this.j=c;this.f=d};function Wr(a,b){eo.call(this,null,Ur.G(),b);lo(this,255,!1);no(this,255,!1);fo(this);this.a=a;this.K=!1;this.f=this.s=this.D=void 0}t(Wr,eo);
var Xr={Ud:"AdStarted",Vd:"AdStopped",Td:"AdSkipped",Hd:"AdLoaded",Gd:"AdLinearChange",Rd:"AdSizeChange",Dd:"AdExpandedChange",Sd:"AdSkippableStateChange",Bd:"AdDurationChange",Qd:"AdRemainingTimeChange",de:"AdVolumeChange",Ed:"AdImpression",Ad:"AdClickThru",Fd:"AdInteraction",be:"AdVideoStart",$d:"AdVideoFirstQuartile",ae:"AdVideoMidpoint",ce:"AdVideoThirdQuartile",Zd:"AdVideoComplete",Wd:"AdUserAcceptInvitation",Yd:"AdUserMinimize",Xd:"AdUserClose",Od:"AdPaused",Pd:"AdPlaying",Cd:"AdError",Id:"AdLog"};
Wr.prototype.da=function(){Wr.W.da.call(this);var a=this,b=sn(a),c=a.a;a.D=a.o().firstChild;a.s=ce("jsapi-player-ad",a.o());var d=c.a,e=c.j,f=c.f;c=xg(c.i);c=yh(c,{timeout:5E3,ac:!1});qh(c,function(){var g=window.getVPAIDAd;y.J(g)?(a.f=g(),0!==e&&ol(a.o(),e+"px"),0!==f&&nl(a.o(),f+"px"),sb(Xr,function(k){a.f.subscribe(function(){X(a,k)},k)}),a.f.initAd(e,f,"normal",-1,{AdParameters:d},{slot:a.s,videoSlot:a.o().firstChild})):X(a,"AdError")});sh(c,function(){X(a,"AdError")});a.s&&hn(b,a.s,"click",a.M,
void 0)};Wr.prototype.ja=function(){console.warn("jsapi.ui.container.player.!VpaidPlayer!.prototype.exitDocument");Wr.W.ja.call(this);this.s=this.D=void 0};Wr.prototype.M=function(){X(this,"J")};function Yr(a){a.L&&a.f&&(a.K?a.f.resumeAd():(a.f.startAd(),a.K=!0))}Wr.prototype.pause=function(){this.L&&this.f&&this.f.pauseAd()};function Zr(){}t(Zr,Ln);ya(Zr);Zr.prototype.qa=function(){return"jsapi-vast-player"};function $r(a,b,c){this.F=a;this.j=b;this.f=null;this.i=c;this.a=null}h=$r.prototype;h.md=function(){return!!p(this.f)};h.ld=function(){return this.j};function as(a,b){a.f=b}h.hd=function(){return this.f};h.Sb=function(){return p(this.a)&&y.$(this.a.stop_after_play)?!!this.a.stop_after_play:!1};h.jd=function(){return this.a};function bs(a,b){a.a=b}h.kd=function(){return this.i};$r.prototype.isStopAfterPlay=$r.prototype.Sb;$r.prototype.isRenderAdLabel=$r.prototype.md;$r.prototype.isAutoPlay=$r.prototype.ld;
$r.prototype.getAdLabel=$r.prototype.hd;$r.prototype.getPresetPlayer=$r.prototype.jd;$r.prototype.getSkipAfter=$r.prototype.kd;function cs(a,b){this.i=a;this.f=b?b:null;this.a=new Map}function ds(a){var b=a.i;a.a.size&&a.a.forEach(function(c,d){b=b.replace(d,c)});return b};function es(a){H(this,a,fs,null)}t(es,F);function gs(a){H(this,a,null,null)}t(gs,F);function hs(a){H(this,a,null,Bf)}t(hs,F);function is(a){H(this,a,js,null)}t(is,F);function ks(a){H(this,a,null,null)}t(ks,F);function ls(a){H(this,a,null,null)}t(ls,F);function ms(a){H(this,a,null,null)}t(ms,F);function ns(a){H(this,a,null,null)}t(ns,F);function os(a){H(this,a,null,null)}t(os,F);function ps(a){H(this,a,null,null)}t(ps,F);function qs(a){H(this,a,null,null)}t(qs,F);function rs(a){H(this,a,ss,null)}
t(rs,F);function ts(a){H(this,a,null,null)}t(ts,F);function us(a){H(this,a,null,null)}t(us,F);function vs(a){H(this,a,null,null)}t(vs,F);function ws(a){H(this,a,null,null)}t(ws,F);function xs(a){H(this,a,ys,null)}t(xs,F);function zs(a){H(this,a,null,null)}t(zs,F);function As(a){H(this,a,null,null)}t(As,F);function Bs(a){H(this,a,null,null)}t(Bs,F);function Cs(a){H(this,a,Ds,null)}t(Cs,F);function Es(a){H(this,a,Fs,null)}t(Es,F);function Gs(a){H(this,a,null,null)}t(Gs,F);
function Hs(a){H(this,a,null,null)}t(Hs,F);function Is(a){H(this,a,Js,null)}t(Is,F);function Ks(a){H(this,a,null,null)}t(Ks,F);function Ls(a){H(this,a,null,null)}t(Ls,F);function Ms(a){H(this,a,null,null)}t(Ms,F);function Ns(a){H(this,a,null,null)}t(Ns,F);function Os(a){H(this,a,Ps,null)}t(Os,F);function Qs(a){H(this,a,Rs,null)}t(Qs,F);function Ss(a){H(this,a,null,null)}t(Ss,F);function Ts(a){H(this,a,Us,null)}t(Ts,F);function Vs(a){H(this,a,null,null)}t(Vs,F);function Ws(a){H(this,a,null,null)}
t(Ws,F);function Xs(a){H(this,a,null,null)}t(Xs,F);function Ys(a){H(this,a,Zs,null)}t(Ys,F);function $s(a){H(this,a,null,null)}t($s,F);function at(a){H(this,a,null,null)}t(at,F);function bt(a){H(this,a,null,null)}t(bt,F);function ct(a){H(this,a,dt,null)}t(ct,F);function et(a){H(this,a,null,null)}t(et,F);function ft(a){H(this,a,gt,null)}t(ft,F);function ht(a){H(this,a,null,null)}t(ht,F);function it(a){H(this,a,null,null)}t(it,F);function jt(a){H(this,a,null,null)}t(jt,F);
function kt(a){H(this,a,lt,null)}t(kt,F);function mt(a){H(this,a,nt,null)}t(mt,F);function ot(a){H(this,a,pt,null)}t(ot,F);function qt(a){H(this,a,null,null)}t(qt,F);function rt(a){H(this,a,null,null)}t(rt,F);function st(a){H(this,a,tt,null)}t(st,F);function ut(a){H(this,a,null,null)}t(ut,F);function vt(a){H(this,a,null,null)}t(vt,F);function wt(a){H(this,a,xt,null)}t(wt,F);function yt(a){H(this,a,zt,null)}t(yt,F);function At(a){H(this,a,null,null)}t(At,F);function Bt(a){H(this,a,null,null)}
t(Bt,F);function Ct(a){H(this,a,Dt,null)}t(Ct,F);function Et(a){H(this,a,Ft,null)}t(Et,F);function Gt(a){H(this,a,null,null)}t(Gt,F);function Ht(a){H(this,a,null,null)}t(Ht,F);function It(a){H(this,a,Jt,null)}t(It,F);function Kt(a){H(this,a,null,null)}t(Kt,F);function Lt(a){H(this,a,null,null)}t(Lt,F);function Mt(a){H(this,a,null,null)}t(Mt,F);function Nt(a){H(this,a,null,null)}t(Nt,F);function Ot(a){H(this,a,null,null)}t(Ot,F);function Pt(a){H(this,a,Qt,null)}t(Pt,F);
function Rt(a){H(this,a,null,null)}t(Rt,F);var fs=[2,3],Bf=[[5,6]],js=[3,5,9],ss=[4,8,13],ys=[2,3,4],Ds=[1],Fs=[2,3],Js=[1],Ps=[1],Rs=[5],Us=[1],Zs=[1,2,3];$s.prototype.N=function(a){return L(this,4,a)};at.prototype.N=function(a){return L(this,4,a)};var dt=[1],gt=[2,3],lt=[1],nt=[12,13,14,16];mt.prototype.N=function(a){return L(this,2,a)};var pt=[2],tt=[1];ut.prototype.N=function(a){return L(this,1,a)};var xt=[1],zt=[10,11,12,15];yt.prototype.N=function(a){return L(this,2,a)};
var Dt=[2],Ft=[12,13,14,18];Et.prototype.N=function(a){return L(this,1,a)};var Jt=[1],Qt=[1];function St(a){return J(a,1,"")}function Tt(a){return J(a,3,"")};function Nq(a){var b=$d(),c=b.f,d=me(b.f,"STYLE");d.type="text/css";b.f.getElementsByTagName("HEAD")[0].appendChild(d);d.styleSheet?d.styleSheet.cssText=a:d.appendChild(c.createTextNode(a))};function Ut(a){var b={target:"_blank"},c=window;var d=a instanceof Yb?a:cc("undefined"!=typeof a.href?a.href:String(a));a=b.target||a.target;var e=[];for(f in b)switch(f){case "width":case "height":case "top":case "left":e.push(f+"="+b[f]);break;case "target":case "noopener":case "noreferrer":break;default:e.push(f+"="+(b[f]?1:0))}var f=e.join(",");if(xd()&&c.navigator&&c.navigator.standalone&&a&&"_self"!=a)f=me(document,"A"),d=d instanceof Yb?d:dc(d),f.href=ac(d),f.setAttribute("target",a),b.noreferrer&&
f.setAttribute("rel","noreferrer"),b=document.createEvent("MouseEvent"),b.initMouseEvent("click",!0,!0,c,1),f.dispatchEvent(b);else if(b.noreferrer){if(c=Qc("",c,a,f),b=ac(d),c&&(Dd&&-1!=b.indexOf(";")&&(b="'"+b.replace(/'/g,"%27")+"'"),c.opener=null,b=Kc('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+Sc(b)+'">',null),c=c.document))c.write(Ec(b)),c.close()}else(c=Qc(d,c,a,f))&&b.noopener&&(c.opener=null)};function Vt(a,b,c,d,e,f){eo.call(this,null,Zr.G(),f);lo(this,255,!1);no(this,255,!1);fo(this);this.a=a;this.s=b;this.T=c;this.f=d;this.R=null!=this.f&&this.f.F;this.D=y.J(e)?e:null;this.Y=Wt.G();this.M={root:null,rootMargin:"0px",threshold:.2};var g=this;this.K=new IntersectionObserver(function(k){Xt(g,k)},this.M)}t(Vt,eo);Vt.prototype.H=function(){return this.f};
Vt.prototype.da=function(){Vt.W.da.call(this);var a=this;null!=a.o()&&a.K.observe(a.o());Nq("\n.jsapi-vast-player, .jsapi-player {\n    z-index: auto;\n    position: relative;\n    width: 100%;\n    height: 100%;\n    margin: auto;\n    overflow: hidden;\n}\n\n.jsapi-player-preview {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    position: absolute;\n    top: 0;\n    width: 100%;\n    height: 100%;\n    cursor: pointer;\n    /*z-index: 1000*/\n}\n\n.jsapi-player-preview img {\n    position: absolute;\n    top: 0;\n    max-width: 100%;\n    max-height: 100%\n}\n\n.jsapi-player-preview-play {\n    display: flex;\n    width: 48px;\n    height: 48px;\n    cursor: pointer;\n    opacity: .9;\n    transition: opacity .4s;\n    z-index: 15;\n    background-size: auto 100%;\n    background: url(/jsapi/assets/play_circle-white-48dp.svg) 0 0 no-repeat transparent\n}\n\n.jsapi-player-ad-label {\n    display: flex;\n    opacity: .2;\n    font-family: Roboto, Helvetica, Arial, sans-serif;\n    font-style: normal;\n    font-size: 11px;\n    line-height: 16px;\n    font-weight: 400;\n    color: #fff;\n    letter-spacing: 0.36px;\n    top: 12px;\n    left: 15px;\n    margin-left: auto;\n    margin-right: 3px;\n    /*margin-top: 10px;*/\n    z-index: 2000;\n    \n    /*background: rgba(26, 43, 77, .4);*/\n    /*border-radius: 2px;*/\n    /*display: flex;*/\n    /*opacity: .2;*/\n    /*font-family: Roboto, Helvetica, Arial, sans-serif;*/\n    /*font-style: normal;*/\n    /*font-size: 11px;*/\n    /*line-height: 16px;*/\n    /*font-weight: 400;*/\n    /*color: #fff;*/\n    /*letter-spacing: 0.36px;*/\n    /*top: 12px;*/\n    /*left: 15px;*/\n    /*margin-left: auto;*/\n    /*margin-right: 3px;*/\n    /*margin-top: 10px;*/\n    /*z-index: 15;*/\n}\n\n.jsapi-player-ad-label-popup\n{\n    position: absolute;\n    top: 20px;\n    right: -20px;\n    color: #474f59;\n    border-color: #ebebeb !important;\n    width: 232px !important;\n    /*max-height: 95% !important;*/\n    border-radius: 5px !important;\n    box-sizing: border-box !important;\n    font-size: 14px !important;\n    padding: 2px 20px 20px 20px;\n    margin: 2px 20px;\n    background: #afafb2;\n}\n.jsapi-player-ad-label-link-text {\n   cursor: auto;\n}\n.jsapi-player-ad-label-link-popup {\n       cursor: pointer;\n}\n   \n.jsapi-player-ad-label-link {\n    cursor: pointer;\n    display: flex;\n    text-decoration: none;\n    width: 100%\n}\n\n.jsapi-player-preview-play:hover {\n    opacity: .7\n}\n\n.jsapi-player-video-bg {\n    position: absolute;\n    left: -15px;\n    top: -15px;\n    height: calc(100% + 30px) !important;\n    width: calc(100% + 30px) !important;\n    z-index: auto;\n    -webkit-filter: blur(1px);\n    filter: blur(1px);\n    border-radius: 5px;\n    background: rgba(120, 120, 120, 0.5);\n    -webkit-filter: blur(10px);\n    filter: blur(10px);\n    -webkit-transform: translateZ(0);\n    transform: translateZ(0);\n}\n\n.jsapi-player-video {\n    max-width: 100%;\n    height: 100%;\n    display: flex;\n    margin-left: auto;\n    margin-right: auto;\n    position: inherit;\n    z-index: 1;\n}\n\n.jsapi-player-iframe {\n    position: absolute;\n    top: 0;\n    border: 0;\n    margin: 0;\n    padding: 0;\n    z-index: auto;\n}\n\n.jsapi-player-ad-panel {\n    position: absolute;\n    top: 0;\n    height: 100%;\n    width: 100%;\n    z-index: 2;\n}\n.jsapi-player-ad {\n    height: 100%;\n    width: 100%;\n    margin-left: auto;\n    margin-right: auto;\n    z-index: 100;\n}\n.jsapi-player-panel-adtop {\n    border-radius: 5px;\n    background: rgba(120, 120, 120, 0.5);\n    padding-left: 5px;\n    z-index: 500;\n}\n.jsapi-player-panel-top {\n    top: 0;\n    display: flex;\n    justify-content: right;\n    right: 0;\n    z-index: 125;\n}\n\n.jsapi-player-panel-bottom {\n    position: absolute;\n    bottom: 0;\n    left: 0;\n    right: 0;\n    -webkit-transform: translateY(40px);\n    transform: translateY(40px);\n    -webkit-transition: -webkit-transform .3s;\n    transition: -webkit-transform .3s;\n    transition: transform .3s;\n    transition: transform .3s, -webkit-transform .3s;\n    z-index: 3;\n}\n.jsapi-player-panel-bottom:hover {\n   -webkit-transform: translateY(0px);\n   transform: translateY(0px);\n}\n\n.jsapi-player-tools {\n    margin-left: auto;\n    margin-right: auto;\n    color: #fff;\n    font-family: Tahoma, Arial, sans-serif;\n    font-size: 10px;\n    width: 100% !important;\n    display: -webkit-box;\n    display: -ms-flexbox;\n    display: flex;\n    -webkit-box-orient: vertical;\n    -webkit-box-direction: normal;\n    -ms-flex-direction: column;\n    flex-direction: column;\n}\n\n.jsapi-player-elapsed {\n    display: flex;\n    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, .1)), to(rgba(0, 0, 0, 0)));\n    background: linear-gradient(to top, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, 0));\n    -webkit-box-ordinal-group: 2;\n    -ms-flex-order: 1;\n    order: 1;\n}\n\n.jsapi-player-left-time {\n    display: flex;\n    padding: 12px;\n    opacity: .5;\n}\n\n.jsapi-player-skip-ad {\n    opacity: .5;\n    transition: opacity .4s;\n    cursor: pointer;\n    display: flex;\n    margin-left: auto;\n    margin-right: 12px;\n    padding: 12px;\n    will-change: opacity;\n}\n\n.jsapi-player-skip-ad:hover {\n    opacity: 1\n}\n\n.jsapi-player-timeline {\n    position: relative;\n    height: 4px;\n    margin-left: 0;\n    margin-right: 0;\n    margin-top: 0;\n    height: 4px;\n    -webkit-box-ordinal-group: 3;\n    -ms-flex-order: 2;\n    order: 2;\n}\n\n.jsapi-player-timeline-progress {\n    opacity: 1;\n    position: absolute;\n    left: 0;\n    right: 0;\n    margin-left: 0;\n    margin-right: 0;\n    margin-top: 0;\n    height: 100%;\n    -webkit-box-ordinal-group: 3;\n    -ms-flex-order: 2;\n    order: 2;\n}\n\n.jsapi-player-timeline-progress-duration {\n    position: absolute;\n    width: 100%;\n    background-color: #fff;\n    opacity: .15;\n    height: 100%;\n    border-radius: 2px\n}\n\n.jsapi-player-timeline-progress-elapsed {\n    position: absolute;\n    width: 25%;\n    background-color: #338ccc;\n    height: 100%;\n    -webkit-box-ordinal-group: 2;\n    -ms-flex-order: 1;\n    order: 1;\n}\n\n.jsapi-player-controls {\n    display: flex;\n    height: 40px;\n    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, .5)), to(transparent));\n    background: linear-gradient(0deg, rgba(0, 0, 0, .5), transparent);\n    -webkit-box-ordinal-group: 4;\n    -ms-flex-order: 3;\n    order: 3;\n}\n\n.jsapi-player-control-fly {\n    width: 24px;\n    height: 24px;\n    background-size: auto 100%;\n    cursor: pointer;\n    left: 10px;\n    top: 10px;\n    position: absolute;\n    cursor: pointer;\n    order: 6;\n    z-index: 2000;\n}\n.jsapi-player-control {\n    width: 24px;\n    height: 24px;\n    background-size: auto 100%;\n    cursor: pointer;\n    display: flex;\n    margin: 8px;\n    transition: opacity .4s;\n    will-change: opacity;\n}\n\n.jsapi-player-control:hover {\n    opacity: .5;\n}\n\n.jsapi-player-control-hidden {\n    display: none\n}\n\n.jsapi-player-control-align-right {\n    margin-left: auto\n}\n\n.jsapi-player-logo-bottom {\n    width: 65px;\n    position: relative;\n    z-index: 1;\n    top: 1px;\n    left: 30px;\n    border-radius: 5px;\n    background: rgba(120, 120, 120, 0.5);\n    padding: 19px 10px 0px 0px;\n    margin-left: 5px;\n}\n\n.jsapi-player-logo-top {\n    width: 45px;\n    height: 5px;\n    position: absolute;\n    z-index: 1;\n    top: 10px;\n    border-radius: 5px;\n    background: rgba(26, 43, 77, .1);\n    padding: 12px 0px 0px 0px;\n    margin-left: 5px;\n}\n\n.jsapi-player-logo {\n    background-repeat: no-repeat !important;\n    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAzNTMgMTI3IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzNTMgMTI3OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cgkuc3Qxe2ZpbGw6IzQwQUU0OTt9Cgkuc3Qye2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU+CjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xMzYuNCw5My4xbC0wLjEtMC42YzAsMC05LjUtNTcuMy05LjgtNTkuMWMtMC40LTItMS40LTIuNi0yLjctMi42aC0wLjFjLTEuMiwwLTIsMC40LTIuOCwyLjUKCWMtMC41LDEuMy0xNy4yLDQ3LjgtMTcuMiw0Ny44cy0wLjIsMC43LTEsMC43Yy0wLjgsMC0xLTAuOC0xLTAuOFM4NSwzNC41LDg0LjUsMzMuMmMtMC44LTIuMi0xLjYtMi41LTIuOC0yLjVoLTAuMQoJYy0xLjMsMC0yLjMsMC42LTIuNywyLjZjLTAuNCwxLjgtOS44LDU5LjEtOS44LDU5LjFMNjksOTMuMWMwLDAuMSwwLDAuMywwLDAuNGMwLDEuOSwxLjYsMy41LDMuNSwzLjZoMC4yYzEuNywwLDMuMS0xLjMsMy40LTMKCWwtMC4xLDBsMC4xLTAuMUw4Miw1Mi4zYzAsMCwwLjEtMS4yLDEuMS0xLjJjMSwwLDEuNCwxLjMsMS40LDEuM2wxNS40LDQyLjRsMC4xLDAuMmMwLjQsMS4xLDEuMywxLjgsMi44LDEuOGMxLjYsMCwyLjQtMC44LDIuOC0xLjgKCWwwLjEtMC4ybDE1LjMtNDIuNGMwLDAsMC40LTEuMywxLjQtMS4zYzAuOSwwLDEuMSwxLjIsMS4xLDEuMmw1LjksNDEuNmwwLjEsMC4xbC0wLjEsMGMwLjMsMS43LDEuNywyLjksMy40LDNoMC4yCgljMS45LDAsMy41LTEuNiwzLjUtMy42QzEzNi40LDkzLjMsMTM2LjQsOTMuMiwxMzYuNCw5My4xIi8+CjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik01Ni40LDg0LjRjMC42LDAuNiwwLjksMS41LDEsMi40YzAsMS44LTEuNCwyLjgtMS40LDIuOEM1MCw5NC42LDQyLjcsOTcsMzUuMiw5N0MxNi44LDk3LDIsODIuNCwyLDY0CgljMC0xOC40LDE0LjgtMzMuMiwzMy4yLTMzLjJjOC40LDAsMTQuOCwyLjcsMjAuNSw3LjFsMC40LDAuM2MwLjksMC44LDEuMiwxLjYsMS4yLDIuNmMwLDAsMCwxLjItMC45LDIuNGMwLDAtMC4xLDAuMS0wLjEsMC4xCgljLTEsMC45LTIuNCwxLTIuNCwxYy0wLjcsMC0xLjQtMC4yLTEuOS0wLjZjLTAuMS0wLjEtMC40LTAuMy0wLjQtMC4zYy00LjYtMy42LTEwLjYtNS45LTE2LjQtNS45Yy0xNC41LDAtMjUuNywxMi4yLTI1LjcsMjYuNQoJYzAsMTQuMiwxMS4xLDI2LjQsMjUuNywyNi40YzcuNCwwLDExLjgtMi44LDE2LjUtNi4xYzIuMS0xLjUsMy44LTAuNiw0LjQtMC4xIi8+CjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xNTYuNyw4Mi4xYy0wLjYtMC4zLTAuNi0xLTAuNi0xbDAtNDYuN1YzNGMtMC4xLTEuOC0xLjYtMy4yLTMuNC0zLjNoLTAuMmMtMS45LDAtMy4zLDEuNS0zLjQsMy40djAuMXY1OS4yCgljMCwxLjksMS41LDMuNSwzLjUsMy41YzEsMCwxLjktMC40LDIuNi0xLjFMMTk0LjMsNDZjMCwwLDAuNi0wLjYsMS4zLTAuNGMwLjcsMC4zLDAuNywxLjEsMC43LDEuMXY0Ni42djAuNAoJYzAuMSwxLjgsMS42LDMuMiwzLjQsMy4zaDAuMmMxLjksMCwzLjMtMS41LDMuNC0zLjR2LTAuMVYzNC4ydjBjMC0xLjktMS41LTMuNS0zLjUtMy41Yy0xLDAtMiwwLjQtMi42LDEuMQoJQzE4Ny40LDQ0LjQsMTU4LDgxLjcsMTU4LDgxLjdTMTU3LjYsODIuNCwxNTYuNyw4Mi4xIi8+CjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0zNDkuNyw2My45YzAsMzMuNy0yNy4zLDYxLTYxLDYxYy0zMy43LDAtNjEtMjcuMy02MS02MWMwLTMzLjcsMjcuMy02MSw2MS02MUMzMjIuNCwyLjksMzQ5LjcsMzAuMiwzNDkuNyw2My45CgkiLz4KPHBhdGggY2xhc3M9InN0MiIgZD0iTTMwNS44LDkwLjhoLTAuM2gtMjQuMmMwLDAtMC42LDAuMS0xLTAuNmMtMC40LTAuNywwLjEtMS4yLDAuMS0xLjJzMTEuMi0xMiwxNi44LTE3LjljNi42LTcuMSwxMi0xMy40LDEyLTIxLjgKCWMwLTkuOC03LTE4LjUtMjAuOC0xOC41Yy04LjksMC0xNSw1LjctMTcuMyw4LjNsLTAuMiwwLjJjLTAuNCwwLjYtMC43LDEuMy0wLjcsMmMwLDAuOSwwLjQsMS43LDAuOSwyLjNjMCwwLDAuMSwwLjEsMC4xLDAuMQoJYzAuNiwwLjUsMS4zLDAuOCwyLjEsMC44YzAuOSwwLDEuNy0wLjQsMi4zLTFsMCwwYzMtMyw3LjMtNi4yLDEyLjYtNi4yYzkuOSwwLDEzLjUsNi43LDEzLjUsMTIuMmMwLDQuNS0zLjIsMTAuMy05LjcsMTcuNAoJYy03LjYsOC4yLTE1LjEsMTYuNC0yMi44LDI0LjZsLTAuMiwwLjJjLTAuMiwwLjMtMC40LDAuNi0wLjUsMC45Yy0wLjEsMC40LTAuMiwwLjctMC4yLDEuMWMwLDAuNCwwLjEsMC44LDAuMiwxLjEKCWMwLjUsMS4yLDEuNSwyLjEsMi45LDIuMWwwLjIsMGgzMy44aDAuM2MxLjYtMC4xLDIuOS0xLjQsMy0zdi0wLjNDMzA4LjYsOTIuMSwzMDcuNCw5MC44LDMwNS44LDkwLjgiLz4KPC9zdmc+Cg==)\n}\n\n.jsapi-player-control-play {\n    opacity: .25;\n    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNOCA1djE0bDExLTd6Ii8+PC9zdmc+) 0 0 no-repeat transparent\n}\n\n.jsapi-player-control-pause {\n    opacity: .25;\n    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNNiAxOWg0VjVINnYxNHptOC0xNHYxNGg0VjVoLTR6Ii8+PC9zdmc+) 0 0 no-repeat transparent\n}\n\n.jsapi-player-control-volume_up {\n    opacity: .35;\n    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMyA5djZoNGw1IDVWNEw3IDlIM3ptMTMuNSAzYzAtMS43Ny0xLjAyLTMuMjktMi41LTQuMDN2OC4wNWMxLjQ4LS43MyAyLjUtMi4yNSAyLjUtNC4wMnpNMTQgMy4yM3YyLjA2YzIuODkuODYgNSAzLjU0IDUgNi43MXMtMi4xMSA1Ljg1LTUgNi43MXYyLjA2YzQuMDEtLjkxIDctNC40OSA3LTguNzdzLTIuOTktNy44Ni03LTguNzd6Ii8+PC9zdmc+) 0 0 no-repeat transparent\n}\n\n.jsapi-player-control-volume_off {\n    opacity: .35;\n    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTYuNSAxMmMwLTEuNzctMS4wMi0zLjI5LTIuNS00LjAzdjIuMjFsMi40NSAyLjQ1Yy4wMy0uMi4wNS0uNDEuMDUtLjYzem0yLjUgMGMwIC45NC0uMiAxLjgyLS41NCAyLjY0bDEuNTEgMS41MUMyMC42MyAxNC45MSAyMSAxMy41IDIxIDEyYzAtNC4yOC0yLjk5LTcuODYtNy04Ljc3djIuMDZjMi44OS44NiA1IDMuNTQgNSA2Ljcxek00LjI3IDNMMyA0LjI3IDcuNzMgOUgzdjZoNGw1IDV2LTYuNzNsNC4yNSA0LjI1Yy0uNjcuNTItMS40Mi45My0yLjI1IDEuMTh2Mi4wNmMxLjM4LS4zMSAyLjYzLS45NSAzLjY5LTEuODFMMTkuNzMgMjEgMjEgMTkuNzNsLTktOUw0LjI3IDN6TTEyIDRMOS45MSA2LjA5IDEyIDguMThWNHoiLz48L3N2Zz4=) 0 0 no-repeat transparent\n}\n\n.jsapi-player-control-fullscreen {\n    opacity: .35;\n    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNNyAxNEg1djVoNXYtMkg3di0zem0tMi00aDJWN2gzVjVINXY1em0xMiA3aC0zdjJoNXYtNWgtMnYzek0xNCA1djJoM3YzaDJWNWgtNXoiLz48L3N2Zz4=) 0 0 no-repeat transparent\n}\n\n.jsapi-player-control-fullscreen_exit {\n    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNNSAxNmgzdjNoMnYtNUg1djJ6bTMtOEg1djJoNVY1SDh2M3ptNiAxMWgydi0zaDN2LTJoLTV2NXptMi0xMVY1aC0ydjVoNVY4aC0zeiIvPjwvc3ZnPg==) 0 0 no-repeat transparent\n}\n\n.jsapi-player-control-close {\n    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiIHdpZHRoPSIzNnB4IiBoZWlnaHQ9IjM2cHgiPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTkgNi40MUwxNy41OSA1IDEyIDEwLjU5IDYuNDEgNSA1IDYuNDEgMTAuNTkgMTIgNSAxNy41OSA2LjQxIDE5IDEyIDEzLjQxIDE3LjU5IDE5IDE5IDE3LjU5IDEzLjQxIDEyeiIvPjwvc3ZnPg==) 0 0 no-repeat transparent;\n    width: 36px;\n    height: 36px\n}");ah(Zg(Yt(a,
a.a,new Map,0),function(){a.D&&a.D()}),function(b){console.error("Failed to process VAST:",b)})};Vt.prototype.ja=function(){this.H().Sb()||(Vt.W.ja.call(this),null!=this.o()&&this.K.unobserve(this.o()))};function Xt(a,b){w(b,function(c){X(a,c.isIntersecting?"K":"L")})}
function Yt(a,b,c,d){var e=Xg();Zt(b,a.s);for(var f=0;f<yf(b,hs,3).length;f++){var g=yf(b,hs,3)[f];if(null!=I(g,5)){var k=xf(g,is,5);if(null!=I(k,13)&&(g=xf(k,Os,13),!cb(yf(g,Qs,1)))){k=$t(k,a.s);for(var l=0;l<yf(g,Qs,1).length;l++){var n=yf(g,Qs,1)[l];null!=I(n,7)?function(r,v){e=e.then(function(){return au(a,r,bu([c,v]))})}(xf(n,Ws,7),k,d):null==I(n,8)&&I(n,9)}}}else null!=I(g,6)&&(g=xf(g,rs,6),k=cu(g,a.s),null!=I(g,5)&&!Rc(J(xf(g,ts,5),1,""))&&function(r,v,u){e=e.then(function(){return du(a,r)}).then(function(x){return x?
Yt(a,x,v,u):Xg()})}(J(xf(g,ts,5),1,""),k,d))}return e}function du(a,b){return new Pg(function(c){a.Y.load(b,function(d){c(d)},function(){c()})})}
function au(a,b,c){return new Pg(function(d){var e=-1;if(null!=a.H()&&-1!==a.H().i){if(!Rc(J(b,1,""))){var f;null!=(f=eu(J(b,1,"")))&&(e=f/1E3)}if(-1===e||a.H().i<e)e=a.H().i}var g=fu(b,a.s);if(null!=I(b,3)&&(f=xf(b,Ys,3),!cb(yf(f,$s,1)))){var k=null;null!=I(b,5)&&(k=gu(xf(b,Pt,5),a.s));var l=null==I(b,6)||null==I(xf(b,ft,6),1)||Rc(J(xf(xf(b,ft,6),ht,1),1,""))?null:J(xf(xf(b,ft,6),ht,1),1,""),n=[],r=null;w(yf(f,$s,1),function(S){if("VPAID"===J(S,15,"")){if(null!=I(b,4)){var A=J(xf(b,Ms,4),1,""),Q=
J(S,4,0),da=J(S,5,0);r=new Vr(J(S,1,""),A,Q,da)}}else Kb(J(S,1,""))||Kb(J(S,3,""))||n.push(new Qr(J(S,1,""),J(S,3,"")))});var v=sn(a),u=!1,x=!1,E=!1,D=!1;if(!cb(n)){var G=new Or(null!=a.f&&a.f.j,e,a.f.f,a.f.a),C=new Rr(n,G),K=!1,R=!1,T=!1,V=!1,P=0;Cj(C,"jklmnopqrstuvwxyzABCDEFGHIJ".split(""),function(S){a.R&&console.info("%c Event call ","background: #222; color: #bada55",S.type);var A=C.L?C.f.currentTime:0,Q=C.L?C.f.duration:0;switch(S.type){case "j":x||hu(a,"LOADED",k,A,Q);!D&&u&&2<(C.L?C.f.duration-
C.f.currentTime:0)&&C.L&&C.f.play();D=!1;break;case "C":Sr(C,"user_play");hu(a,"RESUME",k,A,Q);break;case "D":Sr(C,"user_pause");hu(a,"PAUSE",k,A,Q);break;case "E":Sr(C,"user_mute");hu(a,"MUTE",k,A,Q);break;case "F":Sr(C,"user_unmute");hu(a,"UNMUTE",k,A,Q);break;case "G":Sr(C,"user_expand");hu(a,"EXPAND",k,A,Q);break;case "H":Sr(C,"user_collapse");hu(a,"COLLAPSE",k,A,Q);break;case "I":Sr(C,"user_skip");x||hu(a,"SKIP",k,A,Q);x=!0;Pr(G)?(D=!0,C.L&&(C.f.currentTime=0)):An(a,C);d();break;case "J":Sr(C,
"user_click");l?(Ut(l),hu(a,"CLICK_TRACKING",g,A,Q)):(S=C.L&&!C.f.muted,C.L&&C.f.muted&&(C.f.muted=!1),C.L&&!C.f.paused&&S?C.pause():C.L&&C.f.play());break;case "s":K||(K=!0,hu(a,"START",k,A,Q),x||hu(a,"IMPRESSION",c,A,Q),u?(x||E||(hu(a,"VIEWABLE_IMPRESSION",c,A,Q),E=!0),hu(a,"CREATIVE_VIEW",k,A,Q)):jn(v,a,function(){x||E||(hu(a,"VIEWABLE_IMPRESSION",c,A,Q),E=!0);hu(a,"CREATIVE_VIEW",k,A,Q)}));break;case "z":Math.floor(A)>P&&(P=Math.floor(A),x||hu(a,"PROGRESS",k,A,Q));A>=Q/4&&!R&&(R=!0,x||hu(a,"FIRST_QUARTILE",
k,A,Q));A>=Q/2&&!T&&(T=!0,x||hu(a,"MIDPOINT",k,A,Q));A>=3*Q/4&&!V&&(V=!0,x||hu(a,"THIRD_QUARTILE",k,A,Q));break;case "n":Sr(C,"user_ended"),x||hu(a,"COMPLETE",k,A,Q),x=!0,Pr(G)?(D=!0,C.L&&(C.f.currentTime=0)):An(a,C),d()}});try{gn(v,a,"K",function(){u=!0;C.L&&C.f.play()}),gn(v,a,"L",function(){u=!1;C.L&&!C.f.paused&&C.pause()}),wn(a,C)}catch(S){d()}return}if(null!=r){var N=new Wr(r);Cj(N,"AdStarted AdStopped AdSkipped AdLoaded AdLinearChange AdSizeChange AdExpandedChange AdSkippableStateChange AdDurationChange AdRemainingTimeChange AdVolumeChange AdImpression AdClickThru AdInteraction AdVideoStart AdVideoFirstQuartile AdVideoMidpoint AdVideoThirdQuartile AdVideoComplete AdUserAcceptInvitation AdUserMinimize AdUserClose AdPaused AdPlaying AdError AdLog".split(" "),
function(S){var A=N.L?N.D.currentTime:0,Q=N.L?N.D.duration:0;switch(S.type){case "AdLoaded":hu(a,"LOADED",k,A,Q);u&&Yr(N);break;case "AdVideoStart":hu(a,"START",k,A,Q);break;case "AdImpression":hu(a,"IMPRESSION",c,A,Q);u?(hu(a,"VIEWABLE_IMPRESSION",c,A,Q),hu(a,"CREATIVE_VIEW",k,A,Q)):jn(v,a,function(){hu(a,"VIEWABLE_IMPRESSION",c,A,Q);hu(a,"CREATIVE_VIEW",k,A,Q)});break;case "AdVideoFirstQuartile":hu(a,"FIRST_QUARTILE",k,A,Q);break;case "AdVideoMidpoint":hu(a,"MIDPOINT",k,A,Q);break;case "AdVideoThirdQuartile":hu(a,
"THIRD_QUARTILE",k,A,Q);break;case "AdVideoComplete":hu(a,"COMPLETE",k,A,Q);An(a,N);d();break;case "AdRemainingTimeChange":hu(a,"PROGRESS",k,A,Q);break;case "AdError":hu(a,"ERROR",c,A,Q);An(a,N);d();break;case "AdSkipped":hu(a,"SKIP",k,A,Q);An(a,N);d();break;case "AdClickThru":hu(a,"CLICK_TRACKING",g,A,Q)}});try{gn(v,a,"K",function(){u=!0;Yr(N)}),gn(v,a,"L",function(){u=!1;N.L&&!N.D.paused&&N.pause()}),wn(a,N)}catch(S){d()}return}}d()})}
function bu(a){var b=new Map;w(a,function(c){y.h(c)&&c.forEach(function(d,e){b.has(e)||b.set(e,[]);w(d,function(f){b.get(e).push(f)})})});return b}function hu(a,b,c,d,e){a=bu([a.T,y.h(c)?c:new Map]);0!==a.size&&(b=a.get(b),null!=b&&(d=iu(b,d?d:0,e?e:0),ju(d)))}
function iu(a,b,c){return a.filter(function(d){d=d.f;if(null!=d&&!Rc(d)){var e,f;if(null!=(e=eu(d))){if(Math.floor(b)!==Math.floor(e/1E3))return!1}else if(null==d||Kb(d)?d=0:(d=ku.exec(d),d=null!=d?+d[1]:null),null!=(f=d)&&Math.floor(100*b/c)!==Math.floor(f))return!1}return!0})}function ju(a){w(a,function(b){b=ds(b);try{var c=window;c[lu]||(c[lu]=[]);var d=ke("img",{src:b,alt:""});c[lu].push(d)}catch(e){}})};function mu(a,b,c,d){this.f=a;this.s=b;this.a=d;this.Y=new Date;this.D=0;this.M="0.1.8";p(a.element)&&y.C(this.f.element.versionRichLib)&&(this.M=this.f.element.versionRichLib);this.R=11223344;p(a.element)&&y.l(this.f.element.lastUpdateFrame)&&(this.R=this.f.element.lastUpdateFrame);this.i=!1;this.Z="";this.ea=!1;this.K=30;this.O={};p(this.f.element.data)&&(b=this.f.element.data,d={},p(b.base_data)&&(d=nu(d,b.base_data)),p(b.item_data)&&(d=nu(d,b.item_data)),p(b.block_data)&&(d=nu(d,b.block_data)),
this.O=d);this.na("rich.duration")&&y.l(this.na("rich.duration"))&&(this.K=this.na("rich.duration"));this.na("rich.finite")&&y.$(this.na("rich.finite"))&&(this.i=this.na("rich.finite"));this.F=!0;this.na("rich.blur")&&y.$(this.na("rich.blur"))&&(this.F=this.na("rich.blur"));this.j="";p(a.element)&&y.C(this.f.element.img)&&(this.j=this.f.element.img);y.h(this.a.rich_blur)&&this.j&&y.$(this.a.rich_blur)&&(this.F=this.a.rich_blur);y.h(this.a.stop_after_play)&&this.a.stop_after_play&&(this.i=!1);this.ha=
251;this.na("rich.minHeight")&&y.l(this.na("rich.minHeight"))&&(this.ha=this.na("rich.minHeight"));this.T=251;this.na("rich.minWidth")&&y.l(this.na("rich.minWidth"))&&(this.T=this.na("rich.minWidth"));p(a.element)&&y.l(a.element.rich_id)&&(this.D=a.element.rich_id);p(a.element)&&y.C(a.element.click_url)&&(this.Z=a.element.click_url);this.fa=c?c:""}
function nu(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];if(!c.length)return a;d=c.shift();if(p(a)&&p(d))for(var e in d)if(p(d[e])){if(!a[e]){var f={};Object.assign(a,(f[e]={},f))}nu(a[e],d[e])}else f={},Object.assign(a,(f[e]=d[e],f));return nu.apply(mu,[a].concat(c instanceof Array?c:ca(ba(c))))}h=mu.prototype;h.$a=function(){return this.F};function ou(a){return!!a.j&&a.F}h.na=function(a){return a.split(".").reduce(function(b,c){return b?b[c]:void 0},this.O||self)};
function pu(a){var b=a.f.element.url;if(b.includes("%object%")){var c=a.O,d=a.D,e=a.fa,f=a.K,g=a.i,k=window.location.protocol+"//"+window.location.host;5>a.Z.length&&console.warn("Empty click URL");c=JSON.stringify({rich_data:c,rich_setting:{id:d,uuid:e,duration:f,isFinite:g,peerOrigin:k,click_url:a.Z}});b=b.replace("%object%",Ne(c))}b=b+"&lib_version="+a.M;return b=b+"&frame_version="+a.R}h.Fc=function(){return this.M};
function qu(a){a=new URL(a.f.element.url);return a.origin?a.origin:"https://static.smi2.net"}function ru(a){return p(a.f.element)&&y.C(a.f.element.type)&&"iframe"!==a.f.element.type.toLowerCase()?!1:!0}h.Ec=function(){return this.O};h.ad=function(){return this.D};h.bd=function(){return this.i};mu.prototype.isStopAfterPlay=mu.prototype.bd;mu.prototype.getData=mu.prototype.na;mu.prototype.getDataObj=mu.prototype.Ec;mu.prototype.getRichId=mu.prototype.ad;mu.prototype.getSupportVersionRichLib=mu.prototype.Fc;function su(){}t(su,Ln);ya(su);su.prototype.qa=function(){return"jsapi-media-player"};
su.prototype.la=function(a){var b=a.H(),c=a.j,d;if(b.s&&(b.s&&p(b.s)&&p(b.a)&&y.$(b.a.ad_label_render)?b.a.ad_label_render:1)){var e=b.s;if(e&&y.ia(e)&&y.C(e.text)&&y.C(e.link)){var f=y.h(e.popup)&&e.popup,g="",k="",l=e.text,n=e.link;y.C(e.erid)&&(k=e.erid);y.C(e.detail)&&(g=e.detail);y.C(e.age)&&(l=l+" "+e.age);e=ke("div","jsapi-media-ad-label ",l);var r=ke("div","jsapi-media-ad-label-popup jsapi-media-control-hidden jsapi-media-ad-label-link-text",["\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0440\u0435\u043a\u043b\u0430\u043c\u043e\u0434\u0430\u0442\u0435\u043b\u0435: ",
ke("BR"),g,ke("HR"),"\u0415\u0420\u0418\u0420: "+k,ke("HR"),ke("A",{"class":"jsapi-media-ad-label-link",href:n,target:"_blank",rel:"noopener noreferrer nofollow"},"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435...")]);e.addEventListener("click",function(v){v.target.classList.contains("jsapi-media-ad-label")&&v.stopPropagation();f&&($m(r,"jsapi-media-control-hidden")?cn(r,"jsapi-media-control-hidden"):an(r,"jsapi-media-control-hidden"))},!0);f?d=ke("DIV",{"class":"jsapi-media-ad-label-link-popup"},
[e,r]):d=ke("A",{"class":"jsapi-media-ad-label-link",href:n,target:"_blank",rel:"noopener noreferrer nofollow"},[e])}}g=c.a("DIV","jsapi-media-logo jsapi-media-logo-top");g.addEventListener("click",function(v){v.target.classList.contains("jsapi-media-logo")&&v.stopPropagation()},!0);g=ke("a",{"class":"jsapi-media-logo-link",href:"https://smi2.net",target:"_blank",rel:"noopener noreferrer nofollow"},[g]);c=c.a("DIV",Fn(this,a).join(" "),[a=c.a("DIV",{"class":"jsapi-media-element",muted:!0},[b.$a()&&
c.a("DIV","jsapi-media-panel-bg",[c.a("DIV")]),c.a("DIV","jsapi-media-panel-top",[g?g:c.a("DIV"),c.a("DIV","jsapi-media-ad",d?d:c.a("DIV","jsapi-media-ad"))]),c.a("DIV","jsapi-media-timeline",[c.a("DIV","jsapi-media-timeline-progress",[c.a("DIV","jsapi-media-timeline-progress-duration"),c.a("DIV","jsapi-media-timeline-progress-elapsed")])]),c.a("IFRAME",{"class":"jsapi-media-iframe",width:"100%",height:"100%",style:"border: none"})])]);a&&(a.style.minWidth=b.T+"px",a.style.minHeight=b.ha+"px");return c};
function tu(a){var b=ce("jsapi-media-timeline-progress-elapsed",a.o());a=Math.floor(100*Math.floor(a.s)/Math.floor(a.Fa));100<a&&(a=100);ol(b,a+"%")};function uu(a){var b=vu;return function(){var c=this||m;c=c[wu]||(c[wu]={});var d=b(Ca(a),arguments);return c.hasOwnProperty(d)?c[d]:c[d]=a.apply(this,arguments)}}var wu="closure_memoize_cache_";function vu(a,b){for(var c=[a],d=b.length-1;0<=d;--d)c.push(typeof b[d],b[d]);return c.join("\x0B")};function Mq(a){Pj.call(this);this.a=a||$d();if(this.f=this.Dc())this.i=Cj(this.a.f,this.f,Ja(this.Ic,this))}t(Mq,Pj);h=Mq.prototype;h.Dc=uu(function(){var a=!!this.hb(),b="hidden"!=this.hb();if(a){var c;b?c=(($k()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});h.hb=uu(function(){return al("hidden",this.a.f)});h.Gc=uu(function(){return al("visibilityState",this.a.f)});function Oq(a){return!!a.a.f[a.hb()]}
h.Ic=function(){var a=this.hb()?this.a.f[this.Gc()]:null;a=new xu(Oq(this),a);X(this,a)};h.X=function(){Lj(this.i);Mq.W.X.call(this)};function xu(){kj.call(this,"visibilitychange")}t(xu,kj);function yu(){$i.call(this);this.f={}}t(yu,$i);yu.prototype.ec=function(){return!0};yu.prototype.Ua=function(a,b,c){this.f[a]={V:b,sc:!!c}};yu.prototype.X=function(){yu.W.X.call(this);delete this.f;delete this.i};function zu(a){$i.call(this);this.Xa=a}t(zu,$i);h=zu.prototype;h.cancel=function(){this.Xa.cancel()};h.ec=function(){return!0};h.Ua=function(a,b,c){qh(this.Xa,function(d){d.Ua(a,b,c)})};h.Bb=function(a,b){qh(this.Xa,function(c){c.Bb(a,b)})};h.X=function(){this.cancel();zu.W.X.call(this)};function Au(a){yu.call(this);this.a=a;this.j=Cj(this.a,"message",this.Cc,!1,this)}t(Au,yu);function Bu(a,b){if("*"==b)return new zu(xh());var c=new Rj(250),d=Ka(dj,c),e=new kh(d);th(e,d);c.start();Cj(c,"tick",function(){function f(){g.port1.removeEventListener("message",f,!0);c.ea||e.V(new Au(g.port1))}var g=new MessageChannel;g.port1.start();g.port1.addEventListener("message",f,!0);var k={};k[Cu]=!0;a.postMessage(k,b,[g.port2])});return new zu(e)}var Cu="--goog.messaging.PortChannel",Du=Fd&&0>Ub("533");
h=Au.prototype;h.Bb=function(a,b){var c=[];b=this.Ab(c,b);var d={serviceName:a,payload:b};d[Cu]=!0;Du&&(d=Yj(d));this.a.postMessage(d,c)};
h.Cc=function(a){a=a.a;var b=a.data;if(Du)try{b=JSON.parse(b)}catch(e){return}var c;if(c=p(b)&&b[Cu])c=b,"serviceName"in c?"payload"in c?c=!0:(xe(c),c=!1):(xe(c),c=!1);if(c){c=b.serviceName;b=b.payload;var d=this.f[c];c=d?d:this.i?{V:Ka(this.i,c),sc:p(b)}:null;if(c){a:{a=this.Hb(a.ports||[],b);if((d=c.sc)&&"string"===typeof a)try{b=JSON.parse(a);break a}catch(e){b=null;break a}else if(!d&&"string"!==typeof a){b=Yj(a);break a}b=a}null!=b&&c.V(b)}}};
h.Ab=function(a,b){return b&&"[object MessagePort]"==Object.prototype.toString.call(b)?(a.push(b),{_port:{type:"real",index:a.length-1}}):Array.isArray(b)?Ua(b,Ja(this.Ab,this,a)):b&&b.constructor==Object?tb(b,function(c,d){c=this.Ab(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};h.Hb=function(a,b){return Array.isArray(b)?Ua(b,Ja(this.Hb,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:tb(b,function(c,d){return this.Hb(a,"_port"==d?c.val:c)},this):b};
h.X=function(){Lj(this.j);"[object MessagePort]"==Object.prototype.toString.call(this.a)?this.a.close():"[object Worker]"==Object.prototype.toString.call(this.a)&&this.a.terminate();delete this.a;Au.W.X.call(this)};function Eu(a){H(this,a,Fu,null)}t(Eu,F);function Gu(a){H(this,a,null,null)}t(Gu,F);function Hu(a){H(this,a,Iu,null)}t(Hu,F);var Fu=[21];function Ju(a,b){var c={ze:uf(b,1),ye:J(b,2,0),Ae:J(b,3,0),jf:uf(b,4),hf:J(b,5,0),kf:J(b,6,0),mf:uf(b,7),lf:J(b,8,0),nf:J(b,9,0),he:J(b,10,0),fe:J(b,11,0),Le:J(b,12,0),gf:J(b,13,0),$e:J(b,14,0),Oe:J(b,17,""),De:uf(b,18),af:J(b,19,""),bf:J(b,20,""),cf:tf(yf(b,Gu,21),Ku,a)};a&&(c.Yb=b);return c}
function Lu(a,b){var c;(c=uf(a,1))&&mf(b,1,c);c=J(a,2,0);0!==c&&lf(b,2,c);c=J(a,3,0);0!==c&&lf(b,3,c);(c=uf(a,4))&&mf(b,4,c);c=J(a,5,0);0!==c&&lf(b,5,c);c=J(a,6,0);0!==c&&lf(b,6,c);(c=uf(a,7))&&mf(b,7,c);c=J(a,8,0);0!==c&&lf(b,8,c);c=J(a,9,0);0!==c&&lf(b,9,c);c=J(a,10,0);0!==c&&lf(b,10,c);c=J(a,11,0);0!==c&&lf(b,11,c);c=J(a,12,0);0!==c&&lf(b,12,c);c=J(a,13,0);0!==c&&lf(b,13,c);c=J(a,14,0);0!==c&&lf(b,14,c);c=J(a,17,"");0<c.length&&B(b,17,c);(c=uf(a,18))&&mf(b,18,c);c=J(a,19,"");0<c.length&&B(b,19,
c);c=J(a,20,"");0<c.length&&B(b,20,c);c=yf(a,Gu,21);0<c.length&&of(b,21,c,Mu)}function Ku(a,b){var c={type:J(b,1,""),re:J(b,2,0),values:J(b,3,"")};a&&(c.Yb=b);return c}
function Mu(a,b){var c=J(a,1,"");0<c.length&&B(b,1,c);c=J(a,2,0);if(0!==c&&null!=c){var d=c;if(null!=d){df(b.a,16);c=b.a;var e=d;d=0>e;e=Math.abs(e);var f=e>>>0;e=Math.floor((e-f)/4294967296);e>>>=0;d&&(e=~e>>>0,f=(~f>>>0)+1,4294967295<f&&(f=0,e++,4294967295<e&&(e=0)));Re=f;Se=e;d=Re;for(f=Se;0<f||127<d;)c.a.push(d&127|128),d=(d>>>7|f<<25)>>>0,f>>>=7;c.a.push(d)}}c=a.xa();0<c.length&&B(b,3,c)}Gu.prototype.xa=function(){return J(this,3,"")};var Iu=[11];
function Nu(a){return{Qe:J(a,1,0),version:J(a,2,0),Se:J(a,3,""),ef:J(a,4,""),Ge:J(a,5,""),Re:J(a,6,""),Pe:J(a,7,""),df:J(a,8,0),url:J(a,9,""),referrer:J(a,10,""),te:tf(yf(a,Eu,11),Ju,void 0),ub:J(a,13,0),Me:J(a,14,0),ue:uf(a,15),Je:J(a,16,0)}};var Ou={};function Pu(a,b,c,d,e){eo.call(this,null,su.G(),e);if(!Ou)throw"rich.lib.events! EMPTY!";this.ga=this.ua=0;this.K="";this.Aa=0;Uc();lo(this,255,!1);no(this,255,!1);fo(this);this.Jb=b;this.D=void 0;this.va=!1;this.Sa=c;this.Ga=y.J(d)?d:null;this.s=0;this.Fa=c.K;this.f=this.R=this.ca=this.Y=this.M=null;this.T=new Mq}Pu.prototype.Ya=Uc();t(Pu,eo);h=Pu.prototype;h.H=function(){return this.Sa};
h.da=function(){Pu.W.da.call(this);var a=this;Nq(Qu);a.D=ce("jsapi-media-iframe",a.o());ou(a.H())&&(ce("jsapi-media-panel-bg",a.o()).style.backgroundImage="url("+a.H().j+")");sn(a);tu(a);ah(Zg(Ru(a),function(){a.Ga&&a.Ga()}),function(b){console.error("Failed to process Media:",b)});a.gb={delay:100,root:null,rootMargin:"0px",threshold:.2};a.kb={root:null,rootMargin:"0px",threshold:.5};a.Y=new IntersectionObserver(function(b){Su(a,b)},a.gb);a.ca=new IntersectionObserver(function(b){Tu(a,b)},a.kb);null!=
a.o()&&(a.Y.observe(a.o()),a.ca.observe(a.o()));Cj(a.T,"visibilitychange",function(){X(a,Oq(a.T)?"N":"M")});X(a,Oq(a.T)?"N":"M");Cj(window,["beforeunload","unload"],function(){Uu(a)});Cj(a.D,["beforeunload","unload"],function(){Uu(a)});a.M=new Rj(1E3);a.M.start();Cj(a.M,"tick",function(){X(a,"AdTimeUpdate")});Vu(a,10)};function Vu(a,b){a.R&&a.R.stop();a.R=new Rj(1E3*b);a.R.start();Cj(a.R,"tick",function(){Wu(a)})}
h.ja=function(){this.H().i&&(this.D=void 0,Pu.W.ja.call(this),null!=this.o()&&(this.Y.unobserve(this.o()),this.ca.unobserve(this.o())),this.T.X(),this.M&&this.M.stop())};function Tu(a,b){w(b,function(c){X(a,c.isIntersecting?"P":"Q")})}function Su(a,b){w(b,function(c){X(a,c.isIntersecting?"O":"R")})}
function Xu(a,b,c,d){var e=new Hu;"STATISTICS"===b?(M(e,4,"STATISTICS"),b=Oh(a.H().fa),M(e,3,b)):("CLICK_TRACKING"===b?M(e,4,"CLICK_TRACKING"):M(e,4,"CUSTOM_TRACKING"),b=gg().toString(),M(e,3,b));b=a.H().D;L(e,1,b);M(e,7,d);M(e,6,c);Yc.G();M(e,5,"5.20.10");a.Aa++;L(e,8,Mh(a.Aa));a=Mh(Date.now()-a.H().Y);L(e,2,a);p(window.location)&&y.ia(window.location.href)&&M(e,9,Oh(window.location.href));p(window.document)&&y.ia(window.document.referrer)&&M(e,10,Oh(window.document.referrer));L(e,13,Mh(0));L(e,
14,Mh(0));return e}function Uu(a){a.va||(a.va=!0,X(a,"AdUnload"),Wu(a),Yu(a,"unload"),Zu(a,"CLOSE"))}function Wu(a){if(a.K&&y.C(a.K)){var b=a.K;a.K="";a.ga++;Zu(a,"STATISTICS",b)}}
function $u(a){var b=new ff;var c=J(a,1,0);0!==c&&lf(b,1,c);c=J(a,2,0);0!==c&&lf(b,2,c);c=J(a,3,"");0<c.length&&B(b,3,c);c=J(a,4,"");0<c.length&&B(b,4,c);c=J(a,5,"");0<c.length&&B(b,5,c);c=J(a,6,"");0<c.length&&B(b,6,c);c=J(a,7,"");0<c.length&&B(b,7,c);c=J(a,8,0);0!==c&&lf(b,8,c);c=J(a,9,"");0<c.length&&B(b,9,c);c=J(a,10,"");0<c.length&&B(b,10,c);c=yf(a,Eu,11);0<c.length&&of(b,11,c,Lu);c=J(a,13,0);0!==c&&lf(b,13,c);c=J(a,14,0);0!==c&&lf(b,14,c);(c=uf(a,15))&&mf(b,15,c);c=J(a,16,0);0!==c&&lf(b,16,
c);a=jf(b);return Le(a)}
function av(a,b,c){c=void 0===c?!1:c;var d=!1;if(p(a.collect))for(var e=ba(Object.entries(a.collect)),f=e.next();!f.done;f=e.next()){var g=ba(f.value);f=g.next().value;g.next();if(!c||"_MAIN_"===f){g=new Eu;var k=M(g,17,f);k=wf(k,18,"_MAIN_"===f,!1);k=wf(k,1,!!a.collect[f].v.hover,!1);k=L(k,2,a.collect[f].c.hover);k=L(k,3,a.collect[f].t.hover);k=wf(k,7,!!a.collect[f].v.visibility,!1);k=L(k,8,a.collect[f].c.visibility);k=L(k,9,a.collect[f].t.visibility);k=wf(k,4,!!a.collect[f].v.viewability,!1);k=
L(k,5,a.collect[f].c.viewability);k=L(k,6,a.collect[f].t.viewability);k=L(k,10,a.collect[f].t.audibleTime);k=L(k,11,a.collect[f].t.activeViewAudible);k=L(k,14,a.collect[f].t.totalTiming);k=L(k,12,a.collect[f].c.mouseMileage);L(k,13,a.collect[f].c.videoQuartile);a.eventName&&y.C(a.eventName)&&M(g,19,a.eventName);a.eventObject&&p(a.eventObject)&&(k=Oh(JSON.stringify(a.eventObject)),M(g,20,k));a.click_element&&y.C(a.click_element)&&M(g,19,a.click_element);a.click_data&&p(a.click_data)&&(k=Oh(JSON.stringify(a.click_data)),
M(g,20,k));"_MAIN_"===f&&(d=0<a.collect[f].c.hover);U(b,11,g,Eu)}}wf(b,15,d,!1);return b}function bv(a,b){a.f&&a.f.ec()&&b&&a.f.Bb("CHANNEL_COMMUNICATION",b)}
function cv(a){var b=qu(a.Sa);b||(b="https://static.smi2.net");a.f=Bu(a.D.contentWindow,b);a.f.Ua("CHANNEL_COMMUNICATION",function(c){console.warn("_onBackMessageCommunication",c)},!0);a.f.Ua("CHANNEL_STATISTIC",function(c){var d=Xu(a,"STATISTICS",c.version,c.dc);d=av(c,d);L(d,16,0);a.ua++;a.K=$u(d);1===a.ua&&Wu(a);switch(a.ga){case 30:Vu(a,45);break;case 50:Vu(a,55);break;case 100:Vu(a,65);break;case 150:Vu(a,80);break;case 200:Vu(a,800);break;case 250:Vu(a,1500)}"richLib.UNLOAD"===c.event&&Uu(a);
Yu(a,"statistic",c)},!0);a.f.Ua("CHANNEL_CUSTOM_EVENTS_STATISTIC",function(c){var d=Xu(a,"CUSTOM_TRACKING",c.version,c.dc);d=av(c,d,!0);console.warn("_onBackMessageCustomEvent",Nu(d));Zu(a,"STATISTICS",$u(d))},!0);a.f.Ua("CHANNEL_CLICK",function(c){if(p(c)&&y.C(c.click_url)){var d=Xu(a,"CLICK_TRACKING",c.version,c.dc);d=av(c,d,!0);Zu(a,"STATISTICS",$u(d));c=new CustomEvent("S",{detail:{is_default:!!c.click_default,url:c.click_url}});X(a,c)}else console.warn("Can`t process CLICK,sorry")},!0)}
function Yu(a,b,c){c=void 0===c?{}:c;var d=a.H();c=void 0===c?{}:c;p(d.a)&&p(d.a.callback)&&y.J(d.a.callback[b])&&d.a.callback[b].call(d,b,a,c)}
function Ru(a){return new Pg(function(b){var c=sn(a),d=!1,e=!1,f=!1,g=!1,k,l=!1;if(ru(a.H()))Yu(a,"loadeddata"),Yu(a,"loadedmetadata"),X(a,"loadedmetadata");else throw"RichMedia not support not IFRAME element";a.D.src=pu(a.H());(new ResizeObserver(function(x){x=ba(x);for(var E=x.next();!E.done;E=x.next()){var D=E.value;E=a;var G=D.contentRect.width;D=D.contentRect.height;if(0!==G||0!==D)Yu(E,"resize"),bv(E,{event:"richLib.RESIZE",width:G,height:D})}})).observe(a.D);gn(c,a.D,["load"],function(){cv(a);
Yu(a,"playing");d=!0;Zu(a,"LOADED")});var n=!1,r=!1,v=!1,u=!1;try{gn(c,a,"AdCOMPLETE",function(){var x=!1;if(a.H().ea)x=!0;else{var E;if(E=a.H().i)E=a.H(),E=p(E.a)&&p(E.a.callback)&&y.J(E.a.callback.ended)?!0:!1;E&&(x=!0)}x&&(Yu(a,"ended"),b())}),gn(c,a,"AdUnload",function(){e=l=d=!1}),gn(c,a,"AdTimeUpdate",function(){1>a.s&&(a.s=0);var x=a.s,E=a.Fa;n?e&&f&&l&&d&&a.s++:e&&f&&d&&a.s++;tu(a);e&&f&&l&&d&&1<a.s&&!g&&(g=!0,Zu(a,"VIEWABLE_IMPRESSION"));var D=0;x>=E/4&&!n&&(n=!0,D=15,Zu(a,"FIRST_QUARTILE"),
Wu(a));x>=E/2&&!r&&(r=!0,D=50,Zu(a,"MIDPOINT"),Wu(a));x>=3*E/4&&!v&&(v=!0,D=75,Zu(a,"THIRD_QUARTILE"),Wu(a));x>=E&&!u&&(u=!0,D=100,Zu(a,"COMPLETE"),Wu(a),X(a,"AdCOMPLETE"));bv(a,{event:"richLib.TIMEUPDATE",visible:f&&e,current:x,duration:E,Ne:D});f&&e&&Yu(a,"timeupdate")}),gn(c,a,"S",function(){Zu(a,"CLICK_TRACKING");Yu(a,"user_click")}),gn(c,a,"P",function(){l||(k&&m.clearTimeout(k),k=Sj(function(){e&&f&&(l=!0)},1E3))}),gn(c,a,"M",function(){f=!0}),gn(c,a,"N",function(){f=!1}),gn(c,a,"O",function(){(e=
!0,f)?(Yu(a,"play",a),bv(a,{event:"richLib.VISIBLE"})):d&&Yu(a,"pause",a)}),gn(c,a,"R",function(){e=!1,d&&Yu(a,"pause",a),bv(a,{event:"richLib.INVISIBLE"})})}catch(x){}})}function Zu(a,b,c){var d=a.Jb;0!==d.size&&(d=d.get(b),null!=d&&("STATISTICS"===b&&y.h(d[0])&&c&&c&&d[0].a.set("${RICH_MEDIA_JSON}",c),dv(a,d)))}function dv(a,b){w(b,function(c){c=ds(c);try{var d=a.Ya,e=window;e[d]||(e[d]=[]);var f=ke("img",{src:c,alt:""});e[d].push(f)}catch(g){}})}h.cd=function(){return!0};h.ed=function(){return!1};
h.type=function(){return"rich"};h.dd=function(){return this.H().i};Pu.prototype.isStopAfterPlay=Pu.prototype.dd;Pu.prototype.getProperties=Pu.prototype.H;Pu.prototype.isRich=Pu.prototype.cd;Pu.prototype.isVideo=Pu.prototype.ed;Pu.prototype.type=Pu.prototype.type;var Qu="\n        .jsapi-media-player {\n            left: 0px;\n            top: 0px;\n            /*border: #111dd5 solid 1px;*/\n            /*z-index: 30;*/\n            position: relative;\n            width: 100%;\n            height: 100%;\n            padding: 0 0 0 0;\n            margin: 0 0 0 0;\n\n        }\n\n        .jsapi-media-element {\n            position: relative;\n            left: 0px;\n            top: 0px;\n            /*border: red solid 1px;*/\n            z-index: 1;\n            position: relative;\n            width: 100%;\n            height: 100%;\n            margin: auto;\n            /*min-height: 250px;*/\n            /*min-width: 200px;*/\n        }\n\n        .jsapi-media-panel-top {\n            position: absolute;\n            display: flex;\n            flex-wrap: nowrap;\n            top: 5px;\n            right: 3px;\n            -webkit-box-align: center;\n            -ms-flex-align: center;\n            align-items: center;\n            border-radius: 5px;\n            background: rgba(120, 120, 120, 0.5);\n            z-index: 1;\n        }\n\n        .jsapi-media-timeline {\n            position: absolute;\n            top: 0px;\n            right: 0px;\n            height: 4px;\n            margin: 1px 0px 0;\n            width: 100%;\n            z-index: 200;\n            opacity: .75;\n\n        }\n\n        .jsapi-media-timeline-progress {\n            opacity: .85;\n            position: absolute;\n            left: 0;\n            right: 0;\n            height: 5px;\n            background-size: 400% 400%;\n        }\n\n        .jsapi-media-timeline-progress-duration {\n            position: absolute;\n            width: 100%;\n\n            opacity: .15;\n            height: 4px;\n            border-radius: 2px\n        }\n\n        .jsapi-media-timeline-progress-elapsed {\n            position: absolute;\n            width: 25%;\n            background-image: linear-gradient(-45deg, rgba(238, 119, 82, .5), rgba(231, 60, 126, .5), rgba(74, 213, 35, 0.5), rgba(1, 222, 11, 0.5));\n            animation-name: timeline--gradient-x;\n            transition-property: all;\n            transition-timing-function: linear;\n            transition-duration: .8s;\n            animation-duration: 7s;\n            animation-timing-function: ease;\n            animation-iteration-count: infinite;\n            height: 4px;\n            border-radius: 2px\n        }\n\n\n        .jsapi-media-panel-bottom {\n            position: absolute;\n            bottom: 0;\n            left: 0;\n            right: 0;\n            z-index: 125;\n        }\n\n        .jsapi-media-iframe {\n            /*z-index: 1000;*/\n            left: 0px;\n            top: 0px;\n            position: absolute;\n            height: 100%;\n            width: 100%;\n            /*min-height: 250px;*/\n            /*min-width: 200px;*/\n        }\n\n        .jsapi-media-panel-bg {\n            position: absolute;\n            left: -15px;\n            top: -15px;\n            height: calc(100% + 30px) !important;\n            width: calc(100% + 30px) !important;\n            z-index: auto;\n            -webkit-filter: blur(15px);\n            filter: blur(15px);\n            border-radius: 5px;\n            -webkit-filter: blur(15px);\n            filter: blur(15px);\n            -webkit-transform: translateZ(0);\n            transform: translateZ(0);\n            background-repeat: no-repeat;\n            background-size: cover;\n            background-position: center;\n        }\n\n        .jsapi-media-controls {\n            display: flex\n        }\n\n        .jsapi-media-control {\n            /*width: 24px;*/\n            /*height: 24px;*/\n            background-size: auto 100%;\n            /*cursor: pointer;*/\n            display: flex;\n            margin: 8px;\n            transition: opacity .4s\n        }\n\n        .jsapi-media-control:hover {\n            opacity: .1\n        }\n\n        .jsapi-media-control-hidden {\n            display: none\n        }\n\n        .jsapi-media-control-align-right {\n            margin-left: auto\n        }\n\n        .jsapi-media-ad-label-popup {\n            position: absolute;\n            top: 20px;\n            right: -20px;\n            color: #474f59;\n            border-color: #ebebeb !important;\n            width: 232px !important;\n            /*max-height: 95% !important;*/\n            border-radius: 5px !important;\n            box-sizing: border-box !important;\n            font-size: 14px !important;\n            padding: 2px 20px 20px 20px;\n            margin: 2px 20px;\n            background: #afafb2;\n        }\n\n        .jsapi-media-ad-label {\n\n            display: flex;\n            opacity: .2;\n            font-family: Roboto, Helvetica, Arial, sans-serif;\n            font-style: normal;\n            font-size: 11px;\n            line-height: 16px;\n            font-weight: 400;\n            color: #fff;\n            letter-spacing: 0.36px;\n            top: 12px;\n            left: 15px;\n            margin-left: auto;\n            margin-right: 3px;\n            /*margin-top: 10px;*/\n            z-index: 15;\n        }\n\n        .jsapi-media-ad-label-link-text {\n            cursor: auto;\n        }\n\n        .jsapi-media-ad-label-link-popup {\n            cursor: pointer;\n        }\n\n        .jsapi-media-ad-label-link {\n            cursor: pointer;\n            display: flex;\n            text-decoration: none;\n            width: 100%\n        }\n\n        .jsapi-media-ad {\n            height: 100%;\n            width: 100%;\n            margin-left: auto;\n            margin-right: auto;\n            z-index: 125;\n\n        }\n\n        .jsapi-media-logo-bottom {\n            width: 65px;\n            position: relative;\n            z-index: 1;\n            top: 1px;\n            left: 30px;\n            padding: 19px 10px 0px 0px;\n            margin-left: 5px;\n        }\n\n        .jsapi-media-logo-top {\n            width: 45px;\n            height: 10px;\n            margin: 0;\n            z-index: 1;\n            top: 10px;\n            padding: 12px 0px 0px 0px;\n        }\n\n        .jsapi-media-logo {\n            background-position: center;\n            background-size: contain;\n            background-repeat: no-repeat !important;\n            background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAzNTMgMTI3IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzNTMgMTI3OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cgkuc3Qxe2ZpbGw6IzQwQUU0OTt9Cgkuc3Qye2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU+CjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xMzYuNCw5My4xbC0wLjEtMC42YzAsMC05LjUtNTcuMy05LjgtNTkuMWMtMC40LTItMS40LTIuNi0yLjctMi42aC0wLjFjLTEuMiwwLTIsMC40LTIuOCwyLjUKCWMtMC41LDEuMy0xNy4yLDQ3LjgtMTcuMiw0Ny44cy0wLjIsMC43LTEsMC43Yy0wLjgsMC0xLTAuOC0xLTAuOFM4NSwzNC41LDg0LjUsMzMuMmMtMC44LTIuMi0xLjYtMi41LTIuOC0yLjVoLTAuMQoJYy0xLjMsMC0yLjMsMC42LTIuNywyLjZjLTAuNCwxLjgtOS44LDU5LjEtOS44LDU5LjFMNjksOTMuMWMwLDAuMSwwLDAuMywwLDAuNGMwLDEuOSwxLjYsMy41LDMuNSwzLjZoMC4yYzEuNywwLDMuMS0xLjMsMy40LTMKCWwtMC4xLDBsMC4xLTAuMUw4Miw1Mi4zYzAsMCwwLjEtMS4yLDEuMS0xLjJjMSwwLDEuNCwxLjMsMS40LDEuM2wxNS40LDQyLjRsMC4xLDAuMmMwLjQsMS4xLDEuMywxLjgsMi44LDEuOGMxLjYsMCwyLjQtMC44LDIuOC0xLjgKCWwwLjEtMC4ybDE1LjMtNDIuNGMwLDAsMC40LTEuMywxLjQtMS4zYzAuOSwwLDEuMSwxLjIsMS4xLDEuMmw1LjksNDEuNmwwLjEsMC4xbC0wLjEsMGMwLjMsMS43LDEuNywyLjksMy40LDNoMC4yCgljMS45LDAsMy41LTEuNiwzLjUtMy42QzEzNi40LDkzLjMsMTM2LjQsOTMuMiwxMzYuNCw5My4xIi8+CjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik01Ni40LDg0LjRjMC42LDAuNiwwLjksMS41LDEsMi40YzAsMS44LTEuNCwyLjgtMS40LDIuOEM1MCw5NC42LDQyLjcsOTcsMzUuMiw5N0MxNi44LDk3LDIsODIuNCwyLDY0CgljMC0xOC40LDE0LjgtMzMuMiwzMy4yLTMzLjJjOC40LDAsMTQuOCwyLjcsMjAuNSw3LjFsMC40LDAuM2MwLjksMC44LDEuMiwxLjYsMS4yLDIuNmMwLDAsMCwxLjItMC45LDIuNGMwLDAtMC4xLDAuMS0wLjEsMC4xCgljLTEsMC45LTIuNCwxLTIuNCwxYy0wLjcsMC0xLjQtMC4yLTEuOS0wLjZjLTAuMS0wLjEtMC40LTAuMy0wLjQtMC4zYy00LjYtMy42LTEwLjYtNS45LTE2LjQtNS45Yy0xNC41LDAtMjUuNywxMi4yLTI1LjcsMjYuNQoJYzAsMTQuMiwxMS4xLDI2LjQsMjUuNywyNi40YzcuNCwwLDExLjgtMi44LDE2LjUtNi4xYzIuMS0xLjUsMy44LTAuNiw0LjQtMC4xIi8+CjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xNTYuNyw4Mi4xYy0wLjYtMC4zLTAuNi0xLTAuNi0xbDAtNDYuN1YzNGMtMC4xLTEuOC0xLjYtMy4yLTMuNC0zLjNoLTAuMmMtMS45LDAtMy4zLDEuNS0zLjQsMy40djAuMXY1OS4yCgljMCwxLjksMS41LDMuNSwzLjUsMy41YzEsMCwxLjktMC40LDIuNi0xLjFMMTk0LjMsNDZjMCwwLDAuNi0wLjYsMS4zLTAuNGMwLjcsMC4zLDAuNywxLjEsMC43LDEuMXY0Ni42djAuNAoJYzAuMSwxLjgsMS42LDMuMiwzLjQsMy4zaDAuMmMxLjksMCwzLjMtMS41LDMuNC0zLjR2LTAuMVYzNC4ydjBjMC0xLjktMS41LTMuNS0zLjUtMy41Yy0xLDAtMiwwLjQtMi42LDEuMQoJQzE4Ny40LDQ0LjQsMTU4LDgxLjcsMTU4LDgxLjdTMTU3LjYsODIuNCwxNTYuNyw4Mi4xIi8+CjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0zNDkuNyw2My45YzAsMzMuNy0yNy4zLDYxLTYxLDYxYy0zMy43LDAtNjEtMjcuMy02MS02MWMwLTMzLjcsMjcuMy02MSw2MS02MUMzMjIuNCwyLjksMzQ5LjcsMzAuMiwzNDkuNyw2My45CgkiLz4KPHBhdGggY2xhc3M9InN0MiIgZD0iTTMwNS44LDkwLjhoLTAuM2gtMjQuMmMwLDAtMC42LDAuMS0xLTAuNmMtMC40LTAuNywwLjEtMS4yLDAuMS0xLjJzMTEuMi0xMiwxNi44LTE3LjljNi42LTcuMSwxMi0xMy40LDEyLTIxLjgKCWMwLTkuOC03LTE4LjUtMjAuOC0xOC41Yy04LjksMC0xNSw1LjctMTcuMyw4LjNsLTAuMiwwLjJjLTAuNCwwLjYtMC43LDEuMy0wLjcsMmMwLDAuOSwwLjQsMS43LDAuOSwyLjNjMCwwLDAuMSwwLjEsMC4xLDAuMQoJYzAuNiwwLjUsMS4zLDAuOCwyLjEsMC44YzAuOSwwLDEuNy0wLjQsMi4zLTFsMCwwYzMtMyw3LjMtNi4yLDEyLjYtNi4yYzkuOSwwLDEzLjUsNi43LDEzLjUsMTIuMmMwLDQuNS0zLjIsMTAuMy05LjcsMTcuNAoJYy03LjYsOC4yLTE1LjEsMTYuNC0yMi44LDI0LjZsLTAuMiwwLjJjLTAuMiwwLjMtMC40LDAuNi0wLjUsMC45Yy0wLjEsMC40LTAuMiwwLjctMC4yLDEuMWMwLDAuNCwwLjEsMC44LDAuMiwxLjEKCWMwLjUsMS4yLDEuNSwyLjEsMi45LDIuMWwwLjIsMGgzMy44aDAuM2MxLjYtMC4xLDIuOS0xLjQsMy0zdi0wLjNDMzA4LjYsOTIuMSwzMDcuNCw5MC44LDMwNS44LDkwLjgiLz4KPC9zdmc+Cg==)\n        }\n\n\n    ";function ev(){if(!Bd)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}}var fv=Bd&&ev();
function gv(a){if("undefined"!=typeof DOMParser){var b=new DOMParser;yg();a=Kc(a,null);return b.parseFromString(Ec(a),"application/xml")}if(fv){b=new ActiveXObject("MSXML2.DOMDocument");b.resolveExternals=!1;b.validateOnParse=!1;try{b.setProperty("ProhibitDTD",!0),b.setProperty("MaxXMLSize",2048),b.setProperty("MaxElementDepth",256)}catch(c){}b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");};function hv(){}ya(hv);hv.prototype.parse=function(a){var b=this;a=gv(a);var c=new es;w(a.childNodes,function(d){switch(d.nodeName){case "VAST":w(d.getAttributeNames(),function(e){switch(e){case "version":e=d.getAttribute(e),M(c,1,e)}}),w(d.childNodes,function(e){switch(e.nodeName){case "Error":e=iv(e);U(c,2,e,gs);break;case "Ad":e=jv(b,e),U(c,3,e,hs)}})}});return c};function iv(a){var b=new gs;M(b,1,Lb(a.textContent));return b}
function jv(a,b){var c=new hs;w(b.getAttributeNames(),function(d){switch(d){case "id":d=b.getAttribute(d);M(c,1,d);break;case "sequence":d=parseInt(b.getAttribute(d),10);L(c,2,d);break;case "conditionalAd":d=kv(b.getAttribute(d));wf(c,3,d,!1);break;case "adType":d=b.getAttribute(d),M(c,4,d)}});w(b.childNodes,function(d){switch(d.nodeName){case "InLine":d=lv(a,d);Af(c,5,d);break;case "Wrapper":d=mv(a,d),Af(c,6,d)}});return c}
function lv(a,b){var c=new is;w(b.childNodes,function(d){switch(d.nodeName){case "AdSystem":d=nv(d);O(c,1,d);break;case "AdTitle":var e=new ks;M(e,1,ov(d));O(c,2,e);break;case "Impression":d=pv(d);U(c,3,d,Ns);break;case "AdServingId":e=new ls;M(e,1,ov(d));O(c,4,e);break;case "Category":d=qv(d);U(c,5,d,ms);break;case "Description":e=new ns;M(e,1,ov(d));O(c,6,e);break;case "Advertiser":d=rv(d);O(c,7,d);break;case "Pricing":d=sv(d);O(c,8,d);break;case "Error":d=iv(d);U(c,9,d,gs);break;case "Extensions":d=
tv(d);O(c,10,d);break;case "ViewableImpression":d=uv(d);O(c,11,d);break;case "AdVerifications":d=vv(d);O(c,12,d);break;case "Creatives":d=wv(a,d);O(c,13,d);break;case "Expires":e=new ps;L(e,1,parseInt(ov(d),10));O(c,14,e);break;case "Survey":d=xv(d),O(c,15,d)}});return c}function nv(a){var b=new vs;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "version":c=a.getAttribute(c),M(b,2,c)}});return b}
function pv(a){var b=new Ns;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "id":c=a.getAttribute(c),M(b,2,c)}});return b}function qv(a){var b=new ms;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "authority":c=a.getAttribute(c),M(b,2,c)}});return b}function rv(a){var b=new os;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "id":c=a.getAttribute(c),M(b,2,c)}});return b}
function sv(a){var b=new ws;wf(b,1,parseFloat(Lb(a.textContent)),0);w(a.getAttributeNames(),function(c){switch(c){case "currency":c=a.getAttribute(c);M(b,2,c);break;case "model":c=a.getAttribute(c),M(b,3,c)}});return b}function tv(a){var b=new It;w(a.childNodes,function(c){switch(c.nodeName){case "Extension":c=yv(c),U(b,1,c,Kt)}});return b}function yv(a){var b=new Kt;M(b,1,a.innerHTML);w(a.getAttributeNames(),function(c){switch(c){case "type":c=a.getAttribute(c),M(b,2,c)}});return b}
function uv(a){var b=new xs;w(a.getAttributeNames(),function(c){switch(c){case "id":c=a.getAttribute(c),M(b,1,c)}});w(a.childNodes,function(c){switch(c.nodeName){case "Viewable":var d=new zs;M(d,1,ov(c));U(b,2,d,zs);break;case "NotViewable":d=new As;M(d,1,ov(c));U(b,3,d,As);break;case "ViewUndetermined":d=new Bs,M(d,1,ov(c)),U(b,4,d,Bs)}});return b}function vv(a){var b=new Cs;w(a.childNodes,function(c){switch(c.nodeName){case "Verification":c=zv(c),U(b,1,c,Es)}});return b}
function zv(a){var b=new Es;w(a.getAttributeNames(),function(c){switch(c){case "vendor":c=a.getAttribute(c),M(b,1,c)}});w(a.childNodes,function(c){switch(c.nodeName){case "JavaScriptResource":c=Av(c);U(b,2,c,Gs);break;case "ExecutableResource":c=Bv(c);U(b,3,c,Hs);break;case "TrackingEvents":c=Cv(c);O(b,4,c);break;case "VerificationParameters":var d=new Ls;M(d,1,ov(c));O(b,5,d)}});return b}
function Av(a){var b=new Gs;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "apiFramework":c=a.getAttribute(c);M(b,2,c);break;case "browserOptional":c=kv(a.getAttribute(c)),wf(b,3,c,!1)}});return b}function Bv(a){var b=new Hs;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "apiFramework":c=a.getAttribute(c);M(b,2,c);break;case "type":c=a.getAttribute(c),M(b,3,c)}});return b}
function Cv(a){var b=new Is;w(a.childNodes,function(c){switch(c.nodeName){case "Tracking":c=Dv(c),U(b,1,c,Ks)}});return b}function Dv(a){var b=new Ks;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "event":c=a.getAttribute(c),M(b,2,c)}});return b}function wv(a,b){var c=new Os;w(b.childNodes,function(d){switch(d.nodeName){case "Creative":d=Ev(a,d),U(c,1,d,Qs)}});return c}
function Ev(a,b){var c=new Qs;w(b.getAttributeNames(),function(d){switch(d){case "id":d=b.getAttribute(d);M(c,1,d);break;case "adId":d=b.getAttribute(d);M(c,2,d);break;case "sequence":d=parseInt(b.getAttribute(d),10);L(c,3,d);break;case "apiFramework":d=b.getAttribute(d),M(c,4,d)}});w(b.childNodes,function(d){switch(d.nodeName){case "UniversalAdId":d=Fv(d);U(c,5,d,Ss);break;case "CreativeExtensions":d=Gv(d);O(c,6,d);break;case "Linear":d=Hv(a,d);O(c,7,d);break;case "NonLinearAds":d=Iv(d);O(c,8,d);
break;case "CompanionAds":d=Jv(d),O(c,9,d)}});return c}function Fv(a){var b=new Ss;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "idRegistry":c=a.getAttribute(c),M(b,2,c)}});return b}function Gv(a){var b=new Ts;w(a.childNodes,function(c){switch(c.nodeName){case "CreativeExtension":c=Kv(c),U(b,1,c,Vs)}});return b}function Kv(a){var b=new Vs;M(b,1,a.innerHTML);w(a.getAttributeNames(),function(c){switch(c){case "type":c=a.getAttribute(c),M(b,2,c)}});return b}
function xv(a){var b=new qs;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "type":c=a.getAttribute(c),M(b,2,c)}});return b}
function Hv(a,b){var c=new Ws;w(b.getAttributeNames(),function(d){switch(d){case "skipoffset":d=b.getAttribute(d),M(c,1,d)}});w(b.childNodes,function(d){switch(d.nodeName){case "Duration":var e=new Xs;M(e,1,ov(d));O(c,2,e);break;case "MediaFiles":d=Lv(d);O(c,3,d);break;case "AdParameters":d=Mv(d);O(c,4,d);break;case "TrackingEvents":d=Nv(d);O(c,5,d);break;case "VideoClicks":d=Ov(d);O(c,6,d);break;case "Icons":d=Pv(a,d),O(c,7,d)}});return c}
function Lv(a){var b=new Ys;w(a.childNodes,function(c){switch(c.nodeName){case "MediaFile":c=Qv(c);U(b,1,c,$s);break;case "Mezzanine":c=Rv(c);U(b,2,c,at);break;case "InteractiveCreativeFile":c=Sv(c);U(b,3,c,bt);break;case "ClosedCaptionFiles":c=Tv(c),O(b,4,c)}});return b}
function Qv(a){var b=new $s;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "delivery":c=Uv(a.getAttribute(c));wf(b,2,c,0);break;case "type":c=a.getAttribute(c);M(b,3,c);break;case "width":b.N(parseInt(a.getAttribute(c),10));break;case "height":c=parseInt(a.getAttribute(c),10);L(b,5,c);break;case "codec":c=a.getAttribute(c);M(b,6,c);break;case "id":c=a.getAttribute(c);M(b,7,c);break;case "bitrate":c=parseInt(a.getAttribute(c),10);L(b,8,c);break;case "minBitrate":c=parseInt(a.getAttribute(c),
10);L(b,9,c);break;case "maxBitrate":c=parseInt(a.getAttribute(c),10);L(b,10,c);break;case "scalable":c=kv(a.getAttribute(c));wf(b,11,c,!1);break;case "maintainAspectRatio":c=kv(a.getAttribute(c));wf(b,12,c,!1);break;case "fileSize":c=parseInt(a.getAttribute(c),10);L(b,13,c);break;case "mediaType":c=a.getAttribute(c);M(b,14,c);break;case "apiFramework":c=a.getAttribute(c),M(b,15,c)}});return b}function Uv(a){switch(a){case "progressive":return 1;case "streaming":return 2;default:return 0}}
function Rv(a){var b=new at;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "delivery":c=Uv(a.getAttribute(c));wf(b,2,c,0);break;case "type":c=a.getAttribute(c);M(b,3,c);break;case "width":b.N(parseInt(a.getAttribute(c),10));break;case "height":c=parseInt(a.getAttribute(c),10);L(b,5,c);break;case "codec":c=a.getAttribute(c);M(b,6,c);break;case "id":c=a.getAttribute(c);M(b,7,c);break;case "fileSize":c=parseInt(a.getAttribute(c),10);L(b,8,c);break;case "mediaType":c=a.getAttribute(c),
M(b,9,c)}});return b}function Sv(a){var b=new bt;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "type":c=a.getAttribute(c);M(b,2,c);break;case "apiFramework":c=a.getAttribute(c);M(b,3,c);break;case "variableDuration":c=kv(a.getAttribute(c)),wf(b,4,c,!1)}});return b}function Tv(a){var b=new ct;w(a.childNodes,function(c){switch(c.nodeName){case "ClosedCaptionFile":c=Vv(c),U(b,1,c,et)}});return b}
function Vv(a){var b=new et;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "type":c=a.getAttribute(c);M(b,2,c);break;case "language":c=a.getAttribute(c),M(b,3,c)}});return b}function Mv(a){var b=new Ms;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "xmlEncoded":c=kv(a.getAttribute(c)),wf(b,2,c,!1)}});return b}function Nv(a){var b=new Pt;w(a.childNodes,function(c){switch(c.nodeName){case "Tracking":c=Wv(c),U(b,1,c,Rt)}});return b}
function Wv(a){var b=new Rt;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "event":c=a.getAttribute(c);M(b,2,c);break;case "offset":c=a.getAttribute(c),M(b,3,c)}});return b}function Ov(a){var b=new ft;w(a.childNodes,function(c){switch(c.nodeName){case "ClickThrough":c=Xv(c);O(b,1,c);break;case "ClickTracking":c=Yv(c);U(b,2,c,it);break;case "CustomClick":c=Zv(c),U(b,3,c,jt)}});return b}
function Xv(a){var b=new ht;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "id":c=a.getAttribute(c),M(b,2,c)}});return b}function Yv(a){var b=new it;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "id":c=a.getAttribute(c),M(b,2,c)}});return b}function Zv(a){var b=new jt;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "id":c=a.getAttribute(c),M(b,2,c)}});return b}
function Pv(a,b){var c=new kt;w(b.childNodes,function(d){switch(d.nodeName){case "Icon":d=$v(d),U(c,1,d,mt)}});return c}
function $v(a){var b=new mt;w(a.getAttributeNames(),function(c){switch(c){case "program":c=a.getAttribute(c);M(b,1,c);break;case "width":b.N(parseInt(a.getAttribute(c),10));break;case "height":c=parseInt(a.getAttribute(c),10);L(b,3,c);break;case "xPosition":c=a.getAttribute(c);M(b,4,c);break;case "yPosition":c=a.getAttribute(c);M(b,5,c);break;case "duration":c=a.getAttribute(c);M(b,6,c);break;case "offset":c=a.getAttribute(c);M(b,7,c);break;case "apiFramework":c=a.getAttribute(c);M(b,8,c);break;case "pxratio":c=
parseFloat(a.getAttribute(c));wf(b,9,c,0);break;case "altText":c=a.getAttribute(c);M(b,10,c);break;case "hoverText":c=a.getAttribute(c),M(b,11,c)}});w(a.childNodes,function(c){switch(c.nodeName){case "StaticResource":c=aw(c);U(b,12,c,Mt);break;case "IFrameResource":c=bw(c);U(b,13,c,Nt);break;case "HTMLResource":c=cw(c);U(b,14,c,Ot);break;case "IconClicks":c=dw(c);O(b,15,c);break;case "IconViewTracking":var d=new vt;M(d,1,ov(c));U(b,16,d,vt)}});return b}
function ew(a){var b=new Lt;M(b,1,Lb(a.textContent));return b}function aw(a){var b=new Mt;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "creativeType":c=a.getAttribute(c),M(b,2,c)}});return b}function bw(a){var b=new Nt;M(b,1,Lb(a.textContent));return b}function cw(a){var b=new Ot;M(b,1,Lb(a.textContent));return b}
function dw(a){var b=new ot;w(a.childNodes,function(c){switch(c.nodeName){case "IconClickThrough":var d=new qt;M(d,1,ov(c));O(b,1,d);break;case "IconClickTracking":c=fw(c);U(b,2,c,rt);break;case "IconClickFallbackImages":c=gw(c),O(b,3,c)}});return b}function fw(a){var b=new rt;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "id":c=a.getAttribute(c),M(b,2,c)}});return b}
function gw(a){var b=new st;w(a.childNodes,function(c){switch(c.nodeName){case "IconClickFallbackImage":c=hw(c),U(b,1,c,ut)}});return b}function hw(a){var b=new ut;w(a.getAttributeNames(),function(c){switch(c){case "width":b.N(parseInt(a.getAttribute(c),10));break;case "height":c=parseInt(a.getAttribute(c),10),L(b,2,c)}});w(a.childNodes,function(c){switch(c.nodeName){case "AltText":c=ew(c);O(b,3,c);break;case "StaticResource":c=aw(c),O(b,4,c)}});return b}
function Iv(a){var b=new wt;w(a.childNodes,function(c){switch(c.nodeName){case "NonLinear":c=iw(c);U(b,1,c,yt);break;case "TrackingEvents":c=Nv(c),O(b,2,c)}});return b}
function iw(a){var b=new yt;w(a.getAttributeNames(),function(c){switch(c){case "id":c=a.getAttribute(c);M(b,1,c);break;case "width":b.N(parseInt(a.getAttribute(c),10));break;case "height":c=parseInt(a.getAttribute(c),10);L(b,3,c);break;case "expandedWidth":c=parseInt(a.getAttribute(c),10);L(b,4,c);break;case "expandedHeight":c=parseInt(a.getAttribute(c),10);L(b,5,c);break;case "scalable":c=kv(a.getAttribute(c));wf(b,6,c,!1);break;case "maintainAspectRatio":c=kv(a.getAttribute(c));wf(b,7,c,!1);break;
case "apiFramework":c=a.getAttribute(c);M(b,8,c);break;case "minSuggestedDuration":c=a.getAttribute(c),M(b,9,c)}});w(a.childNodes,function(c){switch(c.nodeName){case "StaticResource":c=aw(c);U(b,10,c,Mt);break;case "IFrameResource":c=bw(c);U(b,11,c,Nt);break;case "HTMLResource":c=cw(c);U(b,12,c,Ot);break;case "AdParameters":c=Mv(c);O(b,13,c);break;case "NonLinearClickThrough":var d=new At;M(d,1,ov(c));O(b,14,d);break;case "NonLinearClickTracking":c=jw(c),U(b,15,c,Bt)}});return b}
function jw(a){var b=new Bt;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "id":c=a.getAttribute(c),M(b,2,c)}});return b}function Jv(a){var b=new Ct;w(a.getAttributeNames(),function(c){switch(c){case "required":c=kw(a.getAttribute(c)),wf(b,1,c,0)}});w(a.childNodes,function(c){switch(c.nodeName){case "Companion":c=lw(c),U(b,2,c,Et)}});return b}function kw(a){switch(a){case "all":return 1;case "any":return 2;case "none":return 3;default:return 0}}
function lw(a){var b=new Et;w(a.getAttributeNames(),function(c){switch(c){case "width":b.N(parseInt(a.getAttribute(c),10));break;case "height":c=parseInt(a.getAttribute(c),10);L(b,2,c);break;case "id":c=a.getAttribute(c);M(b,3,c);break;case "assetWidth":c=parseInt(a.getAttribute(c),10);L(b,4,c);break;case "assetHeight":c=parseInt(a.getAttribute(c),10);L(b,5,c);break;case "expandedWidth":c=parseInt(a.getAttribute(c),10);L(b,6,c);break;case "expandedHeight":c=parseInt(a.getAttribute(c),10);L(b,7,c);
break;case "apiFramework":c=a.getAttribute(c);M(b,8,c);break;case "adSlotId":c=a.getAttribute(c);M(b,9,c);break;case "pxratio":c=parseFloat(a.getAttribute(c));wf(b,10,c,0);break;case "renderingMode":c=a.getAttribute(c),M(b,11,c)}});w(a.childNodes,function(c){switch(c.nodeName){case "StaticResource":c=aw(c);U(b,12,c,Mt);break;case "IFrameResource":c=bw(c);U(b,13,c,Nt);break;case "HTMLResource":c=cw(c);U(b,14,c,Ot);break;case "AdParameters":c=Mv(c);O(b,15,c);break;case "AltText":c=ew(c);O(b,16,c);break;
case "CompanionClickThrough":var d=new Gt;M(d,1,ov(c));O(b,17,d);break;case "CompanionClickTracking":c=mw(c);U(b,18,c,Ht);break;case "TrackingEvents":c=Nv(c),O(b,19,c)}});return b}function mw(a){var b=new Ht;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "id":c=a.getAttribute(c),M(b,2,c)}});return b}
function mv(a,b){var c=new rs;w(b.getAttributeNames(),function(d){switch(d){case "followAdditionalWrappers":d=kv(b.getAttribute(d));wf(c,1,d,!1);break;case "allowMultipleAds":d=kv(b.getAttribute(d));wf(c,2,d,!1);break;case "fallbackOnNoAd":d=kv(b.getAttribute(d)),wf(c,3,d,!1)}});w(b.childNodes,function(d){switch(d.nodeName){case "Impression":d=pv(d);U(c,4,d,Ns);break;case "VASTAdTagURI":var e=new ts;M(e,1,ov(d));O(c,5,e);break;case "AdSystem":d=nv(d);O(c,6,d);break;case "Pricing":d=sv(d);O(c,7,d);
break;case "Error":d=iv(d);U(c,8,d,gs);break;case "ViewableImpression":d=uv(d);O(c,9,d);break;case "AdVerifications":d=vv(d);O(c,10,d);break;case "Extensions":d=tv(d);O(c,11,d);break;case "Creatives":d=wv(a,d);O(c,12,d);break;case "BlockedAdCategories":d=nw(d),U(c,13,d,us)}});return c}function nw(a){var b=new us;M(b,1,Lb(a.textContent));w(a.getAttributeNames(),function(c){switch(c){case "authority":c=a.getAttribute(c),M(b,2,c)}});return b}function ov(a){return Lb(a.textContent)}
function kv(a){return"true"===a};function Wt(){Yc.G()}ya(Wt);var lu=Uc();Wt.prototype.load=function(a,b,c){var d=this,e=new kh;y.h(b)&&y.J(b)&&qh(e,b);y.h(c)&&y.J(c)&&sh(e,c);y.h(a)?Ae($c(),"jsapi.vast.VastManager#load",function(){pk(a,function(f){f=f.target;var g=zk(f);if(200===g){try{var k=f.a?f.a.responseText:""}catch(n){k=""}try{var l=d.parse(k);e.V(l)}catch(n){W(e,n)}}else W(e,Error("Error status code "+g))},"GET",void 0,void 0,!1)},function(){},function(f){W(e,f)}):W(e,Error("The '"+a+"' parameter is invalid"))};
Wt.prototype.parse=function(a){return hv.G().parse(a)};var ow=/^([01]?\d|2[0-3]):([0-5]?\d):([0-5]?\d)(?:\.(\d{1,3}))?$/,ku=/^((?:\d+\.)?\d+)%$/;function eu(a){if(null==a||Kb(a))return 0;a=ow.exec(a);return null!=a?1E3*(3600*+a[1]+60*+a[2]+ +a[3])+(a[4]?+a[4]:0):null}function pw(a){var b=new Map;sb(a,function(c,d){y.C(d)&&y.C(c)&&b.set(d,c)});return b}
function qw(a,b){var c=new Map;sb(a,function(d,e){if(y.C(e)&&y.isArray(d)){var f=[];w(d,function(g){if(p(g)&&y.C(g.url)){var k=g.url,l=void 0;y.C(g.offset)&&(l=g.offset);f.push(new cs(rw(k,b),l))}});0!==f.length&&c.set(e,f)}});return c}
function sw(a){var b=!1,c=!1,d=0;sb(a,function(e,f){switch(f){case "enabled_logging":b=y.$(e)&&e;break;case "auto_play":c=y.$(e)&&e;break;case "skip_after":d=y.l(e)?e:0}});window&&p(window.location)&&y.C(window.location.href)&&window.location.href.includes("vastplayer=trace")&&(b=!0);return new $r(b,c,d)}function rw(a,b){if(null==b||0===b.size)return a;var c=String(a);b&&b.forEach(function(d,e){c=Tc(c,e,encodeURIComponent(String(d)))});return c}
function Zt(a,b){var c=new Map,d=[];0!==yf(a,gs,2).length&&w(yf(a,gs,2),function(e){Kb(J(e,1,""))||d.push(new cs(rw(J(e,1,""),b)))});0!==d.length&&c.set("ERROR",d)}
function $t(a,b){var c=new Map,d=[],e=[],f=[];0!==yf(a,gs,9).length&&w(yf(a,gs,9),function(k){Kb(J(k,1,""))||d.push(new cs(rw(J(k,1,""),b)))});0!==yf(a,Ns,3).length&&w(yf(a,Ns,3),function(k){Kb(J(k,1,""))||e.push(new cs(rw(J(k,1,""),b)))});if(null!=I(a,11)){var g=xf(a,xs,11);0!==yf(g,zs,2).length&&w(yf(g,zs,2),function(k){Kb(J(k,1,""))||f.push(new cs(rw(J(k,1,""),b)))})}0!==d.length&&c.set("ERROR",d);0!==e.length&&c.set("IMPRESSION",e);0!==f.length&&c.set("VIEWABLE_IMPRESSION",f);return c}
function cu(a,b){var c=new Map,d=[],e=[],f=[];0!==yf(a,gs,8).length&&w(yf(a,gs,8),function(k){Kb(J(k,1,""))||d.push(new cs(rw(J(k,1,""),b)))});0!==yf(a,Ns,4).length&&w(yf(a,Ns,4),function(k){Kb(J(k,1,""))||e.push(new cs(rw(J(k,1,""),b)))});if(null!=I(a,9)){var g=xf(a,xs,9);0!==yf(g,zs,2).length&&w(yf(g,zs,2),function(k){Kb(J(k,1,""))||f.push(new cs(rw(J(k,1,""),b)))})}0!==d.length&&c.set("ERROR",d);0!==e.length&&c.set("IMPRESSION",e);0!==f.length&&c.set("VIEWABLE_IMPRESSION",f);return c}
function fu(a,b){var c=new Map,d=[],e=[],f=[];if(null!=I(a,6)){var g=xf(a,ft,6);if(null!=I(g,1)){var k=xf(g,ht,1);Kb(J(k,1,""))||d.push(new cs(rw(J(k,1,""),b)))}0!==yf(g,it,2).length&&w(yf(g,it,2),function(l){Kb(J(l,1,""))||e.push(new cs(rw(J(l,1,""),b)))});0!==yf(g,jt,3).length&&w(yf(g,jt,3),function(l){Kb(J(l,1,""))||f.push(new cs(rw(J(l,1,""),b)))})}0!==d.length&&c.set("CLICK_THROUGH",d);0!==e.length&&c.set("CLICK_TRACKING",e);0!==f.length&&c.set("CUSTOM_CLICK",f);return c}
function gu(a,b){var c=new Map,d=[],e=[],f=[],g=[],k=[],l=[],n=[],r=[],v=[],u=[],x=[],E=[],D=[],G=[],C=[],K=[],R=[],T=[],V=[],P=[],N=[],S=[];0!==yf(a,Rt,1).length&&w(yf(a,Rt,1),function(A){if(!Kb(St(A))&&!Kb(J(A,2,"")))switch(J(A,2,"")){case "creativeView":d.push(new cs(rw(St(A),b),Tt(A)));break;case "mute":e.push(new cs(rw(St(A),b),Tt(A)));break;case "unmute":f.push(new cs(rw(St(A),b),Tt(A)));break;case "pause":g.push(new cs(rw(St(A),b),Tt(A)));break;case "resume":k.push(new cs(rw(St(A),b),Tt(A)));
break;case "rewind":l.push(new cs(rw(St(A),b),Tt(A)));break;case "skip":n.push(new cs(rw(St(A),b),Tt(A)));break;case "fullscreen":case "expand":case "playerExpand":case "adExpand":r.push(new cs(rw(St(A),b),Tt(A)));break;case "exitFullscreen":case "collapse":case "playerCollapse":case "adCollapse":v.push(new cs(rw(St(A),b),Tt(A)));break;case "notUsed":u.push(new cs(rw(St(A),b),Tt(A)));break;case "otherAdInteraction":x.push(new cs(rw(St(A),b),Tt(A)));break;case "loaded":E.push(new cs(rw(St(A),b),Tt(A)));
break;case "start":D.push(new cs(rw(St(A),b),Tt(A)));break;case "firstQuartile":G.push(new cs(rw(St(A),b),Tt(A)));break;case "midpoint":C.push(new cs(rw(St(A),b),Tt(A)));break;case "thirdQuartile":K.push(new cs(rw(St(A),b),Tt(A)));break;case "complete":R.push(new cs(rw(St(A),b),Tt(A)));break;case "progress":T.push(new cs(rw(St(A),b),Tt(A)));break;case "close":case "closeLinear":N.push(new cs(rw(St(A),b),Tt(A)));break;case "acceptInvitation":V.push(new cs(rw(St(A),b),Tt(A)));break;case "minimize":P.push(new cs(rw(St(A),
b),Tt(A)));break;case "overlayViewDuration":S.push(new cs(rw(St(A),b),Tt(A)))}});0!==d.length&&c.set("CREATIVE_VIEW",d);0!==e.length&&c.set("MUTE",e);0!==f.length&&c.set("UNMUTE",f);0!==g.length&&c.set("PAUSE",g);0!==k.length&&c.set("RESUME",k);0!==l.length&&c.set("REWIND",l);0!==n.length&&c.set("SKIP",n);0!==r.length&&c.set("EXPAND",r);0!==v.length&&c.set("COLLAPSE",v);0!==u.length&&c.set("NOT_USED",u);0!==x.length&&c.set("OTHER_AD_INTERACTION",x);0!==N.length&&c.set("CLOSE",N);0!==E.length&&c.set("LOADED",
E);0!==D.length&&c.set("START",D);0!==G.length&&c.set("FIRST_QUARTILE",G);0!==C.length&&c.set("MIDPOINT",C);0!==K.length&&c.set("THIRD_QUARTILE",K);0!==R.length&&c.set("COMPLETE",R);0!==T.length&&c.set("PROGRESS",T);0!==V.length&&c.set("ACCEPT_INVITATION",V);0!==P.length&&c.set("MINIMIZE",P);0!==S.length&&c.set("OVERLAY_VIEW_DURATION",S);return c};function tw(a,b,c){var d=new kh;window&&p(window.location)&&y.C(window.location.href)&&window.location.href.includes("ztrack=trace");y.h(b)&&y.J(b)&&qh(d,b);y.h(c)&&y.J(c)&&sh(d,c);var e=Bk.G();b=a.block_type;if(y.h(b))switch(b){case 8:case 16:break;default:W(d,uw("block_type"));return}b=a.parent_element;if(y.h(b)&&b instanceof HTMLElement){var f=b;var g={};b=a.preset_player;y.h(b)&&(g=b);var k=pl(f),l=null;b=a.end_callback;if(y.h(b))if(y.J(b))l=b,sh(d,l);else{W(d,uw("end_callback"));return}var n=
null;b=a.end_play_callback;if(y.h(b))if(y.J(b))n=b,sh(d,n);else{W(d,uw("end_play_callback"));return}var r=1;b=a.count;y.h(b)&&y.l(b)&&(r=b);Ae("jsapi.ui.block.VastBlock","create",function(){try{var v=a.block_id;a.init=!0;a.blocks=[{block_type:"VIDEO",block_id:v,tag_id:"slot_"+v,count:r,width:k.width,height:k.height}];Kk(e,a,function(u){var x=Wk(u),E=Uk(u);x=vw(x,g);if(0!==x.length&&y.isArray(x)){try{p(g)&&p(g.callback)&&y.J(g.callback.have_content)&&g.callback.have_content()}catch(D){}ww(0,f,x,E,
d,g,function(D){(void 0===D?0:D)?y.J(l)&&l.call():y.J(n)&&n.call()})}else{x="VAST/Rich - Un support media type";Tk(u).block_id&&(x="Empty answer for video/media items");try{p(g)&&p(g.callback)&&y.J(g.callback.empty_content)&&g.callback.empty_content()}catch(D){}W(d,Error(x))}},function(u){W(d,u)})}catch(u){W(d,u)}},function(){},function(v){W(d,v)})}else W(d,uw("parent_element"))}
function ww(a,b,c,d,e,f,g){var k=c.length-(1+a),l=c[a],n={};p(l)&&p(l.ad_label)&&(n=l.ad_label);var r;p(l.media)&&p(l.media.element)&&(r=xw(b,l.media,n,d,e,f,k));p(l.video)&&(r=yw(b,l.video,n,e,f,k));r&&r.then(function(v){p(c[a+1])?ww(a+1,b,c,d,e,f,g):p(v)&&y.h(v.STOP_SHOWN)?g(v.STOP_SHOWN):g(!0)})}
function yw(a,b,c,d,e,f){var g;p(e)&&p(e.callback)&&y.J(e.callback.before_render)&&(g=e.callback.before_render);var k=new Map,l=new Map;p(b.macros)&&(k=pw(b.macros));p(b.trackers)&&(l=qw(b.trackers,k));var n=new $r(!1,!1,0);p(b.properties)&&(n=sw(b.properties));var r=Wt.G();return new Pg(function(v){(new Pg(function(u){var x=b.vast_xml;if(0==x.lastIndexOf("http",0))r.load(x,function(E){u(E)},function(){u()});else try{u(r.parse(x))}catch(E){u()}})).then(function(u){if(u){var x=new Vt(u,k,l,n,function(){var E=
!1;0<f?x.wa():x.H().Sb()||(x.wa(),E=!0);v({STOP_SHOWN:E})});bs(x.H(),e);c&&as(x.H(),c);try{g&&g("video",x)}catch(E){}un(x,a);d.Ma||d.V(x)}else W(d,Error("Failed get VAST object"))})})}
function xw(a,b,c,d,e,f,g){var k;p(f)&&p(f.callback)&&y.J(f.callback.before_render)&&(k=f.callback.before_render);var l=new Map,n=new Map;p(b.macros)&&(l=pw(b.macros));p(b.trackers)&&(n=qw(b.trackers,l));return new Pg(function(r){try{var v=new mu(b,c,d,f,!0);v.ea=!!(0<g);var u=new Pu(l,n,v,function(){0<g?(u.wa(),r({STOP_SHOWN:!1})):(u.H().i&&u.wa(),r({STOP_SHOWN:u.H().i}))});e.Ma||e.V(u);try{k&&k("rich",u)}catch(x){}un(u,a)}catch(x){W(e,x)}})}
function vw(a,b){if(!y.isArray(a))return a;if(!p(a[0])||2>a.length)return a;var c=[],d=!1,e=!1,f=!0,g=!0,k=null;p(b)&&p(b.develop)&&(y.h(b.develop.enable_video)&&(f=b.develop.enable_video),y.h(b.develop.enable_rich)&&(g=b.develop.enable_rich),p(b.develop.replace_rich)&&(k=b.develop.replace_rich));f&&a.forEach(function(l){!d&&p(l.video)&&(c.push(l),d=!0)});g&&a.forEach(function(l){!e&&p(l.media)&&(k&&p(l.media.element)&&(l.media.element=y.Ub(l.media.element,k)),c.push(l),e=!0)});return c}
function uw(a){return Error("The '"+a+"' parameter is invalid")};function zw(a,b,c){var d=new kh;y.h(b)&&y.J(b)&&qh(d,b);y.h(c)&&y.J(c)&&sh(d,c);var e=Wt.G();b=a.parent_element;if(y.h(b)&&b instanceof HTMLElement){var f=b;b=a.vast_url;if(y.h(b)&&y.C(b)){var g=b;var k=new $r(!1,!1,0);b=a.properties;if(y.h(b))if(p(b))k=sw(b);else{W(d,Aw("properties"));return}var l=new Map;b=a.macros;if(y.h(b))if(p(b))l=pw(b);else{W(d,Aw("macros"));return}var n=new Map;b=a.trackers;if(y.h(b))if(p(b))n=qw(b,l);else{W(d,Aw("trackers"));return}var r=null;b=a.end_callback;if(y.h(b))if(y.J(b))r=
b,sh(d,r);else{W(d,Aw("end_callback"));return}Ae("jsapi.ui.block.VastPlayer","create",function(){try{e.load(g,function(v){var u=new Vt(v,l,n,k,function(){u.wa();y.J(r)&&r.call(this)});un(u,f);d.V(u)},function(v){W(d,v)})}catch(v){W(d,v)}},function(){},function(v){W(d,v)})}else W(d,Aw("vast_url"))}else W(d,Aw("parent_element"))}function Aw(a){return Error("The '"+a+"' parameter is invalid")};function Bw(a,b,c){var d=new kh;y.h(b)&&y.J(b)&&qh(d,b);y.h(c)&&y.J(c)&&sh(d,c);var e=Bk.G();b=a.block_type;if(y.h(b))switch(b){case 1:case 2:case 4:break;default:W(d,Cw("block_type"));return}b=a.parent_element;if(y.h(b)&&b instanceof HTMLElement){var f=b;var g=10;b=a.page_size;if(y.h(b)){if(!y.l(b)||0>b||100<b){W(d,Cw("page_size"));return}g=b}var k=Infinity;b=a.max_page_count;if(y.h(b)){if(!y.l(b)||0>b){W(d,Cw("max_page_count"));return}k=b}var l=function(){};b=a.item_content_renderer;if(y.h(b))if(y.J(b))l=
b;else{W(d,Cw("item_content_renderer"));return}var n=null;b=a.properties;if(y.h(b))if(p(b))n=b;else{W(d,Cw("properties"));return}b=a.block_id;if(!y.h(b)||!y.l(b)||0>b)W(d,Cw("block_id"));else{var r=b;var v=0;b=a.source_block_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,Cw("source_block_id"));return}v=b}var u=0;b=a.topic_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,Cw("topic_id"));return}u=b}var x=0;b=a.strategy_id;if(y.h(b)){if(!y.l(b)||0>b){W(d,Cw("strategy_id"));return}x=b}var E=0;b=a.source_id;y.h(b)&&(!y.l(b)||0>
b||(E=b));var D=0;b=a.fields;if(y.h(b))if(y.l(b))D=b;else{W(d,Cw("fields"));return}var G="";b=a.local_user_id;y.h(b)&&y.C(b)&&b&&(G=b);var C="";b=a.yam_user_id;y.h(b)&&y.C(b)&&b&&(C=b);var K="";b=a.finger_user_id;y.h(b)&&y.C(b)&&b&&(K=b);var R=void 0;b=a.click_tracking;if(y.h(b))if(y.C(b))R=b;else{W(d,Cw("click_tracking"));return}Ae("jsapi.ui.block.ZenBlock","create",function(){try{var T=!1,V=!1,P={init:!0,block_id:r,source_block_id:v,topic_id:u,strategy_id:x,source_id:E,fields:D,click_tracking:R,
local_user_id:G,yam_user_id:C,finger_user_id:K};P.count=g;Fk(e,P,function(N){try{var S=new Lq(f,n,l,function(A){Xk(A,"VIEWABILITY")},function(A,Q){Xk(A,"CLICK");P.count=1;Fk(e,P,function(da){da&&0<da.length?Q.call(this,da[0]):V=!0;T=!1},function(){T=!1})},N)}catch(A){W(d,A);return}try{un(S,f)}catch(A){W(d,A);return}1<k&&Cj(S,"g",function(){P.init=!1;V||T||(T=!0,P.count=g,Fk(e,P,function(A){A&&0<A.length?(w(A,function(Q){Pq(S,Q)}),S.a.length/g>=k&&(V=!0)):V=!0;T=!1},function(){T=!1}))});d.V(S)},function(){})}catch(N){W(d,
N)}},function(){},function(T){W(d,T)})}}else W(d,Cw("parent_element"))}function Cw(a){return Error("The '"+a+"' parameter is invalid")};q("JsAPI.Ui.Align.CENTER","center");q("JsAPI.Ui.Align.LEFT","left");q("JsAPI.Ui.Align.RIGHT","right");q("JsAPI.Ui.Orientation.HORIZONTAL","horizontal");q("JsAPI.Ui.Orientation.VERTICAL","vertical");q("JsAPI.Ui.BlockType.NEWS",1);q("JsAPI.Ui.BlockType.RTB_NEWS",2);q("JsAPI.Ui.BlockType.ARTICLES",4);q("JsAPI.Ui.BlockType.VAST_WIDGET",8);q("JsAPI.Ui.BlockType.VAST_PLAYER",16);q("JsAPI.Ui.AggregatorGridBlock",function(a,b,c){return Lo(a,b,c)});
q("JsAPI.Ui.AggregatorListBlock",function(a,b,c){return Uo(a,b,c)});q("JsAPI.Ui.AggregatorScrollBlock",function(a,b,c){return sq(a,b,c)});q("JsAPI.Ui.GridBlock",function(a,b,c){if(p(a)&&y.h(a.block_type))switch(a.block_type){case 2:return br(a,b,c);case 4:return Lo(a,b,c)}return Wq(a,b,c)});q("JsAPI.Ui.ListBlock",function(a,b,c){if(p(a)&&y.h(a.block_type))switch(a.block_type){case 2:return dr(a,b,c);case 4:return Uo(a,b,c)}return Yq(a,b,c)});
q("JsAPI.Ui.ScrollBlock",function(a,b,c){if(p(a)&&y.h(a.block_type))switch(a.block_type){case 2:return fr(a,b,c);case 4:return sq(a,b,c)}return $q(a,b,c)});q("JsAPI.Ui.VastBlock",function(a,b,c){return tw(a,b,c)});q("JsAPI.Ui.Position.TOP","top");q("JsAPI.Ui.Position.BOTTOM","bottom");q("JsAPI.Ui.VastPlayer",function(a,b,c){return zw(a,b,c)});q("JsAPI.Ui.ZenBlock",function(a,b,c){if(p(a)&&y.h(a.block_type))switch(a.block_type){case 2:return yr(a,b,c);case 4:return Uq(a,b,c)}return Bw(a,b,c)});
q("JsAPI.Ui.ZenBlockRenderItem",function(a,b,c){function d(){function D(G,C){var K,R,T,V=[K=ke("div","gradient"),R=ke("div","title "+(C?"title-dark":"title-light"),v)];y.C(u)&&V.push(T=ke("div","subtitle "+(C?"subtitle-dark":"subtitle-light"),u));var P=ke("div",{"class":"image",style:"background-image: url("+r+")"});if(x&&y.ia(x)&&y.C(x.text)&&y.C(x.link)){var N=x.text,S=x.link;y.C(x.age)&&(N=N+" "+x.age);N=ke("div","adLabel "+(C?"adLabel-dark":"adLabel-light"),N);N.addEventListener("click",function(A){A.target.classList.contains("adLabel")&&
A.stopPropagation()},!0);oe(a,ke("a",{"class":"link",href:S,target:"_blank",rel:"noopener noreferrer nofollow"},[N]))}oe(E,ke("a",{"class":"link",href:n,target:"_blank",rel:"noopener noreferrer nofollow"},[P,ke("div","content",V)]));Z(K,"background","linear-gradient(to top, rgba("+G.r+","+G.g+","+G.b+",1) 0%, rgba(0, 0, 0, 0) 100%)");Z(R,"backgroundColor","rgb("+G.r+","+G.g+","+G.b+")");T&&Z(T,"backgroundColor","rgb("+G.r+","+G.g+","+G.b+")")}g?D(g,f):Eq(r,function(G){G=Cq(G,k);D(G,Dq(G,l))},function(){console.error('Failed to load image "'+
r+'"');D(k,f)})}var e=b&&b.isLazy?b.isLazy:!1,f=b&&b.defaultIsDark?b.defaultIsDark:!0,g=b&&b.color?b.color:void 0,k=b&&b.defaultColor?b.defaultColor:{r:38,g:38,b:38},l=b&&b.lightingThreshold?b.lightingThreshold:void 0,n=c.url,r=c.image,v=c.title,u=c.subtitle,x=c.adLabel,E;oe(a,E=ke("div"));e?zo(wo.G(),E,void 0,function(){d()},0):d()});q("JsAPI.Ui.Utils.LoadImage",Eq);q("JsAPI.Ui.Utils.GetImageColor",Cq);q("JsAPI.Ui.Utils.IsDarkColor",Dq);q("JsAPI.Dao.ArticleField.DATE",1);q("JsAPI.Dao.ArticleField.IMAGE",2);q("JsAPI.Dao.ArticleField.TITLE",4);q("JsAPI.Dao.ArticleField.TOPIC",8);q("JsAPI.Dao.ArticleField.ANNOUNCE",16);q("JsAPI.Dao.ArticleField.TEXT",32);q("JsAPI.Dao.ArticleField.SHARE_URL",64);q("JsAPI.Dao.ArticleField.PUBLISHER_ID",128);q("JsAPI.Dao.ArticleField.PUBLISHER_NAME",256);q("JsAPI.Dao.ArticleField.PUBLISHER_DOMAIN",512);q("JsAPI.Dao.ArticleField.PUBLISHER_LOGO_URL",1024);q("JsAPI.Dao.ArticleField.SHARES",2048);
q("JsAPI.Dao.ArticleField.VOTES",4096);q("JsAPI.Dao.ArticleField.COMMENTS",8192);q("JsAPI.Dao.ArticleField.KEYWORDS",32768);q("JsAPI.Dao.ArticleField.STORY_MARK",16384);q("JsAPI.Dao.ArticleField.TAGS",65536);q("JsAPI.Dao.ArticleField.TRENDS",131072);q("JsAPI.Dao.ArticleField.FULLTEXT_PROPERTIES",262144);q("JsAPI.Dao.ArticleField.ORIGINAL_URL",524288);q("JsAPI.Dao.ArticleField.MT_POST_ID",1048576);q("JsAPI.Dao.ArticleField.RANKS",2097152);q("JsAPI.Dao.NewsField.TYPE",1);
q("JsAPI.Dao.NewsField.IMAGE",2);q("JsAPI.Dao.NewsField.TOPIC",4);q("JsAPI.Dao.NewsField.TITLE",8);q("JsAPI.Dao.NewsField.TEXT",16);q("JsAPI.Dao.NewsField.DOMAIN",32);q("JsAPI.Dao.NewsField.AUTHOR",64);q("JsAPI.Dao.NewsField.DATE",128);q("JsAPI.Dao.NewsField.SHARES",256);q("JsAPI.Dao.NewsField.VOTES",512);q("JsAPI.Dao.NewsField.COMMENTS",1024);q("JsAPI.Dao.NewsField.LOGO",2048);q("JsAPI.Dao.NewsField.PARTNER_TYPE",4096);q("JsAPI.Dao.NewsField.VIDEO_URL",8192);q("JsAPI.Dao.RtbNewsField.DATETIME",1);
q("JsAPI.Dao.RtbNewsField.TITLE",2);q("JsAPI.Dao.RtbNewsField.ANNOUNCE",4);q("JsAPI.Dao.RtbNewsField.IMAGE",8);q("JsAPI.Dao.RtbNewsField.CATEGORY",16);q("JsAPI.Dao.RtbNewsField.KEYWORDS",32);q("JsAPI.Dao.RtbNewsField.PUBLISHER",64);q("JsAPI.Dao.PropertyField.LOCATIONS",1);q("JsAPI.Dao.PropertyField.TOPICS",2);q("JsAPI.Dao.PropertyField.PUBLISHERS",4);q("JsAPI.Dao.PropertyField.TRENDS",8);q("JsAPI.Dao.PropertyField.TAGS",16);q("JsAPI.Dao.SortType.RANK","RANK");q("JsAPI.Dao.SortType.SEARCH","SEARCH");
q("JsAPI.Dao.SortType.SOCIAL","SOCIAL");q("JsAPI.Dao.SortType.DATE","DATE");q("JsAPI.Dao.SortType.LOCAL","LOCAL");q("JsAPI.Dao.SortType.NEWS","NEWS");q("JsAPI.Dao.SortType.RANK24","RANK24");q("JsAPI.Dao.SortType.SEARCH24","SEARCH24");q("JsAPI.Dao.SortType.SOCIAL24","SOCIAL24");q("JsAPI.Dao.SortType.DATE24","DATE24");q("JsAPI.Dao.SortType.LOCAL24","LOCAL24");q("JsAPI.Dao.SortType.NEWS24","NEWS24");q("JsAPI.Dao.Context.ARTICLES",1);q("JsAPI.Dao.Context.STORIES",2);q("JsAPI.Dao.StoryMark.DEFAULT",0);
q("JsAPI.Dao.StoryMark.IMPORTANT",1);q("JsAPI.Dao.TagType.ALL","ALL");q("JsAPI.Dao.TagType.MAIN","MAIN");q("JsAPI.Dao.TagType.PERSON","PERSON");q("JsAPI.Dao.getArticles",function(a,b,c){return Ok(Bk.G(),a,b,c)});q("JsAPI.Dao.getArticleDetails",function(a,b,c){return Pk(Bk.G(),a,b,c)});q("JsAPI.Dao.getCurrency",function(a,b,c){return Sk(Bk.G(),a,b,c)});q("JsAPI.Dao.getLocation",function(a,b,c){return Rk(Bk.G(),a,b,c)});q("JsAPI.Dao.getNews",function(a,b,c){return Fk(Bk.G(),a,b,c)});
q("JsAPI.Dao.getNewsDetails",function(a,b,c){return Hk(Bk.G(),a,b,c)});q("JsAPI.Dao.rtbCookieMatching",function(a,b,c){return Ik(Bk.G(),a,b,c)});q("JsAPI.Dao.getRtbNews",function(a,b,c){return Kk(Bk.G(),a,b,c)});q("JsAPI.Dao.getProperties",function(a,b,c){return Bk.G().H(a,b,c)});q("JsAPI.Dao.getTagDetails",function(a,b,c){return Qk(Bk.G(),a,b,c)});q("JsAPI.Dao.enqueueViewability",function(a){return Yk(Bk.G(),a)});q("JsAPI.Viewability.observe",function(a,b,c,d){return zo(wo.G(),a,b,c,d)});
q("JsAPI.Viewability.unobserve",function(a){return Ao(wo.G(),a)});(function(){var a=(window.jsapi=window.jsapi||[]);if(a){a.push=function(a){try{a()}catch(b){}};for(var b;b=a.shift();)try{b()}catch(c){}}})()}());}

